uiUnderlineSuggestion with uiUnderlineColorCustom
- 主要语言
- C
- 星标
- 10.9k
- 派生
- 612
- PR 合并指标
- 30 天内没有已合并 PR
描述
`uiUnderlineSuggestion` doesn't work with `uiUnderlineColorCustom`:
In the drawtext example:
```c
uiAttributedStringAppendUnattributed(attrstr, "Furthermore, there are attributes allowing for ");
attr = uiNewUnderlineAttribute(uiUnderlineSuggestion);
attr2 = uiNewUnderlineColorAttribute(uiUnderlineColorSpelling, 0, 0, 0, 0);
appendWithAttribute("special underlines for indicating spelling errors", attr, attr2);
uiAttributedStringAppendUnattributed(attrstr, " (");
attr = uiNewUnderlineAttribute(uiUnderlineSuggestion);
attr2 = uiNewUnderlineColorAttribute(uiUnderlineColorCustom, 0.1, 0.1, 0.9, 1);
appendWithAttribute("and other types of errors", attr, attr2);
uiAttributedStringAppendUnattributed(attrstr, ") ");
```

贡献指南
评估
这个 Issue 还没有评估数据。