Index: /FCKeditor/trunk/editor/_source/classes/fckdomrange.js
===================================================================
--- /FCKeditor/trunk/editor/_source/classes/fckdomrange.js	(revision 1079)
+++ /FCKeditor/trunk/editor/_source/classes/fckdomrange.js	(revision 1080)
@@ -464,5 +464,5 @@
 		// If the object pointed to by the startOffset and endOffset are text nodes, we need
 		// to backtrack and add in the text offset to the bookmark addresses.
-		if ( addrStart.nodeType == 1 && addrStart.childNodes[bookmark.Start[0]].nodeType == 3 )
+		if ( addrStart.nodeType == 1 && addrStart.childNodes[bookmark.Start[0]] && addrStart.childNodes[bookmark.Start[0]].nodeType == 3 )
 		{
 			var curNode = addrStart.childNodes[bookmark.Start[0]] ;
@@ -476,5 +476,5 @@
 			bookmark.Start[0] = offset ;
 		}
-		if ( addrEnd.nodeType == 1 && addrEnd.childNodes[bookmark.End[0]].nodeType == 3 )
+		if ( addrEnd.nodeType == 1 && addrEnd.childNodes[bookmark.End[0]] && addrEnd.childNodes[bookmark.End[0]].nodeType == 3 )
 		{
 			var curNode = addrEnd.childNodes[bookmark.End[0]] ;
