Optional ReadonlyactiveOptional ReadonlyactiveThe theme now in force, as the name of its menu entry ('themeDark',
'themeNord'…). The theme entries behave as one radio group, so exactly
one of them carries the tick.
Optional ReadonlyactiveThe width now in force, so the four width entries show which is chosen.
Optional ReadonlycopyOptional ReadonlycustomOptional ReadonlycustomizeOptional ReadonlycustomOptional ReadonlyformatOptional ReadonlyinsertOptional ReadonlyisWhether spell checking is on, so its menu entry reports the state it toggles.
Optional ReadonlyisWhether a piece of chrome is currently on, so its menu entry can show a tick. Without it every one of these entries looks the same whether it is on or off, and the menu stops being a place you can read the editor's state from. You have to toggle something to find out what it was.
The host owns this chrome, so only the host can answer. Anything left unanswered simply renders as a plain command, exactly as before.
Optional ReadonlyisWhether a check is on, so its menu entry shows a check mark.
Optional ReadonlymanageOptional ReadonlyopenOptional ReadonlysetOptional ReadonlysetApply a named palette from createThemeController, or null for the plain one.
Optional ReadonlysetOptional ReadonlysetOptional ReadonlyshowOptional ReadonlyshowOptional ReadonlyshowOptional ReadonlytoggleOptional ReadonlytoggleOptional ReadonlytoggleOptional ReadonlytoggleOptional ReadonlytoggleOptional ReadonlytoggleOptional ReadonlytoggleSwap the rich surface for its Markdown or HTML source.
Optional ReadonlytoggleOptional ReadonlytoggleA second live editor on the same document (the workspace's mirror mode).
Optional ReadonlytoggleOptional ReadonlytoggleOptional ReadonlytoggleOptional ReadonlytoggleOptional ReadonlytoggleOptional ReadonlytoggleOptional ReadonlytoggleToggle one writing check; each gets its own entry under Tools ▸ Check writing.
The source format on show, or null while the rich surface is up.