mirror of
https://github.com/atom/atom.git
synced 2026-01-24 06:18:03 -05:00
Assign softTabs on EditSession construction
This commit is contained in:
@@ -31,8 +31,9 @@ class EditSession
|
||||
autoIndent: true
|
||||
softTabs: true
|
||||
|
||||
constructor: ({@buffer, @tabText, @autoIndent, softWrapColumn}) ->
|
||||
constructor: ({@buffer, @tabText, @autoIndent, @softTabs, softWrapColumn}) ->
|
||||
@id = @constructor.idCounter++
|
||||
@softTabs ?= true
|
||||
@renderer = new Renderer(@buffer, { softWrapColumn, @tabText })
|
||||
@cursors = []
|
||||
@selections = []
|
||||
|
||||
Reference in New Issue
Block a user