diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-11-19 21:02:23 +0100 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-11-20 06:07:33 +0100 |
commit | 3db5b1a40bf6b503b26827355f40033b1047a123 (patch) | |
tree | b0689d9f880b85c79485a2632b5a2e0c19284cbe /parser.h | |
parent | 6403c951636a24f31368e91da2439c4fb47ff4c3 (diff) | |
download | sciteco-3db5b1a40bf6b503b26827355f40033b1047a123.tar.gz |
disable ^U string building characters (by default)
some method to reenable it will be developed in the future (perhaps using a separate command, or a special modifier which reverses a string commands default handling of building character)
Diffstat (limited to 'parser.h')
-rw-r--r-- | parser.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -110,8 +110,11 @@ class StateExpectString : public State { mode(MODE_NORMAL), toctl(false) {} } machine; + bool string_building; + public: - StateExpectString() : State() {} + StateExpectString(bool _building = true) + : State(), string_building(_building) {} private: gchar *machine_input(gchar key) throw (Error); |