moveSelection method

bool moveSelection(
  1. int delta
)

Moves selection by delta, wrapping at either end.

Implementation

bool moveSelection(int delta) => selectIndex(selectedIndex + delta);