Bug 324206 - JavaScript syntax highlighting breaks with division of object properties
Summary: JavaScript syntax highlighting breaks with division of object properties
Status: RESOLVED DUPLICATE of bug 321859
Alias: None
Product: kate
Classification: Applications
Component: syntax (show other bugs)
Version: 3.11.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-29 08:59 UTC by Samu Juvonen
Modified: 2013-08-29 10:51 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Messed up syntax colors in Kwrite (25.87 KB, image/jpeg)
2013-08-29 08:59 UTC, Samu Juvonen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Samu Juvonen 2013-08-29 08:59:56 UTC
Created attachment 82005 [details]
Messed up syntax colors in Kwrite

The JS syntax highlighter breaks up with basic calculus when an object's property is being divided. The bug seems to trigger when a dot-separated variable name and a forward slash are used in the same expression. Syntax colors are messed up after the slash - the text after it is mostly green - and the bug affects even later text lines and expressions

There is a way to work around this, though: the bug will not trigger if there is no leading space before the slash character.
Comment 1 Christoph Feck 2013-08-29 10:51:01 UTC

*** This bug has been marked as a duplicate of bug 321859 ***