﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1450	FCK API - FCKDomRange / CheckStartOfBlock & CheckEndOfBlock null pointer	Scott McNaught		"Sometimes in IE, the FCKDomRange.CheckStartOfBlock and CheckEndOfBlock methods throw a nasty exception when called. I call these two methods extensively from code external to FCKeditor.

I have experienced this numerous times, however have not managed to get a clear test case. I believe this happens if these methods are called during the middle of the browsers internal cursor moving / focusing event.

The problem is that (oTestRange.EndBlock || oTestRange.EndBlockLimit) is evaluated to null.

I would like to see a sanity check placed in these two methods to stop this from happening.

eg - 


{{{
var oElement = oTestRange.EndBlock || oTestRange.EndBlockLimit ;

// Sanity check
if( !oElement )
{
	return false ;
}

// Move the end boundary to the end of the block.
oTestRange.SetEnd( oElement, 2 ) ;
}}}

I have attached a screen shot as proof that IE experiences this problem."	Bug	closed	Normal		General		invalid		
