fix text navigation offset for secondary constructors; add some missing element types to FindUsagesProvider
#KT-7607 Fixed
This commit is contained in:
committed by
Alexey Sedunov
parent
8574c38998
commit
09a7e87102
@@ -206,4 +206,9 @@ public class JetSecondaryConstructor extends JetDeclarationStub<KotlinPlaceHolde
|
||||
public PsiElement getConstructorKeyword() {
|
||||
return findNotNullChildByType(JetTokens.CONSTRUCTOR_KEYWORD);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getTextOffset() {
|
||||
return getConstructorKeyword().getTextRange().getStartOffset();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user