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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
@@ -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_GUTTER_RENDERER_TEXT_H__
23
- #define __GTK_SOURCE_GUTTER_RENDERER_TEXT_H__
22
+ #ifndef GTK_SOURCE_GUTTER_RENDERER_TEXT_H
23
+ #define GTK_SOURCE_GUTTER_RENDERER_TEXT_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 <gtksourceview/gtksourcetypes.h>
26
34
  #include <gtksourceview/gtksourcegutterrenderer.h>
@@ -86,4 +94,4 @@ void gtk_source_gutter_renderer_text_measure_markup (GtkSourceGutterRendererText
86
94
 
87
95
  G_END_DECLS
88
96
 
89
- #endif /* __GTK_SOURCE_GUTTER_RENDERER_TEXT_H__ */
97
+ #endif /* GTK_SOURCE_GUTTER_RENDERER_TEXT_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_LANGUAGE_H__
23
- #define __GTK_SOURCE_LANGUAGE_H__
22
+ #ifndef GTK_SOURCE_LANGUAGE_H
23
+ #define GTK_SOURCE_LANGUAGE_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 <gtk/gtk.h>
26
34
  #include <gtksourceview/gtksourcetypes.h>
@@ -92,5 +100,5 @@ const gchar *gtk_source_language_get_style_fallback (GtkSourceLanguage *language
92
100
 
93
101
  G_END_DECLS
94
102
 
95
- #endif /* __GTK_SOURCE_LANGUAGE_H__ */
103
+ #endif /* GTK_SOURCE_LANGUAGE_H */
96
104
 
@@ -19,9 +19,18 @@
19
19
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20
20
  */
21
21
 
22
- #ifndef __GTK_SOURCE_LANGUAGE_MANAGER_H__
23
- #define __GTK_SOURCE_LANGUAGE_MANAGER_H__
24
-
22
+ #ifndef GTK_SOURCE_LANGUAGE_MANAGER_H
23
+ #define GTK_SOURCE_LANGUAGE_MANAGER_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
32
+
33
+ #include <glib-object.h>
25
34
  #include <gtksourceview/gtksourcetypes.h>
26
35
 
27
36
  G_BEGIN_DECLS
@@ -83,6 +92,9 @@ GtkSourceLanguage *gtk_source_language_manager_guess_language (GtkSourceLangua
83
92
  const gchar *filename,
84
93
  const gchar *content_type);
85
94
 
95
+ G_GNUC_INTERNAL
96
+ GtkSourceLanguageManager *_gtk_source_language_manager_peek_default (void);
97
+
86
98
  G_END_DECLS
87
99
 
88
- #endif /* __GTK_SOURCE_LANGUAGE_MANAGER_H__ */
100
+ #endif /* GTK_SOURCE_LANGUAGE_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_MAP_H__
23
- #define __GTK_SOURCE_MAP_H__
22
+ #ifndef GTK_SOURCE_MAP_H
23
+ #define GTK_SOURCE_MAP_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 <gtk/gtk.h>
26
34
  #include <gtksourceview/gtksourceview.h>
@@ -65,4 +73,4 @@ GtkSourceView *gtk_source_map_get_view (GtkSourceMap *map);
65
73
 
66
74
  G_END_DECLS
67
75
 
68
- #endif /* __GTK_SOURCE_MAP_H__ */
76
+ #endif /* GTK_SOURCE_MAP_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 __GTKSOURCEMARK_H__
23
- #define __GTKSOURCEMARK_H__
22
+ #ifndef GTKSOURCEMARK_H
23
+ #define GTKSOURCEMARK_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 <gtk/gtk.h>
26
34
  #include <gtksourceview/gtksourcetypes.h>
@@ -74,4 +82,4 @@ GtkSourceMark *gtk_source_mark_prev (GtkSourceMark *mark,
74
82
 
75
83
  G_END_DECLS
76
84
 
77
- #endif /* __GTKSOURCEMARK_H__ */
85
+ #endif /* GTKSOURCEMARK_H */
@@ -20,8 +20,16 @@
20
20
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21
21
  */
22
22
 
23
- #ifndef __GTK_SOURCE_MARK_ATTRIBUTES_H__
24
- #define __GTK_SOURCE_MARK_ATTRIBUTES_H__
23
+ #ifndef GTK_SOURCE_MARK_ATTRIBUTES_H
24
+ #define GTK_SOURCE_MARK_ATTRIBUTES_H
25
+
26
+ #if !defined (GTK_SOURCE_H_INSIDE) && !defined (GTK_SOURCE_COMPILATION)
27
+ # if defined (__GNUC__)
28
+ # warning "Only <gtksourceview/gtksource.h> can be included directly."
29
+ # elif defined (G_OS_WIN32)
30
+ # pragma message("Only <gtksourceview/gtksource.h> can be included directly.")
31
+ # endif
32
+ #endif
25
33
 
26
34
  #include <gtk/gtk.h>
27
35
  #include <gtksourceview/gtksourcetypes.h>
@@ -113,4 +121,4 @@ gchar *gtk_source_mark_attributes_get_tooltip_markup (GtkSourceMarkAt
113
121
 
114
122
  G_END_DECLS
115
123
 
116
- #endif /* __GTK_SOURCE_MARK_ATTRIBUTES_H__ */
124
+ #endif /* GTK_SOURCE_MARK_ATTRIBUTES_H */
@@ -20,8 +20,16 @@
20
20
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21
21
  */
22
22
 
23
- #ifndef __GTK_SOURCE_PRINT_COMPOSITOR_H__
24
- #define __GTK_SOURCE_PRINT_COMPOSITOR_H__
23
+ #ifndef GTK_SOURCE_PRINT_COMPOSITOR_H
24
+ #define GTK_SOURCE_PRINT_COMPOSITOR_H
25
+
26
+ #if !defined (GTK_SOURCE_H_INSIDE) && !defined (GTK_SOURCE_COMPILATION)
27
+ # if defined (__GNUC__)
28
+ # warning "Only <gtksourceview/gtksource.h> can be included directly."
29
+ # elif defined (G_OS_WIN32)
30
+ # pragma message("Only <gtksourceview/gtksource.h> can be included directly.")
31
+ # endif
32
+ #endif
25
33
 
26
34
  #include <gtk/gtk.h>
27
35
  #include <gtksourceview/gtksourcetypes.h>
@@ -218,4 +226,4 @@ void gtk_source_print_compositor_draw_page (GtkSourcePrintCompositor *compo
218
226
 
219
227
  G_END_DECLS
220
228
 
221
- #endif /* __GTK_SOURCE_PRINT_COMPOSITOR_H__ */
229
+ #endif /* GTK_SOURCE_PRINT_COMPOSITOR_H */
@@ -0,0 +1,132 @@
1
+ /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
2
+ * gtksourceregion.h - GtkTextMark-based region utility
3
+ * This file is part of GtkSourceView
4
+ *
5
+ * Copyright (C) 2002 Gustavo Giráldez <gustavo.giraldez@gmx.net>
6
+ * Copyright (C) 2016 Sébastien Wilmet <swilmet@gnome.org>
7
+ *
8
+ * This library is free software; you can redistribute it and/or
9
+ * modify it under the terms of the GNU Lesser General Public
10
+ * License as published by the Free Software Foundation; either
11
+ * version 2.1 of the License, or (at your option) any later version.
12
+ *
13
+ * This library is distributed in the hope that it will be useful,
14
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
+ * Lesser General Public License for more details.
17
+ *
18
+ * You should have received a copy of the GNU Lesser General Public
19
+ * License along with this library; if not, write to the Free Software
20
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21
+ */
22
+
23
+ #ifndef GTK_SOURCE_REGION_H
24
+ #define GTK_SOURCE_REGION_H
25
+
26
+ #if !defined (GTK_SOURCE_H_INSIDE) && !defined (GTK_SOURCE_COMPILATION)
27
+ # if defined (__GNUC__)
28
+ # warning "Only <gtksourceview/gtksource.h> can be included directly."
29
+ # elif defined (G_OS_WIN32)
30
+ # pragma message("Only <gtksourceview/gtksource.h> can be included directly.")
31
+ # endif
32
+ #endif
33
+
34
+ #include <gtk/gtk.h>
35
+ #include <gtksourceview/gtksourceversion.h>
36
+
37
+ G_BEGIN_DECLS
38
+
39
+ #define GTK_SOURCE_TYPE_REGION (gtk_source_region_get_type ())
40
+
41
+ GTK_SOURCE_AVAILABLE_IN_3_22
42
+ G_DECLARE_DERIVABLE_TYPE (GtkSourceRegion, gtk_source_region,
43
+ GTK_SOURCE, REGION,
44
+ GObject)
45
+
46
+ struct _GtkSourceRegionClass
47
+ {
48
+ GObjectClass parent_class;
49
+
50
+ /* Padding for future expansion */
51
+ gpointer padding[8];
52
+ };
53
+
54
+ /**
55
+ * GtkSourceRegionIter:
56
+ *
57
+ * #GtkSourceRegionIter is an opaque datatype; ignore all its fields.
58
+ * Initialize the iter with gtk_source_region_get_start_region_iter().
59
+ *
60
+ * Since: 3.22
61
+ */
62
+ typedef struct _GtkSourceRegionIter GtkSourceRegionIter;
63
+ struct _GtkSourceRegionIter
64
+ {
65
+ /*< private >*/
66
+ gpointer dummy1;
67
+ guint32 dummy2;
68
+ gpointer dummy3;
69
+ };
70
+
71
+ GTK_SOURCE_AVAILABLE_IN_3_22
72
+ GtkSourceRegion * gtk_source_region_new (GtkTextBuffer *buffer);
73
+
74
+ GTK_SOURCE_AVAILABLE_IN_3_22
75
+ GtkTextBuffer * gtk_source_region_get_buffer (GtkSourceRegion *region);
76
+
77
+ GTK_SOURCE_AVAILABLE_IN_3_22
78
+ void gtk_source_region_add_subregion (GtkSourceRegion *region,
79
+ const GtkTextIter *_start,
80
+ const GtkTextIter *_end);
81
+
82
+ GTK_SOURCE_AVAILABLE_IN_3_22
83
+ void gtk_source_region_add_region (GtkSourceRegion *region,
84
+ GtkSourceRegion *region_to_add);
85
+
86
+ GTK_SOURCE_AVAILABLE_IN_3_22
87
+ void gtk_source_region_subtract_subregion (GtkSourceRegion *region,
88
+ const GtkTextIter *_start,
89
+ const GtkTextIter *_end);
90
+
91
+ GTK_SOURCE_AVAILABLE_IN_3_22
92
+ void gtk_source_region_subtract_region (GtkSourceRegion *region,
93
+ GtkSourceRegion *region_to_subtract);
94
+
95
+ GTK_SOURCE_AVAILABLE_IN_3_22
96
+ GtkSourceRegion * gtk_source_region_intersect_subregion (GtkSourceRegion *region,
97
+ const GtkTextIter *_start,
98
+ const GtkTextIter *_end);
99
+
100
+ GTK_SOURCE_AVAILABLE_IN_3_22
101
+ GtkSourceRegion * gtk_source_region_intersect_region (GtkSourceRegion *region1,
102
+ GtkSourceRegion *region2);
103
+
104
+ GTK_SOURCE_AVAILABLE_IN_3_22
105
+ gboolean gtk_source_region_is_empty (GtkSourceRegion *region);
106
+
107
+ GTK_SOURCE_AVAILABLE_IN_3_22
108
+ gboolean gtk_source_region_get_bounds (GtkSourceRegion *region,
109
+ GtkTextIter *start,
110
+ GtkTextIter *end);
111
+
112
+ GTK_SOURCE_AVAILABLE_IN_3_22
113
+ void gtk_source_region_get_start_region_iter (GtkSourceRegion *region,
114
+ GtkSourceRegionIter *iter);
115
+
116
+ GTK_SOURCE_AVAILABLE_IN_3_22
117
+ gboolean gtk_source_region_iter_is_end (GtkSourceRegionIter *iter);
118
+
119
+ GTK_SOURCE_AVAILABLE_IN_3_22
120
+ gboolean gtk_source_region_iter_next (GtkSourceRegionIter *iter);
121
+
122
+ GTK_SOURCE_AVAILABLE_IN_3_22
123
+ gboolean gtk_source_region_iter_get_subregion (GtkSourceRegionIter *iter,
124
+ GtkTextIter *start,
125
+ GtkTextIter *end);
126
+
127
+ GTK_SOURCE_AVAILABLE_IN_3_22
128
+ gchar * gtk_source_region_to_string (GtkSourceRegion *region);
129
+
130
+ G_END_DECLS
131
+
132
+ #endif /* GTK_SOURCE_REGION_H */
@@ -2,7 +2,7 @@
2
2
  * gtksourcesearchcontext.h
3
3
  * This file is part of GtkSourceView
4
4
  *
5
- * Copyright (C) 2013 - Sébastien Wilmet <swilmet@gnome.org>
5
+ * Copyright (C) 2013, 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,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_SEARCH_CONTEXT_H__
23
- #define __GTK_SOURCE_SEARCH_CONTEXT_H__
22
+ #ifndef GTK_SOURCE_SEARCH_CONTEXT_H
23
+ #define GTK_SOURCE_SEARCH_CONTEXT_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 <gtk/gtk.h>
26
34
  #include <gtksourceview/gtksourcetypes.h>
@@ -93,12 +101,19 @@ gint gtk_source_search_context_get_occurrence_position (GtkSourceSearchContex
93
101
  const GtkTextIter *match_start,
94
102
  const GtkTextIter *match_end);
95
103
 
96
- GTK_SOURCE_AVAILABLE_IN_3_10
104
+ GTK_SOURCE_DEPRECATED_IN_3_22_FOR (gtk_source_search_context_forward2)
97
105
  gboolean gtk_source_search_context_forward (GtkSourceSearchContext *search,
98
106
  const GtkTextIter *iter,
99
107
  GtkTextIter *match_start,
100
108
  GtkTextIter *match_end);
101
109
 
110
+ GTK_SOURCE_AVAILABLE_IN_3_22
111
+ gboolean gtk_source_search_context_forward2 (GtkSourceSearchContext *search,
112
+ const GtkTextIter *iter,
113
+ GtkTextIter *match_start,
114
+ GtkTextIter *match_end,
115
+ gboolean *has_wrapped_around);
116
+
102
117
  GTK_SOURCE_AVAILABLE_IN_3_10
103
118
  void gtk_source_search_context_forward_async (GtkSourceSearchContext *search,
104
119
  const GtkTextIter *iter,
@@ -106,19 +121,34 @@ void gtk_source_search_context_forward_async (GtkSourceSearchContext *searc
106
121
  GAsyncReadyCallback callback,
107
122
  gpointer user_data);
108
123
 
109
- GTK_SOURCE_AVAILABLE_IN_3_10
124
+ GTK_SOURCE_DEPRECATED_IN_3_22_FOR (gtk_source_search_context_forward_finish2)
110
125
  gboolean gtk_source_search_context_forward_finish (GtkSourceSearchContext *search,
111
126
  GAsyncResult *result,
112
127
  GtkTextIter *match_start,
113
128
  GtkTextIter *match_end,
114
129
  GError **error);
115
130
 
116
- GTK_SOURCE_AVAILABLE_IN_3_10
131
+ GTK_SOURCE_AVAILABLE_IN_3_22
132
+ gboolean gtk_source_search_context_forward_finish2 (GtkSourceSearchContext *search,
133
+ GAsyncResult *result,
134
+ GtkTextIter *match_start,
135
+ GtkTextIter *match_end,
136
+ gboolean *has_wrapped_around,
137
+ GError **error);
138
+
139
+ GTK_SOURCE_DEPRECATED_IN_3_22_FOR (gtk_source_search_context_backward2)
117
140
  gboolean gtk_source_search_context_backward (GtkSourceSearchContext *search,
118
141
  const GtkTextIter *iter,
119
142
  GtkTextIter *match_start,
120
143
  GtkTextIter *match_end);
121
144
 
145
+ GTK_SOURCE_AVAILABLE_IN_3_22
146
+ gboolean gtk_source_search_context_backward2 (GtkSourceSearchContext *search,
147
+ const GtkTextIter *iter,
148
+ GtkTextIter *match_start,
149
+ GtkTextIter *match_end,
150
+ gboolean *has_wrapped_around);
151
+
122
152
  GTK_SOURCE_AVAILABLE_IN_3_10
123
153
  void gtk_source_search_context_backward_async (GtkSourceSearchContext *search,
124
154
  const GtkTextIter *iter,
@@ -126,14 +156,22 @@ void gtk_source_search_context_backward_async (GtkSourceSearchContext *sear
126
156
  GAsyncReadyCallback callback,
127
157
  gpointer user_data);
128
158
 
129
- GTK_SOURCE_AVAILABLE_IN_3_10
159
+ GTK_SOURCE_DEPRECATED_IN_3_22_FOR (gtk_source_search_context_backward_finish2)
130
160
  gboolean gtk_source_search_context_backward_finish (GtkSourceSearchContext *search,
131
161
  GAsyncResult *result,
132
162
  GtkTextIter *match_start,
133
163
  GtkTextIter *match_end,
134
164
  GError **error);
135
165
 
136
- GTK_SOURCE_AVAILABLE_IN_3_10
166
+ GTK_SOURCE_AVAILABLE_IN_3_22
167
+ gboolean gtk_source_search_context_backward_finish2 (GtkSourceSearchContext *search,
168
+ GAsyncResult *result,
169
+ GtkTextIter *match_start,
170
+ GtkTextIter *match_end,
171
+ gboolean *has_wrapped_around,
172
+ GError **error);
173
+
174
+ GTK_SOURCE_DEPRECATED_IN_3_22_FOR (gtk_source_search_context_replace2)
137
175
  gboolean gtk_source_search_context_replace (GtkSourceSearchContext *search,
138
176
  const GtkTextIter *match_start,
139
177
  const GtkTextIter *match_end,
@@ -141,6 +179,14 @@ gboolean gtk_source_search_context_replace (GtkSourceSearchContext *search,
141
179
  gint replace_length,
142
180
  GError **error);
143
181
 
182
+ GTK_SOURCE_AVAILABLE_IN_3_22
183
+ gboolean gtk_source_search_context_replace2 (GtkSourceSearchContext *search,
184
+ GtkTextIter *match_start,
185
+ GtkTextIter *match_end,
186
+ const gchar *replace,
187
+ gint replace_length,
188
+ GError **error);
189
+
144
190
  GTK_SOURCE_AVAILABLE_IN_3_10
145
191
  guint gtk_source_search_context_replace_all (GtkSourceSearchContext *search,
146
192
  const gchar *replace,
@@ -155,4 +201,4 @@ void _gtk_source_search_context_update_highlight (GtkSourceSearchContext *s
155
201
 
156
202
  G_END_DECLS
157
203
 
158
- #endif /* __GTK_SOURCE_SEARCH_CONTEXT_H__ */
204
+ #endif /* GTK_SOURCE_SEARCH_CONTEXT_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_SEARCH_SETTINGS_H__
23
- #define __GTK_SOURCE_SEARCH_SETTINGS_H__
22
+ #ifndef GTK_SOURCE_SEARCH_SETTINGS_H
23
+ #define GTK_SOURCE_SEARCH_SETTINGS_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/gtksourcetypes.h>
@@ -94,4 +102,4 @@ gboolean gtk_source_search_settings_get_regex_enabled (GtkSourceSearchSetting
94
102
 
95
103
  G_END_DECLS
96
104
 
97
- #endif /* __GTK_SOURCE_SEARCH_SETTINGS_H__ */
105
+ #endif /* GTK_SOURCE_SEARCH_SETTINGS_H */
@@ -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_STYLE_H__
23
- #define __GTK_SOURCE_STYLE_H__
24
-
25
- #include <glib-object.h>
22
+ #ifndef GTK_SOURCE_STYLE_H
23
+ #define GTK_SOURCE_STYLE_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
32
+
33
+ #include <gtk/gtk.h>
26
34
  #include <gtksourceview/gtksourcetypes.h>
27
35
 
28
36
  G_BEGIN_DECLS
@@ -42,6 +50,10 @@ GType gtk_source_style_get_type (void) G_GNUC_CONST;
42
50
  GTK_SOURCE_AVAILABLE_IN_ALL
43
51
  GtkSourceStyle *gtk_source_style_copy (const GtkSourceStyle *style);
44
52
 
53
+ GTK_SOURCE_AVAILABLE_IN_3_22
54
+ void gtk_source_style_apply (const GtkSourceStyle *style,
55
+ GtkTextTag *tag);
56
+
45
57
  G_END_DECLS
46
58
 
47
- #endif /* __GTK_SOURCE_STYLE_H__ */
59
+ #endif /* GTK_SOURCE_STYLE_H */
@@ -19,8 +19,16 @@
19
19
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20
20
  */
21
21
 
22
- #ifndef __GTK_SOURCE_STYLE_SCHEME_H__
23
- #define __GTK_SOURCE_STYLE_SCHEME_H__
22
+ #ifndef GTK_SOURCE_STYLE_SCHEME_H
23
+ #define GTK_SOURCE_STYLE_SCHEME_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 <gtk/gtk.h>
26
34
  #include <gtksourceview/gtksourcetypes.h>
@@ -114,4 +122,4 @@ gboolean _gtk_source_style_scheme_get_background_pattern_color (GtkSourceStyle
114
122
 
115
123
  G_END_DECLS
116
124
 
117
- #endif /* __GTK_SOURCE_STYLE_SCHEME_H__ */
125
+ #endif /* GTK_SOURCE_STYLE_SCHEME_H */
@@ -18,9 +18,18 @@
18
18
  * along with GtkSourceView. If not, see <http://www.gnu.org/licenses/>.
19
19
  */
20
20
 
21
- #ifndef __GTK_SOURCE_STYLE_SCHEME_CHOOSER_H__
22
- #define __GTK_SOURCE_STYLE_SCHEME_CHOOSER_H__
21
+ #ifndef GTK_SOURCE_STYLE_SCHEME_CHOOSER_H
22
+ #define GTK_SOURCE_STYLE_SCHEME_CHOOSER_H
23
23
 
24
+ #if !defined (GTK_SOURCE_H_INSIDE) && !defined (GTK_SOURCE_COMPILATION)
25
+ # if defined (__GNUC__)
26
+ # warning "Only <gtksourceview/gtksource.h> can be included directly."
27
+ # elif defined (G_OS_WIN32)
28
+ # pragma message("Only <gtksourceview/gtksource.h> can be included directly.")
29
+ # endif
30
+ #endif
31
+
32
+ #include <glib-object.h>
24
33
  #include <gtksourceview/gtksourcetypes.h>
25
34
 
26
35
  G_BEGIN_DECLS
@@ -59,4 +68,4 @@ void gtk_source_style_scheme_chooser_set_style_scheme
59
68
 
60
69
  G_END_DECLS
61
70
 
62
- #endif /* __GTK_SOURCE_STYLE_SCHEME_CHOOSER_H__ */
71
+ #endif /* GTK_SOURCE_STYLE_SCHEME_CHOOSER_H */
@@ -19,8 +19,16 @@
19
19
  * along with GtkSourceView. If not, see <http://www.gnu.org/licenses/>.
20
20
  */
21
21
 
22
- #ifndef __GTK_SOURCE_STYLE_SCHEME_CHOOSER_BUTTON_H__
23
- #define __GTK_SOURCE_STYLE_SCHEME_CHOOSER_BUTTON_H__
22
+ #ifndef GTK_SOURCE_STYLE_SCHEME_CHOOSER_BUTTON_H
23
+ #define GTK_SOURCE_STYLE_SCHEME_CHOOSER_BUTTON_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 <gtk/gtk.h>
26
34
  #include <gtksourceview/gtksourcetypes.h>
@@ -56,4 +64,4 @@ GtkWidget *gtk_source_style_scheme_chooser_button_new
56
64
 
57
65
  G_END_DECLS
58
66
 
59
- #endif /* __GTK_SOURCE_STYLE_SCHEME_CHOOSER_BUTTON_H__ */
67
+ #endif /* GTK_SOURCE_STYLE_SCHEME_CHOOSER_BUTTON_H */
@@ -22,6 +22,14 @@
22
22
  #ifndef GTK_SOURCE_STYLE_SCHEME_CHOOSER_WIDGET_H
23
23
  #define GTK_SOURCE_STYLE_SCHEME_CHOOSER_WIDGET_H
24
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
32
+
25
33
  #include <gtk/gtk.h>
26
34
  #include <gtksourceview/gtksourcetypes.h>
27
35
 
@@ -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_STYLE_SCHEME_MANAGER_H__
23
- #define __GTK_SOURCE_STYLE_SCHEME_MANAGER_H__
22
+ #ifndef GTK_SOURCE_STYLE_SCHEME_MANAGER_H
23
+ #define GTK_SOURCE_STYLE_SCHEME_MANAGER_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/gtksourcetypes.h>
@@ -91,6 +99,10 @@ GTK_SOURCE_AVAILABLE_IN_ALL
91
99
  GtkSourceStyleScheme *gtk_source_style_scheme_manager_get_scheme (GtkSourceStyleSchemeManager *manager,
92
100
  const gchar *scheme_id);
93
101
 
102
+ G_GNUC_INTERNAL
103
+ GtkSourceStyleSchemeManager *
104
+ _gtk_source_style_scheme_manager_peek_default (void);
105
+
94
106
  G_END_DECLS
95
107
 
96
- #endif /* __GTK_SOURCE_STYLE_SCHEME_MANAGER_H__ */
108
+ #endif /* GTK_SOURCE_STYLE_SCHEME_MANAGER_H */
@@ -21,8 +21,16 @@
21
21
  * Author: Sébastien Wilmet
22
22
  */
23
23
 
24
- #ifndef __GTK_SOURCE_TAG_H__
25
- #define __GTK_SOURCE_TAG_H__
24
+ #ifndef GTK_SOURCE_TAG_H
25
+ #define GTK_SOURCE_TAG_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>
@@ -48,4 +56,4 @@ GtkTextTag * gtk_source_tag_new (const gchar *name);
48
56
 
49
57
  G_END_DECLS
50
58
 
51
- #endif /* __GTK_SOURCE_TAG_H__ */
59
+ #endif /* GTK_SOURCE_TAG_H */