new line in text edit

gratkowski's icon

Hello, how can I send a new line to text edit.
I would like to send several lists to text edit, each list in a new line. Need that to be able to copy its content line by line.

Source Audio's icon

Text edit is not really open to such things.
It is meant to write text manually.
You can insert new line like this:

Max Patch
Copy patch and select New From Clipboard in Max.

But as it uses append message, one gets
a space at the beginning of each line.
I don't know what You are trying to achieve, but there are many other options
to insert lists into coll, umenu, text, jit.cell etc and select, copy
send or whatever individual lists.
message seems a better choice if one wants to only display text

Peter Ostry's icon

I never managed to get a visually clean result because of the leading space that comes with the carriage return. With ASCII 13 (carriage return) and ASCII 160 (hard space) you have several options:
All text left justified but shifted down by a CR at start.
All text intended by leading hard spaces at each line.
Both of above – text is shifted down and intended.

You may want to try the attached patcher. Observe the ASCII messages.

Max Patch
Copy patch and select New From Clipboard in Max.

gratkowski's icon

Thanks a lot for the reply. I can live with a space in the beginning.