On Thu, 11 May 2006 20:35:19 -0400
"Alexandre Leclerc" <[EMAIL PROTECTED]> wrote:

> 2006/5/11, Mattias Gaertner <[EMAIL PROTECTED]>:
> > Right. It works only with code macros enabled.
> > If you want to fix it: ide/codemacroprompt.pas ExecuteCodeTemplate
> 
> Yep, I see in the code that the problem is not there. I feel the
> pattern is trimmed before it reaches this funciton. But i can't find
> where the function is called at all. The Windows find in file crap
> finds nothing.

Find in files works here. Since this week you can press F1 to get help for
this dialog.
It's a wiki, so please extend it.

 
> Any pointer from where the code is actually called and where the
> patern is loaded?

Use find in files to search for ExecuteCodeTemplate: uniteditor.pp (3026,3)

 
> There is also another problem: If I add the macro flag in a pattern
> $(EnableMakros), when I reload the patern in the patern editor, the
> macro flag is not showed any more... it is stripped (just as these
> functions are doing). So you have no choices to edit manually the .dci
> file to remove it.

The bug was in the loading function:
syneditautocomplete ParseCompletionList

Fixed.


Mattias

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to