Rigel, on May 27 2009, 08:40 AM, said:
My question is about the Highlighters : the ones for PS pad are not exactly the same as the Highlighters for Context.
Well, I haven't updated these for over 2 years, and cmorgan has made changes to the ConTEXT filters. So someone would probably have to grab his most recent highlighters (probably more recent than his last update
here a year and a half ago) and try to replicate them in PSPad.
This is pretty easy if you want to try it. Just go to Settings > User Highlighter and open the relevant INI file (such as WeiDU_TP2.INI). PSPad gives you 4 highlighting categories you can customise (these show up in the .ini as KeyWords, ReservedWords, KeyWords2 and KeyWords3). I think ConTEXT gives you 5 categories - that is the only difference that I can tell. PSPad highlights the current line, matched braces, right edge and selection automatically, though you can turn these off too (such as View > Active Line). You can also change the colours and fonts under Settings > Highlighters Settings (as in your screen shot).
So basically, this would just be a matter of matching the PSPad keywords to the ConTEXT/Crimson ones as closely as possible. Cmorgan gave more information on working with those filters
here.
To be honest, I don't use these much anymore, since I've gotten somewhat used to reading WeiDU code. But I will say PSPad is still absolutely stellar for many things, like seeing text differences in two files. If you have two different versions of code, you can select both files, right-click > PSPad > PSPad TextDiff to see the differences quite easily. It is also a good with hex (binary code) and can structure and compress HTML and CSS, making it a great web page editor.