mirror of
https://github.com/atom/atom.git
synced 2026-02-14 00:25:08 -05:00
Remove @autoIndent from Project and EditSession
This commit is contained in:
@@ -33,11 +33,10 @@ class EditSession
|
||||
anchorRanges: null
|
||||
cursors: null
|
||||
selections: null
|
||||
autoIndent: false # TODO: re-enabled auto-indent after fixing the rest of tokenization
|
||||
softTabs: true
|
||||
softWrap: false
|
||||
|
||||
constructor: ({@project, @buffer, tabLength, @autoIndent, softTabs, @softWrap }) ->
|
||||
constructor: ({@project, @buffer, tabLength, softTabs, @softWrap }) ->
|
||||
@softTabs = @buffer.usesSoftTabs() ? softTabs ? true
|
||||
@languageMode = new LanguageMode(this, @buffer.getExtension())
|
||||
@displayBuffer = new DisplayBuffer(@buffer, { @languageMode, tabLength })
|
||||
|
||||
Reference in New Issue
Block a user