diff --git a/common/content/commandline.js b/common/content/commandline.js index c4c0b055..413a55a5 100644 --- a/common/content/commandline.js +++ b/common/content/commandline.js @@ -852,6 +852,9 @@ const CommandLine = Module("commandline", { catch (e) { dactyl.reportError(e, true); } + finally { + return true; + } }, /** @@ -1644,7 +1647,8 @@ const CommandLine = Module("commandline", { ["", '"', "'"], "Expand command line abbreviation", function () { commandline.resetCompletions(); - return editor.expandAbbreviation(modes.COMMAND_LINE); + editor.expandAbbreviation(modes.COMMAND_LINE); + return true; }, { route: true }); diff --git a/common/content/editor.js b/common/content/editor.js index a10e22bb..83986854 100644 --- a/common/content/editor.js +++ b/common/content/editor.js @@ -417,7 +417,6 @@ const Editor = Module("editor", { textbox.selectionStart = currStart - len + abbrText.length; textbox.selectionEnd = currEnd - len + abbrText.length; } - return true; }, }, { diff --git a/common/content/events.js b/common/content/events.js index 188e2dc7..75e5eb85 100644 --- a/common/content/events.js +++ b/common/content/events.js @@ -741,6 +741,8 @@ const Events = Module("events", { function isEscape(key) key == "" || key == ""; function killEvent() { + if (/key|input/.test(event.type)) + util.dumpStack(); event.preventDefault(); event.stopPropagation(); } @@ -869,6 +871,7 @@ const Events = Module("events", { // only follow a map if there isn't a longer possible mapping // (allows you to do :map z yy, when zz is a longer mapping than z) else if (map && !event.skipmap && candidates.length == 0) { + util.dump(map, this._input); this._input.pendingMap = null; this._input.count = parseInt(countStr, 10); if (isNaN(this._input.count))