I have a decoration applied to the portion of text (matched with regex) it has the option to specify a hoverMessage
I'm wondering if there is a way to specify a mouse click to this element. I would like to execute some function based on which decorated text user clicked.
↧
Can I add a mouse click callback to decorated text?
↧