How to get the logical position of run line marker.


Hi, i am developing a plugin, and there is some trouble that i don't know how to get the logical position(Line of the virtual file navigation) of my 'RunLineMarkerInfo'(it's an icon on the Navigation). Please help.

Comment actions Permalink

thanks for sharing. i have just connected.

Comment actions Permalink

You can obtain the associated Element via com.intellij.codeInsight.daemon.LineMarkerInfo#getElement

take its offset and obtain line number via com.intellij.openapi.editor.Document#getLineNumber

See also

Comment actions Permalink

Yann Cebron Thank you, it truly help me a lot, my problem is solved. 


Please sign in to leave a comment.