Index: /FCKeditor/trunk/editor/_source/classes/fckdomrange.js
===================================================================
--- /FCKeditor/trunk/editor/_source/classes/fckdomrange.js	(revision 837)
+++ /FCKeditor/trunk/editor/_source/classes/fckdomrange.js	(revision 838)
@@ -732,121 +732,4 @@
 	},
 
-	// TODO : Remove this one, in favor of FCKDomRangeIterator.GetNextParagraph.
-	GetParagraphs : function( forceBreakBr )
-	{
-		var retval = [] ;
-
-		// Get and "expanded" clone of this range.
-		var range = this.Clone() ;
-		if ( forceBreakBr )
-			range.Expand( 'list_contents' ) ;
-		else
-			range.Expand( 'block_contents' ) ;
-
-		var currentNode	= range.StartNode || range.StartContainer ;
-		var lastNode	= range.EndNode || range.EndContainer.lastChild || range.EndContainer ;
-
-		var boundarySet = FCKListsLib.BlockBoundaries ;
-		if ( forceBreakBr )
-			boundarySet = FCKListsLib.ListBoundaries ;
-
-		// Let's reuse this range
-		range = null ;
-
-		while ( currentNode )
-		{
-			// closeRange indicates that a paragraph boundary has been found,
-			// so the range must be appended to the list.
-			var closeRange = false ;
-
-			var continueFromSibling = false ;
-
-			// includeNode indicates that the current node is good to be part
-			// of the range.
-			var includeNode = ( currentNode.nodeType != 1 ) ;
-
-			// If it is an element node, let's check if it can be part of the
-			// range.
-			if ( !includeNode )
-			{
-				var nodeName = currentNode.nodeName.toLowerCase() ;
-
-				if ( boundarySet[ nodeName ] )
-				{
-					// <br> boundaries must be part of the range. It will
-					// happen only if EnterMode='br'.
-					if ( nodeName == 'br' )
-						includeNode = true ;
-
-					closeRange = true ;
-				}
-				else
-				{
-					// If we have child nodes, let's check them.
-					if ( currentNode.firstChild )
-					{
-						currentNode = currentNode.firstChild ;
-						continue ;
-					}
-					includeNode = true ;
-				}
-			}
-			else if ( currentNode.nodeType == 3 )
-			{
-				// Ignore normal whitespaces (i.e. not including &nbsp; or
-				// other unicode whitespaces) before/after a block node.
-				if ( /^[\r\n\t ]+$/.test( currentNode.nodeValue ) )
-					includeNode = false ;
-			}
-
-			// The current node is good to be part of the range and we are
-			// starting a new range, initialize it first.
-			if ( includeNode && !range )
-			{
-				range = new FCKDomRange( this.Window ) ;
-				range.SetStart( currentNode, 3, true ) ;
-			}
-
-			// If we are in an element boundary, let's check if it is time
-			// to close the range, otherwise we include the parent within it.
-			if ( range && !closeRange )
-			{
-				var parentNode = currentNode.parentNode ;
-				while ( currentNode == parentNode.lastChild && currentNode != lastNode )
-				{
-					if ( boundarySet[ parentNode.nodeName.toLowerCase() ] )
-					{
-						closeRange = true ;
-						break ;
-					}
-
-					currentNode = parentNode ;
-					continueFromSibling = true ;
-				}
-			}
-
-			// Now finally include the node.
-			if ( includeNode )
-				range.SetEnd( currentNode, 4, true ) ;
-
-			// We have found a block boundary. Let's add the range to the list,
-			// and prepare it for the next one.
-			if ( ( closeRange || currentNode == lastNode ) && range )
-			{
-				range._UpdateElementInfo() ;
-				retval.push( range ) ;
-				range = null ;
-			}
-
-			// Stop processing if this is the last one.
-			if ( currentNode == lastNode )
-				break ;
-
-			currentNode = FCKDomTools.GetNextSourceNode( currentNode, continueFromSibling ) ;
-		}
-
-		return retval ;
-	},
-
 	GetText : function()
 	{
