aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/parser.h
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2013-01-30 19:47:06 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2013-02-03 18:48:04 +0100
commit8816b7c7aded7ef8defca0bc6a78b2f5887faea6 (patch)
treef125e81fa8433da2f3ebd5af7b0d17d2a540cb67 /src/parser.h
parent1d768b53295d71705fd1618f936240ed5428cb87 (diff)
downloadsciteco-8816b7c7aded7ef8defca0bc6a78b2f5887faea6.tar.gz
first draft of commandline-editing commands ({ and } as in VideoTECO)
* simplified traditional commandline editing. no need to extend cmdline string one character at a time when inserting multiple. instead there's a marker (cmdline_pos) specifying the macro length to execute in a "step" and also the anchor for generating undo tokens * implementation does not yet work in macro calls * while editing the commandline, other buffers/registers may not be edited (need push-down-list and auxiliary q-register)
Diffstat (limited to 'src/parser.h')
-rw-r--r--src/parser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser.h b/src/parser.h
index 69a6d93..8ee15d7 100644
--- a/src/parser.h
+++ b/src/parser.h
@@ -253,7 +253,7 @@ extern gchar *strings[2];
extern gchar escape_char;
namespace Execute {
- void step(const gchar *macro) throw (State::Error);
+ void step(const gchar *&macro, gint &stop_pos) throw (State::Error);
void macro(const gchar *macro, bool locals = true) throw (State::Error);
bool file(const gchar *filename, bool locals = true);
}