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 :)
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 :)