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 /cmdline.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 'cmdline.cpp')
-rw-r--r-- | cmdline.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmdline.cpp b/cmdline.cpp index a0c6fec..2f35c5d 100644 --- a/cmdline.cpp +++ b/cmdline.cpp @@ -100,7 +100,8 @@ process_edit_cmd(gchar key) } case '\t': - if (States::current == &States::file || + if (States::current == &States::editfile || + States::current == &States::savefile || States::current == &States::loadqreg) { gchar *new_chars = filename_complete(strings[0], escape_char); if (new_chars) |