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.
This commit is contained in:
dotCooCoo committed 2026-11-14 12:12:49 -08:00
1 parent afef7f543a
commit f54b4e7ee1
2 files changed
+4 -3

No files matched your search

+1 -1
View File
@@ -52,7 +52,7 @@ pub fn specs() -> Vec<CommandSpec> {
"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
),
+3 -2
View File
@@ -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