1
0
forked from aniani/vim

patch 9.0.0712: wrong column when calling setcursorcharpos() with zero lnum

Problem:    Wrong column when calling setcursorcharpos() with zero lnum.
Solution:   Set the line number before calling buf_charidx_to_byteidx().
            (closes #11329)
This commit is contained in:
Bram Moolenaar
2022-10-10 12:42:57 +01:00
parent 084f2620ec
commit 79f234499b
4 changed files with 29 additions and 15 deletions

View File

@@ -699,6 +699,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
712,
/**/
711,
/**/