mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 17:05:17 +00:00
minor changes
This commit is contained in:
parent
b5962535f2
commit
92a2163a68
1 changed files with 14 additions and 12 deletions
|
|
@ -70,18 +70,20 @@ CloudCommander.Editor.CodeMirror = {
|
|||
lLeft &&
|
||||
(lLeft.className = 'panel hidden');
|
||||
|
||||
CodeMirror(lCloudEditor,{
|
||||
mode : "xml",
|
||||
htmlMode : true,
|
||||
theme : 'night',
|
||||
lineNumbers : true,
|
||||
//переносим длинные строки
|
||||
lineWrapping: true,
|
||||
extraKeys: {
|
||||
//Сохранение
|
||||
"Esc": this.hide(this)
|
||||
}
|
||||
});
|
||||
var lCodeMirror = CodeMirror(lCloudEditor,{
|
||||
mode : "xml",
|
||||
htmlMode : true,
|
||||
theme : 'night',
|
||||
lineNumbers : true,
|
||||
//переносим длинные строки
|
||||
lineWrapping: true,
|
||||
extraKeys: {
|
||||
//Сохранение
|
||||
"Esc": this.hide(this)
|
||||
}
|
||||
});
|
||||
|
||||
lCodeMirror.setCursor({line:1,ch:1});
|
||||
|
||||
|
||||
lCloudEditor &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue