undo: Merge editInsertText+editWrapLine into editInsertLine
For large documents, this simplifies undo a lot, improves the performance and memory usage
The same is not needed for removeText+Unwrap variant because it already seems to be using editRemoveLine.