mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-05 13:14:11 +01:00
Revert commandline.status, commandline.error
This commit is contained in:
@@ -345,7 +345,7 @@ function Search() //{{{
|
||||
found = fastFind.find(searchString, linksOnly) != Components.interfaces.nsITypeAheadFind.FIND_NOTFOUND;
|
||||
|
||||
if (!found)
|
||||
setTimeout(function () commandline.error = "E486: Pattern not found: " + searchPattern, 0);
|
||||
setTimeout(function () liberator.echoerr("E486: Pattern not found: " + searchPattern, commandline.FORCE_SINGLELINE), 0);
|
||||
|
||||
return found;
|
||||
},
|
||||
@@ -364,7 +364,7 @@ function Search() //{{{
|
||||
|
||||
if (result == Components.interfaces.nsITypeAheadFind.FIND_NOTFOUND)
|
||||
{
|
||||
commandline.error = "E486: Pattern not found: " + lastSearchPattern;
|
||||
liberator.echoerr("E486: Pattern not found: " + lastSearchPattern, commandline.FORCE_SINGLELINE);
|
||||
}
|
||||
else if (result == Components.interfaces.nsITypeAheadFind.FIND_WRAPPED)
|
||||
{
|
||||
@@ -381,7 +381,7 @@ function Search() //{{{
|
||||
}
|
||||
else
|
||||
{
|
||||
commandline.status = (up ? "?" : "/") + lastSearchPattern;
|
||||
commandline.echo((up ? "?" : "/") + lastSearchPattern, null, commandline.FORCE_SINGLELINE);
|
||||
|
||||
if (options["hlsearch"])
|
||||
this.highlight(lastSearchString);
|
||||
|
||||
Reference in New Issue
Block a user