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:
Martin 2025-02-09 22:10:15 +01:00
parent c50ceb5e64
commit 696cf7c7b5

View File

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