StreamStyle

enum StreamStyle : Enum<StreamStyle> , BoundStyle

An abstraction of the styles of streams used by the workbench.

Parameters

light

The color of foreground text in this style for light mode.

dark

The color of foreground text in this style for dark mode.

Entries

Link copied to clipboard

The stream style used to echo user input.

Link copied to clipboard

The stream style used to display normal output.

Link copied to clipboard

The stream style used to display error output.

Link copied to clipboard

The stream style used to display informational text.

Link copied to clipboard

The stream style used to echo commands.

Link copied to clipboard

Progress updates produced by a build.

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.