summaryrefslogtreecommitdiffstats
path: root/src/errors.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-12-19 13:31:06 +0000
committerBram Moolenaar <Bram@vim.org>2022-12-19 13:31:06 +0000
commit4ce1f99a2d58b809ab5a5c602bd031426f8527e8 (patch)
tree557dfdf60433feee20ea24ae7fc8fbde67e26c59 /src/errors.h
parent8efdcee02ed02cf9e51e1757441715c2479757ee (diff)
patch 9.0.1077: can add text property with negative ID before virtual textv9.0.1077
Problem: Can add text property with negative ID before virtual text property. Solution: Remember that a text property with a negative ID was used and give an appropriate error message. (closes #11725) Fix index computation.
Diffstat (limited to 'src/errors.h')
-rw-r--r--src/errors.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/errors.h b/src/errors.h
index 345b4ac2e5..e33f2e66b2 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -3397,3 +3397,7 @@ EXTERN char e_class_member_not_found_str[]
EXTERN char e_member_not_found_on_class_str_str[]
INIT(= N_("E1338: Member not found on class \"%s\": %s"));
#endif
+#ifdef FEAT_PROP_POPUP
+EXTERN char e_cannot_add_textprop_with_text_after_using_textprop_with_negative_id[]
+ INIT(= N_("E1339: Cannot add a textprop with text after using a textprop with a negative id"));
+#endif