navigateToNextSlot method

bool navigateToNextSlot()

Navigate to the next Slot.

Implementation

bool navigateToNextSlot() {
  final nextOffset = SlotNavigator.nextSlotOffset(cursorOffset, _document);
  if (nextOffset == null) return false;

  moveCursorTo(nextOffset);
  return true;
}