[Lazarus] Code Completion Templates
Martin
lazarus at mfriebe.de
Tue Feb 5 21:08:49 CET 2013
On 05/02/2013 19:42, Sven Barth wrote:
> On 05.02.2013 18:30, Mattias Gaertner wrote:
>> Donald Ziesig <donald at ziesig.org> hat am 5. Februar 2013 um 23:16
>> geschrieben:
>>> Could anyone point me at the file(s) containing the templates invoked
>>> with Ctrl-Shift-C?
...
>> It's hard coded.
>> See components/codetools/codecompletion.pas around line 6730.
>
> This has already been reported by me nearly three years ago:
> http://bugs.freepascal.org/view.php?id=15922
You can always create a macro (Lazarus 1.1 trunk)
http://wiki.lazarus.freepascal.org/Editor_Macros_PascalScript
begin
ecCompleteCode;
// check for "if AValu ...", in case completion did fail
// edit/replace text at caret
end;
and assign it to a key of your choice
More information about the Lazarus
mailing list