From 20a94937b31e412e115fe0e91f9184e5e45ef754 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Thu, 22 Feb 2018 20:58:40 -0500 Subject: [PATCH] More TODOs. --- ui_attrstr.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui_attrstr.h b/ui_attrstr.h index c2da9a4a..9b02035d 100644 --- a/ui_attrstr.h +++ b/ui_attrstr.h @@ -390,7 +390,8 @@ _UI_EXTERN void uiAttributedStringSetAttribute(uiAttributedString *s, uiAttribut // uiAttributes in s. It is an error to modify s in f. Within f, s still // owns the attribute; you can neither free it nor save it for later // use. -// TODO reword the above for consistency +// TODO reword the above for consistency (TODO and find out what I meant by that) +// TODO define an enumeration order (or mark it as undefined); also define how consecutive runs of identical attributes are handled here and sync with the definition of uiAttributedString itself _UI_EXTERN void uiAttributedStringForEachAttribute(const uiAttributedString *s, uiAttributedStringForEachAttributeFunc f, void *data); // TODO const correct this somehow (the implementation needs to mutate the structure)