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