[Lazarus] Commenting. [folding]

Kjow antispammoni at gmail.com
Fri Mar 25 14:25:38 CET 2011


2011/3/25 Martin <lazarus at mfriebe.de>:
> The term is "folding". and yes there is a problem with all folded blocks
> being unfolded, whenever you start a comment. Unfortunately this is not
> fixed yet.
>
> However a few tricks that maybe can help.
> Depending on OS, you may have to set the keyboard shortcuts in the options
> first)
>
> shift-alt-1 => fold all nodes (pascal nodes, not IFDEF)
> shift-alt -2 => fold all level 2 nodes (nested nodes)
> ....
> shift alt 0 => unfold all
>
> also you can write the closing "}" first, but it is very easy to forget....

Thank you, Martin!

Kjow




More information about the Lazarus mailing list