     private function stageText_changeHandler(event:Event):void
     {
         var foundChange:Boolean = false;
-        var foundEnter:Boolean = false;
         
         if (stageText != null)
         {
             var oldText:String = _text;
-            var oldLength:int = oldText.length;
             var newText:String = stageText.text;
-            var newLength:int = newText.length;
                 
-            if (!_multiline && newText.substr(0, oldLength) == oldText)
-            {
-                // This is a single-line text field, so the enter key should
-                // dispatch an enter event instead of inserting a newline
-                // character. StageText does not dispatch a key-down event for
-                // us to use to intercept the enter key, so our only choice
-                // right now is to trap it here, after the field's text has 
-                // changed.
-                
-                if (oldLength == newLength - 1)
-                {
-                    var lastChar:String = newText.substr(oldLength, 1);
-                    foundEnter = lastChar == "\r" || lastChar == "\n";
-                }
-                else if (oldLength == newLength - 2)
-                {
-                    var tail:String = newText.substr(oldLength, 2);
-                    foundEnter = tail == "\r\n" || tail == "\n\r";
-                }
-            }
-
-            if (foundEnter)
-            {
-                foundChange = true;
-                stageText.text = _text;
-            }
-            else
-            {
-                foundChange = newText != oldText;
-                _text = stageText.text;
-            }
-        }
-
-        if (foundEnter)
-            dispatchEvent(new FlexEvent(FlexEvent.ENTER));
-        
+            foundChange = newText != oldText;
+            _text = stageText.text;
+        }
+
         if (foundChange)
             dispatchEvent(new TextOperationEvent(event.type));
     }

        if (focusedStageText == stageText)
            focusedStageText = null;

        dispatchEvent(event);
    }
    

     *  StageTexts' focus events.
     */
    private static var focusedStageText:StageText = null;
    
    /**
     *  Text measuring behavior needs to be slightly different on Android
     *  devices to account for its native text being slightly taller. Without
     *  this adjustment, single-line text on Android will be clipped or will
     *  scroll vertically.
     */
    private static const androidHeightMultiplier:Number = 1.15;
    private static const isAndroid:Boolean = Capabilities.version.indexOf("AND") == 0;

    
    //--------------------------------------------------------------------------
    //
