Add editor.toUpperCase() and editor.toLowerCase()
Also add Ctrl-U (uppercase) and Ctrl-Shift-U (lowercase) bindings.
This commit is contained in:
parent
ba8574b9df
commit
351c1e75fb
3 changed files with 78 additions and 0 deletions
|
|
@ -301,6 +301,14 @@ exports.commands = [{
|
|||
name: "transposeletters",
|
||||
bindKey: bindKey("Ctrl-T", "Ctrl-T"),
|
||||
exec: function(editor) { editor.transposeLetters(); }
|
||||
}, {
|
||||
name: "touppercase",
|
||||
bindKey: bindKey("Ctrl-U", "Ctrl-U"),
|
||||
exec: function(editor) { editor.toUpperCase(); }
|
||||
}, {
|
||||
name: "tolowercase",
|
||||
bindKey: bindKey("Ctrl-Shift-U", "Ctrl-Shift-U"),
|
||||
exec: function(editor) { editor.toLowerCase(); }
|
||||
}, {
|
||||
name: "fold",
|
||||
bindKey: bindKey("Alt-L", "Alt-L"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue