diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-07-25 18:13:54 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-07-25 18:13:54 +0100 |
commit | 7f9969c559b51446632ac7e8f76cde07e7d0078d (patch) | |
tree | 77868549433487dbadb8833a1b6a63d522adaa72 /src/regexp.c | |
parent | b529cfbd04c02e31cfa88f2c8d88b5ff532d4f7d (diff) | |
download | vim-git-7f9969c559b51446632ac7e8f76cde07e7d0078d.tar.gz |
patch 9.0.0067: cannot show virtual textv9.0.0067
Problem: Cannot show virtual text.
Solution: Initial changes for virtual text support, using text properties.
Diffstat (limited to 'src/regexp.c')
-rw-r--r-- | src/regexp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regexp.c b/src/regexp.c index f35a5e800..1a5cfd07c 100644 --- a/src/regexp.c +++ b/src/regexp.c @@ -1303,7 +1303,7 @@ reg_match_visual(void) rex.line = reg_getline(rex.lnum); rex.input = rex.line + col; - cols = win_linetabsize(wp, rex.line, col); + cols = win_linetabsize(wp, rex.reg_firstlnum + rex.lnum, rex.line, col); if (cols < start || cols > end - (*p_sel == 'e')) return FALSE; } |