 
 use namespace mx_internal;
 
-[DefaultProperty("text")]
-
 //--------------------------------------
 //  Styles
 //--------------------------------------
 
 include "../styles/metadata/BasicTextLayoutFormatStyles.as"
 include "../styles/metadata/NonInheritingTextLayoutFormatStyles.as"
+
+//--------------------------------------
+//  Other metadata
+//--------------------------------------
+
+[DefaultProperty("text")]
 
 [IconFile("SimpleText.png")]
 

        _fontContext = value;
    }

    //--------------------------------------------------------------------------
    //
    //  Overridden methods: UIComponent
    //
    //--------------------------------------------------------------------------
    
    /**
     *  @private
     */
    override protected function updateDisplayList(unscaledWidth:Number,
    											  unscaledHeight:Number):void
    {
    	super.updateDisplayList(unscaledWidth, unscaledHeight);
    	
    	// Draw an optional background for debugging.
    	var bc:Object = backgroundColor;
    	if (bc != null)
    	{
	    	var g:Graphics = Sprite(drawnDisplayObject).graphics;
	        g.lineStyle();
	        g.beginFill(uint(bc));
	       	g.drawRect(drawX, drawY, unscaledWidth, unscaledHeight);
	        g.endFill();
	    }
    }
    
    //--------------------------------------------------------------------------
    //
    //  Methods

     */
    private static var recreateTextLine:Function;

	//--------------------------------------------------------------------------
    //
    //  Class properties
