Index: _source/plugins/selection/plugin.js
===================================================================
--- _source/plugins/selection/plugin.js	(revision 5033)
+++ _source/plugins/selection/plugin.js	Thu Feb 11 13:10:49 CST 2010
@@ -498,8 +498,15 @@
 						// breaking character counting logic below. (#3949)
 						var distance = testRange.text.replace( /(\r\n|\r)/g, '\n' ).length;
 
+						try
+						{
-						while ( distance > 0 )
-							distance -= siblings[ --i ].nodeValue.length;
+							while ( distance > 0 )
+								distance -= siblings[ --i ].nodeValue.length;
+						}
+						catch( e )
+						{
+							distance = 0;
+						}
 
 						if ( distance === 0 )
 						{

