1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-11-26 06:28:35 +01:00

added a newline macro to the default text formatter

This commit is contained in:
Ell 2021-03-09 17:45:49 +01:00
parent b594c271ac
commit 0411add4d1

View file

@ -53,6 +53,7 @@ namespace MLEM.Formatting {
// macros // macros
this.Macros.Add(new Regex("~"), (f, m, r) => GenericFont.Nbsp.ToCachedString()); this.Macros.Add(new Regex("~"), (f, m, r) => GenericFont.Nbsp.ToCachedString());
this.Macros.Add(new Regex("<n>"), (f, m, r) => '\n'.ToCachedString());
} }
/// <summary> /// <summary>