Skip to content

uiUnderlineSuggestion with uiUnderlineColorCustom #322

@mischnic

Description

@mischnic

uiUnderlineSuggestion doesn't work with uiUnderlineColorCustom:

In the drawtext example:

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, ") ");

bildschirmfoto 2018-03-27 um 23 00 27

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions