diff --git a/Donators b/Donators
index b519261a..cc072a07 100644
--- a/Donators
+++ b/Donators
@@ -16,6 +16,7 @@
* Albert Menkveld
* Ian Taylor
* Thomas Svensen
+* Ramana Kumar
I want to say a big THANK YOU for all people which supported this project in this way.
diff --git a/NEWS b/NEWS
index 6e135d35..c33ffb29 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,7 @@
2007-xx-xx:
* version 0.6
* THIS VERSION ONLY WORKS WITH FIREFOX 3.0
+ * new :redraw and Ctrl-L commands for forced redrawing of the screen
* added new 'laststatus' option and removed "s" value from 'guioptions'
* Tab-completion improvements for :javascript and :open
* IMPORTANT: changed semantics of :echo and :echoerr: Strings must be quoted with " or ' now,
@@ -23,8 +24,8 @@
behaviour of the message list pager
* added 'hlsearchstyle' option to allow for user CSS styling of the
highlighted text strings when 'hlsearch' is set
- * added 'linksearch' option to restrict page searches to link text - \U
- and \u can be used in the search pattern to override 'linksearch'
+ * added 'linksearch' option to restrict page searches to link text - \L
+ and \l can be used in the search pattern to override 'linksearch'
* improvements for scrollable -- more -- prompt
* changed 'I' key to Ctrl-Q to also work in textboxes
* sites like msn.com or yahoo.com don't focus search field anymore on keydown
diff --git a/content/commands.js b/content/commands.js
index f9f08af2..46f0d0ae 100644
--- a/content/commands.js
+++ b/content/commands.js
@@ -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); },
{
diff --git a/content/find.js b/content/find.js
index 1ca6095d..2109030f 100644
--- a/content/find.js
+++ b/content/find.js
@@ -70,10 +70,10 @@ function Search() //{{{
search_pattern = pattern;
- // links only search - \u wins if both modifiers specified
- if (/\\u/.test(pattern))
+ // links only search - \l wins if both modifiers specified
+ if (/\\l/.test(pattern))
links_only = false;
- else if (/\U/.test(pattern))
+ else if (/\L/.test(pattern))
links_only = true;
else if (vimperator.options["linksearch"])
links_only = true;
diff --git a/content/mappings.js b/content/mappings.js
index 58297091..51fe9b37 100644
--- a/content/mappings.js
+++ b/content/mappings.js
@@ -628,6 +628,14 @@ function Mappings() //{{{
"Whether the new buffer is activated, depends on the 'activate' option."
}
));
+ addDefaultMap(new Map([vimperator.modes.NORMAL], [""],
+ function(count) { vimperator.commands.redraw(); },
+ {
+ short_help: "Redraw the screen",
+ help: "Works like :redraw.",
+ flags: Mappings.flags.COUNT
+ }
+ ));
addDefaultMap(new Map([vimperator.modes.NORMAL], ["r"],
function() { vimperator.tabs.reload(getBrowser().mCurrentTab, false); },
{