set link in open document

Is there a way to set a OpenFileHyperlinkInfo in an editor document? I have only found highlighting in the API for Document, but no linking.

I would like to implement a plugin which helps to analyze logfiles.

Thanks
Thomas

2 comments

Hello Thomas,

TH> Is there a way to set a OpenFileHyperlinkInfo in an editor document?
TH> I have only found highlighting in the API for Document, but no
TH> linking.
TH>
TH> I would like to implement a plugin which helps to analyze logfiles.

There is no such functionality in IDEA's editors. The links shown, for example,
when you hover over an identifier with Ctrl pressed, are implemented through
regular highlighters.

--
Dmitry Jemerov
Software Developer
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Thanks Dmitry, in the meanwhile I have found a way around: Thanks to Alexej for his HyperLink plugin. As I understand I should be able to register mouse listeners for the editor and can use this in conjunction with highlighting to get my action.

Thomas

0

Please sign in to leave a comment.