mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
CR: copyOnlySelectedText only works on selected text, no matter of cursor position
This commit is contained in:
@@ -2594,8 +2594,6 @@ class TextEditor extends Model
|
||||
for selection in @getSelectionsOrderedByBufferPosition()
|
||||
if not selection.isEmpty()
|
||||
selection.copy(maintainClipboard, true)
|
||||
else if selection.isEmpty() and selection.cursor.isAtBeginningOfLine()
|
||||
@copySelectedText()
|
||||
maintainClipboard = true
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user