diff --git a/platform/core-api/src/com/intellij/psi/PsiDocumentManager.java b/platform/core-api/src/com/intellij/psi/PsiDocumentManager.java index d6dc310a93ee..a72ef78e25dc 100644 --- a/platform/core-api/src/com/intellij/psi/PsiDocumentManager.java +++ b/platform/core-api/src/com/intellij/psi/PsiDocumentManager.java @@ -104,9 +104,7 @@ public abstract class PsiDocumentManager { * Before a modified document is committed, accessing its PSI may return elements * corresponding to original (unmodified) state of the document.

* - * For documents corresponding to PSI with events enabled (see {@link FileViewProvider#isEventSystemEnabled()}, this should be called - * in UI thread in a write-safe context (see {@link com.intellij.openapi.application.TransactionGuard}). For non-physical files, this can be - * called in any thread. In the latter case, clients hold themselves all responsibility for synchronizing that PSI. + * Should be called in UI thread in a write-safe context (see {@link com.intellij.openapi.application.TransactionGuard}). * * @param document the document to commit. */