Minor
This commit is contained in:
@@ -357,8 +357,8 @@ private open class BaseTypeLookupElement(type: JetType, baseLookupElement: Looku
|
|||||||
}
|
}
|
||||||
|
|
||||||
fun shortenReferences(context: InsertionContext, startOffset: Int, endOffset: Int) {
|
fun shortenReferences(context: InsertionContext, startOffset: Int, endOffset: Int) {
|
||||||
PsiDocumentManager.getInstance(context.getProject()).commitAllDocuments();
|
PsiDocumentManager.getInstance(context.project).commitAllDocuments()
|
||||||
ShortenReferences.DEFAULT.process(context.getFile() as JetFile, startOffset, endOffset)
|
ShortenReferences.DEFAULT.process(context.file as JetFile, startOffset, endOffset)
|
||||||
}
|
}
|
||||||
|
|
||||||
fun <T> ElementPattern<T>.and(rhs: ElementPattern<T>) = StandardPatterns.and(this, rhs)
|
fun <T> ElementPattern<T>.and(rhs: ElementPattern<T>) = StandardPatterns.and(this, rhs)
|
||||||
|
|||||||
Reference in New Issue
Block a user