Home » Java » How to display line of a word from project, in eclipse editor

How to display line of a word from project, in eclipse editor

Posted by: admin May 17, 2018 Leave a comment

Questions:

My e4 view plugin looks for a word in user’s project. When this word found(i did these steps) and the user clicks this word on the view, user should see where this word in the project on default eclipse editor. I have offsets and linenumbers of this word.

How should i do this?

(if anyone know how to highlight this word on editor, i’m looking for this too.)

Thanks in advance.

Answers: