minor changes

This commit is contained in:
coderaiser 2012-07-30 06:29:52 -04:00
parent 331938aab7
commit eef7ae3c72

View file

@ -70,21 +70,20 @@ CloudCommander.Editor.CodeMirror = {
lLeft &&
(lLeft.className = 'panel hidden');
var lCodeMirror = CodeMirror(lCloudEditor,{
mode : "xml",
htmlMode : true,
theme : 'night',
lineNumbers : true,
//переносим длинные строки
lineWrapping: true,
extraKeys: {
//Сохранение
"Esc": this.hide(this)
}
CodeMirror(lCloudEditor,{
mode : "xml",
htmlMode : true,
theme : 'night',
lineNumbers : true,
//переносим длинные строки
lineWrapping: true,
autofocus : true,
extraKeys: {
//Сохранение
"Esc": this.hide(this)
}
});
lCodeMirror.setCursor({line:1,ch:1});
lCloudEditor &&
(lCloudEditor.className = '');