mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-30 18:27:49 +08:00
documents.md: FileDocumentManagerListener listener link
This commit is contained in:
parent
7faa9538a3
commit
28c2368648
@ -45,7 +45,7 @@ To create a `Document` instance that isn't bound to anything, use `EditorFactory
|
||||
|
||||
* `Document.addDocumentListener()` allows receiving notifications about changes in a particular `Document` instance.
|
||||
* `EditorFactory.getEventMulticaster().addDocumentListener()` allows receiving notifications about changes in all open documents.
|
||||
* Subscribe to `AppTopics.FILE_DOCUMENT_SYNC` on any level bus to receive notifications when a `Document` is saved or reloaded from disk.
|
||||
* Register [`FileDocumentManagerListener`](upsource:///platform/platform-api/src/com/intellij/openapi/fileEditor/FileDocumentManagerListener.java) [listener](plugin_listeners.md) or subscribe to `AppTopics.FILE_DOCUMENT_SYNC` on any level bus to receive notifications when a `Document` is saved or reloaded from disk.
|
||||
|
||||
## What are the rules of working with Documents?
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user