I want to create a small and simple IDE for my own scripting language. Can somebody tell me how to implement a simple synthax highlight in C# or provide some code examples.
It is probably easier to write a syntax file for your favorite editor.
Implementing syntax-highlighting on multithreaded, event-driven OS is not an easy task. Better listen to Nomad or try using some already existing programming tools to make your life easier instead reinventing the wheel.
To get some idea about how it's done, check out Notepad 2, it's open source!
I thought .NET framework had some special class for syntax-highlighting.
I'll try to write a plugin for Notepad 2. That will be definitely easier. Thanks.