Skip to content

Support for custom TextColor constants and static imported methods #846

@jpenilla

Description

@jpenilla

The new Adventure support is awesome and works great for NamedTextColors and when using the TextColor.color methods. However when statically importing these methods the support no longer functions.
Also, custom TextColor constants do not get the same gutter highlight as NamedTextColors when used.

Here is an image illustrating the difference:
image
(edit (unrelated): I'm also noticing that the qualified NamedTextColor.RED renders different from the same constant statically imported)

Metadata

Metadata

Assignees

Labels

status: acceptedThis is a high-priority feature or a reproduced bugtype: bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions