Synthax Highlight

D5a77f73a82eeeafd6fb30177f2b5cc5
0
Decibit 101 Oct 09, 2004 at 18:02

Greetings all,

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.

Thanks

3 Replies

Please log in or register to post a reply.

7543b5c50738e23b200e69fe697ea85a
0
NomadRock 101 Oct 09, 2004 at 18:11

It is probably easier to write a syntax file for your favorite editor.

2b97deded6213469bcd87b65cce5d014
0
Mihail121 102 Oct 09, 2004 at 18:54

Hi,

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!

D5a77f73a82eeeafd6fb30177f2b5cc5
0
Decibit 101 Oct 09, 2004 at 19:30

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.