highlightsFromPoint() demo

When you select a section of text then press "h" on the keyboard, the text you selected will be given a custom highlight. Multiple highlights will be colored yellow, red, and blue, in that order. When you double-click on a highlighted section of text, that section will be outputted at the bottom of the UI. If multiple highlights overlap the section, you'll see multiple text sections outputted.

Highlighted text at point