Add Editor.getRelativePath() that delegates to EditSession

This commit is contained in:
Kevin Sawicki & Nathan Sobo
2013-07-26 08:45:41 -07:00
parent a9edaaba51
commit 8493ef092e

View File

@@ -558,6 +558,9 @@ class Editor extends View
# {Delegates to: EditSession.getPath}
getPath: -> @activeEditSession?.getPath()
# {Delegates to: EditSession.getRelativePath}
getRelativePath: -> @activeEditSession?.getRelativePath()
# {Delegates to: Buffer.getLineCount}
getLineCount: -> @getBuffer().getLineCount()