mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-15 21:29:50 +02:00
SynEdit: fixed "DX" (ETO) values for visualized tabs. An extra value was inserted, shifting subsequent values by one (noticeable when "full-width" chars were on the same line)
This commit is contained in:
parent
c50ceb5e64
commit
696cf7c7b5
@ -1721,8 +1721,8 @@ var
|
||||
end
|
||||
else
|
||||
c := 0;
|
||||
e := 0;
|
||||
|
||||
e := 0;
|
||||
// Copy to LineBuffer (and maybe FetoBuf
|
||||
if NeedExpansion then begin
|
||||
j := ATokenInfo.StartPos.Logical - 1;
|
||||
@ -1757,8 +1757,6 @@ var
|
||||
then begin
|
||||
(pl-1)^ := #194;
|
||||
pl^ := #187; inc(pl);
|
||||
if FetoBuf <> nil then FEtoBuf.EtoData[e] := c;
|
||||
inc(e);
|
||||
end;
|
||||
end;
|
||||
' ': begin
|
||||
|
Loading…
Reference in New Issue
Block a user