Choose the right RichTextFX area class
masterRichTextFX provides several 'flavors' of text areas depending on whether you need to display custom objects (like images or emojis) or just styled text.
GenericStyledArea: The base class. Use this if you need to inline custom objects (images, hyperlinks, etc.) alongside text. It uses generics for paragraph styles (PS), segment objects (SEG), and segment styles (S).StyledTextArea: The most common choice if you only need styled text. It extendsGenericStyledAreausingStyledText<S>(a combination of a String and a style object).InlineCssTextArea: A subclass ofStyledTextAreathat allows styling via inline CSS strings.StyleClassedTextArea: A subclass ofStyledTextAreathat allows styling via CSS style classes defined in an external stylesheet.CodeArea: A subclass ofStyleClassedTextAreaoptimized for code editors, using a fixed-width font by default.