in the rare event that selectionObject.toString() returns an empty string even with text selected, fallback to concatenating all selected ranges;
in the rare event that selectionObject.toString() returns an empty string even with text selected, fallback to concatenating all selected ranges;

CanisLupus/swift-selection-search,CanisLupus/swift-selection-search,CanisLupus/swift-selection-search