/usr/share/pgmodeler/conf/xml-highlight.conf is in pgmodeler-common 0.9.1~beta-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | <?xml version="1.0" encoding="UTF-8"?>
<!--
CAUTION: Do not modify this file directly on it's code unless you know what you are doing.
Unexpected results may occur if the code is changed deliberately.
-->
<source-code-highlight>
<word-delimiters value="'""/>
<word-separators value=""/>
<ignored-chars value="	  "/>
<!--
pt_BR: Ordem em que os grupos são aplicados aos blocos de código.
en_US: Order in which groups are applied to blocks of code.
-->
<highlight-order>
<group name="comment"/>
<group name="tag"/>
<group name="atribute"/>
<group name="string"/>
<group name="entity"/>
</highlight-order>
<group name="comment" case-sensitive="false"
bold="false" italic="true" underline="false"
background-color="#ffffff" foreground-color="#808080">
<element regexp="true" value="(<\!\-\-)" type="initial-exp"/>
<element regexp="true" value="(\-\->)" type="final-exp"/>
</group>
<group name="tag" case-sensitive="false" partial-match="true"
bold="true" italic="false" underline="false"
background-color="#ffffff" foreground-color="#000000">
<element regexp="true" value="(<)((\/)?|(\?)?)?([a-z]+|[0-9]+|(\-)+)+(>)?"/>
<element regexp="true" value="((\/)?|(\?)?)?(>)"/>
</group>
<group name="atribute" case-sensitive="false"
bold="false" italic="false" underline="false"
background-color="#ffffff" foreground-color="#347AB3">
<element regexp="true" value="([a-z]+|[0-9]+|(\-)+)+(=)"/>
</group>
<group name="string" case-sensitive="false"
bold="false" italic="false" underline="false"
background-color="#ffffff" foreground-color="#008000">
<element regexp="true" value="('|")(.)*('|")"/>
</group>
<group name="entity" case-sensitive="false" partial-match="true"
bold="false" italic="false" underline="false"
background-color="#ffffff" foreground-color="#ff8000">
<element regexp="true" value="(&)([a-z]+)" type="initial-exp"/>
<element regexp="true" value="(;)" type="final-exp"/>
</group>
</source-code-highlight>
|