Re: -insertNewline: and -insertLineBreak:, using the shift key modifier

2008-06-11 Thread Ken Thomases
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 wond

Re: -insertNewline: and -insertLineBreak:, using the shift key modifier

2008-06-11 Thread Keith Blount
Hi Ken, Many thanks for your reply. > In most text-based apps, you insert a newline by hitting return and > a line break by hitting shift-return. Most text-based apps on the Mac? Because the default Cocoa text bindings use Control-Return or Control-Enter for insertLineBreak:. A-hem. How em

Re: -insertNewline: and -insertLineBreak:, using the shift key modifier

2008-06-11 Thread Ken Thomases
On Jun 11, 2008, at 3:10 PM, Keith Blount wrote: In most text-based apps, you insert a newline by hitting return and a line break by hitting shift-return. Most text-based apps on the Mac? Because the default Cocoa text bindings use Control-Return or Control-Enter for insertLineBreak:. Yo