RichTextArea: consider new attributes in StyleAttributeMap

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: jfx24
    • Component/s: javafx
    • None

      User feedback (see https://mail.openjdk.org/pipermail/openjfx-discuss/2025-August/000267.html ):

      The following StyleAttributes should be added to StyleAttributeMap: INLINE_STYLE, STYLE_NAMES, TEXT_HIGHLIGHT, and WAVY_UNDERLINE. At the moment none of these are easily or directly available, and I believe from a user perspective that they should be.

      Related:
      Consider splitting StyleAttributes into TextAttributes and ParagraphAttributes then INLINE_STYLE and STYLE_NAMES can appear in both. Possibly then also have a DecoratorAttribute if needed for TEXT_HIGHLIGHT and WAVY_UNDERLINE, if that'll make implementation easier but it should I believe from a user perspective still go into/through StyleAttributeMap as all styling should preferably be in one place.

            Assignee:
            Andy Goryachev
            Reporter:
            Andy Goryachev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: