Commit 910071eb authored by Christoph Cullmann's avatar Christoph Cullmann

fix bug #335744: Kate/KWrite CSS highlighting problems with media queries

Easy fix: add <DetectSpaces/> to MQEV context of css.xml highlighting file

REVIEW: 119443
BUG: 335744
parent 5460525b
......@@ -797,6 +797,7 @@ Changelog:
<context attribute="Media" lineEndContext="#stay" name="MQEV">
<!-- this should be seperate for different features, for now it is all the same -->
<DetectSpaces/>
<RegExpr attribute="Value" context="#pop" String="[1-9][0-9.]*\s*/\s*[1-9][0-9.]*" />
<RegExpr attribute="Value" context="#pop" String="[0-9.]+(em|ex|ch|rem|vw|vh|vm|px|in|cm|mm|pt|pc|deg|rad|grad|turn|ms|s|Hz|kHz|dpi|dpcm)\b" />
<RegExpr attribute="Value" context="#pop" String="[0-9.]+[%]?" />
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment