gtksourceview3 2.2.0-x86-mingw32 → 2.2.1-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (235) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +1 -1
  3. data/ext/gtksourceview3/extconf.rb +1 -2
  4. data/ext/gtksourceview3/rbgtksourcegutterrenderertext.c +1 -25
  5. data/ext/gtksourceview3/rbgtksourceview3conversions.h +7 -0
  6. data/ext/gtksourceview3/rbgtksourceview3private.h +0 -1
  7. data/lib/2.0/gtksourceview3.so +0 -0
  8. data/test/run-test.rb +17 -7
  9. data/test/test_mark_attributes.rb +1 -1
  10. data/test/test_source_gutter_renderer.rb +33 -0
  11. data/test/test_source_language_manager.rb +46 -0
  12. data/test/test_source_view.rb +34 -0
  13. data/vendor/local/bin/libgtksourceview-3.0-1.dll +0 -0
  14. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksource.h +4 -0
  15. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcebuffer.h +28 -0
  16. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceencoding.h +54 -0
  17. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcefile.h +115 -0
  18. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcefileloader.h +122 -0
  19. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcefilesaver.h +147 -0
  20. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutter.h +3 -0
  21. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcetypes.h +48 -2
  22. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceundomanager.h +1 -3
  23. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview-typebuiltins.h +33 -0
  24. data/vendor/local/lib/girepository-1.0/GtkSource-3.0.typelib +0 -0
  25. data/vendor/local/lib/libgtksourceview-3.0.dll.a +0 -0
  26. data/vendor/local/lib/libgtksourceview-3.0.la +3 -3
  27. data/vendor/local/lib/locale/ar/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  28. data/vendor/local/lib/locale/as/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  29. data/vendor/local/lib/locale/be/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  30. data/vendor/local/lib/locale/bg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  31. data/vendor/local/lib/locale/bn_IN/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  32. data/vendor/local/lib/locale/ca/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  33. data/vendor/local/lib/locale/ca@valencia/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  34. data/vendor/local/lib/locale/cs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  35. data/vendor/local/lib/locale/da/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  36. data/vendor/local/lib/locale/de/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  37. data/vendor/local/lib/locale/el/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  38. data/vendor/local/lib/locale/en_GB/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  39. data/vendor/local/lib/locale/es/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  40. data/vendor/local/lib/locale/eu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  41. data/vendor/local/lib/locale/fa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  42. data/vendor/local/lib/locale/fi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  43. data/vendor/local/lib/locale/fr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  44. data/vendor/local/lib/locale/ga/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  45. data/vendor/local/lib/locale/gl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  46. data/vendor/local/lib/locale/gu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  47. data/vendor/local/lib/locale/he/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  48. data/vendor/local/lib/locale/hi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  49. data/vendor/local/lib/locale/hu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  50. data/vendor/local/lib/locale/id/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  51. data/vendor/local/lib/locale/it/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  52. data/vendor/local/lib/locale/ja/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  53. data/vendor/local/lib/locale/kn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  54. data/vendor/local/lib/locale/ko/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  55. data/vendor/local/lib/locale/lt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  56. data/vendor/local/lib/locale/lv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  57. data/vendor/local/lib/locale/ml/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  58. data/vendor/local/lib/locale/mr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  59. data/vendor/local/lib/locale/nb/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  60. data/vendor/local/lib/locale/nl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  61. data/vendor/local/lib/locale/or/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  62. data/vendor/local/lib/locale/pa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  63. data/vendor/local/lib/locale/pl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  64. data/vendor/local/lib/locale/pt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  65. data/vendor/local/lib/locale/pt_BR/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  66. data/vendor/local/lib/locale/ru/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  67. data/vendor/local/lib/locale/sk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  68. data/vendor/local/lib/locale/sl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  69. data/vendor/local/lib/locale/sr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  70. data/vendor/local/lib/locale/sr@latin/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  71. data/vendor/local/lib/locale/sv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  72. data/vendor/local/lib/locale/ta/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  73. data/vendor/local/lib/locale/te/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  74. data/vendor/local/lib/locale/th/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  75. data/vendor/local/lib/locale/tr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  76. data/vendor/local/lib/locale/ug/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  77. data/vendor/local/lib/locale/uk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  78. data/vendor/local/lib/locale/vi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  79. data/vendor/local/lib/locale/zh_CN/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  80. data/vendor/local/lib/locale/zh_HK/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  81. data/vendor/local/lib/locale/zh_TW/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  82. data/vendor/local/lib/pkgconfig/gtksourceview-3.0.pc +2 -2
  83. data/vendor/local/share/gir-1.0/GtkSource-3.0.gir +2211 -330
  84. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceBuffer.html +1682 -983
  85. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletion.html +818 -573
  86. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionContext.html +267 -189
  87. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionInfo.html +209 -157
  88. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionItem.html +247 -167
  89. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProposal.html +428 -295
  90. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProvider.html +558 -420
  91. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionWords.html +217 -125
  92. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceEncoding.html +366 -0
  93. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFile.html +563 -0
  94. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileLoader.html +769 -0
  95. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileSaver.html +962 -0
  96. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutter.html +341 -196
  97. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRenderer.html +1211 -827
  98. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererPixbuf.html +327 -206
  99. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererText.html +156 -96
  100. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguage.html +431 -269
  101. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguageManager.html +300 -235
  102. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMark.html +203 -139
  103. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMarkAttributes.html +640 -452
  104. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourcePrintCompositor.html +1444 -1114
  105. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchContext.html +794 -573
  106. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchSettings.html +421 -280
  107. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyle.html +232 -99
  108. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleScheme.html +283 -178
  109. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeManager.html +326 -220
  110. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceUndoManager.html +313 -194
  111. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceView.html +1430 -924
  112. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/annotation-glossary.html +33 -13
  113. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-0.html +7 -7
  114. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-10.html +47 -47
  115. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-12.html +39 -0
  116. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-14.html +299 -0
  117. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-4.html +5 -5
  118. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-deprecated.html +35 -15
  119. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-full.html +742 -430
  120. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch01.html +31 -19
  121. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch02.html +4 -4
  122. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceUtils.html +95 -81
  123. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0.devhelp2 +519 -463
  124. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.html +32 -18
  125. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.sgml +326 -153
  126. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-reference.html +151 -57
  127. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-tutorial.html +14 -17
  128. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/object-tree.html +42 -37
  129. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style-reference.html +39 -8
  130. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style.css +260 -105
  131. data/vendor/local/share/gtksourceview-3.0/language-specs/actionscript.lang +1 -1
  132. data/vendor/local/share/gtksourceview-3.0/language-specs/ada.lang +1 -1
  133. data/vendor/local/share/gtksourceview-3.0/language-specs/ansforth94.lang +729 -0
  134. data/vendor/local/share/gtksourceview-3.0/language-specs/asp.lang +1 -1
  135. data/vendor/local/share/gtksourceview-3.0/language-specs/automake.lang +3 -2
  136. data/vendor/local/share/gtksourceview-3.0/language-specs/awk.lang +1 -1
  137. data/vendor/local/share/gtksourceview-3.0/language-specs/bennugd.lang +1 -1
  138. data/vendor/local/share/gtksourceview-3.0/language-specs/bluespec.lang +1 -1
  139. data/vendor/local/share/gtksourceview-3.0/language-specs/boo.lang +1 -1
  140. data/vendor/local/share/gtksourceview-3.0/language-specs/c.lang +1 -1
  141. data/vendor/local/share/gtksourceview-3.0/language-specs/cg.lang +1 -1
  142. data/vendor/local/share/gtksourceview-3.0/language-specs/changelog.lang +1 -1
  143. data/vendor/local/share/gtksourceview-3.0/language-specs/chdr.lang +1 -1
  144. data/vendor/local/share/gtksourceview-3.0/language-specs/cmake.lang +1 -1
  145. data/vendor/local/share/gtksourceview-3.0/language-specs/cobol.lang +536 -345
  146. data/vendor/local/share/gtksourceview-3.0/language-specs/cpp.lang +1 -1
  147. data/vendor/local/share/gtksourceview-3.0/language-specs/csharp.lang +1 -1
  148. data/vendor/local/share/gtksourceview-3.0/language-specs/css.lang +6 -1
  149. data/vendor/local/share/gtksourceview-3.0/language-specs/cuda.lang +1 -1
  150. data/vendor/local/share/gtksourceview-3.0/language-specs/d.lang +25 -3
  151. data/vendor/local/share/gtksourceview-3.0/language-specs/def.lang +8 -0
  152. data/vendor/local/share/gtksourceview-3.0/language-specs/desktop.lang +1 -1
  153. data/vendor/local/share/gtksourceview-3.0/language-specs/diff.lang +1 -1
  154. data/vendor/local/share/gtksourceview-3.0/language-specs/dosbatch.lang +1 -1
  155. data/vendor/local/share/gtksourceview-3.0/language-specs/dot.lang +1 -1
  156. data/vendor/local/share/gtksourceview-3.0/language-specs/dpatch.lang +2 -2
  157. data/vendor/local/share/gtksourceview-3.0/language-specs/dtd.lang +1 -1
  158. data/vendor/local/share/gtksourceview-3.0/language-specs/eiffel.lang +1 -1
  159. data/vendor/local/share/gtksourceview-3.0/language-specs/erlang.lang +1 -1
  160. data/vendor/local/share/gtksourceview-3.0/language-specs/fcl.lang +1 -3
  161. data/vendor/local/share/gtksourceview-3.0/language-specs/forth.lang +1 -1
  162. data/vendor/local/share/gtksourceview-3.0/language-specs/fortran.lang +85 -6
  163. data/vendor/local/share/gtksourceview-3.0/language-specs/fsharp.lang +1 -1
  164. data/vendor/local/share/gtksourceview-3.0/language-specs/gdb-log.lang +1 -1
  165. data/vendor/local/share/gtksourceview-3.0/language-specs/glsl.lang +1 -1
  166. data/vendor/local/share/gtksourceview-3.0/language-specs/go.lang +1 -1
  167. data/vendor/local/share/gtksourceview-3.0/language-specs/gtkrc.lang +1 -1
  168. data/vendor/local/share/gtksourceview-3.0/language-specs/haskell-literate.lang +1 -1
  169. data/vendor/local/share/gtksourceview-3.0/language-specs/haskell.lang +1 -1
  170. data/vendor/local/share/gtksourceview-3.0/language-specs/html.lang +238 -137
  171. data/vendor/local/share/gtksourceview-3.0/language-specs/idl.lang +1 -1
  172. data/vendor/local/share/gtksourceview-3.0/language-specs/ini.lang +2 -2
  173. data/vendor/local/share/gtksourceview-3.0/language-specs/j.lang +1 -1
  174. data/vendor/local/share/gtksourceview-3.0/language-specs/java.lang +1 -1
  175. data/vendor/local/share/gtksourceview-3.0/language-specs/javascript.lang +1 -1
  176. data/vendor/local/share/gtksourceview-3.0/language-specs/json.lang +1 -1
  177. data/vendor/local/share/gtksourceview-3.0/language-specs/latex.lang +389 -133
  178. data/vendor/local/share/gtksourceview-3.0/language-specs/lex.lang +209 -0
  179. data/vendor/local/share/gtksourceview-3.0/language-specs/libtool.lang +1 -1
  180. data/vendor/local/share/gtksourceview-3.0/language-specs/llvm.lang +315 -0
  181. data/vendor/local/share/gtksourceview-3.0/language-specs/lua.lang +1 -1
  182. data/vendor/local/share/gtksourceview-3.0/language-specs/m4.lang +4 -4
  183. data/vendor/local/share/gtksourceview-3.0/language-specs/makefile.lang +1 -1
  184. data/vendor/local/share/gtksourceview-3.0/language-specs/mediawiki.lang +16 -12
  185. data/vendor/local/share/gtksourceview-3.0/language-specs/nemerle.lang +1 -1
  186. data/vendor/local/share/gtksourceview-3.0/language-specs/netrexx.lang +1 -1
  187. data/vendor/local/share/gtksourceview-3.0/language-specs/nsis.lang +1 -1
  188. data/vendor/local/share/gtksourceview-3.0/language-specs/objc.lang +1 -1
  189. data/vendor/local/share/gtksourceview-3.0/language-specs/objj.lang +1 -1
  190. data/vendor/local/share/gtksourceview-3.0/language-specs/ocaml.lang +1 -1
  191. data/vendor/local/share/gtksourceview-3.0/language-specs/ocl.lang +1 -1
  192. data/vendor/local/share/gtksourceview-3.0/language-specs/ooc.lang +1 -1
  193. data/vendor/local/share/gtksourceview-3.0/language-specs/opal.lang +1 -1
  194. data/vendor/local/share/gtksourceview-3.0/language-specs/opencl.lang +1 -1
  195. data/vendor/local/share/gtksourceview-3.0/language-specs/pascal.lang +12 -12
  196. data/vendor/local/share/gtksourceview-3.0/language-specs/perl.lang +1 -1
  197. data/vendor/local/share/gtksourceview-3.0/language-specs/php.lang +15 -15
  198. data/vendor/local/share/gtksourceview-3.0/language-specs/pkgconfig.lang +1 -1
  199. data/vendor/local/share/gtksourceview-3.0/language-specs/po.lang +1 -1
  200. data/vendor/local/share/gtksourceview-3.0/language-specs/prolog.lang +1 -1
  201. data/vendor/local/share/gtksourceview-3.0/language-specs/protobuf.lang +2 -4
  202. data/vendor/local/share/gtksourceview-3.0/language-specs/puppet.lang +1 -1
  203. data/vendor/local/share/gtksourceview-3.0/language-specs/python.lang +62 -3
  204. data/vendor/local/share/gtksourceview-3.0/language-specs/python3.lang +1 -1
  205. data/vendor/local/share/gtksourceview-3.0/language-specs/rpmspec.lang +3 -1
  206. data/vendor/local/share/gtksourceview-3.0/language-specs/rst.lang +142 -0
  207. data/vendor/local/share/gtksourceview-3.0/language-specs/ruby.lang +2 -2
  208. data/vendor/local/share/gtksourceview-3.0/language-specs/scala.lang +1 -1
  209. data/vendor/local/share/gtksourceview-3.0/language-specs/scheme.lang +1 -1
  210. data/vendor/local/share/gtksourceview-3.0/language-specs/sh.lang +2 -2
  211. data/vendor/local/share/gtksourceview-3.0/language-specs/sml.lang +1 -1
  212. data/vendor/local/share/gtksourceview-3.0/language-specs/sparql.lang +1 -1
  213. data/vendor/local/share/gtksourceview-3.0/language-specs/sql.lang +1 -1
  214. data/vendor/local/share/gtksourceview-3.0/language-specs/sweave.lang +67 -0
  215. data/vendor/local/share/gtksourceview-3.0/language-specs/systemverilog.lang +1 -1
  216. data/vendor/local/share/gtksourceview-3.0/language-specs/tcl.lang +1 -1
  217. data/vendor/local/share/gtksourceview-3.0/language-specs/vala.lang +1 -1
  218. data/vendor/local/share/gtksourceview-3.0/language-specs/vbnet.lang +1 -1
  219. data/vendor/local/share/gtksourceview-3.0/language-specs/verilog.lang +1 -1
  220. data/vendor/local/share/gtksourceview-3.0/language-specs/vhdl.lang +1 -1
  221. data/vendor/local/share/gtksourceview-3.0/language-specs/yacc.lang +2 -2
  222. data/vendor/local/share/gtksourceview-3.0/language-specs/yaml.lang +214 -0
  223. data/vendor/local/share/gtksourceview-3.0/styles/classic.xml +13 -2
  224. data/vendor/local/share/gtksourceview-3.0/styles/cobalt.xml +16 -5
  225. data/vendor/local/share/gtksourceview-3.0/styles/kate.xml +11 -3
  226. data/vendor/local/share/gtksourceview-3.0/styles/oblivion.xml +14 -4
  227. data/vendor/local/share/gtksourceview-3.0/styles/solarized-dark.xml +101 -0
  228. data/vendor/local/share/gtksourceview-3.0/styles/solarized-light.xml +101 -0
  229. data/vendor/local/share/gtksourceview-3.0/styles/styles.rng +3 -0
  230. data/vendor/local/share/gtksourceview-3.0/styles/tango.xml +14 -2
  231. data/vendor/local/share/license/gtksourceview/AUTHORS +1 -0
  232. data/vendor/local/share/license/gtksourceview/COPYING +415 -251
  233. metadata +31 -13
  234. data/lib/1.9/gtksourceview3.so +0 -0
  235. data/lib/2.1/gtksourceview3.so +0 -0
@@ -23,7 +23,7 @@
23
23
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
24
24
 
25
25
  -->
26
- <language id="objj" _name="Objective-J" version="2.0" _section="Sources">
26
+ <language id="objj" _name="Objective-J" version="2.0" _section="Source">
27
27
  <metadata>
28
28
  <property name="mimetypes">text/x-objective-j</property>
29
29
  <property name="globs">*.j</property>
@@ -24,7 +24,7 @@
24
24
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
25
25
 
26
26
  -->
27
- <language id="ocaml" _name="OCaml" version="2.0" _section="Sources">
27
+ <language id="ocaml" _name="OCaml" version="2.0" _section="Source">
28
28
  <metadata>
29
29
  <property name="mimetypes">text/x-ocaml</property>
30
30
  <property name="globs">*.ml;*.mli;*.mll;*.mly</property>
@@ -30,7 +30,7 @@
30
30
  http://www.omg.org/technology/documents/formal/ocl.htm
31
31
  -->
32
32
 
33
- <language id="ocl" _name="OCL" version="2.0" _section="Others">
33
+ <language id="ocl" _name="OCL" version="2.0" _section="Other">
34
34
  <metadata>
35
35
  <property name="mimetypes">text/x-ocl</property>
36
36
  <property name="globs">*.ocl</property>
@@ -21,7 +21,7 @@
21
21
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22
22
 
23
23
  -->
24
- <language id="ooc" _name="OOC" version="2.0" _section="Sources">
24
+ <language id="ooc" _name="OOC" version="2.0" _section="Source">
25
25
  <metadata>
26
26
  <property name="globs">*.ooc</property>
27
27
  <property name="line-comment-start">//</property>
@@ -21,7 +21,7 @@
21
21
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22
22
 
23
23
  -->
24
- <language id="opal" _name="Opal" version="2.0" _section="Sources">
24
+ <language id="opal" _name="Opal" version="2.0" _section="Source">
25
25
  <metadata>
26
26
  <property name="globs">*.sign;*.impl</property>
27
27
  <property name="line-comment-start">-- </property>
@@ -21,7 +21,7 @@
21
21
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22
22
 
23
23
  -->
24
- <language id="opencl" _name="OpenCL" version="2.0" _section="Sources">
24
+ <language id="opencl" _name="OpenCL" version="2.0" _section="Source">
25
25
  <metadata>
26
26
  <property name="globs">*.cl</property>
27
27
  <property name="line-comment-start">//</property>
@@ -5,24 +5,24 @@
5
5
 
6
6
  Author: Andrew Johnson <acjgenius@earthlink.net>
7
7
  Copyright (C) 2004 Andrew Johnson <acjgenius@earthlink.net>
8
- Copyright (C) 2005 Thierry Moisan <thierryn@videotron.ca>
8
+ Copyright (C) 2005 Thierry Moisan <thierry.moisan@gmail.com>
9
9
 
10
- This library is free software; you can redistribute it and/or modify
11
- it under the terms of the GNU General Public License as published by
12
- the Free Software Foundation; either version 2 of the License, or
13
- (at your option) any later version.
10
+ GtkSourceView is free software; you can redistribute it and/or
11
+ modify it under the terms of the GNU Lesser General Public
12
+ License as published by the Free Software Foundation; either
13
+ version 2.1 of the License, or (at your option) any later version.
14
14
 
15
- This program is distributed in the hope that it will be useful,
15
+ GtkSourceView is distributed in the hope that it will be useful,
16
16
  but WITHOUT ANY WARRANTY; without even the implied warranty of
17
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
- GNU General Public License for more details.
17
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18
+ Lesser General Public License for more details.
19
19
 
20
- You should have received a copy of the GNU General Public License
21
- along with this program; if not, write to the Free Software
22
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20
+ You should have received a copy of the GNU Lesser General Public
21
+ License along with this library; if not, write to the Free Software
22
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
23
23
 
24
24
  -->
25
- <language id="pascal" _name="Pascal" version="2.0" _section="Sources">
25
+ <language id="pascal" _name="Pascal" version="2.0" _section="Source">
26
26
  <metadata>
27
27
  <property name="mimetypes">text/x-pascal</property>
28
28
  <property name="globs">*.p;*.pas</property>
@@ -23,7 +23,7 @@ TODO: extended regex support
23
23
  FIXME: =pod should require an empty line before/after, as written in perlpod
24
24
 
25
25
  -->
26
- <language id="perl" _name="Perl" version="2.0" _section="Scripts">
26
+ <language id="perl" _name="Perl" version="2.0" _section="Script">
27
27
  <metadata>
28
28
  <property name="mimetypes">text/x-perl;application/x-perl</property>
29
29
  <property name="globs">*.pl;*.pm;*.al;*.perl;*.t</property>
@@ -6,28 +6,27 @@
6
6
  Author: Francesco Gigli <jaramir@aruba.it>
7
7
  Copyright (C) 2003 Francesco Gigli <jaramir@aruba.it>
8
8
  Copyright (C) 2004 David A Knight <david@ritter.demon.co.uk>
9
- Copyright (C) 2005 Rowan Lewis <rowanjl@gmail.com>
10
9
  Copyright (C) 2006 Steve Frécinaux <steve@istique.net>
11
10
  Copyright (C) 2007 Patryk Zawadzki <patrys@pld-linux.org>
12
11
  Copyright (C) 2007 Eric Norige <thelema@swbell.net>
13
12
  Copyright (C) 2012 Christopher Blay <chris.b.blay@gmail.com>
14
13
 
15
- This library is free software; you can redistribute it and/or modify
16
- it under the terms of the GNU General Public License as published by
17
- the Free Software Foundation; either version 2 of the License, or
18
- (at your option) any later version.
14
+ GtkSourceView is free software; you can redistribute it and/or
15
+ modify it under the terms of the GNU Lesser General Public
16
+ License as published by the Free Software Foundation; either
17
+ version 2.1 of the License, or (at your option) any later version.
19
18
 
20
- This program is distributed in the hope that it will be useful,
19
+ GtkSourceView is distributed in the hope that it will be useful,
21
20
  but WITHOUT ANY WARRANTY; without even the implied warranty of
22
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23
- GNU General Public License for more details.
21
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22
+ Lesser General Public License for more details.
24
23
 
25
- You should have received a copy of the GNU General Public License
26
- along with this program; if not, write to the Free Software
27
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
24
+ You should have received a copy of the GNU Lesser General Public
25
+ License along with this library; if not, write to the Free Software
26
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
28
27
 
29
28
  -->
30
- <language id="php" _name="PHP" version="2.0" _section="Scripts">
29
+ <language id="php" _name="PHP" version="2.0" _section="Script">
31
30
  <metadata>
32
31
  <property name="mimetypes">text/x-php;application/x-php;text/x-php-source;application/x-php-source</property>
33
32
  <property name="globs">*.php;*.php3;*.php4;*.phtml</property>
@@ -37,6 +36,7 @@
37
36
  </metadata>
38
37
 
39
38
  <styles>
39
+ <style id="preprocessor" _name="Preprocessor tags" map-to="def:preprocessor"/>
40
40
  <style id="comment" _name="Comment" map-to="def:comment"/>
41
41
  <style id="error" _name="Error" map-to="def:error"/>
42
42
  <style id="variable" _name="Variable" map-to="def:identifier"/>
@@ -325,8 +325,8 @@
325
325
  <start>&lt;([?](php)?)</start>
326
326
  <end>[?]&gt;</end>
327
327
  <include>
328
- <context sub-pattern="0" where="start" style-ref="keyword"/>
329
- <context sub-pattern="0" where="end" style-ref="keyword"/>
328
+ <context sub-pattern="0" where="start" style-ref="preprocessor"/>
329
+ <context sub-pattern="0" where="end" style-ref="preprocessor"/>
330
330
  <context ref="cpp-line-comment"/>
331
331
  <context ref="bash-line-comment"/>
332
332
  <context ref="c-block-comment"/>
@@ -346,7 +346,7 @@
346
346
  <context ref="decimal-number"/>
347
347
  <context ref="octal-number"/>
348
348
  <context ref="hexadecimal-number"/>
349
- <context ref="identifier"/>
349
+ <context ref="identifier"/>
350
350
  </include>
351
351
  </context>
352
352
 
@@ -21,7 +21,7 @@
21
21
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22
22
 
23
23
  -->
24
- <language id="pkgconfig" _name="pkg-config" version="2.0" _section="Others">
24
+ <language id="pkgconfig" _name="pkg-config" version="2.0" _section="Other">
25
25
  <metadata>
26
26
  <property name="mimetypes">text/x-pkg-config</property>
27
27
  <property name="globs">*.pc</property>
@@ -21,7 +21,7 @@
21
21
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22
22
 
23
23
  -->
24
- <language id="gettext-translation" _name="gettext translation" version="2.0" _section="Others">
24
+ <language id="gettext-translation" _name="gettext translation" version="2.0" _section="Other">
25
25
  <metadata>
26
26
  <property name="mimetypes">text/x-po;text/x-pot;text/x-pox;text/x-gettext-translation;text/x-gettext-translation-template</property>
27
27
  <property name="globs">*.po;*.pot</property>
@@ -21,7 +21,7 @@
21
21
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22
22
 
23
23
  -->
24
- <language id="prolog" _name="Prolog" version="2.0" _section="Sources">
24
+ <language id="prolog" _name="Prolog" version="2.0" _section="Source">
25
25
  <metadata>
26
26
  <property name="mimetypes">text/x-prolog</property>
27
27
  <property name="globs">*.prolog</property>
@@ -15,12 +15,10 @@
15
15
  Library General Public License for more details.
16
16
 
17
17
  You should have received a copy of the GNU Library General Public
18
- License along with this library; if not, write to the
19
- Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20
- Boston, MA 02111-1307, USA.
18
+ License along with this library; if not, see <http://www.gnu.org/licenses/>.
21
19
 
22
20
  -->
23
- <language id="proto" name="Protobuf" version="2.0" _section="Others">
21
+ <language id="proto" name="Protobuf" version="2.0" _section="Other">
24
22
  <metadata>
25
23
  <property name="mimetypes">text/x-protobuf</property>
26
24
  <property name="globs">*.proto</property>
@@ -21,7 +21,7 @@
21
21
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22
22
 
23
23
  -->
24
- <language id="puppet" _name="Puppet" version="2.0" _section="Others">
24
+ <language id="puppet" _name="Puppet" version="2.0" _section="Other">
25
25
  <metadata>
26
26
  <property name="globs">*.pp</property>
27
27
  <property name="line-comment-start">#</property>
@@ -3,11 +3,12 @@
3
3
 
4
4
  This file is part of GtkSourceView
5
5
 
6
- Author: Gustavo Giráldez <gustavo.giraldez@gmx.net>
7
6
  Copyright (C) 2003 Gustavo Giráldez <gustavo.giraldez@gmx.net>
8
7
  Copyright (C) 2004 Benoît Dejean <TaZForEver@free.fr>
9
8
  Copyright (C) 2006 Steve Frécinaux <nud@apinc.org>
10
9
  Copyright (C) 2012 Stefano Palazzo <stefano-palazzo@ubuntu.com>
10
+ Copyright (C) 2014 Patryk Zawadzki <patrys@pld-linux.org>
11
+ Copyright (C) 2014 Sébastien Wilmet <swilmet@gnome.org>
11
12
 
12
13
  GtkSourceView is free software; you can redistribute it and/or
13
14
  modify it under the terms of the GNU Lesser General Public
@@ -24,7 +25,7 @@
24
25
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
25
26
 
26
27
  -->
27
- <language id="python" _name="Python" version="2.0" _section="Scripts">
28
+ <language id="python" _name="Python" version="2.0" _section="Script">
28
29
  <metadata>
29
30
  <property name="mimetypes">text/x-python;application/x-python</property>
30
31
  <property name="globs">*.py</property>
@@ -38,7 +39,7 @@
38
39
  <style id="string" _name="String" map-to="def:string"/>
39
40
  <style id="escaped-char" _name="Escaped Character" map-to="def:special-char"/>
40
41
  <style id="format" _name="Format" map-to="def:character"/>
41
- <style id="string-conversion" _name="string-conversion"/>
42
+ <style id="string-conversion" _name="String Conversion"/>
42
43
  <style id="special-variable" _name="Special Variable" map-to="def:identifier"/>
43
44
  <style id="boolean" _name="Boolean" map-to="def:boolean"/>
44
45
  <style id="floating-point" _name="Floating point number" map-to="def:floating-point"/>
@@ -48,12 +49,22 @@
48
49
  <style id="builtin-constant" _name="Builtin Constant" map-to="def:special-constant"/>
49
50
  <style id="builtin-object" _name="Builtin Object" map-to="def:type"/>
50
51
  <style id="builtin-function" _name="Builtin Function" map-to="def:builtin"/>
52
+ <style id="function-name" _name="Function Name" map-to="def:function"/>
53
+ <style id="class-name" _name="Class Name" map-to="def:function"/>
54
+ <style id="decorator" _name="Decorator" map-to="def:preprocessor"/>
51
55
  </styles>
52
56
 
53
57
  <definitions>
54
58
  <define-regex id="identifier">[_a-zA-Z][_a-zA-Z0-9]*</define-regex>
55
59
  <define-regex id="number">[1-9][0-9]*</define-regex>
56
60
 
61
+ <define-regex id="identifier-path" extended="true">
62
+ (\%{identifier}\.)*\%{identifier}
63
+ </define-regex>
64
+ <define-regex id="relative-path" extended="true">
65
+ (\.*\%{identifier-path}|\.+)
66
+ </define-regex>
67
+
57
68
  <!-- http://docs.python.org/lib/typesseq-strings.html -->
58
69
  <context id="format" style-ref="format" extend-parent="false">
59
70
  <match extended="true">
@@ -202,12 +213,56 @@
202
213
  <match>(?&lt;![\w\.])0[xX][0-9A-Fa-f]+[lL]?(?![\w\.])</match>
203
214
  </context>
204
215
 
216
+ <context id="module-handler-from">
217
+ <match extended="true">
218
+ (from)
219
+ \s+
220
+ (\%{relative-path})
221
+ </match>
222
+ <include>
223
+ <context sub-pattern="1" style-ref="module-handler"/>
224
+ <context sub-pattern="2" style-ref="class-name"/>
225
+ </include>
226
+ </context>
227
+
205
228
  <context id="module-handler" style-ref="module-handler">
206
229
  <keyword>import</keyword>
207
230
  <keyword>from</keyword>
208
231
  <keyword>as</keyword>
209
232
  </context>
210
233
 
234
+ <!-- 'def' is also present in the 'keyword' context, but has a lower
235
+ priority, so 'def' is highlighted even if the function name doesn't match. -->
236
+ <context id="function-definition">
237
+ <match extended="true">
238
+ (def)
239
+ \s+
240
+ (\%{identifier})
241
+ </match>
242
+ <include>
243
+ <context sub-pattern="1" style-ref="keyword"/>
244
+ <context sub-pattern="2" style-ref="function-name"/>
245
+ </include>
246
+ </context>
247
+
248
+ <!-- 'class' is also present in the 'keyword' context, but has a lower
249
+ priority, so 'class' is highlighted even if the class name doesn't match. -->
250
+ <context id="class-definition">
251
+ <match extended="true">
252
+ (class)
253
+ \s+
254
+ (\%{identifier})
255
+ </match>
256
+ <include>
257
+ <context sub-pattern="1" style-ref="keyword"/>
258
+ <context sub-pattern="2" style-ref="class-name"/>
259
+ </include>
260
+ </context>
261
+
262
+ <context id="decorator" style-ref="decorator">
263
+ <match>@\%{identifier-path}</match>
264
+ </context>
265
+
211
266
  <context id="keywords" style-ref="keyword">
212
267
  <keyword>and</keyword>
213
268
  <keyword>assert</keyword>
@@ -400,7 +455,11 @@
400
455
  <context ref="decimal"/>
401
456
  <context ref="octal"/>
402
457
  <context ref="hex"/>
458
+ <context ref="module-handler-from"/>
403
459
  <context ref="module-handler"/>
460
+ <context ref="function-definition"/>
461
+ <context ref="class-definition"/>
462
+ <context ref="decorator"/>
404
463
  <context ref="keywords"/>
405
464
  <context ref="2x-only-keywords"/>
406
465
  <context ref="builtin-constants"/>
@@ -21,7 +21,7 @@
21
21
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22
22
 
23
23
  -->
24
- <language id="python3" _name="Python 3" version="2.0" _section="Scripts">
24
+ <language id="python3" _name="Python 3" version="2.0" _section="Script">
25
25
  <metadata>
26
26
  <property name="globs">*.py3</property>
27
27
  <property name="line-comment-start">#</property>
@@ -21,7 +21,7 @@
21
21
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22
22
 
23
23
  -->
24
- <language id="rpmspec" _name="RPM spec" version="2.0" _section="Others">
24
+ <language id="rpmspec" _name="RPM spec" version="2.0" _section="Other">
25
25
  <metadata>
26
26
  <property name="mimetypes">text/x-rpm-spec</property>
27
27
  <property name="globs">*.spec</property>
@@ -124,6 +124,8 @@
124
124
  <keyword>configure</keyword>
125
125
  <keyword>make</keyword>
126
126
  <keyword>makeinstall</keyword>
127
+ <keyword>make_install</keyword>
128
+ <keyword>make_build</keyword>
127
129
  <keyword>dir</keyword>
128
130
  <keyword>ghost</keyword>
129
131
  <keyword>patch[0-9]+</keyword>
@@ -0,0 +1,142 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+
4
+ This file is part of GtkSourceView
5
+
6
+ Author: Guillaume Chéreau <guillaume.chereau@gmail.com>
7
+
8
+ GtkSourceView is free software; you can redistribute it and/or
9
+ modify it under the terms of the GNU Lesser General Public
10
+ License as published by the Free Software Foundation; either
11
+ version 2.1 of the License, or (at your option) any later version.
12
+
13
+ GtkSourceView is distributed in the hope that it will be useful,
14
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
15
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
+ Lesser General Public License for more details.
17
+
18
+ You should have received a copy of the GNU Lesser General Public
19
+ License along with this library; if not, write to the Free Software
20
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21
+
22
+ -->
23
+ <language id="rst" _name="reStructuredText" version="2.0" _section="Markup">
24
+ <metadata>
25
+ <property name="mimetypes">text/x-rst</property>
26
+ <property name="globs">*.rst</property>
27
+ <property name="line-comment-start">..\u0020</property>
28
+ </metadata>
29
+
30
+ <styles>
31
+ <style id="header" _name="Header" map-to="def:type"/>
32
+ <style id="emphasis" _name="Emphasis" map-to="def:doc-comment-element"/>
33
+ <style id="strong-emphasis" _name="Strong Emphasis" map-to="def:statement"/>
34
+ <style id="bullet" _name="Bullet" map-to="def:preprocessor"/>
35
+ <style id="directive" _name="Directive" map-to="def:constant"/>
36
+ <style id="comment" _name="Comment" map-to="def:comment"/>
37
+ <style id="link" _name="Link" map-to="def:type"/>
38
+ <style id="substitution" _name="Substitution" map-to="def:type"/>
39
+ <style id="code" _name="Code" map-to="def:identifier"/>
40
+ <style id="url" name="Url" map-to="def:underlined"/>
41
+ </styles>
42
+
43
+ <definitions>
44
+
45
+ <context id="directive" class="no-spell-check" style-ref="directive">
46
+ <match>^\s*\.\. .*::.*$</match>
47
+ </context>
48
+
49
+ <context id="footnotes" style-ref="directive">
50
+ <match>^\s*\.\. \[.+\] .*$</match>
51
+ </context>
52
+
53
+ <context id="link-target" class="no-spell-check" style-ref="directive">
54
+ <match>^\s*\.\. _.*:.*$</match>
55
+ </context>
56
+
57
+ <context id="comment" style-ref="comment">
58
+ <start>(\s*)\.\.(\s+).+$</start>
59
+ <end>^(?!(\%{1@start} \%{2@start})|(^$))</end>
60
+ </context>
61
+
62
+ <context id="comment-single" style-ref="comment">
63
+ <start>^(\s*)\.\.(\s*)$</start>
64
+ <end>x</end>
65
+ <include>
66
+ <context id="comment-single-block" style-ref="comment" end-parent="true">
67
+ <start>(\s*).+$</start>
68
+ <end>^(?!(\%{1@start}))</end>
69
+ </context>
70
+ </include>
71
+ </context>
72
+
73
+ <context id="title-adornment" style-ref="header">
74
+ <match>^\s*(=+|\-+|`+|:+|(\.\.\.+)|'+|"+|~+|\^+|_+|\*+|\++|#+)\s*$</match>
75
+ </context>
76
+
77
+ <context id="bullet" style-ref="bullet">
78
+ <match>^\s*[\*\+\-•‣⁃] </match>
79
+ </context>
80
+
81
+ <define-regex id="enumerator-chars" extended="true">
82
+ ([a-zA-Z]|([0-9]+))
83
+ </define-regex>
84
+
85
+ <context id="enumerator" style-ref="bullet">
86
+ <match>^\s*((\%{enumerator-chars}\.)|(\(?\%{enumerator-chars}\)) )</match>
87
+ </context>
88
+
89
+ <context id="field" style-ref="bullet">
90
+ <match>^\s*:.+?:</match>
91
+ </context>
92
+
93
+ <context id="strong-emphasis" style-ref="strong-emphasis">
94
+ <match>\*\*(?!\s).+?(?!\s)\*\*</match>
95
+ </context>
96
+
97
+ <context id="emphasis" style-ref="emphasis">
98
+ <match>\*(?!\s).+?(?!\s)\*</match>
99
+ </context>
100
+
101
+ <context id="link" style-ref="link">
102
+ <match>(\S+_)|(`\b.*?\b`_)</match>
103
+ </context>
104
+
105
+ <context id="substitution" style-ref="substitution">
106
+ <match>\|\b.*\b\|</match>
107
+ </context>
108
+
109
+ <context id="literals">
110
+ <include>
111
+ <context id="inline-literals" class="no-spell-check" style-ref="code">
112
+ <match>``(?!\s).*(?!\s)``</match>
113
+ </context>
114
+ </include>
115
+ </context>
116
+
117
+ <context id="url" style-ref="url">
118
+ <match>((http)|(file))://\S*</match>
119
+ </context>
120
+
121
+ <context id="rst">
122
+ <include>
123
+ <context ref="directive"/>
124
+ <context ref="link-target"/>
125
+ <context ref="footnotes"/>
126
+ <context ref="comment"/>
127
+ <context ref="comment-single"/>
128
+ <context ref="title-adornment"/>
129
+ <context ref="bullet"/>
130
+ <context ref="enumerator"/>
131
+ <context ref="field"/>
132
+ <context ref="strong-emphasis"/>
133
+ <context ref="emphasis"/>
134
+ <context ref="link"/>
135
+ <context ref="substitution"/>
136
+ <context ref="literals"/>
137
+ <context ref="url"/>
138
+ </include>
139
+ </context>
140
+ </definitions>
141
+
142
+ </language>
@@ -24,10 +24,10 @@
24
24
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
25
25
 
26
26
  -->
27
- <language id="ruby" _name="Ruby" version="2.0" _section="Scripts">
27
+ <language id="ruby" _name="Ruby" version="2.0" _section="Script">
28
28
  <metadata>
29
29
  <property name="mimetypes">application/x-ruby;text/x-ruby</property>
30
- <property name="globs">*.rb;*.rake;Rakefile;Capfile;Gemfile</property>
30
+ <property name="globs">*.rb;*.rake;*.gemspec;Rakefile;Capfile;Gemfile</property>
31
31
  <property name="line-comment-start">#</property>
32
32
  </metadata>
33
33
 
@@ -22,7 +22,7 @@
22
22
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
23
23
 
24
24
  -->
25
- <language id="scala" _name="Scala" version="2.0" _section="Sources">
25
+ <language id="scala" _name="Scala" version="2.0" _section="Source">
26
26
 
27
27
  <metadata>
28
28
  <property name="mimetypes">text/x-scala</property>
@@ -21,7 +21,7 @@
21
21
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22
22
 
23
23
  -->
24
- <language id="scheme" _name="Scheme" version="2.0" _section="Sources">
24
+ <language id="scheme" _name="Scheme" version="2.0" _section="Source">
25
25
  <metadata>
26
26
  <property name="mimetypes">text/x-scheme</property>
27
27
  <property name="globs">*.scm</property>
@@ -22,10 +22,10 @@
22
22
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
23
23
 
24
24
  -->
25
- <language id="sh" _name="sh" version="2.0" _section="Scripts">
25
+ <language id="sh" _name="sh" version="2.0" _section="Script">
26
26
  <metadata>
27
27
  <property name="mimetypes">text/x-shellscript;application/x-shellscript;text/x-sh</property>
28
- <property name="globs">*.sh</property>
28
+ <property name="globs">*.sh;*bashrc;.profile;.bash_profile</property>
29
29
  <property name="line-comment-start">#</property>
30
30
  </metadata>
31
31
 
@@ -21,7 +21,7 @@
21
21
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22
22
 
23
23
  -->
24
- <language id="sml" _name="Standard ML" version="2.0" _section="Sources">
24
+ <language id="sml" _name="Standard ML" version="2.0" _section="Source">
25
25
  <metadata>
26
26
  <property name="globs">*.sml;*.sig</property>
27
27
  <property name="block-comment-start">(*</property>
@@ -21,7 +21,7 @@
21
21
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22
22
 
23
23
  -->
24
- <language id="sparql" _name="SPARQL" version="2.0" _section="Sources">
24
+ <language id="sparql" _name="SPARQL" version="2.0" _section="Source">
25
25
 
26
26
  <metadata>
27
27
  <property name="mimetypes">application/sparql-query</property>
@@ -21,7 +21,7 @@
21
21
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22
22
 
23
23
  -->
24
- <language id="sql" _name="SQL" version="2.0" _section="Sources">
24
+ <language id="sql" _name="SQL" version="2.0" _section="Source">
25
25
  <metadata>
26
26
  <property name="mimetypes">text/x-sql</property>
27
27
  <property name="globs">*.sql</property>