This commit is contained in:
Dave Keen 2018-07-12 10:28:22 +00:00 committed by GitHub
commit c37f878532
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -64,7 +64,7 @@ class ExState
getSelections: -> getSelections: ->
filtered = {} filtered = {}
for id, selection of @editor.getSelections() for id, selection of @editor.getSelections()
unless selection.isEmpty() unless (selection.isEmpty && selection.isEmpty())
filtered[id] = selection filtered[id] = selection
return filtered return filtered