diff options
author | David Karlaš <david.karlas@xamarin.com> | 2017-02-01 11:50:04 +0300 |
---|---|---|
committer | David Karlaš <david.karlas@xamarin.com> | 2017-02-01 11:50:04 +0300 |
commit | 9a8777cc379306fd8230d031c61bdef3168cd3e1 (patch) | |
tree | a7c02e41293addb2eab549b494ad13e858e215be /main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger.PreviewVisualizers/GenericPreviewVisualizer.cs | |
parent | dd5e789c605b1372e8dfebe9e72bfe151cffcb54 (diff) |
Bug 50194 - Copying values from tooltip is difficult
Fixing this bug it only needs changes in GenericPreviewVisualizer.cs, but while working on this bug I found how to correctly fix issues with lable.Selectable and avoiding auto-selecting and cursor appearing(setting CanFocus=false), so I fixed it also in ExceptionCaughtDialog)
Diffstat (limited to 'main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger.PreviewVisualizers/GenericPreviewVisualizer.cs')
-rw-r--r-- | main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger.PreviewVisualizers/GenericPreviewVisualizer.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger.PreviewVisualizers/GenericPreviewVisualizer.cs b/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger.PreviewVisualizers/GenericPreviewVisualizer.cs index c3c203e41b..b421518a5e 100644 --- a/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger.PreviewVisualizers/GenericPreviewVisualizer.cs +++ b/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger.PreviewVisualizers/GenericPreviewVisualizer.cs @@ -74,7 +74,8 @@ namespace MonoDevelop.Debugger.PreviewVisualizers label.Text = value.Substring (0, trimmedLine.StartIndex).TrimEnd ('\r', '\n') + "\n…"; } } - + label.Selectable = true; + label.CanFocus = false; label.Show (); return label; |