Grouping text edits