NSTextView text coloring problem

2008-04-23 Thread tyler durden
Hi Everybody, I am reposting this since I haven't got any answers, yet. Hope somebody helps this time around. I am writing an easy chat application. I have an object of NSTextview on my UI form. I want to change the text color in a specified range from default color black to red. I used the

setTextColor:range: text coloring problem

2008-04-18 Thread tyler durden
Hi Everybody, i am writing an easy chat application. i have an object of NSTextview on my UI form. i want to change the text color in a specified range from default color black to red. i used the method setTextColor:range: but it did not work. following is my declaration of the object and the