 import flashx.textLayout.edit.ISelectionManager;
 import flashx.textLayout.edit.SelectionManager;
 import flashx.textLayout.edit.SelectionState;
-import flashx.textLayout.edit.TextScrap;
 import flashx.textLayout.elements.Configuration;
 import flashx.textLayout.elements.InlineGraphicElementStatus;
 import flashx.textLayout.elements.TextFlow;

    }
    
    /**
     *  @copy flashx.textLayout.container.ContainerController#scrollToPosition() 
     *  
     *  @langversion 3.0
     *  @playerversion Flash 10

    {
        if (!restrict && !maxChars && !displayAsPassword)
            return;
                    
        // If copied/cut from displayAsPassword field the pastedText
        // is '*' characters but this is correct.
        var pastedText:String = TextUtil.extractText(
            op.textScrap.textFlow);

        // We know it's an EditManager or we wouldn't have gotten here.
        var editManager:IEditManager = getEditManager();
