sealed
trait Text
- Companion
- object
class Object
trait Matchable
class Any
Value members
Abstract methods
def copyBase(format: TextFormat, insertionText: Option[String], clickAction: Option[ClickAction], hoverText: Option[HoverText], children: Seq[Text]): Text
Concrete methods
Tries to merge two Texts together while preserving styling. Both texts can't have children for this to work.
Tries to merge two Texts together while preserving styling. Both texts can't have children for this to work.
- Value Params
- other
The text to combine with.
- Returns
Some if the combination was successful, None otherwise