Obey shouldChangeCharactersInRange delegate method.