gtksourceview4 3.2.9-x86-mingw32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (379) hide show
  1. checksums.yaml +7 -0
  2. data/COPYING.LIB +502 -0
  3. data/README.md +24 -0
  4. data/Rakefile +61 -0
  5. data/dependency-check/Rakefile +43 -0
  6. data/gtksourceview4.gemspec +45 -0
  7. data/lib/gtksourceview4/deprecated.rb +49 -0
  8. data/lib/gtksourceview4/loader.rb +49 -0
  9. data/lib/gtksourceview4/mark-attributes.rb +29 -0
  10. data/lib/gtksourceview4.rb +56 -0
  11. data/test/run-test.rb +62 -0
  12. data/test/test-mark-attributes.rb +26 -0
  13. data/test/test-source-gutter-renderer.rb +33 -0
  14. data/test/test-source-language-manager.rb +46 -0
  15. data/test/test-source-view.rb +55 -0
  16. data/vendor/local/bin/libgtksourceview-4-0.dll +0 -0
  17. data/vendor/local/include/gtksourceview-4/gtksourceview/completion-providers/words/gtksourcecompletionwords.h +72 -0
  18. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksource-enumtypes.h +107 -0
  19. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksource.h +67 -0
  20. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceautocleanups.h +63 -0
  21. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcebuffer.h +279 -0
  22. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcecompletion.h +156 -0
  23. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcecompletioncontext.h +102 -0
  24. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcecompletioninfo.h +77 -0
  25. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcecompletionitem.h +92 -0
  26. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcecompletionproposal.h +126 -0
  27. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcecompletionprovider.h +166 -0
  28. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceencoding.h +74 -0
  29. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcefile.h +195 -0
  30. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcefileloader.h +140 -0
  31. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcefilesaver.h +168 -0
  32. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcegutter.h +93 -0
  33. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcegutterrenderer.h +272 -0
  34. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcegutterrendererpixbuf.h +91 -0
  35. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcegutterrenderertext.h +92 -0
  36. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceinit.h +40 -0
  37. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcelanguage.h +98 -0
  38. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcelanguagemanager.h +92 -0
  39. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcemap.h +70 -0
  40. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcemark.h +79 -0
  41. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcemarkattributes.h +112 -0
  42. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceprintcompositor.h +223 -0
  43. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceregion.h +127 -0
  44. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcesearchcontext.h +161 -0
  45. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcesearchsettings.h +100 -0
  46. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcespacedrawer.h +144 -0
  47. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcestyle.h +54 -0
  48. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcestylescheme.h +119 -0
  49. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcestyleschemechooser.h +66 -0
  50. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcestyleschemechooserbutton.h +64 -0
  51. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcestyleschemechooserwidget.h +64 -0
  52. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcestyleschememanager.h +100 -0
  53. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcetag.h +54 -0
  54. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcetypes.h +73 -0
  55. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceundomanager.h +90 -0
  56. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceutils.h +41 -0
  57. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceversion.h +578 -0
  58. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceview.h +266 -0
  59. data/vendor/local/lib/girepository-1.0/GtkSource-4.typelib +0 -0
  60. data/vendor/local/lib/libgtksourceview-4.dll.a +0 -0
  61. data/vendor/local/lib/libgtksourceview-4.la +41 -0
  62. data/vendor/local/lib/pkgconfig/gtksourceview-4.pc +12 -0
  63. data/vendor/local/share/gir-1.0/GtkSource-4.gir +12999 -0
  64. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceBuffer.html +2421 -0
  65. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletion.html +1087 -0
  66. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletionContext.html +402 -0
  67. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletionInfo.html +207 -0
  68. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletionItem.html +497 -0
  69. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletionProposal.html +668 -0
  70. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletionProvider.html +837 -0
  71. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletionWords.html +343 -0
  72. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceEncoding.html +391 -0
  73. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceFile.html +769 -0
  74. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceFileLoader.html +780 -0
  75. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceFileSaver.html +965 -0
  76. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceGutter.html +438 -0
  77. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceGutterRenderer.html +1708 -0
  78. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceGutterRendererPixbuf.html +369 -0
  79. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceGutterRendererText.html +299 -0
  80. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceLanguage.html +579 -0
  81. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceLanguageManager.html +473 -0
  82. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceMap.html +254 -0
  83. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceMark.html +307 -0
  84. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceMarkAttributes.html +788 -0
  85. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourcePrintCompositor.html +2121 -0
  86. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceRegion.html +870 -0
  87. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceSearchContext.html +1216 -0
  88. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceSearchSettings.html +603 -0
  89. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceSpaceDrawer.html +671 -0
  90. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceStyle.html +433 -0
  91. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceStyleScheme.html +396 -0
  92. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceStyleSchemeChooser.html +214 -0
  93. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceStyleSchemeChooserButton.html +127 -0
  94. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceStyleSchemeChooserWidget.html +127 -0
  95. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceStyleSchemeManager.html +460 -0
  96. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceTag.html +179 -0
  97. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceUndoManager.html +460 -0
  98. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceView.html +2369 -0
  99. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/annexes.html +55 -0
  100. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/annotation-glossary.html +74 -0
  101. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-2-0.html +62 -0
  102. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-2-10.html +86 -0
  103. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-2-12.html +34 -0
  104. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-2-2.html +270 -0
  105. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-2-4.html +34 -0
  106. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-2-8.html +46 -0
  107. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-0.html +42 -0
  108. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-10.html +170 -0
  109. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-12.html +38 -0
  110. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-14.html +298 -0
  111. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-16.html +106 -0
  112. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-18.html +114 -0
  113. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-20.html +130 -0
  114. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-22.html +106 -0
  115. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-24.html +126 -0
  116. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-4.html +34 -0
  117. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-4-0.html +65 -0
  118. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-deprecated.html +30 -0
  119. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-full.html +2586 -0
  120. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-reference.html +174 -0
  121. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/completion.html +52 -0
  122. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/file-loading-and-saving.html +43 -0
  123. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/general.html +32 -0
  124. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/gtksourceview-4.0-GtkSourceUtils.html +151 -0
  125. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/gtksourceview-4.0-GtkSourceView-Initialization-and-Finalization.html +100 -0
  126. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/gtksourceview-4.0-Version-Information.html +511 -0
  127. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/gtksourceview-4.0.devhelp2 +819 -0
  128. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/gutter.html +49 -0
  129. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/home.png +0 -0
  130. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/index.html +215 -0
  131. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/intro.html +56 -0
  132. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/lang-reference.html +946 -0
  133. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/lang-tutorial.html +652 -0
  134. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/left-insensitive.png +0 -0
  135. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/left.png +0 -0
  136. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/main-classes.html +37 -0
  137. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/misc.html +52 -0
  138. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/object-tree.html +98 -0
  139. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/porting-guide-3-to-4.html +152 -0
  140. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/porting-guide.html +33 -0
  141. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/printing.html +32 -0
  142. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/right-insensitive.png +0 -0
  143. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/right.png +0 -0
  144. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/search-and-replace.html +37 -0
  145. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/style-reference.html +305 -0
  146. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/style.css +483 -0
  147. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/styling.html +49 -0
  148. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/syntax-highlighting-reference.html +49 -0
  149. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/syntax-highlighting.html +37 -0
  150. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/up-insensitive.png +0 -0
  151. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/up.png +0 -0
  152. data/vendor/local/share/gtksourceview-4/language-specs/R.lang +2198 -0
  153. data/vendor/local/share/gtksourceview-4/language-specs/abnf.lang +109 -0
  154. data/vendor/local/share/gtksourceview-4/language-specs/actionscript.lang +267 -0
  155. data/vendor/local/share/gtksourceview-4/language-specs/ada.lang +220 -0
  156. data/vendor/local/share/gtksourceview-4/language-specs/ansforth94.lang +728 -0
  157. data/vendor/local/share/gtksourceview-4/language-specs/asp.lang +1096 -0
  158. data/vendor/local/share/gtksourceview-4/language-specs/automake.lang +329 -0
  159. data/vendor/local/share/gtksourceview-4/language-specs/awk.lang +137 -0
  160. data/vendor/local/share/gtksourceview-4/language-specs/bennugd.lang +266 -0
  161. data/vendor/local/share/gtksourceview-4/language-specs/bibtex.lang +120 -0
  162. data/vendor/local/share/gtksourceview-4/language-specs/bluespec.lang +187 -0
  163. data/vendor/local/share/gtksourceview-4/language-specs/boo.lang +256 -0
  164. data/vendor/local/share/gtksourceview-4/language-specs/c.lang +343 -0
  165. data/vendor/local/share/gtksourceview-4/language-specs/cg.lang +231 -0
  166. data/vendor/local/share/gtksourceview-4/language-specs/changelog.lang +91 -0
  167. data/vendor/local/share/gtksourceview-4/language-specs/chdr.lang +50 -0
  168. data/vendor/local/share/gtksourceview-4/language-specs/cmake.lang +817 -0
  169. data/vendor/local/share/gtksourceview-4/language-specs/cobol.lang +646 -0
  170. data/vendor/local/share/gtksourceview-4/language-specs/cpp.lang +119 -0
  171. data/vendor/local/share/gtksourceview-4/language-specs/cpphdr.lang +41 -0
  172. data/vendor/local/share/gtksourceview-4/language-specs/csharp.lang +285 -0
  173. data/vendor/local/share/gtksourceview-4/language-specs/css.lang +2411 -0
  174. data/vendor/local/share/gtksourceview-4/language-specs/csv.lang +73 -0
  175. data/vendor/local/share/gtksourceview-4/language-specs/cuda.lang +281 -0
  176. data/vendor/local/share/gtksourceview-4/language-specs/d.lang +317 -0
  177. data/vendor/local/share/gtksourceview-4/language-specs/def.lang +261 -0
  178. data/vendor/local/share/gtksourceview-4/language-specs/desktop.lang +297 -0
  179. data/vendor/local/share/gtksourceview-4/language-specs/diff.lang +84 -0
  180. data/vendor/local/share/gtksourceview-4/language-specs/docbook.lang +475 -0
  181. data/vendor/local/share/gtksourceview-4/language-specs/dosbatch.lang +166 -0
  182. data/vendor/local/share/gtksourceview-4/language-specs/dot.lang +139 -0
  183. data/vendor/local/share/gtksourceview-4/language-specs/dpatch.lang +47 -0
  184. data/vendor/local/share/gtksourceview-4/language-specs/dtd.lang +139 -0
  185. data/vendor/local/share/gtksourceview-4/language-specs/dtl.lang +297 -0
  186. data/vendor/local/share/gtksourceview-4/language-specs/eiffel.lang +238 -0
  187. data/vendor/local/share/gtksourceview-4/language-specs/erlang.lang +262 -0
  188. data/vendor/local/share/gtksourceview-4/language-specs/fcl.lang +113 -0
  189. data/vendor/local/share/gtksourceview-4/language-specs/forth.lang +234 -0
  190. data/vendor/local/share/gtksourceview-4/language-specs/fortran.lang +710 -0
  191. data/vendor/local/share/gtksourceview-4/language-specs/fsharp.lang +324 -0
  192. data/vendor/local/share/gtksourceview-4/language-specs/gap.lang +84 -0
  193. data/vendor/local/share/gtksourceview-4/language-specs/gdb-log.lang +151 -0
  194. data/vendor/local/share/gtksourceview-4/language-specs/genie.lang +237 -0
  195. data/vendor/local/share/gtksourceview-4/language-specs/glsl.lang +482 -0
  196. data/vendor/local/share/gtksourceview-4/language-specs/go.lang +274 -0
  197. data/vendor/local/share/gtksourceview-4/language-specs/groovy.lang +330 -0
  198. data/vendor/local/share/gtksourceview-4/language-specs/gtk-doc.lang +90 -0
  199. data/vendor/local/share/gtksourceview-4/language-specs/gtkrc.lang +115 -0
  200. data/vendor/local/share/gtksourceview-4/language-specs/haddock.lang +161 -0
  201. data/vendor/local/share/gtksourceview-4/language-specs/haskell-literate.lang +58 -0
  202. data/vendor/local/share/gtksourceview-4/language-specs/haskell.lang +227 -0
  203. data/vendor/local/share/gtksourceview-4/language-specs/haxe.lang +237 -0
  204. data/vendor/local/share/gtksourceview-4/language-specs/html.lang +286 -0
  205. data/vendor/local/share/gtksourceview-4/language-specs/idl-exelis.lang +619 -0
  206. data/vendor/local/share/gtksourceview-4/language-specs/idl.lang +153 -0
  207. data/vendor/local/share/gtksourceview-4/language-specs/imagej.lang +783 -0
  208. data/vendor/local/share/gtksourceview-4/language-specs/ini.lang +94 -0
  209. data/vendor/local/share/gtksourceview-4/language-specs/j.lang +239 -0
  210. data/vendor/local/share/gtksourceview-4/language-specs/jade.lang +248 -0
  211. data/vendor/local/share/gtksourceview-4/language-specs/java.lang +188 -0
  212. data/vendor/local/share/gtksourceview-4/language-specs/javascript.lang +354 -0
  213. data/vendor/local/share/gtksourceview-4/language-specs/json.lang +124 -0
  214. data/vendor/local/share/gtksourceview-4/language-specs/julia.lang +376 -0
  215. data/vendor/local/share/gtksourceview-4/language-specs/kotlin.lang +389 -0
  216. data/vendor/local/share/gtksourceview-4/language-specs/language.dtd +72 -0
  217. data/vendor/local/share/gtksourceview-4/language-specs/language.rng +372 -0
  218. data/vendor/local/share/gtksourceview-4/language-specs/language2.rng +481 -0
  219. data/vendor/local/share/gtksourceview-4/language-specs/latex.lang +636 -0
  220. data/vendor/local/share/gtksourceview-4/language-specs/less.lang +793 -0
  221. data/vendor/local/share/gtksourceview-4/language-specs/lex.lang +208 -0
  222. data/vendor/local/share/gtksourceview-4/language-specs/libtool.lang +55 -0
  223. data/vendor/local/share/gtksourceview-4/language-specs/llvm.lang +314 -0
  224. data/vendor/local/share/gtksourceview-4/language-specs/logcat.lang +107 -0
  225. data/vendor/local/share/gtksourceview-4/language-specs/lua.lang +301 -0
  226. data/vendor/local/share/gtksourceview-4/language-specs/m4.lang +1374 -0
  227. data/vendor/local/share/gtksourceview-4/language-specs/makefile.lang +190 -0
  228. data/vendor/local/share/gtksourceview-4/language-specs/mallard.lang +123 -0
  229. data/vendor/local/share/gtksourceview-4/language-specs/markdown.lang +401 -0
  230. data/vendor/local/share/gtksourceview-4/language-specs/matlab.lang +148 -0
  231. data/vendor/local/share/gtksourceview-4/language-specs/maxima.lang +1864 -0
  232. data/vendor/local/share/gtksourceview-4/language-specs/mediawiki.lang +326 -0
  233. data/vendor/local/share/gtksourceview-4/language-specs/meson.lang +132 -0
  234. data/vendor/local/share/gtksourceview-4/language-specs/modelica.lang +261 -0
  235. data/vendor/local/share/gtksourceview-4/language-specs/mxml.lang +64 -0
  236. data/vendor/local/share/gtksourceview-4/language-specs/nemerle.lang +262 -0
  237. data/vendor/local/share/gtksourceview-4/language-specs/netrexx.lang +318 -0
  238. data/vendor/local/share/gtksourceview-4/language-specs/nsis.lang +87 -0
  239. data/vendor/local/share/gtksourceview-4/language-specs/objc.lang +119 -0
  240. data/vendor/local/share/gtksourceview-4/language-specs/objj.lang +127 -0
  241. data/vendor/local/share/gtksourceview-4/language-specs/ocaml.lang +301 -0
  242. data/vendor/local/share/gtksourceview-4/language-specs/ocl.lang +138 -0
  243. data/vendor/local/share/gtksourceview-4/language-specs/octave.lang +1757 -0
  244. data/vendor/local/share/gtksourceview-4/language-specs/ooc.lang +264 -0
  245. data/vendor/local/share/gtksourceview-4/language-specs/opal.lang +342 -0
  246. data/vendor/local/share/gtksourceview-4/language-specs/opencl.lang +599 -0
  247. data/vendor/local/share/gtksourceview-4/language-specs/pascal.lang +267 -0
  248. data/vendor/local/share/gtksourceview-4/language-specs/perl.lang +1044 -0
  249. data/vendor/local/share/gtksourceview-4/language-specs/php.lang +362 -0
  250. data/vendor/local/share/gtksourceview-4/language-specs/pig.lang +292 -0
  251. data/vendor/local/share/gtksourceview-4/language-specs/pkgconfig.lang +61 -0
  252. data/vendor/local/share/gtksourceview-4/language-specs/po.lang +93 -0
  253. data/vendor/local/share/gtksourceview-4/language-specs/prolog.lang +248 -0
  254. data/vendor/local/share/gtksourceview-4/language-specs/protobuf.lang +134 -0
  255. data/vendor/local/share/gtksourceview-4/language-specs/puppet.lang +696 -0
  256. data/vendor/local/share/gtksourceview-4/language-specs/python.lang +475 -0
  257. data/vendor/local/share/gtksourceview-4/language-specs/python3.lang +198 -0
  258. data/vendor/local/share/gtksourceview-4/language-specs/rpmspec.lang +215 -0
  259. data/vendor/local/share/gtksourceview-4/language-specs/rst.lang +141 -0
  260. data/vendor/local/share/gtksourceview-4/language-specs/ruby.lang +748 -0
  261. data/vendor/local/share/gtksourceview-4/language-specs/rust.lang +334 -0
  262. data/vendor/local/share/gtksourceview-4/language-specs/scala.lang +383 -0
  263. data/vendor/local/share/gtksourceview-4/language-specs/scheme.lang +301 -0
  264. data/vendor/local/share/gtksourceview-4/language-specs/scilab.lang +208 -0
  265. data/vendor/local/share/gtksourceview-4/language-specs/scss.lang +878 -0
  266. data/vendor/local/share/gtksourceview-4/language-specs/sh.lang +516 -0
  267. data/vendor/local/share/gtksourceview-4/language-specs/sml.lang +200 -0
  268. data/vendor/local/share/gtksourceview-4/language-specs/sparql.lang +451 -0
  269. data/vendor/local/share/gtksourceview-4/language-specs/sql.lang +617 -0
  270. data/vendor/local/share/gtksourceview-4/language-specs/sweave.lang +66 -0
  271. data/vendor/local/share/gtksourceview-4/language-specs/swift.lang +440 -0
  272. data/vendor/local/share/gtksourceview-4/language-specs/systemverilog.lang +262 -0
  273. data/vendor/local/share/gtksourceview-4/language-specs/t2t.lang +149 -0
  274. data/vendor/local/share/gtksourceview-4/language-specs/tcl.lang +145 -0
  275. data/vendor/local/share/gtksourceview-4/language-specs/tera.lang +142 -0
  276. data/vendor/local/share/gtksourceview-4/language-specs/texinfo.lang +447 -0
  277. data/vendor/local/share/gtksourceview-4/language-specs/thrift.lang +266 -0
  278. data/vendor/local/share/gtksourceview-4/language-specs/toml.lang +282 -0
  279. data/vendor/local/share/gtksourceview-4/language-specs/vala.lang +411 -0
  280. data/vendor/local/share/gtksourceview-4/language-specs/vbnet.lang +247 -0
  281. data/vendor/local/share/gtksourceview-4/language-specs/verilog.lang +475 -0
  282. data/vendor/local/share/gtksourceview-4/language-specs/vhdl.lang +247 -0
  283. data/vendor/local/share/gtksourceview-4/language-specs/xml.lang +219 -0
  284. data/vendor/local/share/gtksourceview-4/language-specs/xslt.lang +120 -0
  285. data/vendor/local/share/gtksourceview-4/language-specs/yacc.lang +176 -0
  286. data/vendor/local/share/gtksourceview-4/language-specs/yaml.lang +213 -0
  287. data/vendor/local/share/gtksourceview-4/styles/classic.xml +122 -0
  288. data/vendor/local/share/gtksourceview-4/styles/cobalt.xml +150 -0
  289. data/vendor/local/share/gtksourceview-4/styles/kate.xml +171 -0
  290. data/vendor/local/share/gtksourceview-4/styles/oblivion.xml +133 -0
  291. data/vendor/local/share/gtksourceview-4/styles/solarized-dark.xml +103 -0
  292. data/vendor/local/share/gtksourceview-4/styles/solarized-light.xml +102 -0
  293. data/vendor/local/share/gtksourceview-4/styles/styles.rng +139 -0
  294. data/vendor/local/share/gtksourceview-4/styles/tango.xml +130 -0
  295. data/vendor/local/share/license/gtksourceview/AUTHORS +15 -0
  296. data/vendor/local/share/license/gtksourceview/COPYING +504 -0
  297. data/vendor/local/share/locale/ar/LC_MESSAGES/gtksourceview-4.mo +0 -0
  298. data/vendor/local/share/locale/as/LC_MESSAGES/gtksourceview-4.mo +0 -0
  299. data/vendor/local/share/locale/ast/LC_MESSAGES/gtksourceview-4.mo +0 -0
  300. data/vendor/local/share/locale/az/LC_MESSAGES/gtksourceview-4.mo +0 -0
  301. data/vendor/local/share/locale/be/LC_MESSAGES/gtksourceview-4.mo +0 -0
  302. data/vendor/local/share/locale/bg/LC_MESSAGES/gtksourceview-4.mo +0 -0
  303. data/vendor/local/share/locale/bn/LC_MESSAGES/gtksourceview-4.mo +0 -0
  304. data/vendor/local/share/locale/bn_IN/LC_MESSAGES/gtksourceview-4.mo +0 -0
  305. data/vendor/local/share/locale/bs/LC_MESSAGES/gtksourceview-4.mo +0 -0
  306. data/vendor/local/share/locale/ca/LC_MESSAGES/gtksourceview-4.mo +0 -0
  307. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gtksourceview-4.mo +0 -0
  308. data/vendor/local/share/locale/cs/LC_MESSAGES/gtksourceview-4.mo +0 -0
  309. data/vendor/local/share/locale/cy/LC_MESSAGES/gtksourceview-4.mo +0 -0
  310. data/vendor/local/share/locale/da/LC_MESSAGES/gtksourceview-4.mo +0 -0
  311. data/vendor/local/share/locale/de/LC_MESSAGES/gtksourceview-4.mo +0 -0
  312. data/vendor/local/share/locale/dz/LC_MESSAGES/gtksourceview-4.mo +0 -0
  313. data/vendor/local/share/locale/el/LC_MESSAGES/gtksourceview-4.mo +0 -0
  314. data/vendor/local/share/locale/en@shaw/LC_MESSAGES/gtksourceview-4.mo +0 -0
  315. data/vendor/local/share/locale/en_CA/LC_MESSAGES/gtksourceview-4.mo +0 -0
  316. data/vendor/local/share/locale/en_GB/LC_MESSAGES/gtksourceview-4.mo +0 -0
  317. data/vendor/local/share/locale/eo/LC_MESSAGES/gtksourceview-4.mo +0 -0
  318. data/vendor/local/share/locale/es/LC_MESSAGES/gtksourceview-4.mo +0 -0
  319. data/vendor/local/share/locale/et/LC_MESSAGES/gtksourceview-4.mo +0 -0
  320. data/vendor/local/share/locale/eu/LC_MESSAGES/gtksourceview-4.mo +0 -0
  321. data/vendor/local/share/locale/fa/LC_MESSAGES/gtksourceview-4.mo +0 -0
  322. data/vendor/local/share/locale/fi/LC_MESSAGES/gtksourceview-4.mo +0 -0
  323. data/vendor/local/share/locale/fr/LC_MESSAGES/gtksourceview-4.mo +0 -0
  324. data/vendor/local/share/locale/fur/LC_MESSAGES/gtksourceview-4.mo +0 -0
  325. data/vendor/local/share/locale/ga/LC_MESSAGES/gtksourceview-4.mo +0 -0
  326. data/vendor/local/share/locale/gl/LC_MESSAGES/gtksourceview-4.mo +0 -0
  327. data/vendor/local/share/locale/gu/LC_MESSAGES/gtksourceview-4.mo +0 -0
  328. data/vendor/local/share/locale/he/LC_MESSAGES/gtksourceview-4.mo +0 -0
  329. data/vendor/local/share/locale/hi/LC_MESSAGES/gtksourceview-4.mo +0 -0
  330. data/vendor/local/share/locale/hr/LC_MESSAGES/gtksourceview-4.mo +0 -0
  331. data/vendor/local/share/locale/hu/LC_MESSAGES/gtksourceview-4.mo +0 -0
  332. data/vendor/local/share/locale/id/LC_MESSAGES/gtksourceview-4.mo +0 -0
  333. data/vendor/local/share/locale/it/LC_MESSAGES/gtksourceview-4.mo +0 -0
  334. data/vendor/local/share/locale/ja/LC_MESSAGES/gtksourceview-4.mo +0 -0
  335. data/vendor/local/share/locale/kk/LC_MESSAGES/gtksourceview-4.mo +0 -0
  336. data/vendor/local/share/locale/kn/LC_MESSAGES/gtksourceview-4.mo +0 -0
  337. data/vendor/local/share/locale/ko/LC_MESSAGES/gtksourceview-4.mo +0 -0
  338. data/vendor/local/share/locale/lt/LC_MESSAGES/gtksourceview-4.mo +0 -0
  339. data/vendor/local/share/locale/lv/LC_MESSAGES/gtksourceview-4.mo +0 -0
  340. data/vendor/local/share/locale/mai/LC_MESSAGES/gtksourceview-4.mo +0 -0
  341. data/vendor/local/share/locale/mg/LC_MESSAGES/gtksourceview-4.mo +0 -0
  342. data/vendor/local/share/locale/mk/LC_MESSAGES/gtksourceview-4.mo +0 -0
  343. data/vendor/local/share/locale/ml/LC_MESSAGES/gtksourceview-4.mo +0 -0
  344. data/vendor/local/share/locale/mn/LC_MESSAGES/gtksourceview-4.mo +0 -0
  345. data/vendor/local/share/locale/mr/LC_MESSAGES/gtksourceview-4.mo +0 -0
  346. data/vendor/local/share/locale/ms/LC_MESSAGES/gtksourceview-4.mo +0 -0
  347. data/vendor/local/share/locale/nb/LC_MESSAGES/gtksourceview-4.mo +0 -0
  348. data/vendor/local/share/locale/ne/LC_MESSAGES/gtksourceview-4.mo +0 -0
  349. data/vendor/local/share/locale/nl/LC_MESSAGES/gtksourceview-4.mo +0 -0
  350. data/vendor/local/share/locale/nn/LC_MESSAGES/gtksourceview-4.mo +0 -0
  351. data/vendor/local/share/locale/oc/LC_MESSAGES/gtksourceview-4.mo +0 -0
  352. data/vendor/local/share/locale/or/LC_MESSAGES/gtksourceview-4.mo +0 -0
  353. data/vendor/local/share/locale/pa/LC_MESSAGES/gtksourceview-4.mo +0 -0
  354. data/vendor/local/share/locale/pl/LC_MESSAGES/gtksourceview-4.mo +0 -0
  355. data/vendor/local/share/locale/pt/LC_MESSAGES/gtksourceview-4.mo +0 -0
  356. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gtksourceview-4.mo +0 -0
  357. data/vendor/local/share/locale/ro/LC_MESSAGES/gtksourceview-4.mo +0 -0
  358. data/vendor/local/share/locale/ru/LC_MESSAGES/gtksourceview-4.mo +0 -0
  359. data/vendor/local/share/locale/rw/LC_MESSAGES/gtksourceview-4.mo +0 -0
  360. data/vendor/local/share/locale/si/LC_MESSAGES/gtksourceview-4.mo +0 -0
  361. data/vendor/local/share/locale/sk/LC_MESSAGES/gtksourceview-4.mo +0 -0
  362. data/vendor/local/share/locale/sl/LC_MESSAGES/gtksourceview-4.mo +0 -0
  363. data/vendor/local/share/locale/sq/LC_MESSAGES/gtksourceview-4.mo +0 -0
  364. data/vendor/local/share/locale/sr/LC_MESSAGES/gtksourceview-4.mo +0 -0
  365. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gtksourceview-4.mo +0 -0
  366. data/vendor/local/share/locale/sv/LC_MESSAGES/gtksourceview-4.mo +0 -0
  367. data/vendor/local/share/locale/ta/LC_MESSAGES/gtksourceview-4.mo +0 -0
  368. data/vendor/local/share/locale/te/LC_MESSAGES/gtksourceview-4.mo +0 -0
  369. data/vendor/local/share/locale/tg/LC_MESSAGES/gtksourceview-4.mo +0 -0
  370. data/vendor/local/share/locale/th/LC_MESSAGES/gtksourceview-4.mo +0 -0
  371. data/vendor/local/share/locale/tr/LC_MESSAGES/gtksourceview-4.mo +0 -0
  372. data/vendor/local/share/locale/ug/LC_MESSAGES/gtksourceview-4.mo +0 -0
  373. data/vendor/local/share/locale/uk/LC_MESSAGES/gtksourceview-4.mo +0 -0
  374. data/vendor/local/share/locale/vi/LC_MESSAGES/gtksourceview-4.mo +0 -0
  375. data/vendor/local/share/locale/xh/LC_MESSAGES/gtksourceview-4.mo +0 -0
  376. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gtksourceview-4.mo +0 -0
  377. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gtksourceview-4.mo +0 -0
  378. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gtksourceview-4.mo +0 -0
  379. metadata +437 -0
@@ -0,0 +1,878 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+
4
+ This file is part of GtkSourceView
5
+
6
+ Author: Jeffery To <jeffery.to@gmail.com>
7
+ Copyright (C) 2018 Jeffery To <jeffery.to@gmail.com>
8
+
9
+ GtkSourceView is free software; you can redistribute it and/or
10
+ modify it under the terms of the GNU Lesser General Public
11
+ License as published by the Free Software Foundation; either
12
+ version 2.1 of the License, or (at your option) any later version.
13
+
14
+ GtkSourceView is distributed in the hope that it will be useful,
15
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17
+ Lesser General Public License for more details.
18
+
19
+ You should have received a copy of the GNU Lesser General Public License
20
+ along with this library; if not, see <http://www.gnu.org/licenses/>.
21
+
22
+ -->
23
+ <language id="scss" name="SCSS" version="2.0" _section="Other">
24
+ <metadata>
25
+ <property name="mimetypes">text/x-scss</property>
26
+ <property name="globs">*.scss</property>
27
+ <property name="line-comment-start">//</property>
28
+ <property name="block-comment-start">/*</property>
29
+ <property name="block-comment-end">*/</property>
30
+ </metadata>
31
+
32
+ <styles>
33
+
34
+ <!-- interpolations -->
35
+ <style id="interpolation" name="Interpolation" map-to="def:preprocessor"/>
36
+
37
+ <!-- variables -->
38
+ <style id="variable" name="Variable" map-to="def:identifier"/>
39
+
40
+ <!-- operators -->
41
+ <style id="operator-symbol" name="Operator Symbol" map-to="css:symbol"/>
42
+ <style id="logical-operator" name="Logical Operator" map-to="def:preprocessor"/>
43
+
44
+ <!-- Sass data types -->
45
+ <style id="boolean" name="Boolean Value" map-to="def:boolean"/>
46
+ <style id="null" name="Null Value" map-to="def:special-constant"/>
47
+ <style id="list-delimiter" name="List Delimiter" map-to="css:delimiter"/>
48
+ <style id="group-delimiter" name="Group Delimiter" map-to="css:delimiter"/>
49
+
50
+ <!-- Sass selectors -->
51
+ <style id="placeholder-selector" name="Placeholder Selector" map-to="def:identifier"/>
52
+ <style id="selector-fragment" name="Selector Fragment"/>
53
+
54
+ <!-- Sass at-rules -->
55
+ <style id="mixin-name" name="Mixin Name" map-to="def:keyword"/>
56
+
57
+ </styles>
58
+
59
+ <default-regex-options case-sensitive="false"/>
60
+
61
+ <keyword-char-class>[a-z0-9_-]</keyword-char-class>
62
+
63
+ <definitions>
64
+
65
+ <!-- global -->
66
+
67
+ <context id="sass-c-like-comment-multiline" style-ref="def:comment" class-disabled="no-spell-check" class="comment">
68
+ <start>/\*</start>
69
+ <end>\*/</end>
70
+ <include>
71
+ <context ref="interpolation"/>
72
+ <context ref="def:in-comment"/>
73
+ </include>
74
+ </context>
75
+
76
+ <context id="scss-comment">
77
+ <include>
78
+ <context ref="def:c-like-comment"/>
79
+ <context ref="sass-c-like-comment-multiline"/>
80
+ <context ref="def:c-like-close-comment-outside-comment"/>
81
+ </include>
82
+ </context>
83
+
84
+ <replace id="css:comment" ref="scss-comment"/>
85
+
86
+
87
+ <!-- interpolations -->
88
+
89
+ <context id="interpolation">
90
+ <start>#\{</start>
91
+ <end>\}</end>
92
+ <include>
93
+ <context sub-pattern="0" where="start" style-ref="interpolation"/>
94
+ <context sub-pattern="0" where="end" style-ref="interpolation"/>
95
+ <context ref="css:comment"/>
96
+ <context ref="css:any-value"/>
97
+ </include>
98
+ </context>
99
+
100
+
101
+ <!-- variables -->
102
+
103
+ <context id="variable" style-ref="variable">
104
+ <match>\$\%{css:identifier-regex}</match>
105
+ </context>
106
+
107
+
108
+ <!-- operators -->
109
+
110
+ <!-- leave out the division operator (/)
111
+ as we cannot reliably distinguish between a literal slash and
112
+ a division operation -->
113
+ <context id="arithmetic-operator" style-ref="operator-symbol">
114
+ <match extended="true">
115
+ (
116
+ [+*%] |
117
+ (?&lt;! \%{css:single-identifier-char-regex} )
118
+ -
119
+ (?! \%{css:single-identifier-char-regex} )
120
+ )
121
+ </match>
122
+ </context>
123
+
124
+ <context id="string-operator" style-ref="operator-symbol">
125
+ <match>\+</match>
126
+ </context>
127
+
128
+ <context id="comparison-operator" style-ref="operator-symbol">
129
+ <match>(&lt;=?|&gt;=?|[=!]=)</match>
130
+ </context>
131
+
132
+ <context id="logical-operator" style-ref="logical-operator">
133
+ <keyword>and</keyword>
134
+ <keyword>not</keyword>
135
+ <keyword>or</keyword>
136
+ </context>
137
+
138
+
139
+ <!-- Sass data types -->
140
+
141
+ <context id="boolean" style-ref="boolean">
142
+ <keyword>false</keyword>
143
+ <keyword>true</keyword>
144
+ </context>
145
+
146
+ <context id="null" style-ref="null">
147
+ <keyword>null</keyword>
148
+ </context>
149
+
150
+ <context id="parent-selector-list" style-ref="css:combinator">
151
+ <match>&amp;</match>
152
+ </context>
153
+
154
+ <context id="bracketed-list">
155
+ <start>\[</start>
156
+ <end>\]</end>
157
+ <include>
158
+ <context sub-pattern="0" where="start" style-ref="list-delimiter"/>
159
+ <context sub-pattern="0" where="end" style-ref="list-delimiter"/>
160
+ <context ref="css:comment"/>
161
+ <context ref="css:any-value"/>
162
+ </include>
163
+ </context>
164
+
165
+ <!-- not sure why one would use a string group but it appears to be syntactically valid -->
166
+ <context id="string-group">
167
+ <start>\(</start>
168
+ <end>\)</end>
169
+ <include>
170
+ <context sub-pattern="0" where="start" style-ref="group-delimiter"/>
171
+ <context sub-pattern="0" where="end" style-ref="group-delimiter"/>
172
+ <context ref="css:comment"/>
173
+ <context ref="css:string-value"/>
174
+ </include>
175
+ </context>
176
+
177
+ <context id="data-group">
178
+ <start>\(</start>
179
+ <end>\)</end>
180
+ <include>
181
+ <context sub-pattern="0" where="start" style-ref="group-delimiter"/>
182
+ <context sub-pattern="0" where="end" style-ref="group-delimiter"/>
183
+ <context ref="css:comment"/>
184
+ <context ref="css:data-value"/>
185
+ </include>
186
+ </context>
187
+
188
+ <!--
189
+ this could be a list, a map, or an order of operations grouping
190
+ not sure how to differentiate between these
191
+ -->
192
+ <context id="any-group">
193
+ <start>\(</start>
194
+ <end>\)</end>
195
+ <include>
196
+ <context sub-pattern="0" where="start" style-ref="group-delimiter"/>
197
+ <context sub-pattern="0" where="end" style-ref="group-delimiter"/>
198
+ <context ref="css:comment"/>
199
+ <context ref="css:any-value"/>
200
+ <context ref="css:colon"/> <!-- for maps -->
201
+ </include>
202
+ </context>
203
+
204
+
205
+ <!-- data types -->
206
+
207
+ <context id="scss-string-content">
208
+ <include>
209
+ <context ref="interpolation"/>
210
+ <context ref="css:string-content" original="true"/>
211
+ </include>
212
+ </context>
213
+
214
+ <replace id="css:string-content" ref="scss-string-content"/>
215
+
216
+
217
+ <!-- functions -->
218
+
219
+ <context id="variable-arguments" style-ref="operator-symbol">
220
+ <match>\.\.\.</match>
221
+ </context>
222
+
223
+ <context id="scss-url">
224
+ <start>url\(</start>
225
+ <end>\)</end>
226
+ <include>
227
+ <context sub-pattern="0" where="start" style-ref="css:function"/>
228
+ <context sub-pattern="0" where="end" style-ref="css:function"/>
229
+ <!-- only accept multi-line comments because // is part of urls -->
230
+ <context ref="sass-c-like-comment-multiline"/>
231
+ <context ref="def:c-like-close-comment-outside-comment"/>
232
+ <context ref="css:string-value"/>
233
+ </include>
234
+ </context>
235
+
236
+ <context id="scss-function-content">
237
+ <include>
238
+ <context ref="css:function-content" original="true"/>
239
+ <context ref="variable-arguments"/>
240
+ <context ref="css:colon"/> <!-- for named arguments -->
241
+ </include>
242
+ </context>
243
+
244
+ <replace id="css:url" ref="scss-url"/>
245
+ <replace id="css:function-content" ref="scss-function-content"/>
246
+
247
+
248
+ <!-- data values -->
249
+
250
+ <context id="scss-name-value">
251
+ <include>
252
+ <context ref="css:function-call"/>
253
+ <context ref="interpolation"/> <!-- outputs unquoted strings -->
254
+ <context ref="variable"/>
255
+ <context ref="css:name-value" original="true"/>
256
+ </include>
257
+ </context>
258
+
259
+ <context id="scss-string-value">
260
+ <include>
261
+ <context ref="css:function-call"/>
262
+ <context ref="string-group"/>
263
+ <context ref="variable"/>
264
+ <context ref="css:string-value" original="true"/>
265
+ <context ref="string-operator"/>
266
+ </include>
267
+ </context>
268
+
269
+ <context id="scss-data-value">
270
+ <include>
271
+ <context ref="css:function-call"/>
272
+ <context ref="data-group"/>
273
+ <context ref="interpolation"/>
274
+ <context ref="variable"/>
275
+ <context ref="css:string-value" original="true"/>
276
+ <context ref="css:color-value"/>
277
+ <context ref="css:number-value"/>
278
+ <context ref="css:unicode-range"/>
279
+ <context ref="arithmetic-operator"/>
280
+ </include>
281
+ </context>
282
+
283
+ <replace id="css:name-value" ref="scss-name-value"/>
284
+ <replace id="css:string-value" ref="scss-string-value"/>
285
+ <replace id="css:data-value" ref="scss-data-value"/>
286
+
287
+
288
+ <!-- any assignable value -->
289
+
290
+ <context id="scss-any-value">
291
+ <include>
292
+ <context ref="css:function-call"/>
293
+ <context ref="any-group"/>
294
+ <context ref="parent-selector-list"/>
295
+ <context ref="bracketed-list"/>
296
+ <context ref="interpolation"/>
297
+ <context ref="variable"/>
298
+ <context ref="boolean"/>
299
+ <context ref="null"/>
300
+ <context ref="css:property-value-keyword"/>
301
+ <context ref="css:string-value" original="true"/>
302
+ <context ref="css:color-value"/>
303
+ <context ref="css:number-value"/>
304
+ <context ref="css:unicode-range"/>
305
+ <context ref="logical-operator"/>
306
+ <context ref="comparison-operator"/>
307
+ <context ref="arithmetic-operator"/>
308
+ <context ref="css:slash"/>
309
+ <context ref="css:comma"/>
310
+ </include>
311
+ </context>
312
+
313
+ <replace id="css:any-value" ref="scss-any-value"/>
314
+
315
+
316
+ <!-- Sass modifiers -->
317
+
318
+ <context id="variable-assignment-modifiers" style-ref="css:modifier">
319
+ <keyword>default</keyword>
320
+ <keyword>global</keyword>
321
+ </context>
322
+
323
+ <context id="at-extend-modifiers" style-ref="css:modifier">
324
+ <keyword>optional</keyword>
325
+ </context>
326
+
327
+
328
+ <!-- modifiers -->
329
+
330
+ <context id="scss-modifier-content">
331
+ <include>
332
+ <context ref="variable-assignment-modifiers"/>
333
+ <context ref="at-extend-modifiers"/>
334
+ <context ref="css:modifier-content" original="true"/>
335
+ </include>
336
+ </context>
337
+
338
+ <replace id="css:modifier-content" ref="scss-modifier-content"/>
339
+
340
+
341
+ <!-- style properties -->
342
+
343
+ <context id="scss-property-name">
344
+ <include>
345
+ <context ref="interpolation"/>
346
+ <context ref="css:property-name" original="true"/>
347
+ </include>
348
+ </context>
349
+
350
+ <replace id="css:property-name" ref="scss-property-name"/>
351
+
352
+
353
+ <!-- style block -->
354
+
355
+ <context id="nested-properties" end-parent="true">
356
+ <start>\{</start>
357
+ <end>\}</end>
358
+ <include>
359
+ <context sub-pattern="0" where="start" style-ref="css:block-delimiter"/>
360
+ <context sub-pattern="0" where="end" style-ref="css:block-delimiter"/>
361
+ <context ref="css:comment"/>
362
+ <context ref="css:declaration"/>
363
+ </include>
364
+ </context>
365
+
366
+ <context id="scss-declaration-property">
367
+ <include>
368
+ <context ref="variable"/> <!-- variable assignment -->
369
+ <context ref="css:declaration-property" original="true"/>
370
+ </include>
371
+ </context>
372
+
373
+ <context id="scss-declaration-value-content">
374
+ <include>
375
+ <context ref="nested-properties"/>
376
+ <context ref="css:declaration-value-content" original="true"/>
377
+ </include>
378
+ </context>
379
+
380
+ <context id="scss-declaration-value">
381
+ <start extended="true">
382
+ (?(DEFINE)
383
+ (?&lt;interpolation&gt; # recursive subpattern to find matching brackets
384
+ \#\{
385
+ (?:
386
+ (?>
387
+ (?:
388
+ [^#{}]+ |
389
+ (?! \#\{ | \} ) .
390
+ )+
391
+ ) |
392
+ (?&amp;interpolation)
393
+ )*
394
+ \}
395
+ )
396
+ )
397
+ :
398
+ (?:
399
+ (?! # not the start of a
400
+ \%{css:single-identifier-char-regex} | # pseudo-class
401
+ [:\\] | # pseudo-element, escape
402
+ \#\{ # interpolation
403
+ ) | # or
404
+ (?= # ends like a normal declaration
405
+ (?&gt;
406
+ (?:
407
+ [^;}{#]+ |
408
+ (?&amp;interpolation)+ |
409
+ \#+
410
+ )*
411
+ )
412
+ \%{css:declaration-value-end} # with a semicolon or at the end of a block
413
+ )
414
+ )
415
+ </start>
416
+ <end>\%{css:declaration-value-end}</end> <!-- nested-properties has end-parent="true" -->
417
+ <include>
418
+ <context sub-pattern="0" where="start" style-ref="css:delimiter"/>
419
+ <context ref="css:comment"/>
420
+ <context ref="css:declaration-value-content"/>
421
+ </include>
422
+ </context>
423
+
424
+ <context id="scss-style-block-content">
425
+ <include>
426
+ <context ref="css:style-block-content" original="true"/>
427
+ <context ref="css:at-rule"/>
428
+ <context ref="css:selector"/>
429
+ <context ref="css:style-block"/>
430
+ </include>
431
+ </context>
432
+
433
+ <replace id="css:declaration-property" ref="scss-declaration-property"/>
434
+ <replace id="css:declaration-value-content" ref="scss-declaration-value-content"/>
435
+ <replace id="css:declaration-value" ref="scss-declaration-value"/>
436
+ <replace id="css:style-block-content" ref="scss-style-block-content"/>
437
+
438
+
439
+ <!-- media queries -->
440
+
441
+ <context id="scss-media-type-value">
442
+ <include>
443
+ <context ref="interpolation"/>
444
+ <context ref="css:media-type-value" original="true"/>
445
+ </include>
446
+ </context>
447
+
448
+ <context id="scss-media-feature-test-name">
449
+ <include>
450
+ <context ref="interpolation"/>
451
+ <context ref="variable"/>
452
+ <context ref="css:media-feature-test-name" original="true"/>
453
+ </include>
454
+ </context>
455
+
456
+ <context id="scss-media-feature-test-value-content">
457
+ <include>
458
+ <context ref="interpolation"/>
459
+ <context ref="variable"/>
460
+ <context ref="css:media-feature-test-value-content" original="true"/>
461
+ </include>
462
+ </context>
463
+
464
+ <replace id="css:media-type-value" ref="scss-media-type-value"/>
465
+ <replace id="css:media-feature-test-name" ref="scss-media-feature-test-name"/>
466
+ <replace id="css:media-feature-test-value-content" ref="scss-media-feature-test-value-content"/>
467
+
468
+
469
+ <!-- Sass at-rules -->
470
+
471
+ <!--
472
+ @extend <selector> <optional modifier>?;
473
+ -->
474
+
475
+ <context id="at-extend">
476
+ <start>@extend\%]</start>
477
+ <include>
478
+ <context sub-pattern="0" where="start" style-ref="css:at-rule"/>
479
+ <context ref="css:comment"/>
480
+ <context ref="css:selector"/>
481
+ <context ref="css:modifier"/>
482
+ <context ref="css:at-rule-delimiter"/>
483
+ </include>
484
+ </context>
485
+
486
+ <!--
487
+ @at-root (<selector>|<query>)? <css-block>
488
+ -->
489
+
490
+ <context id="at-at-root-query-type" style-ref="css:property-name">
491
+ <keyword>without</keyword>
492
+ <keyword>with</keyword>
493
+ </context>
494
+
495
+ <context id="at-at-root-query-directive" style-ref="css:keyword">
496
+ <keyword>all</keyword>
497
+ <keyword>media</keyword>
498
+ <keyword>rule</keyword>
499
+ <keyword>supports</keyword>
500
+ </context>
501
+
502
+ <context id="at-at-root-query-value">
503
+ <start>:</start>
504
+ <end>\%{css:test-value-end}</end>
505
+ <include>
506
+ <context sub-pattern="0" where="start" style-ref="css:delimiter"/>
507
+ <context ref="css:comment"/>
508
+ <context ref="interpolation"/>
509
+ <context ref="variable"/>
510
+ <context ref="at-at-root-query-directive"/>
511
+ </include>
512
+ </context>
513
+
514
+ <context id="at-at-root-query">
515
+ <start>\(</start>
516
+ <end>\)</end>
517
+ <include>
518
+ <context sub-pattern="0" where="start" style-ref="css:test-delimiter"/>
519
+ <context sub-pattern="0" where="end" style-ref="css:test-delimiter"/>
520
+ <context ref="css:comment"/>
521
+ <context ref="interpolation"/>
522
+ <context ref="variable"/>
523
+ <context ref="at-at-root-query-type"/>
524
+ <context ref="at-at-root-query-value"/>
525
+ </include>
526
+ </context>
527
+
528
+ <context id="at-at-root">
529
+ <start>@at-root\%]</start>
530
+ <include>
531
+ <context sub-pattern="0" where="start" style-ref="css:at-rule"/>
532
+ <context ref="css:comment"/>
533
+ <context ref="css:selector"/>
534
+ <context ref="at-at-root-query"/>
535
+ <context ref="css:at-rule-css-block"/>
536
+ </include>
537
+ </context>
538
+
539
+ <!--
540
+ @debug <any-value>;
541
+ @warn <any-value>;
542
+ @error <any-value>;
543
+ -->
544
+
545
+ <context id="at-debug-warn-error">
546
+ <start>@(debug|warn|error)\%]</start>
547
+ <include>
548
+ <context sub-pattern="0" where="start" style-ref="css:at-rule"/>
549
+ <context ref="css:comment"/>
550
+ <context ref="css:any-value"/>
551
+ <context ref="css:at-rule-delimiter"/>
552
+ </include>
553
+ </context>
554
+
555
+ <!--
556
+ @if <any-value> <css-block>
557
+ @else if <any-value> <css-block>
558
+ @else <css-block>
559
+ -->
560
+
561
+ <context id="at-if-else-if">
562
+ <start>@(if|else\s+if)\%]</start>
563
+ <include>
564
+ <context sub-pattern="0" where="start" style-ref="css:at-rule"/>
565
+ <context ref="css:comment"/>
566
+ <context ref="css:any-value"/>
567
+ <context ref="css:at-rule-css-block"/>
568
+ </include>
569
+ </context>
570
+
571
+ <context id="at-else">
572
+ <start>@else\%]</start>
573
+ <include>
574
+ <context sub-pattern="0" where="start" style-ref="css:at-rule"/>
575
+ <context ref="css:comment"/>
576
+ <context ref="css:at-rule-css-block"/>
577
+ </include>
578
+ </context>
579
+
580
+ <!--
581
+ @for <variable> from <any-value> (through|to) <any-value> <css-block>
582
+ -->
583
+
584
+ <context id="at-for-keyword" style-ref="css:at-rule-operator">
585
+ <keyword>from</keyword>
586
+ <keyword>through</keyword>
587
+ <keyword>to</keyword>
588
+ </context>
589
+
590
+ <context id="at-for">
591
+ <start>@for\%]</start>
592
+ <include>
593
+ <context sub-pattern="0" where="start" style-ref="css:at-rule"/>
594
+ <context ref="css:comment"/>
595
+ <context ref="at-for-keyword"/>
596
+ <context ref="variable"/>
597
+ <context ref="css:any-value"/>
598
+ <context ref="css:at-rule-css-block"/>
599
+ </include>
600
+ </context>
601
+
602
+ <!--
603
+ @each <variable> in <list> <css-block>
604
+ -->
605
+
606
+ <context id="at-each-keyword" style-ref="css:at-rule-operator">
607
+ <keyword>in</keyword>
608
+ </context>
609
+
610
+ <context id="at-each">
611
+ <start>@each\%]</start>
612
+ <include>
613
+ <context sub-pattern="0" where="start" style-ref="css:at-rule"/>
614
+ <context ref="css:comment"/>
615
+ <context ref="at-each-keyword"/>
616
+ <context ref="variable"/>
617
+ <context ref="css:any-value"/>
618
+ <context ref="css:comma"/>
619
+ <context ref="css:at-rule-css-block"/>
620
+ </include>
621
+ </context>
622
+
623
+ <!--
624
+ @while <expression> <css-block>
625
+ -->
626
+
627
+ <context id="at-while">
628
+ <start>@while\%]</start>
629
+ <include>
630
+ <context sub-pattern="0" where="start" style-ref="css:at-rule"/>
631
+ <context ref="css:comment"/>
632
+ <context ref="css:any-value"/>
633
+ <context ref="css:at-rule-css-block"/>
634
+ </include>
635
+ </context>
636
+
637
+ <!--
638
+ @mixin <mixin name> <mixin-parameters>? <css-block>
639
+ -->
640
+
641
+ <context id="mixin-parameters">
642
+ <start>\(</start>
643
+ <end>\)</end>
644
+ <include>
645
+ <context sub-pattern="0" where="start" style-ref="mixin-name"/>
646
+ <context sub-pattern="0" where="end" style-ref="mixin-name"/>
647
+ <context ref="css:comment"/>
648
+ <context ref="css:function-content"/>
649
+ </include>
650
+ </context>
651
+
652
+ <context id="at-mixin">
653
+ <start>@mixin\%]</start>
654
+ <include>
655
+ <context sub-pattern="0" where="start" style-ref="css:at-rule"/>
656
+ <context ref="css:comment"/>
657
+ <context ref="css:name" style-ref="mixin-name"/>
658
+ <context ref="mixin-parameters"/>
659
+ <context ref="css:at-rule-css-block"/>
660
+ </include>
661
+ </context>
662
+
663
+ <!--
664
+ @include <mixin name> <mixin-parameters>? (;|<css-block>)
665
+ -->
666
+
667
+ <context id="at-include">
668
+ <start>@include\%]</start>
669
+ <include>
670
+ <context sub-pattern="0" where="start" style-ref="css:at-rule"/>
671
+ <context ref="css:comment"/>
672
+ <context ref="css:name" style-ref="mixin-name"/>
673
+ <context ref="mixin-parameters"/>
674
+ <context ref="css:at-rule-delimiter"/>
675
+ <context ref="css:at-rule-css-block"/>
676
+ </include>
677
+ </context>
678
+
679
+ <!--
680
+ @content;
681
+ -->
682
+
683
+ <context id="at-content">
684
+ <start>@content\%]</start>
685
+ <include>
686
+ <context sub-pattern="0" where="start" style-ref="css:at-rule"/>
687
+ <context ref="css:comment"/>
688
+ <context ref="css:at-rule-delimiter"/>
689
+ </include>
690
+ </context>
691
+
692
+ <!--
693
+ @function <function name> <function-parameters> <css-block>
694
+ -->
695
+
696
+ <context id="function-parameters">
697
+ <start>\(</start>
698
+ <end>\)</end>
699
+ <include>
700
+ <context sub-pattern="0" where="start" style-ref="css:function"/>
701
+ <context sub-pattern="0" where="end" style-ref="css:function"/>
702
+ <context ref="css:comment"/>
703
+ <context ref="css:function-content"/>
704
+ </include>
705
+ </context>
706
+
707
+ <context id="at-function">
708
+ <start>@function\%]</start>
709
+ <include>
710
+ <context sub-pattern="0" where="start" style-ref="css:at-rule"/>
711
+ <context ref="css:comment"/>
712
+ <!-- we define it this way because there can be whitespace
713
+ between the function name and the parentheses -->
714
+ <context ref="css:name" style-ref="css:function"/>
715
+ <context ref="function-parameters"/>
716
+ <context ref="css:at-rule-css-block"/>
717
+ </include>
718
+ </context>
719
+
720
+ <!--
721
+ @return <any-value>;
722
+ -->
723
+
724
+ <context id="at-return">
725
+ <start>@return\%]</start>
726
+ <include>
727
+ <context sub-pattern="0" where="start" style-ref="css:at-rule"/>
728
+ <context ref="css:comment"/>
729
+ <context ref="css:any-value"/>
730
+ <context ref="css:at-rule-delimiter"/>
731
+ </include>
732
+ </context>
733
+
734
+
735
+ <!-- at-rules -->
736
+
737
+ <context id="scss-font-feature-value-declaration-value-content">
738
+ <include>
739
+ <context ref="interpolation"/>
740
+ <context ref="variable"/>
741
+ <context ref="css:font-feature-value-declaration-value-content" original="true"/>
742
+ </include>
743
+ </context>
744
+
745
+ <context id="scss-keyframe-selector-value">
746
+ <include>
747
+ <context ref="interpolation"/>
748
+ <context ref="css:keyframe-selector-value" original="true"/>
749
+ </include>
750
+ </context>
751
+
752
+ <context id="scss-namespace-value">
753
+ <include>
754
+ <context ref="interpolation"/>
755
+ <context ref="css:namespace-value" original="true"/>
756
+ </include>
757
+ </context>
758
+
759
+ <context id="scss-at-rule">
760
+ <include>
761
+
762
+ <context ref="at-extend"/>
763
+ <context ref="at-at-root"/>
764
+
765
+ <context ref="at-debug-warn-error"/>
766
+
767
+ <context ref="at-if-else-if"/>
768
+ <context ref="at-else"/>
769
+
770
+ <context ref="at-for"/>
771
+ <context ref="at-each"/>
772
+ <context ref="at-while"/>
773
+
774
+ <context ref="at-mixin"/>
775
+ <context ref="at-include"/>
776
+ <context ref="at-content"/>
777
+
778
+ <context ref="at-function"/>
779
+ <context ref="at-return"/>
780
+
781
+ <context ref="css:at-rule" original="true"/>
782
+
783
+ </include>
784
+ </context>
785
+
786
+ <replace id="css:at-rule-style-block-content" ref="scss-style-block-content"/>
787
+ <replace id="css:at-rule-css-block-content" ref="scss-style-block-content"/>
788
+ <replace id="css:font-feature-value-declaration-value-content" ref="scss-font-feature-value-declaration-value-content"/>
789
+ <replace id="css:keyframe-selector-value" ref="scss-keyframe-selector-value"/>
790
+ <replace id="css:namespace-value" ref="scss-namespace-value"/>
791
+ <replace id="css:at-rule" ref="scss-at-rule"/>
792
+
793
+
794
+ <!-- Sass selectors -->
795
+
796
+ <context id="parent-combinator">
797
+ <match>(&amp;)(\%{css:identifier-chars-regex}?)</match>
798
+ <include>
799
+ <context sub-pattern="1" style-ref="css:combinator"/>
800
+ <context sub-pattern="2" style-ref="selector-fragment"/>
801
+ </include>
802
+ </context>
803
+
804
+ <context id="placeholder-selector" style-ref="placeholder-selector">
805
+ <match>%\%{css:identifier-regex}</match>
806
+ </context>
807
+
808
+ <context id="interpolation-fragment" style-ref="selector-fragment">
809
+ <match>(?&lt;=\})\%{css:identifier-chars-regex}</match>
810
+ </context>
811
+
812
+
813
+ <!-- selectors -->
814
+
815
+ <context id="scss-simple-selector">
816
+ <include>
817
+ <context ref="interpolation"/> <!-- include in simple selector to be included in :not() -->
818
+ <context ref="interpolation-fragment"/>
819
+ <context ref="css:simple-selector" original="true"/>
820
+ </include>
821
+ </context>
822
+
823
+ <context id="scss-combinator">
824
+ <include>
825
+ <context ref="parent-combinator"/>
826
+ <context ref="css:combinator" original="true"/>
827
+ </include>
828
+ </context>
829
+
830
+ <context id="scss-nth-pseudo-class-argument-content">
831
+ <include>
832
+ <context ref="interpolation"/>
833
+ <context ref="css:nth-pseudo-class-argument-content" original="true"/>
834
+ </include>
835
+ </context>
836
+
837
+ <context id="scss-selector">
838
+ <include>
839
+ <context ref="placeholder-selector"/>
840
+ <context ref="css:selector" original="true"/>
841
+ </include>
842
+ </context>
843
+
844
+ <replace id="css:simple-selector" ref="scss-simple-selector"/>
845
+ <replace id="css:combinator" ref="scss-combinator"/>
846
+ <replace id="css:nth-pseudo-class-argument-content" ref="scss-nth-pseudo-class-argument-content"/>
847
+ <replace id="css:selector" ref="scss-selector"/>
848
+
849
+
850
+ <!-- top level declarations -->
851
+
852
+ <context id="top-level-declaration-property">
853
+ <include>
854
+ <context ref="variable"/>
855
+ </include>
856
+ </context>
857
+
858
+ <context id="top-level-declaration">
859
+ <include>
860
+ <context ref="top-level-declaration-property"/>
861
+ <context ref="css:declaration-value"/>
862
+ <context ref="css:modifier"/>
863
+ <context ref="css:semicolon"/>
864
+ </include>
865
+ </context>
866
+
867
+
868
+ <!-- main context -->
869
+
870
+ <context id="scss" class="no-spell-check">
871
+ <include>
872
+ <context ref="top-level-declaration"/>
873
+ <context ref="css:css"/>
874
+ </include>
875
+ </context>
876
+
877
+ </definitions>
878
+ </language>