Fixes #205
This commit is contained in:
parent
ef4bb8a6ac
commit
c3e9121707
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue