mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-20 20:59:39 +01:00
codetools: class completion: copying class keyword for virtual methods
git-svn-id: trunk@10326 -
This commit is contained in:
parent
76d67ec1dc
commit
ffb717dbc2
@ -2134,7 +2134,7 @@ begin
|
||||
ProcNode:=ANodeExt.Node;
|
||||
if (ProcNode<>nil) and (ANodeExt.ExtTxt3='')
|
||||
and (ProcNodeHasSpecifier(ProcNode,psOVERRIDE)) then begin
|
||||
ProcCode:=ExtractProcHead(ProcNode,[phpWithStart,phpWithoutClassKeyword,
|
||||
ProcCode:=ExtractProcHead(ProcNode,[phpWithStart,
|
||||
phpAddClassname,phpWithVarModifiers,phpWithParameterNames,
|
||||
phpWithResultType,phpWithCallingSpecs]);
|
||||
ProcCall:='inherited '+ExtractProcHead(ProcNode,[phpWithoutClassName,
|
||||
@ -2287,6 +2287,7 @@ var
|
||||
if (ANode<>nil) and (ANode.Desc=ctnProcedure)
|
||||
and ProcNodeHasSpecifier(ANode,psABSTRACT) then begin
|
||||
ClassProcs.Delete(AnAVLNode);
|
||||
ANodeExt.Free;
|
||||
end;
|
||||
AnAVLNode:=NextAVLNode;
|
||||
end;
|
||||
|
||||
@ -754,6 +754,7 @@ end;
|
||||
|
||||
function TMethodJumpingCodeTool.GatherProcNodes(StartNode: TCodeTreeNode;
|
||||
Attr: TProcHeadAttributes; const UpperClassName: string): TAVLTree;
|
||||
// create a tree of TCodeTreeNodeExtension
|
||||
var CurProcName: string;
|
||||
ANode: TCodeTreeNode;
|
||||
NewNodeExt: TCodeTreeNodeExtension;
|
||||
|
||||
@ -4780,10 +4780,11 @@ var
|
||||
NewWidth, NewHeight: integer;
|
||||
begin
|
||||
{$IFDEF VerboseSizeMsg}
|
||||
DebugLn('TWinControl.WMMove A ',Name,':',ClassName,' Message=',dbgs(Message.XPos),',',dbgs(Message.YPos),
|
||||
' BoundsRealized='+dbgs(FBoundsRealized.Left)+','+dbgs(FBoundsRealized.Top),
|
||||
','+dbgs(FBoundsRealized.Right-FBoundsRealized.Left),
|
||||
'x'+dbgs(FBoundsRealized.Bottom-FBoundsRealized.Top));
|
||||
DebugLn(['TWinControl.WMMove A ',DbgSName(Self),' Message=',Message.XPos,',',Message.YPos,
|
||||
' BoundsRealized=',FBoundsRealized.Left,',',FBoundsRealized.Top,
|
||||
' SourceIsInterface=',Message.MoveType=Move_SourceIsInterface,
|
||||
',',FBoundsRealized.Right-FBoundsRealized.Left,
|
||||
'x',FBoundsRealized.Bottom-FBoundsRealized.Top]);
|
||||
{$ENDIF}
|
||||
NewWidth:=Width;
|
||||
NewHeight:=Height;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user