If we have files with long lines, Kate becomes slow.
One example where this is painful is with JSON and XML files that don't have newlines...
I'm using search&replace to wrap these files and sometimes relatively small files might take over a minute to be wrapped. So I tried to disable highlighting and spellchecking and got much faster results.
So this is a patch to disable at least the highlighting while replacing.
Now I would like to hear what you think is the best way to tackle this... It feels a bit like a workaround...