Hi there,
I want to append texts with different style. E.g. the below code, I want the first "Hello" to be appended in bold, and the second "world" to in Italic, how can I set such styling for each append?
by the way, this library is awesome!
@FXML
private StyleClassedTextArea testTextArea;
void test(){
testTextArea.appendText("Hello"); //to append Hello in Bold.
testTextArea.appendText("World"); //to append Hello in Italic.
}
I tried looking into other issues and questions by others, but unfortunately didn't find the answer.
And second question, Which one is using less memory? InlineCssTextArea or StyleClassedTextArea or CodeArea?
Hi there,
I want to append texts with different style. E.g. the below code, I want the first "Hello" to be appended in bold, and the second "world" to in Italic, how can I set such styling for each append?
by the way, this library is awesome!
I tried looking into other issues and questions by others, but unfortunately didn't find the answer.
And second question, Which one is using less memory? InlineCssTextArea or StyleClassedTextArea or CodeArea?