Selection

com.alecdorrington.laminarcomponents.TextCaret.Selection
enum Selection

A reader's selection, as far as an element's text goes.

Attributes

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 Cleared extends Selection

A selection collapsed within the text.

A selection collapsed within the text.

Attributes

case Elsewhere extends Selection

A selection elsewhere, which leaves the text's selection as it was.

A selection elsewhere, which leaves the text's selection as it was.

Attributes

final case class Span(from: Int, until: Int)

A span of the text.

A span of the text.

Value parameters

from

Where it starts.

until

Where it ends, exclusive.

Attributes