aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmdline.cpp
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2012-11-16 14:58:12 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2012-11-16 14:58:12 +0100
commit4293ad5122c7ab9d5f2b2e50db3c5959d507a06b (patch)
treea4cdda0f066c92acc4f7aa8e9b09cb4244ee628e /cmdline.cpp
parentf6ff327f0b7b50b74328e448ce862f7212dcae23 (diff)
downloadsciteco-4293ad5122c7ab9d5f2b2e50db3c5959d507a06b.tar.gz
empty Scintilla undo buffer on line termination and after munging
* also clear goto table after munging
Diffstat (limited to 'cmdline.cpp')
-rw-r--r--cmdline.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmdline.cpp b/cmdline.cpp
index 31badb5..5c6c14b 100644
--- a/cmdline.cpp
+++ b/cmdline.cpp
@@ -118,6 +118,7 @@ process_edit_cmd(gchar key)
exit(EXIT_SUCCESS);
}
+ interface.ssm(SCI_EMPTYUNDOBUFFER);
undo.clear();
goto_table_clear();