mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-20 18:22:40 +00:00
@@ -82,8 +82,6 @@ const CodeEditor = createClass({
|
||||
'Cmd-M' : this.makeSpan,
|
||||
'Ctrl-/' : this.makeComment,
|
||||
'Cmd-/' : this.makeComment,
|
||||
'Ctrl-\\' : this.toggleCodeFolded,
|
||||
'Cmd-\\' : this.toggleCodeFolded,
|
||||
'Ctrl-[' : this.foldAllCode,
|
||||
'Cmd-[' : this.foldAllCode,
|
||||
'Ctrl-]' : this.unfoldAllCode,
|
||||
@@ -155,10 +153,6 @@ const CodeEditor = createClass({
|
||||
}
|
||||
},
|
||||
|
||||
toggleCodeFolded : function() {
|
||||
this.codeMirror.foldCode(this.codeMirror.getCursor());
|
||||
},
|
||||
|
||||
foldAllCode : function() {
|
||||
this.codeMirror.execCommand('foldAll');
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user