Browse Source

Allow control chars in log style texteditor consoles

pull/324/head
Ionite 12 months ago
parent
commit
03206fdd9d
No known key found for this signature in database
  1. 2
      StabilityMatrix.Avalonia/Helpers/TextEditorConfigs.cs
  2. 2
      StabilityMatrix.Avalonia/Views/Dialogs/PackageModificationDialog.axaml.cs

2
StabilityMatrix.Avalonia/Helpers/TextEditorConfigs.cs

@ -84,6 +84,8 @@ public static class TextEditorConfigs
textMate.SetGrammar(scope);
textMate.SetTheme(registryOptions.LoadTheme(ThemeName.DarkPlus));
editor.Options.ShowBoxForControlCharacters = false;
}
private static IRawTheme GetThemeFromStream(Stream stream)

2
StabilityMatrix.Avalonia/Views/Dialogs/PackageModificationDialog.axaml.cs

@ -34,6 +34,8 @@ public partial class PackageModificationDialog : UserControlBase
textMate.SetGrammar(scope);
textMate.SetTheme(options.LoadTheme(ThemeName.DarkPlus));
editor.Options.ShowBoxForControlCharacters = false;
}
EventManager.Instance.ScrollToBottomRequested += (_, _) =>

Loading…
Cancel
Save