Try the NL concat operator to create a new line:
PHP Code:
function onActionClientSide(param, lines) {
switch (param) {
case "displayTextTypeFile":
for (temp.i = 0; temp.i < lines.size(); temp.i++) {
temp.ne @= "" NL lines[temp.i];
}
onEditTextTypeFile(temp.ne);
break;
}
}