Welcome Guest.   Make a donation to an author on the site August 27, 2014, 06:08:08 PM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
The N.A.N.Y. Challenge 2013! Download dozens of custom programs!
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: group lines  (Read 1116 times)
kalos
Member
**
Posts: 999

View Profile Give some DonationCredits to this forum member
« on: May 16, 2012, 05:07:09 PM »

hello!

looking for a software or something that has the ability to display text as shown below
ie. where text lines are grouped in a treeview with the ability to expand/collapse, etc them
the grouping criteria will be a regex match or something
also, it would be nice to highlight (paint in specific color) groups that all their lines have some specific regex matches

thanks!
Logged
TaoPhoenix
Supporting Member
**
Posts: 3,477



0 - 60 ... then back to 0 again!

see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #1 on: May 16, 2012, 08:16:10 PM »

Kinda tricky that does this straight onto a text with line numbers. A couple of the TreeDB programs do expand and contract but then line numbers are not alway easy - they become nodes.
Logged
kalos
Member
**
Posts: 999

View Profile Give some DonationCredits to this forum member
« Reply #2 on: May 18, 2012, 07:12:56 AM »

even a text editor that can do this, it's fine for me :/
if only I knew the proper terms for search for that feature...
« Last Edit: May 18, 2012, 07:21:57 AM by kalos » Logged
Ath
Supporting Member
**
Posts: 2,197



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #3 on: May 18, 2012, 07:39:35 AM »

Usually only programmer editors and IDE's have that feature, usually termed as 'Fold' or 'Collapse'. And generic editors enable it only on known sourcecode types, like .c, .cs, .java, .ahk, etc. where the structure of the content is known, and can actually be collapsed in useful chunks. Scite does a nice job, even folding comments, but not for text. Most likely other programmers editors do allow/support that.
Logged

Ath
Supporting Member
**
Posts: 2,197



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #4 on: May 18, 2012, 07:43:08 AM »

Maybe this editor fits your needs? http://tibleiz.net/code-browser/
Logged

justice
Supporting Member
**
Posts: 1,888



Solve issues simply.

View Profile WWW Give some DonationCredits to this forum member
« Reply #5 on: May 18, 2012, 07:45:04 AM »

http://en.wikipedia.org/wiki/Code_folding

With Sublime Text, you can fold/unfold any text you have selected with the mouse (ctrl-shift-[)
Logged

Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.035s | Server load: 0.08 ]