Expand/Collapse blocks of text

Ideas for new features

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

How important is this feature for future versions of TextPad?

Important, even if the size/efficiency of TextPad increases/degrades
131
51%
Somewhat important
80
31%
I'm okay either way
24
9%
Somewhat unimportant
13
5%
Unimportant, even if the size/efficiency of TextPad remains unaffected
10
4%
 
Total votes: 258

pipinn
Posts: 7
Joined: Sat Jun 18, 2005 4:48 pm

Post by pipinn »

still no news about Expand/Collapse blocks of text?
User avatar
AmigoJack
Posts: 532
Joined: Sun Oct 30, 2016 4:28 pm
Location: グリーン ヒル ゾーン
Contact:

Re: Code folding

Post 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?
IanOfYork
Posts: 118
Joined: Sat Nov 04, 2017 11:54 am
Location: York, England

Section folding

Post 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.
ak47wong
Posts: 703
Joined: Tue Aug 12, 2003 9:37 am
Location: Sydney, Australia

Post 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...
Post Reply