RichTextModel: improve inline nodes support

XMLWordPrintable

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

      Default RichTextArea model should support inline nodes (directly or through extension):

      - editing
      - copy/paste
      - saving/loading

      User feedback:
      ... the addition of something like the following method to StyledTextModel:
        protected abstract int insertNodeSegment(int index, int offset, Supplier<Node> sup, StyleAttributeMap? attrs?);
      and that the method:
        public final TextPos replace(..., StyledInput input)
      then handles INLINE_NODE and appropriately invokes this added insertNodeSegment method.

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

              Created:
              Updated: