single

fun single(anchor: DocPos, head: DocPos = anchor): EditorSelection

Create a selection holding a single range.