Update atom.clipboard.read() call for new return value

This commit is contained in:
Kevin Sawicki
2014-02-03 13:50:40 -08:00
parent 0e0ae17cd3
commit a04f77b400

View File

@@ -528,7 +528,7 @@ class Selection
return if @isEmpty()
text = @editor.buffer.getTextInRange(@getBufferRange())
if maintainClipboard
text = atom.clipboard.read().text + '\n' + text
text = "#{atom.clipboard.read()}\n#{text}"
else
metadata = { indentBasis: @editor.indentationForBufferRow(@getBufferRange().start.row) }