Add Editor.getModel

This commit is contained in:
Kevin Sawicki & Nathan Sobo
2013-02-21 16:27:41 -07:00
committed by probablycorey
parent 517c5022d3
commit 75229808de

View File

@@ -483,6 +483,9 @@ class Editor extends View
index = @pushEditSession(editSession) if index == -1
@setActiveEditSessionIndex(index)
getModel: ->
@activeEditSession
setModel: (editSession) ->
@edit(editSession)