# Changing the colour of 'string' in Gedit when keying C+npls

I'm making use of Gedit to write C+npls code, and also have actually used my personalized syntax color scheme which functions (and also looks) wonderful with the exemption of the string type, which, for both my personalized design and also the numerous packed designs, coincides colour as the remainder of the message. I have the ability to access the xml submits which contain the design setups and also there is no setup for specifying the colour of string. Does any person recognize just how I can do this?

0
2019-05-18 21:58:40
Source Share
Ok I've located the remedy. It is not in the design documents, yet much deeper right into the Gedit framework in the language definition documents rather. These documents are store in /usr/share/gtksourceview-2.0/language-specs/ and also the documents concerned is cpp.lang. Seek the checklist confined called id = "keyword" and also include in this checklist the access <keyword>string</keyword>, conserve the documents, and also reactivate Gedit. Done.