I was looking for the php and javascript Highlighter INI files in the syntax
folder, but they do no seem to be there. Where are these files located?

Anyways, in the php highlighter colors there is an option for VARIABLE... I
understand that since all php variables start with a $ that is easy to
implement.

In the JavaScript highlighter there is NO color option for variables... I would
assume that this is because JS variables can start with any letter or an
underscore, so it makes it difficult to determine what is and what is not a
variable.

I give all my variables names that start with an _underscore (variables only,
not functions), so what I would like to do is add _UNDERSCORE to the color list
of JavaScript options. Then it could mark anything that starts with an _ with a
different color.

If I can get the php and javascript ini files, then I can compare how php
highlighter does it and try to add it myself in the javascript highlighter.

Thanks

-- 
<http://forum.pspad.com/read.php?2,50749,50749>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem