fix ctrl key binding

This commit is contained in:
David Botton 2024-02-11 15:59:58 -05:00
parent 2d1e829e33
commit affadab80a

View file

@ -1247,7 +1247,7 @@ of controls and double click to select control."
(format nil
"~A.commands.addCommand({
name: 'save-ace',
bindKey: {win: 'Ctl-s', mac: 'Command-s'},
bindKey: {win: 'Ctrl-s', mac: 'Command-s'},
exec: function(editor) {
~A.trigger('clog-save-ace');
},
@ -1325,7 +1325,7 @@ of controls and double click to select control."
(format nil
"~A.commands.addCommand({
name: 'expand-region',
bindKey: {win: 'Ctl-=', mac: 'Control-='},
bindKey: {win: 'Ctrl-=', mac: 'Control-='},
exec: function(editor) {
var currentRange = editor.selection.getAllRanges()[0];
var start = editor.session.doc.positionToIndex(currentRange.start);