From a7704226a26b95b15bf87d3a3a5128e23e4aaa06 Mon Sep 17 00:00:00 2001 From: Ben Jackson Date: Sat, 20 Aug 2022 20:54:51 +0100 Subject: 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 #10945) --- src/errors.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/errors.h') diff --git a/src/errors.h b/src/errors.h index bc1145db8c..716ec32d8e 100644 --- a/src/errors.h +++ b/src/errors.h @@ -2208,8 +2208,8 @@ EXTERN char e_failed_to_convert_returned_python_object_to_vim_value[] INIT(= N_("E859: Failed to convert returned python object to a Vim value")); #endif #ifdef FEAT_PROP_POPUP -EXTERN char e_need_id_and_type_with_both[] - INIT(= N_("E860: Need 'id' and 'type' with 'both'")); +EXTERN char e_need_id_and_type_or_types_with_both[] + INIT(= N_("E860: Need 'id' and 'type' or 'types' with 'both'")); # ifdef FEAT_TERMINAL EXTERN char e_cannot_open_second_popup_with_terminal[] INIT(= N_("E861: Cannot open a second popup with a terminal")); @@ -3316,3 +3316,7 @@ EXTERN char e_cannot_use_negative_id_after_adding_textprop_with_text[] EXTERN char e_can_only_use_text_align_when_column_is_zero[] INIT(= N_("E1294: Can only use text_align when column is zero")); #endif +#ifdef FEAT_PROP_POPUP +EXTERN char e_cannot_specify_both_type_and_types[] + INIT(= N_("E1295: Cannot specify both 'type' and 'types'")); +#endif -- cgit v1.2.3