Mercurial > vim
diff runtime/doc/textprop.txt @ 32004:a9b5ffbc0428
Update runtime files.
Commit: https://github.com/vim/vim/commit/938ae280c79b8cdb0fca60336ec4c090ecd8bb5a
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Feb 20 20:44:55 2023 +0000
Update runtime files.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 20 Feb 2023 22:00:05 +0100 |
parents | cc751d944b7e |
children | 2a17771529af |
line wrap: on
line diff
--- a/runtime/doc/textprop.txt +++ b/runtime/doc/textprop.txt @@ -56,7 +56,7 @@ how to highlight the text. The property priority will be used. "start_incl" when TRUE inserts at the start position will be included in the text property - "end_incl" when TRUE inserts at the end position will be + "end_incl" when TRUE inserts at the end position will be included in the text property @@ -107,14 +107,14 @@ prop_type_list([{props}]) get list of p Manipulating text properties: -prop_add({lnum}, {col}, {props}) add a text property +prop_add({lnum}, {col}, {props}) add a text property prop_add_list({props}, [{item}, ...]) add a text property at multiple positions. prop_clear({lnum} [, {lnum-end} [, {bufnr}]]) remove all text properties prop_find({props} [, {direction}]) search for a text property -prop_list({lnum} [, {props}]) text properties in {lnum} +prop_list({lnum} [, {props}]) text properties in {lnum} prop_remove({props} [, {lnum} [, {lnum-end}]]) remove a text property @@ -149,7 +149,7 @@ prop_add({lnum}, {col}, {props}) highlighting; cannot be used with "length", "end_lnum" and "end_col" See |virtual-text| for more information. - *E1294* + *E1294* text_align when "text" is present and {col} is zero; specifies where to display the text: after after the end of the line @@ -172,7 +172,7 @@ prop_add({lnum}, {col}, {props}) fit: wrap wrap the text to the next line truncate truncate the text to make it fit - When omitted "truncate" is used. + When omitted "truncate" is used. Note that this applies to the individual text property, the 'wrap' option sets the overall behavior