FROM : Jeremy
DATE : Sun Feb 24 20:43:57 2008
Hey,
I have a small iTunes application and I am adding supporting the
display of lyrics. Now I have it set up just like I want it to, and it
looks amazing. Now the only problem is this:
When I use [NSTextView insertText:@"Lyrics Code Here"];, it doesn't
delete the current text so that is it is replaced for the user... So
after opening the lyrics for quite a few songs, it is a bundled up
into one long set of lyrics. I looked at both NSTextView and the
classes referenced by the insertText documentation. So how can I
remove all the current text and replace it using insertText?
Thanks,
Jeremy
"For a long time it puzzled me how something so expensive, so leading
edge, could be so useless, and then it occurred to me that a computer
is a stupid machine with the ability to do incredibly smart things,
while computer programmers are smart people with the ability to do
incredibly stupid things. They are, in short, a perfect match." - Bill
Bryson
DATE : Sun Feb 24 20:43:57 2008
Hey,
I have a small iTunes application and I am adding supporting the
display of lyrics. Now I have it set up just like I want it to, and it
looks amazing. Now the only problem is this:
When I use [NSTextView insertText:@"Lyrics Code Here"];, it doesn't
delete the current text so that is it is replaced for the user... So
after opening the lyrics for quite a few songs, it is a bundled up
into one long set of lyrics. I looked at both NSTextView and the
classes referenced by the insertText documentation. So how can I
remove all the current text and replace it using insertText?
Thanks,
Jeremy
"For a long time it puzzled me how something so expensive, so leading
edge, could be so useless, and then it occurred to me that a computer
is a stupid machine with the ability to do incredibly smart things,
while computer programmers are smart people with the ability to do
incredibly stupid things. They are, in short, a perfect match." - Bill
Bryson
| Related mails | Author | Date |
|---|---|---|
| Jeremy | Feb 24, 20:43 | |
| Gary L. Wade | Feb 24, 21:16 | |
| I. Savant | Feb 24, 21:20 | |
| Jeremy | Feb 24, 21:23 | |
| I. Savant | Feb 24, 21:28 | |
| I. Savant | Feb 24, 21:30 | |
| I. Savant | Feb 24, 21:33 | |
| Jeremy | Feb 24, 21:34 | |
| I. Savant | Feb 24, 21:38 | |
| Jeremy | Feb 24, 21:44 |






Cocoa mail archive

