undo: generalize update_comment_undo() into update_multiline_undo()
The function does not contain any comment-specific code, so it can be used to handle any kind of multiline undo item. Also, extend the undo group structure to contain an array of strings, one for each line in the group. When indent/unindent is hooked up to the undo/redo code, this will allow the latter to restore the exact original indents.
Showing
+23 -15
Please register or sign in to comment