             ensureIndexIsVisible(proposedNewIndex);
         }
     }
+    
+    /**
+     *  @private
+     *  Helper used to determine if the target of a KeyboardEvent happens to 
+     *  be an editable text instance.
+     */
+    protected function isEditableTarget(target:Object):Boolean
+    {
+        var focusObj:Object = getFocus();
+        return ((focusObj is TextField && focusObj.type=="input") ||
+            (richEditableTextClass && focusObj is richEditableTextClass &&
+             focusObj.editable == true))
+    }
 }
 
 }

        // matches the keystroke. 
        if (findKey(event.charCode))
        {
            event.preventDefault();
            return;
        }


package spark.components
{
    
import flash.display.DisplayObject;
import flash.events.Event;
import flash.events.KeyboardEvent;
import flash.events.MouseEvent;
import flash.geom.Point;
import flash.system.ApplicationDomain;
import flash.text.TextField;
import flash.ui.Keyboard;

import mx.core.DragSource;
