HistoryEntry.isAdditive

A history entry is "additive" if it adds any new content to the input. An entry is "subtractive" if it removes any part of the input. An entry that replaces content is simultaneously additive and subtractive.

struct HistoryEntry
bool isAdditive;

See Also

setPreviousEntry, canMergeWith

Meta