 import flash.text.engine.TextLine;
 import flash.ui.Keyboard;
 
-import flashx.textLayout.compose.IFlowComposer;
-import flashx.textLayout.compose.StandardFlowComposer;
-import flashx.textLayout.container.ContainerController;
+import flashx.textLayout.container.IInputManagerClient;
+import flashx.textLayout.container.InputManager;
 import flashx.textLayout.conversion.ConversionType;
 import flashx.textLayout.conversion.ITextImporter;
 import flashx.textLayout.conversion.TextFilter;

     */
    private function calculateFontMetrics():void
    {
        var fontDescription:FontDescription = new FontDescription();
        fontDescription.fontName = getStyle("fontFamily");

        var checkForEmbed:Boolean = false;

        var s:String;

        s = getStyle("cffHinting");
        if (s != null)
        	fontDescription.cffHinting = s;
        
        s = getStyle("fontLookup");
        if (s != null && s != "auto")
        	fontDescription.fontLookup = s;
        else
            checkForEmbed = true;
        
        s = getStyle("fontStyle");
        if (s != null)
        	fontDescription.fontPosture = s;

        // If autoSize and there is overset text, remeasure.  contentHeight
        // will not be the total height of the text unless composition is done 
        // and scrolling is *on*.
        /********************************************************
        if (_autoSize && isOverset(containerController))
            invalidateSize();
        */
    }
    
    /**
     *  @private
     *  Called when the InputManager dispatches a 'damage' event.  The TextFlow
     *  could have been modified interactively or programatically.
     */
    private function inputManager_damageHandler(event:DamageEvent):void
    {
        //trace("damageHandler", event.damageStart, event.damageLength);
        
