mirror of
https://github.com/atom/atom.git
synced 2026-01-24 14:28:14 -05:00
Add up/down event support for keybindings view
This commit is contained in:
@@ -13,6 +13,10 @@ class KeybindingsView extends View
|
||||
initialize: (@rootView) ->
|
||||
@rootView.on 'keybindings-view:attach', => @attach()
|
||||
@on 'keybindings-view:detach', => @detach()
|
||||
@on 'core:page-up', => @pageUp()
|
||||
@on 'core:page-down', => @pageDown()
|
||||
@on 'core:move-to-top', => @scrollToTop()
|
||||
@on 'core:move-to-bottom', => @scrollToBottom()
|
||||
|
||||
attach: ->
|
||||
@keybindingList.empty()
|
||||
|
||||
Reference in New Issue
Block a user