mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-23 16:39:31 +01:00
codetools: method jump: error on class not found
git-svn-id: trunk@35048 -
This commit is contained in:
parent
ec66ae883a
commit
22e07332cc
@ -538,7 +538,10 @@ begin
|
|||||||
{$IFDEF CTDEBUG}
|
{$IFDEF CTDEBUG}
|
||||||
DebugLn('TMethodJumpingCodeTool.FindJumpPoint class found: ',dbgs(ClassNode<>nil));
|
DebugLn('TMethodJumpingCodeTool.FindJumpPoint class found: ',dbgs(ClassNode<>nil));
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
if ClassNode=nil then exit;
|
if ClassNode=nil then begin
|
||||||
|
MoveCursorToProcName(ProcNode,false);
|
||||||
|
RaiseException('class not found "'+SearchedClassname+'"');
|
||||||
|
end;
|
||||||
// search first class grand child node
|
// search first class grand child node
|
||||||
StartNode:=ClassNode.FirstChild;
|
StartNode:=ClassNode.FirstChild;
|
||||||
while (StartNode<>nil) and (StartNode.FirstChild=nil) do
|
while (StartNode<>nil) and (StartNode.FirstChild=nil) do
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user