mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-26 23:03:48 +02: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}
|
||||
DebugLn('TMethodJumpingCodeTool.FindJumpPoint class found: ',dbgs(ClassNode<>nil));
|
||||
{$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
|
||||
StartNode:=ClassNode.FirstChild;
|
||||
while (StartNode<>nil) and (StartNode.FirstChild=nil) do
|
||||
|
Loading…
Reference in New Issue
Block a user