mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 22:47:59 +01:00
Remove unused editor._lastFindChar{,Func} variables.
t_; and t_, aren't implemented.
This commit is contained in:
@@ -11,12 +11,6 @@
|
|||||||
|
|
||||||
/** @instance editor */
|
/** @instance editor */
|
||||||
const Editor = Module("editor", {
|
const Editor = Module("editor", {
|
||||||
init: function () {
|
|
||||||
// store our last search with f, F, t or T
|
|
||||||
this._lastFindChar = null;
|
|
||||||
this._lastFindCharFunc = null;
|
|
||||||
},
|
|
||||||
|
|
||||||
get isCaret() modes.getStack(1).main === modes.CARET,
|
get isCaret() modes.getStack(1).main === modes.CARET,
|
||||||
get isTextEdit() modes.getStack(1).main === modes.TEXT_EDIT,
|
get isTextEdit() modes.getStack(1).main === modes.TEXT_EDIT,
|
||||||
|
|
||||||
@@ -209,9 +203,6 @@ const Editor = Module("editor", {
|
|||||||
if (!Editor.getEditor())
|
if (!Editor.getEditor())
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
this._lastFindChar = ch;
|
|
||||||
this._lastFindCharFunc = this.findCharForward;
|
|
||||||
|
|
||||||
let text = Editor.getEditor().value;
|
let text = Editor.getEditor().value;
|
||||||
// XXX
|
// XXX
|
||||||
if (count == null)
|
if (count == null)
|
||||||
@@ -235,9 +226,6 @@ const Editor = Module("editor", {
|
|||||||
if (!Editor.getEditor())
|
if (!Editor.getEditor())
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
this._lastFindChar = ch;
|
|
||||||
this._lastFindCharFunc = this.findCharBackward;
|
|
||||||
|
|
||||||
let text = Editor.getEditor().value;
|
let text = Editor.getEditor().value;
|
||||||
// XXX
|
// XXX
|
||||||
if (count == null)
|
if (count == null)
|
||||||
|
|||||||
Reference in New Issue
Block a user