ColorPresentation

langoustine.lsp.structures.ColorPresentation
See theColorPresentation companion object
case class ColorPresentation(label: String, textEdit: Opt[TextEdit], additionalTextEdits: Opt[Vector[TextEdit]])

Value parameters

additionalTextEdits

An optional array of additional [[TextEdit text edits]] that are applied when selecting this color presentation. Edits must not overlap with the main [[ColorPresentation.textEdit edit]] nor with themselves.

label

The label of this color presentation. It will be shown on the color picker header. By default this is also the text that is inserted when selecting this color presentation.

textEdit

An [[TextEdit edit]] which is applied to a document when selecting this presentation for the color. When falsy the [[ColorPresentation.label label]] is used.

Attributes

Companion
object
Source
structures.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product