Use popup instance variable like Ace autocompleter does

This commit is contained in:
James Allen 2018-02-13 08:27:41 +00:00
parent 8094c5fb72
commit 3802df5cfa

View file

@ -224,7 +224,7 @@ define [
# is likely to end up with `\href{}ref{}`
if !data?
completions = this.completions
popup = editor.completer.popup
popup = this.popup
data = popup.getData(popup.getRow())
data.completer =
insertMatch: (editor, matchData) ->