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:
TCodeCompletionCodeTool.ApplyClassCompletion DoInsertSpaceInFront=[]
DoInsertSpaceAfter=[Colon,Semicolon,Comma]


It seem to be happy with that... The code generated in the interface
section was formatted correctly.

---------------------  Console output  ------------------
[graemeg-linux] lazarus > ./lazarus
TApplication.IconChanged - TODO: convert this message...no
implementation in gtk or win32
TCodeToolsOptions.AssignTo DoInsertSpaceInFront=[]
DoInsertSpaceAfter=[Colon,Semicolon,Comma]
TCodeCompletionCodeTool.ApplyClassCompletion DoInsertSpaceInFront=[]
DoInsertSpaceAfter=[Colon,Semicolon,Comma]
TMainIDE.DoSaveAll
TMainIDE.DoSaveProject End
TProject.SomethingModified SessionModified
TMainIDE.DoSaveProject End
TMainIDE.DoCloseEditorFile A PageIndex=7
TMainIDE.DoCloseEditorFile end
TMainIDE.DoCloseEditorFile A PageIndex=6
TMainIDE.DoCloseEditorFile end
TMainIDE.DoCloseEditorFile A PageIndex=5
TMainIDE.DoCloseEditorFile end
TMainIDE.DoCloseEditorFile A PageIndex=4
TMainIDE.DoCloseEditorFile end
TMainIDE.DoCloseEditorFile A PageIndex=3
TMainIDE.DoCloseEditorFile end
TMainIDE.DoCloseEditorFile A PageIndex=2
TMainIDE.DoCloseEditorFile end
TMainIDE.DoCloseEditorFile A PageIndex=1
TMainIDE.DoCloseEditorFile end
TMainIDE.DoCloseEditorFile A PageIndex=0
TMainIDE.DoCloseEditorFile end
LAZARUS END - cleaning up ...
[TMainIDE.Destroy] A
[TMainIDE.Destroy] B  -> inherited Destroy... TMainIDE
[TMainIDE.Destroy] END
[graemeg-linux] lazarus >

---------------------  END  ------------------------


This is what I typed in the 'implementation' section...

function TLearner.DoSomething(AParam1: string): integer;
begin

end;

.... and this is what it generated in the 'interface' section...

   function DoSomething(AParam1: string): integer;


Now what?   :-)


--
Graeme Geldenhuys

There's no place like S34° 03.168'  E018° 49.342'

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

Reply via email to