gtksourceview3 3.0.9-x86-mingw32 → 3.1.0-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (210) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +7 -1
  3. data/lib/gtksourceview3/loader.rb +0 -6
  4. data/vendor/local/bin/libgtksourceview-3.0-1.dll +0 -0
  5. data/vendor/local/include/gtksourceview-3.0/gtksourceview/completion-providers/words/gtksourcecompletionwords.h +11 -3
  6. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksource.h +10 -3
  7. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceautocleanups.h +11 -3
  8. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcebuffer.h +14 -7
  9. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletion.h +12 -4
  10. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletioncontext.h +12 -4
  11. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletioninfo.h +11 -3
  12. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionitem.h +11 -3
  13. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionproposal.h +11 -3
  14. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionprovider.h +11 -3
  15. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceencoding.h +11 -3
  16. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcefile.h +53 -3
  17. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcefileloader.h +13 -4
  18. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcefilesaver.h +14 -5
  19. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutter.h +11 -3
  20. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrenderer.h +15 -7
  21. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrendererpixbuf.h +11 -3
  22. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrenderertext.h +11 -3
  23. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcelanguage.h +11 -3
  24. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcelanguagemanager.h +16 -4
  25. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemap.h +11 -3
  26. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemark.h +11 -3
  27. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemarkattributes.h +11 -3
  28. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceprintcompositor.h +11 -3
  29. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceregion.h +132 -0
  30. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcesearchcontext.h +55 -9
  31. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcesearchsettings.h +11 -3
  32. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyle.h +17 -5
  33. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestylescheme.h +11 -3
  34. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschemechooser.h +12 -3
  35. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschemechooserbutton.h +11 -3
  36. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschemechooserwidget.h +8 -0
  37. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschememanager.h +15 -3
  38. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcetag.h +11 -3
  39. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcetypes.h +13 -60
  40. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceundomanager.h +11 -3
  41. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceutils.h +11 -3
  42. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceversion.h +33 -5
  43. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview-enumtypes.h +122 -0
  44. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview-typebuiltins.h +39 -114
  45. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview.h +57 -34
  46. data/vendor/local/lib/girepository-1.0/GtkSource-3.0.typelib +0 -0
  47. data/vendor/local/lib/libgtksourceview-3.0.dll.a +0 -0
  48. data/vendor/local/lib/libgtksourceview-3.0.la +4 -4
  49. data/vendor/local/lib/pkgconfig/gtksourceview-3.0.pc +1 -1
  50. data/vendor/local/share/gir-1.0/GtkSource-3.0.gir +749 -36
  51. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceBuffer.html +331 -320
  52. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletion.html +110 -108
  53. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionContext.html +37 -35
  54. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionInfo.html +47 -47
  55. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionItem.html +42 -42
  56. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProposal.html +62 -62
  57. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProvider.html +69 -69
  58. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionWords.html +35 -35
  59. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceEncoding.html +30 -30
  60. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFile.html +63 -60
  61. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileLoader.html +64 -62
  62. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileSaver.html +64 -60
  63. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutter.html +41 -41
  64. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRenderer.html +195 -187
  65. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererPixbuf.html +38 -38
  66. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererText.html +28 -28
  67. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguage.html +62 -62
  68. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguageManager.html +43 -43
  69. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMap.html +21 -21
  70. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMark.html +36 -36
  71. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMarkAttributes.html +75 -75
  72. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourcePrintCompositor.html +182 -182
  73. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceRegion.html +870 -0
  74. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchContext.html +539 -141
  75. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchSettings.html +57 -54
  76. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyle.html +98 -49
  77. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleScheme.html +42 -39
  78. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooser.html +10 -10
  79. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooserButton.html +14 -14
  80. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooserWidget.html +15 -15
  81. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeManager.html +32 -32
  82. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceTag.html +24 -22
  83. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceUndoManager.html +31 -31
  84. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceView.html +223 -212
  85. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/annotation-glossary.html +9 -10
  86. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-0.html +5 -5
  87. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-10.html +5 -5
  88. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-12.html +5 -5
  89. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-2.html +5 -5
  90. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-4.html +5 -5
  91. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-8.html +5 -5
  92. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-0.html +5 -5
  93. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-10.html +5 -5
  94. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-12.html +5 -5
  95. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-14.html +5 -5
  96. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-16.html +5 -5
  97. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-18.html +5 -5
  98. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-20.html +7 -7
  99. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-22.html +125 -0
  100. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-4.html +5 -5
  101. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-deprecated.html +25 -5
  102. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-full.html +107 -7
  103. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch01.html +1 -1
  104. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch02.html +1 -19
  105. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch03.html +13 -16
  106. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch04.html +20 -11
  107. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch05.html +11 -17
  108. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch06.html +27 -10
  109. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch07.html +10 -15
  110. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch08.html +9 -18
  111. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch09.html +22 -19
  112. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceUtils.html +16 -16
  113. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-Version-Information.html +37 -24
  114. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0.devhelp2 +65 -34
  115. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.html +20 -10
  116. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-reference.html +24 -18
  117. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-tutorial.html +5 -5
  118. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/object-tree.html +41 -22
  119. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/pt01.html +13 -7
  120. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/pt02.html +49 -0
  121. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/pt03.html +53 -0
  122. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style-reference.html +5 -5
  123. data/vendor/local/share/gtksourceview-3.0/language-specs/css.lang +2 -2
  124. data/vendor/local/share/gtksourceview-3.0/language-specs/jade.lang +8 -9
  125. data/vendor/local/share/gtksourceview-3.0/language-specs/latex.lang +28 -36
  126. data/vendor/local/share/gtksourceview-3.0/language-specs/python3.lang +4 -0
  127. data/vendor/local/share/gtksourceview-3.0/language-specs/rpmspec.lang +3 -2
  128. data/vendor/local/share/gtksourceview-3.0/language-specs/rust.lang +63 -30
  129. data/vendor/local/share/locale/ar/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  130. data/vendor/local/share/locale/as/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  131. data/vendor/local/share/locale/ast/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  132. data/vendor/local/share/locale/az/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  133. data/vendor/local/share/locale/be/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  134. data/vendor/local/share/locale/bg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  135. data/vendor/local/share/locale/bn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  136. data/vendor/local/share/locale/bn_IN/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  137. data/vendor/local/share/locale/bs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  138. data/vendor/local/share/locale/ca/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  139. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  140. data/vendor/local/share/locale/cs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  141. data/vendor/local/share/locale/cy/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  142. data/vendor/local/share/locale/da/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  143. data/vendor/local/share/locale/de/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  144. data/vendor/local/share/locale/dz/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  145. data/vendor/local/share/locale/el/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  146. data/vendor/local/share/locale/en@shaw/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  147. data/vendor/local/share/locale/en_CA/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  148. data/vendor/local/share/locale/en_GB/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  149. data/vendor/local/share/locale/eo/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  150. data/vendor/local/share/locale/es/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  151. data/vendor/local/share/locale/et/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  152. data/vendor/local/share/locale/eu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  153. data/vendor/local/share/locale/fa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  154. data/vendor/local/share/locale/fi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  155. data/vendor/local/share/locale/fr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  156. data/vendor/local/share/locale/ga/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  157. data/vendor/local/share/locale/gl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  158. data/vendor/local/share/locale/gu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  159. data/vendor/local/share/locale/he/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  160. data/vendor/local/share/locale/hi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  161. data/vendor/local/share/locale/hr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  162. data/vendor/local/share/locale/hu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  163. data/vendor/local/share/locale/id/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  164. data/vendor/local/share/locale/it/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  165. data/vendor/local/share/locale/ja/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  166. data/vendor/local/share/locale/kk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  167. data/vendor/local/share/locale/kn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  168. data/vendor/local/share/locale/ko/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  169. data/vendor/local/share/locale/lt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  170. data/vendor/local/share/locale/lv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  171. data/vendor/local/share/locale/mai/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  172. data/vendor/local/share/locale/mg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  173. data/vendor/local/share/locale/mk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  174. data/vendor/local/share/locale/ml/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  175. data/vendor/local/share/locale/mn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  176. data/vendor/local/share/locale/mr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  177. data/vendor/local/share/locale/ms/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  178. data/vendor/local/share/locale/nb/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  179. data/vendor/local/share/locale/ne/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  180. data/vendor/local/share/locale/nl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  181. data/vendor/local/share/locale/nn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  182. data/vendor/local/share/locale/oc/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  183. data/vendor/local/share/locale/or/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  184. data/vendor/local/share/locale/pa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  185. data/vendor/local/share/locale/pl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  186. data/vendor/local/share/locale/pt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  187. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  188. data/vendor/local/share/locale/ro/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  189. data/vendor/local/share/locale/ru/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  190. data/vendor/local/share/locale/rw/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  191. data/vendor/local/share/locale/si/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  192. data/vendor/local/share/locale/sk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  193. data/vendor/local/share/locale/sl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  194. data/vendor/local/share/locale/sq/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  195. data/vendor/local/share/locale/sr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  196. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  197. data/vendor/local/share/locale/sv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  198. data/vendor/local/share/locale/ta/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  199. data/vendor/local/share/locale/te/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  200. data/vendor/local/share/locale/tg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  201. data/vendor/local/share/locale/th/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  202. data/vendor/local/share/locale/tr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  203. data/vendor/local/share/locale/ug/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  204. data/vendor/local/share/locale/uk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  205. data/vendor/local/share/locale/vi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  206. data/vendor/local/share/locale/xh/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  207. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  208. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  209. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  210. metadata +13 -7
@@ -2,7 +2,7 @@
2
2
  * gtksourcetypes.h
3
3
  * This file is part of GtkSourceView
4
4
  *
5
- * Copyright (C) 2012-2014 - Sébastien Wilmet <swilmet@gnome.org>
5
+ * Copyright (C) 2012-2016 - Sébastien Wilmet <swilmet@gnome.org>
6
6
  *
7
7
  * GtkSourceView is free software; you can redistribute it and/or
8
8
  * modify it under the terms of the GNU Lesser General Public
@@ -19,10 +19,18 @@
19
19
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20
20
  */
21
21
 
22
- #ifndef __GTK_SOURCE_TYPES_H__
23
- #define __GTK_SOURCE_TYPES_H__
22
+ #ifndef GTK_SOURCE_TYPES_H
23
+ #define GTK_SOURCE_TYPES_H
24
24
 
25
- #include <gio/gio.h>
25
+ #if !defined (GTK_SOURCE_H_INSIDE) && !defined (GTK_SOURCE_COMPILATION)
26
+ # if defined (__GNUC__)
27
+ # warning "Only <gtksourceview/gtksource.h> can be included directly."
28
+ # elif defined (G_OS_WIN32)
29
+ # pragma message("Only <gtksourceview/gtksource.h> can be included directly.")
30
+ # endif
31
+ #endif
32
+
33
+ #include <glib.h>
26
34
  #include <gtksourceview/gtksourceversion.h>
27
35
 
28
36
  G_BEGIN_DECLS
@@ -56,61 +64,6 @@ typedef struct _GtkSourceTag GtkSourceTag;
56
64
  typedef struct _GtkSourceUndoManager GtkSourceUndoManager;
57
65
  typedef struct _GtkSourceView GtkSourceView;
58
66
 
59
- /**
60
- * GtkSourceNewlineType:
61
- * @GTK_SOURCE_NEWLINE_TYPE_LF: line feed, used on UNIX.
62
- * @GTK_SOURCE_NEWLINE_TYPE_CR: carriage return, used on Mac.
63
- * @GTK_SOURCE_NEWLINE_TYPE_CR_LF: carriage return followed by a line feed, used
64
- * on Windows.
65
- *
66
- * Since: 3.14
67
- */
68
- typedef enum
69
- {
70
- GTK_SOURCE_NEWLINE_TYPE_LF,
71
- GTK_SOURCE_NEWLINE_TYPE_CR,
72
- GTK_SOURCE_NEWLINE_TYPE_CR_LF
73
- } GtkSourceNewlineType;
74
-
75
- /**
76
- * GTK_SOURCE_NEWLINE_TYPE_DEFAULT:
77
- *
78
- * The default newline type on the current OS.
79
- *
80
- * Since: 3.14
81
- */
82
- #ifdef G_OS_WIN32
83
- #define GTK_SOURCE_NEWLINE_TYPE_DEFAULT GTK_SOURCE_NEWLINE_TYPE_CR_LF
84
- #else
85
- #define GTK_SOURCE_NEWLINE_TYPE_DEFAULT GTK_SOURCE_NEWLINE_TYPE_LF
86
- #endif
87
-
88
- /**
89
- * GtkSourceCompressionType:
90
- * @GTK_SOURCE_COMPRESSION_TYPE_NONE: plain text.
91
- * @GTK_SOURCE_COMPRESSION_TYPE_GZIP: gzip compression.
92
- *
93
- * Since: 3.14
94
- */
95
- typedef enum
96
- {
97
- GTK_SOURCE_COMPRESSION_TYPE_NONE,
98
- GTK_SOURCE_COMPRESSION_TYPE_GZIP
99
- } GtkSourceCompressionType;
100
-
101
- /**
102
- * GtkSourceBackgroundPatternType:
103
- * @GTK_SOURCE_BACKGROUND_PATTERN_TYPE_NONE: no pattern
104
- * @GTK_SOURCE_BACKGROUND_PATTERN_TYPE_GRID: grid pattern
105
- *
106
- * Since: 3.16
107
- */
108
- typedef enum
109
- {
110
- GTK_SOURCE_BACKGROUND_PATTERN_TYPE_NONE,
111
- GTK_SOURCE_BACKGROUND_PATTERN_TYPE_GRID
112
- } GtkSourceBackgroundPatternType;
113
-
114
67
  G_END_DECLS
115
68
 
116
- #endif /* __GTK_SOURCE_TYPES_H__ */
69
+ #endif /* GTK_SOURCE_TYPES_H */
@@ -22,8 +22,16 @@
22
22
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
23
23
  */
24
24
 
25
- #ifndef __GTK_SOURCE_UNDO_MANAGER_H__
26
- #define __GTK_SOURCE_UNDO_MANAGER_H__
25
+ #ifndef GTK_SOURCE_UNDO_MANAGER_H
26
+ #define GTK_SOURCE_UNDO_MANAGER_H
27
+
28
+ #if !defined (GTK_SOURCE_H_INSIDE) && !defined (GTK_SOURCE_COMPILATION)
29
+ # if defined (__GNUC__)
30
+ # warning "Only <gtksourceview/gtksource.h> can be included directly."
31
+ # elif defined (G_OS_WIN32)
32
+ # pragma message("Only <gtksourceview/gtksource.h> can be included directly.")
33
+ # endif
34
+ #endif
27
35
 
28
36
  #include <gtk/gtk.h>
29
37
  #include <gtksourceview/gtksourcetypes.h>
@@ -85,4 +93,4 @@ void gtk_source_undo_manager_can_redo_changed (GtkSourceUndoManage
85
93
 
86
94
  G_END_DECLS
87
95
 
88
- #endif /* __GTK_SOURCE_UNDO_MANAGER_H__ */
96
+ #endif /* GTK_SOURCE_UNDO_MANAGER_H */
@@ -19,8 +19,16 @@
19
19
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20
20
  */
21
21
 
22
- #ifndef __GTK_SOURCE_UTILS_H__
23
- #define __GTK_SOURCE_UTILS_H__
22
+ #ifndef GTK_SOURCE_UTILS_H
23
+ #define GTK_SOURCE_UTILS_H
24
+
25
+ #if !defined (GTK_SOURCE_H_INSIDE) && !defined (GTK_SOURCE_COMPILATION)
26
+ # if defined (__GNUC__)
27
+ # warning "Only <gtksourceview/gtksource.h> can be included directly."
28
+ # elif defined (G_OS_WIN32)
29
+ # pragma message("Only <gtksourceview/gtksource.h> can be included directly.")
30
+ # endif
31
+ #endif
24
32
 
25
33
  #include <glib-object.h>
26
34
  #include <gtksourceview/gtksourceversion.h>
@@ -35,4 +43,4 @@ gchar *gtk_source_utils_escape_search_text (const gchar *text);
35
43
 
36
44
  G_END_DECLS
37
45
 
38
- #endif /* __GTK_SOURCE_UTILS_H__ */
46
+ #endif /* GTK_SOURCE_UTILS_H */
@@ -19,8 +19,8 @@
19
19
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20
20
  */
21
21
 
22
- #ifndef __GTK_SOURCE_VERSION_H__
23
- #define __GTK_SOURCE_VERSION_H__
22
+ #ifndef GTK_SOURCE_VERSION_H
23
+ #define GTK_SOURCE_VERSION_H
24
24
 
25
25
  #include <glib.h>
26
26
 
@@ -46,7 +46,7 @@ G_BEGIN_DECLS
46
46
  *
47
47
  * Since: 3.20
48
48
  */
49
- #define GTK_SOURCE_MINOR_VERSION (20)
49
+ #define GTK_SOURCE_MINOR_VERSION (22)
50
50
 
51
51
  /**
52
52
  * GTK_SOURCE_MICRO_VERSION:
@@ -57,7 +57,7 @@ G_BEGIN_DECLS
57
57
  *
58
58
  * Since: 3.20
59
59
  */
60
- #define GTK_SOURCE_MICRO_VERSION (4)
60
+ #define GTK_SOURCE_MICRO_VERSION (1)
61
61
 
62
62
 
63
63
  /**
@@ -197,6 +197,16 @@ G_BEGIN_DECLS
197
197
  */
198
198
  #define GTK_SOURCE_VERSION_3_20 (G_ENCODE_VERSION (3, 20))
199
199
 
200
+ /**
201
+ * GTK_SOURCE_VERSION_3_22:
202
+ *
203
+ * A macro that evaluates to the 3.22 version of GtkSourceView,
204
+ * in a format that can be used by the C pre-processor.
205
+ *
206
+ * Since: 3.22
207
+ */
208
+ #define GTK_SOURCE_VERSION_3_22 (G_ENCODE_VERSION (3, 22))
209
+
200
210
  #ifndef __GTK_DOC_IGNORE__
201
211
  #if (GTK_SOURCE_MINOR_VERSION % 2)
202
212
  #define GTK_SOURCE_VERSION_CUR_STABLE (G_ENCODE_VERSION (GTK_SOURCE_MAJOR_VERSION, GTK_SOURCE_MINOR_VERSION + 1))
@@ -474,6 +484,24 @@ G_BEGIN_DECLS
474
484
  #endif
475
485
  #endif /* __GTK_DOC_IGNORE__ */
476
486
 
487
+ #ifndef __GTK_DOC_IGNORE__
488
+ #if GTK_SOURCE_VERSION_MIN_REQUIRED >= GTK_SOURCE_VERSION_3_22
489
+ #define GTK_SOURCE_DEPRECATED_IN_3_22 G_DEPRECATED _GTK_SOURCE_EXTERN
490
+ #define GTK_SOURCE_DEPRECATED_IN_3_22_FOR(f) G_DEPRECATED_FOR(f) _GTK_SOURCE_EXTERN
491
+ #else
492
+ #define GTK_SOURCE_DEPRECATED_IN_3_22 _GTK_SOURCE_EXTERN
493
+ #define GTK_SOURCE_DEPRECATED_IN_3_22_FOR(f) _GTK_SOURCE_EXTERN
494
+ #endif
495
+ #endif /* __GTK_DOC_IGNORE__ */
496
+
497
+ #ifndef __GTK_DOC_IGNORE__
498
+ #if GTK_SOURCE_VERSION_MAX_ALLOWED < GTK_SOURCE_VERSION_3_22
499
+ #define GTK_SOURCE_AVAILABLE_IN_3_22 G_UNAVAILABLE(3, 22) _GTK_SOURCE_EXTERN
500
+ #else
501
+ #define GTK_SOURCE_AVAILABLE_IN_3_22 _GTK_SOURCE_EXTERN
502
+ #endif
503
+ #endif /* __GTK_DOC_IGNORE__ */
504
+
477
505
  GTK_SOURCE_AVAILABLE_IN_3_20
478
506
  guint gtk_source_get_major_version (void);
479
507
 
@@ -490,4 +518,4 @@ gboolean gtk_source_check_version (guint major,
490
518
 
491
519
  G_END_DECLS
492
520
 
493
- #endif /* __GTK_SOURCE_VERSION_H__ */
521
+ #endif /* GTK_SOURCE_VERSION_H */
@@ -0,0 +1,122 @@
1
+
2
+
3
+
4
+ #ifndef GTKSOURCEVIEW_ENUMTYPES_H
5
+ #define GTKSOURCEVIEW_ENUMTYPES_H
6
+
7
+ #if !defined (GTK_SOURCE_H_INSIDE) && !defined (GTK_SOURCE_COMPILATION)
8
+ # if defined (__GNUC__)
9
+ # warning "Only <gtksourceview/gtksource.h> can be included directly."
10
+ # elif defined (G_OS_WIN32)
11
+ # pragma message("Only <gtksourceview/gtksource.h> can be included directly.")
12
+ # endif
13
+ #endif
14
+
15
+ #include <gtksourceview/gtksourcebuffer.h>
16
+ G_BEGIN_DECLS
17
+ #define GTK_SOURCE_TYPE_BRACKET_MATCH_TYPE gtk_source_bracket_match_type_get_type()
18
+ GTK_SOURCE_ENUM_EXTERN
19
+ GType gtk_source_bracket_match_type_get_type (void);
20
+ G_END_DECLS
21
+
22
+ G_BEGIN_DECLS
23
+ #define GTK_SOURCE_TYPE_CHANGE_CASE_TYPE gtk_source_change_case_type_get_type()
24
+ GTK_SOURCE_ENUM_EXTERN
25
+ GType gtk_source_change_case_type_get_type (void);
26
+ G_END_DECLS
27
+
28
+ G_BEGIN_DECLS
29
+ #define GTK_SOURCE_TYPE_SORT_FLAGS gtk_source_sort_flags_get_type()
30
+ GTK_SOURCE_ENUM_EXTERN
31
+ GType gtk_source_sort_flags_get_type (void);
32
+ G_END_DECLS
33
+
34
+ #include <gtksourceview/gtksourcecompletion.h>
35
+ G_BEGIN_DECLS
36
+ #define GTK_SOURCE_TYPE_COMPLETION_ERROR gtk_source_completion_error_get_type()
37
+ GTK_SOURCE_ENUM_EXTERN
38
+ GType gtk_source_completion_error_get_type (void);
39
+ G_END_DECLS
40
+
41
+ #include <gtksourceview/gtksourcecompletioncontext.h>
42
+ G_BEGIN_DECLS
43
+ #define GTK_SOURCE_TYPE_COMPLETION_ACTIVATION gtk_source_completion_activation_get_type()
44
+ GTK_SOURCE_ENUM_EXTERN
45
+ GType gtk_source_completion_activation_get_type (void);
46
+ G_END_DECLS
47
+
48
+ #include <gtksourceview/gtksourcefile.h>
49
+ G_BEGIN_DECLS
50
+ #define GTK_SOURCE_TYPE_NEWLINE_TYPE gtk_source_newline_type_get_type()
51
+ GTK_SOURCE_ENUM_EXTERN
52
+ GType gtk_source_newline_type_get_type (void);
53
+ G_END_DECLS
54
+
55
+ G_BEGIN_DECLS
56
+ #define GTK_SOURCE_TYPE_COMPRESSION_TYPE gtk_source_compression_type_get_type()
57
+ GTK_SOURCE_ENUM_EXTERN
58
+ GType gtk_source_compression_type_get_type (void);
59
+ G_END_DECLS
60
+
61
+ #include <gtksourceview/gtksourcefileloader.h>
62
+ G_BEGIN_DECLS
63
+ #define GTK_SOURCE_TYPE_FILE_LOADER_ERROR gtk_source_file_loader_error_get_type()
64
+ GTK_SOURCE_ENUM_EXTERN
65
+ GType gtk_source_file_loader_error_get_type (void);
66
+ G_END_DECLS
67
+
68
+ #include <gtksourceview/gtksourcefilesaver.h>
69
+ G_BEGIN_DECLS
70
+ #define GTK_SOURCE_TYPE_FILE_SAVER_ERROR gtk_source_file_saver_error_get_type()
71
+ GTK_SOURCE_ENUM_EXTERN
72
+ GType gtk_source_file_saver_error_get_type (void);
73
+ G_END_DECLS
74
+
75
+ G_BEGIN_DECLS
76
+ #define GTK_SOURCE_TYPE_FILE_SAVER_FLAGS gtk_source_file_saver_flags_get_type()
77
+ GTK_SOURCE_ENUM_EXTERN
78
+ GType gtk_source_file_saver_flags_get_type (void);
79
+ G_END_DECLS
80
+
81
+ #include <gtksourceview/gtksourcegutterrenderer.h>
82
+ G_BEGIN_DECLS
83
+ #define GTK_SOURCE_TYPE_GUTTER_RENDERER_STATE gtk_source_gutter_renderer_state_get_type()
84
+ GTK_SOURCE_ENUM_EXTERN
85
+ GType gtk_source_gutter_renderer_state_get_type (void);
86
+ G_END_DECLS
87
+
88
+ G_BEGIN_DECLS
89
+ #define GTK_SOURCE_TYPE_GUTTER_RENDERER_ALIGNMENT_MODE gtk_source_gutter_renderer_alignment_mode_get_type()
90
+ GTK_SOURCE_ENUM_EXTERN
91
+ GType gtk_source_gutter_renderer_alignment_mode_get_type (void);
92
+ G_END_DECLS
93
+
94
+ #include <gtksourceview/gtksourceview.h>
95
+ G_BEGIN_DECLS
96
+ #define GTK_SOURCE_TYPE_VIEW_GUTTER_POSITION gtk_source_view_gutter_position_get_type()
97
+ GTK_SOURCE_ENUM_EXTERN
98
+ GType gtk_source_view_gutter_position_get_type (void);
99
+ G_END_DECLS
100
+
101
+ G_BEGIN_DECLS
102
+ #define GTK_SOURCE_TYPE_SMART_HOME_END_TYPE gtk_source_smart_home_end_type_get_type()
103
+ GTK_SOURCE_ENUM_EXTERN
104
+ GType gtk_source_smart_home_end_type_get_type (void);
105
+ G_END_DECLS
106
+
107
+ G_BEGIN_DECLS
108
+ #define GTK_SOURCE_TYPE_DRAW_SPACES_FLAGS gtk_source_draw_spaces_flags_get_type()
109
+ GTK_SOURCE_ENUM_EXTERN
110
+ GType gtk_source_draw_spaces_flags_get_type (void);
111
+ G_END_DECLS
112
+
113
+ G_BEGIN_DECLS
114
+ #define GTK_SOURCE_TYPE_BACKGROUND_PATTERN_TYPE gtk_source_background_pattern_type_get_type()
115
+ GTK_SOURCE_ENUM_EXTERN
116
+ GType gtk_source_background_pattern_type_get_type (void);
117
+ G_END_DECLS
118
+
119
+ #endif /* GTKSOURCEVIEW_ENUMTYPES_H */
120
+
121
+
122
+
@@ -1,114 +1,39 @@
1
-
2
-
3
-
4
- #ifndef __GTKSOURCEVIEW_TYPEBUILTINS_H__
5
- #define __GTKSOURCEVIEW_TYPEBUILTINS_H__
6
-
7
- #include <gtksourceview/gtksourcebuffer.h>
8
- G_BEGIN_DECLS
9
- #define GTK_SOURCE_TYPE_BRACKET_MATCH_TYPE gtk_source_bracket_match_type_get_type()
10
- GTK_SOURCE_ENUM_EXTERN
11
- GType gtk_source_bracket_match_type_get_type (void);
12
- G_END_DECLS
13
-
14
- G_BEGIN_DECLS
15
- #define GTK_SOURCE_TYPE_CHANGE_CASE_TYPE gtk_source_change_case_type_get_type()
16
- GTK_SOURCE_ENUM_EXTERN
17
- GType gtk_source_change_case_type_get_type (void);
18
- G_END_DECLS
19
-
20
- G_BEGIN_DECLS
21
- #define GTK_SOURCE_TYPE_SORT_FLAGS gtk_source_sort_flags_get_type()
22
- GTK_SOURCE_ENUM_EXTERN
23
- GType gtk_source_sort_flags_get_type (void);
24
- G_END_DECLS
25
-
26
- #include <gtksourceview/gtksourcecompletion.h>
27
- G_BEGIN_DECLS
28
- #define GTK_SOURCE_TYPE_COMPLETION_ERROR gtk_source_completion_error_get_type()
29
- GTK_SOURCE_ENUM_EXTERN
30
- GType gtk_source_completion_error_get_type (void);
31
- G_END_DECLS
32
-
33
- #include <gtksourceview/gtksourcecompletioncontext.h>
34
- G_BEGIN_DECLS
35
- #define GTK_SOURCE_TYPE_COMPLETION_ACTIVATION gtk_source_completion_activation_get_type()
36
- GTK_SOURCE_ENUM_EXTERN
37
- GType gtk_source_completion_activation_get_type (void);
38
- G_END_DECLS
39
-
40
- #include <gtksourceview/gtksourcefileloader.h>
41
- G_BEGIN_DECLS
42
- #define GTK_SOURCE_TYPE_FILE_LOADER_ERROR gtk_source_file_loader_error_get_type()
43
- GTK_SOURCE_ENUM_EXTERN
44
- GType gtk_source_file_loader_error_get_type (void);
45
- G_END_DECLS
46
-
47
- #include <gtksourceview/gtksourcefilesaver.h>
48
- G_BEGIN_DECLS
49
- #define GTK_SOURCE_TYPE_FILE_SAVER_ERROR gtk_source_file_saver_error_get_type()
50
- GTK_SOURCE_ENUM_EXTERN
51
- GType gtk_source_file_saver_error_get_type (void);
52
- G_END_DECLS
53
-
54
- G_BEGIN_DECLS
55
- #define GTK_SOURCE_TYPE_FILE_SAVER_FLAGS gtk_source_file_saver_flags_get_type()
56
- GTK_SOURCE_ENUM_EXTERN
57
- GType gtk_source_file_saver_flags_get_type (void);
58
- G_END_DECLS
59
-
60
- #include <gtksourceview/gtksourcegutterrenderer.h>
61
- G_BEGIN_DECLS
62
- #define GTK_SOURCE_TYPE_GUTTER_RENDERER_STATE gtk_source_gutter_renderer_state_get_type()
63
- GTK_SOURCE_ENUM_EXTERN
64
- GType gtk_source_gutter_renderer_state_get_type (void);
65
- G_END_DECLS
66
-
67
- G_BEGIN_DECLS
68
- #define GTK_SOURCE_TYPE_GUTTER_RENDERER_ALIGNMENT_MODE gtk_source_gutter_renderer_alignment_mode_get_type()
69
- GTK_SOURCE_ENUM_EXTERN
70
- GType gtk_source_gutter_renderer_alignment_mode_get_type (void);
71
- G_END_DECLS
72
-
73
- #include <gtksourceview/gtksourcetypes.h>
74
- G_BEGIN_DECLS
75
- #define GTK_SOURCE_TYPE_NEWLINE_TYPE gtk_source_newline_type_get_type()
76
- GTK_SOURCE_ENUM_EXTERN
77
- GType gtk_source_newline_type_get_type (void);
78
- G_END_DECLS
79
-
80
- G_BEGIN_DECLS
81
- #define GTK_SOURCE_TYPE_COMPRESSION_TYPE gtk_source_compression_type_get_type()
82
- GTK_SOURCE_ENUM_EXTERN
83
- GType gtk_source_compression_type_get_type (void);
84
- G_END_DECLS
85
-
86
- G_BEGIN_DECLS
87
- #define GTK_SOURCE_TYPE_BACKGROUND_PATTERN_TYPE gtk_source_background_pattern_type_get_type()
88
- GTK_SOURCE_ENUM_EXTERN
89
- GType gtk_source_background_pattern_type_get_type (void);
90
- G_END_DECLS
91
-
92
- #include <gtksourceview/gtksourceview.h>
93
- G_BEGIN_DECLS
94
- #define GTK_SOURCE_TYPE_VIEW_GUTTER_POSITION gtk_source_view_gutter_position_get_type()
95
- GTK_SOURCE_ENUM_EXTERN
96
- GType gtk_source_view_gutter_position_get_type (void);
97
- G_END_DECLS
98
-
99
- G_BEGIN_DECLS
100
- #define GTK_SOURCE_TYPE_SMART_HOME_END_TYPE gtk_source_smart_home_end_type_get_type()
101
- GTK_SOURCE_ENUM_EXTERN
102
- GType gtk_source_smart_home_end_type_get_type (void);
103
- G_END_DECLS
104
-
105
- G_BEGIN_DECLS
106
- #define GTK_SOURCE_TYPE_DRAW_SPACES_FLAGS gtk_source_draw_spaces_flags_get_type()
107
- GTK_SOURCE_ENUM_EXTERN
108
- GType gtk_source_draw_spaces_flags_get_type (void);
109
- G_END_DECLS
110
-
111
- #endif /* __GTKSOURCEVIEW_TYPEBUILTINS_H__ */
112
-
113
-
114
-
1
+ /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8; coding: utf-8 -*-
2
+ *
3
+ * This file is part of GtkSourceView
4
+ *
5
+ * Copyright (C) 2016 - Sébastien Wilmet <swilmet@gnome.org>
6
+ *
7
+ * GtkSourceView is free software; you can redistribute it and/or
8
+ * modify it under the terms of the GNU Lesser General Public
9
+ * License as published by the Free Software Foundation; either
10
+ * version 2.1 of the License, or (at your option) any later version.
11
+ *
12
+ * GtkSourceView is distributed in the hope that it will be useful,
13
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
+ * Lesser General Public License for more details.
16
+ *
17
+ * You should have received a copy of the GNU Lesser General Public
18
+ * License along with this library; if not, write to the Free Software
19
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20
+ */
21
+
22
+ /* Deprecated: 3.22: This header is deprecated. For internal GtkSourceView code,
23
+ * include gtksourceview-enumtypes.h. For external code, include gtksource.h.
24
+ */
25
+
26
+ #ifndef GTK_SOURCE_VIEW_TYPE_BUILTINS_H
27
+ #define GTK_SOURCE_VIEW_TYPE_BUILTINS_H
28
+
29
+ #if !defined (GTK_SOURCE_H_INSIDE) && !defined (GTK_SOURCE_COMPILATION)
30
+ # if defined (__GNUC__)
31
+ # warning "Only <gtksourceview/gtksource.h> can be included directly."
32
+ # elif defined (G_OS_WIN32)
33
+ # pragma message("Only <gtksourceview/gtksource.h> can be included directly.")
34
+ # endif
35
+ #endif
36
+
37
+ #include <gtksourceview/gtksourceview-enumtypes.h>
38
+
39
+ #endif /* GTK_SOURCE_VIEW_TYPE_BUILTINS_H */
@@ -21,8 +21,16 @@
21
21
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22
22
  */
23
23
 
24
- #ifndef __GTK_SOURCE_VIEW_H__
25
- #define __GTK_SOURCE_VIEW_H__
24
+ #ifndef GTK_SOURCE_VIEW_H
25
+ #define GTK_SOURCE_VIEW_H
26
+
27
+ #if !defined (GTK_SOURCE_H_INSIDE) && !defined (GTK_SOURCE_COMPILATION)
28
+ # if defined (__GNUC__)
29
+ # warning "Only <gtksourceview/gtksource.h> can be included directly."
30
+ # elif defined (G_OS_WIN32)
31
+ # pragma message("Only <gtksourceview/gtksource.h> can be included directly.")
32
+ # endif
33
+ #endif
26
34
 
27
35
  #include <gtk/gtk.h>
28
36
  #include <gtksourceview/gtksourcetypes.h>
@@ -46,39 +54,12 @@ typedef struct _GtkSourceViewPrivate GtkSourceViewPrivate;
46
54
  * @GTK_SOURCE_VIEW_GUTTER_POSITION_MARKS: the gutter position of the marks
47
55
  * renderer
48
56
  */
49
- typedef enum
57
+ typedef enum _GtkSourceViewGutterPosition
50
58
  {
51
59
  GTK_SOURCE_VIEW_GUTTER_POSITION_LINES = -30,
52
60
  GTK_SOURCE_VIEW_GUTTER_POSITION_MARKS = -20
53
61
  } GtkSourceViewGutterPosition;
54
62
 
55
- struct _GtkSourceView
56
- {
57
- GtkTextView parent;
58
-
59
- GtkSourceViewPrivate *priv;
60
- };
61
-
62
- struct _GtkSourceViewClass
63
- {
64
- GtkTextViewClass parent_class;
65
-
66
- void (*undo) (GtkSourceView *view);
67
- void (*redo) (GtkSourceView *view);
68
- void (*line_mark_activated) (GtkSourceView *view,
69
- GtkTextIter *iter,
70
- GdkEvent *event);
71
- void (*show_completion) (GtkSourceView *view);
72
- void (*move_lines) (GtkSourceView *view,
73
- gboolean copy,
74
- gint step);
75
-
76
- void (*move_words) (GtkSourceView *view,
77
- gint step);
78
-
79
- /* Padding for future expansion */
80
- };
81
-
82
63
  /**
83
64
  * GtkSourceSmartHomeEndType:
84
65
  * @GTK_SOURCE_SMART_HOME_END_DISABLED: smart-home-end disabled.
@@ -91,7 +72,7 @@ struct _GtkSourceViewClass
91
72
  * @GTK_SOURCE_SMART_HOME_END_ALWAYS: always move to the first/last
92
73
  * non-whitespace character when the HOME/END keys are pressed.
93
74
  */
94
- typedef enum
75
+ typedef enum _GtkSourceSmartHomeEndType
95
76
  {
96
77
  GTK_SOURCE_SMART_HOME_END_DISABLED,
97
78
  GTK_SOURCE_SMART_HOME_END_BEFORE,
@@ -103,7 +84,9 @@ typedef enum
103
84
  * GtkSourceDrawSpacesFlags:
104
85
  * @GTK_SOURCE_DRAW_SPACES_SPACE: whether the space character should be drawn.
105
86
  * @GTK_SOURCE_DRAW_SPACES_TAB: whether the tab character should be drawn.
106
- * @GTK_SOURCE_DRAW_SPACES_NEWLINE: whether the line breaks should be drawn.
87
+ * @GTK_SOURCE_DRAW_SPACES_NEWLINE: whether the line breaks should be drawn. If
88
+ * the #GtkSourceBuffer:implicit-trailing-newline property is %TRUE, a line
89
+ * break is also drawn at the end of the buffer.
107
90
  * @GTK_SOURCE_DRAW_SPACES_NBSP: whether the non-breaking whitespaces should be drawn.
108
91
  * @GTK_SOURCE_DRAW_SPACES_LEADING: whether leading whitespaces should be drawn.
109
92
  * @GTK_SOURCE_DRAW_SPACES_TEXT: whether whitespaces inside text should be drawn.
@@ -115,7 +98,7 @@ typedef enum
115
98
  * GTK_SOURCE_DRAW_SPACES_TRAILING is specified, whitespaces at any position in
116
99
  * the line will be drawn (i.e. it has the same effect as specifying all of them).
117
100
  */
118
- typedef enum
101
+ typedef enum _GtkSourceDrawSpacesFlags
119
102
  {
120
103
  GTK_SOURCE_DRAW_SPACES_SPACE = 1 << 0,
121
104
  GTK_SOURCE_DRAW_SPACES_TAB = 1 << 1,
@@ -127,6 +110,46 @@ typedef enum
127
110
  GTK_SOURCE_DRAW_SPACES_ALL = 0x7f
128
111
  } GtkSourceDrawSpacesFlags;
129
112
 
113
+ /**
114
+ * GtkSourceBackgroundPatternType:
115
+ * @GTK_SOURCE_BACKGROUND_PATTERN_TYPE_NONE: no pattern
116
+ * @GTK_SOURCE_BACKGROUND_PATTERN_TYPE_GRID: grid pattern
117
+ *
118
+ * Since: 3.16
119
+ */
120
+ typedef enum _GtkSourceBackgroundPatternType
121
+ {
122
+ GTK_SOURCE_BACKGROUND_PATTERN_TYPE_NONE,
123
+ GTK_SOURCE_BACKGROUND_PATTERN_TYPE_GRID
124
+ } GtkSourceBackgroundPatternType;
125
+
126
+ struct _GtkSourceView
127
+ {
128
+ GtkTextView parent;
129
+
130
+ GtkSourceViewPrivate *priv;
131
+ };
132
+
133
+ struct _GtkSourceViewClass
134
+ {
135
+ GtkTextViewClass parent_class;
136
+
137
+ void (*undo) (GtkSourceView *view);
138
+ void (*redo) (GtkSourceView *view);
139
+ void (*line_mark_activated) (GtkSourceView *view,
140
+ GtkTextIter *iter,
141
+ GdkEvent *event);
142
+ void (*show_completion) (GtkSourceView *view);
143
+ void (*move_lines) (GtkSourceView *view,
144
+ gboolean copy,
145
+ gint step);
146
+
147
+ void (*move_words) (GtkSourceView *view,
148
+ gint step);
149
+
150
+ /* Padding for future expansion */
151
+ };
152
+
130
153
  GTK_SOURCE_AVAILABLE_IN_ALL
131
154
  GType gtk_source_view_get_type (void) G_GNUC_CONST;
132
155
 
@@ -279,4 +302,4 @@ GtkSourceBackgroundPatternType
279
302
 
280
303
  G_END_DECLS
281
304
 
282
- #endif /* end of __GTK_SOURCE_VIEW_H__ */
305
+ #endif /* end of GTK_SOURCE_VIEW_H */
@@ -1,5 +1,5 @@
1
1
  # libgtksourceview-3.0.la - a libtool library file
2
- # Generated by libtool (GNU libtool) 2.4.6
2
+ # Generated by libtool (GNU libtool) 2.4.6 Debian-2.4.6-0.1
3
3
  #
4
4
  # Please DO NOT delete this file!
5
5
  # It is necessary for linking the library.
@@ -17,14 +17,14 @@ old_library=''
17
17
  inherited_linker_flags=' -pthread'
18
18
 
19
19
  # Libraries that this one depends upon.
20
- dependency_libs=' -R/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib -L/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib -L/home/vagrant/rcairo.win32/vendor/local/lib -L/home/vagrant/ruby-gnome2.win32/gtksourceview3/vendor/local/lib -L/home/vagrant/ruby-gnome2.win32/atk/vendor/local/lib -L/home/vagrant/ruby-gnome2.win32/pango/vendor/local/lib -L/home/vagrant/ruby-gnome2.win32/gdk_pixbuf2/vendor/local/lib -L/home/vagrant/ruby-gnome2.win32/gdk3/vendor/local/lib /home/vagrant/ruby-gnome2.win32/gdk3/vendor/local/lib/libgtk-3.la -L/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib/../lib -lcomdlg32 -lwinspool -lcomctl32 /home/vagrant/ruby-gnome2.win32/gdk3/vendor/local/lib/libgdk-3.la /home/vagrant/ruby-gnome2.win32/gdk3/vendor/local/lib/libepoxy.la -lopengl32 -limm32 -lshell32 -ldwmapi /home/vagrant/ruby-gnome2.win32/pango/vendor/local/lib/libpangocairo-1.0.la /home/vagrant/ruby-gnome2.win32/pango/vendor/local/lib/libpangowin32-1.0.la -lusp10 /home/vagrant/ruby-gnome2.win32/pango/vendor/local/lib/libpangoft2-1.0.la /home/vagrant/ruby-gnome2.win32/pango/vendor/local/lib/libharfbuzz.la /home/vagrant/ruby-gnome2.win32/pango/vendor/local/lib/libpango-1.0.la /home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib/libgthread-2.0.la /home/vagrant/ruby-gnome2.win32/atk/vendor/local/lib/libatk-1.0.la /home/vagrant/rcairo.win32/vendor/local/lib/libcairo-gobject.la /home/vagrant/rcairo.win32/vendor/local/lib/libcairo.la -lpthread /home/vagrant/rcairo.win32/vendor/local/lib/libpixman-1.la /home/vagrant/rcairo.win32/vendor/local/lib/libfontconfig.la /home/vagrant/rcairo.win32/vendor/local/lib/libfreetype.la -lgdi32 -lmsimg32 /home/vagrant/ruby-gnome2.win32/gdk_pixbuf2/vendor/local/lib/libgdk_pixbuf-2.0.la /home/vagrant/rcairo.win32/vendor/local/lib/libpng16.la /home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib/libgio-2.0.la /home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib/libgmodule-2.0.la -ldnsapi -liphlpapi /home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib/libgobject-2.0.la /home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib/../lib/libffi.la /home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib/libglib-2.0.la -lole32 -lwinmm -lshlwapi /home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib/libpcre.la /home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib/libintl.la /home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib/libiconv.la /home/vagrant/rcairo.win32/vendor/local/lib/libxml2.la -lz -lws2_32'
20
+ dependency_libs=' -R/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib -L/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib -L/home/vagrant/rcairo.win32/vendor/local/lib -L/home/vagrant/ruby-gnome2.win32/gtksourceview3/vendor/local/lib -L/home/vagrant/ruby-gnome2.win32/atk/vendor/local/lib -L/home/vagrant/ruby-gnome2.win32/pango/vendor/local/lib -L/home/vagrant/ruby-gnome2.win32/gdk_pixbuf2/vendor/local/lib -L/home/vagrant/ruby-gnome2.win32/gdk3/vendor/local/lib /home/vagrant/ruby-gnome2.win32/gdk3/vendor/local/lib/libgtk-3.la -L/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib/../lib -lcomdlg32 -lwinspool -lcomctl32 /home/vagrant/ruby-gnome2.win32/gdk3/vendor/local/lib/libgdk-3.la /home/vagrant/ruby-gnome2.win32/gdk3/vendor/local/lib/libepoxy.la -lopengl32 -limm32 -lshell32 -ldwmapi -lsetupapi -lcfgmgr32 /home/vagrant/ruby-gnome2.win32/pango/vendor/local/lib/libpangocairo-1.0.la /home/vagrant/ruby-gnome2.win32/pango/vendor/local/lib/libpangowin32-1.0.la -lusp10 /home/vagrant/ruby-gnome2.win32/pango/vendor/local/lib/libpangoft2-1.0.la /home/vagrant/ruby-gnome2.win32/pango/vendor/local/lib/libharfbuzz.la /home/vagrant/ruby-gnome2.win32/pango/vendor/local/lib/libpango-1.0.la /home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib/libgthread-2.0.la /home/vagrant/ruby-gnome2.win32/atk/vendor/local/lib/libatk-1.0.la /home/vagrant/rcairo.win32/vendor/local/lib/libcairo-gobject.la /home/vagrant/rcairo.win32/vendor/local/lib/libcairo.la -lpthread /home/vagrant/rcairo.win32/vendor/local/lib/libpixman-1.la /home/vagrant/rcairo.win32/vendor/local/lib/libfontconfig.la /home/vagrant/rcairo.win32/vendor/local/lib/libfreetype.la -lgdi32 -lmsimg32 /home/vagrant/ruby-gnome2.win32/gdk_pixbuf2/vendor/local/lib/libgdk_pixbuf-2.0.la /home/vagrant/rcairo.win32/vendor/local/lib/libpng16.la /home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib/libgio-2.0.la /home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib/libgmodule-2.0.la -ldnsapi -liphlpapi /home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib/libgobject-2.0.la /home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib/../lib/libffi.la /home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib/libglib-2.0.la -lole32 -lwinmm -lshlwapi /home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib/libpcre.la /home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib/libintl.la /home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib/libiconv.la /home/vagrant/rcairo.win32/vendor/local/lib/libxml2.la -lz -lws2_32'
21
21
 
22
22
  # Names of additional weak libraries provided by this library
23
23
  weak_library_names=''
24
24
 
25
25
  # Version information for libgtksourceview-3.0.
26
- current=7
27
- age=6
26
+ current=8
27
+ age=7
28
28
  revision=0
29
29
 
30
30
  # Is this an already installed library?
@@ -5,7 +5,7 @@ includedir=${prefix}/include
5
5
 
6
6
  Name: gtksourceview
7
7
  Description: Source code editing widget
8
- Version: 3.20.4
8
+ Version: 3.22.1
9
9
  Requires: glib-2.0 >= 2.48 gio-2.0 >= 2.48 gtk+-3.0 >= 3.20
10
10
  Requires.private: libxml-2.0 >= 2.6
11
11
  Libs: -L${libdir} -lgtksourceview-3.0