From 539862aded50c1b799eead9fc611918592d2af66 Mon Sep 17 00:00:00 2001 From: Vincent Povirk Date: Fri, 20 Dec 2013 14:11:00 -0600 Subject: [PATCH] Avoid adjusting selection twice in TextControl. This commit licensed as MIT/X11. --- mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextControl.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextControl.cs b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextControl.cs index 71e5f4207c8..0452c2c6fa3 100644 --- a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextControl.cs +++ b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextControl.cs @@ -2444,6 +2444,8 @@ namespace System.Windows.Forms { if (selection_visible == false) { SetSelectionToCaret (true); + move_sel_start = false; + move_sel_end = false; } } -- 2.11.4.GIT