comparison src/move.c @ 34922:8f3fc2bcb321 v9.1.0320

patch 9.1.0320: Wrong cursor position after using setcellwidths() Commit: https://github.com/vim/vim/commit/05aacec6ab5c7ed8a13bbdca2f0005d6a1816230 Author: zeertzjq <zeertzjq@outlook.com> Date: Sun Apr 14 18:52:49 2024 +0200 patch 9.1.0320: Wrong cursor position after using setcellwidths() Problem: Wrong cursor position after using setcellwidths(). Solution: Invalidate cursor position in addition to redrawing. (zeertzjq) closes: #14545 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Sun, 14 Apr 2024 19:00:14 +0200
parents 4e6b29ea6ed2
children c7ac5ee83076
comparison
equal deleted inserted replaced
34921:1647d22ace0e 34922:8f3fc2bcb321
674 FOR_ALL_TAB_WINDOWS(tp, wp) 674 FOR_ALL_TAB_WINDOWS(tp, wp)
675 if (wp->w_buffer == buf) 675 if (wp->w_buffer == buf)
676 changed_window_setting_win(wp); 676 changed_window_setting_win(wp);
677 } 677 }
678 #endif 678 #endif
679
680 /*
681 * Call changed_window_setting_win() for every window.
682 */
683 void
684 changed_window_setting_all(void)
685 {
686 tabpage_T *tp;
687 win_T *wp;
688
689 FOR_ALL_TAB_WINDOWS(tp, wp)
690 changed_window_setting_win(wp);
691 }
679 692
680 /* 693 /*
681 * Set wp->w_topline to a certain number. 694 * Set wp->w_topline to a certain number.
682 */ 695 */
683 void 696 void