1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-29 02:22:26 +01:00

Support multi-character hint modes. Remove bloody fh=2. Closes issue #614.

This commit is contained in:
Kris Maglione
2011-07-30 06:48:22 -04:00
parent 9191f1866a
commit 992da465d7
5 changed files with 35 additions and 27 deletions

View File

@@ -305,6 +305,8 @@ var CommandMode = Class("CommandMode", {
this.keepCommand = userContext.hidden_option_command_afterimage;
},
get autocomplete() options["autocomplete"].length,
get command() this.widgets.command[1],
set command(val) this.widgets.command = val,
@@ -1031,7 +1033,7 @@ var CommandLine = Module("commandline", {
this.autocompleteTimer = Timer(200, 500, function autocompleteTell(tabPressed) {
if (events.feedingKeys && !tabPressed)
this.ignoredCount++;
else if (options["autocomplete"].length) {
else if (this.session.autocomplete) {
this.itemList.visible = true;
this.complete(true, false);
}