1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 06:08:02 +01:00

* :redraw and ctrl-l commands

* \u\U changed to \l\L
This commit is contained in:
Martin Stubenschrott
2007-10-08 13:21:21 +00:00
parent fc0409b493
commit ad5138cf91
5 changed files with 27 additions and 5 deletions

View File

@@ -1051,6 +1051,18 @@ function Commands() //{{{
help: "Quit Vimperator, no matter how many tabs/windows are open. The session is not stored."
}
));
addDefaultCommand(new Command(["redr[aw]"],
function()
{
var wu = window.QueryInterface(Components.interfaces.nsIInterfaceRequestor).
getInterface(Components.interfaces.nsIDOMWindowUtils);
wu.redraw();
},
{
short_help: "Redraw the screen",
help: "Useful to update the screen halfway executing a script or function."
}
));
addDefaultCommand(new Command(["re[load]"],
function(args, special) { vimperator.tabs.reload(getBrowser().mCurrentTab, special); },
{