Merge pull request #33 from openHPI/fix-ctrl-alt-0
Unbind ace shortcut for code folding. Fixes #31
This commit is contained in:
@ -425,6 +425,7 @@ $(function() {
|
|||||||
editor.setReadOnly($(element).data('read-only') !== undefined);
|
editor.setReadOnly($(element).data('read-only') !== undefined);
|
||||||
editor.setShowPrintMargin(false);
|
editor.setShowPrintMargin(false);
|
||||||
editor.setTheme(THEME);
|
editor.setTheme(THEME);
|
||||||
|
editor.commands.bindKey("ctrl+alt+0", null);
|
||||||
editors.push(editor);
|
editors.push(editor);
|
||||||
var session = editor.getSession();
|
var session = editor.getSession();
|
||||||
session.setMode($(element).data('mode'));
|
session.setMode($(element).data('mode'));
|
||||||
|
Reference in New Issue
Block a user