diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-10-15 10:03:30 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2023-10-15 10:03:30 +0200 |
commit | f5a94d5165bb9e390797da50a1fa7a87df3fbee4 (patch) | |
tree | 58f053e16666c59dd5940d80289caf22f078c6ab /src/beval.c | |
parent | 3c81f47a0584e7915217397fed0488091a62df82 (diff) |
patch 9.0.2032: cannot get mouse click pos for tab or virt textv9.0.2032
Problem: Cannot accurately get mouse clicking position when clicking on
a TAB or with virtual text.
Solution: Add a "coladd" field to getmousepos() result.
closes: #13335
Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Diffstat (limited to 'src/beval.c')
-rw-r--r-- | src/beval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/beval.c b/src/beval.c index cd91863837..65dfbc2aad 100644 --- a/src/beval.c +++ b/src/beval.c @@ -74,7 +74,7 @@ find_word_under_cursor( } } - col = vcol2col(wp, lnum, col); + col = vcol2col(wp, lnum, col, NULL); scol = col; if (VIsual_active |