mirror of
https://github.com/atom/atom.git
synced 2026-02-12 23:55:10 -05:00
Replace @buffer reference on Editor with @getBuffer method
This commit is contained in:
@@ -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) ->
|
||||
|
||||
Reference in New Issue
Block a user