You are underestimating the complication of syntax-highlighting BBC BASIC! Even something as simple as this is challenging for some highlighters:
DEF PROCsendmail
Because there is no delimiter between PROC and sendmail many highlighters will fail to recognise the keyword. I have been spending the last few days struggling to make the GeSHi highlighter work (and I would probably have given up had I not known that Jon Ripley succeeded in the same challenge at the old wiki). Fortunately, as I have reported elsewhere, I have succeeded.
I'd also want to point out that in any case we don't have a choice in what syntax highlighter to use; GeSHi is the only one that the wiki (both old and new) supports.
Code: Select all
670 def procCopyToClipboard(text$)
690 sys "GlobalAlloc", &2000, len(text$)+1 to hdata%
Richard.