cat / 012
clone

a spreadsheet for the terminal: lotus 1-2-3 looks, google sheets keys and formulas, one go binary

Docs: linked sources in the architecture, tests and file versions

Dami committed 08111b3
commit
08111b3777d6bde50488b8de170fbad7dbf81b97
parent
0f199a60157acab309ef4137f534657de6fffdfc
author
Dami <dami.etoile@gmail.com>
kind
docs risk score 0.0 of 3, Jev's estimate
3 files changed, +8 -5
Mdocs/contributing/architecture.md3++-
Mdocs/contributing/extending.md5+++--
Mdocs/contributing/testing.md5+++--
M docs/contributing/architecture.md +2 -1
@@ -574,6 +574,7 @@ methods off `ui.Model`'s exported API:
574574 | `filterpick` | `filterpick.Host` | theme, size, the edit line, close, the locale (5); what applying and cancelling do are callbacks, as the sheet's filter and a pivot's differ |575575 | `cmdline` | `cmdline.Host` | theme, size, the edit line, close, the commands to complete, run a line, fail, the session's history (8) |576576 | `nbview` | `nbview.Host` | theme, locale, the cells, a cell's output, how its run stands, run a command, keep a cell's new source (7); the language's highlighter, completer and checker are `nbview.Providers`, small interfaces of their own |577+| `srcview` | `srcview.Host` | theme, locale, the source's columns, how many rows the tab shows, a row, ask for rows (6); the rows come from `paged.Pages`, read a page at a time |577578 | `suggest` | `suggest.Host` | theme, size, the edit line, whether an entry is being typed, the entry's sheet, the formula as parsed, where the formula bar's text starts (7) |578579 | `themepicker` | `themepicker.Host` | a picker's host, and the current theme, the themes directory, preview, keep, whether keys can be held (10) |579580 | `rules` | `rules.Host` | theme, size, the edit line, close, the sheet and selection, save a conditional format or a validation rule, follow a rule removed or moved (each recorded as the commands that do it), the terminal's palette colors (10) |
@@ -619,7 +620,7 @@ hints) are what every overlay is drawn with.
619620 620621 **Packages.** `theme`, `rowtext`, `formula`, `overlay` and `lineedit`621622 depend on nothing in `ui`, so they can be tested and measured alone. The622-components in `picker`, `cmdline`, `nbview`, `themepicker`, `findbar`, `rules`,623+components in `picker`, `cmdline`, `nbview`, `srcview`, `themepicker`, `findbar`, `rules`,623624 `sortbar`, `filterpick`, `choicebar`, `shortcuts`, `evalview`, `suggest`, `tabstrip`624625 and `transfer` build on them and reach the model only through their625626 hosts, with unit tests of their own against fake hosts. A component moves out of package
M docs/contributing/extending.md +3 -2
M docs/contributing/testing.md +3 -2