mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-03 15:21:18 +02:00
IDE: codehelp: made range checks more robust
git-svn-id: trunk@14302 -
This commit is contained in:
parent
cab6632f4c
commit
abdd8c5aa4
@ -469,7 +469,7 @@ begin
|
||||
while (StartPos<=length(Result))
|
||||
and (Result[StartPos] in [' ',#9,#10,#13]) do
|
||||
inc(StartPos);
|
||||
if (Result<>'') and (Result[StartPos]='<') then begin
|
||||
if (StartPos<=length(Result)) and (Result[StartPos]='<') then begin
|
||||
inc(StartPos);
|
||||
FindEndOfTag(Result,StartPos);
|
||||
while (StartPos<=length(Result))
|
||||
|
Loading…
Reference in New Issue
Block a user