I want to highlight a line of an opened file in an IntelliJ Project on a particular mouse action from ToolWindow .Given the linenumber . .Please help me with the necesary code snippets Intellij provides . or which Open API classes should I use to impelement this . I saw BackgroundEditorHighlighter in com.intellij.codeHighlighting . But i'm not able to do this with this .Anybody Please help me out.