diff options
author | Carlos Alberto Cortez <calberto.cortez@gmail.com> | 2010-01-19 00:08:39 +0300 |
---|---|---|
committer | Carlos Alberto Cortez <calberto.cortez@gmail.com> | 2010-01-19 00:08:39 +0300 |
commit | d27d9e1201a24a000a163193b158573b500a62f9 (patch) | |
tree | 76c9f1efae0b5ff94a071fbbbcf8c01dd8bef96d /mcs/class | |
parent | 2428fb744c205f9c51f736b14b70aa3ca0389bf0 (diff) |
2010-01-18 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* RichTextBox.cs: SelectedText should set Modified to true. Observe
that this is happening just here, not for the Text property, and
neither for the TextBoxBase impl.
Fixes #569950.
svn path=/trunk/mcs/; revision=149772
Diffstat (limited to 'mcs/class')
-rw-r--r-- | mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog | 7 | ||||
-rw-r--r-- | mcs/class/Managed.Windows.Forms/System.Windows.Forms/RichTextBox.cs | 2 |
2 files changed, 9 insertions, 0 deletions
diff --git a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog index ddaa8161ea4..7c11e2470ea 100644 --- a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog +++ b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog @@ -1,3 +1,10 @@ +2010-01-18 Carlos Alberto Cortez <calberto.cortez@gmail.com> + + * RichTextBox.cs: SelectedText should set Modified to true. Observe + that this is happening just here, not for the Text property, and + neither for the TextBoxBase impl. + Fixes #569950. + 2010-01-10 Carlos Alberto Cortez <calberto.cortez@gmail.com> * ToolStripMenuItem.cs: Put the Checked/CheckState logic in a single diff --git a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/RichTextBox.cs b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/RichTextBox.cs index b93a54c988a..9774eec2df5 100644 --- a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/RichTextBox.cs +++ b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/RichTextBox.cs @@ -443,6 +443,8 @@ namespace System.Windows.Forms { } set { + // TextBox/TextBoxBase don't set Modified in this same property + Modified = true; base.SelectedText = value; } } |