VB question: How do I recolor certain words in a richtextbox when they are added to it? For example, if the user types in Console> I want it to recolor Console> and make it blue instead of the default black color.
placeholders ?
I don't get what you're trying to say there, Sean.
I don't understand your question... So if someone types say: 'color>blue' You want the output to be blue? Wouldn't it be simpler to use a color wheel? Or do you want it when someone types: 'color>blue' in the richtextbox that the richtextbox text becomes blue?
Opcode, it's for a programming language. I want it to parse and recolor text. If someone types in "console>" I want "console>" to be blue. Nothing else, just where it says console>
What is the point in that? Do you want it to highlight syntax in your language? So each time someone types: "console>". Would you want "console>" to be blue?
yes. Exactly :3
Oh like in C# int [] a=new int [b]; So in here int and new appear as blue.
yes.
Join our real-time social learning platform and learn together with your friends!