SynEdit: Trim spaces - position only: Do not mark buffer as modified, if pressing space at EOL. Follow up revision 40680 #63634bb913 / Fixed mem leak

git-svn-id: trunk@41228 -
This commit is contained in:
martin 2013-05-16 22:44:35 +00:00
parent 31e47ba95d
commit b7b8d3c067

View File

@ -445,7 +445,7 @@ begin
(TSynEditUndoTrimInsert(L).FPosY = APosY)
then begin
{$IFDEF SynTrimDebug}debugln(['--- Trimmer -- MaybeAddUndoForget - removing last undo']);{$ENDIF}
CurUndoList.PopLastChange;
CurUndoList.PopLastChange.Free;
exit;
end;
end;