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.
Please sign in to leave a comment.
You can use editor.getMarkupModel().addLineHighlighter(...) to achieve that.