--- /home/cpdev/src/classpath/javax/swing/text/DefaultEditorKit.java	2005-07-02 21:04:09.000000000 +0000
+++ javax/swing/text/DefaultEditorKit.java	2005-06-30 05:35:20.000000000 +0000
@@ -92,16 +92,6 @@
     }
   }
 
-  /**
-   * This action is executed as default action when a KEY_TYPED
-   * event is received and no keymap entry exists for that. The purpose
-   * of this action is to filter out a couple of characters. This includes
-   * the control characters and characters with the ALT-modifier.
-   * 
-   * If an event does not get filtered, it is inserted into the document
-   * of the text component. If there is some text selected in the text component,
-   * this text will be replaced.
-   */
   public static class DefaultKeyTypedAction 
     extends TextAction
   {
@@ -112,13 +102,6 @@
 
     public void actionPerformed(ActionEvent event)
     {
-      // first we filter the following events:
-      // - control characters
-      // - key events with the ALT modifier (FIXME: filter that too!)
-      char c = event.getActionCommand().charAt(0);
-      if (Character.isISOControl(c))
-        return;
-
       JTextComponent t = getTextComponent(event);
       if (t != null)
         {
@@ -136,11 +119,6 @@
     }
   }
 
-  /**
-   * This action inserts a newline character into the document
-   * of the text component. This is typically triggered by hitting
-   * ENTER on the keyboard.
-   */
   public static class InsertBreakAction 
     extends TextAction
   {
@@ -151,8 +129,6 @@
 
     public void actionPerformed(ActionEvent event)
     {
-      JTextComponent t = getTextComponent(event);
-      t.replaceSelection("\n");
     }
   }
 
