diff options
author | Dylan Thacker-Smith <dylan.ah.smith@gmail.com> | 2024-03-24 09:46:56 +0100 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-03-24 09:46:56 +0100 |
commit | 366c81a2005370ac738618d889ec0337397a9f96 (patch) | |
tree | 602df2ba884f3e68aacfec2ab46ae8a4edc6bc9a /pixmaps | |
parent | b2d124c6258ff41e1f951bf39a4afc386d79ddc4 (diff) |
patch 9.1.0201: gM not working correctly with virt textv9.1.0201
Problem: `gM` would include outer virtual text and its padding when
getting the line length used to calculate the middle of the
line, putting the cursor much closer to virtual text lines.
Solution: Exclude outer virtual text in getting the line length for
`gM`, so that virtual text doesn't influence where the cursor
is moved to (Dylan Thacker-Smith).
closes: #14262
Signed-off-by: Dylan Thacker-Smith <dylan.ah.smith@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'pixmaps')
0 files changed, 0 insertions, 0 deletions