diff --git a/intellij/src/main/kotlin/motif/intellij/provider/ScopeHierarchyLineMarkerProvider.kt b/intellij/src/main/kotlin/motif/intellij/provider/ScopeHierarchyLineMarkerProvider.kt index a54e0e1b..18c45d98 100644 --- a/intellij/src/main/kotlin/motif/intellij/provider/ScopeHierarchyLineMarkerProvider.kt +++ b/intellij/src/main/kotlin/motif/intellij/provider/ScopeHierarchyLineMarkerProvider.kt @@ -15,7 +15,6 @@ */ package motif.intellij.provider -import com.intellij.codeHighlighting.Pass.UPDATE_ALL import com.intellij.codeInsight.daemon.GutterIconNavigationHandler import com.intellij.codeInsight.daemon.LineMarkerInfo import com.intellij.codeInsight.daemon.LineMarkerProvider @@ -70,10 +69,9 @@ class ScopeHierarchyLineMarkerProvider : LineMarkerProvider, MotifService.Listen element, identifier.textRange, AllIcons.Hierarchy.Supertypes, - UPDATE_ALL, ConstantFunction(LABEL_ANCESTORS_SCOPE), ScopeHierarchyHandler(element.project), - LEFT) + LEFT) { LABEL_ANCESTORS_SCOPE } } private class ScopeHierarchyHandler(val project: Project) : diff --git a/intellij/src/main/kotlin/motif/intellij/provider/ScopeNavigationLineMarkerProvider.kt b/intellij/src/main/kotlin/motif/intellij/provider/ScopeNavigationLineMarkerProvider.kt index b1883155..30f1184a 100644 --- a/intellij/src/main/kotlin/motif/intellij/provider/ScopeNavigationLineMarkerProvider.kt +++ b/intellij/src/main/kotlin/motif/intellij/provider/ScopeNavigationLineMarkerProvider.kt @@ -15,7 +15,6 @@ */ package motif.intellij.provider -import com.intellij.codeHighlighting.Pass.UPDATE_ALL import com.intellij.codeInsight.daemon.GutterIconNavigationHandler import com.intellij.codeInsight.daemon.LineMarkerInfo import com.intellij.codeInsight.daemon.LineMarkerProvider @@ -81,10 +80,9 @@ class ScopeNavigationLineMarkerProvider : LineMarkerProvider, MotifService.Liste element, identifier.textRange, AllIcons.Actions.PreviousOccurence, - UPDATE_ALL, ConstantFunction(LABEL_NAVIGATE_PARENT_SCOPE), NavigationScopeHandler(element.project, graph), - LEFT) + LEFT) { LABEL_NAVIGATE_PARENT_SCOPE } } } else { val methodElement = element.toPsiMethod() @@ -93,10 +91,9 @@ class ScopeNavigationLineMarkerProvider : LineMarkerProvider, MotifService.Liste element, element.textRange, AllIcons.Actions.NextOccurence, - UPDATE_ALL, ConstantFunction(LABEL_NAVIGATE_CHILD_SCOPE), NavigationScopeHandler(element.project, graph), - LEFT) + LEFT) { LABEL_NAVIGATE_CHILD_SCOPE } } } return null