@jsvision/code-editor / CodeEditorOverlayPresentation
Interface: CodeEditorOverlayPresentation
Defined in: code-editor/src/presentation.ts:44
One non-completion terminal overlay sharing the editor's bounded popup.
Example
const overlay: CodeEditorOverlayPresentation = {
kind: 'diagnostic',
items: ['[error] Unexpected token'],
selected: 0,
};Properties
diagnostic?
readonlyoptionaldiagnostic?:object
Defined in: code-editor/src/presentation.ts:52
Locale-neutral diagnostic wrapper retained until the final view projection.
detail
readonlydetail:string
Sanitized external detail that must never be translated as a template.
severity
readonlyseverity:"error"|"warning"|"information"|"hint"
Stable severity used to select the localized editor-owned label.
items
readonlyitems: readonlystring[]
Defined in: code-editor/src/presentation.ts:48
Sanitized bounded rows rendered by the terminal popup.
kind
readonlykind:"symbols"|"hover"|"signature"|"diagnostic"|"navigation"
Defined in: code-editor/src/presentation.ts:46
Interaction family represented by the rows.
selected
readonlyselected:number
Defined in: code-editor/src/presentation.ts:50
Zero-based row selected by chooser-style overlays.