code: public ReadOnlyStyledDocumentBuilder<PS, SEG, S> addParagraph(SEG segment, StyleSpans<S> styles) {
          return addParagraph(segment, styles, null);
      }
docs: Adds to the list  a paragraph that has only one segment but a number of different styles throughout that segment