mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-92370 incorrect underline reference
This commit is contained in:
@@ -447,7 +447,11 @@ public class CtrlMouseHandler extends AbstractProjectComponent {
|
||||
public InfoMultiple(@NotNull final PsiElement elementAtPointer) {
|
||||
super(elementAtPointer);
|
||||
}
|
||||
|
||||
|
||||
public InfoMultiple(@NotNull final PsiElement elementAtPointer, @NotNull PsiReference ref) {
|
||||
super(elementAtPointer, ReferenceRange.getAbsoluteRanges(ref));
|
||||
}
|
||||
|
||||
@Override
|
||||
@NotNull
|
||||
public DocInfo getInfo() {
|
||||
@@ -503,7 +507,7 @@ public class CtrlMouseHandler extends AbstractProjectComponent {
|
||||
return new InfoSingle(ref, resolvedElements.get(0));
|
||||
}
|
||||
else if (resolvedElements.size() > 1) {
|
||||
return elementAtPointer != null ? new InfoMultiple(elementAtPointer) : null;
|
||||
return elementAtPointer != null ? new InfoMultiple(elementAtPointer, ref) : null;
|
||||
}
|
||||
}
|
||||
else if (browseMode == BrowseMode.Implementation) {
|
||||
|
||||
Reference in New Issue
Block a user