mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 04:36:31 +02:00
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:
parent
31e47ba95d
commit
b7b8d3c067
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user