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
BUILD_PROGRESS("#stream-build", Color(128, 96, 0), Color(220, 196, 87))

Progress updates produced by a build.

Link copied to clipboard
COMMAND("#stream-command", Color.MAGENTA, Color(174, 138, 190))

The stream style used to echo commands.

Link copied to clipboard
INFO("#stream-info", Color.BLUE, Color(83, 148, 236))

The stream style used to display informational text.

Link copied to clipboard
ERR("#stream-error", Color.RED, Color(255, 100, 88))

The stream style used to display error output.

Link copied to clipboard
OUT("#stream-output", Color.BLACK, Color(238, 238, 238))

The stream style used to display normal output.

Link copied to clipboard
IN_ECHO("#stream-input", Color(32, 144, 32), Color(55, 156, 26))

The stream style used to echo user input.

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.