      *  @playerversion AIR 1.5
      *  @productversion Flex 4
      */
-    public function export():XML
-    {
-        if (!textView)
+    public function getFormatOfRange(requestedFormats:Vector.<String>=null,
+                                     anchorPosition:int=-1,
+                                     activePosition:int=-1):TextLayoutFormat
+    {
+        if (!textDisplay)
             return null;
 
-        return textView.export();
+        return textDisplay.getFormatOfRange(requestedFormats, anchorPosition, 
+                                            activePosition);
     }
 
     /**

    {
        super.partAdded(partName, instance);

        if (instance == textView)
        {
            // In default.css, the TextArea selector has a declaration
            // for lineBreak which sets it to "toFit".  It needs to be on

     */
    override public function set text(value:String):void
    {
        // Of 'text', 'textFlow', and 'content', the last one set wins.
        
        super.text = value;
        
        // Trigger bindings to textChanged.
        dispatchEvent(new Event("textChanged"));        

        // The default event to trigger a validator.
        dispatchEvent(new FlexEvent(FlexEvent.VALUE_COMMIT));                   
    }

    //--------------------------------------------------------------------------
