Hi, @stephan-romhart, @terry-r and All,
Oooooh, Stephan, I see ! Actually, it’s the comments, themselves, that are the objects to look for ;-))
Then, just for your information, here is a shorter version of the two regexes, within the css_comment.xml file contents :
<?xml version="1.0" encoding="UTF-8" ?> <NotepadPlus> <functionList> <!-- ================================================ [ CSS comments ] --> <parser id="css_comment" displayName="CSS" commentExpr=""> <function mainExpr="/\*{2,3}(?i)[A-Z0-9\xc4\xd6\xdc\xdf -]+\*/" displayMode="$functionName"> <functionName> <nameExpr expr="(?i)[A-Z0-9\xc4\xd6\xdc\xdf -]+" /> </functionName> </function> </parser> </functionList> </NotepadPlus>With the added line, in the configuration file overrideMap.xml :
<association id= "css_comment.xml" langID= "20"/>As the default CSS association is :
<!-- <association id= "css.xml" langID= "20"/> -->Note that the added line, in the overrideMap.xml file, is not mandatory. But, in that case, you must rename the css_comment.xml file as css.xml !
BR
guy038