fix formatting
This commit is contained in:
parent
5c721c1103
commit
7fc575a47c
1 changed files with 4 additions and 7 deletions
|
|
@ -393,7 +393,7 @@ exports.commands = [{
|
||||||
exec: function(editor) { editor.moveLinesDown(); }
|
exec: function(editor) { editor.moveLinesDown(); }
|
||||||
}, {
|
}, {
|
||||||
name: "del",
|
name: "del",
|
||||||
bindKey: bindKey("Delete", "Delete|Ctrl-D"),
|
bindKey: bindKey("Delete", "Delete|Ctrl-D|Shift-Delete"),
|
||||||
exec: function(editor) { editor.remove("right"); },
|
exec: function(editor) { editor.remove("right"); },
|
||||||
multiSelectAction: "forEach"
|
multiSelectAction: "forEach"
|
||||||
}, {
|
}, {
|
||||||
|
|
@ -406,14 +406,11 @@ exports.commands = [{
|
||||||
multiSelectAction: "forEach"
|
multiSelectAction: "forEach"
|
||||||
}, {
|
}, {
|
||||||
name: "cut_or_delete",
|
name: "cut_or_delete",
|
||||||
bindKey: bindKey(
|
bindKey: bindKey("Shift-Delete", null),
|
||||||
"Shift-Delete",
|
|
||||||
"Shift-Delete"
|
|
||||||
),
|
|
||||||
exec: function(editor) {
|
exec: function(editor) {
|
||||||
if( editor.selection.isEmpty() ){
|
if (editor.selection.isEmpty()) {
|
||||||
editor.remove("left");
|
editor.remove("left");
|
||||||
}else{
|
} else {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue