Re: [lazarus] Where is code completion function?

2006-05-12 Thread Mattias Gaertner
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

Re: [lazarus] Where is code completion function?

2006-05-12 Thread Alexandre Leclerc
2006/5/12, Mattias Gaertner [EMAIL PROTECTED]: 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

Re: [lazarus] Where is code completion function?

2006-05-12 Thread Felipe Monteiro de Carvalho
On 5/12/06, Alexandre Leclerc [EMAIL PROTECTED] wrote: :) I was talking about the 'find in files' of microsoft file explorer. This is why I was not so polite with it. I didn't know the feature was in fpc. There is a Find in Files dialog on Lazarus IDE. You will find it very usefull =) --

[lazarus] Where is code completion function?

2006-05-11 Thread Alexandre Leclerc
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

Re: [lazarus] Where is code completion function?

2006-05-11 Thread Mattias Gaertner
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.

Re: [lazarus] Where is code completion function?

2006-05-11 Thread Alexandre Leclerc
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

Re: [lazarus] Where is code completion function?

2006-05-11 Thread Alexandre Leclerc
2006/5/11, Alexandre Leclerc [EMAIL PROTECTED]: 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