Assign softTabs on EditSession construction

This commit is contained in:
Nathan Sobo
2012-06-13 11:23:25 -06:00
parent 1a1d3b3cf9
commit 0c7e9f34cc

View File

@@ -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 = []