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