mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Add Editor.getRelativePath() that delegates to EditSession
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user