mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-01 13:40:23 +02:00
IDE: code observer: fixed endless loop
git-svn-id: trunk@29909 -
This commit is contained in:
parent
910c1dfb56
commit
ab044c572f
@ -1278,6 +1278,7 @@ var
|
||||
end;
|
||||
|
||||
begin
|
||||
if EndPos>Tool.SrcLen then EndPos:=Tool.SrcLen+1;
|
||||
if (StartPos<1) or (StartPos>=EndPos) then exit;
|
||||
CheckWrongIndentation:=cefcWrongIndentation in CodeExplorerOptions.ObserverCategories;
|
||||
FindUnnamedConstants:=cefcUnnamedConsts in CodeExplorerOptions.ObserverCategories;
|
||||
|
Loading…
Reference in New Issue
Block a user