Mercurial > vim
comparison runtime/doc/eval.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 | 000b37efd5fa |
comparison
equal
deleted
inserted
replaced
25639:b5eedbdaca91 | 25640:78ef12e0ce8c |
---|---|
2799 printf({fmt}, {expr1}...) String format text | 2799 printf({fmt}, {expr1}...) String format text |
2800 prompt_getprompt({buf}) String get prompt text | 2800 prompt_getprompt({buf}) String get prompt text |
2801 prompt_setcallback({buf}, {expr}) none set prompt callback function | 2801 prompt_setcallback({buf}, {expr}) none set prompt callback function |
2802 prompt_setinterrupt({buf}, {text}) none set prompt interrupt function | 2802 prompt_setinterrupt({buf}, {text}) none set prompt interrupt function |
2803 prompt_setprompt({buf}, {text}) none set prompt text | 2803 prompt_setprompt({buf}, {text}) none set prompt text |
2804 prop_add({lnum}, {col}, {props}) none add a text property | 2804 prop_add({lnum}, {col}, {props}) none add one text property |
2805 prop_add_list({props}, [[{lnum}, {col}, {end-lnum}, {end-col}], ...]) | |
2806 none add multiple text properties | |
2805 prop_clear({lnum} [, {lnum-end} [, {props}]]) | 2807 prop_clear({lnum} [, {lnum-end} [, {props}]]) |
2806 none remove all text properties | 2808 none remove all text properties |
2807 prop_find({props} [, {direction}]) | 2809 prop_find({props} [, {direction}]) |
2808 Dict search for a text property | 2810 Dict search for a text property |
2809 prop_list({lnum} [, {props}]) List text properties in {lnum} | 2811 prop_list({lnum} [, {props}]) List text properties in {lnum} |