aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/cmdline.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmdline.cpp')
-rw-r--r--src/cmdline.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cmdline.cpp b/src/cmdline.cpp
index 8b2d412..78c0bdb 100644
--- a/src/cmdline.cpp
+++ b/src/cmdline.cpp
@@ -258,7 +258,9 @@ process_edit_cmd(gchar key)
throw Quit();
undo.clear();
- interface.ssm(SCI_EMPTYUNDOBUFFER);
+ /* also empties all Scintilla undo buffers */
+ ring.set_scintilla_undo(true);
+ QRegisters::view.set_scintilla_undo(true);
Goto::table->clear();
expressions.clear();