* TextBoxBase.cs: For the 1.1 profile, the default SelectedText
is null, not String.Empty. See bug #323038.
2007-10-02 Jonathan Pobst <monkey@jpobst.com>
* TextBoxTest.cs: Remove NotWorking from FocusSelectsAllTest.
svn path=/trunk/mcs/; revision=86767
+2007-10-02 Jonathan Pobst <monkey@jpobst.com>
+
+ * TextBoxBase.cs: For the 1.1 profile, the default SelectedText
+ is null, not String.Empty. See bug #323038.
+
2007-10-01 Jonathan Pobst <monkey@jpobst.com>
* TextControl.cs: Change the margins to match MS a little better.
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
public virtual string SelectedText {
get {
- return document.GetSelection();
+ string retval = document.GetSelection ();
+
+#if ONLY_1_1
+ if (!IsHandleCreated && retval == string.Empty)
+ return null;
+#endif
+ return retval;
}
set {
+2007-10-02 Jonathan Pobst <monkey@jpobst.com>
+
+ * TextBoxTest.cs: Remove NotWorking from FocusSelectsAllTest.
+
2007-09-29 Jonathan Pobst <monkey@jpobst.com>
* RadioButtonTest.cs: Fix test to not fail on monobuild.
}
[Test]
- [Category ("NotWorking")]
public void FocusSelectsAllTest ()
{
Form form = new Form ();