ok4rm
Hello,
I defined a new language file for geshi plugin (AVRASM), derived from x86 assembler file.
The first problem - if the language file avrasm.php si broken (e.g. extra or missing commas in array definitions), dokuwiki won't show any error message. I discovered all the errors only when I installed PHP dev tools in Eclipse and Eclipse highlighted the problems. I think an error message would be fair.
Second problem: I defined my own colors for syntax highlighting. However, DW displays entirely different colors. What's worse, in the language definition file I defined certain regexp patterns to highlight numerical literals like '0x0F' or '0b11001100' but the syntax highlighting does not follow the rules at all.
Earlier in this forum there was a reference to bug #167, but this bug does not exist, so I cannot get the information what was the problem.
I suggest that the geshi implementation in DW should be either consistent or esle should not be called geshi. This trying to fix geshi when in fact it is not integrated correctly in DW is a waste of time. At least it would be fair to mention this known problem somewhere in the readme file of the plugin.
Jindra