Problem

com.alecdorrington.annotatedtextformat.Problem
See theProblem companion object
enum Problem

What keeps annotations from fitting a text.

Attributes

Companion
object
Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Type members

Enum entries

case OtherText extends Problem

The annotations are of another text.

The annotations are of another text.

Attributes

final case class Outside(index: Int, span: TextSpan)

The span span of the annotation at index does not lie within the text, or ends before it begins.

The span span of the annotation at index does not lie within the text, or ends before it begins.

Attributes

final case class Splits(index: Int, span: TextSpan)

The span span of the annotation at index begins or ends within a character that takes two code units, as an emoji does, splitting it.

The span span of the annotation at index begins or ends within a character that takes two code units, as an emoji does, splitting it.

Attributes

final case class Unordered(index: Int)

The spans of the annotation at index are out of order, or overlap.

The spans of the annotation at index are out of order, or overlap.

Attributes

final case class Unspanned(index: Int)

The annotation at index has no spans.

The annotation at index has no spans.

Attributes