Keep folds at cursor open for "fold at level" (#39396)
Closes #39308
Also fixes a possible bug in `apply_selected_diff_hunks()` caused by
reversed selections.
Release Notes:
- Fixed "editor: fold at level" closing regions containing selections
Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
9aeb617a89Andrew Farkas committed on 10/3/2025, 3:06:46 PM· committed by GitHubparentfd8bae9