code: function() {
  			this._.cache = {};
  			this.isFake = 0;
  
  			var editor = this.root.editor;
  
  			// Invalidate any fake selection available in the editor.
  			if ( editor && editor._.fakeSelection ) {
  				// Test whether this selection is the one that was
  				// faked or its clone.
  				if ( this.rev == editor._.fakeSelection.rev ) {
  					delete editor._.fakeSelection;
  
  					removeHiddenSelectionContainer( editor );
  				}
  				// jshint ignore:start
  				// TODO after #9786 use commented out lines instead of console.log.
  				else { // %REMOVE_LINE%
  					window.console && console.log( 'Wrong selection instance resets fake selection.' ); // %REMOVE_LINE%
  				} // %REMOVE_LINE%
  				// else // %REMOVE_LINE%
  				//	CKEDITOR.debug.error( 'Wrong selection instance resets fake selection.', CKEDITOR.DEBUG_CRITICAL ); // %REMOVE_LINE%
  				// jshint ignore:end
  			}
  
  			this.rev = nextRev++;
  		}
docs: Clears the selection cache.
  
  editor.getSelection().reset();