Skip to main content

Module changes

Module changes 

Source
Expand description

Suggested edits kept in the text itself, so they survive any tool and travel with the file. Markdown uses CriticMarkup and a paper uses the changes package.

Structs§

Change
One change, as a range of chars in the document.

Enums§

Kind
Syntax
How a document writes its changes.

Functions§

compare
The change from old to new for reading, line by line: a line that went is struck, a line that came is marked new, and a line changed in place shows its words. No mark spans a line, so every one renders. Accepting it all doesn’t give new back exactly; it’s a view.
find
mark
One suggestion in the document’s own syntax.
settle_all
suggest
The document with every change kept or dropped. The change from old to new as suggestions in old, word by word, so whoever reviews it accepts or rejects each one. Accepting all of them gives new back.
with_package
A paper with the changes package its marks print with, just before its document begins. None when it loads it already, or has no preamble to put it in. Comments don’t count.