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,2143 @@
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: GtkSourceBuffer</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="ch01.html" title="API reference">
10
+ <link rel="next" href="GtkSourceCompletion.html" title="GtkSourceCompletion">
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="#GtkSourceBuffer.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
19
+ <a href="#GtkSourceBuffer.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties">  <span class="dim">|</span> 
20
+ <a href="#GtkSourceBuffer.properties" class="shortcut">Properties</a></span><span id="nav_signals">  <span class="dim">|</span> 
21
+ <a href="#GtkSourceBuffer.signals" class="shortcut">Signals</a></span>
22
+ </td>
23
+ <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
24
+ <td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
25
+ <td><a accesskey="p" href="ch01.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
26
+ <td><a accesskey="n" href="GtkSourceCompletion.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
27
+ </tr></table>
28
+ <div class="refentry">
29
+ <a name="GtkSourceBuffer"></a><div class="titlepage"></div>
30
+ <div class="refnamediv"><table width="100%"><tr>
31
+ <td valign="top">
32
+ <h2><span class="refentrytitle"><a name="GtkSourceBuffer.top_of_page"></a>GtkSourceBuffer</span></h2>
33
+ <p>GtkSourceBuffer — Buffer object for GtkSourceView</p>
34
+ </td>
35
+ <td class="gallery_image" valign="top" align="right"></td>
36
+ </tr></table></div>
37
+ <div class="refsect1">
38
+ <a name="GtkSourceBuffer.functions"></a><h2>Functions</h2>
39
+ <div class="informaltable"><table width="100%" border="0">
40
+ <colgroup>
41
+ <col width="150px" class="functions_return">
42
+ <col class="functions_name">
43
+ </colgroup>
44
+ <tbody>
45
+ <tr>
46
+ <td class="function_type">
47
+ <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="returnvalue">GtkSourceBuffer</span></a> *
48
+ </td>
49
+ <td class="function_name">
50
+ <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-new" title="gtk_source_buffer_new ()">gtk_source_buffer_new</a> <span class="c_punctuation">()</span>
51
+ </td>
52
+ </tr>
53
+ <tr>
54
+ <td class="function_type">
55
+ <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="returnvalue">GtkSourceBuffer</span></a> *
56
+ </td>
57
+ <td class="function_name">
58
+ <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-new-with-language" title="gtk_source_buffer_new_with_language ()">gtk_source_buffer_new_with_language</a> <span class="c_punctuation">()</span>
59
+ </td>
60
+ </tr>
61
+ <tr>
62
+ <td class="function_type">
63
+ <span class="returnvalue">void</span>
64
+ </td>
65
+ <td class="function_name">
66
+ <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-highlight-syntax" title="gtk_source_buffer_set_highlight_syntax ()">gtk_source_buffer_set_highlight_syntax</a> <span class="c_punctuation">()</span>
67
+ </td>
68
+ </tr>
69
+ <tr>
70
+ <td class="function_type">
71
+ <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>
72
+ </td>
73
+ <td class="function_name">
74
+ <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-get-highlight-syntax" title="gtk_source_buffer_get_highlight_syntax ()">gtk_source_buffer_get_highlight_syntax</a> <span class="c_punctuation">()</span>
75
+ </td>
76
+ </tr>
77
+ <tr>
78
+ <td class="function_type">
79
+ <span class="returnvalue">void</span>
80
+ </td>
81
+ <td class="function_name">
82
+ <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-language" title="gtk_source_buffer_set_language ()">gtk_source_buffer_set_language</a> <span class="c_punctuation">()</span>
83
+ </td>
84
+ </tr>
85
+ <tr>
86
+ <td class="function_type">
87
+ <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="returnvalue">GtkSourceLanguage</span></a> *
88
+ </td>
89
+ <td class="function_name">
90
+ <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-get-language" title="gtk_source_buffer_get_language ()">gtk_source_buffer_get_language</a> <span class="c_punctuation">()</span>
91
+ </td>
92
+ </tr>
93
+ <tr>
94
+ <td class="function_type">
95
+ <span class="returnvalue">void</span>
96
+ </td>
97
+ <td class="function_name">
98
+ <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-highlight-matching-brackets" title="gtk_source_buffer_set_highlight_matching_brackets ()">gtk_source_buffer_set_highlight_matching_brackets</a> <span class="c_punctuation">()</span>
99
+ </td>
100
+ </tr>
101
+ <tr>
102
+ <td class="function_type">
103
+ <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>
104
+ </td>
105
+ <td class="function_name">
106
+ <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-get-highlight-matching-brackets" title="gtk_source_buffer_get_highlight_matching_brackets ()">gtk_source_buffer_get_highlight_matching_brackets</a> <span class="c_punctuation">()</span>
107
+ </td>
108
+ </tr>
109
+ <tr>
110
+ <td class="function_type">
111
+ <span class="returnvalue">void</span>
112
+ </td>
113
+ <td class="function_name">
114
+ <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-style-scheme" title="gtk_source_buffer_set_style_scheme ()">gtk_source_buffer_set_style_scheme</a> <span class="c_punctuation">()</span>
115
+ </td>
116
+ </tr>
117
+ <tr>
118
+ <td class="function_type">
119
+ <a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="returnvalue">GtkSourceStyleScheme</span></a> *
120
+ </td>
121
+ <td class="function_name">
122
+ <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-get-style-scheme" title="gtk_source_buffer_get_style_scheme ()">gtk_source_buffer_get_style_scheme</a> <span class="c_punctuation">()</span>
123
+ </td>
124
+ </tr>
125
+ <tr>
126
+ <td class="function_type">
127
+ <span class="returnvalue">void</span>
128
+ </td>
129
+ <td class="function_name">
130
+ <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-ensure-highlight" title="gtk_source_buffer_ensure_highlight ()">gtk_source_buffer_ensure_highlight</a> <span class="c_punctuation">()</span>
131
+ </td>
132
+ </tr>
133
+ <tr>
134
+ <td class="function_type">
135
+ <span class="returnvalue">void</span>
136
+ </td>
137
+ <td class="function_name">
138
+ <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-undo" title="gtk_source_buffer_undo ()">gtk_source_buffer_undo</a> <span class="c_punctuation">()</span>
139
+ </td>
140
+ </tr>
141
+ <tr>
142
+ <td class="function_type">
143
+ <span class="returnvalue">void</span>
144
+ </td>
145
+ <td class="function_name">
146
+ <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-redo" title="gtk_source_buffer_redo ()">gtk_source_buffer_redo</a> <span class="c_punctuation">()</span>
147
+ </td>
148
+ </tr>
149
+ <tr>
150
+ <td class="function_type">
151
+ <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>
152
+ </td>
153
+ <td class="function_name">
154
+ <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-can-undo" title="gtk_source_buffer_can_undo ()">gtk_source_buffer_can_undo</a> <span class="c_punctuation">()</span>
155
+ </td>
156
+ </tr>
157
+ <tr>
158
+ <td class="function_type">
159
+ <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>
160
+ </td>
161
+ <td class="function_name">
162
+ <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-can-redo" title="gtk_source_buffer_can_redo ()">gtk_source_buffer_can_redo</a> <span class="c_punctuation">()</span>
163
+ </td>
164
+ </tr>
165
+ <tr>
166
+ <td class="function_type">
167
+ <span class="returnvalue">void</span>
168
+ </td>
169
+ <td class="function_name">
170
+ <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-begin-not-undoable-action" title="gtk_source_buffer_begin_not_undoable_action ()">gtk_source_buffer_begin_not_undoable_action</a> <span class="c_punctuation">()</span>
171
+ </td>
172
+ </tr>
173
+ <tr>
174
+ <td class="function_type">
175
+ <span class="returnvalue">void</span>
176
+ </td>
177
+ <td class="function_name">
178
+ <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-end-not-undoable-action" title="gtk_source_buffer_end_not_undoable_action ()">gtk_source_buffer_end_not_undoable_action</a> <span class="c_punctuation">()</span>
179
+ </td>
180
+ </tr>
181
+ <tr>
182
+ <td class="function_type">
183
+ <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>
184
+ </td>
185
+ <td class="function_name">
186
+ <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-get-max-undo-levels" title="gtk_source_buffer_get_max_undo_levels ()">gtk_source_buffer_get_max_undo_levels</a> <span class="c_punctuation">()</span>
187
+ </td>
188
+ </tr>
189
+ <tr>
190
+ <td class="function_type">
191
+ <span class="returnvalue">void</span>
192
+ </td>
193
+ <td class="function_name">
194
+ <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-max-undo-levels" title="gtk_source_buffer_set_max_undo_levels ()">gtk_source_buffer_set_max_undo_levels</a> <span class="c_punctuation">()</span>
195
+ </td>
196
+ </tr>
197
+ <tr>
198
+ <td class="function_type">
199
+ <a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="returnvalue">GtkSourceUndoManager</span></a> *
200
+ </td>
201
+ <td class="function_name">
202
+ <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-get-undo-manager" title="gtk_source_buffer_get_undo_manager ()">gtk_source_buffer_get_undo_manager</a> <span class="c_punctuation">()</span>
203
+ </td>
204
+ </tr>
205
+ <tr>
206
+ <td class="function_type">
207
+ <span class="returnvalue">void</span>
208
+ </td>
209
+ <td class="function_name">
210
+ <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-undo-manager" title="gtk_source_buffer_set_undo_manager ()">gtk_source_buffer_set_undo_manager</a> <span class="c_punctuation">()</span>
211
+ </td>
212
+ </tr>
213
+ <tr>
214
+ <td class="function_type">
215
+ <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>
216
+ </td>
217
+ <td class="function_name">
218
+ <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-iter-has-context-class" title="gtk_source_buffer_iter_has_context_class ()">gtk_source_buffer_iter_has_context_class</a> <span class="c_punctuation">()</span>
219
+ </td>
220
+ </tr>
221
+ <tr>
222
+ <td class="function_type">
223
+ <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> **
224
+ </td>
225
+ <td class="function_name">
226
+ <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-get-context-classes-at-iter" title="gtk_source_buffer_get_context_classes_at_iter ()">gtk_source_buffer_get_context_classes_at_iter</a> <span class="c_punctuation">()</span>
227
+ </td>
228
+ </tr>
229
+ <tr>
230
+ <td class="function_type">
231
+ <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>
232
+ </td>
233
+ <td class="function_name">
234
+ <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-iter-forward-to-context-class-toggle" title="gtk_source_buffer_iter_forward_to_context_class_toggle ()">gtk_source_buffer_iter_forward_to_context_class_toggle</a> <span class="c_punctuation">()</span>
235
+ </td>
236
+ </tr>
237
+ <tr>
238
+ <td class="function_type">
239
+ <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>
240
+ </td>
241
+ <td class="function_name">
242
+ <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-iter-backward-to-context-class-toggle" title="gtk_source_buffer_iter_backward_to_context_class_toggle ()">gtk_source_buffer_iter_backward_to_context_class_toggle</a> <span class="c_punctuation">()</span>
243
+ </td>
244
+ </tr>
245
+ <tr>
246
+ <td class="function_type">
247
+ <a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="returnvalue">GtkSourceMark</span></a> *
248
+ </td>
249
+ <td class="function_name">
250
+ <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-create-source-mark" title="gtk_source_buffer_create_source_mark ()">gtk_source_buffer_create_source_mark</a> <span class="c_punctuation">()</span>
251
+ </td>
252
+ </tr>
253
+ <tr>
254
+ <td class="function_type">
255
+ <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>
256
+ </td>
257
+ <td class="function_name">
258
+ <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-forward-iter-to-source-mark" title="gtk_source_buffer_forward_iter_to_source_mark ()">gtk_source_buffer_forward_iter_to_source_mark</a> <span class="c_punctuation">()</span>
259
+ </td>
260
+ </tr>
261
+ <tr>
262
+ <td class="function_type">
263
+ <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>
264
+ </td>
265
+ <td class="function_name">
266
+ <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-backward-iter-to-source-mark" title="gtk_source_buffer_backward_iter_to_source_mark ()">gtk_source_buffer_backward_iter_to_source_mark</a> <span class="c_punctuation">()</span>
267
+ </td>
268
+ </tr>
269
+ <tr>
270
+ <td class="function_type">
271
+ <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
272
+ </td>
273
+ <td class="function_name">
274
+ <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-get-source-marks-at-line" title="gtk_source_buffer_get_source_marks_at_line ()">gtk_source_buffer_get_source_marks_at_line</a> <span class="c_punctuation">()</span>
275
+ </td>
276
+ </tr>
277
+ <tr>
278
+ <td class="function_type">
279
+ <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
280
+ </td>
281
+ <td class="function_name">
282
+ <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-get-source-marks-at-iter" title="gtk_source_buffer_get_source_marks_at_iter ()">gtk_source_buffer_get_source_marks_at_iter</a> <span class="c_punctuation">()</span>
283
+ </td>
284
+ </tr>
285
+ <tr>
286
+ <td class="function_type">
287
+ <span class="returnvalue">void</span>
288
+ </td>
289
+ <td class="function_name">
290
+ <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-remove-source-marks" title="gtk_source_buffer_remove_source_marks ()">gtk_source_buffer_remove_source_marks</a> <span class="c_punctuation">()</span>
291
+ </td>
292
+ </tr>
293
+ <tr>
294
+ <td class="function_type">
295
+ <span class="returnvalue">void</span>
296
+ </td>
297
+ <td class="function_name">
298
+ <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-change-case" title="gtk_source_buffer_change_case ()">gtk_source_buffer_change_case</a> <span class="c_punctuation">()</span>
299
+ </td>
300
+ </tr>
301
+ <tr>
302
+ <td class="function_type">
303
+ <span class="returnvalue">void</span>
304
+ </td>
305
+ <td class="function_name">
306
+ <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-implicit-trailing-newline" title="gtk_source_buffer_set_implicit_trailing_newline ()">gtk_source_buffer_set_implicit_trailing_newline</a> <span class="c_punctuation">()</span>
307
+ </td>
308
+ </tr>
309
+ <tr>
310
+ <td class="function_type">
311
+ <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>
312
+ </td>
313
+ <td class="function_name">
314
+ <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-get-implicit-trailing-newline" title="gtk_source_buffer_get_implicit_trailing_newline ()">gtk_source_buffer_get_implicit_trailing_newline</a> <span class="c_punctuation">()</span>
315
+ </td>
316
+ </tr>
317
+ </tbody>
318
+ </table></div>
319
+ </div>
320
+ <div class="refsect1">
321
+ <a name="GtkSourceBuffer.properties"></a><h2>Properties</h2>
322
+ <div class="informaltable"><table border="0">
323
+ <colgroup>
324
+ <col width="150px" class="properties_type">
325
+ <col width="300px" class="properties_name">
326
+ <col width="200px" class="properties_flags">
327
+ </colgroup>
328
+ <tbody>
329
+ <tr>
330
+ <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>
331
+ <td class="property_name"><a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer--can-redo" title="The “can-redo” property">can-redo</a></td>
332
+ <td class="property_flags">Read</td>
333
+ </tr>
334
+ <tr>
335
+ <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>
336
+ <td class="property_name"><a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer--can-undo" title="The “can-undo” property">can-undo</a></td>
337
+ <td class="property_flags">Read</td>
338
+ </tr>
339
+ <tr>
340
+ <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>
341
+ <td class="property_name"><a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer--highlight-matching-brackets" title="The “highlight-matching-brackets” property">highlight-matching-brackets</a></td>
342
+ <td class="property_flags">Read / Write</td>
343
+ </tr>
344
+ <tr>
345
+ <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>
346
+ <td class="property_name"><a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer--highlight-syntax" title="The “highlight-syntax” property">highlight-syntax</a></td>
347
+ <td class="property_flags">Read / Write</td>
348
+ </tr>
349
+ <tr>
350
+ <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>
351
+ <td class="property_name"><a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer--implicit-trailing-newline" title="The “implicit-trailing-newline” property">implicit-trailing-newline</a></td>
352
+ <td class="property_flags">Read / Write / Construct</td>
353
+ </tr>
354
+ <tr>
355
+ <td class="property_type">
356
+ <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> *</td>
357
+ <td class="property_name"><a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer--language" title="The “language” property">language</a></td>
358
+ <td class="property_flags">Read / Write</td>
359
+ </tr>
360
+ <tr>
361
+ <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>
362
+ <td class="property_name"><a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer--max-undo-levels" title="The “max-undo-levels” property">max-undo-levels</a></td>
363
+ <td class="property_flags">Read / Write</td>
364
+ </tr>
365
+ <tr>
366
+ <td class="property_type">
367
+ <a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="type">GtkSourceStyleScheme</span></a> *</td>
368
+ <td class="property_name"><a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer--style-scheme" title="The “style-scheme” property">style-scheme</a></td>
369
+ <td class="property_flags">Read / Write</td>
370
+ </tr>
371
+ <tr>
372
+ <td class="property_type">
373
+ <a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a> *</td>
374
+ <td class="property_name"><a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer--undo-manager" title="The “undo-manager” property">undo-manager</a></td>
375
+ <td class="property_flags">Read / Write / Construct</td>
376
+ </tr>
377
+ </tbody>
378
+ </table></div>
379
+ </div>
380
+ <div class="refsect1">
381
+ <a name="GtkSourceBuffer.signals"></a><h2>Signals</h2>
382
+ <div class="informaltable"><table border="0">
383
+ <colgroup>
384
+ <col width="150px" class="signals_return">
385
+ <col width="300px" class="signals_name">
386
+ <col width="200px" class="signals_flags">
387
+ </colgroup>
388
+ <tbody>
389
+ <tr>
390
+ <td class="signal_type"><span class="returnvalue">void</span></td>
391
+ <td class="signal_name"><a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer-bracket-matched" title="The “bracket-matched” signal">bracket-matched</a></td>
392
+ <td class="signal_flags">Run Last</td>
393
+ </tr>
394
+ <tr>
395
+ <td class="signal_type"><span class="returnvalue">void</span></td>
396
+ <td class="signal_name"><a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer-highlight-updated" title="The “highlight-updated” signal">highlight-updated</a></td>
397
+ <td class="signal_flags">Run Last</td>
398
+ </tr>
399
+ <tr>
400
+ <td class="signal_type"><span class="returnvalue">void</span></td>
401
+ <td class="signal_name"><a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer-redo" title="The “redo” signal">redo</a></td>
402
+ <td class="signal_flags">Run Last</td>
403
+ </tr>
404
+ <tr>
405
+ <td class="signal_type"><span class="returnvalue">void</span></td>
406
+ <td class="signal_name"><a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer-source-mark-updated" title="The “source-mark-updated” signal">source-mark-updated</a></td>
407
+ <td class="signal_flags">Run Last</td>
408
+ </tr>
409
+ <tr>
410
+ <td class="signal_type"><span class="returnvalue">void</span></td>
411
+ <td class="signal_name"><a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer-undo" title="The “undo” signal">undo</a></td>
412
+ <td class="signal_flags">Run Last</td>
413
+ </tr>
414
+ </tbody>
415
+ </table></div>
416
+ </div>
417
+ <div class="refsect1">
418
+ <a name="GtkSourceBuffer.other"></a><h2>Types and Values</h2>
419
+ <div class="informaltable"><table width="100%" border="0">
420
+ <colgroup>
421
+ <col width="150px" class="name">
422
+ <col class="description">
423
+ </colgroup>
424
+ <tbody>
425
+ <tr>
426
+ <td class="datatype_keyword"> </td>
427
+ <td class="function_name"><a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer-struct" title="GtkSourceBuffer">GtkSourceBuffer</a></td>
428
+ </tr>
429
+ <tr>
430
+ <td class="datatype_keyword">enum</td>
431
+ <td class="function_name"><a class="link" href="GtkSourceBuffer.html#GtkSourceBracketMatchType" title="enum GtkSourceBracketMatchType">GtkSourceBracketMatchType</a></td>
432
+ </tr>
433
+ <tr>
434
+ <td class="datatype_keyword">enum</td>
435
+ <td class="function_name"><a class="link" href="GtkSourceBuffer.html#GtkSourceChangeCaseType" title="enum GtkSourceChangeCaseType">GtkSourceChangeCaseType</a></td>
436
+ </tr>
437
+ </tbody>
438
+ </table></div>
439
+ </div>
440
+ <div class="refsect1">
441
+ <a name="GtkSourceBuffer.object-hierarchy"></a><h2>Object Hierarchy</h2>
442
+ <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>
443
+ <span class="lineart">╰──</span> <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextBuffer.html">GtkTextBuffer</a>
444
+ <span class="lineart">╰──</span> GtkSourceBuffer
445
+ </pre>
446
+ </div>
447
+ <div class="refsect1">
448
+ <a name="GtkSourceBuffer.includes"></a><h2>Includes</h2>
449
+ <pre class="synopsis">#include &lt;gtksourceview/gtksource.h&gt;
450
+ </pre>
451
+ </div>
452
+ <div class="refsect1">
453
+ <a name="GtkSourceBuffer.description"></a><h2>Description</h2>
454
+ <p>The <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> object is the model for <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> widgets.
455
+ It extends the <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextBuffer.html"><span class="type">GtkTextBuffer</span></a> object by adding features useful to display
456
+ and edit source code such as syntax highlighting and bracket matching. It
457
+ also implements support for undo/redo operations, and for the search and
458
+ replace.</p>
459
+ <p>To create a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> use <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-new" title="gtk_source_buffer_new ()"><code class="function">gtk_source_buffer_new()</code></a> or
460
+ <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-new-with-language" title="gtk_source_buffer_new_with_language ()"><code class="function">gtk_source_buffer_new_with_language()</code></a>. The second form is just a convenience
461
+ function which allows you to initially set a <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a>.</p>
462
+ <p>By default highlighting is enabled, but you can disable it with
463
+ <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-highlight-syntax" title="gtk_source_buffer_set_highlight_syntax ()"><code class="function">gtk_source_buffer_set_highlight_syntax()</code></a>.</p>
464
+ <div class="refsect2">
465
+ <a name="id-1.2.2.9.5"></a><h3>Undo and Redo</h3>
466
+ <p>A custom <a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a> can be implemented and set with
467
+ <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-undo-manager" title="gtk_source_buffer_set_undo_manager ()"><code class="function">gtk_source_buffer_set_undo_manager()</code></a>. However the default implementation
468
+ should be suitable for most uses. By default, actions that can be undone or
469
+ redone are defined as groups of operations between a call to
470
+ <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextBuffer.html#gtk-text-buffer-begin-user-action"><code class="function">gtk_text_buffer_begin_user_action()</code></a> and <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextBuffer.html#gtk-text-buffer-end-user-action"><code class="function">gtk_text_buffer_end_user_action()</code></a>. In
471
+ general, this happens whenever the user presses any key which modifies the
472
+ buffer. But the default undo manager will try to merge similar consecutive
473
+ actions, such as multiple character insertions on the same line, into one
474
+ action. But, inserting a newline starts a new action.</p>
475
+ <p>The default undo manager remembers the "modified" state of the buffer, and
476
+ restore it when an action is undone or redone. It can be useful in a text
477
+ editor to know whether the file is saved. See <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextBuffer.html#gtk-text-buffer-get-modified"><code class="function">gtk_text_buffer_get_modified()</code></a>
478
+ and <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextBuffer.html#gtk-text-buffer-set-modified"><code class="function">gtk_text_buffer_set_modified()</code></a>.</p>
479
+ </div>
480
+ <hr>
481
+ <div class="refsect2">
482
+ <a name="id-1.2.2.9.6"></a><h3>Context Classes</h3>
483
+ <p>It is possible to retrieve some information from the syntax highlighting
484
+ engine. There are currently three default context classes that are
485
+ applied to regions of a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>:</p>
486
+ <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
487
+ <li class="listitem"><p><span class="emphasis"><em>comment</em></span>: the region delimits a comment;</p></li>
488
+ <li class="listitem"><p><span class="emphasis"><em>string</em></span>: the region delimits a string;</p></li>
489
+ <li class="listitem"><p><span class="emphasis"><em>no-spell-check</em></span>: the region should not be spell checked.</p></li>
490
+ </ul></div>
491
+ <p>Custom language definition files can create their own context classes,
492
+ since the functions like <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-iter-has-context-class" title="gtk_source_buffer_iter_has_context_class ()"><code class="function">gtk_source_buffer_iter_has_context_class()</code></a> take
493
+ a string parameter as the context class.</p>
494
+ </div>
495
+ </div>
496
+ <div class="refsect1">
497
+ <a name="GtkSourceBuffer.functions_details"></a><h2>Functions</h2>
498
+ <div class="refsect2">
499
+ <a name="gtk-source-buffer-new"></a><h3>gtk_source_buffer_new ()</h3>
500
+ <pre class="programlisting"><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="returnvalue">GtkSourceBuffer</span></a> *
501
+ gtk_source_buffer_new (<em class="parameter"><code><a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextTagTable.html"><span class="type">GtkTextTagTable</span></a> *table</code></em>);</pre>
502
+ <p>Creates a new source buffer.</p>
503
+ <div class="refsect3">
504
+ <a name="id-1.2.2.10.2.5"></a><h4>Parameters</h4>
505
+ <div class="informaltable"><table width="100%" border="0">
506
+ <colgroup>
507
+ <col width="150px" class="parameters_name">
508
+ <col class="parameters_description">
509
+ <col width="200px" class="parameters_annotations">
510
+ </colgroup>
511
+ <tbody><tr>
512
+ <td class="parameter_name"><p>table</p></td>
513
+ <td class="parameter_description"><p> a <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextTagTable.html"><span class="type">GtkTextTagTable</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 create a new one. </p></td>
514
+ <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>
515
+ </tr></tbody>
516
+ </table></div>
517
+ </div>
518
+ <div class="refsect3">
519
+ <a name="id-1.2.2.10.2.6"></a><h4>Returns</h4>
520
+ <p> a new source buffer.</p>
521
+ <p></p>
522
+ </div>
523
+ </div>
524
+ <hr>
525
+ <div class="refsect2">
526
+ <a name="gtk-source-buffer-new-with-language"></a><h3>gtk_source_buffer_new_with_language ()</h3>
527
+ <pre class="programlisting"><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="returnvalue">GtkSourceBuffer</span></a> *
528
+ gtk_source_buffer_new_with_language (<em class="parameter"><code><a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> *language</code></em>);</pre>
529
+ <p>Creates a new source buffer using the highlighting patterns in
530
+ <em class="parameter"><code>language</code></em>
531
+ . This is equivalent to creating a new source buffer with
532
+ a new tag table and then calling <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-language" title="gtk_source_buffer_set_language ()"><code class="function">gtk_source_buffer_set_language()</code></a>.</p>
533
+ <div class="refsect3">
534
+ <a name="id-1.2.2.10.3.5"></a><h4>Parameters</h4>
535
+ <div class="informaltable"><table width="100%" border="0">
536
+ <colgroup>
537
+ <col width="150px" class="parameters_name">
538
+ <col class="parameters_description">
539
+ <col width="200px" class="parameters_annotations">
540
+ </colgroup>
541
+ <tbody><tr>
542
+ <td class="parameter_name"><p>language</p></td>
543
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a>.</p></td>
544
+ <td class="parameter_annotations"> </td>
545
+ </tr></tbody>
546
+ </table></div>
547
+ </div>
548
+ <div class="refsect3">
549
+ <a name="id-1.2.2.10.3.6"></a><h4>Returns</h4>
550
+ <p> a new source buffer which will highlight text
551
+ according to the highlighting patterns in <em class="parameter"><code>language</code></em>
552
+ .</p>
553
+ <p></p>
554
+ </div>
555
+ </div>
556
+ <hr>
557
+ <div class="refsect2">
558
+ <a name="gtk-source-buffer-set-highlight-syntax"></a><h3>gtk_source_buffer_set_highlight_syntax ()</h3>
559
+ <pre class="programlisting"><span class="returnvalue">void</span>
560
+ gtk_source_buffer_set_highlight_syntax
561
+ (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
562
+ <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>
563
+ <p>Controls whether syntax is highlighted in the buffer. If <em class="parameter"><code>highlight</code></em>
564
+
565
+ is <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the text will be highlighted according to the syntax
566
+ patterns specified in the language set with
567
+ <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-language" title="gtk_source_buffer_set_language ()"><code class="function">gtk_source_buffer_set_language()</code></a>. If <em class="parameter"><code>highlight</code></em>
568
+ is <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>, syntax highlighting
569
+ is disabled and all the GtkTextTag objects that have been added by the
570
+ syntax highlighting engine are removed from the buffer.</p>
571
+ <div class="refsect3">
572
+ <a name="id-1.2.2.10.4.5"></a><h4>Parameters</h4>
573
+ <div class="informaltable"><table width="100%" border="0">
574
+ <colgroup>
575
+ <col width="150px" class="parameters_name">
576
+ <col class="parameters_description">
577
+ <col width="200px" class="parameters_annotations">
578
+ </colgroup>
579
+ <tbody>
580
+ <tr>
581
+ <td class="parameter_name"><p>buffer</p></td>
582
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
583
+ <td class="parameter_annotations"> </td>
584
+ </tr>
585
+ <tr>
586
+ <td class="parameter_name"><p>highlight</p></td>
587
+ <td class="parameter_description"><p><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to enable syntax highlighting, <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> to disable it.</p></td>
588
+ <td class="parameter_annotations"> </td>
589
+ </tr>
590
+ </tbody>
591
+ </table></div>
592
+ </div>
593
+ </div>
594
+ <hr>
595
+ <div class="refsect2">
596
+ <a name="gtk-source-buffer-get-highlight-syntax"></a><h3>gtk_source_buffer_get_highlight_syntax ()</h3>
597
+ <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>
598
+ gtk_source_buffer_get_highlight_syntax
599
+ (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
600
+ <p>Determines whether syntax highlighting is activated in the source
601
+ buffer.</p>
602
+ <div class="refsect3">
603
+ <a name="id-1.2.2.10.5.5"></a><h4>Parameters</h4>
604
+ <div class="informaltable"><table width="100%" border="0">
605
+ <colgroup>
606
+ <col width="150px" class="parameters_name">
607
+ <col class="parameters_description">
608
+ <col width="200px" class="parameters_annotations">
609
+ </colgroup>
610
+ <tbody><tr>
611
+ <td class="parameter_name"><p>buffer</p></td>
612
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
613
+ <td class="parameter_annotations"> </td>
614
+ </tr></tbody>
615
+ </table></div>
616
+ </div>
617
+ <div class="refsect3">
618
+ <a name="id-1.2.2.10.5.6"></a><h4>Returns</h4>
619
+ <p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if syntax highlighting is enabled, <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> otherwise.</p>
620
+ <p></p>
621
+ </div>
622
+ </div>
623
+ <hr>
624
+ <div class="refsect2">
625
+ <a name="gtk-source-buffer-set-language"></a><h3>gtk_source_buffer_set_language ()</h3>
626
+ <pre class="programlisting"><span class="returnvalue">void</span>
627
+ gtk_source_buffer_set_language (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
628
+ <em class="parameter"><code><a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> *language</code></em>);</pre>
629
+ <p>Associate a <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> with the buffer. If <em class="parameter"><code>language</code></em>
630
+ is
631
+ 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> and syntax highlighting is enabled (see <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-highlight-syntax" title="gtk_source_buffer_set_highlight_syntax ()"><code class="function">gtk_source_buffer_set_highlight_syntax()</code></a>),
632
+ the syntax patterns defined in <em class="parameter"><code>language</code></em>
633
+ will be used to highlight the text
634
+ contained in the buffer. If <em class="parameter"><code>language</code></em>
635
+ 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>, the text contained in the
636
+ buffer is not highlighted.</p>
637
+ <p>The buffer holds a reference to <em class="parameter"><code>language</code></em>
638
+ .</p>
639
+ <div class="refsect3">
640
+ <a name="id-1.2.2.10.6.6"></a><h4>Parameters</h4>
641
+ <div class="informaltable"><table width="100%" border="0">
642
+ <colgroup>
643
+ <col width="150px" class="parameters_name">
644
+ <col class="parameters_description">
645
+ <col width="200px" class="parameters_annotations">
646
+ </colgroup>
647
+ <tbody>
648
+ <tr>
649
+ <td class="parameter_name"><p>buffer</p></td>
650
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
651
+ <td class="parameter_annotations"> </td>
652
+ </tr>
653
+ <tr>
654
+ <td class="parameter_name"><p>language</p></td>
655
+ <td class="parameter_description"><p> a <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> to set, 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>
656
+ <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>
657
+ </tr>
658
+ </tbody>
659
+ </table></div>
660
+ </div>
661
+ </div>
662
+ <hr>
663
+ <div class="refsect2">
664
+ <a name="gtk-source-buffer-get-language"></a><h3>gtk_source_buffer_get_language ()</h3>
665
+ <pre class="programlisting"><a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="returnvalue">GtkSourceLanguage</span></a> *
666
+ gtk_source_buffer_get_language (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
667
+ <p>Returns the <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> associated with the buffer,
668
+ see <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-language" title="gtk_source_buffer_set_language ()"><code class="function">gtk_source_buffer_set_language()</code></a>. The returned object should not be
669
+ unreferenced by the user.</p>
670
+ <div class="refsect3">
671
+ <a name="id-1.2.2.10.7.5"></a><h4>Parameters</h4>
672
+ <div class="informaltable"><table width="100%" border="0">
673
+ <colgroup>
674
+ <col width="150px" class="parameters_name">
675
+ <col class="parameters_description">
676
+ <col width="200px" class="parameters_annotations">
677
+ </colgroup>
678
+ <tbody><tr>
679
+ <td class="parameter_name"><p>buffer</p></td>
680
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
681
+ <td class="parameter_annotations"> </td>
682
+ </tr></tbody>
683
+ </table></div>
684
+ </div>
685
+ <div class="refsect3">
686
+ <a name="id-1.2.2.10.7.6"></a><h4>Returns</h4>
687
+ <p> the <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> associated with the buffer, 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>
688
+ <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
689
+ </div>
690
+ </div>
691
+ <hr>
692
+ <div class="refsect2">
693
+ <a name="gtk-source-buffer-set-highlight-matching-brackets"></a><h3>gtk_source_buffer_set_highlight_matching_brackets ()</h3>
694
+ <pre class="programlisting"><span class="returnvalue">void</span>
695
+ gtk_source_buffer_set_highlight_matching_brackets
696
+ (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
697
+ <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>
698
+ <p>Controls the bracket match highlighting function in the buffer. If
699
+ activated, when you position your cursor over a bracket character
700
+ (a parenthesis, a square bracket, etc.) the matching opening or
701
+ closing bracket character will be highlighted.</p>
702
+ <div class="refsect3">
703
+ <a name="id-1.2.2.10.8.5"></a><h4>Parameters</h4>
704
+ <div class="informaltable"><table width="100%" border="0">
705
+ <colgroup>
706
+ <col width="150px" class="parameters_name">
707
+ <col class="parameters_description">
708
+ <col width="200px" class="parameters_annotations">
709
+ </colgroup>
710
+ <tbody>
711
+ <tr>
712
+ <td class="parameter_name"><p>buffer</p></td>
713
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
714
+ <td class="parameter_annotations"> </td>
715
+ </tr>
716
+ <tr>
717
+ <td class="parameter_name"><p>highlight</p></td>
718
+ <td class="parameter_description"><p><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if you want matching brackets highlighted.</p></td>
719
+ <td class="parameter_annotations"> </td>
720
+ </tr>
721
+ </tbody>
722
+ </table></div>
723
+ </div>
724
+ </div>
725
+ <hr>
726
+ <div class="refsect2">
727
+ <a name="gtk-source-buffer-get-highlight-matching-brackets"></a><h3>gtk_source_buffer_get_highlight_matching_brackets ()</h3>
728
+ <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>
729
+ gtk_source_buffer_get_highlight_matching_brackets
730
+ (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
731
+ <p>Determines whether bracket match highlighting is activated for the
732
+ source buffer.</p>
733
+ <div class="refsect3">
734
+ <a name="id-1.2.2.10.9.5"></a><h4>Parameters</h4>
735
+ <div class="informaltable"><table width="100%" border="0">
736
+ <colgroup>
737
+ <col width="150px" class="parameters_name">
738
+ <col class="parameters_description">
739
+ <col width="200px" class="parameters_annotations">
740
+ </colgroup>
741
+ <tbody><tr>
742
+ <td class="parameter_name"><p>buffer</p></td>
743
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
744
+ <td class="parameter_annotations"> </td>
745
+ </tr></tbody>
746
+ </table></div>
747
+ </div>
748
+ <div class="refsect3">
749
+ <a name="id-1.2.2.10.9.6"></a><h4>Returns</h4>
750
+ <p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the source buffer will highlight matching
751
+ brackets.</p>
752
+ <p></p>
753
+ </div>
754
+ </div>
755
+ <hr>
756
+ <div class="refsect2">
757
+ <a name="gtk-source-buffer-set-style-scheme"></a><h3>gtk_source_buffer_set_style_scheme ()</h3>
758
+ <pre class="programlisting"><span class="returnvalue">void</span>
759
+ gtk_source_buffer_set_style_scheme (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
760
+ <em class="parameter"><code><a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="type">GtkSourceStyleScheme</span></a> *scheme</code></em>);</pre>
761
+ <p>Sets style scheme used by the buffer. If <em class="parameter"><code>scheme</code></em>
762
+ 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> no
763
+ style scheme is used.</p>
764
+ <div class="refsect3">
765
+ <a name="id-1.2.2.10.10.5"></a><h4>Parameters</h4>
766
+ <div class="informaltable"><table width="100%" border="0">
767
+ <colgroup>
768
+ <col width="150px" class="parameters_name">
769
+ <col class="parameters_description">
770
+ <col width="200px" class="parameters_annotations">
771
+ </colgroup>
772
+ <tbody>
773
+ <tr>
774
+ <td class="parameter_name"><p>buffer</p></td>
775
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
776
+ <td class="parameter_annotations"> </td>
777
+ </tr>
778
+ <tr>
779
+ <td class="parameter_name"><p>scheme</p></td>
780
+ <td class="parameter_description"><p> a <a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="type">GtkSourceStyleScheme</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>
781
+ <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>
782
+ </tr>
783
+ </tbody>
784
+ </table></div>
785
+ </div>
786
+ </div>
787
+ <hr>
788
+ <div class="refsect2">
789
+ <a name="gtk-source-buffer-get-style-scheme"></a><h3>gtk_source_buffer_get_style_scheme ()</h3>
790
+ <pre class="programlisting"><a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="returnvalue">GtkSourceStyleScheme</span></a> *
791
+ gtk_source_buffer_get_style_scheme (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
792
+ <p>Returns the <a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="type">GtkSourceStyleScheme</span></a> associated with the buffer,
793
+ see <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-style-scheme" title="gtk_source_buffer_set_style_scheme ()"><code class="function">gtk_source_buffer_set_style_scheme()</code></a>.
794
+ The returned object should not be unreferenced by the user.</p>
795
+ <div class="refsect3">
796
+ <a name="id-1.2.2.10.11.5"></a><h4>Parameters</h4>
797
+ <div class="informaltable"><table width="100%" border="0">
798
+ <colgroup>
799
+ <col width="150px" class="parameters_name">
800
+ <col class="parameters_description">
801
+ <col width="200px" class="parameters_annotations">
802
+ </colgroup>
803
+ <tbody><tr>
804
+ <td class="parameter_name"><p>buffer</p></td>
805
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
806
+ <td class="parameter_annotations"> </td>
807
+ </tr></tbody>
808
+ </table></div>
809
+ </div>
810
+ <div class="refsect3">
811
+ <a name="id-1.2.2.10.11.6"></a><h4>Returns</h4>
812
+ <p> the <a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="type">GtkSourceStyleScheme</span></a> associated
813
+ with the buffer, 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>
814
+ <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
815
+ </div>
816
+ </div>
817
+ <hr>
818
+ <div class="refsect2">
819
+ <a name="gtk-source-buffer-ensure-highlight"></a><h3>gtk_source_buffer_ensure_highlight ()</h3>
820
+ <pre class="programlisting"><span class="returnvalue">void</span>
821
+ gtk_source_buffer_ensure_highlight (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
822
+ <em class="parameter"><code>const <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *start</code></em>,
823
+ <em class="parameter"><code>const <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *end</code></em>);</pre>
824
+ <p>Forces buffer to analyze and highlight the given area synchronously.</p>
825
+ <div class="note"><p>
826
+ This is a potentially slow operation and should be used only
827
+ when you need to make sure that some text not currently
828
+ visible is highlighted, for instance before printing.
829
+ </p></div>
830
+ <div class="refsect3">
831
+ <a name="id-1.2.2.10.12.6"></a><h4>Parameters</h4>
832
+ <div class="informaltable"><table width="100%" border="0">
833
+ <colgroup>
834
+ <col width="150px" class="parameters_name">
835
+ <col class="parameters_description">
836
+ <col width="200px" class="parameters_annotations">
837
+ </colgroup>
838
+ <tbody>
839
+ <tr>
840
+ <td class="parameter_name"><p>buffer</p></td>
841
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
842
+ <td class="parameter_annotations"> </td>
843
+ </tr>
844
+ <tr>
845
+ <td class="parameter_name"><p>start</p></td>
846
+ <td class="parameter_description"><p>start of the area to highlight.</p></td>
847
+ <td class="parameter_annotations"> </td>
848
+ </tr>
849
+ <tr>
850
+ <td class="parameter_name"><p>end</p></td>
851
+ <td class="parameter_description"><p>end of the area to highlight.</p></td>
852
+ <td class="parameter_annotations"> </td>
853
+ </tr>
854
+ </tbody>
855
+ </table></div>
856
+ </div>
857
+ </div>
858
+ <hr>
859
+ <div class="refsect2">
860
+ <a name="gtk-source-buffer-undo"></a><h3>gtk_source_buffer_undo ()</h3>
861
+ <pre class="programlisting"><span class="returnvalue">void</span>
862
+ gtk_source_buffer_undo (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
863
+ <p>Undoes the last user action which modified the buffer. Use
864
+ <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-can-undo" title="gtk_source_buffer_can_undo ()"><code class="function">gtk_source_buffer_can_undo()</code></a> to check whether a call to this
865
+ function will have any effect.</p>
866
+ <p>This function emits the <a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer-undo" title="The “undo” signal"><span class="type">“undo”</span></a> signal.</p>
867
+ <div class="refsect3">
868
+ <a name="id-1.2.2.10.13.6"></a><h4>Parameters</h4>
869
+ <div class="informaltable"><table width="100%" border="0">
870
+ <colgroup>
871
+ <col width="150px" class="parameters_name">
872
+ <col class="parameters_description">
873
+ <col width="200px" class="parameters_annotations">
874
+ </colgroup>
875
+ <tbody><tr>
876
+ <td class="parameter_name"><p>buffer</p></td>
877
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
878
+ <td class="parameter_annotations"> </td>
879
+ </tr></tbody>
880
+ </table></div>
881
+ </div>
882
+ </div>
883
+ <hr>
884
+ <div class="refsect2">
885
+ <a name="gtk-source-buffer-redo"></a><h3>gtk_source_buffer_redo ()</h3>
886
+ <pre class="programlisting"><span class="returnvalue">void</span>
887
+ gtk_source_buffer_redo (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
888
+ <p>Redoes the last undo operation. Use <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-can-redo" title="gtk_source_buffer_can_redo ()"><code class="function">gtk_source_buffer_can_redo()</code></a>
889
+ to check whether a call to this function will have any effect.</p>
890
+ <p>This function emits the <a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer-redo" title="The “redo” signal"><span class="type">“redo”</span></a> signal.</p>
891
+ <div class="refsect3">
892
+ <a name="id-1.2.2.10.14.6"></a><h4>Parameters</h4>
893
+ <div class="informaltable"><table width="100%" border="0">
894
+ <colgroup>
895
+ <col width="150px" class="parameters_name">
896
+ <col class="parameters_description">
897
+ <col width="200px" class="parameters_annotations">
898
+ </colgroup>
899
+ <tbody><tr>
900
+ <td class="parameter_name"><p>buffer</p></td>
901
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
902
+ <td class="parameter_annotations"> </td>
903
+ </tr></tbody>
904
+ </table></div>
905
+ </div>
906
+ </div>
907
+ <hr>
908
+ <div class="refsect2">
909
+ <a name="gtk-source-buffer-can-undo"></a><h3>gtk_source_buffer_can_undo ()</h3>
910
+ <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>
911
+ gtk_source_buffer_can_undo (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
912
+ <p>Determines whether a source buffer can undo the last action.</p>
913
+ <div class="refsect3">
914
+ <a name="id-1.2.2.10.15.5"></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><tr>
922
+ <td class="parameter_name"><p>buffer</p></td>
923
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
924
+ <td class="parameter_annotations"> </td>
925
+ </tr></tbody>
926
+ </table></div>
927
+ </div>
928
+ <div class="refsect3">
929
+ <a name="id-1.2.2.10.15.6"></a><h4>Returns</h4>
930
+ <p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if it's possible to undo the last action.</p>
931
+ <p></p>
932
+ </div>
933
+ </div>
934
+ <hr>
935
+ <div class="refsect2">
936
+ <a name="gtk-source-buffer-can-redo"></a><h3>gtk_source_buffer_can_redo ()</h3>
937
+ <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>
938
+ gtk_source_buffer_can_redo (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
939
+ <p>Determines whether a source buffer can redo the last action
940
+ (i.e. if the last operation was an undo).</p>
941
+ <div class="refsect3">
942
+ <a name="id-1.2.2.10.16.5"></a><h4>Parameters</h4>
943
+ <div class="informaltable"><table width="100%" border="0">
944
+ <colgroup>
945
+ <col width="150px" class="parameters_name">
946
+ <col class="parameters_description">
947
+ <col width="200px" class="parameters_annotations">
948
+ </colgroup>
949
+ <tbody><tr>
950
+ <td class="parameter_name"><p>buffer</p></td>
951
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
952
+ <td class="parameter_annotations"> </td>
953
+ </tr></tbody>
954
+ </table></div>
955
+ </div>
956
+ <div class="refsect3">
957
+ <a name="id-1.2.2.10.16.6"></a><h4>Returns</h4>
958
+ <p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if a redo is possible.</p>
959
+ <p></p>
960
+ </div>
961
+ </div>
962
+ <hr>
963
+ <div class="refsect2">
964
+ <a name="gtk-source-buffer-begin-not-undoable-action"></a><h3>gtk_source_buffer_begin_not_undoable_action ()</h3>
965
+ <pre class="programlisting"><span class="returnvalue">void</span>
966
+ gtk_source_buffer_begin_not_undoable_action
967
+ (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
968
+ <p>Marks the beginning of a not undoable action on the buffer,
969
+ disabling the undo manager. Typically you would call this function
970
+ before initially setting the contents of the buffer (e.g. when
971
+ loading a file in a text editor).</p>
972
+ <p>You may nest <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-begin-not-undoable-action" title="gtk_source_buffer_begin_not_undoable_action ()"><code class="function">gtk_source_buffer_begin_not_undoable_action()</code></a> /
973
+ <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-end-not-undoable-action" title="gtk_source_buffer_end_not_undoable_action ()"><code class="function">gtk_source_buffer_end_not_undoable_action()</code></a> blocks.</p>
974
+ <div class="refsect3">
975
+ <a name="id-1.2.2.10.17.6"></a><h4>Parameters</h4>
976
+ <div class="informaltable"><table width="100%" border="0">
977
+ <colgroup>
978
+ <col width="150px" class="parameters_name">
979
+ <col class="parameters_description">
980
+ <col width="200px" class="parameters_annotations">
981
+ </colgroup>
982
+ <tbody><tr>
983
+ <td class="parameter_name"><p>buffer</p></td>
984
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
985
+ <td class="parameter_annotations"> </td>
986
+ </tr></tbody>
987
+ </table></div>
988
+ </div>
989
+ </div>
990
+ <hr>
991
+ <div class="refsect2">
992
+ <a name="gtk-source-buffer-end-not-undoable-action"></a><h3>gtk_source_buffer_end_not_undoable_action ()</h3>
993
+ <pre class="programlisting"><span class="returnvalue">void</span>
994
+ gtk_source_buffer_end_not_undoable_action
995
+ (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
996
+ <p>Marks the end of a not undoable action on the buffer. When the
997
+ last not undoable block is closed through the call to this
998
+ function, the list of undo actions is cleared and the undo manager
999
+ is re-enabled.</p>
1000
+ <div class="refsect3">
1001
+ <a name="id-1.2.2.10.18.5"></a><h4>Parameters</h4>
1002
+ <div class="informaltable"><table width="100%" border="0">
1003
+ <colgroup>
1004
+ <col width="150px" class="parameters_name">
1005
+ <col class="parameters_description">
1006
+ <col width="200px" class="parameters_annotations">
1007
+ </colgroup>
1008
+ <tbody><tr>
1009
+ <td class="parameter_name"><p>buffer</p></td>
1010
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
1011
+ <td class="parameter_annotations"> </td>
1012
+ </tr></tbody>
1013
+ </table></div>
1014
+ </div>
1015
+ </div>
1016
+ <hr>
1017
+ <div class="refsect2">
1018
+ <a name="gtk-source-buffer-get-max-undo-levels"></a><h3>gtk_source_buffer_get_max_undo_levels ()</h3>
1019
+ <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>
1020
+ gtk_source_buffer_get_max_undo_levels (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
1021
+ <p>Determines the number of undo levels the buffer will track for
1022
+ buffer edits.</p>
1023
+ <div class="refsect3">
1024
+ <a name="id-1.2.2.10.19.5"></a><h4>Parameters</h4>
1025
+ <div class="informaltable"><table width="100%" border="0">
1026
+ <colgroup>
1027
+ <col width="150px" class="parameters_name">
1028
+ <col class="parameters_description">
1029
+ <col width="200px" class="parameters_annotations">
1030
+ </colgroup>
1031
+ <tbody><tr>
1032
+ <td class="parameter_name"><p>buffer</p></td>
1033
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
1034
+ <td class="parameter_annotations"> </td>
1035
+ </tr></tbody>
1036
+ </table></div>
1037
+ </div>
1038
+ <div class="refsect3">
1039
+ <a name="id-1.2.2.10.19.6"></a><h4>Returns</h4>
1040
+ <p> the maximum number of possible undo levels or
1041
+ -1 if no limit is set.</p>
1042
+ <p></p>
1043
+ </div>
1044
+ </div>
1045
+ <hr>
1046
+ <div class="refsect2">
1047
+ <a name="gtk-source-buffer-set-max-undo-levels"></a><h3>gtk_source_buffer_set_max_undo_levels ()</h3>
1048
+ <pre class="programlisting"><span class="returnvalue">void</span>
1049
+ gtk_source_buffer_set_max_undo_levels (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
1050
+ <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> max_undo_levels</code></em>);</pre>
1051
+ <p>Sets the number of undo levels for user actions the buffer will
1052
+ track. If the number of user actions exceeds the limit set by this
1053
+ function, older actions will be discarded.</p>
1054
+ <p>If <em class="parameter"><code>max_undo_levels</code></em>
1055
+ is -1, no limit is set.</p>
1056
+ <div class="refsect3">
1057
+ <a name="id-1.2.2.10.20.6"></a><h4>Parameters</h4>
1058
+ <div class="informaltable"><table width="100%" border="0">
1059
+ <colgroup>
1060
+ <col width="150px" class="parameters_name">
1061
+ <col class="parameters_description">
1062
+ <col width="200px" class="parameters_annotations">
1063
+ </colgroup>
1064
+ <tbody>
1065
+ <tr>
1066
+ <td class="parameter_name"><p>buffer</p></td>
1067
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
1068
+ <td class="parameter_annotations"> </td>
1069
+ </tr>
1070
+ <tr>
1071
+ <td class="parameter_name"><p>max_undo_levels</p></td>
1072
+ <td class="parameter_description"><p>the desired maximum number of undo levels.</p></td>
1073
+ <td class="parameter_annotations"> </td>
1074
+ </tr>
1075
+ </tbody>
1076
+ </table></div>
1077
+ </div>
1078
+ </div>
1079
+ <hr>
1080
+ <div class="refsect2">
1081
+ <a name="gtk-source-buffer-get-undo-manager"></a><h3>gtk_source_buffer_get_undo_manager ()</h3>
1082
+ <pre class="programlisting"><a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="returnvalue">GtkSourceUndoManager</span></a> *
1083
+ gtk_source_buffer_get_undo_manager (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
1084
+ <p>Returns the <a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a> associated with the buffer,
1085
+ see <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-undo-manager" title="gtk_source_buffer_set_undo_manager ()"><code class="function">gtk_source_buffer_set_undo_manager()</code></a>. The returned object should not be
1086
+ unreferenced by the user.</p>
1087
+ <div class="refsect3">
1088
+ <a name="id-1.2.2.10.21.5"></a><h4>Parameters</h4>
1089
+ <div class="informaltable"><table width="100%" border="0">
1090
+ <colgroup>
1091
+ <col width="150px" class="parameters_name">
1092
+ <col class="parameters_description">
1093
+ <col width="200px" class="parameters_annotations">
1094
+ </colgroup>
1095
+ <tbody><tr>
1096
+ <td class="parameter_name"><p>buffer</p></td>
1097
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
1098
+ <td class="parameter_annotations"> </td>
1099
+ </tr></tbody>
1100
+ </table></div>
1101
+ </div>
1102
+ <div class="refsect3">
1103
+ <a name="id-1.2.2.10.21.6"></a><h4>Returns</h4>
1104
+ <p> the <a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a> associated
1105
+ with the buffer, 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>
1106
+ <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>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
1107
+ </div>
1108
+ </div>
1109
+ <hr>
1110
+ <div class="refsect2">
1111
+ <a name="gtk-source-buffer-set-undo-manager"></a><h3>gtk_source_buffer_set_undo_manager ()</h3>
1112
+ <pre class="programlisting"><span class="returnvalue">void</span>
1113
+ gtk_source_buffer_set_undo_manager (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
1114
+ <em class="parameter"><code><a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a> *manager</code></em>);</pre>
1115
+ <p>Set the buffer undo manager. If <em class="parameter"><code>manager</code></em>
1116
+ 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> the default undo manager
1117
+ will be set.</p>
1118
+ <div class="refsect3">
1119
+ <a name="id-1.2.2.10.22.5"></a><h4>Parameters</h4>
1120
+ <div class="informaltable"><table width="100%" border="0">
1121
+ <colgroup>
1122
+ <col width="150px" class="parameters_name">
1123
+ <col class="parameters_description">
1124
+ <col width="200px" class="parameters_annotations">
1125
+ </colgroup>
1126
+ <tbody>
1127
+ <tr>
1128
+ <td class="parameter_name"><p>buffer</p></td>
1129
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
1130
+ <td class="parameter_annotations"> </td>
1131
+ </tr>
1132
+ <tr>
1133
+ <td class="parameter_name"><p>manager</p></td>
1134
+ <td class="parameter_description"><p> A <a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</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>
1135
+ <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>
1136
+ </tr>
1137
+ </tbody>
1138
+ </table></div>
1139
+ </div>
1140
+ </div>
1141
+ <hr>
1142
+ <div class="refsect2">
1143
+ <a name="gtk-source-buffer-iter-has-context-class"></a><h3>gtk_source_buffer_iter_has_context_class ()</h3>
1144
+ <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>
1145
+ gtk_source_buffer_iter_has_context_class
1146
+ (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
1147
+ <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>,
1148
+ <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> *context_class</code></em>);</pre>
1149
+ <p>Check if the class <em class="parameter"><code>context_class</code></em>
1150
+ is set on <em class="parameter"><code>iter</code></em>
1151
+ .</p>
1152
+ <p>See the <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> description for the list of default context classes.</p>
1153
+ <div class="refsect3">
1154
+ <a name="id-1.2.2.10.23.6"></a><h4>Parameters</h4>
1155
+ <div class="informaltable"><table width="100%" border="0">
1156
+ <colgroup>
1157
+ <col width="150px" class="parameters_name">
1158
+ <col class="parameters_description">
1159
+ <col width="200px" class="parameters_annotations">
1160
+ </colgroup>
1161
+ <tbody>
1162
+ <tr>
1163
+ <td class="parameter_name"><p>buffer</p></td>
1164
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
1165
+ <td class="parameter_annotations"> </td>
1166
+ </tr>
1167
+ <tr>
1168
+ <td class="parameter_name"><p>iter</p></td>
1169
+ <td class="parameter_description"><p>a <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextIter.html"><span class="type">GtkTextIter</span></a>.</p></td>
1170
+ <td class="parameter_annotations"> </td>
1171
+ </tr>
1172
+ <tr>
1173
+ <td class="parameter_name"><p>context_class</p></td>
1174
+ <td class="parameter_description"><p>class to search for.</p></td>
1175
+ <td class="parameter_annotations"> </td>
1176
+ </tr>
1177
+ </tbody>
1178
+ </table></div>
1179
+ </div>
1180
+ <div class="refsect3">
1181
+ <a name="id-1.2.2.10.23.7"></a><h4>Returns</h4>
1182
+ <p> whether <em class="parameter"><code>iter</code></em>
1183
+ has the context class.</p>
1184
+ <p></p>
1185
+ </div>
1186
+ <p class="since">Since 2.10</p>
1187
+ </div>
1188
+ <hr>
1189
+ <div class="refsect2">
1190
+ <a name="gtk-source-buffer-get-context-classes-at-iter"></a><h3>gtk_source_buffer_get_context_classes_at_iter ()</h3>
1191
+ <pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> **
1192
+ gtk_source_buffer_get_context_classes_at_iter
1193
+ (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
1194
+ <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>);</pre>
1195
+ <p>Get all defined context classes at <em class="parameter"><code>iter</code></em>
1196
+ .</p>
1197
+ <p>See the <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> description for the list of default context classes.</p>
1198
+ <div class="refsect3">
1199
+ <a name="id-1.2.2.10.24.6"></a><h4>Parameters</h4>
1200
+ <div class="informaltable"><table width="100%" border="0">
1201
+ <colgroup>
1202
+ <col width="150px" class="parameters_name">
1203
+ <col class="parameters_description">
1204
+ <col width="200px" class="parameters_annotations">
1205
+ </colgroup>
1206
+ <tbody>
1207
+ <tr>
1208
+ <td class="parameter_name"><p>buffer</p></td>
1209
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
1210
+ <td class="parameter_annotations"> </td>
1211
+ </tr>
1212
+ <tr>
1213
+ <td class="parameter_name"><p>iter</p></td>
1214
+ <td class="parameter_description"><p>a <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextIter.html"><span class="type">GtkTextIter</span></a>.</p></td>
1215
+ <td class="parameter_annotations"> </td>
1216
+ </tr>
1217
+ </tbody>
1218
+ </table></div>
1219
+ </div>
1220
+ <div class="refsect3">
1221
+ <a name="id-1.2.2.10.24.7"></a><h4>Returns</h4>
1222
+ <p> a new <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>
1223
+ terminated array of context class names.
1224
+ Use <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html#g-strfreev"><code class="function">g_strfreev()</code></a> to free the array if it is no longer needed. </p>
1225
+ <p><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
1226
+ </div>
1227
+ <p class="since">Since 2.10</p>
1228
+ </div>
1229
+ <hr>
1230
+ <div class="refsect2">
1231
+ <a name="gtk-source-buffer-iter-forward-to-context-class-toggle"></a><h3>gtk_source_buffer_iter_forward_to_context_class_toggle ()</h3>
1232
+ <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>
1233
+ gtk_source_buffer_iter_forward_to_context_class_toggle
1234
+ (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
1235
+ <em class="parameter"><code><a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>,
1236
+ <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> *context_class</code></em>);</pre>
1237
+ <p>Moves forward to the next toggle (on or off) of the context class. If no
1238
+ matching context class toggles are found, returns <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>, otherwise <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.
1239
+ Does not return toggles located at <em class="parameter"><code>iter</code></em>
1240
+ , only toggles after <em class="parameter"><code>iter</code></em>
1241
+ . Sets
1242
+ <em class="parameter"><code>iter</code></em>
1243
+ to the location of the toggle, or to the end of the buffer if no
1244
+ toggle is found.</p>
1245
+ <p>See the <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> description for the list of default context classes.</p>
1246
+ <div class="refsect3">
1247
+ <a name="id-1.2.2.10.25.6"></a><h4>Parameters</h4>
1248
+ <div class="informaltable"><table width="100%" border="0">
1249
+ <colgroup>
1250
+ <col width="150px" class="parameters_name">
1251
+ <col class="parameters_description">
1252
+ <col width="200px" class="parameters_annotations">
1253
+ </colgroup>
1254
+ <tbody>
1255
+ <tr>
1256
+ <td class="parameter_name"><p>buffer</p></td>
1257
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
1258
+ <td class="parameter_annotations"> </td>
1259
+ </tr>
1260
+ <tr>
1261
+ <td class="parameter_name"><p>iter</p></td>
1262
+ <td class="parameter_description"><p> a <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextIter.html"><span class="type">GtkTextIter</span></a>. </p></td>
1263
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>]</span></td>
1264
+ </tr>
1265
+ <tr>
1266
+ <td class="parameter_name"><p>context_class</p></td>
1267
+ <td class="parameter_description"><p>the context class.</p></td>
1268
+ <td class="parameter_annotations"> </td>
1269
+ </tr>
1270
+ </tbody>
1271
+ </table></div>
1272
+ </div>
1273
+ <div class="refsect3">
1274
+ <a name="id-1.2.2.10.25.7"></a><h4>Returns</h4>
1275
+ <p> whether we found a context class toggle after <em class="parameter"><code>iter</code></em>
1276
+ </p>
1277
+ <p></p>
1278
+ </div>
1279
+ <p class="since">Since 2.10</p>
1280
+ </div>
1281
+ <hr>
1282
+ <div class="refsect2">
1283
+ <a name="gtk-source-buffer-iter-backward-to-context-class-toggle"></a><h3>gtk_source_buffer_iter_backward_to_context_class_toggle ()</h3>
1284
+ <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>
1285
+ gtk_source_buffer_iter_backward_to_context_class_toggle
1286
+ (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
1287
+ <em class="parameter"><code><a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>,
1288
+ <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> *context_class</code></em>);</pre>
1289
+ <p>Moves backward to the next toggle (on or off) of the context class. If no
1290
+ matching context class toggles are found, returns <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>, otherwise <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.
1291
+ Does not return toggles located at <em class="parameter"><code>iter</code></em>
1292
+ , only toggles after <em class="parameter"><code>iter</code></em>
1293
+ . Sets
1294
+ <em class="parameter"><code>iter</code></em>
1295
+ to the location of the toggle, or to the end of the buffer if no
1296
+ toggle is found.</p>
1297
+ <p>See the <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> description for the list of default context classes.</p>
1298
+ <div class="refsect3">
1299
+ <a name="id-1.2.2.10.26.6"></a><h4>Parameters</h4>
1300
+ <div class="informaltable"><table width="100%" border="0">
1301
+ <colgroup>
1302
+ <col width="150px" class="parameters_name">
1303
+ <col class="parameters_description">
1304
+ <col width="200px" class="parameters_annotations">
1305
+ </colgroup>
1306
+ <tbody>
1307
+ <tr>
1308
+ <td class="parameter_name"><p>buffer</p></td>
1309
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
1310
+ <td class="parameter_annotations"> </td>
1311
+ </tr>
1312
+ <tr>
1313
+ <td class="parameter_name"><p>iter</p></td>
1314
+ <td class="parameter_description"><p> a <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextIter.html"><span class="type">GtkTextIter</span></a>. </p></td>
1315
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>]</span></td>
1316
+ </tr>
1317
+ <tr>
1318
+ <td class="parameter_name"><p>context_class</p></td>
1319
+ <td class="parameter_description"><p>the context class.</p></td>
1320
+ <td class="parameter_annotations"> </td>
1321
+ </tr>
1322
+ </tbody>
1323
+ </table></div>
1324
+ </div>
1325
+ <div class="refsect3">
1326
+ <a name="id-1.2.2.10.26.7"></a><h4>Returns</h4>
1327
+ <p> whether we found a context class toggle before <em class="parameter"><code>iter</code></em>
1328
+ </p>
1329
+ <p></p>
1330
+ </div>
1331
+ <p class="since">Since 2.10</p>
1332
+ </div>
1333
+ <hr>
1334
+ <div class="refsect2">
1335
+ <a name="gtk-source-buffer-create-source-mark"></a><h3>gtk_source_buffer_create_source_mark ()</h3>
1336
+ <pre class="programlisting"><a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="returnvalue">GtkSourceMark</span></a> *
1337
+ gtk_source_buffer_create_source_mark (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
1338
+ <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> *name</code></em>,
1339
+ <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> *category</code></em>,
1340
+ <em class="parameter"><code>const <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *where</code></em>);</pre>
1341
+ <p>Creates a source mark in the <em class="parameter"><code>buffer</code></em>
1342
+ of category <em class="parameter"><code>category</code></em>
1343
+ . A source mark is
1344
+ a <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextMark.html"><span class="type">GtkTextMark</span></a> but organised into categories. Depending on the category
1345
+ a pixbuf can be specified that will be displayed along the line of the mark.</p>
1346
+ <p>Like a <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextMark.html"><span class="type">GtkTextMark</span></a>, a <a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a> can be anonymous if the
1347
+ passed <em class="parameter"><code>name</code></em>
1348
+ 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>. Also, the buffer owns the marks so you
1349
+ shouldn't unreference it.</p>
1350
+ <p>Marks always have left gravity and are moved to the beginning of
1351
+ the line when the user deletes the line they were in.</p>
1352
+ <p>Typical uses for a source mark are bookmarks, breakpoints, current
1353
+ executing instruction indication in a source file, etc..</p>
1354
+ <div class="refsect3">
1355
+ <a name="id-1.2.2.10.27.8"></a><h4>Parameters</h4>
1356
+ <div class="informaltable"><table width="100%" border="0">
1357
+ <colgroup>
1358
+ <col width="150px" class="parameters_name">
1359
+ <col class="parameters_description">
1360
+ <col width="200px" class="parameters_annotations">
1361
+ </colgroup>
1362
+ <tbody>
1363
+ <tr>
1364
+ <td class="parameter_name"><p>buffer</p></td>
1365
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
1366
+ <td class="parameter_annotations"> </td>
1367
+ </tr>
1368
+ <tr>
1369
+ <td class="parameter_name"><p>name</p></td>
1370
+ <td class="parameter_description"><p> the name of the mark, 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>
1371
+ <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>
1372
+ </tr>
1373
+ <tr>
1374
+ <td class="parameter_name"><p>category</p></td>
1375
+ <td class="parameter_description"><p>a string defining the mark category.</p></td>
1376
+ <td class="parameter_annotations"> </td>
1377
+ </tr>
1378
+ <tr>
1379
+ <td class="parameter_name"><p>where</p></td>
1380
+ <td class="parameter_description"><p>location to place the mark.</p></td>
1381
+ <td class="parameter_annotations"> </td>
1382
+ </tr>
1383
+ </tbody>
1384
+ </table></div>
1385
+ </div>
1386
+ <div class="refsect3">
1387
+ <a name="id-1.2.2.10.27.9"></a><h4>Returns</h4>
1388
+ <p> a new <a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a>, owned by the buffer. </p>
1389
+ <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
1390
+ </div>
1391
+ <p class="since">Since 2.2</p>
1392
+ </div>
1393
+ <hr>
1394
+ <div class="refsect2">
1395
+ <a name="gtk-source-buffer-forward-iter-to-source-mark"></a><h3>gtk_source_buffer_forward_iter_to_source_mark ()</h3>
1396
+ <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>
1397
+ gtk_source_buffer_forward_iter_to_source_mark
1398
+ (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
1399
+ <em class="parameter"><code><a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>,
1400
+ <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> *category</code></em>);</pre>
1401
+ <p>Moves <em class="parameter"><code>iter</code></em>
1402
+ to the position of the next <a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a> of the given
1403
+ <em class="parameter"><code>category</code></em>
1404
+ . Returns <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>iter</code></em>
1405
+ was moved. If <em class="parameter"><code>category</code></em>
1406
+ is NULL, the
1407
+ next source mark can be of any category.</p>
1408
+ <div class="refsect3">
1409
+ <a name="id-1.2.2.10.28.5"></a><h4>Parameters</h4>
1410
+ <div class="informaltable"><table width="100%" border="0">
1411
+ <colgroup>
1412
+ <col width="150px" class="parameters_name">
1413
+ <col class="parameters_description">
1414
+ <col width="200px" class="parameters_annotations">
1415
+ </colgroup>
1416
+ <tbody>
1417
+ <tr>
1418
+ <td class="parameter_name"><p>buffer</p></td>
1419
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
1420
+ <td class="parameter_annotations"> </td>
1421
+ </tr>
1422
+ <tr>
1423
+ <td class="parameter_name"><p>iter</p></td>
1424
+ <td class="parameter_description"><p>an iterator.</p></td>
1425
+ <td class="parameter_annotations"> </td>
1426
+ </tr>
1427
+ <tr>
1428
+ <td class="parameter_name"><p>category</p></td>
1429
+ <td class="parameter_description"><p> category to search for, 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>
1430
+ <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>
1431
+ </tr>
1432
+ </tbody>
1433
+ </table></div>
1434
+ </div>
1435
+ <div class="refsect3">
1436
+ <a name="id-1.2.2.10.28.6"></a><h4>Returns</h4>
1437
+ <p> whether <em class="parameter"><code>iter</code></em>
1438
+ was moved.</p>
1439
+ <p></p>
1440
+ </div>
1441
+ <p class="since">Since 2.2</p>
1442
+ </div>
1443
+ <hr>
1444
+ <div class="refsect2">
1445
+ <a name="gtk-source-buffer-backward-iter-to-source-mark"></a><h3>gtk_source_buffer_backward_iter_to_source_mark ()</h3>
1446
+ <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>
1447
+ gtk_source_buffer_backward_iter_to_source_mark
1448
+ (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
1449
+ <em class="parameter"><code><a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>,
1450
+ <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> *category</code></em>);</pre>
1451
+ <p>Moves <em class="parameter"><code>iter</code></em>
1452
+ to the position of the previous <a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a> of the given
1453
+ category. Returns <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>iter</code></em>
1454
+ was moved. If <em class="parameter"><code>category</code></em>
1455
+ is NULL, the
1456
+ previous source mark can be of any category.</p>
1457
+ <div class="refsect3">
1458
+ <a name="id-1.2.2.10.29.5"></a><h4>Parameters</h4>
1459
+ <div class="informaltable"><table width="100%" border="0">
1460
+ <colgroup>
1461
+ <col width="150px" class="parameters_name">
1462
+ <col class="parameters_description">
1463
+ <col width="200px" class="parameters_annotations">
1464
+ </colgroup>
1465
+ <tbody>
1466
+ <tr>
1467
+ <td class="parameter_name"><p>buffer</p></td>
1468
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
1469
+ <td class="parameter_annotations"> </td>
1470
+ </tr>
1471
+ <tr>
1472
+ <td class="parameter_name"><p>iter</p></td>
1473
+ <td class="parameter_description"><p>an iterator.</p></td>
1474
+ <td class="parameter_annotations"> </td>
1475
+ </tr>
1476
+ <tr>
1477
+ <td class="parameter_name"><p>category</p></td>
1478
+ <td class="parameter_description"><p> category to search for, 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>
1479
+ <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>
1480
+ </tr>
1481
+ </tbody>
1482
+ </table></div>
1483
+ </div>
1484
+ <div class="refsect3">
1485
+ <a name="id-1.2.2.10.29.6"></a><h4>Returns</h4>
1486
+ <p> whether <em class="parameter"><code>iter</code></em>
1487
+ was moved.</p>
1488
+ <p></p>
1489
+ </div>
1490
+ <p class="since">Since 2.2</p>
1491
+ </div>
1492
+ <hr>
1493
+ <div class="refsect2">
1494
+ <a name="gtk-source-buffer-get-source-marks-at-line"></a><h3>gtk_source_buffer_get_source_marks_at_line ()</h3>
1495
+ <pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
1496
+ gtk_source_buffer_get_source_marks_at_line
1497
+ (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
1498
+ <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> line</code></em>,
1499
+ <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> *category</code></em>);</pre>
1500
+ <p>Returns the list of marks of the given category at <em class="parameter"><code>line</code></em>
1501
+ .
1502
+ If <em class="parameter"><code>category</code></em>
1503
+ 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>, all marks at <em class="parameter"><code>line</code></em>
1504
+ are returned.</p>
1505
+ <div class="refsect3">
1506
+ <a name="id-1.2.2.10.30.5"></a><h4>Parameters</h4>
1507
+ <div class="informaltable"><table width="100%" border="0">
1508
+ <colgroup>
1509
+ <col width="150px" class="parameters_name">
1510
+ <col class="parameters_description">
1511
+ <col width="200px" class="parameters_annotations">
1512
+ </colgroup>
1513
+ <tbody>
1514
+ <tr>
1515
+ <td class="parameter_name"><p>buffer</p></td>
1516
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
1517
+ <td class="parameter_annotations"> </td>
1518
+ </tr>
1519
+ <tr>
1520
+ <td class="parameter_name"><p>line</p></td>
1521
+ <td class="parameter_description"><p>a line number.</p></td>
1522
+ <td class="parameter_annotations"> </td>
1523
+ </tr>
1524
+ <tr>
1525
+ <td class="parameter_name"><p>category</p></td>
1526
+ <td class="parameter_description"><p> category to search for, 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>
1527
+ <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>
1528
+ </tr>
1529
+ </tbody>
1530
+ </table></div>
1531
+ </div>
1532
+ <div class="refsect3">
1533
+ <a name="id-1.2.2.10.30.6"></a><h4>Returns</h4>
1534
+ <p>a newly allocated <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a>. </p>
1535
+ <p><span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GtkSource.Mark][<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>]</span></p>
1536
+ </div>
1537
+ <p class="since">Since 2.2</p>
1538
+ </div>
1539
+ <hr>
1540
+ <div class="refsect2">
1541
+ <a name="gtk-source-buffer-get-source-marks-at-iter"></a><h3>gtk_source_buffer_get_source_marks_at_iter ()</h3>
1542
+ <pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
1543
+ gtk_source_buffer_get_source_marks_at_iter
1544
+ (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
1545
+ <em class="parameter"><code><a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>,
1546
+ <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> *category</code></em>);</pre>
1547
+ <p>Returns the list of marks of the given category at <em class="parameter"><code>iter</code></em>
1548
+ . If <em class="parameter"><code>category</code></em>
1549
+
1550
+ 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> it returns all marks at <em class="parameter"><code>iter</code></em>
1551
+ .</p>
1552
+ <div class="refsect3">
1553
+ <a name="id-1.2.2.10.31.5"></a><h4>Parameters</h4>
1554
+ <div class="informaltable"><table width="100%" border="0">
1555
+ <colgroup>
1556
+ <col width="150px" class="parameters_name">
1557
+ <col class="parameters_description">
1558
+ <col width="200px" class="parameters_annotations">
1559
+ </colgroup>
1560
+ <tbody>
1561
+ <tr>
1562
+ <td class="parameter_name"><p>buffer</p></td>
1563
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
1564
+ <td class="parameter_annotations"> </td>
1565
+ </tr>
1566
+ <tr>
1567
+ <td class="parameter_name"><p>iter</p></td>
1568
+ <td class="parameter_description"><p>an iterator.</p></td>
1569
+ <td class="parameter_annotations"> </td>
1570
+ </tr>
1571
+ <tr>
1572
+ <td class="parameter_name"><p>category</p></td>
1573
+ <td class="parameter_description"><p> category to search for, 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>
1574
+ <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>
1575
+ </tr>
1576
+ </tbody>
1577
+ </table></div>
1578
+ </div>
1579
+ <div class="refsect3">
1580
+ <a name="id-1.2.2.10.31.6"></a><h4>Returns</h4>
1581
+ <p>a newly allocated <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a>. </p>
1582
+ <p><span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GtkSource.Mark][<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>]</span></p>
1583
+ </div>
1584
+ <p class="since">Since 2.2</p>
1585
+ </div>
1586
+ <hr>
1587
+ <div class="refsect2">
1588
+ <a name="gtk-source-buffer-remove-source-marks"></a><h3>gtk_source_buffer_remove_source_marks ()</h3>
1589
+ <pre class="programlisting"><span class="returnvalue">void</span>
1590
+ gtk_source_buffer_remove_source_marks (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
1591
+ <em class="parameter"><code>const <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *start</code></em>,
1592
+ <em class="parameter"><code>const <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *end</code></em>,
1593
+ <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> *category</code></em>);</pre>
1594
+ <p>Remove all marks of <em class="parameter"><code>category</code></em>
1595
+ between <em class="parameter"><code>start</code></em>
1596
+ and <em class="parameter"><code>end</code></em>
1597
+ from the buffer.
1598
+ If <em class="parameter"><code>category</code></em>
1599
+ is NULL, all marks in the range will be removed.</p>
1600
+ <div class="refsect3">
1601
+ <a name="id-1.2.2.10.32.5"></a><h4>Parameters</h4>
1602
+ <div class="informaltable"><table width="100%" border="0">
1603
+ <colgroup>
1604
+ <col width="150px" class="parameters_name">
1605
+ <col class="parameters_description">
1606
+ <col width="200px" class="parameters_annotations">
1607
+ </colgroup>
1608
+ <tbody>
1609
+ <tr>
1610
+ <td class="parameter_name"><p>buffer</p></td>
1611
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
1612
+ <td class="parameter_annotations"> </td>
1613
+ </tr>
1614
+ <tr>
1615
+ <td class="parameter_name"><p>start</p></td>
1616
+ <td class="parameter_description"><p>a <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextIter.html"><span class="type">GtkTextIter</span></a>.</p></td>
1617
+ <td class="parameter_annotations"> </td>
1618
+ </tr>
1619
+ <tr>
1620
+ <td class="parameter_name"><p>end</p></td>
1621
+ <td class="parameter_description"><p>a <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextIter.html"><span class="type">GtkTextIter</span></a>.</p></td>
1622
+ <td class="parameter_annotations"> </td>
1623
+ </tr>
1624
+ <tr>
1625
+ <td class="parameter_name"><p>category</p></td>
1626
+ <td class="parameter_description"><p> category to search for, 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>
1627
+ <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>
1628
+ </tr>
1629
+ </tbody>
1630
+ </table></div>
1631
+ </div>
1632
+ <p class="since">Since 2.2</p>
1633
+ </div>
1634
+ <hr>
1635
+ <div class="refsect2">
1636
+ <a name="gtk-source-buffer-change-case"></a><h3>gtk_source_buffer_change_case ()</h3>
1637
+ <pre class="programlisting"><span class="returnvalue">void</span>
1638
+ gtk_source_buffer_change_case (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
1639
+ <em class="parameter"><code><a class="link" href="GtkSourceBuffer.html#GtkSourceChangeCaseType" title="enum GtkSourceChangeCaseType"><span class="type">GtkSourceChangeCaseType</span></a> case_type</code></em>,
1640
+ <em class="parameter"><code><a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *start</code></em>,
1641
+ <em class="parameter"><code><a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *end</code></em>);</pre>
1642
+ <p>Changes the case of the text between the specified iterators.</p>
1643
+ <div class="refsect3">
1644
+ <a name="id-1.2.2.10.33.5"></a><h4>Parameters</h4>
1645
+ <div class="informaltable"><table width="100%" border="0">
1646
+ <colgroup>
1647
+ <col width="150px" class="parameters_name">
1648
+ <col class="parameters_description">
1649
+ <col width="200px" class="parameters_annotations">
1650
+ </colgroup>
1651
+ <tbody>
1652
+ <tr>
1653
+ <td class="parameter_name"><p>buffer</p></td>
1654
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
1655
+ <td class="parameter_annotations"> </td>
1656
+ </tr>
1657
+ <tr>
1658
+ <td class="parameter_name"><p>case_type</p></td>
1659
+ <td class="parameter_description"><p>how to change the case.</p></td>
1660
+ <td class="parameter_annotations"> </td>
1661
+ </tr>
1662
+ <tr>
1663
+ <td class="parameter_name"><p>start</p></td>
1664
+ <td class="parameter_description"><p>a <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextIter.html"><span class="type">GtkTextIter</span></a>.</p></td>
1665
+ <td class="parameter_annotations"> </td>
1666
+ </tr>
1667
+ <tr>
1668
+ <td class="parameter_name"><p>end</p></td>
1669
+ <td class="parameter_description"><p>a <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextIter.html"><span class="type">GtkTextIter</span></a>.</p></td>
1670
+ <td class="parameter_annotations"> </td>
1671
+ </tr>
1672
+ </tbody>
1673
+ </table></div>
1674
+ </div>
1675
+ <p class="since">Since 3.12</p>
1676
+ </div>
1677
+ <hr>
1678
+ <div class="refsect2">
1679
+ <a name="gtk-source-buffer-set-implicit-trailing-newline"></a><h3>gtk_source_buffer_set_implicit_trailing_newline ()</h3>
1680
+ <pre class="programlisting"><span class="returnvalue">void</span>
1681
+ gtk_source_buffer_set_implicit_trailing_newline
1682
+ (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
1683
+ <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> implicit_trailing_newline</code></em>);</pre>
1684
+ <p>Sets whether the <em class="parameter"><code>buffer</code></em>
1685
+ has an implicit trailing newline.</p>
1686
+ <p>If an explicit trailing newline is present in a <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextBuffer.html"><span class="type">GtkTextBuffer</span></a>, <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextView.html"><span class="type">GtkTextView</span></a>
1687
+ shows it as an empty line. This is generally not what the user expects.</p>
1688
+ <p>If <em class="parameter"><code>implicit_trailing_newline</code></em>
1689
+ is <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> (the default value):</p>
1690
+ <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
1691
+ <li class="listitem"><p>when a <a class="link" href="GtkSourceFileLoader.html" title="GtkSourceFileLoader"><span class="type">GtkSourceFileLoader</span></a> loads the content of a file into the <em class="parameter"><code>buffer</code></em>
1692
+ ,
1693
+ the trailing newline (if present in the file) is not inserted into the
1694
+ <em class="parameter"><code>buffer</code></em>
1695
+ .</p></li>
1696
+ <li class="listitem"><p>when a <a class="link" href="GtkSourceFileSaver.html" title="GtkSourceFileSaver"><span class="type">GtkSourceFileSaver</span></a> saves the content of the <em class="parameter"><code>buffer</code></em>
1697
+ into a file, a
1698
+ trailing newline is added to the file.</p></li>
1699
+ </ul></div>
1700
+ <p>On the other hand, if <em class="parameter"><code>implicit_trailing_newline</code></em>
1701
+ is <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>, the file's
1702
+ content is not modified when loaded into the <em class="parameter"><code>buffer</code></em>
1703
+ , and the <em class="parameter"><code>buffer</code></em>
1704
+ 's
1705
+ content is not modified when saved into a file.</p>
1706
+ <div class="refsect3">
1707
+ <a name="id-1.2.2.10.34.9"></a><h4>Parameters</h4>
1708
+ <div class="informaltable"><table width="100%" border="0">
1709
+ <colgroup>
1710
+ <col width="150px" class="parameters_name">
1711
+ <col class="parameters_description">
1712
+ <col width="200px" class="parameters_annotations">
1713
+ </colgroup>
1714
+ <tbody>
1715
+ <tr>
1716
+ <td class="parameter_name"><p>buffer</p></td>
1717
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
1718
+ <td class="parameter_annotations"> </td>
1719
+ </tr>
1720
+ <tr>
1721
+ <td class="parameter_name"><p>implicit_trailing_newline</p></td>
1722
+ <td class="parameter_description"><p>the new value.</p></td>
1723
+ <td class="parameter_annotations"> </td>
1724
+ </tr>
1725
+ </tbody>
1726
+ </table></div>
1727
+ </div>
1728
+ <p class="since">Since 3.14</p>
1729
+ </div>
1730
+ <hr>
1731
+ <div class="refsect2">
1732
+ <a name="gtk-source-buffer-get-implicit-trailing-newline"></a><h3>gtk_source_buffer_get_implicit_trailing_newline ()</h3>
1733
+ <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>
1734
+ gtk_source_buffer_get_implicit_trailing_newline
1735
+ (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
1736
+ <div class="refsect3">
1737
+ <a name="id-1.2.2.10.35.4"></a><h4>Parameters</h4>
1738
+ <div class="informaltable"><table width="100%" border="0">
1739
+ <colgroup>
1740
+ <col width="150px" class="parameters_name">
1741
+ <col class="parameters_description">
1742
+ <col width="200px" class="parameters_annotations">
1743
+ </colgroup>
1744
+ <tbody><tr>
1745
+ <td class="parameter_name"><p>buffer</p></td>
1746
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
1747
+ <td class="parameter_annotations"> </td>
1748
+ </tr></tbody>
1749
+ </table></div>
1750
+ </div>
1751
+ <div class="refsect3">
1752
+ <a name="id-1.2.2.10.35.5"></a><h4>Returns</h4>
1753
+ <p> whether the <em class="parameter"><code>buffer</code></em>
1754
+ has an implicit trailing newline.</p>
1755
+ <p></p>
1756
+ </div>
1757
+ <p class="since">Since 3.14</p>
1758
+ </div>
1759
+ </div>
1760
+ <div class="refsect1">
1761
+ <a name="GtkSourceBuffer.other_details"></a><h2>Types and Values</h2>
1762
+ <div class="refsect2">
1763
+ <a name="GtkSourceBuffer-struct"></a><h3>GtkSourceBuffer</h3>
1764
+ <pre class="programlisting">typedef struct _GtkSourceBuffer GtkSourceBuffer;</pre>
1765
+ </div>
1766
+ <hr>
1767
+ <div class="refsect2">
1768
+ <a name="GtkSourceBracketMatchType"></a><h3>enum GtkSourceBracketMatchType</h3>
1769
+ <div class="refsect3">
1770
+ <a name="id-1.2.2.11.3.3"></a><h4>Members</h4>
1771
+ <div class="informaltable"><table width="100%" border="0">
1772
+ <colgroup>
1773
+ <col width="300px" class="enum_members_name">
1774
+ <col class="enum_members_description">
1775
+ <col width="200px" class="enum_members_annotations">
1776
+ </colgroup>
1777
+ <tbody>
1778
+ <tr>
1779
+ <td class="enum_member_name"><p><a name="GTK-SOURCE-BRACKET-MATCH-NONE:CAPS"></a>GTK_SOURCE_BRACKET_MATCH_NONE</p></td>
1780
+ <td class="enum_member_description">
1781
+ <p>there is no bracket to match.</p>
1782
+ </td>
1783
+ <td class="enum_member_annotations"> </td>
1784
+ </tr>
1785
+ <tr>
1786
+ <td class="enum_member_name"><p><a name="GTK-SOURCE-BRACKET-MATCH-OUT-OF-RANGE:CAPS"></a>GTK_SOURCE_BRACKET_MATCH_OUT_OF_RANGE</p></td>
1787
+ <td class="enum_member_description">
1788
+ <p>matching a bracket
1789
+ failed because the maximum range was reached.</p>
1790
+ </td>
1791
+ <td class="enum_member_annotations"> </td>
1792
+ </tr>
1793
+ <tr>
1794
+ <td class="enum_member_name"><p><a name="GTK-SOURCE-BRACKET-MATCH-NOT-FOUND:CAPS"></a>GTK_SOURCE_BRACKET_MATCH_NOT_FOUND</p></td>
1795
+ <td class="enum_member_description">
1796
+ <p>a matching bracket was not found.</p>
1797
+ </td>
1798
+ <td class="enum_member_annotations"> </td>
1799
+ </tr>
1800
+ <tr>
1801
+ <td class="enum_member_name"><p><a name="GTK-SOURCE-BRACKET-MATCH-FOUND:CAPS"></a>GTK_SOURCE_BRACKET_MATCH_FOUND</p></td>
1802
+ <td class="enum_member_description">
1803
+ <p>a matching bracket was found.</p>
1804
+ </td>
1805
+ <td class="enum_member_annotations"> </td>
1806
+ </tr>
1807
+ </tbody>
1808
+ </table></div>
1809
+ </div>
1810
+ </div>
1811
+ <hr>
1812
+ <div class="refsect2">
1813
+ <a name="GtkSourceChangeCaseType"></a><h3>enum GtkSourceChangeCaseType</h3>
1814
+ <div class="refsect3">
1815
+ <a name="id-1.2.2.11.4.3"></a><h4>Members</h4>
1816
+ <div class="informaltable"><table width="100%" border="0">
1817
+ <colgroup>
1818
+ <col width="300px" class="enum_members_name">
1819
+ <col class="enum_members_description">
1820
+ <col width="200px" class="enum_members_annotations">
1821
+ </colgroup>
1822
+ <tbody>
1823
+ <tr>
1824
+ <td class="enum_member_name"><p><a name="GTK-SOURCE-CHANGE-CASE-LOWER:CAPS"></a>GTK_SOURCE_CHANGE_CASE_LOWER</p></td>
1825
+ <td class="enum_member_description">
1826
+ <p>change case to lowercase.</p>
1827
+ </td>
1828
+ <td class="enum_member_annotations"> </td>
1829
+ </tr>
1830
+ <tr>
1831
+ <td class="enum_member_name"><p><a name="GTK-SOURCE-CHANGE-CASE-UPPER:CAPS"></a>GTK_SOURCE_CHANGE_CASE_UPPER</p></td>
1832
+ <td class="enum_member_description">
1833
+ <p>change case to uppercase.</p>
1834
+ </td>
1835
+ <td class="enum_member_annotations"> </td>
1836
+ </tr>
1837
+ <tr>
1838
+ <td class="enum_member_name"><p><a name="GTK-SOURCE-CHANGE-CASE-TOGGLE:CAPS"></a>GTK_SOURCE_CHANGE_CASE_TOGGLE</p></td>
1839
+ <td class="enum_member_description">
1840
+ <p>toggle case of each character.</p>
1841
+ </td>
1842
+ <td class="enum_member_annotations"> </td>
1843
+ </tr>
1844
+ <tr>
1845
+ <td class="enum_member_name"><p><a name="GTK-SOURCE-CHANGE-CASE-TITLE:CAPS"></a>GTK_SOURCE_CHANGE_CASE_TITLE</p></td>
1846
+ <td class="enum_member_description">
1847
+ <p>capitalize each word.</p>
1848
+ </td>
1849
+ <td class="enum_member_annotations"> </td>
1850
+ </tr>
1851
+ </tbody>
1852
+ </table></div>
1853
+ </div>
1854
+ <p class="since">Since 3.12</p>
1855
+ </div>
1856
+ </div>
1857
+ <div class="refsect1">
1858
+ <a name="GtkSourceBuffer.property-details"></a><h2>Property Details</h2>
1859
+ <div class="refsect2">
1860
+ <a name="GtkSourceBuffer--can-redo"></a><h3>The <code class="literal">“can-redo”</code> property</h3>
1861
+ <pre class="programlisting"> “can-redo” <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>
1862
+ <p>Whether Redo operation is possible.</p>
1863
+ <p>Flags: Read</p>
1864
+ <p>Default value: FALSE</p>
1865
+ </div>
1866
+ <hr>
1867
+ <div class="refsect2">
1868
+ <a name="GtkSourceBuffer--can-undo"></a><h3>The <code class="literal">“can-undo”</code> property</h3>
1869
+ <pre class="programlisting"> “can-undo” <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>
1870
+ <p>Whether Undo operation is possible.</p>
1871
+ <p>Flags: Read</p>
1872
+ <p>Default value: FALSE</p>
1873
+ </div>
1874
+ <hr>
1875
+ <div class="refsect2">
1876
+ <a name="GtkSourceBuffer--highlight-matching-brackets"></a><h3>The <code class="literal">“highlight-matching-brackets”</code> property</h3>
1877
+ <pre class="programlisting"> “highlight-matching-brackets” <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>
1878
+ <p>Whether to highlight matching brackets in the buffer.</p>
1879
+ <p>Flags: Read / Write</p>
1880
+ <p>Default value: TRUE</p>
1881
+ </div>
1882
+ <hr>
1883
+ <div class="refsect2">
1884
+ <a name="GtkSourceBuffer--highlight-syntax"></a><h3>The <code class="literal">“highlight-syntax”</code> property</h3>
1885
+ <pre class="programlisting"> “highlight-syntax” <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>
1886
+ <p>Whether to highlight syntax in the buffer.</p>
1887
+ <p>Flags: Read / Write</p>
1888
+ <p>Default value: TRUE</p>
1889
+ </div>
1890
+ <hr>
1891
+ <div class="refsect2">
1892
+ <a name="GtkSourceBuffer--implicit-trailing-newline"></a><h3>The <code class="literal">“implicit-trailing-newline”</code> property</h3>
1893
+ <pre class="programlisting"> “implicit-trailing-newline” <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>
1894
+ <p>Whether the buffer has an implicit trailing newline. See
1895
+ <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-implicit-trailing-newline" title="gtk_source_buffer_set_implicit_trailing_newline ()"><code class="function">gtk_source_buffer_set_implicit_trailing_newline()</code></a>.</p>
1896
+ <p>Flags: Read / Write / Construct</p>
1897
+ <p>Default value: TRUE</p>
1898
+ <p class="since">Since 3.14</p>
1899
+ </div>
1900
+ <hr>
1901
+ <div class="refsect2">
1902
+ <a name="GtkSourceBuffer--language"></a><h3>The <code class="literal">“language”</code> property</h3>
1903
+ <pre class="programlisting"> “language” <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> *</pre>
1904
+ <p>Language object to get highlighting patterns from.</p>
1905
+ <p>Flags: Read / Write</p>
1906
+ </div>
1907
+ <hr>
1908
+ <div class="refsect2">
1909
+ <a name="GtkSourceBuffer--max-undo-levels"></a><h3>The <code class="literal">“max-undo-levels”</code> property</h3>
1910
+ <pre class="programlisting"> “max-undo-levels” <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>
1911
+ <p>Number of undo levels for the buffer. -1 means no limit. This property
1912
+ will only affect the default undo manager.</p>
1913
+ <p>Flags: Read / Write</p>
1914
+ <p>Allowed values: &gt;= -1</p>
1915
+ <p>Default value: -1</p>
1916
+ </div>
1917
+ <hr>
1918
+ <div class="refsect2">
1919
+ <a name="GtkSourceBuffer--style-scheme"></a><h3>The <code class="literal">“style-scheme”</code> property</h3>
1920
+ <pre class="programlisting"> “style-scheme” <a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="type">GtkSourceStyleScheme</span></a> *</pre>
1921
+ <p>Style scheme. It contains styles for syntax highlighting, optionally
1922
+ foreground, background, cursor color, current line color, and matching
1923
+ brackets style.</p>
1924
+ <p>Flags: Read / Write</p>
1925
+ </div>
1926
+ <hr>
1927
+ <div class="refsect2">
1928
+ <a name="GtkSourceBuffer--undo-manager"></a><h3>The <code class="literal">“undo-manager”</code> property</h3>
1929
+ <pre class="programlisting"> “undo-manager” <a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a> *</pre>
1930
+ <p>The buffer undo manager.</p>
1931
+ <p>Flags: Read / Write / Construct</p>
1932
+ </div>
1933
+ </div>
1934
+ <div class="refsect1">
1935
+ <a name="GtkSourceBuffer.signal-details"></a><h2>Signal Details</h2>
1936
+ <div class="refsect2">
1937
+ <a name="GtkSourceBuffer-bracket-matched"></a><h3>The <code class="literal">“bracket-matched”</code> signal</h3>
1938
+ <pre class="programlisting"><span class="returnvalue">void</span>
1939
+ user_function (<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer,
1940
+ <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter,
1941
+ <a class="link" href="GtkSourceBuffer.html#GtkSourceBracketMatchType" title="enum GtkSourceBracketMatchType"><span class="type">GtkSourceBracketMatchType</span></a> state,
1942
+ <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)</pre>
1943
+ <p>Sets <em class="parameter"><code>iter</code></em>
1944
+ to a valid iterator pointing to the matching bracket
1945
+ if <em class="parameter"><code>state</code></em>
1946
+ is <a class="link" href="GtkSourceBuffer.html#GTK-SOURCE-BRACKET-MATCH-FOUND:CAPS"><span class="type">GTK_SOURCE_BRACKET_MATCH_FOUND</span></a>. Otherwise <em class="parameter"><code>iter</code></em>
1947
+ is
1948
+ meaningless.</p>
1949
+ <div class="refsect3">
1950
+ <a name="id-1.2.2.13.2.5"></a><h4>Parameters</h4>
1951
+ <div class="informaltable"><table width="100%" border="0">
1952
+ <colgroup>
1953
+ <col width="150px" class="parameters_name">
1954
+ <col class="parameters_description">
1955
+ <col width="200px" class="parameters_annotations">
1956
+ </colgroup>
1957
+ <tbody>
1958
+ <tr>
1959
+ <td class="parameter_name"><p>buffer</p></td>
1960
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
1961
+ <td class="parameter_annotations"> </td>
1962
+ </tr>
1963
+ <tr>
1964
+ <td class="parameter_name"><p>iter</p></td>
1965
+ <td class="parameter_description"><p>iterator to initialize.</p></td>
1966
+ <td class="parameter_annotations"> </td>
1967
+ </tr>
1968
+ <tr>
1969
+ <td class="parameter_name"><p>state</p></td>
1970
+ <td class="parameter_description"><p>state of bracket matching</p></td>
1971
+ <td class="parameter_annotations"> </td>
1972
+ </tr>
1973
+ <tr>
1974
+ <td class="parameter_name"><p>user_data</p></td>
1975
+ <td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
1976
+ <td class="parameter_annotations"> </td>
1977
+ </tr>
1978
+ </tbody>
1979
+ </table></div>
1980
+ </div>
1981
+ <p>Flags: Run Last</p>
1982
+ <p class="since">Since 2.12</p>
1983
+ </div>
1984
+ <hr>
1985
+ <div class="refsect2">
1986
+ <a name="GtkSourceBuffer-highlight-updated"></a><h3>The <code class="literal">“highlight-updated”</code> signal</h3>
1987
+ <pre class="programlisting"><span class="returnvalue">void</span>
1988
+ user_function (<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer,
1989
+ <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *start,
1990
+ <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *end,
1991
+ <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)</pre>
1992
+ <p>The ::highlight-updated signal is emitted when the syntax
1993
+ highlighting is updated in a certain region of the <em class="parameter"><code>buffer</code></em>
1994
+ . This
1995
+ signal is useful to be notified when a context class region is
1996
+ updated (e.g. the no-spell-check context class).</p>
1997
+ <div class="refsect3">
1998
+ <a name="id-1.2.2.13.3.5"></a><h4>Parameters</h4>
1999
+ <div class="informaltable"><table width="100%" border="0">
2000
+ <colgroup>
2001
+ <col width="150px" class="parameters_name">
2002
+ <col class="parameters_description">
2003
+ <col width="200px" class="parameters_annotations">
2004
+ </colgroup>
2005
+ <tbody>
2006
+ <tr>
2007
+ <td class="parameter_name"><p>buffer</p></td>
2008
+ <td class="parameter_description"><p>the buffer that received the signal</p></td>
2009
+ <td class="parameter_annotations"> </td>
2010
+ </tr>
2011
+ <tr>
2012
+ <td class="parameter_name"><p>start</p></td>
2013
+ <td class="parameter_description"><p>the start of the updated region</p></td>
2014
+ <td class="parameter_annotations"> </td>
2015
+ </tr>
2016
+ <tr>
2017
+ <td class="parameter_name"><p>end</p></td>
2018
+ <td class="parameter_description"><p>the end of the updated region</p></td>
2019
+ <td class="parameter_annotations"> </td>
2020
+ </tr>
2021
+ <tr>
2022
+ <td class="parameter_name"><p>user_data</p></td>
2023
+ <td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
2024
+ <td class="parameter_annotations"> </td>
2025
+ </tr>
2026
+ </tbody>
2027
+ </table></div>
2028
+ </div>
2029
+ <p>Flags: Run Last</p>
2030
+ </div>
2031
+ <hr>
2032
+ <div class="refsect2">
2033
+ <a name="GtkSourceBuffer-redo"></a><h3>The <code class="literal">“redo”</code> signal</h3>
2034
+ <pre class="programlisting"><span class="returnvalue">void</span>
2035
+ user_function (<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer,
2036
+ <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)</pre>
2037
+ <p>The ::redo signal is emitted to redo the last undo operation.</p>
2038
+ <div class="refsect3">
2039
+ <a name="id-1.2.2.13.4.5"></a><h4>Parameters</h4>
2040
+ <div class="informaltable"><table width="100%" border="0">
2041
+ <colgroup>
2042
+ <col width="150px" class="parameters_name">
2043
+ <col class="parameters_description">
2044
+ <col width="200px" class="parameters_annotations">
2045
+ </colgroup>
2046
+ <tbody>
2047
+ <tr>
2048
+ <td class="parameter_name"><p>buffer</p></td>
2049
+ <td class="parameter_description"><p>the buffer that received the signal</p></td>
2050
+ <td class="parameter_annotations"> </td>
2051
+ </tr>
2052
+ <tr>
2053
+ <td class="parameter_name"><p>user_data</p></td>
2054
+ <td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
2055
+ <td class="parameter_annotations"> </td>
2056
+ </tr>
2057
+ </tbody>
2058
+ </table></div>
2059
+ </div>
2060
+ <p>Flags: Run Last</p>
2061
+ </div>
2062
+ <hr>
2063
+ <div class="refsect2">
2064
+ <a name="GtkSourceBuffer-source-mark-updated"></a><h3>The <code class="literal">“source-mark-updated”</code> signal</h3>
2065
+ <pre class="programlisting"><span class="returnvalue">void</span>
2066
+ user_function (<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer,
2067
+ <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextMark.html"><span class="type">GtkTextMark</span></a> *mark,
2068
+ <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)</pre>
2069
+ <p>The ::source_mark_updated signal is emitted each time
2070
+ a mark is added to, moved or removed from the <em class="parameter"><code>buffer</code></em>
2071
+ .</p>
2072
+ <div class="refsect3">
2073
+ <a name="id-1.2.2.13.5.5"></a><h4>Parameters</h4>
2074
+ <div class="informaltable"><table width="100%" border="0">
2075
+ <colgroup>
2076
+ <col width="150px" class="parameters_name">
2077
+ <col class="parameters_description">
2078
+ <col width="200px" class="parameters_annotations">
2079
+ </colgroup>
2080
+ <tbody>
2081
+ <tr>
2082
+ <td class="parameter_name"><p>buffer</p></td>
2083
+ <td class="parameter_description"><p>the buffer that received the signal</p></td>
2084
+ <td class="parameter_annotations"> </td>
2085
+ </tr>
2086
+ <tr>
2087
+ <td class="parameter_name"><p>mark</p></td>
2088
+ <td class="parameter_description"><p>the <a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a></p></td>
2089
+ <td class="parameter_annotations"> </td>
2090
+ </tr>
2091
+ <tr>
2092
+ <td class="parameter_name"><p>user_data</p></td>
2093
+ <td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
2094
+ <td class="parameter_annotations"> </td>
2095
+ </tr>
2096
+ </tbody>
2097
+ </table></div>
2098
+ </div>
2099
+ <p>Flags: Run Last</p>
2100
+ </div>
2101
+ <hr>
2102
+ <div class="refsect2">
2103
+ <a name="GtkSourceBuffer-undo"></a><h3>The <code class="literal">“undo”</code> signal</h3>
2104
+ <pre class="programlisting"><span class="returnvalue">void</span>
2105
+ user_function (<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer,
2106
+ <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)</pre>
2107
+ <p>The ::undo signal is emitted to undo the last user action which
2108
+ modified the buffer.</p>
2109
+ <div class="refsect3">
2110
+ <a name="id-1.2.2.13.6.5"></a><h4>Parameters</h4>
2111
+ <div class="informaltable"><table width="100%" border="0">
2112
+ <colgroup>
2113
+ <col width="150px" class="parameters_name">
2114
+ <col class="parameters_description">
2115
+ <col width="200px" class="parameters_annotations">
2116
+ </colgroup>
2117
+ <tbody>
2118
+ <tr>
2119
+ <td class="parameter_name"><p>buffer</p></td>
2120
+ <td class="parameter_description"><p>the buffer that received the signal</p></td>
2121
+ <td class="parameter_annotations"> </td>
2122
+ </tr>
2123
+ <tr>
2124
+ <td class="parameter_name"><p>user_data</p></td>
2125
+ <td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
2126
+ <td class="parameter_annotations"> </td>
2127
+ </tr>
2128
+ </tbody>
2129
+ </table></div>
2130
+ </div>
2131
+ <p>Flags: Run Last</p>
2132
+ </div>
2133
+ </div>
2134
+ <div class="refsect1">
2135
+ <a name="GtkSourceBuffer.see-also"></a><h2>See Also</h2>
2136
+ <p><a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextBuffer.html"><span class="type">GtkTextBuffer</span></a>, <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a></p>
2137
+ </div>
2138
+ </div>
2139
+ <div class="footer">
2140
+ <hr>
2141
+ Generated by GTK-Doc V1.21.1</div>
2142
+ </body>
2143
+ </html>