aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/parser.cpp
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2014-11-22 22:19:46 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2014-11-22 22:19:46 +0100
commit3e7ebb5d7b1e477df943cd01f469cf5d20f1509d (patch)
tree49693e93e1a1621aef29bb9d3de9bead3e21aa48 /src/parser.cpp
parenta6c13d77f2f5f504c7b99e66db5f7d52c1368b8a (diff)
downloadsciteco-3e7ebb5d7b1e477df943cd01f469cf5d20f1509d.tar.gz
added variant of the ^U command with string building: the EU command
it became apparent, that something like this is very useful, when constructing the contents of a q-register without editing it. I have decided against introducing another modifier for toggling string building. Most commands have string building enabled and it doesn't hurt. For the few exceptions, an alternative variant can be introduced.
Diffstat (limited to 'src/parser.cpp')
-rw-r--r--src/parser.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parser.cpp b/src/parser.cpp
index 66b46c4..f9e6332 100644
--- a/src/parser.cpp
+++ b/src/parser.cpp
@@ -1805,6 +1805,7 @@ StateECommand::StateECommand() : State()
transitions['N'] = &States::glob;
transitions['S'] = &States::scintilla_symbols;
transitions['Q'] = &States::eqcommand;
+ transitions['U'] = &States::eucommand;
transitions['W'] = &States::savefile;
}