Skip to content

Commit

Permalink
set default language when creating new file
Browse files Browse the repository at this point in the history
  • Loading branch information
halvarsson committed May 10, 2023
1 parent b68cc58 commit f55357f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ShowEditorCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f55357f

Please sign in to comment.