[TxMt] Re: TM modifies/destroys the contents of the system-wide pasteboard

Watts Martin layotl at gmail.com
Tue Apr 26 19:58:32 UTC 2011


Joshua Kehn wrote:
> Never really was one for copying rich text. Causes more hassles then
> it's worth in my opinion.

I'm not sure you're understanding the problem that Mel described.

(1) Open a TextEdit document.
(2) Add a few lines of text and then style some of them: make one 
italic, one bold, one a different font, one centered.
(3) Copy these lines with Cmd-C or the edit menu.
(4) Paste them onto the end of the document just to verify that you get 
back what you copied, with all the styles.
(5) Switch to an open TextMate window. Don't do ANYTHING. Just switch to it.
(6) Switch back to TextEdit and hit Cmd-V for paste again.
(7) The pasted text will have lost all of its styling.

Maybe you have a workflow in which you never, ever, ever copy styled 
text to the Clipboard and expect it to retain its styles. I don't 
usually work with styled text, either, but I can't guarantee I never 
will -- and Mel is absolutely right. TextMate has absolutely no business 
mucking about with the clipboard when no command that should touch the 
clipboard is invoked. This may be a bug that few people encounter, but 
it's a potentially serious one for people who use the clipboard a lot. 
(And it's one I've just opened a ticket on.)

-- 
Watts Martin <layotl at gmail.com>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3972 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.macromates.com/textmate/attachments/20110426/5b4b41a3/attachment.p7s>


More information about the textmate mailing list