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

many small fixes to the hints, and some minor mode handling changes

This commit is contained in:
Martin Stubenschrott
2007-10-25 19:57:49 +00:00
parent ecd70b31e8
commit faefb78c24
6 changed files with 200 additions and 141 deletions

View File

@@ -208,15 +208,15 @@ vimperator.Search = function() //{{{
if (vimperator.options["hlsearch"])
this.highlight(search_string);
vimperator.modes.set(vimperator.modes.NORMAL, null, true);
vimperator.modes.reset();
}
// Called when the search is cancelled - for example if someone presses
// Called when the search is canceled - for example if someone presses
// escape while typing a search
this.searchCanceled = function()
{
vimperator.modes.reset();
//vimperator.focusContent();
this.clear();
// TODO: code to reposition the document to the place before search started
}
// this is not dependent on the value of 'hlsearch'