Bug 360964

Summary: Multiple hash highlighting in Python files
Product: [Applications] kate Reporter: stefan.ivic
Component: syntaxAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: minor CC: christoph, ilmari.lauhakangas
Priority: NOR    
Version First Reported In: 16.04.1   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Demosntration of highlighting

Description stefan.ivic 2016-03-25 11:34:50 UTC
Created attachment 98070 [details]
Demosntration of highlighting

When writing sequence of hash comment characters they are strangely highlighted.
If a sequence is longer than three hash characters, the last three are colored differently.
This happens in both Kate and KWrite (versions 15.12.2)

I'm not sure if this is a feature or a bug :)
I tried to search for it, but cant find anything related to multiple hash characters in Python.

In attachment, it is shown how this manifests in Kate.
Note that same thing happens if using different (i.e. default) color scheme.
Comment 1 Buovjaga 2016-07-02 10:55:05 UTC
Reproduced.

Arch Linux 64-bit
Kate 16.04.2
KDE Frameworks 5.23.0
Qt 5.7
xcb wm
Comment 2 Christoph Cullmann 2016-09-06 09:09:16 UTC
Thats a "feature" of the alert highlighting for ### ahhhhh style comments.
It might look interesting here, but it makes actually sense ;=)