From 99c4c44426b5cbb20ee521c706c39e7d41ba6d5e Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Fri, 24 Sep 2010 11:46:16 -0400 Subject: [PATCH] Crudely map to rather than executing an editor command. Fixes issue #15. --- common/content/editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/content/editor.js b/common/content/editor.js index 4921a0ad..925f205f 100644 --- a/common/content/editor.js +++ b/common/content/editor.js @@ -545,7 +545,7 @@ const Editor = Module("editor", { mappings.add(myModes, [""], "Delete character to the left", - function () { editor.executeCommand("cmd_deleteCharBackward", 1); }); + function () { events.feedkeys("", true); }); mappings.add(myModes, [""], "Delete character to the right",