diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-11-15 01:25:38 +0100 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-11-15 01:25:38 +0100 |
commit | 1f7475248b369e18114086b507ceceacdc1a0c24 (patch) | |
tree | 3c4e157ff099dc6faa8978c4e5e1558e6424e4a0 /undo.cpp | |
parent | 33d3311dc9fe09e8cc670dc11378980f2f1d3eab (diff) | |
download | sciteco-1f7475248b369e18114086b507ceceacdc1a0c24.tar.gz |
added Interface class to ease porting SciTECO to other platforms (toolkits)
* will support Scintilla with Scinterm/NCurses
* changes are in such a way that the generated machine code should have almost no overhead compared
to the previous implementation (at least when compiled with optimizations)
Diffstat (limited to 'undo.cpp')
-rw-r--r-- | undo.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -6,6 +6,7 @@ #include <Scintilla.h> #include "sciteco.h" +#include "interface.h" #include "undo.h" UndoStack undo; @@ -13,7 +14,7 @@ UndoStack undo; void UndoTokenMessage::run(void) { - editor_msg(iMessage, wParam, lParam); + interface.ssm(iMessage, wParam, lParam); } void |