Prevent default ACE go-to-line alert when pressing Ctrl/Cmd+L.

This commit is contained in:
Nick Winter 2014-05-20 15:24:36 -07:00
parent de93dfd357
commit 88ef5ffe93

View file

@ -153,6 +153,11 @@ module.exports = class SpellView extends View
name: 'spell-beautify'
bindKey: {win: 'Ctrl-Shift-B', mac: 'Command-Shift-B|Ctrl-Shift-B'}
exec: -> Backbone.Mediator.publish 'spell-beautify'
addCommand
name: 'prevent-line-jump'
bindKey: {win: 'Ctrl-L', mac: 'Command-L'}
passEvent: true
exec: -> # just prevent default ACE go-to-line alert
fillACE: ->
@ace.setValue @spell.source