1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-04-03 04:43:33 +02:00

renamed commandline.js -> ui.js

moved all statusbar code to the StatusLine() class
This commit is contained in:
Martin Stubenschrott
2007-05-16 15:31:50 +00:00
parent 77686ff159
commit d99945054c
5 changed files with 348 additions and 195 deletions

View File

@@ -254,7 +254,8 @@ function Search()
// Called when the search dialog is asked for. Sets up everything necessary
// for this round of searching
this.openSearchDialog = function() {
this.openSearchDialog = function()
{
// Get a reference to the focused window if necessary
if (this.gWin == null) this.gWin = document.commandDispatcher.focusedWindow;
@@ -419,7 +420,8 @@ function Search()
}
// Finds text in a page
this.find = function(str, dir, pt) {
this.find = function(str, dir, pt)
{
var norecurse = arguments[3];
var matchRange;
@@ -451,14 +453,9 @@ function Search()
}
}
//logObject(vimperator);
logMessage("Search initialized.");
logMessage("Search initialized");
}
//searcher = new searcher();
//vimperator.registerCallback("submit", MODE_SEARCH, function(command) { /*vimperator.*/alert(command); } );
//vimperator.registerCallback("change", MODE_SEARCH, function(command) { /*vimperator.*/alert(command); } );
// @todo nicer way to register commands?
g_commands.push(
[