[Biococoa-dev] KDTextView update

Koen van der Drift kvddrift at earthlink.net
Fri Apr 14 07:55:12 EDT 2006

On Apr 14, 2006, at 7:48 AM, Alexander Griekspoor wrote:

> Hmm, that is my code already, why didn't the other stuff work then?  
> It works fine in enzymex...

I changed this line in your code:

	NSString *aString = [pboard stringForType: type];


	NSString *aString = [pboard stringForType: NSStringPboardType];

So aString is forced to a plain string. With the original line, I get  
the rtf code pasted as well.

Oh, it also solved the copy-paste in the same view. And forward- 
delete also works :)

- Koen.

More information about the Biococoa-dev mailing list