Mercurial > vim
comparison src/structs.h @ 15259:b42b47c0bb80 v8.1.0638
patch 8.1.0638: text property highlighting is off by one column
commit https://github.com/vim/vim/commit/48f88ac85be8446a42a03cec45264eac21f9eba8
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Dec 26 00:25:20 2018 +0100
patch 8.1.0638: text property highlighting is off by one column
Problem: Text property highlighting is off by one column. (Bjorn Linse)
Solution: Update text property highlighting earlier. Let it overrule syntax
highlighting.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 26 Dec 2018 00:30:06 +0100 |
parents | 19e79a1ed6b6 |
children | a6319aca721b |
comparison
equal
deleted
inserted
replaced
15258:5d2e3df2ca52 | 15259:b42b47c0bb80 |
---|---|
703 * When stored in memline they are after the text, ml_line_len is larger than | 703 * When stored in memline they are after the text, ml_line_len is larger than |
704 * STRLEN(ml_line_ptr) + 1. | 704 * STRLEN(ml_line_ptr) + 1. |
705 */ | 705 */ |
706 typedef struct textprop_S | 706 typedef struct textprop_S |
707 { | 707 { |
708 colnr_T tp_col; // start column | 708 colnr_T tp_col; // start column (one based) |
709 colnr_T tp_len; // length in bytes | 709 colnr_T tp_len; // length in bytes |
710 int tp_id; // identifier | 710 int tp_id; // identifier |
711 int tp_type; // property type | 711 int tp_type; // property type |
712 int tp_flags; // TP_FLAG_ values | 712 int tp_flags; // TP_FLAG_ values |
713 } textprop_T; | 713 } textprop_T; |