HiI created a while back a code template to fix the case of the word Result. eg: result --> Result
[ Yes, I'm full of sh*t ] Anyway, here is the code template as Lazarus wrote it in the .dci file. =========[ lazarus.dci ]============ [result | Fix case - Result] $(AttributesStart) AutoOnWordEnd=true $(AttributesEnd) Result ============================Now look at the animated gif (attached). You might have to view it in your Web Browser to see the animation and to get the full effect of the issue.
writeln('[DEBUG]Result = ' + Result)
^
cursor is here
As soon as I press the spacebar while the cursor is between the ']' and
the 'R' characters, then Lazarus duplicates the word "Result". Is this
a code templates bug, or did I define my code-template incorrectly? And
every time I press the spacebar, another duplicate occurs.... Weird one!
Lazarus 0.9.27 rUnknown FPC 2.2.5 i386-linux-gtk 2 (beta) Lazarus revision is around 2009-06-12 in trunk. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/
<<inline: bug.gif>>
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
