Mercurial > vim
comparison src/errors.h @ 29788:d08aa1bfe319 v9.0.0233
patch 9.0.0233: removing multiple text properties takes many calls
Commit: https://github.com/vim/vim/commit/a7704226a26b95b15bf87d3a3a5128e23e4aaa06
Author: Ben Jackson <puremourning@gmail.com>
Date: Sat Aug 20 20:54:51 2022 +0100
patch 9.0.0233: removing multiple text properties takes many calls
Problem: Removing multiple text properties takes many calls.
Solution: Pass a list to prop_remove(). (Ben Jackson, closes https://github.com/vim/vim/issues/10945)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 20 Aug 2022 22:00:03 +0200 |
parents | 9f8dd1b77563 |
children | bbe62ea78aac |
comparison
equal
deleted
inserted
replaced
29787:f3901ba52a12 | 29788:d08aa1bfe319 |
---|---|
2206 INIT(= N_("E858: Eval did not return a valid python object")); | 2206 INIT(= N_("E858: Eval did not return a valid python object")); |
2207 EXTERN char e_failed_to_convert_returned_python_object_to_vim_value[] | 2207 EXTERN char e_failed_to_convert_returned_python_object_to_vim_value[] |
2208 INIT(= N_("E859: Failed to convert returned python object to a Vim value")); | 2208 INIT(= N_("E859: Failed to convert returned python object to a Vim value")); |
2209 #endif | 2209 #endif |
2210 #ifdef FEAT_PROP_POPUP | 2210 #ifdef FEAT_PROP_POPUP |
2211 EXTERN char e_need_id_and_type_with_both[] | 2211 EXTERN char e_need_id_and_type_or_types_with_both[] |
2212 INIT(= N_("E860: Need 'id' and 'type' with 'both'")); | 2212 INIT(= N_("E860: Need 'id' and 'type' or 'types' with 'both'")); |
2213 # ifdef FEAT_TERMINAL | 2213 # ifdef FEAT_TERMINAL |
2214 EXTERN char e_cannot_open_second_popup_with_terminal[] | 2214 EXTERN char e_cannot_open_second_popup_with_terminal[] |
2215 INIT(= N_("E861: Cannot open a second popup with a terminal")); | 2215 INIT(= N_("E861: Cannot open a second popup with a terminal")); |
2216 # endif | 2216 # endif |
2217 #endif | 2217 #endif |
3314 EXTERN char e_cannot_use_negative_id_after_adding_textprop_with_text[] | 3314 EXTERN char e_cannot_use_negative_id_after_adding_textprop_with_text[] |
3315 INIT(= N_("E1293: Cannot use a negative id after adding a textprop with text")); | 3315 INIT(= N_("E1293: Cannot use a negative id after adding a textprop with text")); |
3316 EXTERN char e_can_only_use_text_align_when_column_is_zero[] | 3316 EXTERN char e_can_only_use_text_align_when_column_is_zero[] |
3317 INIT(= N_("E1294: Can only use text_align when column is zero")); | 3317 INIT(= N_("E1294: Can only use text_align when column is zero")); |
3318 #endif | 3318 #endif |
3319 #ifdef FEAT_PROP_POPUP | |
3320 EXTERN char e_cannot_specify_both_type_and_types[] | |
3321 INIT(= N_("E1295: Cannot specify both 'type' and 'types'")); | |
3322 #endif |