Page 1 of 1

Code folding vs. colored blocks

Posted: Mon Dec 10, 2012 12:13 pm
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

Posted: Sat Dec 22, 2012 4:11 am
by mniyas
These are very essential features. It has to be implemented in TP.
This is very well implemented in Notepad++

Re: Code folding vs. colored blocks

Posted: Tue Aug 20, 2013 7:02 am
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

Posted: Wed Sep 25, 2013 3:52 pm
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.)