mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-13 22:49:51 -04:00
Prevent default ACE go-to-line alert when pressing Ctrl/Cmd+L.
This commit is contained in:
parent
de93dfd357
commit
88ef5ffe93
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue