summaryrefslogtreecommitdiff
path: root/Source/DafnyExtension/ErrorTagger.cs
diff options
context:
space:
mode:
authorGravatar wuestholz <unknown>2013-06-11 10:24:31 -0700
committerGravatar wuestholz <unknown>2013-06-11 10:24:31 -0700
commit4314d2bf8634ddc573c4f0a4266a6771cb5eb696 (patch)
tree56dfaee0e35b989e8b7a600dd5c33119054f3fb5 /Source/DafnyExtension/ErrorTagger.cs
parente2508e12bf24a84f731884fcbd8f5f128dbf9f9a (diff)
DafnyExtension: Did some refactoring.
Diffstat (limited to 'Source/DafnyExtension/ErrorTagger.cs')
-rw-r--r--Source/DafnyExtension/ErrorTagger.cs25
1 files changed, 15 insertions, 10 deletions
diff --git a/Source/DafnyExtension/ErrorTagger.cs b/Source/DafnyExtension/ErrorTagger.cs
index efd755d8..74765203 100644
--- a/Source/DafnyExtension/ErrorTagger.cs
+++ b/Source/DafnyExtension/ErrorTagger.cs
@@ -1,26 +1,23 @@
//***************************************************************************
// Copyright © 2010 Microsoft Corporation. All Rights Reserved.
-// This code released under the terms of the
+// This code released under the terms of the
// Microsoft Public License (MS-PL, http://opensource.org/licenses/ms-pl.html.)
//***************************************************************************
-using EnvDTE;
+
+
using System;
using System.Collections.Generic;
-using System.Linq;
-using System.Text;
using System.ComponentModel.Composition;
-using System.Windows.Threading;
-using Microsoft.VisualStudio.Shell;
-using Microsoft.VisualStudio.Shell.Interop;
using Microsoft.VisualStudio.Text;
-using Microsoft.VisualStudio.Text.Classification;
-using Microsoft.VisualStudio.Text.Editor;
using Microsoft.VisualStudio.Text.Tagging;
-using Microsoft.VisualStudio.Text.Projection;
using Microsoft.VisualStudio.Utilities;
+
namespace DafnyLanguage
{
+
+ #region Provider
+
[Export(typeof(ITaggerProvider))]
[ContentType("dafny")]
[TagType(typeof(ErrorTag))]
@@ -37,6 +34,11 @@ namespace DafnyLanguage
}
}
+ #endregion
+
+
+ #region Tagger
+
/// <summary>
/// Translate PkgDefTokenTags into ErrorTags and Error List items
/// </summary>
@@ -82,4 +84,7 @@ namespace DafnyLanguage
}
}
}
+
+ #endregion
+
}