comparison src/edit.c @ 30659:ea16b081493d v9.0.0664

patch 9.0.0664: bad redrawing with spell checking, using "C" and "$" in 'cpo' Commit: https://github.com/vim/vim/commit/f3ef026c9897f1d2e3fba47166a4771d507dae91 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Oct 5 13:29:15 2022 +0100 patch 9.0.0664: bad redrawing with spell checking, using "C" and "$" in 'cpo' Problem: Bad redrawing with spell checking, using "C" and "$" in 'cpo'. Solution: Do not redraw the next line when "$" is in 'cpo'. (closes https://github.com/vim/vim/issues/11285)
author Bram Moolenaar <Bram@vim.org>
date Wed, 05 Oct 2022 14:30:04 +0200
parents 101f08b49ed3
children ffa5492137c3
comparison
equal deleted inserted replaced
30658:3e426037fd19 30659:ea16b081493d
1736 screen_puts(pc_bytes, pc_row - msg_scrolled, pc_col, pc_attr); 1736 screen_puts(pc_bytes, pc_row - msg_scrolled, pc_col, pc_attr);
1737 } 1737 }
1738 } 1738 }
1739 1739
1740 /* 1740 /*
1741 * Called when p_dollar is set: display a '$' at the end of the changed text 1741 * Called when "$" is in 'cpoptions': display a '$' at the end of the changed
1742 * Only works when cursor is in the line that changes. 1742 * text. Only works when cursor is in the line that changes.
1743 */ 1743 */
1744 void 1744 void
1745 display_dollar(colnr_T col_arg) 1745 display_dollar(colnr_T col_arg)
1746 { 1746 {
1747 colnr_T col = col_arg < 0 ? 0 : col_arg; 1747 colnr_T col = col_arg < 0 ? 0 : col_arg;