bool isFullySelected(int selectionStart, int selectionEnd) { return selectionStart <= textIndexStart && selectionEnd >= textIndexEnd; }