aboutsummaryrefslogtreecommitdiffhomepage
path: root/qbuffers.h
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2012-11-20 01:57:14 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2012-11-20 06:07:34 +0100
commitdf9f83a249e59867373e06c79aa8f57a5c9640b7 (patch)
tree1a105e4c80877b58f3b0e5dfbe418910144f1077 /qbuffers.h
parentec510eda5f080d39906c396a36cba89188031640 (diff)
downloadsciteco-df9f83a249e59867373e06c79aa8f57a5c9640b7.tar.gz
cleanup macro execution functions: common namespace, Execute::file() uses Execute::macro()
Diffstat (limited to 'qbuffers.h')
-rw-r--r--qbuffers.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/qbuffers.h b/qbuffers.h
index df05c08..3613c93 100644
--- a/qbuffers.h
+++ b/qbuffers.h
@@ -456,16 +456,6 @@ namespace States {
namespace QRegisters {
extern QRegisterTable globals;
extern QRegisterTable *locals;
- extern QRegister *current;
-
- inline void
- undo_edit(void)
- {
- current->dot = interface.ssm(SCI_GETCURRENTPOS);
-
- undo.push_var<QRegister*>(current);
- current->undo_edit();
- }
enum Hook {
HOOK_ADD = 1,