From c3e91217073dcec9ec60aab105b4c5f96f2ea24c Mon Sep 17 00:00:00 2001 From: Dave Keen Date: Thu, 12 Jul 2018 12:27:38 +0200 Subject: [PATCH] Fixes #205 --- lib/ex-state.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ex-state.coffee b/lib/ex-state.coffee index 89fbeeb..d1948d3 100644 --- a/lib/ex-state.coffee +++ b/lib/ex-state.coffee @@ -64,7 +64,7 @@ class ExState getSelections: -> filtered = {} for id, selection of @editor.getSelections() - unless selection.isEmpty() + unless (selection.isEmpty && selection.isEmpty()) filtered[id] = selection return filtered