mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-15 06:09:30 +02:00
IDE: remove empty methods: warning when caret not in a class
git-svn-id: trunk@15026 -
This commit is contained in:
parent
1736824df9
commit
e473ecf7d5
@ -4042,7 +4042,6 @@ begin
|
||||
AVLNode:=ProcBodyNodes.FindSuccessor(AVLNode);
|
||||
end;
|
||||
end;
|
||||
Result:=true;
|
||||
finally
|
||||
ProcBodyNodes.FreeAndClear;
|
||||
ProcBodyNodes.Free;
|
||||
|
@ -114,6 +114,10 @@ begin
|
||||
if CodeToolBoss.ErrorMessage<>'' then begin
|
||||
ErrMsg:='';
|
||||
LazarusIDE.DoJumpToCodeToolBossError;
|
||||
end else begin
|
||||
MessageDlg('No class',
|
||||
'No class at '+Code.Filename+'('+IntToStr(Caret.Y)+','+IntToStr(Caret.X)+')',
|
||||
mtError,[mbCancel],0);
|
||||
end;
|
||||
exit;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user