diff --git a/ShowEditorCommand.cs b/ShowEditorCommand.cs index 1ce314c..30dfcb7 100644 --- a/ShowEditorCommand.cs +++ b/ShowEditorCommand.cs @@ -393,6 +393,7 @@ private void New() Path = null; _originalText = new System.IO.MemoryStream().ToArray(); textEditor.Text = _originalText; + textEditor.SetLanguage(LanguageEnum.Powershell); } private bool Save(bool saveAs)