mirror of
https://github.com/Stone-Red-Code/ClipCMD.git
synced 2026-09-04 00:46:10 +02:00
Remove unnecessary debug message
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user