CR: copyOnlySelectedText only works on selected text, no matter of cursor position

This commit is contained in:
Luke Pommersheim
2015-07-27 13:02:39 +02:00
parent 146363bba6
commit 2655513673
2 changed files with 1 additions and 8 deletions

View File

@@ -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