Re: Calling commitEditing text field loses focus
Kyle Sluder <[email protected]> Tue, 20 Dec 2011 16:33:27 -0800
| Newsgroups | gmane.comp.macosx.devel |
|---|---|
| Message-ID | <CANEs-czYGHi2dXtW8pzcSs2WVSH4tQQg-AE4bhjn0TT8CgnZaQ@mail.gmail.com> |
On Tue, Dec 20, 2011 at 4:09 PM, Christiaan Hofman <[email protected]> wrote: > The fact that you may want this for autosaving does not mean you may not want this for other commits. So this would be no explanation. I offered a possible explanation for what might have happened, made under the assumption that you correctly identified this as a recent change in behavior. The validity of the explanation and the desirability of its implications are separate issues. Please don't jump down my throat simply because you don't like the consequences posed by a theory I posited in good faith. > Moreover, it now also behaves this way in 10.6.8 where the new method is not available. I see no reason why generically committing should stop an edit. _This_ would be the reason that my explanation is invalid. I agree that I would not expect -commitEditing to lose focus. I _would_ expect it to select all the text in the text field, as if the user had pressed the Return key. --Kyle Sluder