diff options
Diffstat (limited to 'main/src/addins/MonoDevelop.Refactoring/MonoDevelop.AnalysisCore/Gui/ResultMarker.cs')
-rw-r--r-- | main/src/addins/MonoDevelop.Refactoring/MonoDevelop.AnalysisCore/Gui/ResultMarker.cs | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/main/src/addins/MonoDevelop.Refactoring/MonoDevelop.AnalysisCore/Gui/ResultMarker.cs b/main/src/addins/MonoDevelop.Refactoring/MonoDevelop.AnalysisCore/Gui/ResultMarker.cs index 332f0061cf..43ddf40ef4 100644 --- a/main/src/addins/MonoDevelop.Refactoring/MonoDevelop.AnalysisCore/Gui/ResultMarker.cs +++ b/main/src/addins/MonoDevelop.Refactoring/MonoDevelop.AnalysisCore/Gui/ResultMarker.cs @@ -24,15 +24,13 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. -using Mono.TextEditor; -using MonoDevelop.SourceEditor; -using MonoDevelop.SourceEditor.QuickTasks; -using ICSharpCode.NRefactory.CSharp; -using ICSharpCode.NRefactory.Refactoring; using System.Collections.Generic; +using MonoDevelop.Core.Text; +using MonoDevelop.Ide.Editor; namespace MonoDevelop.AnalysisCore.Gui { +/* class ResultMarker : UnderlineTextSegmentMarker { readonly Result result; @@ -42,17 +40,9 @@ namespace MonoDevelop.AnalysisCore.Gui this.result = result; } - static bool IsOneLine (Result result) - { - return result.Region.BeginLine == result.Region.EndLine; - } - public Result Result { get { return result; } } //utility for debugging - public int Line { get { return result.Region.BeginLine; } } - public int ColStart { get { return IsOneLine (result)? (result.Region.BeginColumn) : 0; } } - public int ColEnd { get { return IsOneLine (result)? (result.Region.EndColumn) : 0; } } public string Message { get { return result.Message; } } static Cairo.Color GetColor (TextEditor editor, Result result) @@ -214,4 +204,5 @@ namespace MonoDevelop.AnalysisCore.Gui } #endregion } +*/ } |