Comment about _removeSelectionBoundaries in getCurrentState.