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
@@ -3,9 +3,9 @@
3
3
 
4
4
  This file is part of GtkSourceView
5
5
 
6
- Authors: Marco Barisione, Emanuele Aina
7
- Copyright (C) 2005-2007 Marco Barisione <barisione@gmail.com>
8
- Copyright (C) 2005-2007 Emanuele Aina
6
+ Copyright (C) 2005-2007 - Marco Barisione <barisione@gmail.com>
7
+ Copyright (C) 2005-2007 - Emanuele Aina
8
+ Copyright (C) 2014 - Sébastien Wilmet <swilmet@gnome.org>
9
9
 
10
10
  GtkSourceView is free software; you can redistribute it and/or
11
11
  modify it under the terms of the GNU Lesser General Public
@@ -23,158 +23,259 @@
23
23
 
24
24
  -->
25
25
  <language id="html" _name="HTML" version="2.0" _section="Markup">
26
- <metadata>
27
- <property name="mimetypes">text/html</property>
28
- <property name="globs">*.html;*.htm</property>
29
- <property name="block-comment-start">&lt;!--</property>
30
- <property name="block-comment-end">--&gt;</property>
31
- </metadata>
32
-
33
- <styles>
34
- <style id="comment" _name="Comment" map-to="xml:comment"/>
35
- <style id="tag" _name="Tag" map-to="xml:element-name"/>
36
- <style id="attrib-name" _name="Attribute Name" map-to="xml:attribute-name"/>
37
- <style id="attrib-value" _name="Attribute Value" map-to="xml:attribute-value"/>
38
- <style id="dtd" _name="DTD" map-to="xml:doctype"/>
39
- <style id="error" _name="Error" map-to="xml:error"/>
40
- </styles>
41
-
42
- <default-regex-options case-sensitive="false"/>
43
-
44
- <definitions>
45
- <!-- Html comments are more permissive than xml comments -->
46
- <context id="comment" style-ref="comment" class="comment">
47
- <start>&lt;!--</start>
48
- <end>--\s*&gt;</end>
49
- <include>
50
- <context ref="def:in-comment"/>
51
- </include>
52
- </context>
26
+ <metadata>
27
+ <property name="mimetypes">text/html</property>
28
+ <property name="globs">*.html;*.htm</property>
29
+ <property name="block-comment-start">&lt;!--</property>
30
+ <property name="block-comment-end">--&gt;</property>
31
+ </metadata>
53
32
 
54
- <context id="dtd" style-ref="dtd" class="no-spell-check">
55
- <start>&lt;!</start>
56
- <end>&gt;</end>
57
- </context>
33
+ <styles>
34
+ <style id="comment" _name="Comment" map-to="xml:comment"/>
35
+ <style id="tag" _name="Tag" map-to="xml:element-name"/>
36
+ <style id="attrib-name" _name="Attribute Name" map-to="xml:attribute-name"/>
37
+ <style id="attrib-value" _name="Attribute Value" map-to="xml:attribute-value"/>
38
+ <style id="dtd" _name="DTD" map-to="xml:doctype"/>
39
+ <style id="error" _name="Error" map-to="xml:error"/>
40
+ <style id="title" _name="Page title" map-to="def:heading0"/>
41
+ <style id="h1" _name="Heading level 1" map-to="def:heading1"/>
42
+ <style id="h2" _name="Heading level 2" map-to="def:heading2"/>
43
+ <style id="h3" _name="Heading level 3" map-to="def:heading3"/>
44
+ <style id="h4" _name="Heading level 4" map-to="def:heading4"/>
45
+ <style id="h5" _name="Heading level 5" map-to="def:heading5"/>
46
+ </styles>
58
47
 
59
- <!-- This is a placeholder context intended to be <replace>d
60
- in languages like php that need to embedd contexts inside
61
- html tags and attributes.
62
- -->
63
- <context id="embedded-lang-hook">
64
- <start>\%{def:never-match}</start>
65
- <end></end>
66
- </context>
48
+ <default-regex-options case-sensitive="false"/>
67
49
 
68
- <context id="generic-tag">
69
- <include>
70
-
71
- <!-- Attribute in the form: name="value" -->
72
- <context id="attrib-quoted" style-ref="attrib-name" class="no-spell-check">
73
- <start extended="true">
74
- [A-Za-z0-9:_-]+ # attribute name
75
- \s*=\s* # "="
76
- (\") # string beginning
77
- </start>
78
- <end>\"</end>
79
- <include>
80
- <context sub-pattern="1" where="start" style-ref="attrib-value"/>
81
- <context sub-pattern="0" where="end" style-ref="attrib-value"/>
82
- <context id="string" extend-parent="false" end-at-line-end="true" style-ref="attrib-value" class="string" class-disabled="no-spell-check">
83
- <start>\%{def:always-match}</start>
84
- <include>
85
- <context ref="xml:entity"/>
86
- <context ref="xml:character-reference"/>
87
- <context ref="embedded-lang-hook"/>
88
- </include>
89
- </context>
90
- </include>
91
- </context>
92
-
93
- <!-- Attribute in the form: name=value -->
94
- <context id="attrib-unquoted" style-ref="attrib-value" class="no-spell-check">
95
- <start extended="true">
96
- [a-z0-9:_-]+ # attribute name
97
- \s*=\s* # "="
98
- </start>
99
- <end>(?=&gt;|\s)</end>
100
- <include>
101
- <context sub-pattern="0" where="start" style-ref="attrib-name"/>
102
- <context ref="xml:entity"/>
103
- <context ref="xml:character-reference"/>
104
- </include>
105
- </context>
106
-
107
- <!-- Attribute in the form: name -->
108
- <context id="attrib-no-value" style-ref="attrib-name" class="no-spell-check">
109
- <match extended="true">
110
- [a-z0-9:_-]+ # attribute name
111
- </match>
112
- </context>
50
+ <definitions>
51
+ <!-- Html comments are more permissive than xml comments -->
52
+ <context id="comment" style-ref="comment" class="comment">
53
+ <start>&lt;!--</start>
54
+ <end>--\s*&gt;</end>
55
+ <include>
56
+ <context ref="def:in-comment"/>
57
+ </include>
58
+ </context>
113
59
 
114
- <context ref="embedded-lang-hook"/>
60
+ <context id="dtd" style-ref="dtd" class="no-spell-check">
61
+ <start>&lt;!</start>
62
+ <end>&gt;</end>
63
+ </context>
115
64
 
116
- </include>
117
- </context>
65
+ <!-- This is a placeholder context intended to be <replace>d
66
+ in languages like php that need to embedd contexts inside
67
+ html tags and attributes.
68
+ -->
69
+ <context id="embedded-lang-hook">
70
+ <start>\%{def:never-match}</start>
71
+ <end></end>
72
+ </context>
118
73
 
119
- <context id="style" class="no-spell-check">
120
- <start>&lt;\s*style\%]</start>
121
- <end>/&gt;|&lt;\s*/\s*style\s*&gt;</end>
122
-
123
- <include>
74
+ <context id="headings">
75
+ <include>
76
+ <context id="title" style-inside="true" style-ref="title" end-at-line-end="true">
77
+ <start>&lt;title&gt;</start>
78
+ <end>&lt;/title&gt;</end>
79
+ <include>
80
+ <context sub-pattern="0" where="start" style-ref="tag"/>
81
+ <context sub-pattern="0" where="end" style-ref="tag"/>
82
+ </include>
83
+ </context>
84
+ <context id="h1" end-at-line-end="true">
85
+ <start>&lt;\s*h1</start>
86
+ <include>
87
+ <context sub-pattern="0" where="start" style-ref="tag"/>
88
+ <context ref="generic-tag"/>
89
+ <context id="h1-inside" style-inside="true" style-ref="h1" end-at-line-end="true" end-parent="true">
90
+ <start>&gt;</start>
91
+ <end>&lt;\s*/h1\s*&gt;</end>
92
+ <include>
124
93
  <context sub-pattern="0" where="start" style-ref="tag"/>
125
94
  <context sub-pattern="0" where="end" style-ref="tag"/>
126
- <context ref="generic-tag"/>
127
- <context id="style-code" extend-parent="false">
128
- <start>&gt;</start>
129
- <include>
130
- <context sub-pattern="0" where="start" style-ref="tag"/>
131
- <context ref="css:css"/>
132
- </include>
133
- </context>
134
- </include>
95
+ <!-- We cannot match any further here, because matching to tag will override our end-match -->
96
+ </include>
97
+ </context>
98
+ </include>
135
99
  </context>
136
-
137
- <context id="script" class="no-spell-check">
138
- <start>&lt;\s*script\%]</start>
139
- <end>/&gt;|&lt;\s*/\s*script\s*&gt;</end>
140
-
141
- <include>
100
+ <context id="h2" end-at-line-end="true">
101
+ <start>&lt;\s*h2</start>
102
+ <include>
103
+ <context sub-pattern="0" where="start" style-ref="tag"/>
104
+ <context ref="generic-tag"/>
105
+ <context id="h2-inside" style-inside="true" style-ref="h2" end-at-line-end="true" end-parent="true">
106
+ <start>&gt;</start>
107
+ <end>&lt;\s*/h2\s*&gt;</end>
108
+ <include>
142
109
  <context sub-pattern="0" where="start" style-ref="tag"/>
143
110
  <context sub-pattern="0" where="end" style-ref="tag"/>
144
- <context ref="generic-tag"/>
145
- <context id="js-code" extend-parent="false">
146
- <start>&gt;</start>
147
- <include>
148
- <context sub-pattern="0" where="start" style-ref="tag"/>
149
- <context ref="js:js"/>
150
- </include>
151
- </context>
152
- </include>
111
+ <!-- We cannot match any further here, because matching to tag will override our end-match -->
112
+ </include>
113
+ </context>
114
+ </include>
153
115
  </context>
154
-
155
- <context id="tag" class="no-spell-check">
156
- <start>&lt;\s*/?\s*[a-z0-9_-]+</start>
157
- <end>/?\s*&gt;</end>
158
- <include>
116
+ <context id="h3" end-at-line-end="true">
117
+ <start>&lt;\s*h3</start>
118
+ <include>
119
+ <context sub-pattern="0" where="start" style-ref="tag"/>
120
+ <context ref="generic-tag"/>
121
+ <context id="h3-inside" style-inside="true" style-ref="h3" end-at-line-end="true" end-parent="true">
122
+ <start>&gt;</start>
123
+ <end>&lt;\s*/h3\s*&gt;</end>
124
+ <include>
125
+ <context sub-pattern="0" where="start" style-ref="tag"/>
126
+ <context sub-pattern="0" where="end" style-ref="tag"/>
127
+ <!-- We cannot match any further here, because matching to tag will override our end-match -->
128
+ </include>
129
+ </context>
130
+ </include>
131
+ </context>
132
+ <context id="h4" end-at-line-end="true">
133
+ <start>&lt;\s*h4</start>
134
+ <include>
135
+ <context sub-pattern="0" where="start" style-ref="tag"/>
136
+ <context ref="generic-tag"/>
137
+ <context id="h4-inside" style-inside="true" style-ref="h4" end-at-line-end="true" end-parent="true">
138
+ <start>&gt;</start>
139
+ <end>&lt;\s*/h4\s*&gt;</end>
140
+ <include>
159
141
  <context sub-pattern="0" where="start" style-ref="tag"/>
160
142
  <context sub-pattern="0" where="end" style-ref="tag"/>
161
- <context ref="generic-tag"/>
162
- </include>
143
+ <!-- We cannot match any further here, because matching to tag will override our end-match -->
144
+ </include>
145
+ </context>
146
+ </include>
163
147
  </context>
148
+ <context id="h5" end-at-line-end="true">
149
+ <start>&lt;\s*h5</start>
150
+ <include>
151
+ <context sub-pattern="0" where="start" style-ref="tag"/>
152
+ <context ref="generic-tag"/>
153
+ <context id="h5-inside" style-inside="true" style-ref="h5" end-at-line-end="true" end-parent="true">
154
+ <start>&gt;</start>
155
+ <end>&lt;\s*/h5\s*&gt;</end>
156
+ <include>
157
+ <context sub-pattern="0" where="start" style-ref="tag"/>
158
+ <context sub-pattern="0" where="end" style-ref="tag"/>
159
+ <!-- We cannot match any further here, because matching to tag will override our end-match -->
160
+ </include>
161
+ </context>
162
+ </include>
163
+ </context>
164
+ </include>
165
+ </context>
166
+
167
+ <define-regex id="attribute-name">[a-z0-9:_-]+</define-regex>
164
168
 
165
- <context id="html">
166
- <include>
167
- <context ref="xml:doctype"/>
169
+ <context id="generic-tag">
170
+ <include>
171
+ <!-- Attribute in the form: name="value" -->
172
+ <context id="attrib-quoted" class="no-spell-check">
173
+ <start>(\%{attribute-name}\s*=\s*)(\")</start>
174
+ <include>
175
+ <context sub-pattern="1" where="start" style-ref="attrib-name"/>
176
+ <context sub-pattern="2" where="start" style-ref="attrib-value"/>
177
+ <context id="string" end-parent="true" end-at-line-end="true" style-ref="attrib-value" class="string" class-disabled="no-spell-check">
178
+ <start>\%{def:always-match}</start>
179
+ <end>\"</end>
180
+ <include>
168
181
  <context ref="xml:entity"/>
169
182
  <context ref="xml:character-reference"/>
170
- <context ref="xml:cdata"/>
171
- <context ref="comment"/>
172
- <context ref="dtd"/>
173
- <context ref="style"/>
174
- <context ref="script"/>
175
- <context ref="tag"/>
176
- </include>
183
+ <context ref="embedded-lang-hook"/>
184
+ </include>
185
+ </context>
186
+ </include>
187
+ </context>
188
+
189
+ <!-- Attribute in the form: name=value -->
190
+ <context id="attrib-unquoted" style-ref="attrib-value" class="no-spell-check">
191
+ <start>\%{attribute-name}\s*=\s*</start>
192
+ <end>(?=&gt;|\s)</end>
193
+ <include>
194
+ <context sub-pattern="0" where="start" style-ref="attrib-name"/>
195
+ <context ref="xml:entity"/>
196
+ <context ref="xml:character-reference"/>
197
+ <context ref="embedded-lang-hook"/>
198
+ </include>
199
+ </context>
200
+
201
+ <!-- Attribute in the form: name -->
202
+ <context id="attrib-no-value" style-ref="attrib-name" class="no-spell-check">
203
+ <match>\%{attribute-name}</match>
204
+ </context>
205
+
206
+ <context ref="embedded-lang-hook"/>
207
+ </include>
208
+ </context>
209
+
210
+ <context id="style" class="no-spell-check">
211
+ <start>&lt;\s*style\%]</start>
212
+ <include>
213
+ <context sub-pattern="0" where="start" style-ref="tag"/>
214
+ <context ref="generic-tag"/>
215
+
216
+ <context end-parent="true" style-ref="tag">
217
+ <match>/\s*&gt;</match>
177
218
  </context>
178
219
 
179
- </definitions>
220
+ <context id="style-code" end-parent="true">
221
+ <start>&gt;</start>
222
+ <end>&lt;\s*/\s*style\s*&gt;</end>
223
+ <include>
224
+ <context sub-pattern="0" where="start" style-ref="tag"/>
225
+ <context sub-pattern="0" where="end" style-ref="tag"/>
226
+ <context ref="embedded-lang-hook"/>
227
+ <context ref="css:css"/>
228
+ </include>
229
+ </context>
230
+ </include>
231
+ </context>
232
+
233
+ <context id="script" class="no-spell-check">
234
+ <start>&lt;\s*script\%]</start>
235
+ <include>
236
+ <context sub-pattern="0" where="start" style-ref="tag"/>
237
+ <context ref="generic-tag"/>
238
+
239
+ <context end-parent="true" style-ref="tag">
240
+ <match>/\s*&gt;</match>
241
+ </context>
242
+
243
+ <context id="js-code" end-parent="true">
244
+ <start>&gt;</start>
245
+ <end>&lt;\s*/\s*script\s*&gt;</end>
246
+ <include>
247
+ <context sub-pattern="0" where="start" style-ref="tag"/>
248
+ <context sub-pattern="0" where="end" style-ref="tag"/>
249
+ <context ref="embedded-lang-hook"/>
250
+ <context ref="js:js"/>
251
+ </include>
252
+ </context>
253
+ </include>
254
+ </context>
255
+
256
+ <context id="tag" class="no-spell-check">
257
+ <start>&lt;\s*/?\s*[a-z0-9_-]+</start>
258
+ <end>/?\s*&gt;</end>
259
+ <include>
260
+ <context sub-pattern="0" where="start" style-ref="tag"/>
261
+ <context sub-pattern="0" where="end" style-ref="tag"/>
262
+ <context ref="generic-tag"/>
263
+ </include>
264
+ </context>
265
+
266
+ <context id="html">
267
+ <include>
268
+ <context ref="xml:doctype"/>
269
+ <context ref="xml:entity"/>
270
+ <context ref="xml:character-reference"/>
271
+ <context ref="xml:cdata"/>
272
+ <context ref="comment"/>
273
+ <context ref="dtd"/>
274
+ <context ref="headings"/>
275
+ <context ref="style"/>
276
+ <context ref="script"/>
277
+ <context ref="tag"/>
278
+ </include>
279
+ </context>
280
+ </definitions>
180
281
  </language>
@@ -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="idl" _name="IDL" version="2.0" _section="Sources">
24
+ <language id="idl" _name="IDL" version="2.0" _section="Source">
25
25
  <metadata>
26
26
  <property name="mimetypes">text/x-idl</property>
27
27
  <property name="globs">*.idl</property>
@@ -20,7 +20,7 @@
20
20
  License along with this library; if not, write to the Free Software
21
21
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22
22
  -->
23
- <language id="ini" _name=".ini" version="2.0" _section="Others">
23
+ <language id="ini" _name=".ini" version="2.0" _section="Other">
24
24
  <metadata>
25
25
  <property name="mimetypes">text/x-ini-file;application/x-ini-file</property>
26
26
  <property name="globs">*.ini</property>
@@ -40,7 +40,7 @@
40
40
 
41
41
  <definitions>
42
42
  <context id="line-comment" style-ref="comment" end-at-line-end="true" class="comment" class-disabled="no-spell-check">
43
- <start>;</start>
43
+ <start>;|#</start>
44
44
  </context>
45
45
  <context id="group" style-ref="keyword">
46
46
  <start>^\[</start>
@@ -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="j" _name="J" version="2.0" _section="Sources">
24
+ <language id="j" _name="J" version="2.0" _section="Source">
25
25
  <metadata>
26
26
  <property name="globs">*.ijs</property>
27
27
  <property name="line-comment-start">NB\.</property>
@@ -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="java" _name="Java" version="2.0" _section="Sources">
25
+ <language id="java" _name="Java" version="2.0" _section="Source">
26
26
  <metadata>
27
27
  <property name="mimetypes">text/x-java</property>
28
28
  <property name="globs">*.java</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="js" _name="JavaScript" version="2.0" _section="Scripts">
27
+ <language id="js" _name="JavaScript" version="2.0" _section="Script">
28
28
  <metadata>
29
29
  <property name="mimetypes">application/javascript;application/x-javascript;text/x-javascript;text/javascript;text/x-js</property>
30
30
  <property name="globs">*.js;*.node</property>
@@ -26,7 +26,7 @@
26
26
  value in the doc, after a key, and between each comma in an array. Also
27
27
  I'd be able to add support for displaying an error for trailing commas.
28
28
  -->
29
- <language id="json" name="JSON" version="2.0" _section="Others">
29
+ <language id="json" name="JSON" version="2.0" _section="Other">
30
30
  <metadata>
31
31
  <property name="globs">*.json</property>
32
32
  </metadata>