getStyle

open fun getStyle(doc: StyledDocument): Style?

Answer the active style for the receiver and the specified StyledDocument.

Return

The applied textual style, if the receiver is registered with the argument; otherwise, null.

Parameters

doc

The styled document.