[Lazarus] Code Completion Templates

Donald Ziesig donald at ziesig.org
Tue Feb 5 19:26:58 CET 2013


On 02/05/2013 12:30 PM, 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.
>
> Mattias
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
>
Thanks,

I'll look at it.

Don




More information about the Lazarus mailing list