mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 09:59:20 +02:00
codetools: clean up
git-svn-id: trunk@48651 -
This commit is contained in:
parent
cfdc07e743
commit
06bcb15e19
@ -856,7 +856,7 @@ var
|
|||||||
|
|
||||||
function InsertProcIntf(IntfInsertPos, IntfIndent: integer;
|
function InsertProcIntf(IntfInsertPos, IntfIndent: integer;
|
||||||
const CompleteParamList, BaseParamList, ProcCode: string;
|
const CompleteParamList, BaseParamList, ProcCode: string;
|
||||||
const ProcClassName: string; ProcClassNode: TCodeTreeNode): boolean;
|
ProcClassNode: TCodeTreeNode): boolean;
|
||||||
var
|
var
|
||||||
ProcHeader: String;
|
ProcHeader: String;
|
||||||
FrontGap: TGapTyp;
|
FrontGap: TGapTyp;
|
||||||
@ -1061,7 +1061,7 @@ begin
|
|||||||
if not CreateProcBody(ProcClassName,CompleteParamList,
|
if not CreateProcBody(ProcClassName,CompleteParamList,
|
||||||
VarSection,BeginEndCode,ProcCode) then exit;
|
VarSection,BeginEndCode,ProcCode) then exit;
|
||||||
if not InsertProcIntf(IntfInsertPos,IntfIndent,CompleteParamList,
|
if not InsertProcIntf(IntfInsertPos,IntfIndent,CompleteParamList,
|
||||||
BaseParamList,ProcCode,ProcClassName,ProcClassNode) then exit;
|
BaseParamList,ProcCode,ProcClassNode) then exit;
|
||||||
if not InsertProcBody(InsertPos,Indent,ProcCode) then exit;
|
if not InsertProcBody(InsertPos,Indent,ProcCode) then exit;
|
||||||
if not CreatePathForNewProc(InsertPos,ProcClassName,BaseParamList,
|
if not CreatePathForNewProc(InsertPos,ProcClassName,BaseParamList,
|
||||||
NewProcPath) then exit;
|
NewProcPath) then exit;
|
||||||
|
Loading…
Reference in New Issue
Block a user