Initial design let CodeArea (CA) simply extend RichTextArea (RTA). The problem is that some properties (and associated behavior) in the RichTextArea might clash or may not be needed in CodeArea and vice versa.
For example, RTA.insertStyles property makes no sense for CA, and RTA.tabStopPolicy (future enhancement JDK-8356042) might clash with the CA.tabSize property.
For example, RTA.insertStyles property makes no sense for CA, and RTA.tabStopPolicy (future enhancement JDK-8356042) might clash with the CA.tabSize property.
- relates to
-
JDK-8356042 RichTextArea: tab stops attributes
-
- In Progress
-