mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-31 01:31:04 +02:00
SynEdit: Improve painting. Issue #0022926. (Do not scan into next token)
git-svn-id: trunk@38830 -
This commit is contained in:
parent
7eacd9d711
commit
afde8b8111
@ -395,7 +395,7 @@ begin
|
||||
repeat
|
||||
inc(LogicIdx);
|
||||
inc(i);
|
||||
until (LogicIdx >= CharWidthsLen) or ((FCharWidths[LogicIdx] and PCWMask) <> 0);
|
||||
until (LogicIdx >= CharWidthsLen) or (LogicIdx >= LogicEnd) or ((FCharWidths[LogicIdx] and PCWMask) <> 0);
|
||||
end;
|
||||
Assert(PhysPos > FCurViewToken.PhysicalStart, 'PhysPos > FCurViewToken.PhysicalStart');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user