Mercurial > vim
comparison src/version.c @ 32977:68a12270d21b
patch 9.0.1785: wrong cursor position with 'showbreak' and lcs-eol
Commit: https://github.com/vim/vim/commit/1193951bebcff50d88403ce17dec5d3be14f131d
Author: zeertzjq <zeertzjq@outlook.com>
Date: Wed Aug 23 20:58:01 2023 +0200
patch 9.0.1785: wrong cursor position with 'showbreak' and lcs-eol
Problem: wrong cursor position with 'showbreak' and lcs-eol
Solution: Add size of 'showbreak' before when 'listchars' "eol" is used.
Also fix wrong cursor position with wrapping virtual text on
empty line and 'showbreak'.
closes: #12891
Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 24 Aug 2023 07:35:13 +0200 |
parents | e4851934751a |
children | a506ab420306 |
comparison
equal
deleted
inserted
replaced
32976:d23645a0aca8 | 32977:68a12270d21b |
---|---|
697 NULL | 697 NULL |
698 }; | 698 }; |
699 | 699 |
700 static int included_patches[] = | 700 static int included_patches[] = |
701 { /* Add new patch number below this line */ | 701 { /* Add new patch number below this line */ |
702 /**/ | |
703 1785, | |
702 /**/ | 704 /**/ |
703 1786, | 705 1786, |
704 /**/ | 706 /**/ |
705 1783, | 707 1783, |
706 /**/ | 708 /**/ |