gtksourceview3 1.2.0-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (562) hide show
  1. data/README +29 -0
  2. data/Rakefile +29 -0
  3. data/ext/gtksourceview3/depend +6 -0
  4. data/ext/gtksourceview3/extconf.rb +76 -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 +64 -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 +43 -0
  23. data/ext/gtksourceview3/rbgtksourceview3private.h +54 -0
  24. data/extconf.rb +49 -0
  25. data/lib/1.8/gtksourceview3.so +0 -0
  26. data/lib/1.9/gtksourceview3.so +0 -0
  27. data/lib/gtksourceview3.rb +20 -0
  28. data/lib/gtksourceview3/deprecated.rb +47 -0
  29. data/sample/sourcelanguagemanager.rb +21 -0
  30. data/sample/test.rb +32 -0
  31. data/test/run-test.rb +33 -0
  32. data/test/test_source_view.rb +17 -0
  33. data/vendor/local/bin/libgtksourceview-3.0-0.dll +0 -0
  34. data/vendor/local/bin/libxml2-2.dll +0 -0
  35. data/vendor/local/bin/xmlcatalog.exe +0 -0
  36. data/vendor/local/bin/xmllint.exe +0 -0
  37. data/vendor/local/include/gtksourceview-3.0/gtksourceview/completion-providers/words/gtksourcecompletionwords.h +66 -0
  38. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksource.h +46 -0
  39. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcebuffer.h +199 -0
  40. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletion.h +129 -0
  41. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletioncontext.h +94 -0
  42. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletioninfo.h +73 -0
  43. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionitem.h +71 -0
  44. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionproposal.h +76 -0
  45. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionprovider.h +118 -0
  46. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutter.h +90 -0
  47. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrenderer.h +222 -0
  48. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrendererpixbuf.h +85 -0
  49. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrenderertext.h +83 -0
  50. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcelanguage.h +87 -0
  51. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcelanguagemanager.h +85 -0
  52. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemark.h +71 -0
  53. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemarkattributes.h +99 -0
  54. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceprintcompositor.h +176 -0
  55. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyle.h +41 -0
  56. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestylescheme.h +93 -0
  57. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschememanager.h +89 -0
  58. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcetypes.h +62 -0
  59. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceundomanager.h +77 -0
  60. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview-typebuiltins.h +55 -0
  61. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview.h +223 -0
  62. data/vendor/local/include/libxml2/libxml/DOCBparser.h +96 -0
  63. data/vendor/local/include/libxml2/libxml/HTMLparser.h +306 -0
  64. data/vendor/local/include/libxml2/libxml/HTMLtree.h +147 -0
  65. data/vendor/local/include/libxml2/libxml/SAX.h +173 -0
  66. data/vendor/local/include/libxml2/libxml/SAX2.h +176 -0
  67. data/vendor/local/include/libxml2/libxml/c14n.h +126 -0
  68. data/vendor/local/include/libxml2/libxml/catalog.h +182 -0
  69. data/vendor/local/include/libxml2/libxml/chvalid.h +230 -0
  70. data/vendor/local/include/libxml2/libxml/debugXML.h +217 -0
  71. data/vendor/local/include/libxml2/libxml/dict.h +80 -0
  72. data/vendor/local/include/libxml2/libxml/encoding.h +240 -0
  73. data/vendor/local/include/libxml2/libxml/entities.h +150 -0
  74. data/vendor/local/include/libxml2/libxml/globals.h +502 -0
  75. data/vendor/local/include/libxml2/libxml/hash.h +233 -0
  76. data/vendor/local/include/libxml2/libxml/list.h +137 -0
  77. data/vendor/local/include/libxml2/libxml/nanoftp.h +163 -0
  78. data/vendor/local/include/libxml2/libxml/nanohttp.h +81 -0
  79. data/vendor/local/include/libxml2/libxml/parser.h +1240 -0
  80. data/vendor/local/include/libxml2/libxml/parserInternals.h +644 -0
  81. data/vendor/local/include/libxml2/libxml/pattern.h +100 -0
  82. data/vendor/local/include/libxml2/libxml/relaxng.h +213 -0
  83. data/vendor/local/include/libxml2/libxml/schemasInternals.h +958 -0
  84. data/vendor/local/include/libxml2/libxml/schematron.h +142 -0
  85. data/vendor/local/include/libxml2/libxml/threads.h +84 -0
  86. data/vendor/local/include/libxml2/libxml/tree.h +1303 -0
  87. data/vendor/local/include/libxml2/libxml/uri.h +94 -0
  88. data/vendor/local/include/libxml2/libxml/valid.h +458 -0
  89. data/vendor/local/include/libxml2/libxml/xinclude.h +129 -0
  90. data/vendor/local/include/libxml2/libxml/xlink.h +189 -0
  91. data/vendor/local/include/libxml2/libxml/xmlIO.h +366 -0
  92. data/vendor/local/include/libxml2/libxml/xmlautomata.h +146 -0
  93. data/vendor/local/include/libxml2/libxml/xmlerror.h +944 -0
  94. data/vendor/local/include/libxml2/libxml/xmlexports.h +162 -0
  95. data/vendor/local/include/libxml2/libxml/xmlmemory.h +224 -0
  96. data/vendor/local/include/libxml2/libxml/xmlmodule.h +57 -0
  97. data/vendor/local/include/libxml2/libxml/xmlreader.h +428 -0
  98. data/vendor/local/include/libxml2/libxml/xmlregexp.h +222 -0
  99. data/vendor/local/include/libxml2/libxml/xmlsave.h +88 -0
  100. data/vendor/local/include/libxml2/libxml/xmlschemas.h +246 -0
  101. data/vendor/local/include/libxml2/libxml/xmlschemastypes.h +151 -0
  102. data/vendor/local/include/libxml2/libxml/xmlstring.h +140 -0
  103. data/vendor/local/include/libxml2/libxml/xmlunicode.h +202 -0
  104. data/vendor/local/include/libxml2/libxml/xmlversion.h +480 -0
  105. data/vendor/local/include/libxml2/libxml/xmlwriter.h +488 -0
  106. data/vendor/local/include/libxml2/libxml/xpath.h +550 -0
  107. data/vendor/local/include/libxml2/libxml/xpathInternals.h +632 -0
  108. data/vendor/local/include/libxml2/libxml/xpointer.h +114 -0
  109. data/vendor/local/lib/libgtksourceview-3.0.dll.a +0 -0
  110. data/vendor/local/lib/libgtksourceview-3.0.la +41 -0
  111. data/vendor/local/lib/libxml2.def +1659 -0
  112. data/vendor/local/lib/libxml2.dll.a +0 -0
  113. data/vendor/local/lib/libxml2.lib +0 -0
  114. data/vendor/local/lib/locale/ar/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  115. data/vendor/local/lib/locale/as/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  116. data/vendor/local/lib/locale/ast/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  117. data/vendor/local/lib/locale/az/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  118. data/vendor/local/lib/locale/be/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  119. data/vendor/local/lib/locale/bg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  120. data/vendor/local/lib/locale/bn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  121. data/vendor/local/lib/locale/bn_IN/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  122. data/vendor/local/lib/locale/bs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  123. data/vendor/local/lib/locale/ca/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  124. data/vendor/local/lib/locale/ca@valencia/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  125. data/vendor/local/lib/locale/cs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  126. data/vendor/local/lib/locale/cy/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  127. data/vendor/local/lib/locale/da/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  128. data/vendor/local/lib/locale/de/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  129. data/vendor/local/lib/locale/dz/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  130. data/vendor/local/lib/locale/el/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  131. data/vendor/local/lib/locale/en@shaw/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  132. data/vendor/local/lib/locale/en_CA/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  133. data/vendor/local/lib/locale/en_GB/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  134. data/vendor/local/lib/locale/eo/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  135. data/vendor/local/lib/locale/es/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  136. data/vendor/local/lib/locale/et/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  137. data/vendor/local/lib/locale/eu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  138. data/vendor/local/lib/locale/fa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  139. data/vendor/local/lib/locale/fi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  140. data/vendor/local/lib/locale/fr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  141. data/vendor/local/lib/locale/ga/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  142. data/vendor/local/lib/locale/gl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  143. data/vendor/local/lib/locale/gu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  144. data/vendor/local/lib/locale/he/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  145. data/vendor/local/lib/locale/hi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  146. data/vendor/local/lib/locale/hr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  147. data/vendor/local/lib/locale/hu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  148. data/vendor/local/lib/locale/id/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  149. data/vendor/local/lib/locale/it/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  150. data/vendor/local/lib/locale/ja/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  151. data/vendor/local/lib/locale/kn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  152. data/vendor/local/lib/locale/ko/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  153. data/vendor/local/lib/locale/lt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  154. data/vendor/local/lib/locale/lv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  155. data/vendor/local/lib/locale/mai/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  156. data/vendor/local/lib/locale/mg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  157. data/vendor/local/lib/locale/mk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  158. data/vendor/local/lib/locale/ml/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  159. data/vendor/local/lib/locale/mn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  160. data/vendor/local/lib/locale/mr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  161. data/vendor/local/lib/locale/ms/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  162. data/vendor/local/lib/locale/nb/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  163. data/vendor/local/lib/locale/ne/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  164. data/vendor/local/lib/locale/nl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  165. data/vendor/local/lib/locale/nn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  166. data/vendor/local/lib/locale/oc/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  167. data/vendor/local/lib/locale/or/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  168. data/vendor/local/lib/locale/pa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  169. data/vendor/local/lib/locale/pl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  170. data/vendor/local/lib/locale/pt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  171. data/vendor/local/lib/locale/pt_BR/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  172. data/vendor/local/lib/locale/ro/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  173. data/vendor/local/lib/locale/ru/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  174. data/vendor/local/lib/locale/rw/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  175. data/vendor/local/lib/locale/si/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  176. data/vendor/local/lib/locale/sk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  177. data/vendor/local/lib/locale/sl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  178. data/vendor/local/lib/locale/sq/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  179. data/vendor/local/lib/locale/sr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  180. data/vendor/local/lib/locale/sr@latin/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  181. data/vendor/local/lib/locale/sv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  182. data/vendor/local/lib/locale/ta/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  183. data/vendor/local/lib/locale/te/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  184. data/vendor/local/lib/locale/th/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  185. data/vendor/local/lib/locale/tr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  186. data/vendor/local/lib/locale/ug/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  187. data/vendor/local/lib/locale/uk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  188. data/vendor/local/lib/locale/vi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  189. data/vendor/local/lib/locale/xh/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  190. data/vendor/local/lib/locale/zh_CN/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  191. data/vendor/local/lib/locale/zh_HK/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  192. data/vendor/local/lib/locale/zh_TW/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  193. data/vendor/local/lib/pkgconfig/gtksourceview-3.0.pc +12 -0
  194. data/vendor/local/lib/pkgconfig/libxml-2.0.pc +13 -0
  195. data/vendor/local/manifest/libxml2-dev_2.9.0-1_win32.mft +268 -0
  196. data/vendor/local/manifest/libxml2_2.9.0-1_win32.mft +2 -0
  197. data/vendor/local/share/aclocal/libxml.m4 +188 -0
  198. data/vendor/local/share/doc/libxml2-2.9.0/Copyright +27 -0
  199. data/vendor/local/share/doc/libxml2-2.9.0/examples/testHTML.c +880 -0
  200. data/vendor/local/share/doc/libxml2-2.9.0/examples/testSAX.c +1198 -0
  201. data/vendor/local/share/doc/libxml2-2.9.0/examples/testXPath.c +229 -0
  202. data/vendor/local/share/doc/libxml2-2.9.0/examples/xmllint.c +3770 -0
  203. data/vendor/local/share/doc/libxml2-2.9.0/html/DOM.gif +0 -0
  204. data/vendor/local/share/doc/libxml2-2.9.0/html/FAQ.html +282 -0
  205. data/vendor/local/share/doc/libxml2-2.9.0/html/Libxml2-Logo-180x168.gif +0 -0
  206. data/vendor/local/share/doc/libxml2-2.9.0/html/Libxml2-Logo-90x34.gif +0 -0
  207. data/vendor/local/share/doc/libxml2-2.9.0/html/encoding.html +207 -0
  208. data/vendor/local/share/doc/libxml2-2.9.0/html/examples.xml +751 -0
  209. data/vendor/local/share/doc/libxml2-2.9.0/html/examples.xsl +174 -0
  210. data/vendor/local/share/doc/libxml2-2.9.0/html/html/book1.html +13 -0
  211. data/vendor/local/share/doc/libxml2-2.9.0/html/html/home.png +0 -0
  212. data/vendor/local/share/doc/libxml2-2.9.0/html/html/index.html +13 -0
  213. data/vendor/local/share/doc/libxml2-2.9.0/html/html/left.png +0 -0
  214. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-DOCBparser.html +51 -0
  215. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-HTMLparser.html +184 -0
  216. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-HTMLtree.html +73 -0
  217. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-SAX.html +125 -0
  218. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-SAX2.html +128 -0
  219. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-c14n.html +38 -0
  220. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-catalog.html +142 -0
  221. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-chvalid.html +72 -0
  222. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-debugXML.html +120 -0
  223. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-dict.html +58 -0
  224. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-encoding.html +124 -0
  225. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-entities.html +79 -0
  226. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-globals.html +152 -0
  227. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-hash.html +116 -0
  228. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-lib.html +13 -0
  229. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-list.html +120 -0
  230. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-nanoftp.html +94 -0
  231. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-nanohttp.html +65 -0
  232. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-parser.html +559 -0
  233. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-parserInternals.html +322 -0
  234. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-pattern.html +76 -0
  235. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-relaxng.html +162 -0
  236. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-schemasInternals.html +373 -0
  237. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-schematron.html +81 -0
  238. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-threads.html +72 -0
  239. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-tree.html +989 -0
  240. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-uri.html +73 -0
  241. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-valid.html +289 -0
  242. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xinclude.html +59 -0
  243. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xlink.html +82 -0
  244. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlIO.html +212 -0
  245. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlautomata.html +85 -0
  246. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlerror.html +864 -0
  247. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlexports.html +20 -0
  248. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlmemory.html +107 -0
  249. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlmodule.html +38 -0
  250. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlreader.html +330 -0
  251. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlregexp.html +143 -0
  252. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlsave.html +60 -0
  253. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlschemas.html +185 -0
  254. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlschemastypes.html +123 -0
  255. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlstring.html +108 -0
  256. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlunicode.html +512 -0
  257. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlversion.html +62 -0
  258. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlwriter.html +261 -0
  259. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xpath.html +310 -0
  260. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xpathInternals.html +394 -0
  261. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xpointer.html +83 -0
  262. data/vendor/local/share/doc/libxml2-2.9.0/html/html/right.png +0 -0
  263. data/vendor/local/share/doc/libxml2-2.9.0/html/html/up.png +0 -0
  264. data/vendor/local/share/doc/libxml2-2.9.0/html/index.html +14 -0
  265. data/vendor/local/share/doc/libxml2-2.9.0/html/io1.c +166 -0
  266. data/vendor/local/share/doc/libxml2-2.9.0/html/io1.res +5 -0
  267. data/vendor/local/share/doc/libxml2-2.9.0/html/io2.c +58 -0
  268. data/vendor/local/share/doc/libxml2-2.9.0/html/io2.res +2 -0
  269. data/vendor/local/share/doc/libxml2-2.9.0/html/libxml.gif +0 -0
  270. data/vendor/local/share/doc/libxml2-2.9.0/html/parse1.c +56 -0
  271. data/vendor/local/share/doc/libxml2-2.9.0/html/parse2.c +72 -0
  272. data/vendor/local/share/doc/libxml2-2.9.0/html/parse3.c +60 -0
  273. data/vendor/local/share/doc/libxml2-2.9.0/html/parse4.c +143 -0
  274. data/vendor/local/share/doc/libxml2-2.9.0/html/reader1.c +107 -0
  275. data/vendor/local/share/doc/libxml2-2.9.0/html/reader1.res +14 -0
  276. data/vendor/local/share/doc/libxml2-2.9.0/html/reader2.c +122 -0
  277. data/vendor/local/share/doc/libxml2-2.9.0/html/reader3.c +120 -0
  278. data/vendor/local/share/doc/libxml2-2.9.0/html/reader3.res +13 -0
  279. data/vendor/local/share/doc/libxml2-2.9.0/html/reader4.c +122 -0
  280. data/vendor/local/share/doc/libxml2-2.9.0/html/reader4.res +3 -0
  281. data/vendor/local/share/doc/libxml2-2.9.0/html/redhat.gif +0 -0
  282. data/vendor/local/share/doc/libxml2-2.9.0/html/smallfootonly.gif +0 -0
  283. data/vendor/local/share/doc/libxml2-2.9.0/html/structure.gif +0 -0
  284. data/vendor/local/share/doc/libxml2-2.9.0/html/test1.xml +1 -0
  285. data/vendor/local/share/doc/libxml2-2.9.0/html/test2.xml +13 -0
  286. data/vendor/local/share/doc/libxml2-2.9.0/html/test3.xml +39 -0
  287. data/vendor/local/share/doc/libxml2-2.9.0/html/testWriter.c +1198 -0
  288. data/vendor/local/share/doc/libxml2-2.9.0/html/tree1.c +94 -0
  289. data/vendor/local/share/doc/libxml2-2.9.0/html/tree1.res +4 -0
  290. data/vendor/local/share/doc/libxml2-2.9.0/html/tree2.c +118 -0
  291. data/vendor/local/share/doc/libxml2-2.9.0/html/tree2.res +18 -0
  292. data/vendor/local/share/doc/libxml2-2.9.0/html/tst.xml +7 -0
  293. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apa.html +8 -0
  294. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apb.html +14 -0
  295. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apc.html +82 -0
  296. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apd.html +76 -0
  297. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ape.html +78 -0
  298. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apf.html +67 -0
  299. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apg.html +75 -0
  300. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/aph.html +76 -0
  301. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/api.html +4 -0
  302. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s02.html +14 -0
  303. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s03.html +47 -0
  304. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s04.html +54 -0
  305. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s05.html +55 -0
  306. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s06.html +35 -0
  307. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s07.html +30 -0
  308. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s08.html +38 -0
  309. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s09.html +63 -0
  310. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/blank.png +0 -0
  311. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/1.png +0 -0
  312. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/10.png +0 -0
  313. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/2.png +0 -0
  314. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/3.png +0 -0
  315. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/4.png +0 -0
  316. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/5.png +0 -0
  317. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/6.png +0 -0
  318. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/7.png +0 -0
  319. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/8.png +0 -0
  320. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/9.png +0 -0
  321. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/caution.png +0 -0
  322. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/draft.png +0 -0
  323. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/home.png +0 -0
  324. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/important.png +0 -0
  325. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/next.png +0 -0
  326. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/note.png +0 -0
  327. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/prev.png +0 -0
  328. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/tip.png +0 -0
  329. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/toc-blank.png +0 -0
  330. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/toc-minus.png +0 -0
  331. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/toc-plus.png +0 -0
  332. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/up.png +0 -0
  333. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/warning.png +0 -0
  334. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includeaddattribute.c +64 -0
  335. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includeaddkeyword.c +75 -0
  336. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includeconvert.c +73 -0
  337. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includegetattribute.c +72 -0
  338. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includekeyword.c +79 -0
  339. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includexpath.c +74 -0
  340. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/index.html +14 -0
  341. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ix01.html +1 -0
  342. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/xmltutorial.pdf +1336 -0
  343. data/vendor/local/share/doc/libxml2-2.9.0/html/w3c.png +0 -0
  344. data/vendor/local/share/doc/libxml2-2.9.0/html/writer.xml +2 -0
  345. data/vendor/local/share/doc/libxml2-2.9.0/html/xml.html +5715 -0
  346. data/vendor/local/share/doc/libxml2-2.9.0/html/xpath1.c +250 -0
  347. data/vendor/local/share/doc/libxml2-2.9.0/html/xpath1.res +5 -0
  348. data/vendor/local/share/doc/libxml2-2.9.0/html/xpath2.c +190 -0
  349. data/vendor/local/share/doc/libxml2-2.9.0/html/xpath2.res +30 -0
  350. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceBuffer.html +1346 -0
  351. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletion.html +756 -0
  352. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionContext.html +300 -0
  353. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionInfo.html +243 -0
  354. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionItem.html +282 -0
  355. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProposal.html +364 -0
  356. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProvider.html +474 -0
  357. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutter.html +288 -0
  358. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguage.html +425 -0
  359. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguageManager.html +414 -0
  360. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMark.html +250 -0
  361. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMarkAttributes.html +699 -0
  362. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourcePrintCompositor.html +1822 -0
  363. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyle.html +228 -0
  364. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleScheme.html +296 -0
  365. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeManager.html +357 -0
  366. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceUndoManager.html +346 -0
  367. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceView.html +1462 -0
  368. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/annotation-glossary.html +80 -0
  369. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-0.html +46 -0
  370. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-deprecated.html +31 -0
  371. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-full.html +1538 -0
  372. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceGutterRenderer.html +956 -0
  373. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceGutterRendererPixbuf.html +199 -0
  374. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceGutterRendererText.html +137 -0
  375. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0.devhelp2 +445 -0
  376. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/home.png +0 -0
  377. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.html +117 -0
  378. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.sgml +578 -0
  379. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-reference.html +771 -0
  380. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-tutorial.html +651 -0
  381. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/left.png +0 -0
  382. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/right.png +0 -0
  383. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/rn01.html +101 -0
  384. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/rn02.html +53 -0
  385. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style-reference.html +252 -0
  386. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style.css +266 -0
  387. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/up.png +0 -0
  388. data/vendor/local/share/gtk-doc/html/libxml2/general.html +38 -0
  389. data/vendor/local/share/gtk-doc/html/libxml2/home.png +0 -0
  390. data/vendor/local/share/gtk-doc/html/libxml2/index.html +67 -0
  391. data/vendor/local/share/gtk-doc/html/libxml2/left.png +0 -0
  392. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-DOCBparser.html +138 -0
  393. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-HTMLparser.html +373 -0
  394. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-HTMLtree.html +172 -0
  395. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-SAX.html +243 -0
  396. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-SAX2.html +247 -0
  397. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-c14n.html +91 -0
  398. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-catalog.html +278 -0
  399. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-chvalid.html +241 -0
  400. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-debugXML.html +225 -0
  401. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-dict.html +134 -0
  402. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-encoding.html +218 -0
  403. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-entities.html +166 -0
  404. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-globals.html +383 -0
  405. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-hash.html +214 -0
  406. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-list.html +226 -0
  407. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-nanoftp.html +187 -0
  408. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-nanohttp.html +142 -0
  409. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-parser.html +766 -0
  410. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-parserInternals.html +688 -0
  411. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-pattern.html +166 -0
  412. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-relaxng.html +278 -0
  413. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-schemasInternals.html +860 -0
  414. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-schematron.html +166 -0
  415. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-threads.html +161 -0
  416. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-tree.html +1596 -0
  417. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-uri.html +154 -0
  418. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-valid.html +528 -0
  419. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xinclude.html +169 -0
  420. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xlink.html +160 -0
  421. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlIO.html +347 -0
  422. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlautomata.html +176 -0
  423. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlerror.html +952 -0
  424. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlexports.html +87 -0
  425. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlmemory.html +186 -0
  426. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlmodule.html +97 -0
  427. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlreader.html +565 -0
  428. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlregexp.html +280 -0
  429. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlsave.html +133 -0
  430. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlschemas.html +314 -0
  431. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlschemastypes.html +237 -0
  432. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlstring.html +217 -0
  433. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlunicode.html +887 -0
  434. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlversion.html +287 -0
  435. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlwriter.html +479 -0
  436. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpath.html +532 -0
  437. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpathInternals.html +787 -0
  438. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpointer.html +171 -0
  439. data/vendor/local/share/gtk-doc/html/libxml2/libxml2.devhelp +3569 -0
  440. data/vendor/local/share/gtk-doc/html/libxml2/right.png +0 -0
  441. data/vendor/local/share/gtk-doc/html/libxml2/style.css +66 -0
  442. data/vendor/local/share/gtk-doc/html/libxml2/up.png +0 -0
  443. data/vendor/local/share/gtksourceview-3.0/language-specs/R.lang +130 -0
  444. data/vendor/local/share/gtksourceview-3.0/language-specs/actionscript.lang +268 -0
  445. data/vendor/local/share/gtksourceview-3.0/language-specs/ada.lang +221 -0
  446. data/vendor/local/share/gtksourceview-3.0/language-specs/asp.lang +1097 -0
  447. data/vendor/local/share/gtksourceview-3.0/language-specs/automake.lang +329 -0
  448. data/vendor/local/share/gtksourceview-3.0/language-specs/awk.lang +138 -0
  449. data/vendor/local/share/gtksourceview-3.0/language-specs/bennugd.lang +267 -0
  450. data/vendor/local/share/gtksourceview-3.0/language-specs/bibtex.lang +93 -0
  451. data/vendor/local/share/gtksourceview-3.0/language-specs/boo.lang +257 -0
  452. data/vendor/local/share/gtksourceview-3.0/language-specs/c.lang +332 -0
  453. data/vendor/local/share/gtksourceview-3.0/language-specs/cg.lang +232 -0
  454. data/vendor/local/share/gtksourceview-3.0/language-specs/changelog.lang +92 -0
  455. data/vendor/local/share/gtksourceview-3.0/language-specs/chdr.lang +43 -0
  456. data/vendor/local/share/gtksourceview-3.0/language-specs/check-language.sh +32 -0
  457. data/vendor/local/share/gtksourceview-3.0/language-specs/cmake.lang +408 -0
  458. data/vendor/local/share/gtksourceview-3.0/language-specs/cobol.lang +456 -0
  459. data/vendor/local/share/gtksourceview-3.0/language-specs/cpp.lang +114 -0
  460. data/vendor/local/share/gtksourceview-3.0/language-specs/csharp.lang +282 -0
  461. data/vendor/local/share/gtksourceview-3.0/language-specs/css.lang +537 -0
  462. data/vendor/local/share/gtksourceview-3.0/language-specs/cuda.lang +292 -0
  463. data/vendor/local/share/gtksourceview-3.0/language-specs/d.lang +296 -0
  464. data/vendor/local/share/gtksourceview-3.0/language-specs/def.lang +252 -0
  465. data/vendor/local/share/gtksourceview-3.0/language-specs/desktop.lang +300 -0
  466. data/vendor/local/share/gtksourceview-3.0/language-specs/diff.lang +85 -0
  467. data/vendor/local/share/gtksourceview-3.0/language-specs/docbook.lang +476 -0
  468. data/vendor/local/share/gtksourceview-3.0/language-specs/dosbatch.lang +167 -0
  469. data/vendor/local/share/gtksourceview-3.0/language-specs/dot.lang +140 -0
  470. data/vendor/local/share/gtksourceview-3.0/language-specs/dpatch.lang +48 -0
  471. data/vendor/local/share/gtksourceview-3.0/language-specs/dtd.lang +140 -0
  472. data/vendor/local/share/gtksourceview-3.0/language-specs/eiffel.lang +239 -0
  473. data/vendor/local/share/gtksourceview-3.0/language-specs/erlang.lang +258 -0
  474. data/vendor/local/share/gtksourceview-3.0/language-specs/fcl.lang +115 -0
  475. data/vendor/local/share/gtksourceview-3.0/language-specs/forth.lang +235 -0
  476. data/vendor/local/share/gtksourceview-3.0/language-specs/fortran.lang +512 -0
  477. data/vendor/local/share/gtksourceview-3.0/language-specs/fsharp.lang +325 -0
  478. data/vendor/local/share/gtksourceview-3.0/language-specs/gap.lang +85 -0
  479. data/vendor/local/share/gtksourceview-3.0/language-specs/gdb-log.lang +152 -0
  480. data/vendor/local/share/gtksourceview-3.0/language-specs/glsl.lang +483 -0
  481. data/vendor/local/share/gtksourceview-3.0/language-specs/go.lang +275 -0
  482. data/vendor/local/share/gtksourceview-3.0/language-specs/gtk-doc.lang +91 -0
  483. data/vendor/local/share/gtksourceview-3.0/language-specs/gtkrc.lang +116 -0
  484. data/vendor/local/share/gtksourceview-3.0/language-specs/haddock.lang +162 -0
  485. data/vendor/local/share/gtksourceview-3.0/language-specs/haskell-literate.lang +59 -0
  486. data/vendor/local/share/gtksourceview-3.0/language-specs/haskell.lang +228 -0
  487. data/vendor/local/share/gtksourceview-3.0/language-specs/html.lang +180 -0
  488. data/vendor/local/share/gtksourceview-3.0/language-specs/idl.lang +154 -0
  489. data/vendor/local/share/gtksourceview-3.0/language-specs/imagej.lang +784 -0
  490. data/vendor/local/share/gtksourceview-3.0/language-specs/ini.lang +95 -0
  491. data/vendor/local/share/gtksourceview-3.0/language-specs/j.lang +240 -0
  492. data/vendor/local/share/gtksourceview-3.0/language-specs/java.lang +190 -0
  493. data/vendor/local/share/gtksourceview-3.0/language-specs/javascript.lang +338 -0
  494. data/vendor/local/share/gtksourceview-3.0/language-specs/json.lang +123 -0
  495. data/vendor/local/share/gtksourceview-3.0/language-specs/language.dtd +73 -0
  496. data/vendor/local/share/gtksourceview-3.0/language-specs/language.rng +373 -0
  497. data/vendor/local/share/gtksourceview-3.0/language-specs/language2.rng +482 -0
  498. data/vendor/local/share/gtksourceview-3.0/language-specs/latex.lang +300 -0
  499. data/vendor/local/share/gtksourceview-3.0/language-specs/libtool.lang +56 -0
  500. data/vendor/local/share/gtksourceview-3.0/language-specs/lua.lang +157 -0
  501. data/vendor/local/share/gtksourceview-3.0/language-specs/m4.lang +1375 -0
  502. data/vendor/local/share/gtksourceview-3.0/language-specs/makefile.lang +193 -0
  503. data/vendor/local/share/gtksourceview-3.0/language-specs/mallard.lang +124 -0
  504. data/vendor/local/share/gtksourceview-3.0/language-specs/markdown.lang +402 -0
  505. data/vendor/local/share/gtksourceview-3.0/language-specs/matlab.lang +171 -0
  506. data/vendor/local/share/gtksourceview-3.0/language-specs/mxml.lang +65 -0
  507. data/vendor/local/share/gtksourceview-3.0/language-specs/nemerle.lang +263 -0
  508. data/vendor/local/share/gtksourceview-3.0/language-specs/netrexx.lang +319 -0
  509. data/vendor/local/share/gtksourceview-3.0/language-specs/nsis.lang +88 -0
  510. data/vendor/local/share/gtksourceview-3.0/language-specs/objc.lang +120 -0
  511. data/vendor/local/share/gtksourceview-3.0/language-specs/objj.lang +128 -0
  512. data/vendor/local/share/gtksourceview-3.0/language-specs/ocaml.lang +302 -0
  513. data/vendor/local/share/gtksourceview-3.0/language-specs/ocl.lang +139 -0
  514. data/vendor/local/share/gtksourceview-3.0/language-specs/octave.lang +859 -0
  515. data/vendor/local/share/gtksourceview-3.0/language-specs/ooc.lang +265 -0
  516. data/vendor/local/share/gtksourceview-3.0/language-specs/opal.lang +343 -0
  517. data/vendor/local/share/gtksourceview-3.0/language-specs/opencl.lang +600 -0
  518. data/vendor/local/share/gtksourceview-3.0/language-specs/pascal.lang +268 -0
  519. data/vendor/local/share/gtksourceview-3.0/language-specs/perl.lang +1028 -0
  520. data/vendor/local/share/gtksourceview-3.0/language-specs/php.lang +361 -0
  521. data/vendor/local/share/gtksourceview-3.0/language-specs/pkgconfig.lang +62 -0
  522. data/vendor/local/share/gtksourceview-3.0/language-specs/po.lang +94 -0
  523. data/vendor/local/share/gtksourceview-3.0/language-specs/prolog.lang +249 -0
  524. data/vendor/local/share/gtksourceview-3.0/language-specs/protobuf.lang +103 -0
  525. data/vendor/local/share/gtksourceview-3.0/language-specs/puppet.lang +697 -0
  526. data/vendor/local/share/gtksourceview-3.0/language-specs/python.lang +413 -0
  527. data/vendor/local/share/gtksourceview-3.0/language-specs/python3.lang +192 -0
  528. data/vendor/local/share/gtksourceview-3.0/language-specs/rpmspec.lang +210 -0
  529. data/vendor/local/share/gtksourceview-3.0/language-specs/ruby.lang +591 -0
  530. data/vendor/local/share/gtksourceview-3.0/language-specs/scheme.lang +302 -0
  531. data/vendor/local/share/gtksourceview-3.0/language-specs/scilab.lang +209 -0
  532. data/vendor/local/share/gtksourceview-3.0/language-specs/sh.lang +499 -0
  533. data/vendor/local/share/gtksourceview-3.0/language-specs/sml.lang +201 -0
  534. data/vendor/local/share/gtksourceview-3.0/language-specs/sparql.lang +448 -0
  535. data/vendor/local/share/gtksourceview-3.0/language-specs/sql.lang +618 -0
  536. data/vendor/local/share/gtksourceview-3.0/language-specs/systemverilog.lang +263 -0
  537. data/vendor/local/share/gtksourceview-3.0/language-specs/t2t.lang +150 -0
  538. data/vendor/local/share/gtksourceview-3.0/language-specs/tcl.lang +146 -0
  539. data/vendor/local/share/gtksourceview-3.0/language-specs/texinfo.lang +448 -0
  540. data/vendor/local/share/gtksourceview-3.0/language-specs/vala.lang +365 -0
  541. data/vendor/local/share/gtksourceview-3.0/language-specs/vbnet.lang +245 -0
  542. data/vendor/local/share/gtksourceview-3.0/language-specs/verilog.lang +464 -0
  543. data/vendor/local/share/gtksourceview-3.0/language-specs/vhdl.lang +248 -0
  544. data/vendor/local/share/gtksourceview-3.0/language-specs/xml.lang +220 -0
  545. data/vendor/local/share/gtksourceview-3.0/language-specs/xslt.lang +108 -0
  546. data/vendor/local/share/gtksourceview-3.0/language-specs/yacc.lang +177 -0
  547. data/vendor/local/share/gtksourceview-3.0/styles/check-style.sh +20 -0
  548. data/vendor/local/share/gtksourceview-3.0/styles/classic.xml +107 -0
  549. data/vendor/local/share/gtksourceview-3.0/styles/cobalt.xml +135 -0
  550. data/vendor/local/share/gtksourceview-3.0/styles/kate.xml +161 -0
  551. data/vendor/local/share/gtksourceview-3.0/styles/oblivion.xml +117 -0
  552. data/vendor/local/share/gtksourceview-3.0/styles/styles.rng +139 -0
  553. data/vendor/local/share/gtksourceview-3.0/styles/tango.xml +117 -0
  554. data/vendor/local/share/license/gtksourceview/AUTHORS +12 -0
  555. data/vendor/local/share/license/gtksourceview/COPYING +340 -0
  556. data/vendor/local/share/man/man1/xml2-config.1 +30 -0
  557. data/vendor/local/share/man/man1/xmlcatalog.1 +340 -0
  558. data/vendor/local/share/man/man1/xmllint.1 +427 -0
  559. data/vendor/local/share/man/man3/libxml.3 +71 -0
  560. data/vendor/local/src/dieterv/packaging/libxml2_2.9.0-1_win32.log +867 -0
  561. data/vendor/local/src/dieterv/packaging/libxml2_2.9.0-1_win32.sh +68 -0
  562. metadata +642 -0
@@ -0,0 +1,651 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
+ <html>
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
+ <title>Language Definition v2.0 Tutorial</title>
6
+ <meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
7
+ <link rel="home" href="index.html" title="GtkSourceView 3 Reference Manual">
8
+ <link rel="up" href="rn02.html" title="Syntax highlighting reference">
9
+ <link rel="prev" href="rn02.html" title="Syntax highlighting reference">
10
+ <link rel="next" href="lang-reference.html" title="Language Definition v2.0 Reference">
11
+ <meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
12
+ <link rel="stylesheet" href="style.css" type="text/css">
13
+ </head>
14
+ <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
+ <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
16
+ <td><a accesskey="p" href="rn02.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
17
+ <td><a accesskey="u" href="rn02.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
18
+ <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
19
+ <th width="100%" align="center">GtkSourceView 3 Reference Manual</th>
20
+ <td><a accesskey="n" href="lang-reference.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
21
+ </tr></table>
22
+ <div class="refentry">
23
+ <a name="lang-tutorial"></a><div class="titlepage"></div>
24
+ <div class="refnamediv"><table width="100%"><tr>
25
+ <td valign="top">
26
+ <h2><span class="refentrytitle">Language Definition v2.0 Tutorial</span></h2>
27
+ <p>Language Definition v2.0 Tutorial —
28
+ Guide to the GtkSourceView language definition file format
29
+ </p>
30
+ </td>
31
+ <td valign="top" align="right"></td>
32
+ </tr></table></div>
33
+ <div class="refsect1">
34
+ <a name="tutorial"></a><h2>A language definition for the C language</h2>
35
+ <p>
36
+ To describe the syntax of a language GtkSourceView uses an XML format which
37
+ defines nested context to be highlighted. Each context roughly corresponds
38
+ to a portion of the syntax which has to be highlighted (e.g. keywords,
39
+ strings, comments), and can contain nested contexts (e.g. escaped
40
+ characters.)
41
+ </p>
42
+ <p>
43
+ In this tutorial we will analyze a simple example to highlight a subset of
44
+ C, based on the full C language definition.
45
+ </p>
46
+ <p>
47
+ Like every well formed XML document, the language description starts with a
48
+ XML declaration:
49
+ </p>
50
+ <pre class="programlisting">
51
+ &lt;?xml version="1.0" encoding="UTF-8"?&gt;
52
+ </pre>
53
+ <p>
54
+ After the usual preamble, the main tag is the <code class="code">&lt;language&gt;</code> element:
55
+ </p>
56
+ <pre class="programlisting">
57
+ &lt;language id="c" _name="C" version="2.0" _section="Sources"&gt;
58
+ </pre>
59
+ <p>
60
+ The attribute <code class="code">id</code> is used in external references and defines a standard
61
+ way to refer to this language definition, while the <code class="code">name</code> attribute is
62
+ the name presented to the user (it is translatable using gettext prepending a
63
+ <code class="code">_</code>.)
64
+ </p>
65
+ <p>
66
+ The attribute <code class="code">section</code>, also translatable, tells the category where
67
+ this language should be grouped when it is presented to the user. Currently
68
+ available categories in GtkSourceView are "Sources", "Scripts", "Markup",
69
+ "Scientific" and "Others".
70
+ </p>
71
+ <p>
72
+ The attribute <code class="code">version</code> specifies the version of the xml syntax
73
+ used in your language definition file, so it should always be <code class="code">2.0</code>.
74
+ </p>
75
+ <p>
76
+ The <code class="code">&lt;language&gt;</code> element contains three sections:
77
+ <code class="code">&lt;metadata&gt;</code>, <code class="code">&lt;styles&gt;</code> and
78
+ <code class="code">&lt;definitions&gt;</code>
79
+ </p>
80
+ <pre class="programlisting">
81
+ &lt;metadata&gt;
82
+ </pre>
83
+ <p>
84
+ The <code class="code">&lt;metadata&gt;</code> element is optional and provides a collection
85
+ of properties which specify arbitrary information about the language definition
86
+ file itself. It is particularly important to specify the conventional
87
+ <code class="code">mimetypes</code> and <code class="code">globs</code> properties that
88
+ GtkSourceView uses to automatically detect which syntax highlighting to use
89
+ for a given file. They respectively contain a semi-colon separated list of
90
+ mimetypes and filename extensions.
91
+ </p>
92
+ <pre class="programlisting">
93
+ &lt;metadata&gt;
94
+ &lt;property name="mimetypes"&gt;text/x-c;text/x-csrc&lt;/property&gt;
95
+ &lt;property name="globs"&gt;*.c&lt;/property&gt;
96
+ &lt;/metadata&gt;
97
+ </pre>
98
+ <pre class="programlisting">
99
+ &lt;styles&gt;
100
+ </pre>
101
+ <p>
102
+ This element contains every association between the styles used in the
103
+ description and the defaults stored internally in GtkSourceView.
104
+ For each style there is a <code class="code">&lt;style&gt;</code> element:
105
+ </p>
106
+ <pre class="programlisting">
107
+ &lt;style id="comment" _name="Comment" map-to="def:comment"/&gt;
108
+ </pre>
109
+ <p>
110
+ This defines a <code class="code">comment</code> style, which inherits the font
111
+ properties from the defaults style <code class="code">def:comment</code>.
112
+ The <code class="code">name</code> attribute contains the translatable name for this
113
+ style, which is the name to show to the user.
114
+ </p>
115
+ <p>
116
+ For each style used in the language definition there is a corresponding
117
+ <code class="code">&lt;style&gt;</code> element; every style can be used in different
118
+ contexts, so they will share the same appearance.
119
+ </p>
120
+ <pre class="programlisting">
121
+ &lt;style id="string" _name="String" map-to="def:string"/&gt;
122
+ &lt;style id="escaped-character" _name="Escaped Character" map-to="def:special-char"/&gt;
123
+ &lt;style id="preprocessor" _name="Preprocessor" map-to="def:preprocessor"/&gt;
124
+ &lt;style id="included-file" _name="Included File" map-to="def:string"/&gt;
125
+ &lt;style id="char" _name="Character" map-to="def:character"/&gt;
126
+ &lt;style id="keyword" _name="Keyword" map-to="def:keyword"/&gt;
127
+ &lt;style id="type" _name="Data Type" map-to="def:type"/&gt;
128
+ </pre>
129
+ <p>
130
+ Following the <code class="code">&lt;styles&gt;</code> element there is the
131
+ <code class="code">&lt;definitions&gt;</code> element, which contains the
132
+ description proper of the syntax:
133
+ </p>
134
+ <pre class="programlisting">
135
+ &lt;definitions&gt;
136
+ </pre>
137
+ <p>
138
+ Here we should define a main context, the one we enter at the beginning of
139
+ the file: to do so we use the <code class="code">&lt;context&gt;</code> tag, with an
140
+ <code class="code">id</code> equal to the <code class="code">id</code> of the
141
+ <code class="code">&lt;language&gt;</code> element:
142
+ </p>
143
+ <pre class="programlisting">
144
+ &lt;context id="c"&gt;
145
+ </pre>
146
+ <p>
147
+ The element <code class="code">&lt;include&gt;</code> contains the list of sub-contexts
148
+ for the current context: as we are in the main context we should put here
149
+ the top level contexts for the C language:
150
+ </p>
151
+ <pre class="programlisting">
152
+ &lt;include&gt;
153
+ </pre>
154
+ <p>
155
+ The first context defined is the one for single-line C style comments: they
156
+ start with a double slash <code class="code">//</code> and end at the end of the line:
157
+ </p>
158
+ <pre class="programlisting">
159
+ &lt;context id="comment" style-ref="comment"&gt;
160
+ &lt;start&gt;\/\/&lt;/start&gt;
161
+ &lt;end&gt;$&lt;/end&gt;
162
+ &lt;/context&gt;
163
+ </pre>
164
+ <p>
165
+ The <code class="code">&lt;start&gt;</code> element contains the regular expression telling
166
+ the highlighting engine to enter in the defined context, until the terminating
167
+ regular expression contained in the <code class="code">&lt;end&gt;</code> element is found.
168
+ </p>
169
+ <p>
170
+ Those regular expressions are PCRE regular expressions in the form
171
+ <code class="code">/regex/options</code> (see the documentation of PCRE for details.) If
172
+ there are no options to be specified and you don't need to match the spaces at
173
+ the start and at the end of the regular expression, you can omit the slashes,
174
+ putting here only <code class="code">regex</code>.
175
+ </p>
176
+ <p>
177
+ The possible options are:
178
+ </p>
179
+ <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
180
+ <li class="listitem"><p>
181
+ <code class="code">i</code>: case insensitive;
182
+ </p></li>
183
+ <li class="listitem"><p>
184
+ <code class="code">x</code>: extended (spaces are ignored and it is possible to put comments
185
+ starting with <code class="code">#</code> and ending at the end of the line);
186
+ </p></li>
187
+ <li class="listitem"><p>
188
+ <code class="code">s</code>: the metacharacter <code class="code">.</code> matches the <code class="code">\n</code>.
189
+ </p></li>
190
+ </ul></div>
191
+ <p>
192
+ You can set the default options using the <code class="code">&lt;default-regex-options</code> tag
193
+ before the <code class="code">&lt;definitions&gt;</code> element. To disable a group of options,
194
+ instead, you have to preced them with a hyphen (<code class="code">-</code>).
195
+ [FIXME: add an example]
196
+ </p>
197
+ <p>
198
+ In GtkSourceView are available also some extensions to the standard perl
199
+ style regular expressions:
200
+ </p>
201
+ <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
202
+ <li class="listitem"><p>
203
+ <code class="code">\%[</code> and <code class="code">\%]</code> are custom word boundaries, which can
204
+ be redefined with the <code class="code">&lt;keyword-char-class&gt;</code> tag (in
205
+ contrast with <code class="code">\b</code>);
206
+ </p></li>
207
+ <li class="listitem"><p>
208
+ <code class="code">\%{id}</code> will include the regular expression defined in the
209
+ <code class="code">&lt;define-regex&gt;</code> tag with the same id, useful if you have
210
+ common portions of regular expressions used in different contexts;
211
+ </p></li>
212
+ <li class="listitem"><p>
213
+ <code class="code">\%{subpattern@start}</code> can be used only inside the
214
+ <code class="code">&lt;end&gt;</code> tag and will be substituted with the
215
+ string matched in the corresponding
216
+ sub-pattern (can be a number or a name if named sub-patterns are
217
+ used) in the preceding <code class="code">&lt;start&gt;</code> element. For an example
218
+ see the implementation of here-documents in the <code class="filename">sh.lang</code>
219
+ language description distribuited with GtkSourceView.
220
+ </p></li>
221
+ </ul></div>
222
+ <p>
223
+ The next context is for C-style strings. They start and end with a double
224
+ quote but they can contain escaped double quotes, so we sould make sure
225
+ we don't end the string prematurely:
226
+ </p>
227
+ <pre class="programlisting">
228
+ &lt;context id="string" end-at-line-end="true"
229
+ style-ref="string"&gt;
230
+ </pre>
231
+ <p>
232
+ The <code class="code">end-at-line-end</code> attribute tells the engine that the current context
233
+ should be forced to terminate at the end of the line, even if the ending
234
+ regular expression is not found, and that an error should be displayed.
235
+ </p>
236
+ <pre class="programlisting">
237
+ &lt;start&gt;"&lt;/start&gt;
238
+ &lt;end&gt;"&lt;/end&gt;
239
+ &lt;include&gt;
240
+ </pre>
241
+ <p>
242
+ To implement the escape handling we include a <code class="code">escape</code> context:
243
+ </p>
244
+ <pre class="programlisting">
245
+ &lt;context id="escape" style-ref="escaped-character"&gt;
246
+ &lt;match&gt;\\.&lt;/match&gt;
247
+ &lt;/context&gt;
248
+ </pre>
249
+ <p>
250
+ This is a simple context matching a single regular expression, contained in
251
+ the <code class="code">&lt;match&gt;</code> element. This context will extend its parent, causing the
252
+ ending regular expression of the <code class="code">"string"</code> context to not match the escaped
253
+ double quote.
254
+ </p>
255
+ <pre class="programlisting">
256
+ &lt;/include&gt;
257
+ &lt;/context&gt;
258
+ </pre>
259
+ <p>
260
+ Multiline C-style comment can span over multiple lines and cannot be
261
+ escaped, but to make things more interesting we want to highlight every
262
+ internet address contained:
263
+ </p>
264
+ <pre class="programlisting">
265
+ &lt;context id="comment-multiline" style-ref="comment"&gt;
266
+ &lt;start&gt;\/\*&lt;/start&gt;
267
+ &lt;end&gt;\*\/&lt;/end&gt;
268
+ &lt;include&gt;
269
+ &lt;context id="net-address" style-ref="net-address"
270
+ extend-parent="false"&gt;
271
+ </pre>
272
+ <p>
273
+ In this case, the child should be terminated if the end of the parent is
274
+ found, so we use <code class="code">false</code> in the <code class="code">extend-parent</code> attribute.
275
+ </p>
276
+ <pre class="programlisting">
277
+ &lt;match&gt;http:\/\/[^\s]*&lt;/match&gt;
278
+ &lt;/context&gt;
279
+ &lt;/include&gt;
280
+ &lt;/context&gt;
281
+ </pre>
282
+ <p>
283
+ For instance in the following comment the string <code class="code">http://www.gnome.org*/</code>
284
+ matches the <code class="code">net-address</code> context but it contains the end of the parent
285
+ context (<code class="code">*/</code>.) As <code class="code">extend-parent</code> is false,
286
+ only <code class="code">http://www.gnome.org</code> is
287
+ highlighted as an address and <code class="code">*/</code> is correctly recognized as the end of
288
+ the comment.
289
+ </p>
290
+ <pre class="programlisting">
291
+ /* This is a comment http://www.gnome.org */
292
+ </pre>
293
+ <p>
294
+ Character constants in C are delimited by single quotes (<code class="code">'</code>) and can
295
+ contain escaped characters:
296
+ </p>
297
+ <pre class="programlisting">
298
+ &lt;context id="char" end-at-line-end="true" style-ref="string"&gt;
299
+ &lt;start&gt;'&lt;/start&gt;
300
+ &lt;end&gt;'&lt;/end&gt;
301
+ &lt;include&gt;
302
+ &lt;context ref="escape"/&gt;
303
+ </pre>
304
+ <p>
305
+ The <code class="code">ref</code> attribute is used when we want to reuse a previously defined
306
+ context. Here we reuse the <code class="code">escape</code> context defined in the <code class="code">string</code>
307
+ context, without repeating its definition.
308
+ </p>
309
+ <pre class="programlisting">
310
+ &lt;/include&gt;
311
+ &lt;/context&gt;
312
+ </pre>
313
+ <p>
314
+ Using <code class="code">ref</code> it is also possible to refer to contexts defined in other
315
+ languages, preceding the id of the context with the id of the containing
316
+ language, separating them with a colon:
317
+ </p>
318
+ <pre class="programlisting">
319
+ &lt;context ref="def:decimal"/&gt;
320
+ &lt;context ref="def:float"/&gt;
321
+ </pre>
322
+ <p>
323
+ The definitions for decimal and float constants are in a external file,
324
+ with id <code class="code">def</code>, which is not associated with any language but contains
325
+ reusable contexts wich every language definition can import.
326
+ </p>
327
+ <p>
328
+ The <code class="code">def</code> language file contains an <code class="code">in-comment</code> context that can contain
329
+ addresses and tags such as FIXME and TODO, so we can write a new version of
330
+ our <code class="code">comment-multiline</code> context that uses the definitions from <code class="code">def.lang</code>.
331
+ </p>
332
+ <pre class="programlisting">
333
+ &lt;context id="comment-multiline" style-ref="comment"&gt;
334
+ &lt;start&gt;\/\*&lt;/start&gt;
335
+ &lt;end&gt;\*\/&lt;/end&gt;
336
+ &lt;include&gt;
337
+ &lt;context ref="def:in-comment"/&gt;
338
+ </pre>
339
+ <pre class="programlisting">
340
+ &lt;/include&gt;
341
+ &lt;/context&gt;
342
+ </pre>
343
+ <p>
344
+ Keywords can be grouped in a context using a list of <code class="code">&lt;keyword&gt;</code>
345
+ elements:
346
+ </p>
347
+ <pre class="programlisting">
348
+ &lt;context id="keywords" style-ref="keyword"&gt;
349
+ &lt;keyword&gt;if&lt;/keyword&gt;
350
+ &lt;keyword&gt;else&lt;/keyword&gt;
351
+ &lt;keyword&gt;for&lt;/keyword&gt;
352
+ &lt;keyword&gt;while&lt;/keyword&gt;
353
+ &lt;keyword&gt;return&lt;/keyword&gt;
354
+ &lt;keyword&gt;break&lt;/keyword&gt;
355
+ &lt;keyword&gt;switch&lt;/keyword&gt;
356
+ &lt;keyword&gt;case&lt;/keyword&gt;
357
+ &lt;keyword&gt;default&lt;/keyword&gt;
358
+ &lt;keyword&gt;do&lt;/keyword&gt;
359
+ &lt;keyword&gt;continue&lt;/keyword&gt;
360
+ &lt;keyword&gt;goto&lt;/keyword&gt;
361
+ &lt;keyword&gt;sizeof&lt;/keyword&gt;
362
+ &lt;/context&gt;
363
+ </pre>
364
+ <p>
365
+ Keywords with different meaning can be grouped in different context, making
366
+ possible to highlight them differently:
367
+ </p>
368
+ <pre class="programlisting">
369
+ &lt;context id="types" style-ref="type"&gt;
370
+ &lt;keyword&gt;char&lt;/keyword&gt;
371
+ &lt;keyword&gt;const&lt;/keyword&gt;
372
+ &lt;keyword&gt;double&lt;/keyword&gt;
373
+ &lt;keyword&gt;enum&lt;/keyword&gt;
374
+ &lt;keyword&gt;float&lt;/keyword&gt;
375
+ &lt;keyword&gt;int&lt;/keyword&gt;
376
+ &lt;keyword&gt;long&lt;/keyword&gt;
377
+ &lt;keyword&gt;short&lt;/keyword&gt;
378
+ &lt;keyword&gt;signed&lt;/keyword&gt;
379
+ &lt;keyword&gt;static&lt;/keyword&gt;
380
+ &lt;keyword&gt;struct&lt;/keyword&gt;
381
+ &lt;keyword&gt;typedef&lt;/keyword&gt;
382
+ &lt;keyword&gt;union&lt;/keyword&gt;
383
+ &lt;keyword&gt;unsigned&lt;/keyword&gt;
384
+ &lt;keyword&gt;void&lt;/keyword&gt;
385
+ &lt;/context&gt;
386
+ </pre>
387
+ <p>
388
+ You can also set a prefix (or a suffix) common to every keyword using the
389
+ <code class="code">&lt;prefix&gt;</code> and <code class="code">&lt;suffix&gt;</code> tags:
390
+ </p>
391
+ <pre class="programlisting">
392
+ &lt;context id="preprocessor" style-ref="preprocessor"&gt;
393
+ &lt;prefix&gt;^#&lt;/prefix&gt;
394
+ </pre>
395
+ <p>
396
+ If not specified, <code class="code">&lt;prefix&gt;</code> and <code class="code">&lt;suffix&gt;</code>
397
+ are set to, respectively, <code class="code">\%[</code> and
398
+ <code class="code">\%]</code>.
399
+ </p>
400
+ <pre class="programlisting">
401
+ &lt;keyword&gt;define&lt;/keyword&gt;
402
+ &lt;keyword&gt;undef&lt;/keyword&gt;
403
+ </pre>
404
+ <p>
405
+ Keep in mind that every keyword is a regular expression:
406
+ </p>
407
+ <pre class="programlisting">
408
+ &lt;keyword&gt;if(n?def)?&lt;/keyword&gt;
409
+ &lt;keyword&gt;else&lt;/keyword&gt;
410
+ &lt;keyword&gt;elif&lt;/keyword&gt;
411
+ &lt;keyword&gt;endif&lt;/keyword&gt;
412
+ &lt;/context&gt;
413
+ </pre>
414
+ <p>
415
+ In C, there is a common pratice to use <code class="code">#if 0</code> to express multi-line
416
+ nesting comments. To make things easier to the user, we want to highlight
417
+ these pseudo-comments as comments:
418
+ </p>
419
+ <pre class="programlisting">
420
+ &lt;context id="if0-comment" style-ref="comment"&gt;
421
+ &lt;start&gt;^#if 0\b&lt;/start&gt;
422
+ &lt;end&gt;^#(endif|else|elif)\b&lt;/end&gt;
423
+ &lt;include&gt;
424
+ </pre>
425
+ <p>
426
+ As <code class="code">#if 0</code> comments are nesting, we should consider that inside a comment
427
+ we can find other <code class="code">#if</code>s with the corresponding <code class="code">#endif</code>s, avoiding
428
+ the termination of the comment on the wrong <code class="code">#endif</code>. To do so we use a
429
+ nested context, that will extend the parent on every nested
430
+ <code class="code">#if</code>/<code class="code">#endif</code>:
431
+ </p>
432
+ <pre class="programlisting">
433
+ &lt;context id="if-in-if0"&gt;
434
+ &lt;start&gt;^#if(n?def)?\b&lt;/start&gt;
435
+ &lt;end&gt;^#endif\b&lt;/end&gt;
436
+ &lt;include&gt;
437
+ </pre>
438
+ <p>
439
+ Nested contexts can be recursive:
440
+ </p>
441
+ <pre class="programlisting">
442
+ &lt;context ref="if-in-if0"/&gt;
443
+ &lt;/include&gt;
444
+ &lt;/context&gt;
445
+ &lt;/include&gt;
446
+ &lt;/context&gt;
447
+ </pre>
448
+ <p>
449
+ Because contexts defined before have higher priority, <code class="code">if0-comment</code> will
450
+ never be matched. To make things work we should move it before the
451
+ <code class="code">preprocessor</code> context, thus giving <code class="code">if0-comment</code> a higher priority.
452
+ </p>
453
+ <p>
454
+ For the <code class="code">#include</code> preprocessor directive it could be useful to highlight
455
+ differently the included file:
456
+ </p>
457
+ <pre class="programlisting">
458
+ &lt;context id="include" style-ref="preprocessor"&gt;
459
+ &lt;match&gt;^#include (".*"|&lt;.*&gt;)&lt;/match&gt;
460
+ &lt;include&gt;
461
+ </pre>
462
+ <p>
463
+ To do this we use grouping sub-patterns in the regular expression,
464
+ associating them with a context with the <code class="code">sub-pattern</code> attribute:
465
+ </p>
466
+ <pre class="programlisting">
467
+ &lt;context id="included-file" sub-pattern="1"
468
+ style-ref="package"/&gt;
469
+ </pre>
470
+ <p>
471
+ In the <code class="code">sub-pattern</code> attribute we could use:
472
+ </p>
473
+ <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
474
+ <li class="listitem"><p>
475
+ 0: the whole regular expression;
476
+ </p></li>
477
+ <li class="listitem"><p>
478
+ 1: the first sub-pattern (a sub-espression enclosed in
479
+ parenthesis);
480
+ </p></li>
481
+ <li class="listitem"><p>
482
+ 2: the second;
483
+ </p></li>
484
+ <li class="listitem"><p>
485
+ ...
486
+ </p></li>
487
+ <li class="listitem"><p>
488
+ <code class="code">name</code>: a named sub-pattern with name <code class="code">name</code> (see the PCRE
489
+ documentation.)
490
+ </p></li>
491
+ </ul></div>
492
+ <p>
493
+ We could also use a <code class="code">where</code> attribute with value
494
+ <code class="code">start</code> or <code class="code">end</code> to
495
+ specify the regular expression the context is referring, when we have both
496
+ the <code class="code">&lt;start&gt;</code> and <code class="code">&lt;end&gt;</code> element.
497
+ </p>
498
+ <pre class="programlisting">
499
+ &lt;/include&gt;
500
+ &lt;/context&gt;
501
+ </pre>
502
+ <p>
503
+ Having defined a good subset of the C syntax we close every tag still open:
504
+ </p>
505
+ <pre class="programlisting">
506
+ &lt;/include&gt;
507
+ &lt;/context&gt;
508
+ &lt;/definitions&gt;
509
+ &lt;/language&gt;
510
+ </pre>
511
+ </div>
512
+ <div class="refsect1">
513
+ <a name="idp4578608"></a><h2>The full language definition</h2>
514
+ <p>
515
+ This is the full language definition for the subset of C taken in consideration
516
+ for this tutorial:
517
+ </p>
518
+ <pre class="programlisting">
519
+ &lt;?xml version="1.0" encoding="UTF-8"?&gt;
520
+ &lt;language id="c" _name="C" version="2.0" _section="Sources"
521
+ mimetypes="text/x-c;text/x-chdr;text/x-csrc"&gt;
522
+ &lt;styles&gt;
523
+ &lt;style id="string" _name="String" map-to="def:string"/&gt;
524
+ &lt;style id="escaped-character" _name="Escaped Character" map-to="def:special-char"/&gt;
525
+ &lt;style id="preprocessor" _name="Preprocessor" map-to="def:preprocessor"/&gt;
526
+ &lt;style id="included-file" _name="Included File" map-to="def:string"/&gt;
527
+ &lt;style id="char" _name="Character" map-to="def:character"/&gt;
528
+ &lt;style id="keyword" _name="Keyword" map-to="def:keyword"/&gt;
529
+ &lt;style id="type" _name="Data Type" map-to="def:type"/&gt;
530
+ &lt;/styles&gt;
531
+ &lt;definitions&gt;
532
+ &lt;context id="c"&gt;
533
+ &lt;include&gt;
534
+
535
+ &lt;context id="comment" style-ref="comment"&gt;
536
+ &lt;start&gt;\/\/&lt;/start&gt;
537
+ &lt;end&gt;$&lt;/end&gt;
538
+ &lt;/context&gt;
539
+
540
+ &lt;context id="string" end-at-line-end="true"
541
+ style-ref="string"&gt;
542
+ &lt;start&gt;"&lt;/start&gt;
543
+ &lt;end&gt;"&lt;/end&gt;
544
+ &lt;include&gt;
545
+ &lt;context id="escaped-character" style-ref="escaped-character"&gt;
546
+ &lt;match&gt;\\.&lt;/match&gt;
547
+ &lt;/context&gt;
548
+ &lt;/include&gt;
549
+ &lt;/context&gt;
550
+
551
+ &lt;context id="comment-multiline"
552
+ style-ref="comment"&gt;
553
+ &lt;start&gt;\/\*&lt;/start&gt;
554
+ &lt;end&gt;\*\/&lt;/end&gt;
555
+ &lt;include&gt;
556
+ &lt;context ref="def:in-comment"/&gt;
557
+ &lt;/include&gt;
558
+ &lt;/context&gt;
559
+
560
+ &lt;context id="char" end-at-line-end="true" style-ref="char"&gt;
561
+ &lt;start&gt;'&lt;/start&gt;
562
+ &lt;end&gt;'&lt;/end&gt;
563
+ &lt;include&gt;
564
+ &lt;context ref="escaped-character"/&gt;
565
+ &lt;/include&gt;
566
+ &lt;/context&gt;
567
+
568
+ &lt;context ref="def:decimal"/&gt;
569
+ &lt;context ref="def:float"/&gt;
570
+
571
+ &lt;context id="keywords" style-ref="keyword"&gt;
572
+ &lt;keyword&gt;if&lt;/keyword&gt;
573
+ &lt;keyword&gt;else&lt;/keyword&gt;
574
+ &lt;keyword&gt;for&lt;/keyword&gt;
575
+ &lt;keyword&gt;while&lt;/keyword&gt;
576
+ &lt;keyword&gt;return&lt;/keyword&gt;
577
+ &lt;keyword&gt;break&lt;/keyword&gt;
578
+ &lt;keyword&gt;switch&lt;/keyword&gt;
579
+ &lt;keyword&gt;case&lt;/keyword&gt;
580
+ &lt;keyword&gt;default&lt;/keyword&gt;
581
+ &lt;keyword&gt;do&lt;/keyword&gt;
582
+ &lt;keyword&gt;continue&lt;/keyword&gt;
583
+ &lt;keyword&gt;goto&lt;/keyword&gt;
584
+ &lt;keyword&gt;sizeof&lt;/keyword&gt;
585
+ &lt;/context&gt;
586
+
587
+ &lt;context id="types" style-ref="type"&gt;
588
+ &lt;keyword&gt;char&lt;/keyword&gt;
589
+ &lt;keyword&gt;const&lt;/keyword&gt;
590
+ &lt;keyword&gt;double&lt;/keyword&gt;
591
+ &lt;keyword&gt;enum&lt;/keyword&gt;
592
+ &lt;keyword&gt;float&lt;/keyword&gt;
593
+ &lt;keyword&gt;int&lt;/keyword&gt;
594
+ &lt;keyword&gt;long&lt;/keyword&gt;
595
+ &lt;keyword&gt;short&lt;/keyword&gt;
596
+ &lt;keyword&gt;signed&lt;/keyword&gt;
597
+ &lt;keyword&gt;static&lt;/keyword&gt;
598
+ &lt;keyword&gt;struct&lt;/keyword&gt;
599
+ &lt;keyword&gt;typedef&lt;/keyword&gt;
600
+ &lt;keyword&gt;union&lt;/keyword&gt;
601
+ &lt;keyword&gt;unsigned&lt;/keyword&gt;
602
+ &lt;keyword&gt;void&lt;/keyword&gt;
603
+ &lt;/context&gt;
604
+
605
+ &lt;context id="preprocessor"
606
+ style-ref="preprocessor"&gt;
607
+ &lt;prefix&gt;^#&lt;/prefix&gt;
608
+
609
+ &lt;keyword&gt;define&lt;/keyword&gt;
610
+ &lt;keyword&gt;undef&lt;/keyword&gt;
611
+ &lt;keyword&gt;if(n?def)?&lt;/keyword&gt;
612
+ &lt;keyword&gt;else&lt;/keyword&gt;
613
+ &lt;keyword&gt;elif&lt;/keyword&gt;
614
+ &lt;keyword&gt;endif&lt;/keyword&gt;
615
+ &lt;/context&gt;
616
+
617
+ &lt;context id="if0-comment" style-ref="comment"&gt;
618
+ &lt;start&gt;^#if 0\b&lt;/start&gt;
619
+ &lt;end&gt;^#(endif|else|elif)\b&lt;/end&gt;
620
+ &lt;include&gt;
621
+ &lt;context id="if-in-if0"&gt;
622
+ &lt;start&gt;^#if(n?def)?\b&lt;/start&gt;
623
+ &lt;end&gt;^#endif\b&lt;/end&gt;
624
+ &lt;include&gt;
625
+ &lt;context ref="if-in-if0"/&gt;
626
+ &lt;/include&gt;
627
+ &lt;/context&gt;
628
+ &lt;/include&gt;
629
+ &lt;/context&gt;
630
+
631
+ &lt;context id="include" style-ref="preprocessor"&gt;
632
+ &lt;match&gt;^#include (".*"|&lt;.*&gt;)&lt;/match&gt;
633
+ &lt;include&gt;
634
+ &lt;context id="included-file"
635
+ sub-pattern="1"
636
+ style-ref="inlcuded-file"/&gt;
637
+ &lt;/include&gt;
638
+ &lt;/context&gt;
639
+
640
+ &lt;/include&gt;
641
+ &lt;/context&gt;
642
+ &lt;/definitions&gt;
643
+ &lt;/language&gt;
644
+ </pre>
645
+ </div>
646
+ </div>
647
+ <div class="footer">
648
+ <hr>
649
+ Generated by GTK-Doc V1.18.1</div>
650
+ </body>
651
+ </html>