mirror of
https://github.com/atom/atom.git
synced 2026-02-10 22:55:09 -05:00
Assign autocompleter to editor so we can inspect it when it f's up
This commit is contained in:
@@ -27,7 +27,7 @@ class Autocomplete extends View
|
||||
@activate: (rootView) ->
|
||||
new Autocomplete(editor) for editor in rootView.getEditors()
|
||||
rootView.on 'editor-open', (e, editor) ->
|
||||
new Autocomplete(editor) unless editor.is('.autocomplete .mini')
|
||||
editor.autoComplete = new Autocomplete(editor) unless editor.is('.autocomplete .mini')
|
||||
|
||||
initialize: (@editor) ->
|
||||
requireStylesheet 'autocomplete.css'
|
||||
|
||||
Reference in New Issue
Block a user