Mercurial > vim
diff 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 |
line wrap: on
line diff
--- a/src/errors.h +++ b/src/errors.h @@ -2208,8 +2208,8 @@ EXTERN char e_failed_to_convert_returned 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_aft 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