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.
Reproduced. Arch Linux 64-bit Kate 16.04.2 KDE Frameworks 5.23.0 Qt 5.7 xcb wm
Thats a "feature" of the alert highlighting for ### ahhhhh style comments. It might look interesting here, but it makes actually sense ;=)