diff --git a/chrome/content/vimperator/find.js b/chrome/content/vimperator/find.js index daa5367d..1a13ce43 100644 --- a/chrome/content/vimperator/find.js +++ b/chrome/content/vimperator/find.js @@ -318,7 +318,6 @@ function Search() // Called when the user types a key in the search dialog. Triggers a find attempt this.searchKeyPressed = function(command) { - //this.find(command_line.value, true, this.lastFindState()["point"]); if (command != "") { this.find(vimperator.commandline.getCommand(), true, this.lastFindState()["point"]); this.resumeFindState(this.lastFindState()); diff --git a/chrome/content/vimperator/vimperator.js b/chrome/content/vimperator/vimperator.js index 0044dff2..6cb3b144 100644 --- a/chrome/content/vimperator/vimperator.js +++ b/chrome/content/vimperator/vimperator.js @@ -38,9 +38,6 @@ var g_count = -1; // the parsed integer of g_inputbuffer, or -1 if no cou var prev_match = new Array(5); var heredoc = ''; -// handles to our gui elements -var command_line = null; - // FIXME: if I rename this to another class name, it doesn't work, find the reason function nsBrowserStatusHandler() /*{{{*/ { @@ -189,9 +186,6 @@ function init() vimperator.registerCallback("complete", vimperator.modes.EX, function(str) { return exTabCompletion(str); } ); //vimperator.registerCallback("complete", vimperator.modes.EX, function(str) { return moo();; } ); - //status_line = document.getElementById("vim-statusbar"); - command_line = document.getElementById("vimperator-commandline"); - // Setup our main status handler - from browser.js // this function reacts to status bar and url changes which are sent from the mozilla core window.XULBrowserWindow = new vimperator.browserStatusHandler;