<div dir="ltr"><div class="gmail_default"><div class="gmail_default"><font face="tahoma, sans-serif">There appears to be a bug in the JavaScript highlighter used by Kate.</font></div><div class="gmail_default"><font face="tahoma, sans-serif"><br></font></div><div class="gmail_default"><font face="tahoma, sans-serif">When a commented section is pasted into Kate while JavaScript highlighting is active the pasted text gets corrupted.</font></div><div class="gmail_default"><font face="tahoma, sans-serif"><br></font></div><div class="gmail_default"><font face="tahoma, sans-serif">For example:</font></div><div class="gmail_default"><font face="tahoma, sans-serif"><br></font></div><div class="gmail_default"><font face="tahoma, sans-serif">/*</font></div><div class="gmail_default"><font face="tahoma, sans-serif">Test</font></div><div class="gmail_default"><font face="tahoma, sans-serif">*/</font></div><div class="gmail_default"><font face="tahoma, sans-serif"><br></font></div><div class="gmail_default"><font face="tahoma, sans-serif">Becomes</font></div><div class="gmail_default"><font face="tahoma, sans-serif"><br></font></div><div class="gmail_default"><font face="tahoma, sans-serif">/*</font></div><div class="gmail_default"><font face="tahoma, sans-serif"> T e*st</font></div><div class="gmail_default"><font face="tahoma, sans-serif"> */</font></div><div class="gmail_default"><font face="tahoma, sans-serif"><br></font></div><div class="gmail_default"><font face="tahoma, sans-serif">I'm using</font></div><div class="gmail_default"><font face="tahoma, sans-serif"><br></font></div><div class="gmail_default"><font face="tahoma, sans-serif">Kubuntu 17.10</font></div><div class="gmail_default"><font face="tahoma, sans-serif">Kate 17.04.3</font></div><div class="gmail_default"><font face="tahoma, sans-serif">KDE Frameworks 5.43.0</font></div><div class="gmail_default"><font face="tahoma, sans-serif">Qt 5.9.1 (built against 5.9.1)</font></div><div class="gmail_default"><font face="tahoma, sans-serif">The xcb windowing system</font></div><div class="gmail_default"><font face="tahoma, sans-serif"><br></font></div><div class="gmail_default"><font face="tahoma, sans-serif">This does not happen when PHP/HTML/CSS/BASH highlighters are in use or when plain non highlighted text is used.</font></div></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><div><span style="font-family:tahoma,sans-serif"><font size="2">Lee</font><br><br></span></div><div><span style="font-family:tahoma,sans-serif"><div class="gmail_default" style="font-family:tahoma,sans-serif;display:inline"><a href="https://journalxtra.com/">https://journalxtra.com/</a></div></span></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div>