// todo: the segment presumably effectively tracks
// todo: whether this is whole/beginning/end as far as is
// todo: necessasry through presence or otherwise of prefix
// todo: and suffix. So maybe we can combine these three states?
TextAnnotation texta = (TextAnnotation) annotation;
StringSegment segment = texta.getSegment(currentShard);
contentHandler.text(text, segment);
break;
case DissectableNodeAnnotation.AFTER_SHARD:
// This node is after the required shard so the shard is