We are using TextFragmentAbsorber to find and redact text in a PDF. The redactions are marked with square brackets like [Reason], and the logic does the following:
Finds all fragments matching regex: \[(?s)(.*?)\]
Upda…...Text , the rendered output in the final PDF shows...recommended way to force proper re-rendering after modifying TextFragment...