EditSession no longer requires a reference to its Editor

This commit is contained in:
Nathan Sobo
2012-06-13 11:18:47 -06:00
parent 4ccf976501
commit 1a1d3b3cf9
4 changed files with 5 additions and 11 deletions

View File

@@ -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