Initialize selectedRange by NSNotFound.