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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (210) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +7 -1
  3. data/lib/gtksourceview3/loader.rb +0 -6
  4. data/vendor/local/bin/libgtksourceview-3.0-1.dll +0 -0
  5. data/vendor/local/include/gtksourceview-3.0/gtksourceview/completion-providers/words/gtksourcecompletionwords.h +11 -3
  6. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksource.h +10 -3
  7. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceautocleanups.h +11 -3
  8. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcebuffer.h +14 -7
  9. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletion.h +12 -4
  10. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletioncontext.h +12 -4
  11. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletioninfo.h +11 -3
  12. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionitem.h +11 -3
  13. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionproposal.h +11 -3
  14. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionprovider.h +11 -3
  15. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceencoding.h +11 -3
  16. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcefile.h +53 -3
  17. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcefileloader.h +13 -4
  18. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcefilesaver.h +14 -5
  19. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutter.h +11 -3
  20. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrenderer.h +15 -7
  21. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrendererpixbuf.h +11 -3
  22. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrenderertext.h +11 -3
  23. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcelanguage.h +11 -3
  24. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcelanguagemanager.h +16 -4
  25. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemap.h +11 -3
  26. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemark.h +11 -3
  27. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemarkattributes.h +11 -3
  28. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceprintcompositor.h +11 -3
  29. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceregion.h +132 -0
  30. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcesearchcontext.h +55 -9
  31. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcesearchsettings.h +11 -3
  32. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyle.h +17 -5
  33. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestylescheme.h +11 -3
  34. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschemechooser.h +12 -3
  35. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschemechooserbutton.h +11 -3
  36. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschemechooserwidget.h +8 -0
  37. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschememanager.h +15 -3
  38. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcetag.h +11 -3
  39. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcetypes.h +13 -60
  40. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceundomanager.h +11 -3
  41. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceutils.h +11 -3
  42. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceversion.h +33 -5
  43. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview-enumtypes.h +122 -0
  44. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview-typebuiltins.h +39 -114
  45. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview.h +57 -34
  46. data/vendor/local/lib/girepository-1.0/GtkSource-3.0.typelib +0 -0
  47. data/vendor/local/lib/libgtksourceview-3.0.dll.a +0 -0
  48. data/vendor/local/lib/libgtksourceview-3.0.la +4 -4
  49. data/vendor/local/lib/pkgconfig/gtksourceview-3.0.pc +1 -1
  50. data/vendor/local/share/gir-1.0/GtkSource-3.0.gir +749 -36
  51. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceBuffer.html +331 -320
  52. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletion.html +110 -108
  53. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionContext.html +37 -35
  54. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionInfo.html +47 -47
  55. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionItem.html +42 -42
  56. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProposal.html +62 -62
  57. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProvider.html +69 -69
  58. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionWords.html +35 -35
  59. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceEncoding.html +30 -30
  60. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFile.html +63 -60
  61. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileLoader.html +64 -62
  62. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileSaver.html +64 -60
  63. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutter.html +41 -41
  64. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRenderer.html +195 -187
  65. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererPixbuf.html +38 -38
  66. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererText.html +28 -28
  67. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguage.html +62 -62
  68. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguageManager.html +43 -43
  69. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMap.html +21 -21
  70. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMark.html +36 -36
  71. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMarkAttributes.html +75 -75
  72. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourcePrintCompositor.html +182 -182
  73. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceRegion.html +870 -0
  74. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchContext.html +539 -141
  75. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchSettings.html +57 -54
  76. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyle.html +98 -49
  77. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleScheme.html +42 -39
  78. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooser.html +10 -10
  79. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooserButton.html +14 -14
  80. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooserWidget.html +15 -15
  81. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeManager.html +32 -32
  82. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceTag.html +24 -22
  83. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceUndoManager.html +31 -31
  84. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceView.html +223 -212
  85. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/annotation-glossary.html +9 -10
  86. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-0.html +5 -5
  87. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-10.html +5 -5
  88. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-12.html +5 -5
  89. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-2.html +5 -5
  90. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-4.html +5 -5
  91. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-8.html +5 -5
  92. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-0.html +5 -5
  93. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-10.html +5 -5
  94. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-12.html +5 -5
  95. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-14.html +5 -5
  96. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-16.html +5 -5
  97. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-18.html +5 -5
  98. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-20.html +7 -7
  99. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-22.html +125 -0
  100. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-4.html +5 -5
  101. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-deprecated.html +25 -5
  102. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-full.html +107 -7
  103. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch01.html +1 -1
  104. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch02.html +1 -19
  105. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch03.html +13 -16
  106. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch04.html +20 -11
  107. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch05.html +11 -17
  108. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch06.html +27 -10
  109. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch07.html +10 -15
  110. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch08.html +9 -18
  111. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch09.html +22 -19
  112. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceUtils.html +16 -16
  113. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-Version-Information.html +37 -24
  114. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0.devhelp2 +65 -34
  115. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.html +20 -10
  116. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-reference.html +24 -18
  117. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-tutorial.html +5 -5
  118. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/object-tree.html +41 -22
  119. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/pt01.html +13 -7
  120. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/pt02.html +49 -0
  121. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/pt03.html +53 -0
  122. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style-reference.html +5 -5
  123. data/vendor/local/share/gtksourceview-3.0/language-specs/css.lang +2 -2
  124. data/vendor/local/share/gtksourceview-3.0/language-specs/jade.lang +8 -9
  125. data/vendor/local/share/gtksourceview-3.0/language-specs/latex.lang +28 -36
  126. data/vendor/local/share/gtksourceview-3.0/language-specs/python3.lang +4 -0
  127. data/vendor/local/share/gtksourceview-3.0/language-specs/rpmspec.lang +3 -2
  128. data/vendor/local/share/gtksourceview-3.0/language-specs/rust.lang +63 -30
  129. data/vendor/local/share/locale/ar/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  130. data/vendor/local/share/locale/as/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  131. data/vendor/local/share/locale/ast/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  132. data/vendor/local/share/locale/az/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  133. data/vendor/local/share/locale/be/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  134. data/vendor/local/share/locale/bg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  135. data/vendor/local/share/locale/bn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  136. data/vendor/local/share/locale/bn_IN/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  137. data/vendor/local/share/locale/bs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  138. data/vendor/local/share/locale/ca/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  139. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  140. data/vendor/local/share/locale/cs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  141. data/vendor/local/share/locale/cy/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  142. data/vendor/local/share/locale/da/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  143. data/vendor/local/share/locale/de/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  144. data/vendor/local/share/locale/dz/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  145. data/vendor/local/share/locale/el/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  146. data/vendor/local/share/locale/en@shaw/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  147. data/vendor/local/share/locale/en_CA/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  148. data/vendor/local/share/locale/en_GB/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  149. data/vendor/local/share/locale/eo/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  150. data/vendor/local/share/locale/es/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  151. data/vendor/local/share/locale/et/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  152. data/vendor/local/share/locale/eu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  153. data/vendor/local/share/locale/fa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  154. data/vendor/local/share/locale/fi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  155. data/vendor/local/share/locale/fr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  156. data/vendor/local/share/locale/ga/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  157. data/vendor/local/share/locale/gl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  158. data/vendor/local/share/locale/gu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  159. data/vendor/local/share/locale/he/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  160. data/vendor/local/share/locale/hi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  161. data/vendor/local/share/locale/hr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  162. data/vendor/local/share/locale/hu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  163. data/vendor/local/share/locale/id/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  164. data/vendor/local/share/locale/it/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  165. data/vendor/local/share/locale/ja/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  166. data/vendor/local/share/locale/kk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  167. data/vendor/local/share/locale/kn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  168. data/vendor/local/share/locale/ko/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  169. data/vendor/local/share/locale/lt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  170. data/vendor/local/share/locale/lv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  171. data/vendor/local/share/locale/mai/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  172. data/vendor/local/share/locale/mg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  173. data/vendor/local/share/locale/mk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  174. data/vendor/local/share/locale/ml/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  175. data/vendor/local/share/locale/mn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  176. data/vendor/local/share/locale/mr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  177. data/vendor/local/share/locale/ms/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  178. data/vendor/local/share/locale/nb/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  179. data/vendor/local/share/locale/ne/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  180. data/vendor/local/share/locale/nl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  181. data/vendor/local/share/locale/nn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  182. data/vendor/local/share/locale/oc/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  183. data/vendor/local/share/locale/or/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  184. data/vendor/local/share/locale/pa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  185. data/vendor/local/share/locale/pl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  186. data/vendor/local/share/locale/pt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  187. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  188. data/vendor/local/share/locale/ro/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  189. data/vendor/local/share/locale/ru/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  190. data/vendor/local/share/locale/rw/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  191. data/vendor/local/share/locale/si/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  192. data/vendor/local/share/locale/sk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  193. data/vendor/local/share/locale/sl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  194. data/vendor/local/share/locale/sq/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  195. data/vendor/local/share/locale/sr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  196. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  197. data/vendor/local/share/locale/sv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  198. data/vendor/local/share/locale/ta/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  199. data/vendor/local/share/locale/te/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  200. data/vendor/local/share/locale/tg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  201. data/vendor/local/share/locale/th/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  202. data/vendor/local/share/locale/tr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  203. data/vendor/local/share/locale/ug/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  204. data/vendor/local/share/locale/uk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  205. data/vendor/local/share/locale/vi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  206. data/vendor/local/share/locale/xh/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  207. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  208. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  209. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  210. metadata +13 -7
@@ -780,12 +780,15 @@ closing bracket character will be highlighted.</doc>
780
780
  </method>
781
781
  <method name="set_highlight_syntax"
782
782
  c:identifier="gtk_source_buffer_set_highlight_syntax">
783
- <doc xml:space="preserve">Controls whether syntax is highlighted in the buffer. If @highlight
784
- is %TRUE, the text will be highlighted according to the syntax
785
- patterns specified in the language set with
786
- gtk_source_buffer_set_language(). If @highlight is %FALSE, syntax highlighting
787
- is disabled and all the GtkTextTag objects that have been added by the
788
- syntax highlighting engine are removed from the buffer.</doc>
783
+ <doc xml:space="preserve">Controls whether syntax is highlighted in the buffer.
784
+
785
+ If @highlight is %TRUE, the text will be highlighted according to the syntax
786
+ patterns specified in the #GtkSourceLanguage set with
787
+ gtk_source_buffer_set_language().
788
+
789
+ If @highlight is %FALSE, syntax highlighting is disabled and all the
790
+ #GtkTextTag objects that have been added by the syntax highlighting engine
791
+ are removed from the buffer.</doc>
789
792
  <return-value transfer-ownership="none">
790
793
  <type name="none" c:type="void"/>
791
794
  </return-value>
@@ -835,11 +838,11 @@ content is not modified when saved into a file.</doc>
835
838
  </method>
836
839
  <method name="set_language"
837
840
  c:identifier="gtk_source_buffer_set_language">
838
- <doc xml:space="preserve">Associate a #GtkSourceLanguage with the buffer. If @language is
839
- not-%NULL and syntax highlighting is enabled (see gtk_source_buffer_set_highlight_syntax()),
840
- the syntax patterns defined in @language will be used to highlight the text
841
- contained in the buffer. If @language is %NULL, the text contained in the
842
- buffer is not highlighted.
841
+ <doc xml:space="preserve">Associates a #GtkSourceLanguage with the buffer.
842
+
843
+ Note that a #GtkSourceLanguage affects not only the syntax highlighting, but
844
+ also the [context classes][context-classes]. If you want to disable just the
845
+ syntax highlighting, see gtk_source_buffer_set_highlight_syntax().
843
846
 
844
847
  The buffer holds a reference to @language.</doc>
845
848
  <return-value transfer-ownership="none">
@@ -884,8 +887,19 @@ If @max_undo_levels is 0, the undo/redo is disabled.</doc>
884
887
  </method>
885
888
  <method name="set_style_scheme"
886
889
  c:identifier="gtk_source_buffer_set_style_scheme">
887
- <doc xml:space="preserve">Sets style scheme used by the buffer. If @scheme is %NULL no
888
- style scheme is used.</doc>
890
+ <doc xml:space="preserve">Sets a #GtkSourceStyleScheme to be used by the buffer and the view.
891
+
892
+ Note that a #GtkSourceStyleScheme affects not only the syntax highlighting,
893
+ but also other #GtkSourceView features such as highlighting the current line,
894
+ matching brackets, the line numbers, etc.
895
+
896
+ Instead of setting a %NULL @scheme, it is better to disable syntax
897
+ highlighting with gtk_source_buffer_set_highlight_syntax(), and setting the
898
+ #GtkSourceStyleScheme with the "classic" or "tango" ID, because those two
899
+ style schemes follow more closely the GTK+ theme (for example for the
900
+ background color).
901
+
902
+ The buffer holds a reference to @scheme.</doc>
889
903
  <return-value transfer-ownership="none">
890
904
  <type name="none" c:type="void"/>
891
905
  </return-value>
@@ -3757,14 +3771,14 @@ info widget.</doc>
3757
3771
  transfer-ownership="none"
3758
3772
  nullable="1"
3759
3773
  allow-none="1">
3760
- <doc xml:space="preserve">The name for the provider</doc>
3774
+ <doc xml:space="preserve">The name for the provider, or %NULL.</doc>
3761
3775
  <type name="utf8" c:type="const gchar*"/>
3762
3776
  </parameter>
3763
3777
  <parameter name="icon"
3764
3778
  transfer-ownership="none"
3765
3779
  nullable="1"
3766
3780
  allow-none="1">
3767
- <doc xml:space="preserve">A specific icon for the provider</doc>
3781
+ <doc xml:space="preserve">A specific icon for the provider, or %NULL.</doc>
3768
3782
  <type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
3769
3783
  </parameter>
3770
3784
  </parameters>
@@ -3914,7 +3928,9 @@ the line will be drawn (i.e. it has the same effect as specifying all of them).<
3914
3928
  value="4"
3915
3929
  c:identifier="GTK_SOURCE_DRAW_SPACES_NEWLINE"
3916
3930
  glib:nick="newline">
3917
- <doc xml:space="preserve">whether the line breaks should be drawn.</doc>
3931
+ <doc xml:space="preserve">whether the line breaks should be drawn. If
3932
+ the #GtkSourceBuffer:implicit-trailing-newline property is %TRUE, a line
3933
+ break is also drawn at the end of the buffer.</doc>
3918
3934
  </member>
3919
3935
  <member name="nbsp"
3920
3936
  value="8"
@@ -5852,7 +5868,8 @@ be taken into account to properly draw the different possible states
5852
5868
  transfer-ownership="none"
5853
5869
  optional="1"
5854
5870
  allow-none="1">
5855
- <doc xml:space="preserve">return location for the x-alignment (can be %NULL)</doc>
5871
+ <doc xml:space="preserve">return location for the x-alignment,
5872
+ or %NULL to ignore.</doc>
5856
5873
  <type name="gfloat" c:type="gfloat*"/>
5857
5874
  </parameter>
5858
5875
  <parameter name="yalign"
@@ -5861,7 +5878,8 @@ be taken into account to properly draw the different possible states
5861
5878
  transfer-ownership="none"
5862
5879
  optional="1"
5863
5880
  allow-none="1">
5864
- <doc xml:space="preserve">return location for the y-alignment (can be %NULL)</doc>
5881
+ <doc xml:space="preserve">return location for the y-alignment,
5882
+ or %NULL to ignore.</doc>
5865
5883
  <type name="gfloat" c:type="gfloat*"/>
5866
5884
  </parameter>
5867
5885
  </parameters>
@@ -5922,7 +5940,8 @@ renderer is aligned (see :xalign and :yalign).</doc>
5922
5940
  transfer-ownership="none"
5923
5941
  optional="1"
5924
5942
  allow-none="1">
5925
- <doc xml:space="preserve">return location for the x-padding (can be %NULL)</doc>
5943
+ <doc xml:space="preserve">return location for the x-padding,
5944
+ or %NULL to ignore.</doc>
5926
5945
  <type name="gint" c:type="gint*"/>
5927
5946
  </parameter>
5928
5947
  <parameter name="ypad"
@@ -5931,7 +5950,8 @@ renderer is aligned (see :xalign and :yalign).</doc>
5931
5950
  transfer-ownership="none"
5932
5951
  optional="1"
5933
5952
  allow-none="1">
5934
- <doc xml:space="preserve">return location for the y-padding (can be %NULL)</doc>
5953
+ <doc xml:space="preserve">return location for the y-padding,
5954
+ or %NULL to ignore.</doc>
5935
5955
  <type name="gint" c:type="gint*"/>
5936
5956
  </parameter>
5937
5957
  </parameters>
@@ -6782,7 +6802,7 @@ text wrapping).</doc>
6782
6802
  transfer-ownership="none"
6783
6803
  nullable="1"
6784
6804
  allow-none="1">
6785
- <doc xml:space="preserve">the icon</doc>
6805
+ <doc xml:space="preserve">the icon, or %NULL.</doc>
6786
6806
  <type name="Gio.Icon" c:type="GIcon*"/>
6787
6807
  </parameter>
6788
6808
  </parameters>
@@ -6802,7 +6822,7 @@ text wrapping).</doc>
6802
6822
  transfer-ownership="none"
6803
6823
  nullable="1"
6804
6824
  allow-none="1">
6805
- <doc xml:space="preserve">the icon name</doc>
6825
+ <doc xml:space="preserve">the icon name, or %NULL.</doc>
6806
6826
  <type name="utf8" c:type="const gchar*"/>
6807
6827
  </parameter>
6808
6828
  </parameters>
@@ -6822,7 +6842,7 @@ text wrapping).</doc>
6822
6842
  transfer-ownership="none"
6823
6843
  nullable="1"
6824
6844
  allow-none="1">
6825
- <doc xml:space="preserve">the pixbuf</doc>
6845
+ <doc xml:space="preserve">the pixbuf, or %NULL.</doc>
6826
6846
  <type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
6827
6847
  </parameter>
6828
6848
  </parameters>
@@ -9223,6 +9243,378 @@ call to the gtk_source_print_compositor_paginate() function.</doc>
9223
9243
  c:type="GtkSourcePrintCompositorPrivate"
9224
9244
  disguised="1">
9225
9245
  </record>
9246
+ <class name="Region"
9247
+ c:symbol-prefix="region"
9248
+ c:type="GtkSourceRegion"
9249
+ parent="GObject.Object"
9250
+ glib:type-name="GtkSourceRegion"
9251
+ glib:get-type="gtk_source_region_get_type"
9252
+ glib:type-struct="RegionClass">
9253
+ <constructor name="new"
9254
+ c:identifier="gtk_source_region_new"
9255
+ version="3.22">
9256
+ <return-value transfer-ownership="full">
9257
+ <doc xml:space="preserve">a new #GtkSourceRegion object for @buffer.</doc>
9258
+ <type name="Region" c:type="GtkSourceRegion*"/>
9259
+ </return-value>
9260
+ <parameters>
9261
+ <parameter name="buffer" transfer-ownership="none">
9262
+ <doc xml:space="preserve">a #GtkTextBuffer.</doc>
9263
+ <type name="Gtk.TextBuffer" c:type="GtkTextBuffer*"/>
9264
+ </parameter>
9265
+ </parameters>
9266
+ </constructor>
9267
+ <method name="add_region"
9268
+ c:identifier="gtk_source_region_add_region"
9269
+ version="3.22">
9270
+ <doc xml:space="preserve">Adds @region_to_add to @region. @region_to_add is not modified.</doc>
9271
+ <return-value transfer-ownership="none">
9272
+ <type name="none" c:type="void"/>
9273
+ </return-value>
9274
+ <parameters>
9275
+ <instance-parameter name="region" transfer-ownership="none">
9276
+ <doc xml:space="preserve">a #GtkSourceRegion.</doc>
9277
+ <type name="Region" c:type="GtkSourceRegion*"/>
9278
+ </instance-parameter>
9279
+ <parameter name="region_to_add"
9280
+ transfer-ownership="none"
9281
+ nullable="1"
9282
+ allow-none="1">
9283
+ <doc xml:space="preserve">the #GtkSourceRegion to add to @region, or %NULL.</doc>
9284
+ <type name="Region" c:type="GtkSourceRegion*"/>
9285
+ </parameter>
9286
+ </parameters>
9287
+ </method>
9288
+ <method name="add_subregion"
9289
+ c:identifier="gtk_source_region_add_subregion"
9290
+ version="3.22">
9291
+ <doc xml:space="preserve">Adds the subregion delimited by @_start and @_end to @region.</doc>
9292
+ <return-value transfer-ownership="none">
9293
+ <type name="none" c:type="void"/>
9294
+ </return-value>
9295
+ <parameters>
9296
+ <instance-parameter name="region" transfer-ownership="none">
9297
+ <doc xml:space="preserve">a #GtkSourceRegion.</doc>
9298
+ <type name="Region" c:type="GtkSourceRegion*"/>
9299
+ </instance-parameter>
9300
+ <parameter name="_start" transfer-ownership="none">
9301
+ <doc xml:space="preserve">the start of the subregion.</doc>
9302
+ <type name="Gtk.TextIter" c:type="const GtkTextIter*"/>
9303
+ </parameter>
9304
+ <parameter name="_end" transfer-ownership="none">
9305
+ <doc xml:space="preserve">the end of the subregion.</doc>
9306
+ <type name="Gtk.TextIter" c:type="const GtkTextIter*"/>
9307
+ </parameter>
9308
+ </parameters>
9309
+ </method>
9310
+ <method name="get_bounds"
9311
+ c:identifier="gtk_source_region_get_bounds"
9312
+ version="3.22">
9313
+ <doc xml:space="preserve">Gets the @start and @end bounds of the @region.</doc>
9314
+ <return-value transfer-ownership="none">
9315
+ <doc xml:space="preserve">%TRUE if @start and @end have been set successfully (if non-%NULL),
9316
+ or %FALSE if the @region is empty.</doc>
9317
+ <type name="gboolean" c:type="gboolean"/>
9318
+ </return-value>
9319
+ <parameters>
9320
+ <instance-parameter name="region" transfer-ownership="none">
9321
+ <doc xml:space="preserve">a #GtkSourceRegion.</doc>
9322
+ <type name="Region" c:type="GtkSourceRegion*"/>
9323
+ </instance-parameter>
9324
+ <parameter name="start"
9325
+ direction="out"
9326
+ caller-allocates="1"
9327
+ transfer-ownership="none"
9328
+ optional="1"
9329
+ allow-none="1">
9330
+ <doc xml:space="preserve">iterator to initialize with the start of @region,
9331
+ or %NULL.</doc>
9332
+ <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
9333
+ </parameter>
9334
+ <parameter name="end"
9335
+ direction="out"
9336
+ caller-allocates="1"
9337
+ transfer-ownership="none"
9338
+ optional="1"
9339
+ allow-none="1">
9340
+ <doc xml:space="preserve">iterator to initialize with the end of @region,
9341
+ or %NULL.</doc>
9342
+ <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
9343
+ </parameter>
9344
+ </parameters>
9345
+ </method>
9346
+ <method name="get_buffer"
9347
+ c:identifier="gtk_source_region_get_buffer"
9348
+ version="3.22">
9349
+ <return-value transfer-ownership="none" nullable="1">
9350
+ <doc xml:space="preserve">the #GtkTextBuffer.</doc>
9351
+ <type name="Gtk.TextBuffer" c:type="GtkTextBuffer*"/>
9352
+ </return-value>
9353
+ <parameters>
9354
+ <instance-parameter name="region" transfer-ownership="none">
9355
+ <doc xml:space="preserve">a #GtkSourceRegion.</doc>
9356
+ <type name="Region" c:type="GtkSourceRegion*"/>
9357
+ </instance-parameter>
9358
+ </parameters>
9359
+ </method>
9360
+ <method name="get_start_region_iter"
9361
+ c:identifier="gtk_source_region_get_start_region_iter"
9362
+ version="3.22">
9363
+ <doc xml:space="preserve">Initializes a #GtkSourceRegionIter to the first subregion of @region. If
9364
+ @region is empty, @iter will be initialized to the end iterator.</doc>
9365
+ <return-value transfer-ownership="none">
9366
+ <type name="none" c:type="void"/>
9367
+ </return-value>
9368
+ <parameters>
9369
+ <instance-parameter name="region" transfer-ownership="none">
9370
+ <doc xml:space="preserve">a #GtkSourceRegion.</doc>
9371
+ <type name="Region" c:type="GtkSourceRegion*"/>
9372
+ </instance-parameter>
9373
+ <parameter name="iter"
9374
+ direction="out"
9375
+ caller-allocates="1"
9376
+ transfer-ownership="none">
9377
+ <doc xml:space="preserve">iterator to initialize to the first subregion.</doc>
9378
+ <type name="RegionIter" c:type="GtkSourceRegionIter*"/>
9379
+ </parameter>
9380
+ </parameters>
9381
+ </method>
9382
+ <method name="intersect_region"
9383
+ c:identifier="gtk_source_region_intersect_region"
9384
+ version="3.22">
9385
+ <doc xml:space="preserve">Returns the intersection between @region1 and @region2. @region1 and
9386
+ @region2 are not modified.</doc>
9387
+ <return-value transfer-ownership="full" nullable="1">
9388
+ <doc xml:space="preserve">the intersection as a #GtkSourceRegion
9389
+ object.</doc>
9390
+ <type name="Region" c:type="GtkSourceRegion*"/>
9391
+ </return-value>
9392
+ <parameters>
9393
+ <instance-parameter name="region1"
9394
+ transfer-ownership="none"
9395
+ nullable="1"
9396
+ allow-none="1">
9397
+ <doc xml:space="preserve">a #GtkSourceRegion, or %NULL.</doc>
9398
+ <type name="Region" c:type="GtkSourceRegion*"/>
9399
+ </instance-parameter>
9400
+ <parameter name="region2"
9401
+ transfer-ownership="none"
9402
+ nullable="1"
9403
+ allow-none="1">
9404
+ <doc xml:space="preserve">a #GtkSourceRegion, or %NULL.</doc>
9405
+ <type name="Region" c:type="GtkSourceRegion*"/>
9406
+ </parameter>
9407
+ </parameters>
9408
+ </method>
9409
+ <method name="intersect_subregion"
9410
+ c:identifier="gtk_source_region_intersect_subregion"
9411
+ version="3.22">
9412
+ <doc xml:space="preserve">Returns the intersection between @region and the subregion delimited by
9413
+ @_start and @_end. @region is not modified.</doc>
9414
+ <return-value transfer-ownership="full" nullable="1">
9415
+ <doc xml:space="preserve">the intersection as a new
9416
+ #GtkSourceRegion.</doc>
9417
+ <type name="Region" c:type="GtkSourceRegion*"/>
9418
+ </return-value>
9419
+ <parameters>
9420
+ <instance-parameter name="region" transfer-ownership="none">
9421
+ <doc xml:space="preserve">a #GtkSourceRegion.</doc>
9422
+ <type name="Region" c:type="GtkSourceRegion*"/>
9423
+ </instance-parameter>
9424
+ <parameter name="_start" transfer-ownership="none">
9425
+ <doc xml:space="preserve">the start of the subregion.</doc>
9426
+ <type name="Gtk.TextIter" c:type="const GtkTextIter*"/>
9427
+ </parameter>
9428
+ <parameter name="_end" transfer-ownership="none">
9429
+ <doc xml:space="preserve">the end of the subregion.</doc>
9430
+ <type name="Gtk.TextIter" c:type="const GtkTextIter*"/>
9431
+ </parameter>
9432
+ </parameters>
9433
+ </method>
9434
+ <method name="is_empty"
9435
+ c:identifier="gtk_source_region_is_empty"
9436
+ version="3.22">
9437
+ <doc xml:space="preserve">Returns whether the @region is empty. A %NULL @region is considered empty.</doc>
9438
+ <return-value transfer-ownership="none">
9439
+ <doc xml:space="preserve">whether the @region is empty.</doc>
9440
+ <type name="gboolean" c:type="gboolean"/>
9441
+ </return-value>
9442
+ <parameters>
9443
+ <instance-parameter name="region"
9444
+ transfer-ownership="none"
9445
+ nullable="1"
9446
+ allow-none="1">
9447
+ <doc xml:space="preserve">a #GtkSourceRegion, or %NULL.</doc>
9448
+ <type name="Region" c:type="GtkSourceRegion*"/>
9449
+ </instance-parameter>
9450
+ </parameters>
9451
+ </method>
9452
+ <method name="subtract_region"
9453
+ c:identifier="gtk_source_region_subtract_region"
9454
+ version="3.22">
9455
+ <doc xml:space="preserve">Subtracts @region_to_subtract from @region. @region_to_subtract is not
9456
+ modified.</doc>
9457
+ <return-value transfer-ownership="none">
9458
+ <type name="none" c:type="void"/>
9459
+ </return-value>
9460
+ <parameters>
9461
+ <instance-parameter name="region" transfer-ownership="none">
9462
+ <doc xml:space="preserve">a #GtkSourceRegion.</doc>
9463
+ <type name="Region" c:type="GtkSourceRegion*"/>
9464
+ </instance-parameter>
9465
+ <parameter name="region_to_subtract"
9466
+ transfer-ownership="none"
9467
+ nullable="1"
9468
+ allow-none="1">
9469
+ <doc xml:space="preserve">the #GtkSourceRegion to subtract from
9470
+ @region, or %NULL.</doc>
9471
+ <type name="Region" c:type="GtkSourceRegion*"/>
9472
+ </parameter>
9473
+ </parameters>
9474
+ </method>
9475
+ <method name="subtract_subregion"
9476
+ c:identifier="gtk_source_region_subtract_subregion"
9477
+ version="3.22">
9478
+ <doc xml:space="preserve">Subtracts the subregion delimited by @_start and @_end from @region.</doc>
9479
+ <return-value transfer-ownership="none">
9480
+ <type name="none" c:type="void"/>
9481
+ </return-value>
9482
+ <parameters>
9483
+ <instance-parameter name="region" transfer-ownership="none">
9484
+ <doc xml:space="preserve">a #GtkSourceRegion.</doc>
9485
+ <type name="Region" c:type="GtkSourceRegion*"/>
9486
+ </instance-parameter>
9487
+ <parameter name="_start" transfer-ownership="none">
9488
+ <doc xml:space="preserve">the start of the subregion.</doc>
9489
+ <type name="Gtk.TextIter" c:type="const GtkTextIter*"/>
9490
+ </parameter>
9491
+ <parameter name="_end" transfer-ownership="none">
9492
+ <doc xml:space="preserve">the end of the subregion.</doc>
9493
+ <type name="Gtk.TextIter" c:type="const GtkTextIter*"/>
9494
+ </parameter>
9495
+ </parameters>
9496
+ </method>
9497
+ <method name="to_string"
9498
+ c:identifier="gtk_source_region_to_string"
9499
+ version="3.22">
9500
+ <doc xml:space="preserve">Gets a string represention of @region, for debugging purposes.
9501
+
9502
+ The returned string contains the character offsets of the subregions. It
9503
+ doesn't include a newline character at the end of the string.</doc>
9504
+ <return-value transfer-ownership="full" nullable="1">
9505
+ <doc xml:space="preserve">a string represention of @region. Free
9506
+ with g_free() when no longer needed.</doc>
9507
+ <type name="utf8" c:type="gchar*"/>
9508
+ </return-value>
9509
+ <parameters>
9510
+ <instance-parameter name="region" transfer-ownership="none">
9511
+ <doc xml:space="preserve">a #GtkSourceRegion.</doc>
9512
+ <type name="Region" c:type="GtkSourceRegion*"/>
9513
+ </instance-parameter>
9514
+ </parameters>
9515
+ </method>
9516
+ <property name="buffer"
9517
+ version="3.22"
9518
+ writable="1"
9519
+ construct-only="1"
9520
+ transfer-ownership="none">
9521
+ <doc xml:space="preserve">The #GtkTextBuffer. The #GtkSourceRegion has a weak reference to the
9522
+ buffer.</doc>
9523
+ <type name="Gtk.TextBuffer"/>
9524
+ </property>
9525
+ <field name="parent_instance">
9526
+ <type name="GObject.Object" c:type="GObject"/>
9527
+ </field>
9528
+ </class>
9529
+ <record name="RegionClass"
9530
+ c:type="GtkSourceRegionClass"
9531
+ glib:is-gtype-struct-for="Region">
9532
+ <field name="parent_class">
9533
+ <type name="GObject.ObjectClass" c:type="GObjectClass"/>
9534
+ </field>
9535
+ <field name="padding">
9536
+ <array zero-terminated="0" c:type="gpointer" fixed-size="8">
9537
+ <type name="gpointer" c:type="gpointer"/>
9538
+ </array>
9539
+ </field>
9540
+ </record>
9541
+ <record name="RegionIter" c:type="GtkSourceRegionIter" version="3.22">
9542
+ <doc xml:space="preserve">#GtkSourceRegionIter is an opaque datatype; ignore all its fields.
9543
+ Initialize the iter with gtk_source_region_get_start_region_iter().</doc>
9544
+ <field name="dummy1" readable="0" private="1">
9545
+ <type name="gpointer" c:type="gpointer"/>
9546
+ </field>
9547
+ <field name="dummy2" readable="0" private="1">
9548
+ <type name="guint32" c:type="guint32"/>
9549
+ </field>
9550
+ <field name="dummy3" readable="0" private="1">
9551
+ <type name="gpointer" c:type="gpointer"/>
9552
+ </field>
9553
+ <method name="get_subregion"
9554
+ c:identifier="gtk_source_region_iter_get_subregion"
9555
+ version="3.22">
9556
+ <doc xml:space="preserve">Gets the subregion at this iterator.</doc>
9557
+ <return-value transfer-ownership="none">
9558
+ <doc xml:space="preserve">%TRUE if @start and @end have been set successfully (if non-%NULL),
9559
+ or %FALSE if @iter is the end iterator or if the region is empty.</doc>
9560
+ <type name="gboolean" c:type="gboolean"/>
9561
+ </return-value>
9562
+ <parameters>
9563
+ <instance-parameter name="iter" transfer-ownership="none">
9564
+ <doc xml:space="preserve">a #GtkSourceRegionIter.</doc>
9565
+ <type name="RegionIter" c:type="GtkSourceRegionIter*"/>
9566
+ </instance-parameter>
9567
+ <parameter name="start"
9568
+ direction="out"
9569
+ caller-allocates="1"
9570
+ transfer-ownership="none"
9571
+ optional="1"
9572
+ allow-none="1">
9573
+ <doc xml:space="preserve">iterator to initialize with the subregion start, or %NULL.</doc>
9574
+ <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
9575
+ </parameter>
9576
+ <parameter name="end"
9577
+ direction="out"
9578
+ caller-allocates="1"
9579
+ transfer-ownership="none"
9580
+ optional="1"
9581
+ allow-none="1">
9582
+ <doc xml:space="preserve">iterator to initialize with the subregion end, or %NULL.</doc>
9583
+ <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
9584
+ </parameter>
9585
+ </parameters>
9586
+ </method>
9587
+ <method name="is_end"
9588
+ c:identifier="gtk_source_region_iter_is_end"
9589
+ version="3.22">
9590
+ <return-value transfer-ownership="none">
9591
+ <doc xml:space="preserve">whether @iter is the end iterator.</doc>
9592
+ <type name="gboolean" c:type="gboolean"/>
9593
+ </return-value>
9594
+ <parameters>
9595
+ <instance-parameter name="iter" transfer-ownership="none">
9596
+ <doc xml:space="preserve">a #GtkSourceRegionIter.</doc>
9597
+ <type name="RegionIter" c:type="GtkSourceRegionIter*"/>
9598
+ </instance-parameter>
9599
+ </parameters>
9600
+ </method>
9601
+ <method name="next"
9602
+ c:identifier="gtk_source_region_iter_next"
9603
+ version="3.22">
9604
+ <doc xml:space="preserve">Moves @iter to the next subregion.</doc>
9605
+ <return-value transfer-ownership="none">
9606
+ <doc xml:space="preserve">%TRUE if @iter moved and is dereferenceable, or %FALSE if @iter has
9607
+ been set to the end iterator.</doc>
9608
+ <type name="gboolean" c:type="gboolean"/>
9609
+ </return-value>
9610
+ <parameters>
9611
+ <instance-parameter name="iter" transfer-ownership="none">
9612
+ <doc xml:space="preserve">a #GtkSourceRegionIter.</doc>
9613
+ <type name="RegionIter" c:type="GtkSourceRegionIter*"/>
9614
+ </instance-parameter>
9615
+ </parameters>
9616
+ </method>
9617
+ </record>
9226
9618
  <class name="SearchContext"
9227
9619
  c:symbol-prefix="search_context"
9228
9620
  c:type="GtkSourceSearchContext"
@@ -9257,10 +9649,13 @@ gtk_source_search_context_get_settings().</doc>
9257
9649
  </constructor>
9258
9650
  <method name="backward"
9259
9651
  c:identifier="gtk_source_search_context_backward"
9260
- version="3.10">
9652
+ version="3.10"
9653
+ deprecated="1"
9654
+ deprecated-version="3.22">
9261
9655
  <doc xml:space="preserve">Synchronous backward search. It is recommended to use the asynchronous
9262
9656
  functions instead, to not block the user interface. However, if you are sure
9263
9657
  that the @buffer is small, this function is more convenient to use.</doc>
9658
+ <doc-deprecated xml:space="preserve">Use gtk_source_search_context_backward2() instead.</doc-deprecated>
9264
9659
  <return-value transfer-ownership="none">
9265
9660
  <doc xml:space="preserve">whether a match was found.</doc>
9266
9661
  <type name="gboolean" c:type="gboolean"/>
@@ -9294,11 +9689,74 @@ that the @buffer is small, this function is more convenient to use.</doc>
9294
9689
  </parameter>
9295
9690
  </parameters>
9296
9691
  </method>
9692
+ <method name="backward2"
9693
+ c:identifier="gtk_source_search_context_backward2"
9694
+ version="3.22">
9695
+ <doc xml:space="preserve">Synchronous backward search. It is recommended to use the asynchronous
9696
+ functions instead, to not block the user interface. However, if you are sure
9697
+ that the @buffer is small, this function is more convenient to use.
9698
+
9699
+ The difference with gtk_source_search_context_backward() is that the
9700
+ @has_wrapped_around out parameter has been added for convenience.
9701
+
9702
+ If the #GtkSourceSearchSettings:wrap-around property is %FALSE, this function
9703
+ doesn't try to wrap around.
9704
+
9705
+ The @has_wrapped_around out parameter is set independently of whether a match
9706
+ is found. So if this function returns %FALSE, @has_wrapped_around will have
9707
+ the same value as the #GtkSourceSearchSettings:wrap-around property.</doc>
9708
+ <return-value transfer-ownership="none">
9709
+ <doc xml:space="preserve">whether a match was found.</doc>
9710
+ <type name="gboolean" c:type="gboolean"/>
9711
+ </return-value>
9712
+ <parameters>
9713
+ <instance-parameter name="search" transfer-ownership="none">
9714
+ <doc xml:space="preserve">a #GtkSourceSearchContext.</doc>
9715
+ <type name="SearchContext" c:type="GtkSourceSearchContext*"/>
9716
+ </instance-parameter>
9717
+ <parameter name="iter" transfer-ownership="none">
9718
+ <doc xml:space="preserve">start of search.</doc>
9719
+ <type name="Gtk.TextIter" c:type="const GtkTextIter*"/>
9720
+ </parameter>
9721
+ <parameter name="match_start"
9722
+ direction="out"
9723
+ caller-allocates="1"
9724
+ transfer-ownership="none"
9725
+ optional="1"
9726
+ allow-none="1">
9727
+ <doc xml:space="preserve">return location for start of match, or %NULL.</doc>
9728
+ <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
9729
+ </parameter>
9730
+ <parameter name="match_end"
9731
+ direction="out"
9732
+ caller-allocates="1"
9733
+ transfer-ownership="none"
9734
+ optional="1"
9735
+ allow-none="1">
9736
+ <doc xml:space="preserve">return location for end of match, or %NULL.</doc>
9737
+ <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
9738
+ </parameter>
9739
+ <parameter name="has_wrapped_around"
9740
+ direction="out"
9741
+ caller-allocates="0"
9742
+ transfer-ownership="full"
9743
+ optional="1"
9744
+ allow-none="1">
9745
+ <doc xml:space="preserve">return location to know whether the
9746
+ search has wrapped around, or %NULL.</doc>
9747
+ <type name="gboolean" c:type="gboolean*"/>
9748
+ </parameter>
9749
+ </parameters>
9750
+ </method>
9297
9751
  <method name="backward_async"
9298
9752
  c:identifier="gtk_source_search_context_backward_async"
9299
9753
  version="3.10">
9300
- <doc xml:space="preserve">Asynchronous backward search. See the #GAsyncResult documentation to know
9301
- how to use this function.
9754
+ <doc xml:space="preserve">The asynchronous version of gtk_source_search_context_backward2().
9755
+
9756
+ See the documentation of gtk_source_search_context_backward2() for more
9757
+ details.
9758
+
9759
+ See the #GAsyncResult documentation to know how to use this function.
9302
9760
 
9303
9761
  If the operation is cancelled, the @callback will only be called if
9304
9762
  @cancellable was not %NULL. gtk_source_search_context_backward_async() takes
@@ -9343,9 +9801,54 @@ ownership of @cancellable, so you can unref it after calling this function.</doc
9343
9801
  <method name="backward_finish"
9344
9802
  c:identifier="gtk_source_search_context_backward_finish"
9345
9803
  version="3.10"
9804
+ deprecated="1"
9805
+ deprecated-version="3.22"
9346
9806
  throws="1">
9347
9807
  <doc xml:space="preserve">Finishes a backward search started with
9348
9808
  gtk_source_search_context_backward_async().</doc>
9809
+ <doc-deprecated xml:space="preserve">Use gtk_source_search_context_backward_finish2() instead.</doc-deprecated>
9810
+ <return-value transfer-ownership="none">
9811
+ <doc xml:space="preserve">whether a match was found.</doc>
9812
+ <type name="gboolean" c:type="gboolean"/>
9813
+ </return-value>
9814
+ <parameters>
9815
+ <instance-parameter name="search" transfer-ownership="none">
9816
+ <doc xml:space="preserve">a #GtkSourceSearchContext.</doc>
9817
+ <type name="SearchContext" c:type="GtkSourceSearchContext*"/>
9818
+ </instance-parameter>
9819
+ <parameter name="result" transfer-ownership="none">
9820
+ <doc xml:space="preserve">a #GAsyncResult.</doc>
9821
+ <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
9822
+ </parameter>
9823
+ <parameter name="match_start"
9824
+ direction="out"
9825
+ caller-allocates="1"
9826
+ transfer-ownership="none"
9827
+ optional="1"
9828
+ allow-none="1">
9829
+ <doc xml:space="preserve">return location for start of match, or %NULL.</doc>
9830
+ <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
9831
+ </parameter>
9832
+ <parameter name="match_end"
9833
+ direction="out"
9834
+ caller-allocates="1"
9835
+ transfer-ownership="none"
9836
+ optional="1"
9837
+ allow-none="1">
9838
+ <doc xml:space="preserve">return location for end of match, or %NULL.</doc>
9839
+ <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
9840
+ </parameter>
9841
+ </parameters>
9842
+ </method>
9843
+ <method name="backward_finish2"
9844
+ c:identifier="gtk_source_search_context_backward_finish2"
9845
+ version="3.22"
9846
+ throws="1">
9847
+ <doc xml:space="preserve">Finishes a backward search started with
9848
+ gtk_source_search_context_backward_async().
9849
+
9850
+ See the documentation of gtk_source_search_context_backward2() for more
9851
+ details.</doc>
9349
9852
  <return-value transfer-ownership="none">
9350
9853
  <doc xml:space="preserve">whether a match was found.</doc>
9351
9854
  <type name="gboolean" c:type="gboolean"/>
@@ -9377,14 +9880,27 @@ gtk_source_search_context_backward_async().</doc>
9377
9880
  <doc xml:space="preserve">return location for end of match, or %NULL.</doc>
9378
9881
  <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
9379
9882
  </parameter>
9883
+ <parameter name="has_wrapped_around"
9884
+ direction="out"
9885
+ caller-allocates="0"
9886
+ transfer-ownership="full"
9887
+ optional="1"
9888
+ allow-none="1">
9889
+ <doc xml:space="preserve">return location to know whether the
9890
+ search has wrapped around, or %NULL.</doc>
9891
+ <type name="gboolean" c:type="gboolean*"/>
9892
+ </parameter>
9380
9893
  </parameters>
9381
9894
  </method>
9382
9895
  <method name="forward"
9383
9896
  c:identifier="gtk_source_search_context_forward"
9384
- version="3.10">
9897
+ version="3.10"
9898
+ deprecated="1"
9899
+ deprecated-version="3.22">
9385
9900
  <doc xml:space="preserve">Synchronous forward search. It is recommended to use the asynchronous
9386
9901
  functions instead, to not block the user interface. However, if you are sure
9387
9902
  that the @buffer is small, this function is more convenient to use.</doc>
9903
+ <doc-deprecated xml:space="preserve">Use gtk_source_search_context_forward2() instead.</doc-deprecated>
9388
9904
  <return-value transfer-ownership="none">
9389
9905
  <doc xml:space="preserve">whether a match was found.</doc>
9390
9906
  <type name="gboolean" c:type="gboolean"/>
@@ -9418,11 +9934,74 @@ that the @buffer is small, this function is more convenient to use.</doc>
9418
9934
  </parameter>
9419
9935
  </parameters>
9420
9936
  </method>
9937
+ <method name="forward2"
9938
+ c:identifier="gtk_source_search_context_forward2"
9939
+ version="3.22">
9940
+ <doc xml:space="preserve">Synchronous forward search. It is recommended to use the asynchronous
9941
+ functions instead, to not block the user interface. However, if you are sure
9942
+ that the @buffer is small, this function is more convenient to use.
9943
+
9944
+ The difference with gtk_source_search_context_forward() is that the
9945
+ @has_wrapped_around out parameter has been added for convenience.
9946
+
9947
+ If the #GtkSourceSearchSettings:wrap-around property is %FALSE, this function
9948
+ doesn't try to wrap around.
9949
+
9950
+ The @has_wrapped_around out parameter is set independently of whether a match
9951
+ is found. So if this function returns %FALSE, @has_wrapped_around will have
9952
+ the same value as the #GtkSourceSearchSettings:wrap-around property.</doc>
9953
+ <return-value transfer-ownership="none">
9954
+ <doc xml:space="preserve">whether a match was found.</doc>
9955
+ <type name="gboolean" c:type="gboolean"/>
9956
+ </return-value>
9957
+ <parameters>
9958
+ <instance-parameter name="search" transfer-ownership="none">
9959
+ <doc xml:space="preserve">a #GtkSourceSearchContext.</doc>
9960
+ <type name="SearchContext" c:type="GtkSourceSearchContext*"/>
9961
+ </instance-parameter>
9962
+ <parameter name="iter" transfer-ownership="none">
9963
+ <doc xml:space="preserve">start of search.</doc>
9964
+ <type name="Gtk.TextIter" c:type="const GtkTextIter*"/>
9965
+ </parameter>
9966
+ <parameter name="match_start"
9967
+ direction="out"
9968
+ caller-allocates="1"
9969
+ transfer-ownership="none"
9970
+ optional="1"
9971
+ allow-none="1">
9972
+ <doc xml:space="preserve">return location for start of match, or %NULL.</doc>
9973
+ <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
9974
+ </parameter>
9975
+ <parameter name="match_end"
9976
+ direction="out"
9977
+ caller-allocates="1"
9978
+ transfer-ownership="none"
9979
+ optional="1"
9980
+ allow-none="1">
9981
+ <doc xml:space="preserve">return location for end of match, or %NULL.</doc>
9982
+ <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
9983
+ </parameter>
9984
+ <parameter name="has_wrapped_around"
9985
+ direction="out"
9986
+ caller-allocates="0"
9987
+ transfer-ownership="full"
9988
+ optional="1"
9989
+ allow-none="1">
9990
+ <doc xml:space="preserve">return location to know whether the
9991
+ search has wrapped around, or %NULL.</doc>
9992
+ <type name="gboolean" c:type="gboolean*"/>
9993
+ </parameter>
9994
+ </parameters>
9995
+ </method>
9421
9996
  <method name="forward_async"
9422
9997
  c:identifier="gtk_source_search_context_forward_async"
9423
9998
  version="3.10">
9424
- <doc xml:space="preserve">Asynchronous forward search. See the #GAsyncResult documentation to know
9425
- how to use this function.
9999
+ <doc xml:space="preserve">The asynchronous version of gtk_source_search_context_forward2().
10000
+
10001
+ See the documentation of gtk_source_search_context_forward2() for more
10002
+ details.
10003
+
10004
+ See the #GAsyncResult documentation to know how to use this function.
9426
10005
 
9427
10006
  If the operation is cancelled, the @callback will only be called if
9428
10007
  @cancellable was not %NULL. gtk_source_search_context_forward_async() takes
@@ -9467,9 +10046,12 @@ ownership of @cancellable, so you can unref it after calling this function.</doc
9467
10046
  <method name="forward_finish"
9468
10047
  c:identifier="gtk_source_search_context_forward_finish"
9469
10048
  version="3.10"
10049
+ deprecated="1"
10050
+ deprecated-version="3.22"
9470
10051
  throws="1">
9471
10052
  <doc xml:space="preserve">Finishes a forward search started with
9472
10053
  gtk_source_search_context_forward_async().</doc>
10054
+ <doc-deprecated xml:space="preserve">Use gtk_source_search_context_forward_finish2() instead.</doc-deprecated>
9473
10055
  <return-value transfer-ownership="none">
9474
10056
  <doc xml:space="preserve">whether a match was found.</doc>
9475
10057
  <type name="gboolean" c:type="gboolean"/>
@@ -9503,6 +10085,58 @@ gtk_source_search_context_forward_async().</doc>
9503
10085
  </parameter>
9504
10086
  </parameters>
9505
10087
  </method>
10088
+ <method name="forward_finish2"
10089
+ c:identifier="gtk_source_search_context_forward_finish2"
10090
+ version="3.22"
10091
+ throws="1">
10092
+ <doc xml:space="preserve">Finishes a forward search started with
10093
+ gtk_source_search_context_forward_async().
10094
+
10095
+ See the documentation of gtk_source_search_context_forward2() for more
10096
+ details.</doc>
10097
+ <return-value transfer-ownership="none">
10098
+ <doc xml:space="preserve">whether a match was found.</doc>
10099
+ <type name="gboolean" c:type="gboolean"/>
10100
+ </return-value>
10101
+ <parameters>
10102
+ <instance-parameter name="search" transfer-ownership="none">
10103
+ <doc xml:space="preserve">a #GtkSourceSearchContext.</doc>
10104
+ <type name="SearchContext" c:type="GtkSourceSearchContext*"/>
10105
+ </instance-parameter>
10106
+ <parameter name="result" transfer-ownership="none">
10107
+ <doc xml:space="preserve">a #GAsyncResult.</doc>
10108
+ <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
10109
+ </parameter>
10110
+ <parameter name="match_start"
10111
+ direction="out"
10112
+ caller-allocates="1"
10113
+ transfer-ownership="none"
10114
+ optional="1"
10115
+ allow-none="1">
10116
+ <doc xml:space="preserve">return location for start of match, or %NULL.</doc>
10117
+ <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
10118
+ </parameter>
10119
+ <parameter name="match_end"
10120
+ direction="out"
10121
+ caller-allocates="1"
10122
+ transfer-ownership="none"
10123
+ optional="1"
10124
+ allow-none="1">
10125
+ <doc xml:space="preserve">return location for end of match, or %NULL.</doc>
10126
+ <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
10127
+ </parameter>
10128
+ <parameter name="has_wrapped_around"
10129
+ direction="out"
10130
+ caller-allocates="0"
10131
+ transfer-ownership="full"
10132
+ optional="1"
10133
+ allow-none="1">
10134
+ <doc xml:space="preserve">return location to know whether the
10135
+ search has wrapped around, or %NULL.</doc>
10136
+ <type name="gboolean" c:type="gboolean*"/>
10137
+ </parameter>
10138
+ </parameters>
10139
+ </method>
9506
10140
  <method name="get_buffer"
9507
10141
  c:identifier="gtk_source_search_context_get_buffer"
9508
10142
  version="3.10">
@@ -9626,6 +10260,8 @@ Free the return value with g_error_free().</doc>
9626
10260
  <method name="replace"
9627
10261
  c:identifier="gtk_source_search_context_replace"
9628
10262
  version="3.10"
10263
+ deprecated="1"
10264
+ deprecated-version="3.22"
9629
10265
  throws="1">
9630
10266
  <doc xml:space="preserve">Replaces a search match by another text. If @match_start and @match_end
9631
10267
  doesn't correspond to a search match, %FALSE is returned.
@@ -9633,6 +10269,7 @@ doesn't correspond to a search match, %FALSE is returned.
9633
10269
  For a regular expression replacement, you can check if @replace is valid by
9634
10270
  calling g_regex_check_replacement(). The @replace text can contain
9635
10271
  backreferences; read the g_regex_replace() documentation for more details.</doc>
10272
+ <doc-deprecated xml:space="preserve">Use gtk_source_search_context_replace2() instead.</doc-deprecated>
9636
10273
  <return-value transfer-ownership="none">
9637
10274
  <doc xml:space="preserve">whether the match has been replaced.</doc>
9638
10275
  <type name="gboolean" c:type="gboolean"/>
@@ -9660,6 +10297,46 @@ backreferences; read the g_regex_replace() documentation for more details.</doc>
9660
10297
  </parameter>
9661
10298
  </parameters>
9662
10299
  </method>
10300
+ <method name="replace2"
10301
+ c:identifier="gtk_source_search_context_replace2"
10302
+ version="3.22"
10303
+ throws="1">
10304
+ <doc xml:space="preserve">Replaces a search match by another text. If @match_start and @match_end
10305
+ doesn't correspond to a search match, %FALSE is returned.
10306
+
10307
+ Unlike with gtk_source_search_context_replace(), the @match_start and
10308
+ @match_end iters are revalidated to point to the replacement text boundaries.
10309
+
10310
+ For a regular expression replacement, you can check if @replace is valid by
10311
+ calling g_regex_check_replacement(). The @replace text can contain
10312
+ backreferences; read the g_regex_replace() documentation for more details.</doc>
10313
+ <return-value transfer-ownership="none">
10314
+ <doc xml:space="preserve">whether the match has been replaced.</doc>
10315
+ <type name="gboolean" c:type="gboolean"/>
10316
+ </return-value>
10317
+ <parameters>
10318
+ <instance-parameter name="search" transfer-ownership="none">
10319
+ <doc xml:space="preserve">a #GtkSourceSearchContext.</doc>
10320
+ <type name="SearchContext" c:type="GtkSourceSearchContext*"/>
10321
+ </instance-parameter>
10322
+ <parameter name="match_start" transfer-ownership="none">
10323
+ <doc xml:space="preserve">the start of the match to replace.</doc>
10324
+ <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
10325
+ </parameter>
10326
+ <parameter name="match_end" transfer-ownership="none">
10327
+ <doc xml:space="preserve">the end of the match to replace.</doc>
10328
+ <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
10329
+ </parameter>
10330
+ <parameter name="replace" transfer-ownership="none">
10331
+ <doc xml:space="preserve">the replacement text.</doc>
10332
+ <type name="utf8" c:type="const gchar*"/>
10333
+ </parameter>
10334
+ <parameter name="replace_length" transfer-ownership="none">
10335
+ <doc xml:space="preserve">the length of @replace in bytes, or -1.</doc>
10336
+ <type name="gint" c:type="gint"/>
10337
+ </parameter>
10338
+ </parameters>
10339
+ </method>
9663
10340
  <method name="replace_all"
9664
10341
  c:identifier="gtk_source_search_context_replace_all"
9665
10342
  version="3.10"
@@ -9726,7 +10403,7 @@ gtk_source_search_context_set_highlight().</doc>
9726
10403
  transfer-ownership="none"
9727
10404
  nullable="1"
9728
10405
  allow-none="1">
9729
- <doc xml:space="preserve">a #GtkSourceStyle.</doc>
10406
+ <doc xml:space="preserve">a #GtkSourceStyle, or %NULL.</doc>
9730
10407
  <type name="Style" c:type="GtkSourceStyle*"/>
9731
10408
  </parameter>
9732
10409
  </parameters>
@@ -9960,7 +10637,11 @@ gtk_text_iter_ends_word().</doc>
9960
10637
  version="3.10">
9961
10638
  <doc xml:space="preserve">Enables or disables whether to search by regular expressions.
9962
10639
  If enabled, the #GtkSourceSearchSettings:search-text property contains the
9963
- pattern of the regular expression.</doc>
10640
+ pattern of the regular expression.
10641
+
10642
+ #GtkSourceSearchContext uses #GRegex when regex search is enabled. See the
10643
+ [Regular expression syntax](https://developer.gnome.org/glib/stable/glib-regex-syntax.html)
10644
+ page in the GLib reference manual.</doc>
9964
10645
  <return-value transfer-ownership="none">
9965
10646
  <type name="none" c:type="void"/>
9966
10647
  </return-value>
@@ -10163,6 +10844,33 @@ non-whitespace character when the HOME/END keys are pressed.</doc>
10163
10844
  glib:type-name="GtkSourceStyle"
10164
10845
  glib:get-type="gtk_source_style_get_type"
10165
10846
  glib:type-struct="StyleClass">
10847
+ <method name="apply"
10848
+ c:identifier="gtk_source_style_apply"
10849
+ version="3.22">
10850
+ <doc xml:space="preserve">This function modifies the #GtkTextTag properties that are related to the
10851
+ #GtkSourceStyle properties. Other #GtkTextTag properties are left untouched.
10852
+
10853
+ If @style is non-%NULL, applies @style to @tag.
10854
+
10855
+ If @style is %NULL, the related *-set properties of #GtkTextTag are set to
10856
+ %FALSE.</doc>
10857
+ <return-value transfer-ownership="none">
10858
+ <type name="none" c:type="void"/>
10859
+ </return-value>
10860
+ <parameters>
10861
+ <instance-parameter name="style"
10862
+ transfer-ownership="none"
10863
+ nullable="1"
10864
+ allow-none="1">
10865
+ <doc xml:space="preserve">a #GtkSourceStyle to apply, or %NULL.</doc>
10866
+ <type name="Style" c:type="const GtkSourceStyle*"/>
10867
+ </instance-parameter>
10868
+ <parameter name="tag" transfer-ownership="none">
10869
+ <doc xml:space="preserve">a #GtkTextTag to apply styles to.</doc>
10870
+ <type name="Gtk.TextTag" c:type="GtkTextTag*"/>
10871
+ </parameter>
10872
+ </parameters>
10873
+ </method>
10166
10874
  <method name="copy" c:identifier="gtk_source_style_copy" version="2.0">
10167
10875
  <doc xml:space="preserve">Creates a copy of @style, that is a new #GtkSourceStyle instance which
10168
10876
  has the same attributes set.</doc>
@@ -11319,9 +12027,14 @@ if there are undo operations available.</doc>
11319
12027
  <implements name="Gtk.Buildable"/>
11320
12028
  <implements name="Gtk.Scrollable"/>
11321
12029
  <constructor name="new" c:identifier="gtk_source_view_new">
11322
- <doc xml:space="preserve">Creates a new #GtkSourceView. An empty default #GtkSourceBuffer will be
11323
- created for you and can be retrieved with gtk_text_view_get_buffer(). If you
11324
- want to specify your own buffer, consider gtk_source_view_new_with_buffer().</doc>
12030
+ <doc xml:space="preserve">Creates a new #GtkSourceView.
12031
+
12032
+ By default, an empty #GtkSourceBuffer will be lazily created and can be
12033
+ retrieved with gtk_text_view_get_buffer().
12034
+
12035
+ If you want to specify your own buffer, either override the
12036
+ #GtkTextViewClass create_buffer factory method, or use
12037
+ gtk_source_view_new_with_buffer().</doc>
11325
12038
  <return-value transfer-ownership="none">
11326
12039
  <doc xml:space="preserve">a new #GtkSourceView.</doc>
11327
12040
  <type name="Gtk.Widget" c:type="GtkWidget*"/>
@@ -12498,7 +13211,7 @@ if not found.</doc>
12498
13211
  <function name="utils_escape_search_text"
12499
13212
  c:identifier="gtk_source_utils_escape_search_text"
12500
13213
  version="3.10">
12501
- <doc xml:space="preserve">Use this function to escape the following characters: \n, \r, \t and \.
13214
+ <doc xml:space="preserve">Use this function to escape the following characters: `\n`, `\r`, `\t` and `\`.
12502
13215
 
12503
13216
  For a regular expression search, use g_regex_escape_string() instead.
12504
13217
 
@@ -12529,7 +13242,7 @@ may be modified.
12529
13242
  c:identifier="gtk_source_utils_unescape_search_text"
12530
13243
  version="3.10">
12531
13244
  <doc xml:space="preserve">Use this function before gtk_source_search_settings_set_search_text(), to
12532
- unescape the following sequences of characters: \n, \r, \t and \\.
13245
+ unescape the following sequences of characters: `\n`, `\r`, `\t` and `\\`.
12533
13246
  The purpose is to easily write those characters in a search entry.
12534
13247
 
12535
13248
  Note that unescaping the search text is not needed for regular expression