Mercurial > vim
comparison src/regexp_nfa.c @ 29451:057c26b5c33a v9.0.0067
patch 9.0.0067: cannot show virtual text
Commit: https://github.com/vim/vim/commit/7f9969c559b51446632ac7e8f76cde07e7d0078d
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jul 25 18:13:54 2022 +0100
patch 9.0.0067: cannot show virtual text
Problem: Cannot show virtual text.
Solution: Initial changes for virtual text support, using text properties.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 25 Jul 2022 19:15:06 +0200 |
parents | c7aa0c46acd5 |
children | f1c5bd4acbbc |
comparison
equal
deleted
inserted
replaced
29450:67f31c24291b | 29451:057c26b5c33a |
---|---|
6773 ts = 4; | 6773 ts = 4; |
6774 result = col > t->state->val * ts; | 6774 result = col > t->state->val * ts; |
6775 } | 6775 } |
6776 if (!result) | 6776 if (!result) |
6777 result = nfa_re_num_cmp(t->state->val, op, | 6777 result = nfa_re_num_cmp(t->state->val, op, |
6778 (long_u)win_linetabsize(wp, rex.line, col) + 1); | 6778 (long_u)win_linetabsize(wp, |
6779 rex.reg_firstlnum + rex.lnum, | |
6780 rex.line, col) + 1); | |
6779 if (result) | 6781 if (result) |
6780 { | 6782 { |
6781 add_here = TRUE; | 6783 add_here = TRUE; |
6782 add_state = t->state->out; | 6784 add_state = t->state->out; |
6783 } | 6785 } |