fix ediableContent.text issue with skipped first empty lines

This commit is contained in:
Vadim Lopatin 2016-01-27 16:35:22 +03:00
parent 2c1c88923c
commit 054ffbc292
1 changed files with 2 additions and 2 deletions

View File

@ -610,8 +610,8 @@ class EditableContent {
return _lines[0]; return _lines[0];
// concat lines // concat lines
dchar[] buf; dchar[] buf;
foreach(item;_lines) { foreach(index, item;_lines) {
if (buf.length) if (index)
buf ~= EOL; buf ~= EOL;
buf ~= item; buf ~= item;
} }