mirror of
git://git.sv.gnu.org/nano.git
synced 2025-02-08 17:34:00 +03:00
color: when syntax coloring is toggled back on, calculate multiline data
This will not catch all cases, but at least it will precalculate the data when syntax coloring was toggled off (M-Y) while in one buffer and then toggled back on after having switched to a new buffer.
This commit is contained in:
parent
1bbf07b27e
commit
ad1331527e
@ -1092,6 +1092,7 @@ void do_toggle(int flag)
|
||||
break;
|
||||
#ifdef ENABLE_COLOR
|
||||
case NO_SYNTAX:
|
||||
precalc_multicolorinfo();
|
||||
refresh_needed = TRUE;
|
||||
break;
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user