How do I change the color of a certain word as I type, like lets say I type "print" I want it to change it from the default black to lets say blue without interrupting typing or changing anything else, how would I do that?
Asked
Active
Viewed 433 times
0
-
What API? ASP.NET? WinForm? WPF? UWP? – Dour High Arch May 09 '19 at 01:42
-
I'm Not sure I'm just making a Desktop Application – MoziakBeats May 09 '19 at 01:56
-
Please see [How to create a Minimal, Complete, and Verifiable example](https://stackoverflow.com/help/mcve). – Stringfellow May 09 '19 at 02:43
-
[How to color different words with different colors in a RichTextBox while a user is writing and raise an event when that colored text is clicked](https://stackoverflow.com/a/48358496/7444103) (reading the title takes more time than implementing it). – Jimi May 09 '19 at 05:12
-
You might be also interested in [How to highlight wrapped text in a control](https://stackoverflow.com/a/48257170/7444103) (series of tests). – Jimi May 09 '19 at 05:19