<?xml version="1.0" encoding="UTF-8"?>

<!--

Syntaxic coloration for gedit (GNOME) and pluma (Mate-desktop)
1.0 - 2012.04.17 (Tuesday) ; 1.1 - 2023.12.03 (Sunday)
by http://www.jchr.be/linux - GPLv3

More informations on:
http://developer.gnome.org/gtksourceview/stable/style-reference.html

À adapter selon ses goûts

-->

<style-scheme id="jchrbe" _name="jchrbe" version="1.0">
  <author>jchr.be</author>
  <_description>coloration syntaxique for gedit &amp; pluma</_description>

<!-- définition de couleurs (ne pas utiliser les couleurs html) -->
  <color name="noir"      value="#000000"/>
  <color name="blanc"     value="#ffffff"/>
  <color name="framboise" value="#bb0044"/>
  <color name="rouge"     value="#ff0000"/>
  <color name="curry"     value="#eecc00"/>
  <color name="jaune"     value="#ffff00"/>
  <color name="vert"      value="#008000"/>
  <color name="bleu"      value="#3300ee"/>
  <color name="mauve"     value="#7700ff"/>
  <color name="nuit"      value="#000088"/>
  <color name="anthra"    value="#444444"/>
  <color name="gris"      value="#666688"/>
  <color name="perle"     value="#bbbbbb"/>

<!-- Parenthèses -->

<!--1.1 nécessaire pour que le texte ne devienne pas gris à l'activation d'une autre fenêtre -->
  <style name="text"   foreground="noir" background="blanc"/>

<!-- fond jaune pour deux parenthèses [] () {} correspondantes-->
  <style name="bracket-match"     foreground="noir" background="curry" bold="true"/>
<!-- fonctionnera peut-être un jour -->
  <style name="bracket-mismatch"  foreground="rouge" background="noir" bold="true"/>

<!-- texte sélectionné à la souris -->
  <style name="selection" foreground="jaune" background="framboise"/>
<!-- texte sélectioné, lors de l'activation d'une autre fenêtre -->
  <style name="selection-unfocused" foreground="framboise" background="curry"/>

<!-- les autres chaînes correspondante à la recherche -->
  <style name="search-match" foreground="jaune" background="gris"/>

<!-- Marge de droite -->
  <style name="right-margin" foreground="anthra" background="perle"/>
<!-- Marge de gauche -->
  <style name="left-margin"   foreground="anthra"  background="perle"/>



<!-- def: pour tous les langages -->

<!-- #! /usr/bin/... -->
  <style name="def:shebang"        foreground="mauve" bold="true"/>
<!-- DOCTYPE, ?xml, import (python) -->
  <style name="def:preprocessor"   foreground="mauve" bold="true"/>
<!-- Commentaires -->
  <style name="def:comment" foreground="gris" italic="true"/>

<!-- structure, mots-clef: if () -->
  <style name="def:statement"      foreground="vert" bold="true"/>

<!-- tout contenu de variables -->
  <style name="def:constant"       foreground="framboise" bold="true"/>
<!-- précisions pour les chaînes -->
  <style name="def:string"         foreground="bleu" bold="true"/>
<!-- précisions pour les caractères spéciaux \n %n -->
  <style name="def:special-char"   foreground="nuit"/>

<!-- balises -->
  <style name="def:identifier"     foreground="framboise" bold="true"/>
<!-- option de balise  -->
  <style name="def:type"           foreground="vert" bold="true"/>


<!-- PYTHON voir /usr/share/gtksourceview-2.0/language-specs/python.lang -->

<!-- mots clés -->
  <style name="python:keyword"     foreground="noir" bold="true"/>
<!-- fonctions internes -->
  <style name="python:builtin-function" foreground="vert" bold="true"/>


<!-- PHP voir /usr/share/gtksourceview-2.0/language-specs/python.lang -->

<!-- variables: tout ce qui commence par $  -->
  <style name="php:variable"       foreground="framboise" bold="true"/>
<!-- mots clés echo, if... -->
  <style name="php:keyword"        foreground="vert" bold="true"/>
<!-- fonctions -->
  <style name="php:identifier"     foreground="noir" bold="true"/>

</style-scheme>

