comparison runtime/doc/textprop.txt @ 25822:42723b535ab3 v8.2.3446

patch 8.2.3446: not enough tests for empty string arguments Commit: https://github.com/vim/vim/commit/820d5525cae707f39571c6abc2aa6a9e66ed171e Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Fri Sep 17 21:07:35 2021 +0200 patch 8.2.3446: not enough tests for empty string arguments Problem: Not enough tests for empty string arguments. Solution: Add tests, fix type check. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/8881)
author Bram Moolenaar <Bram@vim.org>
date Fri, 17 Sep 2021 21:15:03 +0200
parents d4faa2c5211b
children 685206b54ecf
comparison
equal deleted inserted replaced
25821:ef98a99ef1ae 25822:42723b535ab3
158 added to. When not found, the global property types are used. 158 added to. When not found, the global property types are used.
159 If not found an error is given. 159 If not found an error is given.
160 160
161 Can also be used as a |method|: > 161 Can also be used as a |method|: >
162 GetLnum()->prop_add(col, props) 162 GetLnum()->prop_add(col, props)
163 163 <
164 *prop_add_list()* 164 *prop_add_list()*
165 prop_add_list({props}, [[{lnum}, {col}, {end-lnum}, {end-col}], ...]) 165 prop_add_list({props}, [[{lnum}, {col}, {end-lnum}, {end-col}], ...])
166 Similar to prop_add(), but attaches a text property at 166 Similar to prop_add(), but attaches a text property at
167 multiple positions in a buffer. 167 multiple positions in a buffer.
168 168