Skip to content

Is there anyway to have an inline css setstyle() for a StyleClassedTextArea or CodeArea please? #272

@05dfleming

Description

@05dfleming

I am so sorry to bother you about this, but just wondering if there was any way to set an inline css style such as area.setStyle(0,2, "-fx-fill: #00ff00 ; ") for a StyleClassedTextArea or CodeArea please? As I was hoping to have a way to take a colour from the fx colour picker then in real time then change the styles of certain words in code using that. But hoping to find an alternative to writing a few thousand colours in CSS to match the fx color picker :) As at the moment if I try that above, the colour just defaults to black. Any help would be massively appreciated, thanks :)

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