Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-09

Code Folding

6 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Rafael Tuim Elias

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* Ubuntu User number is # 33865 Site - lazarus-cgi <http://lazarus-cgi.co.cc> Yield Better - www.yieldbetter.com.br LazSolutions - http://code.google.com/p/lazsolutions/ LazWebSolution - http://code.google.com/p/lazwebsolutions/ Junte-se a n?s no canal IRC *#lazarus-br* em *Freenode* -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110920/f3e10647/attachment.html>

Reply by email

Martin
to Rafael Tuim Elias
Rafael Tuim Elias wrote
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 ?

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

Reply by email

Rafael Tuim Elias
to Martin

Thanks Martin

Helped a lot.

2011/9/20 Martin

Show quoted text 16 lines
On 20/09/2011 18:49, Rafael Tuim Elias wrote: > 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 ? > > please see image at: http://imagebin.org/173248 -- ______________________________**_________________ Lazarus mailing list .**freepascal.org http://lists.lazarus.**freepascal.org/mailman/**listinfo/lazarus<http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus>
___________________________________________________ * **Rafael Tuim Elias* Ubuntu User number is # 33865 Site - lazarus-cgi <http://lazarus-cgi.co.cc> Yield Better - www.yieldbetter.com.br LazSolutions - http://code.google.com/p/lazsolutions/ LazWebSolution - http://code.google.com/p/lazwebsolutions/ Junte-se a n?s no canal IRC *#lazarus-br* em *Freenode* -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110920/c3d6401f/attachment.html>

Reply by email

Martin
to Rafael Tuim Elias
Rafael Tuim Elias wrote 13 lines
2011/9/20 Martin < <mailto:>> On 20/09/2011 18:49, Rafael Tuim Elias wrote: 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 ? please see image at: http://imagebin.org/173248

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>

Reply by email

Rafael Tuim Elias
to Martin

ok, thanks again.

___________________________________________________ * **Rafael Tuim Elias* Ubuntu User number is # 33865 Site - lazarus-cgi <http://lazarus-cgi.co.cc> Yield Better - www.yieldbetter.com.br LazSolutions - http://code.google.com/p/lazsolutions/ LazWebSolution - http://code.google.com/p/lazwebsolutions/ Junte-se a n?s no canal IRC *#lazarus-br* em *Freenode* -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110920/b645b9c7/attachment.html>

Reply by email