1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 09:37:58 +01:00

remove last references to command_line and status_line

This commit is contained in:
Doug Kearns
2007-05-28 01:06:32 +00:00
parent 43676b4f81
commit 1d33d6cc33
2 changed files with 0 additions and 7 deletions

View File

@@ -318,7 +318,6 @@ function Search()
// Called when the user types a key in the search dialog. Triggers a find attempt // Called when the user types a key in the search dialog. Triggers a find attempt
this.searchKeyPressed = function(command) { this.searchKeyPressed = function(command) {
//this.find(command_line.value, true, this.lastFindState()["point"]);
if (command != "") { if (command != "") {
this.find(vimperator.commandline.getCommand(), true, this.lastFindState()["point"]); this.find(vimperator.commandline.getCommand(), true, this.lastFindState()["point"]);
this.resumeFindState(this.lastFindState()); this.resumeFindState(this.lastFindState());

View File

@@ -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 prev_match = new Array(5);
var heredoc = ''; 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 // FIXME: if I rename this to another class name, it doesn't work, find the reason
function nsBrowserStatusHandler() /*{{{*/ 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 exTabCompletion(str); } );
//vimperator.registerCallback("complete", vimperator.modes.EX, function(str) { return moo();; } ); //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 // Setup our main status handler - from browser.js
// this function reacts to status bar and url changes which are sent from the mozilla core // this function reacts to status bar and url changes which are sent from the mozilla core
window.XULBrowserWindow = new vimperator.browserStatusHandler; window.XULBrowserWindow = new vimperator.browserStatusHandler;