Author: jackson
Date: 2006-11-08 12:56:23 -0500 (Wed, 08 Nov 2006)
New Revision: 67546

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

        * TextControl.cs: When combining lines carry over the line end
        style from the end line.



Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2006-11-08 17:15:08 UTC (rev 67545)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2006-11-08 17:56:23 UTC (rev 67546)
@@ -1,3 +1,8 @@
+2006-11-08  Jackson Harper  <[EMAIL PROTECTED]>
+
+       * TextControl.cs: When combining lines carry over the line end
+       style from the end line.
+
 2006-11-07  Everaldo Canuto  <[EMAIL PROTECTED]>
 
        * Toolbar.cs: Release flat button borders when Toolbar lost focus. 

Modified: 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextControl.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextControl.cs   
2006-11-08 17:15:08 UTC (rev 67545)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextControl.cs   
2006-11-08 17:56:23 UTC (rev 67546)
@@ -2442,6 +2442,9 @@
                        // Combine the two tag chains into one
                        last = first.tags;
 
+                       // Maintain the line ending style
+                       first.soft_break = second.soft_break;
+
                        while (last.next != null) {
                                last = last.next;
                        }

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

Reply via email to