Code folding vs. colored blocks

Ideas for new features

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

Post Reply
valbermarcel
Posts: 2
Joined: Thu Nov 01, 2012 12:10 am

Code folding vs. colored blocks

Post by valbermarcel »

I know that the use of "code folding blocks" must be complicated to program and would require too much effort to customize "Treeviews" as publishers (block selection then become inviable), and it would be really very complicated to reach all types of customization required the quantity of languages ​​supported by Textpad (and other via configuration). But I think the use of colored blocks is simpler.
There is a project in IDE plugin for Delphi (opensource unless I am mistaken) called CnPack that implements this feature and can be seen in the image on the link below:
Image
Simpler, would not interfere in the selection block, and could pick up the current settings of keywords for each language supported
mniyas
Posts: 2
Joined: Fri Dec 21, 2012 5:26 pm
Location: India-Bangalore

Post by mniyas »

These are very essential features. It has to be implemented in TP.
This is very well implemented in Notepad++
JerzyC
Posts: 2
Joined: Thu Nov 29, 2012 12:34 pm
Location: Stockholm Sweden

Re: Code folding vs. colored blocks

Post by JerzyC »

valbermarcel wrote:I know that the use of "code folding blocks" must be complicated to program and would require too much effort to customize "Treeviews" as publishers (block selection then become inviable), and it would be really very complicated to reach all types of customization required the quantity of languages ​​supported by Textpad (and other via configuration). But I think the use of colored blocks is simpler.
There is a project in IDE plugin for Delphi (opensource unless I am mistaken) called CnPack that implements this feature and can be seen in the image on the link below:
Image
Simpler, would not interfere in the selection block, and could pick up the current settings of keywords for each language supported
The colored blocks are nice future, but folding is more usefull if the bloks are long. As for ajusting to different appication it can be done in a file similar to syntax highlithting
fraserredmond
Posts: 4
Joined: Wed Sep 25, 2013 3:22 pm

Post by fraserredmond »

+1 for this.

Even if it wasn't code-folding or coloring, just having some faint vertical lines would be handy (that's what Sublime Text does.)
Post Reply