Implemented RelatedItemLineMarkerProvider for XML files, when clicking on the gutter it shows the line itself but not line what it points
<CUSTOMER NAME="Customer Name" ....... />
I want to display where the customer with such a name is used, for that I do
val subIcon = NavigationGutterIconBuilder.create(AllIcons.Gutter.ImplementedMethod)
.setTarget(subTag)//sugtag target line
The result of clicking on the gutter is a few lines but with the same title "<CUSTOMER NAME="Customer Name" ....... />" clicking on any line of displayed lines leads me to the correct place.
How do I show the name of the target not of the source?