Sublime Forum

Folding group is definitely lost when the cursor goes into some line in this group

#1

In my script, I have several functions that are folded:

Sometimes, when I search for some words, the cursor goes into this folded part, unfolding it:

Currently, I have to manually “refold” all groups the recover the original folding state.
It would be great if these groups were “refolded” once the cursor goes out of this code.

1 Like

#2

You can refold all using Edit -> Code Folding -> Fold All.

0 Likes

#3

related:

0 Likes

#4

I don’t want to Fold All, because just some functions are folded, not all the code…

0 Likes

#5

It would be great if we could ask sublime to avoid searching in folds, or set it to auto refold when the cursor leaves.

0 Likes