Bug 360964 - Multiple hash highlighting in Python files
Summary: Multiple hash highlighting in Python files
Status: RESOLVED NOT A BUG
Alias: None
Product: kate
Classification: Applications
Component: syntax (show other bugs)
Version: 16.04.1
Platform: openSUSE Linux
: NOR minor
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-25 11:34 UTC by stefan.ivic
Modified: 2016-09-06 09:09 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Demosntration of highlighting (31.67 KB, image/png)
2016-03-25 11:34 UTC, stefan.ivic
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ;=)