allocateFragmentsList()
Routine available to DocumentRenderer implementations to allocate
a fragments list (for reuse) which is not in use.

void

calculateDamage(javax.swing.event.DocumentEvent changes,
NumberRange damageRange)
Calculates what range of the document is "damaged" or needs to be
repainted based on a given insert or removal of text.

getTextBuffer()
Convenience method for fetching the text buffer associated with
this provider.

void

notifyUpdate(javax.swing.event.DocumentEvent changes)
Notifies the DocumentRenderer that the given document has been
updated - this allows DocumentRenderers which cache offset
information to update or invalidate their cache.

renderOffets

Renders a region of text based on the offset information provided.
The startOffset and endOffset are both inclusive, for example, with
startOffset of 1 and endOffset of 5, renderOffets will render 5 characters.

calculateDamage

Calculates what range of the document is "damaged" or needs to be
repainted based on a given insert or removal of text. As with
renderLines(), starting and ending offsets returned via
damageRange are both inclusive. (This is different from
endingOffsets, which are generally exclusive.) This is called
only when the insert or removal does not change the line count
(which would change the size of the text component and force a
full repaint.)