mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 01:39:31 +02:00
SynEdit: BiDi painting: fixed drawing error in RTL text
git-svn-id: trunk@39115 -
This commit is contained in:
parent
2c9cbd6b0e
commit
f9bc177dfa
@ -1626,6 +1626,7 @@ var
|
||||
rcLine.Left := EraseLeft;
|
||||
InternalFillRect(dc, rcLine);
|
||||
rcLine.Left := DrawLeft;
|
||||
LineBufferRtlLogPos := -1;
|
||||
|
||||
FTokenBreaker.SetHighlighterTokensLine(TV + CurLine, CurTextIndex);
|
||||
CharWidths := FTheLinesView.GetPhysicalCharWidths(CurTextIndex);
|
||||
@ -1706,7 +1707,6 @@ begin
|
||||
|
||||
LineBufferLen := 0;
|
||||
LineBuffer := nil;
|
||||
LineBufferRtlLogPos := -1;
|
||||
if Assigned(fHighlighter) then begin
|
||||
fHighlighter.CurrentLines := FTheLinesView;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user