SynEdit, Trim-Trailing-Spaces: Fixed, tab moves caret in Position-Only mode

git-svn-id: trunk@19124 -
This commit is contained in:
martin 2009-03-26 18:43:10 +00:00
parent 086fcf9b93
commit 0725aa4cca

View File

@ -6008,7 +6008,13 @@ begin
fLastCaretX := CaretX; //mh 2000-10-19 fLastCaretX := CaretX; //mh 2000-10-19
end; end;
ecTab: ecTab:
if not ReadOnly then DoTabKey; if not ReadOnly then
try
FCaret.IncForcePastEOL;
DoTabKey;
finally
FCaret.DecForcePastEOL;
end;
ecShiftTab: ecShiftTab:
if not ReadOnly then if not ReadOnly then
{$IFDEF SYN_LAZARUS} {$IFDEF SYN_LAZARUS}