mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-01 16:15:46 +01:00
Fix "pattern not found" text search error message.
This commit is contained in:
@@ -237,8 +237,10 @@ const Finder = Module("finder", {
|
|||||||
fastFind.caseSensitive = this._caseSensitive;
|
fastFind.caseSensitive = this._caseSensitive;
|
||||||
this._found = fastFind.find(this._searchString, this._linksOnly) != Ci.nsITypeAheadFind.FIND_NOTFOUND;
|
this._found = fastFind.find(this._searchString, this._linksOnly) != Ci.nsITypeAheadFind.FIND_NOTFOUND;
|
||||||
|
|
||||||
if (!this._found)
|
if (!this._found) {
|
||||||
setTimeout(function () liberator.echoerr("E486: Pattern not found: " + this._searchPattern, commandline.FORCE_SINGLELINE), 0);
|
let self = this; // XXX
|
||||||
|
setTimeout(function () liberator.echoerr("E486: Pattern not found: " + self._searchPattern, commandline.FORCE_SINGLELINE), 0);
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user