gtksourceview4 3.2.9-x64-mingw32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (379) hide show
  1. checksums.yaml +7 -0
  2. data/COPYING.LIB +502 -0
  3. data/README.md +24 -0
  4. data/Rakefile +61 -0
  5. data/dependency-check/Rakefile +43 -0
  6. data/gtksourceview4.gemspec +45 -0
  7. data/lib/gtksourceview4.rb +56 -0
  8. data/lib/gtksourceview4/deprecated.rb +49 -0
  9. data/lib/gtksourceview4/loader.rb +49 -0
  10. data/lib/gtksourceview4/mark-attributes.rb +29 -0
  11. data/test/run-test.rb +62 -0
  12. data/test/test-mark-attributes.rb +26 -0
  13. data/test/test-source-gutter-renderer.rb +33 -0
  14. data/test/test-source-language-manager.rb +46 -0
  15. data/test/test-source-view.rb +55 -0
  16. data/vendor/local/bin/libgtksourceview-4-0.dll +0 -0
  17. data/vendor/local/include/gtksourceview-4/gtksourceview/completion-providers/words/gtksourcecompletionwords.h +72 -0
  18. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksource-enumtypes.h +107 -0
  19. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksource.h +67 -0
  20. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceautocleanups.h +63 -0
  21. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcebuffer.h +279 -0
  22. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcecompletion.h +156 -0
  23. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcecompletioncontext.h +102 -0
  24. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcecompletioninfo.h +77 -0
  25. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcecompletionitem.h +92 -0
  26. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcecompletionproposal.h +126 -0
  27. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcecompletionprovider.h +166 -0
  28. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceencoding.h +74 -0
  29. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcefile.h +195 -0
  30. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcefileloader.h +140 -0
  31. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcefilesaver.h +168 -0
  32. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcegutter.h +93 -0
  33. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcegutterrenderer.h +272 -0
  34. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcegutterrendererpixbuf.h +91 -0
  35. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcegutterrenderertext.h +92 -0
  36. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceinit.h +40 -0
  37. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcelanguage.h +98 -0
  38. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcelanguagemanager.h +92 -0
  39. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcemap.h +70 -0
  40. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcemark.h +79 -0
  41. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcemarkattributes.h +112 -0
  42. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceprintcompositor.h +223 -0
  43. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceregion.h +127 -0
  44. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcesearchcontext.h +161 -0
  45. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcesearchsettings.h +100 -0
  46. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcespacedrawer.h +144 -0
  47. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcestyle.h +54 -0
  48. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcestylescheme.h +119 -0
  49. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcestyleschemechooser.h +66 -0
  50. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcestyleschemechooserbutton.h +64 -0
  51. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcestyleschemechooserwidget.h +64 -0
  52. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcestyleschememanager.h +100 -0
  53. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcetag.h +54 -0
  54. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcetypes.h +73 -0
  55. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceundomanager.h +90 -0
  56. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceutils.h +41 -0
  57. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceversion.h +578 -0
  58. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceview.h +266 -0
  59. data/vendor/local/lib/girepository-1.0/GtkSource-4.typelib +0 -0
  60. data/vendor/local/lib/libgtksourceview-4.dll.a +0 -0
  61. data/vendor/local/lib/libgtksourceview-4.la +41 -0
  62. data/vendor/local/lib/pkgconfig/gtksourceview-4.pc +12 -0
  63. data/vendor/local/share/gir-1.0/GtkSource-4.gir +12999 -0
  64. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceBuffer.html +2421 -0
  65. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletion.html +1087 -0
  66. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletionContext.html +402 -0
  67. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletionInfo.html +207 -0
  68. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletionItem.html +497 -0
  69. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletionProposal.html +668 -0
  70. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletionProvider.html +837 -0
  71. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletionWords.html +343 -0
  72. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceEncoding.html +391 -0
  73. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceFile.html +769 -0
  74. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceFileLoader.html +780 -0
  75. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceFileSaver.html +965 -0
  76. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceGutter.html +438 -0
  77. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceGutterRenderer.html +1708 -0
  78. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceGutterRendererPixbuf.html +369 -0
  79. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceGutterRendererText.html +299 -0
  80. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceLanguage.html +579 -0
  81. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceLanguageManager.html +473 -0
  82. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceMap.html +254 -0
  83. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceMark.html +307 -0
  84. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceMarkAttributes.html +788 -0
  85. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourcePrintCompositor.html +2121 -0
  86. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceRegion.html +870 -0
  87. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceSearchContext.html +1216 -0
  88. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceSearchSettings.html +603 -0
  89. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceSpaceDrawer.html +671 -0
  90. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceStyle.html +433 -0
  91. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceStyleScheme.html +396 -0
  92. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceStyleSchemeChooser.html +214 -0
  93. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceStyleSchemeChooserButton.html +127 -0
  94. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceStyleSchemeChooserWidget.html +127 -0
  95. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceStyleSchemeManager.html +460 -0
  96. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceTag.html +179 -0
  97. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceUndoManager.html +460 -0
  98. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceView.html +2369 -0
  99. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/annexes.html +55 -0
  100. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/annotation-glossary.html +74 -0
  101. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-2-0.html +62 -0
  102. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-2-10.html +86 -0
  103. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-2-12.html +34 -0
  104. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-2-2.html +270 -0
  105. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-2-4.html +34 -0
  106. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-2-8.html +46 -0
  107. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-0.html +42 -0
  108. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-10.html +170 -0
  109. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-12.html +38 -0
  110. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-14.html +298 -0
  111. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-16.html +106 -0
  112. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-18.html +114 -0
  113. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-20.html +130 -0
  114. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-22.html +106 -0
  115. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-24.html +126 -0
  116. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-4.html +34 -0
  117. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-4-0.html +65 -0
  118. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-deprecated.html +30 -0
  119. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-full.html +2586 -0
  120. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-reference.html +174 -0
  121. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/completion.html +52 -0
  122. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/file-loading-and-saving.html +43 -0
  123. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/general.html +32 -0
  124. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/gtksourceview-4.0-GtkSourceUtils.html +151 -0
  125. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/gtksourceview-4.0-GtkSourceView-Initialization-and-Finalization.html +100 -0
  126. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/gtksourceview-4.0-Version-Information.html +511 -0
  127. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/gtksourceview-4.0.devhelp2 +819 -0
  128. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/gutter.html +49 -0
  129. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/home.png +0 -0
  130. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/index.html +215 -0
  131. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/intro.html +56 -0
  132. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/lang-reference.html +946 -0
  133. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/lang-tutorial.html +652 -0
  134. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/left-insensitive.png +0 -0
  135. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/left.png +0 -0
  136. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/main-classes.html +37 -0
  137. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/misc.html +52 -0
  138. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/object-tree.html +98 -0
  139. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/porting-guide-3-to-4.html +152 -0
  140. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/porting-guide.html +33 -0
  141. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/printing.html +32 -0
  142. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/right-insensitive.png +0 -0
  143. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/right.png +0 -0
  144. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/search-and-replace.html +37 -0
  145. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/style-reference.html +305 -0
  146. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/style.css +483 -0
  147. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/styling.html +49 -0
  148. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/syntax-highlighting-reference.html +49 -0
  149. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/syntax-highlighting.html +37 -0
  150. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/up-insensitive.png +0 -0
  151. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/up.png +0 -0
  152. data/vendor/local/share/gtksourceview-4/language-specs/R.lang +2198 -0
  153. data/vendor/local/share/gtksourceview-4/language-specs/abnf.lang +109 -0
  154. data/vendor/local/share/gtksourceview-4/language-specs/actionscript.lang +267 -0
  155. data/vendor/local/share/gtksourceview-4/language-specs/ada.lang +220 -0
  156. data/vendor/local/share/gtksourceview-4/language-specs/ansforth94.lang +728 -0
  157. data/vendor/local/share/gtksourceview-4/language-specs/asp.lang +1096 -0
  158. data/vendor/local/share/gtksourceview-4/language-specs/automake.lang +329 -0
  159. data/vendor/local/share/gtksourceview-4/language-specs/awk.lang +137 -0
  160. data/vendor/local/share/gtksourceview-4/language-specs/bennugd.lang +266 -0
  161. data/vendor/local/share/gtksourceview-4/language-specs/bibtex.lang +120 -0
  162. data/vendor/local/share/gtksourceview-4/language-specs/bluespec.lang +187 -0
  163. data/vendor/local/share/gtksourceview-4/language-specs/boo.lang +256 -0
  164. data/vendor/local/share/gtksourceview-4/language-specs/c.lang +343 -0
  165. data/vendor/local/share/gtksourceview-4/language-specs/cg.lang +231 -0
  166. data/vendor/local/share/gtksourceview-4/language-specs/changelog.lang +91 -0
  167. data/vendor/local/share/gtksourceview-4/language-specs/chdr.lang +50 -0
  168. data/vendor/local/share/gtksourceview-4/language-specs/cmake.lang +817 -0
  169. data/vendor/local/share/gtksourceview-4/language-specs/cobol.lang +646 -0
  170. data/vendor/local/share/gtksourceview-4/language-specs/cpp.lang +119 -0
  171. data/vendor/local/share/gtksourceview-4/language-specs/cpphdr.lang +41 -0
  172. data/vendor/local/share/gtksourceview-4/language-specs/csharp.lang +285 -0
  173. data/vendor/local/share/gtksourceview-4/language-specs/css.lang +2411 -0
  174. data/vendor/local/share/gtksourceview-4/language-specs/csv.lang +73 -0
  175. data/vendor/local/share/gtksourceview-4/language-specs/cuda.lang +281 -0
  176. data/vendor/local/share/gtksourceview-4/language-specs/d.lang +317 -0
  177. data/vendor/local/share/gtksourceview-4/language-specs/def.lang +261 -0
  178. data/vendor/local/share/gtksourceview-4/language-specs/desktop.lang +297 -0
  179. data/vendor/local/share/gtksourceview-4/language-specs/diff.lang +84 -0
  180. data/vendor/local/share/gtksourceview-4/language-specs/docbook.lang +475 -0
  181. data/vendor/local/share/gtksourceview-4/language-specs/dosbatch.lang +166 -0
  182. data/vendor/local/share/gtksourceview-4/language-specs/dot.lang +139 -0
  183. data/vendor/local/share/gtksourceview-4/language-specs/dpatch.lang +47 -0
  184. data/vendor/local/share/gtksourceview-4/language-specs/dtd.lang +139 -0
  185. data/vendor/local/share/gtksourceview-4/language-specs/dtl.lang +297 -0
  186. data/vendor/local/share/gtksourceview-4/language-specs/eiffel.lang +238 -0
  187. data/vendor/local/share/gtksourceview-4/language-specs/erlang.lang +262 -0
  188. data/vendor/local/share/gtksourceview-4/language-specs/fcl.lang +113 -0
  189. data/vendor/local/share/gtksourceview-4/language-specs/forth.lang +234 -0
  190. data/vendor/local/share/gtksourceview-4/language-specs/fortran.lang +710 -0
  191. data/vendor/local/share/gtksourceview-4/language-specs/fsharp.lang +324 -0
  192. data/vendor/local/share/gtksourceview-4/language-specs/gap.lang +84 -0
  193. data/vendor/local/share/gtksourceview-4/language-specs/gdb-log.lang +151 -0
  194. data/vendor/local/share/gtksourceview-4/language-specs/genie.lang +237 -0
  195. data/vendor/local/share/gtksourceview-4/language-specs/glsl.lang +482 -0
  196. data/vendor/local/share/gtksourceview-4/language-specs/go.lang +274 -0
  197. data/vendor/local/share/gtksourceview-4/language-specs/groovy.lang +330 -0
  198. data/vendor/local/share/gtksourceview-4/language-specs/gtk-doc.lang +90 -0
  199. data/vendor/local/share/gtksourceview-4/language-specs/gtkrc.lang +115 -0
  200. data/vendor/local/share/gtksourceview-4/language-specs/haddock.lang +161 -0
  201. data/vendor/local/share/gtksourceview-4/language-specs/haskell-literate.lang +58 -0
  202. data/vendor/local/share/gtksourceview-4/language-specs/haskell.lang +227 -0
  203. data/vendor/local/share/gtksourceview-4/language-specs/haxe.lang +237 -0
  204. data/vendor/local/share/gtksourceview-4/language-specs/html.lang +286 -0
  205. data/vendor/local/share/gtksourceview-4/language-specs/idl-exelis.lang +619 -0
  206. data/vendor/local/share/gtksourceview-4/language-specs/idl.lang +153 -0
  207. data/vendor/local/share/gtksourceview-4/language-specs/imagej.lang +783 -0
  208. data/vendor/local/share/gtksourceview-4/language-specs/ini.lang +94 -0
  209. data/vendor/local/share/gtksourceview-4/language-specs/j.lang +239 -0
  210. data/vendor/local/share/gtksourceview-4/language-specs/jade.lang +248 -0
  211. data/vendor/local/share/gtksourceview-4/language-specs/java.lang +188 -0
  212. data/vendor/local/share/gtksourceview-4/language-specs/javascript.lang +354 -0
  213. data/vendor/local/share/gtksourceview-4/language-specs/json.lang +124 -0
  214. data/vendor/local/share/gtksourceview-4/language-specs/julia.lang +376 -0
  215. data/vendor/local/share/gtksourceview-4/language-specs/kotlin.lang +389 -0
  216. data/vendor/local/share/gtksourceview-4/language-specs/language.dtd +72 -0
  217. data/vendor/local/share/gtksourceview-4/language-specs/language.rng +372 -0
  218. data/vendor/local/share/gtksourceview-4/language-specs/language2.rng +481 -0
  219. data/vendor/local/share/gtksourceview-4/language-specs/latex.lang +636 -0
  220. data/vendor/local/share/gtksourceview-4/language-specs/less.lang +793 -0
  221. data/vendor/local/share/gtksourceview-4/language-specs/lex.lang +208 -0
  222. data/vendor/local/share/gtksourceview-4/language-specs/libtool.lang +55 -0
  223. data/vendor/local/share/gtksourceview-4/language-specs/llvm.lang +314 -0
  224. data/vendor/local/share/gtksourceview-4/language-specs/logcat.lang +107 -0
  225. data/vendor/local/share/gtksourceview-4/language-specs/lua.lang +301 -0
  226. data/vendor/local/share/gtksourceview-4/language-specs/m4.lang +1374 -0
  227. data/vendor/local/share/gtksourceview-4/language-specs/makefile.lang +190 -0
  228. data/vendor/local/share/gtksourceview-4/language-specs/mallard.lang +123 -0
  229. data/vendor/local/share/gtksourceview-4/language-specs/markdown.lang +401 -0
  230. data/vendor/local/share/gtksourceview-4/language-specs/matlab.lang +148 -0
  231. data/vendor/local/share/gtksourceview-4/language-specs/maxima.lang +1864 -0
  232. data/vendor/local/share/gtksourceview-4/language-specs/mediawiki.lang +326 -0
  233. data/vendor/local/share/gtksourceview-4/language-specs/meson.lang +132 -0
  234. data/vendor/local/share/gtksourceview-4/language-specs/modelica.lang +261 -0
  235. data/vendor/local/share/gtksourceview-4/language-specs/mxml.lang +64 -0
  236. data/vendor/local/share/gtksourceview-4/language-specs/nemerle.lang +262 -0
  237. data/vendor/local/share/gtksourceview-4/language-specs/netrexx.lang +318 -0
  238. data/vendor/local/share/gtksourceview-4/language-specs/nsis.lang +87 -0
  239. data/vendor/local/share/gtksourceview-4/language-specs/objc.lang +119 -0
  240. data/vendor/local/share/gtksourceview-4/language-specs/objj.lang +127 -0
  241. data/vendor/local/share/gtksourceview-4/language-specs/ocaml.lang +301 -0
  242. data/vendor/local/share/gtksourceview-4/language-specs/ocl.lang +138 -0
  243. data/vendor/local/share/gtksourceview-4/language-specs/octave.lang +1757 -0
  244. data/vendor/local/share/gtksourceview-4/language-specs/ooc.lang +264 -0
  245. data/vendor/local/share/gtksourceview-4/language-specs/opal.lang +342 -0
  246. data/vendor/local/share/gtksourceview-4/language-specs/opencl.lang +599 -0
  247. data/vendor/local/share/gtksourceview-4/language-specs/pascal.lang +267 -0
  248. data/vendor/local/share/gtksourceview-4/language-specs/perl.lang +1044 -0
  249. data/vendor/local/share/gtksourceview-4/language-specs/php.lang +362 -0
  250. data/vendor/local/share/gtksourceview-4/language-specs/pig.lang +292 -0
  251. data/vendor/local/share/gtksourceview-4/language-specs/pkgconfig.lang +61 -0
  252. data/vendor/local/share/gtksourceview-4/language-specs/po.lang +93 -0
  253. data/vendor/local/share/gtksourceview-4/language-specs/prolog.lang +248 -0
  254. data/vendor/local/share/gtksourceview-4/language-specs/protobuf.lang +134 -0
  255. data/vendor/local/share/gtksourceview-4/language-specs/puppet.lang +696 -0
  256. data/vendor/local/share/gtksourceview-4/language-specs/python.lang +475 -0
  257. data/vendor/local/share/gtksourceview-4/language-specs/python3.lang +198 -0
  258. data/vendor/local/share/gtksourceview-4/language-specs/rpmspec.lang +215 -0
  259. data/vendor/local/share/gtksourceview-4/language-specs/rst.lang +141 -0
  260. data/vendor/local/share/gtksourceview-4/language-specs/ruby.lang +748 -0
  261. data/vendor/local/share/gtksourceview-4/language-specs/rust.lang +334 -0
  262. data/vendor/local/share/gtksourceview-4/language-specs/scala.lang +383 -0
  263. data/vendor/local/share/gtksourceview-4/language-specs/scheme.lang +301 -0
  264. data/vendor/local/share/gtksourceview-4/language-specs/scilab.lang +208 -0
  265. data/vendor/local/share/gtksourceview-4/language-specs/scss.lang +878 -0
  266. data/vendor/local/share/gtksourceview-4/language-specs/sh.lang +516 -0
  267. data/vendor/local/share/gtksourceview-4/language-specs/sml.lang +200 -0
  268. data/vendor/local/share/gtksourceview-4/language-specs/sparql.lang +451 -0
  269. data/vendor/local/share/gtksourceview-4/language-specs/sql.lang +617 -0
  270. data/vendor/local/share/gtksourceview-4/language-specs/sweave.lang +66 -0
  271. data/vendor/local/share/gtksourceview-4/language-specs/swift.lang +440 -0
  272. data/vendor/local/share/gtksourceview-4/language-specs/systemverilog.lang +262 -0
  273. data/vendor/local/share/gtksourceview-4/language-specs/t2t.lang +149 -0
  274. data/vendor/local/share/gtksourceview-4/language-specs/tcl.lang +145 -0
  275. data/vendor/local/share/gtksourceview-4/language-specs/tera.lang +142 -0
  276. data/vendor/local/share/gtksourceview-4/language-specs/texinfo.lang +447 -0
  277. data/vendor/local/share/gtksourceview-4/language-specs/thrift.lang +266 -0
  278. data/vendor/local/share/gtksourceview-4/language-specs/toml.lang +282 -0
  279. data/vendor/local/share/gtksourceview-4/language-specs/vala.lang +411 -0
  280. data/vendor/local/share/gtksourceview-4/language-specs/vbnet.lang +247 -0
  281. data/vendor/local/share/gtksourceview-4/language-specs/verilog.lang +475 -0
  282. data/vendor/local/share/gtksourceview-4/language-specs/vhdl.lang +247 -0
  283. data/vendor/local/share/gtksourceview-4/language-specs/xml.lang +219 -0
  284. data/vendor/local/share/gtksourceview-4/language-specs/xslt.lang +120 -0
  285. data/vendor/local/share/gtksourceview-4/language-specs/yacc.lang +176 -0
  286. data/vendor/local/share/gtksourceview-4/language-specs/yaml.lang +213 -0
  287. data/vendor/local/share/gtksourceview-4/styles/classic.xml +122 -0
  288. data/vendor/local/share/gtksourceview-4/styles/cobalt.xml +150 -0
  289. data/vendor/local/share/gtksourceview-4/styles/kate.xml +171 -0
  290. data/vendor/local/share/gtksourceview-4/styles/oblivion.xml +133 -0
  291. data/vendor/local/share/gtksourceview-4/styles/solarized-dark.xml +103 -0
  292. data/vendor/local/share/gtksourceview-4/styles/solarized-light.xml +102 -0
  293. data/vendor/local/share/gtksourceview-4/styles/styles.rng +139 -0
  294. data/vendor/local/share/gtksourceview-4/styles/tango.xml +130 -0
  295. data/vendor/local/share/license/gtksourceview/AUTHORS +15 -0
  296. data/vendor/local/share/license/gtksourceview/COPYING +504 -0
  297. data/vendor/local/share/locale/ar/LC_MESSAGES/gtksourceview-4.mo +0 -0
  298. data/vendor/local/share/locale/as/LC_MESSAGES/gtksourceview-4.mo +0 -0
  299. data/vendor/local/share/locale/ast/LC_MESSAGES/gtksourceview-4.mo +0 -0
  300. data/vendor/local/share/locale/az/LC_MESSAGES/gtksourceview-4.mo +0 -0
  301. data/vendor/local/share/locale/be/LC_MESSAGES/gtksourceview-4.mo +0 -0
  302. data/vendor/local/share/locale/bg/LC_MESSAGES/gtksourceview-4.mo +0 -0
  303. data/vendor/local/share/locale/bn/LC_MESSAGES/gtksourceview-4.mo +0 -0
  304. data/vendor/local/share/locale/bn_IN/LC_MESSAGES/gtksourceview-4.mo +0 -0
  305. data/vendor/local/share/locale/bs/LC_MESSAGES/gtksourceview-4.mo +0 -0
  306. data/vendor/local/share/locale/ca/LC_MESSAGES/gtksourceview-4.mo +0 -0
  307. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gtksourceview-4.mo +0 -0
  308. data/vendor/local/share/locale/cs/LC_MESSAGES/gtksourceview-4.mo +0 -0
  309. data/vendor/local/share/locale/cy/LC_MESSAGES/gtksourceview-4.mo +0 -0
  310. data/vendor/local/share/locale/da/LC_MESSAGES/gtksourceview-4.mo +0 -0
  311. data/vendor/local/share/locale/de/LC_MESSAGES/gtksourceview-4.mo +0 -0
  312. data/vendor/local/share/locale/dz/LC_MESSAGES/gtksourceview-4.mo +0 -0
  313. data/vendor/local/share/locale/el/LC_MESSAGES/gtksourceview-4.mo +0 -0
  314. data/vendor/local/share/locale/en@shaw/LC_MESSAGES/gtksourceview-4.mo +0 -0
  315. data/vendor/local/share/locale/en_CA/LC_MESSAGES/gtksourceview-4.mo +0 -0
  316. data/vendor/local/share/locale/en_GB/LC_MESSAGES/gtksourceview-4.mo +0 -0
  317. data/vendor/local/share/locale/eo/LC_MESSAGES/gtksourceview-4.mo +0 -0
  318. data/vendor/local/share/locale/es/LC_MESSAGES/gtksourceview-4.mo +0 -0
  319. data/vendor/local/share/locale/et/LC_MESSAGES/gtksourceview-4.mo +0 -0
  320. data/vendor/local/share/locale/eu/LC_MESSAGES/gtksourceview-4.mo +0 -0
  321. data/vendor/local/share/locale/fa/LC_MESSAGES/gtksourceview-4.mo +0 -0
  322. data/vendor/local/share/locale/fi/LC_MESSAGES/gtksourceview-4.mo +0 -0
  323. data/vendor/local/share/locale/fr/LC_MESSAGES/gtksourceview-4.mo +0 -0
  324. data/vendor/local/share/locale/fur/LC_MESSAGES/gtksourceview-4.mo +0 -0
  325. data/vendor/local/share/locale/ga/LC_MESSAGES/gtksourceview-4.mo +0 -0
  326. data/vendor/local/share/locale/gl/LC_MESSAGES/gtksourceview-4.mo +0 -0
  327. data/vendor/local/share/locale/gu/LC_MESSAGES/gtksourceview-4.mo +0 -0
  328. data/vendor/local/share/locale/he/LC_MESSAGES/gtksourceview-4.mo +0 -0
  329. data/vendor/local/share/locale/hi/LC_MESSAGES/gtksourceview-4.mo +0 -0
  330. data/vendor/local/share/locale/hr/LC_MESSAGES/gtksourceview-4.mo +0 -0
  331. data/vendor/local/share/locale/hu/LC_MESSAGES/gtksourceview-4.mo +0 -0
  332. data/vendor/local/share/locale/id/LC_MESSAGES/gtksourceview-4.mo +0 -0
  333. data/vendor/local/share/locale/it/LC_MESSAGES/gtksourceview-4.mo +0 -0
  334. data/vendor/local/share/locale/ja/LC_MESSAGES/gtksourceview-4.mo +0 -0
  335. data/vendor/local/share/locale/kk/LC_MESSAGES/gtksourceview-4.mo +0 -0
  336. data/vendor/local/share/locale/kn/LC_MESSAGES/gtksourceview-4.mo +0 -0
  337. data/vendor/local/share/locale/ko/LC_MESSAGES/gtksourceview-4.mo +0 -0
  338. data/vendor/local/share/locale/lt/LC_MESSAGES/gtksourceview-4.mo +0 -0
  339. data/vendor/local/share/locale/lv/LC_MESSAGES/gtksourceview-4.mo +0 -0
  340. data/vendor/local/share/locale/mai/LC_MESSAGES/gtksourceview-4.mo +0 -0
  341. data/vendor/local/share/locale/mg/LC_MESSAGES/gtksourceview-4.mo +0 -0
  342. data/vendor/local/share/locale/mk/LC_MESSAGES/gtksourceview-4.mo +0 -0
  343. data/vendor/local/share/locale/ml/LC_MESSAGES/gtksourceview-4.mo +0 -0
  344. data/vendor/local/share/locale/mn/LC_MESSAGES/gtksourceview-4.mo +0 -0
  345. data/vendor/local/share/locale/mr/LC_MESSAGES/gtksourceview-4.mo +0 -0
  346. data/vendor/local/share/locale/ms/LC_MESSAGES/gtksourceview-4.mo +0 -0
  347. data/vendor/local/share/locale/nb/LC_MESSAGES/gtksourceview-4.mo +0 -0
  348. data/vendor/local/share/locale/ne/LC_MESSAGES/gtksourceview-4.mo +0 -0
  349. data/vendor/local/share/locale/nl/LC_MESSAGES/gtksourceview-4.mo +0 -0
  350. data/vendor/local/share/locale/nn/LC_MESSAGES/gtksourceview-4.mo +0 -0
  351. data/vendor/local/share/locale/oc/LC_MESSAGES/gtksourceview-4.mo +0 -0
  352. data/vendor/local/share/locale/or/LC_MESSAGES/gtksourceview-4.mo +0 -0
  353. data/vendor/local/share/locale/pa/LC_MESSAGES/gtksourceview-4.mo +0 -0
  354. data/vendor/local/share/locale/pl/LC_MESSAGES/gtksourceview-4.mo +0 -0
  355. data/vendor/local/share/locale/pt/LC_MESSAGES/gtksourceview-4.mo +0 -0
  356. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gtksourceview-4.mo +0 -0
  357. data/vendor/local/share/locale/ro/LC_MESSAGES/gtksourceview-4.mo +0 -0
  358. data/vendor/local/share/locale/ru/LC_MESSAGES/gtksourceview-4.mo +0 -0
  359. data/vendor/local/share/locale/rw/LC_MESSAGES/gtksourceview-4.mo +0 -0
  360. data/vendor/local/share/locale/si/LC_MESSAGES/gtksourceview-4.mo +0 -0
  361. data/vendor/local/share/locale/sk/LC_MESSAGES/gtksourceview-4.mo +0 -0
  362. data/vendor/local/share/locale/sl/LC_MESSAGES/gtksourceview-4.mo +0 -0
  363. data/vendor/local/share/locale/sq/LC_MESSAGES/gtksourceview-4.mo +0 -0
  364. data/vendor/local/share/locale/sr/LC_MESSAGES/gtksourceview-4.mo +0 -0
  365. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gtksourceview-4.mo +0 -0
  366. data/vendor/local/share/locale/sv/LC_MESSAGES/gtksourceview-4.mo +0 -0
  367. data/vendor/local/share/locale/ta/LC_MESSAGES/gtksourceview-4.mo +0 -0
  368. data/vendor/local/share/locale/te/LC_MESSAGES/gtksourceview-4.mo +0 -0
  369. data/vendor/local/share/locale/tg/LC_MESSAGES/gtksourceview-4.mo +0 -0
  370. data/vendor/local/share/locale/th/LC_MESSAGES/gtksourceview-4.mo +0 -0
  371. data/vendor/local/share/locale/tr/LC_MESSAGES/gtksourceview-4.mo +0 -0
  372. data/vendor/local/share/locale/ug/LC_MESSAGES/gtksourceview-4.mo +0 -0
  373. data/vendor/local/share/locale/uk/LC_MESSAGES/gtksourceview-4.mo +0 -0
  374. data/vendor/local/share/locale/vi/LC_MESSAGES/gtksourceview-4.mo +0 -0
  375. data/vendor/local/share/locale/xh/LC_MESSAGES/gtksourceview-4.mo +0 -0
  376. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gtksourceview-4.mo +0 -0
  377. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gtksourceview-4.mo +0 -0
  378. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gtksourceview-4.mo +0 -0
  379. metadata +437 -0
@@ -0,0 +1,1216 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
+ <html>
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
+ <title>GtkSourceSearchContext: GtkSourceView 4 Reference Manual</title>
6
+ <meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7
+ <link rel="home" href="index.html" title="GtkSourceView 4 Reference Manual">
8
+ <link rel="up" href="search-and-replace.html" title="Search and Replace">
9
+ <link rel="prev" href="search-and-replace.html" title="Search and Replace">
10
+ <link rel="next" href="GtkSourceSearchSettings.html" title="GtkSourceSearchSettings">
11
+ <meta name="generator" content="GTK-Doc V1.28.1 (XML mode)">
12
+ <link rel="stylesheet" href="style.css" type="text/css">
13
+ </head>
14
+ <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
+ <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
16
+ <td width="100%" align="left" class="shortcuts">
17
+ <a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
18
+ <a href="#GtkSourceSearchContext.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
19
+ <a href="#GtkSourceSearchContext.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties">  <span class="dim">|</span> 
20
+ <a href="#GtkSourceSearchContext.properties" class="shortcut">Properties</a></span>
21
+ </td>
22
+ <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
23
+ <td><a accesskey="u" href="search-and-replace.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
24
+ <td><a accesskey="p" href="search-and-replace.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
25
+ <td><a accesskey="n" href="GtkSourceSearchSettings.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
26
+ </tr></table>
27
+ <div class="refentry">
28
+ <a name="GtkSourceSearchContext"></a><div class="titlepage"></div>
29
+ <div class="refnamediv"><table width="100%"><tr>
30
+ <td valign="top">
31
+ <h2><span class="refentrytitle"><a name="GtkSourceSearchContext.top_of_page"></a>GtkSourceSearchContext</span></h2>
32
+ <p>GtkSourceSearchContext — Search context</p>
33
+ </td>
34
+ <td class="gallery_image" valign="top" align="right"></td>
35
+ </tr></table></div>
36
+ <div class="refsect1">
37
+ <a name="GtkSourceSearchContext.functions"></a><h2>Functions</h2>
38
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
39
+ <colgroup>
40
+ <col width="150px" class="functions_return">
41
+ <col class="functions_name">
42
+ </colgroup>
43
+ <tbody>
44
+ <tr>
45
+ <td class="function_type">
46
+ <a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="returnvalue">GtkSourceSearchContext</span></a> *
47
+ </td>
48
+ <td class="function_name">
49
+ <a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-new" title="gtk_source_search_context_new ()">gtk_source_search_context_new</a> <span class="c_punctuation">()</span>
50
+ </td>
51
+ </tr>
52
+ <tr>
53
+ <td class="function_type">
54
+ <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="returnvalue">GtkSourceBuffer</span></a> *
55
+ </td>
56
+ <td class="function_name">
57
+ <a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-get-buffer" title="gtk_source_search_context_get_buffer ()">gtk_source_search_context_get_buffer</a> <span class="c_punctuation">()</span>
58
+ </td>
59
+ </tr>
60
+ <tr>
61
+ <td class="function_type">
62
+ <a class="link" href="GtkSourceSearchSettings.html" title="GtkSourceSearchSettings"><span class="returnvalue">GtkSourceSearchSettings</span></a> *
63
+ </td>
64
+ <td class="function_name">
65
+ <a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-get-settings" title="gtk_source_search_context_get_settings ()">gtk_source_search_context_get_settings</a> <span class="c_punctuation">()</span>
66
+ </td>
67
+ </tr>
68
+ <tr>
69
+ <td class="function_type">
70
+ <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
71
+ </td>
72
+ <td class="function_name">
73
+ <a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-get-highlight" title="gtk_source_search_context_get_highlight ()">gtk_source_search_context_get_highlight</a> <span class="c_punctuation">()</span>
74
+ </td>
75
+ </tr>
76
+ <tr>
77
+ <td class="function_type">
78
+ <span class="returnvalue">void</span>
79
+ </td>
80
+ <td class="function_name">
81
+ <a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-set-highlight" title="gtk_source_search_context_set_highlight ()">gtk_source_search_context_set_highlight</a> <span class="c_punctuation">()</span>
82
+ </td>
83
+ </tr>
84
+ <tr>
85
+ <td class="function_type">
86
+ <a class="link" href="GtkSourceStyle.html" title="GtkSourceStyle"><span class="returnvalue">GtkSourceStyle</span></a> *
87
+ </td>
88
+ <td class="function_name">
89
+ <a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-get-match-style" title="gtk_source_search_context_get_match_style ()">gtk_source_search_context_get_match_style</a> <span class="c_punctuation">()</span>
90
+ </td>
91
+ </tr>
92
+ <tr>
93
+ <td class="function_type">
94
+ <span class="returnvalue">void</span>
95
+ </td>
96
+ <td class="function_name">
97
+ <a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-set-match-style" title="gtk_source_search_context_set_match_style ()">gtk_source_search_context_set_match_style</a> <span class="c_punctuation">()</span>
98
+ </td>
99
+ </tr>
100
+ <tr>
101
+ <td class="function_type">
102
+ <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
103
+ </td>
104
+ <td class="function_name">
105
+ <a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-get-occurrences-count" title="gtk_source_search_context_get_occurrences_count ()">gtk_source_search_context_get_occurrences_count</a> <span class="c_punctuation">()</span>
106
+ </td>
107
+ </tr>
108
+ <tr>
109
+ <td class="function_type">
110
+ <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
111
+ </td>
112
+ <td class="function_name">
113
+ <a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-get-occurrence-position" title="gtk_source_search_context_get_occurrence_position ()">gtk_source_search_context_get_occurrence_position</a> <span class="c_punctuation">()</span>
114
+ </td>
115
+ </tr>
116
+ <tr>
117
+ <td class="function_type">
118
+ <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
119
+ </td>
120
+ <td class="function_name">
121
+ <a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-forward" title="gtk_source_search_context_forward ()">gtk_source_search_context_forward</a> <span class="c_punctuation">()</span>
122
+ </td>
123
+ </tr>
124
+ <tr>
125
+ <td class="function_type">
126
+ <span class="returnvalue">void</span>
127
+ </td>
128
+ <td class="function_name">
129
+ <a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-forward-async" title="gtk_source_search_context_forward_async ()">gtk_source_search_context_forward_async</a> <span class="c_punctuation">()</span>
130
+ </td>
131
+ </tr>
132
+ <tr>
133
+ <td class="function_type">
134
+ <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
135
+ </td>
136
+ <td class="function_name">
137
+ <a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-forward-finish" title="gtk_source_search_context_forward_finish ()">gtk_source_search_context_forward_finish</a> <span class="c_punctuation">()</span>
138
+ </td>
139
+ </tr>
140
+ <tr>
141
+ <td class="function_type">
142
+ <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
143
+ </td>
144
+ <td class="function_name">
145
+ <a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-backward" title="gtk_source_search_context_backward ()">gtk_source_search_context_backward</a> <span class="c_punctuation">()</span>
146
+ </td>
147
+ </tr>
148
+ <tr>
149
+ <td class="function_type">
150
+ <span class="returnvalue">void</span>
151
+ </td>
152
+ <td class="function_name">
153
+ <a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-backward-async" title="gtk_source_search_context_backward_async ()">gtk_source_search_context_backward_async</a> <span class="c_punctuation">()</span>
154
+ </td>
155
+ </tr>
156
+ <tr>
157
+ <td class="function_type">
158
+ <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
159
+ </td>
160
+ <td class="function_name">
161
+ <a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-backward-finish" title="gtk_source_search_context_backward_finish ()">gtk_source_search_context_backward_finish</a> <span class="c_punctuation">()</span>
162
+ </td>
163
+ </tr>
164
+ <tr>
165
+ <td class="function_type">
166
+ <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
167
+ </td>
168
+ <td class="function_name">
169
+ <a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-replace" title="gtk_source_search_context_replace ()">gtk_source_search_context_replace</a> <span class="c_punctuation">()</span>
170
+ </td>
171
+ </tr>
172
+ <tr>
173
+ <td class="function_type">
174
+ <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
175
+ </td>
176
+ <td class="function_name">
177
+ <a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-replace-all" title="gtk_source_search_context_replace_all ()">gtk_source_search_context_replace_all</a> <span class="c_punctuation">()</span>
178
+ </td>
179
+ </tr>
180
+ <tr>
181
+ <td class="function_type">
182
+ <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> *
183
+ </td>
184
+ <td class="function_name">
185
+ <a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-get-regex-error" title="gtk_source_search_context_get_regex_error ()">gtk_source_search_context_get_regex_error</a> <span class="c_punctuation">()</span>
186
+ </td>
187
+ </tr>
188
+ </tbody>
189
+ </table></div>
190
+ </div>
191
+ <div class="refsect1">
192
+ <a name="GtkSourceSearchContext.properties"></a><h2>Properties</h2>
193
+ <div class="informaltable"><table class="informaltable" border="0">
194
+ <colgroup>
195
+ <col width="150px" class="properties_type">
196
+ <col width="300px" class="properties_name">
197
+ <col width="200px" class="properties_flags">
198
+ </colgroup>
199
+ <tbody>
200
+ <tr>
201
+ <td class="property_type">
202
+ <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *</td>
203
+ <td class="property_name"><a class="link" href="GtkSourceSearchContext.html#GtkSourceSearchContext--buffer" title="The “buffer” property">buffer</a></td>
204
+ <td class="property_flags">Read / Write / Construct Only</td>
205
+ </tr>
206
+ <tr>
207
+ <td class="property_type"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
208
+ <td class="property_name"><a class="link" href="GtkSourceSearchContext.html#GtkSourceSearchContext--highlight" title="The “highlight” property">highlight</a></td>
209
+ <td class="property_flags">Read / Write / Construct</td>
210
+ </tr>
211
+ <tr>
212
+ <td class="property_type">
213
+ <a class="link" href="GtkSourceStyle.html" title="GtkSourceStyle"><span class="type">GtkSourceStyle</span></a> *</td>
214
+ <td class="property_name"><a class="link" href="GtkSourceSearchContext.html#GtkSourceSearchContext--match-style" title="The “match-style” property">match-style</a></td>
215
+ <td class="property_flags">Read / Write / Construct</td>
216
+ </tr>
217
+ <tr>
218
+ <td class="property_type"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
219
+ <td class="property_name"><a class="link" href="GtkSourceSearchContext.html#GtkSourceSearchContext--occurrences-count" title="The “occurrences-count” property">occurrences-count</a></td>
220
+ <td class="property_flags">Read</td>
221
+ </tr>
222
+ <tr>
223
+ <td class="property_type"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a></td>
224
+ <td class="property_name"><a class="link" href="GtkSourceSearchContext.html#GtkSourceSearchContext--regex-error" title="The “regex-error” property">regex-error</a></td>
225
+ <td class="property_flags">Read</td>
226
+ </tr>
227
+ <tr>
228
+ <td class="property_type">
229
+ <a class="link" href="GtkSourceSearchSettings.html" title="GtkSourceSearchSettings"><span class="type">GtkSourceSearchSettings</span></a> *</td>
230
+ <td class="property_name"><a class="link" href="GtkSourceSearchContext.html#GtkSourceSearchContext--settings" title="The “settings” property">settings</a></td>
231
+ <td class="property_flags">Read / Write / Construct Only</td>
232
+ </tr>
233
+ </tbody>
234
+ </table></div>
235
+ </div>
236
+ <div class="refsect1">
237
+ <a name="GtkSourceSearchContext.other"></a><h2>Types and Values</h2>
238
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
239
+ <colgroup>
240
+ <col width="150px" class="name">
241
+ <col class="description">
242
+ </colgroup>
243
+ <tbody><tr>
244
+ <td class="datatype_keyword"> </td>
245
+ <td class="function_name"><a class="link" href="GtkSourceSearchContext.html#GtkSourceSearchContext-struct" title="GtkSourceSearchContext">GtkSourceSearchContext</a></td>
246
+ </tr></tbody>
247
+ </table></div>
248
+ </div>
249
+ <div class="refsect1">
250
+ <a name="GtkSourceSearchContext.object-hierarchy"></a><h2>Object Hierarchy</h2>
251
+ <pre class="screen"> <a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
252
+ <span class="lineart">╰──</span> GtkSourceSearchContext
253
+ </pre>
254
+ </div>
255
+ <div class="refsect1">
256
+ <a name="GtkSourceSearchContext.includes"></a><h2>Includes</h2>
257
+ <pre class="synopsis">#include &lt;gtksourceview/gtksource.h&gt;
258
+ </pre>
259
+ </div>
260
+ <div class="refsect1">
261
+ <a name="GtkSourceSearchContext.description"></a><h2>Description</h2>
262
+ <p>A <a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> is used for the search and replace in a
263
+ <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>. The search settings are represented by a
264
+ <a class="link" href="GtkSourceSearchSettings.html" title="GtkSourceSearchSettings"><span class="type">GtkSourceSearchSettings</span></a> object. There can be a many-to-many relationship
265
+ between buffers and search settings, with the search contexts in-between: a
266
+ search settings object can be shared between several search contexts; and a
267
+ buffer can contain several search contexts at the same time.</p>
268
+ <p>The total number of search occurrences can be retrieved with
269
+ <a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-get-occurrences-count" title="gtk_source_search_context_get_occurrences_count ()"><code class="function">gtk_source_search_context_get_occurrences_count()</code></a>. To know the position of a
270
+ certain match, use <a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-get-occurrence-position" title="gtk_source_search_context_get_occurrence_position ()"><code class="function">gtk_source_search_context_get_occurrence_position()</code></a>.</p>
271
+ <p>The buffer is scanned asynchronously, so it doesn't block the user interface.
272
+ For each search, the buffer is scanned at most once. After that, navigating
273
+ through the occurrences doesn't require to re-scan the buffer entirely.</p>
274
+ <p>To search forward, use <a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-forward" title="gtk_source_search_context_forward ()"><code class="function">gtk_source_search_context_forward()</code></a> or
275
+ <a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-forward-async" title="gtk_source_search_context_forward_async ()"><code class="function">gtk_source_search_context_forward_async()</code></a> for the asynchronous version.
276
+ The backward search is done similarly. To replace a search match, or all
277
+ matches, use <a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-replace" title="gtk_source_search_context_replace ()"><code class="function">gtk_source_search_context_replace()</code></a> and
278
+ <a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-replace-all" title="gtk_source_search_context_replace_all ()"><code class="function">gtk_source_search_context_replace_all()</code></a>.</p>
279
+ <p>The search occurrences are highlighted by default. To disable it, use
280
+ <a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-set-highlight" title="gtk_source_search_context_set_highlight ()"><code class="function">gtk_source_search_context_set_highlight()</code></a>. You can enable the search
281
+ highlighting for several <a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a>s attached to the
282
+ same buffer. Moreover, each of those <a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a>s can
283
+ have a different text style associated. Use
284
+ <a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-set-match-style" title="gtk_source_search_context_set_match_style ()"><code class="function">gtk_source_search_context_set_match_style()</code></a> to specify the <a class="link" href="GtkSourceStyle.html" title="GtkSourceStyle"><span class="type">GtkSourceStyle</span></a>
285
+ to apply on search matches.</p>
286
+ <p>Note that the <a class="link" href="GtkSourceSearchContext.html#GtkSourceSearchContext--highlight" title="The “highlight” property"><span class="type">“highlight”</span></a> and
287
+ <a class="link" href="GtkSourceSearchContext.html#GtkSourceSearchContext--match-style" title="The “match-style” property"><span class="type">“match-style”</span></a> properties are in the
288
+ <a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> class, not <a class="link" href="GtkSourceSearchSettings.html" title="GtkSourceSearchSettings"><span class="type">GtkSourceSearchSettings</span></a>. Appearance
289
+ settings should be tied to one, and only one buffer, as different buffers can
290
+ have different style scheme associated (a <a class="link" href="GtkSourceSearchSettings.html" title="GtkSourceSearchSettings"><span class="type">GtkSourceSearchSettings</span></a> object
291
+ can be bound indirectly to several buffers).</p>
292
+ <p>The concept of "current match" doesn't exist yet. A way to highlight
293
+ differently the current match is to select it.</p>
294
+ <p>A search occurrence's position doesn't depend on the cursor position or other
295
+ parameters. Take for instance the buffer "aaaa" with the search text "aa".
296
+ The two occurrences are at positions [0:2] and [2:4]. If you begin to search
297
+ at position 1, you will get the occurrence [2:4], not [1:3]. This is a
298
+ prerequisite for regular expression searches. The pattern ".*" matches the
299
+ entire line. If the cursor is at the middle of the line, you don't want the
300
+ rest of the line as the occurrence, you want an entire line. (As a side note,
301
+ regular expression searches can also match multiple lines.)</p>
302
+ <p>In the GtkSourceView source code, there is an example of how to use the
303
+ search and replace API: see the tests/test-search.c file. It is a mini
304
+ application for the search and replace, with a basic user interface.</p>
305
+ </div>
306
+ <div class="refsect1">
307
+ <a name="GtkSourceSearchContext.functions_details"></a><h2>Functions</h2>
308
+ <div class="refsect2">
309
+ <a name="gtk-source-search-context-new"></a><h3>gtk_source_search_context_new ()</h3>
310
+ <pre class="programlisting"><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="returnvalue">GtkSourceSearchContext</span></a> *
311
+ gtk_source_search_context_new (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
312
+ <em class="parameter"><code><a class="link" href="GtkSourceSearchSettings.html" title="GtkSourceSearchSettings"><span class="type">GtkSourceSearchSettings</span></a> *settings</code></em>);</pre>
313
+ <p>Creates a new search context, associated with <em class="parameter"><code>buffer</code></em>
314
+ , and customized with
315
+ <em class="parameter"><code>settings</code></em>
316
+ . If <em class="parameter"><code>settings</code></em>
317
+ is <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, a new <a class="link" href="GtkSourceSearchSettings.html" title="GtkSourceSearchSettings"><span class="type">GtkSourceSearchSettings</span></a> object will
318
+ be created, that you can retrieve with
319
+ <a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-get-settings" title="gtk_source_search_context_get_settings ()"><code class="function">gtk_source_search_context_get_settings()</code></a>.</p>
320
+ <div class="refsect3">
321
+ <a name="gtk-source-search-context-new.parameters"></a><h4>Parameters</h4>
322
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
323
+ <colgroup>
324
+ <col width="150px" class="parameters_name">
325
+ <col class="parameters_description">
326
+ <col width="200px" class="parameters_annotations">
327
+ </colgroup>
328
+ <tbody>
329
+ <tr>
330
+ <td class="parameter_name"><p>buffer</p></td>
331
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
332
+ <td class="parameter_annotations"> </td>
333
+ </tr>
334
+ <tr>
335
+ <td class="parameter_name"><p>settings</p></td>
336
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceSearchSettings.html" title="GtkSourceSearchSettings"><span class="type">GtkSourceSearchSettings</span></a>, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
337
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
338
+ </tr>
339
+ </tbody>
340
+ </table></div>
341
+ </div>
342
+ <div class="refsect3">
343
+ <a name="gtk-source-search-context-new.returns"></a><h4>Returns</h4>
344
+ <p> a new search context.</p>
345
+ </div>
346
+ <p class="since">Since: <a class="link" href="api-index-3-10.html#api-index-3.10">3.10</a></p>
347
+ </div>
348
+ <hr>
349
+ <div class="refsect2">
350
+ <a name="gtk-source-search-context-get-buffer"></a><h3>gtk_source_search_context_get_buffer ()</h3>
351
+ <pre class="programlisting"><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="returnvalue">GtkSourceBuffer</span></a> *
352
+ gtk_source_search_context_get_buffer (<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>);</pre>
353
+ <div class="refsect3">
354
+ <a name="gtk-source-search-context-get-buffer.parameters"></a><h4>Parameters</h4>
355
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
356
+ <colgroup>
357
+ <col width="150px" class="parameters_name">
358
+ <col class="parameters_description">
359
+ <col width="200px" class="parameters_annotations">
360
+ </colgroup>
361
+ <tbody><tr>
362
+ <td class="parameter_name"><p>search</p></td>
363
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a>.</p></td>
364
+ <td class="parameter_annotations"> </td>
365
+ </tr></tbody>
366
+ </table></div>
367
+ </div>
368
+ <div class="refsect3">
369
+ <a name="gtk-source-search-context-get-buffer.returns"></a><h4>Returns</h4>
370
+ <p>the associated buffer. </p>
371
+ <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
372
+ </div>
373
+ <p class="since">Since: <a class="link" href="api-index-3-10.html#api-index-3.10">3.10</a></p>
374
+ </div>
375
+ <hr>
376
+ <div class="refsect2">
377
+ <a name="gtk-source-search-context-get-settings"></a><h3>gtk_source_search_context_get_settings ()</h3>
378
+ <pre class="programlisting"><a class="link" href="GtkSourceSearchSettings.html" title="GtkSourceSearchSettings"><span class="returnvalue">GtkSourceSearchSettings</span></a> *
379
+ gtk_source_search_context_get_settings
380
+ (<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>);</pre>
381
+ <div class="refsect3">
382
+ <a name="gtk-source-search-context-get-settings.parameters"></a><h4>Parameters</h4>
383
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
384
+ <colgroup>
385
+ <col width="150px" class="parameters_name">
386
+ <col class="parameters_description">
387
+ <col width="200px" class="parameters_annotations">
388
+ </colgroup>
389
+ <tbody><tr>
390
+ <td class="parameter_name"><p>search</p></td>
391
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a>.</p></td>
392
+ <td class="parameter_annotations"> </td>
393
+ </tr></tbody>
394
+ </table></div>
395
+ </div>
396
+ <div class="refsect3">
397
+ <a name="gtk-source-search-context-get-settings.returns"></a><h4>Returns</h4>
398
+ <p>the search settings. </p>
399
+ <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
400
+ </div>
401
+ <p class="since">Since: <a class="link" href="api-index-3-10.html#api-index-3.10">3.10</a></p>
402
+ </div>
403
+ <hr>
404
+ <div class="refsect2">
405
+ <a name="gtk-source-search-context-get-highlight"></a><h3>gtk_source_search_context_get_highlight ()</h3>
406
+ <pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
407
+ gtk_source_search_context_get_highlight
408
+ (<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>);</pre>
409
+ <div class="refsect3">
410
+ <a name="gtk-source-search-context-get-highlight.parameters"></a><h4>Parameters</h4>
411
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
412
+ <colgroup>
413
+ <col width="150px" class="parameters_name">
414
+ <col class="parameters_description">
415
+ <col width="200px" class="parameters_annotations">
416
+ </colgroup>
417
+ <tbody><tr>
418
+ <td class="parameter_name"><p>search</p></td>
419
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a>.</p></td>
420
+ <td class="parameter_annotations"> </td>
421
+ </tr></tbody>
422
+ </table></div>
423
+ </div>
424
+ <div class="refsect3">
425
+ <a name="gtk-source-search-context-get-highlight.returns"></a><h4>Returns</h4>
426
+ <p> whether to highlight the search occurrences.</p>
427
+ </div>
428
+ <p class="since">Since: <a class="link" href="api-index-3-10.html#api-index-3.10">3.10</a></p>
429
+ </div>
430
+ <hr>
431
+ <div class="refsect2">
432
+ <a name="gtk-source-search-context-set-highlight"></a><h3>gtk_source_search_context_set_highlight ()</h3>
433
+ <pre class="programlisting"><span class="returnvalue">void</span>
434
+ gtk_source_search_context_set_highlight
435
+ (<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>,
436
+ <em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> highlight</code></em>);</pre>
437
+ <p>Enables or disables the search occurrences highlighting.</p>
438
+ <div class="refsect3">
439
+ <a name="gtk-source-search-context-set-highlight.parameters"></a><h4>Parameters</h4>
440
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
441
+ <colgroup>
442
+ <col width="150px" class="parameters_name">
443
+ <col class="parameters_description">
444
+ <col width="200px" class="parameters_annotations">
445
+ </colgroup>
446
+ <tbody>
447
+ <tr>
448
+ <td class="parameter_name"><p>search</p></td>
449
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a>.</p></td>
450
+ <td class="parameter_annotations"> </td>
451
+ </tr>
452
+ <tr>
453
+ <td class="parameter_name"><p>highlight</p></td>
454
+ <td class="parameter_description"><p>the setting.</p></td>
455
+ <td class="parameter_annotations"> </td>
456
+ </tr>
457
+ </tbody>
458
+ </table></div>
459
+ </div>
460
+ <p class="since">Since: <a class="link" href="api-index-3-10.html#api-index-3.10">3.10</a></p>
461
+ </div>
462
+ <hr>
463
+ <div class="refsect2">
464
+ <a name="gtk-source-search-context-get-match-style"></a><h3>gtk_source_search_context_get_match_style ()</h3>
465
+ <pre class="programlisting"><a class="link" href="GtkSourceStyle.html" title="GtkSourceStyle"><span class="returnvalue">GtkSourceStyle</span></a> *
466
+ gtk_source_search_context_get_match_style
467
+ (<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>);</pre>
468
+ <div class="refsect3">
469
+ <a name="gtk-source-search-context-get-match-style.parameters"></a><h4>Parameters</h4>
470
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
471
+ <colgroup>
472
+ <col width="150px" class="parameters_name">
473
+ <col class="parameters_description">
474
+ <col width="200px" class="parameters_annotations">
475
+ </colgroup>
476
+ <tbody><tr>
477
+ <td class="parameter_name"><p>search</p></td>
478
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a>.</p></td>
479
+ <td class="parameter_annotations"> </td>
480
+ </tr></tbody>
481
+ </table></div>
482
+ </div>
483
+ <div class="refsect3">
484
+ <a name="gtk-source-search-context-get-match-style.returns"></a><h4>Returns</h4>
485
+ <p>the <a class="link" href="GtkSourceStyle.html" title="GtkSourceStyle"><span class="type">GtkSourceStyle</span></a> to apply on search matches. </p>
486
+ <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
487
+ </div>
488
+ <p class="since">Since: <a class="link" href="api-index-3-16.html#api-index-3.16">3.16</a></p>
489
+ </div>
490
+ <hr>
491
+ <div class="refsect2">
492
+ <a name="gtk-source-search-context-set-match-style"></a><h3>gtk_source_search_context_set_match_style ()</h3>
493
+ <pre class="programlisting"><span class="returnvalue">void</span>
494
+ gtk_source_search_context_set_match_style
495
+ (<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>,
496
+ <em class="parameter"><code><a class="link" href="GtkSourceStyle.html" title="GtkSourceStyle"><span class="type">GtkSourceStyle</span></a> *match_style</code></em>);</pre>
497
+ <p>Set the style to apply on search matches. If <em class="parameter"><code>match_style</code></em>
498
+ is <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, default
499
+ theme's scheme 'match-style' will be used.
500
+ To enable or disable the search highlighting, use
501
+ <a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-set-highlight" title="gtk_source_search_context_set_highlight ()"><code class="function">gtk_source_search_context_set_highlight()</code></a>.</p>
502
+ <div class="refsect3">
503
+ <a name="gtk-source-search-context-set-match-style.parameters"></a><h4>Parameters</h4>
504
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
505
+ <colgroup>
506
+ <col width="150px" class="parameters_name">
507
+ <col class="parameters_description">
508
+ <col width="200px" class="parameters_annotations">
509
+ </colgroup>
510
+ <tbody>
511
+ <tr>
512
+ <td class="parameter_name"><p>search</p></td>
513
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a>.</p></td>
514
+ <td class="parameter_annotations"> </td>
515
+ </tr>
516
+ <tr>
517
+ <td class="parameter_name"><p>match_style</p></td>
518
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceStyle.html" title="GtkSourceStyle"><span class="type">GtkSourceStyle</span></a>, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
519
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
520
+ </tr>
521
+ </tbody>
522
+ </table></div>
523
+ </div>
524
+ <p class="since">Since: <a class="link" href="api-index-3-16.html#api-index-3.16">3.16</a></p>
525
+ </div>
526
+ <hr>
527
+ <div class="refsect2">
528
+ <a name="gtk-source-search-context-get-occurrences-count"></a><h3>gtk_source_search_context_get_occurrences_count ()</h3>
529
+ <pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
530
+ gtk_source_search_context_get_occurrences_count
531
+ (<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>);</pre>
532
+ <p>Gets the total number of search occurrences. If the buffer is not already
533
+ fully scanned, the total number of occurrences is unknown, and -1 is
534
+ returned.</p>
535
+ <div class="refsect3">
536
+ <a name="gtk-source-search-context-get-occurrences-count.parameters"></a><h4>Parameters</h4>
537
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
538
+ <colgroup>
539
+ <col width="150px" class="parameters_name">
540
+ <col class="parameters_description">
541
+ <col width="200px" class="parameters_annotations">
542
+ </colgroup>
543
+ <tbody><tr>
544
+ <td class="parameter_name"><p>search</p></td>
545
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a>.</p></td>
546
+ <td class="parameter_annotations"> </td>
547
+ </tr></tbody>
548
+ </table></div>
549
+ </div>
550
+ <div class="refsect3">
551
+ <a name="gtk-source-search-context-get-occurrences-count.returns"></a><h4>Returns</h4>
552
+ <p> the total number of search occurrences, or -1 if unknown.</p>
553
+ </div>
554
+ <p class="since">Since: <a class="link" href="api-index-3-10.html#api-index-3.10">3.10</a></p>
555
+ </div>
556
+ <hr>
557
+ <div class="refsect2">
558
+ <a name="gtk-source-search-context-get-occurrence-position"></a><h3>gtk_source_search_context_get_occurrence_position ()</h3>
559
+ <pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
560
+ gtk_source_search_context_get_occurrence_position
561
+ (<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>,
562
+ <em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *match_start</code></em>,
563
+ <em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *match_end</code></em>);</pre>
564
+ <p>Gets the position of a search occurrence. If the buffer is not already fully
565
+ scanned, the position may be unknown, and -1 is returned. If 0 is returned,
566
+ it means that this part of the buffer has already been scanned, and that
567
+ <em class="parameter"><code>match_start</code></em>
568
+ and <em class="parameter"><code>match_end</code></em>
569
+ don't delimit an occurrence.</p>
570
+ <div class="refsect3">
571
+ <a name="gtk-source-search-context-get-occurrence-position.parameters"></a><h4>Parameters</h4>
572
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
573
+ <colgroup>
574
+ <col width="150px" class="parameters_name">
575
+ <col class="parameters_description">
576
+ <col width="200px" class="parameters_annotations">
577
+ </colgroup>
578
+ <tbody>
579
+ <tr>
580
+ <td class="parameter_name"><p>search</p></td>
581
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a>.</p></td>
582
+ <td class="parameter_annotations"> </td>
583
+ </tr>
584
+ <tr>
585
+ <td class="parameter_name"><p>match_start</p></td>
586
+ <td class="parameter_description"><p>the start of the occurrence.</p></td>
587
+ <td class="parameter_annotations"> </td>
588
+ </tr>
589
+ <tr>
590
+ <td class="parameter_name"><p>match_end</p></td>
591
+ <td class="parameter_description"><p>the end of the occurrence.</p></td>
592
+ <td class="parameter_annotations"> </td>
593
+ </tr>
594
+ </tbody>
595
+ </table></div>
596
+ </div>
597
+ <div class="refsect3">
598
+ <a name="gtk-source-search-context-get-occurrence-position.returns"></a><h4>Returns</h4>
599
+ <p> the position of the search occurrence. The first occurrence has the
600
+ position 1 (not 0). Returns 0 if <em class="parameter"><code>match_start</code></em>
601
+ and <em class="parameter"><code>match_end</code></em>
602
+ don't delimit
603
+ an occurrence. Returns -1 if the position is not yet known.</p>
604
+ </div>
605
+ <p class="since">Since: <a class="link" href="api-index-3-10.html#api-index-3.10">3.10</a></p>
606
+ </div>
607
+ <hr>
608
+ <div class="refsect2">
609
+ <a name="gtk-source-search-context-forward"></a><h3>gtk_source_search_context_forward ()</h3>
610
+ <pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
611
+ gtk_source_search_context_forward (<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>,
612
+ <em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *iter</code></em>,
613
+ <em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *match_start</code></em>,
614
+ <em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *match_end</code></em>,
615
+ <em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> *has_wrapped_around</code></em>);</pre>
616
+ <p>Synchronous forward search. It is recommended to use the asynchronous
617
+ functions instead, to not block the user interface. However, if you are sure
618
+ that the <em class="parameter"><code>buffer</code></em>
619
+ is small, this function is more convenient to use.</p>
620
+ <p>If the <a class="link" href="GtkSourceSearchSettings.html#GtkSourceSearchSettings--wrap-around" title="The “wrap-around” property"><span class="type">“wrap-around”</span></a> property is <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, this function
621
+ doesn't try to wrap around.</p>
622
+ <p>The <em class="parameter"><code>has_wrapped_around</code></em>
623
+ out parameter is set independently of whether a match
624
+ is found. So if this function returns <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, <em class="parameter"><code>has_wrapped_around</code></em>
625
+ will have
626
+ the same value as the <a class="link" href="GtkSourceSearchSettings.html#GtkSourceSearchSettings--wrap-around" title="The “wrap-around” property"><span class="type">“wrap-around”</span></a> property.</p>
627
+ <div class="refsect3">
628
+ <a name="gtk-source-search-context-forward.parameters"></a><h4>Parameters</h4>
629
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
630
+ <colgroup>
631
+ <col width="150px" class="parameters_name">
632
+ <col class="parameters_description">
633
+ <col width="200px" class="parameters_annotations">
634
+ </colgroup>
635
+ <tbody>
636
+ <tr>
637
+ <td class="parameter_name"><p>search</p></td>
638
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a>.</p></td>
639
+ <td class="parameter_annotations"> </td>
640
+ </tr>
641
+ <tr>
642
+ <td class="parameter_name"><p>iter</p></td>
643
+ <td class="parameter_description"><p>start of search.</p></td>
644
+ <td class="parameter_annotations"> </td>
645
+ </tr>
646
+ <tr>
647
+ <td class="parameter_name"><p>match_start</p></td>
648
+ <td class="parameter_description"><p>return location for start of match, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
649
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
650
+ </tr>
651
+ <tr>
652
+ <td class="parameter_name"><p>match_end</p></td>
653
+ <td class="parameter_description"><p>return location for end of match, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
654
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
655
+ </tr>
656
+ <tr>
657
+ <td class="parameter_name"><p>has_wrapped_around</p></td>
658
+ <td class="parameter_description"><p>return location to know whether the
659
+ search has wrapped around, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
660
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
661
+ </tr>
662
+ </tbody>
663
+ </table></div>
664
+ </div>
665
+ <div class="refsect3">
666
+ <a name="gtk-source-search-context-forward.returns"></a><h4>Returns</h4>
667
+ <p> whether a match was found.</p>
668
+ </div>
669
+ <p class="since">Since: <a class="link" href="api-index-4-0.html#api-index-4.0">4.0</a></p>
670
+ </div>
671
+ <hr>
672
+ <div class="refsect2">
673
+ <a name="gtk-source-search-context-forward-async"></a><h3>gtk_source_search_context_forward_async ()</h3>
674
+ <pre class="programlisting"><span class="returnvalue">void</span>
675
+ gtk_source_search_context_forward_async
676
+ (<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>,
677
+ <em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *iter</code></em>,
678
+ <em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
679
+ <em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
680
+ <em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
681
+ <p>The asynchronous version of <a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-forward" title="gtk_source_search_context_forward ()"><code class="function">gtk_source_search_context_forward()</code></a>.</p>
682
+ <p>See the documentation of <a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-forward" title="gtk_source_search_context_forward ()"><code class="function">gtk_source_search_context_forward()</code></a> for more
683
+ details.</p>
684
+ <p>See the <a href="/home/seb/jhbuild/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncResult-struct"><span class="type">GAsyncResult</span></a> documentation to know how to use this function.</p>
685
+ <p>If the operation is cancelled, the <em class="parameter"><code>callback</code></em>
686
+ will only be called if
687
+ <em class="parameter"><code>cancellable</code></em>
688
+ was not <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-forward-async" title="gtk_source_search_context_forward_async ()"><code class="function">gtk_source_search_context_forward_async()</code></a> takes
689
+ ownership of <em class="parameter"><code>cancellable</code></em>
690
+ , so you can unref it after calling this function.</p>
691
+ <div class="refsect3">
692
+ <a name="gtk-source-search-context-forward-async.parameters"></a><h4>Parameters</h4>
693
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
694
+ <colgroup>
695
+ <col width="150px" class="parameters_name">
696
+ <col class="parameters_description">
697
+ <col width="200px" class="parameters_annotations">
698
+ </colgroup>
699
+ <tbody>
700
+ <tr>
701
+ <td class="parameter_name"><p>search</p></td>
702
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a>.</p></td>
703
+ <td class="parameter_annotations"> </td>
704
+ </tr>
705
+ <tr>
706
+ <td class="parameter_name"><p>iter</p></td>
707
+ <td class="parameter_description"><p>start of search.</p></td>
708
+ <td class="parameter_annotations"> </td>
709
+ </tr>
710
+ <tr>
711
+ <td class="parameter_name"><p>cancellable</p></td>
712
+ <td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a>, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
713
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
714
+ </tr>
715
+ <tr>
716
+ <td class="parameter_name"><p>callback</p></td>
717
+ <td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> to call when the operation is finished.</p></td>
718
+ <td class="parameter_annotations"> </td>
719
+ </tr>
720
+ <tr>
721
+ <td class="parameter_name"><p>user_data</p></td>
722
+ <td class="parameter_description"><p>the data to pass to the <em class="parameter"><code>callback</code></em>
723
+ function.</p></td>
724
+ <td class="parameter_annotations"> </td>
725
+ </tr>
726
+ </tbody>
727
+ </table></div>
728
+ </div>
729
+ <p class="since">Since: <a class="link" href="api-index-3-10.html#api-index-3.10">3.10</a></p>
730
+ </div>
731
+ <hr>
732
+ <div class="refsect2">
733
+ <a name="gtk-source-search-context-forward-finish"></a><h3>gtk_source_search_context_forward_finish ()</h3>
734
+ <pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
735
+ gtk_source_search_context_forward_finish
736
+ (<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>,
737
+ <em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncResult-struct"><span class="type">GAsyncResult</span></a> *result</code></em>,
738
+ <em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *match_start</code></em>,
739
+ <em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *match_end</code></em>,
740
+ <em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> *has_wrapped_around</code></em>,
741
+ <em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
742
+ <p>Finishes a forward search started with
743
+ <a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-forward-async" title="gtk_source_search_context_forward_async ()"><code class="function">gtk_source_search_context_forward_async()</code></a>.</p>
744
+ <p>See the documentation of <a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-forward" title="gtk_source_search_context_forward ()"><code class="function">gtk_source_search_context_forward()</code></a> for more
745
+ details.</p>
746
+ <div class="refsect3">
747
+ <a name="gtk-source-search-context-forward-finish.parameters"></a><h4>Parameters</h4>
748
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
749
+ <colgroup>
750
+ <col width="150px" class="parameters_name">
751
+ <col class="parameters_description">
752
+ <col width="200px" class="parameters_annotations">
753
+ </colgroup>
754
+ <tbody>
755
+ <tr>
756
+ <td class="parameter_name"><p>search</p></td>
757
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a>.</p></td>
758
+ <td class="parameter_annotations"> </td>
759
+ </tr>
760
+ <tr>
761
+ <td class="parameter_name"><p>result</p></td>
762
+ <td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncResult-struct"><span class="type">GAsyncResult</span></a>.</p></td>
763
+ <td class="parameter_annotations"> </td>
764
+ </tr>
765
+ <tr>
766
+ <td class="parameter_name"><p>match_start</p></td>
767
+ <td class="parameter_description"><p>return location for start of match, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
768
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
769
+ </tr>
770
+ <tr>
771
+ <td class="parameter_name"><p>match_end</p></td>
772
+ <td class="parameter_description"><p>return location for end of match, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
773
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
774
+ </tr>
775
+ <tr>
776
+ <td class="parameter_name"><p>has_wrapped_around</p></td>
777
+ <td class="parameter_description"><p>return location to know whether the
778
+ search has wrapped around, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
779
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
780
+ </tr>
781
+ <tr>
782
+ <td class="parameter_name"><p>error</p></td>
783
+ <td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p></td>
784
+ <td class="parameter_annotations"> </td>
785
+ </tr>
786
+ </tbody>
787
+ </table></div>
788
+ </div>
789
+ <div class="refsect3">
790
+ <a name="gtk-source-search-context-forward-finish.returns"></a><h4>Returns</h4>
791
+ <p> whether a match was found.</p>
792
+ </div>
793
+ <p class="since">Since: <a class="link" href="api-index-4-0.html#api-index-4.0">4.0</a></p>
794
+ </div>
795
+ <hr>
796
+ <div class="refsect2">
797
+ <a name="gtk-source-search-context-backward"></a><h3>gtk_source_search_context_backward ()</h3>
798
+ <pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
799
+ gtk_source_search_context_backward (<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>,
800
+ <em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *iter</code></em>,
801
+ <em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *match_start</code></em>,
802
+ <em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *match_end</code></em>,
803
+ <em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> *has_wrapped_around</code></em>);</pre>
804
+ <p>Synchronous backward search. It is recommended to use the asynchronous
805
+ functions instead, to not block the user interface. However, if you are sure
806
+ that the <em class="parameter"><code>buffer</code></em>
807
+ is small, this function is more convenient to use.</p>
808
+ <p>If the <a class="link" href="GtkSourceSearchSettings.html#GtkSourceSearchSettings--wrap-around" title="The “wrap-around” property"><span class="type">“wrap-around”</span></a> property is <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, this function
809
+ doesn't try to wrap around.</p>
810
+ <p>The <em class="parameter"><code>has_wrapped_around</code></em>
811
+ out parameter is set independently of whether a match
812
+ is found. So if this function returns <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, <em class="parameter"><code>has_wrapped_around</code></em>
813
+ will have
814
+ the same value as the <a class="link" href="GtkSourceSearchSettings.html#GtkSourceSearchSettings--wrap-around" title="The “wrap-around” property"><span class="type">“wrap-around”</span></a> property.</p>
815
+ <div class="refsect3">
816
+ <a name="gtk-source-search-context-backward.parameters"></a><h4>Parameters</h4>
817
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
818
+ <colgroup>
819
+ <col width="150px" class="parameters_name">
820
+ <col class="parameters_description">
821
+ <col width="200px" class="parameters_annotations">
822
+ </colgroup>
823
+ <tbody>
824
+ <tr>
825
+ <td class="parameter_name"><p>search</p></td>
826
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a>.</p></td>
827
+ <td class="parameter_annotations"> </td>
828
+ </tr>
829
+ <tr>
830
+ <td class="parameter_name"><p>iter</p></td>
831
+ <td class="parameter_description"><p>start of search.</p></td>
832
+ <td class="parameter_annotations"> </td>
833
+ </tr>
834
+ <tr>
835
+ <td class="parameter_name"><p>match_start</p></td>
836
+ <td class="parameter_description"><p>return location for start of match, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
837
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
838
+ </tr>
839
+ <tr>
840
+ <td class="parameter_name"><p>match_end</p></td>
841
+ <td class="parameter_description"><p>return location for end of match, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
842
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
843
+ </tr>
844
+ <tr>
845
+ <td class="parameter_name"><p>has_wrapped_around</p></td>
846
+ <td class="parameter_description"><p>return location to know whether the
847
+ search has wrapped around, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
848
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
849
+ </tr>
850
+ </tbody>
851
+ </table></div>
852
+ </div>
853
+ <div class="refsect3">
854
+ <a name="gtk-source-search-context-backward.returns"></a><h4>Returns</h4>
855
+ <p> whether a match was found.</p>
856
+ </div>
857
+ <p class="since">Since: <a class="link" href="api-index-4-0.html#api-index-4.0">4.0</a></p>
858
+ </div>
859
+ <hr>
860
+ <div class="refsect2">
861
+ <a name="gtk-source-search-context-backward-async"></a><h3>gtk_source_search_context_backward_async ()</h3>
862
+ <pre class="programlisting"><span class="returnvalue">void</span>
863
+ gtk_source_search_context_backward_async
864
+ (<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>,
865
+ <em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *iter</code></em>,
866
+ <em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
867
+ <em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
868
+ <em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
869
+ <p>The asynchronous version of <a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-backward" title="gtk_source_search_context_backward ()"><code class="function">gtk_source_search_context_backward()</code></a>.</p>
870
+ <p>See the documentation of <a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-backward" title="gtk_source_search_context_backward ()"><code class="function">gtk_source_search_context_backward()</code></a> for more
871
+ details.</p>
872
+ <p>See the <a href="/home/seb/jhbuild/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncResult-struct"><span class="type">GAsyncResult</span></a> documentation to know how to use this function.</p>
873
+ <p>If the operation is cancelled, the <em class="parameter"><code>callback</code></em>
874
+ will only be called if
875
+ <em class="parameter"><code>cancellable</code></em>
876
+ was not <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-backward-async" title="gtk_source_search_context_backward_async ()"><code class="function">gtk_source_search_context_backward_async()</code></a> takes
877
+ ownership of <em class="parameter"><code>cancellable</code></em>
878
+ , so you can unref it after calling this function.</p>
879
+ <div class="refsect3">
880
+ <a name="gtk-source-search-context-backward-async.parameters"></a><h4>Parameters</h4>
881
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
882
+ <colgroup>
883
+ <col width="150px" class="parameters_name">
884
+ <col class="parameters_description">
885
+ <col width="200px" class="parameters_annotations">
886
+ </colgroup>
887
+ <tbody>
888
+ <tr>
889
+ <td class="parameter_name"><p>search</p></td>
890
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a>.</p></td>
891
+ <td class="parameter_annotations"> </td>
892
+ </tr>
893
+ <tr>
894
+ <td class="parameter_name"><p>iter</p></td>
895
+ <td class="parameter_description"><p>start of search.</p></td>
896
+ <td class="parameter_annotations"> </td>
897
+ </tr>
898
+ <tr>
899
+ <td class="parameter_name"><p>cancellable</p></td>
900
+ <td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a>, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
901
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
902
+ </tr>
903
+ <tr>
904
+ <td class="parameter_name"><p>callback</p></td>
905
+ <td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> to call when the operation is finished.</p></td>
906
+ <td class="parameter_annotations"> </td>
907
+ </tr>
908
+ <tr>
909
+ <td class="parameter_name"><p>user_data</p></td>
910
+ <td class="parameter_description"><p>the data to pass to the <em class="parameter"><code>callback</code></em>
911
+ function.</p></td>
912
+ <td class="parameter_annotations"> </td>
913
+ </tr>
914
+ </tbody>
915
+ </table></div>
916
+ </div>
917
+ <p class="since">Since: <a class="link" href="api-index-3-10.html#api-index-3.10">3.10</a></p>
918
+ </div>
919
+ <hr>
920
+ <div class="refsect2">
921
+ <a name="gtk-source-search-context-backward-finish"></a><h3>gtk_source_search_context_backward_finish ()</h3>
922
+ <pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
923
+ gtk_source_search_context_backward_finish
924
+ (<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>,
925
+ <em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncResult-struct"><span class="type">GAsyncResult</span></a> *result</code></em>,
926
+ <em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *match_start</code></em>,
927
+ <em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *match_end</code></em>,
928
+ <em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> *has_wrapped_around</code></em>,
929
+ <em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
930
+ <p>Finishes a backward search started with
931
+ <a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-backward-async" title="gtk_source_search_context_backward_async ()"><code class="function">gtk_source_search_context_backward_async()</code></a>.</p>
932
+ <p>See the documentation of <a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-backward" title="gtk_source_search_context_backward ()"><code class="function">gtk_source_search_context_backward()</code></a> for more
933
+ details.</p>
934
+ <div class="refsect3">
935
+ <a name="gtk-source-search-context-backward-finish.parameters"></a><h4>Parameters</h4>
936
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
937
+ <colgroup>
938
+ <col width="150px" class="parameters_name">
939
+ <col class="parameters_description">
940
+ <col width="200px" class="parameters_annotations">
941
+ </colgroup>
942
+ <tbody>
943
+ <tr>
944
+ <td class="parameter_name"><p>search</p></td>
945
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a>.</p></td>
946
+ <td class="parameter_annotations"> </td>
947
+ </tr>
948
+ <tr>
949
+ <td class="parameter_name"><p>result</p></td>
950
+ <td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncResult-struct"><span class="type">GAsyncResult</span></a>.</p></td>
951
+ <td class="parameter_annotations"> </td>
952
+ </tr>
953
+ <tr>
954
+ <td class="parameter_name"><p>match_start</p></td>
955
+ <td class="parameter_description"><p>return location for start of match, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
956
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
957
+ </tr>
958
+ <tr>
959
+ <td class="parameter_name"><p>match_end</p></td>
960
+ <td class="parameter_description"><p>return location for end of match, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
961
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
962
+ </tr>
963
+ <tr>
964
+ <td class="parameter_name"><p>has_wrapped_around</p></td>
965
+ <td class="parameter_description"><p>return location to know whether the
966
+ search has wrapped around, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
967
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
968
+ </tr>
969
+ <tr>
970
+ <td class="parameter_name"><p>error</p></td>
971
+ <td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p></td>
972
+ <td class="parameter_annotations"> </td>
973
+ </tr>
974
+ </tbody>
975
+ </table></div>
976
+ </div>
977
+ <div class="refsect3">
978
+ <a name="gtk-source-search-context-backward-finish.returns"></a><h4>Returns</h4>
979
+ <p> whether a match was found.</p>
980
+ </div>
981
+ <p class="since">Since: <a class="link" href="api-index-4-0.html#api-index-4.0">4.0</a></p>
982
+ </div>
983
+ <hr>
984
+ <div class="refsect2">
985
+ <a name="gtk-source-search-context-replace"></a><h3>gtk_source_search_context_replace ()</h3>
986
+ <pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
987
+ gtk_source_search_context_replace (<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>,
988
+ <em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *match_start</code></em>,
989
+ <em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *match_end</code></em>,
990
+ <em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *replace</code></em>,
991
+ <em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> replace_length</code></em>,
992
+ <em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
993
+ <p>Replaces a search match by another text. If <em class="parameter"><code>match_start</code></em>
994
+ and <em class="parameter"><code>match_end</code></em>
995
+
996
+ doesn't correspond to a search match, <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> is returned.</p>
997
+ <p><em class="parameter"><code>match_start</code></em>
998
+ and <em class="parameter"><code>match_end</code></em>
999
+ iters are revalidated to point to the replacement
1000
+ text boundaries.</p>
1001
+ <p>For a regular expression replacement, you can check if <em class="parameter"><code>replace</code></em>
1002
+ is valid by
1003
+ calling <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html#g-regex-check-replacement"><code class="function">g_regex_check_replacement()</code></a>. The <em class="parameter"><code>replace</code></em>
1004
+ text can contain
1005
+ backreferences; read the <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html#g-regex-replace"><code class="function">g_regex_replace()</code></a> documentation for more details.</p>
1006
+ <div class="refsect3">
1007
+ <a name="gtk-source-search-context-replace.parameters"></a><h4>Parameters</h4>
1008
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
1009
+ <colgroup>
1010
+ <col width="150px" class="parameters_name">
1011
+ <col class="parameters_description">
1012
+ <col width="200px" class="parameters_annotations">
1013
+ </colgroup>
1014
+ <tbody>
1015
+ <tr>
1016
+ <td class="parameter_name"><p>search</p></td>
1017
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a>.</p></td>
1018
+ <td class="parameter_annotations"> </td>
1019
+ </tr>
1020
+ <tr>
1021
+ <td class="parameter_name"><p>match_start</p></td>
1022
+ <td class="parameter_description"><p>the start of the match to replace.</p></td>
1023
+ <td class="parameter_annotations"> </td>
1024
+ </tr>
1025
+ <tr>
1026
+ <td class="parameter_name"><p>match_end</p></td>
1027
+ <td class="parameter_description"><p>the end of the match to replace.</p></td>
1028
+ <td class="parameter_annotations"> </td>
1029
+ </tr>
1030
+ <tr>
1031
+ <td class="parameter_name"><p>replace</p></td>
1032
+ <td class="parameter_description"><p>the replacement text.</p></td>
1033
+ <td class="parameter_annotations"> </td>
1034
+ </tr>
1035
+ <tr>
1036
+ <td class="parameter_name"><p>replace_length</p></td>
1037
+ <td class="parameter_description"><p>the length of <em class="parameter"><code>replace</code></em>
1038
+ in bytes, or -1.</p></td>
1039
+ <td class="parameter_annotations"> </td>
1040
+ </tr>
1041
+ <tr>
1042
+ <td class="parameter_name"><p>error</p></td>
1043
+ <td class="parameter_description"><p>location to a <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore errors.</p></td>
1044
+ <td class="parameter_annotations"> </td>
1045
+ </tr>
1046
+ </tbody>
1047
+ </table></div>
1048
+ </div>
1049
+ <div class="refsect3">
1050
+ <a name="gtk-source-search-context-replace.returns"></a><h4>Returns</h4>
1051
+ <p> whether the match has been replaced.</p>
1052
+ </div>
1053
+ <p class="since">Since: <a class="link" href="api-index-4-0.html#api-index-4.0">4.0</a></p>
1054
+ </div>
1055
+ <hr>
1056
+ <div class="refsect2">
1057
+ <a name="gtk-source-search-context-replace-all"></a><h3>gtk_source_search_context_replace_all ()</h3>
1058
+ <pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
1059
+ gtk_source_search_context_replace_all (<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>,
1060
+ <em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *replace</code></em>,
1061
+ <em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> replace_length</code></em>,
1062
+ <em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
1063
+ <p>Replaces all search matches by another text. It is a synchronous function, so
1064
+ it can block the user interface.</p>
1065
+ <p>For a regular expression replacement, you can check if <em class="parameter"><code>replace</code></em>
1066
+ is valid by
1067
+ calling <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html#g-regex-check-replacement"><code class="function">g_regex_check_replacement()</code></a>. The <em class="parameter"><code>replace</code></em>
1068
+ text can contain
1069
+ backreferences; read the <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html#g-regex-replace"><code class="function">g_regex_replace()</code></a> documentation for more details.</p>
1070
+ <div class="refsect3">
1071
+ <a name="gtk-source-search-context-replace-all.parameters"></a><h4>Parameters</h4>
1072
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
1073
+ <colgroup>
1074
+ <col width="150px" class="parameters_name">
1075
+ <col class="parameters_description">
1076
+ <col width="200px" class="parameters_annotations">
1077
+ </colgroup>
1078
+ <tbody>
1079
+ <tr>
1080
+ <td class="parameter_name"><p>search</p></td>
1081
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a>.</p></td>
1082
+ <td class="parameter_annotations"> </td>
1083
+ </tr>
1084
+ <tr>
1085
+ <td class="parameter_name"><p>replace</p></td>
1086
+ <td class="parameter_description"><p>the replacement text.</p></td>
1087
+ <td class="parameter_annotations"> </td>
1088
+ </tr>
1089
+ <tr>
1090
+ <td class="parameter_name"><p>replace_length</p></td>
1091
+ <td class="parameter_description"><p>the length of <em class="parameter"><code>replace</code></em>
1092
+ in bytes, or -1.</p></td>
1093
+ <td class="parameter_annotations"> </td>
1094
+ </tr>
1095
+ <tr>
1096
+ <td class="parameter_name"><p>error</p></td>
1097
+ <td class="parameter_description"><p>location to a <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore errors.</p></td>
1098
+ <td class="parameter_annotations"> </td>
1099
+ </tr>
1100
+ </tbody>
1101
+ </table></div>
1102
+ </div>
1103
+ <div class="refsect3">
1104
+ <a name="gtk-source-search-context-replace-all.returns"></a><h4>Returns</h4>
1105
+ <p> the number of replaced matches.</p>
1106
+ </div>
1107
+ <p class="since">Since: <a class="link" href="api-index-3-10.html#api-index-3.10">3.10</a></p>
1108
+ </div>
1109
+ <hr>
1110
+ <div class="refsect2">
1111
+ <a name="gtk-source-search-context-get-regex-error"></a><h3>gtk_source_search_context_get_regex_error ()</h3>
1112
+ <pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> *
1113
+ gtk_source_search_context_get_regex_error
1114
+ (<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>);</pre>
1115
+ <p>Regular expression patterns must follow certain rules. If
1116
+ <a class="link" href="GtkSourceSearchSettings.html#GtkSourceSearchSettings--search-text" title="The “search-text” property"><span class="type">“search-text”</span></a> breaks a rule, the error can be retrieved
1117
+ with this function. The error domain is <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html#G-REGEX-ERROR:CAPS"><span class="type">G_REGEX_ERROR</span></a>.</p>
1118
+ <p>Free the return value with <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Error-Reporting.html#g-error-free"><code class="function">g_error_free()</code></a>.</p>
1119
+ <div class="refsect3">
1120
+ <a name="gtk-source-search-context-get-regex-error.parameters"></a><h4>Parameters</h4>
1121
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
1122
+ <colgroup>
1123
+ <col width="150px" class="parameters_name">
1124
+ <col class="parameters_description">
1125
+ <col width="200px" class="parameters_annotations">
1126
+ </colgroup>
1127
+ <tbody><tr>
1128
+ <td class="parameter_name"><p>search</p></td>
1129
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a>.</p></td>
1130
+ <td class="parameter_annotations"> </td>
1131
+ </tr></tbody>
1132
+ </table></div>
1133
+ </div>
1134
+ <div class="refsect3">
1135
+ <a name="gtk-source-search-context-get-regex-error.returns"></a><h4>Returns</h4>
1136
+ <p>the <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the pattern is valid. </p>
1137
+ <p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
1138
+ </div>
1139
+ <p class="since">Since: <a class="link" href="api-index-3-10.html#api-index-3.10">3.10</a></p>
1140
+ </div>
1141
+ </div>
1142
+ <div class="refsect1">
1143
+ <a name="GtkSourceSearchContext.other_details"></a><h2>Types and Values</h2>
1144
+ <div class="refsect2">
1145
+ <a name="GtkSourceSearchContext-struct"></a><h3>GtkSourceSearchContext</h3>
1146
+ <pre class="programlisting">typedef struct _GtkSourceSearchContext GtkSourceSearchContext;</pre>
1147
+ </div>
1148
+ </div>
1149
+ <div class="refsect1">
1150
+ <a name="GtkSourceSearchContext.property-details"></a><h2>Property Details</h2>
1151
+ <div class="refsect2">
1152
+ <a name="GtkSourceSearchContext--buffer"></a><h3>The <code class="literal">“buffer”</code> property</h3>
1153
+ <pre class="programlisting"> “buffer” <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *</pre>
1154
+ <p>The <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> associated to the search context.</p>
1155
+ <p>Flags: Read / Write / Construct Only</p>
1156
+ <p class="since">Since: <a class="link" href="api-index-3-10.html#api-index-3.10">3.10</a></p>
1157
+ </div>
1158
+ <hr>
1159
+ <div class="refsect2">
1160
+ <a name="GtkSourceSearchContext--highlight"></a><h3>The <code class="literal">“highlight”</code> property</h3>
1161
+ <pre class="programlisting"> “highlight” <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
1162
+ <p>Highlight the search occurrences.</p>
1163
+ <p>Flags: Read / Write / Construct</p>
1164
+ <p>Default value: TRUE</p>
1165
+ <p class="since">Since: <a class="link" href="api-index-3-10.html#api-index-3.10">3.10</a></p>
1166
+ </div>
1167
+ <hr>
1168
+ <div class="refsect2">
1169
+ <a name="GtkSourceSearchContext--match-style"></a><h3>The <code class="literal">“match-style”</code> property</h3>
1170
+ <pre class="programlisting"> “match-style” <a class="link" href="GtkSourceStyle.html" title="GtkSourceStyle"><span class="type">GtkSourceStyle</span></a> *</pre>
1171
+ <p>A <a class="link" href="GtkSourceStyle.html" title="GtkSourceStyle"><span class="type">GtkSourceStyle</span></a>, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> for theme's scheme default style.</p>
1172
+ <p>Flags: Read / Write / Construct</p>
1173
+ <p class="since">Since: <a class="link" href="api-index-3-16.html#api-index-3.16">3.16</a></p>
1174
+ </div>
1175
+ <hr>
1176
+ <div class="refsect2">
1177
+ <a name="GtkSourceSearchContext--occurrences-count"></a><h3>The <code class="literal">“occurrences-count”</code> property</h3>
1178
+ <pre class="programlisting"> “occurrences-count” <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
1179
+ <p>The total number of search occurrences. If the search is disabled,
1180
+ the value is 0. If the buffer is not already fully scanned, the value
1181
+ is -1.</p>
1182
+ <p>Flags: Read</p>
1183
+ <p>Allowed values: &gt;= -1</p>
1184
+ <p>Default value: 0</p>
1185
+ <p class="since">Since: <a class="link" href="api-index-3-10.html#api-index-3.10">3.10</a></p>
1186
+ </div>
1187
+ <hr>
1188
+ <div class="refsect2">
1189
+ <a name="GtkSourceSearchContext--regex-error"></a><h3>The <code class="literal">“regex-error”</code> property</h3>
1190
+ <pre class="programlisting"> “regex-error” <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a></pre>
1191
+ <p>If the regex search pattern doesn't follow all the rules, this
1192
+ <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> property will be set. If the pattern is valid, the value is
1193
+ <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
1194
+ <p>Free with <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Error-Reporting.html#g-error-free"><code class="function">g_error_free()</code></a>.</p>
1195
+ <p>Flags: Read</p>
1196
+ <p class="since">Since: <a class="link" href="api-index-3-10.html#api-index-3.10">3.10</a></p>
1197
+ </div>
1198
+ <hr>
1199
+ <div class="refsect2">
1200
+ <a name="GtkSourceSearchContext--settings"></a><h3>The <code class="literal">“settings”</code> property</h3>
1201
+ <pre class="programlisting"> “settings” <a class="link" href="GtkSourceSearchSettings.html" title="GtkSourceSearchSettings"><span class="type">GtkSourceSearchSettings</span></a> *</pre>
1202
+ <p>The <a class="link" href="GtkSourceSearchSettings.html" title="GtkSourceSearchSettings"><span class="type">GtkSourceSearchSettings</span></a> associated to the search context.</p>
1203
+ <p>This property is construct-only since version 4.0.</p>
1204
+ <p>Flags: Read / Write / Construct Only</p>
1205
+ <p class="since">Since: <a class="link" href="api-index-3-10.html#api-index-3.10">3.10</a></p>
1206
+ </div>
1207
+ </div>
1208
+ <div class="refsect1">
1209
+ <a name="GtkSourceSearchContext.see-also"></a><h2>See Also</h2>
1210
+ <p><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>, <a class="link" href="GtkSourceSearchSettings.html" title="GtkSourceSearchSettings"><span class="type">GtkSourceSearchSettings</span></a></p>
1211
+ </div>
1212
+ </div>
1213
+ <div class="footer">
1214
+ <hr>Generated by GTK-Doc V1.28.1</div>
1215
+ </body>
1216
+ </html>