On Mon, Jan 12, 2009 at 3:15 PM, Matt Aimonetti <mattaimonetti@gmail.com> wrote:
I believe it is. How can we help you?
Thanks, and here is my dillema:

I have a bit of code that is something like this
class MyController
 attr_writer(:button, :textview)
 def clicked(sender)
  @textview.insertText("Button clicked!\n")
 end
end
:textview is linked to an NSTextView object via InterfaceBuilder. Now the purpose of this view is to work as the display for text coming from a MUD (Multi-user domain/dungeon). I have it set to noneditable but selectable. My above code doesn't work. I allow it to be editable, and the code does work. Is there a way to prevent user-editing but to allow my code to edit it?

-- Thanks,
--Zonbi.