      */
     private function get editManager():TextViewEditManager
     {
+        // Since this is cached, have to be careful to update the
+        // selection formats if they change.
         if (_editManager == null)
         {
-            _editManager = new TextViewEditManager(mx_internal::undoManager);    
-            initInteractionManager(_editManager);                
-        }           
+            _editManager = new TextViewEditManager(mx_internal::undoManager);
+            selectionFormatsChanged = true;
+        } 
+        
+        if (selectionFormatsChanged)
+        {
+            setSelectionFormats(_editManager);
+            selectionFormatsChanged = false;
+        }   
+                 
         return _editManager; 
     }
     


    /**
     *  @private
     *  This object is determined by the CSS styles of the TextGraphic
     *  and is updated by createTextFlow() when the hostFormatsInvalid flag
     *  is true.
     */

        // or hostCharacterFormat immediately.
        if (styleProp == null || styleProp == "styleName")
            hostFormatsInvalid = true;
        else if (isSelectionFormat(styleProp))
            selectionFormatsChanged = true;
        else
            setHostFormat(styleProp);

