patch 9.0.0067: cannot show virtual text
Problem: Cannot show virtual text.
Solution: Initial changes for virtual text support, using text properties.
diff --git a/src/regexp_nfa.c b/src/regexp_nfa.c
index dd5f8ed..0dbc6b5 100644
--- a/src/regexp_nfa.c
+++ b/src/regexp_nfa.c
@@ -6775,7 +6775,9 @@
}
if (!result)
result = nfa_re_num_cmp(t->state->val, op,
- (long_u)win_linetabsize(wp, rex.line, col) + 1);
+ (long_u)win_linetabsize(wp,
+ rex.reg_firstlnum + rex.lnum,
+ rex.line, col) + 1);
if (result)
{
add_here = TRUE;