Bug 457178

Summary: Add highlighting for block comments in scheme files
Product: [Frameworks and Libraries] frameworks-syntax-highlighting Reporter: ncdehnel
Component: syntaxAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: christoph, jonathan.poelen, walter.von.entferndt
Priority: NOR    
Version First Reported In: 5.97.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description ncdehnel 2022-07-27 00:05:19 UTC
SUMMARY
***
; blablbablablbalblalblalba
This line is greyed out as a comment in .scm files

#|
blablablablablalblabl
albalblablalblablalblabl
|#
This is a block comment, and is not greyed out

#; blablablablablalblalba
If this is placed before an s-expression, it comments out the whole thing. The highlighting interprets this as a single-line comment though, so it doesn't grey out the whole thing.

***


STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT
block comments are not greyed out

EXPECTED RESULT
entire block comments are greyed out

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 5.70.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Jonathan Poelen 2022-08-27 18:07:22 UTC
There have been a lot of changes in 5.74, especially on the parts you are talking about. Unfortunately, your version (5.70) does not allow you to retrieve the last version of the file, but you can copy https://invent.kde.org/frameworks/syntax-highlighting/-/blob/9c4b385d6843d23713f478f73e98994ba41ce1f3/data/syntax/scheme.xml in ~/.local/share/org.kde.syntax-highlighting/syntax (you must create the folder if it does not exist).