mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-14 03:19:32 +02:00
SynEdit, PO highlighter: added safety check
git-svn-id: trunk@57728 -
This commit is contained in:
parent
7dd4ef464c
commit
80d9b100ad
@ -262,7 +262,7 @@ begin
|
||||
begin
|
||||
case FLine[Run] of
|
||||
#10, #13: break;
|
||||
#34: if FLine[Run - 1] <> '\' then LastQuotePos := Run;
|
||||
#34: if (Run <= 0) or (FLine[Run - 1] <> '\') then LastQuotePos := Run;
|
||||
end;
|
||||
inc(Run);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user