You should make the script check if "//" is proceeded by a '!' to detect textmacros and color them grey.Actually, what kind of highlighter are you using? A general syntax highlighter that uses tokens and shit? Or a syntax highlighter coded from scratch?

You should make the script check if "//" is proceeded by a '!' to detect textmacros and color them grey.Actually, what kind of highlighter are you using? A general syntax highlighter that uses tokens and shit? Or a syntax highlighter coded from scratch?

I use Geshi, because it offer a reasonable way to add features in a... safe way

I'll chek how to add this feature, actually I've tried but with no good results

Then what you need is a custom script highlighter :pI /might/ make one. Just /might/. (If I learn JavaScript syntax in the next hour, which is very possible, since I learned C# and wrote 2 applications in 5 hours )

editOn second thought, no It would be much simpler to just inject the code on the site ^.^When you encounter

Code: jass

, filter all spaces, and search each line for"//!" as the first 3 characters.

What's this site?

Here is the place where making your favorite games can be possible, with the support of a cordial and warm community. Here you will find resources that will help you develop your projects in an effective and agile way. In addition, you can show your projects, share your ideas or simply contribute with resources to establish bonds with a growing community, forming in the process the network of fanatic users to do Modding and mapping Warcraft 3.