      */
     override protected function measure():void 
     {
+        // Don't want to trigger a another remeasure when we modify the
+        // textContainerManager or compose the text.
+        ignoreDamageEvent = true;
+        
         super.measure();
 
         // Styles can be changed in event handlers while in the middle

            // is a place to put the insertion cursor.
            bounds.width = bounds.width + getStyle("fontSize");
       }
       
       ignoreDamageEvent = false;
       
       //trace("measureTextSize", composeWidth, "->", bounds.width, bounds.height);
        
       return bounds;

             
             invalidateDisplayList();     
        }
                                   
        ignoreDamageEvent = false;
        
        //trace("measure", measuredWidth, measuredHeight, "autoSize", autoSize);
    }

