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:
parent
b594c271ac
commit
0411add4d1
1 changed files with 1 additions and 0 deletions
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue