Mercurial > vim
comparison runtime/doc/usr_41.txt @ 25640:78ef12e0ce8c v8.2.3356
patch 8.2.3356: adding many text properties requires a lot of function calls
Commit: https://github.com/vim/vim/commit/ccfb7c6758510e0fe5f390149ea14aee6ff4f55e
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Mon Aug 16 21:39:09 2021 +0200
patch 8.2.3356: adding many text properties requires a lot of function calls
Problem: Adding many text properties requires a lot of function calls.
Solution: Add the prop_add_list() function. (Yegappan Lakshmanan,
closes #8751)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 16 Aug 2021 21:45:03 +0200 |
parents | 29ec2c198c8d |
children | 8d55e978f95b |
comparison
equal
deleted
inserted
replaced
25639:b5eedbdaca91 | 25640:78ef12e0ce8c |
---|---|
1159 prompt_setinterrupt() set interrupt callback for a buffer | 1159 prompt_setinterrupt() set interrupt callback for a buffer |
1160 prompt_setprompt() set the prompt text for a buffer | 1160 prompt_setprompt() set the prompt text for a buffer |
1161 | 1161 |
1162 Text Properties: *text-property-functions* | 1162 Text Properties: *text-property-functions* |
1163 prop_add() attach a property at a position | 1163 prop_add() attach a property at a position |
1164 prop_add_list() attach a property at multiple positions | |
1164 prop_clear() remove all properties from a line or lines | 1165 prop_clear() remove all properties from a line or lines |
1165 prop_find() search for a property | 1166 prop_find() search for a property |
1166 prop_list() return a list of all properties in a line | 1167 prop_list() return a list of all properties in a line |
1167 prop_remove() remove a property from a line | 1168 prop_remove() remove a property from a line |
1168 prop_type_add() add/define a property type | 1169 prop_type_add() add/define a property type |