mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-11-22 04:53:29 +01:00
fixed multiline text fields not accepting newline characters (since aef6f7b
)
This commit is contained in:
parent
7b9b177453
commit
d81efe1d44
1 changed files with 0 additions and 3 deletions
|
@ -418,9 +418,6 @@ namespace MLEM.Input {
|
|||
var result = new StringBuilder();
|
||||
foreach (var codePoint in new CodePointSource(text)) {
|
||||
var character = char.ConvertFromUtf32(codePoint);
|
||||
// don't include control characters
|
||||
if (character.Length == 1 && char.IsControl(character, 0))
|
||||
continue;
|
||||
if (this.InputRule(this, character)) {
|
||||
result.Append(character);
|
||||
} else if (!removeMismatching) {
|
||||
|
|
Loading…
Reference in a new issue