gtksourceview3 2.2.4-x64-mingw32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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,325 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!--
3
+
4
+ This file is part of GtkSourceView
5
+
6
+ Author: Alexander Kuleshov <kuleshovmail@gmail.com>
7
+ Copyright (C) 2009-2010 Alexander Kuleshov <kuleshovmail@gmail.com>
8
+
9
+ GtkSourceView is free software; you can redistribute it and/or
10
+ modify it under the terms of the GNU Lesser General Public
11
+ License as published by the Free Software Foundation; either
12
+ version 2.1 of the License, or (at your option) any later version.
13
+
14
+ GtkSourceView is distributed in the hope that it will be useful,
15
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17
+ Lesser General Public License for more details.
18
+
19
+ You should have received a copy of the GNU Lesser General Public
20
+ License along with this library; if not, write to the Free Software
21
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22
+
23
+ -->
24
+
25
+ <language id="fsharp" _name="F#" version="2.0" _section="Source">
26
+ <metadata>
27
+ <property name="mimetypes">text/x-fsharp</property>
28
+ <property name="globs">*.fs;</property>
29
+ <property name="line-comment-start">//</property>
30
+ <property name="block-comment-start">(*</property>
31
+ <property name="block-comment-end">*)</property>
32
+ </metadata>
33
+ <styles>
34
+ <style id="comment" _name="Comment" map-to="def:comment"/>
35
+ <style id="base-n-integer" _name="Base-N Integer" map-to="def:base-n-integer"/>
36
+ <style id="floating-point" _name="Floating Point number" map-to="def:floating-point"/>
37
+ <style id="decimal" _name="Decimal number" map-to="def:decimal"/>
38
+ <style id="string" _name="String" map-to="def:string"/>
39
+ <style id="keyword" _name="Keyword" map-to="def:keyword"/>
40
+ <style id="meta-keyword" _name="Type, module or object keyword" map-to="def:keyword"/>
41
+ <style id="fun-keyword" _name="Builtin-function keyword" map-to="def:keyword"/>
42
+ <style id="type" _name="Data Type" map-to="def:type"/>
43
+ <style id="label" _name="Labeled argument" map-to="def:type"/>
44
+ <style id="poly-variant" _name="Polymorphic Variant" map-to="def:type"/>
45
+ <style id="variant" _name="Variant Constructor" map-to="def:type"/>
46
+ <!-- Translators: this is a specific variable called Type -->
47
+ <style id="type-var" _name="Type Variable" map-to="def:type"/>
48
+ <style id="module" _name="Module Path" map-to="def:type"/>
49
+ <style id="escape" _name="Escaped Character" map-to="def:special-char"/>
50
+ <style id="boolean" _name="Boolean value" map-to="def:boolean"/>
51
+ <style id="preprocessor" _name="Preprocessor" map-to="def:preprocessor"/>
52
+ <style id="null-value" _name="Null Value" map-to="def:special-constant"/>
53
+ </styles>
54
+
55
+ <definitions>
56
+ <define-regex id="cap-ident">\b[A-Z][A-Za-z0-9_']*</define-regex>
57
+ <define-regex id="low-ident">\b[a-z][A-Za-z0-9_']*</define-regex>
58
+ <define-regex id="char-esc">\\((\\|"|'|n|t|b|r)|[0-9]{3}|x[0-9a-fA-F]{2})</define-regex>
59
+ <define-regex id="preproc-start">^\s*#\s*</define-regex>
60
+ <define-regex id="symbolchar">[!#$%&amp;*+./&gt;=&lt;?@:\\^|~-]</define-regex>
61
+
62
+ <context id="escape-seq" style-ref="escape">
63
+ <match>\%{char-esc}</match>
64
+ </context>
65
+
66
+ <context id="line-comment" style-ref="comment" end-at-line-end="true" class="comment" class-disabled="no-spell-check">
67
+ <start>//</start>
68
+ <include>
69
+ <context ref="def:in-line-comment"/>
70
+ </include>
71
+ </context>
72
+
73
+ <context id="multiline-comment" style-ref="comment" class="comment" class-disabled="no-spell-check">
74
+ <start>\(\*</start>
75
+ <end>\*\)</end>
76
+ <include>
77
+ <context ref="string"/>
78
+ <context ref="def:in-comment:*"/>
79
+ </include>
80
+ </context>
81
+
82
+ <context id="if0-comment" style-ref="comment" class="comment" class-disabled="no-spell-check">
83
+ <start>\%{preproc-start}if\b\s*0\b</start>
84
+ <end>\%{preproc-start}(endif|else|elif)\b</end>
85
+ <include>
86
+ <context id="if-in-if0">
87
+ <start>\%{preproc-start}if(n?def)?\b</start>
88
+ <end>\%{preproc-start}endif\b</end>
89
+ <include>
90
+ <context ref="if-in-if0"/>
91
+ <context ref="def:in-comment"/>
92
+ </include>
93
+ </context>
94
+ <context ref="def:in-comment"/>
95
+ </include>
96
+ </context>
97
+
98
+ <context id="preprocessor" style-ref="preprocessor" end-at-line-end="true">
99
+ <start extended="true">
100
+ \%{preproc-start}
101
+ (if(n?def)?|else|endif|light|region|endregion)\b
102
+ </start>
103
+ <include>
104
+ <context ref="def:line-continue" ignore-style="true"/>
105
+ <context ref="string" ignore-style="true"/>
106
+ <context ref="line-comment"/>
107
+ <context ref="multiline-comment"/>
108
+ </include>
109
+ </context>
110
+
111
+ <context id="hex-number" style-ref="base-n-integer">
112
+ <match>[-]?0[xX][0-9A-Fa-f][0-9A-Fa-f_]*[lL]?</match>
113
+ </context>
114
+
115
+ <context id="octal-number" style-ref="base-n-integer">
116
+ <match>[-]?0[oO][0-7][0-7_]*[lL]?</match>
117
+ </context>
118
+
119
+ <context id="binary-number" style-ref="base-n-integer">
120
+ <match>[-]?0[bB][01][01_]*[lL]?</match>
121
+ </context>
122
+
123
+ <context id="label" style-ref="label">
124
+ <match>[~?]\%{low-ident}</match>
125
+ </context>
126
+
127
+ <context id="if-false-comment" style-ref="comment">
128
+ <start>\%{preproc-start}if\s*false\b</start>
129
+ <end>\%{preproc-start}(endif|else|elif)\b</end>
130
+ <include>
131
+ <context id="if-in-if-false">
132
+ <start>\%{preproc-start}if(n?def)?\b</start>
133
+ <end>\%{preproc-start}endif\b</end>
134
+ <include>
135
+ <context ref="if-in-if-false"/>
136
+ <context ref="def:in-comment"/>
137
+ </include>
138
+ </context>
139
+ <context ref="def:in-comment"/>
140
+ </include>
141
+ </context>
142
+
143
+ <context id="poly-variant" style-ref="poly-variant">
144
+ <match>`\%{cap-ident}</match>
145
+ </context>
146
+
147
+ <context id="modpath" style-ref="module">
148
+ <match>\%{cap-ident}(\.\%{cap-ident})*(?=\.)</match>
149
+ </context>
150
+
151
+ <context id="variant" style-ref="variant">
152
+ <match>\%{cap-ident}</match>
153
+ </context>
154
+
155
+ <context id="string" style-ref="string">
156
+ <start>"</start>
157
+ <end>"</end>
158
+ <include>
159
+ <context ref="escape-seq"/>
160
+ </include>
161
+ </context>
162
+
163
+ <context id="character-constant" style-ref="string">
164
+ <match>('\%{char-esc}')|('[^\\']')</match>
165
+ </context>
166
+
167
+ <context id="type-var" style-ref="type-var">
168
+ <match>'\%{low-ident}</match>
169
+ </context>
170
+
171
+ <context id="arraylit">
172
+ <start>\[\|</start>
173
+ <end>\|\]</end>
174
+ </context>
175
+
176
+ <context id="decimal" style-ref="decimal">
177
+ <match extended="true">
178
+ (?&lt;![\w\.])
179
+ [0-9]+[uUlL]*
180
+ (?![\w\.])
181
+ </match>
182
+ </context>
183
+
184
+ <context id="boolean-constant" style-ref="boolean">
185
+ <keyword>true</keyword>
186
+ <keyword>false</keyword>
187
+ </context>
188
+
189
+ <context id="keysymbol" style-ref="keyword">
190
+ <prefix>(?&lt;!\%{symbolchar})</prefix>
191
+ <suffix>(?!\%{symbolchar})</suffix>
192
+ <keyword>\.\.</keyword>
193
+ <keyword>::</keyword>
194
+ <keyword>=</keyword>
195
+ <keyword>@</keyword>
196
+ <keyword>~</keyword>
197
+ <keyword>-></keyword>
198
+ <keyword>|</keyword>
199
+ <keyword>:?</keyword>
200
+ <keyword>:?></keyword>
201
+ <keyword>^</keyword>
202
+ <keyword>&lt;-</keyword>
203
+ <keyword>&amp;&amp;</keyword>
204
+ <keyword>&amp;</keyword>
205
+ </context>
206
+
207
+ <context id="keywords" style-ref="keyword">
208
+ <keyword>abstract</keyword>
209
+ <keyword>and</keyword>
210
+ <keyword>as</keyword>
211
+ <keyword>assert</keyword>
212
+ <keyword>asr</keyword>
213
+ <keyword>begin</keyword>
214
+ <keyword>class</keyword>
215
+ <keyword>default</keyword>
216
+ <keyword>delegate</keyword>
217
+ <keyword>do</keyword>
218
+ <keyword>done</keyword>
219
+ <keyword>downcast</keyword>
220
+ <keyword>downto</keyword>
221
+ <keyword>else</keyword>
222
+ <keyword>end</keyword>
223
+ <keyword>enum</keyword>
224
+ <keyword>exception</keyword>
225
+ <keyword>false</keyword>
226
+ <keyword>finaly</keyword>
227
+ <keyword>for</keyword>
228
+ <keyword>fun</keyword>
229
+ <keyword>function</keyword>
230
+ <keyword>if</keyword>
231
+ <keyword>in</keyword>
232
+ <keyword>iherit</keyword>
233
+ <keyword>interface</keyword>
234
+ <keyword>land</keyword>
235
+ <keyword>lazy</keyword>
236
+ <keyword>let</keyword>
237
+ <keyword>lor</keyword>
238
+ <keyword>lsl</keyword>
239
+ <keyword>lsr</keyword>
240
+ <keyword>lxor</keyword>
241
+ <keyword>match</keyword>
242
+ <keyword>member</keyword>
243
+ <keyword>mod</keyword>
244
+ <keyword>module</keyword>
245
+ <keyword>mutable</keyword>
246
+ <keyword>namespace</keyword>
247
+ <keyword>new</keyword>
248
+ <keyword>null</keyword>
249
+ <keyword>of</keyword>
250
+ <keyword>open</keyword>
251
+ <keyword>or</keyword>
252
+ <keyword>override</keyword>
253
+ <keyword>sig</keyword>
254
+ <keyword>static</keyword>
255
+ <keyword>struct</keyword>
256
+ <keyword>then</keyword>
257
+ <keyword>to</keyword>
258
+ <keyword>true</keyword>
259
+ <keyword>try</keyword>
260
+ <keyword>type</keyword>
261
+ <keyword>val</keyword>
262
+ <keyword>when</keyword>
263
+ <keyword>inline</keyword>
264
+ <keyword>upcast</keyword>
265
+ <keyword>while</keyword>
266
+ <keyword>with</keyword>
267
+ <keyword>async</keyword>
268
+ <keyword>atomic</keyword>
269
+ <keyword>break</keyword>
270
+ <keyword>checked</keyword>
271
+ <keyword>component</keyword>
272
+ <keyword>const</keyword>
273
+ <keyword>constructor</keyword>
274
+ <keyword>continue</keyword>
275
+ <keyword>eager</keyword>
276
+ <keyword>event</keyword>
277
+ <keyword>external</keyword>
278
+ <keyword>fixed</keyword>
279
+ <keyword>functor</keyword>
280
+ <keyword>include</keyword>
281
+ <keyword>method</keyword>
282
+ <keyword>mixin</keyword>
283
+ <keyword>process</keyword>
284
+ <keyword>property</keyword>
285
+ <keyword>protected</keyword>
286
+ <keyword>public</keyword>
287
+ <keyword>pure</keyword>
288
+ <keyword>readonly</keyword>
289
+ <keyword>return</keyword>
290
+ <keyword>sealed</keyword>
291
+ <keyword>switch</keyword>
292
+ <keyword>virtual</keyword>
293
+ <keyword>void</keyword>
294
+ <keyword>volatile</keyword>
295
+ <keyword>where</keyword>
296
+ </context>
297
+
298
+ <!-- main context -->
299
+ <context id="fsharp" class="no-spell-check">
300
+ <include>
301
+ <context ref="keywords"/>
302
+ <context ref="keysymbol"/>
303
+ <context ref="boolean-constant"/>
304
+ <context ref="arraylit"/>
305
+ <context ref="character-constant"/>
306
+ <context ref="string"/>
307
+ <context ref="variant"/>
308
+ <context ref="modpath"/>
309
+ <context ref="poly-variant"/>
310
+ <context ref="label"/>
311
+ <context ref="binary-number"/>
312
+ <context ref="octal-number"/>
313
+ <context ref="hex-number"/>
314
+ <context ref="line-comment"/>
315
+ <context ref="multiline-comment"/>
316
+ <context ref="type-var"/>
317
+ <context ref="if-false-comment"/>
318
+ <context ref="preprocessor"/>
319
+ <context ref="if0-comment"/>
320
+ <context ref="decimal"/>
321
+ </include>
322
+ </context>
323
+ <!-- main context -->
324
+ </definitions>
325
+ </language>
@@ -0,0 +1,85 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+
4
+ This file is part of GtkSourceView
5
+
6
+ Author: Yevgen Muntyan <muntyan@tamu.edu>
7
+ Copyright (C) 2006-2007 Yevgen Muntyan <muntyan@tamu.edu>
8
+
9
+ GtkSourceView is free software; you can redistribute it and/or
10
+ modify it under the terms of the GNU Lesser General Public
11
+ License as published by the Free Software Foundation; either
12
+ version 2.1 of the License, or (at your option) any later version.
13
+
14
+ GtkSourceView is distributed in the hope that it will be useful,
15
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17
+ Lesser General Public License for more details.
18
+
19
+ You should have received a copy of the GNU Lesser General Public
20
+ License along with this library; if not, write to the Free Software
21
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22
+
23
+ -->
24
+ <language id="gap" _name="GAP" version="2.0" _section="Scientific">
25
+ <metadata>
26
+ <property name="mimetypes">text/x-gap</property>
27
+ <property name="globs">*.g;*.gd;*.gi;*.gap</property>
28
+ <property name="line-comment-start">#</property>
29
+ </metadata>
30
+
31
+ <styles>
32
+ <style id="comment" _name="Comment" map-to="def:comment"/>
33
+ <style id="character" _name="Character" map-to="def:string"/>
34
+ <style id="keyword" _name="Keyword" map-to="def:keyword"/>
35
+ <style id="function" _name="Function" map-to="def:function"/>
36
+ <style id="decimal" _name="Decimal" map-to="def:decimal"/>
37
+ </styles>
38
+
39
+ <definitions>
40
+ <context id="character" style-ref="character">
41
+ <match>\'(\\[trnb\\\'\"]|[^\\])\'</match>
42
+ </context>
43
+ <context id="keyword" style-ref="keyword">
44
+ <keyword>and</keyword>
45
+ <keyword>break</keyword>
46
+ <keyword>continue</keyword>
47
+ <keyword>do</keyword>
48
+ <keyword>elif</keyword>
49
+ <keyword>else</keyword>
50
+ <keyword>end</keyword>
51
+ <keyword>fail</keyword>
52
+ <keyword>false</keyword>
53
+ <keyword>fi</keyword>
54
+ <keyword>for</keyword>
55
+ <keyword>function</keyword>
56
+ <keyword>if</keyword>
57
+ <keyword>in</keyword>
58
+ <keyword>infinity</keyword>
59
+ <keyword>local</keyword>
60
+ <keyword>not</keyword>
61
+ <keyword>od</keyword>
62
+ <keyword>or</keyword>
63
+ <keyword>rec</keyword>
64
+ <keyword>repeat</keyword>
65
+ <keyword>return</keyword>
66
+ <keyword>then</keyword>
67
+ <keyword>true</keyword>
68
+ <keyword>until</keyword>
69
+ <keyword>while</keyword>
70
+ </context>
71
+ <context id="decimal" style-ref="decimal">
72
+ <match>\b[0-9]+\b</match>
73
+ </context>
74
+
75
+ <context id="gap">
76
+ <include>
77
+ <context ref="def:shell-like-comment"/>
78
+ <context ref="def:string"/>
79
+ <context ref="character"/>
80
+ <context ref="keyword"/>
81
+ <context ref="decimal"/>
82
+ </include>
83
+ </context>
84
+ </definitions>
85
+ </language>
@@ -0,0 +1,152 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+ Copyright (C) 2010 Philip Withnall <philip@tecnocode.co.uk>
4
+
5
+ GtkSourceView is free software; you can redistribute it and/or
6
+ modify it under the terms of the GNU Lesser General Public
7
+ License as published by the Free Software Foundation; either
8
+ version 2.1 of the License, or (at your option) any later version.
9
+
10
+ GtkSourceView is distributed in the hope that it will be useful,
11
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
+ Lesser General Public License for more details.
14
+
15
+ You should have received a copy of the GNU Lesser General Public
16
+ License along with this library; if not, write to the Free Software
17
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18
+ -->
19
+ <language id="gdb-log" _name="GDB Log" version="2.0" _section="Other">
20
+ <metadata>
21
+ <property name="globs">*.gdb</property>
22
+ </metadata>
23
+
24
+ <styles>
25
+ <style id="thread-action" _name="Thread Action" map-to="def:comment"/>
26
+ <style id="thread-header" _name="Thread Header" map-to="def:statement"/>
27
+ <style id="frame-number" _name="Frame Number" map-to="def:keyword"/>
28
+ <style id="address" _name="Address" map-to="def:number"/>
29
+ <style id="function" _name="Function" map-to="def:function"/>
30
+ <style id="string" _name="String" map-to="def:string"/>
31
+ <style id="filename" _name="Filename" map-to="def:statement"/>
32
+ <style id="optimized-out" _name="Optimized Out" map-to="def:special-constant"/>
33
+ <style id="incomplete-sequence" _name="Incomplete Sequence" map-to="def:special-constant"/>
34
+ <style id="prompt" _name="Prompt" map-to="def:comment"/>
35
+ </styles>
36
+
37
+ <definitions>
38
+ <define-regex id="identifier">[A-Za-z_][A-Za-z0-9_]*(?:@@[A-Za-z0-9_\.]+)?</define-regex>
39
+ <define-regex id="filename">[A-Za-z0-9_/\-\.]+</define-regex>
40
+
41
+ <!-- Either a decimal number (single to multi-digit, signed or unsigned) or a standard hexadecimal number -->
42
+ <define-regex id="thread-number">(?:-?[1-9][0-9]*|\%{def:hexadecimal})</define-regex>
43
+
44
+ <!-- Allow reuse of the frame regexes so we can use them in frame and crash-frame -->
45
+ <define-regex id="frame-start">((?P&lt;address&gt;\%{def:hexadecimal})\s+in\s+)?(?:(?P&lt;function&gt;\*?\%{identifier})|(?P&lt;badfunction&gt;\?\?))\s+\(</define-regex>
46
+ <define-regex id="frame-end">(?:(?:at|from)\s+(?P&lt;filename&gt;\%{filename})(?P&lt;linenumber&gt;\:[0-9]+)?|\))$</define-regex>
47
+
48
+ <context id="optimized-out" style-ref="optimized-out">
49
+ <keyword>value optimized out</keyword>
50
+ </context>
51
+
52
+ <context id="incomplete-sequence" style-ref="incomplete-sequence">
53
+ <keyword>incomplete sequence</keyword>
54
+ </context>
55
+
56
+ <context id="prompt" style-ref="prompt" end-at-line-end="true">
57
+ <start>\(gdb\)|---|Kill|Using|Program|Starting|No symbol</start>
58
+ <end>---$</end>
59
+ </context>
60
+
61
+ <context id="thread-action" style-ref="thread-action">
62
+ <!--[New Thread 0xb73ffb70 (LWP 26323)]
63
+ [Thread 0xb73ffb70 (LWP 26323) exited]
64
+ [Switching to Thread 0xb7fe6b70 (LWP 26322)]
65
+ [New LWP 1 ]-->
66
+ <match>^\[(?:New |Switching to )?(?:Thread|LWP)\s+(\%{thread-number})?.*\]$</match>
67
+ <include>
68
+ <context sub-pattern="1" style-ref="address"/>
69
+ </include>
70
+ </context>
71
+
72
+ <context id="thread-header" style-ref="thread-header">
73
+ <!--Thread 4 (Thread 0xb7fe6b70 (LWP 26322)):
74
+ Thread 10 (LWP 40 ):-->
75
+ <match>^Thread \d+ \((?:Thread|LWP)\s+(\%{thread-number}).*\):$</match>
76
+ <include>
77
+ <context sub-pattern="1" style-ref="address"/>
78
+ </include>
79
+ </context>
80
+
81
+ <context id="signal-handler-frame">
82
+ <!--#3 <signal handler called>-->
83
+ <match>^#(\d+)\s+&lt;(signal handler called)&gt;$</match>
84
+ <include>
85
+ <context sub-pattern="1" style-ref="frame-number"/>
86
+ <context sub-pattern="2" style-ref="def:special-constant"/>
87
+ </include>
88
+ </context>
89
+
90
+ <context id="crash-frame" end-at-line-end="false" once-only="true">
91
+ <!--This occurs once only, at the top of the file:
92
+ 0x00110402 in __kernel_vsyscall ()-->
93
+ <start>^\%{frame-start}</start>
94
+ <end>\%{frame-end}</end>
95
+ <include>
96
+ <context where="start" sub-pattern="address" style-ref="address"/>
97
+ <context where="start" sub-pattern="function" style-ref="function"/>
98
+ <context where="start" sub-pattern="badfunction" style-ref="def:error"/>
99
+ <context where="end" sub-pattern="filename" style-ref="filename"/>
100
+ <context where="end" sub-pattern="linenumber" style-ref="def:number"/>
101
+ <context ref="optimized-out"/>
102
+ <context ref="incomplete-sequence"/>
103
+ <context ref="prompt"/>
104
+ </include>
105
+ </context>
106
+
107
+ <context id="frame" end-at-line-end="false">
108
+ <!--#0 0x0054d422 in __kernel_vsyscall ()
109
+ #1 0x005002d2 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
110
+ at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:179
111
+ #2 0x0043e9f4 in __pthread_cond_timedwait (cond=0xb6401678, mutex=0x88e5e58,
112
+ abstime=0xb63ff1e8) at forward.c:152
113
+ #-1 0xfc59f649 in __lwp_park () from /lib/libc.so.1-->
114
+ <start>^#(?P&lt;framenumber&gt;-?\d+)\s+\%{frame-start}</start>
115
+ <end>\%{frame-end}</end>
116
+ <include>
117
+ <context where="start" sub-pattern="framenumber" style-ref="frame-number"/>
118
+ <context where="start" sub-pattern="address" style-ref="address"/>
119
+ <context where="start" sub-pattern="function" style-ref="function"/>
120
+ <context where="start" sub-pattern="badfunction" style-ref="def:error"/>
121
+ <context where="end" sub-pattern="filename" style-ref="filename"/>
122
+ <context where="end" sub-pattern="linenumber" style-ref="def:number"/>
123
+ <context ref="optimized-out"/>
124
+ <context ref="incomplete-sequence"/>
125
+ <context ref="prompt"/>
126
+ </include>
127
+ </context>
128
+
129
+ <!-- Necessary because some frames put their filename on the next line, after their closing bracket, and since we want to match
130
+ frames which have no filename (i.e. just a closing bracket) as well as normal frames, we have to deal with this odd case. -->
131
+ <context id="frame-ending">
132
+ <!-- at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:179-->
133
+ <match>^\s+(?:at|from)\s+(?P&lt;filename&gt;\%{filename})(?P&lt;linenumber&gt;\:[0-9]+)?$</match>
134
+ <include>
135
+ <context sub-pattern="filename" style-ref="filename"/>
136
+ <context sub-pattern="linenumber" style-ref="def:number"/>
137
+ </include>
138
+ </context>
139
+
140
+ <context id="gdb-log">
141
+ <include>
142
+ <context ref="prompt"/>
143
+ <context ref="thread-action"/>
144
+ <context ref="thread-header"/>
145
+ <context ref="signal-handler-frame"/>
146
+ <context ref="crash-frame"/>
147
+ <context ref="frame"/>
148
+ <context ref="frame-ending"/>
149
+ </include>
150
+ </context>
151
+ </definitions>
152
+ </language>