mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-31 01:33:34 +02:00
Remove leftover dump statement.
This commit is contained in:
@@ -41,7 +41,7 @@ var Editor = Module("editor", {
|
|||||||
get isTextEdit() modes.getStack(1).main == modes.TEXT_EDIT,
|
get isTextEdit() modes.getStack(1).main == modes.TEXT_EDIT,
|
||||||
|
|
||||||
deselectText: function () {
|
deselectText: function () {
|
||||||
if (this.selection)
|
if (this.selection && this.selection.focusNode)
|
||||||
this.selection.collapse(this.selection.focusNode,
|
this.selection.collapse(this.selection.focusNode,
|
||||||
this.selection.focusOffset);
|
this.selection.focusOffset);
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1400,7 +1400,6 @@ var Commands = Module("commands", {
|
|||||||
};
|
};
|
||||||
|
|
||||||
completion.exMacro = function exMacro(context, args, cmd) {
|
completion.exMacro = function exMacro(context, args, cmd) {
|
||||||
util.dump(cmd.action.macro, cmd.action);
|
|
||||||
if (!cmd.action.macro)
|
if (!cmd.action.macro)
|
||||||
return;
|
return;
|
||||||
let { macro } = cmd.action;
|
let { macro } = cmd.action;
|
||||||
|
|||||||
@@ -601,7 +601,7 @@ var CompletionContext = Class("CompletionContext", {
|
|||||||
}
|
}
|
||||||
this.offset += count;
|
this.offset += count;
|
||||||
if (this._filter)
|
if (this._filter)
|
||||||
this._filter = this._filter.substr(advance);
|
this._filter = this._filter.substr(arguments[0] || 0);
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user