Take this situation:
- Code with multiple indentation levels is folded on level 1
- User opens the find toolbar and searches for a string
- ST3 jumps to first hit in the code and unfolds the indentation path until that position in code
The thing that could be improved here, is to let the equivalent indentation levels, that do not contain the hit, in a folded state.
For example, if the hit is in the indentation level 1>2>3, then all other levels 3 under the unfolded level 2 should remain folded.
I hope it’s clear what I mean, if not, please ask for more detail.
I think this function could be very usefull.