Header menu logo issie

KeyContext Type

Where the keyboard is logically pointing. Exactly one holds at any moment, and KeyBindings.contextOfModel decides which by a fixed priority. TextEntry and CodeEditor are *opaque*: a chord not bound in them does nothing rather than falling back to a more general context. That single rule is what stops Ctrl+A in a properties box selecting the whole schematic.

Union cases

Union case Description

CodeEditor

Full Usage: CodeEditor

the hand-rolled code editor is up

Global

Full Usage: Global

no project open, or nothing more specific applies

Popup

Full Usage: Popup

a modal popup is showing and focus is not in one of its boxes

ProjectBrowser

Full Usage: ProjectBrowser

the project browser is showing and focus is not in its path box. Its own context rather than Popup, because arrows and Enter mean something there and nothing in any other dialog

SheetBusy

Full Usage: SheetBusy

a draw block gesture is in progress

SheetIdle

Full Usage: SheetIdle

the schematic editor, nothing in progress

TextEntry

Full Usage: TextEntry

DOM focus is in an input, textarea or select

WaveSim

Full Usage: WaveSim

the waveform simulator has the keyboard

Instance members

Instance member Description

this.IsCodeEditor

Full Usage: this.IsCodeEditor

Returns: bool
Returns: bool

this.IsGlobal

Full Usage: this.IsGlobal

Returns: bool
Returns: bool

this.IsPopup

Full Usage: this.IsPopup

Returns: bool
Returns: bool

this.IsProjectBrowser

Full Usage: this.IsProjectBrowser

Returns: bool
Returns: bool

this.IsSheetBusy

Full Usage: this.IsSheetBusy

Returns: bool
Returns: bool

this.IsSheetIdle

Full Usage: this.IsSheetIdle

Returns: bool
Returns: bool

this.IsTextEntry

Full Usage: this.IsTextEntry

Returns: bool
Returns: bool

this.IsWaveSim

Full Usage: this.IsWaveSim

Returns: bool
Returns: bool

Type something to start searching.