Re: "Tokenizing" NSTextView content [solved]

2009-06-19 Thread Rob Keniger
On 19/06/2009, at 12:32 PM, Rob Keniger wrote: I need to display a text view which will contain HTML-like syntax and allow the user to drag "objects" into the view. I have been able to use NSTextAttachment to handle the display of the dragged objects just fine, but what I want to do is rest

"Tokenizing" NSTextView content

2009-06-18 Thread Rob Keniger
Hi, I need to display a text view which will contain HTML-like syntax and allow the user to drag "objects" into the view. I have been able to use NSTextAttachment to handle the display of the dragged objects just fine, but what I want to do is restrict the user from dragging the object an