summaryrefslogtreecommitdiff
path: root/runtime/doc/textprop.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-05-30 20:54:13 +0200
committerBram Moolenaar <Bram@vim.org>2021-05-30 20:54:13 +0200
commitd2ea7cf10a4d026ebd402594d656af7d5c811c24 (patch)
tree0d72953a92ce37bbdfe87178ab6692ea7ed0d14c /runtime/doc/textprop.txt
parent6ef5ab59043681a51e8ca2ab0a1e4ff8f0f4bb47 (diff)
downloadvim-git-d2ea7cf10a4d026ebd402594d656af7d5c811c24.tar.gz
Update runtime files
Diffstat (limited to 'runtime/doc/textprop.txt')
-rw-r--r--runtime/doc/textprop.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/runtime/doc/textprop.txt b/runtime/doc/textprop.txt
index 2a6f40559..c1342905b 100644
--- 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-end}]])
{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