Editing folded Codeparts without automatically unfolding

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
Kurzer
Enthusiast
Enthusiast
Posts: 670
Joined: Sun Jun 11, 2006 12:07 am
Location: Near Hamburg

Editing folded Codeparts without automatically unfolding

Post by Kurzer »

I don't know if this is an internal "Scintilla thing", but is it possible to suppress the automatically unfolding of folded code when the folded line is edited?

For Example:

Code: Select all

Procedure.s GiveMeBackAString(sString.s)
Even if I only want to add a comment after this line... *whump* after pressing space the whole thing will be epanded.
Also if I try to delete the whole procedure in folded state: I mark the whole line, press [DEL] key... and the procedure is unfolded and only the first line was deleted.

If suppressing the automatically unfolding is not a big deal, then I am very happy if this behavior would be chooseable via editor preferences.
PB 6.02 x64, OS: Win 7 Pro x64 & Win 11 x64, Desktopscaling: 125%, CPU: I7 6500, RAM: 16 GB, GPU: Intel Graphics HD 520, User age in 2024: 56y
"Happiness is a pet." | "Never run a changing system!"