mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 18:57:58 +01:00
merge new :redraw command and changed 'linksearch' pattern modifiers
This commit is contained in:
10
Donators
10
Donators
@@ -7,6 +7,16 @@
|
|||||||
* Cillian de Roiste
|
* Cillian de Roiste
|
||||||
* Miron Tewfik
|
* Miron Tewfik
|
||||||
* Robert Heckel
|
* Robert Heckel
|
||||||
|
* Stefan Krauth
|
||||||
|
* Giuseppe Guida
|
||||||
|
* Richard Dooling
|
||||||
|
* Nigel McNie
|
||||||
|
* Paulo Tanimoto
|
||||||
|
* Nathan Saper
|
||||||
|
* Albert Menkveld
|
||||||
|
* Ian Taylor
|
||||||
|
* Thomas Svensen
|
||||||
|
* Ramana Kumar
|
||||||
|
|
||||||
I want to say a big <b>THANK YOU</b> for all people which supported this project in this way.
|
I want to say a big <b>THANK YOU</b> for all people which supported this project in this way.
|
||||||
</pre>
|
</pre>
|
||||||
|
|||||||
5
NEWS
5
NEWS
@@ -1,6 +1,7 @@
|
|||||||
<pre>
|
<pre>
|
||||||
2007-XX-XX:
|
2007-XX-XX:
|
||||||
* version 0.5.2
|
* version 0.5.2
|
||||||
|
* new :redraw and Ctrl-L commands for forced redrawing of the screen
|
||||||
* added new 'laststatus' option and removed "s" value from 'guioptions'
|
* added new 'laststatus' option and removed "s" value from 'guioptions'
|
||||||
* Tab-completion improvements for :javascript and :open
|
* Tab-completion improvements for :javascript and :open
|
||||||
* IMPORTANT: changed semantics of :echo and :echoerr: Strings must be quoted with " or ' now,
|
* IMPORTANT: changed semantics of :echo and :echoerr: Strings must be quoted with " or ' now,
|
||||||
@@ -22,8 +23,8 @@
|
|||||||
behaviour of the message list pager
|
behaviour of the message list pager
|
||||||
* added 'hlsearchstyle' option to allow for user CSS styling of the
|
* added 'hlsearchstyle' option to allow for user CSS styling of the
|
||||||
highlighted text strings when 'hlsearch' is set
|
highlighted text strings when 'hlsearch' is set
|
||||||
* added 'linksearch' option to restrict page searches to link text - \U
|
* added 'linksearch' option to restrict page searches to link text - \L
|
||||||
and \u can be used in the search pattern to override 'linksearch'
|
and \l can be used in the search pattern to override 'linksearch'
|
||||||
* vimperator trys to stay in command mode after loading pages instead
|
* vimperator trys to stay in command mode after loading pages instead
|
||||||
of having a text field focused
|
of having a text field focused
|
||||||
* added a visual bell and replaced 'beep' with 'visualbell'
|
* added a visual bell and replaced 'beep' with 'visualbell'
|
||||||
|
|||||||
@@ -1051,6 +1051,18 @@ function Commands() //{{{
|
|||||||
help: "Quit Vimperator, no matter how many tabs/windows are open. The session is not stored."
|
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]"],
|
addDefaultCommand(new Command(["re[load]"],
|
||||||
function(args, special) { vimperator.tabs.reload(getBrowser().mCurrentTab, special); },
|
function(args, special) { vimperator.tabs.reload(getBrowser().mCurrentTab, special); },
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -70,10 +70,10 @@ function Search() //{{{
|
|||||||
|
|
||||||
search_pattern = pattern;
|
search_pattern = pattern;
|
||||||
|
|
||||||
// links only search - \u wins if both modifiers specified
|
// links only search - \l wins if both modifiers specified
|
||||||
if (/\\u/.test(pattern))
|
if (/\\l/.test(pattern))
|
||||||
links_only = false;
|
links_only = false;
|
||||||
else if (/\U/.test(pattern))
|
else if (/\L/.test(pattern))
|
||||||
links_only = true;
|
links_only = true;
|
||||||
else if (vimperator.options["linksearch"])
|
else if (vimperator.options["linksearch"])
|
||||||
links_only = true;
|
links_only = true;
|
||||||
|
|||||||
@@ -579,6 +579,14 @@ function Mappings() //{{{
|
|||||||
"Whether the new buffer is activated, depends on the <code class=\"option\">'activate'</code> option."
|
"Whether the new buffer is activated, depends on the <code class=\"option\">'activate'</code> option."
|
||||||
}
|
}
|
||||||
));
|
));
|
||||||
|
addDefaultMap(new Map([vimperator.modes.NORMAL], ["<C-l>"],
|
||||||
|
function(count) { vimperator.commands.redraw(); },
|
||||||
|
{
|
||||||
|
short_help: "Redraw the screen",
|
||||||
|
help: "Works like <code class=\"command\">:redraw</code>.",
|
||||||
|
flags: Mappings.flags.COUNT
|
||||||
|
}
|
||||||
|
));
|
||||||
addDefaultMap(new Map(vimperator.modes.NORMAL, ["r"],
|
addDefaultMap(new Map(vimperator.modes.NORMAL, ["r"],
|
||||||
function() { vimperator.tabs.reload(getBrowser().mCurrentTab, false); },
|
function() { vimperator.tabs.reload(getBrowser().mCurrentTab, false); },
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user