gtksourceview3 2.2.4-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (334) hide show
  1. checksums.yaml +7 -0
  2. data/Rakefile +59 -0
  3. data/ext/gtksourceview3/depend +6 -0
  4. data/ext/gtksourceview3/extconf.rb +67 -0
  5. data/ext/gtksourceview3/gtksourceview3.def +2 -0
  6. data/ext/gtksourceview3/rbgtksource.c +53 -0
  7. data/ext/gtksourceview3/rbgtksourcebuffer.c +318 -0
  8. data/ext/gtksourceview3/rbgtksourcegutter.c +82 -0
  9. data/ext/gtksourceview3/rbgtksourcegutterrenderer.c +143 -0
  10. data/ext/gtksourceview3/rbgtksourcegutterrendererpixbuf.c +42 -0
  11. data/ext/gtksourceview3/rbgtksourcegutterrenderertext.c +40 -0
  12. data/ext/gtksourceview3/rbgtksourcelanguage.c +124 -0
  13. data/ext/gtksourceview3/rbgtksourcelanguagemanager.c +114 -0
  14. data/ext/gtksourceview3/rbgtksourcemark.c +85 -0
  15. data/ext/gtksourceview3/rbgtksourcemarkattributes.c +77 -0
  16. data/ext/gtksourceview3/rbgtksourceprintcompositor.c +171 -0
  17. data/ext/gtksourceview3/rbgtksourcestyle.c +42 -0
  18. data/ext/gtksourceview3/rbgtksourcestylescheme.c +72 -0
  19. data/ext/gtksourceview3/rbgtksourcestyleschememanager.c +140 -0
  20. data/ext/gtksourceview3/rbgtksourceundomanager.c +83 -0
  21. data/ext/gtksourceview3/rbgtksourceview.c +94 -0
  22. data/ext/gtksourceview3/rbgtksourceview3conversions.h +50 -0
  23. data/ext/gtksourceview3/rbgtksourceview3private.h +53 -0
  24. data/extconf.rb +49 -0
  25. data/lib/2.0/gtksourceview3.so +0 -0
  26. data/lib/2.1/gtksourceview3.so +0 -0
  27. data/lib/2.2/gtksourceview3.so +0 -0
  28. data/lib/gtksourceview3.rb +20 -0
  29. data/lib/gtksourceview3/deprecated.rb +47 -0
  30. data/sample/sourcelanguagemanager.rb +21 -0
  31. data/sample/test.rb +32 -0
  32. data/test/run-test.rb +44 -0
  33. data/test/test_mark_attributes.rb +26 -0
  34. data/test/test_source_gutter_renderer.rb +33 -0
  35. data/test/test_source_language_manager.rb +46 -0
  36. data/test/test_source_view.rb +57 -0
  37. data/vendor/local/bin/libgtksourceview-3.0-1.dll +0 -0
  38. data/vendor/local/include/gtksourceview-3.0/gtksourceview/completion-providers/words/gtksourcecompletionwords.h +65 -0
  39. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksource.h +54 -0
  40. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcebuffer.h +213 -0
  41. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletion.h +142 -0
  42. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletioncontext.h +95 -0
  43. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletioninfo.h +78 -0
  44. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionitem.h +70 -0
  45. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionproposal.h +97 -0
  46. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionprovider.h +137 -0
  47. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceencoding.h +54 -0
  48. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcefile.h +115 -0
  49. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcefileloader.h +122 -0
  50. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcefilesaver.h +147 -0
  51. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutter.h +90 -0
  52. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrenderer.h +229 -0
  53. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrendererpixbuf.h +87 -0
  54. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrenderertext.h +83 -0
  55. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcelanguage.h +85 -0
  56. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcelanguagemanager.h +84 -0
  57. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemark.h +71 -0
  58. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemarkattributes.h +100 -0
  59. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceprintcompositor.h +175 -0
  60. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcesearchcontext.h +133 -0
  61. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcesearchsettings.h +85 -0
  62. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyle.h +45 -0
  63. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestylescheme.h +109 -0
  64. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschememanager.h +86 -0
  65. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcetypes.h +101 -0
  66. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceundomanager.h +75 -0
  67. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceutils.h +34 -0
  68. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview-typebuiltins.h +88 -0
  69. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview.h +213 -0
  70. data/vendor/local/lib/girepository-1.0/GtkSource-3.0.typelib +0 -0
  71. data/vendor/local/lib/libgtksourceview-3.0.dll.a +0 -0
  72. data/vendor/local/lib/libgtksourceview-3.0.la +41 -0
  73. data/vendor/local/lib/locale/ar/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  74. data/vendor/local/lib/locale/as/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  75. data/vendor/local/lib/locale/ast/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  76. data/vendor/local/lib/locale/az/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  77. data/vendor/local/lib/locale/be/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  78. data/vendor/local/lib/locale/bg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  79. data/vendor/local/lib/locale/bn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  80. data/vendor/local/lib/locale/bn_IN/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  81. data/vendor/local/lib/locale/bs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  82. data/vendor/local/lib/locale/ca/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  83. data/vendor/local/lib/locale/ca@valencia/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  84. data/vendor/local/lib/locale/cs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  85. data/vendor/local/lib/locale/cy/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  86. data/vendor/local/lib/locale/da/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  87. data/vendor/local/lib/locale/de/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  88. data/vendor/local/lib/locale/dz/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  89. data/vendor/local/lib/locale/el/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  90. data/vendor/local/lib/locale/en@shaw/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  91. data/vendor/local/lib/locale/en_CA/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  92. data/vendor/local/lib/locale/en_GB/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  93. data/vendor/local/lib/locale/eo/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  94. data/vendor/local/lib/locale/es/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  95. data/vendor/local/lib/locale/et/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  96. data/vendor/local/lib/locale/eu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  97. data/vendor/local/lib/locale/fa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  98. data/vendor/local/lib/locale/fi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  99. data/vendor/local/lib/locale/fr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  100. data/vendor/local/lib/locale/ga/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  101. data/vendor/local/lib/locale/gl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  102. data/vendor/local/lib/locale/gu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  103. data/vendor/local/lib/locale/he/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  104. data/vendor/local/lib/locale/hi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  105. data/vendor/local/lib/locale/hr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  106. data/vendor/local/lib/locale/hu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  107. data/vendor/local/lib/locale/id/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  108. data/vendor/local/lib/locale/it/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  109. data/vendor/local/lib/locale/ja/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  110. data/vendor/local/lib/locale/kn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  111. data/vendor/local/lib/locale/ko/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  112. data/vendor/local/lib/locale/lt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  113. data/vendor/local/lib/locale/lv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  114. data/vendor/local/lib/locale/mai/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  115. data/vendor/local/lib/locale/mg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  116. data/vendor/local/lib/locale/mk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  117. data/vendor/local/lib/locale/ml/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  118. data/vendor/local/lib/locale/mn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  119. data/vendor/local/lib/locale/mr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  120. data/vendor/local/lib/locale/ms/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  121. data/vendor/local/lib/locale/nb/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  122. data/vendor/local/lib/locale/ne/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  123. data/vendor/local/lib/locale/nl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  124. data/vendor/local/lib/locale/nn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  125. data/vendor/local/lib/locale/oc/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  126. data/vendor/local/lib/locale/or/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  127. data/vendor/local/lib/locale/pa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  128. data/vendor/local/lib/locale/pl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  129. data/vendor/local/lib/locale/pt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  130. data/vendor/local/lib/locale/pt_BR/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  131. data/vendor/local/lib/locale/ro/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  132. data/vendor/local/lib/locale/ru/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  133. data/vendor/local/lib/locale/rw/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  134. data/vendor/local/lib/locale/si/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  135. data/vendor/local/lib/locale/sk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  136. data/vendor/local/lib/locale/sl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  137. data/vendor/local/lib/locale/sq/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  138. data/vendor/local/lib/locale/sr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  139. data/vendor/local/lib/locale/sr@latin/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  140. data/vendor/local/lib/locale/sv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  141. data/vendor/local/lib/locale/ta/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  142. data/vendor/local/lib/locale/te/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  143. data/vendor/local/lib/locale/tg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  144. data/vendor/local/lib/locale/th/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  145. data/vendor/local/lib/locale/tr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  146. data/vendor/local/lib/locale/ug/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  147. data/vendor/local/lib/locale/uk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  148. data/vendor/local/lib/locale/vi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  149. data/vendor/local/lib/locale/xh/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  150. data/vendor/local/lib/locale/zh_CN/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  151. data/vendor/local/lib/locale/zh_HK/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  152. data/vendor/local/lib/locale/zh_TW/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  153. data/vendor/local/lib/pkgconfig/gtksourceview-3.0.pc +12 -0
  154. data/vendor/local/share/gir-1.0/GtkSource-3.0.gir +11360 -0
  155. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceBuffer.html +2143 -0
  156. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletion.html +1129 -0
  157. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionContext.html +397 -0
  158. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionInfo.html +348 -0
  159. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionItem.html +367 -0
  160. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProposal.html +572 -0
  161. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProvider.html +750 -0
  162. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionWords.html +345 -0
  163. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceEncoding.html +366 -0
  164. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFile.html +563 -0
  165. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileLoader.html +769 -0
  166. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileSaver.html +962 -0
  167. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutter.html +490 -0
  168. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRenderer.html +1700 -0
  169. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererPixbuf.html +468 -0
  170. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererText.html +228 -0
  171. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguage.html +584 -0
  172. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguageManager.html +476 -0
  173. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMark.html +310 -0
  174. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMarkAttributes.html +897 -0
  175. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourcePrintCompositor.html +2149 -0
  176. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchContext.html +1116 -0
  177. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchSettings.html +606 -0
  178. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyle.html +358 -0
  179. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleScheme.html +398 -0
  180. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeManager.html +463 -0
  181. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceUndoManager.html +462 -0
  182. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceView.html +1990 -0
  183. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/annotation-glossary.html +81 -0
  184. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-0.html +43 -0
  185. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-10.html +195 -0
  186. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-12.html +39 -0
  187. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-14.html +299 -0
  188. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-4.html +35 -0
  189. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-deprecated.html +95 -0
  190. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-full.html +2187 -0
  191. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch01.html +119 -0
  192. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch02.html +47 -0
  193. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceUtils.html +154 -0
  194. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0.devhelp2 +601 -0
  195. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/home.png +0 -0
  196. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.html +146 -0
  197. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.sgml +882 -0
  198. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-reference.html +873 -0
  199. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-tutorial.html +654 -0
  200. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/left-insensitive.png +0 -0
  201. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/left.png +0 -0
  202. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/object-tree.html +71 -0
  203. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/right-insensitive.png +0 -0
  204. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/right.png +0 -0
  205. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style-reference.html +283 -0
  206. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style.css +476 -0
  207. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/up-insensitive.png +0 -0
  208. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/up.png +0 -0
  209. data/vendor/local/share/gtksourceview-3.0/language-specs/R.lang +2199 -0
  210. data/vendor/local/share/gtksourceview-3.0/language-specs/actionscript.lang +268 -0
  211. data/vendor/local/share/gtksourceview-3.0/language-specs/ada.lang +221 -0
  212. data/vendor/local/share/gtksourceview-3.0/language-specs/ansforth94.lang +729 -0
  213. data/vendor/local/share/gtksourceview-3.0/language-specs/asp.lang +1097 -0
  214. data/vendor/local/share/gtksourceview-3.0/language-specs/automake.lang +330 -0
  215. data/vendor/local/share/gtksourceview-3.0/language-specs/awk.lang +138 -0
  216. data/vendor/local/share/gtksourceview-3.0/language-specs/bennugd.lang +267 -0
  217. data/vendor/local/share/gtksourceview-3.0/language-specs/bibtex.lang +93 -0
  218. data/vendor/local/share/gtksourceview-3.0/language-specs/bluespec.lang +188 -0
  219. data/vendor/local/share/gtksourceview-3.0/language-specs/boo.lang +257 -0
  220. data/vendor/local/share/gtksourceview-3.0/language-specs/c.lang +332 -0
  221. data/vendor/local/share/gtksourceview-3.0/language-specs/cg.lang +232 -0
  222. data/vendor/local/share/gtksourceview-3.0/language-specs/changelog.lang +93 -0
  223. data/vendor/local/share/gtksourceview-3.0/language-specs/chdr.lang +43 -0
  224. data/vendor/local/share/gtksourceview-3.0/language-specs/cmake.lang +408 -0
  225. data/vendor/local/share/gtksourceview-3.0/language-specs/cobol.lang +647 -0
  226. data/vendor/local/share/gtksourceview-3.0/language-specs/cpp.lang +120 -0
  227. data/vendor/local/share/gtksourceview-3.0/language-specs/csharp.lang +282 -0
  228. data/vendor/local/share/gtksourceview-3.0/language-specs/css.lang +542 -0
  229. data/vendor/local/share/gtksourceview-3.0/language-specs/cuda.lang +292 -0
  230. data/vendor/local/share/gtksourceview-3.0/language-specs/d.lang +318 -0
  231. data/vendor/local/share/gtksourceview-3.0/language-specs/def.lang +262 -0
  232. data/vendor/local/share/gtksourceview-3.0/language-specs/desktop.lang +300 -0
  233. data/vendor/local/share/gtksourceview-3.0/language-specs/diff.lang +85 -0
  234. data/vendor/local/share/gtksourceview-3.0/language-specs/docbook.lang +476 -0
  235. data/vendor/local/share/gtksourceview-3.0/language-specs/dosbatch.lang +167 -0
  236. data/vendor/local/share/gtksourceview-3.0/language-specs/dot.lang +140 -0
  237. data/vendor/local/share/gtksourceview-3.0/language-specs/dpatch.lang +48 -0
  238. data/vendor/local/share/gtksourceview-3.0/language-specs/dtd.lang +140 -0
  239. data/vendor/local/share/gtksourceview-3.0/language-specs/eiffel.lang +239 -0
  240. data/vendor/local/share/gtksourceview-3.0/language-specs/erlang.lang +258 -0
  241. data/vendor/local/share/gtksourceview-3.0/language-specs/fcl.lang +113 -0
  242. data/vendor/local/share/gtksourceview-3.0/language-specs/forth.lang +235 -0
  243. data/vendor/local/share/gtksourceview-3.0/language-specs/fortran.lang +591 -0
  244. data/vendor/local/share/gtksourceview-3.0/language-specs/fsharp.lang +325 -0
  245. data/vendor/local/share/gtksourceview-3.0/language-specs/gap.lang +85 -0
  246. data/vendor/local/share/gtksourceview-3.0/language-specs/gdb-log.lang +152 -0
  247. data/vendor/local/share/gtksourceview-3.0/language-specs/glsl.lang +483 -0
  248. data/vendor/local/share/gtksourceview-3.0/language-specs/go.lang +275 -0
  249. data/vendor/local/share/gtksourceview-3.0/language-specs/gtk-doc.lang +91 -0
  250. data/vendor/local/share/gtksourceview-3.0/language-specs/gtkrc.lang +116 -0
  251. data/vendor/local/share/gtksourceview-3.0/language-specs/haddock.lang +162 -0
  252. data/vendor/local/share/gtksourceview-3.0/language-specs/haskell-literate.lang +59 -0
  253. data/vendor/local/share/gtksourceview-3.0/language-specs/haskell.lang +228 -0
  254. data/vendor/local/share/gtksourceview-3.0/language-specs/html.lang +281 -0
  255. data/vendor/local/share/gtksourceview-3.0/language-specs/idl-exelis.lang +620 -0
  256. data/vendor/local/share/gtksourceview-3.0/language-specs/idl.lang +154 -0
  257. data/vendor/local/share/gtksourceview-3.0/language-specs/imagej.lang +784 -0
  258. data/vendor/local/share/gtksourceview-3.0/language-specs/ini.lang +95 -0
  259. data/vendor/local/share/gtksourceview-3.0/language-specs/j.lang +240 -0
  260. data/vendor/local/share/gtksourceview-3.0/language-specs/java.lang +190 -0
  261. data/vendor/local/share/gtksourceview-3.0/language-specs/javascript.lang +339 -0
  262. data/vendor/local/share/gtksourceview-3.0/language-specs/json.lang +123 -0
  263. data/vendor/local/share/gtksourceview-3.0/language-specs/julia.lang +378 -0
  264. data/vendor/local/share/gtksourceview-3.0/language-specs/language.dtd +73 -0
  265. data/vendor/local/share/gtksourceview-3.0/language-specs/language.rng +373 -0
  266. data/vendor/local/share/gtksourceview-3.0/language-specs/language2.rng +482 -0
  267. data/vendor/local/share/gtksourceview-3.0/language-specs/latex.lang +600 -0
  268. data/vendor/local/share/gtksourceview-3.0/language-specs/lex.lang +209 -0
  269. data/vendor/local/share/gtksourceview-3.0/language-specs/libtool.lang +56 -0
  270. data/vendor/local/share/gtksourceview-3.0/language-specs/llvm.lang +315 -0
  271. data/vendor/local/share/gtksourceview-3.0/language-specs/lua.lang +157 -0
  272. data/vendor/local/share/gtksourceview-3.0/language-specs/m4.lang +1375 -0
  273. data/vendor/local/share/gtksourceview-3.0/language-specs/makefile.lang +193 -0
  274. data/vendor/local/share/gtksourceview-3.0/language-specs/mallard.lang +124 -0
  275. data/vendor/local/share/gtksourceview-3.0/language-specs/markdown.lang +402 -0
  276. data/vendor/local/share/gtksourceview-3.0/language-specs/matlab.lang +171 -0
  277. data/vendor/local/share/gtksourceview-3.0/language-specs/mediawiki.lang +327 -0
  278. data/vendor/local/share/gtksourceview-3.0/language-specs/modelica.lang +262 -0
  279. data/vendor/local/share/gtksourceview-3.0/language-specs/mxml.lang +65 -0
  280. data/vendor/local/share/gtksourceview-3.0/language-specs/nemerle.lang +263 -0
  281. data/vendor/local/share/gtksourceview-3.0/language-specs/netrexx.lang +319 -0
  282. data/vendor/local/share/gtksourceview-3.0/language-specs/nsis.lang +88 -0
  283. data/vendor/local/share/gtksourceview-3.0/language-specs/objc.lang +120 -0
  284. data/vendor/local/share/gtksourceview-3.0/language-specs/objj.lang +128 -0
  285. data/vendor/local/share/gtksourceview-3.0/language-specs/ocaml.lang +302 -0
  286. data/vendor/local/share/gtksourceview-3.0/language-specs/ocl.lang +139 -0
  287. data/vendor/local/share/gtksourceview-3.0/language-specs/octave.lang +859 -0
  288. data/vendor/local/share/gtksourceview-3.0/language-specs/ooc.lang +265 -0
  289. data/vendor/local/share/gtksourceview-3.0/language-specs/opal.lang +343 -0
  290. data/vendor/local/share/gtksourceview-3.0/language-specs/opencl.lang +600 -0
  291. data/vendor/local/share/gtksourceview-3.0/language-specs/pascal.lang +268 -0
  292. data/vendor/local/share/gtksourceview-3.0/language-specs/perl.lang +1045 -0
  293. data/vendor/local/share/gtksourceview-3.0/language-specs/php.lang +363 -0
  294. data/vendor/local/share/gtksourceview-3.0/language-specs/pkgconfig.lang +62 -0
  295. data/vendor/local/share/gtksourceview-3.0/language-specs/po.lang +94 -0
  296. data/vendor/local/share/gtksourceview-3.0/language-specs/prolog.lang +249 -0
  297. data/vendor/local/share/gtksourceview-3.0/language-specs/protobuf.lang +101 -0
  298. data/vendor/local/share/gtksourceview-3.0/language-specs/puppet.lang +697 -0
  299. data/vendor/local/share/gtksourceview-3.0/language-specs/python.lang +472 -0
  300. data/vendor/local/share/gtksourceview-3.0/language-specs/python3.lang +192 -0
  301. data/vendor/local/share/gtksourceview-3.0/language-specs/rpmspec.lang +212 -0
  302. data/vendor/local/share/gtksourceview-3.0/language-specs/rst.lang +142 -0
  303. data/vendor/local/share/gtksourceview-3.0/language-specs/ruby.lang +750 -0
  304. data/vendor/local/share/gtksourceview-3.0/language-specs/scala.lang +384 -0
  305. data/vendor/local/share/gtksourceview-3.0/language-specs/scheme.lang +302 -0
  306. data/vendor/local/share/gtksourceview-3.0/language-specs/scilab.lang +209 -0
  307. data/vendor/local/share/gtksourceview-3.0/language-specs/sh.lang +499 -0
  308. data/vendor/local/share/gtksourceview-3.0/language-specs/sml.lang +201 -0
  309. data/vendor/local/share/gtksourceview-3.0/language-specs/sparql.lang +448 -0
  310. data/vendor/local/share/gtksourceview-3.0/language-specs/sql.lang +618 -0
  311. data/vendor/local/share/gtksourceview-3.0/language-specs/sweave.lang +67 -0
  312. data/vendor/local/share/gtksourceview-3.0/language-specs/systemverilog.lang +263 -0
  313. data/vendor/local/share/gtksourceview-3.0/language-specs/t2t.lang +150 -0
  314. data/vendor/local/share/gtksourceview-3.0/language-specs/tcl.lang +146 -0
  315. data/vendor/local/share/gtksourceview-3.0/language-specs/texinfo.lang +448 -0
  316. data/vendor/local/share/gtksourceview-3.0/language-specs/vala.lang +365 -0
  317. data/vendor/local/share/gtksourceview-3.0/language-specs/vbnet.lang +245 -0
  318. data/vendor/local/share/gtksourceview-3.0/language-specs/verilog.lang +476 -0
  319. data/vendor/local/share/gtksourceview-3.0/language-specs/vhdl.lang +248 -0
  320. data/vendor/local/share/gtksourceview-3.0/language-specs/xml.lang +220 -0
  321. data/vendor/local/share/gtksourceview-3.0/language-specs/xslt.lang +108 -0
  322. data/vendor/local/share/gtksourceview-3.0/language-specs/yacc.lang +177 -0
  323. data/vendor/local/share/gtksourceview-3.0/language-specs/yaml.lang +214 -0
  324. data/vendor/local/share/gtksourceview-3.0/styles/classic.xml +121 -0
  325. data/vendor/local/share/gtksourceview-3.0/styles/cobalt.xml +148 -0
  326. data/vendor/local/share/gtksourceview-3.0/styles/kate.xml +171 -0
  327. data/vendor/local/share/gtksourceview-3.0/styles/oblivion.xml +129 -0
  328. data/vendor/local/share/gtksourceview-3.0/styles/solarized-dark.xml +101 -0
  329. data/vendor/local/share/gtksourceview-3.0/styles/solarized-light.xml +101 -0
  330. data/vendor/local/share/gtksourceview-3.0/styles/styles.rng +142 -0
  331. data/vendor/local/share/gtksourceview-3.0/styles/tango.xml +130 -0
  332. data/vendor/local/share/license/gtksourceview/AUTHORS +13 -0
  333. data/vendor/local/share/license/gtksourceview/COPYING +504 -0
  334. metadata +389 -0
@@ -0,0 +1,113 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+
4
+ This file is part of GtkSourceView
5
+
6
+ Author: Søren Hauberg
7
+ Copyright (C) 2009 Søren Hauberg <soren@hauberg.org>
8
+
9
+ This library 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 of the License, or (at your option) any later version.
13
+
14
+ This library is distributed in the hope that it will be useful,
15
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17
+ Lesser General Public License for more details.
18
+
19
+ You should have received a copy of the GNU Lesser General Public
20
+ License along with this library; if not, see <http://www.gnu.org/licenses/>.
21
+
22
+ -->
23
+ <language id="fcl" _name="FCL" version="2.0" _section="Scientific">
24
+ <metadata>
25
+ <property name="globs">*.fcl</property>
26
+ <property name="line-comment-start">//</property>
27
+ </metadata>
28
+
29
+ <styles>
30
+ <style id="comment" _name="Comment" map-to="def:comment"/>
31
+ <style id="floating-point" _name="Floating Point" map-to="def:floating-point"/>
32
+ <style id="keyword" _name="Keyword" map-to="def:keyword"/>
33
+ <style id="block" _name="Block" map-to="def:function"/>
34
+ <style id="decimal" _name="Decimal" map-to="def:decimal"/>
35
+ <style id="reserved-constant" _name="Reserved Constant" map-to="def:special-constant"/>
36
+ </styles>
37
+
38
+ <definitions>
39
+ <context id="line-comment" style-ref="comment" end-at-line-end="true" class="comment" class-disabled="no-spell-check">
40
+ <start>//</start>
41
+ <include>
42
+ <context ref="def:in-comment"/>
43
+ </include>
44
+ </context>
45
+
46
+ <context id="keyword" style-ref="keyword">
47
+ <keyword>ACCU</keyword>
48
+ <keyword>ACT</keyword>
49
+ <keyword>AND</keyword>
50
+ <keyword>ASUM</keyword>
51
+ <keyword>BDIF</keyword>
52
+ <keyword>BSUM</keyword>
53
+ <keyword>COA</keyword>
54
+ <keyword>COG</keyword>
55
+ <keyword>COGS</keyword>
56
+ <keyword>DEFAULT</keyword>
57
+ <keyword>IF</keyword>
58
+ <keyword>IS</keyword>
59
+ <keyword>LM</keyword>
60
+ <keyword>MAX</keyword>
61
+ <keyword>METHOD</keyword>
62
+ <keyword>MIN</keyword>
63
+ <keyword>NC</keyword>
64
+ <keyword>NOT</keyword>
65
+ <keyword>NSUM</keyword>
66
+ <keyword>OR</keyword>
67
+ <keyword>PROD</keyword>
68
+ <keyword>RANGE</keyword>
69
+ <keyword>RM</keyword>
70
+ <keyword>RULE</keyword>
71
+ <keyword>TERM</keyword>
72
+ <keyword>THEN</keyword>
73
+ <keyword>WITH</keyword>
74
+ </context>
75
+
76
+ <context id="block" style-ref="block">
77
+ <keyword>DEFUZZIFY</keyword>
78
+ <keyword>END_DEFUZZIFY</keyword>
79
+ <keyword>END_FUNCTION_BLOCK</keyword>
80
+ <keyword>END_FUZZIFY</keyword>
81
+ <keyword>END_OPTIONS</keyword>
82
+ <keyword>END_RULEBLOCK</keyword>
83
+ <keyword>END_VAR</keyword>
84
+ <keyword>FUNCTION_BLOCK</keyword>
85
+ <keyword>FUZZIFY</keyword>
86
+ <keyword>OPTIONS</keyword>
87
+ <keyword>RULEBLOCK</keyword>
88
+ <keyword>VAR</keyword>
89
+ <keyword>VAR_INPUT</keyword>
90
+ <keyword>VAR_OUTPUT</keyword>
91
+ </context>
92
+
93
+ <context id="decimal" style-ref="decimal">
94
+ <match>\b([1-9][0-9]*|0)([Uu]([Ll]|LL|ll)?|([Ll]|LL|ll)[Uu]?)?\b</match>
95
+ </context>
96
+
97
+ <context id="floating-point-number" style-ref="floating-point">
98
+ <match>\b([0-9]+[Ee][-]?[0-9]+|([0-9]*\.[0-9]+|[0-9]+\.)([Ee][-]?[0-9]+)?)[fFlL]?</match>
99
+ </context>
100
+
101
+ <context id="fcl" class="no-spell-check">
102
+ <include>
103
+ <context ref="line-comment"/>
104
+ <context ref="keyword"/>
105
+ <context ref="block"/>
106
+ <context ref="decimal"/>
107
+ <context ref="floating-point-number"/>
108
+ </include>
109
+ </context>
110
+ </definitions>
111
+ </language>
112
+
113
+
@@ -0,0 +1,235 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+
4
+ This file is part of GtkSourceView
5
+
6
+ Author: Jens-Hanno Schwalm <hanno@schwalm-bremen.de>
7
+ Copyright (C) 2007 Jens-Hanno Schwalm; <hanno@schwalm-bremen.de>
8
+
9
+ GtkSourceView is free software; you can redistribute it and/or
10
+ modify it under the terms of the GNU Lesser General Public
11
+ License as published by the Free Software Foundation; either
12
+ version 2.1 of the License, or (at your option) any later version.
13
+
14
+ GtkSourceView is distributed in the hope that it will be useful,
15
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17
+ Lesser General Public License for more details.
18
+
19
+ You should have received a copy of the GNU Lesser General Public
20
+ License along with this library; if not, write to the Free Software
21
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22
+
23
+ -->
24
+ <language id="forth" _name="Forth" version="2.0" _section="Source">
25
+ <metadata>
26
+ <property name="mimetypes">text/x-forth</property>
27
+ <property name="globs">*.frt;*.fs</property>
28
+ <property name="line-comment-start">\</property>
29
+ <property name="block-comment-start">(*</property>
30
+ <property name="block-comment-end">*)</property>
31
+ </metadata>
32
+
33
+ <styles>
34
+ <style id="comment" _name="Comment" map-to="def:comment"/>
35
+ <style id="string" _name="String" map-to="def:string"/>
36
+ <style id="preprocessor" _name="Preprocessor" map-to="def:preprocessor"/>
37
+ <style id="keyword" _name="Keyword" map-to="def:statement"/>
38
+ <style id="type" _name="Data Type" map-to="def:type"/>
39
+ <style id="number" _name="Number" map-to="def:decimal"/>
40
+ <style id="debugs" _name="Debug Code" map-to="def:comment"/>
41
+ <style id="error" _name="Error Text" map-to="def:error"/>
42
+ <style id="compiler" _name="Compiler Directive" map-to="def:identifier"/>
43
+ </styles>
44
+
45
+ <default-regex-options case-sensitive="false"/>
46
+
47
+ <definitions>
48
+ <context id="forth" class="no-spell-check">
49
+ <include>
50
+ <!-- single line comments \ \G -->
51
+ <context id="comment" style-ref="comment" end-at-line-end="true" class="comment" class-disabled="no-spell-check">
52
+ <start>(?&lt;![^\s])(\\|--|\\G)(?![^\s])</start>
53
+ <include>
54
+ <context ref="def:in-line-comment"/>
55
+ </include>
56
+ </context>
57
+
58
+ <!-- multiline comments ending with ")" ( (S (F -->
59
+ <context id="comment-multiline" style-ref="comment" class="comment" class-disabled="no-spell-check">
60
+ <start>(?&lt;![^\s])(\(|\(S|\(F)(?![^\s])</start>
61
+ <end>\)</end>
62
+ <include>
63
+ <context ref="def:in-comment"/>
64
+ </include>
65
+ </context>
66
+
67
+ <!-- multiline comment (* ....*) -->
68
+ <context id="comment-multiline2" style-ref="comment" class="comment" class-disabled="no-spell-check">
69
+ <start>(?&lt;![^\s])\(\*(?![^\s])</start>
70
+ <end>\*\)(?![^\s])</end>
71
+ <include>
72
+ <context ref="def:in-comment"/>
73
+ </include>
74
+ </context>
75
+
76
+ <!-- multiline comment DOC ... ENDDOC -->
77
+ <context id="comment-multiline3" style-ref="comment" class="comment" class-disabled="no-spell-check">
78
+ <start>(?&lt;![^\s])DOC(?![^\s])</start>
79
+ <end>(?&lt;![^\s])ENDDOC(?![^\s])</end>
80
+ <include>
81
+ <context ref="def:in-comment"/>
82
+ </include>
83
+ </context>
84
+
85
+ <!-- preprocessor instructions followed by a string -->
86
+ <context id="preproc1" style-ref="preprocessor">
87
+ <match extended="true">
88
+ (?&lt;![^\s])
89
+ (NEEDS|INCLUDE|IN|MARKER)\s+[^\s]*
90
+ (?![^\s])
91
+ </match>
92
+ </context>
93
+
94
+ <!-- REVISION instruction is followed by a filename plus a string between "..." -->
95
+ <context id="preproc2" style-ref="preprocessor">
96
+ <match extended="true">
97
+ (?&lt;![^\s])
98
+ (REVISION)\s+[^\s]*\s*".*"
99
+ (?![^\s])
100
+ </match>
101
+ </context>
102
+
103
+ <!-- preprocessor instructions -->
104
+ <context id="preproc3" style-ref="preprocessor">
105
+ <match extended="true">
106
+ (?&lt;![^\s])
107
+ (INCLUDED|INCLUDE-FILE)
108
+ (?![^\s])
109
+ </match>
110
+ </context>
111
+
112
+ <!-- all defining or compiler extension words are followed by another whitespace delinited word -->
113
+ <context id="definers" style-ref="type">
114
+ <match extended="true">
115
+ (?&lt;![^\s])
116
+ (POSTPONE|\[COMPILE\]|\[CHAR\]|\['\]|COMPILE|CHAR|[DFT]?VALUE|[2FT]?VARIABLE|[DS]?FVARIABLE|[T]?USER|[T]?CODE|[DZFT]?LOCAL|
117
+ [2FT]?CONSTANT|TCONSTANT-|TSUB|=\:|==\:|DEFER|HC\:|[VHTM]?\:)\s+[^\s]+
118
+ (?![^\s])
119
+ </match>
120
+ </context>
121
+
122
+ <!-- the grouped local words like LOCALS| read words until a last | -->
123
+ <context id="locals" style-ref="type">
124
+ <match extended="true">
125
+ (?&lt;![^\s])
126
+ ([DFZ]?LOCALS)\|\s+[^\|]+[\|]
127
+ (?![^\s])
128
+ </match>
129
+ </context>
130
+
131
+ <!-- strings ended by a " S" ." EVAL" C" Z" -->
132
+ <context id="string" style-ref="string" end-at-line-end="true" class="string" class-disabled="no-spell-check">
133
+ <start>(?&lt;![^\s])(S|[.]|EVAL|C|Z|,)"\s</start>
134
+ <end>"</end>
135
+ </context>
136
+
137
+ <!-- strings ended by a ~ character when " is inside a string: .~ -->
138
+ <context id="string2" style-ref="string" end-at-line-end="true" class="string" class-disabled="no-spell-check">
139
+ <start>(?&lt;![^\s])(.~)\s</start>
140
+ <end>~</end>
141
+ </context>
142
+
143
+ <!-- comment string .( ..) -->
144
+ <context id="string3" style-ref="string" end-at-line-end="true" class="string" class-disabled="no-spell-check">
145
+ <start>(?&lt;![^\s])[.]\(\s</start>
146
+ <end>\)</end>
147
+ </context>
148
+
149
+ <!-- error strings ending with " ABORT" ?ERROR" -->
150
+ <context id="errorstring" style-ref="error" end-at-line-end="true" class="string" class-disabled="no-spell-check">
151
+ <start>(?&lt;![^\s])(ABORT|\?ERROR)"\s</start>
152
+ <end>"</end>
153
+ </context>
154
+
155
+ <!-- represent numbers including the hex, decimal and binary prefixes, also short characters -->
156
+ <context id="number" style-ref="number">
157
+ <match extended="true">
158
+ (?&lt;![^\s])
159
+ ([$][-+]?[A-F0-9.]+ |
160
+ [#][-+]?[0-9.]+ |
161
+ [%][-+]?[0-1.]+ |
162
+ [-+]?[0-9.]+ |
163
+ [-+]?[0-9]+[.]?[0-9]*[eE][0-9]* |
164
+ '[^\s]' |
165
+ [\^][A-Za-z] |
166
+ TRUE |
167
+ FALSE)
168
+ (?![^\s])
169
+ </match>
170
+ </context>
171
+
172
+ <!-- Control flow Keywords -->
173
+ <context id="keywords" style-ref="keyword">
174
+ <match extended="true">
175
+ (?&lt;![^\s])
176
+ (\[IF\]|\[ELSE\]|\[THEN\]|\[DEFINED\]|\[UNDEFINED\]|\?DEF|\?UNDEF|THROW|CASE|ENDCASE|OF|ENDOF|FOR|NEXT|
177
+ IF[,]?|ELSE[,]?|THEN[,]?|ENDIF[,]?|BEGIN[,]?|WHILE[,]?|REPEAT[,]?|UNTIL[,]?|AGAIN[,]?|DO|LOOP|\?DO|\+LOOP|LEAVE|\?LEAVE|UNLOOP|EXIT|\?EXIT|
178
+ PAR|ENDPAR|STARTP|ENDP)
179
+ (?![^\s])
180
+ </match>
181
+ </context>
182
+
183
+ <!-- Compiler modifications -->
184
+ <context id="keywords2" style-ref="compiler">
185
+ <match extended="true">
186
+ (?&lt;![^\s])
187
+ (PRIVATE|PRIVATES|DEPRIVE|FORGET|IMMEDIATE|ALSO|ONLY|FORTH|DEFINITIONS|HEADERLESS)
188
+ (?![^\s])
189
+ </match>
190
+ </context>
191
+
192
+ <!-- Defining keywords without displaying the following word -->
193
+ <context id="keywords3" style-ref="type">
194
+ <match extended="true">
195
+ (?&lt;![^\s])
196
+ (\:ABOUT|DOES>|FORGET>|CREATE|\:NONAME)
197
+ (?![^\s])
198
+ </match>
199
+ </context>
200
+
201
+ <!-- <<DEBUG ..... DEBUG>> -->
202
+ <context id="comment-debug" extend-parent="false" style-ref="debugs">
203
+ <start>(?&lt;![^\s])(&lt;&lt;DEBUG)(?![^\s])</start>
204
+ <end>(?&lt;![^\s])(DEBUG>>)(?![^\s])</end>
205
+ <include>
206
+ <context ref="keywords"/>
207
+ <context ref="keywords2"/>
208
+ <context ref="keywords3"/>
209
+ <context ref="number"/>
210
+ <context ref="comment"/>
211
+ <context ref="string" />
212
+ <context ref="string2" />
213
+ <context ref="string3" />
214
+ <context ref="errorstring" />
215
+ <context ref="locals" />
216
+ <context ref="definers" />
217
+ <context ref="comment-multiline"/>
218
+ </include>
219
+ </context>
220
+
221
+ <!-- [ ... ] is displayed as a preprocessor structure -->
222
+ <context id="preproc4" extend-parent="true" style-ref="preprocessor">
223
+ <start>(?&lt;![^\s])(\[)(?![^\s])</start>
224
+ <end>(?&lt;![^\s])(\])(?![^\s])</end>
225
+ <include>
226
+ <context ref="keywords"/>
227
+ <context ref="number"/>
228
+ <context ref="comment"/>
229
+ <context ref="comment-multiline"/>
230
+ </include>
231
+ </context>
232
+ </include>
233
+ </context>
234
+ </definitions>
235
+ </language>
@@ -0,0 +1,591 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+
4
+ This file is part of GtkSourceView
5
+
6
+ Author: John Spray <jcspray@icculus.org>
7
+ Copyright (C) 2004, 2005, 2006 John Spray <jcs116@york.ac.uk>
8
+ Copyright (C) 2005 Jerry DeLisle <jvdelisle@verizon.net>
9
+
10
+ GtkSourceView is free software; you can redistribute it and/or
11
+ modify it under the terms of the GNU Lesser General Public
12
+ License as published by the Free Software Foundation; either
13
+ version 2.1 of the License, or (at your option) any later version.
14
+
15
+ GtkSourceView is distributed in the hope that it will be useful,
16
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
17
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18
+ Lesser General Public License for more details.
19
+
20
+ You should have received a copy of the GNU Lesser General Public
21
+ License along with this library; if not, write to the Free Software
22
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
23
+
24
+ -->
25
+ <language id="fortran" _name="Fortran 95" version="2.0" _section="Source">
26
+ <metadata>
27
+ <property name="mimetypes">text/x-fortran</property>
28
+ <property name="globs">*.f;*.f90;*.f95;*.for;*.F;*.F90</property>
29
+ <property name="line-comment-start">!</property>
30
+ </metadata>
31
+
32
+ <styles>
33
+ <style id="comment" _name="Comment" map-to="def:comment"/>
34
+ <style id="string" _name="String" map-to="def:string"/>
35
+ <style id="floating-point" _name="Floating Point" map-to="def:floating-point"/>
36
+ <style id="keyword" _name="Keyword" map-to="def:keyword"/>
37
+ <style id="intrinsic" _name="Intrinsic function" map-to="def:builtin"/>
38
+ <style id="boz-literal" _name="BOZ Literal" map-to="def:base-n-integer"/>
39
+ <style id="decimal" _name="Decimal" map-to="def:decimal"/>
40
+ <style id="type" _name="Data Type" map-to="def:type"/>
41
+ <style id="preprocessor" _name="Preprocessor" map-to="def:preprocessor"/>
42
+ <style id="openmp-directives" _name="OpenMP directives" map-to="def:preprocessor"/>
43
+ <style id="included-file" _name="Included File" map-to="def:string"/>
44
+ <style id="escaped-character" _name="Escaped Character" map-to="def:special-char"/>
45
+ </styles>
46
+
47
+ <default-regex-options case-sensitive="false"/>
48
+
49
+ <definitions>
50
+ <!-- regexs -->
51
+ <define-regex id="preproc-start">^#</define-regex>
52
+ <define-regex id="escaped-character" extended="true">
53
+ \\( # leading backslash
54
+ [\\\"\'nrbtfav\?] | # escaped character
55
+ [0-7]{1,3} | # one, two, or three octal digits
56
+ x[0-9A-Fa-f]+ # 'x' followed by hex digits
57
+ )
58
+ </define-regex>
59
+
60
+ <!-- Preprocessor -->
61
+ <context id="if0-comment" style-ref="comment">
62
+ <start>\%{preproc-start}if\b\s*0\b</start>
63
+ <end>\%{preproc-start}(endif|else|elif)\b</end>
64
+ <include>
65
+ <context id="if-in-if0">
66
+ <start>\%{preproc-start}if(n?def)?\b</start>
67
+ <end>\%{preproc-start}endif\b</end>
68
+ <include>
69
+ <context ref="if-in-if0"/>
70
+ <context ref="def:in-comment"/>
71
+ </include>
72
+ </context>
73
+ <context ref="def:in-comment"/>
74
+ </include>
75
+ </context>
76
+
77
+ <context id="include" style-ref="preprocessor">
78
+ <match extended="true">
79
+ \%{preproc-start}
80
+ (include|import)\s*
81
+ (".*?"|&lt;.*&gt;)
82
+ </match>
83
+ <include>
84
+ <context id="included-file" sub-pattern="2" style-ref="included-file"/>
85
+ </include>
86
+ </context>
87
+
88
+ <context id="preprocessor" style-ref="preprocessor" end-at-line-end="true">
89
+ <start extended="true">
90
+ \%{preproc-start}
91
+ (define|undef|error|pragma|ident|if(n?def)?|else|elif|endif|line|warning)
92
+ \b
93
+ </start>
94
+ </context>
95
+
96
+ <context id="openmp-directives" style-ref="openmp-directives" end-at-line-end="true">
97
+ <start extended="true">
98
+ ((^[Cc])|^\s*!)\$
99
+ </start>
100
+ </context>
101
+
102
+ <!--
103
+ <context id="string" style-ref="string" end-at-line-end="true" class="string" class-disabled="no-spell-check">
104
+ <match>(L?'[^']*')|(L?"[^"]*")</match>
105
+ </context>
106
+ -->
107
+ <context id="string" style-ref="string" end-at-line-end="true" class="string" class-disabled="no-spell-check">
108
+ <start>L?"</start>
109
+ <end>"</end>
110
+ <include>
111
+ <context id="escaped-character" style-ref="escaped-character">
112
+ <match>\%{escaped-character}</match>
113
+ </context>
114
+ <context ref="def:line-continue"/>
115
+ </include>
116
+ </context>
117
+
118
+ <!-- Note: contains an hack to avoid considering ^COMMON or ^CHARACTER a comment -->
119
+ <context id="line-comment" style-ref="comment" end-at-line-end="true" class="comment" class-disabled="no-spell-check">
120
+ <start>(![^$])|(^[Cc](\s|[^$OoAaYyHh]))|(^[Cc]$)</start>
121
+ <include>
122
+ <context ref="def:escape"/>
123
+ <context ref="def:in-line-comment"/>
124
+ </include>
125
+ </context>
126
+
127
+ <context id="operators" style-ref="keyword">
128
+ <prefix>\.</prefix>
129
+ <suffix>\.</suffix>
130
+ <keyword>true</keyword>
131
+ <keyword>false</keyword>
132
+ <keyword>not</keyword>
133
+ <keyword>and</keyword>
134
+ <keyword>or</keyword>
135
+ <keyword>xor</keyword>
136
+ <keyword>eqv</keyword>
137
+ <keyword>neqv</keyword>
138
+ <keyword>eq</keyword>
139
+ <keyword>ne</keyword>
140
+ <keyword>gt</keyword>
141
+ <keyword>ge</keyword>
142
+ <keyword>lt</keyword>
143
+ <keyword>le</keyword>
144
+ </context>
145
+
146
+ <context id="keywords" style-ref="keyword">
147
+ <keyword>abstract interface</keyword>
148
+ <keyword>allocate</keyword>
149
+ <keyword>assign</keyword>
150
+ <keyword>assignment</keyword>
151
+ <keyword>block data</keyword>
152
+ <keyword>call</keyword>
153
+ <keyword>case</keyword>
154
+ <keyword>class</keyword>
155
+ <keyword>common</keyword>
156
+ <keyword>contains</keyword>
157
+ <keyword>continue</keyword>
158
+ <keyword>cycle</keyword>
159
+ <keyword>data</keyword>
160
+ <keyword>deallocate</keyword>
161
+ <keyword>default</keyword>
162
+ <keyword>do</keyword>
163
+ <keyword>do concurrent</keyword>
164
+ <keyword>elemental</keyword>
165
+ <keyword>elseif</keyword>
166
+ <keyword>else</keyword>
167
+ <keyword>elsewhere</keyword>
168
+ <keyword>enddo</keyword>
169
+ <keyword>endif</keyword>
170
+ <keyword>endselect</keyword>
171
+ <keyword>end</keyword>
172
+ <keyword>entry</keyword>
173
+ <keyword>equivalence</keyword>
174
+ <keyword>exit</keyword>
175
+ <keyword>external</keyword>
176
+ <keyword>forall</keyword>
177
+ <keyword>function</keyword>
178
+ <keyword>go to</keyword>
179
+ <keyword>goto</keyword>
180
+ <keyword>if</keyword>
181
+ <keyword>implicit none</keyword>
182
+ <keyword>in</keyword>
183
+ <keyword>[^#]include</keyword>
184
+ <keyword>inout</keyword>
185
+ <keyword>interface</keyword>
186
+ <keyword>intrinsic</keyword>
187
+ <keyword>kind</keyword>
188
+ <keyword>len</keyword>
189
+ <keyword>module</keyword>
190
+ <keyword>namelist</keyword>
191
+ <keyword>nullify</keyword>
192
+ <keyword>only</keyword>
193
+ <keyword>operator</keyword>
194
+ <keyword>out</keyword>
195
+ <keyword>pause</keyword>
196
+ <keyword>private</keyword>
197
+ <keyword>program</keyword>
198
+ <keyword>public</keyword>
199
+ <keyword>pure</keyword>
200
+ <keyword>recursive</keyword>
201
+ <keyword>result</keyword>
202
+ <keyword>return</keyword>
203
+ <keyword>save</keyword>
204
+ <keyword>select</keyword>
205
+ <keyword>stop</keyword>
206
+ <keyword>subroutine</keyword>
207
+ <keyword>then</keyword>
208
+ <keyword>type</keyword>
209
+ <keyword>use</keyword>
210
+ <keyword>where</keyword>
211
+ <keyword>while</keyword>
212
+ </context>
213
+
214
+ <context id="read-write" style-ref="keyword">
215
+ <keyword>backspace</keyword>
216
+ <keyword>close</keyword>
217
+ <keyword>endfile</keyword>
218
+ <keyword>format</keyword>
219
+ <keyword>inquire</keyword>
220
+ <keyword>open</keyword>
221
+ <keyword>print</keyword>
222
+ <keyword>read</keyword>
223
+ <keyword>rewind</keyword>
224
+ <keyword>write</keyword>
225
+ </context>
226
+
227
+ <context id="input-output" style-ref="keyword">
228
+ <keyword>access</keyword>
229
+ <keyword>action</keyword>
230
+ <keyword>advance</keyword>
231
+ <keyword>blank</keyword>
232
+ <keyword>delim</keyword>
233
+ <keyword>direct</keyword>
234
+ <keyword>end</keyword>
235
+ <keyword>eor</keyword>
236
+ <keyword>err</keyword>
237
+ <keyword>exist</keyword>
238
+ <keyword>file</keyword>
239
+ <keyword>fmt</keyword>
240
+ <keyword>form</keyword>
241
+ <keyword>formatted</keyword>
242
+ <keyword>iolength</keyword>
243
+ <keyword>iostat</keyword>
244
+ <keyword>name</keyword>
245
+ <keyword>named</keyword>
246
+ <keyword>nextrec</keyword>
247
+ <keyword>nml</keyword>
248
+ <keyword>number</keyword>
249
+ <keyword>opened</keyword>
250
+ <keyword>pad</keyword>
251
+ <keyword>position</keyword>
252
+ <keyword>readwrite</keyword>
253
+ <keyword>rec</keyword>
254
+ <keyword>recl</keyword>
255
+ <keyword>sequential</keyword>
256
+ <keyword>status</keyword>
257
+ <keyword>unformatted</keyword>
258
+ <keyword>unit</keyword>
259
+ <keyword>write</keyword>
260
+ </context>
261
+
262
+ <context id="intrinsics" style-ref="intrinsic">
263
+ <keyword>abs</keyword>
264
+ <keyword>achar</keyword>
265
+ <keyword>acos</keyword>
266
+ <keyword>adjustl</keyword>
267
+ <keyword>adjustr</keyword>
268
+ <keyword>aimag</keyword>
269
+ <keyword>aint</keyword>
270
+ <keyword>algama</keyword>
271
+ <keyword>allocated</keyword>
272
+ <keyword>all</keyword>
273
+ <keyword>alog10</keyword>
274
+ <keyword>alog</keyword>
275
+ <keyword>amax0</keyword>
276
+ <keyword>amax1</keyword>
277
+ <keyword>amin0</keyword>
278
+ <keyword>amin1</keyword>
279
+ <keyword>amod</keyword>
280
+ <keyword>anint</keyword>
281
+ <keyword>any</keyword>
282
+ <keyword>asin</keyword>
283
+ <keyword>associated</keyword>
284
+ <keyword>atan2</keyword>
285
+ <keyword>atan</keyword>
286
+ <keyword>bit_size</keyword>
287
+ <keyword>btest</keyword>
288
+ <keyword>c_associated</keyword>
289
+ <keyword>c_loc</keyword>
290
+ <keyword>c_funloc</keyword>
291
+ <keyword>c_f_pointer</keyword>
292
+ <keyword>c_f_procpointer</keyword>
293
+ <keyword>cabs</keyword>
294
+ <keyword>ccos</keyword>
295
+ <keyword>cdabs</keyword>
296
+ <keyword>cdcos</keyword>
297
+ <keyword>cdexp</keyword>
298
+ <keyword>cdlog</keyword>
299
+ <keyword>cdsin</keyword>
300
+ <keyword>cdsqrt</keyword>
301
+ <keyword>ceiling</keyword>
302
+ <keyword>cexp</keyword>
303
+ <keyword>char</keyword>
304
+ <keyword>clog</keyword>
305
+ <keyword>cmplx</keyword>
306
+ <keyword>command_argument_count</keyword>
307
+ <keyword>conjg</keyword>
308
+ <keyword>cosh</keyword>
309
+ <keyword>cos</keyword>
310
+ <keyword>count</keyword>
311
+ <keyword>cpu_time</keyword>
312
+ <keyword>cqabs</keyword>
313
+ <keyword>cqcos</keyword>
314
+ <keyword>cqexp</keyword>
315
+ <keyword>cqlog</keyword>
316
+ <keyword>cqsin</keyword>
317
+ <keyword>cqsqrt</keyword>
318
+ <keyword>cshift</keyword>
319
+ <keyword>csin</keyword>
320
+ <keyword>csqrt</keyword>
321
+ <keyword>dabs</keyword>
322
+ <keyword>dacos</keyword>
323
+ <keyword>dasin</keyword>
324
+ <keyword>datan2</keyword>
325
+ <keyword>datan</keyword>
326
+ <keyword>date_and_time</keyword>
327
+ <keyword>dble</keyword>
328
+ <keyword>dcmplx</keyword>
329
+ <keyword>dconjg</keyword>
330
+ <keyword>dcosh</keyword>
331
+ <keyword>dcos</keyword>
332
+ <keyword>ddim</keyword>
333
+ <keyword>derf</keyword>
334
+ <keyword>derfc</keyword>
335
+ <keyword>dexp</keyword>
336
+ <keyword>dfloat</keyword>
337
+ <keyword>dgamma</keyword>
338
+ <keyword>digits</keyword>
339
+ <keyword>dim</keyword>
340
+ <keyword>dimag</keyword>
341
+ <keyword>dint</keyword>
342
+ <keyword>dlgama</keyword>
343
+ <keyword>dlog10</keyword>
344
+ <keyword>dlog</keyword>
345
+ <keyword>dmax1</keyword>
346
+ <keyword>dmin1</keyword>
347
+ <keyword>dmod</keyword>
348
+ <keyword>dnint</keyword>
349
+ <keyword>dot_product</keyword>
350
+ <keyword>dprod</keyword>
351
+ <keyword>dsign</keyword>
352
+ <keyword>dsinh</keyword>
353
+ <keyword>dsin</keyword>
354
+ <keyword>dsqrt</keyword>
355
+ <keyword>dtanh</keyword>
356
+ <keyword>dtan</keyword>
357
+ <keyword>eoshift</keyword>
358
+ <keyword>epsilon</keyword>
359
+ <keyword>erfc</keyword>
360
+ <keyword>erf</keyword>
361
+ <keyword>exp</keyword>
362
+ <keyword>exponent</keyword>
363
+ <keyword>float</keyword>
364
+ <keyword>floor</keyword>
365
+ <keyword>fraction</keyword>
366
+ <keyword>gamma</keyword>
367
+ <keyword>getarg</keyword>
368
+ <keyword>get_command</keyword>
369
+ <keyword>get_command_argument</keyword>
370
+ <keyword>get_environment_variable</keyword>
371
+ <keyword>huge</keyword>
372
+ <keyword>iabs</keyword>
373
+ <keyword>iachar</keyword>
374
+ <keyword>iand</keyword>
375
+ <keyword>iargc</keyword>
376
+ <keyword>ibclr</keyword>
377
+ <keyword>ibits</keyword>
378
+ <keyword>ibset</keyword>
379
+ <keyword>ichar</keyword>
380
+ <keyword>idim</keyword>
381
+ <keyword>idint</keyword>
382
+ <keyword>idnint</keyword>
383
+ <keyword>ieor</keyword>
384
+ <keyword>ifix</keyword>
385
+ <keyword>index</keyword>
386
+ <keyword>int</keyword>
387
+ <keyword>ior</keyword>
388
+ <keyword>iqint</keyword>
389
+ <keyword>is_iostat_end</keyword>
390
+ <keyword>is_iostat_eor</keyword>
391
+ <keyword>ishftc</keyword>
392
+ <keyword>ishft</keyword>
393
+ <keyword>isign</keyword>
394
+ <keyword>kind</keyword>
395
+ <keyword>lbound</keyword>
396
+ <keyword>len_trim</keyword>
397
+ <keyword>len</keyword>
398
+ <keyword>lge</keyword>
399
+ <keyword>lgt</keyword>
400
+ <keyword>lle</keyword>
401
+ <keyword>llt</keyword>
402
+ <keyword>loc</keyword>
403
+ <keyword>log10</keyword>
404
+ <keyword>log</keyword>
405
+ <keyword>logical</keyword>
406
+ <keyword>matmul</keyword>
407
+ <keyword>max0</keyword>
408
+ <keyword>max1</keyword>
409
+ <keyword>maxexponent</keyword>
410
+ <keyword>maxloc</keyword>
411
+ <keyword>maxval</keyword>
412
+ <keyword>max</keyword>
413
+ <keyword>merge</keyword>
414
+ <keyword>min0</keyword>
415
+ <keyword>min1</keyword>
416
+ <keyword>minexponent</keyword>
417
+ <keyword>minloc</keyword>
418
+ <keyword>minval</keyword>
419
+ <keyword>min</keyword>
420
+ <keyword>mod</keyword>
421
+ <keyword>modulo</keyword>
422
+ <keyword>move_alloc</keyword>
423
+ <keyword>mvbits</keyword>
424
+ <keyword>nearest</keyword>
425
+ <keyword>new_line</keyword>
426
+ <keyword>nint</keyword>
427
+ <keyword>norm2</keyword>
428
+ <keyword>not</keyword>
429
+ <keyword>null</keyword>
430
+ <keyword>or</keyword>
431
+ <keyword>pack</keyword>
432
+ <keyword>precision</keyword>
433
+ <keyword>present</keyword>
434
+ <keyword>product</keyword>
435
+ <keyword>qabs</keyword>
436
+ <keyword>qacos</keyword>
437
+ <keyword>qasin</keyword>
438
+ <keyword>qatan2</keyword>
439
+ <keyword>qatan</keyword>
440
+ <keyword>qcmplx</keyword>
441
+ <keyword>qconjg</keyword>
442
+ <keyword>qcosh</keyword>
443
+ <keyword>qcos</keyword>
444
+ <keyword>qdim</keyword>
445
+ <keyword>qerf</keyword>
446
+ <keyword>qerfc</keyword>
447
+ <keyword>qexp</keyword>
448
+ <keyword>qgamma</keyword>
449
+ <keyword>qimag</keyword>
450
+ <keyword>qlgama</keyword>
451
+ <keyword>qlog10</keyword>
452
+ <keyword>qlog</keyword>
453
+ <keyword>qmax1</keyword>
454
+ <keyword>qmin1</keyword>
455
+ <keyword>qmod</keyword>
456
+ <keyword>qnint</keyword>
457
+ <keyword>qsign</keyword>
458
+ <keyword>qsinh</keyword>
459
+ <keyword>qsin</keyword>
460
+ <keyword>qsqrt</keyword>
461
+ <keyword>qtanh</keyword>
462
+ <keyword>qtan</keyword>
463
+ <keyword>radix</keyword>
464
+ <keyword>random_number</keyword>
465
+ <keyword>random_seed</keyword>
466
+ <keyword>range</keyword>
467
+ <keyword>real</keyword>
468
+ <keyword>repeat</keyword>
469
+ <keyword>reshape</keyword>
470
+ <keyword>rrspacing</keyword>
471
+ <keyword>scale</keyword>
472
+ <keyword>scan</keyword>
473
+ <keyword>selected_char_kind</keyword>
474
+ <keyword>selected_int_kind</keyword>
475
+ <keyword>selected_real_kind</keyword>
476
+ <keyword>set_exponent</keyword>
477
+ <keyword>shape</keyword>
478
+ <keyword>sign</keyword>
479
+ <keyword>sinh</keyword>
480
+ <keyword>sin</keyword>
481
+ <keyword>size</keyword>
482
+ <keyword>sngl</keyword>
483
+ <keyword>spacing</keyword>
484
+ <keyword>spread</keyword>
485
+ <keyword>sqrt</keyword>
486
+ <keyword>sum</keyword>
487
+ <keyword>system_clock</keyword>
488
+ <keyword>tanh</keyword>
489
+ <keyword>tan</keyword>
490
+ <keyword>tiny</keyword>
491
+ <keyword>transfer</keyword>
492
+ <keyword>transpose</keyword>
493
+ <keyword>trim</keyword>
494
+ <keyword>ubound</keyword>
495
+ <keyword>unpack</keyword>
496
+ <keyword>verify</keyword>
497
+ <keyword>zabs</keyword>
498
+ <keyword>zcos</keyword>
499
+ <keyword>zexp</keyword>
500
+ <keyword>zlog</keyword>
501
+ <keyword>zsin</keyword>
502
+ <keyword>zsqrt</keyword>
503
+ </context>
504
+
505
+ <context id="types" style-ref="type">
506
+ <keyword>byte</keyword>
507
+ <keyword>character</keyword>
508
+ <keyword>complex</keyword>
509
+ <keyword>double complex</keyword>
510
+ <keyword>double precision</keyword>
511
+ <keyword>integer</keyword>
512
+ <keyword>logical</keyword>
513
+ <keyword>procedure</keyword>
514
+ <keyword>real</keyword>
515
+ </context>
516
+
517
+ <context id="type-attributes" style-ref="type">
518
+ <keyword>allocatable</keyword>
519
+ <keyword>dimension</keyword>
520
+ <keyword>external</keyword>
521
+ <keyword>intent</keyword>
522
+ <keyword>intrinsic</keyword>
523
+ <keyword>optional</keyword>
524
+ <keyword>parameter</keyword>
525
+ <keyword>pointer</keyword>
526
+ <keyword>private</keyword>
527
+ <keyword>public</keyword>
528
+ <keyword>save</keyword>
529
+ <keyword>target</keyword>
530
+ </context>
531
+
532
+ <context id="attributes">
533
+ <start>,\s*\%[</start>
534
+ <end>\%[</end>
535
+ <include>
536
+ <context ref="type-attributes"/>
537
+ </include>
538
+ </context>
539
+
540
+ <context id="floating-point-number" style-ref="floating-point">
541
+ <match extended="true">
542
+ (?&lt;![\w\.])
543
+ [+-]?
544
+ ((\.[0-9]+ | [0-9]+\.[0-9]*) ([ed][+-]?[0-9]*)? |
545
+ ([0-9]+[ed][+-]?[0-9]*))
546
+ ([_]([0-9]+|[a-z][\w_]*))?
547
+ (?![\w\.])
548
+ </match>
549
+ </context>
550
+
551
+ <context id="decimal" style-ref="decimal">
552
+ <match extended="true">
553
+ (?&lt;![\w\.])
554
+ [+-]? ([1-9][0-9]*|0)
555
+ ([_]([0-9]+|[a-z][\w_]*))?
556
+ (?![\w\.])
557
+ </match>
558
+ </context>
559
+
560
+ <context id="boz-literal" style-ref="boz-literal">
561
+ <match extended="true">
562
+ \bb'[01]+'|\bb"[01]+"|
563
+ \bo'[0-7]+'|\bo"[0-7]+"|
564
+ \bz'[0-9a-f]+'|\bz"[0-9a-f]+"
565
+ </match>
566
+ </context>
567
+
568
+ <context id="fortran" class="no-spell-check">
569
+ <include>
570
+ <context ref="floating-point-number"/>
571
+ <context ref="decimal"/>
572
+ <context ref="boz-literal"/>
573
+ <context ref="def:string"/>
574
+ <context ref="def:single-quoted-string"/>
575
+ <context ref="line-comment"/>
576
+ <context ref="types"/>
577
+ <context ref="attributes"/>
578
+ <context ref="operators"/>
579
+ <context ref="keywords"/>
580
+ <context ref="read-write"/>
581
+ <context ref="input-output"/>
582
+ <context ref="intrinsics"/>
583
+ <context ref="if0-comment"/>
584
+ <context ref="include"/>
585
+ <context ref="preprocessor"/>
586
+ <context ref="openmp-directives"/>
587
+ </include>
588
+ </context>
589
+
590
+ </definitions>
591
+ </language>