diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-11-16 14:58:12 +0100 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-11-16 14:58:12 +0100 |
commit | 4293ad5122c7ab9d5f2b2e50db3c5959d507a06b (patch) | |
tree | a4cdda0f066c92acc4f7aa8e9b09cb4244ee628e /main.cpp | |
parent | f6ff327f0b7b50b74328e448ce862f7212dcae23 (diff) | |
download | sciteco-4293ad5122c7ab9d5f2b2e50db3c5959d507a06b.tar.gz |
empty Scintilla undo buffer on line termination and after munging
* also clear goto table after munging
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -13,6 +13,7 @@ #include "sciteco.h" #include "interface.h" #include "parser.h" +#include "goto.h" #include "qbuffers.h" #include "undo.h" @@ -156,6 +157,8 @@ main(int argc, char **argv) } g_free(mung_file); + interface.ssm(SCI_EMPTYUNDOBUFFER); + goto_table_clear(); undo.enabled = true; interface.event_loop(); |