code: public static <S> Node createStyledTextNode(StyledSegment<String, S> seg,
                                                  BiConsumer<? super TextExt, S> applyStyle) {
          return createStyledTextNode(seg.getSegment(), seg.getStyle(), applyStyle);
      }
docs: Creates a {@link TextExt} node using the given styled text.