mirror of
https://github.com/rabbibotton/clog.git
synced 2025-12-06 02:30:42 -08:00
fix ctrl key binding
This commit is contained in:
parent
2d1e829e33
commit
affadab80a
1 changed files with 2 additions and 2 deletions
|
|
@ -1247,7 +1247,7 @@ of controls and double click to select control."
|
||||||
(format nil
|
(format nil
|
||||||
"~A.commands.addCommand({
|
"~A.commands.addCommand({
|
||||||
name: 'save-ace',
|
name: 'save-ace',
|
||||||
bindKey: {win: 'Ctl-s', mac: 'Command-s'},
|
bindKey: {win: 'Ctrl-s', mac: 'Command-s'},
|
||||||
exec: function(editor) {
|
exec: function(editor) {
|
||||||
~A.trigger('clog-save-ace');
|
~A.trigger('clog-save-ace');
|
||||||
},
|
},
|
||||||
|
|
@ -1325,7 +1325,7 @@ of controls and double click to select control."
|
||||||
(format nil
|
(format nil
|
||||||
"~A.commands.addCommand({
|
"~A.commands.addCommand({
|
||||||
name: 'expand-region',
|
name: 'expand-region',
|
||||||
bindKey: {win: 'Ctl-=', mac: 'Control-='},
|
bindKey: {win: 'Ctrl-=', mac: 'Control-='},
|
||||||
exec: function(editor) {
|
exec: function(editor) {
|
||||||
var currentRange = editor.selection.getAllRanges()[0];
|
var currentRange = editor.selection.getAllRanges()[0];
|
||||||
var start = editor.session.doc.positionToIndex(currentRange.start);
|
var start = editor.session.doc.positionToIndex(currentRange.start);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue