From 8a51be82ffd07bf52837a50494cd4fdc01615d67 Mon Sep 17 00:00:00 2001 From: m0rkeulv Date: Fri, 2 Feb 2024 01:32:48 +0100 Subject: [PATCH] replacing one of many `PsiElementListNavigator.openTargets` with `PsiTargetNavigator` --- .../plugins/haxe/ide/HaxeLineMarkerProviderNS.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/intellij/plugins/haxe/ide/HaxeLineMarkerProviderNS.java b/src/main/java/com/intellij/plugins/haxe/ide/HaxeLineMarkerProviderNS.java index b1fac07d5..82db94458 100644 --- a/src/main/java/com/intellij/plugins/haxe/ide/HaxeLineMarkerProviderNS.java +++ b/src/main/java/com/intellij/plugins/haxe/ide/HaxeLineMarkerProviderNS.java @@ -233,11 +233,9 @@ public void navigate(MouseEvent e, PsiElement elt) { DaemonBundle.message("navigation.title.implementation.method", namedComponent.getName(), filteredSubItems.size()) : DaemonBundle.message("navigation.title.overrider.method", namedComponent.getName(), filteredSubItems.size()); - - PsiElementListNavigator.openTargets(e, psiElements, title, - "Implementations of " + namedComponent.getName(), - new DefaultPsiElementCellRenderer() - ); + new PsiTargetNavigator<>(psiElements) + .tabTitle("Implementations of " + namedComponent.getName()) + .navigate(e,title, element.getProject()); } }, GutterIconRenderer.Alignment.RIGHT,