1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-19 22:57:59 +01:00

Fix focus bug. Closes issue #212.

--HG--
branch : bootstrapped
This commit is contained in:
Kris Maglione
2010-12-27 11:10:50 -05:00
parent a7b8cac7de
commit e93f7455f2
5 changed files with 7 additions and 13 deletions

View File

@@ -51,8 +51,7 @@ var Modes = Module("modes", {
}
});
this.addMode("COMMAND_LINE", { char: "c", input: true,
display: function () modes.extended & modes.OUTPUT_MULTILINE ? null : this.disp });
this.addMode("COMMAND_LINE", { char: "c", input: true });
this.addMode("CARET", {}, {
get pref() prefs.get("accessibility.browsewithcaret"),
@@ -82,7 +81,7 @@ var Modes = Module("modes", {
postExecute: function (map) { if (modes.main == modes.QUOTE && map.name === "<C-v>") modes.pop() },
onEvent: function () { if (modes.main == modes.QUOTE) modes.pop() }
});
this.addMode("OUTPUT_MULTILINE");
this.addMode("OUTPUT_MULTILINE", { ownsFocus: true });
// this._extended modes, can include multiple modes, and even main modes
this.addMode("EX", true);