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];
// concat lines
dchar[] buf;
foreach(item;_lines) {
if (buf.length)
foreach(index, item;_lines) {
if (index)
buf ~= EOL;
buf ~= item;
}