missing cursor in Scott Anguish's HTMLEditor tutorial??
missing cursor in Scott Anguish's HTMLEditor tutorial??
- Subject: missing cursor in Scott Anguish's HTMLEditor tutorial??
- From: Oliver Chern <email@hidden>
- Date: Thu, 16 Aug 2001 15:55:28 -0400
Hello All,
Mr.
I went through Scott Anguish's tutorial (thanx a lot! It taught me a lot!),
and almost all of it compiled without any updating necessary for OS X
10.0.4. I have one question however about the strange behavior of the
NSTextField that I resized so that it fills the entire window, and very much
looks like a blank TextEdit document.
I set the NSTextField to be the FirstResponder, so when I start typing, the
text automatically is inputted into my main document window. However, when I
launch the application, I don't see the blinking cursor at the top left of
the NSTextField that users are accustomed to in text editing apps.
I noticed similar behavior in Learning Cocoa's Simple RTF Edit application
(it begins on page 227). no blinking cursor.
Could anyone explain to me what's wrong? I looked through TextEdit source
and couldn't figure out what parameter, if any, was missing from my code.
TIA,
Oliver