mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 20:17:58 +01:00
changed nohlsearch to the new spec
This commit is contained in:
@@ -51,7 +51,6 @@ var g_commands = [/*{{{*/
|
|||||||
["addo[ns]"],
|
["addo[ns]"],
|
||||||
"Show available Browser Extensions and Themes",
|
"Show available Browser Extensions and Themes",
|
||||||
"You can add/remove/disable browser extensions from this dialog.<br/>Be aware that not all Firefox extensions work, because Vimperator overrides some keybindings and changes Firefox's GUI.",
|
"You can add/remove/disable browser extensions from this dialog.<br/>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); },
|
function(args) { vimperator.commands.addons(args); },
|
||||||
null
|
null
|
||||||
],
|
],
|
||||||
@@ -1473,7 +1472,7 @@ function focusNextFrame(count)
|
|||||||
indicator.setAttribute("style", style);
|
indicator.setAttribute("style", style);
|
||||||
doc.body.appendChild(indicator);
|
doc.body.appendChild(indicator);
|
||||||
|
|
||||||
setTimeout(function() { doc.body.removeChild(indicator); }, 250);
|
setTimeout(function() { doc.body.removeChild(indicator); }, 300);
|
||||||
} catch(e) { alert(e); }
|
} catch(e) { alert(e); }
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2206,7 +2205,6 @@ function toggle_images() {
|
|||||||
|
|
||||||
function Commands()
|
function Commands()
|
||||||
{
|
{
|
||||||
|
|
||||||
this.addons = function(args)
|
this.addons = function(args)
|
||||||
{
|
{
|
||||||
openURLsInNewTab("chrome://mozapps/content/extensions/extensions.xul", true);
|
openURLsInNewTab("chrome://mozapps/content/extensions/extensions.xul", true);
|
||||||
|
|||||||
@@ -461,8 +461,8 @@ function Search()
|
|||||||
// @todo nicer way to register commands?
|
// @todo nicer way to register commands?
|
||||||
g_commands.push(
|
g_commands.push(
|
||||||
[
|
[
|
||||||
["nohilight", "noh"],
|
["noh[lsearch]", "noh"],
|
||||||
["noh[ilight]"],
|
["noh[lsearch]"],
|
||||||
"Clear the current selection",
|
"Clear the current selection",
|
||||||
"",
|
"",
|
||||||
clearSelection,
|
clearSelection,
|
||||||
|
|||||||
Reference in New Issue
Block a user