diff options
author | Ben Jackson <puremourning@gmail.com> | 2022-08-20 20:54:51 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-08-20 20:54:51 +0100 |
commit | a7704226a26b95b15bf87d3a3a5128e23e4aaa06 (patch) | |
tree | c0f1d18d5e6afd512a9f5dbeb1e5b0e1d9837f07 /src/errors.h | |
parent | 38ea5bda2b699d91e339fb116d96e3a4f2e69c89 (diff) |
patch 9.0.0233: removing multiple text properties takes many callsv9.0.0233
Problem: Removing multiple text properties takes many calls.
Solution: Pass a list to prop_remove(). (Ben Jackson, closes #10945)
Diffstat (limited to 'src/errors.h')
-rw-r--r-- | src/errors.h | 8 |
1 files changed, 6 insertions, 2 deletions
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 |