提交 8dc20990 编写于 作者: J Johannes Rieken

more jsdoc related to #1800

上级 958ebddd
...@@ -7333,7 +7333,8 @@ declare module 'vscode' { ...@@ -7333,7 +7333,8 @@ declare module 'vscode' {
export function registerTextDocumentContentProvider(scheme: string, provider: TextDocumentContentProvider): Disposable; 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 * To add an event listener when a visible text document is opened, use the [TextEditor](#TextEditor) events in the
* [window](#window) namespace. Note that: * [window](#window) namespace. Note that:
...@@ -7346,7 +7347,8 @@ declare module 'vscode' { ...@@ -7346,7 +7347,8 @@ declare module 'vscode' {
export const onDidOpenTextDocument: Event<TextDocument>; 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 * 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 * [window](#window) namespace. Note that this event is not emitted when a [TextEditor](#TextEditor) is closed
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册