Mercurial > vim
comparison src/beval.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 | 45c182c4f7e9 |
children | 2650a01b8bbc |
comparison
equal
deleted
inserted
replaced
29450:67f31c24291b | 29451:057c26b5c33a |
---|---|
45 // number. | 45 // number. |
46 if (!mouse_comp_pos(wp, &row, &col, &lnum, NULL)) | 46 if (!mouse_comp_pos(wp, &row, &col, &lnum, NULL)) |
47 { | 47 { |
48 // Not past end of the file. | 48 // Not past end of the file. |
49 lbuf = ml_get_buf(wp->w_buffer, lnum, FALSE); | 49 lbuf = ml_get_buf(wp->w_buffer, lnum, FALSE); |
50 if (col <= win_linetabsize(wp, lbuf, (colnr_T)MAXCOL)) | 50 if (col <= win_linetabsize(wp, lnum, lbuf, (colnr_T)MAXCOL)) |
51 { | 51 { |
52 // Not past end of line. | 52 // Not past end of line. |
53 if (getword) | 53 if (getword) |
54 { | 54 { |
55 // For Netbeans we get the relevant part of the line | 55 // For Netbeans we get the relevant part of the line |