mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 21:59:07 +02:00
SynEdit: fix charwidths issue in paint. Broken in fad67e71ec
Issue #40716
This commit is contained in:
parent
c819e0ed2a
commit
0a3d7d4e28
@ -326,6 +326,7 @@ begin
|
|||||||
if FLinesView.LogPhysConvertor.CurrentLine = ARealLine then begin
|
if FLinesView.LogPhysConvertor.CurrentLine = ARealLine then begin
|
||||||
FCharWidths2 := FCharWidths;
|
FCharWidths2 := FCharWidths;
|
||||||
FCharWidths :=FLinesView.LogPhysConvertor.CurrentWidthsDirect;
|
FCharWidths :=FLinesView.LogPhysConvertor.CurrentWidthsDirect;
|
||||||
|
FCharWidthsLen :=FLinesView.LogPhysConvertor.CurrentWidthsCount;
|
||||||
end
|
end
|
||||||
else begin
|
else begin
|
||||||
if FCharWidths2 <> nil then begin
|
if FCharWidths2 <> nil then begin
|
||||||
|
Loading…
Reference in New Issue
Block a user