Update runtime files.

This commit is contained in:
Bram Moolenaar
2018-12-18 21:41:50 +01:00
parent a86187b9cd
commit 9d87a37ee9
26 changed files with 545 additions and 284 deletions

View File

@ -1,4 +1,4 @@
*textprop.txt* For Vim version 8.1. Last change: 2018 Dec 13
*textprop.txt* For Vim version 8.1. Last change: 2018 Dec 14
VIM REFERENCE MANUAL by Bram Moolenaar
@ -72,8 +72,8 @@ Suppose line 11 in a buffer has this text (excluding the indent):
To highlight the numbers: >
call prop_type_add('number', {'highlight': 'Constant'})
call prop_add(11, 12, {'length': 3, 'type': 'number})
call prop_add(11, 32, {'length': 4, 'type': 'number})
call prop_add(11, 12, {'length': 3, 'type': 'number'})
call prop_add(11, 32, {'length': 4, 'type': 'number'})
Setting "start_incl" and "end_incl" is useful when white space surrounds the
text, e.g. for a function name. Using false is useful when the text starts
@ -86,7 +86,7 @@ and/or ends with a specific character, such as the quote surrounding a string.
^^^^^^ property with start_incl and end_incl not set
Nevertheless, when text is inserted or deleted the text may need to be parsed
and the text properties updated. But this can be done asynchrnously.
and the text properties updated. But this can be done asynchronously.
==============================================================================
2. Functions *text-prop-functions*