trait StylePrintModule extends AnyRef
Contains deep (already existing styles will be preserved) styling methods.
- Self Type
- StylePrintModule with AnsiModule with SpellsConfigModule
- Alphabetic
- By Inheritance
- StylePrintModule
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
erred(error: Any): String
Styles
Any in Red
.Styles
Any in Red
.- error
which will be styled
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
print(input: Any = "")(implicit style: AnsiStyle = AnsiStyle.Reset): Unit
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
-
final
def
printerr(error: Any): Unit
Write to the
err
stream inAnsiStyle.Red
.Write to the
err
stream inAnsiStyle.Red
.- error
which will be written to the stream
-
final
def
println(input: Any = "")(implicit style: AnsiStyle = AnsiStyle.Reset): Unit
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
-
final
def
styled(input: Any)(implicit style: AnsiStyle = AnsiStyle.Reset): String
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
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- object StylePrint