1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 21:48:00 +01:00

Add :frameonly.

This commit is contained in:
Doug Kearns
2009-05-13 02:14:04 +10:00
parent 895e40a803
commit 18def4a7ae
4 changed files with 18 additions and 0 deletions

View File

@@ -509,6 +509,14 @@ function Buffer() //{{{
////////////////////// COMMANDS //////////////////////////////////////////////// ////////////////////// COMMANDS ////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////{{{ /////////////////////////////////////////////////////////////////////////////{{{
commands.add(["frameo[nly]"],
"Show only the current frame's page",
function (args)
{
liberator.open(tabs.localStore.focusedFrame.document.documentURI);
},
{ argCount: "0" });
commands.add(["ha[rdcopy]"], commands.add(["ha[rdcopy]"],
"Print current document", "Print current document",
function (args) function (args)

View File

@@ -4,6 +4,7 @@
* TabMixPlus (and other tab extensions) should work much better now * TabMixPlus (and other tab extensions) should work much better now
together with Vimperator unless you :set guioptions+=[nN] together with Vimperator unless you :set guioptions+=[nN]
* remove 'preload' option. You can fake it by some custom javascript in your init file * remove 'preload' option. You can fake it by some custom javascript in your init file
* add :frameonly
* add :stopall * add :stopall
* add :tabdo * add :tabdo
* add 'encoding' * add 'encoding'

View File

@@ -327,6 +327,14 @@ Normally this command operates on the text zoom; if used with [!], it
operates on full zoom. operates on full zoom.
________________________________________________________________________________ ________________________________________________________________________________
section:Working{nbsp}with{nbsp}frames[frames]
|:frameo| |:frameonly|
||:frameo[nly]|| +
________________________________________________________________________________
Show only the current frame's page.
________________________________________________________________________________
section:Copying{nbsp}text[copying,yanking] section:Copying{nbsp}text[copying,yanking]
When running in X11, the text of the following commands is not only When running in X11, the text of the following commands is not only

View File

@@ -183,6 +183,7 @@ section:Ex{nbsp}commands[ex-cmd-index,:index]
||[c]:execute[c]|| Execute the argument as an Ex command + ||[c]:execute[c]|| Execute the argument as an Ex command +
||[c]:exusage[c]|| List all Ex commands with a short description + ||[c]:exusage[c]|| List all Ex commands with a short description +
||[c]:finish[c]|| Stop sourcing a script file + ||[c]:finish[c]|| Stop sourcing a script file +
||[c]:frameonly[c]|| Show only the current frame's page +
||[c]:forward[c]|| Go forward in the browser history + ||[c]:forward[c]|| Go forward in the browser history +
||[c]:hardcopy[c]|| Print current document + ||[c]:hardcopy[c]|| Print current document +
||[c]:help[c]|| Display help + ||[c]:help[c]|| Display help +