in src/main/kotlin/org/jetbrains/plugins/feature/suggester/listeners/DocumentActionsListener.kt [34:44]
override fun documentChangedNonBulk(event: DocumentEvent) {
// Store in a weak reference, otherwise PsiDocumentManagerImplTest.testDoNotLeakForgottenUncommittedDocument will fail
val eventRef = WeakReference(event)
runInEdt {
handleDocumentAction(
eventRef = eventRef,
textInsertedActionConstructor = ::EditorTextInsertedAction,
textRemovedActionConstructor = ::EditorTextRemovedAction
)
}
}