<http://forum.pspad.com/read.php?f=2&i=12089&t=12086> 
----------------------------------------------------------------

A User Highlighter is the way to go. I did something similar with C++ and
the Roguewave (tools.h++) library.
In the User Highlighter definition, you specify the C/C++ comment style,
the ftCPP code explorer and the other settings.
Then, you can have up to 4 different sets of keywords, with their own
color and appearance:

Tab 1: keywords
You could use this for example for C++ language constructs (if, while,
...)

Tab 2: reserved words
You could use this for standard data types (int, char, ...)

Tab 3: keywords 2
For example: classes and functions of the standard C/C++ libraries
(printf, atoi...)

Tab 4: keywords 3
For example: classes and functions for additional packages (MFC/Win32)

[%sig%]

-- 
PSPad freeware editor http://www.pspad.com

Reply via email to