 			_textFlow = createTextFlowFromContent(_content);
 			contentChanged = false;
     	}
-    	
+    
+        lastGeneration = _textFlow ? _textFlow.generation : 0;
+        
     	// At this point we know which TextLineFactory we're going to use
     	// and we know the _text or _textFlow that it will compose.
 

    {
        //trace("damageHandler", "damageStart", event.damageStart, "damageLength", event.damageLength);
                
        // Invalidate _text and _content.
        _text = null;
        _content = null;

     */
    private var hostFormat:ITextLayoutFormat;

    /**
     *  @private
     *  Holds the last recorded value of the textFlow generation.  Used to
     *  determine whether to return immediately from damage event if there 
     *  have been no changes.
     */
    private var lastGeneration:uint = 0;    // 0 means not set
        
	/**
     *  @private
     *  Holds the last recorded value of the module factory
