How to change color of given code line

I have develop a plugin to show errors of code. errors are listed in a Jtable. table contains file name and line number which contains error. when click on line number in my table, i want to go to particular line of the code and make it red. i can parse file name and line number. can anyone help me to do this using intelliJ API.

 

0
1 comment

You can use editor.getMarkupModel().addLineHighlighter(...) to achieve that.

0

Please sign in to leave a comment.