This commit is contained in:
Dave Keen 2018-07-12 12:27:38 +02:00 committed by GitHub
parent ef4bb8a6ac
commit c3e9121707
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