whether an edit changes the file from the version as read
every key the core does not read
each passage, as one fragment per line
put this file's edits on newer, a copy read since, and hold that,
returning the fields both changed, as Metadata.merge does
remove a key of the file: a key the core reads clears its field, or sets it to what a file without the key reads it as
Warning: as for setExtra, this can leave the file at odds with itself.
Prefer the field's own setter.
ValidationError if key names a field the file must
have; the file is left as it was
set a key of the file: a key the core reads sets its field, and any other
is kept in extra
Warning: a key the core reads is written as given, past the rules its own
setter keeps, so it can leave the file at odds with itself, such as a
pageCount that does not count the pages listed. Prefer the field's own
setter, such as setPages for the page
keys.
ValidationError if value is not a value of the field
key names; the file is left as it was
the file with its edits made, as the account holds it
the file with its edits made, as JSON
Staticcreatea page's highlights, with none
Staticfromread a page's highlights file from what toJSON gave, or a copy of it; the core
checks every field
Staticparse
a page's highlights of a pdf or epub
Its edits are recorded like Metadata's; a highlight added or removed is its own edit, which a merge always keeps, so highlights made on two devices both stay.