-
Enhancement
-
Resolution: Unresolved
-
P2
-
None
-
- sn_135
- sn_136
- sn_137
- sn_138
- sn_139
- sn_140
- sn_141
- sn_143
- sn_144
- sn_145
- sn_146
- sn_147
- sn_148
- sn_149
- sn_150
- sn_151
- sn_155
- sn_156
- sn_157
- sn_158
- sn_159
- sn_160
- sn_161
- sn_162
- sn_163
- sn_164
- sn_166
- sn_167
- sn_169
- sn_170
- sn_171
- sn_172
- sn_173
- sn_174
- sn_175
- sn_176
- sn_177
- sn_179
- sn_180
- sn_181
- sn_182
- sn_183
- sn_184
- sn_185
-
Fix Understood
While a number of open source projects exists [0], [1], it would be nice to have such a control included in the core, which either supports most of the desired functionality out of the box, or can be extended easily to support additional requirements.
The exact list of features is TBD at this moment, but it should be possible to:
- use large (but narrow) text models
- easily extend the base control to add custom elements, line numbers, markers, etc.
- custom highlights and spell checker squiggly lines
- keyboard and mouse navigation, with possibility of custom navigation (such as skipping non-editable sections)
- rich text copy/paste
- "size to content" mode that turns off the scroll bars
- custom tab size (custom tab stops will not be supported)
- multiple views connected to the same model
- styling via CSS or direct style
- single selection (multiple selection or rectangular selection will not be supported)
The first step is to analyze possible missing APIs - see JDK-8300569
NOTES
Third party projects:
[0] https://github.com/FXMisc/RichTextFX
[1] https://github.com/gluonhq/rich-text-area
[2] https://github.com/andy-goryachev/FxEditor
TODO
- don't forget to update javadoc for TextArea where it mentions rich text editing.
- csr for
-
JDK-8344643 RichTextArea Control (Incubator)
- Finalized
- duplicates
-
JDK-8091043 RichTextArea component (reading & editing)
- Closed
- is blocked by
-
JDK-8304831 TextFlow.hitTest.insertionIndex incorrect with surrogate pairs
- Resolved
-
JDK-8305001 TextFlow.caretShape() ignores inline Nodes
- Closed
-
JDK-8309381 Support JavaFX incubator modules
- Resolved
- relates to
-
JDK-8300569 ☂ Missing APIs related to rich text control
- In Progress
-
JDK-8091562 Manage individual blocks of text inside a TextArea as if they were a Node
- Closed
-
JDK-8341671 [Text/TextFlow] getCaretInfo
- Open
-
JDK-8341670 [Text,TextFlow] Public API for Text Layout Info
- In Progress
-
JDK-8343646 Public InputMap (Incubator)
- In Progress
- links to
-
Review(master) openjdk/jfx/1524