aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/parser.h
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2014-11-22 22:58:52 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2014-11-22 22:58:52 +0100
commit14cc71e053a7eddb86264049c2fc8b133870a6e6 (patch)
tree1e499aaa034878706ee4768ccd0861f59b06be02 /src/parser.h
parent3e7ebb5d7b1e477df943cd01f469cf5d20f1509d (diff)
downloadsciteco-14cc71e053a7eddb86264049c2fc8b133870a6e6.tar.gz
added EI as non-string-building variant of I
this is analoguous to EU as the string-build equivalent of ^U.
Diffstat (limited to 'src/parser.h')
-rw-r--r--src/parser.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/parser.h b/src/parser.h
index 0c94ba0..976b215 100644
--- a/src/parser.h
+++ b/src/parser.h
@@ -233,6 +233,10 @@ private:
* also serves as base class for replace-insertion states
*/
class StateInsert : public StateExpectString {
+public:
+ StateInsert(bool building = true)
+ : StateExpectString(building) {}
+
protected:
void initial(void);
void process(const gchar *str, gint new_chars);
@@ -248,7 +252,8 @@ namespace States {
extern StateECommand ecommand;
extern StateScintilla_symbols scintilla_symbols;
extern StateScintilla_lParam scintilla_lparam;
- extern StateInsert insert;
+ extern StateInsert insert_building;
+ extern StateInsert insert_nobuilding;
extern State *current;