final
class
CString extends AnyRef
Instance Constructors
-
new
CString(uncolorized: String, colorized: String)
Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
-
def
+(other: String): String
-
def
->[B](y: B): (CString, B)
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
def
>(): Unit
-
-
final
def
asInstanceOf[T0]: T0
-
def
bytes(): IndexedSeq[Byte]
-
def
clone(): AnyRef
-
val
colorized: String
-
def
colorizedLength: Int
-
def
ensuring(cond: (CString) ⇒ Boolean, msg: ⇒ Any): CString
-
def
ensuring(cond: (CString) ⇒ Boolean): CString
-
def
ensuring(cond: Boolean, msg: ⇒ Any): CString
-
def
ensuring(cond: Boolean): CString
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
def
formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
val
self: Any
-
val
self: Any
-
def
show(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
val
uncolorized: String
-
def
visibleLength: Int
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
→[B](y: B): (CString, B)
Inherited from AnyRef
Inherited from Any
Inherited by implicit conversion any2stringfmt from
CString to StringFormat
Inherited by implicit conversion any2stringadd from
CString to StringAdd
Inherited by implicit conversion any2ArrowAssoc from
CString to ArrowAssoc[CString]
Inherited by implicit conversion any2Ensuring from
CString to Ensuring[CString]
A colorized String. It's difficult to achieve precise formatting and selective string colorization simultaneously, because all length-based calculations will break down in the face of the ansi controls. It doesn't do much yet, but this is here to eventually make that transparent.