Is it possible to add better control over the highlighting?
I found myself wishing that I could mark the "Debug" keyword for example in a different color so that it stands out more.
A workaround would be to create a macro to substitute the keyword, and add the macro's name to the list of user-defined keywords and then give all of those another color. Not very elegant, though.
The source has to be parsed for keywords (PB and user-defined alike). Adding a control where you could set different styles for different keywords would be really nice.
More (distinct) syntax highlighting
- NicTheQuick
- Addict
- Posts: 1504
- Joined: Sun Jun 22, 2003 7:43 pm
- Location: Germany, Saarbrücken
- Contact:
Re: More (distinct) syntax highlighting
Simply add "Debug" to the user defined keywords and change the color for "user defined keywords".
Result:

Result:

The english grammar is freeware, you can use it freely - But it's not Open Source, i.e. you can not change it or publish it in altered way.
Re: More (distinct) syntax highlighting
Nice. Didn't think you could do that for PB's keywords.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Re: More (distinct) syntax highlighting
Okay, that's better than using a macro. Thanks.
A little more control over the highlighting would still be neat, but my immediate needs have been fulfilled
A little more control over the highlighting would still be neat, but my immediate needs have been fulfilled
