diff options
author | Doug Kearns <dougkearns@gmail.com> | 2010-11-05 02:16:08 +1100 |
---|---|---|
committer | Doug Kearns <dougkearns@gmail.com> | 2010-11-05 02:16:08 +1100 |
commit | a66c37088c5b9a0385458bcb36fc14dadfe8309b (patch) | |
tree | 82496326b3f1138d17cd75242898fb59adf7817e /common/content/editor.js | |
parent | 44f23146e14bcd92fbf9b0555b9aaf4327b44ba4 (diff) | |
download | pentadactyl-a66c37088c5b9a0385458bcb36fc14dadfe8309b.tar.gz |
Remove unused editor._lastFindChar{,Func} variables.
t_; and t_, aren't implemented.
Diffstat (limited to 'common/content/editor.js')
-rw-r--r-- | common/content/editor.js | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/common/content/editor.js b/common/content/editor.js index 7c04af0d..9d574c71 100644 --- a/common/content/editor.js +++ b/common/content/editor.js @@ -11,12 +11,6 @@ /** @instance 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 isTextEdit() modes.getStack(1).main === modes.TEXT_EDIT, @@ -209,9 +203,6 @@ const Editor = Module("editor", { if (!Editor.getEditor()) return -1; - this._lastFindChar = ch; - this._lastFindCharFunc = this.findCharForward; - let text = Editor.getEditor().value; // XXX if (count == null) @@ -235,9 +226,6 @@ const Editor = Module("editor", { if (!Editor.getEditor()) return -1; - this._lastFindChar = ch; - this._lastFindCharFunc = this.findCharBackward; - let text = Editor.getEditor().value; // XXX if (count == null) |