1- *eval.txt* For Vim version 8.1. Last change: 2018 Dec 18
1+ *eval.txt* For Vim version 8.1. Last change: 2018 Dec 24
22
33
44 VIM REFERENCE MANUAL by Bram Moolenaar
@@ -2318,7 +2318,7 @@ prompt_setcallback({buf}, {expr}) none set prompt callback function
23182318prompt_setinterrupt({buf} , {text} ) none set prompt interrupt function
23192319prompt_setprompt({buf} , {text} ) none set prompt text
23202320prop_add({lnum} , {col} , {props} ) none add a text property
2321- prop_clear({lnum} [, {lnum-end} [, {bufnr } ]])
2321+ prop_clear({lnum} [, {lnum-end} [, {props } ]])
23222322 none remove all text properties
23232323prop_find({props} [, {direction} ])
23242324 Dict search for a text property
@@ -6695,7 +6695,7 @@ prop_add({lnum}, {col}, {props})
66956695 used for a property that does not
66966696 continue in another line
66976697 "end_lnum" - line number for end of text
6698- "end_col" - column for end of text; not used when
6698+ "end_col" - last column of the text; not used when
66996699 "length" is present
67006700 "bufnr" - buffer to add the property to; when
67016701 omitted the current buffer is used
@@ -6710,6 +6710,10 @@ prop_add({lnum}, {col}, {props})
67106710 property that spans more than one line.
67116711 When neither "length" nor "end_col" are passed the property
67126712 will apply to one character.
6713+ The property can end exactly at the last character of the
6714+ text, or just after it. In the last case, if text is appended
6715+ to the line, the text property size will increase, also when
6716+ the property type does not have "end_incl" set.
67136717
67146718 "type" will first be looked up in the buffer the property is
67156719 added to. When not found, the global property types are used.
@@ -9233,7 +9237,8 @@ test_ignore_error({expr}) *test_ignore_error()*
92339237 error with try/catch cannot be used (because it skips over
92349238 following code).
92359239 {expr} is used literally, not as a pattern.
9236- There is currently no way to revert this.
9240+ When the {expr} is the string "RESET" then the list of ignored
9241+ errors is made empty.
92379242
92389243test_null_channel() *test_null_channel()*
92399244 Return a Channel that is null. Only useful for testing.
@@ -11004,8 +11009,8 @@ This does NOT work: >
1100411009 The parsing works slightly different from | :echo | ,
1100511010 more like | :execute | . All the expressions are first
1100611011 evaluated and concatenated before echoing anything.
11007- The expressions must evaluate to a Number or String, a
11008- Dictionary or List causes an error .
11012+ If expressions does not evaluate to a Number or
11013+ String, string() is used to turn it into a string .
1100911014 Uses the highlighting set by the | :echohl | command.
1101011015 Example: >
1101111016 :echomsg "It's a Zizzer Zazzer Zuzz, as you can plainly see."
@@ -11016,7 +11021,7 @@ This does NOT work: >
1101611021 message in the | message-history | . When used in a
1101711022 script or function the line number will be added.
1101811023 Spaces are placed between the arguments as with the
11019- :echo command. When used inside a try conditional,
11024+ | :echomsg | command. When used inside a try conditional,
1102011025 the message is raised as an error exception instead
1102111026 (see | try-echoerr | ).
1102211027 Example: >
0 commit comments