From f54b4e7ee19c1bb8af5834ae29ebb3b8e42bbe1c Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Sat, 14 Nov 2026 12:12:49 -0800 Subject: [PATCH] Type: Kinsoku Shori docs say inseparable keeps each sequence once cannotStart, cannotEnd and hanging keep each character once, sorted; inseparable keeps each whole sequence once, sorted, so a sequence such as two ellipses may repeat a character. The params text and docs/mcp.md now say so. --- crates/engine/src/cmd/kinsokusets.rs | 2 +- docs/mcp.md | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/crates/engine/src/cmd/kinsokusets.rs b/crates/engine/src/cmd/kinsokusets.rs index 42e634def2..e8fb7b5404 100644 --- a/crates/engine/src/cmd/kinsokusets.rs +++ b/crates/engine/src/cmd/kinsokusets.rs @@ -52,7 +52,7 @@ pub fn specs() -> Vec { "Kinsoku Shori Settings…", ["Type"], None, - "{sets: [{name, from?: the name the set had (rename), cannotStart?: characters, cannotEnd?: characters, hanging?: characters, inseparable?: [sequence of 2..16 characters]}]} replace the active document's custom Kinsoku Shori sets (Type › Kinsoku Shori Settings…'s OK), as one undo step, none when nothing changes. Cannot Start Line characters never start a line and Cannot End Line characters never end one; Hanging Punctuation characters hang outside a line's end with Burasagari; while Bunri-Kinshi is on, a line never breaks inside an inseparable sequence. Each category keeps each character once, sorted, at most 4096 characters (the sequences count each of their characters); a control or space character fails the call, as do an unknown key and a `from` the document has no set of. Names are trimmed, unique in any case, at most 128 characters, never None, Hard or Soft; at most 256 sets. A set given the name of a set the document has (any case) and no `from` is that set. Every paragraph and paragraph style using a set takes its new characters and name; one using a set left out takes Hard. The built-in None, Hard and Soft can't be changed or deleted → {sets}", + "{sets: [{name, from?: the name the set had (rename), cannotStart?: characters, cannotEnd?: characters, hanging?: characters, inseparable?: [sequence of 2..16 characters]}]} replace the active document's custom Kinsoku Shori sets (Type › Kinsoku Shori Settings…'s OK), as one undo step, none when nothing changes. Cannot Start Line characters never start a line and Cannot End Line characters never end one; Hanging Punctuation characters hang outside a line's end with Burasagari; while Bunri-Kinshi is on, a line never breaks inside an inseparable sequence. cannotStart, cannotEnd and hanging keep each character once, sorted, and inseparable keeps each sequence once, sorted (a sequence may repeat a character); each category holds at most 4096 characters (the sequences count each of their characters); a control or space character fails the call, as do an unknown key and a `from` the document has no set of. Names are trimmed, unique in any case, at most 128 characters, never None, Hard or Soft; at most 256 sets. A set given the name of a set the document has (any case) and no `from` is that set. Every paragraph and paragraph style using a set takes its new characters and name; one using a set left out takes Hard. The built-in None, Hard and Soft can't be changed or deleted → {sets}", has_doc, set ), diff --git a/docs/mcp.md b/docs/mcp.md index bb59e3688c..07f10c1013 100644 --- a/docs/mcp.md +++ b/docs/mcp.md @@ -8698,8 +8698,9 @@ Settings…'s OK, shown with the East Asian options) replaces the active documen step, and records none when nothing changes. `cannotStart` lists the characters that never start a line, `cannotEnd` those that never end one, and `hanging` the punctuation that Burasagari hangs outside a line's end, each as text, one character after another. `inseparable` lists sequences of 2 to 16 characters that a line never breaks inside while -Bunri-Kinshi is on. Each category keeps each character once, sorted, and holds at most 4096 characters (a sequence -counts each of its characters); a control or space character in a category fails the call. Names are trimmed, 1 to 128 characters, unique in any +Bunri-Kinshi is on. `cannotStart`, `cannotEnd` and `hanging` keep each character once, sorted; `inseparable` keeps each +sequence once, sorted, so a sequence may repeat a character (`……`). Each category holds at most 4096 characters (a +sequence counts each of its characters); a control or space character in a category fails the call. Names are trimmed, 1 to 128 characters, unique in any case and never None, Hard or Soft; a document holds at most 256 sets. These limits are VectorCraft's own. A set with the name of a set the document has (any case) and no `from` edits that set; `from` names the set it renames. Every paragraph and paragraph style using an edited set takes its new characters and name, and those using a set left out