- commit
- 08111b3777d6bde50488b8de170fbad7dbf81b97
- parent
- 0f199a60157acab309ef4137f534657de6fffdfc
- author
- Dami <dami.etoile@gmail.com>
- kind
- docs risk score 0.0 of 3, Jev's estimate
| M | docs/ | 3 | ++- |
| M | docs/ | 5 | +++-- |
| M | docs/ | 5 | +++-- |
@@ -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@@ -183,8 +183,9 @@ fails it.
183183 184184 The `.012` format only gains optional fields, and the version rises only when185185 a file uses a feature older builds can't read (names, freeze and filters in186-v3, several sheets in v4, pivot tables in v5). Old files always load. Settings that older187-builds can safely ignore (decimal arithmetic) don't raise the version.186+v3, several sheets in v4, pivot tables in v5, tables in v6, linked187+sources in v7). Old files always load. Settings that older builds can188+safely ignore (decimal arithmetic) don't raise the version.188189 189190 ## Keeping it honest190191 @@ -33,8 +33,9 @@ between features: from each of a thousand seeds it builds a workbook
3333 of two sheets and a notebook tab, makes up to 40 edits drawn from the3434 seed (entries, pastes, fills, series, sorts, inserted and deleted rows3535 and columns, formats, borders, merges, moves, notes, rules, names,36-sheets, frozen panes, filters, notebook cells, and outputs sent to37-sheets, frozen, deleted and sent rows, with tables standing in for36+sheets, frozen panes, filters, tables, linked sources and their order,37+notebook cells, and outputs sent to sheets, frozen, deleted and sent38+rows, with tables standing in for3839 nushell's), and checks that undoing every step gives back the file and3940 the values it started with, redoing gives back the end, saving and4041 reopening gives the same file and values (a recalculation from