Still need to selectAll after NSTextView gained focus, possibly without subclassing

  • Good day all!
    I still need to select all text in an NSTextView after it becomes a
    first responder, and I still haven't thought of a *good* way to do it.
    The problem is, -textShould/DidBeginEditing delegate methods are called
    only after I input some text.
    On the other hand, -textDidEndEditing is called immediately after a
    view resigns first responder, and obviously before any other view
    becomes it, so that calling [NSView focusView] inside of it returns
    I still see no way how I could have accomplished this trivial task.
    As I can see it doesn't make any difference when using NSTextViews or
    I'll appreciate any cues regarding my problem.

    Yours truly,
    Damian/Three-eyed Fish
previous month october 2006 next month
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31          
Go to today