Replace @buffer reference on Editor with @getBuffer method

This commit is contained in:
Nathan Sobo
2012-07-04 12:27:30 -06:00
parent fb6aa46531
commit c90c2e80d6
23 changed files with 163 additions and 169 deletions

View File

@@ -101,7 +101,7 @@ class TreeView extends View
@append(@root)
selectActiveFile: ->
activeFilePath = @rootView.getActiveEditor()?.buffer.getPath()
activeFilePath = @rootView.getActiveEditor()?.getBuffer().getPath()
@selectEntryForPath(activeFilePath)
selectEntryForPath: (path) ->