rem: var bIsEndOfBlock = oTestRange.CheckIsEmpty( true ) ; 
add: var bIsEndOfBlock = oTestRange.CheckIsCollapsed() ;  if ( !bIsEndOfBlock ) {  var eToolDiv = this.Window.document.createElement( 'div' ) ; oTestRange._Range.cloneContents().AppendTo( eToolDiv ) ; FCKDomTools.TrimNode( eToolDiv, true ) ;   bIsEndOfBlock = true ; var eLastChild = eToolDiv ; while ( ( eLastChild = eLastChild.lastChild ) ) {     if ( eLastChild.previousSibling || eLastChild.nodeType != 1 || FCKListsLib.InlineChildReqElements[ eLastChild.nodeName.toLowerCase() ] == null ) {  bIsEndOfBlock = false ; break ; } } }  oTestRange.Release() ; 
context: 	CheckEndOfBlock : function( refreshSelection )	{		// Create a clone of the current range.		var oTestRange = this.Clone() ;				// Collapse it to its end point.		oTestRange.Collapse( false ) ;				// Move the end boundary to the end of the block.		oTestRange.SetEnd( oTestRange.EndBlock || oTestRange.EndBlockLimit, 2 ) ;		var bIsEndOfBlock = oTestRange.CheckIsEmpty( true ) ;		oTestRange.Release() ;				if ( refreshSelection ) 			this.Select() ;				return bIsEndOfBlock ;	},
meta: 8533	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8533/9e983f26dc3628701a539d2377aaa3db1e8f1f71/fckdomrange.js/buggy/library/src/webapp/editor/FCKeditor/editor/_source/classes/fckdomrange.js