[incremental search] using showCommandLine()

This commit is contained in:
Robert Krahn 2013-03-17 06:22:50 -07:00
commit a11c06a589

View file

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