Re: [lazarus] Code completion formatted code incorrectly

2007-01-20 Thread Graeme Geldenhuys
On 1/19/07, Mattias Gaertner [EMAIL PROTECTED] wrote: Ah. This explains. What Delphi calls 'Code completion' is called under Lazarus 'Identifier completion'. And 'Code completion' under Lazarus is a bunch of features including 'Class completion'. See

Re: [lazarus] Code completion formatted code incorrectly

2007-01-19 Thread Mattias Gaertner
On Thu, 18 Jan 2007 17:29:55 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: On 1/18/07, Mattias Gaertner [EMAIL PROTECTED] wrote: So, the bug is somewhere in the normal class completion. I added some more verbosity. I did the same reverse class completion test as before. Here is the

Re: [lazarus] Code completion formatted code incorrectly

2007-01-19 Thread Graeme Geldenhuys
On 1/19/07, Mattias Gaertner [EMAIL PROTECTED] wrote: Hope that made sense to you... :) No. Where are the lines 'CreateMissingProcBodies InsertProcBody'? It does not add any procedure, does it? Yes it created the stub in the interface section. I just got another update (r10478) and tried

Re: [lazarus] Code completion formatted code incorrectly

2007-01-19 Thread Mattias Gaertner
On Fri, 19 Jan 2007 14:15:34 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: On 1/19/07, Mattias Gaertner [EMAIL PROTECTED] wrote: Hope that made sense to you... :) No. Where are the lines 'CreateMissingProcBodies InsertProcBody'? It does not add any procedure, does it? Yes it

Re: [lazarus] Code completion formatted code incorrectly

2007-01-19 Thread Mattias Gaertner
On Fri, 19 Jan 2007 14:44:01 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: On 1/19/07, Mattias Gaertner [EMAIL PROTECTED] wrote: On Fri, 19 Jan 2007 14:15:34 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: On 1/19/07, Mattias Gaertner [EMAIL PROTECTED] wrote: Hope that made

Re: [lazarus] Code completion formatted code incorrectly

2007-01-18 Thread Mattias Gaertner
On Thu, 18 Jan 2007 08:30:38 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: On 1/17/07, Mattias Gaertner [EMAIL PROTECTED] wrote: Using Code Completion (pressing Ctrl-Space) in the interface section of a class, so I can override a method, formats the code incorrectly. I have Lazarus's

Re: [lazarus] Code completion formatted code incorrectly

2007-01-18 Thread Graeme Geldenhuys
On 1/18/07, Mattias Gaertner [EMAIL PROTECTED] wrote: The 'preview' window is correct. What in generated for Class Completion is different to the preview. Strange. I added two debugln. Please update svn and try to reproduce the bug. Then send the console output. Here goes... I've also

Re: [lazarus] Code completion formatted code incorrectly

2007-01-18 Thread Mattias Gaertner
On Thu, 18 Jan 2007 14:52:54 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: On 1/18/07, Mattias Gaertner [EMAIL PROTECTED] wrote: The 'preview' window is correct. What in generated for Class Completion is different to the preview. Strange. I added two debugln. Please update svn

Re: [lazarus] Code completion formatted code incorrectly

2007-01-18 Thread Mattias Gaertner
On Thu, 18 Jan 2007 16:05:35 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: On 1/18/07, Mattias Gaertner [EMAIL PROTECTED] wrote: Sorry, I forgot: Can you do a reverse class completion? http://wiki.lazarus.freepascal.org/Lazarus_IDE_Tools#Reversed_Class_Completion Then you should see:

Re: [lazarus] Code completion formatted code incorrectly

2007-01-18 Thread Graeme Geldenhuys
On 1/18/07, Mattias Gaertner [EMAIL PROTECTED] wrote: So, the bug is somewhere in the normal class completion. I added some more verbosity. I did the same reverse class completion test as before. Here is the console output. --- [graemeg-linux]

[lazarus] Code completion formatted code incorrectly

2007-01-17 Thread Graeme Geldenhuys
Hi, Using Code Completion (pressing Ctrl-Space) in the interface section of a class, so I can override a method, formats the code incorrectly. I have Lazarus's CodeTools Options - Space tab setup to not include any spaces in front of elements. No checkboxes are checked in the Insert space in

Re: [lazarus] Code completion formatted code incorrectly

2007-01-17 Thread Mattias Gaertner
On Wed, 17 Jan 2007 10:11:23 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: Hi, Using Code Completion (pressing Ctrl-Space) in the interface section of a class, so I can override a method, formats the code incorrectly. I have Lazarus's CodeTools Options - Space tab setup to not include

Re: [lazarus] Code completion formatted code incorrectly

2007-01-17 Thread Graeme Geldenhuys
On 1/17/07, Mattias Gaertner [EMAIL PROTECTED] wrote: Using Code Completion (pressing Ctrl-Space) in the interface section of a class, so I can override a method, formats the code incorrectly. I have Lazarus's CodeTools Options - Space tab setup to not include any spaces in front of