diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2015-03-17 00:57:08 +0100 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2015-03-17 00:57:08 +0100 |
commit | 5fb74180f8ca001d3d0bb256619744d35bec1fa1 (patch) | |
tree | 07cb1c23d7d7d4d8048dfdc4675e47eaf7617e43 | |
parent | b743863f5ac5be7916f8ae62175329f0baec68e4 (diff) | |
download | sciteco-5fb74180f8ca001d3d0bb256619744d35bec1fa1.tar.gz |
always enable ^G modifier after tab completion in ^G mode.
If there was a rubbed out command line and you tab completed
a file name in a string argument (TAB in ^G mode), the immediate
editing modifier was automatically reset.
This still happens if nothing could be tab completed and you
type a few characters and try to complete again (since ^G mode
will be reset). If this feature is used often, the user should perhaps
define a function key as ^G^I^G.
-rw-r--r-- | src/cmdline.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cmdline.cpp b/src/cmdline.cpp index 90fed6e..518c28c 100644 --- a/src/cmdline.cpp +++ b/src/cmdline.cpp @@ -366,6 +366,9 @@ Cmdline::process_edit_cmd(gchar key) if (new_chars) insert(new_chars); g_free(new_chars); + + /* may be reset if there was a rubbed out command line */ + modifier_enabled = true; } else { interface.popup_clear(); insert(key); |