ammonite.util

Colors

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]) extends Product with Serializable

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

prompt

The command prompt

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(...)

selected

The color of text selected in the line-editor

error

The color used to print error messages of all kinds

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Colors
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new 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])

    prompt

    The command prompt

    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(...)

    selected

    The color of text selected in the line-editor

    error

    The color used to print error messages of all kinds

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. val comment: Ref[Attrs]

  7. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  8. val error: Ref[Attrs]

    The color used to print error messages of all kinds

  9. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  11. val ident: Ref[Attrs]

    Definition of top-level identifiers

  12. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  13. val keyword: Ref[Attrs]

  14. val literal: Ref[Attrs]

    Strings, integers and other literal expressions

  15. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  18. val prefix: Ref[Attrs]

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

  19. val prompt: Ref[Attrs]

    The command prompt

  20. val selected: Ref[Attrs]

    The color of text selected in the line-editor

  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  22. val type: Ref[Attrs]

  23. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. val warning: Ref[Attrs]

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped