undo: generalize update_comment_undo() into update_multiline_undo()
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
Name Last commit Last update
..
Makefile.am build: for Solaris, tell the linker to use a threading lib
browser.c browser: correct the inverted search behavior for Alt+Up/Alt+Down
chars.c tweaks: sort the includes, so it's a little easier to see what is there
color.c tweaks: sort the includes, so it's a little easier to see what is there
cut.c display: catch all cases where the cursor can be pushed offscreen
files.c tweaks: use mnemonic constants instead of TRUE and FALSE
global.c tweaks: rename three functions, to be shorter or clearer
help.c tweaks: rename three functions, to be shorter or clearer
move.c tweaks: use mnemonic constants instead of TRUE and FALSE
nano.c tweaks: specify more directly in what manner to move the viewport
nano.h undo: generalize update_comment_undo() into update_multiline_undo()
prompt.c weeding: remove the unused be_clever parameter from do_home()/do_end()
proto.h undo: generalize update_comment_undo() into update_multiline_undo()
rcfile.c weeding: remove the unused be_clever parameter from do_home()/do_end()
search.c tweaks: specify more directly in what manner to move the viewport
text.c undo: generalize update_comment_undo() into update_multiline_undo()
utils.c tweaks: sort the includes, so it's a little easier to see what is there
winio.c startup: don't produce more than three consecutive beeps