On Thu, 11 May 2006 18:46:13 -0400
"Alexandre Leclerc" <[EMAIL PROTECTED]> wrote:
> I would like to patch the procedure but cant' fin it.
>
> When we invoke code completion, it trims the line feed before the code
> template. I do not want this behaviour. But it does not trim at the
> end, which is good.
>
> Template Example:
> ===
>
> my template | blabla
>
> ===
>
> I do want the free line before and after when I invoke code completion.
>
> *Example*
>
> procedure abc;
> begin
> mytemplate //invoke code completion
> end;
>
> *Actual result*
>
> procedure abc;
> begin
> my template | blabla
>
> end;
>
> *Desired result*
>
> procedure abc;
> begin
>
> my template | blabla
>
> end;
Right. It works only with code macros enabled.
If you want to fix it: ide/codemacroprompt.pas ExecuteCodeTemplate
Mattias
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives