[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) {
|
||||
var cmdLine = this.$editor && this.$editor.cmdLine;
|
||||
if (cmdLine) {
|
||||
cmdLine.setValue(msg, 1);
|
||||
if (this.$editor.showCommandLine) {
|
||||
this.$editor.showCommandLine(msg);
|
||||
this.$editor.focus();
|
||||
} else {
|
||||
console.log(msg);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue