mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 08:37:57 +01:00
fix search highlighting when 'incsearch' is set - Algardas <algardas@gmail.com>
This commit is contained in:
@@ -408,11 +408,10 @@ function Search() //{{{
|
||||
if (!command)
|
||||
command = lastSearchPattern;
|
||||
|
||||
this.clear();
|
||||
|
||||
if (!options["incsearch"] || !found)
|
||||
{
|
||||
this.clear();
|
||||
this.find(command, backwards);
|
||||
}
|
||||
|
||||
lastSearchBackwards = backwards;
|
||||
//lastSearchPattern = command.replace(backwards ? /\?.*/ : /\/.*/, ""); // XXX
|
||||
|
||||
Reference in New Issue
Block a user