applyPhrasePaths

fun StyledDocument.applyPhrasePaths(phrasePathsRecord: Repository.PhrasePathRecord)

Apply all style runs to the receiver. Each style name is treated as a comma-separated composite. Rendered styles compose rather than replace. This must only be invoked on the Swing UI thread.

Parameters

phrasePathsRecord

The PhrasePathRecord containing information about phrase structure that should be applied as invisible styles to the StyledDocument.