private void advanceCurrentSelectionIndex() {
    while (myCurrentSelectionIndex < myCaretData.selectionsSize() &&
           (myReverseIteration
            ? myStartOffset <= myCaretData.selectionStart(myCurrentSelectionIndex, true)
            : myStartOffset >= myCaretData.selectionEnd(myCurrentSelectionIndex, false))) {
      myCurrentSelectionIndex++;
    }
  }
private void advanceCurrentSelectionIndex()