Add indentSubsequentLines to options
This commit is contained in:
parent
60367772a9
commit
f625dfeea3
1 changed files with 2 additions and 1 deletions
|
|
@ -1851,7 +1851,7 @@ var EditSession = function(text, mode) {
|
|||
|
||||
var isCode = this.$wrapAsCode;
|
||||
|
||||
var indentSubsequentLines = true;
|
||||
var indentSubsequentLines = this.$indentSubsequentLines;
|
||||
|
||||
var maxIndent = wrapLimit > 8 ? Math.floor(wrapLimit / 2) : 0;
|
||||
|
||||
|
|
@ -2552,6 +2552,7 @@ config.defineOptions(EditSession.prototype, "session", {
|
|||
},
|
||||
initialValue: "auto"
|
||||
},
|
||||
indentSubsequentLines: {initialValue: true},
|
||||
firstLineNumber: {
|
||||
set: function() {this._signal("changeBreakpoint");},
|
||||
initialValue: 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue