Add indentSubsequentLines to options

This commit is contained in:
DanyaPostfactum 2014-10-12 18:37:20 +10:00
commit f625dfeea3

View file

@ -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