hi, I can see this being request at least from over 10 years ago multiple times :) - see
https://lists.puredata.info/pipermail/pd-list/2007-12/057132.html
like I mentioned in the bug report/feature request above, this is also something I brought this up here on this list, prior to the last PdCon as one of the possible requests for future pd versions, and we were able to talk about it in the event. Miller said he really liked this idea and I guess you can find it on the list archives (though I tried and found these other stuff).
Anyway, guess all we need is someone to implement it. And I believe Purr Data has something like that, right? So maybe just "steal" from there?
I like that this would also make sharing patches much easier, just copy the text in an email, then copy it open pd and do "paste from clipboard", voilà, you got your patch!
cheers