Hi Angel,
... Barry replied "Aye, that's an upstream bug". I hope that makes sense.
Well, certainly this can be considered a bug; I've already fixed it for
the 5.1.2 release.
Great! I suppose that technically we should rename this bug to
something like "mped checks for wrong header file at build time", then
set it as a wishlist bug, then reopen it, then tag it as fixed
upstream. However, as this package has been orphaned I'm happy to just
let this bug stay closed.
For example, could it highlight JavaScript syntax inside an HTML document
where the tags were also correctly highlighted?
It sounds like a non-trivial change, but I'll think about it.
Thank you.
... you can force the syntax highlighting to the active document (to
PHP, say) by executing the following MPSL snippet:
local l = mp.active(); l.syntax = mp.syntax.php;
You can execute MPSL code by hitting Escape (escape+escape, if under
curses), or from the Edit menu.
Right, I'll make a note of that.
By the way, there are currently no JavaScript nor CSS syntax definitions.
Interesting. Well, next time I'm editing some JavaScript or CSS in MP,
I will try following
http://triptico.com/docs/mp_data_model.html#syntax_highlighting .
Best regards,
Edwin