Expand description
The table editor: a spreadsheet-like grid for viewing and editing delimited data (CSV/TSV) as rows and columns.
Vix’s Tools menu offers an Edit Table command that parses the active buffer as
CSV or TSV (per the file extension) into a rectangular grid. The first row is
treated as the header. The user navigates a cell cursor with the arrow keys
(or h/j/k/l), edits a cell in place, inserts and deletes rows and
columns, sorts by the current column, and searches across all cells. Saving
serializes the grid back to delimited text.
This crate is self-contained and host-agnostic: it owns the grid data,
the cursor, the edit/find buffers, and an undo/redo history, and it
interprets key events itself (returning an Outcome telling the host
when to close or save). The host (App in the root vix crate) only
renders the grid, syncs the visible scroll window, and acts on the
returned outcome.
Structs§
- Grid
- A spreadsheet-like grid of string cells with a cell cursor and edit history.
Enums§
- Outcome
- What the host should do after the grid handled a key.