You are here: PSPad forum > English discussion forum > Add user-defined highlighter based on built-in language

Add user-defined highlighter based on built-in language

#1 Add user-defined highlighter based on built-in language

Posted by: human | Date: 03/30/2017 13:46 | IP: IP Logged

Is there any option to add some preprocessor symbols to PSPad for built-in languages like COBOL? I'd like to keep everything but only add some non-standard parts like "%mymacro(myparam, myparam)" or :mymacro param param2. Highlighting "%mymacro( )" or ":mymacro" would help to recognize it faster and it helps to directly see if it is written correctly.

Having the option to include some of these in the code explorer (for example ":" in column 7 starting a special section without the section keyword) would be nice, too.

Edited 1 time(s). Last edit at 03/30/2017 13:54 by human.

Options: Reply | Quote | Up ^


#2 Re: Add user-defined highlighter based on built-in language

Posted by: pspad | Date: 03/30/2017 14:16 | IP: IP Logged

No, cause current highlighters are hardcoded.
When version 5 will be stable, I will change editor engine and this one has user configurable highlighters. Then you will be able to add your own language parts.

Options: Reply | Quote | Up ^


#3 Re: Add user-defined highlighter based on built-in language

Posted by: human | Date: 03/30/2017 14:57 | IP: IP Logged

Thank you for the information, I'll wait for the new engine in 6.0

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2017 Jan Fiala
Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák