synedit: fixed undo delete space at end of line, bug #8722

git-svn-id: trunk@14212 -
This commit is contained in:
mattias 2008-02-20 14:39:41 +00:00
parent b2affc1ca1
commit e91dacd68b

View File

@ -7927,7 +7927,7 @@ begin
if {$IFDEF SYN_LAZARUS}LogCaretXY.X{$ELSE}CaretX{$ENDIF} > Len +1
then begin
// only move caret one column
Helper := '';
Helper := ' ';
CaretX := CaretX - 1;
end else if CaretX = 1 then begin
// join this line with the last line if possible