setStyle

open fun setStyle(doc: StyledDocument): Style

Apply the appropriate variant of the receiving style to the specified StyledDocument based on the active theme.

Return

The applied textual style.

Parameters

doc

The document with which to register the receiver.