From cf4c33bbd430f39dafe2d27310237085abf2ac27 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Tue, 10 Nov 2009 07:06:46 +1100 Subject: [PATCH] Fix abbreviation commands. --- 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 a1b62f80..d0fd3124 100644 --- a/common/content/editor.js +++ b/common/content/editor.js @@ -661,7 +661,7 @@ const Editor = Module("editor", { commands.add([ch ? ch + "a[bbrev]" : "ab[breviate]"], "Abbreviate a key sequence" + modeDescription, function (args) { - let matches = args.string.match(RegExp("^\\s*($|" + this._abbrevmatch + ")(?:\\s*$|\\s+(.*))")); + let matches = args.string.match(RegExp("^\\s*($|" + editor._abbrevmatch + ")(?:\\s*$|\\s+(.*))")); liberator.assert(matches, "E474: Invalid argument"); let [, lhs, rhs] = matches;