1
0
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:
Kris Maglione
2008-12-16 17:53:27 -05:00
parent 672e109c67
commit 4fbc88f975
4 changed files with 7 additions and 31 deletions

View File

@@ -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);