Line wrapping for CodeMirror edit areas
This commit is contained in:
parent
bebb8547c2
commit
e345d72a52
@ -143,7 +143,8 @@ RTE.COMMON = {
|
||||
lineNumbers: true,
|
||||
matchBrackets: true,
|
||||
indentUnit: 4,
|
||||
mode: "text/x-mysql"
|
||||
mode: "text/x-mysql",
|
||||
lineWrapping: true
|
||||
};
|
||||
CodeMirror.fromTextArea($elm[0], opts);
|
||||
} else {
|
||||
@ -331,7 +332,8 @@ RTE.COMMON = {
|
||||
lineNumbers: true,
|
||||
matchBrackets: true,
|
||||
indentUnit: 4,
|
||||
mode: "text/x-mysql"
|
||||
mode: "text/x-mysql",
|
||||
lineWrapping: true
|
||||
};
|
||||
if (typeof CodeMirror != 'undefined') {
|
||||
that.syntaxHiglighter = CodeMirror.fromTextArea($elm[0], opts);
|
||||
|
||||
@ -575,7 +575,8 @@ AJAX.registerOnload('server_privileges.js', function () {
|
||||
lineNumbers: true,
|
||||
matchBrackets: true,
|
||||
indentUnit: 4,
|
||||
mode: "text/x-mysql"
|
||||
mode: "text/x-mysql",
|
||||
lineWrapping: true
|
||||
}
|
||||
);
|
||||
}
|
||||
@ -593,7 +594,8 @@ AJAX.registerOnload('server_privileges.js', function () {
|
||||
lineNumbers: true,
|
||||
matchBrackets: true,
|
||||
indentUnit: 4,
|
||||
mode: "text/x-mysql"
|
||||
mode: "text/x-mysql",
|
||||
lineWrapping: true
|
||||
}
|
||||
);
|
||||
}
|
||||
@ -629,7 +631,8 @@ AJAX.registerOnload('server_privileges.js', function () {
|
||||
lineNumbers: true,
|
||||
matchBrackets: true,
|
||||
indentUnit: 4,
|
||||
mode: "text/x-mysql"
|
||||
mode: "text/x-mysql",
|
||||
lineWrapping: true
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
@ -94,7 +94,8 @@ AJAX.registerOnload('server_status_monitor.js', function () {
|
||||
lineNumbers: true,
|
||||
matchBrackets: true,
|
||||
indentUnit: 4,
|
||||
mode: "text/x-mysql"
|
||||
mode: "text/x-mysql",
|
||||
lineWrapping: true
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user