From 156832555281e47a18850c757f543b22da92edfa Mon Sep 17 00:00:00 2001 From: Martin Stubenschrott Date: Fri, 25 May 2007 11:13:52 +0000 Subject: [PATCH] changed nohlsearch to the new spec --- chrome/content/vimperator/commands.js | 4 +--- chrome/content/vimperator/find.js | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/chrome/content/vimperator/commands.js b/chrome/content/vimperator/commands.js index ba621053..b5608ab0 100644 --- a/chrome/content/vimperator/commands.js +++ b/chrome/content/vimperator/commands.js @@ -51,7 +51,6 @@ var g_commands = [/*{{{*/ ["addo[ns]"], "Show available Browser Extensions and Themes", "You can add/remove/disable browser extensions from this dialog.
Be aware that not all Firefox extensions work, because Vimperator overrides some keybindings and changes Firefox's GUI.", - //function() { }, function(args) { vimperator.commands.addons(args); }, null ], @@ -1473,7 +1472,7 @@ function focusNextFrame(count) indicator.setAttribute("style", style); doc.body.appendChild(indicator); - setTimeout(function() { doc.body.removeChild(indicator); }, 250); + setTimeout(function() { doc.body.removeChild(indicator); }, 300); } catch(e) { alert(e); } } @@ -2206,7 +2205,6 @@ function toggle_images() { function Commands() { - this.addons = function(args) { openURLsInNewTab("chrome://mozapps/content/extensions/extensions.xul", true); diff --git a/chrome/content/vimperator/find.js b/chrome/content/vimperator/find.js index f467a406..6e8cf6d0 100644 --- a/chrome/content/vimperator/find.js +++ b/chrome/content/vimperator/find.js @@ -461,8 +461,8 @@ function Search() // @todo nicer way to register commands? g_commands.push( [ - ["nohilight", "noh"], - ["noh[ilight]"], + ["noh[lsearch]", "noh"], + ["noh[lsearch]"], "Clear the current selection", "", clearSelection,