More XAML customizability, no more wrapping, auto scrolling, and DARK THEME
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Documents;
|
||||
using Befunge.Editor.CharStyles;
|
||||
|
||||
@@ -9,6 +10,6 @@ namespace Befunge.Editor.Utils
|
||||
=> AppendStylizedText(p, styler, text.ToString());
|
||||
|
||||
public static void AppendStylizedText(this Paragraph p, ITextStyler styler, string text)
|
||||
=> p.Inlines.AddRange(styler?.StyledString(text) ?? new[] {new Run(text)});
|
||||
=> p.Inlines.AddRange(styler?.StylizedString(text) ?? new[] {new Run(text)});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user