Summary
Adds missing API in the StyledTextModel necessary for toggling of individual paragraph attributes.
Problem
Impossible to turn on or off a single paragraph attribute (or a set of attributes) separately from already existing paragraph attributes.
Solution
Add a missing method
protected abstract StyledTextModel.applyParagraphStyle(int index, StyleAttributeMap paragraphAttrs);
to complement the existing protected abstract void setParagraphStyle(int index, StyleAttributeMap paragraphAttrs);
Specification
See the attached diff file.
- csr of
-
JDK-8372298 RichTextArea: missing API: applyParagraphStyle
-
- In Progress
-