Colors

ammonite.util.Colors
See theColors companion object
case class Colors(prompt: Ref[Attrs], ident: Ref[Attrs], `type`: Ref[Attrs], literal: Ref[Attrs], prefix: Ref[Attrs], comment: Ref[Attrs], keyword: Ref[Attrs], selected: Ref[Attrs], error: Ref[Attrs], warning: Ref[Attrs], info: Ref[Attrs])

A set of colors used to highlight the miscellaneous bits of the REPL. Re-used all over the place in PPrint, TPrint, syntax highlighting, command-echoes, etc. in order to keep things consistent

Value parameters

`type`

Definition of types

error

The color used to print error messages of all kinds

ident

Definition of top-level identifiers

literal

Strings, integers and other literal expressions

prefix

The Seq/Foo when printing a Seq(...) or case class Foo(...)

prompt

The command prompt

selected

The color of text selected in the line-editor

Attributes

Companion
object
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