Skip to content

Commit

Permalink
more jsdoc related to microsoft#1800
Browse files Browse the repository at this point in the history
  • Loading branch information
jrieken committed Sep 20, 2018
1 parent 958ebdd commit 8dc2099
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/vs/vscode.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7333,7 +7333,8 @@ declare module 'vscode' {
export function registerTextDocumentContentProvider(scheme: string, provider: TextDocumentContentProvider): Disposable;

/**
* An event that is emitted when a [text document](#TextDocument) is opened.
* An event that is emitted when a [text document](#TextDocument) is opened or when the language id
* of a text document [has been changed](#languages.setTextDocumentLanguage).
*
* To add an event listener when a visible text document is opened, use the [TextEditor](#TextEditor) events in the
* [window](#window) namespace. Note that:
Expand All @@ -7346,7 +7347,8 @@ declare module 'vscode' {
export const onDidOpenTextDocument: Event<TextDocument>;

/**
* An event that is emitted when a [text document](#TextDocument) is disposed.
* An event that is emitted when a [text document](#TextDocument) is disposed or when the language id
* of a text document [has been changed](#languages.setTextDocumentLanguage).
*
* To add an event listener when a visible text document is closed, use the [TextEditor](#TextEditor) events in the
* [window](#window) namespace. Note that this event is not emitted when a [TextEditor](#TextEditor) is closed
Expand Down

0 comments on commit 8dc2099

Please sign in to comment.