indentation fixes
This commit is contained in:
parent
c432a451c2
commit
773e4df04e
2 changed files with 7 additions and 9 deletions
|
|
@ -237,12 +237,10 @@ ace.KeyBinding = function(element, editor) {
|
||||||
};
|
};
|
||||||
|
|
||||||
this["Tab"] = function() {
|
this["Tab"] = function() {
|
||||||
if (this.selection.isMultiLine()) {
|
if (this.selection.isMultiLine())
|
||||||
this.editor.blockIndent();
|
this.editor.blockIndent();
|
||||||
}
|
else
|
||||||
else {
|
|
||||||
this.editor.onTextInput("\t");
|
this.editor.onTextInput("\t");
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}).call(ace.KeyBinding.prototype);
|
}).call(ace.KeyBinding.prototype);
|
||||||
Loading…
Add table
Add a link
Reference in a new issue