mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
EditSession no longer requires a reference to its Editor
This commit is contained in:
@@ -355,7 +355,7 @@ class Editor extends View
|
||||
unless index?
|
||||
index = @editSessions.length
|
||||
@editSessions.push(new EditSession(
|
||||
editor: this
|
||||
softWrapColumn: @calcSoftWrapColumn()
|
||||
buffer: buffer
|
||||
tabText: @tabText
|
||||
autoIndent: @autoIndent
|
||||
|
||||
Reference in New Issue
Block a user