From 4f685df6994977843b82dd09572fed6c744b35d0 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Mon, 23 Nov 2026 15:58:03 -0300 Subject: help: the change layers' words and the patches' documented for a user (item 5's first group: `Changes`, `Compare`, `At`, `Churn`, `Diff`, `Syntax`), each sentence checked against its run (core/jj.zig `pinWord`, `word`, `churnWord`, core/hunks.zig `word`) and the guide's chapter "Changes on the source view": the five were written whole in the table's change (their first sentences were over the bound: Changes' was 332 bytes), and are as they read there: Changes (its revset's changes on a file's pane or a revision's, one set a pane, bare hidden or shown, `@` with none pinned; lanes, the rows of what was taken away, a description after a change's last line ending its lane's arrow; `] g` `[ g`; B3 on a description's id is `Diff :`), Compare (two points or more in order, each one revision, a pair one change however many lie between, its row `from..to N changes dates`), At (`path@rev` beside the file; in such a pane another revision in its place, bare the file), Churn (a revset or a span of time back from now; a heat cell and a strip; bare hidden or shown, the whole history with none counted), Diff (bare on a diff or a +Diff; a file, a commit hash, a jj change with a place, two points with `..`; what a hunk stands under; `SPC j n`/`p`); here Syntax: "Turn this text's syntax colours off in this view, or on again.", its code note (the ink layer) a `//` line in the struct; these words are being changed NOW by the change layers' line (ws-tilde: the layer's lines as the pane's read-only text, the view from the middle right): their documentation says what they do today and is to be brought up to date at that line's merge; docs/typ/builtins-tui.json regenerated Co-Authored-By: Claude Opus Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T --- core/builtins.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core') diff --git a/core/builtins.zig b/core/builtins.zig index 81ec4c2b..11505b2c 100644 --- a/core/builtins.zig +++ b/core/builtins.zig @@ -1204,9 +1204,9 @@ pub const Filter = struct { } }; -/// Turn a text's syntax colours off in this view, or on again. -/// The ink layer (File.Layers). +/// Turn this text's syntax colours off in this view, or on again. pub const Syntax = struct { + // The ink layer (File.Layers). pub fn run(c: Ctx) void { if (c.pane.file == null) return c.p.reportFailure(c.id, "Syntax: only a text pane has it"); c.pane.layers.ink = !c.pane.layers.ink; -- cgit v1.3