https://bugs.kde.org/show_bug.cgi?id=366797
Bug ID: 366797 Summary: JavaScript word operators formatted inconsistently Product: kate Version: 3.14.2 Platform: Debian stable URL: https://a.pomf.cat/jsougw.png OS: Linux Status: UNCONFIRMED Severity: minor Priority: NOR Component: syntax Assignee: kwrite-bugs-n...@kde.org Reporter: jec.b...@gmail.com In JavaScript files, the 'instanceof' and 'in' operators (which normally are formatted in black boldface font) sometimes appear in a normal weight purple font like variables/properties. This behavior seems to be caused by a property access with '.' (never with square bracket property access) in the left-hand operand. The bug does not seem to occur when the operand with the property access is surrounded by parentheses (see lines 3 and 7 in attached screenshot). Reproducible: Always Steps to Reproduce: Open a JavaScript file with a line like 'object.property in ...' or 'object.property instanceof ...'. See attached screenshot for more information. Actual Results: The 'in' or 'instanceof' operators are highlighted incorrectly. Expected Results: The operators should have been highlighted in black boldface font. -- You are receiving this mail because: You are watching all bug changes.