Fixed undo for backspace at the line beginning

This commit is contained in:
Alexander S. Aganichev 2001-12-19 09:33:09 +00:00
parent da636af8e2
commit aa20211b6a

View File

@ -1132,6 +1132,9 @@ void IEclass::DelLeft() {
// Go left(/up) and delete the character there
if(not batch_mode) {
if(col == mincol)
Undo->PushItem(EDIT_UNDO_VOID|PREV_LINE, currline->prev);
else
Undo->PushItem(EDIT_UNDO_VOID);
batch_mode = BATCH_MODE;
}