From 2fb46a6e33485313b28c3077d311e132b0556799 Mon Sep 17 00:00:00 2001 From: Stone_Red <56473591+Stone-Red-Code@users.noreply.github.com> Date: Thu, 27 Jun 2024 21:27:47 +0200 Subject: [PATCH] Remove unnecessary debug message --- src/ClipCMD/Views/EditorWindow.axaml.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/ClipCMD/Views/EditorWindow.axaml.cs b/src/ClipCMD/Views/EditorWindow.axaml.cs index 79d3560..34477bf 100644 --- a/src/ClipCMD/Views/EditorWindow.axaml.cs +++ b/src/ClipCMD/Views/EditorWindow.axaml.cs @@ -8,7 +8,6 @@ using AvaloniaEdit.TextMate; using ClipCmd.ViewModels; using System; -using System.Diagnostics; using System.Management.Automation.Language; using TextMateSharp.Grammars; @@ -61,7 +60,6 @@ public partial class EditorWindow : Window { foreach (ParseError parseError in parseErrors) { - Debug.WriteLine(parseError.Message + " at line " + parseError.Extent.StartLineNumber + " and column " + parseError.Extent.StartColumnNumber); editorViewModel.Messages.Add(new($"Error: {parseError.Message} at line {parseError.Extent.StartLineNumber} and column {parseError.Extent.StartColumnNumber}", Brushes.Red)); } }