Architecture Diagrams for /vsch/flexmark-java[edit]
Packages / Module flexmark-util / com.vladsch.flexmark.util.sequence / ReplacedTextMapper

class ReplacedTextMapper

Class which tracks text replacements to provide original offset from modified offset. This is needed when the original based sequence needs to be un-escaped but offsets to original escaped text are needed. These replacements can be nested so that you can track replacements of replaced text. To add nested replacements use startNestedReplacement() when isModified() returns true then the text mapper is already used and nested replacements need to be applied
Class fields and methods
class ReplacedTextMapper
Class which tracks text replacements to provide original offset from mo...
constructor ReplacedTextMapper(original)
constructor ReplacedTextMapper(other)
method addOriginalText(startIndex,endIndex)
method addReplacedText(startIndex,endIndex,replacedSequence)
method finalizeMods()
method getParent()
method getRegions()
method getReplacedLength()
method getReplacedSegments()
method getReplacedSequence()
method isFinalized()
method isModified()
method originalOffset(replacedIndex)
method parentOriginalOffset(originalIndex)
method startNestedReplacement(sequence)