Use Tab to indent
This commit is contained in:
parent
0811248bba
commit
1764592f62
@ -157,7 +157,7 @@ editor_mode.prototype.objToTd = function(thiseval,comment,field){
|
||||
}
|
||||
|
||||
editor_mode.prototype.indent = function(field){
|
||||
var num = 4;
|
||||
var num = '\t';
|
||||
if(field.indexOf("['main']")===0)return 0;
|
||||
if(field.indexOf("['flyRange']")!==-1)return 0;
|
||||
if(field==="['special']")return 0;
|
||||
|
||||
@ -40,7 +40,7 @@ editor_multi.hide = function(){document.getElementById('left7').style='z-index:-
|
||||
|
||||
editor_multi.indent = function(field){
|
||||
if(editor && editor.mode && editor.mode.indent)return editor.mode.indent(field);
|
||||
return 4;
|
||||
return '\t';
|
||||
}
|
||||
|
||||
editor_multi.import = function(id_){
|
||||
|
||||
Loading…
Reference in New Issue
Block a user