[Monodevelop-patches-list] r1611 - in trunk/MonoDevelop/src/Main/Base: . Services/Tasks
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Wed May 19 18:09:09 EDT 2004
Author: pawel
Date: 2004-05-19 18:09:09 -0400 (Wed, 19 May 2004)
New Revision: 1611
Modified:
trunk/MonoDevelop/src/Main/Base/ChangeLog
trunk/MonoDevelop/src/Main/Base/Services/Tasks/Task.cs
Log:
add a "COMMENT" ErrorNumber used to show Comment icon in Task List.
Modified: trunk/MonoDevelop/src/Main/Base/ChangeLog
===================================================================
--- trunk/MonoDevelop/src/Main/Base/ChangeLog 2004-05-19 16:05:26 UTC (rev 1610)
+++ trunk/MonoDevelop/src/Main/Base/ChangeLog 2004-05-19 22:09:09 UTC (rev 1611)
@@ -1,3 +1,8 @@
+2004-05-20 Pawel Rozanski <tokugawa at afn.no-ip.org>
+
+ * Services/Tasks/Task.cs: add a "COMMENT" ErrorNumber in order to
+ show TaskType.Comment in Task List.
+
2004-05-18 Todd Berman <tberman at sevenl.net>
* Internal/Project/Combine/Combine.cs: load/save a new property
Modified: trunk/MonoDevelop/src/Main/Base/Services/Tasks/Task.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Services/Tasks/Task.cs 2004-05-19 16:05:26 UTC (rev 1610)
+++ trunk/MonoDevelop/src/Main/Base/Services/Tasks/Task.cs 2004-05-19 22:09:09 UTC (rev 1611)
@@ -91,7 +91,7 @@
public Task(IProject project, CompilerError error)
{
this.project = project;
- type = error.IsWarning ? TaskType.Warning : TaskType.Error;
+ type = error.IsWarning ? error.ErrorNumber == "COMMENT" ? TaskType.Comment : TaskType.Warning : TaskType.Error;
column = error.Column - 1;
line = error.Line - 1;
description = error.ErrorText;
More information about the Monodevelop-patches-list
mailing list