On 15/03/2011 10:16, Kjow wrote:
Hi all!

Everytime I need to comment a part of the code with (e.g. { ... } )
and I have some parts of code "minimized" with the "-"/"+" on the left
of editor (Please excuse me, I don't know the technical term - e.g.
http://3.bp.blogspot.com/_UuDt8fZYCTg/TDCZtgbGUqI/AAAAAAAAAQ8/HcoRx10cuE0/s1600/lazarus.png
on the left of uses, TForm1, etc), just writing the first "{" every
part after the "{" "minimized" will expand. This is a little bit
annoying...

is it possible to mantain minimized codes also inside "comments"?


Now, supported in the latest svn. Folded code stays folded.

However as long as a fold is in a comment (or otherwise preserved where it would have previously been unfolded), it will not be saved to your session.
That means:
- if you restart the IDE, while you have an unfinished "(*" comment => you lose the folds inside that comment. - Once you finished the comment, all folds after the "*)" will be normal again, and be preserved.

Oh, and if you go for it. Remember it's a snapshot, it's a new feature, it had some testing here, but you should save your data regulary.

Martin

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to