Copy/Paste Bug in JavaScript Highlighter

Lee Hodson lee at vr51.com
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:

/*
Test
*/

Becomes

/*
 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.

Lee

​https://journalxtra.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20180316/adba2033/attachment.html>


More information about the KWrite-Devel mailing list