Mercurial > vim
comparison runtime/doc/textprop.txt @ 24751:e69e7133c9cf
Update runtime files
Commit: https://github.com/vim/vim/commit/d2ea7cf10a4d026ebd402594d656af7d5c811c24
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun May 30 20:54:13 2021 +0200
Update runtime files
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 30 May 2021 21:00:09 +0200 |
parents | 4ab4ef0c48b1 |
children | b427a26b0210 |
comparison
equal
deleted
inserted
replaced
24750:5039ed8ea97f | 24751:e69e7133c9cf |
---|---|
1 *textprop.txt* For Vim version 8.2. Last change: 2021 Mar 22 | 1 *textprop.txt* For Vim version 8.2. Last change: 2021 May 26 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
124 | 124 |
125 {props} is a dictionary with these fields: | 125 {props} is a dictionary with these fields: |
126 length length of text in bytes, can only be used | 126 length length of text in bytes, can only be used |
127 for a property that does not continue in | 127 for a property that does not continue in |
128 another line; can be zero | 128 another line; can be zero |
129 end_lnum line number for the end of text | 129 end_lnum line number for the end of text (inclusive) |
130 end_col column just after the text; not used when | 130 end_col column just after the text; not used when |
131 "length" is present; when {col} and "end_col" | 131 "length" is present; when {col} and "end_col" |
132 are equal, and "end_lnum" is omitted or equal | 132 are equal, and "end_lnum" is omitted or equal |
133 to {lnum}, this is a zero-width text property | 133 to {lnum}, this is a zero-width text property |
134 bufnr buffer to add the property to; when omitted | 134 bufnr buffer to add the property to; when omitted |
226 prop_remove({props} [, {lnum} [, {lnum-end}]]) | 226 prop_remove({props} [, {lnum} [, {lnum-end}]]) |
227 Remove a matching text property from line {lnum}. When | 227 Remove a matching text property from line {lnum}. When |
228 {lnum-end} is given, remove matching text properties from line | 228 {lnum-end} is given, remove matching text properties from line |
229 {lnum} to {lnum-end} (inclusive). | 229 {lnum} to {lnum-end} (inclusive). |
230 When {lnum} is omitted remove matching text properties from | 230 When {lnum} is omitted remove matching text properties from |
231 all lines. | 231 all lines (this requires going over all lines, thus will be a |
232 bit slow for a buffer with many lines). | |
232 | 233 |
233 {props} is a dictionary with these fields: | 234 {props} is a dictionary with these fields: |
234 id remove text properties with this ID | 235 id remove text properties with this ID |
235 type remove text properties with this type name | 236 type remove text properties with this type name |
236 both "id" and "type" must both match | 237 both "id" and "type" must both match |