[Lazarus] Code Completion Templates

Sven Barth pascaldragon at googlemail.com
Tue Feb 5 20:42:48 CET 2013


On 05.02.2013 18:30, Mattias Gaertner wrote:
>
> Donald Ziesig <donald at ziesig.org> hat am 5. Februar 2013 um 23:16 geschrieben:
>> Hi All!
>>
>> Could anyone point me at the file(s) containing the templates invoked
>> with Ctrl-Shift-C?
>>
>> Specifically I would like to replace the Set<Param> code that expands to:
>>
>> if(AValue=f<Param>) then exit;
>> f<Param>=AValue;
>>
>> with
>> Update(f<Param>,AValue); // Keeps track of modifications to the
>> underlying object.
>
> It's hard coded.
> See components/codetools/codecompletion.pas around line 6730.
>
> You can create a feature request or a patch to make this configurable.

This has already been reported by me nearly three years ago: 
http://bugs.freepascal.org/view.php?id=15922

Regards,
Sven




More information about the Lazarus mailing list