• David Lawrence Ramsey's avatar
    undo: generalize update_comment_undo() into update_multiline_undo() · f722c532
    David Lawrence Ramsey authored
    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.
    f722c532
text.c 109 KB