Implement getPath() in markdown preview view

This allows it to be shown in the tree view when the
reveal command is triggered.
This commit is contained in:
Kevin Sawicki
2013-03-22 09:55:21 -07:00
parent 3d6dbf6d59
commit 266c305ebb

View File

@@ -29,6 +29,9 @@ class MarkdownPreviewView extends ScrollView
getUri: ->
"markdown-preview:#{@buffer.getPath()}"
getPath: ->
@buffer.getPath()
setErrorHtml: ->
@html $$$ ->
@h2 'Previewing Markdown Failed'