             // of the paste.
             dispatchChangeAndChangingEvents = false;
             
+            // Replace the same text, the same place where the paste was done.
+            // This will go thru the InsertPasteOperation and do the right
+            // things with restrict, maxChars, displayAsPassword and _text.
             var selectionState:SelectionState = new SelectionState(
-                op.textFlow, op.absoluteStart, 
-                op.absoluteStart + textLength);             
-            editManager.deleteText(selectionState);
-            
-            // Insert the same text, the same place where the paste was done.
-            // This will go thru the InsertPasteOperation and do the right
-            // things with restrict, maxChars and displayAsPassword.
-            selectionState = new SelectionState(
-                op.textFlow, op.absoluteStart, op.absoluteStart);
+                  op.textFlow, op.absoluteStart, op.absoluteStart + textLength);
             editManager.insertText(pastedText, selectionState);        
             
             // All done with the edit manager.

            // more to do.
            if (!hasConstraints && pastedText.indexOf("\n") == -1)
                return;

            // Save this in case we modify the pasted text.  We need to know
            // how much text to delete.
            var textLength:int = pastedText.length;
            
            // If multiline is false, strip newlines out of pasted text
            // This will not strip newlines out of displayAsPassword fields

                    if (delLen > 0)
                    {
                        _text = splice(_text, delSelOp.absoluteStart, 
                                       delSelOp.absoluteEnd, "");                                    
                    }
                    
                    // Add in the inserted text.
                    if (textToInsert.length > 0)
                    {
                        _text = splice(_text, insertTextOperation.absoluteStart,
                            insertTextOperation.absoluteStart, textToInsert);
                        
                        // Display the passwordChar rather than the actual text.
                        textToInsert = StringUtil.repeat(passwordChar,
                            textToInsert.length);
                    }
                }
                
                insertTextOperation.text = textToInsert;
