Class MarkdownParagraph


  • public class MarkdownParagraph
    extends Object
    • Field Detail

      • EMPTY_LEAD_IN_HANDLERS

        public static final List<com.vladsch.flexmark.util.sequence.mappers.SpecialLeadInHandler> EMPTY_LEAD_IN_HANDLERS
    • Constructor Detail

      • MarkdownParagraph

        public MarkdownParagraph​(CharSequence chars)
      • MarkdownParagraph

        public MarkdownParagraph​(com.vladsch.flexmark.util.sequence.BasedSequence chars)
      • MarkdownParagraph

        public MarkdownParagraph​(@NotNull
                                 @NotNull com.vladsch.flexmark.util.sequence.BasedSequence chars,
                                 @NotNull
                                 @NotNull CharWidthProvider charWidthProvider)
      • MarkdownParagraph

        public MarkdownParagraph​(@NotNull
                                 @NotNull com.vladsch.flexmark.util.sequence.BasedSequence chars,
                                 @NotNull
                                 @NotNull com.vladsch.flexmark.util.sequence.BasedSequence altChars,
                                 @NotNull
                                 @NotNull CharWidthProvider charWidthProvider)
    • Method Detail

      • wrapTextNotTracked

        public com.vladsch.flexmark.util.sequence.BasedSequence wrapTextNotTracked()
      • getContinuationStartSplice

        @NotNull
        public @NotNull com.vladsch.flexmark.util.sequence.Range getContinuationStartSplice​(int offset,
                                                                                            boolean afterSpace,
                                                                                            boolean afterDelete)
      • wrapText

        public com.vladsch.flexmark.util.sequence.BasedSequence wrapText()
      • addTrackedOffset

        public void addTrackedOffset​(@NotNull
                                     @NotNull TrackedOffset trackedOffset)
      • getTrackedOffset

        @Nullable
        public @Nullable TrackedOffset getTrackedOffset​(int offset)
      • getLeadInHandlers

        @NotNull
        public @NotNull List<? extends com.vladsch.flexmark.util.sequence.mappers.SpecialLeadInHandler> getLeadInHandlers()
      • setLeadInHandlers

        public void setLeadInHandlers​(@NotNull
                                      @NotNull List<? extends com.vladsch.flexmark.util.sequence.mappers.SpecialLeadInHandler> leadInHandlers)
      • getOptions

        @Nullable
        public @Nullable com.vladsch.flexmark.util.data.DataHolder getOptions()
      • setOptions

        public void setOptions​(@Nullable
                               @Nullable com.vladsch.flexmark.util.data.DataHolder options)
      • isRestoreTrackedSpaces

        public boolean isRestoreTrackedSpaces()
      • setRestoreTrackedSpaces

        public void setRestoreTrackedSpaces​(boolean restoreTrackedSpaces)
      • getChars

        @NotNull
        public @NotNull com.vladsch.flexmark.util.sequence.BasedSequence getChars()
      • setFirstIndent

        public void setFirstIndent​(CharSequence firstIndent)
      • setIndent

        public void setIndent​(CharSequence indent)
      • getFirstWidth

        public int getFirstWidth()
      • getFirstWidthOffset

        public int getFirstWidthOffset()
      • setFirstWidthOffset

        public void setFirstWidthOffset​(int firstWidthOffset)
      • getWidth

        public int getWidth()
      • setWidth

        public void setWidth​(int width)
      • getKeepHardBreaks

        public boolean getKeepHardBreaks()
      • setKeepHardBreaks

        public void setKeepHardBreaks​(boolean keepHardBreaks)
      • getKeepSoftBreaks

        public boolean getKeepSoftBreaks()
      • isUnEscapeSpecialLeadIn

        public boolean isUnEscapeSpecialLeadIn()
      • setUnEscapeSpecialLeadIn

        public void setUnEscapeSpecialLeadIn​(boolean unEscapeSpecialLeadInChars)
      • isEscapeSpecialLeadIn

        public boolean isEscapeSpecialLeadIn()
      • setEscapeSpecialLeadIn

        public void setEscapeSpecialLeadIn​(boolean escapeSpecialLeadInChars)
      • setKeepSoftBreaks

        public void setKeepSoftBreaks​(boolean keepLineBreaks)
      • getCharWidthProvider

        @NotNull
        public @NotNull CharWidthProvider getCharWidthProvider()