select

fun select(item: T)(source)

Replaces the selection with just item and sets the anchor. Standard click semantics.