mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-06 00:46:01 +02:00
class completion now copies the class keyword for class methods
git-svn-id: trunk@8024 -
This commit is contained in:
parent
b0998d524d
commit
826f7e66f5
@ -1886,7 +1886,7 @@ var
|
|||||||
ANode:=TheNodeExt.Node;
|
ANode:=TheNodeExt.Node;
|
||||||
if (ANode<>nil) and (ANode.Desc=ctnProcedure) then begin
|
if (ANode<>nil) and (ANode.Desc=ctnProcedure) then begin
|
||||||
ProcCode:=ExtractProcHead(ANode,[phpWithStart,
|
ProcCode:=ExtractProcHead(ANode,[phpWithStart,
|
||||||
phpWithoutClassKeyword,phpAddClassname,phpWithVarModifiers,
|
phpAddClassname,phpWithVarModifiers,
|
||||||
phpWithParameterNames,phpWithResultType,phpWithCallingSpecs]);
|
phpWithParameterNames,phpWithResultType,phpWithCallingSpecs]);
|
||||||
TheNodeExt.ExtTxt3:=ASourceChangeCache.BeautifyCodeOptions.BeautifyProc(
|
TheNodeExt.ExtTxt3:=ASourceChangeCache.BeautifyCodeOptions.BeautifyProc(
|
||||||
ProcCode,Indent,true);
|
ProcCode,Indent,true);
|
||||||
|
Loading…
Reference in New Issue
Block a user