gtksourceview4 3.2.9-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (379) hide show
  1. checksums.yaml +7 -0
  2. data/COPYING.LIB +502 -0
  3. data/README.md +24 -0
  4. data/Rakefile +61 -0
  5. data/dependency-check/Rakefile +43 -0
  6. data/gtksourceview4.gemspec +45 -0
  7. data/lib/gtksourceview4/deprecated.rb +49 -0
  8. data/lib/gtksourceview4/loader.rb +49 -0
  9. data/lib/gtksourceview4/mark-attributes.rb +29 -0
  10. data/lib/gtksourceview4.rb +56 -0
  11. data/test/run-test.rb +62 -0
  12. data/test/test-mark-attributes.rb +26 -0
  13. data/test/test-source-gutter-renderer.rb +33 -0
  14. data/test/test-source-language-manager.rb +46 -0
  15. data/test/test-source-view.rb +55 -0
  16. data/vendor/local/bin/libgtksourceview-4-0.dll +0 -0
  17. data/vendor/local/include/gtksourceview-4/gtksourceview/completion-providers/words/gtksourcecompletionwords.h +72 -0
  18. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksource-enumtypes.h +107 -0
  19. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksource.h +67 -0
  20. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceautocleanups.h +63 -0
  21. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcebuffer.h +279 -0
  22. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcecompletion.h +156 -0
  23. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcecompletioncontext.h +102 -0
  24. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcecompletioninfo.h +77 -0
  25. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcecompletionitem.h +92 -0
  26. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcecompletionproposal.h +126 -0
  27. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcecompletionprovider.h +166 -0
  28. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceencoding.h +74 -0
  29. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcefile.h +195 -0
  30. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcefileloader.h +140 -0
  31. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcefilesaver.h +168 -0
  32. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcegutter.h +93 -0
  33. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcegutterrenderer.h +272 -0
  34. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcegutterrendererpixbuf.h +91 -0
  35. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcegutterrenderertext.h +92 -0
  36. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceinit.h +40 -0
  37. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcelanguage.h +98 -0
  38. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcelanguagemanager.h +92 -0
  39. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcemap.h +70 -0
  40. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcemark.h +79 -0
  41. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcemarkattributes.h +112 -0
  42. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceprintcompositor.h +223 -0
  43. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceregion.h +127 -0
  44. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcesearchcontext.h +161 -0
  45. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcesearchsettings.h +100 -0
  46. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcespacedrawer.h +144 -0
  47. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcestyle.h +54 -0
  48. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcestylescheme.h +119 -0
  49. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcestyleschemechooser.h +66 -0
  50. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcestyleschemechooserbutton.h +64 -0
  51. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcestyleschemechooserwidget.h +64 -0
  52. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcestyleschememanager.h +100 -0
  53. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcetag.h +54 -0
  54. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcetypes.h +73 -0
  55. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceundomanager.h +90 -0
  56. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceutils.h +41 -0
  57. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceversion.h +578 -0
  58. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceview.h +266 -0
  59. data/vendor/local/lib/girepository-1.0/GtkSource-4.typelib +0 -0
  60. data/vendor/local/lib/libgtksourceview-4.dll.a +0 -0
  61. data/vendor/local/lib/libgtksourceview-4.la +41 -0
  62. data/vendor/local/lib/pkgconfig/gtksourceview-4.pc +12 -0
  63. data/vendor/local/share/gir-1.0/GtkSource-4.gir +12999 -0
  64. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceBuffer.html +2421 -0
  65. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletion.html +1087 -0
  66. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletionContext.html +402 -0
  67. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletionInfo.html +207 -0
  68. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletionItem.html +497 -0
  69. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletionProposal.html +668 -0
  70. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletionProvider.html +837 -0
  71. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletionWords.html +343 -0
  72. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceEncoding.html +391 -0
  73. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceFile.html +769 -0
  74. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceFileLoader.html +780 -0
  75. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceFileSaver.html +965 -0
  76. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceGutter.html +438 -0
  77. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceGutterRenderer.html +1708 -0
  78. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceGutterRendererPixbuf.html +369 -0
  79. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceGutterRendererText.html +299 -0
  80. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceLanguage.html +579 -0
  81. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceLanguageManager.html +473 -0
  82. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceMap.html +254 -0
  83. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceMark.html +307 -0
  84. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceMarkAttributes.html +788 -0
  85. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourcePrintCompositor.html +2121 -0
  86. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceRegion.html +870 -0
  87. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceSearchContext.html +1216 -0
  88. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceSearchSettings.html +603 -0
  89. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceSpaceDrawer.html +671 -0
  90. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceStyle.html +433 -0
  91. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceStyleScheme.html +396 -0
  92. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceStyleSchemeChooser.html +214 -0
  93. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceStyleSchemeChooserButton.html +127 -0
  94. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceStyleSchemeChooserWidget.html +127 -0
  95. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceStyleSchemeManager.html +460 -0
  96. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceTag.html +179 -0
  97. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceUndoManager.html +460 -0
  98. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceView.html +2369 -0
  99. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/annexes.html +55 -0
  100. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/annotation-glossary.html +74 -0
  101. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-2-0.html +62 -0
  102. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-2-10.html +86 -0
  103. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-2-12.html +34 -0
  104. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-2-2.html +270 -0
  105. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-2-4.html +34 -0
  106. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-2-8.html +46 -0
  107. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-0.html +42 -0
  108. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-10.html +170 -0
  109. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-12.html +38 -0
  110. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-14.html +298 -0
  111. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-16.html +106 -0
  112. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-18.html +114 -0
  113. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-20.html +130 -0
  114. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-22.html +106 -0
  115. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-24.html +126 -0
  116. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-4.html +34 -0
  117. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-4-0.html +65 -0
  118. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-deprecated.html +30 -0
  119. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-full.html +2586 -0
  120. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-reference.html +174 -0
  121. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/completion.html +52 -0
  122. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/file-loading-and-saving.html +43 -0
  123. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/general.html +32 -0
  124. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/gtksourceview-4.0-GtkSourceUtils.html +151 -0
  125. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/gtksourceview-4.0-GtkSourceView-Initialization-and-Finalization.html +100 -0
  126. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/gtksourceview-4.0-Version-Information.html +511 -0
  127. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/gtksourceview-4.0.devhelp2 +819 -0
  128. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/gutter.html +49 -0
  129. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/home.png +0 -0
  130. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/index.html +215 -0
  131. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/intro.html +56 -0
  132. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/lang-reference.html +946 -0
  133. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/lang-tutorial.html +652 -0
  134. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/left-insensitive.png +0 -0
  135. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/left.png +0 -0
  136. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/main-classes.html +37 -0
  137. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/misc.html +52 -0
  138. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/object-tree.html +98 -0
  139. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/porting-guide-3-to-4.html +152 -0
  140. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/porting-guide.html +33 -0
  141. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/printing.html +32 -0
  142. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/right-insensitive.png +0 -0
  143. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/right.png +0 -0
  144. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/search-and-replace.html +37 -0
  145. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/style-reference.html +305 -0
  146. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/style.css +483 -0
  147. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/styling.html +49 -0
  148. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/syntax-highlighting-reference.html +49 -0
  149. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/syntax-highlighting.html +37 -0
  150. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/up-insensitive.png +0 -0
  151. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/up.png +0 -0
  152. data/vendor/local/share/gtksourceview-4/language-specs/R.lang +2198 -0
  153. data/vendor/local/share/gtksourceview-4/language-specs/abnf.lang +109 -0
  154. data/vendor/local/share/gtksourceview-4/language-specs/actionscript.lang +267 -0
  155. data/vendor/local/share/gtksourceview-4/language-specs/ada.lang +220 -0
  156. data/vendor/local/share/gtksourceview-4/language-specs/ansforth94.lang +728 -0
  157. data/vendor/local/share/gtksourceview-4/language-specs/asp.lang +1096 -0
  158. data/vendor/local/share/gtksourceview-4/language-specs/automake.lang +329 -0
  159. data/vendor/local/share/gtksourceview-4/language-specs/awk.lang +137 -0
  160. data/vendor/local/share/gtksourceview-4/language-specs/bennugd.lang +266 -0
  161. data/vendor/local/share/gtksourceview-4/language-specs/bibtex.lang +120 -0
  162. data/vendor/local/share/gtksourceview-4/language-specs/bluespec.lang +187 -0
  163. data/vendor/local/share/gtksourceview-4/language-specs/boo.lang +256 -0
  164. data/vendor/local/share/gtksourceview-4/language-specs/c.lang +343 -0
  165. data/vendor/local/share/gtksourceview-4/language-specs/cg.lang +231 -0
  166. data/vendor/local/share/gtksourceview-4/language-specs/changelog.lang +91 -0
  167. data/vendor/local/share/gtksourceview-4/language-specs/chdr.lang +50 -0
  168. data/vendor/local/share/gtksourceview-4/language-specs/cmake.lang +817 -0
  169. data/vendor/local/share/gtksourceview-4/language-specs/cobol.lang +646 -0
  170. data/vendor/local/share/gtksourceview-4/language-specs/cpp.lang +119 -0
  171. data/vendor/local/share/gtksourceview-4/language-specs/cpphdr.lang +41 -0
  172. data/vendor/local/share/gtksourceview-4/language-specs/csharp.lang +285 -0
  173. data/vendor/local/share/gtksourceview-4/language-specs/css.lang +2411 -0
  174. data/vendor/local/share/gtksourceview-4/language-specs/csv.lang +73 -0
  175. data/vendor/local/share/gtksourceview-4/language-specs/cuda.lang +281 -0
  176. data/vendor/local/share/gtksourceview-4/language-specs/d.lang +317 -0
  177. data/vendor/local/share/gtksourceview-4/language-specs/def.lang +261 -0
  178. data/vendor/local/share/gtksourceview-4/language-specs/desktop.lang +297 -0
  179. data/vendor/local/share/gtksourceview-4/language-specs/diff.lang +84 -0
  180. data/vendor/local/share/gtksourceview-4/language-specs/docbook.lang +475 -0
  181. data/vendor/local/share/gtksourceview-4/language-specs/dosbatch.lang +166 -0
  182. data/vendor/local/share/gtksourceview-4/language-specs/dot.lang +139 -0
  183. data/vendor/local/share/gtksourceview-4/language-specs/dpatch.lang +47 -0
  184. data/vendor/local/share/gtksourceview-4/language-specs/dtd.lang +139 -0
  185. data/vendor/local/share/gtksourceview-4/language-specs/dtl.lang +297 -0
  186. data/vendor/local/share/gtksourceview-4/language-specs/eiffel.lang +238 -0
  187. data/vendor/local/share/gtksourceview-4/language-specs/erlang.lang +262 -0
  188. data/vendor/local/share/gtksourceview-4/language-specs/fcl.lang +113 -0
  189. data/vendor/local/share/gtksourceview-4/language-specs/forth.lang +234 -0
  190. data/vendor/local/share/gtksourceview-4/language-specs/fortran.lang +710 -0
  191. data/vendor/local/share/gtksourceview-4/language-specs/fsharp.lang +324 -0
  192. data/vendor/local/share/gtksourceview-4/language-specs/gap.lang +84 -0
  193. data/vendor/local/share/gtksourceview-4/language-specs/gdb-log.lang +151 -0
  194. data/vendor/local/share/gtksourceview-4/language-specs/genie.lang +237 -0
  195. data/vendor/local/share/gtksourceview-4/language-specs/glsl.lang +482 -0
  196. data/vendor/local/share/gtksourceview-4/language-specs/go.lang +274 -0
  197. data/vendor/local/share/gtksourceview-4/language-specs/groovy.lang +330 -0
  198. data/vendor/local/share/gtksourceview-4/language-specs/gtk-doc.lang +90 -0
  199. data/vendor/local/share/gtksourceview-4/language-specs/gtkrc.lang +115 -0
  200. data/vendor/local/share/gtksourceview-4/language-specs/haddock.lang +161 -0
  201. data/vendor/local/share/gtksourceview-4/language-specs/haskell-literate.lang +58 -0
  202. data/vendor/local/share/gtksourceview-4/language-specs/haskell.lang +227 -0
  203. data/vendor/local/share/gtksourceview-4/language-specs/haxe.lang +237 -0
  204. data/vendor/local/share/gtksourceview-4/language-specs/html.lang +286 -0
  205. data/vendor/local/share/gtksourceview-4/language-specs/idl-exelis.lang +619 -0
  206. data/vendor/local/share/gtksourceview-4/language-specs/idl.lang +153 -0
  207. data/vendor/local/share/gtksourceview-4/language-specs/imagej.lang +783 -0
  208. data/vendor/local/share/gtksourceview-4/language-specs/ini.lang +94 -0
  209. data/vendor/local/share/gtksourceview-4/language-specs/j.lang +239 -0
  210. data/vendor/local/share/gtksourceview-4/language-specs/jade.lang +248 -0
  211. data/vendor/local/share/gtksourceview-4/language-specs/java.lang +188 -0
  212. data/vendor/local/share/gtksourceview-4/language-specs/javascript.lang +354 -0
  213. data/vendor/local/share/gtksourceview-4/language-specs/json.lang +124 -0
  214. data/vendor/local/share/gtksourceview-4/language-specs/julia.lang +376 -0
  215. data/vendor/local/share/gtksourceview-4/language-specs/kotlin.lang +389 -0
  216. data/vendor/local/share/gtksourceview-4/language-specs/language.dtd +72 -0
  217. data/vendor/local/share/gtksourceview-4/language-specs/language.rng +372 -0
  218. data/vendor/local/share/gtksourceview-4/language-specs/language2.rng +481 -0
  219. data/vendor/local/share/gtksourceview-4/language-specs/latex.lang +636 -0
  220. data/vendor/local/share/gtksourceview-4/language-specs/less.lang +793 -0
  221. data/vendor/local/share/gtksourceview-4/language-specs/lex.lang +208 -0
  222. data/vendor/local/share/gtksourceview-4/language-specs/libtool.lang +55 -0
  223. data/vendor/local/share/gtksourceview-4/language-specs/llvm.lang +314 -0
  224. data/vendor/local/share/gtksourceview-4/language-specs/logcat.lang +107 -0
  225. data/vendor/local/share/gtksourceview-4/language-specs/lua.lang +301 -0
  226. data/vendor/local/share/gtksourceview-4/language-specs/m4.lang +1374 -0
  227. data/vendor/local/share/gtksourceview-4/language-specs/makefile.lang +190 -0
  228. data/vendor/local/share/gtksourceview-4/language-specs/mallard.lang +123 -0
  229. data/vendor/local/share/gtksourceview-4/language-specs/markdown.lang +401 -0
  230. data/vendor/local/share/gtksourceview-4/language-specs/matlab.lang +148 -0
  231. data/vendor/local/share/gtksourceview-4/language-specs/maxima.lang +1864 -0
  232. data/vendor/local/share/gtksourceview-4/language-specs/mediawiki.lang +326 -0
  233. data/vendor/local/share/gtksourceview-4/language-specs/meson.lang +132 -0
  234. data/vendor/local/share/gtksourceview-4/language-specs/modelica.lang +261 -0
  235. data/vendor/local/share/gtksourceview-4/language-specs/mxml.lang +64 -0
  236. data/vendor/local/share/gtksourceview-4/language-specs/nemerle.lang +262 -0
  237. data/vendor/local/share/gtksourceview-4/language-specs/netrexx.lang +318 -0
  238. data/vendor/local/share/gtksourceview-4/language-specs/nsis.lang +87 -0
  239. data/vendor/local/share/gtksourceview-4/language-specs/objc.lang +119 -0
  240. data/vendor/local/share/gtksourceview-4/language-specs/objj.lang +127 -0
  241. data/vendor/local/share/gtksourceview-4/language-specs/ocaml.lang +301 -0
  242. data/vendor/local/share/gtksourceview-4/language-specs/ocl.lang +138 -0
  243. data/vendor/local/share/gtksourceview-4/language-specs/octave.lang +1757 -0
  244. data/vendor/local/share/gtksourceview-4/language-specs/ooc.lang +264 -0
  245. data/vendor/local/share/gtksourceview-4/language-specs/opal.lang +342 -0
  246. data/vendor/local/share/gtksourceview-4/language-specs/opencl.lang +599 -0
  247. data/vendor/local/share/gtksourceview-4/language-specs/pascal.lang +267 -0
  248. data/vendor/local/share/gtksourceview-4/language-specs/perl.lang +1044 -0
  249. data/vendor/local/share/gtksourceview-4/language-specs/php.lang +362 -0
  250. data/vendor/local/share/gtksourceview-4/language-specs/pig.lang +292 -0
  251. data/vendor/local/share/gtksourceview-4/language-specs/pkgconfig.lang +61 -0
  252. data/vendor/local/share/gtksourceview-4/language-specs/po.lang +93 -0
  253. data/vendor/local/share/gtksourceview-4/language-specs/prolog.lang +248 -0
  254. data/vendor/local/share/gtksourceview-4/language-specs/protobuf.lang +134 -0
  255. data/vendor/local/share/gtksourceview-4/language-specs/puppet.lang +696 -0
  256. data/vendor/local/share/gtksourceview-4/language-specs/python.lang +475 -0
  257. data/vendor/local/share/gtksourceview-4/language-specs/python3.lang +198 -0
  258. data/vendor/local/share/gtksourceview-4/language-specs/rpmspec.lang +215 -0
  259. data/vendor/local/share/gtksourceview-4/language-specs/rst.lang +141 -0
  260. data/vendor/local/share/gtksourceview-4/language-specs/ruby.lang +748 -0
  261. data/vendor/local/share/gtksourceview-4/language-specs/rust.lang +334 -0
  262. data/vendor/local/share/gtksourceview-4/language-specs/scala.lang +383 -0
  263. data/vendor/local/share/gtksourceview-4/language-specs/scheme.lang +301 -0
  264. data/vendor/local/share/gtksourceview-4/language-specs/scilab.lang +208 -0
  265. data/vendor/local/share/gtksourceview-4/language-specs/scss.lang +878 -0
  266. data/vendor/local/share/gtksourceview-4/language-specs/sh.lang +516 -0
  267. data/vendor/local/share/gtksourceview-4/language-specs/sml.lang +200 -0
  268. data/vendor/local/share/gtksourceview-4/language-specs/sparql.lang +451 -0
  269. data/vendor/local/share/gtksourceview-4/language-specs/sql.lang +617 -0
  270. data/vendor/local/share/gtksourceview-4/language-specs/sweave.lang +66 -0
  271. data/vendor/local/share/gtksourceview-4/language-specs/swift.lang +440 -0
  272. data/vendor/local/share/gtksourceview-4/language-specs/systemverilog.lang +262 -0
  273. data/vendor/local/share/gtksourceview-4/language-specs/t2t.lang +149 -0
  274. data/vendor/local/share/gtksourceview-4/language-specs/tcl.lang +145 -0
  275. data/vendor/local/share/gtksourceview-4/language-specs/tera.lang +142 -0
  276. data/vendor/local/share/gtksourceview-4/language-specs/texinfo.lang +447 -0
  277. data/vendor/local/share/gtksourceview-4/language-specs/thrift.lang +266 -0
  278. data/vendor/local/share/gtksourceview-4/language-specs/toml.lang +282 -0
  279. data/vendor/local/share/gtksourceview-4/language-specs/vala.lang +411 -0
  280. data/vendor/local/share/gtksourceview-4/language-specs/vbnet.lang +247 -0
  281. data/vendor/local/share/gtksourceview-4/language-specs/verilog.lang +475 -0
  282. data/vendor/local/share/gtksourceview-4/language-specs/vhdl.lang +247 -0
  283. data/vendor/local/share/gtksourceview-4/language-specs/xml.lang +219 -0
  284. data/vendor/local/share/gtksourceview-4/language-specs/xslt.lang +120 -0
  285. data/vendor/local/share/gtksourceview-4/language-specs/yacc.lang +176 -0
  286. data/vendor/local/share/gtksourceview-4/language-specs/yaml.lang +213 -0
  287. data/vendor/local/share/gtksourceview-4/styles/classic.xml +122 -0
  288. data/vendor/local/share/gtksourceview-4/styles/cobalt.xml +150 -0
  289. data/vendor/local/share/gtksourceview-4/styles/kate.xml +171 -0
  290. data/vendor/local/share/gtksourceview-4/styles/oblivion.xml +133 -0
  291. data/vendor/local/share/gtksourceview-4/styles/solarized-dark.xml +103 -0
  292. data/vendor/local/share/gtksourceview-4/styles/solarized-light.xml +102 -0
  293. data/vendor/local/share/gtksourceview-4/styles/styles.rng +139 -0
  294. data/vendor/local/share/gtksourceview-4/styles/tango.xml +130 -0
  295. data/vendor/local/share/license/gtksourceview/AUTHORS +15 -0
  296. data/vendor/local/share/license/gtksourceview/COPYING +504 -0
  297. data/vendor/local/share/locale/ar/LC_MESSAGES/gtksourceview-4.mo +0 -0
  298. data/vendor/local/share/locale/as/LC_MESSAGES/gtksourceview-4.mo +0 -0
  299. data/vendor/local/share/locale/ast/LC_MESSAGES/gtksourceview-4.mo +0 -0
  300. data/vendor/local/share/locale/az/LC_MESSAGES/gtksourceview-4.mo +0 -0
  301. data/vendor/local/share/locale/be/LC_MESSAGES/gtksourceview-4.mo +0 -0
  302. data/vendor/local/share/locale/bg/LC_MESSAGES/gtksourceview-4.mo +0 -0
  303. data/vendor/local/share/locale/bn/LC_MESSAGES/gtksourceview-4.mo +0 -0
  304. data/vendor/local/share/locale/bn_IN/LC_MESSAGES/gtksourceview-4.mo +0 -0
  305. data/vendor/local/share/locale/bs/LC_MESSAGES/gtksourceview-4.mo +0 -0
  306. data/vendor/local/share/locale/ca/LC_MESSAGES/gtksourceview-4.mo +0 -0
  307. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gtksourceview-4.mo +0 -0
  308. data/vendor/local/share/locale/cs/LC_MESSAGES/gtksourceview-4.mo +0 -0
  309. data/vendor/local/share/locale/cy/LC_MESSAGES/gtksourceview-4.mo +0 -0
  310. data/vendor/local/share/locale/da/LC_MESSAGES/gtksourceview-4.mo +0 -0
  311. data/vendor/local/share/locale/de/LC_MESSAGES/gtksourceview-4.mo +0 -0
  312. data/vendor/local/share/locale/dz/LC_MESSAGES/gtksourceview-4.mo +0 -0
  313. data/vendor/local/share/locale/el/LC_MESSAGES/gtksourceview-4.mo +0 -0
  314. data/vendor/local/share/locale/en@shaw/LC_MESSAGES/gtksourceview-4.mo +0 -0
  315. data/vendor/local/share/locale/en_CA/LC_MESSAGES/gtksourceview-4.mo +0 -0
  316. data/vendor/local/share/locale/en_GB/LC_MESSAGES/gtksourceview-4.mo +0 -0
  317. data/vendor/local/share/locale/eo/LC_MESSAGES/gtksourceview-4.mo +0 -0
  318. data/vendor/local/share/locale/es/LC_MESSAGES/gtksourceview-4.mo +0 -0
  319. data/vendor/local/share/locale/et/LC_MESSAGES/gtksourceview-4.mo +0 -0
  320. data/vendor/local/share/locale/eu/LC_MESSAGES/gtksourceview-4.mo +0 -0
  321. data/vendor/local/share/locale/fa/LC_MESSAGES/gtksourceview-4.mo +0 -0
  322. data/vendor/local/share/locale/fi/LC_MESSAGES/gtksourceview-4.mo +0 -0
  323. data/vendor/local/share/locale/fr/LC_MESSAGES/gtksourceview-4.mo +0 -0
  324. data/vendor/local/share/locale/fur/LC_MESSAGES/gtksourceview-4.mo +0 -0
  325. data/vendor/local/share/locale/ga/LC_MESSAGES/gtksourceview-4.mo +0 -0
  326. data/vendor/local/share/locale/gl/LC_MESSAGES/gtksourceview-4.mo +0 -0
  327. data/vendor/local/share/locale/gu/LC_MESSAGES/gtksourceview-4.mo +0 -0
  328. data/vendor/local/share/locale/he/LC_MESSAGES/gtksourceview-4.mo +0 -0
  329. data/vendor/local/share/locale/hi/LC_MESSAGES/gtksourceview-4.mo +0 -0
  330. data/vendor/local/share/locale/hr/LC_MESSAGES/gtksourceview-4.mo +0 -0
  331. data/vendor/local/share/locale/hu/LC_MESSAGES/gtksourceview-4.mo +0 -0
  332. data/vendor/local/share/locale/id/LC_MESSAGES/gtksourceview-4.mo +0 -0
  333. data/vendor/local/share/locale/it/LC_MESSAGES/gtksourceview-4.mo +0 -0
  334. data/vendor/local/share/locale/ja/LC_MESSAGES/gtksourceview-4.mo +0 -0
  335. data/vendor/local/share/locale/kk/LC_MESSAGES/gtksourceview-4.mo +0 -0
  336. data/vendor/local/share/locale/kn/LC_MESSAGES/gtksourceview-4.mo +0 -0
  337. data/vendor/local/share/locale/ko/LC_MESSAGES/gtksourceview-4.mo +0 -0
  338. data/vendor/local/share/locale/lt/LC_MESSAGES/gtksourceview-4.mo +0 -0
  339. data/vendor/local/share/locale/lv/LC_MESSAGES/gtksourceview-4.mo +0 -0
  340. data/vendor/local/share/locale/mai/LC_MESSAGES/gtksourceview-4.mo +0 -0
  341. data/vendor/local/share/locale/mg/LC_MESSAGES/gtksourceview-4.mo +0 -0
  342. data/vendor/local/share/locale/mk/LC_MESSAGES/gtksourceview-4.mo +0 -0
  343. data/vendor/local/share/locale/ml/LC_MESSAGES/gtksourceview-4.mo +0 -0
  344. data/vendor/local/share/locale/mn/LC_MESSAGES/gtksourceview-4.mo +0 -0
  345. data/vendor/local/share/locale/mr/LC_MESSAGES/gtksourceview-4.mo +0 -0
  346. data/vendor/local/share/locale/ms/LC_MESSAGES/gtksourceview-4.mo +0 -0
  347. data/vendor/local/share/locale/nb/LC_MESSAGES/gtksourceview-4.mo +0 -0
  348. data/vendor/local/share/locale/ne/LC_MESSAGES/gtksourceview-4.mo +0 -0
  349. data/vendor/local/share/locale/nl/LC_MESSAGES/gtksourceview-4.mo +0 -0
  350. data/vendor/local/share/locale/nn/LC_MESSAGES/gtksourceview-4.mo +0 -0
  351. data/vendor/local/share/locale/oc/LC_MESSAGES/gtksourceview-4.mo +0 -0
  352. data/vendor/local/share/locale/or/LC_MESSAGES/gtksourceview-4.mo +0 -0
  353. data/vendor/local/share/locale/pa/LC_MESSAGES/gtksourceview-4.mo +0 -0
  354. data/vendor/local/share/locale/pl/LC_MESSAGES/gtksourceview-4.mo +0 -0
  355. data/vendor/local/share/locale/pt/LC_MESSAGES/gtksourceview-4.mo +0 -0
  356. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gtksourceview-4.mo +0 -0
  357. data/vendor/local/share/locale/ro/LC_MESSAGES/gtksourceview-4.mo +0 -0
  358. data/vendor/local/share/locale/ru/LC_MESSAGES/gtksourceview-4.mo +0 -0
  359. data/vendor/local/share/locale/rw/LC_MESSAGES/gtksourceview-4.mo +0 -0
  360. data/vendor/local/share/locale/si/LC_MESSAGES/gtksourceview-4.mo +0 -0
  361. data/vendor/local/share/locale/sk/LC_MESSAGES/gtksourceview-4.mo +0 -0
  362. data/vendor/local/share/locale/sl/LC_MESSAGES/gtksourceview-4.mo +0 -0
  363. data/vendor/local/share/locale/sq/LC_MESSAGES/gtksourceview-4.mo +0 -0
  364. data/vendor/local/share/locale/sr/LC_MESSAGES/gtksourceview-4.mo +0 -0
  365. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gtksourceview-4.mo +0 -0
  366. data/vendor/local/share/locale/sv/LC_MESSAGES/gtksourceview-4.mo +0 -0
  367. data/vendor/local/share/locale/ta/LC_MESSAGES/gtksourceview-4.mo +0 -0
  368. data/vendor/local/share/locale/te/LC_MESSAGES/gtksourceview-4.mo +0 -0
  369. data/vendor/local/share/locale/tg/LC_MESSAGES/gtksourceview-4.mo +0 -0
  370. data/vendor/local/share/locale/th/LC_MESSAGES/gtksourceview-4.mo +0 -0
  371. data/vendor/local/share/locale/tr/LC_MESSAGES/gtksourceview-4.mo +0 -0
  372. data/vendor/local/share/locale/ug/LC_MESSAGES/gtksourceview-4.mo +0 -0
  373. data/vendor/local/share/locale/uk/LC_MESSAGES/gtksourceview-4.mo +0 -0
  374. data/vendor/local/share/locale/vi/LC_MESSAGES/gtksourceview-4.mo +0 -0
  375. data/vendor/local/share/locale/xh/LC_MESSAGES/gtksourceview-4.mo +0 -0
  376. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gtksourceview-4.mo +0 -0
  377. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gtksourceview-4.mo +0 -0
  378. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gtksourceview-4.mo +0 -0
  379. metadata +437 -0
@@ -0,0 +1,617 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+
4
+ This file is part of GtkSourceView
5
+
6
+ Author: Evert Verhellen <evert.verhellen@advalvas.be>
7
+ Copyright (C) 2003, 2005 Evert Verhellen <evert.verhellen@advalvas.be>
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 License
20
+ along with this library; if not, see <http://www.gnu.org/licenses/>.
21
+
22
+ -->
23
+ <language id="sql" name="SQL" version="2.0" _section="Source">
24
+ <metadata>
25
+ <property name="mimetypes">text/x-sql</property>
26
+ <property name="globs">*.sql</property>
27
+ <property name="line-comment-start">--</property>
28
+ </metadata>
29
+
30
+ <styles>
31
+ <style id="comment" name="Comment" map-to="def:comment"/>
32
+ <style id="floating-point" name="Floating Point" map-to="def:floating-point"/>
33
+ <style id="string" name="String" 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
+ <style id="type" name="Data Type" map-to="def:type"/>
38
+ <style id="some-thing" name="No idea what it is" map-to="def:preprocessor"/>
39
+ </styles>
40
+
41
+ <default-regex-options case-sensitive="false"/>
42
+
43
+ <definitions>
44
+
45
+ <context id="oracle-built-in-datatypes" style-ref="type">
46
+ <keyword>N?VARCHAR2</keyword>
47
+ <keyword>NUMBER</keyword>
48
+ <keyword>LONG</keyword>
49
+ <keyword>DATE</keyword>
50
+ <keyword>TIMESTAMP</keyword>
51
+ <keyword>INTERVAL</keyword>
52
+ <!-- FIXME no \n in patterns! -->
53
+ <keyword>(LONG[ \t\n]+)?RAW</keyword>
54
+ <keyword>U?ROWID</keyword>
55
+ <keyword>N?CHAR</keyword>
56
+ <keyword>(N?C|B)LOB</keyword>
57
+ <keyword>BFILE</keyword>
58
+ <keyword>BINARY_(FLOAT|DOUBLE)</keyword>
59
+ </context>
60
+
61
+ <context id="ansi-datatypes" style-ref="type">
62
+ <!-- FIXME no \n in patterns! -->
63
+ <keyword>(NATIONAL[ \t\n]+)?CHAR(ACTER)?([ \t\n]+VARYING)?</keyword>
64
+ <!-- FIXME no \n in patterns! -->
65
+ <keyword>NCHAR([ \t\n]+VARYING)?</keyword>
66
+ <keyword>NUMERIC|DECIMAL</keyword>
67
+ <keyword>INTEGER|INT|SMALLINT</keyword>
68
+ <!-- FIXME no \n in patterns! -->
69
+ <keyword>FLOAT|DOUBLE[ \t\n]+PRECISION|REAL</keyword>
70
+ </context>
71
+
72
+ <context id="sql-ds-and-db2-datatypes" style-ref="type">
73
+ <keyword>CHARACTER</keyword>
74
+ <!-- FIXME no \n in patterns! -->
75
+ <keyword>(LONG[ \t\n]+)?VARCHAR</keyword>
76
+ <keyword>DECIMAL</keyword>
77
+ <keyword>INTEGER|SMALLINT</keyword>
78
+ <keyword>FLOAT</keyword>
79
+ </context>
80
+
81
+ <context id="oracle-supplied-types" style-ref="type">
82
+ <keyword>SYS\.ANY(TYPE|DATA(SET)?)</keyword>
83
+ <keyword>XMLType</keyword>
84
+ <keyword>(HTTP|XDB|DB)?URIType</keyword>
85
+ <keyword>(MDSYS\.)?SDO_((TOPO_)?GEOMETRY|GEORASTER)</keyword>
86
+ <keyword>ORDSYS\.ORD(Audio|Doc|Image(Signature)?|Video)</keyword>
87
+ <keyword>SI_(StillImage|(Average|Positional)?Color|ColorHistogram|Texture|FeatureList)</keyword>
88
+ </context>
89
+
90
+ <context id="text-literals" style-ref="string" class="string" class-disabled="no-spell-check">
91
+ <start>[NnQqUu]?(['`])</start>
92
+ <end>\%{1@start}</end>
93
+ <include>
94
+ <context ref="def:escape"/>
95
+ <context ref="def:line-continue"/>
96
+ </include>
97
+ </context>
98
+
99
+ <context id="integer-literals" style-ref="decimal">
100
+ <match>\b[0-9]+\b</match>
101
+ </context>
102
+
103
+ <context id="number-literals" style-ref="floating-point">
104
+ <match>(\b[0-9]+(\.[0-9]+)?|\.[0-9]+)([Ee][\+-]?[0-9]+)?\b</match>
105
+ </context>
106
+
107
+ <context id="size-clause" style-ref="decimal">
108
+ <match>\b[0-9]+[ \t]*([Kk]|[Mm]|[Gg]|[Tt])\b</match>
109
+ </context>
110
+
111
+ <context id="unlimited" style-ref="decimal">
112
+ <keyword>UNLIMITED</keyword>
113
+ </context>
114
+
115
+ <context id="null" style-ref="decimal">
116
+ <keyword>NULL</keyword>
117
+ </context>
118
+
119
+ <context id="block-comment" style-ref="comment" class="comment" class-disabled="no-spell-check">
120
+ <start>/\*</start>
121
+ <end>\*/</end>
122
+ <include>
123
+ <context ref="def:in-line-comment"/>
124
+ </include>
125
+ </context>
126
+
127
+ <context id="line-comment" style-ref="comment" end-at-line-end="true" class="comment" class-disabled="no-spell-check">
128
+ <start>--</start>
129
+ <include>
130
+ <context ref="def:in-line-comment"/>
131
+ </include>
132
+ </context>
133
+
134
+ <context id="numeric-functions" style-ref="function">
135
+ <keyword>ABS</keyword>
136
+ <keyword>A(COS|SIN|TAN2?)</keyword>
137
+ <keyword>BITAND</keyword>
138
+ <keyword>CEIL</keyword>
139
+ <keyword>(COS|SIN|TAN)H?</keyword>
140
+ <keyword>EXP</keyword>
141
+ <keyword>FLOOR</keyword>
142
+ <keyword>LN</keyword>
143
+ <keyword>LOG</keyword>
144
+ <keyword>MOD</keyword>
145
+ <keyword>NANVL</keyword>
146
+ <keyword>POWER</keyword>
147
+ <keyword>REMAINDER</keyword>
148
+ <keyword>ROUND</keyword>
149
+ <keyword>SIGN</keyword>
150
+ <keyword>SQRT</keyword>
151
+ <keyword>TRUNC</keyword>
152
+ <keyword>WIDTH_BUCKET</keyword>
153
+ </context>
154
+
155
+ <context id="character-functions-returning-character-values" style-ref="function">
156
+ <keyword>N?CHR</keyword>
157
+ <keyword>CONCAT</keyword>
158
+ <keyword>(NLS_)?(INITCAP|LOWER|UPPER)</keyword>
159
+ <keyword>(L|R)PAD</keyword>
160
+ <keyword>(L|R)?TRIM</keyword>
161
+ <keyword>NLSSORT</keyword>
162
+ <keyword>REGEXP_(REPLACE|SUBSTR)</keyword>
163
+ <keyword>REPLACE</keyword>
164
+ <keyword>SOUNDEX</keyword>
165
+ <keyword>SUBSTR</keyword>
166
+ <keyword>TRANSLATE</keyword>
167
+ <keyword>TREAT</keyword>
168
+ </context>
169
+
170
+ <context id="nls-character-functions" style-ref="function">
171
+ <keyword>NLS_CHARSET_DECL_LEN</keyword>
172
+ <keyword>NLS_CHARSET_(ID|NAME)</keyword>
173
+ </context>
174
+
175
+ <context id="character-functions-returning-number-values" style-ref="function">
176
+ <keyword>ASCII</keyword>
177
+ <keyword>INSTR</keyword>
178
+ <keyword>LENGTH</keyword>
179
+ <keyword>REGEXP_INSTR</keyword>
180
+ </context>
181
+
182
+ <context id="datetime-functions" style-ref="function">
183
+ <keyword>ADD_MONTHS</keyword>
184
+ <keyword>CURRENT_(DATE|TIMESTAMP)</keyword>
185
+ <keyword>DBTIMEZONE</keyword>
186
+ <keyword>EXTRACT</keyword>
187
+ <keyword>FROM_TZ</keyword>
188
+ <keyword>(LAST|NEXT)_DAY</keyword>
189
+ <keyword>LOCALTIMESTAMP</keyword>
190
+ <keyword>MONTHS_BETWEEN</keyword>
191
+ <keyword>NEW_TIME</keyword>
192
+ <keyword>NUMTO(DS|YM)INTERVAL</keyword>
193
+ <keyword>ROUND</keyword>
194
+ <keyword>SESSIONTIMEZONE</keyword>
195
+ <keyword>SYS_EXTRACT_UTC</keyword>
196
+ <keyword>SYS(DATE|TIMESTAMP)</keyword>
197
+ <keyword>TO_CHAR</keyword>
198
+ <keyword>TO_(DS|YM)INTERVAL</keyword>
199
+ <keyword>TO_TIMESTAMP(_TZ)?</keyword>
200
+ <keyword>TRUNC</keyword>
201
+ <keyword>TZ_OFFSET</keyword>
202
+ </context>
203
+
204
+ <context id="general-comparison-functions" style-ref="function">
205
+ <keyword>GREATEST</keyword>
206
+ <keyword>LEAST</keyword>
207
+ </context>
208
+
209
+ <context id="conversion-functions" style-ref="function">
210
+ <keyword>ASCIISTR</keyword>
211
+ <keyword>BIN_TO_NUM</keyword>
212
+ <keyword>CAST</keyword>
213
+ <keyword>CHARTOROWID</keyword>
214
+ <keyword>(DE)?COMPOSE</keyword>
215
+ <keyword>CONVERT</keyword>
216
+ <keyword>HEXTORAW</keyword>
217
+ <keyword>NUMTO(DS|YM)INTERVAL</keyword>
218
+ <keyword>RAWTON?HEX</keyword>
219
+ <keyword>ROWIDTON?CHAR</keyword>
220
+ <keyword>SCN_TO_TIMESTAMP</keyword>
221
+ <keyword>TIMESTAMP_TO_SCN</keyword>
222
+ <keyword>TO_BINARY_(DOUBLE|FLOAT)</keyword>
223
+ <keyword>TO_N?(CHAR|CLOB)</keyword>
224
+ <keyword>TO_DATE</keyword>
225
+ <keyword>TO_(DS|YM)INTERVAL</keyword>
226
+ <keyword>TO_LOB</keyword>
227
+ <keyword>TO_(MULTI|SINGLE)_BYTE</keyword>
228
+ <keyword>TO_NUMBER</keyword>
229
+ <keyword>TRANSLATE</keyword>
230
+ <keyword>UNISTR</keyword>
231
+ </context>
232
+
233
+ <context id="large-object-functions" style-ref="function">
234
+ <keyword>BFILENAME</keyword>
235
+ <keyword>EMPTY_(B|C)LOB</keyword>
236
+ </context>
237
+
238
+ <context id="collection-functions" style-ref="function">
239
+ <keyword>CARDINALITY</keyword>
240
+ <keyword>COLLECT</keyword>
241
+ <keyword>POWERMULTISET(_BY_CARDINALITY)?</keyword>
242
+ </context>
243
+
244
+ <context id="hierarchical-function" style-ref="function">
245
+ <keyword>SYS_CONNECT_BY_PATH</keyword>
246
+ </context>
247
+
248
+ <context id="data-mining-functions" style-ref="function">
249
+ <keyword>CLUSTER_(ID|PROBABILITY|SET)</keyword>
250
+ <keyword>FEATURE_(ID|SET|VALUE)</keyword>
251
+ <keyword>PREDICTION</keyword>
252
+ <keyword>PREDICTION_(COST|DETAILS|PROBABILITY|SET)</keyword>
253
+ </context>
254
+
255
+ <context id="xml-functions" style-ref="function">
256
+ <keyword>(APPEND|INSERT)CHILDXML</keyword>
257
+ <keyword>(DELETE|UPDATE)XML</keyword>
258
+ <keyword>DEPTH</keyword>
259
+ <keyword>EXISTSNODE</keyword>
260
+ <keyword>EXTRACT(VALUE)?</keyword>
261
+ <keyword>INSERTXMLBEFORE</keyword>
262
+ <keyword>PATH</keyword>
263
+ <keyword>SYS_DBURIGEN</keyword>
264
+ <keyword>SYS_XML(AGG|GEN)</keyword>
265
+ <keyword>XML(AGG|CDATA|COLATTVAL|COMMENT|CONCAT|ELEMENT|FOREST|PARSE|PI|QUERY|ROOT|SEQUENCE|SERIALIZE|TABLE|TRANSFORM)</keyword>
266
+ </context>
267
+
268
+ <context id="encoding-and-decoding-functions" style-ref="function">
269
+ <keyword>DECODE</keyword>
270
+ <keyword>DUMP</keyword>
271
+ <keyword>ORA_HASH</keyword>
272
+ <keyword>VSIZE</keyword>
273
+ </context>
274
+
275
+ <context id="null-related-functions" style-ref="function">
276
+ <keyword>COALESCE</keyword>
277
+ <keyword>LNNVL</keyword>
278
+ <keyword>NULLIF</keyword>
279
+ <keyword>NVL2?</keyword>
280
+ </context>
281
+
282
+ <context id="environment-and-identifier-functions" style-ref="function">
283
+ <keyword>SYS_CONTEXT</keyword>
284
+ <keyword>SYS_GUID</keyword>
285
+ <keyword>SYS_TYPEID</keyword>
286
+ <keyword>UID</keyword>
287
+ <keyword>USER</keyword>
288
+ <keyword>USERENV</keyword>
289
+ </context>
290
+
291
+ <context id="aggregate-functions" style-ref="function">
292
+ <keyword>AVG</keyword>
293
+ <keyword>CORR(_(S|K))?</keyword>
294
+ <keyword>COUNT</keyword>
295
+ <keyword>COVAR_(POP|SAMP)</keyword>
296
+ <keyword>CUME_DIST</keyword>
297
+ <keyword>(DENSE|PERCENT)_RANK</keyword>
298
+ <keyword>FIRST|LAST</keyword>
299
+ <keyword>GROUP_ID</keyword>
300
+ <keyword>GROUPING(_ID)?</keyword>
301
+ <keyword>MAX|MIN</keyword>
302
+ <keyword>MEDIAN</keyword>
303
+ <keyword>PERCENTILE_(CONT|DISC)</keyword>
304
+ <keyword>RANK</keyword>
305
+ <keyword>REGR_(SLOPE|INTERCEPT|COUNT|R2|AVGX|AVGY|SXX|SYY|SXY)</keyword>
306
+ <keyword>STATS_((BINOMIAL|F|KS|MW|WSR)_TEST|CROSSTAB|MODE|ONE_WAY_ANOVA|T_TEST_(ONE|PAIRED|INDEPU?))</keyword>
307
+ <keyword>STDDEV|VARIANCE</keyword>
308
+ <keyword>(STDDEV|VAR)_(POP|SAMP)</keyword>
309
+ <keyword>SUM</keyword>
310
+ </context>
311
+
312
+ <context id="analytic-functions" style-ref="function">
313
+ <keyword>AVG</keyword>
314
+ <keyword>CORR</keyword>
315
+ <keyword>COVAR_(POP|SAMP)</keyword>
316
+ <keyword>COUNT</keyword>
317
+ <keyword>CUME_DIST</keyword>
318
+ <keyword>(DENSE|PERCENT)_RANK</keyword>
319
+ <keyword>(FIRST|LAST)(_VALUE)?</keyword>
320
+ <keyword>LAG</keyword>
321
+ <keyword>LEAD</keyword>
322
+ <keyword>MAX|MIN</keyword>
323
+ <keyword>NTILE</keyword>
324
+ <keyword>PERCENTILE_(CONT|DISC)</keyword>
325
+ <keyword>RANK</keyword>
326
+ <keyword>RATIO_TO_REPORT</keyword>
327
+ <keyword>REGR_(SLOPE|INTERCEPT|COUNT|R2|AVGX|AVGY|SXX|SYY|SXY)</keyword>
328
+ <keyword>ROW_NUMBER</keyword>
329
+ <keyword>STDDEV|VARIANCE</keyword>
330
+ <keyword>(STDDEV|VAR)_(POP|SAMP)</keyword>
331
+ <keyword>SUM</keyword>
332
+ </context>
333
+
334
+ <context id="object-reference-functions" style-ref="function">
335
+ <keyword>DEREF</keyword>
336
+ <keyword>MAKE_REF</keyword>
337
+ <keyword>REF</keyword>
338
+ <keyword>REFTOHEX</keyword>
339
+ <keyword>VALUE</keyword>
340
+ </context>
341
+
342
+ <context id="model-functions" style-ref="function">
343
+ <keyword>CV</keyword>
344
+ <keyword>ITERATION_NUMBER</keyword>
345
+ <keyword>PRESENT(NN)?V</keyword>
346
+ <keyword>PREVIOUS</keyword>
347
+ </context>
348
+
349
+ <context id="ansi-reserved-words" style-ref="keyword">
350
+ <keyword>ADD</keyword>
351
+ <keyword>ALL</keyword>
352
+ <keyword>ALTER</keyword>
353
+ <keyword>AND</keyword>
354
+ <keyword>ANY</keyword>
355
+ <keyword>AS</keyword>
356
+ <keyword>ASC</keyword>
357
+ <keyword>BETWEEN</keyword>
358
+ <keyword>BY</keyword>
359
+ <keyword>CASE</keyword>
360
+ <keyword>CHECK</keyword>
361
+ <keyword>CREATE</keyword>
362
+ <keyword>CROSS</keyword>
363
+ <keyword>CURRENT</keyword>
364
+ <keyword>DECIMAL</keyword>
365
+ <keyword>DEFAULT</keyword>
366
+ <keyword>DELETE</keyword>
367
+ <keyword>DISTINCT</keyword>
368
+ <keyword>DROP</keyword>
369
+ <keyword>ELSE</keyword>
370
+ <keyword>END</keyword>
371
+ <keyword>FLOAT</keyword>
372
+ <keyword>FOR</keyword>
373
+ <keyword>FROM</keyword>
374
+ <keyword>FULL</keyword>
375
+ <keyword>GRANT</keyword>
376
+ <keyword>GROUP</keyword>
377
+ <keyword>HAVING</keyword>
378
+ <keyword>IMMEDIATE</keyword>
379
+ <keyword>INNER</keyword>
380
+ <keyword>INSERT</keyword>
381
+ <keyword>INTEGER</keyword>
382
+ <keyword>INTERSECT</keyword>
383
+ <keyword>INTO</keyword>
384
+ <keyword>IN</keyword>
385
+ <keyword>IS</keyword>
386
+ <keyword>JOIN</keyword>
387
+ <keyword>LEFT</keyword>
388
+ <keyword>LEVEL</keyword>
389
+ <keyword>LIKE</keyword>
390
+ <keyword>NATURAL</keyword>
391
+ <keyword>NOT</keyword>
392
+ <keyword>OF</keyword>
393
+ <keyword>ON</keyword>
394
+ <keyword>OPTION</keyword>
395
+ <keyword>ORDER</keyword>
396
+ <keyword>OR</keyword>
397
+ <keyword>OUTER</keyword>
398
+ <keyword>PRIOR</keyword>
399
+ <keyword>PRIVILEGES</keyword>
400
+ <keyword>PUBLIC</keyword>
401
+ <keyword>REVOKE</keyword>
402
+ <keyword>RIGHT</keyword>
403
+ <keyword>ROWS</keyword>
404
+ <keyword>SELECT</keyword>
405
+ <keyword>SESSION</keyword>
406
+ <keyword>SET</keyword>
407
+ <keyword>SIZE</keyword>
408
+ <keyword>SMALLINT</keyword>
409
+ <keyword>TABLE</keyword>
410
+ <keyword>THEN</keyword>
411
+ <keyword>TO</keyword>
412
+ <keyword>UNION</keyword>
413
+ <keyword>UNIQUE</keyword>
414
+ <keyword>UPDATE</keyword>
415
+ <keyword>USING</keyword>
416
+ <keyword>VALUES</keyword>
417
+ <keyword>VIEW</keyword>
418
+ <keyword>WHEN</keyword>
419
+ <keyword>WITH</keyword>
420
+ </context>
421
+
422
+ <context id="oracle-reserved-words" style-ref="keyword">
423
+ <keyword>ACCESS</keyword>
424
+ <keyword>AUDIT</keyword>
425
+ <keyword>CLUSTER</keyword>
426
+ <keyword>COMMENT</keyword>
427
+ <keyword>COMPRESS</keyword>
428
+ <keyword>CONNECT[ \t]+BY</keyword>
429
+ <keyword>CUBE</keyword>
430
+ <keyword>EXCLUSIVE</keyword>
431
+ <keyword>EXISTS</keyword>
432
+ <keyword>FILE</keyword>
433
+ <keyword>GROUPING[ \t]+SETS</keyword>
434
+ <keyword>IDENTIFIED</keyword>
435
+ <keyword>INCREMENT</keyword>
436
+ <keyword>INDEX</keyword>
437
+ <keyword>INITIAL</keyword>
438
+ <keyword>LOCK</keyword>
439
+ <keyword>MAXEXTENTS</keyword>
440
+ <keyword>MINUS</keyword>
441
+ <keyword>MLSLABEL</keyword>
442
+ <keyword>MODE</keyword>
443
+ <keyword>MODIFY</keyword>
444
+ <keyword>NOAUDIT</keyword>
445
+ <keyword>NOCOMPRESS</keyword>
446
+ <keyword>NOCYCLE</keyword>
447
+ <keyword>NOWAIT</keyword>
448
+ <keyword>OFFLINE</keyword>
449
+ <keyword>ONLINE</keyword>
450
+ <keyword>PCTFREE</keyword>
451
+ <keyword>RENAME</keyword>
452
+ <keyword>RESOURCE</keyword>
453
+ <keyword>ROLLUP</keyword>
454
+ <keyword>ROW</keyword>
455
+ <keyword>ROWNUM</keyword>
456
+ <keyword>SHARE</keyword>
457
+ <keyword>SIBLINGS</keyword>
458
+ <keyword>START[ \t]+WITH</keyword>
459
+ <keyword>SUCCESSFUL</keyword>
460
+ <keyword>SYNONYM</keyword>
461
+ <keyword>TRIGGER</keyword>
462
+ <keyword>VALIDATE</keyword>
463
+ <keyword>WHERE</keyword>
464
+ </context>
465
+
466
+ <context id="sql-statements" style-ref="keyword">
467
+ <prefix>^[ \t]*</prefix>
468
+ <keyword>ALTER[ \t]+(CLUSTER|DATABASE|DIMENSION|DISKGROUP|FUNCTION|INDEX(TYPE)?|JAVA|MATERIALIZED[ \t]+VIEW([ \t]+LOG)?|OPERATOR|OUTLINE|PACKAGE|PROCEDURE|PROFILE|RESOURCE[ \t]+COST|ROLE|ROLLBACK[ \t]+SEGMENT|SEQUENCE|SESSION|SYSTEM|TABLE(SPACE)?|TRIGGER|TYPE|USER|VIEW)</keyword>
469
+ <keyword>ANALYZE</keyword>
470
+ <keyword>(DIS)?ASSOCIATE[ \t]+STATISTICS</keyword>
471
+ <keyword>CALL</keyword>
472
+ <keyword>COMMIT([ \t]+WORK)?</keyword>
473
+ <keyword>CREATE[ \t]+(CLUSTER|CONTEXT|CONTROLFILE|DATABASE([ \t]+LINK)?|DIMENSION|DIRECTORY|DISKGROUP|FUNCTION|INDEX(TYPE)?|JAVA|LIBRARY|MATERIALIZED[ \t]+VIEW([ \t]+LOG)?|OPERATOR|OUTLINE|PACKAGE([ \t]+BODY)?|S?PFILE|PROCEDURE|PROFILE|RESTORE[ \t]+POINT|ROLE|ROLLBACK[ \t]+SEGMENT|SCHEMA|SEQUENCE|SYNONYM|TABLE(SPACE)?|TRIGGER|TYPE([ \t]+BODY)?|USER|VIEW)</keyword>
474
+ <keyword>DROP[ \t]+(CLUSTER|CONTEXT|DATABASE([ \t]+LINK)?|DIMENSION|DIRECTORY|DISKGROUP|FUNCTION|INDEX(TYPE)?|JAVA|LIBRARY|MATERIALIZED[ \t]+VIEW([ \t]+LOG)?|OPERATOR|OUTLINE|PACKAGE|PROCEDURE|PROFILE|RESTORE[ \t]+POINT|ROLE|ROLLBACK[ \t]+SEGMENT|SEQUENCE|SYNONYM|TABLE(SPACE)?|TRIGGER|TYPE([ \t]+BODY)?|USER|VIEW)</keyword>
475
+ <keyword>EXPLAIN[ \t]+PLAN</keyword>
476
+ <keyword>FLASHBACK[ \t]+(DATABASE|TABLE)</keyword>
477
+ <keyword>LOCK[ \t]+TABLE</keyword>
478
+ <keyword>MERGE</keyword>
479
+ <keyword>PURGE</keyword>
480
+ <keyword>ROLLBACK</keyword>
481
+ <keyword>SAVEPOINT</keyword>
482
+ <keyword>SET[ \t]+CONSTRAINTS?</keyword>
483
+ <keyword>SET[ \t]+ROLE</keyword>
484
+ <keyword>SET[ \t]+TRANSACTION</keyword>
485
+ <keyword>TRUNCATE</keyword>
486
+ </context>
487
+
488
+ <context id="operators" style-ref="keyword">
489
+ <keyword>CONNECT_BY_ROOT</keyword>
490
+ <keyword>MULTISET[ \t]+(EXCEPT|INTERSECT|UNION)</keyword>
491
+ </context>
492
+
493
+ <context id="conditions" style-ref="keyword">
494
+ <keyword>SOME</keyword>
495
+ <keyword>IS[ \t]+(NOT[ \t]+)?(NAN|INFINITE)</keyword>
496
+ <keyword>IS[ \t]+(NOT[ \t]+)?NULL</keyword>
497
+ <keyword>(EQUALS|UNDER)_PATH</keyword>
498
+ <keyword>(NOT[ \t]+)?IN</keyword>
499
+ <keyword>IS[ \t]+(NOT[ \t]+)?A[ \t]+SET</keyword>
500
+ <keyword>IS[ \t]+(NOT[ \t]+)?EMPTY</keyword>
501
+ <keyword>IS[ \t]+(NOT[ \t]+)?OF([ \t]+TYPE)?</keyword>
502
+ <keyword>IS[ \t]+PRESENT</keyword>
503
+ <keyword>(NOT[ \t]+)?LIKE(C|2|4)?</keyword>
504
+ <keyword>(NOT[ \t]+)?MEMBER([ \t]+OF)?</keyword>
505
+ <keyword>REGEXP_LIKE</keyword>
506
+ <keyword>(NOT[ \t]+)?SUBMULTISET([ \t]+OF)?</keyword>
507
+ </context>
508
+
509
+ <context id="sql-plus-at-sign" style-ref="some-thing">
510
+ <match>^[ \t]*@</match>
511
+ </context>
512
+
513
+ <context id="sql-plus-double-at-sign" style-ref="some-thing">
514
+ <match>^[ \t]*@@</match>
515
+ </context>
516
+
517
+ <context id="sql-plus-slash" style-ref="some-thing">
518
+ <match>^[ \t]*/</match>
519
+ </context>
520
+
521
+ <context id="sql-plus-commands" style-ref="some-thing">
522
+ <prefix>^[ \t]*</prefix>
523
+ <keyword>ACC(EPT)?</keyword>
524
+ <keyword>A(PPEND)?</keyword>
525
+ <keyword>ARCHIVE[ \t]LOG</keyword>
526
+ <keyword>ATTRIBUTE</keyword>
527
+ <keyword>BRE(AK)?</keyword>
528
+ <keyword>BTI(TLE)?</keyword>
529
+ <keyword>C(HANGE)?</keyword>
530
+ <keyword>CL(EAR)?</keyword>
531
+ <keyword>COL(UMN)?</keyword>
532
+ <keyword>COMP(UTE)?</keyword>
533
+ <keyword>CONN(ECT)?</keyword>
534
+ <keyword>COPY</keyword>
535
+ <keyword>DEF(INE)?</keyword>
536
+ <keyword>DEL</keyword>
537
+ <keyword>DESC(RIBE)?</keyword>
538
+ <keyword>DISC(ONNECT)?</keyword>
539
+ <keyword>ED(IT)?</keyword>
540
+ <keyword>EXEC(UTE)?</keyword>
541
+ <keyword>EXIT|QUIT</keyword>
542
+ <keyword>GET</keyword>
543
+ <keyword>HELP</keyword>
544
+ <keyword>HO(ST)?</keyword>
545
+ <keyword>I(NPUT)?</keyword>
546
+ <keyword>L(IST)?</keyword>
547
+ <keyword>PASSW(ORD)?</keyword>
548
+ <keyword>PAU(SE)?</keyword>
549
+ <keyword>PRI(NT)?</keyword>
550
+ <keyword>PRO(MPT)?</keyword>
551
+ <keyword>RECOVER</keyword>
552
+ <keyword>REM(ARK)?</keyword>
553
+ <keyword>REPF(OOTER)?</keyword>
554
+ <keyword>REPH(EADER)?</keyword>
555
+ <keyword>R(UN)?</keyword>
556
+ <keyword>SAV(E)?</keyword>
557
+ <keyword>SET[ \t]+(APPI(NFO)?|ARRAY(SIZE)?|AUTO(COMMIT)?|AUTOP(RINT)?|AUTORECOVERY|AUTOT(RACE)?|BLO(CKTERMINATOR)?|CMDS(EP)?|COLSEP|COM(PATIBILITY)?|CON(CAT)?|COPYC(OMMIT)?|COPYTYPECHECK|DEF(INE)?|DESCRIBE|ECHO|EDITF(ILE)?|EMB(EDDED)?|ESC(APE)?|FEED(BACK)?|FLAGGER|FLU(SH)?|HEA(DING)?|HEADS(EP)?|INSTANCE|LIN(ESIZE)?|LOBOF(FSET)?|LOGSOURCE|LONG|LONGC(HUNKSIZE)?|MARK(UP)?|NEWP(AGE)?|NULL|NUMF(ORMAT)?|NUM(WIDTH)?|PAGES(IZE)?|PAU(SE)?|RECSEP|RECSEPCHAR|SERVEROUT(PUT)?|SHIFT(INOUT)?|SHOW(MODE)?|SQLBL(ANKLINES)?|SQLC(ASE)?|SQLCO(NTINUE)?|SQLN(UMBER)?|SQLPLUSCOMPAT(IBILITY)?|SQLPRE(FIX)?|SQLP(ROMPT)?|SQLT(ERMINATOR)?|SUF(FIX)?|TAB|TERM(OUT)?|TI(ME)?|TIMI(NG)?|TRIM(OUT)?|TRIMS(POOL)?|UND(ERLINE)?|VER(IFY)?|WRA(P)?)</keyword>
558
+ <keyword>SHO(W)?</keyword>
559
+ <keyword>SHUTDOWN</keyword>
560
+ <keyword>SPO(OL)?</keyword>
561
+ <keyword>STA(RT)?</keyword>
562
+ <keyword>STARTUP</keyword>
563
+ <keyword>STORE</keyword>
564
+ <keyword>TIMI(NG)?</keyword>
565
+ <keyword>TTI(TLE)?</keyword>
566
+ <keyword>UNDEF(INE)?</keyword>
567
+ <keyword>VAR(IABLE)?</keyword>
568
+ <keyword>WHENEVER[ \t]+(OS|SQL)ERROR</keyword>
569
+ </context>
570
+
571
+ <context id="sql" class="no-spell-check">
572
+ <include>
573
+ <context ref="oracle-built-in-datatypes"/>
574
+ <context ref="ansi-datatypes"/>
575
+ <context ref="sql-ds-and-db2-datatypes"/>
576
+ <context ref="oracle-supplied-types"/>
577
+ <context ref="text-literals"/>
578
+ <context ref="integer-literals"/>
579
+ <context ref="number-literals"/>
580
+ <context ref="size-clause"/>
581
+ <context ref="unlimited"/>
582
+ <context ref="null"/>
583
+ <context ref="block-comment"/>
584
+ <context ref="line-comment"/>
585
+ <context ref="numeric-functions"/>
586
+ <context ref="character-functions-returning-character-values"/>
587
+ <context ref="nls-character-functions"/>
588
+ <context ref="character-functions-returning-number-values"/>
589
+ <context ref="datetime-functions"/>
590
+ <context ref="general-comparison-functions"/>
591
+ <context ref="conversion-functions"/>
592
+ <context ref="large-object-functions"/>
593
+ <context ref="collection-functions"/>
594
+ <context ref="hierarchical-function"/>
595
+ <context ref="data-mining-functions"/>
596
+ <context ref="xml-functions"/>
597
+ <context ref="encoding-and-decoding-functions"/>
598
+ <context ref="null-related-functions"/>
599
+ <context ref="environment-and-identifier-functions"/>
600
+ <context ref="aggregate-functions"/>
601
+ <context ref="analytic-functions"/>
602
+ <context ref="object-reference-functions"/>
603
+ <context ref="model-functions"/>
604
+ <context ref="ansi-reserved-words"/>
605
+ <context ref="oracle-reserved-words"/>
606
+ <context ref="sql-statements"/>
607
+ <context ref="operators"/>
608
+ <context ref="conditions"/>
609
+ <context ref="sql-plus-at-sign"/>
610
+ <context ref="sql-plus-double-at-sign"/>
611
+ <context ref="sql-plus-slash"/>
612
+ <context ref="sql-plus-commands"/>
613
+ </include>
614
+ </context>
615
+
616
+ </definitions>
617
+ </language>
@@ -0,0 +1,66 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+
4
+ This file is part of GtkSourceView
5
+
6
+ Authors: Lawrence Hudson
7
+ Copyright (C) 2010, 2014 Lawrence Hudson <quicklizard@googlemail.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 License
20
+ along with this library; if not, see <http://www.gnu.org/licenses/>.
21
+
22
+ -->
23
+
24
+ <language id="sweave" name="Sweave" version="2.0" _section="Markup">
25
+ <metadata>
26
+ <property name="globs">*.rnw;*.Rnw;*.snw;*.Snw</property>
27
+ <property name="line-comment-start">%</property>
28
+ </metadata>
29
+
30
+ <styles>
31
+ <style id="comment" name="Comment" map-to="latex:comment"/>
32
+ <style id="command" name="Command" map-to="latex:command"/>
33
+ <style id="verbatim" name="Verbatim" map-to="latex:verbatim"/>
34
+ </styles>
35
+
36
+ <definitions>
37
+ <context id="inline-R" class="no-spell-check">
38
+ <match>(\\Sexpr)\{([^\}]*)\}</match>
39
+ <include>
40
+ <context sub-pattern="1" style-ref="command"/>
41
+ <context sub-pattern="2" style-ref="verbatim"/>
42
+ </include>
43
+ </context>
44
+
45
+ <context id="R-block" class="no-spell-check">
46
+ <start>^\s*&lt;&lt;.*&gt;&gt;=</start>
47
+ <end>@</end>
48
+ <include>
49
+ <context sub-pattern="0" where="start" style-ref="command"/>
50
+ <context sub-pattern="0" where="end" style-ref="command"/>
51
+ <context ref="r:r"/>
52
+ <context id="R-slot" class="no-spell-check">
53
+ <match>[[:alnum:]]@[[:alnum:]]</match>
54
+ </context>
55
+ </include>
56
+ </context>
57
+
58
+ <context id="sweave">
59
+ <include>
60
+ <context ref="inline-R"/>
61
+ <context ref="R-block"/>
62
+ <context ref="latex:latex"/>
63
+ </include>
64
+ </context>
65
+ </definitions>
66
+ </language>