How can i handle a click on a (hyper-) link in a Tooltip of an Annotation

Answered

Hi,

in my Plugin I have an ExternalAnnotator. When i am adding a Hyperlink in the tooltip of an Annotation with html/<a> the rendering and a:hover with the mouse works.

How can i handle the click on the link? Is there a Listener for it like in NotificationListener?

 

 

1 comment
Comment actions Permalink
Found it.
e.g. NavigationLinkHandler and the format is: <a href="#navigate/filepath/filename.txt:$linenumber">
0

Please sign in to leave a comment.