Browse Source

Clear error messages from the Output pad when a new solution is loaded

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2010 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
Scott Ferrett 19 years ago
parent
commit
0b2fc43b68
  1. 11
      src/Main/Base/Project/Src/Gui/Pads/CompilerMessageView/CompilerMessageView.cs

11
src/Main/Base/Project/Src/Gui/Pads/CompilerMessageView/CompilerMessageView.cs

@ -14,6 +14,7 @@ using System.Windows.Forms; @@ -14,6 +14,7 @@ using System.Windows.Forms;
using ICSharpCode.Core;
using ICSharpCode.SharpDevelop.Gui.OptionPanels;
using ICSharpCode.SharpDevelop.Project;
namespace ICSharpCode.SharpDevelop.Gui
{
@ -136,7 +137,17 @@ namespace ICSharpCode.SharpDevelop.Gui @@ -136,7 +137,17 @@ namespace ICSharpCode.SharpDevelop.Gui
SetWordWrap();
myPanel.ResumeLayout(false);
SetText(messageCategories[selectedCategory], messageCategories[selectedCategory].Text);
ProjectService.SolutionLoaded += SolutionLoaded;
}
void SolutionLoaded(object sender, SolutionEventArgs e)
{
foreach (MessageViewCategory category in messageCategories)
{
ClearText(category);
}
}
void SetWordWrap()
{

Loading…
Cancel
Save