mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Update atom.clipboard.read() call for new return value
This commit is contained in:
@@ -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) }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user