Thanks to vinnyio for taking a look at the code he found a problem. I forgot to add the & to $this which caused these errors. I am also taking a look at the overall layout right now and are in the process of making some major updates. Just things that I noticed after taking a deeper look into the actual code.
Once I get all this done I will post another build. 😊
Okay. Here is the updated version. Couple of quick things.
Replace the old style with the new style.
Now uses $SESS->cache to hold certain data (i.e. code blocks and matched highlighted code) - faster than before.
It also uses typogrphy_parse_start and end. It replaces the code blocks with a unique id and then after all parsing is done goes through and highlights and outputs the results.
Let me know if you have any issues.
Here is what I am going to be working on for the next release.
I am not sure about the third one because it requires the flash clipboard script and I really do not want to go that route unless it is requested.
K I eliminated all the other plugins and extensions installed as causing the problem. The weblog I am using has two fields. One for summary and one for body. I add my text and code I need highlighted to the body field and all is grand and it renders fine. But if I add any data to the summary field then thats when I get the error above. Head wreck?
EDIT: Yes confirmed that error apears for every field that does not have the highlighter code inserted.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.