mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 07:18:00 +01:00
remove last references to command_line and status_line
This commit is contained in:
@@ -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());
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user