summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_filetype.vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-10-14 11:32:28 +0200
committerChristian Brabandt <cb@256bit.org>2023-10-14 11:32:28 +0200
commitb583eda7031b1f6a3469a2537d0c10ca5fa5568e (patch)
tree60bfbbf0770516cb9411197ad049048a2c74a9cc /src/testdir/test_filetype.vim
parentcd6ee6935811ab223605a3f39a550d26a617867d (diff)
patch 9.0.2022: getmousepos() returns wrong index for TAB charv9.0.2022
Problem: When clicking in the middle of a TAB, getmousepos() returns the column of the next char instead of the TAB. Solution: Break out of the loop when the vcol to find is inside current char. Fix invalid memory access when calling virtcol2col() on an empty line. closes: #13321 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Diffstat (limited to 'src/testdir/test_filetype.vim')
0 files changed, 0 insertions, 0 deletions