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,261 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+
4
+ This file is part of GtkSourceView
5
+
6
+ Authors: Marco Barisione, Emanuele Aina
7
+ Copyright (C) 2005-2007 Marco Barisione <barisione@gmail.com>
8
+ Copyright (C) 2005-2007 Emanuele Aina
9
+
10
+ GtkSourceView is free software; you can redistribute it and/or
11
+ modify it under the terms of the GNU Lesser General Public
12
+ License as published by the Free Software Foundation; either
13
+ version 2.1 of the License, or (at your option) any later version.
14
+
15
+ GtkSourceView is distributed in the hope that it will be useful,
16
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
17
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18
+ Lesser General Public License for more details.
19
+
20
+ You should have received a copy of the GNU Lesser General Public License
21
+ along with this library; if not, see <http://www.gnu.org/licenses/>.
22
+
23
+ -->
24
+ <language id="def" name="Defaults" hidden="true" version="2.0">
25
+ <styles>
26
+
27
+ <!-- styles defined here are all the styles that
28
+ a language can use as default for its styles.
29
+ The styles are defined in logical groups.
30
+ A style scheme has to at least define the style
31
+ for the first item of each group and if desired
32
+ define the style for the other items to achieve a
33
+ more finegrained control on the apperance.
34
+ Finally a style scheme may also define language
35
+ specific styles. -->
36
+
37
+ <!-- Comment group -->
38
+ <!-- Any comment -->
39
+ <style id="comment" name="Comment"/>
40
+ <!-- A shebang: #!/bin/sh -->
41
+ <style id="shebang" name="Shebang" map-to="def:comment"/>
42
+ <!-- A special comment containing documentation like in javadoc or
43
+ gtk-doc -->
44
+ <style id="doc-comment" name="Documentation comment" map-to="def:comment"/>
45
+ <!-- A element inside a documentation comment: @author -->
46
+ <!-- This style doesn't map to anything since it must be used as an additional
47
+ style for text which is already styled as a "doc-comment" -->
48
+ <style id="doc-comment-element" name="Documentation comment element" />
49
+
50
+ <!-- Constant group -->
51
+ <!-- Any constant -->
52
+ <style id="constant" name="Constant"/>
53
+ <!-- A character constant: 'c' -->
54
+ <style id="character" name="Character" map-to="def:constant"/>
55
+ <!-- A string constant: "this is a string" -->
56
+ <style id="string" name="String" map-to="def:constant"/>
57
+ <!-- Special character in a string constant: "%s", "\t" -->
58
+ <!-- This style doesn't map to anything since it must be used as an additional
59
+ style for text which is already styled as a "string" -->
60
+ <style id="special-char" name="Special character (inside a string)" />
61
+ <!-- A generic number constant -->
62
+ <style id="number" name="Number" map-to="def:constant"/>
63
+ <!-- A floating point constant: 2.3e10 -->
64
+ <style id="floating-point" name="Floating point number" map-to="def:number"/>
65
+ <!-- A decimal number: 1234 -->
66
+ <style id="decimal" name="Decimal number" map-to="def:number"/>
67
+ <!-- A base-N number: 0xFFFF -->
68
+ <style id="base-n-integer" name="Base-N number" map-to="def:number"/>
69
+ <!-- A complex number -->
70
+ <style id="complex" name="Complex number" map-to="def:number"/>
71
+ <!-- A special constant like NULL in C or null in Java -->
72
+ <style id="special-constant" name="Special constant" map-to="def:constant"/>
73
+ <!-- A boolean constant: TRUE, false -->
74
+ <style id="boolean" name="Boolean value" map-to="def:special-constant"/>
75
+
76
+ <!-- Identifier group -->
77
+ <!-- Any variable name -->
78
+ <style id="identifier" name="Identifier" />
79
+ <!-- A function name (also: methods for classes) -->
80
+ <style id="function" name="Function" map-to="def:identifier"/>
81
+ <!-- A builtin name: like __import__, abs in Python
82
+ (see http://docs.python.org/lib/built-in-funcs.html) -->
83
+ <style id="builtin" name="Built-in identifier" map-to="def:identifier"/>
84
+
85
+ <!-- Statement group -->
86
+ <!-- Any statement -->
87
+ <style id="statement" name="Statement"/>
88
+ <!-- Operators: "+", "*", etc. -->
89
+ <style id="operator" name="Operator" map-to="def:statement" />
90
+ <!-- keywords: "if", "for", "while", etc. -->
91
+ <style id="keyword" name="Keyword" map-to="def:statement" />
92
+
93
+ <!-- Type group -->
94
+ <!--A primitive data type: int, long, char, etc. -->
95
+ <style id="type" name="Data type"/>
96
+
97
+ <!-- Others -->
98
+ <!-- This one is for '#include <foo.h>' and "#pragma blah", or 'use foobar', etc.. -->
99
+ <style id="preprocessor" name="Preprocessor directive"/>
100
+ <!-- Any erroneous construct -->
101
+ <style id="error" name="Error"/>
102
+ <!-- to mark possibily errors or unrecommended syntax -->
103
+ <style id="warning" name="Warning"/>
104
+ <!--Reserved keywords: like "const" and "goto" in Java -->
105
+ <style id="reserved" name="Reserved keyword" map-to="def:error" />
106
+ <!-- Anything that needs extra attention; mostly the keywords TODO, FIXME and XXX -->
107
+ <style id="note" name="Note (FIXME, TODO, XXX, etc.)"/>
108
+ <!-- Text that stands out, HTML links, e-mail addresses, etc. -->
109
+ <style id="underlined" name="Underlined"/>
110
+ <!-- Text that acts as some kind of heading, such as h1, h2, ... in html. -->
111
+ <style id="heading0" name="Heading 0"/>
112
+ <style id="heading1" name="Heading 1"/>
113
+ <style id="heading2" name="Heading 2"/>
114
+ <style id="heading3" name="Heading 3"/>
115
+ <style id="heading4" name="Heading 4"/>
116
+ <style id="heading5" name="Heading 5"/>
117
+ <style id="heading6" name="Heading 6"/>
118
+ </styles>
119
+
120
+ <definitions>
121
+ <!-- An empty string always matches. -->
122
+ <define-regex id="always-match"></define-regex>
123
+
124
+ <!-- $^ never matches. -->
125
+ <define-regex id="never-match">$^</define-regex>
126
+
127
+ <define-regex id="decimal" extended="true">
128
+ (?&lt;![\w\.]) ([1-9][0-9]* | 0) (?![\w\.])
129
+ </define-regex>
130
+ <define-regex id="octal" extended="true">
131
+ (?&lt;![\w\.]) 0 [0-7]+ (?![\w\.])
132
+ </define-regex>
133
+ <define-regex id="hexadecimal" extended="true">
134
+ (?&lt;![\w\.]) 0 [xX] [0-9a-fA-F]+ (?![\w\.])
135
+ </define-regex>
136
+ <define-regex id="float" extended="true" case-sensitive="false">
137
+ \b
138
+ ([0-9]+ e [-+]? [0-9]+ |
139
+ ([0-9]* \. [0-9]+ | [0-9]+ \.)
140
+ (e [-+]? [0-9]+)?) [fl]?
141
+ \b
142
+ </define-regex>
143
+
144
+ <context id="decimal" style-ref="decimal">
145
+ <match>\%{decimal}</match>
146
+ </context>
147
+ <context id="octal" style-ref="base-n-integer">
148
+ <match>\%{octal}</match>
149
+ </context>
150
+ <context id="hexadecimal" style-ref="base-n-integer">
151
+ <match>\%{hexadecimal}</match>
152
+ </context>
153
+ <context id="float" style-ref="floating-point">
154
+ <match>\%{float}</match>
155
+ </context>
156
+
157
+ <!-- FIXME is it working at line end? -->
158
+ <define-regex id="net-address" extended="true" case-sensitive="false">
159
+ \%[ # separator
160
+ (https?|ftp|nntp|news|javascript|about): # protocol
161
+ [^\ \\]* [^\ \\.:;,?&gt;&lt;)] # address
162
+ (?![a-z0-9_.-]) # separator
163
+ </define-regex>
164
+
165
+ <define-regex id="email-address" extended="true" case-sensitive="false">
166
+ \%[ # separator
167
+ (mailto:)? # optional "mailto:"
168
+ [a-z0-9_.+-]+ # user name
169
+ @ # at
170
+ [a-z0-9_.+-]+ # domain
171
+ \%] # separator
172
+ </define-regex>
173
+
174
+ <context id="in-comment" class-disabled="no-spell-check">
175
+ <include>
176
+ <context id="net-address" extend-parent="false" style-ref="underlined" class="no-spell-check">
177
+ <match>\%{net-address}</match>
178
+ </context>
179
+ <context id="email-address" extend-parent="false" style-ref="underlined" class="no-spell-check">
180
+ <match>\%{email-address}</match>
181
+ </context>
182
+ <context id="comment-note" extend-parent="false" style-ref="note" class="no-spell-check comment-note">
183
+ <match>\b(FIXME|TODO|XXX)\b</match>
184
+ </context>
185
+ </include>
186
+ </context>
187
+
188
+ <!-- A line comment starting with # -->
189
+ <context id="shell-like-comment" style-ref="comment" end-at-line-end="true" class-disabled="no-spell-check" class="comment">
190
+ <start>#</start>
191
+ <include>
192
+ <context ref="in-comment"/>
193
+ </include>
194
+ </context>
195
+
196
+ <!-- C style comments -->
197
+ <context id="c-like-comment" style-ref="comment" end-at-line-end="true" class-disabled="no-spell-check" class="comment" >
198
+ <start>//</start>
199
+ <include>
200
+ <context ref="in-line-comment"/>
201
+ </include>
202
+ </context>
203
+ <context id="c-like-comment-multiline" style-ref="comment" class-disabled="no-spell-check" class="comment" >
204
+ <start>/\*</start>
205
+ <end>\*/</end>
206
+ <include>
207
+ <context ref="in-comment"/>
208
+ </include>
209
+ </context>
210
+ <context id="c-like-close-comment-outside-comment" style-ref="error">
211
+ <match>\*/(?!\*)</match>
212
+ </context>
213
+
214
+ <context id="line-continue" style-ref="preprocessor">
215
+ <start>\\$</start>
216
+ <end>^</end>
217
+ </context>
218
+
219
+ <!-- this is intended to be used from line comments
220
+ that can continue on a different line after "\" -->
221
+ <context id="in-line-comment" class-disabled="no-spell-check" class="comment">
222
+ <include>
223
+ <context ref="line-continue" ignore-style="true"/>
224
+ <context ref="in-comment"/>
225
+ </include>
226
+ </context>
227
+
228
+ <context id="shebang" style-ref="shebang" first-line-only="true" class="no-spell-check">
229
+ <start>^#!</start>
230
+ <end>$</end>
231
+ </context>
232
+
233
+ <context id="escape" style-ref="special-char">
234
+ <match>\\.</match>
235
+ </context>
236
+
237
+ <!-- usual quoted string, ends at line end, \ is an escape char -->
238
+ <context id="string" style-ref="string" end-at-line-end="true" class="string" class-disabled="no-spell-check">
239
+ <start>"</start>
240
+ <end>"</end>
241
+ <include>
242
+ <context ref="escape"/>
243
+ <context ref="line-continue"/>
244
+ </include>
245
+ </context>
246
+
247
+ <!-- same thing but with single quote marks -->
248
+ <context id="single-quoted-string" style-ref="string" end-at-line-end="true" class="string" class-disabled="no-spell-check">
249
+ <start>'</start>
250
+ <end>'</end>
251
+ <include>
252
+ <context ref="escape"/>
253
+ <context ref="line-continue"/>
254
+ </include>
255
+ </context>
256
+
257
+ <!-- Dummy context, needed to load the style mappings when parsing v1 files -->
258
+ <context id="def"/>
259
+
260
+ </definitions>
261
+ </language>
@@ -0,0 +1,297 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+
4
+ This file is part of GtkSourceView
5
+
6
+ Author: Paolo Maggi <paolo.maggi@polito.it>
7
+ Copyright (C) 2003 Paolo Maggi <paolo.maggi@polito.it>
8
+ Copyright (C) 2006 Luca Cavalli <lcavalli@cvs.gnome.org>
9
+
10
+ GtkSourceView is free software; you can redistribute it and/or
11
+ modify it under the terms of the GNU Lesser General Public
12
+ License as published by the Free Software Foundation; either
13
+ version 2.1 of the License, or (at your option) any later version.
14
+
15
+ GtkSourceView is distributed in the hope that it will be useful,
16
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
17
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18
+ Lesser General Public License for more details.
19
+
20
+ You should have received a copy of the GNU Lesser General Public License
21
+ along with this library; if not, see <http://www.gnu.org/licenses/>.
22
+
23
+ -->
24
+ <language id="desktop" name=".desktop" version="2.0" _section="Other">
25
+ <metadata>
26
+ <property name="mimetypes">application/x-gnome-app-info;application/x-desktop</property>
27
+ <property name="globs">*.desktop;*.kdelnk</property>
28
+ <property name="line-comment-start">#</property>
29
+ </metadata>
30
+
31
+ <styles>
32
+ <style id="group" name="Group" map-to="def:keyword"/>
33
+ <style id="key" name="Key" map-to="def:type"/>
34
+ <style id="language" name="Translation" map-to="def:decimal"/>
35
+ <style id="number" name="Number" map-to="def:floating-point"/>
36
+ <style id="boolean" name="Boolean" map-to="def:floating-point"/>
37
+ <style id="exec-parameter" name="Exec parameter" map-to="def:floating-point"/>
38
+ <style id="encoding" name="Encoding" map-to="def:floating-point"/>
39
+ <style id="category-main" name="Main Category" map-to="def:reserved"/>
40
+ <style id="category-additional" name="Additional Category" map-to="def:identifier"/>
41
+ <style id="category-reserved" name="Reserved Category" map-to="def:note"/>
42
+ </styles>
43
+
44
+ <definitions>
45
+ <define-regex id="language">\[[a-zA-Z_]+@?[a-zA-Z_]*\]</define-regex>
46
+ <define-regex id="key-suffix">(?=(\%{language})?\s*=\s*)</define-regex>
47
+
48
+ <context id="group" style-ref="group">
49
+ <start>^\[</start>
50
+ <end>\]$</end>
51
+ </context>
52
+
53
+ <context id="boolean" style-ref="boolean">
54
+ <keyword>true</keyword>
55
+ <keyword>false</keyword>
56
+ </context>
57
+
58
+ <context id="exec-parameter" style-ref="exec-parameter">
59
+ <match>%[fFuUdDnNimckv%]</match>
60
+ </context>
61
+
62
+ <context id="encoding" style-ref="encoding">
63
+ <keyword>UTF\-8</keyword>
64
+ <keyword>Legacy\-Mixed</keyword>
65
+ </context>
66
+
67
+ <context id="number" style-ref="number">
68
+ <match>(.\b[0-9]+([Ll]?|[Ff]?)\b)|(b[0-9]*\.\W)</match>
69
+ </context>
70
+
71
+ <context id="standard-key" style-ref="key">
72
+ <prefix>^_?</prefix>
73
+ <suffix>\%{key-suffix}</suffix>
74
+ <keyword>Actions</keyword>
75
+ <keyword>BinaryPattern</keyword>
76
+ <keyword>Categories</keyword>
77
+ <keyword>Comment</keyword>
78
+ <keyword>DBusActivatable</keyword>
79
+ <keyword>DefaultApp</keyword>
80
+ <keyword>Dev</keyword>
81
+ <keyword>Encoding</keyword>
82
+ <keyword>Exec</keyword>
83
+ <keyword>Extensions</keyword>
84
+ <keyword>FilePattern</keyword>
85
+ <keyword>FSType</keyword>
86
+ <keyword>GenericName</keyword>
87
+ <keyword>Hidden</keyword>
88
+ <keyword>Icon</keyword>
89
+ <keyword>Implements</keyword>
90
+ <keyword>Keywords</keyword>
91
+ <keyword>MapNotify</keyword>
92
+ <keyword>MimeType</keyword>
93
+ <keyword>MiniIcon</keyword>
94
+ <keyword>MountPoint</keyword>
95
+ <keyword>Name</keyword>
96
+ <keyword>NoDisplay</keyword>
97
+ <keyword>NotShowIn</keyword>
98
+ <keyword>OnlyShowIn</keyword>
99
+ <keyword>Path</keyword>
100
+ <keyword>Patterns</keyword>
101
+ <keyword>Protocols</keyword>
102
+ <keyword>ReadOnly</keyword>
103
+ <keyword>SortOrder</keyword>
104
+ <keyword>StartupNotify</keyword>
105
+ <keyword>StartupWMClass</keyword>
106
+ <keyword>SwallowExec</keyword>
107
+ <keyword>SwallowTitle</keyword>
108
+ <keyword>Terminal</keyword>
109
+ <keyword>TerminalOptions</keyword>
110
+ <keyword>TryExec</keyword>
111
+ <keyword>Type</keyword>
112
+ <keyword>UnmountIcon</keyword>
113
+ <keyword>URL</keyword>
114
+ <keyword>Version</keyword>
115
+ </context>
116
+
117
+ <context id="non-standard-key" style-ref="key">
118
+ <match>^_?X\-[a-zA-Z\-]+\%{key-suffix}</match>
119
+ </context>
120
+
121
+ <context id="key-categories" end-at-line-end="true">
122
+ <start>^(_?Categories)\%{key-suffix}</start>
123
+ <include>
124
+ <context sub-pattern="1" where="start" style-ref="key"/>
125
+ <context style-ref="category-main">
126
+ <keyword>AudioVideo</keyword>
127
+ <keyword>Audio</keyword>
128
+ <keyword>Video</keyword>
129
+ <keyword>Shell</keyword>
130
+ <keyword>Development</keyword>
131
+ <keyword>Education</keyword>
132
+ <keyword>Game</keyword>
133
+ <keyword>Graphics</keyword>
134
+ <keyword>Network</keyword>
135
+ <keyword>Office</keyword>
136
+ <keyword>Settings</keyword>
137
+ <keyword>System</keyword>
138
+ <keyword>Utility</keyword>
139
+ </context>
140
+ <context style-ref="category-additional">
141
+ <keyword>2DGraphics</keyword>
142
+ <keyword>3DGraphics</keyword>
143
+ <keyword>Accessibility</keyword>
144
+ <keyword>ActionGame</keyword>
145
+ <keyword>AdventureGame</keyword>
146
+ <keyword>Amusement</keyword>
147
+ <keyword>ArcadeGame</keyword>
148
+ <keyword>Archiving</keyword>
149
+ <keyword>ArtificialIntelligence</keyword>
150
+ <keyword>Art</keyword>
151
+ <keyword>Astronomy</keyword>
152
+ <keyword>AudioVideoEditing</keyword>
153
+ <keyword>Biology</keyword>
154
+ <keyword>BlocksGame</keyword>
155
+ <keyword>BoardGame</keyword>
156
+ <keyword>Building</keyword>
157
+ <keyword>Calculator</keyword>
158
+ <keyword>Calendar</keyword>
159
+ <keyword>CardGame</keyword>
160
+ <keyword>Chart</keyword>
161
+ <keyword>Chat</keyword>
162
+ <keyword>Chemistry</keyword>
163
+ <keyword>Clock</keyword>
164
+ <keyword>Compression</keyword>
165
+ <keyword>ComputerScience</keyword>
166
+ <keyword>ConsoleOnly</keyword>
167
+ <keyword>Construction</keyword>
168
+ <keyword>ContactManagement</keyword>
169
+ <keyword>Core</keyword>
170
+ <keyword>Database</keyword>
171
+ <keyword>DataVisualization</keyword>
172
+ <keyword>Debugger</keyword>
173
+ <keyword>DesktopSettings</keyword>
174
+ <keyword>Dialup</keyword>
175
+ <keyword>Dictionary</keyword>
176
+ <keyword>DiscBurning</keyword>
177
+ <keyword>Documentation</keyword>
178
+ <keyword>Economy</keyword>
179
+ <keyword>Electricity</keyword>
180
+ <keyword>Electronics</keyword>
181
+ <keyword>Email</keyword>
182
+ <keyword>Emulator</keyword>
183
+ <keyword>Engineering</keyword>
184
+ <keyword>FileManager</keyword>
185
+ <keyword>Filesystem</keyword>
186
+ <keyword>FileTools</keyword>
187
+ <keyword>FileTransfer</keyword>
188
+ <keyword>Finance</keyword>
189
+ <keyword>FlowChart</keyword>
190
+ <keyword>Geography</keyword>
191
+ <keyword>Geology</keyword>
192
+ <keyword>Geoscience</keyword>
193
+ <keyword>GNOME</keyword>
194
+ <keyword>GTK</keyword>
195
+ <keyword>GUIDesigner</keyword>
196
+ <keyword>HamRadio</keyword>
197
+ <keyword>HardwareSettings</keyword>
198
+ <keyword>History</keyword>
199
+ <keyword>IDE</keyword>
200
+ <keyword>ImageProcessing</keyword>
201
+ <keyword>InstantMessaging</keyword>
202
+ <keyword>IRCClient</keyword>
203
+ <keyword>Java</keyword>
204
+ <keyword>KDE</keyword>
205
+ <keyword>KidsGame</keyword>
206
+ <keyword>Languages</keyword>
207
+ <keyword>Literature</keyword>
208
+ <keyword>LogicGame</keyword>
209
+ <keyword>Math</keyword>
210
+ <keyword>MedicalSoftware</keyword>
211
+ <keyword>Midi</keyword>
212
+ <keyword>Mixer</keyword>
213
+ <keyword>Monitor</keyword>
214
+ <keyword>Motif</keyword>
215
+ <keyword>Music</keyword>
216
+ <keyword>News</keyword>
217
+ <keyword>NumericalAnalysis</keyword>
218
+ <keyword>OCR</keyword>
219
+ <keyword>P2P</keyword>
220
+ <keyword>PackageManager</keyword>
221
+ <keyword>ParallelComputing</keyword>
222
+ <keyword>PDA</keyword>
223
+ <keyword>Photography</keyword>
224
+ <keyword>Physics</keyword>
225
+ <keyword>Player</keyword>
226
+ <keyword>Presentation</keyword>
227
+ <keyword>Printing</keyword>
228
+ <keyword>Profiling</keyword>
229
+ <keyword>ProjectManagement</keyword>
230
+ <keyword>Publishing</keyword>
231
+ <keyword>Qt</keyword>
232
+ <keyword>RasterGraphics</keyword>
233
+ <keyword>Recorder</keyword>
234
+ <keyword>RemoteAccess</keyword>
235
+ <keyword>RevisionControl</keyword>
236
+ <keyword>Robotics</keyword>
237
+ <keyword>RolePlaying</keyword>
238
+ <keyword>Scanning</keyword>
239
+ <keyword>Science</keyword>
240
+ <keyword>Security</keyword>
241
+ <keyword>Sequencer</keyword>
242
+ <keyword>Simulation</keyword>
243
+ <keyword>SportsGame</keyword>
244
+ <keyword>Sports</keyword>
245
+ <keyword>Spreadsheet</keyword>
246
+ <keyword>StrategyGame</keyword>
247
+ <keyword>Telephony</keyword>
248
+ <keyword>TelephonyTools</keyword>
249
+ <keyword>TerminalEmulator</keyword>
250
+ <keyword>TextEditor</keyword>
251
+ <keyword>TextTools</keyword>
252
+ <keyword>Translation</keyword>
253
+ <keyword>Tuner</keyword>
254
+ <keyword>TV</keyword>
255
+ <keyword>VectorGraphics</keyword>
256
+ <keyword>VideoConference</keyword>
257
+ <keyword>Viewer</keyword>
258
+ <keyword>WebBrowser</keyword>
259
+ <keyword>WebDevelopment</keyword>
260
+ <keyword>WordProcessor</keyword>
261
+ </context>
262
+ <context style-ref="category-reserved">
263
+ <keyword>Screensaver</keyword>
264
+ <keyword>TrayIcon</keyword>
265
+ <keyword>Applet</keyword>
266
+ <keyword>Shell</keyword>
267
+ </context>
268
+ </include>
269
+ </context>
270
+
271
+ <context id="key">
272
+ <include>
273
+ <context ref="key-categories"/>
274
+ <context ref="standard-key"/>
275
+ <context ref="non-standard-key"/>
276
+ </include>
277
+ </context>
278
+
279
+ <context id="desktop">
280
+ <include>
281
+ <context ref="def:shell-like-comment"/>
282
+ <context ref="group"/>
283
+ <context ref="key"/>
284
+ <context id="lang-and-value" end-at-line-end="true">
285
+ <start>(\%{language})?\s*=\s*</start>
286
+ <include>
287
+ <context sub-pattern="1" where="start" style-ref="language"/>
288
+ <context ref="boolean"/>
289
+ <context ref="exec-parameter"/>
290
+ <context ref="encoding"/>
291
+ <context ref="number"/>
292
+ </include>
293
+ </context>
294
+ </include>
295
+ </context>
296
+ </definitions>
297
+ </language>
@@ -0,0 +1,84 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+
4
+ This file is part of GtkSourceView
5
+
6
+ Author: Paolo Maggi <paolo.maggi@polito.it>
7
+ Copyright (C) 2003 Paolo Maggi <paolo.maggi@polito.it>
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="diff" name="Diff" version="2.0" _section="Other">
24
+ <metadata>
25
+ <property name="mimetypes">text/x-diff;text/x-patch;text/x-reject</property>
26
+ <property name="globs">*.diff;*.patch;*.rej</property>
27
+ </metadata>
28
+
29
+ <styles>
30
+ <style id="added-line" name="Added line"/> <!--Others 2-->
31
+ <style id="removed-line" name="Removed line"/> <!--Others 3-->
32
+ <style id="changed-line" name="Changed line"/> <!--Preprocessor-->
33
+ <style id="special-case" name="Special case"/> <!--String-->
34
+ <style id="location" name="Location"/> <!--Keyword-->
35
+ <style id="ignore" name="Ignore" map-to="def:comment"/>
36
+ <style id="diff-file" name=""/> <!--Data Type-->
37
+ </styles>
38
+
39
+ <definitions>
40
+ <define-regex id="diff-file">^(diff |\+\+\+ |Index: |==== |\*\*\* |--- )</define-regex>
41
+
42
+ <context id="diff">
43
+ <include>
44
+ <context id="diff-file" style-ref="diff-file" end-at-line-end="true">
45
+ <start>\%{diff-file}</start>
46
+ </context>
47
+
48
+ <context id="removed-line" style-ref="removed-line">
49
+ <match>^(&lt;|-).*$</match>
50
+ </context>
51
+
52
+ <context id="added-line" style-ref="added-line">
53
+ <match>^(\+|&gt;).*$</match>
54
+ </context>
55
+
56
+ <context id="changed-line" style-ref="changed-line">
57
+ <match>^\! .*$</match>
58
+ </context>
59
+
60
+ <context id="location" style-ref="location" end-at-line-end="true">
61
+ <start>^((@@)|[0-9]|\*\*\*\*)</start>
62
+ <include>
63
+ <context ref="def:escape"/>
64
+ </include>
65
+ </context>
66
+
67
+ <context id="special-case" style-ref="special-case">
68
+ <prefix>^</prefix>
69
+ <suffix>\b</suffix>
70
+ <keyword>Only in .*</keyword>
71
+ <keyword>Files .* and .* are identical$</keyword>
72
+ <keyword>Files .* and .* differ$</keyword>
73
+ <keyword>Binary files .* and .* differ$</keyword>
74
+ <keyword>File .* is a .* while file .* is a .*</keyword>
75
+ <keyword>No newline at end of file .*</keyword>
76
+ </context>
77
+
78
+ <context style-ref="ignore" end-at-line-end="true">
79
+ <start>^\S</start>
80
+ </context>
81
+ </include>
82
+ </context>
83
+ </definitions>
84
+ </language>