code: function() {
  			// Don't clear selection outside this selection's root (#11500).
  			if ( this.getType() == CKEDITOR.SELECTION_NONE )
  				return;
  
  			var nativ = this.getNative();
  
  			try {
  				nativ && nativ[ isMSSelection ? 'empty' : 'removeAllRanges' ]();
  			} catch ( er ) {}
  
  			this.reset();
  		}
docs: Remove all the selection ranges from the document.