mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-30 23:10:44 +02:00
SynEdit: Backspace would not work with real Tabs at the end of line (last 2 char positions of line)
git-svn-id: trunk@17409 -
This commit is contained in:
parent
46f962f4b4
commit
0a4ca8c8bf
@ -11194,7 +11194,7 @@ begin
|
||||
break;
|
||||
end;
|
||||
end;
|
||||
if (ScreenPos>PhysicalPos) and (BytePos>1) and (BytePos<ByteLen)
|
||||
if (ScreenPos>PhysicalPos) and (BytePos>1) and (BytePos-2<ByteLen)
|
||||
and (PLine[BytePos-2]=#9) then
|
||||
dec(BytePos);
|
||||
Result := BytePos;
|
||||
|
Loading…
Reference in New Issue
Block a user