mirror of https://github.com/buggins/dlangui.git
fix ediableContent.text issue with skipped first empty lines
This commit is contained in:
parent
2c1c88923c
commit
054ffbc292
|
@ -610,8 +610,8 @@ class EditableContent {
|
|||
return _lines[0];
|
||||
// concat lines
|
||||
dchar[] buf;
|
||||
foreach(item;_lines) {
|
||||
if (buf.length)
|
||||
foreach(index, item;_lines) {
|
||||
if (index)
|
||||
buf ~= EOL;
|
||||
buf ~= item;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue