Igor Kitsula - Developer

A Programmer Reference

 

SyntaxHighlighter 3.0.83 after AJAX call "Can't find brush for: BRUSH" fix

After implementing pagination on my website, I was not able to highlight the code with SyntaxHighliter plugin. After AJAX call script was throwing an error: "Can't find brush for: BRUSH". After little research I found reported bug and temporary solution...

This fix is works for me and I think it can be helpful to share with others this experience. I made this fix in plugin source code, combine shCore.js, shAutoloader.js and XRegExp.js files into one, minify and compress it with YUICompressor.

Read more...Read more...