Because comments are handled as an array of atoms, and Pd converts the strings 
of text stored in Pd files to atoms by using whitespace as separators and 
filtering out newlines.

It's the same process you see if you type a bunch of consecutive spaces and 
newlines in an object box-- they are filtered out after you click on an empty 
part of the canvas and the object gets instantiated.

I think Pd-l2ork saves your newlines in comments, but upon loading the patch it 
still parses the string as a series of atoms.  So you'll still lose data.

-Jonathan


On Wednesday, October 15, 2014 2:37 PM, me.grimm <[email protected]> wrote:
 


Hello

I there a reason when I make a long multi-sentence comment w/ carriage returns, 
save the file, then reopen that all the formatting (<CR>'s) is gone and I am 
left with a large glob of run-on text?

Yes, one could just have several separate comments and space them accordingly, 
but why would one need to?

has this topic been brought up before? maybe this is different in pd-l0rk or 
pd-x or something...

thanks!
m
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to