What steps will reproduce the problem?
1. Open IE6 (used version 6.0)
2. Run custom code
3. See error about "this.regexList[...].regex" not being an object
What version of the product are you using? On what operating system?
Windows XP/IE6
To fix:
Remove extra commas at the end of language brush regex objects. This
(sadly) messes up the JS interpreter in IE6. IE expects another child to
parse, and cannot handle a non-existent next entry. (Sorry if my
terminology is off.)
for example,
Line 18/31 of Scripts/shBrushPython.js:
{ regex: new RegExp(this.GetKeywords(special), 'gm'), css: 'special' },
should be:
{ regex: new RegExp(this.GetKeywords(special), 'gm'), css: 'special' }
thanks!
Original issue reported on code.google.com by mattdenn...@gmail.com on 3 Sep 2007 at 10:07
Original issue reported on code.google.com by
mattdenn...@gmail.com
on 3 Sep 2007 at 10:07