Undo/redo should mark buffer as dirty.
This commit is contained in:
parent
f56d3f0ad4
commit
d02459f647
|
@ -193,6 +193,8 @@ impl Editor {
|
||||||
self.cursor.update_vis_start(&(self.buffer));
|
self.cursor.update_vis_start(&(self.buffer));
|
||||||
|
|
||||||
self.move_view_to_cursor();
|
self.move_view_to_cursor();
|
||||||
|
|
||||||
|
self.dirty = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -204,6 +206,8 @@ impl Editor {
|
||||||
self.cursor.update_vis_start(&(self.buffer));
|
self.cursor.update_vis_start(&(self.buffer));
|
||||||
|
|
||||||
self.move_view_to_cursor();
|
self.move_view_to_cursor();
|
||||||
|
|
||||||
|
self.dirty = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user