return EMPTY_TEXT_RANGE instead of null