Hi,
I am trying to write a little code editor in cocoa with interface builder and xtools.
It appears I have to implement an NSTextStorage delegate to do syntax highlighting and so on, but I can't work out how to set the delegate using interface builder.
I can set the delegate OK for the actual NSTextView, but not the NSTextStorage contained within the NSTextView.
Any hints would be much appreciated.
Bye!
Mark
I am trying to write a little code editor in cocoa with interface builder and xtools.
It appears I have to implement an NSTextStorage delegate to do syntax highlighting and so on, but I can't work out how to set the delegate using interface builder.
I can set the delegate OK for the actual NSTextView, but not the NSTextStorage contained within the NSTextView.
Any hints would be much appreciated.
Bye!
Mark