addRangeChange
Returns a StyledTextChange which adds a range on redo, and removes it again on undo.
Note. ranges can be added / removed without the history mechanism being used. But sometime, it is important to include these changes as part of the history mechanism.