SynEdit, PO highlighter: added safety check

git-svn-id: trunk@57728 -
This commit is contained in:
maxim 2018-04-26 22:49:57 +00:00
parent 7dd4ef464c
commit 80d9b100ad

View File

@ -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;