Text coloring
Text coloring
- Subject: Text coloring
- From: Matthieu Doriant <email@hidden>
- Date: Sun, 29 Jul 2001 16:28:33 +0200
Hello,
I am working on a small game and I would like to dynamically change
the color of some words contained in a NSTextView as the user types
them. For instance, as the user types "the grass is green, the sky is
blue and
", I would like to color the "green" word in green and the
"blue" word in blue. I have tried to do that in several different
ways but it is rather slow. Does anyone know a good technique to do
this job?
Matthieu
______________________________________________________________________________
ifrance.com, l'email gratuit le plus complet de l'Internet !
vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP...
http://www.ifrance.com/_reloc/email.emailif