deselect(element) doesn't work, if selection is range
If I select range in score (not by plugin), I can deselcet some of elements. (It also changed range selection to list selection).
It is not possible to do this in plugin. If I deselect element of range selection, it removes all selection.
Is it possible to go around this somehow?
I can imagine, I can loop elements and create new selection, but this way "only a limited number of element types is supported".