mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 05:27:59 +01:00
Cleanup main.jsm. Add (currently disabled) command cacheing.
This commit is contained in:
@@ -1237,9 +1237,7 @@ var Editor = Module("editor", XPCOM(Ci.nsIEditActionListener, ModuleBase), {
|
||||
var range = editor.selectedRange;
|
||||
if (range.collapsed) {
|
||||
count = count || 1;
|
||||
util.dump(count, range);
|
||||
Editor.extendRange(range, true, { test: function (c) !!count-- }, true);
|
||||
util.dump(count, range);
|
||||
}
|
||||
editor.mungeRange(range, munger, count != null);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user