 import flashx.textLayout.edit.EditingMode;
 import flashx.textLayout.edit.IEditManager;
 import flashx.textLayout.edit.ISelectionManager;
-import flashx.textLayout.edit.SelectionManager;
 import flashx.textLayout.edit.SelectionState;
 import flashx.textLayout.elements.Configuration;
 import flashx.textLayout.elements.GlobalSettings;

import mx.managers.IFocusManagerComponent;
import mx.managers.ISystemManager;
import mx.resources.ResourceManager;
import mx.utils.ObjectUtil;
import mx.utils.StringUtil;

import spark.components.supportClasses.RichEditableTextContainerManager;
import spark.components.supportClasses.RichEditableTextEditManager;
import spark.core.CSSTextLayoutFormat;
import spark.core.IViewport;
import spark.core.NavigationUnit;

     *  by walking the leaf FlowElements in the TextFlow.
     */
    private static var staticPlainTextExporter:ITextExporter;

    /**
     *  @private
     *  Regular expression which matches all newlines in the text.  Used
