On Jun 11, 2008, at 4:39 PM, Keith Blount wrote:

Thanks. Yes, I know I can access such methods via the delegate method, but my text view is already heavily subclassed to add a lot of new features anyway. Whilst I could achieve the same in a delegate method, wherever it is, I was really wondering if there was anything particularly *wrong* with intercepting -insertNewline: (either by subclassing or in the delegate), checking for the shift key, and calling -insertLineBreak: if it is held down.

It seems fine to me.


Many thanks again and all the best,

You're welcome.

Cheers,
Ken

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to