Author: jackson
Date: 2007-05-25 14:33:29 -0400 (Fri, 25 May 2007)
New Revision: 77963

Modified:
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextBoxBase.cs
Log:

        * TextBoxBase.cs: Raise textchanged when cutting and pasting
        * text.



Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2007-05-25 18:32:05 UTC (rev 77962)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2007-05-25 18:33:29 UTC (rev 77963)
@@ -1,3 +1,7 @@
+2007-05-25  Jackson Harper  <[EMAIL PROTECTED]>
+
+       * TextBoxBase.cs: Raise textchanged when cutting and pasting text.
+
 2007-05-25  Rolf Bjarne Kvinge <[EMAIL PROTECTED]> 
 
        * KeyEventArgs.cs: Added SuppressKeyPress.

Modified: 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextBoxBase.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextBoxBase.cs   
2007-05-25 18:32:05 UTC (rev 77962)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextBoxBase.cs   
2007-05-25 18:33:29 UTC (rev 77963)
@@ -737,6 +737,8 @@
                        document.undo.BeginUserAction (Locale.GetText ("Cut"));
                        document.ReplaceSelection (String.Empty, false);
                        document.undo.EndUserAction ();
+
+                       OnTextChanged (EventArgs.Empty);
                }
 
                public void Paste() {
@@ -2116,6 +2118,7 @@
                                }
                        }
 
+                       OnTextChanged (EventArgs.Empty);
                        return true;
                }
 

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to