I have found many tutorials on this. But there's some thing i don't like with them. There's many bugs, for example when you input the word you want to be colored and remove it, the rest of the input still being the custom color.
I'm making a code editor in C#, if you could help me with this problem, i would really appreciate it! Or if it was another way to do this? THANKS!