Trait

spells

StylePrintModule

Related Doc: package spells

Permalink

trait StylePrintModule extends AnyRef

Contains deep (already existing styles will be preserved) styling methods.

Self Type
StylePrintModule with AnsiModule with SpellsConfigModule
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. StylePrintModule
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Value Members

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. object StylePrint

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. final def erred(error: Any): String

    Permalink

    Styles Any in Red.

    Styles Any in Red.

    error

    which will be styled

  10. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def print(input: Any = "")(implicit style: AnsiStyle = AnsiStyle.Reset): Unit

    Permalink

    Prints an object to out using its toString method.

    Prints an object to out using its toString method.

    input

    the object to print; may be null

    style

    the style for the object to be printed in

  18. final def printerr(error: Any): Unit

    Permalink

    Write to the err stream in AnsiStyle.Red.

    Write to the err stream in AnsiStyle.Red.

    error

    which will be written to the stream

  19. final def println(input: Any = "")(implicit style: AnsiStyle = AnsiStyle.Reset): Unit

    Permalink

    Prints out an object to the default output, followed by a newline character.

    Prints out an object to the default output, followed by a newline character.

    input

    the object to print

    style

    the style for the object to be printed in

  20. final def styled(input: Any)(implicit style: AnsiStyle = AnsiStyle.Reset): String

    Permalink

    Styled an object in a given style.

    Styled an object in a given style. Involves deep (already existing styles will be preserved) styling.

    styled("green" + "yellow".yellow + "green")(Green) // yellow is preserved
    input

    the object to print

    style

    the style for the object to be printed in

    returns

    the styled object as String

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

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped