          */
         override protected function measure():void 
         {
-            // Don't want to trigger a another remeasure when we modify the
-            // textContainerManager or compose the text.
-            ignoreDamageEvent = true;
+            // If the damage handler is called while measuring text, this means
+            // the text lines are damaged and the display needs to be updated. 
+            // This flag tells the handler to invalidate just the display list.
+            inMeasureMethod = true;
             
             super.measure();
             

         */
        private function textContainerManager_damageHandler(event:DamageEvent):void
        {
            if (ignoreDamageEvent || event.damageLength == 0)
                return;
            
            //trace("damageHandler", "generation", _textFlow ? _textFlow.generation : -1, "lastGeneration", lastGeneration);
            

                    _textContainerManager.horizontalScrollPosition = 0;
                    _textContainerManager.verticalScrollPosition = 0;                
                }               
            }
            
            inMeasureMethod = false;
            
            //trace("measure", measuredWidth, measuredHeight, "autoSize", autoSize);
        }
