more docs about doc change event, #28077

This commit is contained in:
Johannes Rieken 2017-06-08 14:43:57 +02:00
parent 0fd62676f3
commit 61a1d9abdc

4
src/vs/vscode.d.ts vendored
View file

@ -4417,7 +4417,9 @@ declare module 'vscode' {
export const onDidCloseTextDocument: Event<TextDocument>;
/**
* An event that is emitted when a [text document](#TextDocument) is changed.
* An event that is emitted when a [text document](#TextDocument) is changed. This usually happens
* when the [contents](#TextDocument.getText) changes but also when other things like the
* [dirty](TextDocument#isDirty)-state changes.
*/
export const onDidChangeTextDocument: Event<TextDocumentChangeEvent>;