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,6 +206,7 @@ var Autocomplete = function() {
|
||||||
var prefix = util.retrievePrecedingIdentifier(line, pos.column);
|
var prefix = util.retrievePrecedingIdentifier(line, pos.column);
|
||||||
|
|
||||||
this.base = session.doc.createAnchor(pos.row, pos.column - prefix.length);
|
this.base = session.doc.createAnchor(pos.row, pos.column - prefix.length);
|
||||||
|
this.base.$insertRight = true;
|
||||||
|
|
||||||
var matches = [];
|
var matches = [];
|
||||||
var total = editor.completers.length;
|
var total = editor.completers.length;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue