[Lazarus] Commenting.
Martin
lazarus at mfriebe.de
Sun Apr 3 14:03:01 CEST 2011
On 03/04/2011 10:07, Kjow wrote:
> 2011/4/2 Martin<lazarus at mfriebe.de>:
>> 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
> Hi Martin,
> Thank you!
>
> I updated svn to "Lazarus 0.9.30 r30142M FPC 2.4.2
> i386-win32-win32/win64" but trying with both "{" OR "(*" folded code
> after first "open parenthesis" unfolds when I start the comment :(
it is *not* in 0.9.30
It is only in 0.9.31
http://www.hu.freepascal.org/lazarus/ (links *"without" "fixes"
e.g. "Lazarus + fpc 2.4.2 win32
Lazarus-0.9.31-30142-fpc-2.4.2-20110403-win32.exe
<ftp://ftp.hu.freepascal.org/pub/lazarus/snapshots/Lazarus-0.9.31-30142-fpc-2.4.2-20110403-win32.exe>"
The 64 bit snapshot seems missing at current. as for 32 bit:
0.9.31 snapshots with
30142 should be good
30141 is ok, but as long as the fold is commented the [+] symbol is not
reacting to clicks
if you want to stay on 0.9.30, then you can just merge 2 revisions
30141 and 30142 (and 30140 for 64 bit)
I attached a patch, (there is one for each of the revisions, so
depending on what you download, you apply the rest)
Or you hope that tomorrow there will be a 64 bit snapshot too
Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20110403/e6f43d47/attachment-0003.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: syn_fold_comment_patch.rar
Type: application/octet-stream
Size: 15568 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20110403/e6f43d47/attachment-0003.obj>
More information about the Lazarus
mailing list