From 09a7e87102c5739dce0522b5064e11fe13263790 Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Tue, 28 Apr 2015 16:25:10 +0200 Subject: [PATCH] fix text navigation offset for secondary constructors; add some missing element types to FindUsagesProvider #KT-7607 Fixed --- .../org/jetbrains/kotlin/psi/JetSecondaryConstructor.java | 5 +++++ .../kotlin/idea/findUsages/JetFindUsagesProvider.kt | 3 +++ 2 files changed, 8 insertions(+) diff --git a/compiler/frontend/src/org/jetbrains/kotlin/psi/JetSecondaryConstructor.java b/compiler/frontend/src/org/jetbrains/kotlin/psi/JetSecondaryConstructor.java index 91f57daeeaa..77bda4fef19 100644 --- a/compiler/frontend/src/org/jetbrains/kotlin/psi/JetSecondaryConstructor.java +++ b/compiler/frontend/src/org/jetbrains/kotlin/psi/JetSecondaryConstructor.java @@ -206,4 +206,9 @@ public class JetSecondaryConstructor extends JetDeclarationStub "class" is JetParameter -> "parameter" is JetProperty -> "property" + is JetTypeParameter -> "type parameter" + is JetSecondaryConstructor -> "constructor" + is JetObjectDeclaration -> "object" else -> "" } }