New installer: 2022-01-04
| @@ -79,5 +79,12 @@ | ||||
|         devices (i.e. flash disks, mobile phones, cameras). | ||||
|       </description> | ||||
|     </key> | ||||
|     <key name="disable-show-password" type="b"> | ||||
|       <default>false</default> | ||||
|       <summary>Disable password showing</summary> | ||||
|       <description> | ||||
|         Disable the "Show Password" menu item in password entries. | ||||
|       </description> | ||||
|     </key> | ||||
|   </schema> | ||||
| </schemalist> | ||||
|   | ||||
| @@ -132,8 +132,8 @@ | ||||
|       <summary>Hide all normal windows</summary> | ||||
|     </key> | ||||
|     <key name="panel-main-menu" type="as"> | ||||
|       <default><![CDATA[['<Alt>F1']]]></default> | ||||
|       <summary>Show the activities overview</summary> | ||||
|       <default>[]</default> | ||||
|       <summary>DEPRECATED: This key is deprecated and ignored.</summary> | ||||
|     </key> | ||||
|     <key name="panel-run-dialog" type="as"> | ||||
|       <default><![CDATA[['<Alt>F2']]]></default> | ||||
|   | ||||
| @@ -18,6 +18,7 @@ | ||||
|   <schema gettext-domain="gitg" id="org.gnome.gitg.preferences" path="/org/gnome/gitg/preferences/"> | ||||
|     <child name="main" schema="org.gnome.gitg.preferences.main" /> | ||||
|     <child name="history" schema="org.gnome.gitg.preferences.history" /> | ||||
|     <child name="branch" schema="org.gnome.gitg.preferences.branch" /> | ||||
|     <child name="commit" schema="org.gnome.gitg.preferences.commit" /> | ||||
|     <child name="diff" schema="org.gnome.gitg.preferences.diff" /> | ||||
|   </schema> | ||||
| @@ -46,6 +47,17 @@ | ||||
|         The activity which gitg activates by default when first launched. | ||||
|       </description> | ||||
|     </key> | ||||
|     <key name="use-default-font" type="b"> | ||||
|       <default>true</default> | ||||
|       <summary>Use Default Font</summary> | ||||
|       <description>Whether to use the system’s default fixed width font for widget's text instead of a font specific. If this option is turned off, then the font named in the “Editor Font” option will be used instead of the system font.</description> | ||||
|     </key> | ||||
|     <key name="monospace-font-name" type="s"> | ||||
|       <!-- Translators: This is a GSettings default value. Do NOT change or localize the quotation marks! --> | ||||
|       <default l10n="messages">'Monospace 12'</default> | ||||
|       <summary>Editor Font</summary> | ||||
|       <description>A custom font that will be used for the text widgets. This will only take effect if the “Use Default Font” option is turned off.</description> | ||||
|     </key> | ||||
|     <key name="use-gravatar" type="b"> | ||||
|       <default>false</default> | ||||
|       <summary>Use Gravatar</summary> | ||||
| @@ -154,6 +166,15 @@ | ||||
|       </description> | ||||
|     </key> | ||||
|   </schema> | ||||
|   <schema gettext-domain="gitg" id="org.gnome.gitg.preferences.branch" path="/org/gnome/gitg/preferences/branch/"> | ||||
|     <key name="checkout-created-branch" type="b"> | ||||
|       <default>true</default> | ||||
|       <summary>Switch to the new branch on creation</summary> | ||||
|       <description> | ||||
|         Setting that controls whether the newly created branch is checked out automatically. | ||||
|       </description> | ||||
|     </key> | ||||
|   </schema> | ||||
|   <schema gettext-domain="gitg" id="org.gnome.gitg.preferences.commit" path="/org/gnome/gitg/preferences/commit/"> | ||||
|     <child name="message" schema="org.gnome.gitg.preferences.commit.message" /> | ||||
|     <child name="diff" schema="org.gnome.gitg.preferences.commit.diff" /> | ||||
| @@ -211,6 +232,16 @@ | ||||
|         commit message. | ||||
|       </description> | ||||
|     </key> | ||||
|     <key name="max-number-commit-messages" type="i"> | ||||
|       <default>10</default> | ||||
|       <summary>Maximum number of previous commit messages</summary> | ||||
|       <description>Maximum number of previous commit messages to store for commit message history.</description> | ||||
|     </key> | ||||
|     <key name="max-number-days-commit-messages" type="i"> | ||||
|       <default>30</default> | ||||
|       <summary>Maximum number of days to store previous commit messages</summary> | ||||
|       <description>Maximum number of days to store previous commit messages for commit message history.</description> | ||||
|     </key> | ||||
|   </schema> | ||||
|   <schema gettext-domain="gitg" id="org.gnome.gitg.preferences.diff" path="/org/gnome/gitg/preferences/diff/"> | ||||
|     <key name="patience" type="b"> | ||||
|   | ||||
| @@ -23,6 +23,7 @@ | ||||
| --> | ||||
| <language id="groovy" name="Groovy" version="2.0" _section="Source"> | ||||
|   <metadata> | ||||
|     <property name="mimetypes">text/x-groovy</property> | ||||
|     <property name="globs">*.groovy</property> | ||||
|     <property name="line-comment-start">//</property> | ||||
|     <property name="block-comment-start">/*</property> | ||||
|   | ||||
| @@ -206,11 +206,9 @@ | ||||
|       <match>\.[a-zA-Z0-9_-]+</match> | ||||
|     </context> | ||||
|  | ||||
|     <context id="line-comment" style-ref="comment" end-at-line-end="true" class="comment" class-disabled="no-spell-check"> | ||||
|       <start>//</start> | ||||
|       <include> | ||||
|         <context ref="def:in-line-comment"/> | ||||
|       </include> | ||||
|     <context id="block-comment" style-ref="comment" class="comment" end-parent="true" class-disabled="no-spell-check"> | ||||
|       <start>^(?'indent'\s*)\/\/</start> | ||||
|       <end>^(?!\%{indent@start}\s+)</end> | ||||
|     </context> | ||||
|  | ||||
|     <context id="jade-executable"> | ||||
| @@ -238,7 +236,7 @@ | ||||
|         <context ref="attribute-id"/> | ||||
|         <context ref="attribute-class"/> | ||||
|         <context ref="tags"/> | ||||
|         <context ref="line-comment"/> | ||||
|         <context ref="block-comment"/> | ||||
|         <context ref="jade-executable"/> | ||||
|         <context ref="interpolated" /> | ||||
|         <context ref="jade-filter"/> | ||||
|   | ||||
| @@ -31,7 +31,7 @@ | ||||
|     <style id="keyword"     name="Keyword"       map-to="def:keyword"/> | ||||
|     <style id="function"    name="Function"      map-to="def:function"/> | ||||
|     <style id="constant"    name="Constants"     map-to="def:constant"/> | ||||
|     <style id="variable"    name="Variable"      map-to="def:variable"/> | ||||
|     <style id="variable"    name="Variable"      map-to="def:identifier"/> | ||||
|     <style id="identifier"  name="Identifier"    map-to="def:identifier"/> | ||||
|     <style id="type"        name="Data Type"     map-to="def:type"/> | ||||
|     <style id="boolean"     name="Boolean value" map-to="def:boolean"/> | ||||
|   | ||||
| @@ -24,7 +24,7 @@ | ||||
|  along with this library; if not, see <http://www.gnu.org/licenses/>. | ||||
|  | ||||
| --> | ||||
| <language id="python" name="Python" version="2.0" _section="Script"> | ||||
| <language id="python" name="Python 2" version="2.0" _section="Script"> | ||||
|   <metadata> | ||||
|     <property name="mimetypes">text/x-python;application/x-python</property> | ||||
|     <property name="globs">*.py</property> | ||||
|   | ||||
| @@ -20,10 +20,10 @@ | ||||
|  along with this library; if not, see <http://www.gnu.org/licenses/>. | ||||
|  | ||||
| --> | ||||
| <language id="python3" name="Python 3" version="2.0" _section="Script"> | ||||
| <language id="python3" name="Python" version="2.0" _section="Script"> | ||||
|   <metadata> | ||||
|     <property name="mimetypes">text/x-python3</property> | ||||
|     <property name="globs">*.py3</property> | ||||
|     <property name="mimetypes">text/x-python;application/x-python;text/x-python3</property> | ||||
|     <property name="globs">*.py;*.py3</property> | ||||
|     <property name="line-comment-start">#</property> | ||||
|   </metadata> | ||||
|  | ||||
|   | ||||
| @@ -427,7 +427,7 @@ | ||||
|     </context> | ||||
|  | ||||
|     <context id="short-parameter-expansion" style-ref="variable" class="no-spell-check"> | ||||
|       <match>\$(\%{special-parameter}|\%{identifier})</match> | ||||
|       <match>\$(\%{identifier}|\%{special-parameter})</match> | ||||
|     </context> | ||||
|  | ||||
|     <context id="parameter-expansion" style-ref="def:statement" style-inside="true" class="no-spell-check"> | ||||
|   | ||||
							
								
								
									
										96
									
								
								gtk-nsis-pack/share/gtksourceview-4/language-specs/star.lang
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,96 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <!-- | ||||
|  | ||||
|  This file is part of GtkSourceView | ||||
|  | ||||
|  Author: Michael R. Gryk <gryk@uchc.edu> | ||||
|  Copyright (c) 2020-2021 Michael R. Gryk <gryk@uchc.edu> | ||||
|  | ||||
|  GtkSourceView is free software; you can redistribute it and/or | ||||
|  modify it under the terms of the GNU Lesser General Public | ||||
|  License as published by the Free Software Foundation; either | ||||
|  version 2.1 of the License, or (at your option) any later version. | ||||
|  | ||||
|  GtkSourceView is distributed in the hope that it will be useful, | ||||
|  but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
|  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU | ||||
|  Lesser General Public License for more details. | ||||
|  | ||||
|  You should have received a copy of the GNU Lesser General Public License | ||||
|  along with this library; if not, see <http://www.gnu.org/licenses/>. | ||||
|  | ||||
|  STAR is the file format used by the Protein Data Bank (mmCIF) and BioMagResBank (NMR-STAR) among others | ||||
|  For more information, see: | ||||
|     Hall, S.R. The STAR File: A New Format for Electronic Data Transfer and Archiving. J. Chem. Inf. Comput. 31, 326-333 (1991). | ||||
|     Hall, S.R. & Spadaccini, N. The STAR File: Detailed Specifications. J. Chem. Inf. Comput. 34, 505-508 (1994). | ||||
|  | ||||
|  --> | ||||
| <language id="star" name="STAR" version="2.0" _section="Scientific"> | ||||
|   <metadata> | ||||
|     <property name="globs">*.str;*.cif;*.mif</property> | ||||
|     <property name="line-comment-start">#</property> | ||||
|   </metadata> | ||||
|  | ||||
|   <styles> | ||||
|     <style id="comment"            name="Comment"                   map-to="def:comment"/> | ||||
|     <style id="data-name"          name="Data Name (key)"           map-to="def:identifier"/> | ||||
|     <style id="keyword"            name="Keyword"                   map-to="def:keyword"/> | ||||
|     <style id="framecode"          name="Frame Code"                map-to="def:type"/> | ||||
|     <style id="string"             name="String (value)"            map-to="def:string"/> | ||||
|     <style id="data-value"         name="Data Value" /> | ||||
|   </styles> | ||||
|  | ||||
|   <default-regex-options case-sensitive="false"/> | ||||
|  | ||||
|   <definitions> | ||||
|     <define-regex id="starChars">[!-~]+</define-regex> | ||||
|  | ||||
|     <context id="comment" end-at-line-end="true" style-ref="comment" class="comment"> | ||||
|       <start>#</start> | ||||
|     </context> | ||||
|     <context id="data-value" class="no-spell-check"> | ||||
|       <match>\%{starChars}</match> | ||||
|     </context> | ||||
|     <context id="data-name" style-ref="data-name" class="no-spell-check"> | ||||
|       <match>_\%{starChars}</match> | ||||
|     </context> | ||||
|     <context id="framecode" style-ref="framecode" class="no-spell-check"> | ||||
|       <match>\$\%{starChars}</match> | ||||
|     </context> | ||||
|     <context id="quote-string" style-ref="string" end-at-line-end="true" class="string"> | ||||
|       <start>"</start> | ||||
|       <end>"\s</end> | ||||
|     </context> | ||||
|     <context id="apos-string" style-ref="string" end-at-line-end="true" class="string"> | ||||
|       <start>'</start> | ||||
|       <end>'\s</end> | ||||
|     </context> | ||||
|     <context id="semi-string" style-ref="string" end-at-line-end="false" class="string"> | ||||
|       <start>^;</start> | ||||
|       <end>^;</end> | ||||
|     </context> | ||||
|  | ||||
|     <context id="keywords" style-ref="keyword"> | ||||
|       <keyword>data_\%{starChars}</keyword> | ||||
|       <keyword>save_\%{starChars}</keyword> | ||||
|       <keyword>save_</keyword> | ||||
|       <keyword>loop_</keyword> | ||||
|       <keyword>stop_</keyword> | ||||
|       <keyword>global_</keyword> | ||||
|     </context> | ||||
|  | ||||
|     <context id="star"> | ||||
|       <include> | ||||
|         <context ref="comment"/> | ||||
|         <context ref="data-name"/> | ||||
|         <context ref="keywords"/> | ||||
|         <context ref="framecode"/> | ||||
|         <context ref="semi-string"/> | ||||
|         <context ref="quote-string"/> | ||||
|         <context ref="apos-string"/> | ||||
|         <context ref="data-value"/> | ||||
|       </include> | ||||
|     </context> | ||||
|  | ||||
|   </definitions> | ||||
| </language> | ||||
| @@ -0,0 +1,455 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <!-- | ||||
|  | ||||
|  This file is part of GtkSourceView | ||||
|  | ||||
|  Author: Othmane El Warrak <othmane.el.warrak@gmail.com> | ||||
|  Copyright (C) 2021 Othmane El Warrak <othmane.el.warrak@gmail.com> | ||||
|  | ||||
|  GtkSourceView is free software; you can redistribute it and/or | ||||
|  modify it under the terms of the GNU Lesser General Public | ||||
|  License as published by the Free Software Foundation; either | ||||
|  version 2.1 of the License, or (at your option) any later version. | ||||
|  | ||||
|  GtkSourceView is distributed in the hope that it will be useful, | ||||
|  but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
|  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU | ||||
|  Lesser General Public License for more details. | ||||
|  | ||||
|  You should have received a copy of the GNU Lesser General Public License | ||||
|  along with this library; if not, see <http://www.gnu.org/licenses/>. | ||||
|  | ||||
| --> | ||||
| <language id="terraform" name="Terraform" version="2.0" _section="Other"> | ||||
|   <metadata> | ||||
|     <property name="globs">*.tf;*.tfvars;*.hcl</property> | ||||
|     <property name="line-comment-start">#</property> | ||||
|     <property name="line-comment-start">//</property> | ||||
|     <property name="block-comment-start">/*</property> | ||||
|     <property name="block-comment-end">*/</property> | ||||
|   </metadata> | ||||
|  | ||||
|  | ||||
|   <styles> | ||||
|     <style id="comment"               name="Comment"                   map-to="def:comment"/> | ||||
|     <style id="escaped-character"     name="Escaped Character"         map-to="def:special-char"/> | ||||
|     <style id="interpolation"         name="Interpolation Syntax"      map-to="def:special-char"/> | ||||
|     <style id="interpolated"          name="Interpolated Expression"   map-to="def:identifier"/> | ||||
|     <style id="string"                name="String"                    map-to="def:string"/> | ||||
|     <style id="number"                name="Number"                    map-to="def:number"/> | ||||
|     <style id="boolean"               name="Boolean value"             map-to="def:boolean"/> | ||||
|     <style id="null"                  name="Null Value"                map-to="def:constant"/> | ||||
|     <style id="data-type"             name="Data Type"                 map-to="def:type"/> | ||||
|     <style id="keyword"               name="Keyword"                   map-to="def:keyword"/> | ||||
|     <style id="identifier"            name="Identifier Label"          map-to="def:special-char"/> | ||||
|     <style id="reference"             name="Reference"                 map-to="def:special-constant"/> | ||||
|     <style id="block-type"            name="Block Type"                map-to="def:strong-emphasis"/> | ||||
|     <style id="block-title"           name="Block Title"               map-to="def:identifier"/> | ||||
|     <style id="block-label"           name="Block Label"               map-to="def:string"/> | ||||
|     <style id="builtin-function"      name="Built-in Function"         map-to="def:function"/> | ||||
|     <style id="error"                 name="Error"                     map-to="def:error"/> | ||||
|     <style id="statement"             name="Statment"                  map-to="def:statement"/> | ||||
|   </styles> | ||||
|  | ||||
|   <definitions> | ||||
|     <define-regex id="identifier">\b(?!null|false|true)[[:alpha:]][[:alnum:]_-]*\b</define-regex> | ||||
|     <define-regex id="block-head">(^\s*(?P<title>\%{identifier})\s+)?(?P<label>(\"?\%{identifier}\"?\s*)*)\{</define-regex> | ||||
|     <define-regex id="escaped-character" extended="true"> | ||||
|       \\( | ||||
|         [nrtbf"'\\$%] |w | ||||
|         u[0-9A-Fa-f]{4} | | ||||
|         [0-3] ([0-7] [0-7]?)? | [4-7] [0-7]? | ||||
|       ) | ||||
|     </define-regex> | ||||
|  | ||||
|     <context id="terraform" class="no-spell-check"> | ||||
|       <include> | ||||
|         <context ref="comment"/> | ||||
|         <context ref="block-type"/> | ||||
|         <context ref="block"/> | ||||
|         <context ref="argument"/> | ||||
|         <context ref="expression"/> | ||||
|       </include> | ||||
|     </context> | ||||
|  | ||||
|     <context id="comment"> | ||||
|       <include> | ||||
|         <context ref="def:shell-like-comment" style-ref="comment"/> | ||||
|         <context ref="def:c-like-comment" style-ref="comment"/> | ||||
|         <context ref="def:c-like-comment-multiline" style-ref="comment"/> | ||||
|       </include> | ||||
|     </context> | ||||
|  | ||||
|     <context id="block-type" style-ref="block-type"> | ||||
|       <keyword>resource</keyword> | ||||
|       <keyword>provider</keyword> | ||||
|       <keyword>variable</keyword> | ||||
|       <keyword>output</keyword> | ||||
|       <keyword>locals</keyword> | ||||
|       <keyword>module</keyword> | ||||
|       <keyword>data</keyword> | ||||
|       <keyword>terraform</keyword> | ||||
|     </context> | ||||
|  | ||||
|     <context id="block" end-at-line-end="false"> | ||||
|       <start>\%{block-head}</start> | ||||
|       <end>\}</end> | ||||
|       <include> | ||||
|         <context sub-pattern="title" where="start" style-ref="block-title"/> | ||||
|         <context sub-pattern="label" where="start" style-ref="block-label"/> | ||||
|         <context ref="comment"/> | ||||
|         <context ref="argument"/> | ||||
|         <context ref="block"/> | ||||
|       </include> | ||||
|     </context> | ||||
|  | ||||
|     <context id="argument" end-at-line-end="true"> | ||||
|       <start>^\s*(\%{identifier})\s*(=(?!=|\>))\s*</start> | ||||
|       <include> | ||||
|         <context sub-pattern="1" where="start" style-ref="identifier"/> | ||||
|         <context ref="comment"/> | ||||
|         <context ref="expression"/> | ||||
|       </include> | ||||
|     </context> | ||||
|  | ||||
|     <context id="expression"> | ||||
|       <include> | ||||
|         <context ref="data-type"/> | ||||
|         <context ref="attribute"/> | ||||
|         <context ref="tuple"/> | ||||
|         <context ref="object"/> | ||||
|         <context ref="named-value-reference"/> | ||||
|         <context ref="function"/> | ||||
|       </include> | ||||
|     </context> | ||||
|  | ||||
|     <context id="attribute"> | ||||
|       <match>\.(\%{identifier})\s*(\[(?P<index>[0-9]+|\*)\])?</match> | ||||
|       <include> | ||||
|         <context style-ref="identifier" sub-pattern="1"/> | ||||
|         <context style-ref="number" sub-pattern="index"/> | ||||
|       </include> | ||||
|     </context> | ||||
|  | ||||
|     <context id="data-type"> | ||||
|       <include> | ||||
|         <context ref="boolean"/> | ||||
|         <context ref="null"/> | ||||
|         <context ref="number"/> | ||||
|         <context ref="string"/> | ||||
|         <context ref="primitive-type"/> | ||||
|         <context ref="collection-type"/> | ||||
|         <context ref="structural-type"/> | ||||
|       </include> | ||||
|     </context> | ||||
|  | ||||
|     <context id="boolean" style-ref="boolean"> | ||||
|       <keyword>false</keyword> | ||||
|       <keyword>true</keyword> | ||||
|     </context> | ||||
|  | ||||
|     <context id="null" style-ref="null"> | ||||
|       <keyword>null</keyword> | ||||
|     </context> | ||||
|  | ||||
|     <context id="number"> | ||||
|       <include> | ||||
|         <context ref="def:decimal" style-ref="number"/> | ||||
|         <context ref="def:octal" style-ref="number"/> | ||||
|         <context ref="def:hexadecimal" style-ref="number"/> | ||||
|         <context ref="def:float" style-ref="number"/> | ||||
|       </include> | ||||
|     </context> | ||||
|  | ||||
|     <context id="primitive-type" style-ref="data-type"> | ||||
|       <keyword>any</keyword> | ||||
|       <keyword>string</keyword> | ||||
|       <keyword>number</keyword> | ||||
|       <keyword>bool</keyword> | ||||
|     </context> | ||||
|  | ||||
|     <context id="collection-type"> | ||||
|       <start>(list|map|set)\(</start> | ||||
|       <end>\)</end> | ||||
|       <include> | ||||
|         <context sub-pattern="1" where="start" style-ref="keyword"/> | ||||
|         <context ref="primitive-type"/> | ||||
|         <context ref="collection-type"/> | ||||
|         <context ref="structural-type"/> | ||||
|       </include> | ||||
|     </context> | ||||
|  | ||||
|     <context id="structural-type"> | ||||
|       <start>(object|tuple)\(</start> | ||||
|       <end>\)</end> | ||||
|       <include> | ||||
|         <context sub-pattern="1" where="start" style-ref="keyword"/> | ||||
|         <context ref="tuple"/> | ||||
|         <context ref="object"/> | ||||
|       </include> | ||||
|     </context> | ||||
|  | ||||
|     <context id="tuple"> | ||||
|       <start>\[</start> | ||||
|       <end>\]</end> | ||||
|       <include> | ||||
|         <context ref="comment"/> | ||||
|         <context ref="for-body"/> | ||||
|         <context ref="expression"/> | ||||
|       </include> | ||||
|     </context> | ||||
|  | ||||
|     <context id="object"> | ||||
|       <start>\{</start> | ||||
|       <end>\}</end> | ||||
|       <include> | ||||
|         <context ref="comment"/> | ||||
|         <context ref="for-body"/> | ||||
|         <context ref="argument"/> | ||||
|         <context ref="expression"/> | ||||
|       </include> | ||||
|     </context> | ||||
|  | ||||
|     <context id="for-body" extend-parent="false"> | ||||
|       <start>(?<=\{|\[)\s*for</start> | ||||
|       <include> | ||||
|         <context style-ref="statement" sub-pattern="0" where="start"/> | ||||
|         <context style-ref="statement"> | ||||
|           <keyword>in</keyword> | ||||
|           <keyword>if</keyword> | ||||
|         </context> | ||||
|         <context ref="expression"/> | ||||
|         <context ref="comment"/> | ||||
|         <context style-ref="identifier"><match>\%{identifier}</match></context> | ||||
|       </include> | ||||
|     </context> | ||||
|  | ||||
|     <context id="named-value-reference" style-ref="reference"> | ||||
|       <keyword>var</keyword> | ||||
|       <keyword>local</keyword> | ||||
|       <keyword>module</keyword> | ||||
|       <keyword>data</keyword> | ||||
|       <keyword>path</keyword> | ||||
|       <keyword>terraform</keyword> | ||||
|       <keyword>each</keyword> | ||||
|       <keyword>count</keyword> | ||||
|     </context> | ||||
|  | ||||
|     <context id="string"> | ||||
|       <include> | ||||
|         <context end-at-line-end="true" class="string" class-disabled="no-spell-check" style-ref="string"> | ||||
|           <start>"</start> | ||||
|           <end>"</end> | ||||
|           <include> | ||||
|             <context ref="extra-escaped-character"/> | ||||
|             <context ref="escaped-character"/> | ||||
|             <context ref="placeholder"/> | ||||
|           </include> | ||||
|         </context> | ||||
|         <context class="string" class-disabled="no-spell-check" style-ref="string"> | ||||
|           <start><<-?(\S+)\s*$</start> | ||||
|           <end>^\s*\%{1@start}\s*$</end> | ||||
|           <include> | ||||
|             <context ref="extra-escaped-character"/> | ||||
|             <context ref="placeholder"/> | ||||
|           </include> | ||||
|         </context> | ||||
|       </include> | ||||
|     </context> | ||||
|  | ||||
|     <context id="placeholder"> | ||||
|       <include> | ||||
|         <context style-ref="interpolated"> | ||||
|           <start>[\$%]\{</start> | ||||
|           <end>\}</end> | ||||
|           <include> | ||||
|             <context sub-pattern="0" where="start" style-ref="interpolation"/> | ||||
|             <context sub-pattern="0" where="end" style-ref="interpolation"/> | ||||
|             <context style-ref="keyword"> | ||||
|               <keyword>if</keyword> | ||||
|               <keyword>else</keyword> | ||||
|               <keyword>endif</keyword> | ||||
|               <keyword>for</keyword> | ||||
|               <keyword>in</keyword> | ||||
|               <keyword>endfor</keyword> | ||||
|             </context> | ||||
|             <context ref="expression"/> | ||||
|           </include> | ||||
|         </context> | ||||
|       </include> | ||||
|     </context> | ||||
|  | ||||
|     <context id="escaped-character"> | ||||
|       <include> | ||||
|         <context style-ref="escaped-character"> | ||||
|           <match>\%{escaped-character}</match> | ||||
|         </context> | ||||
|         <context ref="def:line-continue"/> | ||||
|         <context style-ref="error"> | ||||
|           <!-- backslashes not part of a valid escape sequence are erroneous --> | ||||
|           <match>\\</match> | ||||
|         </context> | ||||
|       </include> | ||||
|     </context> | ||||
|  | ||||
|     <context id="extra-escaped-character"> | ||||
|       <include> | ||||
|         <context style-ref="escaped-character"> | ||||
|           <match>(\$\$\{|%%\{)</match> | ||||
|         </context> | ||||
|         <context ref="def:line-continue"/> | ||||
|       </include> | ||||
|     </context> | ||||
|  | ||||
|     <context id="function"> | ||||
|       <include> | ||||
|         <context ref="numeric-functions" style-ref="builtin-function"/> | ||||
|         <context ref="string-functions" style-ref="builtin-function"/> | ||||
|         <context ref="collection-functions" style-ref="builtin-function"/> | ||||
|         <context ref="encoding-functions" style-ref="builtin-function"/> | ||||
|         <context ref="filesystem-functions" style-ref="builtin-function"/> | ||||
|         <context ref="date-time-functions" style-ref="builtin-function"/> | ||||
|         <context ref="hash-crypto-functions" style-ref="builtin-function"/> | ||||
|         <context ref="ip-network-functions" style-ref="builtin-function"/> | ||||
|         <context ref="type-conversion-functions" style-ref="builtin-function"/> | ||||
|       </include> | ||||
|     </context> | ||||
|  | ||||
|     <context id="numeric-functions"> | ||||
|       <keyword>abs</keyword> | ||||
|       <keyword>ceil</keyword> | ||||
|       <keyword>floor</keyword> | ||||
|       <keyword>log</keyword> | ||||
|       <keyword>max</keyword> | ||||
|       <keyword>min</keyword> | ||||
|       <keyword>parseint</keyword> | ||||
|       <keyword>pow</keyword> | ||||
|       <keyword>signum</keyword> | ||||
|     </context> | ||||
|  | ||||
|     <context id="string-functions"> | ||||
|       <keyword>chomp</keyword> | ||||
|       <keyword>format</keyword> | ||||
|       <keyword>formatlist</keyword> | ||||
|       <keyword>indent</keyword> | ||||
|       <keyword>join</keyword> | ||||
|       <keyword>lower</keyword> | ||||
|       <keyword>regex</keyword> | ||||
|       <keyword>regexall</keyword> | ||||
|       <keyword>replace</keyword> | ||||
|       <keyword>split</keyword> | ||||
|       <keyword>strrev</keyword> | ||||
|       <keyword>substr</keyword> | ||||
|       <keyword>title</keyword> | ||||
|       <keyword>trim</keyword> | ||||
|       <keyword>trimprefix</keyword> | ||||
|       <keyword>trimsuffix</keyword> | ||||
|       <keyword>trimspace</keyword> | ||||
|       <keyword>upper</keyword> | ||||
|     </context> | ||||
|  | ||||
|     <context id="collection-functions"> | ||||
|       <keyword>alltrue</keyword> | ||||
|       <keyword>anytrue</keyword> | ||||
|       <keyword>chunklist</keyword> | ||||
|       <keyword>coalesce</keyword> | ||||
|       <keyword>coalescelist</keyword> | ||||
|       <keyword>compact</keyword> | ||||
|       <keyword>concat</keyword> | ||||
|       <keyword>contains</keyword> | ||||
|       <keyword>distinct</keyword> | ||||
|       <keyword>element</keyword> | ||||
|       <keyword>flatten</keyword> | ||||
|       <keyword>index</keyword> | ||||
|       <keyword>keys</keyword> | ||||
|       <keyword>length</keyword> | ||||
|       <keyword>list</keyword> | ||||
|       <keyword>lookup</keyword> | ||||
|       <keyword>map</keyword> | ||||
|       <keyword>matchkeys</keyword> | ||||
|       <keyword>merge</keyword> | ||||
|       <keyword>range</keyword> | ||||
|       <keyword>reverse</keyword> | ||||
|       <keyword>setintersection</keyword> | ||||
|       <keyword>setproduct</keyword> | ||||
|       <keyword>setsubtract</keyword> | ||||
|       <keyword>setunion</keyword> | ||||
|       <keyword>slice</keyword> | ||||
|       <keyword>sort</keyword> | ||||
|       <keyword>sum</keyword> | ||||
|       <keyword>transpose</keyword> | ||||
|       <keyword>values</keyword> | ||||
|       <keyword>zipmap</keyword> | ||||
|     </context> | ||||
|  | ||||
|     <context id="encoding-functions"> | ||||
|       <keyword>base64decode</keyword> | ||||
|       <keyword>base64encode</keyword> | ||||
|       <keyword>base64gzip</keyword> | ||||
|       <keyword>csvdecode</keyword> | ||||
|       <keyword>jsondecode</keyword> | ||||
|       <keyword>jsonencode</keyword> | ||||
|       <keyword>textdecodebase64</keyword> | ||||
|       <keyword>textencodebase64</keyword> | ||||
|       <keyword>urlencode</keyword> | ||||
|       <keyword>yamldecode</keyword> | ||||
|       <keyword>yamlencode</keyword> | ||||
|     </context> | ||||
|  | ||||
|     <context id="filesystem-functions"> | ||||
|       <keyword>abspath</keyword> | ||||
|       <keyword>dirname</keyword> | ||||
|       <keyword>pathexpand</keyword> | ||||
|       <keyword>basename</keyword> | ||||
|       <keyword>file</keyword> | ||||
|       <keyword>fileexists</keyword> | ||||
|       <keyword>fileset</keyword> | ||||
|       <keyword>filebase64</keyword> | ||||
|       <keyword>templatefile</keyword> | ||||
|     </context> | ||||
|  | ||||
|     <context id="date-time-functions"> | ||||
|       <keyword>formatdate</keyword> | ||||
|       <keyword>timeadd</keyword> | ||||
|       <keyword>timestamp</keyword> | ||||
|     </context> | ||||
|  | ||||
|     <context id="hash-crypto-functions"> | ||||
|       <keyword>base64sha256</keyword> | ||||
|       <keyword>base64sha512</keyword> | ||||
|       <keyword>bcrypt</keyword> | ||||
|       <keyword>filebase64sha256</keyword> | ||||
|       <keyword>filebase64sha512</keyword> | ||||
|       <keyword>filemd5</keyword> | ||||
|       <keyword>filesha1</keyword> | ||||
|       <keyword>filesha256</keyword> | ||||
|       <keyword>filesha512</keyword> | ||||
|       <keyword>md5</keyword> | ||||
|       <keyword>rsadecrypt</keyword> | ||||
|       <keyword>sha1</keyword> | ||||
|       <keyword>sha256</keyword> | ||||
|       <keyword>sha512</keyword> | ||||
|       <keyword>uuid</keyword> | ||||
|       <keyword>uuidv5</keyword> | ||||
|     </context> | ||||
|  | ||||
|     <context id="ip-network-functions"> | ||||
|       <keyword>cidrhost</keyword> | ||||
|       <keyword>cidrnetmask</keyword> | ||||
|       <keyword>cidrsubnet</keyword> | ||||
|       <keyword>cidrsubnets</keyword> | ||||
|     </context> | ||||
|  | ||||
|     <context id="type-conversion-functions"> | ||||
|       <keyword>can</keyword> | ||||
|       <keyword>defaults</keyword> | ||||
|       <keyword>tobool</keyword> | ||||
|       <keyword>tolist</keyword> | ||||
|       <keyword>tomap</keyword> | ||||
|       <keyword>tonumber</keyword> | ||||
|       <keyword>toset</keyword> | ||||
|       <keyword>tostring</keyword> | ||||
|       <keyword>try</keyword> | ||||
|     </context> | ||||
|   </definitions> | ||||
| </language> | ||||
| @@ -4,7 +4,7 @@ | ||||
|  | ||||
|  This file is part of GtkSourceView | ||||
|  | ||||
|  Author: Wes <13hurdw@gmail.com> | ||||
|  Author: Wes Hurd <13hurdw@gmail.com> | ||||
|  Copyright (C) 2017, 2020  | ||||
|  | ||||
|  GtkSourceView is free software; you can redistribute it and/or | ||||
| @@ -128,11 +128,15 @@ | ||||
|       <keyword>base64wide</keyword> | ||||
|       <keyword>condition</keyword> | ||||
|       <keyword>contains</keyword> | ||||
|       <keyword>endswith</keyword> | ||||
|       <keyword>entrypoint</keyword> <!-- being deprecated--> | ||||
|       <keyword>filesize</keyword> | ||||
|       <keyword>for</keyword> | ||||
|       <keyword>fullword</keyword> | ||||
|       <keyword>global</keyword> | ||||
|       <keyword>icontains</keyword> | ||||
|       <keyword>iendswith</keyword> | ||||
|       <keyword>istartswith</keyword> | ||||
|       <keyword>import</keyword> | ||||
|       <keyword>in</keyword> | ||||
|       <keyword>int8</keyword> | ||||
| @@ -149,6 +153,7 @@ | ||||
|       <keyword>of</keyword> | ||||
|       <keyword>private</keyword> | ||||
|       <keyword>rule</keyword> | ||||
|       <keyword>startswith</keyword> | ||||
|       <keyword>strings</keyword> | ||||
|       <keyword>them</keyword> | ||||
|       <keyword>uint8</keyword> | ||||
|   | ||||
| @@ -24,27 +24,32 @@ | ||||
|   <author>GtkSourceView team</author> | ||||
|   <_description>Color scheme used in the Kate text editor</_description> | ||||
|  | ||||
|   <color name="red"                         value="#FF0000"/> | ||||
|   <color name="blue"                        value="#0000FF"/> | ||||
|   <color name="red"                         value="#DD0000"/> | ||||
|   <color name="blue"                        value="#0095ff"/> | ||||
|   <color name="dark-blue"                   value="#0057AE"/> | ||||
|   <color name="dark-red"                    value="#800000"/> | ||||
|   <color name="dark-green"                  value="#008000"/> | ||||
|   <color name="grey"                        value="#808080"/> | ||||
|   <color name="dark-green"                  value="#006e28"/> | ||||
|   <color name="grey"                        value="#898887"/> | ||||
|   <color name="dark-grey"                   value="#1F1C1B"/> | ||||
|   <color name="magenta"                     value="#CA60CA"/> | ||||
|   <color name="orange"                      value="#FF5500"/> | ||||
|   <color name="yellow"                      value="#FFFF00"/> | ||||
|   <color name="white"                       value="#FFFFFF"/> | ||||
|   <color name="brown"                       value="#B07E00"/> | ||||
|   <color name="brown"                       value="#B08000"/> | ||||
|   <color name="black"                       value="#000000"/> | ||||
|  | ||||
|   <!-- Global Settings --> | ||||
|   <style name="text"                        foreground="black" background="white"/> | ||||
|   <style name="selection"                   foreground="white" background="#43ace8"/> | ||||
|   <style name="current-line"                background="#EEF6FF"/> | ||||
|   <style name="line-numbers"                foreground="black" background="#d6d2d0"/> | ||||
|   <style name="current-line"                background="#f8f7f6"/> | ||||
|   <style name="current-line-number"         background="#f8f7f6" foreground="#1e1e1e"/> | ||||
|   <style name="line-numbers"                foreground="#a0a0a0" background="#f0f0f0"/> | ||||
|   <style name="right-margin"                foreground="black" background="black"/> | ||||
|   <style name="bracket-match"               foreground="white" background="black"/> | ||||
|   <style name="bracket-match"               background="yellow" foreground="magenta" bold="true"/> | ||||
|   <style name="bracket-mismatch"            background="red"/> | ||||
|   <style name="draw-spaces"                 foreground="#d3d7cf"/> | ||||
|   <style name="draw-spaces"                 foreground="#d2d2d2"/> | ||||
|   <style name="background-pattern"          background="#f3f3f3"/> | ||||
|   <style name="snippet-focus"               foreground="white" background="grey"/> | ||||
|  | ||||
|   <!-- Search Matching --> | ||||
|   <style name="search-match"                background="yellow"/> | ||||
| @@ -58,10 +63,10 @@ | ||||
|   <style name="Others 3"                    foreground="dark-green"/> | ||||
|  | ||||
|   <!-- Comments --> | ||||
|   <style name="def:comment"                 foreground="grey" italic="true" bold="false"/> | ||||
|   <style name="def:comment"                 foreground="grey"/> | ||||
|   <style name="def:shebang"                 foreground="grey" bold="true"/> | ||||
|   <style name="def:doc-comment"             foreground="blue"/> | ||||
|   <style name="def:doc-comment-element"     bold="true"/> | ||||
|   <style name="def:doc-comment"             foreground="grey"/> | ||||
|   <style name="def:doc-comment-element"     foreground="#ca60ca"/> | ||||
|  | ||||
|   <!-- Types --> | ||||
|   <style name="def:type"                    foreground="dark-blue"/> | ||||
| @@ -73,16 +78,17 @@ | ||||
|   <style name="def:floating-point"          foreground="brown"/> | ||||
|   <style name="def:complex"                 use-style="def:base-n-integer"/> | ||||
|   <style name="def:character"               foreground="#FF80E0"/> | ||||
|   <style name="def:string"                  foreground="#DD0000"/> | ||||
|   <style name="def:special-char"            foreground="#FF00FF"/> | ||||
|   <style name="def:string"                  foreground="red"/> | ||||
|   <style name="def:special-char"            foreground="blue"/> | ||||
|   <style name="def:builtin"                 use-style="def:type"/> | ||||
|  | ||||
|   <!-- Identifiers --> | ||||
|   <style name="def:identifier"              foreground="dark-blue"/> | ||||
|   <style name="def:function"                use-style="def:identifier"/> | ||||
|  | ||||
|   <!-- Statements --> | ||||
|   <!-- Statements and Operators --> | ||||
|   <style name="def:statement"               bold="true"/> | ||||
|   <style name="def:operator"                foreground="magenta"/> | ||||
|  | ||||
|   <!-- Markup --> | ||||
|   <style name="def:emphasis"                bold="true"/> | ||||
| @@ -99,7 +105,7 @@ | ||||
|   <style name="def:list-marker"             bold="true"/> | ||||
|  | ||||
|   <!-- Others --> | ||||
|   <style name="def:preprocessor"            bold="true"/> | ||||
|   <style name="def:preprocessor"            foreground="#2a773d"/> | ||||
|   <style name="def:note"                    foreground="#BF0303" background="#F7E7E7" bold="true" italic="false"/> | ||||
|   <style name="def:error"                   foreground="red" underline="true"/> | ||||
|   <style name="def:warning"                 foreground="brown" underline="true"/> | ||||
| @@ -118,7 +124,7 @@ | ||||
|  | ||||
|   <!-- Language specific styles --> | ||||
|   <style name="c:preprocessor"              foreground="dark-green"/> | ||||
|   <style name="c:included-file"             use-style="c:preprocessor"/> | ||||
|   <style name="c:included-file"             foreground="orange"/> | ||||
|   <style name="c:common-defines"            foreground="#0095FF" bold="true"/> | ||||
|  | ||||
|   <style name="diff:diff-file"              use-style="def:statement"/> | ||||
|   | ||||
| Before Width: | Height: | Size: 309 B After Width: | Height: | Size: 306 B | 
| Before Width: | Height: | Size: 234 B After Width: | Height: | Size: 234 B | 
| Before Width: | Height: | Size: 234 B After Width: | Height: | Size: 234 B | 
| Before Width: | Height: | Size: 231 B After Width: | Height: | Size: 238 B | 
| Before Width: | Height: | Size: 220 B After Width: | Height: | Size: 231 B | 
| Before Width: | Height: | Size: 213 B After Width: | Height: | Size: 214 B | 
| Before Width: | Height: | Size: 184 B After Width: | Height: | Size: 204 B | 
| Before Width: | Height: | Size: 194 B After Width: | Height: | Size: 189 B | 
| Before Width: | Height: | Size: 223 B After Width: | Height: | Size: 254 B | 
| Before Width: | Height: | Size: 274 B After Width: | Height: | Size: 290 B | 
| Before Width: | Height: | Size: 147 B After Width: | Height: | Size: 188 B | 
| Before Width: | Height: | Size: 263 B After Width: | Height: | Size: 301 B | 
| Before Width: | Height: | Size: 210 B After Width: | Height: | Size: 228 B | 
| Before Width: | Height: | Size: 192 B After Width: | Height: | Size: 202 B | 
| Before Width: | Height: | Size: 174 B After Width: | Height: | Size: 187 B | 
| Before Width: | Height: | Size: 203 B After Width: | Height: | Size: 209 B | 
| Before Width: | Height: | Size: 237 B After Width: | Height: | Size: 255 B | 
| After Width: | Height: | Size: 243 B | 
| Before Width: | Height: | Size: 236 B After Width: | Height: | Size: 238 B | 
| Before Width: | Height: | Size: 155 B After Width: | Height: | Size: 169 B | 
| Before Width: | Height: | Size: 304 B After Width: | Height: | Size: 323 B | 
| Before Width: | Height: | Size: 286 B After Width: | Height: | Size: 306 B | 
| Before Width: | Height: | Size: 302 B After Width: | Height: | Size: 327 B | 
| Before Width: | Height: | Size: 282 B After Width: | Height: | Size: 316 B | 
| Before Width: | Height: | Size: 223 B After Width: | Height: | Size: 197 B | 
| Before Width: | Height: | Size: 209 B After Width: | Height: | Size: 238 B | 
| Before Width: | Height: | Size: 189 B After Width: | Height: | Size: 258 B | 
| Before Width: | Height: | Size: 164 B After Width: | Height: | Size: 204 B | 
| Before Width: | Height: | Size: 189 B After Width: | Height: | Size: 258 B | 
| Before Width: | Height: | Size: 209 B After Width: | Height: | Size: 238 B | 
| Before Width: | Height: | Size: 282 B After Width: | Height: | Size: 266 B | 
| Before Width: | Height: | Size: 343 B After Width: | Height: | Size: 334 B | 
| Before Width: | Height: | Size: 194 B After Width: | Height: | Size: 200 B | 
| Before Width: | Height: | Size: 220 B After Width: | Height: | Size: 220 B | 
| Before Width: | Height: | Size: 159 B After Width: | Height: | Size: 171 B | 
| Before Width: | Height: | Size: 165 B After Width: | Height: | Size: 174 B | 
| Before Width: | Height: | Size: 165 B After Width: | Height: | Size: 174 B | 
| Before Width: | Height: | Size: 159 B After Width: | Height: | Size: 171 B | 
| Before Width: | Height: | Size: 119 B After Width: | Height: | Size: 119 B | 
| Before Width: | Height: | Size: 104 B After Width: | Height: | Size: 106 B | 
| Before Width: | Height: | Size: 115 B After Width: | Height: | Size: 118 B | 
| Before Width: | Height: | Size: 117 B After Width: | Height: | Size: 117 B | 
| Before Width: | Height: | Size: 183 B After Width: | Height: | Size: 183 B | 
| Before Width: | Height: | Size: 201 B After Width: | Height: | Size: 202 B | 
| Before Width: | Height: | Size: 149 B After Width: | Height: | Size: 154 B | 
| Before Width: | Height: | Size: 177 B After Width: | Height: | Size: 176 B | 
| Before Width: | Height: | Size: 174 B After Width: | Height: | Size: 182 B | 
| Before Width: | Height: | Size: 166 B After Width: | Height: | Size: 171 B | 
| Before Width: | Height: | Size: 188 B After Width: | Height: | Size: 177 B | 
| Before Width: | Height: | Size: 190 B After Width: | Height: | Size: 177 B | 
| Before Width: | Height: | Size: 190 B After Width: | Height: | Size: 177 B | 
| Before Width: | Height: | Size: 188 B After Width: | Height: | Size: 177 B | 
| Before Width: | Height: | Size: 147 B After Width: | Height: | Size: 146 B | 
| Before Width: | Height: | Size: 140 B After Width: | Height: | Size: 141 B | 
| Before Width: | Height: | Size: 140 B After Width: | Height: | Size: 141 B | 
| Before Width: | Height: | Size: 147 B After Width: | Height: | Size: 146 B | 
| Before Width: | Height: | Size: 179 B After Width: | Height: | Size: 180 B | 
| Before Width: | Height: | Size: 165 B After Width: | Height: | Size: 168 B | 
| Before Width: | Height: | Size: 113 B After Width: | Height: | Size: 116 B | 
| Before Width: | Height: | Size: 101 B After Width: | Height: | Size: 100 B | 
| Before Width: | Height: | Size: 255 B After Width: | Height: | Size: 289 B | 
| Before Width: | Height: | Size: 157 B After Width: | Height: | Size: 157 B | 
| Before Width: | Height: | Size: 109 B After Width: | Height: | Size: 105 B | 
| Before Width: | Height: | Size: 165 B After Width: | Height: | Size: 195 B | 
| Before Width: | Height: | Size: 106 B After Width: | Height: | Size: 104 B | 
| Before Width: | Height: | Size: 180 B After Width: | Height: | Size: 236 B | 
| Before Width: | Height: | Size: 164 B After Width: | Height: | Size: 160 B | 
| Before Width: | Height: | Size: 156 B After Width: | Height: | Size: 150 B | 
| Before Width: | Height: | Size: 180 B After Width: | Height: | Size: 186 B | 
| Before Width: | Height: | Size: 179 B After Width: | Height: | Size: 181 B | 
| Before Width: | Height: | Size: 188 B After Width: | Height: | Size: 185 B | 
| Before Width: | Height: | Size: 192 B After Width: | Height: | Size: 252 B | 
| Before Width: | Height: | Size: 200 B After Width: | Height: | Size: 241 B | 
| Before Width: | Height: | Size: 167 B After Width: | Height: | Size: 220 B | 
| Before Width: | Height: | Size: 104 B After Width: | Height: | Size: 106 B | 
| Before Width: | Height: | Size: 251 B After Width: | Height: | Size: 242 B | 
| Before Width: | Height: | Size: 287 B After Width: | Height: | Size: 287 B | 
| After Width: | Height: | Size: 199 B | 
| After Width: | Height: | Size: 198 B | 
| After Width: | Height: | Size: 198 B | 
| Before Width: | Height: | Size: 192 B After Width: | Height: | Size: 199 B | 
| Before Width: | Height: | Size: 284 B After Width: | Height: | Size: 316 B | 
| Before Width: | Height: | Size: 184 B After Width: | Height: | Size: 205 B | 
| Before Width: | Height: | Size: 256 B After Width: | Height: | Size: 256 B | 
| Before Width: | Height: | Size: 129 B After Width: | Height: | Size: 132 B | 
| Before Width: | Height: | Size: 200 B After Width: | Height: | Size: 238 B |