public/ckeditor/_source/core/dom/range.js
function( element, checkType )
		{
			var checkStart = ( checkType == CKEDITOR.START );

			// Create a copy of this range, so we can manipulate it for our checks.
			var walkerRange = this.clone();

			// Collapse the range at the proper size.
			walkerRange.collapse( checkStart );

			// Expand the range to element boundary.
			walkerRange[ checkStart ? 'setStartAt' : 'setEndAt' ]
			 ( element, checkStart ? CKEDITOR.POSITION_AFTER_START : CKEDITOR.POSITION_BEFORE_END );

			// Create the walker, which will check if we have anything useful
			// in the range.
			var walker = new CKEDITOR.dom.walker( walkerRange );
			walker.evaluator = elementBoundaryEval;

			return walker[ checkStart ? 'checkBackward' : 'checkForward' ]();
		}
function( element, checkType )
		{
			var checkStart = ( checkType == CKEDITOR.START );

			// Create a copy of this range, so we can manipulate it for our checks.
			var walkerRange = this.clone();

			// Collapse the range at the proper size.
			walkerRange.collapse( checkStart );

			// Expand the range to element boundary.
			walkerRange[ checkStart ? 'setStartAt' : 'setEndAt' ]
			 ( element, checkStart ? CKEDITOR.POSITION_AFTER_START : CKEDITOR.POSITION_BEFORE_END );

			// Create the walker, which will check if we have anything useful
			// in the range.
			var walker = new CKEDITOR.dom.walker( walkerRange );
			walker.evaluator = elementBoundaryEval;

			return walker[ checkStart ? 'checkBackward' : 'checkForward' ]();
		}
function ( element , checkType ) { var checkStart = ( checkType == CKEDITOR . START ) ; // Create a copy of this range, so we can manipulate it for our checks.
 var walkerRange = this . clone ( ) ; // Collapse the range at the proper size.
 walkerRange . collapse ( checkStart ) ; // Expand the range to element boundary.
 walkerRange [ checkStart ? 'setStartAt' : 'setEndAt' ] ( element , checkStart ? CKEDITOR . POSITION_AFTER_START : CKEDITOR . POSITION_BEFORE_END ) ; // Create the walker, which will check if we have anything useful
 // in the range.
 var walker = new CKEDITOR . dom . walker ( walkerRange ) ; walker . evaluator = elementBoundaryEval ; return walker [ checkStart ? 'checkBackward' : 'checkForward' ] ( ) ; }
Check whether a range boundary is at the inner boundary of a given
element.
@param {CKEDITOR.dom.element} element The target element to check.
@param {Number} checkType The boundary to check for both the range
and the element. It can be CKEDITOR.START or CKEDITOR.END.
@returns {Boolean} "true" if the range boundary is at the inner
boundary of the element.
Check whether a range boundary is at the inner boundary of a given element .