I'd like when open a project, that all functions and procedures get with "code-folding" option in closed mode. It's possible ? How i do ?
Sorry my ugly english

Mailing lists / lazarus / 2011-09
6 messages · 2 people ·
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
I'd like when open a project, that all functions and procedures get with "code-folding" option in closed mode. It's possible ? How i do ?
Sorry my ugly english
Rafael Tuim Elias wroteI'd like when open a project, that all functions and procedures get with "code-folding" option in closed mode. It's possible ? How i do ?
they do not auto-close, but you can close them with a single keyboard-shortcut
I use Alt-Shift-1 to fold
Alt-Shift-2 to fold one level below, etc
Alt-Shift-0 to unfold all.
I do not know/remember if this are set up by default => go to options esitor/keymapping and look for code fold
I'd like when open a project, that all functions and procedures get with "code-folding"…
Rafael Tuim Elias wroteI'd like when open a project, that all functions and procedures get with "code-folding" option in closed mode. It's possible ? How i do ?
please see image at:
http://imagebin.org/173248
Thanks Martin
Helped a lot.
2011/9/20 Martin
additionally:
folds can be saved with the session => so if you re-open a file, folds are remembered.
you can use {$region some text /fold} {$endregion} to define your own fold area => using /fold (only works with $region) will auto fold them
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110920/96c44bca/attachment.html>
ok, thanks again.