Rendering Engine
The RenderingEngine renders runs of source text. To achieve this for some run R, it queries the active stylesheet with the run's style classifiers and then uses the obtained rendering context to set the character attributes of R.
Author
Todd L Smith
Functions
Link copied to clipboard
fun StyledDocument.applyStyleRuns( stylesheet: Stylesheet, runs: List<StyleRun>, replace: Boolean = true)
Content copied to clipboard
Apply all style runs to the receiver, using the supplied stylesheet to obtain an appropriate rendering context for each run. Must be invoked on the Swing UI thread.