If you don't have EditPad click here for a free trial
TL;DR: it is a file which you absolutely have to import if you want EPP to display the syntax of your file gracefully.
A Syntax-Coloring Scheme is a configuration file that lives in the EditPad configuration folder, i.e. %APPDATA%\JGsoft\EditPad Pro 7
(you can paste that string in your file manager and it will take you there.)
That file tells EditPad how to parse a language (for instance, telling it that if
and for
are special words pertaining to the category of flow control
), and which color classes
to apply.
Please read that again: which color classes
… but not which specific colors.
What is a color class
? It is a special label, such as "Function name" or "Internet Link" which corresponds to specific colors defined in each color palette.
In other words, the syntax-coloring scheme might say that sequences /* like this one*/
belong to the class called Documentation comment. Then, depending on which color palette you are using, EPP will display such sequence using whichever colors are set for the Documentation comment class.
Easy. Options / Configure File Types / Colors and Syntax Tab / Syntax Coloring Scheme pull-down menu.
YES! You must!
The fact is that most coloring schemes only work well in the palette they were designed for. If you want it to work well with a different palette, the best is to copy the scheme and change the color assignments inside of it — which is as easy as picking from a pull-down menu.
I have explained this process in detail on the MishMash page — look for the Adapting Existing Schemes for MishMash section.
They are created using JGSoft's dedicated tool called the JGsoft Custom Syntax Coloring Scheme Editor, which is a free download for EditPad Pro users.
The tool is easy to use if you know regular expressions. Basically, you create a regular expression to match each piece of syntax, such as comments, functions and so on.
If you don't know regex… Forget it. (Or learn regular expressions on Jan's site or mine, RexEgg.