gtksourceview3 3.1.1-x64-mingw32 → 3.1.2-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (170) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +1 -1
  3. data/dependency-check/Rakefile +43 -0
  4. data/vendor/local/bin/libgtksourceview-3.0-1.dll +0 -0
  5. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksource.h +1 -0
  6. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceautocleanups.h +8 -0
  7. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionitem.h +35 -3
  8. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutter.h +8 -0
  9. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemap.h +2 -2
  10. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcesearchcontext.h +1 -1
  11. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcespacedrawer.h +149 -0
  12. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschemechooser.h +0 -1
  13. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschemechooserbutton.h +1 -2
  14. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschemechooserwidget.h +1 -2
  15. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcetypes.h +12 -0
  16. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceversion.h +30 -2
  17. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview-enumtypes.h +13 -0
  18. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview.h +11 -2
  19. data/vendor/local/lib/girepository-1.0/GtkSource-3.0.typelib +0 -0
  20. data/vendor/local/lib/libgtksourceview-3.0.dll.a +0 -0
  21. data/vendor/local/lib/libgtksourceview-3.0.la +2 -2
  22. data/vendor/local/lib/pkgconfig/gtksourceview-3.0.pc +1 -1
  23. data/vendor/local/share/gir-1.0/GtkSource-3.0.gir +573 -20
  24. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceBuffer.html +4 -5
  25. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletion.html +4 -3
  26. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionContext.html +2 -2
  27. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionInfo.html +1 -1
  28. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionItem.html +298 -1
  29. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutter.html +70 -0
  30. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRenderer.html +170 -170
  31. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMap.html +4 -4
  32. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceRegion.html +2 -2
  33. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchContext.html +9 -0
  34. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSpaceDrawer.html +671 -0
  35. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooserButton.html +4 -4
  36. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooserWidget.html +4 -4
  37. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceTag.html +4 -4
  38. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceView.html +173 -91
  39. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/annotation-glossary.html +2 -4
  40. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-0.html +2 -2
  41. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-10.html +2 -2
  42. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-12.html +2 -2
  43. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-2.html +2 -2
  44. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-4.html +2 -2
  45. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-8.html +2 -2
  46. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-0.html +2 -2
  47. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-10.html +2 -2
  48. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-12.html +2 -2
  49. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-14.html +2 -2
  50. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-16.html +2 -2
  51. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-18.html +2 -2
  52. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-20.html +2 -2
  53. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-22.html +4 -3
  54. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-24.html +129 -0
  55. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-4.html +2 -2
  56. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-deprecated.html +30 -2
  57. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-full.html +109 -5
  58. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch01.html +5 -5
  59. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch02.html +3 -3
  60. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch03.html +3 -3
  61. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch04.html +3 -3
  62. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch05.html +3 -3
  63. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch06.html +3 -3
  64. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch07.html +3 -3
  65. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch08.html +3 -3
  66. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch09.html +6 -3
  67. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-Version-Information.html +17 -4
  68. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0.devhelp2 +62 -22
  69. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.html +10 -5
  70. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-reference.html +28 -28
  71. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-tutorial.html +6 -6
  72. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/object-tree.html +8 -5
  73. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/pt01.html +29 -141
  74. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/pt02.html +136 -15
  75. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/pt03.html +21 -25
  76. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/pt04.html +54 -0
  77. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style-reference.html +6 -6
  78. data/vendor/local/share/gtksourceview-3.0/language-specs/abnf.lang +110 -0
  79. data/vendor/local/share/gtksourceview-3.0/language-specs/css.lang +64 -0
  80. data/vendor/local/share/gtksourceview-3.0/language-specs/dtl.lang +297 -0
  81. data/vendor/local/share/gtksourceview-3.0/language-specs/haxe.lang +238 -0
  82. data/vendor/local/share/gtksourceview-3.0/language-specs/ini.lang +1 -1
  83. data/vendor/local/share/gtksourceview-3.0/language-specs/javascript.lang +3 -0
  84. data/vendor/local/share/gtksourceview-3.0/language-specs/meson.lang +29 -2
  85. data/vendor/local/share/gtksourceview-3.0/language-specs/php.lang +1 -1
  86. data/vendor/local/share/gtksourceview-3.0/language-specs/python3.lang +1 -0
  87. data/vendor/local/share/gtksourceview-3.0/language-specs/rust.lang +10 -2
  88. data/vendor/local/share/locale/ar/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  89. data/vendor/local/share/locale/as/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  90. data/vendor/local/share/locale/ast/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  91. data/vendor/local/share/locale/az/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  92. data/vendor/local/share/locale/be/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  93. data/vendor/local/share/locale/bg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  94. data/vendor/local/share/locale/bn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  95. data/vendor/local/share/locale/bn_IN/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  96. data/vendor/local/share/locale/bs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  97. data/vendor/local/share/locale/ca/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  98. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  99. data/vendor/local/share/locale/cs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  100. data/vendor/local/share/locale/cy/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  101. data/vendor/local/share/locale/da/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  102. data/vendor/local/share/locale/de/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  103. data/vendor/local/share/locale/dz/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  104. data/vendor/local/share/locale/el/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  105. data/vendor/local/share/locale/en@shaw/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  106. data/vendor/local/share/locale/en_CA/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  107. data/vendor/local/share/locale/en_GB/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  108. data/vendor/local/share/locale/eo/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  109. data/vendor/local/share/locale/es/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  110. data/vendor/local/share/locale/et/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  111. data/vendor/local/share/locale/eu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  112. data/vendor/local/share/locale/fa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  113. data/vendor/local/share/locale/fi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  114. data/vendor/local/share/locale/fr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  115. data/vendor/local/share/locale/fur/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  116. data/vendor/local/share/locale/ga/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  117. data/vendor/local/share/locale/gl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  118. data/vendor/local/share/locale/gu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  119. data/vendor/local/share/locale/he/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  120. data/vendor/local/share/locale/hi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  121. data/vendor/local/share/locale/hr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  122. data/vendor/local/share/locale/hu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  123. data/vendor/local/share/locale/id/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  124. data/vendor/local/share/locale/it/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  125. data/vendor/local/share/locale/ja/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  126. data/vendor/local/share/locale/kk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  127. data/vendor/local/share/locale/kn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  128. data/vendor/local/share/locale/ko/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  129. data/vendor/local/share/locale/lt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  130. data/vendor/local/share/locale/lv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  131. data/vendor/local/share/locale/mai/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  132. data/vendor/local/share/locale/mg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  133. data/vendor/local/share/locale/mk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  134. data/vendor/local/share/locale/ml/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  135. data/vendor/local/share/locale/mn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  136. data/vendor/local/share/locale/mr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  137. data/vendor/local/share/locale/ms/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  138. data/vendor/local/share/locale/nb/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  139. data/vendor/local/share/locale/ne/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  140. data/vendor/local/share/locale/nl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  141. data/vendor/local/share/locale/nn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  142. data/vendor/local/share/locale/oc/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  143. data/vendor/local/share/locale/or/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  144. data/vendor/local/share/locale/pa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  145. data/vendor/local/share/locale/pl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  146. data/vendor/local/share/locale/pt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  147. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  148. data/vendor/local/share/locale/ro/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  149. data/vendor/local/share/locale/ru/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  150. data/vendor/local/share/locale/rw/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  151. data/vendor/local/share/locale/si/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  152. data/vendor/local/share/locale/sk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  153. data/vendor/local/share/locale/sl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  154. data/vendor/local/share/locale/sq/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  155. data/vendor/local/share/locale/sr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  156. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  157. data/vendor/local/share/locale/sv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  158. data/vendor/local/share/locale/ta/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  159. data/vendor/local/share/locale/te/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  160. data/vendor/local/share/locale/tg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  161. data/vendor/local/share/locale/th/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  162. data/vendor/local/share/locale/tr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  163. data/vendor/local/share/locale/ug/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  164. data/vendor/local/share/locale/uk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  165. data/vendor/local/share/locale/vi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  166. data/vendor/local/share/locale/xh/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  167. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  168. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  169. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  170. metadata +16 -7
@@ -0,0 +1,238 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+
4
+ This file is part of GtkSourceView
5
+
6
+ Author: Ian Liu Rodrigues <ian.liu88@gmail.com> (modified from java.lang)
7
+ Copyright (C) 2003 Gustavo Giráldez <gustavo.giraldez@gmx.net>
8
+ Copyright (C) 2006 Jeff Walden <jwalden@mit.edu>
9
+ Copyright (C) 2012 Sapphire Becker <guess@logicplace.com>
10
+ Copyright (C) 2016 Wolfang Torres <wolfang.torres@gmail.com>
11
+
12
+ GtkSourceView is free software; you can redistribute it and/or
13
+ modify it under the terms of the GNU Lesser General Public
14
+ License as published by the Free Software Foundation; either
15
+ version 2.1 of the License, or (at your option) any later version.
16
+
17
+ GtkSourceView is distributed in the hope that it will be useful,
18
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
19
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20
+ Lesser General Public License for more details.
21
+
22
+ You should have received a copy of the GNU Lesser General Public
23
+ License along with this library; if not, write to the Free Software
24
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
25
+
26
+ -->
27
+
28
+ <!--
29
+ References:
30
+ https://en.wikipedia.org/wiki/Haxe
31
+ https://haxe.org/documentation/
32
+ https://haxe.org/manual/expression.html
33
+ -->
34
+
35
+ <language id="haxe" _name="Haxe" version="2.0" _section="Source">
36
+
37
+ <metadata>
38
+
39
+ <property name="mimetypes">text/x-haxe</property>
40
+ <property name="globs">*.hx</property>
41
+ <property name="line-comment-start">//</property>
42
+ <property name="block-comment-start">/*</property>
43
+ <property name="block-comment-end">*/</property>
44
+ </metadata>
45
+
46
+
47
+ <styles>
48
+ <style id="comment" _name="Comment" map-to="def:comment" />
49
+ <style id="external" _name="External" map-to="def:preprocessor" />
50
+ <style id="preprocessor" _name="Preprocessor" map-to="def:preprocessor" />
51
+ <style id="declaration" _name="Declaration" map-to="def:type" />
52
+ <style id="storage-class" _name="Storage Class" map-to="def:type" />
53
+ <style id="scope" _name="Scope" map-to="def:type" />
54
+ <style id="keyword" _name="Keyword" map-to="def:keyword" />
55
+ <style id="string" _name="String" map-to="def:string" />
56
+ <style id="number" _name="Number" map-to="def:decimal" />
57
+ <style id="boolean" _name="Boolean value" map-to="def:boolean" />
58
+ <style id="null-value" _name="Null Value" map-to="def:special-constant" />
59
+ <style id="type" _name="Data Type" map-to="def:identifier" />
60
+ <style id="metadata" _name="Metadata" map-to="def:constant" />
61
+ <style id="macro" _name="Macro" map-to="def:preprocessor" />
62
+ <style id="error" _name="Error" map-to="def:error" />
63
+ <style id="escaped-char" _name="Escaped Character" map-to="def:special-char" />
64
+ <style id="identifier-prefix" _name="Identifier Prefix" map-to="def:warning" />
65
+ </styles>
66
+
67
+ <definitions>
68
+
69
+ <define-regex id="escaped-char" extended="true">\\(x?\d+|[\\\?\"\'nt])</define-regex>
70
+
71
+ <define-regex id="escaped-char-error" extended="true">\\[^\\\?\"\'ntx\d]</define-regex>
72
+
73
+ <context id="line-comment" style-ref="comment" end-at-line-end="true">
74
+ <start>//</start>
75
+ <include>
76
+ <context ref="def:in-line-comment" />
77
+ </include>
78
+ </context>
79
+
80
+ <context id="block-comment" style-ref="comment">
81
+ <start>/\*</start>
82
+ <end>\*/</end>
83
+ <include>
84
+ <context ref="def:in-comment" />
85
+ </include>
86
+ </context>
87
+
88
+ <context id="close-comment-outside-comment" style-ref="error">
89
+ <match>\*/(?!\*)</match>
90
+ </context>
91
+
92
+ <context id="escaped-char" style-ref="escaped-char">
93
+ <match>\%{escaped-char}</match>
94
+ </context>
95
+
96
+ <context id="escaped-char-error" style-ref="error">
97
+ <match>\%{escaped-char-error}</match>
98
+ </context>
99
+
100
+ <context id="externals" style-ref="external">
101
+ <keyword>import</keyword>
102
+ <keyword>package</keyword>
103
+ <keyword>extern</keyword>
104
+ <keyword>using</keyword>
105
+ </context>
106
+
107
+ <context id="preo-proc" style-ref="preprocessor">
108
+ <prefix>^\s*#\s*</prefix>
109
+ <keyword>if</keyword>
110
+ <keyword>else</keyword>
111
+ <keyword>elseif</keyword>
112
+ <keyword>end</keyword>
113
+ </context>
114
+
115
+ <context id="declarations" style-ref="declaration">
116
+ <keyword>class</keyword>
117
+ <keyword>enum</keyword>
118
+ <keyword>extends</keyword>
119
+ <keyword>function</keyword>
120
+ <keyword>implements</keyword>
121
+ <keyword>interface</keyword>
122
+ <keyword>typedef</keyword>
123
+ <keyword>var</keyword>
124
+ <keyword>macro</keyword>
125
+ </context>
126
+
127
+ <context id="primitive-types" style-ref="type">
128
+ <match>[A-Z][a-zA-Z0-9]*</match>
129
+ </context>
130
+
131
+ <context id="storage-class" style-ref="storage-class">
132
+ <keyword>static</keyword>
133
+ <keyword>inline</keyword>
134
+ <keyword>abstract</keyword>
135
+ </context>
136
+
137
+ <context id="scope" style-ref="scope">
138
+ <keyword>private</keyword>
139
+ <keyword>public</keyword>
140
+ <keyword>dynamic</keyword>
141
+ <keyword>override</keyword>
142
+ </context>
143
+
144
+ <context id="flow" style-ref="keyword">
145
+ <keyword>break</keyword>
146
+ <keyword>case</keyword>
147
+ <keyword>cast</keyword>
148
+ <keyword>catch</keyword>
149
+ <keyword>continue</keyword>
150
+ <keyword>default</keyword>
151
+ <keyword>do</keyword>
152
+ <keyword>else</keyword>
153
+ <keyword>for</keyword>
154
+ <keyword>if</keyword>
155
+ <keyword>in</keyword>
156
+ <keyword>return</keyword>
157
+ <keyword>switch</keyword>
158
+ <keyword>throw</keyword>
159
+ <keyword>try</keyword>
160
+ <keyword>untyped</keyword>
161
+ <keyword>while</keyword>
162
+ </context>
163
+
164
+ <context id="memory" style-ref="keyword">
165
+ <keyword>new</keyword>
166
+ <keyword>super</keyword>
167
+ <keyword>this</keyword>
168
+ </context>
169
+
170
+ <context id="string" style-ref="string">
171
+ <start>"</start>
172
+ <end>"</end>
173
+ <include>
174
+ <context ref="escaped-char" />
175
+ <context ref="escaped-char-error" />
176
+ </include>
177
+ </context>
178
+
179
+ <context id="string-2" style-ref="string">
180
+ <start>'</start>
181
+ <end>'</end>
182
+ <include>
183
+ <context ref="escaped-char" />
184
+ <context ref="escaped-char-error" />
185
+ </include>
186
+ </context>
187
+
188
+ <context id="numeric" style-ref="number">
189
+ <match extended="true">(\b([0-9]+|0[xX][0-9a-fA-F]+)[Ll]?\b| \b(([0-9]+[Ee][-]?[0-9]+| ([0-9]*\.[0-9]+|[0-9]+\.)([Ee][-]?[0-9]+)?)[fFdD]?| [0-9]+[FfDd]))</match>
190
+ </context>
191
+
192
+ <context id="boolean" style-ref="boolean">
193
+ <keyword>false</keyword>
194
+ <keyword>true</keyword>
195
+ </context>
196
+
197
+ <context id="null-value" style-ref="null-value">
198
+ <keyword>null</keyword>
199
+ </context>
200
+
201
+ <context id="metadata" style-ref="metadata">
202
+ <match>@\w+</match>
203
+ </context>
204
+
205
+ <context id="macro" style-ref="macro">
206
+ <match>@:\w+</match>
207
+ </context>
208
+
209
+ <context id="identifier-prefix" style-ref="identifier-prefix">
210
+ <match>_hx_\w+</match>
211
+ </context>
212
+
213
+ <context id="haxe">
214
+ <include>
215
+ <context ref="line-comment" />
216
+ <context ref="block-comment" />
217
+ <context ref="close-comment-outside-comment" />
218
+ <context ref="externals" />
219
+ <context ref="preo-proc" />
220
+ <context ref="declarations" />
221
+ <context ref="primitive-types" />
222
+ <context ref="storage-class" />
223
+ <context ref="scope" />
224
+ <context ref="flow" />
225
+ <context ref="memory" />
226
+ <context ref="string" />
227
+ <context ref="string-2" />
228
+ <context ref="numeric" />
229
+ <context ref="boolean" />
230
+ <context ref="null-value" />
231
+ <context ref="metadata" />
232
+ <context ref="macro" />
233
+ <context ref="identifier-prefix" />
234
+ </include>
235
+ </context>
236
+
237
+ </definitions>
238
+ </language>
@@ -22,7 +22,7 @@
22
22
  -->
23
23
  <language id="ini" _name=".ini" version="2.0" _section="Other">
24
24
  <metadata>
25
- <property name="mimetypes">text/x-ini-file;application/x-ini-file</property>
25
+ <property name="mimetypes">text/x-ini-file;application/x-ini-file;text/x-systemd-unit;text/x-dbus-service</property>
26
26
  <property name="globs">*.ini</property>
27
27
  <property name="line-comment-start">;</property>
28
28
  </metadata>
@@ -106,6 +106,8 @@
106
106
  </context>
107
107
 
108
108
  <context id="keywords" style-ref="keyword">
109
+ <keyword>async</keyword>
110
+ <keyword>await</keyword>
109
111
  <keyword>break</keyword>
110
112
  <keyword>case</keyword>
111
113
  <keyword>catch</keyword>
@@ -124,6 +126,7 @@
124
126
  <keyword>instanceof</keyword>
125
127
  <keyword>in</keyword>
126
128
  <keyword>new</keyword>
129
+ <keyword>of</keyword>
127
130
  <keyword>return</keyword>
128
131
  <keyword>switch</keyword>
129
132
  <keyword>this</keyword>
@@ -32,6 +32,7 @@
32
32
  <style id="builtin-command" _name="Builtin Command" map-to="def:function"/>
33
33
  <style id="operator" _name="Operator" map-to="def:operator"/>
34
34
  <style id="string" _name="String" map-to="def:string" />
35
+ <style id="boolean" _name="Boolean" map-to="def:boolean"/>
35
36
  </styles>
36
37
 
37
38
  <definitions>
@@ -45,9 +46,15 @@
45
46
  <end>'</end>
46
47
  </context>
47
48
 
49
+ <!-- https://github.com/mesonbuild/meson/wiki/Reference%20manual -->
48
50
  <context id="builtin-command" style-ref="builtin-command">
49
51
  <prefix>(?i)</prefix>
50
52
  <keyword>add_global_arguments</keyword>
53
+ <keyword>add_global_link_arguments</keyword>
54
+ <keyword>add_languages</keyword>
55
+ <keyword>add_project_arguments</keyword>
56
+ <keyword>add_project_link_arguments</keyword>
57
+ <keyword>benchmark</keyword>
51
58
  <keyword>build_target</keyword>
52
59
  <keyword>configuration_data</keyword>
53
60
  <keyword>configure_file</keyword>
@@ -55,23 +62,26 @@
55
62
  <keyword>declare_dependency</keyword>
56
63
  <keyword>dependency</keyword>
57
64
  <keyword>error</keyword>
65
+ <keyword>environment</keyword>
58
66
  <keyword>executable</keyword>
59
67
  <keyword>find_program</keyword>
60
68
  <keyword>find_library</keyword>
61
69
  <keyword>files</keyword>
62
70
  <keyword>generator</keyword>
63
71
  <keyword>get_option</keyword>
64
- <keyword>gettext</keyword>
72
+ <keyword>get_variable</keyword>
73
+ <keyword>import</keyword>
65
74
  <keyword>include_directories</keyword>
66
75
  <keyword>install_data</keyword>
67
76
  <keyword>install_headers</keyword>
68
77
  <keyword>install_man</keyword>
69
78
  <keyword>install_subdir</keyword>
70
79
  <keyword>is_subproject</keyword>
80
+ <keyword>is_variable</keyword>
71
81
  <keyword>jar</keyword>
82
+ <keyword>join_paths</keyword>
72
83
  <keyword>library</keyword>
73
84
  <keyword>message</keyword>
74
- <keyword>pkgconfig_gen</keyword>
75
85
  <keyword>project</keyword>
76
86
  <keyword>run_command</keyword>
77
87
  <keyword>run_target</keyword>
@@ -82,6 +92,9 @@
82
92
  <keyword>subproject</keyword>
83
93
  <keyword>test</keyword>
84
94
  <keyword>vcs_tag</keyword>
95
+
96
+ <!-- Used in option file -->
97
+ <keyword>option</keyword>
85
98
  </context>
86
99
 
87
100
  <context id="operator" style-ref="operator">
@@ -93,12 +106,26 @@
93
106
  <keyword>endforeach</keyword>
94
107
  </context>
95
108
 
109
+ <context id="boolean" style-ref="boolean">
110
+ <prefix>(?&lt;![\w\.])</prefix>
111
+ <keyword>false</keyword>
112
+ <keyword>true</keyword>
113
+ </context>
114
+
115
+ <context id="keywords" style-ref="keyword">
116
+ <keyword>and</keyword>
117
+ <keyword>not</keyword>
118
+ <keyword>or</keyword>
119
+ </context>
120
+
96
121
  <context id="meson" class="no-spell-check">
97
122
  <include>
98
123
  <context ref="multiline-string"/>
99
124
  <context ref="string"/>
100
125
  <context ref="builtin-command"/>
101
126
  <context ref="operator"/>
127
+ <context ref="boolean"/>
128
+ <context ref="keywords"/>
102
129
  <context ref="def:shell-like-comment"/>
103
130
  </include>
104
131
  </context>
@@ -30,7 +30,7 @@
30
30
  <metadata>
31
31
  <property name="mimetypes">text/x-php;application/x-php;text/x-php-source;application/x-php-source</property>
32
32
  <property name="globs">*.php;*.php3;*.php4;*.phtml</property>
33
- <property name="line-comment-start">#</property>
33
+ <property name="line-comment-start">//</property>
34
34
  <property name="block-comment-start">/*</property>
35
35
  <property name="block-comment-end">*/</property>
36
36
  </metadata>
@@ -23,6 +23,7 @@
23
23
  -->
24
24
  <language id="python3" _name="Python 3" version="2.0" _section="Script">
25
25
  <metadata>
26
+ <property name="mimetypes">text/x-python3</property>
26
27
  <property name="globs">*.py3</property>
27
28
  <property name="line-comment-start">#</property>
28
29
  </metadata>
@@ -273,7 +273,7 @@ except according to those terms.
273
273
  </context>
274
274
 
275
275
  <context id="invalid-char" style-ref="error">
276
- <match extended="true">'([^\\']|\\\%{common-escape}|\\\%{unicode-escape}){2,}'</match>
276
+ <match extended="true">'([^\\']|\\\%{common-escape}|\\\%{unicode-escape}){2,}'(?!\%{ident})</match>
277
277
  </context>
278
278
 
279
279
  <context id="byte" style-ref="char">
@@ -294,10 +294,18 @@ except according to those terms.
294
294
  </include>
295
295
  </context>
296
296
 
297
+ <context id="comment-multiline-nested" style-ref="comment" class-disabled="no-spell-check" class="comment" >
298
+ <start>/\*</start>
299
+ <end>\*/</end>
300
+ <include>
301
+ <context ref="comment-multiline-nested"/>
302
+ </include>
303
+ </context>
304
+
297
305
  <context id="rust" class="no-spell-check">
298
306
  <include>
299
307
  <context ref="def:c-like-comment" style-ref="comment"/>
300
- <context ref="def:c-like-comment-multiline" style-ref="comment"/>
308
+ <context ref="comment-multiline-nested"/>
301
309
  <context ref="function"/>
302
310
  <context ref="type"/>
303
311
  <context ref="keywords"/>