code: function getRangeBeforeCursor( cursor ) {
  				var range = editor.createRange();
  				range.setStartAt( editor.editable(), CKEDITOR.POSITION_AFTER_START );
  				range.setEnd( cursor.textNode, cursor.offset );
  				return range;
  			}
docs: The document range before the character cursor.