User blog comment:Kirkburn/Syntax highlighting - helping you read and write code/@comment-2144972-20150414115640

I edit entire and long pages and syntax highlighting is simply a nightmare on them. With every keystroke it decides to re-highlight, and that includes things like Ctrl+C-ing, and navigating left and right in the text with the dir-keys. I believe it also does it when I mouse out, which isn't actually an issue but it's something I notice when every re-highlight freezes my browser!

Another oddity is the syntax highlighting seems to do more than just update the textbox. The stuff on the right hand side and Wikia messages seem to doing some sort of refresh.

Shouldn't the syntax highlighting only be occurring after I haven't hit a key in the last x seconds? That sounds like it would be less process intensive.

And my other question/suggestion is a way to disable the syntax highlighting on a per-page basis. I don't need links to it, just a URL/GET/querystring parameter that I can manually employ when I want to disable the thing. Right now I'm -ing to disable it.

One last thing that is slightly related: Since you have code for syntax highlighting wikitext now, think you can add a new  to   or a new extension tag so that we can syntax highlight code excerpts?