mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
KTNB: Fix insertion of extension functions with lambda parameter and type arguments
^KTNB-190 Fixed GitOrigin-RevId: ec2fecefa89c4bbba9e2e0a6c4f0aafb3a2d6907
This commit is contained in:
committed by
intellij-monorepo-bot
parent
4905dd3604
commit
38cacdf014
+2
-4
@@ -386,10 +386,8 @@ sealed class KotlinFunctionInsertHandler(callType: CallType<*>) : KotlinCallable
|
||||
super.handleInsert(context, item)
|
||||
}
|
||||
|
||||
if (!isInjected) {
|
||||
psiDocumentManager.commitDocument(document)
|
||||
psiDocumentManager.doPostponedOperationsAndUnblockDocument(document)
|
||||
}
|
||||
psiDocumentManager.commitDocument(document)
|
||||
psiDocumentManager.doPostponedOperationsAndUnblockDocument(document)
|
||||
|
||||
val startOffset = context.startOffset
|
||||
val element = context.file.findElementAt(startOffset) ?: return
|
||||
|
||||
Reference in New Issue
Block a user