From b0e9d149793cb058136112053899dee8879eec5d Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Mon, 20 Dec 2010 10:04:16 -0500 Subject: [PATCH] Unbind i_. Closes issue #199. Closes issue #149. --- common/content/dactyl.js | 2 +- common/content/editor.js | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/common/content/dactyl.js b/common/content/dactyl.js index 1d9268fd..748419eb 100644 --- a/common/content/dactyl.js +++ b/common/content/dactyl.js @@ -389,7 +389,7 @@ const Dactyl = Module("dactyl", { if (elem instanceof Window) services.focus.clearFocus(elem); else - services.focus.setFocus(elem, flags || Ci.nsIFocusManager.FLAG_BYMOUSE); + services.focus.setFocus(elem, flags || services.focus.FLAG_BYMOUSE); } catch (e) { util.dump(elem); util.reportError(e); diff --git a/common/content/editor.js b/common/content/editor.js index e5721368..386a3194 100644 --- a/common/content/editor.js +++ b/common/content/editor.js @@ -593,14 +593,6 @@ const Editor = Module("editor", { function () { editor.expandAbbreviation(modes.INSERT); }, { route: true }); - mappings.add([modes.INSERT], - [""], "Expand insert mode abbreviation", - function () { - editor.expandAbbreviation(modes.INSERT); - services.focus.moveFocus(window, null, Ci.nsIFocusManager.MOVEFOCUS_FORWARD, - Ci.nsIFocusManager.FLAG_BYKEY); - }); - mappings.add([modes.INSERT], ["", ""], "Expand insert mode abbreviation", function () { editor.expandAbbreviation(modes.INSERT); });