Expand/Collapse blocks of text
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
Re: Code folding
Not only is TextPad primarily a text editor and not really a code editor, it is also by far not the most needed enhancement. 18 years ago Unicode support was far more important, and it took a long time until that arrived.pipinn wrote:18 years since the first suggestion of CODE FOLDING. It is still the most needed enhancement!
Folding requires the whole file to be parsed for specific structures/languages - that's not trivial. And it is even more a big task for text files sizing gigabytes (which can easily happen with XML). Can you even imagine being able to program such a feature?
Section folding
Section folding would help so much and we have been asking for it for so long.
Simple
Structural folding based only on indent levels
Simple but intrusive
Structural folding based on flags added into the text
Can be rather complex, so maybe leave for 2032
Syntax folding based on parsing the language with definitions taken from the SYN file.
Simple
Structural folding based only on indent levels
Simple but intrusive
Structural folding based on flags added into the text
Can be rather complex, so maybe leave for 2032
Syntax folding based on parsing the language with definitions taken from the SYN file.