[incremental search] using showCommandLine()
This commit is contained in:
parent
236a1e5f7b
commit
a11c06a589
1 changed files with 3 additions and 3 deletions
|
|
@ -182,9 +182,9 @@ oop.inherits(IncrementalSearch, Search);
|
||||||
}
|
}
|
||||||
|
|
||||||
this.message = function(msg) {
|
this.message = function(msg) {
|
||||||
var cmdLine = this.$editor && this.$editor.cmdLine;
|
if (this.$editor.showCommandLine) {
|
||||||
if (cmdLine) {
|
this.$editor.showCommandLine(msg);
|
||||||
cmdLine.setValue(msg, 1);
|
this.$editor.focus();
|
||||||
} else {
|
} else {
|
||||||
console.log(msg);
|
console.log(msg);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue