On Apr 7, 2009, at 08:06, Adam R. Maxwell wrote:
Have your controller object implement the NSEditor protocol. Send
the document objectDidBeginEditing:/objectDidEndEditing: at the
appropriate times (maybe using text delegate notifications), and it
will send you commitEditing/discardEditing
On Apr 6, 2009, at 11:52 PM, Quincey Morris wrote:
I can't work out if this simple and I'm just missing it, or if this
is hard ...
In a NSDocument-based application, I have some text fields in the
document window. Typing in one of these text fields (that is, typing
characters but not pre
On Tue, Apr 7, 2009 at 2:52 AM, Quincey Morris
wrote:
> The first thing I don't understand is whether that's a bug. Although the
> document isn't really changed (because the typing hasn't been committed
> yet), but the presence of undoable typing perhaps ought to prevent the
> document window from
I can't work out if this simple and I'm just missing it, or if this is
hard ...
In a NSDocument-based application, I have some text fields in the
document window. Typing in one of these text fields (that is, typing
characters but not pressing Tab or Return to end editing) is of course
und