Mercurial > vim
diff 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 |
line wrap: on
line diff
--- a/runtime/doc/textprop.txt +++ b/runtime/doc/textprop.txt @@ -1,4 +1,4 @@ -*textprop.txt* For Vim version 8.2. Last change: 2021 Mar 22 +*textprop.txt* For Vim version 8.2. Last change: 2021 May 26 VIM REFERENCE MANUAL by Bram Moolenaar @@ -126,7 +126,7 @@ prop_add({lnum}, {col}, {props}) length length of text in bytes, can only be used for a property that does not continue in another line; can be zero - end_lnum line number for the end of text + end_lnum line number for the end of text (inclusive) end_col column just after the text; not used when "length" is present; when {col} and "end_col" are equal, and "end_lnum" is omitted or equal @@ -228,7 +228,8 @@ prop_remove({props} [, {lnum} [, {lnum-e {lnum-end} is given, remove matching text properties from line {lnum} to {lnum-end} (inclusive). When {lnum} is omitted remove matching text properties from - all lines. + all lines (this requires going over all lines, thus will be a + bit slow for a buffer with many lines). {props} is a dictionary with these fields: id remove text properties with this ID