Copy/Paste Bug in JavaScript Highlighter

Lee Hodson lee at
Fri Mar 16 08:26:33 UTC 2018

There appears to be a bug in the JavaScript highlighter used by Kate.

When a commented section is pasted into Kate while JavaScript highlighting
is active the pasted text gets corrupted.

For example:



 T e*st

I'm using

Kubuntu 17.10
Kate 17.04.3
KDE Frameworks 5.43.0
Qt 5.9.1 (built against 5.9.1)
The xcb windowing system

This does not happen when PHP/HTML/CSS/BASH highlighters are in use or when
plain non highlighted text is used.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the KWrite-Devel mailing list