提交 13738403 编写于 作者: J Johannes Rieken

improve doc about activeTextEditor being undefined from time to time, #5022

上级 6e5e64ef
......@@ -2901,7 +2901,7 @@ declare namespace vscode {
export namespace window {
/**
* The currently active editor or undefined. The active editor is the one
* The currently active editor or `undefined`. The active editor is the one
* that currently has focus or, when none has focus, the one that has changed
* input most recently.
*/
......@@ -2914,7 +2914,8 @@ declare namespace vscode {
/**
* An [event](#Event) which fires when the [active editor](#window.activeTextEditor)
* has changed.
* has changed. *Note* that the event also fires when the activ editor changes
* to `undefined`.
*/
export const onDidChangeActiveTextEditor: Event<TextEditor>;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册