For a regular user of Pd, definitely. But for beginners using the explicit objet [text] and seeing "text delete deletes the nth line.", they will think "line of my imported text". The word 'line' is very ambiguous here. ++
Jack
Le 10/03/2018 à 15:44, Liam Goodacre a écrit :
[text] interprets commas as end-of-lines, so this would seem like normal behavior to me.
If you want to display a comma in a text file, you can use this unicode charater --> ‚ which won't break the line (assuming that it copies correctly through this email).
*From:* Pd-list pd-list-bounces@lists.iem.at on behalf of Jack jack@rybn.org *Sent:* 10 March 2018 14:30 *To:* pd-list@lists.iem.at *Subject:* Re: [PD] text delete doesn't clear a line containing a comma  Idem for [text size]. ++
Jack
Le 10/03/2018 à 15:25, Jack a écrit :
I forgot : This is on Pd version 0.48.1 and Ubuntu 17.10. A small patch is attached. ++
Jack
Le 10/03/2018 à 15:23, Jack a écrit :
If i load a text file containing commas with the 'read -c ...' message, using [text delete] doesn't completely delete a line with comma but the words before it (and the comma). According to the help, it should delete the whole line although in Pd commas are used to separate messages.
Is it a bug or the help file should be updated ? ++
Jack
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list