I have a partition scanner defined for an editor to provide syntax
highlighting, hover help and contents assist. I'd also like the
double-click action at an offset in the text to select the entire
partition containing the offset.
Is there a way to do this leveraging the partitions I already have defined?