mirror of
https://github.com/atom/atom.git
synced 2026-02-10 14:45:11 -05:00
Pass tabText into EditSession explicitly on construction
This commit is contained in:
@@ -354,7 +354,13 @@ class Editor extends View
|
||||
index = @editSessionIndexForBuffer(buffer)
|
||||
unless index?
|
||||
index = @editSessions.length
|
||||
@editSessions.push(new EditSession(editor: this, buffer: buffer, autoIndent: @autoIndent, softTabs: @softTabs))
|
||||
@editSessions.push(new EditSession(
|
||||
editor: this
|
||||
buffer: buffer
|
||||
tabText: @tabText
|
||||
autoIndent: @autoIndent
|
||||
softTabs: @softTabs
|
||||
))
|
||||
|
||||
@setActiveEditSessionIndex(index)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user