Package jfx.incubator.scene.control.richtext
package jfx.incubator.scene.control.richtext
Provides two controls for displaying and editing large, virtualized, rich text documents:
RichTextArea
and
CodeArea
.
While RichTextArea
works with styled text and embedded Nodes,
the CodeArea
is optimized for plain text documents with syntax highlighting.
Incubating Feature. Will be removed in a future release.
- Since:
- 24
-
ClassDescriptionCodeArea is an editable text component which supports styling (for example, syntax highlighting) of plain text.Side decorator which shows paragraph (line) numbers.Tracks the text position in a document in the presence of edits.The RichTextArea control is designed for visualizing and editing rich text that can be styled in a variety of ways.Function tags serve as identifiers of methods that can be customized via the
InputMap
.A Selection model that maintains a singleSelectionSegment
.Text selection segment, comprised of the selection anchor and the caret positions.Provides a way to add side decorations to each paragraph in aRichTextArea
.ThisSelectionModel
supports a single selection segment.This functional interface defines a style attribute handler.Style Handler Registry keeps track of theStyleAttributeHandler
for supportedStyleAttribute
s.The builder used to create an immutable instance ofStyleHandlerRegistry
.Enables conversion of CSS styles toStyleAttribute
s.Decorates plain text by producing aRichParagraph
.An immutable position within the text.