You are here: PSPad forum > English discussion forum > Duplicate Highlighter
Posted by: bkej | Date: 2014-02-04 16:12 | IP: IP Logged
Hello,
How can I copy the highlighter setting "Python" to a new highlighter "Python2" ?
(I want to define 2 compilers, one for Python, and another compiler for Python2)
Thank you in advance.
Edited 1 time(s). Last edit at 2014-02-04 16:12 by bkej.
Posted by: pspad | Date: 2014-02-04 20:05 | IP: IP Logged
PSPad uses 2 types of highlighters - internal - hard coded and external with definition.
If you want to change anything of Python internal highlightersend me changes and I will implement it. It will be useful for other users too
Posted by: bkej | Date: 2014-02-04 23:17 | IP: IP Logged
Hello,
Thanks for answer.
In fact I don't want to modify anything in the Highlighter itself.
I would like to have 2 highlighters :
* "Python (32bits)" -> Settings/Highlighter settings/Compiler is C:\PYTHON27-32\python.exe
* "Python (64bits)" -> Settings/Highlighter settings/Compiler is C:\PYTHON27-64\python.exe
Then it's easy to switch between the 2 versions of Python I have installed, and I can easily run with CTRL-F9.
Posted by: pspad | Date: 2014-02-05 05:32 | IP: IP Logged
Will you use it together? Compile one project for 32 and 64 bits?
There is several possibilities.
E.g. if you don't use it together, you can use projects and each project has separate compiler settings
If you use it together and one of compiler is used more often, set it up in compiler settings and second compiler se in favourite links on the left panel.
Posted by: bkej | Date: 2014-02-05 11:54 | IP: IP Logged
Thank you for your answer !
I now use the Favorites on the left, perfect !
Edited 1 time(s). Last edit at 2014-02-05 11:54 by bkej.
Editor PSPad - freeware editor, © 2001 - 2024 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR