Ver código fonte

Use popup instance variable like Ace autocompleter does

James Allen 8 anos atrás
pai
commit
3802df5cfa

+ 1 - 1
services/web/public/coffee/ide/editor/directives/aceEditor/auto-complete/AutoCompleteManager.coffee

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