From d02459f6470e431910af82593152941b96612246 Mon Sep 17 00:00:00 2001 From: Nathan Vegdahl Date: Sun, 11 Jan 2015 01:04:24 -0800 Subject: [PATCH] Undo/redo should mark buffer as dirty. --- src/editor.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/editor.rs b/src/editor.rs index a597b2c..e3c9f70 100644 --- a/src/editor.rs +++ b/src/editor.rs @@ -193,6 +193,8 @@ impl Editor { self.cursor.update_vis_start(&(self.buffer)); self.move_view_to_cursor(); + + self.dirty = true; } } @@ -204,6 +206,8 @@ impl Editor { self.cursor.update_vis_start(&(self.buffer)); self.move_view_to_cursor(); + + self.dirty = true; } }