Documentation: workspace.activeTextEditor can be undefined

workspace.activeTextEditor is undefined if the active tab is a file browser, terminal, or live preview.

Documentation does not mention that it can be undefined. This has repercussions for the Nova extension Typescript definitions which failed to include this as it wasn’t documented.

Thank you for the report, Austen!

I’ve clarified this documentation and pushed an update.