render To
fun renderTo( document: StyledDocument, classifiers: String, range: IntRange, replace: Boolean = true)
Content copied to clipboard
Apply the receiver to the specified range of the target StyledDocument.
Parameters
document
The target StyledDocument.
classifiers
The classifier sequence associated with the range. A NameAttribute will be attached to the range, to support the style classifier introspection feature.
replace
Indicates whether or not the previous attributes should be cleared before the new attributes are set. If true, the operation will replace the previous attributes entirely. If false, the new attributes will be merged with the previous attributes.