Skip to main content

Module inspector_modal

Module inspector_modal 

Source
Expand description

Row inspector state: the focused and listed fields, list or value focus, the find text, the value’s view and read position, the compared row, and fields read for this row that the buffer lacks. Values are not kept here: the inspector draws the table’s selected row from its buffer every frame.

Structs§

InspectorModal
PaneKey
What the value pane was built from: when any of it changes, the pane is built again, and a long value is not laid out again every frame.
ValueFind
A search inside the focused value.

Enums§

FieldRead
The fields of one row that the buffer does not hold, read on request.
Focus
Where the keys go: the field list, or the focused value’s pane.
Order
The order the fields are listed in.
Pretty
Long JSON text being indented on a worker, by frame, row and the text’s place.
Unpack
Bytes decompressed on a worker for their Text view, by frame, row and field.
View
A way of showing a value. Only the views that apply to a value are offered.

Constants§

CHUNK_BYTES
The most bytes of a value one key formats: a nested value or a JSON document laid out in the pane stops here, and the reader wraps no more than this of a long text for a key.

Functions§

edit_find
A key typed into a find line: a character, Ctrl+W to drop a word, Ctrl+U to clear. Other chords type nothing.