Fixed undo for backspace at the line beginning
This commit is contained in:
parent
da636af8e2
commit
aa20211b6a
@ -1132,7 +1132,10 @@ void IEclass::DelLeft() {
|
|||||||
|
|
||||||
// Go left(/up) and delete the character there
|
// Go left(/up) and delete the character there
|
||||||
if(not batch_mode) {
|
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;
|
batch_mode = BATCH_MODE;
|
||||||
}
|
}
|
||||||
GoLeft();
|
GoLeft();
|
||||||
|
Reference in New Issue
Block a user