Check if this entry can be merged with (newer) entry given its text content. This is used to combine runs of similar actions together, for example when typing a word, the whole word will form a single entry, instead of creating separate entries per character.
Set isAdditive and isSubtractive based on the given text representing the last input.
Change made by this entry.
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.
If true, the entry results from an action that was executed immediately after the last action, without changing caret position in the meantime.
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.