Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -70,10 +69,9 @@ class ScopeHierarchyLineMarkerProvider : LineMarkerProvider, MotifService.Listen
element,
identifier.textRange,
AllIcons.Hierarchy.Supertypes,
UPDATE_ALL,
ConstantFunction<PsiElement, String>(LABEL_ANCESTORS_SCOPE),
ScopeHierarchyHandler(element.project),
LEFT)
LEFT) { LABEL_ANCESTORS_SCOPE }
}

private class ScopeHierarchyHandler(val project: Project) :
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -81,10 +80,9 @@ class ScopeNavigationLineMarkerProvider : LineMarkerProvider, MotifService.Liste
element,
identifier.textRange,
AllIcons.Actions.PreviousOccurence,
UPDATE_ALL,
ConstantFunction<PsiElement, String>(LABEL_NAVIGATE_PARENT_SCOPE),
NavigationScopeHandler(element.project, graph),
LEFT)
LEFT) { LABEL_NAVIGATE_PARENT_SCOPE }
}
} else {
val methodElement = element.toPsiMethod()
Expand All @@ -93,10 +91,9 @@ class ScopeNavigationLineMarkerProvider : LineMarkerProvider, MotifService.Liste
element,
element.textRange,
AllIcons.Actions.NextOccurence,
UPDATE_ALL,
ConstantFunction<PsiElement, String>(LABEL_NAVIGATE_CHILD_SCOPE),
NavigationScopeHandler(element.project, graph),
LEFT)
LEFT) { LABEL_NAVIGATE_CHILD_SCOPE }
}
}
return null
Expand Down