diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/next-editor.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/next-editor.md b/docs/next-editor.md index af0ee537..fdb656cb 100644 --- a/docs/next-editor.md +++ b/docs/next-editor.md @@ -42,8 +42,10 @@ history for Alt-i to go back by (the page allocator: it holds nothing of the code that made it). With it, Alt-o, Alt-i, Alt-n, Alt-p, Alt-a, Alt-I, Alt-e, Alt-b and `]f` and kin are the text's and run in the library on pardes's own nodeSelect and objectJump, and `mif` and kin find -the `Language`'s `textobjects`; with no `lang` they do nothing, as in a -text without a grammar. Without `syn` they come back as actions (`mif` +the `Language`'s `textobjects`, and Enter, `o` and `O` take a new line's +indent from its `indents` as a file's does (edit.treeIndent: without one, +the plain indent, a level more after `(`, `[`, `{` or `)`); with no `lang` +they do nothing, as in a text without a grammar. Without `syn` they come back as actions (`mif` does nothing). An argument, not a field of the value: the tree holds pointers into the grammar's code, and an argument is the least code (the context of the call carries it, `Editor.syntax`; no interface). @@ -125,8 +127,6 @@ terminals, replicas, dumps. Macros and `.`: their log is keys.zig's (the core's dispatcher) and recording replays through it; keeping them meant moving it, more code than leaving them out. `n`/`N`: pardes decides between the look ring, a query's places and the register, the core's. -Tree indents: they read the file's tree through `fileTree`, not -`nodeTree`; a new line's indent in the library is the plain one. Alt-o's history across calls lives in the `Syntax`, so a caller that makes one per call (a sketch's `update` sees only State) has Alt-i go to the first child instead, as helix does with no history. |
