Skip to content

CodeArea styling issue #347

@jtrunick

Description

@jtrunick

I set my CodeArea background color to black, this means that I'm typing "in the dark" until my highlighting logic catches up. I'm borrowing very heavily from the Async example.

I added this so that the text will show up as something visible right away:

.styled-text-area .text {
    -fx-fill: purple;
}

However, now the problem is that my StyleSpans for color is being overriden by this one. I'm not savvy enough to figure out how to fix this by somehow tweaking the passed in styling classes to be more specific. How should I address this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions