I want to print hyperlinks to the console in an eclipse plugin.
I saw How to write a hyperlink to an eclipse console from a plugin, but get BadLocationException
when calling myconsole.addHyperlink(fileLink, 10, 5)
. I discovered that the class PatternMatchEvent
has getLength()
and getOffset()
I need for MessageConsole.addHyperlink()
.
Is using the approach in above link still the way to do this (the question was asked almost 12 years ago) and if so, how do I proceed to get access to these methods?
Any help is appreciated!