painting: don't look at the current multidata when coloring a line
Benno Schulenberg authored
When coloring a line, look only at the multidata of the preceding
line, and based on that determine what to seek in the current line.

This fixes https://savannah.gnu.org/bugs/?50292.
6bd94040
Name Last commit Last update
..
Makefile.am build: clean out the revision.h file, to make 'make distcheck' pass
browser.c tweaks: rename some variables, to show they refer to screen rows
chars.c screen: display byte value 0x0A in the right places as ^@ or as ^J
color.c painting: make use of the multidata of the preceding line
cut.c tweaks: adjust and correct some comments
files.c files: leave out the confusing "[from ./]" when prompting for a command
global.c tweaks: rename a variable -- lines refers to buffer, rows to screen
help.c binding: use arrows instead of words to designate the cursor keys
move.c tweaks: adjust and correct some comments
nano.c tweaks: reduce duplicate code in new_magicline() and move_to_filestruct()
nano.h build: add configure option --disable-wordcomp to disable word completion
prompt.c tweaks: remove the cluttering conditional compilation of a parameter
proto.h replacing: stop searching in a region when edge of buffer is reached
rcfile.c tweaks: free an option string also when it was invalid
search.c tweaks: rename a variable and condense an if
text.c spelling: don't unnecessarily fiddle with the viewport
utils.c tweaks: reduce duplicate code in new_magicline() and move_to_filestruct()
winio.c painting: don't look at the current multidata when coloring a line