# 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

- Related Packages
  Package
  Description
  jfx.incubator.scene.control.richtext.model
  Provides common models for `RichTextArea` and `CodeArea` controls.
  jfx.incubator.scene.control.richtext.skin
  Contains RichTextArea skin and related classes.
- Class
  Description
  CodeArea
  CodeArea is an editable text component which supports styling (for example, syntax highlighting) of plain text.
  LineEnding
  Specifies line separator (line ending) characters.
  LineNumberDecorator
  Side decorator which shows paragraph (line) numbers.
  Marker
  Tracks the text position in a document in the presence of edits.
  RichTextArea
  The RichTextArea control is designed for visualizing and editing rich text that can be styled in a variety of ways.
  RichTextArea.Tag
  Function tags serve as identifiers of methods that can be customized via the `InputMap`.
  SelectionModel
  A Selection model that maintains a single `SelectionSegment`.
  SelectionSegment
  Text selection segment, comprised of the selection anchor and the caret positions.
  SideDecorator
  Provides a way to add side decorations to each paragraph in a `RichTextArea`.
  SingleSelectionModel
  This `SelectionModel` supports a single selection segment.
  StyleAttributeHandler<C extends RichTextArea, T>
  This functional interface defines a style attribute handler.
  StyleHandlerRegistry
  Style Handler Registry keeps track of the `StyleAttributeHandler` for supported `StyleAttribute`s.
  StyleHandlerRegistry.Builder
  The builder used to create an immutable instance of `StyleHandlerRegistry`.
  StyleResolver
  Enables conversion of CSS styles to `StyleAttribute`s.
  SyntaxDecorator
  Decorates plain text by producing a `RichParagraph`.
  TextPos
  An immutable position within the text.