Skip to content

v0.7.0

Choose a tag to compare

@kaijen kaijen released this 01 Jun 18:19
· 44 commits to main since this release
8bfa4a7

v0.7.0

Two new nesting-prevention rules for Track Changes mode.

Changed

  • Track Changes: editing a marker's delimiter now rejects that change (#38).
    Deleting or replacing any part of a marker's opener/closer — e.g. backspacing
    the leading { of {++a++} — resolves the whole marker with Reject semantics
    (addition → removed, deletion → text kept, substitution → original, etc.)
    instead of leaving broken or nested markup like {--{--}++a++}. Edits inside
    a marker's content are still absorbed (#34); a selection spanning content and a
    delimiter rejects the entire marker.
  • Track Changes: pasting text that is already CriticMarkup is kept verbatim
    (#40). Inserting complete marker(s) no longer re-wraps them into nested markup
    ({++a++} stays {++a++}, not {++{++a++}++}). A paste that mixes plain text
    with markers wraps only the plain runs as additions
    (foo {++a++} bar{++foo ++}{++a++}{++ bar++}), and pasting markup over a
    selection tracks the replaced text as a leading {--…--} deletion.
    Unterminated input (e.g. {++a) still falls through to a normal addition wrap.

Full changelog: v0.6.2...v0.7.0