diff options
author | Cody Russell <cody@jhu.edu> | 2015-02-21 20:54:15 +0300 |
---|---|---|
committer | Cody Russell <cody@jhu.edu> | 2015-02-21 20:54:15 +0300 |
commit | 990a15539b50ba60acc184bd4a3e1b7619643b8e (patch) | |
tree | c657f4c1ebd60b9cd5f6bedc8312f5fb88f78a66 /main/src/addins/MonoDevelop.SourceEditor2 | |
parent | b627818f26dfb37b39b1a6ac60299f09bd83b7ed (diff) |
[SourceEditor] When the IDE loses focus, close tooltip.
Diffstat (limited to 'main/src/addins/MonoDevelop.SourceEditor2')
-rw-r--r-- | main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/SourceEditorWidget.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/SourceEditorWidget.cs b/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/SourceEditorWidget.cs index 33c86a03f3..640d12ceef 100644 --- a/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/SourceEditorWidget.cs +++ b/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/SourceEditorWidget.cs @@ -383,6 +383,7 @@ namespace MonoDevelop.SourceEditor if (this.splittedTextEditor == null || !splittedTextEditor.TextArea.HasFocus) OnLostFocus (); }; + IdeApp.FocusOut += (sender, e) => textEditor.TextArea.HideTooltip (false); mainsw = new DecoratedScrolledWindow (this); mainsw.SetTextEditor (textEditor); |