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

Tobias Jung newsgr at tobiasjung.net
Wed Apr 27 09:18:19 UTC 2011


Berend Hasselman wrote (Tue, 26 Apr 2011 22:21:36 +0200):

> On 26-04-2011, at 21:58, Watts Martin wrote:
> (...)
>> 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.
> 
> 
> Doesn't happen for me.
> Step 7 gives styled text.

But it happens for me, too -- TextMate 1.5.10 (1623), Mac OS X 10.6.6.
Admittedly, if I would've found that bug, I probably would have thought
that it isn't TextMate's fault but rather that PTH Pasteboard (a
clipboard history manager that I use) is screwing something up.
But it only happens when switching to TextMate (not on other
applications) so I guess TextMate IS involved.

This bug doesn't bother me a lot, since I use PTH Pasteboard I always
can go back to the previous clipboard entry (the styled one) -- after
all, that's what a clipboard history manager is for. ;-)
But I agree that this is bad behaviour.

Kind regards,
Tobias Jung




More information about the textmate mailing list