Wrap long lines

This commit is contained in:
Michal Čihař 2012-01-27 11:04:39 +01:00
parent 952a181f1f
commit 5d00fdf3da

View File

@ -3434,7 +3434,13 @@ $(document).ready(function() {
$(document).ready(function() {
var elm = $('#sqlquery');
if (elm.length > 0 && typeof CodeMirror != 'undefined') {
codemirror_editor = CodeMirror.fromTextArea(elm[0], {lineNumbers: true, matchBrackets: true, indentUnit: 4, mode: "text/x-mysql", lineWrapping: true});
codemirror_editor = CodeMirror.fromTextArea(elm[0], {
lineNumbers: true,
matchBrackets: true,
indentUnit: 4,
mode: "text/x-mysql",
lineWrapping: true
});
}
});