Merge branch 'master' into dh-async-repo

This commit is contained in:
joshaber
2016-01-14 11:39:42 -05:00
7 changed files with 59 additions and 10 deletions

View File

@@ -666,8 +666,9 @@ class TextEditor extends Model
isPending: -> Boolean(@pending)
# Copies the current file path to the native clipboard.
copyPathToClipboard: ->
copyPathToClipboard: (relative = false) ->
if filePath = @getPath()
filePath = atom.project.relativize(filePath) if relative
@clipboard.write(filePath)
###