smol/src
Benno Schulenberg 12e5c2f07d undo: for an automatic hard-wrap, store the correct previous buffer size
The SPLIT_BEGIN item gets tucked underneath the ADD item on the top of
the undo stack.  Thus: that SPLIT_BEGIN item should copy the 'wassize'
of the ADD item instead of storing the current buffer size.

This fixes https://savannah.gnu.org/bugs/?57832.

Bug existed since the undo functionality was added, and existed
in this form since version 2.3.5, commit be10c2a4.
2020-02-17 11:41:52 +01:00
..
Makefile.am organization: move all history-related stuff to its own file 2017-09-17 12:46:36 +02:00
browser.c tweaks: reshuffle some declarations, and expand a few variable names 2020-01-28 10:21:34 +01:00
chars.c tweaks: remove a now-unused helper function 2020-02-16 12:33:29 +01:00
color.c tweaks: reshuffle some declarations, and expand a few variable names 2020-01-28 10:21:34 +01:00
cut.c tweaks: adjust some whitespace, reshuffle two ifs, and remove two braces 2020-02-17 11:29:13 +01:00
files.c tweaks: improve two comments 2020-02-10 17:13:12 +01:00
global.c tweaks: rename a constant, and rename and relocate a function 2020-02-14 19:00:16 +01:00
help.c tweaks: fuse two nearly identical functions into a single one 2020-01-26 16:20:37 +01:00
history.c copyright: update the years for significantly changed files 2020-01-15 12:11:56 +01:00
move.c copyright: update the years for the FSF 2020-01-15 11:42:38 +01:00
nano.c tweaks: adjust some whitespace, reshuffle two ifs, and remove two braces 2020-02-17 11:29:13 +01:00
nano.h tweaks: remove the now-unused meta flag from 'keystruct' 2020-01-23 12:06:32 +01:00
prompt.c tweaks: relocate eleven functions to before they are called 2020-02-14 19:10:21 +01:00
proto.h tweaks: remove a now-unused helper function 2020-02-16 12:33:29 +01:00
rcfile.c tweaks: unabbreviate the name of a variable 2020-02-09 12:02:37 +01:00
search.c copyright: update the years for significantly changed files 2020-01-15 12:11:56 +01:00
text.c undo: for an automatic hard-wrap, store the correct previous buffer size 2020-02-17 11:41:52 +01:00
utils.c copyright: update the years for significantly changed files 2020-01-15 12:11:56 +01:00
winio.c tweaks: mesh two bits of code together 2020-02-13 13:46:31 +01:00