diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-11-13 09:46:41 +0100 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-11-13 09:46:41 +0100 |
commit | 3c395e56140c991ea776fedde0eaba230060c767 (patch) | |
tree | 82b629ddbfc6127b9f9e5f2b8745b5c35d4dc701 /parser.cpp | |
parent | 5db6dee299389eb3b939ca5d6ebfcefceb40c4c5 (diff) | |
download | sciteco-3c395e56140c991ea776fedde0eaba230060c767.tar.gz |
added EW...$ command
* EW$ saves file with its current filename
* EW<filename>$ saves file with under the specified filename (Save As)
* files are stored with absolute paths in the ring
Diffstat (limited to 'parser.cpp')
-rw-r--r-- | parser.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -892,7 +892,8 @@ StateControl::custom(gchar chr) StateECommand::StateECommand() : State() { transitions['\0'] = this; - transitions['B'] = &States::file; + transitions['B'] = &States::editfile; + transitions['W'] = &States::savefile; transitions['Q'] = &States::eqcommand; } |