jed-users mailing list

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

Re: Syntax- or indentation-based folding


Andrew Nesbit <alnesbit@xxxxxxxxxxxxxxxxxxxx> wrote:
>Is there a method of folding which is either syntax- or
>indentation-driven?  I find that using {{{ and }}} markers is
>inconvenient.

You can use "set_selective_display", which emacs emulation binds to
"Ctrl-X $".  To use this, move the cursor to the desired column and
then invoke set_selective_display.  This will cause all lines indented
_beyond_ the current column to be hidden.  To show all lines, move the
cursor to the first column and the invoke set_selective_display.

This function is defined in jed/lib/seldisp.sl.

--John

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


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