comparison src/errors.h @ 26022:30e60bfd5fb3 v8.2.3545

patch 8.2.3545: setcellwidths() may make 'listchars' or 'fillchars' invalid Commit: https://github.com/vim/vim/commit/94358a1e6e640ca5ebeb295efdddd4e92b700673 Author: zeertzjq <zeertzjq@outlook.com> Date: Wed Oct 20 11:01:15 2021 +0100 patch 8.2.3545: setcellwidths() may make 'listchars' or 'fillchars' invalid Problem: setcellwidths() may make 'listchars' or 'fillchars' invalid. Solution: Check the value and give an error. (closes https://github.com/vim/vim/issues/9024)
author Bram Moolenaar <Bram@vim.org>
date Wed, 20 Oct 2021 12:15:04 +0200
parents aade8ef975d5
children cb5f2515a450
comparison
equal deleted inserted replaced
26021:ea28bf13ad1b 26022:30e60bfd5fb3
158 INIT(= N_("E710: List value has more items than targets")); 158 INIT(= N_("E710: List value has more items than targets"));
159 EXTERN char e_list_value_does_not_have_enough_items[] 159 EXTERN char e_list_value_does_not_have_enough_items[]
160 INIT(= N_("E711: List value does not have enough items")); 160 INIT(= N_("E711: List value does not have enough items"));
161 EXTERN char e_cannot_slice_dictionary[] 161 EXTERN char e_cannot_slice_dictionary[]
162 INIT(= N_("E719: Cannot slice a Dictionary")); 162 INIT(= N_("E719: Cannot slice a Dictionary"));
163 EXTERN char e_conflicts_with_value_of_listchars[]
164 INIT(= N_("E834: Conflicts with value of 'listchars'"));
165 EXTERN char e_conflicts_with_value_of_fillchars[]
166 INIT(= N_("E835: Conflicts with value of 'fillchars'"));
163 EXTERN char e_assert_fails_second_arg[] 167 EXTERN char e_assert_fails_second_arg[]
164 INIT(= N_("E856: \"assert_fails()\" second argument must be a string or a list with one or two strings")); 168 INIT(= N_("E856: \"assert_fails()\" second argument must be a string or a list with one or two strings"));
165 EXTERN char e_using_invalid_value_as_string_str[] 169 EXTERN char e_using_invalid_value_as_string_str[]
166 INIT(= N_("E908: using an invalid value as a String: %s")); 170 INIT(= N_("E908: using an invalid value as a String: %s"));
167 EXTERN char e_cannot_index_special_variable[] 171 EXTERN char e_cannot_index_special_variable[]