gtksourceview3 2.2.4-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (334) hide show
  1. checksums.yaml +7 -0
  2. data/Rakefile +59 -0
  3. data/ext/gtksourceview3/depend +6 -0
  4. data/ext/gtksourceview3/extconf.rb +67 -0
  5. data/ext/gtksourceview3/gtksourceview3.def +2 -0
  6. data/ext/gtksourceview3/rbgtksource.c +53 -0
  7. data/ext/gtksourceview3/rbgtksourcebuffer.c +318 -0
  8. data/ext/gtksourceview3/rbgtksourcegutter.c +82 -0
  9. data/ext/gtksourceview3/rbgtksourcegutterrenderer.c +143 -0
  10. data/ext/gtksourceview3/rbgtksourcegutterrendererpixbuf.c +42 -0
  11. data/ext/gtksourceview3/rbgtksourcegutterrenderertext.c +40 -0
  12. data/ext/gtksourceview3/rbgtksourcelanguage.c +124 -0
  13. data/ext/gtksourceview3/rbgtksourcelanguagemanager.c +114 -0
  14. data/ext/gtksourceview3/rbgtksourcemark.c +85 -0
  15. data/ext/gtksourceview3/rbgtksourcemarkattributes.c +77 -0
  16. data/ext/gtksourceview3/rbgtksourceprintcompositor.c +171 -0
  17. data/ext/gtksourceview3/rbgtksourcestyle.c +42 -0
  18. data/ext/gtksourceview3/rbgtksourcestylescheme.c +72 -0
  19. data/ext/gtksourceview3/rbgtksourcestyleschememanager.c +140 -0
  20. data/ext/gtksourceview3/rbgtksourceundomanager.c +83 -0
  21. data/ext/gtksourceview3/rbgtksourceview.c +94 -0
  22. data/ext/gtksourceview3/rbgtksourceview3conversions.h +50 -0
  23. data/ext/gtksourceview3/rbgtksourceview3private.h +53 -0
  24. data/extconf.rb +49 -0
  25. data/lib/2.0/gtksourceview3.so +0 -0
  26. data/lib/2.1/gtksourceview3.so +0 -0
  27. data/lib/2.2/gtksourceview3.so +0 -0
  28. data/lib/gtksourceview3.rb +20 -0
  29. data/lib/gtksourceview3/deprecated.rb +47 -0
  30. data/sample/sourcelanguagemanager.rb +21 -0
  31. data/sample/test.rb +32 -0
  32. data/test/run-test.rb +44 -0
  33. data/test/test_mark_attributes.rb +26 -0
  34. data/test/test_source_gutter_renderer.rb +33 -0
  35. data/test/test_source_language_manager.rb +46 -0
  36. data/test/test_source_view.rb +57 -0
  37. data/vendor/local/bin/libgtksourceview-3.0-1.dll +0 -0
  38. data/vendor/local/include/gtksourceview-3.0/gtksourceview/completion-providers/words/gtksourcecompletionwords.h +65 -0
  39. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksource.h +54 -0
  40. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcebuffer.h +213 -0
  41. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletion.h +142 -0
  42. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletioncontext.h +95 -0
  43. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletioninfo.h +78 -0
  44. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionitem.h +70 -0
  45. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionproposal.h +97 -0
  46. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionprovider.h +137 -0
  47. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceencoding.h +54 -0
  48. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcefile.h +115 -0
  49. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcefileloader.h +122 -0
  50. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcefilesaver.h +147 -0
  51. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutter.h +90 -0
  52. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrenderer.h +229 -0
  53. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrendererpixbuf.h +87 -0
  54. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrenderertext.h +83 -0
  55. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcelanguage.h +85 -0
  56. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcelanguagemanager.h +84 -0
  57. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemark.h +71 -0
  58. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemarkattributes.h +100 -0
  59. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceprintcompositor.h +175 -0
  60. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcesearchcontext.h +133 -0
  61. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcesearchsettings.h +85 -0
  62. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyle.h +45 -0
  63. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestylescheme.h +109 -0
  64. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschememanager.h +86 -0
  65. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcetypes.h +101 -0
  66. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceundomanager.h +75 -0
  67. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceutils.h +34 -0
  68. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview-typebuiltins.h +88 -0
  69. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview.h +213 -0
  70. data/vendor/local/lib/girepository-1.0/GtkSource-3.0.typelib +0 -0
  71. data/vendor/local/lib/libgtksourceview-3.0.dll.a +0 -0
  72. data/vendor/local/lib/libgtksourceview-3.0.la +41 -0
  73. data/vendor/local/lib/locale/ar/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  74. data/vendor/local/lib/locale/as/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  75. data/vendor/local/lib/locale/ast/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  76. data/vendor/local/lib/locale/az/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  77. data/vendor/local/lib/locale/be/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  78. data/vendor/local/lib/locale/bg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  79. data/vendor/local/lib/locale/bn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  80. data/vendor/local/lib/locale/bn_IN/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  81. data/vendor/local/lib/locale/bs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  82. data/vendor/local/lib/locale/ca/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  83. data/vendor/local/lib/locale/ca@valencia/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  84. data/vendor/local/lib/locale/cs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  85. data/vendor/local/lib/locale/cy/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  86. data/vendor/local/lib/locale/da/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  87. data/vendor/local/lib/locale/de/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  88. data/vendor/local/lib/locale/dz/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  89. data/vendor/local/lib/locale/el/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  90. data/vendor/local/lib/locale/en@shaw/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  91. data/vendor/local/lib/locale/en_CA/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  92. data/vendor/local/lib/locale/en_GB/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  93. data/vendor/local/lib/locale/eo/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  94. data/vendor/local/lib/locale/es/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  95. data/vendor/local/lib/locale/et/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  96. data/vendor/local/lib/locale/eu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  97. data/vendor/local/lib/locale/fa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  98. data/vendor/local/lib/locale/fi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  99. data/vendor/local/lib/locale/fr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  100. data/vendor/local/lib/locale/ga/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  101. data/vendor/local/lib/locale/gl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  102. data/vendor/local/lib/locale/gu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  103. data/vendor/local/lib/locale/he/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  104. data/vendor/local/lib/locale/hi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  105. data/vendor/local/lib/locale/hr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  106. data/vendor/local/lib/locale/hu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  107. data/vendor/local/lib/locale/id/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  108. data/vendor/local/lib/locale/it/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  109. data/vendor/local/lib/locale/ja/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  110. data/vendor/local/lib/locale/kn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  111. data/vendor/local/lib/locale/ko/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  112. data/vendor/local/lib/locale/lt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  113. data/vendor/local/lib/locale/lv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  114. data/vendor/local/lib/locale/mai/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  115. data/vendor/local/lib/locale/mg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  116. data/vendor/local/lib/locale/mk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  117. data/vendor/local/lib/locale/ml/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  118. data/vendor/local/lib/locale/mn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  119. data/vendor/local/lib/locale/mr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  120. data/vendor/local/lib/locale/ms/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  121. data/vendor/local/lib/locale/nb/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  122. data/vendor/local/lib/locale/ne/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  123. data/vendor/local/lib/locale/nl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  124. data/vendor/local/lib/locale/nn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  125. data/vendor/local/lib/locale/oc/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  126. data/vendor/local/lib/locale/or/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  127. data/vendor/local/lib/locale/pa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  128. data/vendor/local/lib/locale/pl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  129. data/vendor/local/lib/locale/pt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  130. data/vendor/local/lib/locale/pt_BR/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  131. data/vendor/local/lib/locale/ro/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  132. data/vendor/local/lib/locale/ru/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  133. data/vendor/local/lib/locale/rw/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  134. data/vendor/local/lib/locale/si/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  135. data/vendor/local/lib/locale/sk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  136. data/vendor/local/lib/locale/sl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  137. data/vendor/local/lib/locale/sq/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  138. data/vendor/local/lib/locale/sr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  139. data/vendor/local/lib/locale/sr@latin/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  140. data/vendor/local/lib/locale/sv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  141. data/vendor/local/lib/locale/ta/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  142. data/vendor/local/lib/locale/te/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  143. data/vendor/local/lib/locale/tg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  144. data/vendor/local/lib/locale/th/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  145. data/vendor/local/lib/locale/tr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  146. data/vendor/local/lib/locale/ug/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  147. data/vendor/local/lib/locale/uk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  148. data/vendor/local/lib/locale/vi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  149. data/vendor/local/lib/locale/xh/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  150. data/vendor/local/lib/locale/zh_CN/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  151. data/vendor/local/lib/locale/zh_HK/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  152. data/vendor/local/lib/locale/zh_TW/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  153. data/vendor/local/lib/pkgconfig/gtksourceview-3.0.pc +12 -0
  154. data/vendor/local/share/gir-1.0/GtkSource-3.0.gir +11360 -0
  155. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceBuffer.html +2143 -0
  156. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletion.html +1129 -0
  157. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionContext.html +397 -0
  158. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionInfo.html +348 -0
  159. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionItem.html +367 -0
  160. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProposal.html +572 -0
  161. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProvider.html +750 -0
  162. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionWords.html +345 -0
  163. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceEncoding.html +366 -0
  164. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFile.html +563 -0
  165. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileLoader.html +769 -0
  166. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileSaver.html +962 -0
  167. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutter.html +490 -0
  168. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRenderer.html +1700 -0
  169. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererPixbuf.html +468 -0
  170. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererText.html +228 -0
  171. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguage.html +584 -0
  172. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguageManager.html +476 -0
  173. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMark.html +310 -0
  174. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMarkAttributes.html +897 -0
  175. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourcePrintCompositor.html +2149 -0
  176. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchContext.html +1116 -0
  177. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchSettings.html +606 -0
  178. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyle.html +358 -0
  179. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleScheme.html +398 -0
  180. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeManager.html +463 -0
  181. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceUndoManager.html +462 -0
  182. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceView.html +1990 -0
  183. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/annotation-glossary.html +81 -0
  184. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-0.html +43 -0
  185. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-10.html +195 -0
  186. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-12.html +39 -0
  187. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-14.html +299 -0
  188. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-4.html +35 -0
  189. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-deprecated.html +95 -0
  190. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-full.html +2187 -0
  191. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch01.html +119 -0
  192. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch02.html +47 -0
  193. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceUtils.html +154 -0
  194. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0.devhelp2 +601 -0
  195. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/home.png +0 -0
  196. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.html +146 -0
  197. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.sgml +882 -0
  198. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-reference.html +873 -0
  199. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-tutorial.html +654 -0
  200. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/left-insensitive.png +0 -0
  201. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/left.png +0 -0
  202. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/object-tree.html +71 -0
  203. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/right-insensitive.png +0 -0
  204. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/right.png +0 -0
  205. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style-reference.html +283 -0
  206. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style.css +476 -0
  207. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/up-insensitive.png +0 -0
  208. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/up.png +0 -0
  209. data/vendor/local/share/gtksourceview-3.0/language-specs/R.lang +2199 -0
  210. data/vendor/local/share/gtksourceview-3.0/language-specs/actionscript.lang +268 -0
  211. data/vendor/local/share/gtksourceview-3.0/language-specs/ada.lang +221 -0
  212. data/vendor/local/share/gtksourceview-3.0/language-specs/ansforth94.lang +729 -0
  213. data/vendor/local/share/gtksourceview-3.0/language-specs/asp.lang +1097 -0
  214. data/vendor/local/share/gtksourceview-3.0/language-specs/automake.lang +330 -0
  215. data/vendor/local/share/gtksourceview-3.0/language-specs/awk.lang +138 -0
  216. data/vendor/local/share/gtksourceview-3.0/language-specs/bennugd.lang +267 -0
  217. data/vendor/local/share/gtksourceview-3.0/language-specs/bibtex.lang +93 -0
  218. data/vendor/local/share/gtksourceview-3.0/language-specs/bluespec.lang +188 -0
  219. data/vendor/local/share/gtksourceview-3.0/language-specs/boo.lang +257 -0
  220. data/vendor/local/share/gtksourceview-3.0/language-specs/c.lang +332 -0
  221. data/vendor/local/share/gtksourceview-3.0/language-specs/cg.lang +232 -0
  222. data/vendor/local/share/gtksourceview-3.0/language-specs/changelog.lang +93 -0
  223. data/vendor/local/share/gtksourceview-3.0/language-specs/chdr.lang +43 -0
  224. data/vendor/local/share/gtksourceview-3.0/language-specs/cmake.lang +408 -0
  225. data/vendor/local/share/gtksourceview-3.0/language-specs/cobol.lang +647 -0
  226. data/vendor/local/share/gtksourceview-3.0/language-specs/cpp.lang +120 -0
  227. data/vendor/local/share/gtksourceview-3.0/language-specs/csharp.lang +282 -0
  228. data/vendor/local/share/gtksourceview-3.0/language-specs/css.lang +542 -0
  229. data/vendor/local/share/gtksourceview-3.0/language-specs/cuda.lang +292 -0
  230. data/vendor/local/share/gtksourceview-3.0/language-specs/d.lang +318 -0
  231. data/vendor/local/share/gtksourceview-3.0/language-specs/def.lang +262 -0
  232. data/vendor/local/share/gtksourceview-3.0/language-specs/desktop.lang +300 -0
  233. data/vendor/local/share/gtksourceview-3.0/language-specs/diff.lang +85 -0
  234. data/vendor/local/share/gtksourceview-3.0/language-specs/docbook.lang +476 -0
  235. data/vendor/local/share/gtksourceview-3.0/language-specs/dosbatch.lang +167 -0
  236. data/vendor/local/share/gtksourceview-3.0/language-specs/dot.lang +140 -0
  237. data/vendor/local/share/gtksourceview-3.0/language-specs/dpatch.lang +48 -0
  238. data/vendor/local/share/gtksourceview-3.0/language-specs/dtd.lang +140 -0
  239. data/vendor/local/share/gtksourceview-3.0/language-specs/eiffel.lang +239 -0
  240. data/vendor/local/share/gtksourceview-3.0/language-specs/erlang.lang +258 -0
  241. data/vendor/local/share/gtksourceview-3.0/language-specs/fcl.lang +113 -0
  242. data/vendor/local/share/gtksourceview-3.0/language-specs/forth.lang +235 -0
  243. data/vendor/local/share/gtksourceview-3.0/language-specs/fortran.lang +591 -0
  244. data/vendor/local/share/gtksourceview-3.0/language-specs/fsharp.lang +325 -0
  245. data/vendor/local/share/gtksourceview-3.0/language-specs/gap.lang +85 -0
  246. data/vendor/local/share/gtksourceview-3.0/language-specs/gdb-log.lang +152 -0
  247. data/vendor/local/share/gtksourceview-3.0/language-specs/glsl.lang +483 -0
  248. data/vendor/local/share/gtksourceview-3.0/language-specs/go.lang +275 -0
  249. data/vendor/local/share/gtksourceview-3.0/language-specs/gtk-doc.lang +91 -0
  250. data/vendor/local/share/gtksourceview-3.0/language-specs/gtkrc.lang +116 -0
  251. data/vendor/local/share/gtksourceview-3.0/language-specs/haddock.lang +162 -0
  252. data/vendor/local/share/gtksourceview-3.0/language-specs/haskell-literate.lang +59 -0
  253. data/vendor/local/share/gtksourceview-3.0/language-specs/haskell.lang +228 -0
  254. data/vendor/local/share/gtksourceview-3.0/language-specs/html.lang +281 -0
  255. data/vendor/local/share/gtksourceview-3.0/language-specs/idl-exelis.lang +620 -0
  256. data/vendor/local/share/gtksourceview-3.0/language-specs/idl.lang +154 -0
  257. data/vendor/local/share/gtksourceview-3.0/language-specs/imagej.lang +784 -0
  258. data/vendor/local/share/gtksourceview-3.0/language-specs/ini.lang +95 -0
  259. data/vendor/local/share/gtksourceview-3.0/language-specs/j.lang +240 -0
  260. data/vendor/local/share/gtksourceview-3.0/language-specs/java.lang +190 -0
  261. data/vendor/local/share/gtksourceview-3.0/language-specs/javascript.lang +339 -0
  262. data/vendor/local/share/gtksourceview-3.0/language-specs/json.lang +123 -0
  263. data/vendor/local/share/gtksourceview-3.0/language-specs/julia.lang +378 -0
  264. data/vendor/local/share/gtksourceview-3.0/language-specs/language.dtd +73 -0
  265. data/vendor/local/share/gtksourceview-3.0/language-specs/language.rng +373 -0
  266. data/vendor/local/share/gtksourceview-3.0/language-specs/language2.rng +482 -0
  267. data/vendor/local/share/gtksourceview-3.0/language-specs/latex.lang +600 -0
  268. data/vendor/local/share/gtksourceview-3.0/language-specs/lex.lang +209 -0
  269. data/vendor/local/share/gtksourceview-3.0/language-specs/libtool.lang +56 -0
  270. data/vendor/local/share/gtksourceview-3.0/language-specs/llvm.lang +315 -0
  271. data/vendor/local/share/gtksourceview-3.0/language-specs/lua.lang +157 -0
  272. data/vendor/local/share/gtksourceview-3.0/language-specs/m4.lang +1375 -0
  273. data/vendor/local/share/gtksourceview-3.0/language-specs/makefile.lang +193 -0
  274. data/vendor/local/share/gtksourceview-3.0/language-specs/mallard.lang +124 -0
  275. data/vendor/local/share/gtksourceview-3.0/language-specs/markdown.lang +402 -0
  276. data/vendor/local/share/gtksourceview-3.0/language-specs/matlab.lang +171 -0
  277. data/vendor/local/share/gtksourceview-3.0/language-specs/mediawiki.lang +327 -0
  278. data/vendor/local/share/gtksourceview-3.0/language-specs/modelica.lang +262 -0
  279. data/vendor/local/share/gtksourceview-3.0/language-specs/mxml.lang +65 -0
  280. data/vendor/local/share/gtksourceview-3.0/language-specs/nemerle.lang +263 -0
  281. data/vendor/local/share/gtksourceview-3.0/language-specs/netrexx.lang +319 -0
  282. data/vendor/local/share/gtksourceview-3.0/language-specs/nsis.lang +88 -0
  283. data/vendor/local/share/gtksourceview-3.0/language-specs/objc.lang +120 -0
  284. data/vendor/local/share/gtksourceview-3.0/language-specs/objj.lang +128 -0
  285. data/vendor/local/share/gtksourceview-3.0/language-specs/ocaml.lang +302 -0
  286. data/vendor/local/share/gtksourceview-3.0/language-specs/ocl.lang +139 -0
  287. data/vendor/local/share/gtksourceview-3.0/language-specs/octave.lang +859 -0
  288. data/vendor/local/share/gtksourceview-3.0/language-specs/ooc.lang +265 -0
  289. data/vendor/local/share/gtksourceview-3.0/language-specs/opal.lang +343 -0
  290. data/vendor/local/share/gtksourceview-3.0/language-specs/opencl.lang +600 -0
  291. data/vendor/local/share/gtksourceview-3.0/language-specs/pascal.lang +268 -0
  292. data/vendor/local/share/gtksourceview-3.0/language-specs/perl.lang +1045 -0
  293. data/vendor/local/share/gtksourceview-3.0/language-specs/php.lang +363 -0
  294. data/vendor/local/share/gtksourceview-3.0/language-specs/pkgconfig.lang +62 -0
  295. data/vendor/local/share/gtksourceview-3.0/language-specs/po.lang +94 -0
  296. data/vendor/local/share/gtksourceview-3.0/language-specs/prolog.lang +249 -0
  297. data/vendor/local/share/gtksourceview-3.0/language-specs/protobuf.lang +101 -0
  298. data/vendor/local/share/gtksourceview-3.0/language-specs/puppet.lang +697 -0
  299. data/vendor/local/share/gtksourceview-3.0/language-specs/python.lang +472 -0
  300. data/vendor/local/share/gtksourceview-3.0/language-specs/python3.lang +192 -0
  301. data/vendor/local/share/gtksourceview-3.0/language-specs/rpmspec.lang +212 -0
  302. data/vendor/local/share/gtksourceview-3.0/language-specs/rst.lang +142 -0
  303. data/vendor/local/share/gtksourceview-3.0/language-specs/ruby.lang +750 -0
  304. data/vendor/local/share/gtksourceview-3.0/language-specs/scala.lang +384 -0
  305. data/vendor/local/share/gtksourceview-3.0/language-specs/scheme.lang +302 -0
  306. data/vendor/local/share/gtksourceview-3.0/language-specs/scilab.lang +209 -0
  307. data/vendor/local/share/gtksourceview-3.0/language-specs/sh.lang +499 -0
  308. data/vendor/local/share/gtksourceview-3.0/language-specs/sml.lang +201 -0
  309. data/vendor/local/share/gtksourceview-3.0/language-specs/sparql.lang +448 -0
  310. data/vendor/local/share/gtksourceview-3.0/language-specs/sql.lang +618 -0
  311. data/vendor/local/share/gtksourceview-3.0/language-specs/sweave.lang +67 -0
  312. data/vendor/local/share/gtksourceview-3.0/language-specs/systemverilog.lang +263 -0
  313. data/vendor/local/share/gtksourceview-3.0/language-specs/t2t.lang +150 -0
  314. data/vendor/local/share/gtksourceview-3.0/language-specs/tcl.lang +146 -0
  315. data/vendor/local/share/gtksourceview-3.0/language-specs/texinfo.lang +448 -0
  316. data/vendor/local/share/gtksourceview-3.0/language-specs/vala.lang +365 -0
  317. data/vendor/local/share/gtksourceview-3.0/language-specs/vbnet.lang +245 -0
  318. data/vendor/local/share/gtksourceview-3.0/language-specs/verilog.lang +476 -0
  319. data/vendor/local/share/gtksourceview-3.0/language-specs/vhdl.lang +248 -0
  320. data/vendor/local/share/gtksourceview-3.0/language-specs/xml.lang +220 -0
  321. data/vendor/local/share/gtksourceview-3.0/language-specs/xslt.lang +108 -0
  322. data/vendor/local/share/gtksourceview-3.0/language-specs/yacc.lang +177 -0
  323. data/vendor/local/share/gtksourceview-3.0/language-specs/yaml.lang +214 -0
  324. data/vendor/local/share/gtksourceview-3.0/styles/classic.xml +121 -0
  325. data/vendor/local/share/gtksourceview-3.0/styles/cobalt.xml +148 -0
  326. data/vendor/local/share/gtksourceview-3.0/styles/kate.xml +171 -0
  327. data/vendor/local/share/gtksourceview-3.0/styles/oblivion.xml +129 -0
  328. data/vendor/local/share/gtksourceview-3.0/styles/solarized-dark.xml +101 -0
  329. data/vendor/local/share/gtksourceview-3.0/styles/solarized-light.xml +101 -0
  330. data/vendor/local/share/gtksourceview-3.0/styles/styles.rng +142 -0
  331. data/vendor/local/share/gtksourceview-3.0/styles/tango.xml +130 -0
  332. data/vendor/local/share/license/gtksourceview/AUTHORS +13 -0
  333. data/vendor/local/share/license/gtksourceview/COPYING +504 -0
  334. metadata +389 -0
@@ -0,0 +1,373 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+
4
+ This file is part of GtkSourceView
5
+
6
+ Copyright (C) 2005-2007 Marco Barisione <barisione@gmail.com>
7
+ Copyright (C) 2005-2007 Emanuele Aina
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
20
+ License along with this library; if not, write to the Free Software
21
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22
+
23
+ -->
24
+ <!--
25
+ This file describes the XML format used for syntax highlight
26
+ descriptions for the GtkSourceView 1.x library.
27
+
28
+ .lang files are XML files which describe how to highlight syntax;
29
+ this RNG is used for validation purposes.
30
+
31
+ .lang files should be located in $PREFIX/gtksourceview-1.0/language-specs/,
32
+ or in ~./gnome2/gtksourceview-1.0/language-specs/
33
+
34
+ To check if a .lang file is valid, run
35
+
36
+ $ xmllint FILENAME - -relaxng language.rng
37
+
38
+ If you create a new .lang file or modify an existing one, please note
39
+ that it will be (re)loaded by the application only after it is
40
+ restarted.
41
+ -->
42
+ <!--
43
+ Boolean type
44
+
45
+ Attributes that are of type boolean allow the following values:
46
+
47
+ - 'true', 'TRUE' and '1' all meaning true
48
+ - 'false', FALSE' and '0' all meaning false
49
+
50
+ It is encouraged to use 'TRUE' and 'FALSE' instead of the alternatives.
51
+ -->
52
+ <grammar xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
53
+ xmlns="http://relaxng.org/ns/structure/1.0"
54
+ datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
55
+ <define name="boolean">
56
+ <choice>
57
+ <value>true</value>
58
+ <value>false</value>
59
+ <value>TRUE</value>
60
+ <value>FALSE</value>
61
+ <value>0</value>
62
+ <value>1</value>
63
+ </choice>
64
+ </define>
65
+ <!--
66
+ Attributes required by all element representing a syntax or pattern tag.
67
+
68
+ - name the name of the tag (it can appear in the UI)
69
+
70
+ - style the style used to highlight the tag. Recognized values
71
+ are (from gtksourcestylescheme.h):
72
+
73
+ - Base-N Integer used for values with a base
74
+ other than 10
75
+ - Character used for single characters
76
+ - Comment used for comments
77
+ - Data Type used for data types
78
+ - Function used for function names
79
+ - Decimal used for decimal values
80
+ - Floating Point used for floating point values
81
+ - Keyword used for keywords
82
+ - Preprocessor used for preprocessor instructions
83
+ - String used for strings
84
+ - Specials used for 'special' things
85
+ - Others (DEPRECATED, replaced by "Data Type")
86
+ - Others 2 used for 'other' things
87
+ - Others 3 used for 'other' things
88
+
89
+ The "name" attribute can be prefixed with "_" to be marked for
90
+ translation.
91
+ -->
92
+ <define name="tagattrs">
93
+ <choice>
94
+ <attribute name="_name">
95
+ <data type="string"/>
96
+ </attribute>
97
+ <attribute name="name">
98
+ <data type="string"/>
99
+ </attribute>
100
+ </choice>
101
+ <attribute name="style">
102
+ <data type="string"/>
103
+ </attribute>
104
+ </define>
105
+ <!--
106
+ The root of the definition file is the element "language".
107
+
108
+ Required attributes:
109
+
110
+ - name the name of the language (it can appear in menus and
111
+ dialog boxes)
112
+
113
+ - section the category the language belongs to (e.g. "Sources",
114
+ "Scripts", etc.)
115
+
116
+ - version version of the .lang file format (1.0)
117
+
118
+ - mimetypes a list of mime-types that identifies the types of file
119
+ that must be highlighted using the .lang file
120
+
121
+ Optional attributes:
122
+
123
+ - translation-domain
124
+ the translation domain used by the file
125
+
126
+ The "name" and "section" attributes can be prefixed with
127
+ "_" to be marked for translation.
128
+ -->
129
+ <define name="language">
130
+ <element name="language">
131
+ <ref name="attlist.language"/>
132
+ <optional>
133
+ <ref name="escape-char"/>
134
+ </optional>
135
+ <oneOrMore>
136
+ <choice>
137
+ <ref name="line-comment"/>
138
+ <ref name="block-comment"/>
139
+ <ref name="string"/>
140
+ <ref name="syntax-item"/>
141
+ <ref name="pattern-item"/>
142
+ <ref name="keyword-list"/>
143
+ </choice>
144
+ </oneOrMore>
145
+ </element>
146
+ </define>
147
+
148
+ <define name="attlist.language" combine="interleave">
149
+ <choice>
150
+ <attribute name="_name">
151
+ <data type="string"/>
152
+ </attribute>
153
+ <attribute name="name">
154
+ <data type="string"/>
155
+ </attribute>
156
+ </choice>
157
+ <choice>
158
+ <attribute name="_section">
159
+ <data type="string"/>
160
+ </attribute>
161
+ <attribute name="section">
162
+ <data type="string"/>
163
+ </attribute>
164
+ </choice>
165
+ <attribute name="version">
166
+ <data type="string">
167
+ <param name="pattern">1\.0</param>
168
+ </data>
169
+ </attribute>
170
+ <attribute name="mimetypes"/>
171
+ <optional>
172
+ <attribute name="translation-domain"/>
173
+ </optional>
174
+ </define>
175
+ <!-- Which character is used in escape sequences. -->
176
+ <define name="escape-char">
177
+ <element name="escape-char">
178
+ <ref name="attlist.escape-char"/>
179
+ <text/>
180
+ </element>
181
+ </define>
182
+ <define name="attlist.escape-char" combine="interleave">
183
+ <empty/>
184
+ </define>
185
+ <!--
186
+ The line-comment" element represents single line comments.
187
+ The "start-regex" subelement defines the regex matching the start of
188
+ the comment.
189
+ -->
190
+ <define name="line-comment">
191
+ <element name="line-comment">
192
+ <ref name="attlist.line-comment"/>
193
+ <ref name="start-regex"/>
194
+ </element>
195
+ </define>
196
+ <define name="attlist.line-comment" combine="interleave">
197
+ <ref name="tagattrs"/>
198
+ </define>
199
+ <!--
200
+ The "block-comment" element represents multiple lines comments.
201
+ The "start-regex" subelement defines the regex matching the beginning of
202
+ the comment.
203
+ The "end-regex" subelement defines the regex matching the end of
204
+ the comment.
205
+ -->
206
+ <define name="block-comment">
207
+ <element name="block-comment">
208
+ <ref name="attlist.block-comment"/>
209
+ <ref name="start-regex"/>
210
+ <ref name="end-regex"/>
211
+ </element>
212
+ </define>
213
+ <define name="attlist.block-comment" combine="interleave">
214
+ <ref name="tagattrs"/>
215
+ </define>
216
+ <!--
217
+ The "string" element represents string.
218
+ The "start-regex" subelement defines the regex matching the beginning of
219
+ the string.
220
+ The "end-regex" subelement defines the regex matching the end of
221
+ the string.
222
+
223
+ Optional attributes:
224
+
225
+ - end-at-line-end whether the string end at the end of line
226
+ -->
227
+ <define name="string">
228
+ <element name="string">
229
+ <ref name="attlist.string"/>
230
+ <ref name="start-regex"/>
231
+ <ref name="end-regex"/>
232
+ </element>
233
+ </define>
234
+ <define name="attlist.string" combine="interleave">
235
+ <ref name="tagattrs"/>
236
+ <optional>
237
+ <attribute name="end-at-line-end" a:defaultValue="TRUE">
238
+ <ref name="boolean"/>
239
+ </attribute>
240
+ </optional>
241
+ </define>
242
+ <!--
243
+ The "syntax-item" element represents a generic region of the document.
244
+ The "start-regex" subelement defines the regex matching the beginning of
245
+ the region.
246
+ The "end-regex" subelement defines the regex matching the end of
247
+ the region.
248
+ -->
249
+ <define name="syntax-item">
250
+ <element name="syntax-item">
251
+ <ref name="attlist.syntax-item"/>
252
+ <ref name="start-regex"/>
253
+ <ref name="end-regex"/>
254
+ </element>
255
+ </define>
256
+ <define name="attlist.syntax-item" combine="interleave">
257
+ <ref name="tagattrs"/>
258
+ </define>
259
+ <!--
260
+ The "pattern-item" element represents a generic token.
261
+ The "regex" subelement defines the regex matching the token.
262
+ -->
263
+ <define name="pattern-item">
264
+ <element name="pattern-item">
265
+ <ref name="attlist.pattern-item"/>
266
+ <ref name="regex"/>
267
+ </element>
268
+ </define>
269
+ <define name="attlist.pattern-item" combine="interleave">
270
+ <ref name="tagattrs"/>
271
+ </define>
272
+ <!--
273
+ The "keyword-list" element represents a list of keywords, it can have
274
+ one or more "keyword" subelements each one representing a keyword.
275
+ A "keyword" subelement defines the regex matching a keyword of the
276
+ language.
277
+
278
+ Optional attributes:
279
+
280
+ - case-sensitive whether the keywords are case sensitive
281
+
282
+ - match-empty-string-at-beginning:
283
+ whether the empty string (\b) should be matched
284
+ at the beginning of the keywords
285
+
286
+ - match-empty-string-at-end
287
+ whether the empty string (\b) should be matched
288
+ at the end of the keywords
289
+
290
+ - beginning-regex if all keywords start with a regex, you can
291
+ specify it here to avoid doing it for
292
+ every single keyword
293
+
294
+ - end-regex if all keywords end with a regex, you can
295
+ specify it here to avoid doing it for
296
+ every single keyword
297
+ -->
298
+ <define name="keyword-list">
299
+ <element name="keyword-list">
300
+ <ref name="attlist.keyword-list"/>
301
+ <oneOrMore>
302
+ <ref name="keyword"/>
303
+ </oneOrMore>
304
+ </element>
305
+ </define>
306
+ <define name="attlist.keyword-list" combine="interleave">
307
+ <ref name="tagattrs"/>
308
+ <optional>
309
+ <attribute name="case-sensitive" a:defaultValue="TRUE">
310
+ <ref name="boolean"/>
311
+ </attribute>
312
+ </optional>
313
+ <optional>
314
+ <attribute name="match-empty-string-at-beginning" a:defaultValue="FALSE">
315
+ <ref name="boolean"/>
316
+ </attribute>
317
+ </optional>
318
+ <optional>
319
+ <attribute name="match-empty-string-at-end" a:defaultValue="FALSE">
320
+ <ref name="boolean"/>
321
+ </attribute>
322
+ </optional>
323
+ <optional>
324
+ <attribute name="beginning-regex"/>
325
+ </optional>
326
+ <optional>
327
+ <attribute name="end-regex"/>
328
+ </optional>
329
+ </define>
330
+ <!-- Elements used inside other elements -->
331
+ <define name="keyword">
332
+ <element name="keyword">
333
+ <ref name="attlist.keyword"/>
334
+ <text/>
335
+ </element>
336
+ </define>
337
+ <define name="attlist.keyword" combine="interleave">
338
+ <empty/>
339
+ </define>
340
+ <define name="regex">
341
+ <element name="regex">
342
+ <ref name="attlist.regex"/>
343
+ <text/>
344
+ </element>
345
+ </define>
346
+ <define name="attlist.regex" combine="interleave">
347
+ <empty/>
348
+ </define>
349
+ <define name="start-regex">
350
+ <element name="start-regex">
351
+ <ref name="attlist.start-regex"/>
352
+ <text/>
353
+ </element>
354
+ </define>
355
+ <define name="attlist.start-regex" combine="interleave">
356
+ <empty/>
357
+ </define>
358
+ <define name="end-regex">
359
+ <element name="end-regex">
360
+ <ref name="attlist.end-regex"/>
361
+ <text/>
362
+ </element>
363
+ </define>
364
+ <define name="attlist.end-regex" combine="interleave">
365
+ <empty/>
366
+ </define>
367
+
368
+ <start>
369
+ <choice>
370
+ <ref name="language"/>
371
+ </choice>
372
+ </start>
373
+ </grammar>
@@ -0,0 +1,482 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+
4
+ This file is part of GtkSourceView
5
+
6
+ Copyright (C) 2005-2007 Marco Barisione <barisione@gmail.com>
7
+ Copyright (C) 2005-2007 Emanuele Aina
8
+ Copyright (C) 2011 Sapphire Becker <guess@logicplace.com>
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
21
+ License along with this library; if not, write to the Free Software
22
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
23
+
24
+ -->
25
+ <grammar xmlns="http://relaxng.org/ns/structure/1.0"
26
+ datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
27
+ <start>
28
+ <element name="language">
29
+ <choice>
30
+ <attribute name="name"/>
31
+ <attribute name="_name"/>
32
+ </choice>
33
+
34
+ <attribute name="id">
35
+ <data type="string">
36
+ <param name="pattern">[a-zA-Z0-9_\-]+</param>
37
+ </data>
38
+ </attribute>
39
+
40
+ <attribute name="version"/>
41
+
42
+ <optional>
43
+ <choice>
44
+ <attribute name="section"/>
45
+ <attribute name="_section"/>
46
+ </choice>
47
+ </optional>
48
+
49
+ <optional>
50
+ <attribute name="hidden">
51
+ <ref name="boolean-value"/>
52
+ </attribute>
53
+ </optional>
54
+
55
+ <optional>
56
+ <attribute name="translation-domain"/>
57
+ </optional>
58
+
59
+ <optional>
60
+ <oneOrMore>
61
+ <element name="author">
62
+ <text/>
63
+ </element>
64
+ </oneOrMore>
65
+ </optional>
66
+
67
+ <optional>
68
+ <ref name="metadata"/>
69
+ </optional>
70
+
71
+ <optional>
72
+ <ref name="styles" />
73
+ </optional>
74
+
75
+ <optional>
76
+ <element name="default-regex-options">
77
+ <ref name="regex-options"/>
78
+ </element>
79
+ </optional>
80
+
81
+ <optional>
82
+ <element name="keyword-char-class">
83
+ <text/>
84
+ </element>
85
+ </optional>
86
+
87
+ <ref name="definitions" />
88
+ </element>
89
+ </start>
90
+
91
+
92
+
93
+ <define name="id-type">
94
+ <data type="string">
95
+ <param name="pattern">([a-zA-Z0-9_\-]+:)?[a-zA-Z0-9_\-]+</param>
96
+ </data>
97
+ </define>
98
+
99
+ <define name="ref-type">
100
+ <data type="string">
101
+ <param name="pattern">([a-zA-Z0-9_\-]+:)?[a-zA-Z0-9_\-]+(:\*)?</param>
102
+ </data>
103
+ </define>
104
+
105
+ <define name="boolean-value">
106
+ <choice>
107
+ <value>true</value>
108
+ <value>false</value>
109
+ </choice>
110
+ </define>
111
+
112
+ <define name="regex-options">
113
+ <optional>
114
+ <attribute name="extended">
115
+ <ref name="boolean-value"/>
116
+ </attribute>
117
+ </optional>
118
+ <optional>
119
+ <attribute name="case-sensitive">
120
+ <ref name="boolean-value"/>
121
+ </attribute>
122
+ </optional>
123
+ <optional>
124
+ <attribute name="dupnames">
125
+ <ref name="boolean-value"/>
126
+ </attribute>
127
+ </optional>
128
+ </define>
129
+
130
+
131
+ <define name="property">
132
+ <element name="property">
133
+ <attribute name="name">
134
+ <!-- <data type="string">-->
135
+ <!-- <param name="pattern">[a-zA-Z0-9_\-]+</param>-->
136
+ <!-- </data>-->
137
+ </attribute>
138
+ <text/>
139
+ <!-- <optional>
140
+ <attribute name="mimetypes"/>
141
+ </optional>-->
142
+ </element>
143
+ </define>
144
+
145
+ <define name="metadata">
146
+ <element name="metadata">
147
+ <zeroOrMore>
148
+ <ref name="property"/>
149
+ </zeroOrMore>
150
+ </element>
151
+ </define>
152
+
153
+ <define name="styles">
154
+ <element name="styles">
155
+ <oneOrMore>
156
+ <element name="style">
157
+ <attribute name="id">
158
+ <data type="string">
159
+ <param name="pattern">[a-zA-Z0-9_\-]+</param>
160
+ </data>
161
+ </attribute>
162
+ <choice>
163
+ <attribute name="name"/>
164
+ <attribute name="_name"/>
165
+ </choice>
166
+ <optional>
167
+ <attribute name="map-to">
168
+ <ref name="id-type"/>
169
+ </attribute>
170
+ </optional>
171
+ </element>
172
+ </oneOrMore>
173
+ </element>
174
+ </define>
175
+
176
+ <define name="definitions">
177
+ <element name="definitions">
178
+ <interleave>
179
+ <oneOrMore>
180
+ <choice>
181
+ <ref name="context-to-be-included"/>
182
+ <ref name="context-container"/>
183
+ <ref name="context-simple"/>
184
+ <ref name="context-reference"/>
185
+ <ref name="context-placeholder"/>
186
+ </choice>
187
+ </oneOrMore>
188
+ <zeroOrMore>
189
+ <ref name="define-regex"/>
190
+ </zeroOrMore>
191
+ <zeroOrMore>
192
+ <ref name="replace-context"/>
193
+ </zeroOrMore>
194
+ </interleave>
195
+ </element>
196
+ </define>
197
+
198
+
199
+ <define name="context-simple">
200
+ <element name="context">
201
+ <optional>
202
+ <attribute name="id">
203
+ <ref name="id-type"/>
204
+ </attribute>
205
+ </optional>
206
+ <optional>
207
+ <attribute name="style-ref">
208
+ <ref name="id-type"/>
209
+ </attribute>
210
+ </optional>
211
+ <optional>
212
+ <attribute name="extend-parent">
213
+ <ref name="boolean-value"/>
214
+ </attribute>
215
+ </optional>
216
+ <optional>
217
+ <attribute name="end-parent">
218
+ <ref name="boolean-value"/>
219
+ </attribute>
220
+ </optional>
221
+ <optional>
222
+ <attribute name="first-line-only">
223
+ <ref name="boolean-value"/>
224
+ </attribute>
225
+ </optional>
226
+ <optional>
227
+ <attribute name="once-only">
228
+ <ref name="boolean-value"/>
229
+ </attribute>
230
+ </optional>
231
+ <optional>
232
+ <attribute name="class"/>
233
+ </optional>
234
+ <optional>
235
+ <attribute name="class-disabled"/>
236
+ </optional>
237
+ <choice>
238
+ <element name="match">
239
+ <ref name="regex-options"/>
240
+ <text/>
241
+ </element>
242
+
243
+ <group>
244
+ <optional>
245
+ <element name="prefix"><text/></element>
246
+ </optional>
247
+ <optional>
248
+ <element name="suffix"><text/></element>
249
+ </optional>
250
+ <oneOrMore>
251
+ <element name="keyword"><text/></element>
252
+ </oneOrMore>
253
+ </group>
254
+ </choice>
255
+
256
+ <optional>
257
+ <element name="include">
258
+ <oneOrMore>
259
+ <ref name="context-subpattern-simple"/>
260
+ </oneOrMore>
261
+ </element>
262
+ </optional>
263
+ </element>
264
+ </define>
265
+
266
+ <define name="context-container">
267
+ <element name="context">
268
+ <optional>
269
+ <attribute name="id">
270
+ <ref name="id-type"/>
271
+ </attribute>
272
+ </optional>
273
+ <optional>
274
+ <attribute name="style-ref">
275
+ <ref name="id-type"/>
276
+ </attribute>
277
+ </optional>
278
+ <optional>
279
+ <attribute name="style-inside">
280
+ <ref name="boolean-value"/>
281
+ </attribute>
282
+ </optional>
283
+ <optional>
284
+ <attribute name="extend-parent">
285
+ <ref name="boolean-value"/>
286
+ </attribute>
287
+ </optional>
288
+ <optional>
289
+ <attribute name="end-parent">
290
+ <ref name="boolean-value"/>
291
+ </attribute>
292
+ </optional>
293
+ <optional>
294
+ <attribute name="end-at-line-end">
295
+ <ref name="boolean-value"/>
296
+ </attribute>
297
+ </optional>
298
+ <optional>
299
+ <attribute name="first-line-only">
300
+ <ref name="boolean-value"/>
301
+ </attribute>
302
+ </optional>
303
+ <optional>
304
+ <attribute name="once-only">
305
+ <ref name="boolean-value"/>
306
+ </attribute>
307
+ </optional>
308
+ <optional>
309
+ <attribute name="class"/>
310
+ </optional>
311
+ <optional>
312
+ <attribute name="class-disabled"/>
313
+ </optional>
314
+
315
+ <element name="start">
316
+ <ref name="regex-options"/>
317
+ <text/>
318
+ </element>
319
+ <optional>
320
+ <element name="end">
321
+ <ref name="regex-options"/>
322
+ <text/>
323
+ </element>
324
+ </optional>
325
+
326
+ <optional>
327
+ <element name="include">
328
+ <interleave>
329
+ <oneOrMore>
330
+ <choice>
331
+ <ref name="context-container"/>
332
+ <ref name="context-simple"/>
333
+ <ref name="context-to-be-included"/>
334
+ <ref name="context-subpattern-container"/>
335
+ <ref name="context-reference"/>
336
+ <ref name="context-placeholder"/>
337
+ </choice>
338
+ </oneOrMore>
339
+ <zeroOrMore>
340
+ <ref name="define-regex"/>
341
+ </zeroOrMore>
342
+ </interleave>
343
+ </element>
344
+ </optional>
345
+ </element>
346
+ </define>
347
+
348
+ <define name="context-to-be-included">
349
+ <element name="context">
350
+ <attribute name="id">
351
+ <ref name="id-type"/>
352
+ </attribute>
353
+ <optional>
354
+ <attribute name="class"/>
355
+ </optional>
356
+ <optional>
357
+ <attribute name="class-disabled"/>
358
+ </optional>
359
+
360
+ <element name="include">
361
+ <interleave>
362
+ <oneOrMore>
363
+ <choice>
364
+ <ref name="context-container"/>
365
+ <ref name="context-simple"/>
366
+ <ref name="context-to-be-included"/>
367
+ <ref name="context-reference"/>
368
+ <ref name="context-placeholder"/>
369
+ </choice>
370
+ </oneOrMore>
371
+ <zeroOrMore>
372
+ <ref name="define-regex"/>
373
+ </zeroOrMore>
374
+ </interleave>
375
+ </element>
376
+ </element>
377
+ </define>
378
+
379
+ <define name="context-subpattern-simple">
380
+ <element name="context">
381
+ <optional>
382
+ <attribute name="id">
383
+ <ref name="id-type"/>
384
+ </attribute>
385
+ </optional>
386
+ <optional>
387
+ <attribute name="style-ref">
388
+ <ref name="id-type"/>
389
+ </attribute>
390
+ </optional>
391
+ <optional>
392
+ <attribute name="class"/>
393
+ </optional>
394
+ <optional>
395
+ <attribute name="class-disabled"/>
396
+ </optional>
397
+
398
+ <attribute name="sub-pattern"/>
399
+ </element>
400
+ </define>
401
+
402
+ <define name="context-subpattern-container">
403
+ <element name="context">
404
+ <optional>
405
+ <attribute name="id">
406
+ <ref name="id-type"/>
407
+ </attribute>
408
+ </optional>
409
+ <optional>
410
+ <attribute name="style-ref">
411
+ <ref name="id-type"/>
412
+ </attribute>
413
+ </optional>
414
+ <optional>
415
+ <attribute name="class"/>
416
+ </optional>
417
+ <optional>
418
+ <attribute name="class-disabled"/>
419
+ </optional>
420
+
421
+ <attribute name="sub-pattern"/>
422
+
423
+ <attribute name="where">
424
+ <choice>
425
+ <value>start</value>
426
+ <value>end</value>
427
+ </choice>
428
+ </attribute>
429
+ </element>
430
+ </define>
431
+
432
+ <define name="context-reference">
433
+ <element name="context">
434
+ <attribute name="ref">
435
+ <ref name="ref-type"/>
436
+ </attribute>
437
+ <optional>
438
+ <choice>
439
+ <attribute name="style-ref">
440
+ <ref name="id-type"/>
441
+ </attribute>
442
+ <attribute name="ignore-style">
443
+ <ref name="boolean-value"/>
444
+ </attribute>
445
+ <attribute name="original">
446
+ <ref name="boolean-value"/>
447
+ </attribute>
448
+ </choice>
449
+ </optional>
450
+ </element>
451
+ </define>
452
+
453
+ <define name="context-placeholder">
454
+ <element name="context">
455
+ <attribute name="id">
456
+ <ref name="id-type"/>
457
+ </attribute>
458
+ </element>
459
+ </define>
460
+
461
+ <define name="define-regex">
462
+ <element name="define-regex">
463
+ <attribute name="id">
464
+ <ref name="id-type"/>
465
+ </attribute>
466
+ <ref name="regex-options"/>
467
+ <text/>
468
+ </element>
469
+ </define>
470
+
471
+ <define name="replace-context">
472
+ <element name="replace">
473
+ <attribute name="id">
474
+ <ref name="ref-type"/>
475
+ </attribute>
476
+ <attribute name="ref">
477
+ <ref name="ref-type"/>
478
+ </attribute>
479
+ </element>
480
+ </define>
481
+
482
+ </grammar>