GRAMMATICAL_RESTRICTION_DEFINITION

Functions

Link copied to clipboard
open override fun darkStyle(doc: StyledDocument): Style

Apply the dark-themed variant of the receiving style to the specified StyledDocument.

Link copied to clipboard
open fun getStyle(doc: StyledDocument): Style?

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

Link copied to clipboard
open override fun lightStyle(doc: StyledDocument): Style

Apply the light-themed variant of the receiving style to the specified StyledDocument.

Link copied to clipboard
open fun setStyle(doc: StyledDocument): Style

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

Properties

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int
Link copied to clipboard
open override val styleName: String

The name of this style. Should begin with '#'.