mirror of
https://github.com/atom/atom.git
synced 2026-02-09 06:05:11 -05:00
Listen for autocomplete:select on Editor
This commit is contained in:
@@ -28,8 +28,9 @@ class Autocomplete extends View
|
||||
handleEvents: ->
|
||||
@editor.on 'buffer-path-change', => @setCurrentBuffer(@editor.buffer)
|
||||
@editor.on 'autocomplete:toggle', => @toggle()
|
||||
@editor.on 'autocomplete:select', => @select()
|
||||
|
||||
@on 'autocomplete:cancel', => @cancel()
|
||||
@on 'autocomplete:select', => @select()
|
||||
@on 'move-up', => @previousMatch()
|
||||
@on 'move-down', => @nextMatch()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user