Anonymous user
CRGreathouse
Joined 15 May 2024
highlighting update
m (→GeSHi tester: ops) |
(highlighting update) |
||
Line 37:
==GeSHi tester==
As of 2011-08-05, the highlighting works essentially correctly. Remaining issues:
* Types don't work. gp2c types (e.g., <code>:mp</code>) are highlighted as though they were commands, and GP types (e.g., <code>"t_INT"</code>) are not highlighted at all.
* Escapes in strings are not highlighted, though they are properly detected in terms of ending strings.
Default keywords and types are highlighted outside their proper context, though this is probably not a big deal.▼
* Defaults that conflict with keywords (<code>simplify</code> and <code>log</code>) are highlighted wrong; not a big deal.
▲* Default keywords and types are highlighted outside their proper context, though this is probably not a big deal.
* Colors should probably be changed (my fault!); member functions and strings are too conspicuous and defaults and error types are not conspicuous enough. Maybe a desaturated green for strings and switch the blue-violet used for defaults and errors with the purple of the member functions.
<lang parigp>x:real -> x^2
|