gtksourceview3 3.0.7-x86-mingw32 → 3.0.8-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (318) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +1 -1
  3. data/vendor/local/bin/libgtksourceview-3.0-1.dll +0 -0
  4. data/vendor/local/include/gtksourceview-3.0/gtksourceview/completion-providers/words/gtksourcecompletionwords.h +4 -0
  5. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksource.h +4 -0
  6. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceautocleanups.h +52 -0
  7. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcebuffer.h +68 -1
  8. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletion.h +18 -5
  9. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletioncontext.h +8 -2
  10. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletioninfo.h +9 -6
  11. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionitem.h +4 -1
  12. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionproposal.h +36 -10
  13. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionprovider.h +27 -1
  14. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceencoding.h +28 -11
  15. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcefile.h +36 -1
  16. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcefileloader.h +15 -1
  17. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcefilesaver.h +18 -1
  18. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutter.h +9 -3
  19. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrenderer.h +39 -1
  20. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrendererpixbuf.h +10 -2
  21. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrenderertext.h +6 -0
  22. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcelanguage.h +11 -0
  23. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcelanguagemanager.h +8 -4
  24. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemap.h +67 -0
  25. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemark.h +6 -0
  26. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemarkattributes.h +18 -2
  27. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceprintcompositor.h +54 -8
  28. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcesearchcontext.h +20 -0
  29. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcesearchsettings.h +12 -0
  30. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyle.h +2 -0
  31. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestylescheme.h +9 -2
  32. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschemechooser.h +8 -6
  33. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschemechooserbutton.h +9 -6
  34. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschemechooserwidget.h +9 -6
  35. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschememanager.h +10 -0
  36. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcetag.h +51 -0
  37. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcetypes.h +2 -0
  38. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceundomanager.h +13 -0
  39. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceutils.h +4 -0
  40. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceversion.h +493 -0
  41. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview-typebuiltins.h +21 -0
  42. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview.h +47 -5
  43. data/vendor/local/lib/girepository-1.0/GtkSource-3.0.typelib +0 -0
  44. data/vendor/local/lib/libgtksourceview-3.0.dll.a +0 -0
  45. data/vendor/local/lib/libgtksourceview-3.0.la +5 -5
  46. data/vendor/local/lib/pkgconfig/gtksourceview-3.0.pc +4 -4
  47. data/vendor/local/share/gir-1.0/GtkSource-3.0.gir +880 -151
  48. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceBuffer.html +475 -261
  49. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletion.html +104 -108
  50. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionContext.html +31 -34
  51. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionInfo.html +42 -44
  52. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionItem.html +64 -39
  53. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProposal.html +171 -75
  54. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProvider.html +164 -77
  55. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionWords.html +29 -31
  56. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceEncoding.html +65 -45
  57. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFile.html +259 -61
  58. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileLoader.html +99 -96
  59. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileSaver.html +88 -94
  60. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutter.html +44 -46
  61. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRenderer.html +187 -195
  62. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererPixbuf.html +37 -39
  63. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererText.html +91 -20
  64. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguage.html +88 -93
  65. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguageManager.html +47 -50
  66. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMap.html +254 -0
  67. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMark.html +39 -42
  68. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMarkAttributes.html +89 -91
  69. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourcePrintCompositor.html +249 -277
  70. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchContext.html +158 -169
  71. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchSettings.html +69 -75
  72. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyle.html +83 -40
  73. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleScheme.html +46 -49
  74. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooser.html +9 -10
  75. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooserButton.html +13 -15
  76. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooserWidget.html +12 -14
  77. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeManager.html +33 -36
  78. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceTag.html +177 -0
  79. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceUndoManager.html +40 -43
  80. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceView.html +328 -252
  81. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/annotation-glossary.html +6 -10
  82. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-0.html +62 -0
  83. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-10.html +90 -0
  84. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-12.html +34 -0
  85. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-2.html +270 -0
  86. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-4.html +38 -0
  87. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-8.html +50 -0
  88. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-0.html +4 -5
  89. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-10.html +2 -3
  90. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-12.html +2 -3
  91. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-14.html +2 -3
  92. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-16.html +4 -5
  93. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-18.html +114 -0
  94. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-20.html +130 -0
  95. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-4.html +2 -3
  96. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-deprecated.html +8 -5
  97. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-full.html +214 -3
  98. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch01.html +2 -3
  99. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch02.html +2 -3
  100. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch03.html +2 -3
  101. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch04.html +2 -3
  102. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch05.html +2 -3
  103. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch06.html +2 -3
  104. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch07.html +2 -3
  105. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch08.html +13 -5
  106. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/{pt02.html → ch09.html} +9 -13
  107. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceUtils.html +19 -22
  108. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-Version-Information.html +472 -0
  109. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0.devhelp2 +95 -13
  110. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.html +21 -6
  111. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-reference.html +10 -8
  112. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-tutorial.html +6 -7
  113. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/object-tree.html +16 -14
  114. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/pt01.html +11 -3
  115. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style-reference.html +37 -15
  116. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style.css +9 -6
  117. data/vendor/local/share/gtksourceview-3.0/language-specs/bibtex.lang +9 -0
  118. data/vendor/local/share/gtksourceview-3.0/language-specs/c.lang +14 -2
  119. data/vendor/local/share/gtksourceview-3.0/language-specs/chdr.lang +11 -3
  120. data/vendor/local/share/gtksourceview-3.0/language-specs/cmake.lang +18 -12
  121. data/vendor/local/share/gtksourceview-3.0/language-specs/cpphdr.lang +42 -0
  122. data/vendor/local/share/gtksourceview-3.0/language-specs/csharp.lang +5 -0
  123. data/vendor/local/share/gtksourceview-3.0/language-specs/css.lang +418 -14
  124. data/vendor/local/share/gtksourceview-3.0/language-specs/csv.lang +74 -0
  125. data/vendor/local/share/gtksourceview-3.0/language-specs/desktop.lang +6 -6
  126. data/vendor/local/share/gtksourceview-3.0/language-specs/diff.lang +2 -2
  127. data/vendor/local/share/gtksourceview-3.0/language-specs/fsharp.lang +1 -0
  128. data/vendor/local/share/gtksourceview-3.0/language-specs/gdb-log.lang +1 -1
  129. data/vendor/local/share/gtksourceview-3.0/language-specs/html.lang +6 -0
  130. data/vendor/local/share/gtksourceview-3.0/language-specs/imagej.lang +1 -1
  131. data/vendor/local/share/gtksourceview-3.0/language-specs/jade.lang +250 -0
  132. data/vendor/local/share/gtksourceview-3.0/language-specs/javascript.lang +14 -1
  133. data/vendor/local/share/gtksourceview-3.0/language-specs/json.lang +1 -1
  134. data/vendor/local/share/gtksourceview-3.0/language-specs/latex.lang +15 -15
  135. data/vendor/local/share/gtksourceview-3.0/language-specs/matlab.lang +8 -30
  136. data/vendor/local/share/gtksourceview-3.0/language-specs/meson.lang +103 -0
  137. data/vendor/local/share/gtksourceview-3.0/language-specs/ocaml.lang +1 -1
  138. data/vendor/local/share/gtksourceview-3.0/language-specs/octave.lang +208 -145
  139. data/vendor/local/share/gtksourceview-3.0/language-specs/pig.lang +12 -2
  140. data/vendor/local/share/gtksourceview-3.0/language-specs/protobuf.lang +52 -20
  141. data/vendor/local/share/gtksourceview-3.0/language-specs/python3.lang +2 -0
  142. data/vendor/local/share/gtksourceview-3.0/language-specs/rpmspec.lang +2 -0
  143. data/vendor/local/share/gtksourceview-3.0/language-specs/rust.lang +292 -0
  144. data/vendor/local/share/gtksourceview-3.0/language-specs/sh.lang +20 -2
  145. data/vendor/local/share/gtksourceview-3.0/language-specs/vala.lang +37 -0
  146. data/vendor/local/share/gtksourceview-3.0/language-specs/vbnet.lang +3 -0
  147. data/vendor/local/share/gtksourceview-3.0/styles/classic.xml +3 -3
  148. data/vendor/local/share/gtksourceview-3.0/styles/cobalt.xml +2 -2
  149. data/vendor/local/share/gtksourceview-3.0/styles/kate.xml +3 -3
  150. data/vendor/local/share/gtksourceview-3.0/styles/oblivion.xml +5 -3
  151. data/vendor/local/share/gtksourceview-3.0/styles/solarized-dark.xml +2 -1
  152. data/vendor/local/share/gtksourceview-3.0/styles/solarized-light.xml +1 -1
  153. data/vendor/local/share/gtksourceview-3.0/styles/styles.rng +1 -3
  154. data/vendor/local/share/gtksourceview-3.0/styles/tango.xml +3 -4
  155. data/vendor/local/share/locale/ar/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  156. data/vendor/local/share/locale/as/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  157. data/vendor/local/share/locale/ast/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  158. data/vendor/local/share/locale/az/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  159. data/vendor/local/share/locale/be/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  160. data/vendor/local/share/locale/bg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  161. data/vendor/local/share/locale/bn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  162. data/vendor/local/share/locale/bn_IN/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  163. data/vendor/local/share/locale/bs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  164. data/vendor/local/share/locale/ca/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  165. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  166. data/vendor/local/share/locale/cs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  167. data/vendor/local/share/locale/cy/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  168. data/vendor/local/share/locale/da/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  169. data/vendor/local/share/locale/de/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  170. data/vendor/local/share/locale/dz/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  171. data/vendor/local/share/locale/el/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  172. data/vendor/local/share/locale/en@shaw/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  173. data/vendor/local/share/locale/en_CA/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  174. data/vendor/local/share/locale/en_GB/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  175. data/vendor/local/share/locale/eo/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  176. data/vendor/local/share/locale/es/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  177. data/vendor/local/share/locale/et/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  178. data/vendor/local/share/locale/eu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  179. data/vendor/local/share/locale/fa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  180. data/vendor/local/share/locale/fi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  181. data/vendor/local/share/locale/fr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  182. data/vendor/local/share/locale/ga/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  183. data/vendor/local/share/locale/gl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  184. data/vendor/local/share/locale/gu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  185. data/vendor/local/share/locale/he/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  186. data/vendor/local/share/locale/hi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  187. data/vendor/local/share/locale/hr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  188. data/vendor/local/share/locale/hu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  189. data/vendor/local/share/locale/id/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  190. data/vendor/local/share/locale/it/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  191. data/vendor/local/share/locale/ja/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  192. data/vendor/local/share/locale/kk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  193. data/vendor/local/share/locale/kn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  194. data/vendor/local/share/locale/ko/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  195. data/vendor/local/share/locale/lt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  196. data/vendor/local/share/locale/lv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  197. data/vendor/local/share/locale/mai/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  198. data/vendor/local/share/locale/mg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  199. data/vendor/local/share/locale/mk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  200. data/vendor/local/share/locale/ml/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  201. data/vendor/local/share/locale/mn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  202. data/vendor/local/share/locale/mr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  203. data/vendor/local/share/locale/ms/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  204. data/vendor/local/share/locale/nb/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  205. data/vendor/local/share/locale/ne/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  206. data/vendor/local/share/locale/nl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  207. data/vendor/local/share/locale/nn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  208. data/vendor/local/share/locale/oc/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  209. data/vendor/local/share/locale/or/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  210. data/vendor/local/share/locale/pa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  211. data/vendor/local/share/locale/pl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  212. data/vendor/local/share/locale/pt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  213. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  214. data/vendor/local/share/locale/ro/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  215. data/vendor/local/share/locale/ru/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  216. data/vendor/local/share/locale/rw/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  217. data/vendor/local/share/locale/si/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  218. data/vendor/local/share/locale/sk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  219. data/vendor/local/share/locale/sl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  220. data/vendor/local/share/locale/sq/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  221. data/vendor/local/share/locale/sr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  222. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  223. data/vendor/local/share/locale/sv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  224. data/vendor/local/share/locale/ta/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  225. data/vendor/local/share/locale/te/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  226. data/vendor/local/share/locale/tg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  227. data/vendor/local/share/locale/th/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  228. data/vendor/local/share/locale/tr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  229. data/vendor/local/share/locale/ug/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  230. data/vendor/local/share/locale/uk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  231. data/vendor/local/share/locale/vi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  232. data/vendor/local/share/locale/xh/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  233. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  234. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  235. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  236. metadata +109 -90
  237. data/vendor/local/lib/locale/ar/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  238. data/vendor/local/lib/locale/as/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  239. data/vendor/local/lib/locale/ast/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  240. data/vendor/local/lib/locale/az/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  241. data/vendor/local/lib/locale/be/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  242. data/vendor/local/lib/locale/bg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  243. data/vendor/local/lib/locale/bn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  244. data/vendor/local/lib/locale/bn_IN/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  245. data/vendor/local/lib/locale/bs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  246. data/vendor/local/lib/locale/ca/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  247. data/vendor/local/lib/locale/ca@valencia/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  248. data/vendor/local/lib/locale/cs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  249. data/vendor/local/lib/locale/cy/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  250. data/vendor/local/lib/locale/da/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  251. data/vendor/local/lib/locale/de/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  252. data/vendor/local/lib/locale/dz/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  253. data/vendor/local/lib/locale/el/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  254. data/vendor/local/lib/locale/en@shaw/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  255. data/vendor/local/lib/locale/en_CA/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  256. data/vendor/local/lib/locale/en_GB/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  257. data/vendor/local/lib/locale/eo/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  258. data/vendor/local/lib/locale/es/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  259. data/vendor/local/lib/locale/et/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  260. data/vendor/local/lib/locale/eu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  261. data/vendor/local/lib/locale/fa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  262. data/vendor/local/lib/locale/fi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  263. data/vendor/local/lib/locale/fr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  264. data/vendor/local/lib/locale/ga/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  265. data/vendor/local/lib/locale/gl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  266. data/vendor/local/lib/locale/gu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  267. data/vendor/local/lib/locale/he/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  268. data/vendor/local/lib/locale/hi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  269. data/vendor/local/lib/locale/hr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  270. data/vendor/local/lib/locale/hu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  271. data/vendor/local/lib/locale/id/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  272. data/vendor/local/lib/locale/it/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  273. data/vendor/local/lib/locale/ja/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  274. data/vendor/local/lib/locale/kk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  275. data/vendor/local/lib/locale/kn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  276. data/vendor/local/lib/locale/ko/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  277. data/vendor/local/lib/locale/lt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  278. data/vendor/local/lib/locale/lv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  279. data/vendor/local/lib/locale/mai/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  280. data/vendor/local/lib/locale/mg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  281. data/vendor/local/lib/locale/mk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  282. data/vendor/local/lib/locale/ml/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  283. data/vendor/local/lib/locale/mn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  284. data/vendor/local/lib/locale/mr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  285. data/vendor/local/lib/locale/ms/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  286. data/vendor/local/lib/locale/nb/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  287. data/vendor/local/lib/locale/ne/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  288. data/vendor/local/lib/locale/nl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  289. data/vendor/local/lib/locale/nn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  290. data/vendor/local/lib/locale/oc/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  291. data/vendor/local/lib/locale/or/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  292. data/vendor/local/lib/locale/pa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  293. data/vendor/local/lib/locale/pl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  294. data/vendor/local/lib/locale/pt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  295. data/vendor/local/lib/locale/pt_BR/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  296. data/vendor/local/lib/locale/ro/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  297. data/vendor/local/lib/locale/ru/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  298. data/vendor/local/lib/locale/rw/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  299. data/vendor/local/lib/locale/si/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  300. data/vendor/local/lib/locale/sk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  301. data/vendor/local/lib/locale/sl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  302. data/vendor/local/lib/locale/sq/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  303. data/vendor/local/lib/locale/sr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  304. data/vendor/local/lib/locale/sr@latin/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  305. data/vendor/local/lib/locale/sv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  306. data/vendor/local/lib/locale/ta/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  307. data/vendor/local/lib/locale/te/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  308. data/vendor/local/lib/locale/tg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  309. data/vendor/local/lib/locale/th/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  310. data/vendor/local/lib/locale/tr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  311. data/vendor/local/lib/locale/ug/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  312. data/vendor/local/lib/locale/uk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  313. data/vendor/local/lib/locale/vi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  314. data/vendor/local/lib/locale/xh/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  315. data/vendor/local/lib/locale/zh_CN/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  316. data/vendor/local/lib/locale/zh_HK/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  317. data/vendor/local/lib/locale/zh_TW/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  318. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.sgml +0 -987
@@ -292,6 +292,54 @@ executing instruction indication in a source file, etc..</doc>
292
292
  </parameter>
293
293
  </parameters>
294
294
  </method>
295
+ <method name="create_source_tag"
296
+ c:identifier="gtk_source_buffer_create_source_tag"
297
+ version="3.20"
298
+ introspectable="0">
299
+ <doc xml:space="preserve">In short, this is the same function as gtk_text_buffer_create_tag(), but
300
+ instead of creating a #GtkTextTag, this function creates a #GtkSourceTag.
301
+
302
+ This function creates a #GtkSourceTag and adds it to the tag table for
303
+ @buffer. Equivalent to calling gtk_text_tag_new() and then adding the tag to
304
+ the buffer’s tag table. The returned tag is owned by the buffer’s tag table,
305
+ so the ref count will be equal to one.
306
+
307
+ If @tag_name is %NULL, the tag is anonymous.
308
+
309
+ If @tag_name is non-%NULL, a tag called @tag_name must not already
310
+ exist in the tag table for this buffer.
311
+
312
+ The @first_property_name argument and subsequent arguments are a list
313
+ of properties to set on the tag, as with g_object_set().</doc>
314
+ <return-value transfer-ownership="none">
315
+ <doc xml:space="preserve">a new #GtkSourceTag.</doc>
316
+ <type name="Gtk.TextTag" c:type="GtkTextTag*"/>
317
+ </return-value>
318
+ <parameters>
319
+ <instance-parameter name="buffer" transfer-ownership="none">
320
+ <doc xml:space="preserve">a #GtkSourceBuffer</doc>
321
+ <type name="Buffer" c:type="GtkSourceBuffer*"/>
322
+ </instance-parameter>
323
+ <parameter name="tag_name"
324
+ transfer-ownership="none"
325
+ nullable="1"
326
+ allow-none="1">
327
+ <doc xml:space="preserve">name of the new tag, or %NULL</doc>
328
+ <type name="utf8" c:type="const gchar*"/>
329
+ </parameter>
330
+ <parameter name="first_property_name"
331
+ transfer-ownership="none"
332
+ nullable="1"
333
+ allow-none="1">
334
+ <doc xml:space="preserve">name of first property to set, or %NULL</doc>
335
+ <type name="utf8" c:type="const gchar*"/>
336
+ </parameter>
337
+ <parameter name="..." transfer-ownership="none">
338
+ <doc xml:space="preserve">%NULL-terminated list of property names and values</doc>
339
+ <varargs/>
340
+ </parameter>
341
+ </parameters>
342
+ </method>
295
343
  <method name="end_not_undoable_action"
296
344
  c:identifier="gtk_source_buffer_end_not_undoable_action">
297
345
  <doc xml:space="preserve">Marks the end of a not undoable action on the buffer. When the
@@ -440,8 +488,9 @@ buffer.</doc>
440
488
  <doc xml:space="preserve">Returns the #GtkSourceLanguage associated with the buffer,
441
489
  see gtk_source_buffer_set_language(). The returned object should not be
442
490
  unreferenced by the user.</doc>
443
- <return-value transfer-ownership="none">
444
- <doc xml:space="preserve">the #GtkSourceLanguage associated with the buffer, or %NULL.</doc>
491
+ <return-value transfer-ownership="none" nullable="1">
492
+ <doc xml:space="preserve">the #GtkSourceLanguage associated
493
+ with the buffer, or %NULL.</doc>
445
494
  <type name="Language" c:type="GtkSourceLanguage*"/>
446
495
  </return-value>
447
496
  <parameters>
@@ -530,9 +579,9 @@ a newly allocated #GSList.</doc>
530
579
  <doc xml:space="preserve">Returns the #GtkSourceStyleScheme associated with the buffer,
531
580
  see gtk_source_buffer_set_style_scheme().
532
581
  The returned object should not be unreferenced by the user.</doc>
533
- <return-value transfer-ownership="none">
534
- <doc xml:space="preserve">the #GtkSourceStyleScheme associated
535
- with the buffer, or %NULL.</doc>
582
+ <return-value transfer-ownership="none" nullable="1">
583
+ <doc xml:space="preserve">the #GtkSourceStyleScheme
584
+ associated with the buffer, or %NULL.</doc>
536
585
  <type name="StyleScheme" c:type="GtkSourceStyleScheme*"/>
537
586
  </return-value>
538
587
  <parameters>
@@ -578,10 +627,7 @@ See the #GtkSourceBuffer description for the list of default context classes.</d
578
627
  <doc xml:space="preserve">a #GtkSourceBuffer.</doc>
579
628
  <type name="Buffer" c:type="GtkSourceBuffer*"/>
580
629
  </instance-parameter>
581
- <parameter name="iter"
582
- direction="inout"
583
- caller-allocates="0"
584
- transfer-ownership="full">
630
+ <parameter name="iter" transfer-ownership="none">
585
631
  <doc xml:space="preserve">a #GtkTextIter.</doc>
586
632
  <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
587
633
  </parameter>
@@ -610,10 +656,7 @@ See the #GtkSourceBuffer description for the list of default context classes.</d
610
656
  <doc xml:space="preserve">a #GtkSourceBuffer.</doc>
611
657
  <type name="Buffer" c:type="GtkSourceBuffer*"/>
612
658
  </instance-parameter>
613
- <parameter name="iter"
614
- direction="inout"
615
- caller-allocates="0"
616
- transfer-ownership="full">
659
+ <parameter name="iter" transfer-ownership="none">
617
660
  <doc xml:space="preserve">a #GtkTextIter.</doc>
618
661
  <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
619
662
  </parameter>
@@ -822,7 +865,9 @@ The buffer holds a reference to @language.</doc>
822
865
  track. If the number of user actions exceeds the limit set by this
823
866
  function, older actions will be discarded.
824
867
 
825
- If @max_undo_levels is -1, no limit is set.</doc>
868
+ If @max_undo_levels is -1, the undo/redo is unlimited.
869
+
870
+ If @max_undo_levels is 0, the undo/redo is disabled.</doc>
826
871
  <return-value transfer-ownership="none">
827
872
  <type name="none" c:type="void"/>
828
873
  </return-value>
@@ -879,6 +924,36 @@ will be set.</doc>
879
924
  </parameter>
880
925
  </parameters>
881
926
  </method>
927
+ <method name="sort_lines"
928
+ c:identifier="gtk_source_buffer_sort_lines"
929
+ version="3.18">
930
+ <doc xml:space="preserve">Sort the lines of text between the specified iterators.</doc>
931
+ <return-value transfer-ownership="none">
932
+ <type name="none" c:type="void"/>
933
+ </return-value>
934
+ <parameters>
935
+ <instance-parameter name="buffer" transfer-ownership="none">
936
+ <doc xml:space="preserve">a #GtkSourceBuffer.</doc>
937
+ <type name="Buffer" c:type="GtkSourceBuffer*"/>
938
+ </instance-parameter>
939
+ <parameter name="start" transfer-ownership="none">
940
+ <doc xml:space="preserve">a #GtkTextIter.</doc>
941
+ <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
942
+ </parameter>
943
+ <parameter name="end" transfer-ownership="none">
944
+ <doc xml:space="preserve">a #GtkTextIter.</doc>
945
+ <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
946
+ </parameter>
947
+ <parameter name="flags" transfer-ownership="none">
948
+ <doc xml:space="preserve">#GtkSourceSortFlags specifying how the sort should behave</doc>
949
+ <type name="SortFlags" c:type="GtkSourceSortFlags"/>
950
+ </parameter>
951
+ <parameter name="column" transfer-ownership="none">
952
+ <doc xml:space="preserve">sort considering the text starting at the given column</doc>
953
+ <type name="gint" c:type="gint"/>
954
+ </parameter>
955
+ </parameters>
956
+ </method>
882
957
  <method name="undo" c:identifier="gtk_source_buffer_undo">
883
958
  <doc xml:space="preserve">Undoes the last user action which modified the buffer. Use
884
959
  gtk_source_buffer_can_undo() to check whether a call to this
@@ -947,19 +1022,24 @@ brackets style.</doc>
947
1022
  <type name="BufferPrivate" c:type="GtkSourceBufferPrivate*"/>
948
1023
  </field>
949
1024
  <glib:signal name="bracket-matched" when="last" version="2.12">
950
- <doc xml:space="preserve">Sets @iter to a valid iterator pointing to the matching bracket
951
- if @state is #GTK_SOURCE_BRACKET_MATCH_FOUND. Otherwise @iter is
952
- meaningless.</doc>
1025
+ <doc xml:space="preserve">@iter is set to a valid iterator pointing to the matching bracket
1026
+ if @state is %GTK_SOURCE_BRACKET_MATCH_FOUND. Otherwise @iter is
1027
+ meaningless.
1028
+
1029
+ The signal is emitted only when the @state changes, typically when
1030
+ the cursor moves.
1031
+
1032
+ A use-case for this signal is to show messages in a #GtkStatusbar.</doc>
953
1033
  <return-value transfer-ownership="none">
954
1034
  <type name="none" c:type="void"/>
955
1035
  </return-value>
956
1036
  <parameters>
957
1037
  <parameter name="iter" transfer-ownership="none">
958
- <doc xml:space="preserve">iterator to initialize.</doc>
1038
+ <doc xml:space="preserve">if found, the location of the matching bracket.</doc>
959
1039
  <type name="Gtk.TextIter"/>
960
1040
  </parameter>
961
1041
  <parameter name="state" transfer-ownership="none">
962
- <doc xml:space="preserve">state of bracket matching</doc>
1042
+ <doc xml:space="preserve">state of bracket matching.</doc>
963
1043
  <type name="BracketMatchType"/>
964
1044
  </parameter>
965
1045
  </parameters>
@@ -1325,7 +1405,7 @@ list of #GtkSourceCompletionProvider.</doc>
1325
1405
  <method name="get_view" c:identifier="gtk_source_completion_get_view">
1326
1406
  <doc xml:space="preserve">The #GtkSourceView associated with @completion, or %NULL if the view has been
1327
1407
  destroyed.</doc>
1328
- <return-value transfer-ownership="none">
1408
+ <return-value transfer-ownership="none" nullable="1">
1329
1409
  <doc xml:space="preserve">
1330
1410
  The #GtkSourceView associated with @completion, or %NULL.</doc>
1331
1411
  <type name="View" c:type="GtkSourceView*"/>
@@ -2226,10 +2306,24 @@ which case there will be no icon shown and no extra information available.</doc>
2226
2306
  </parameter>
2227
2307
  </parameters>
2228
2308
  </constructor>
2309
+ <property name="gicon"
2310
+ version="3.18"
2311
+ writable="1"
2312
+ transfer-ownership="none">
2313
+ <doc xml:space="preserve">The #GIcon for the icon to be shown for this proposal.</doc>
2314
+ <type name="Gio.Icon"/>
2315
+ </property>
2229
2316
  <property name="icon" writable="1" transfer-ownership="none">
2230
- <doc xml:space="preserve">Icon to be shown for this proposal.</doc>
2317
+ <doc xml:space="preserve">The #GdkPixbuf for the icon to be shown for this proposal.</doc>
2231
2318
  <type name="GdkPixbuf.Pixbuf"/>
2232
2319
  </property>
2320
+ <property name="icon-name"
2321
+ version="3.18"
2322
+ writable="1"
2323
+ transfer-ownership="none">
2324
+ <doc xml:space="preserve">The icon name for the icon to be shown for this proposal.</doc>
2325
+ <type name="utf8" c:type="gchar*"/>
2326
+ </property>
2233
2327
  <property name="info" writable="1" transfer-ownership="none">
2234
2328
  <doc xml:space="preserve">Optional extra information to be shown for this proposal.</doc>
2235
2329
  <type name="utf8" c:type="gchar*"/>
@@ -2311,10 +2405,24 @@ completion model. By default, it uses direct equality (g_direct_equal()).</doc>
2311
2405
  </parameter>
2312
2406
  </parameters>
2313
2407
  </virtual-method>
2408
+ <virtual-method name="get_gicon" invoker="get_gicon" version="3.18">
2409
+ <doc xml:space="preserve">Gets the #GIcon for the icon of @proposal.</doc>
2410
+ <return-value transfer-ownership="none" nullable="1">
2411
+ <doc xml:space="preserve">A #GIcon with the icon of @proposal.</doc>
2412
+ <type name="Gio.Icon" c:type="GIcon*"/>
2413
+ </return-value>
2414
+ <parameters>
2415
+ <instance-parameter name="proposal" transfer-ownership="none">
2416
+ <doc xml:space="preserve">a #GtkSourceCompletionProposal.</doc>
2417
+ <type name="CompletionProposal"
2418
+ c:type="GtkSourceCompletionProposal*"/>
2419
+ </instance-parameter>
2420
+ </parameters>
2421
+ </virtual-method>
2314
2422
  <virtual-method name="get_icon" invoker="get_icon">
2315
- <doc xml:space="preserve">Gets the icon of @proposal.</doc>
2316
- <return-value transfer-ownership="none">
2317
- <doc xml:space="preserve">The icon of @proposal.</doc>
2423
+ <doc xml:space="preserve">Gets the #GdkPixbuf for the icon of @proposal.</doc>
2424
+ <return-value transfer-ownership="none" nullable="1">
2425
+ <doc xml:space="preserve">A #GdkPixbuf with the icon of @proposal.</doc>
2318
2426
  <type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
2319
2427
  </return-value>
2320
2428
  <parameters>
@@ -2325,13 +2433,30 @@ completion model. By default, it uses direct equality (g_direct_equal()).</doc>
2325
2433
  </instance-parameter>
2326
2434
  </parameters>
2327
2435
  </virtual-method>
2436
+ <virtual-method name="get_icon_name"
2437
+ invoker="get_icon_name"
2438
+ version="3.18">
2439
+ <doc xml:space="preserve">Gets the icon name of @proposal.</doc>
2440
+ <return-value transfer-ownership="none" nullable="1">
2441
+ <doc xml:space="preserve">The icon name of @proposal.</doc>
2442
+ <type name="utf8" c:type="const gchar*"/>
2443
+ </return-value>
2444
+ <parameters>
2445
+ <instance-parameter name="proposal" transfer-ownership="none">
2446
+ <doc xml:space="preserve">a #GtkSourceCompletionProposal.</doc>
2447
+ <type name="CompletionProposal"
2448
+ c:type="GtkSourceCompletionProposal*"/>
2449
+ </instance-parameter>
2450
+ </parameters>
2451
+ </virtual-method>
2328
2452
  <virtual-method name="get_info" invoker="get_info">
2329
2453
  <doc xml:space="preserve">Gets extra information associated to the proposal. This information will be
2330
2454
  used to present the user with extra, detailed information about the
2331
2455
  selected proposal. The returned string must be freed with g_free().</doc>
2332
- <return-value transfer-ownership="full">
2333
- <doc xml:space="preserve">a new string containing extra information of @proposal or %NULL if
2334
- no extra information is associated to @proposal.</doc>
2456
+ <return-value transfer-ownership="full" nullable="1">
2457
+ <doc xml:space="preserve">a newly-allocated string containing
2458
+ extra information of @proposal or %NULL if no extra information is associated
2459
+ to @proposal.</doc>
2335
2460
  <type name="utf8" c:type="gchar*"/>
2336
2461
  </return-value>
2337
2462
  <parameters>
@@ -2448,11 +2573,27 @@ completion model. By default, it uses direct equality (g_direct_equal()).</doc>
2448
2573
  </parameter>
2449
2574
  </parameters>
2450
2575
  </method>
2576
+ <method name="get_gicon"
2577
+ c:identifier="gtk_source_completion_proposal_get_gicon"
2578
+ version="3.18">
2579
+ <doc xml:space="preserve">Gets the #GIcon for the icon of @proposal.</doc>
2580
+ <return-value transfer-ownership="none" nullable="1">
2581
+ <doc xml:space="preserve">A #GIcon with the icon of @proposal.</doc>
2582
+ <type name="Gio.Icon" c:type="GIcon*"/>
2583
+ </return-value>
2584
+ <parameters>
2585
+ <instance-parameter name="proposal" transfer-ownership="none">
2586
+ <doc xml:space="preserve">a #GtkSourceCompletionProposal.</doc>
2587
+ <type name="CompletionProposal"
2588
+ c:type="GtkSourceCompletionProposal*"/>
2589
+ </instance-parameter>
2590
+ </parameters>
2591
+ </method>
2451
2592
  <method name="get_icon"
2452
2593
  c:identifier="gtk_source_completion_proposal_get_icon">
2453
- <doc xml:space="preserve">Gets the icon of @proposal.</doc>
2454
- <return-value transfer-ownership="none">
2455
- <doc xml:space="preserve">The icon of @proposal.</doc>
2594
+ <doc xml:space="preserve">Gets the #GdkPixbuf for the icon of @proposal.</doc>
2595
+ <return-value transfer-ownership="none" nullable="1">
2596
+ <doc xml:space="preserve">A #GdkPixbuf with the icon of @proposal.</doc>
2456
2597
  <type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
2457
2598
  </return-value>
2458
2599
  <parameters>
@@ -2463,14 +2604,31 @@ completion model. By default, it uses direct equality (g_direct_equal()).</doc>
2463
2604
  </instance-parameter>
2464
2605
  </parameters>
2465
2606
  </method>
2607
+ <method name="get_icon_name"
2608
+ c:identifier="gtk_source_completion_proposal_get_icon_name"
2609
+ version="3.18">
2610
+ <doc xml:space="preserve">Gets the icon name of @proposal.</doc>
2611
+ <return-value transfer-ownership="none" nullable="1">
2612
+ <doc xml:space="preserve">The icon name of @proposal.</doc>
2613
+ <type name="utf8" c:type="const gchar*"/>
2614
+ </return-value>
2615
+ <parameters>
2616
+ <instance-parameter name="proposal" transfer-ownership="none">
2617
+ <doc xml:space="preserve">a #GtkSourceCompletionProposal.</doc>
2618
+ <type name="CompletionProposal"
2619
+ c:type="GtkSourceCompletionProposal*"/>
2620
+ </instance-parameter>
2621
+ </parameters>
2622
+ </method>
2466
2623
  <method name="get_info"
2467
2624
  c:identifier="gtk_source_completion_proposal_get_info">
2468
2625
  <doc xml:space="preserve">Gets extra information associated to the proposal. This information will be
2469
2626
  used to present the user with extra, detailed information about the
2470
2627
  selected proposal. The returned string must be freed with g_free().</doc>
2471
- <return-value transfer-ownership="full">
2472
- <doc xml:space="preserve">a new string containing extra information of @proposal or %NULL if
2473
- no extra information is associated to @proposal.</doc>
2628
+ <return-value transfer-ownership="full" nullable="1">
2629
+ <doc xml:space="preserve">a newly-allocated string containing
2630
+ extra information of @proposal or %NULL if no extra information is associated
2631
+ to @proposal.</doc>
2474
2632
  <type name="utf8" c:type="gchar*"/>
2475
2633
  </return-value>
2476
2634
  <parameters>
@@ -2616,8 +2774,8 @@ will react to this by updating the shown information.</doc>
2616
2774
  </field>
2617
2775
  <field name="get_icon">
2618
2776
  <callback name="get_icon">
2619
- <return-value transfer-ownership="none">
2620
- <doc xml:space="preserve">The icon of @proposal.</doc>
2777
+ <return-value transfer-ownership="none" nullable="1">
2778
+ <doc xml:space="preserve">A #GdkPixbuf with the icon of @proposal.</doc>
2621
2779
  <type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
2622
2780
  </return-value>
2623
2781
  <parameters>
@@ -2629,11 +2787,42 @@ will react to this by updating the shown information.</doc>
2629
2787
  </parameters>
2630
2788
  </callback>
2631
2789
  </field>
2790
+ <field name="get_icon_name">
2791
+ <callback name="get_icon_name">
2792
+ <return-value transfer-ownership="none" nullable="1">
2793
+ <doc xml:space="preserve">The icon name of @proposal.</doc>
2794
+ <type name="utf8" c:type="const gchar*"/>
2795
+ </return-value>
2796
+ <parameters>
2797
+ <parameter name="proposal" transfer-ownership="none">
2798
+ <doc xml:space="preserve">a #GtkSourceCompletionProposal.</doc>
2799
+ <type name="CompletionProposal"
2800
+ c:type="GtkSourceCompletionProposal*"/>
2801
+ </parameter>
2802
+ </parameters>
2803
+ </callback>
2804
+ </field>
2805
+ <field name="get_gicon">
2806
+ <callback name="get_gicon">
2807
+ <return-value transfer-ownership="none" nullable="1">
2808
+ <doc xml:space="preserve">A #GIcon with the icon of @proposal.</doc>
2809
+ <type name="Gio.Icon" c:type="GIcon*"/>
2810
+ </return-value>
2811
+ <parameters>
2812
+ <parameter name="proposal" transfer-ownership="none">
2813
+ <doc xml:space="preserve">a #GtkSourceCompletionProposal.</doc>
2814
+ <type name="CompletionProposal"
2815
+ c:type="GtkSourceCompletionProposal*"/>
2816
+ </parameter>
2817
+ </parameters>
2818
+ </callback>
2819
+ </field>
2632
2820
  <field name="get_info">
2633
2821
  <callback name="get_info">
2634
- <return-value transfer-ownership="full">
2635
- <doc xml:space="preserve">a new string containing extra information of @proposal or %NULL if
2636
- no extra information is associated to @proposal.</doc>
2822
+ <return-value transfer-ownership="full" nullable="1">
2823
+ <doc xml:space="preserve">a newly-allocated string containing
2824
+ extra information of @proposal or %NULL if no extra information is associated
2825
+ to @proposal.</doc>
2637
2826
  <type name="utf8" c:type="gchar*"/>
2638
2827
  </return-value>
2639
2828
  <parameters>
@@ -2749,8 +2938,23 @@ will contain only alphanumerical and the "_" characters.</doc>
2749
2938
  </instance-parameter>
2750
2939
  </parameters>
2751
2940
  </virtual-method>
2941
+ <virtual-method name="get_gicon" invoker="get_gicon" version="3.18">
2942
+ <doc xml:space="preserve">Gets the #GIcon for the icon of @provider.</doc>
2943
+ <return-value transfer-ownership="none" nullable="1">
2944
+ <doc xml:space="preserve">The icon to be used for the provider,
2945
+ or %NULL if the provider does not have a special icon.</doc>
2946
+ <type name="Gio.Icon" c:type="GIcon*"/>
2947
+ </return-value>
2948
+ <parameters>
2949
+ <instance-parameter name="provider" transfer-ownership="none">
2950
+ <doc xml:space="preserve">The #GtkSourceCompletionProvider</doc>
2951
+ <type name="CompletionProvider"
2952
+ c:type="GtkSourceCompletionProvider*"/>
2953
+ </instance-parameter>
2954
+ </parameters>
2955
+ </virtual-method>
2752
2956
  <virtual-method name="get_icon" invoker="get_icon">
2753
- <doc xml:space="preserve">Get the icon of the provider.</doc>
2957
+ <doc xml:space="preserve">Get the #GdkPixbuf for the icon of the @provider.</doc>
2754
2958
  <return-value transfer-ownership="none" nullable="1">
2755
2959
  <doc xml:space="preserve">The icon to be used for the provider,
2756
2960
  or %NULL if the provider does not have a special icon.</doc>
@@ -2764,6 +2968,23 @@ will contain only alphanumerical and the "_" characters.</doc>
2764
2968
  </instance-parameter>
2765
2969
  </parameters>
2766
2970
  </virtual-method>
2971
+ <virtual-method name="get_icon_name"
2972
+ invoker="get_icon_name"
2973
+ version="3.18">
2974
+ <doc xml:space="preserve">Gets the icon name of @provider.</doc>
2975
+ <return-value transfer-ownership="none" nullable="1">
2976
+ <doc xml:space="preserve">The icon name to be used for the provider,
2977
+ or %NULL if the provider does not have a special icon.</doc>
2978
+ <type name="utf8" c:type="const gchar*"/>
2979
+ </return-value>
2980
+ <parameters>
2981
+ <instance-parameter name="provider" transfer-ownership="none">
2982
+ <doc xml:space="preserve">The #GtkSourceCompletionProvider</doc>
2983
+ <type name="CompletionProvider"
2984
+ c:type="GtkSourceCompletionProvider*"/>
2985
+ </instance-parameter>
2986
+ </parameters>
2987
+ </virtual-method>
2767
2988
  <virtual-method name="get_info_widget" invoker="get_info_widget">
2768
2989
  <doc xml:space="preserve">Get a customized info widget to show extra information of a proposal.
2769
2990
  This allows for customized widgets on a proposal basis, although in general
@@ -3008,9 +3229,26 @@ will contain only alphanumerical and the "_" characters.</doc>
3008
3229
  </instance-parameter>
3009
3230
  </parameters>
3010
3231
  </method>
3232
+ <method name="get_gicon"
3233
+ c:identifier="gtk_source_completion_provider_get_gicon"
3234
+ version="3.18">
3235
+ <doc xml:space="preserve">Gets the #GIcon for the icon of @provider.</doc>
3236
+ <return-value transfer-ownership="none" nullable="1">
3237
+ <doc xml:space="preserve">The icon to be used for the provider,
3238
+ or %NULL if the provider does not have a special icon.</doc>
3239
+ <type name="Gio.Icon" c:type="GIcon*"/>
3240
+ </return-value>
3241
+ <parameters>
3242
+ <instance-parameter name="provider" transfer-ownership="none">
3243
+ <doc xml:space="preserve">The #GtkSourceCompletionProvider</doc>
3244
+ <type name="CompletionProvider"
3245
+ c:type="GtkSourceCompletionProvider*"/>
3246
+ </instance-parameter>
3247
+ </parameters>
3248
+ </method>
3011
3249
  <method name="get_icon"
3012
3250
  c:identifier="gtk_source_completion_provider_get_icon">
3013
- <doc xml:space="preserve">Get the icon of the provider.</doc>
3251
+ <doc xml:space="preserve">Get the #GdkPixbuf for the icon of the @provider.</doc>
3014
3252
  <return-value transfer-ownership="none" nullable="1">
3015
3253
  <doc xml:space="preserve">The icon to be used for the provider,
3016
3254
  or %NULL if the provider does not have a special icon.</doc>
@@ -3024,6 +3262,23 @@ will contain only alphanumerical and the "_" characters.</doc>
3024
3262
  </instance-parameter>
3025
3263
  </parameters>
3026
3264
  </method>
3265
+ <method name="get_icon_name"
3266
+ c:identifier="gtk_source_completion_provider_get_icon_name"
3267
+ version="3.18">
3268
+ <doc xml:space="preserve">Gets the icon name of @provider.</doc>
3269
+ <return-value transfer-ownership="none" nullable="1">
3270
+ <doc xml:space="preserve">The icon name to be used for the provider,
3271
+ or %NULL if the provider does not have a special icon.</doc>
3272
+ <type name="utf8" c:type="const gchar*"/>
3273
+ </return-value>
3274
+ <parameters>
3275
+ <instance-parameter name="provider" transfer-ownership="none">
3276
+ <doc xml:space="preserve">The #GtkSourceCompletionProvider</doc>
3277
+ <type name="CompletionProvider"
3278
+ c:type="GtkSourceCompletionProvider*"/>
3279
+ </instance-parameter>
3280
+ </parameters>
3281
+ </method>
3027
3282
  <method name="get_info_widget"
3028
3283
  c:identifier="gtk_source_completion_provider_get_info_widget">
3029
3284
  <doc xml:space="preserve">Get a customized info widget to show extra information of a proposal.
@@ -3264,6 +3519,38 @@ gtk_source_completion_context_add_proposals() function.</doc>
3264
3519
  </parameters>
3265
3520
  </callback>
3266
3521
  </field>
3522
+ <field name="get_icon_name">
3523
+ <callback name="get_icon_name">
3524
+ <return-value transfer-ownership="none" nullable="1">
3525
+ <doc xml:space="preserve">The icon name to be used for the provider,
3526
+ or %NULL if the provider does not have a special icon.</doc>
3527
+ <type name="utf8" c:type="const gchar*"/>
3528
+ </return-value>
3529
+ <parameters>
3530
+ <parameter name="provider" transfer-ownership="none">
3531
+ <doc xml:space="preserve">The #GtkSourceCompletionProvider</doc>
3532
+ <type name="CompletionProvider"
3533
+ c:type="GtkSourceCompletionProvider*"/>
3534
+ </parameter>
3535
+ </parameters>
3536
+ </callback>
3537
+ </field>
3538
+ <field name="get_gicon">
3539
+ <callback name="get_gicon">
3540
+ <return-value transfer-ownership="none" nullable="1">
3541
+ <doc xml:space="preserve">The icon to be used for the provider,
3542
+ or %NULL if the provider does not have a special icon.</doc>
3543
+ <type name="Gio.Icon" c:type="GIcon*"/>
3544
+ </return-value>
3545
+ <parameters>
3546
+ <parameter name="provider" transfer-ownership="none">
3547
+ <doc xml:space="preserve">The #GtkSourceCompletionProvider</doc>
3548
+ <type name="CompletionProvider"
3549
+ c:type="GtkSourceCompletionProvider*"/>
3550
+ </parameter>
3551
+ </parameters>
3552
+ </callback>
3553
+ </field>
3267
3554
  <field name="populate">
3268
3555
  <callback name="populate">
3269
3556
  <return-value transfer-ownership="none">
@@ -3760,6 +4047,23 @@ all #GtkSourceEncoding's. Free with g_slist_free().</doc>
3760
4047
  <type name="Encoding" c:type="const GtkSourceEncoding*"/>
3761
4048
  </return-value>
3762
4049
  </function>
4050
+ <function name="get_default_candidates"
4051
+ c:identifier="gtk_source_encoding_get_default_candidates"
4052
+ version="3.18">
4053
+ <doc xml:space="preserve">Gets the list of default candidate encodings to try when loading a file. See
4054
+ gtk_source_file_loader_set_candidate_encodings().
4055
+
4056
+ This function returns a different list depending on the current locale (i.e.
4057
+ language, country and default encoding). The UTF-8 encoding and the current
4058
+ locale encoding are guaranteed to be present in the returned list.</doc>
4059
+ <return-value transfer-ownership="container">
4060
+ <doc xml:space="preserve">the list of
4061
+ default candidate encodings. Free with g_slist_free().</doc>
4062
+ <type name="GLib.SList" c:type="GSList*">
4063
+ <type name="Encoding"/>
4064
+ </type>
4065
+ </return-value>
4066
+ </function>
3763
4067
  <function name="get_from_charset"
3764
4068
  c:identifier="gtk_source_encoding_get_from_charset"
3765
4069
  version="3.14">
@@ -3801,12 +4105,97 @@ if not found.</doc>
3801
4105
  <type name="File" c:type="GtkSourceFile*"/>
3802
4106
  </return-value>
3803
4107
  </constructor>
4108
+ <method name="check_file_on_disk"
4109
+ c:identifier="gtk_source_file_check_file_on_disk"
4110
+ version="3.18">
4111
+ <doc xml:space="preserve">Checks synchronously the file on disk, to know whether the file is externally
4112
+ modified, or has been deleted, and whether the file is read-only.
4113
+
4114
+ #GtkSourceFile doesn't create a #GFileMonitor to track those properties, so
4115
+ this function needs to be called instead. Creating lots of #GFileMonitor's
4116
+ would take lots of resources.
4117
+
4118
+ Since this function is synchronous, it is advised to call it only on local
4119
+ files. See gtk_source_file_is_local().</doc>
4120
+ <return-value transfer-ownership="none">
4121
+ <type name="none" c:type="void"/>
4122
+ </return-value>
4123
+ <parameters>
4124
+ <instance-parameter name="file" transfer-ownership="none">
4125
+ <doc xml:space="preserve">a #GtkSourceFile.</doc>
4126
+ <type name="File" c:type="GtkSourceFile*"/>
4127
+ </instance-parameter>
4128
+ </parameters>
4129
+ </method>
3804
4130
  <method name="get_compression_type"
3805
4131
  c:identifier="gtk_source_file_get_compression_type"
3806
4132
  version="3.14">
3807
4133
  <return-value transfer-ownership="none">
3808
- <doc xml:space="preserve">the compression type.</doc>
3809
- <type name="CompressionType" c:type="GtkSourceCompressionType"/>
4134
+ <doc xml:space="preserve">the compression type.</doc>
4135
+ <type name="CompressionType" c:type="GtkSourceCompressionType"/>
4136
+ </return-value>
4137
+ <parameters>
4138
+ <instance-parameter name="file" transfer-ownership="none">
4139
+ <doc xml:space="preserve">a #GtkSourceFile.</doc>
4140
+ <type name="File" c:type="GtkSourceFile*"/>
4141
+ </instance-parameter>
4142
+ </parameters>
4143
+ </method>
4144
+ <method name="get_encoding"
4145
+ c:identifier="gtk_source_file_get_encoding"
4146
+ version="3.14">
4147
+ <doc xml:space="preserve">The encoding is initially %NULL. After a successful file loading or saving
4148
+ operation, the encoding is non-%NULL.</doc>
4149
+ <return-value transfer-ownership="none">
4150
+ <doc xml:space="preserve">the character encoding.</doc>
4151
+ <type name="Encoding" c:type="const GtkSourceEncoding*"/>
4152
+ </return-value>
4153
+ <parameters>
4154
+ <instance-parameter name="file" transfer-ownership="none">
4155
+ <doc xml:space="preserve">a #GtkSourceFile.</doc>
4156
+ <type name="File" c:type="GtkSourceFile*"/>
4157
+ </instance-parameter>
4158
+ </parameters>
4159
+ </method>
4160
+ <method name="get_location"
4161
+ c:identifier="gtk_source_file_get_location"
4162
+ version="3.14">
4163
+ <return-value transfer-ownership="none">
4164
+ <doc xml:space="preserve">the #GFile.</doc>
4165
+ <type name="Gio.File" c:type="GFile*"/>
4166
+ </return-value>
4167
+ <parameters>
4168
+ <instance-parameter name="file" transfer-ownership="none">
4169
+ <doc xml:space="preserve">a #GtkSourceFile.</doc>
4170
+ <type name="File" c:type="GtkSourceFile*"/>
4171
+ </instance-parameter>
4172
+ </parameters>
4173
+ </method>
4174
+ <method name="get_newline_type"
4175
+ c:identifier="gtk_source_file_get_newline_type"
4176
+ version="3.14">
4177
+ <return-value transfer-ownership="none">
4178
+ <doc xml:space="preserve">the newline type.</doc>
4179
+ <type name="NewlineType" c:type="GtkSourceNewlineType"/>
4180
+ </return-value>
4181
+ <parameters>
4182
+ <instance-parameter name="file" transfer-ownership="none">
4183
+ <doc xml:space="preserve">a #GtkSourceFile.</doc>
4184
+ <type name="File" c:type="GtkSourceFile*"/>
4185
+ </instance-parameter>
4186
+ </parameters>
4187
+ </method>
4188
+ <method name="is_deleted"
4189
+ c:identifier="gtk_source_file_is_deleted"
4190
+ version="3.18">
4191
+ <doc xml:space="preserve">Returns whether the file has been deleted. If the
4192
+ #GtkSourceFile:location is %NULL, returns %FALSE.
4193
+
4194
+ To have an up-to-date value, you must first call
4195
+ gtk_source_file_check_file_on_disk().</doc>
4196
+ <return-value transfer-ownership="none">
4197
+ <doc xml:space="preserve">whether the file has been deleted.</doc>
4198
+ <type name="gboolean" c:type="gboolean"/>
3810
4199
  </return-value>
3811
4200
  <parameters>
3812
4201
  <instance-parameter name="file" transfer-ownership="none">
@@ -3815,14 +4204,17 @@ if not found.</doc>
3815
4204
  </instance-parameter>
3816
4205
  </parameters>
3817
4206
  </method>
3818
- <method name="get_encoding"
3819
- c:identifier="gtk_source_file_get_encoding"
3820
- version="3.14">
3821
- <doc xml:space="preserve">The encoding is initially %NULL. After a successful file loading or saving
3822
- operation, the encoding is non-%NULL.</doc>
4207
+ <method name="is_externally_modified"
4208
+ c:identifier="gtk_source_file_is_externally_modified"
4209
+ version="3.18">
4210
+ <doc xml:space="preserve">Returns whether the file is externally modified. If the
4211
+ #GtkSourceFile:location is %NULL, returns %FALSE.
4212
+
4213
+ To have an up-to-date value, you must first call
4214
+ gtk_source_file_check_file_on_disk().</doc>
3823
4215
  <return-value transfer-ownership="none">
3824
- <doc xml:space="preserve">the character encoding.</doc>
3825
- <type name="Encoding" c:type="const GtkSourceEncoding*"/>
4216
+ <doc xml:space="preserve">whether the file is externally modified.</doc>
4217
+ <type name="gboolean" c:type="gboolean"/>
3826
4218
  </return-value>
3827
4219
  <parameters>
3828
4220
  <instance-parameter name="file" transfer-ownership="none">
@@ -3831,12 +4223,14 @@ operation, the encoding is non-%NULL.</doc>
3831
4223
  </instance-parameter>
3832
4224
  </parameters>
3833
4225
  </method>
3834
- <method name="get_location"
3835
- c:identifier="gtk_source_file_get_location"
3836
- version="3.14">
4226
+ <method name="is_local"
4227
+ c:identifier="gtk_source_file_is_local"
4228
+ version="3.18">
4229
+ <doc xml:space="preserve">Returns whether the file is local. If the #GtkSourceFile:location is %NULL,
4230
+ returns %FALSE.</doc>
3837
4231
  <return-value transfer-ownership="none">
3838
- <doc xml:space="preserve">the #GFile.</doc>
3839
- <type name="Gio.File" c:type="GFile*"/>
4232
+ <doc xml:space="preserve">whether the file is local.</doc>
4233
+ <type name="gboolean" c:type="gboolean"/>
3840
4234
  </return-value>
3841
4235
  <parameters>
3842
4236
  <instance-parameter name="file" transfer-ownership="none">
@@ -3845,12 +4239,17 @@ operation, the encoding is non-%NULL.</doc>
3845
4239
  </instance-parameter>
3846
4240
  </parameters>
3847
4241
  </method>
3848
- <method name="get_newline_type"
3849
- c:identifier="gtk_source_file_get_newline_type"
3850
- version="3.14">
4242
+ <method name="is_readonly"
4243
+ c:identifier="gtk_source_file_is_readonly"
4244
+ version="3.18">
4245
+ <doc xml:space="preserve">Returns whether the file is read-only. If the
4246
+ #GtkSourceFile:location is %NULL, returns %FALSE.
4247
+
4248
+ To have an up-to-date value, you must first call
4249
+ gtk_source_file_check_file_on_disk().</doc>
3851
4250
  <return-value transfer-ownership="none">
3852
- <doc xml:space="preserve">the newline type.</doc>
3853
- <type name="NewlineType" c:type="GtkSourceNewlineType"/>
4251
+ <doc xml:space="preserve">whether the file is read-only.</doc>
4252
+ <type name="gboolean" c:type="gboolean"/>
3854
4253
  </return-value>
3855
4254
  <parameters>
3856
4255
  <instance-parameter name="file" transfer-ownership="none">
@@ -3908,7 +4307,10 @@ called.</doc>
3908
4307
  <type name="MountOperationFactory"
3909
4308
  c:type="GtkSourceMountOperationFactory"/>
3910
4309
  </parameter>
3911
- <parameter name="user_data" transfer-ownership="none">
4310
+ <parameter name="user_data"
4311
+ transfer-ownership="none"
4312
+ nullable="1"
4313
+ allow-none="1">
3912
4314
  <doc xml:space="preserve">the data to pass to the @callback function.</doc>
3913
4315
  <type name="gpointer" c:type="gpointer"/>
3914
4316
  </parameter>
@@ -3937,6 +4339,7 @@ loading or saving operation, the encoding is non-%NULL.</doc>
3937
4339
  <property name="location"
3938
4340
  version="3.14"
3939
4341
  writable="1"
4342
+ construct="1"
3940
4343
  transfer-ownership="none">
3941
4344
  <doc xml:space="preserve">The location.</doc>
3942
4345
  <type name="Gio.File"/>
@@ -3945,6 +4348,11 @@ loading or saving operation, the encoding is non-%NULL.</doc>
3945
4348
  <doc xml:space="preserve">The line ending type.</doc>
3946
4349
  <type name="NewlineType"/>
3947
4350
  </property>
4351
+ <property name="read-only" version="3.18" transfer-ownership="none">
4352
+ <doc xml:space="preserve">Whether the file is read-only or not. The value of this property is
4353
+ not updated automatically (there is no file monitors).</doc>
4354
+ <type name="gboolean" c:type="gboolean"/>
4355
+ </property>
3948
4356
  <field name="parent">
3949
4357
  <type name="GObject.Object" c:type="GObject"/>
3950
4358
  </field>
@@ -4076,9 +4484,9 @@ the @buffer is emptied.</doc>
4076
4484
  <method name="get_input_stream"
4077
4485
  c:identifier="gtk_source_file_loader_get_input_stream"
4078
4486
  version="3.14">
4079
- <return-value transfer-ownership="none">
4080
- <doc xml:space="preserve">the #GInputStream to load, or %NULL if a #GFile is
4081
- used.</doc>
4487
+ <return-value transfer-ownership="none" nullable="1">
4488
+ <doc xml:space="preserve">the #GInputStream to load, or %NULL
4489
+ if a #GFile is used.</doc>
4082
4490
  <type name="Gio.InputStream" c:type="GInputStream*"/>
4083
4491
  </return-value>
4084
4492
  <parameters>
@@ -4091,9 +4499,9 @@ the @buffer is emptied.</doc>
4091
4499
  <method name="get_location"
4092
4500
  c:identifier="gtk_source_file_loader_get_location"
4093
4501
  version="3.14">
4094
- <return-value transfer-ownership="none">
4095
- <doc xml:space="preserve">the #GFile to load, or %NULL if an input stream is
4096
- used.</doc>
4502
+ <return-value transfer-ownership="none" nullable="1">
4503
+ <doc xml:space="preserve">the #GFile to load, or %NULL
4504
+ if an input stream is used.</doc>
4097
4505
  <type name="Gio.File" c:type="GFile*"/>
4098
4506
  </return-value>
4099
4507
  <parameters>
@@ -4155,7 +4563,10 @@ function.</doc>
4155
4563
  <type name="Gio.FileProgressCallback"
4156
4564
  c:type="GFileProgressCallback"/>
4157
4565
  </parameter>
4158
- <parameter name="progress_callback_data" transfer-ownership="none">
4566
+ <parameter name="progress_callback_data"
4567
+ transfer-ownership="none"
4568
+ nullable="1"
4569
+ allow-none="1">
4159
4570
  <doc xml:space="preserve">user data to pass to @progress_callback.</doc>
4160
4571
  <type name="gpointer" c:type="gpointer"/>
4161
4572
  </parameter>
@@ -4179,7 +4590,10 @@ function.</doc>
4179
4590
  satisfied.</doc>
4180
4591
  <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
4181
4592
  </parameter>
4182
- <parameter name="user_data" transfer-ownership="none">
4593
+ <parameter name="user_data"
4594
+ transfer-ownership="none"
4595
+ nullable="1"
4596
+ allow-none="1">
4183
4597
  <doc xml:space="preserve">user data to pass to @callback.</doc>
4184
4598
  <type name="gpointer" c:type="gpointer"/>
4185
4599
  </parameter>
@@ -4218,11 +4632,11 @@ the same order as the list.
4218
4632
  For convenience, @candidate_encodings can contain duplicates. Only the first
4219
4633
  occurrence of a duplicated encoding is kept in the list.
4220
4634
 
4221
- By default the candidate encodings are (in that order):
4222
- 1. If set, the #GtkSourceFile's encoding. See gtk_source_file_get_encoding().
4223
- 2. Depending on the current locale (language and country), a list of common
4224
- encodings are added. The UTF-8 encoding and the current locale encoding are
4225
- always present.</doc>
4635
+ By default the candidate encodings are (in that order in the list):
4636
+ 1. If set, the #GtkSourceFile's encoding as returned by
4637
+ gtk_source_file_get_encoding().
4638
+ 2. The default candidates as returned by
4639
+ gtk_source_encoding_get_default_candidates().</doc>
4226
4640
  <return-value transfer-ownership="none">
4227
4641
  <type name="none" c:type="void"/>
4228
4642
  </return-value>
@@ -4528,7 +4942,10 @@ documentation to know how to use this function.</doc>
4528
4942
  <type name="Gio.FileProgressCallback"
4529
4943
  c:type="GFileProgressCallback"/>
4530
4944
  </parameter>
4531
- <parameter name="progress_callback_data" transfer-ownership="none">
4945
+ <parameter name="progress_callback_data"
4946
+ transfer-ownership="none"
4947
+ nullable="1"
4948
+ allow-none="1">
4532
4949
  <doc xml:space="preserve">user data to pass to @progress_callback.</doc>
4533
4950
  <type name="gpointer" c:type="gpointer"/>
4534
4951
  </parameter>
@@ -4552,7 +4969,10 @@ documentation to know how to use this function.</doc>
4552
4969
  satisfied.</doc>
4553
4970
  <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
4554
4971
  </parameter>
4555
- <parameter name="user_data" transfer-ownership="none">
4972
+ <parameter name="user_data"
4973
+ transfer-ownership="none"
4974
+ nullable="1"
4975
+ allow-none="1">
4556
4976
  <doc xml:space="preserve">user data to pass to @callback.</doc>
4557
4977
  <type name="gpointer" c:type="gpointer"/>
4558
4978
  </parameter>
@@ -4566,7 +4986,10 @@ documentation to know how to use this function.</doc>
4566
4986
 
4567
4987
  If the file has been saved successfully, the following #GtkSourceFile
4568
4988
  properties will be updated: the location, the encoding, the newline type and
4569
- the compression type.</doc>
4989
+ the compression type.
4990
+
4991
+ Since the 3.20 version, gtk_text_buffer_set_modified() is called with %FALSE
4992
+ if the file has been saved successfully.</doc>
4570
4993
  <return-value transfer-ownership="none">
4571
4994
  <doc xml:space="preserve">whether the file was saved successfully.</doc>
4572
4995
  <type name="gboolean" c:type="gboolean"/>
@@ -4829,7 +5252,7 @@ from the #GtkSourceFile at construction time.</doc>
4829
5252
  <method name="get_renderer_at_pos"
4830
5253
  c:identifier="gtk_source_gutter_get_renderer_at_pos">
4831
5254
  <doc xml:space="preserve">Finds the #GtkSourceGutterRenderer at (x, y).</doc>
4832
- <return-value transfer-ownership="none">
5255
+ <return-value transfer-ownership="none" nullable="1">
4833
5256
  <doc xml:space="preserve">the renderer at (x, y) or %NULL.</doc>
4834
5257
  <type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
4835
5258
  </return-value>
@@ -5088,27 +5511,39 @@ some state before the draw method is called for each cell.</doc>
5088
5511
  </parameters>
5089
5512
  </virtual-method>
5090
5513
  <virtual-method name="change_buffer">
5514
+ <doc xml:space="preserve">This is called when the text buffer changes for @renderer.</doc>
5091
5515
  <return-value transfer-ownership="none">
5092
5516
  <type name="none" c:type="void"/>
5093
5517
  </return-value>
5094
5518
  <parameters>
5095
5519
  <instance-parameter name="renderer" transfer-ownership="none">
5520
+ <doc xml:space="preserve">a #GtkSourceGutterRenderer.</doc>
5096
5521
  <type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
5097
5522
  </instance-parameter>
5098
- <parameter name="old_buffer" transfer-ownership="none">
5523
+ <parameter name="old_buffer"
5524
+ transfer-ownership="none"
5525
+ nullable="1"
5526
+ allow-none="1">
5527
+ <doc xml:space="preserve">the old #GtkTextBuffer.</doc>
5099
5528
  <type name="Gtk.TextBuffer" c:type="GtkTextBuffer*"/>
5100
5529
  </parameter>
5101
5530
  </parameters>
5102
5531
  </virtual-method>
5103
5532
  <virtual-method name="change_view">
5533
+ <doc xml:space="preserve">This is called when the text view changes for @renderer.</doc>
5104
5534
  <return-value transfer-ownership="none">
5105
5535
  <type name="none" c:type="void"/>
5106
5536
  </return-value>
5107
5537
  <parameters>
5108
5538
  <instance-parameter name="renderer" transfer-ownership="none">
5539
+ <doc xml:space="preserve">a #GtkSourceGutterRenderer.</doc>
5109
5540
  <type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
5110
5541
  </instance-parameter>
5111
- <parameter name="old_view" transfer-ownership="none">
5542
+ <parameter name="old_view"
5543
+ transfer-ownership="none"
5544
+ nullable="1"
5545
+ allow-none="1">
5546
+ <doc xml:space="preserve">the old #GtkTextView.</doc>
5112
5547
  <type name="Gtk.TextView" c:type="GtkTextView*"/>
5113
5548
  </parameter>
5114
5549
  </parameters>
@@ -5886,7 +6321,7 @@ activated.</doc>
5886
6321
  </parameter>
5887
6322
  <parameter name="area" transfer-ownership="none">
5888
6323
  <doc xml:space="preserve">a #GdkRectangle</doc>
5889
- <type name="cairo.RectangleInt"/>
6324
+ <type name="Gdk.Rectangle"/>
5890
6325
  </parameter>
5891
6326
  <parameter name="event" transfer-ownership="none">
5892
6327
  <doc xml:space="preserve">the event that caused the activation</doc>
@@ -5907,7 +6342,7 @@ can possibly be activated.</doc>
5907
6342
  </parameter>
5908
6343
  <parameter name="area" transfer-ownership="none">
5909
6344
  <doc xml:space="preserve">a #GdkRectangle</doc>
5910
- <type name="cairo.RectangleInt"/>
6345
+ <type name="Gdk.Rectangle"/>
5911
6346
  </parameter>
5912
6347
  <parameter name="event" transfer-ownership="none">
5913
6348
  <doc xml:space="preserve">the #GdkEvent that is causing the activatable query</doc>
@@ -5951,7 +6386,7 @@ show a tooltip.</doc>
5951
6386
  </parameter>
5952
6387
  <parameter name="area" transfer-ownership="none">
5953
6388
  <doc xml:space="preserve">a #GdkRectangle</doc>
5954
- <type name="cairo.RectangleInt"/>
6389
+ <type name="Gdk.Rectangle"/>
5955
6390
  </parameter>
5956
6391
  <parameter name="x" transfer-ownership="none">
5957
6392
  <doc xml:space="preserve">the x position (in window coordinates)</doc>
@@ -6100,9 +6535,14 @@ text wrapping).</doc>
6100
6535
  </return-value>
6101
6536
  <parameters>
6102
6537
  <parameter name="renderer" transfer-ownership="none">
6538
+ <doc xml:space="preserve">a #GtkSourceGutterRenderer.</doc>
6103
6539
  <type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
6104
6540
  </parameter>
6105
- <parameter name="old_view" transfer-ownership="none">
6541
+ <parameter name="old_view"
6542
+ transfer-ownership="none"
6543
+ nullable="1"
6544
+ allow-none="1">
6545
+ <doc xml:space="preserve">the old #GtkTextView.</doc>
6106
6546
  <type name="Gtk.TextView" c:type="GtkTextView*"/>
6107
6547
  </parameter>
6108
6548
  </parameters>
@@ -6115,9 +6555,14 @@ text wrapping).</doc>
6115
6555
  </return-value>
6116
6556
  <parameters>
6117
6557
  <parameter name="renderer" transfer-ownership="none">
6558
+ <doc xml:space="preserve">a #GtkSourceGutterRenderer.</doc>
6118
6559
  <type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
6119
6560
  </parameter>
6120
- <parameter name="old_buffer" transfer-ownership="none">
6561
+ <parameter name="old_buffer"
6562
+ transfer-ownership="none"
6563
+ nullable="1"
6564
+ allow-none="1">
6565
+ <doc xml:space="preserve">the old #GtkTextBuffer.</doc>
6121
6566
  <type name="Gtk.TextBuffer" c:type="GtkTextBuffer*"/>
6122
6567
  </parameter>
6123
6568
  </parameters>
@@ -6496,42 +6941,78 @@ a line in the buffer which contains part of the selection</doc>
6496
6941
  </constructor>
6497
6942
  <method name="measure"
6498
6943
  c:identifier="gtk_source_gutter_renderer_text_measure">
6944
+ <doc xml:space="preserve">Measures the text provided using the pango layout used by the
6945
+ #GtkSourceGutterRendererText.</doc>
6499
6946
  <return-value transfer-ownership="none">
6500
6947
  <type name="none" c:type="void"/>
6501
6948
  </return-value>
6502
6949
  <parameters>
6503
6950
  <instance-parameter name="renderer" transfer-ownership="none">
6951
+ <doc xml:space="preserve">a #GtkSourceGutterRendererText.</doc>
6504
6952
  <type name="GutterRendererText"
6505
6953
  c:type="GtkSourceGutterRendererText*"/>
6506
6954
  </instance-parameter>
6507
6955
  <parameter name="text" transfer-ownership="none">
6956
+ <doc xml:space="preserve">the text to measure.</doc>
6508
6957
  <type name="utf8" c:type="const gchar*"/>
6509
6958
  </parameter>
6510
- <parameter name="width" transfer-ownership="none">
6959
+ <parameter name="width"
6960
+ direction="out"
6961
+ caller-allocates="0"
6962
+ transfer-ownership="full"
6963
+ optional="1"
6964
+ allow-none="1">
6965
+ <doc xml:space="preserve">location to store the width of the text in pixels,
6966
+ or %NULL.</doc>
6511
6967
  <type name="gint" c:type="gint*"/>
6512
6968
  </parameter>
6513
- <parameter name="height" transfer-ownership="none">
6969
+ <parameter name="height"
6970
+ direction="out"
6971
+ caller-allocates="0"
6972
+ transfer-ownership="full"
6973
+ optional="1"
6974
+ allow-none="1">
6975
+ <doc xml:space="preserve">location to store the height of the text in
6976
+ pixels, or %NULL.</doc>
6514
6977
  <type name="gint" c:type="gint*"/>
6515
6978
  </parameter>
6516
6979
  </parameters>
6517
6980
  </method>
6518
6981
  <method name="measure_markup"
6519
6982
  c:identifier="gtk_source_gutter_renderer_text_measure_markup">
6983
+ <doc xml:space="preserve">Measures the pango markup provided using the pango layout used by the
6984
+ #GtkSourceGutterRendererText.</doc>
6520
6985
  <return-value transfer-ownership="none">
6521
6986
  <type name="none" c:type="void"/>
6522
6987
  </return-value>
6523
6988
  <parameters>
6524
6989
  <instance-parameter name="renderer" transfer-ownership="none">
6990
+ <doc xml:space="preserve">a #GtkSourceGutterRendererText.</doc>
6525
6991
  <type name="GutterRendererText"
6526
6992
  c:type="GtkSourceGutterRendererText*"/>
6527
6993
  </instance-parameter>
6528
6994
  <parameter name="markup" transfer-ownership="none">
6995
+ <doc xml:space="preserve">the pango markup to measure.</doc>
6529
6996
  <type name="utf8" c:type="const gchar*"/>
6530
6997
  </parameter>
6531
- <parameter name="width" transfer-ownership="none">
6998
+ <parameter name="width"
6999
+ direction="out"
7000
+ caller-allocates="0"
7001
+ transfer-ownership="full"
7002
+ optional="1"
7003
+ allow-none="1">
7004
+ <doc xml:space="preserve">location to store the width of the text in pixels,
7005
+ or %NULL.</doc>
6532
7006
  <type name="gint" c:type="gint*"/>
6533
7007
  </parameter>
6534
- <parameter name="height" transfer-ownership="none">
7008
+ <parameter name="height"
7009
+ direction="out"
7010
+ caller-allocates="0"
7011
+ transfer-ownership="full"
7012
+ optional="1"
7013
+ allow-none="1">
7014
+ <doc xml:space="preserve">location to store the height of the text in
7015
+ pixels, or %NULL.</doc>
6535
7016
  <type name="gint" c:type="gint*"/>
6536
7017
  </parameter>
6537
7018
  </parameters>
@@ -6615,9 +7096,10 @@ a line in the buffer which contains part of the selection</doc>
6615
7096
  <doc xml:space="preserve">Returns the globs associated to this language. This is just
6616
7097
  an utility wrapper around gtk_source_language_get_metadata() to
6617
7098
  retrieve the "globs" metadata property and split it into an array.</doc>
6618
- <return-value transfer-ownership="full">
6619
- <doc xml:space="preserve">a newly-allocated
6620
- %NULL terminated array containing the globs or %NULL if no globs are found.
7099
+ <return-value transfer-ownership="full" nullable="1">
7100
+ <doc xml:space="preserve">
7101
+ a newly-allocated %NULL terminated array containing the globs or %NULL
7102
+ if no globs are found.
6621
7103
  The returned array must be freed with g_strfreev().</doc>
6622
7104
  <array c:type="gchar**">
6623
7105
  <type name="utf8"/>
@@ -6660,9 +7142,10 @@ or modified.</doc>
6660
7142
  </method>
6661
7143
  <method name="get_metadata"
6662
7144
  c:identifier="gtk_source_language_get_metadata">
6663
- <return-value transfer-ownership="none">
6664
- <doc xml:space="preserve">value of property @name stored in the metadata of @language
6665
- or %NULL if language doesn't contain that metadata property.
7145
+ <return-value transfer-ownership="none" nullable="1">
7146
+ <doc xml:space="preserve">value of property @name stored in
7147
+ the metadata of @language or %NULL if language does not contain the
7148
+ specified metadata property.
6666
7149
  The returned string is owned by @language and should not be freed
6667
7150
  or modified.</doc>
6668
7151
  <type name="utf8" c:type="const gchar*"/>
@@ -6684,10 +7167,10 @@ or modified.</doc>
6684
7167
  an utility wrapper around gtk_source_language_get_metadata() to
6685
7168
  retrieve the "mimetypes" metadata property and split it into an
6686
7169
  array.</doc>
6687
- <return-value transfer-ownership="full">
6688
- <doc xml:space="preserve">a newly-allocated
6689
- %NULL terminated array containing the mime types or %NULL if no
6690
- mime types are found.
7170
+ <return-value transfer-ownership="full" nullable="1">
7171
+ <doc xml:space="preserve">
7172
+ a newly-allocated %NULL terminated array containing the mime types
7173
+ or %NULL if no mime types are found.
6691
7174
  The returned array must be freed with g_strfreev().</doc>
6692
7175
  <array c:type="gchar**">
6693
7176
  <type name="utf8"/>
@@ -6738,10 +7221,10 @@ or modified.</doc>
6738
7221
  version="3.4">
6739
7222
  <doc xml:space="preserve">Returns the ID of the style to use if the specified @style_id
6740
7223
  is not present in the current style scheme.</doc>
6741
- <return-value transfer-ownership="none">
6742
- <doc xml:space="preserve">the ID of the style to use if the specified @style_id
6743
- is not present in the current style scheme or %NULL if the style has
6744
- no fallback defined.
7224
+ <return-value transfer-ownership="none" nullable="1">
7225
+ <doc xml:space="preserve">the ID of the style to use if the
7226
+ specified @style_id is not present in the current style scheme or %NULL
7227
+ if the style has no fallback defined.
6745
7228
  The returned string is owned by the @language and must not be modified.</doc>
6746
7229
  <type name="utf8" c:type="const gchar*"/>
6747
7230
  </return-value>
@@ -6759,10 +7242,10 @@ The returned string is owned by the @language and must not be modified.</doc>
6759
7242
  <method name="get_style_ids"
6760
7243
  c:identifier="gtk_source_language_get_style_ids">
6761
7244
  <doc xml:space="preserve">Returns the ids of the styles defined by this @language.</doc>
6762
- <return-value transfer-ownership="full">
6763
- <doc xml:space="preserve">a %NULL terminated
6764
- array containing ids of the styles defined by this @language or
6765
- %NULL if no style is defined.
7245
+ <return-value transfer-ownership="full" nullable="1">
7246
+ <doc xml:space="preserve">
7247
+ a newly-allocated %NULL terminated array containing ids of the
7248
+ styles defined by this @language or %NULL if no style is defined.
6766
7249
  The returned array must be freed with g_strfreev().</doc>
6767
7250
  <array c:type="gchar**">
6768
7251
  <type name="utf8"/>
@@ -6778,11 +7261,11 @@ The returned array must be freed with g_strfreev().</doc>
6778
7261
  <method name="get_style_name"
6779
7262
  c:identifier="gtk_source_language_get_style_name">
6780
7263
  <doc xml:space="preserve">Returns the name of the style with ID @style_id defined by this @language.</doc>
6781
- <return-value transfer-ownership="none">
6782
- <doc xml:space="preserve">the name of the style with ID @style_id defined by this @language or
6783
- %NULL if the style has no name or there is no style with ID @style_id defined
6784
- by this @language. The returned string is owned by the @language and must
6785
- not be modified.</doc>
7264
+ <return-value transfer-ownership="none" nullable="1">
7265
+ <doc xml:space="preserve">the name of the style with ID @style_id
7266
+ defined by this @language or %NULL if the style has no name or there is no
7267
+ style with ID @style_id defined by this @language.
7268
+ The returned string is owned by the @language and must not be modified.</doc>
6786
7269
  <type name="utf8" c:type="const gchar*"/>
6787
7270
  </return-value>
6788
7271
  <parameters>
@@ -6886,12 +7369,12 @@ owned by @lm and should not be freed.</doc>
6886
7369
  c:identifier="gtk_source_language_manager_get_language_ids">
6887
7370
  <doc xml:space="preserve">Returns the ids of the available languages.</doc>
6888
7371
  <return-value transfer-ownership="none" nullable="1">
6889
- <doc xml:space="preserve">a %NULL-terminated array of
6890
- string containing the ids of the available languages or %NULL if no
6891
- language is available. The array is sorted alphabetically
6892
- according to the language name. The array is owned by @lm and must
6893
- not be modified.</doc>
6894
- <array c:type="const gchar* const*">
7372
+ <doc xml:space="preserve">
7373
+ a %NULL-terminated array of strings containing the ids of the available
7374
+ languages or %NULL if no language is available.
7375
+ The array is sorted alphabetically according to the language name.
7376
+ The array is owned by @lm and must not be modified.</doc>
7377
+ <array c:type="gchar**">
6895
7378
  <type name="utf8"/>
6896
7379
  </array>
6897
7380
  </return-value>
@@ -7077,6 +7560,78 @@ a %NULL-terminated array of strings or %NULL.</doc>
7077
7560
  c:type="GtkSourceLanguagePrivate"
7078
7561
  disguised="1">
7079
7562
  </record>
7563
+ <class name="Map"
7564
+ c:symbol-prefix="map"
7565
+ c:type="GtkSourceMap"
7566
+ parent="View"
7567
+ glib:type-name="GtkSourceMap"
7568
+ glib:get-type="gtk_source_map_get_type"
7569
+ glib:type-struct="MapClass">
7570
+ <implements name="Atk.ImplementorIface"/>
7571
+ <implements name="Gtk.Buildable"/>
7572
+ <implements name="Gtk.Scrollable"/>
7573
+ <constructor name="new" c:identifier="gtk_source_map_new" version="3.18">
7574
+ <doc xml:space="preserve">Creates a new #GtkSourceMap.</doc>
7575
+ <return-value transfer-ownership="none">
7576
+ <doc xml:space="preserve">a new #GtkSourceMap.</doc>
7577
+ <type name="Gtk.Widget" c:type="GtkWidget*"/>
7578
+ </return-value>
7579
+ </constructor>
7580
+ <method name="get_view"
7581
+ c:identifier="gtk_source_map_get_view"
7582
+ version="3.18">
7583
+ <doc xml:space="preserve">Gets the #GtkSourceMap:view property, which is the view this widget is mapping.</doc>
7584
+ <return-value transfer-ownership="none" nullable="1">
7585
+ <doc xml:space="preserve">a #GtkSourceView or %NULL.</doc>
7586
+ <type name="View" c:type="GtkSourceView*"/>
7587
+ </return-value>
7588
+ <parameters>
7589
+ <instance-parameter name="map" transfer-ownership="none">
7590
+ <doc xml:space="preserve">a #GtkSourceMap.</doc>
7591
+ <type name="Map" c:type="GtkSourceMap*"/>
7592
+ </instance-parameter>
7593
+ </parameters>
7594
+ </method>
7595
+ <method name="set_view"
7596
+ c:identifier="gtk_source_map_set_view"
7597
+ version="3.18">
7598
+ <doc xml:space="preserve">Sets the view that @map will be doing the mapping to.</doc>
7599
+ <return-value transfer-ownership="none">
7600
+ <type name="none" c:type="void"/>
7601
+ </return-value>
7602
+ <parameters>
7603
+ <instance-parameter name="map" transfer-ownership="none">
7604
+ <doc xml:space="preserve">a #GtkSourceMap</doc>
7605
+ <type name="Map" c:type="GtkSourceMap*"/>
7606
+ </instance-parameter>
7607
+ <parameter name="view" transfer-ownership="none">
7608
+ <doc xml:space="preserve">a #GtkSourceView</doc>
7609
+ <type name="View" c:type="GtkSourceView*"/>
7610
+ </parameter>
7611
+ </parameters>
7612
+ </method>
7613
+ <property name="font-desc" writable="1" transfer-ownership="none">
7614
+ <type name="Pango.FontDescription"/>
7615
+ </property>
7616
+ <property name="view" writable="1" transfer-ownership="none">
7617
+ <type name="View"/>
7618
+ </property>
7619
+ <field name="parent_instance">
7620
+ <type name="View" c:type="GtkSourceView"/>
7621
+ </field>
7622
+ </class>
7623
+ <record name="MapClass"
7624
+ c:type="GtkSourceMapClass"
7625
+ glib:is-gtype-struct-for="Map">
7626
+ <field name="parent_class">
7627
+ <type name="ViewClass" c:type="GtkSourceViewClass"/>
7628
+ </field>
7629
+ <field name="padding">
7630
+ <array zero-terminated="0" c:type="gpointer" fixed-size="10">
7631
+ <type name="gpointer" c:type="gpointer"/>
7632
+ </array>
7633
+ </field>
7634
+ </record>
7080
7635
  <class name="Mark"
7081
7636
  c:symbol-prefix="mark"
7082
7637
  c:type="GtkSourceMark"
@@ -7551,7 +8106,10 @@ g_free() when done with it.</doc>
7551
8106
  <doc xml:space="preserve">a #GtkSourceFile.</doc>
7552
8107
  <type name="File" c:type="GtkSourceFile*"/>
7553
8108
  </parameter>
7554
- <parameter name="userdata" transfer-ownership="none">
8109
+ <parameter name="userdata"
8110
+ transfer-ownership="none"
8111
+ nullable="1"
8112
+ allow-none="1">
7555
8113
  <doc xml:space="preserve">user data</doc>
7556
8114
  <type name="gpointer" c:type="gpointer"/>
7557
8115
  </parameter>
@@ -8123,24 +8681,8 @@ gtk_source_print_compositor_paginate() function.</doc>
8123
8681
  <method name="set_footer_format"
8124
8682
  c:identifier="gtk_source_print_compositor_set_footer_format"
8125
8683
  version="2.2">
8126
- <doc xml:space="preserve">Sets strftime like header format strings, to be printed on the
8127
- left, center and right of the bottom of each page. The strings may
8128
- include strftime(3) codes which will be expanded at print time.
8129
- All strftime() codes are accepted, with the addition of #N for the
8130
- page number and #Q for the page count.
8131
-
8132
- @separator specifies if a solid line should be drawn to separate
8133
- the footer from the document text.
8134
-
8135
- If %NULL is given for any of the three arguments, that particular
8136
- string will not be printed.
8137
-
8138
- For the footer to be printed, in
8139
- addition to specifying format strings, you need to enable footer
8140
- printing with gtk_source_print_compositor_set_print_footer().
8141
-
8142
- This function cannot be called anymore after the first call to the
8143
- gtk_source_print_compositor_paginate() function.</doc>
8684
+ <doc xml:space="preserve">See gtk_source_print_compositor_set_header_format() for more information
8685
+ about the parameters.</doc>
8144
8686
  <return-value transfer-ownership="none">
8145
8687
  <type name="none" c:type="void"/>
8146
8688
  </return-value>
@@ -8213,8 +8755,11 @@ gtk_source_print_compositor_paginate() function.</doc>
8213
8755
  <doc xml:space="preserve">Sets strftime like header format strings, to be printed on the
8214
8756
  left, center and right of the top of each page. The strings may
8215
8757
  include strftime(3) codes which will be expanded at print time.
8216
- All strftime() codes are accepted, with the addition of #N for the
8217
- page number and #Q for the page count.
8758
+ A subset of strftime() codes are accepted, see g_date_time_format()
8759
+ for more details on the accepted format specifiers.
8760
+ Additionally the following format specifiers are accepted:
8761
+ - #N: the page number
8762
+ - #Q: the page count.
8218
8763
 
8219
8764
  @separator specifies if a solid line should be drawn to separate
8220
8765
  the header from the document text.
@@ -8786,7 +9331,10 @@ ownership of @cancellable, so you can unref it after calling this function.</doc
8786
9331
  <doc xml:space="preserve">a #GAsyncReadyCallback to call when the operation is finished.</doc>
8787
9332
  <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
8788
9333
  </parameter>
8789
- <parameter name="user_data" transfer-ownership="none">
9334
+ <parameter name="user_data"
9335
+ transfer-ownership="none"
9336
+ nullable="1"
9337
+ allow-none="1">
8790
9338
  <doc xml:space="preserve">the data to pass to the @callback function.</doc>
8791
9339
  <type name="gpointer" c:type="gpointer"/>
8792
9340
  </parameter>
@@ -8907,7 +9455,10 @@ ownership of @cancellable, so you can unref it after calling this function.</doc
8907
9455
  <doc xml:space="preserve">a #GAsyncReadyCallback to call when the operation is finished.</doc>
8908
9456
  <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
8909
9457
  </parameter>
8910
- <parameter name="user_data" transfer-ownership="none">
9458
+ <parameter name="user_data"
9459
+ transfer-ownership="none"
9460
+ nullable="1"
9461
+ allow-none="1">
8911
9462
  <doc xml:space="preserve">the data to pass to the @callback function.</doc>
8912
9463
  <type name="gpointer" c:type="gpointer"/>
8913
9464
  </parameter>
@@ -9575,6 +10126,36 @@ non-whitespace character on the second press.</doc>
9575
10126
  non-whitespace character when the HOME/END keys are pressed.</doc>
9576
10127
  </member>
9577
10128
  </enumeration>
10129
+ <bitfield name="SortFlags"
10130
+ version="3.18"
10131
+ glib:type-name="GtkSourceSortFlags"
10132
+ glib:get-type="gtk_source_sort_flags_get_type"
10133
+ c:type="GtkSourceSortFlags">
10134
+ <member name="none"
10135
+ value="0"
10136
+ c:identifier="GTK_SOURCE_SORT_FLAGS_NONE"
10137
+ glib:nick="none">
10138
+ <doc xml:space="preserve">no flags specified</doc>
10139
+ </member>
10140
+ <member name="case_sensitive"
10141
+ value="1"
10142
+ c:identifier="GTK_SOURCE_SORT_FLAGS_CASE_SENSITIVE"
10143
+ glib:nick="case-sensitive">
10144
+ <doc xml:space="preserve">case sensitive sort</doc>
10145
+ </member>
10146
+ <member name="reverse_order"
10147
+ value="2"
10148
+ c:identifier="GTK_SOURCE_SORT_FLAGS_REVERSE_ORDER"
10149
+ glib:nick="reverse-order">
10150
+ <doc xml:space="preserve">sort in reverse order</doc>
10151
+ </member>
10152
+ <member name="remove_duplicates"
10153
+ value="4"
10154
+ c:identifier="GTK_SOURCE_SORT_FLAGS_REMOVE_DUPLICATES"
10155
+ glib:nick="remove-duplicates">
10156
+ <doc xml:space="preserve">remove duplicates</doc>
10157
+ </member>
10158
+ </bitfield>
9578
10159
  <class name="Style"
9579
10160
  c:symbol-prefix="style"
9580
10161
  c:type="GtkSourceStyle"
@@ -9657,6 +10238,12 @@ when you are done with it.</doc>
9657
10238
  transfer-ownership="none">
9658
10239
  <type name="gboolean" c:type="gboolean"/>
9659
10240
  </property>
10241
+ <property name="pango-underline"
10242
+ writable="1"
10243
+ construct-only="1"
10244
+ transfer-ownership="none">
10245
+ <type name="Pango.Underline"/>
10246
+ </property>
9660
10247
  <property name="scale"
9661
10248
  writable="1"
9662
10249
  construct-only="1"
@@ -9682,6 +10269,21 @@ when you are done with it.</doc>
9682
10269
  <type name="gboolean" c:type="gboolean"/>
9683
10270
  </property>
9684
10271
  <property name="underline"
10272
+ deprecated="1"
10273
+ deprecated-version="3.18"
10274
+ writable="1"
10275
+ construct-only="1"
10276
+ transfer-ownership="none">
10277
+ <doc-deprecated xml:space="preserve">Use pango-underline.</doc-deprecated>
10278
+ <type name="gboolean" c:type="gboolean"/>
10279
+ </property>
10280
+ <property name="underline-color"
10281
+ writable="1"
10282
+ construct-only="1"
10283
+ transfer-ownership="none">
10284
+ <type name="utf8" c:type="gchar*"/>
10285
+ </property>
10286
+ <property name="underline-color-set"
9685
10287
  writable="1"
9686
10288
  construct-only="1"
9687
10289
  transfer-ownership="none">
@@ -10128,10 +10730,10 @@ the @manager is accessed.</doc>
10128
10730
  <method name="get_scheme_ids"
10129
10731
  c:identifier="gtk_source_style_scheme_manager_get_scheme_ids">
10130
10732
  <doc xml:space="preserve">Returns the ids of the available style schemes.</doc>
10131
- <return-value transfer-ownership="none">
10132
- <doc xml:space="preserve">a %NULL-terminated array
10133
- of string containing the ids of the available style schemes or %NULL if no
10134
- style scheme is available.
10733
+ <return-value transfer-ownership="none" nullable="1">
10734
+ <doc xml:space="preserve">
10735
+ a %NULL-terminated array of strings containing the ids of the available
10736
+ style schemes or %NULL if no style scheme is available.
10135
10737
  The array is sorted alphabetically according to the scheme name.
10136
10738
  The array is owned by the @manager and must not be modified.</doc>
10137
10739
  <array c:type="gchar**">
@@ -10273,6 +10875,69 @@ a %NULL-terminated array of strings or %NULL.</doc>
10273
10875
  c:type="GtkSourceStyleSchemePrivate"
10274
10876
  disguised="1">
10275
10877
  </record>
10878
+ <class name="Tag"
10879
+ c:symbol-prefix="tag"
10880
+ c:type="GtkSourceTag"
10881
+ parent="Gtk.TextTag"
10882
+ glib:type-name="GtkSourceTag"
10883
+ glib:get-type="gtk_source_tag_get_type"
10884
+ glib:type-struct="TagClass">
10885
+ <constructor name="new" c:identifier="gtk_source_tag_new" version="3.20">
10886
+ <doc xml:space="preserve">Creates a #GtkSourceTag. Configure the tag using object arguments,
10887
+ i.e. using g_object_set().
10888
+
10889
+ For usual cases, gtk_source_buffer_create_source_tag() is more convenient to
10890
+ use.</doc>
10891
+ <return-value transfer-ownership="full">
10892
+ <doc xml:space="preserve">a new #GtkSourceTag.</doc>
10893
+ <type name="Gtk.TextTag" c:type="GtkTextTag*"/>
10894
+ </return-value>
10895
+ <parameters>
10896
+ <parameter name="name"
10897
+ transfer-ownership="none"
10898
+ nullable="1"
10899
+ allow-none="1">
10900
+ <doc xml:space="preserve">tag name, or %NULL.</doc>
10901
+ <type name="utf8" c:type="const gchar*"/>
10902
+ </parameter>
10903
+ </parameters>
10904
+ </constructor>
10905
+ <property name="draw-spaces"
10906
+ version="3.20"
10907
+ writable="1"
10908
+ transfer-ownership="none">
10909
+ <doc xml:space="preserve">Whether to draw spaces. This property takes precedence over the value
10910
+ defined by the GtkSourceView's #GtkSourceView:draw-spaces property
10911
+ (only where the tag is applied).
10912
+
10913
+ Setting this property also changes #GtkSourceTag:draw-spaces-set to
10914
+ %TRUE.</doc>
10915
+ <type name="gboolean" c:type="gboolean"/>
10916
+ </property>
10917
+ <property name="draw-spaces-set"
10918
+ version="3.20"
10919
+ writable="1"
10920
+ transfer-ownership="none">
10921
+ <doc xml:space="preserve">Whether the #GtkSourceTag:draw-spaces property is set and must be
10922
+ taken into account.</doc>
10923
+ <type name="gboolean" c:type="gboolean"/>
10924
+ </property>
10925
+ <field name="parent_instance">
10926
+ <type name="Gtk.TextTag" c:type="GtkTextTag"/>
10927
+ </field>
10928
+ </class>
10929
+ <record name="TagClass"
10930
+ c:type="GtkSourceTagClass"
10931
+ glib:is-gtype-struct-for="Tag">
10932
+ <field name="parent_class">
10933
+ <type name="Gtk.TextTagClass" c:type="GtkTextTagClass"/>
10934
+ </field>
10935
+ <field name="padding">
10936
+ <array zero-terminated="0" c:type="gpointer" fixed-size="10">
10937
+ <type name="gpointer" c:type="gpointer"/>
10938
+ </array>
10939
+ </field>
10940
+ </record>
10276
10941
  <interface name="UndoManager"
10277
10942
  c:symbol-prefix="undo_manager"
10278
10943
  c:type="GtkSourceUndoManager"
@@ -10850,8 +11515,7 @@ and mark category icons are rendered in the left gutter.</doc>
10850
11515
  </parameters>
10851
11516
  </method>
10852
11517
  <method name="get_indent_on_tab"
10853
- c:identifier="gtk_source_view_get_indent_on_tab"
10854
- version="1.8">
11518
+ c:identifier="gtk_source_view_get_indent_on_tab">
10855
11519
  <doc xml:space="preserve">Returns whether when the tab key is pressed the current selection
10856
11520
  should get indented instead of replaced with the \t character.</doc>
10857
11521
  <return-value transfer-ownership="none">
@@ -10975,6 +11639,22 @@ The object belongs to @view, so it must not be unreffed.</doc>
10975
11639
  </instance-parameter>
10976
11640
  </parameters>
10977
11641
  </method>
11642
+ <method name="get_smart_backspace"
11643
+ c:identifier="gtk_source_view_get_smart_backspace"
11644
+ version="3.18">
11645
+ <doc xml:space="preserve">Returns %TRUE if pressing the Backspace key will try to delete spaces
11646
+ up to the previous tab stop.</doc>
11647
+ <return-value transfer-ownership="none">
11648
+ <doc xml:space="preserve">%TRUE if smart Backspace handling is enabled.</doc>
11649
+ <type name="gboolean" c:type="gboolean"/>
11650
+ </return-value>
11651
+ <parameters>
11652
+ <instance-parameter name="view" transfer-ownership="none">
11653
+ <doc xml:space="preserve">a #GtkSourceView.</doc>
11654
+ <type name="View" c:type="GtkSourceView*"/>
11655
+ </instance-parameter>
11656
+ </parameters>
11657
+ </method>
10978
11658
  <method name="get_smart_home_end"
10979
11659
  c:identifier="gtk_source_view_get_smart_home_end">
10980
11660
  <doc xml:space="preserve">Returns a #GtkSourceSmartHomeEndType end value specifying
@@ -11090,7 +11770,10 @@ on the context.</doc>
11090
11770
  <method name="set_draw_spaces"
11091
11771
  c:identifier="gtk_source_view_set_draw_spaces">
11092
11772
  <doc xml:space="preserve">Set if and how the spaces should be visualized. Specifying @flags as 0 will
11093
- disable display of spaces.</doc>
11773
+ disable display of spaces.
11774
+
11775
+ For a finer-grained method, there is also the GtkSourceTag's
11776
+ #GtkSourceTag:draw-spaces property.</doc>
11094
11777
  <return-value transfer-ownership="none">
11095
11778
  <type name="none" c:type="void"/>
11096
11779
  </return-value>
@@ -11124,8 +11807,7 @@ be displayed</doc>
11124
11807
  </parameters>
11125
11808
  </method>
11126
11809
  <method name="set_indent_on_tab"
11127
- c:identifier="gtk_source_view_set_indent_on_tab"
11128
- version="1.8">
11810
+ c:identifier="gtk_source_view_set_indent_on_tab">
11129
11811
  <doc xml:space="preserve">If %TRUE, when the tab key is pressed when several lines are selected, the
11130
11812
  selected lines are indented of one level instead of being replaced with a \t
11131
11813
  character. Shift+Tab unindents the selection.
@@ -11298,6 +11980,25 @@ course it is still possible to insert a real \t programmatically with the
11298
11980
  </parameter>
11299
11981
  </parameters>
11300
11982
  </method>
11983
+ <method name="set_smart_backspace"
11984
+ c:identifier="gtk_source_view_set_smart_backspace"
11985
+ version="3.18">
11986
+ <doc xml:space="preserve">When set to %TRUE, pressing the Backspace key will try to delete spaces
11987
+ up to the previous tab stop.</doc>
11988
+ <return-value transfer-ownership="none">
11989
+ <type name="none" c:type="void"/>
11990
+ </return-value>
11991
+ <parameters>
11992
+ <instance-parameter name="view" transfer-ownership="none">
11993
+ <doc xml:space="preserve">a #GtkSourceView.</doc>
11994
+ <type name="View" c:type="GtkSourceView*"/>
11995
+ </instance-parameter>
11996
+ <parameter name="smart_backspace" transfer-ownership="none">
11997
+ <doc xml:space="preserve">whether to enable smart Backspace handling.</doc>
11998
+ <type name="gboolean" c:type="gboolean"/>
11999
+ </parameter>
12000
+ </parameters>
12001
+ </method>
11301
12002
  <method name="set_smart_home_end"
11302
12003
  c:identifier="gtk_source_view_set_smart_home_end">
11303
12004
  <doc xml:space="preserve">Set the desired movement of the cursor when HOME and END keys
@@ -11376,7 +12077,10 @@ specified lines.</doc>
11376
12077
  version="2.4"
11377
12078
  writable="1"
11378
12079
  transfer-ownership="none">
11379
- <doc xml:space="preserve">Set if and how the spaces should be visualized.</doc>
12080
+ <doc xml:space="preserve">Set if and how the spaces should be visualized.
12081
+
12082
+ For a finer-grained method, there is also the GtkSourceTag's
12083
+ #GtkSourceTag:draw-spaces property.</doc>
11380
12084
  <type name="DrawSpacesFlags"/>
11381
12085
  </property>
11382
12086
  <property name="highlight-current-line"
@@ -11418,6 +12122,13 @@ specified lines.</doc>
11418
12122
  <doc xml:space="preserve">Whether to display the right margin.</doc>
11419
12123
  <type name="gboolean" c:type="gboolean"/>
11420
12124
  </property>
12125
+ <property name="smart-backspace"
12126
+ version="3.18"
12127
+ writable="1"
12128
+ transfer-ownership="none">
12129
+ <doc xml:space="preserve">Whether smart Backspace should be used.</doc>
12130
+ <type name="gboolean" c:type="gboolean"/>
12131
+ </property>
11421
12132
  <property name="smart-home-end"
11422
12133
  version="2.0"
11423
12134
  writable="1"
@@ -11725,6 +12436,24 @@ all #GtkSourceEncoding's. Free with g_slist_free().</doc>
11725
12436
  <type name="Encoding" c:type="const GtkSourceEncoding*"/>
11726
12437
  </return-value>
11727
12438
  </function>
12439
+ <function name="encoding_get_default_candidates"
12440
+ c:identifier="gtk_source_encoding_get_default_candidates"
12441
+ moved-to="Encoding.get_default_candidates"
12442
+ version="3.18">
12443
+ <doc xml:space="preserve">Gets the list of default candidate encodings to try when loading a file. See
12444
+ gtk_source_file_loader_set_candidate_encodings().
12445
+
12446
+ This function returns a different list depending on the current locale (i.e.
12447
+ language, country and default encoding). The UTF-8 encoding and the current
12448
+ locale encoding are guaranteed to be present in the returned list.</doc>
12449
+ <return-value transfer-ownership="container">
12450
+ <doc xml:space="preserve">the list of
12451
+ default candidate encodings. Free with g_slist_free().</doc>
12452
+ <type name="GLib.SList" c:type="GSList*">
12453
+ <type name="Encoding"/>
12454
+ </type>
12455
+ </return-value>
12456
+ </function>
11728
12457
  <function name="encoding_get_from_charset"
11729
12458
  c:identifier="gtk_source_encoding_get_from_charset"
11730
12459
  moved-to="Encoding.get_from_charset"
@@ -11780,7 +12509,7 @@ better to escape those special characters to better fit in the search entry.
11780
12509
  See also: gtk_source_utils_unescape_search_text().
11781
12510
 
11782
12511
  &lt;warning&gt;
11783
- The escape and unescape functions are not reciprocal! For example,
12512
+ Warning: the escape and unescape functions are not reciprocal! For example,
11784
12513
  escape (unescape (\)) = \\. So avoid cycles such as: search entry -&gt; unescape
11785
12514
  -&gt; search settings -&gt; escape -&gt; search entry. The original search entry text
11786
12515
  may be modified.