diff --git a/golded3/geedit.cpp b/golded3/geedit.cpp index f8ba673..a0c88d9 100644 --- a/golded3/geedit.cpp +++ b/golded3/geedit.cpp @@ -1132,7 +1132,10 @@ void IEclass::DelLeft() { // Go left(/up) and delete the character there if(not batch_mode) { - Undo->PushItem(EDIT_UNDO_VOID); + if(col == mincol) + Undo->PushItem(EDIT_UNDO_VOID|PREV_LINE, currline->prev); + else + Undo->PushItem(EDIT_UNDO_VOID); batch_mode = BATCH_MODE; } GoLeft();