More XAML customizability, no more wrapping, auto scrolling, and DARK THEME

This commit is contained in:
David
2016-10-13 23:18:26 -04:00
parent 3e96ed3484
commit ba5d4adce6
8 changed files with 218 additions and 49 deletions

View File

@@ -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)});
}
}