I am displaying code in a textbox at runtime. This code is obtained from a .vb class file. Is it possible to change the colors of the text so that they are the same colors as the Visual Basic IDE. By that I mean:
Dim statements are blue
Comments are green
Standard text is black
etc
I gather that the RichTextBox can change colors. Does anyone have, or know of, some code to display text as the Visual Basic IDE does? Or is there a control that can do this without additional code?
Dim statements are blue
Comments are green
Standard text is black
etc
I gather that the RichTextBox can change colors. Does anyone have, or know of, some code to display text as the Visual Basic IDE does? Or is there a control that can do this without additional code?