fix #2103 completion filtering doesn't work when started with empty prefix
This commit is contained in:
parent
e8f7419131
commit
5f6782d949
1 changed files with 2 additions and 1 deletions
|
|
@ -206,7 +206,8 @@ var Autocomplete = function() {
|
|||
var prefix = util.retrievePrecedingIdentifier(line, pos.column);
|
||||
|
||||
this.base = session.doc.createAnchor(pos.row, pos.column - prefix.length);
|
||||
|
||||
this.base.$insertRight = true;
|
||||
|
||||
var matches = [];
|
||||
var total = editor.completers.length;
|
||||
editor.completers.forEach(function(completer, i) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue