Fixed undo for backspace at the line beginning
This commit is contained in:
parent
da636af8e2
commit
aa20211b6a
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user