Folding: avoid displaying lines by eliminating them from the lineStarts array?

Randy Kramer rhkramer at gmail.com
Thu Feb 28 20:43:16 CET 2008


I've been involved in some on- and off-list discussions about folding in the 
last few years.  At one point, a suggestion was made that folding could be 
accomplished by (along with other work), not including lines to be folded 
(i.e., lines to be hidden) in the lineStarts array.

Intuitively (and from a distance) that doesn't make sense to me--I mean it 
doesn't sound like it could/should work, maybe moreso in continuous wrap 
mode.

I've started to do a little looking in textDisp.c to see if I could see how 
that might work, but if anybody has some insights they want to share, that 
would be helpful.

Randy Kramer


More information about the Develop mailing list