mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
update PsiDocumentManager.commitDocument javadoc (IDEA-CR-29058)
This commit is contained in:
@@ -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.<p/>
|
||||
*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user