jed-users mailing list

[2005 Date Index] [2005 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: hide blocks


On Wed 2005-11-09 (09:57), Paul Boekholt wrote:

> > I want to hide a code block (perl, C, slang, etc) to get a better overview
> > what is before and afterwards. Some kind of poor man folding :-)
> 
> You can use the indentation to select which lines to
> hide. See seldisp.sl 

Great tip!

set_selective_display from seldisp.sl does it for the whole buffer, but I
got the idea (using idention instead of counting braces).

My new code now works much better and is easier :-)

I have bound it to a key and can now hide und recover a block with one
keystroke.


> http://jedmodes.sourceforge.net/mode/misc/download/hs.sl

I do not use a mouse for editing at all.


-- 
-- Ullrich Horlacher, BelWue Coordination ------- mailto:framstag@xxxxxxxxx --
   Computing Centre Universitaet Stuttgart (RUS)   
   Allmandring 30a, 70550 Stuttgart, Germany         fax: +49 711 678 8363
-- saft://saft.belwue.de/framstag ----------------- http://www.belwue.de/ ----

--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2005 date index] [2005 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]