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,750 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+
4
+ This file is part of GtkSourceView
5
+
6
+ Author: Archit Baweja <bighead@users.sourceforge.net>
7
+ Copyright (C) 2004 Archit Baweja <bighead@users.sourceforge.net>
8
+ Copyright (C) 2005 Michael Witrant <mike@lepton.fr>
9
+ Copyright (C) 2006 Gabriel Bauman <gabe@codehaus.org>
10
+ Copyright (C) 2013 Jesse van den Kieboom <jessevdk@gnome.org>
11
+
12
+ GtkSourceView is free software; you can redistribute it and/or
13
+ modify it under the terms of the GNU Lesser General Public
14
+ License as published by the Free Software Foundation; either
15
+ version 2.1 of the License, or (at your option) any later version.
16
+
17
+ GtkSourceView is distributed in the hope that it will be useful,
18
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
19
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20
+ Lesser General Public License for more details.
21
+
22
+ You should have received a copy of the GNU Lesser General Public
23
+ License along with this library; if not, write to the Free Software
24
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
25
+
26
+ -->
27
+ <language id="ruby" _name="Ruby" version="2.0" _section="Script">
28
+ <metadata>
29
+ <property name="mimetypes">application/x-ruby;text/x-ruby</property>
30
+ <property name="globs">*.rb;*.rake;*.gemspec;Rakefile;Capfile;Gemfile</property>
31
+ <property name="line-comment-start">#</property>
32
+ </metadata>
33
+
34
+ <styles>
35
+ <style id="escape" _name="Escaped Character" map-to="def:special-char"/>
36
+ <style id="comment" _name="Comment" map-to="def:comment"/>
37
+ <style id="attribute-definition" _name="Attribute Definition" map-to="def:statement"/>
38
+ <style id="module-handler" _name="Module handler" map-to="def:preprocessor"/>
39
+ <style id="keyword" _name="Keyword" map-to="def:keyword"/>
40
+ <style id="nil-value" _name="Nil Constant" map-to="def:special-constant"/>
41
+ <style id="boolean" _name="Boolean value" map-to="def:boolean"/>
42
+ <style id="floating-point" _name="Floating point number" map-to="def:floating-point"/>
43
+ <style id="decimal" _name="Decimal number" map-to="def:decimal"/>
44
+ <style id="base-n-integer" _name="Base-N number" map-to="def:base-n-integer"/>
45
+ <style id="numeric-literal" _name="Numeric literal" map-to="def:base-n-integer"/>
46
+ <style id="string" _name="String" map-to="def:string"/>
47
+ <style id="literal" _name="Literal" map-to="def:special-char"/>
48
+ <!-- Translators: functions that are provided in the language -->
49
+ <style id="builtin" _name="Builtin" map-to="def:type"/>
50
+ <style id="constant" _name="Constant" map-to="def:type"/>
51
+ <style id="symbol" _name="Symbol" map-to="def:string"/>
52
+ <style id="special-variable" _name="Special Variable" map-to="def:identifier"/>
53
+ <style id="predefined-variable" _name="Predefined Variable" map-to="def:identifier"/>
54
+ <style id="variable" _name="Variable" map-to="def:identifier"/>
55
+ <style id="here-doc" _name="Heredoc" map-to="def:string" />
56
+ <style id="here-doc-bound" _name="Heredoc Bound" map-to="def:string"/>
57
+ <style id="regex" _name="Regular Expression" map-to="def:identifier"/>
58
+ </styles>
59
+
60
+ <definitions>
61
+
62
+ <context id="escape" style-ref="escape">
63
+ <match>\\((0-7){3}|(x[a-fA-F0-9]{2})|(c\S)|([CM]-\S)|(M-C-\S)|.)</match>
64
+ </context>
65
+
66
+ <context id="multiline-comment" style-ref="comment" class="comment" class-disabled="no-spell-check">
67
+ <start>^=begin</start>
68
+ <end>^=end</end>
69
+ <include>
70
+ <context ref="escape"/>
71
+ <context ref="def:in-comment"/>
72
+ </include>
73
+ </context>
74
+
75
+ <context id="attribute-definitions" style-ref="attribute-definition">
76
+ <keyword>attr</keyword>
77
+ <keyword>attr_writer</keyword>
78
+ <keyword>attr_reader</keyword>
79
+ <keyword>attr_accessor</keyword>
80
+ </context>
81
+
82
+ <context id="definitions" style-ref="keyword">
83
+ <!-- do not highlight the .class method -->
84
+ <prefix>(?&lt;![\w\.])</prefix>
85
+ <keyword>alias</keyword>
86
+ <keyword>class</keyword>
87
+ <keyword>module</keyword>
88
+ <keyword>def</keyword>
89
+ <keyword>undef</keyword>
90
+ </context>
91
+
92
+ <context id="module-handlers" style-ref="module-handler">
93
+ <keyword>require</keyword>
94
+ <keyword>include</keyword>
95
+ <keyword>load</keyword>
96
+ </context>
97
+
98
+ <context id="keywords" style-ref="keyword">
99
+ <keyword>BEGIN</keyword>
100
+ <keyword>END</keyword>
101
+ <keyword>and</keyword>
102
+ <keyword>begin</keyword>
103
+ <keyword>break</keyword>
104
+ <keyword>case</keyword>
105
+ <keyword>catch</keyword>
106
+ <keyword>defined?</keyword>
107
+ <keyword>do</keyword>
108
+ <keyword>else</keyword>
109
+ <keyword>elsif</keyword>
110
+ <keyword>end</keyword>
111
+ <keyword>ensure</keyword>
112
+ <keyword>for</keyword>
113
+ <keyword>if</keyword>
114
+ <keyword>in</keyword>
115
+ <keyword>next</keyword>
116
+ <keyword>not</keyword>
117
+ <keyword>or</keyword>
118
+ <keyword>private</keyword>
119
+ <keyword>protected</keyword>
120
+ <keyword>public</keyword>
121
+ <keyword>redo</keyword>
122
+ <keyword>rescue</keyword>
123
+ <keyword>retry</keyword>
124
+ <keyword>return</keyword>
125
+ <keyword>then</keyword>
126
+ <keyword>throw</keyword>
127
+ <keyword>unless</keyword>
128
+ <keyword>until</keyword>
129
+ <keyword>when</keyword>
130
+ <keyword>while</keyword>
131
+ <keyword>yield</keyword>
132
+ </context>
133
+
134
+ <context id="builtins" style-ref="builtin">
135
+ <keyword>ARGF</keyword>
136
+ <keyword>ARGV</keyword>
137
+ <keyword>Abbrev</keyword>
138
+ <keyword>ArgumentError</keyword>
139
+ <keyword>Array</keyword>
140
+ <keyword>Base64</keyword>
141
+ <keyword>Benchmark::Tms</keyword>
142
+ <keyword>Benchmark</keyword>
143
+ <keyword>Bignum</keyword>
144
+ <keyword>Binding</keyword>
145
+ <keyword>CGI::Cookie</keyword>
146
+ <keyword>CGI::HtmlExtension</keyword>
147
+ <keyword>CGI::QueryExtension</keyword>
148
+ <keyword>CGI::Session::FileStore</keyword>
149
+ <keyword>CGI::Session::MemoryStore</keyword>
150
+ <keyword>CGI::Session</keyword>
151
+ <keyword>CGI</keyword>
152
+ <keyword>Class</keyword>
153
+ <keyword>Comparable</keyword>
154
+ <keyword>Complex</keyword>
155
+ <keyword>ConditionVariable</keyword>
156
+ <keyword>Continuation</keyword>
157
+ <keyword>DATA</keyword>
158
+ <keyword>Data</keyword>
159
+ <keyword>Date</keyword>
160
+ <keyword>DateTime</keyword>
161
+ <keyword>Delegator</keyword>
162
+ <keyword>Dir</keyword>
163
+ <keyword>ENV</keyword>
164
+ <keyword>EOFError</keyword>
165
+ <keyword>ERB::Util</keyword>
166
+ <keyword>ERB</keyword>
167
+ <keyword>Enumerable::Enumerator</keyword>
168
+ <keyword>Enumerable</keyword>
169
+ <keyword>Errno</keyword>
170
+ <keyword>Exception</keyword>
171
+ <keyword>FalseClass</keyword>
172
+ <keyword>File::Constants</keyword>
173
+ <keyword>File::Stat</keyword>
174
+ <keyword>File</keyword>
175
+ <keyword>FileTest</keyword>
176
+ <keyword>FileUtils::DryRun</keyword>
177
+ <keyword>FileUtils::NoWrite</keyword>
178
+ <keyword>FileUtils::StreamUtils</keyword>
179
+ <keyword>FileUtils::Verbose</keyword>
180
+ <keyword>FileUtils</keyword>
181
+ <keyword>Find</keyword>
182
+ <keyword>Fixnum</keyword>
183
+ <keyword>Float</keyword>
184
+ <keyword>FloatDomainError</keyword>
185
+ <keyword>Forwardable</keyword>
186
+ <keyword>GC</keyword>
187
+ <keyword>Generator</keyword>
188
+ <keyword>Hash</keyword>
189
+ <keyword>IO</keyword>
190
+ <keyword>IOError</keyword>
191
+ <keyword>Iconv::BrokenLibrary</keyword>
192
+ <keyword>Iconv::Failure</keyword>
193
+ <keyword>Iconv::IllegalSequence</keyword>
194
+ <keyword>Iconv::InvalidCharacter</keyword>
195
+ <keyword>Iconv::InvalidEncoding</keyword>
196
+ <keyword>Iconv::OutOfRange</keyword>
197
+ <keyword>Iconv</keyword>
198
+ <keyword>IndexError</keyword>
199
+ <keyword>Integer</keyword>
200
+ <keyword>Interrupt</keyword>
201
+ <keyword>Kernel</keyword>
202
+ <keyword>LoadError</keyword>
203
+ <keyword>LocalJumpError</keyword>
204
+ <keyword>Logger::Application</keyword>
205
+ <keyword>Logger::Error</keyword>
206
+ <keyword>Logger::Formatter</keyword>
207
+ <keyword>Logger::LogDevice::LogDeviceMutex</keyword>
208
+ <keyword>Logger::LogDevice</keyword>
209
+ <keyword>Logger::Severity</keyword>
210
+ <keyword>Logger::ShiftingError</keyword>
211
+ <keyword>Logger</keyword>
212
+ <keyword>Marshal</keyword>
213
+ <keyword>MatchData</keyword>
214
+ <keyword>Math</keyword>
215
+ <keyword>Matrix</keyword>
216
+ <keyword>Method</keyword>
217
+ <keyword>Module</keyword>
218
+ <keyword>Mutex</keyword>
219
+ <keyword>NameError::message</keyword>
220
+ <keyword>NameError</keyword>
221
+ <keyword>NilClass</keyword>
222
+ <keyword>NoMemoryError</keyword>
223
+ <keyword>NoMethodError</keyword>
224
+ <keyword>NotImplementedError</keyword>
225
+ <keyword>Numeric</keyword>
226
+ <keyword>Object</keyword>
227
+ <keyword>ObjectSpace</keyword>
228
+ <keyword>Observable</keyword>
229
+ <keyword>PStore::Error</keyword>
230
+ <keyword>PStore</keyword>
231
+ <keyword>Pathname</keyword>
232
+ <keyword>Precision</keyword>
233
+ <keyword>Proc</keyword>
234
+ <keyword>Process::GID</keyword>
235
+ <keyword>Process::Status</keyword>
236
+ <keyword>Process::Sys</keyword>
237
+ <keyword>Process::UID</keyword>
238
+ <keyword>Process</keyword>
239
+ <keyword>Queue</keyword>
240
+ <keyword>RUBY_PLATFORM</keyword>
241
+ <keyword>RUBY_RELEASE_DATE</keyword>
242
+ <keyword>RUBY_VERSION</keyword>
243
+ <keyword>Range</keyword>
244
+ <keyword>RangeError</keyword>
245
+ <keyword>Rational</keyword>
246
+ <keyword>Regexp</keyword>
247
+ <keyword>RegexpError</keyword>
248
+ <keyword>RuntimeError</keyword>
249
+ <keyword>STDERR</keyword>
250
+ <keyword>STDIN</keyword>
251
+ <keyword>STDOUT</keyword>
252
+ <keyword>ScriptError</keyword>
253
+ <keyword>SecurityError</keyword>
254
+ <keyword>Set</keyword>
255
+ <keyword>Shellwords</keyword>
256
+ <keyword>Signal</keyword>
257
+ <keyword>SignalException</keyword>
258
+ <keyword>SimpleDelegator</keyword>
259
+ <keyword>SingleForwardable</keyword>
260
+ <keyword>Singleton</keyword>
261
+ <keyword>SingletonClassMethods</keyword>
262
+ <keyword>SizedQueue</keyword>
263
+ <keyword>SortedSet</keyword>
264
+ <keyword>StandardError</keyword>
265
+ <keyword>String</keyword>
266
+ <keyword>StringIO</keyword>
267
+ <keyword>StringScanner::Error</keyword>
268
+ <keyword>StringScanner</keyword>
269
+ <keyword>Struct::Tms</keyword>
270
+ <keyword>Struct</keyword>
271
+ <keyword>Symbol</keyword>
272
+ <keyword>SyncEnumerator</keyword>
273
+ <keyword>SyntaxError</keyword>
274
+ <keyword>SystemCallError</keyword>
275
+ <keyword>SystemExit</keyword>
276
+ <keyword>SystemStackError</keyword>
277
+ <keyword>Tempfile</keyword>
278
+ <keyword>Test::Unit</keyword>
279
+ <keyword>Test</keyword>
280
+ <keyword>Thread</keyword>
281
+ <keyword>ThreadError</keyword>
282
+ <keyword>ThreadGroup</keyword>
283
+ <keyword>ThreadsWait</keyword>
284
+ <keyword>Time</keyword>
285
+ <keyword>Timeout::Error</keyword>
286
+ <keyword>Timeout</keyword>
287
+ <keyword>TrueClass</keyword>
288
+ <keyword>TypeError</keyword>
289
+ <keyword>URI::BadURIError</keyword>
290
+ <keyword>URI::Error</keyword>
291
+ <keyword>URI::Escape</keyword>
292
+ <keyword>URI::FTP</keyword>
293
+ <keyword>URI::Generic</keyword>
294
+ <keyword>URI::HTTP</keyword>
295
+ <keyword>URI::HTTPS</keyword>
296
+ <keyword>URI::InvalidComponentError</keyword>
297
+ <keyword>URI::InvalidURIError</keyword>
298
+ <keyword>URI::LDAP</keyword>
299
+ <keyword>URI::MailTo</keyword>
300
+ <keyword>URI::REGEXP::PATTERN</keyword>
301
+ <keyword>URI::REGEXP</keyword>
302
+ <keyword>URI</keyword>
303
+ <keyword>UnboundMethod</keyword>
304
+ <keyword>Vector</keyword>
305
+ <keyword>YAML</keyword>
306
+ <keyword>ZeroDivisionError</keyword>
307
+ <keyword>Zlib::BufError</keyword>
308
+ <keyword>Zlib::DataError</keyword>
309
+ <keyword>Zlib::Deflate</keyword>
310
+ <keyword>Zlib::Error</keyword>
311
+ <keyword>Zlib::GzipFile::CRCError</keyword>
312
+ <keyword>Zlib::GzipFile::Error</keyword>
313
+ <keyword>Zlib::GzipFile::LengthError</keyword>
314
+ <keyword>Zlib::GzipFile::NoFooter</keyword>
315
+ <keyword>Zlib::GzipFile</keyword>
316
+ <keyword>Zlib::GzipReader</keyword>
317
+ <keyword>Zlib::GzipWriter</keyword>
318
+ <keyword>Zlib::Inflate</keyword>
319
+ <keyword>Zlib::MemError</keyword>
320
+ <keyword>Zlib::NeedDict</keyword>
321
+ <keyword>Zlib::StreamEnd</keyword>
322
+ <keyword>Zlib::StreamError</keyword>
323
+ <keyword>Zlib::VersionError</keyword>
324
+ <keyword>Zlib::ZStream</keyword>
325
+ <keyword>Zlib</keyword>
326
+ <keyword>fatal</keyword>
327
+ </context>
328
+
329
+ <context id="special-variables" style-ref="special-variable">
330
+ <keyword>self</keyword>
331
+ <keyword>super</keyword>
332
+ <keyword>__FILE__</keyword>
333
+ <keyword>__LINE__</keyword>
334
+ </context>
335
+
336
+ <context id="predefined-variables" style-ref="predefined-variable">
337
+ <match extended="true">
338
+ \$([!$&amp;"'*+,./0:;&lt;=&gt;?@\`~1-9]|
339
+ -[0FIKadilpvw]|
340
+ (deferr|defout|stderr|stdin|stdout|
341
+ DEBUG|FILENAME|KCODE|LOADED_FEATURES|LOAD_PATH|
342
+ PROGRAM_NAME|SAFE|VERBOSE)\b)
343
+ </match>
344
+ </context>
345
+
346
+ <context id="global-variables" style-ref="variable">
347
+ <match>\$[a-zA-Z_][a-zA-Z0-9_]*</match>
348
+ </context>
349
+
350
+ <context id="class-variables" style-ref="variable">
351
+ <match>@@[a-zA-Z_][a-zA-Z0-9_]*</match>
352
+ </context>
353
+
354
+ <context id="instance-variables" style-ref="variable">
355
+ <match>@[a-zA-Z_][a-zA-Z0-9_]*</match>
356
+ </context>
357
+
358
+ <context id="symbols" style-ref="symbol">
359
+ <match>(?&lt;!:):[a-zA-Z0-9_]+</match>
360
+ </context>
361
+
362
+ <context id="regexp-variables" style-ref="regex">
363
+ <match>\$[1-9][0-9]*</match>
364
+ </context>
365
+
366
+ <context id="constants" style-ref="constant">
367
+ <match>(::)?\b[A-Z][A-Za-z0-9_]*\b</match>
368
+ </context>
369
+
370
+ <context id="nil-value" style-ref="nil-value">
371
+ <keyword>NIL</keyword>
372
+ <keyword>nil</keyword>
373
+ </context>
374
+
375
+ <context id="boolean" style-ref="boolean">
376
+ <keyword>FALSE</keyword>
377
+ <keyword>TRUE</keyword>
378
+ <keyword>false</keyword>
379
+ <keyword>true</keyword>
380
+ </context>
381
+
382
+ <define-regex id="underscore_num">\d(_?\d)*</define-regex>
383
+
384
+ <define-regex id="float" extended="true">
385
+ ( \%{underscore_num}\.\%{underscore_num} ) |
386
+ ( (\%{underscore_num}(\.\%{underscore_num})?)[eE][+-]?\%{underscore_num} )
387
+ </define-regex>
388
+
389
+ <context id="float" style-ref="floating-point">
390
+ <match>(?&lt;![\w\.])\%{float}(?![\w\.])</match>
391
+ </context>
392
+
393
+ <context id="decimal" style-ref="decimal">
394
+ <match>(?&lt;![\w\.])([1-9](_?[0-9])*|0)(?![\w\.])</match>
395
+ </context>
396
+
397
+ <context id="hex" style-ref="base-n-integer">
398
+ <match>(?&lt;![\w\.])0[xX][0-9A-Fa-f](_?[0-9A-Fa-f])*(?![\w\.])</match>
399
+ </context>
400
+
401
+ <context id="octal" style-ref="base-n-integer">
402
+ <match>(?&lt;![\w\.])0[0-7](_?[0-7])*(?![\w\.])</match>
403
+ </context>
404
+
405
+ <context id="binary" style-ref="base-n-integer">
406
+ <match>(?&lt;![\w\.])0[bB][01](_?[01])*(?![\w\.])</match>
407
+ </context>
408
+
409
+ <context id="numeric-literal" style-ref="numeric-literal">
410
+ <match>(?&lt;![\w\.])\?((\\[MC]-){1,2}|\\?)\S</match>
411
+ </context>
412
+
413
+ <!-- in double quotes and backticks -->
414
+ <context id="simple-interpolation">
415
+ <start>#(?=[@$])</start> <!-- need assertion to not highlight single # -->
416
+ <end></end>
417
+ <include>
418
+ <context ref="class-variables"/>
419
+ <context ref="instance-variables"/>
420
+ <context ref="global-variables"/>
421
+ </include>
422
+ </context>
423
+
424
+ <!-- in double quotes and backticks -->
425
+ <!-- FIXME: really would like for the syntax highlight to go back
426
+ to none here, as any ruby code could go here -->
427
+ <context id="complex-interpolation">
428
+ <start>#{</start>
429
+ <end>}</end>
430
+ <include>
431
+ <context ref="ruby:*"/>
432
+ </include>
433
+ </context>
434
+
435
+ <context id="inside-interpolated-string">
436
+ <include>
437
+ <context ref="escape"/>
438
+ <context ref="def:line-continue"/>
439
+ <context ref="complex-interpolation"/>
440
+ <context ref="simple-interpolation"/>
441
+ </include>
442
+ </context>
443
+
444
+ <!-- ruby strings do not end at line end,
445
+ so we cannot use def:string
446
+ (parts lifted from perl.lang) -->
447
+ <context id="double-quoted-string" style-ref="string" class="string" class-disabled="no-spell-check">
448
+ <start>"</start>
449
+ <end>"</end>
450
+ <include>
451
+ <context ref="inside-interpolated-string"/>
452
+ </include>
453
+ </context>
454
+
455
+ <context id="single-quoted-string" style-ref="string" class="string" class-disabled="no-spell-check">
456
+ <start>'</start>
457
+ <end>'</end>
458
+ <include>
459
+ <context style-ref="escape">
460
+ <match>\\['\\]</match>
461
+ </context>
462
+ </include>
463
+ </context>
464
+
465
+ <context id="backtick-quoted-string" style-ref="string">
466
+ <start>`</start>
467
+ <end>`</end>
468
+ <include>
469
+ <context ref="inside-interpolated-string"/>
470
+ </include>
471
+ </context>
472
+
473
+ <context id="here-doc-string" style-ref="here-doc" style-inside="true">
474
+ <start>&lt;&lt;([a-zA-Z_]\w*)</start>
475
+ <end>^\%{1@start}</end>
476
+ <include>
477
+ <context ref="inside-interpolated-string"/>
478
+ </include>
479
+ </context>
480
+
481
+ <context id="here-doc-indented-string" style-ref="here-doc" style-inside="true">
482
+ <start>&lt;&lt;-([a-zA-Z_]\w*)</start>
483
+ <end>^\s*\%{1@start}</end>
484
+ <include>
485
+ <context ref="inside-interpolated-string"/>
486
+ </include>
487
+ </context>
488
+
489
+ <context id="here-doc-single-quoted-string" style-ref="here-doc" style-inside="true">
490
+ <start>&lt;&lt;'(\w+)'</start>
491
+ <end>^\%{1@start}</end>
492
+ <include>
493
+ <context sub-pattern="0" where="start" style-ref="here-doc-bound"/>
494
+ <context sub-pattern="0" where="end" style-ref="here-doc-bound"/>
495
+ </include>
496
+ </context>
497
+
498
+ <context id="here-doc-double-quoted-string" style-ref="here-doc" style-inside="true">
499
+ <start>&lt;&lt;"(\w+)"</start>
500
+ <end>^\%{1@start}</end>
501
+ <include>
502
+ <context sub-pattern="0" where="start" style-ref="here-doc-bound"/>
503
+ <context sub-pattern="0" where="end" style-ref="here-doc-bound"/>
504
+ <context ref="inside-interpolated-string"/>
505
+ </include>
506
+ </context>
507
+
508
+ <context id="interpolated-literal">
509
+ <include>
510
+ <context style-ref="string" style-inside="true">
511
+ <start>[%][QWx]?\(</start>
512
+ <end>\)</end>
513
+ <include>
514
+ <context where="start" sub-pattern="0" style-ref="literal"/>
515
+ <context where="end" sub-pattern="0" style-ref="literal"/>
516
+
517
+ <context ref="inside-interpolated-string"/>
518
+ <context>
519
+ <start>\(</start>
520
+ <end>\)</end>
521
+ </context>
522
+ </include>
523
+ </context>
524
+
525
+ <context style-ref="string" style-inside="true" >
526
+ <start>[%][QWx]?\[</start>
527
+ <end>]</end>
528
+ <include>
529
+ <context where="start" sub-pattern="0" style-ref="literal"/>
530
+ <context where="end" sub-pattern="0" style-ref="literal"/>
531
+
532
+ <context ref="inside-interpolated-string"/>
533
+ <context>
534
+ <start>\[</start>
535
+ <end>]</end>
536
+ </context>
537
+
538
+ </include>
539
+ </context>
540
+
541
+ <context style-ref="string" style-inside="true">
542
+ <start>[%][QWx]?{</start>
543
+ <end>}</end>
544
+ <include>
545
+ <context where="start" sub-pattern="0" style-ref="literal"/>
546
+ <context where="end" sub-pattern="0" style-ref="literal"/>
547
+
548
+ <context ref="inside-interpolated-string"/>
549
+ <context>
550
+ <start>{</start>
551
+ <end>}</end>
552
+ </context>
553
+ </include>
554
+ </context>
555
+
556
+ <context style-ref="string" style-inside="true">
557
+ <start>[%][QWx]?&lt;</start>
558
+ <end>&gt;</end>
559
+ <include>
560
+ <context where="start" sub-pattern="0" style-ref="literal"/>
561
+ <context where="end" sub-pattern="0" style-ref="literal"/>
562
+
563
+ <context ref="inside-interpolated-string"/>
564
+ <context>
565
+ <start>&lt;</start>
566
+ <end>&gt;</end>
567
+ </context>
568
+ </include>
569
+ </context>
570
+
571
+ <context style-ref="string" style-inside="true">
572
+ <start>[%][QWx]?([^[:alnum:]{&lt;[(])</start>
573
+ <end>\%{1@start}</end>
574
+ <include>
575
+ <context where="start" sub-pattern="0" style-ref="literal"/>
576
+ <context where="end" sub-pattern="0" style-ref="literal"/>
577
+
578
+ <context ref="inside-interpolated-string"/>
579
+ </include>
580
+ </context>
581
+ </include>
582
+ </context>
583
+
584
+ <context id="non-interpolated-literal">
585
+ <include>
586
+ <context style-ref="string" style-inside="true">
587
+ <start>[%][qsw]\(</start>
588
+ <end>\)</end>
589
+ <include>
590
+ <context where="start" sub-pattern="0" style-ref="literal"/>
591
+ <context where="end" sub-pattern="0" style-ref="literal"/>
592
+
593
+ <context style-ref="escape">
594
+ <match>\\['\\]</match>
595
+ </context>
596
+ <context>
597
+ <start>\(</start>
598
+ <end>\)</end>
599
+ </context>
600
+ </include>
601
+ </context>
602
+
603
+ <context style-ref="string" style-inside="true">
604
+ <start>[%][qsw]\[</start>
605
+ <end>]</end>
606
+ <include>
607
+ <context where="start" sub-pattern="0" style-ref="literal"/>
608
+ <context where="end" sub-pattern="0" style-ref="literal"/>
609
+
610
+ <context style-ref="escape">
611
+ <match>\\['\\]</match>
612
+ </context>
613
+ <context>
614
+ <start>\[</start>
615
+ <end>]</end>
616
+ </context>
617
+ </include>
618
+ </context>
619
+
620
+ <context style-ref="string" style-inside="true">
621
+ <start>[%][qsw]\{</start>
622
+ <end>\}</end>
623
+ <include>
624
+ <context where="start" sub-pattern="0" style-ref="literal"/>
625
+ <context where="end" sub-pattern="0" style-ref="literal"/>
626
+
627
+ <context style-ref="escape">
628
+ <match>\\['\\]</match>
629
+ </context>
630
+ <context>
631
+ <start>\{</start>
632
+ <end>\}</end>
633
+ </context>
634
+ </include>
635
+ </context>
636
+
637
+ <context style-ref="string" style-inside="true">
638
+ <start>[%][qsw]&lt;</start>
639
+ <end>&gt;</end>
640
+ <include>
641
+ <context where="start" sub-pattern="0" style-ref="literal"/>
642
+ <context where="end" sub-pattern="0" style-ref="literal"/>
643
+
644
+ <context style-ref="escape">
645
+ <match>\\['\\]</match>
646
+ </context>
647
+ <context>
648
+ <start>&lt;</start>
649
+ <end>&gt;</end>
650
+ </context>
651
+ </include>
652
+ </context>
653
+
654
+ <context style-ref="string" style-inside="true">
655
+ <start>[%][qsw]([^[:alnum:]{&lt;[(])</start>
656
+ <end>\%{1@start}</end>
657
+ <include>
658
+ <context where="start" sub-pattern="0" style-ref="literal"/>
659
+ <context where="end" sub-pattern="0" style-ref="literal"/>
660
+
661
+ <context style-ref="escape">
662
+ <match>\\['\\]</match>
663
+ </context>
664
+ </include>
665
+ </context>
666
+ </include>
667
+ </context>
668
+
669
+ <define-regex id="regex-opts">[iomx]*[neus]?[iomx]*</define-regex>
670
+
671
+ <context id="regex-bracketed" style-ref="escape" style-inside="true">
672
+ <start>(?&lt;!\\)[[]</start>
673
+ <end>(?&lt;!\\)]</end>
674
+ </context>
675
+
676
+ <context id="regex-alt-form" style-ref="regex">
677
+ <start>\%r\|</start>
678
+ <end>\|\%{regex-opts}</end>
679
+ <include>
680
+ <context ref="escape"/>
681
+ <context ref="def:line-continue"/>
682
+ <context ref="complex-interpolation"/>
683
+ <context ref="simple-interpolation"/>
684
+ <context ref="regex-bracketed"/>
685
+ </include>
686
+ </context>
687
+
688
+ <context id="regex-simple" style-ref="regex">
689
+ <start extended="true">
690
+ ((?&lt;=([(]|\s))|^)
691
+ \/
692
+ (?=
693
+ ([^/\\]*(\\.))*
694
+ [^/]*
695
+ \/
696
+ \%{regex-opts}
697
+ ([),;.]|\s|$)
698
+ )</start>
699
+ <end>\/\%{regex-opts}</end>
700
+ <include>
701
+ <context ref="escape"/>
702
+ <context ref="def:line-continue"/>
703
+ <context ref="complex-interpolation"/>
704
+ <context ref="simple-interpolation"/>
705
+ <context ref="regex-bracketed"/>
706
+ </include>
707
+ </context>
708
+
709
+ <context id="ruby" class="no-spell-check">
710
+ <include>
711
+ <context ref="def:shebang"/>
712
+ <context ref="def:shell-like-comment"/>
713
+ <context ref="multiline-comment"/>
714
+ <context ref="here-doc-single-quoted-string"/>
715
+ <context ref="here-doc-double-quoted-string"/>
716
+ <context ref="here-doc-string"/>
717
+ <context ref="here-doc-indented-string"/>
718
+ <context ref="double-quoted-string"/>
719
+ <context ref="single-quoted-string"/>
720
+ <context ref="backtick-quoted-string"/>
721
+ <context ref="attribute-definitions"/>
722
+ <context ref="definitions"/>
723
+ <context ref="module-handlers"/>
724
+ <context ref="keywords"/>
725
+ <context ref="builtins"/>
726
+ <context ref="special-variables"/>
727
+ <context ref="predefined-variables"/>
728
+ <context ref="global-variables"/>
729
+ <context ref="class-variables"/>
730
+ <context ref="instance-variables"/>
731
+ <context ref="symbols"/>
732
+ <context ref="regexp-variables"/>
733
+ <context ref="constants"/>
734
+ <context ref="nil-value"/>
735
+ <context ref="boolean"/>
736
+ <context ref="float"/>
737
+ <context ref="decimal"/>
738
+ <context ref="hex"/>
739
+ <context ref="octal"/>
740
+ <context ref="binary"/>
741
+ <context ref="numeric-literal"/>
742
+ <context ref="regex-alt-form"/>
743
+ <context ref="regex-simple"/>
744
+ <context ref="non-interpolated-literal"/>
745
+ <context ref="interpolated-literal"/>
746
+ </include>
747
+ </context>
748
+
749
+ </definitions>
750
+ </language>