gtksourceview4 3.2.9-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
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.rb +56 -0
  8. data/lib/gtksourceview4/deprecated.rb +49 -0
  9. data/lib/gtksourceview4/loader.rb +49 -0
  10. data/lib/gtksourceview4/mark-attributes.rb +29 -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,190 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+
4
+ Author: Paolo Borelli <pborelli@katamail.com>
5
+ Copyright (C) 2005 Paolo Borelli <pborelli@katamail.com>
6
+ Copyright (C) 2005 Ricardo Lenz
7
+
8
+ GtkSourceView is free software; you can redistribute it and/or
9
+ modify it under the terms of the GNU Lesser General Public
10
+ License as published by the Free Software Foundation; either
11
+ version 2.1 of the License, or (at your option) any later version.
12
+
13
+ GtkSourceView is distributed in the hope that it will be useful,
14
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
15
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
+ Lesser General Public License for more details.
17
+
18
+ You should have received a copy of the GNU Lesser General Public License
19
+ along with this library; if not, see <http://www.gnu.org/licenses/>.
20
+
21
+ -->
22
+ <language id="makefile" name="Makefile" version="2.0" _section="Source">
23
+ <metadata>
24
+ <property name="mimetypes">text/x-makefile</property>
25
+ <property name="globs">[Mm]akefile;GNUmakefile;*.make;*.mak;*.mk</property>
26
+ <property name="line-comment-start">#</property>
27
+ </metadata>
28
+
29
+ <styles>
30
+ <style id="variable" name="Variable" map-to="def:type"/>
31
+ <style id="assignment-rhs" name="Assignment Right Hand Side"/>
32
+ <style id="assignment-lhs" name="Assignment Left Hand Side"/>
33
+ <style id="targets" name="targets" map-to="def:function"/>
34
+ <style id="prereq" name="prereq"/>
35
+ <style id="command" name="command"/>
36
+ <style id="trailing-tab" name="Trailing Tab"/>
37
+ <style id="function" name="function" map-to="def:function"/>
38
+ <style id="keyword" name="keyword" map-to="def:keyword"/>
39
+ </styles>
40
+
41
+ <definitions>
42
+ <replace id="sh:sh" ref="command"/>
43
+ <replace id="sh:variable" ref="sh-variable"/>
44
+
45
+ <define-regex id="variable">[a-zA-Z_][a-zA-Z0-9_]*</define-regex>
46
+
47
+ <context id="variable-1">
48
+ <match>\$\((\%{variable})\)</match>
49
+ <include>
50
+ <context sub-pattern="1" style-ref="variable"/>
51
+ </include>
52
+ </context>
53
+
54
+ <context id="variable-2">
55
+ <match>\$\{(\%{variable})\}</match>
56
+ <include>
57
+ <context sub-pattern="1" style-ref="variable"/>
58
+ </include>
59
+ </context>
60
+
61
+ <context id="variable">
62
+ <include>
63
+ <context ref="variable-1"/>
64
+ <context ref="variable-2"/>
65
+ </include>
66
+ </context>
67
+
68
+ <context id="sh-variable">
69
+ <include>
70
+ <context ref="variable"/>
71
+ <context ref="sh:variable" original="true"/>
72
+ </include>
73
+ </context>
74
+
75
+ <context id="string">
76
+ <include>
77
+ <!-- skip escaped characters -->
78
+ <context>
79
+ <match>\\.</match>
80
+ </context>
81
+ <context ref="def:string"/>
82
+ </include>
83
+ </context>
84
+
85
+ <context id="assignment-rhs" style-ref="assignment-rhs" end-at-line-end="true">
86
+ <start></start>
87
+ <include>
88
+ <context ref="def:line-continue"/>
89
+ <context ref="def:shell-like-comment"/>
90
+ <context ref="variable"/>
91
+ <context ref="string"/>
92
+ <context ref="def:single-quoted-string"/>
93
+ <context ref="sh:backtick-subshell"/>
94
+ </include>
95
+ </context>
96
+
97
+ <context id="command" style-ref="command" extend-parent="false" end-at-line-end="true">
98
+ <start></start>
99
+ <include>
100
+ <context ref="def:line-continue"/>
101
+ <context ref="sh:sh" original="true"/>
102
+ </include>
103
+ </context>
104
+
105
+ <context id="directives" style-ref="keyword">
106
+ <keyword>define</keyword>
107
+ <keyword>else</keyword>
108
+ <keyword>endef</keyword>
109
+ <keyword>endif</keyword>
110
+ <keyword>if</keyword>
111
+ <keyword>ifdef</keyword>
112
+ <keyword>ifeq</keyword>
113
+ <keyword>ifndef</keyword>
114
+ <keyword>ifneq</keyword>
115
+ <keyword>include</keyword>
116
+ <keyword>override</keyword>
117
+ <keyword>unexport</keyword>
118
+ </context>
119
+
120
+ <context id="functions" style-ref="function">
121
+ <keyword>addprefix</keyword>
122
+ <keyword>addsuffix</keyword>
123
+ <keyword>basename</keyword>
124
+ <keyword>call</keyword>
125
+ <keyword>dir</keyword>
126
+ <keyword>error</keyword>
127
+ <keyword>filter</keyword>
128
+ <keyword>filter-out</keyword>
129
+ <keyword>findstring</keyword>
130
+ <keyword>firstword</keyword>
131
+ <keyword>foreach</keyword>
132
+ <keyword>join</keyword>
133
+ <keyword>notdir</keyword>
134
+ <keyword>origin</keyword>
135
+ <keyword>patsubst</keyword>
136
+ <keyword>shell</keyword>
137
+ <keyword>sort</keyword>
138
+ <keyword>strip</keyword>
139
+ <keyword>subst</keyword>
140
+ <keyword>suffix</keyword>
141
+ <keyword>warning</keyword>
142
+ <keyword>wildcard</keyword>
143
+ <keyword>word</keyword>
144
+ <keyword>words</keyword>
145
+ </context>
146
+
147
+ <context id="makefile">
148
+ <include>
149
+ <context ref="def:shebang"/>
150
+ <context ref="def:shell-like-comment"/>
151
+
152
+ <context id="assignment" end-at-line-end="true">
153
+ <start>^(\%{variable})\s*[\+\?:]?=</start>
154
+ <include>
155
+ <context sub-pattern="1" where="start" style-ref="assignment-lhs"/>
156
+ <context ref="assignment-rhs"/>
157
+ </include>
158
+ </context>
159
+
160
+ <context id="rule">
161
+ <start>^([^\t\:][^\:]*)\:</start>
162
+ <end>^(?!\t)</end>
163
+ <include>
164
+ <context sub-pattern="1" where="start" style-ref="targets"/>
165
+ <context ref="def:shell-like-comment"/>
166
+ <context ref="directives"/>
167
+ <context id="prereq" end-at-line-end="true" style-ref="prereq">
168
+ <start>(?&lt;=:)(?=.)</start>
169
+ <end>;</end>
170
+ <include>
171
+ <context ref="def:escape"/>
172
+ <context ref="def:line-continue"/>
173
+ <context ref="variable"/>
174
+ <context ref="functions"/>
175
+ </include>
176
+ </context>
177
+ <context id="trailing-tab" style-ref="trailing-tab">
178
+ <match>^\t+$</match>
179
+ </context>
180
+ <context ref="command"/>
181
+ </include>
182
+ </context>
183
+
184
+ <context ref="directives"/>
185
+ <context ref="functions"/>
186
+
187
+ </include>
188
+ </context>
189
+ </definitions>
190
+ </language>
@@ -0,0 +1,123 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+
4
+ This file is part of GtkSourceView
5
+
6
+ Author: Milo Casagrande <milo@ubuntu.com>
7
+ Copyright (C) 2009 Milo Casagrande <milo@ubuntu.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
+ <language id="mallard" name="Mallard" version="2.0" _section="Markup">
23
+
24
+ <metadata>
25
+ <property name="globs">*.page</property>
26
+ <property name="block-comment-start">&lt;!--</property>
27
+ <property name="block-comment-end">--&gt;</property>
28
+ </metadata>
29
+
30
+ <styles>
31
+ <style id="page" name="Page Elements" map-to="def:identifier"/>
32
+ <style id="section" name="Section Elements" map-to="def:identifier"/>
33
+ <style id="block" name="Block Elements" map-to="def:identifier"/>
34
+ <style id="inline" name="Inline Elements" map-to="def:identifier"/>
35
+ </styles>
36
+
37
+ <definitions>
38
+
39
+ <context id="page-element" once-only="true" style-ref="page" class="no-spell-check">
40
+ <keyword>page</keyword>
41
+ </context>
42
+
43
+ <context id="section-element" style-ref="section" class="no-spell-check">
44
+ <keyword>section</keyword>
45
+ </context>
46
+
47
+ <context id="block-elements" style-ref="block" class="no-spell-check">
48
+ <keyword>code</keyword>
49
+ <keyword>p</keyword>
50
+ <keyword>example</keyword>
51
+ <keyword>screen</keyword>
52
+ <keyword>media</keyword>
53
+ <keyword>comment</keyword>
54
+ <keyword>figure</keyword>
55
+ <keyword>listing</keyword>
56
+ <keyword>note</keyword>
57
+ <keyword>quote</keyword>
58
+ <keyword>synopsis</keyword>
59
+ <keyword>list</keyword>
60
+ <keyword>steps</keyword>
61
+ <keyword>terms</keyword>
62
+ <keyword>tree</keyword>
63
+ <keyword>table</keyword>
64
+ <keyword>col</keyword>
65
+ <keyword>colgroup</keyword>
66
+ <keyword>tr</keyword>
67
+ <keyword>td</keyword>
68
+ <keyword>item</keyword>
69
+ </context>
70
+
71
+ <context id="inline-elements" style-ref="inline" class="no-spell-check">
72
+ <keyword>app</keyword>
73
+ <keyword>cmd</keyword>
74
+ <keyword>code</keyword>
75
+ <keyword>em</keyword>
76
+ <keyword>file</keyword>
77
+ <keyword>gui</keyword>
78
+ <keyword>guiseq</keyword>
79
+ <keyword>input</keyword>
80
+ <keyword>key</keyword>
81
+ <keyword>keyseq</keyword>
82
+ <keyword>link</keyword>
83
+ <keyword>media</keyword>
84
+ <keyword>output</keyword>
85
+ <keyword>span</keyword>
86
+ <keyword>sys</keyword>
87
+ <keyword>var</keyword>
88
+ <keyword>info</keyword>
89
+ <keyword>credit</keyword>
90
+ <keyword>name</keyword>
91
+ <keyword>email</keyword>
92
+ <keyword>copyright</keyword>
93
+ <keyword>year</keyword>
94
+ <keyword>license</keyword>
95
+ <keyword>desc</keyword>
96
+ <keyword>link</keyword>
97
+ <keyword>revision</keyword>
98
+ <keyword>title</keyword>
99
+ <keyword>subtitle</keyword>
100
+ <keyword>desc</keyword>
101
+ <keyword>cite</keyword>
102
+ </context>
103
+
104
+ <context id="mallard-tags">
105
+ <include>
106
+ <context ref="page-element"/>
107
+ <context ref="section-element"/>
108
+ <context ref="block-elements"/>
109
+ <context ref="inline-elements"/>
110
+ <context ref="xml:element-name" original="true"/>
111
+ </include>
112
+ </context>
113
+
114
+ <replace id="xml:element-name" ref="mallard-tags"/>
115
+
116
+ <context id="mallard">
117
+ <include>
118
+ <context ref="xml:xml"/>
119
+ </include>
120
+ </context>
121
+ </definitions>
122
+
123
+ </language>
@@ -0,0 +1,401 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+
4
+ Author: Jean-Philippe Fleury
5
+ Copyright (C) 2011 Jean-Philippe Fleury <contact@jpfleury.net>
6
+
7
+ GtkSourceView is free software; you can redistribute it and/or
8
+ modify it under the terms of the GNU Lesser General Public
9
+ License as published by the Free Software Foundation; either
10
+ version 2.1 of the License, or (at your option) any later version.
11
+
12
+ GtkSourceView is distributed in the hope that it will be useful,
13
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
+ Lesser General Public License for more details.
16
+
17
+ You should have received a copy of the GNU Lesser General Public License
18
+ along with this library; if not, see <http://www.gnu.org/licenses/>.
19
+
20
+ -->
21
+ <!-- Note: this language definition file adds support for Markdown syntax,
22
+ described in the following websites:
23
+ * (fr) <http://michelf.com/projets/php-markdown/syntaxe/>
24
+ * (en) <http://daringfireball.net/projects/markdown/syntax> -->
25
+ <language id="markdown" name="Markdown" version="2.0" _section="Markup">
26
+ <metadata>
27
+ <property name="mimetypes">text/x-markdown</property>
28
+ <property name="globs">*.markdown;*.md;*.mkd</property>
29
+ <property name="block-comment-start">&lt;!--</property>
30
+ <property name="block-comment-end">--&gt;</property>
31
+ </metadata>
32
+
33
+ <styles>
34
+ <style id="header" name="Header" map-to="def:type"/>
35
+ <style id="horizontal-rule" name="Horizontal Rule" map-to="def:type"/>
36
+ <style id="list-marker" name="List Marker" map-to="def:statement"/>
37
+ <style id="code" name="Code" map-to="def:identifier"/>
38
+ <style id="blockquote-marker" name="Blockquote Marker" map-to="def:shebang"/>
39
+ <style id="url" name="URL" map-to="def:underlined"/>
40
+ <style id="link-text" name="Link Text" map-to="def:comment"/>
41
+ <style id="label" name="Label" map-to="def:preprocessor"/>
42
+ <style id="attribute-value" name="Attribute Value" map-to="def:constant"/>
43
+ <style id="image-marker" name="Image Marker" map-to="def:shebang"/>
44
+ <style id="emphasis" name="Emphasis" map-to="def:doc-comment-element"/>
45
+ <style id="strong-emphasis" name="Strong Emphasis" map-to="def:statement"/>
46
+ <style id="backslash-escape" name="Backslash Escape" map-to="def:special-char"/>
47
+ <style id="line-break" name="Line Break" map-to="def:note"/>
48
+ </styles>
49
+
50
+ <definitions>
51
+ <!-- Examples:
52
+ # Header 1 #
53
+ ## Header 2
54
+ ###Header 3###
55
+ -->
56
+ <context id="atx-header" style-ref="header">
57
+ <match>^#+.+</match>
58
+ </context>
59
+
60
+ <!-- Examples:
61
+ Header 1
62
+ ========
63
+ Header 2
64
+ -
65
+ -->
66
+ <!-- Note: line break can't be used in regex, so only underline is matched. -->
67
+ <context id="setext-header" style-ref="header">
68
+ <match>^(-+|=+)[ \t]*$</match>
69
+ </context>
70
+
71
+ <!-- Examples:
72
+ - - -
73
+ ** ** ** ** **
74
+ _____
75
+ -->
76
+ <context id="horizontal-rule" style-ref="horizontal-rule">
77
+ <match extended="true">
78
+ ^[ ]{0,3} # Maximum 3 spaces at the beginning of the line.
79
+ (
80
+ (-[ ]{0,2}){3,} | # 3 or more hyphens, with 2 spaces maximum between each hyphen.
81
+ (_[ ]{0,2}){3,} | # Idem, but with underscores.
82
+ (\*[ ]{0,2}){3,} # Idem, but with asterisks.
83
+ )
84
+ [ \t]*$ # Optional trailing spaces or tabs.
85
+ </match>
86
+ </context>
87
+
88
+ <!-- Note about following list and code block contexts: according to the
89
+ Markdown syntax, to write several paragraphs in a list item, we have
90
+ to indent each paragraph. Example:
91
+
92
+ - Item A (paragraph 1).
93
+
94
+ Item A (paragraph 2).
95
+
96
+ Item A (paragraph 3).
97
+
98
+ - Item B.
99
+
100
+ So there is a conflict in terms of syntax highlighting between an
101
+ indented paragraph inside a list item (4 spaces or 1 tab) and an
102
+ indented line of code outside a list (also 4 spaces or 1 tab). In this
103
+ language file, since a full context analysis can't be done (because
104
+ line break can't be used in regex), the choice was made ​​to highlight
105
+ code block only from 2 levels of indentation. -->
106
+
107
+ <!-- Example (unordered list):
108
+ * Item
109
+ + Item
110
+ - Item
111
+
112
+ Example (ordered list):
113
+ 1. Item
114
+ 2. Item
115
+ 3. Item
116
+ -->
117
+ <context id="list" style-ref="list-marker">
118
+ <match extended="true">
119
+ ^[ ]{0,3} # Maximum 3 spaces at the beginning of the line.
120
+ (
121
+ \*|\+|-| # Asterisk, plus or hyphen for unordered list.
122
+ [0-9]+\. # Number followed by period for ordered list.
123
+ )
124
+ [ \t]+ # Must be followed by at least 1 space or 1 tab.
125
+ </match>
126
+ </context>
127
+
128
+ <!-- Example:
129
+ <em>HTML code</em> displayed <strong>literally</strong>.
130
+ -->
131
+ <context id="code-block" class="no-spell-check">
132
+ <match>^( {8,}|\t{2,})([^ \t]+.*)</match>
133
+
134
+ <include>
135
+ <context sub-pattern="2" style-ref="code"/>
136
+ </include>
137
+ </context>
138
+
139
+ <!-- Note about following code span contexts: within a paragraph, text
140
+ wrapped with backticks indicates a code span. Markdown allows to use
141
+ one or more backticks to wrap text, provided that the number is identical
142
+ on both sides, and the same number of consecutive backticks is not
143
+ present within the text. The current language file supports code span
144
+ highlighting with up to 2 backticks surrounding text. -->
145
+
146
+ <!-- Examples:
147
+ Here's a literal HTML tag: `<p>`.
148
+ `Here's a code span containing ``backticks``.`
149
+ -->
150
+ <context id="1-backtick-code-span" class="no-spell-check" style-ref="code">
151
+ <match>(?&lt;!`)`[^`]+(`{2,}[^`]+)*`(?!`)</match>
152
+ </context>
153
+
154
+ <!-- Examples:
155
+ Here's a literal HTML tag: ``<p>``.
156
+ ``The grave accent (`) is used in Markdown to indicate a code span.``
157
+ ``Here's another code span containing ```backticks```.``
158
+ -->
159
+ <context id="2-backticks-code-span" class="no-spell-check" style-ref="code">
160
+ <match>(?&lt;!`)``[^`]+((`|`{3,})[^`]+)*``(?!`)</match>
161
+ </context>
162
+
163
+ <!-- Example:
164
+ > Quoted text.
165
+ > Quoted text with `code span`.
166
+ >> Blockquote **nested**.
167
+ -->
168
+ <!-- Note: blockquote can contain block-level and inline Markdown elements,
169
+ but the current language file only highlights inline ones (emphasis,
170
+ link, etc.). -->
171
+ <context id="blockquote" end-at-line-end="true">
172
+ <start>^( {0,3}&gt;(?=.)( {0,4}&gt;)*)</start>
173
+
174
+ <include>
175
+ <context sub-pattern="1" where="start" style-ref="blockquote-marker"/>
176
+ <context ref="1-backtick-code-span"/>
177
+ <context ref="2-backticks-code-span"/>
178
+ <context ref="automatic-link"/>
179
+ <context ref="inline-link"/>
180
+ <context ref="reference-link"/>
181
+ <context ref="inline-image"/>
182
+ <context ref="reference-image"/>
183
+ <context ref="underscores-emphasis"/>
184
+ <context ref="asterisks-emphasis"/>
185
+ <context ref="underscores-strong-emphasis"/>
186
+ <context ref="asterisks-strong-emphasis"/>
187
+ <context ref="backslash-escape"/>
188
+ <context ref="line-break"/>
189
+ </include>
190
+ </context>
191
+
192
+ <!-- Examples:
193
+ <user@example.com>
194
+ <http://www.example.com/>
195
+ -->
196
+ <!-- Note: regular expressions are based from function `_DoAutoLinks` from
197
+ Markdown.pl (see <http://daringfireball.net/projects/markdown/>). -->
198
+ <context id="automatic-link" class="no-spell-check">
199
+ <match case-sensitive="false" extended="true">
200
+ &lt;
201
+ (((mailto:)?[a-z0-9.-]+\@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+) | # E-mail.
202
+ ((https?|ftp):[^'">\s]+)) # URL.
203
+ &gt;
204
+ </match>
205
+
206
+ <include>
207
+ <context sub-pattern="1" style-ref="url"/>
208
+ </include>
209
+ </context>
210
+
211
+ <!-- Examples:
212
+ [link text](http://www.example.com/)
213
+ [link text](<http://www.example.com/>)
214
+ [link text]( /folder/page.html "Title" )
215
+ -->
216
+ <context id="inline-link">
217
+ <match extended="true">
218
+ \[(.*?)\] # Link text.
219
+ \( # Literal opening parenthesis.
220
+ [ \t]* # Optional spaces or tabs after the opening parenthesis.
221
+ (&lt;(.*?)&gt; | # URL with brackets.
222
+ (.*?)) # URL without brackets.
223
+ ([ \t]+(".*?"))? # Optional title.
224
+ [ \t]* # Optional spaces or tabs before the closing parenthesis.
225
+ \) # Literal closing parenthesis.
226
+ </match>
227
+
228
+ <include>
229
+ <context sub-pattern="1" style-ref="link-text"/>
230
+ <context sub-pattern="3" class="no-spell-check" style-ref="url"/>
231
+ <context sub-pattern="4" class="no-spell-check" style-ref="url"/>
232
+ <context sub-pattern="6" style-ref="attribute-value"/>
233
+ </include>
234
+ </context>
235
+
236
+ <!-- Examples:
237
+ [link text]
238
+ [link text][]
239
+ [link text][link label]
240
+ [link text] [link label]
241
+ -->
242
+ <!-- Note: some assertions are used to differentiate reference link from
243
+ link label. -->
244
+ <context id="reference-link">
245
+ <match>(?&lt;!^ |^ |^ )\[(.*?)\]([ \t]?\[(.*?)\])?(?!:)</match>
246
+
247
+ <include>
248
+ <context sub-pattern="1" style-ref="link-text"/>
249
+ <context sub-pattern="3" class="no-spell-check" style-ref="label"/>
250
+ </include>
251
+ </context>
252
+
253
+ <!-- Examples:
254
+ [link label]: /folder/page.html
255
+ [link label]: <http://www.example.com/>
256
+ [link label]: http://www.example.com/ "Title"
257
+ -->
258
+ <context id="link-definition">
259
+ <match extended="true">
260
+ ^[ ]{0,3} # Maximum 3 spaces at the beginning of the line.
261
+ \[(.+?)\]: # Link label and colon.
262
+ [ \t]* # Optional spaces or tabs.
263
+ (&lt;([^ \t]+?)&gt; | # URL with brackets.
264
+ ([^ \t]+?)) # URL without brackets.
265
+ ([ \t]+(".*?"))? # Optional title.
266
+ [ \t]*$ # Optional trailing spaces or tabs.
267
+ </match>
268
+
269
+ <include>
270
+ <context sub-pattern="1" class="no-spell-check" style-ref="label"/>
271
+ <context sub-pattern="3" class="no-spell-check" style-ref="url"/>
272
+ <context sub-pattern="4" class="no-spell-check" style-ref="url"/>
273
+ <context sub-pattern="6" style-ref="attribute-value"/>
274
+ </include>
275
+ </context>
276
+
277
+ <!-- Examples:
278
+ ![alt text](http://www.example.com/image.jpg)
279
+ ![alt text]( <http://www.example.com/image.jpg> )
280
+ ![alt text] (/path/to/image.jpg "Title")
281
+ -->
282
+ <context id="inline-image">
283
+ <match extended="true">
284
+ (!) # Leading ! sign.
285
+ \[(.*?)\][ ]? # Alternate text for the image (and optional space).
286
+ \( # Literal parenthesis.
287
+ [ \t]* # Optional spaces or tabs after the opening parenthesis.
288
+ (&lt;([^ \t]*?)&gt; | # Image path or URL with brackets.
289
+ ([^ \t]*?)) # Image path or URL without brackets.
290
+ ([ \t]+(".*?"))? # Optional title.
291
+ [ \t]* # Optional spaces or tabs before the closing parenthesis.
292
+ \) # Literal parenthesis.
293
+ </match>
294
+
295
+ <include>
296
+ <context sub-pattern="1" style-ref="image-marker"/>
297
+ <context sub-pattern="2" style-ref="attribute-value"/>
298
+ <context sub-pattern="4" class="no-spell-check" style-ref="url"/>
299
+ <context sub-pattern="5" class="no-spell-check" style-ref="url"/>
300
+ <context sub-pattern="6" style-ref="attribute-value"/>
301
+ </include>
302
+ </context>
303
+
304
+ <!-- Examples:
305
+ ![alt text][image label]
306
+ ![alt text] [image label]
307
+ -->
308
+ <context id="reference-image">
309
+ <match>(!)\[(.*?)\] ?\[(.*?)\]</match>
310
+
311
+ <include>
312
+ <context sub-pattern="1" style-ref="image-marker"/>
313
+ <context sub-pattern="2" style-ref="attribute-value"/>
314
+ <context sub-pattern="3" class="no-spell-check" style-ref="label"/>
315
+ </include>
316
+ </context>
317
+
318
+ <!-- Examples:
319
+ Lorem _ipsum dolor_ sit amet.
320
+ Here's an _emphasized text containing an underscore (\_)_.
321
+ -->
322
+ <context id="underscores-emphasis" style-ref="emphasis">
323
+ <match>(?&lt;!_)_[^_ \t].*?(?&lt;!\\|_| |\t)_(?!_)</match>
324
+ </context>
325
+
326
+ <!-- Examples:
327
+ Lorem *ipsum dolor* sit amet.
328
+ Here's an *emphasized text containing an asterisk (\*)*.
329
+ -->
330
+ <context id="asterisks-emphasis" style-ref="emphasis">
331
+ <match>(?&lt;!\*)\*[^\* \t].*?(?&lt;!\\|\*| |\t)\*(?!\*)</match>
332
+ </context>
333
+
334
+ <!-- Examples:
335
+ Lorem __ipsum dolor__ sit amet.
336
+ Here's a __strongly emphasized text containing an underscore (\_)__.
337
+ -->
338
+ <context id="underscores-strong-emphasis" style-ref="strong-emphasis">
339
+ <match>__[^_ \t].*?(?&lt;!\\|_| |\t)__</match>
340
+ </context>
341
+
342
+ <!-- Examples:
343
+ Lorem **ipsum dolor** sit amet.
344
+ Here's a **strongly emphasized text containing an asterisk (\*).**
345
+ -->
346
+ <context id="asterisks-strong-emphasis" style-ref="strong-emphasis">
347
+ <match>\*\*[^\* \t].*?(?&lt;!\\|\*| |\t)\*\*</match>
348
+ </context>
349
+
350
+ <context id="backslash-escape" style-ref="backslash-escape">
351
+ <match>\\[\\`*_{}\[\]()#+-.!]</match>
352
+ </context>
353
+
354
+ <!-- Note: a manual line break should be followed by a line containing text,
355
+ but since line break can't be used in regex, only trailing spaces or tabs
356
+ are matched. -->
357
+ <context id="line-break">
358
+ <match>(?&lt;=[^ \t])([ \t]{2,})$</match>
359
+
360
+ <include>
361
+ <context sub-pattern="1" style-ref="line-break"/>
362
+ </include>
363
+ </context>
364
+
365
+ <context id="markdown-syntax">
366
+ <include>
367
+ <context ref="atx-header"/>
368
+ <context ref="setext-header"/>
369
+ <context ref="horizontal-rule"/>
370
+ <context ref="list"/>
371
+ <context ref="code-block"/>
372
+ <context ref="1-backtick-code-span"/>
373
+ <context ref="2-backticks-code-span"/>
374
+ <context ref="blockquote"/>
375
+ <context ref="automatic-link"/>
376
+ <context ref="inline-link"/>
377
+ <context ref="reference-link"/>
378
+ <context ref="link-definition"/>
379
+ <context ref="inline-image"/>
380
+ <context ref="reference-image"/>
381
+ <context ref="underscores-emphasis"/>
382
+ <context ref="asterisks-emphasis"/>
383
+ <context ref="underscores-strong-emphasis"/>
384
+ <context ref="asterisks-strong-emphasis"/>
385
+ <context ref="backslash-escape"/>
386
+ <context ref="line-break"/>
387
+ </include>
388
+ </context>
389
+
390
+ <replace id="html:embedded-lang-hook" ref="markdown-syntax"/>
391
+
392
+ <context id="markdown">
393
+ <include>
394
+ <context ref="markdown-syntax"/>
395
+ <!-- Note: even if it's highlighted, Markdown syntax within HTML blocks
396
+ (e.g., `<div>`) is not processed. -->
397
+ <context ref="html:html"/>
398
+ </include>
399
+ </context>
400
+ </definitions>
401
+ </language>