Skip to content

isocpp.xml: Highlight raw string delimeters (+corresponding tweaks to default themes)

Jan Paul Batrina requested to merge work/cpp-rawstring-delimiter into master

Highlighting delim in R"delim( content )delim" helps in differentiating the raw string delimiter from the actual content and also makes it easier to spot mismatching delimiters.

BUG: 440038

With my unscientific testing among the color themes shipped with kate by default, dsOthers has good enough balance between subtlety and contrast (with normal strings and the content of the raw string) compared to other candidate styles (dsSpecialString, dsRegionMarker, dsConstant, dsNormal, dsComment, dsAnnotation)

Before and After screenshots for Breeze: kate-cpp-rawstring-delimeters kate-dark-cpp-rawstring-delimeters

Edited by Jan Paul Batrina

Merge request reports

Loading