Page 5 of 5

Posted: Sun Aug 07, 2022 12:51 pm
by pipinn
still no news about Expand/Collapse blocks of text?

Re: Code folding

Posted: Sun Aug 07, 2022 3:24 pm
by AmigoJack
pipinn wrote:18 years since the first suggestion of CODE FOLDING. It is still the most needed enhancement!
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.

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

Posted: Sat Nov 05, 2022 5:36 pm
by IanOfYork
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.

Posted: Sun Nov 06, 2022 12:23 pm
by ak47wong
We finally got editable macros after 18 years and we've been waiting for code folding for 19 years, so any time now...