gtksourceview4 3.2.9-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (379) hide show
  1. checksums.yaml +7 -0
  2. data/COPYING.LIB +502 -0
  3. data/README.md +24 -0
  4. data/Rakefile +61 -0
  5. data/dependency-check/Rakefile +43 -0
  6. data/gtksourceview4.gemspec +45 -0
  7. data/lib/gtksourceview4/deprecated.rb +49 -0
  8. data/lib/gtksourceview4/loader.rb +49 -0
  9. data/lib/gtksourceview4/mark-attributes.rb +29 -0
  10. data/lib/gtksourceview4.rb +56 -0
  11. data/test/run-test.rb +62 -0
  12. data/test/test-mark-attributes.rb +26 -0
  13. data/test/test-source-gutter-renderer.rb +33 -0
  14. data/test/test-source-language-manager.rb +46 -0
  15. data/test/test-source-view.rb +55 -0
  16. data/vendor/local/bin/libgtksourceview-4-0.dll +0 -0
  17. data/vendor/local/include/gtksourceview-4/gtksourceview/completion-providers/words/gtksourcecompletionwords.h +72 -0
  18. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksource-enumtypes.h +107 -0
  19. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksource.h +67 -0
  20. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceautocleanups.h +63 -0
  21. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcebuffer.h +279 -0
  22. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcecompletion.h +156 -0
  23. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcecompletioncontext.h +102 -0
  24. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcecompletioninfo.h +77 -0
  25. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcecompletionitem.h +92 -0
  26. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcecompletionproposal.h +126 -0
  27. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcecompletionprovider.h +166 -0
  28. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceencoding.h +74 -0
  29. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcefile.h +195 -0
  30. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcefileloader.h +140 -0
  31. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcefilesaver.h +168 -0
  32. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcegutter.h +93 -0
  33. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcegutterrenderer.h +272 -0
  34. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcegutterrendererpixbuf.h +91 -0
  35. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcegutterrenderertext.h +92 -0
  36. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceinit.h +40 -0
  37. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcelanguage.h +98 -0
  38. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcelanguagemanager.h +92 -0
  39. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcemap.h +70 -0
  40. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcemark.h +79 -0
  41. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcemarkattributes.h +112 -0
  42. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceprintcompositor.h +223 -0
  43. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceregion.h +127 -0
  44. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcesearchcontext.h +161 -0
  45. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcesearchsettings.h +100 -0
  46. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcespacedrawer.h +144 -0
  47. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcestyle.h +54 -0
  48. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcestylescheme.h +119 -0
  49. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcestyleschemechooser.h +66 -0
  50. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcestyleschemechooserbutton.h +64 -0
  51. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcestyleschemechooserwidget.h +64 -0
  52. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcestyleschememanager.h +100 -0
  53. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcetag.h +54 -0
  54. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcetypes.h +73 -0
  55. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceundomanager.h +90 -0
  56. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceutils.h +41 -0
  57. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceversion.h +578 -0
  58. data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceview.h +266 -0
  59. data/vendor/local/lib/girepository-1.0/GtkSource-4.typelib +0 -0
  60. data/vendor/local/lib/libgtksourceview-4.dll.a +0 -0
  61. data/vendor/local/lib/libgtksourceview-4.la +41 -0
  62. data/vendor/local/lib/pkgconfig/gtksourceview-4.pc +12 -0
  63. data/vendor/local/share/gir-1.0/GtkSource-4.gir +12999 -0
  64. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceBuffer.html +2421 -0
  65. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletion.html +1087 -0
  66. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletionContext.html +402 -0
  67. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletionInfo.html +207 -0
  68. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletionItem.html +497 -0
  69. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletionProposal.html +668 -0
  70. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletionProvider.html +837 -0
  71. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletionWords.html +343 -0
  72. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceEncoding.html +391 -0
  73. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceFile.html +769 -0
  74. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceFileLoader.html +780 -0
  75. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceFileSaver.html +965 -0
  76. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceGutter.html +438 -0
  77. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceGutterRenderer.html +1708 -0
  78. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceGutterRendererPixbuf.html +369 -0
  79. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceGutterRendererText.html +299 -0
  80. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceLanguage.html +579 -0
  81. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceLanguageManager.html +473 -0
  82. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceMap.html +254 -0
  83. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceMark.html +307 -0
  84. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceMarkAttributes.html +788 -0
  85. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourcePrintCompositor.html +2121 -0
  86. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceRegion.html +870 -0
  87. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceSearchContext.html +1216 -0
  88. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceSearchSettings.html +603 -0
  89. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceSpaceDrawer.html +671 -0
  90. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceStyle.html +433 -0
  91. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceStyleScheme.html +396 -0
  92. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceStyleSchemeChooser.html +214 -0
  93. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceStyleSchemeChooserButton.html +127 -0
  94. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceStyleSchemeChooserWidget.html +127 -0
  95. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceStyleSchemeManager.html +460 -0
  96. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceTag.html +179 -0
  97. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceUndoManager.html +460 -0
  98. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceView.html +2369 -0
  99. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/annexes.html +55 -0
  100. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/annotation-glossary.html +74 -0
  101. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-2-0.html +62 -0
  102. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-2-10.html +86 -0
  103. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-2-12.html +34 -0
  104. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-2-2.html +270 -0
  105. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-2-4.html +34 -0
  106. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-2-8.html +46 -0
  107. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-0.html +42 -0
  108. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-10.html +170 -0
  109. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-12.html +38 -0
  110. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-14.html +298 -0
  111. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-16.html +106 -0
  112. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-18.html +114 -0
  113. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-20.html +130 -0
  114. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-22.html +106 -0
  115. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-24.html +126 -0
  116. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-4.html +34 -0
  117. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-4-0.html +65 -0
  118. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-deprecated.html +30 -0
  119. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-full.html +2586 -0
  120. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-reference.html +174 -0
  121. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/completion.html +52 -0
  122. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/file-loading-and-saving.html +43 -0
  123. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/general.html +32 -0
  124. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/gtksourceview-4.0-GtkSourceUtils.html +151 -0
  125. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/gtksourceview-4.0-GtkSourceView-Initialization-and-Finalization.html +100 -0
  126. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/gtksourceview-4.0-Version-Information.html +511 -0
  127. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/gtksourceview-4.0.devhelp2 +819 -0
  128. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/gutter.html +49 -0
  129. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/home.png +0 -0
  130. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/index.html +215 -0
  131. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/intro.html +56 -0
  132. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/lang-reference.html +946 -0
  133. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/lang-tutorial.html +652 -0
  134. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/left-insensitive.png +0 -0
  135. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/left.png +0 -0
  136. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/main-classes.html +37 -0
  137. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/misc.html +52 -0
  138. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/object-tree.html +98 -0
  139. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/porting-guide-3-to-4.html +152 -0
  140. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/porting-guide.html +33 -0
  141. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/printing.html +32 -0
  142. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/right-insensitive.png +0 -0
  143. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/right.png +0 -0
  144. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/search-and-replace.html +37 -0
  145. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/style-reference.html +305 -0
  146. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/style.css +483 -0
  147. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/styling.html +49 -0
  148. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/syntax-highlighting-reference.html +49 -0
  149. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/syntax-highlighting.html +37 -0
  150. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/up-insensitive.png +0 -0
  151. data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/up.png +0 -0
  152. data/vendor/local/share/gtksourceview-4/language-specs/R.lang +2198 -0
  153. data/vendor/local/share/gtksourceview-4/language-specs/abnf.lang +109 -0
  154. data/vendor/local/share/gtksourceview-4/language-specs/actionscript.lang +267 -0
  155. data/vendor/local/share/gtksourceview-4/language-specs/ada.lang +220 -0
  156. data/vendor/local/share/gtksourceview-4/language-specs/ansforth94.lang +728 -0
  157. data/vendor/local/share/gtksourceview-4/language-specs/asp.lang +1096 -0
  158. data/vendor/local/share/gtksourceview-4/language-specs/automake.lang +329 -0
  159. data/vendor/local/share/gtksourceview-4/language-specs/awk.lang +137 -0
  160. data/vendor/local/share/gtksourceview-4/language-specs/bennugd.lang +266 -0
  161. data/vendor/local/share/gtksourceview-4/language-specs/bibtex.lang +120 -0
  162. data/vendor/local/share/gtksourceview-4/language-specs/bluespec.lang +187 -0
  163. data/vendor/local/share/gtksourceview-4/language-specs/boo.lang +256 -0
  164. data/vendor/local/share/gtksourceview-4/language-specs/c.lang +343 -0
  165. data/vendor/local/share/gtksourceview-4/language-specs/cg.lang +231 -0
  166. data/vendor/local/share/gtksourceview-4/language-specs/changelog.lang +91 -0
  167. data/vendor/local/share/gtksourceview-4/language-specs/chdr.lang +50 -0
  168. data/vendor/local/share/gtksourceview-4/language-specs/cmake.lang +817 -0
  169. data/vendor/local/share/gtksourceview-4/language-specs/cobol.lang +646 -0
  170. data/vendor/local/share/gtksourceview-4/language-specs/cpp.lang +119 -0
  171. data/vendor/local/share/gtksourceview-4/language-specs/cpphdr.lang +41 -0
  172. data/vendor/local/share/gtksourceview-4/language-specs/csharp.lang +285 -0
  173. data/vendor/local/share/gtksourceview-4/language-specs/css.lang +2411 -0
  174. data/vendor/local/share/gtksourceview-4/language-specs/csv.lang +73 -0
  175. data/vendor/local/share/gtksourceview-4/language-specs/cuda.lang +281 -0
  176. data/vendor/local/share/gtksourceview-4/language-specs/d.lang +317 -0
  177. data/vendor/local/share/gtksourceview-4/language-specs/def.lang +261 -0
  178. data/vendor/local/share/gtksourceview-4/language-specs/desktop.lang +297 -0
  179. data/vendor/local/share/gtksourceview-4/language-specs/diff.lang +84 -0
  180. data/vendor/local/share/gtksourceview-4/language-specs/docbook.lang +475 -0
  181. data/vendor/local/share/gtksourceview-4/language-specs/dosbatch.lang +166 -0
  182. data/vendor/local/share/gtksourceview-4/language-specs/dot.lang +139 -0
  183. data/vendor/local/share/gtksourceview-4/language-specs/dpatch.lang +47 -0
  184. data/vendor/local/share/gtksourceview-4/language-specs/dtd.lang +139 -0
  185. data/vendor/local/share/gtksourceview-4/language-specs/dtl.lang +297 -0
  186. data/vendor/local/share/gtksourceview-4/language-specs/eiffel.lang +238 -0
  187. data/vendor/local/share/gtksourceview-4/language-specs/erlang.lang +262 -0
  188. data/vendor/local/share/gtksourceview-4/language-specs/fcl.lang +113 -0
  189. data/vendor/local/share/gtksourceview-4/language-specs/forth.lang +234 -0
  190. data/vendor/local/share/gtksourceview-4/language-specs/fortran.lang +710 -0
  191. data/vendor/local/share/gtksourceview-4/language-specs/fsharp.lang +324 -0
  192. data/vendor/local/share/gtksourceview-4/language-specs/gap.lang +84 -0
  193. data/vendor/local/share/gtksourceview-4/language-specs/gdb-log.lang +151 -0
  194. data/vendor/local/share/gtksourceview-4/language-specs/genie.lang +237 -0
  195. data/vendor/local/share/gtksourceview-4/language-specs/glsl.lang +482 -0
  196. data/vendor/local/share/gtksourceview-4/language-specs/go.lang +274 -0
  197. data/vendor/local/share/gtksourceview-4/language-specs/groovy.lang +330 -0
  198. data/vendor/local/share/gtksourceview-4/language-specs/gtk-doc.lang +90 -0
  199. data/vendor/local/share/gtksourceview-4/language-specs/gtkrc.lang +115 -0
  200. data/vendor/local/share/gtksourceview-4/language-specs/haddock.lang +161 -0
  201. data/vendor/local/share/gtksourceview-4/language-specs/haskell-literate.lang +58 -0
  202. data/vendor/local/share/gtksourceview-4/language-specs/haskell.lang +227 -0
  203. data/vendor/local/share/gtksourceview-4/language-specs/haxe.lang +237 -0
  204. data/vendor/local/share/gtksourceview-4/language-specs/html.lang +286 -0
  205. data/vendor/local/share/gtksourceview-4/language-specs/idl-exelis.lang +619 -0
  206. data/vendor/local/share/gtksourceview-4/language-specs/idl.lang +153 -0
  207. data/vendor/local/share/gtksourceview-4/language-specs/imagej.lang +783 -0
  208. data/vendor/local/share/gtksourceview-4/language-specs/ini.lang +94 -0
  209. data/vendor/local/share/gtksourceview-4/language-specs/j.lang +239 -0
  210. data/vendor/local/share/gtksourceview-4/language-specs/jade.lang +248 -0
  211. data/vendor/local/share/gtksourceview-4/language-specs/java.lang +188 -0
  212. data/vendor/local/share/gtksourceview-4/language-specs/javascript.lang +354 -0
  213. data/vendor/local/share/gtksourceview-4/language-specs/json.lang +124 -0
  214. data/vendor/local/share/gtksourceview-4/language-specs/julia.lang +376 -0
  215. data/vendor/local/share/gtksourceview-4/language-specs/kotlin.lang +389 -0
  216. data/vendor/local/share/gtksourceview-4/language-specs/language.dtd +72 -0
  217. data/vendor/local/share/gtksourceview-4/language-specs/language.rng +372 -0
  218. data/vendor/local/share/gtksourceview-4/language-specs/language2.rng +481 -0
  219. data/vendor/local/share/gtksourceview-4/language-specs/latex.lang +636 -0
  220. data/vendor/local/share/gtksourceview-4/language-specs/less.lang +793 -0
  221. data/vendor/local/share/gtksourceview-4/language-specs/lex.lang +208 -0
  222. data/vendor/local/share/gtksourceview-4/language-specs/libtool.lang +55 -0
  223. data/vendor/local/share/gtksourceview-4/language-specs/llvm.lang +314 -0
  224. data/vendor/local/share/gtksourceview-4/language-specs/logcat.lang +107 -0
  225. data/vendor/local/share/gtksourceview-4/language-specs/lua.lang +301 -0
  226. data/vendor/local/share/gtksourceview-4/language-specs/m4.lang +1374 -0
  227. data/vendor/local/share/gtksourceview-4/language-specs/makefile.lang +190 -0
  228. data/vendor/local/share/gtksourceview-4/language-specs/mallard.lang +123 -0
  229. data/vendor/local/share/gtksourceview-4/language-specs/markdown.lang +401 -0
  230. data/vendor/local/share/gtksourceview-4/language-specs/matlab.lang +148 -0
  231. data/vendor/local/share/gtksourceview-4/language-specs/maxima.lang +1864 -0
  232. data/vendor/local/share/gtksourceview-4/language-specs/mediawiki.lang +326 -0
  233. data/vendor/local/share/gtksourceview-4/language-specs/meson.lang +132 -0
  234. data/vendor/local/share/gtksourceview-4/language-specs/modelica.lang +261 -0
  235. data/vendor/local/share/gtksourceview-4/language-specs/mxml.lang +64 -0
  236. data/vendor/local/share/gtksourceview-4/language-specs/nemerle.lang +262 -0
  237. data/vendor/local/share/gtksourceview-4/language-specs/netrexx.lang +318 -0
  238. data/vendor/local/share/gtksourceview-4/language-specs/nsis.lang +87 -0
  239. data/vendor/local/share/gtksourceview-4/language-specs/objc.lang +119 -0
  240. data/vendor/local/share/gtksourceview-4/language-specs/objj.lang +127 -0
  241. data/vendor/local/share/gtksourceview-4/language-specs/ocaml.lang +301 -0
  242. data/vendor/local/share/gtksourceview-4/language-specs/ocl.lang +138 -0
  243. data/vendor/local/share/gtksourceview-4/language-specs/octave.lang +1757 -0
  244. data/vendor/local/share/gtksourceview-4/language-specs/ooc.lang +264 -0
  245. data/vendor/local/share/gtksourceview-4/language-specs/opal.lang +342 -0
  246. data/vendor/local/share/gtksourceview-4/language-specs/opencl.lang +599 -0
  247. data/vendor/local/share/gtksourceview-4/language-specs/pascal.lang +267 -0
  248. data/vendor/local/share/gtksourceview-4/language-specs/perl.lang +1044 -0
  249. data/vendor/local/share/gtksourceview-4/language-specs/php.lang +362 -0
  250. data/vendor/local/share/gtksourceview-4/language-specs/pig.lang +292 -0
  251. data/vendor/local/share/gtksourceview-4/language-specs/pkgconfig.lang +61 -0
  252. data/vendor/local/share/gtksourceview-4/language-specs/po.lang +93 -0
  253. data/vendor/local/share/gtksourceview-4/language-specs/prolog.lang +248 -0
  254. data/vendor/local/share/gtksourceview-4/language-specs/protobuf.lang +134 -0
  255. data/vendor/local/share/gtksourceview-4/language-specs/puppet.lang +696 -0
  256. data/vendor/local/share/gtksourceview-4/language-specs/python.lang +475 -0
  257. data/vendor/local/share/gtksourceview-4/language-specs/python3.lang +198 -0
  258. data/vendor/local/share/gtksourceview-4/language-specs/rpmspec.lang +215 -0
  259. data/vendor/local/share/gtksourceview-4/language-specs/rst.lang +141 -0
  260. data/vendor/local/share/gtksourceview-4/language-specs/ruby.lang +748 -0
  261. data/vendor/local/share/gtksourceview-4/language-specs/rust.lang +334 -0
  262. data/vendor/local/share/gtksourceview-4/language-specs/scala.lang +383 -0
  263. data/vendor/local/share/gtksourceview-4/language-specs/scheme.lang +301 -0
  264. data/vendor/local/share/gtksourceview-4/language-specs/scilab.lang +208 -0
  265. data/vendor/local/share/gtksourceview-4/language-specs/scss.lang +878 -0
  266. data/vendor/local/share/gtksourceview-4/language-specs/sh.lang +516 -0
  267. data/vendor/local/share/gtksourceview-4/language-specs/sml.lang +200 -0
  268. data/vendor/local/share/gtksourceview-4/language-specs/sparql.lang +451 -0
  269. data/vendor/local/share/gtksourceview-4/language-specs/sql.lang +617 -0
  270. data/vendor/local/share/gtksourceview-4/language-specs/sweave.lang +66 -0
  271. data/vendor/local/share/gtksourceview-4/language-specs/swift.lang +440 -0
  272. data/vendor/local/share/gtksourceview-4/language-specs/systemverilog.lang +262 -0
  273. data/vendor/local/share/gtksourceview-4/language-specs/t2t.lang +149 -0
  274. data/vendor/local/share/gtksourceview-4/language-specs/tcl.lang +145 -0
  275. data/vendor/local/share/gtksourceview-4/language-specs/tera.lang +142 -0
  276. data/vendor/local/share/gtksourceview-4/language-specs/texinfo.lang +447 -0
  277. data/vendor/local/share/gtksourceview-4/language-specs/thrift.lang +266 -0
  278. data/vendor/local/share/gtksourceview-4/language-specs/toml.lang +282 -0
  279. data/vendor/local/share/gtksourceview-4/language-specs/vala.lang +411 -0
  280. data/vendor/local/share/gtksourceview-4/language-specs/vbnet.lang +247 -0
  281. data/vendor/local/share/gtksourceview-4/language-specs/verilog.lang +475 -0
  282. data/vendor/local/share/gtksourceview-4/language-specs/vhdl.lang +247 -0
  283. data/vendor/local/share/gtksourceview-4/language-specs/xml.lang +219 -0
  284. data/vendor/local/share/gtksourceview-4/language-specs/xslt.lang +120 -0
  285. data/vendor/local/share/gtksourceview-4/language-specs/yacc.lang +176 -0
  286. data/vendor/local/share/gtksourceview-4/language-specs/yaml.lang +213 -0
  287. data/vendor/local/share/gtksourceview-4/styles/classic.xml +122 -0
  288. data/vendor/local/share/gtksourceview-4/styles/cobalt.xml +150 -0
  289. data/vendor/local/share/gtksourceview-4/styles/kate.xml +171 -0
  290. data/vendor/local/share/gtksourceview-4/styles/oblivion.xml +133 -0
  291. data/vendor/local/share/gtksourceview-4/styles/solarized-dark.xml +103 -0
  292. data/vendor/local/share/gtksourceview-4/styles/solarized-light.xml +102 -0
  293. data/vendor/local/share/gtksourceview-4/styles/styles.rng +139 -0
  294. data/vendor/local/share/gtksourceview-4/styles/tango.xml +130 -0
  295. data/vendor/local/share/license/gtksourceview/AUTHORS +15 -0
  296. data/vendor/local/share/license/gtksourceview/COPYING +504 -0
  297. data/vendor/local/share/locale/ar/LC_MESSAGES/gtksourceview-4.mo +0 -0
  298. data/vendor/local/share/locale/as/LC_MESSAGES/gtksourceview-4.mo +0 -0
  299. data/vendor/local/share/locale/ast/LC_MESSAGES/gtksourceview-4.mo +0 -0
  300. data/vendor/local/share/locale/az/LC_MESSAGES/gtksourceview-4.mo +0 -0
  301. data/vendor/local/share/locale/be/LC_MESSAGES/gtksourceview-4.mo +0 -0
  302. data/vendor/local/share/locale/bg/LC_MESSAGES/gtksourceview-4.mo +0 -0
  303. data/vendor/local/share/locale/bn/LC_MESSAGES/gtksourceview-4.mo +0 -0
  304. data/vendor/local/share/locale/bn_IN/LC_MESSAGES/gtksourceview-4.mo +0 -0
  305. data/vendor/local/share/locale/bs/LC_MESSAGES/gtksourceview-4.mo +0 -0
  306. data/vendor/local/share/locale/ca/LC_MESSAGES/gtksourceview-4.mo +0 -0
  307. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gtksourceview-4.mo +0 -0
  308. data/vendor/local/share/locale/cs/LC_MESSAGES/gtksourceview-4.mo +0 -0
  309. data/vendor/local/share/locale/cy/LC_MESSAGES/gtksourceview-4.mo +0 -0
  310. data/vendor/local/share/locale/da/LC_MESSAGES/gtksourceview-4.mo +0 -0
  311. data/vendor/local/share/locale/de/LC_MESSAGES/gtksourceview-4.mo +0 -0
  312. data/vendor/local/share/locale/dz/LC_MESSAGES/gtksourceview-4.mo +0 -0
  313. data/vendor/local/share/locale/el/LC_MESSAGES/gtksourceview-4.mo +0 -0
  314. data/vendor/local/share/locale/en@shaw/LC_MESSAGES/gtksourceview-4.mo +0 -0
  315. data/vendor/local/share/locale/en_CA/LC_MESSAGES/gtksourceview-4.mo +0 -0
  316. data/vendor/local/share/locale/en_GB/LC_MESSAGES/gtksourceview-4.mo +0 -0
  317. data/vendor/local/share/locale/eo/LC_MESSAGES/gtksourceview-4.mo +0 -0
  318. data/vendor/local/share/locale/es/LC_MESSAGES/gtksourceview-4.mo +0 -0
  319. data/vendor/local/share/locale/et/LC_MESSAGES/gtksourceview-4.mo +0 -0
  320. data/vendor/local/share/locale/eu/LC_MESSAGES/gtksourceview-4.mo +0 -0
  321. data/vendor/local/share/locale/fa/LC_MESSAGES/gtksourceview-4.mo +0 -0
  322. data/vendor/local/share/locale/fi/LC_MESSAGES/gtksourceview-4.mo +0 -0
  323. data/vendor/local/share/locale/fr/LC_MESSAGES/gtksourceview-4.mo +0 -0
  324. data/vendor/local/share/locale/fur/LC_MESSAGES/gtksourceview-4.mo +0 -0
  325. data/vendor/local/share/locale/ga/LC_MESSAGES/gtksourceview-4.mo +0 -0
  326. data/vendor/local/share/locale/gl/LC_MESSAGES/gtksourceview-4.mo +0 -0
  327. data/vendor/local/share/locale/gu/LC_MESSAGES/gtksourceview-4.mo +0 -0
  328. data/vendor/local/share/locale/he/LC_MESSAGES/gtksourceview-4.mo +0 -0
  329. data/vendor/local/share/locale/hi/LC_MESSAGES/gtksourceview-4.mo +0 -0
  330. data/vendor/local/share/locale/hr/LC_MESSAGES/gtksourceview-4.mo +0 -0
  331. data/vendor/local/share/locale/hu/LC_MESSAGES/gtksourceview-4.mo +0 -0
  332. data/vendor/local/share/locale/id/LC_MESSAGES/gtksourceview-4.mo +0 -0
  333. data/vendor/local/share/locale/it/LC_MESSAGES/gtksourceview-4.mo +0 -0
  334. data/vendor/local/share/locale/ja/LC_MESSAGES/gtksourceview-4.mo +0 -0
  335. data/vendor/local/share/locale/kk/LC_MESSAGES/gtksourceview-4.mo +0 -0
  336. data/vendor/local/share/locale/kn/LC_MESSAGES/gtksourceview-4.mo +0 -0
  337. data/vendor/local/share/locale/ko/LC_MESSAGES/gtksourceview-4.mo +0 -0
  338. data/vendor/local/share/locale/lt/LC_MESSAGES/gtksourceview-4.mo +0 -0
  339. data/vendor/local/share/locale/lv/LC_MESSAGES/gtksourceview-4.mo +0 -0
  340. data/vendor/local/share/locale/mai/LC_MESSAGES/gtksourceview-4.mo +0 -0
  341. data/vendor/local/share/locale/mg/LC_MESSAGES/gtksourceview-4.mo +0 -0
  342. data/vendor/local/share/locale/mk/LC_MESSAGES/gtksourceview-4.mo +0 -0
  343. data/vendor/local/share/locale/ml/LC_MESSAGES/gtksourceview-4.mo +0 -0
  344. data/vendor/local/share/locale/mn/LC_MESSAGES/gtksourceview-4.mo +0 -0
  345. data/vendor/local/share/locale/mr/LC_MESSAGES/gtksourceview-4.mo +0 -0
  346. data/vendor/local/share/locale/ms/LC_MESSAGES/gtksourceview-4.mo +0 -0
  347. data/vendor/local/share/locale/nb/LC_MESSAGES/gtksourceview-4.mo +0 -0
  348. data/vendor/local/share/locale/ne/LC_MESSAGES/gtksourceview-4.mo +0 -0
  349. data/vendor/local/share/locale/nl/LC_MESSAGES/gtksourceview-4.mo +0 -0
  350. data/vendor/local/share/locale/nn/LC_MESSAGES/gtksourceview-4.mo +0 -0
  351. data/vendor/local/share/locale/oc/LC_MESSAGES/gtksourceview-4.mo +0 -0
  352. data/vendor/local/share/locale/or/LC_MESSAGES/gtksourceview-4.mo +0 -0
  353. data/vendor/local/share/locale/pa/LC_MESSAGES/gtksourceview-4.mo +0 -0
  354. data/vendor/local/share/locale/pl/LC_MESSAGES/gtksourceview-4.mo +0 -0
  355. data/vendor/local/share/locale/pt/LC_MESSAGES/gtksourceview-4.mo +0 -0
  356. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gtksourceview-4.mo +0 -0
  357. data/vendor/local/share/locale/ro/LC_MESSAGES/gtksourceview-4.mo +0 -0
  358. data/vendor/local/share/locale/ru/LC_MESSAGES/gtksourceview-4.mo +0 -0
  359. data/vendor/local/share/locale/rw/LC_MESSAGES/gtksourceview-4.mo +0 -0
  360. data/vendor/local/share/locale/si/LC_MESSAGES/gtksourceview-4.mo +0 -0
  361. data/vendor/local/share/locale/sk/LC_MESSAGES/gtksourceview-4.mo +0 -0
  362. data/vendor/local/share/locale/sl/LC_MESSAGES/gtksourceview-4.mo +0 -0
  363. data/vendor/local/share/locale/sq/LC_MESSAGES/gtksourceview-4.mo +0 -0
  364. data/vendor/local/share/locale/sr/LC_MESSAGES/gtksourceview-4.mo +0 -0
  365. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gtksourceview-4.mo +0 -0
  366. data/vendor/local/share/locale/sv/LC_MESSAGES/gtksourceview-4.mo +0 -0
  367. data/vendor/local/share/locale/ta/LC_MESSAGES/gtksourceview-4.mo +0 -0
  368. data/vendor/local/share/locale/te/LC_MESSAGES/gtksourceview-4.mo +0 -0
  369. data/vendor/local/share/locale/tg/LC_MESSAGES/gtksourceview-4.mo +0 -0
  370. data/vendor/local/share/locale/th/LC_MESSAGES/gtksourceview-4.mo +0 -0
  371. data/vendor/local/share/locale/tr/LC_MESSAGES/gtksourceview-4.mo +0 -0
  372. data/vendor/local/share/locale/ug/LC_MESSAGES/gtksourceview-4.mo +0 -0
  373. data/vendor/local/share/locale/uk/LC_MESSAGES/gtksourceview-4.mo +0 -0
  374. data/vendor/local/share/locale/vi/LC_MESSAGES/gtksourceview-4.mo +0 -0
  375. data/vendor/local/share/locale/xh/LC_MESSAGES/gtksourceview-4.mo +0 -0
  376. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gtksourceview-4.mo +0 -0
  377. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gtksourceview-4.mo +0 -0
  378. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gtksourceview-4.mo +0 -0
  379. metadata +437 -0
@@ -0,0 +1,2421 @@
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>GtkSourceBuffer: GtkSourceView 4 Reference Manual</title>
6
+ <meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7
+ <link rel="home" href="index.html" title="GtkSourceView 4 Reference Manual">
8
+ <link rel="up" href="main-classes.html" title="Main Classes">
9
+ <link rel="prev" href="main-classes.html" title="Main Classes">
10
+ <link rel="next" href="GtkSourceView.html" title="GtkSourceView">
11
+ <meta name="generator" content="GTK-Doc V1.28.1 (XML mode)">
12
+ <link rel="stylesheet" href="style.css" type="text/css">
13
+ </head>
14
+ <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
+ <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
16
+ <td width="100%" align="left" class="shortcuts">
17
+ <a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
18
+ <a href="#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="main-classes.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
25
+ <td><a accesskey="p" href="main-classes.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
26
+ <td><a accesskey="n" href="GtkSourceView.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 — Subclass of <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextBuffer.html#GtkTextBuffer-struct"><span class="type">GtkTextBuffer</span></a></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 class="informaltable" 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
+ <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextTag.html#GtkTextTag-struct"><span class="returnvalue">GtkTextTag</span></a> *
64
+ </td>
65
+ <td class="function_name">
66
+ <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-create-source-tag" title="gtk_source_buffer_create_source_tag ()">gtk_source_buffer_create_source_tag</a> <span class="c_punctuation">()</span>
67
+ </td>
68
+ </tr>
69
+ <tr>
70
+ <td class="function_type">
71
+ <span class="returnvalue">void</span>
72
+ </td>
73
+ <td class="function_name">
74
+ <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>
75
+ </td>
76
+ </tr>
77
+ <tr>
78
+ <td class="function_type">
79
+ <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="returnvalue">GtkSourceLanguage</span></a> *
80
+ </td>
81
+ <td class="function_name">
82
+ <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>
83
+ </td>
84
+ </tr>
85
+ <tr>
86
+ <td class="function_type">
87
+ <span class="returnvalue">void</span>
88
+ </td>
89
+ <td class="function_name">
90
+ <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>
91
+ </td>
92
+ </tr>
93
+ <tr>
94
+ <td class="function_type">
95
+ <a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="returnvalue">GtkSourceStyleScheme</span></a> *
96
+ </td>
97
+ <td class="function_name">
98
+ <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>
99
+ </td>
100
+ </tr>
101
+ <tr>
102
+ <td class="function_type">
103
+ <span class="returnvalue">void</span>
104
+ </td>
105
+ <td class="function_name">
106
+ <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>
107
+ </td>
108
+ </tr>
109
+ <tr>
110
+ <td class="function_type">
111
+ <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
112
+ </td>
113
+ <td class="function_name">
114
+ <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>
115
+ </td>
116
+ </tr>
117
+ <tr>
118
+ <td class="function_type">
119
+ <span class="returnvalue">void</span>
120
+ </td>
121
+ <td class="function_name">
122
+ <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>
123
+ </td>
124
+ </tr>
125
+ <tr>
126
+ <td class="function_type">
127
+ <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
128
+ </td>
129
+ <td class="function_name">
130
+ <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>
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-ensure-highlight" title="gtk_source_buffer_ensure_highlight ()">gtk_source_buffer_ensure_highlight</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-undo" title="gtk_source_buffer_undo ()">gtk_source_buffer_undo</a> <span class="c_punctuation">()</span>
147
+ </td>
148
+ </tr>
149
+ <tr>
150
+ <td class="function_type">
151
+ <span class="returnvalue">void</span>
152
+ </td>
153
+ <td class="function_name">
154
+ <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>
155
+ </td>
156
+ </tr>
157
+ <tr>
158
+ <td class="function_type">
159
+ <a href="/home/seb/jhbuild/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-undo" title="gtk_source_buffer_can_undo ()">gtk_source_buffer_can_undo</a> <span class="c_punctuation">()</span>
163
+ </td>
164
+ </tr>
165
+ <tr>
166
+ <td class="function_type">
167
+ <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
168
+ </td>
169
+ <td class="function_name">
170
+ <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>
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-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>
179
+ </td>
180
+ </tr>
181
+ <tr>
182
+ <td class="function_type">
183
+ <span class="returnvalue">void</span>
184
+ </td>
185
+ <td class="function_name">
186
+ <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>
187
+ </td>
188
+ </tr>
189
+ <tr>
190
+ <td class="function_type">
191
+ <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
192
+ </td>
193
+ <td class="function_name">
194
+ <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>
195
+ </td>
196
+ </tr>
197
+ <tr>
198
+ <td class="function_type">
199
+ <span class="returnvalue">void</span>
200
+ </td>
201
+ <td class="function_name">
202
+ <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>
203
+ </td>
204
+ </tr>
205
+ <tr>
206
+ <td class="function_type">
207
+ <a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="returnvalue">GtkSourceUndoManager</span></a> *
208
+ </td>
209
+ <td class="function_name">
210
+ <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>
211
+ </td>
212
+ </tr>
213
+ <tr>
214
+ <td class="function_type">
215
+ <span class="returnvalue">void</span>
216
+ </td>
217
+ <td class="function_name">
218
+ <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>
219
+ </td>
220
+ </tr>
221
+ <tr>
222
+ <td class="function_type">
223
+ <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
224
+ </td>
225
+ <td class="function_name">
226
+ <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>
227
+ </td>
228
+ </tr>
229
+ <tr>
230
+ <td class="function_type">
231
+ <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> **
232
+ </td>
233
+ <td class="function_name">
234
+ <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>
235
+ </td>
236
+ </tr>
237
+ <tr>
238
+ <td class="function_type">
239
+ <a href="/home/seb/jhbuild/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-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>
243
+ </td>
244
+ </tr>
245
+ <tr>
246
+ <td class="function_type">
247
+ <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
248
+ </td>
249
+ <td class="function_name">
250
+ <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>
251
+ </td>
252
+ </tr>
253
+ <tr>
254
+ <td class="function_type">
255
+ <a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="returnvalue">GtkSourceMark</span></a> *
256
+ </td>
257
+ <td class="function_name">
258
+ <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>
259
+ </td>
260
+ </tr>
261
+ <tr>
262
+ <td class="function_type">
263
+ <a href="/home/seb/jhbuild/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-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>
267
+ </td>
268
+ </tr>
269
+ <tr>
270
+ <td class="function_type">
271
+ <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
272
+ </td>
273
+ <td class="function_name">
274
+ <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>
275
+ </td>
276
+ </tr>
277
+ <tr>
278
+ <td class="function_type">
279
+ <a href="/home/seb/jhbuild/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-line" title="gtk_source_buffer_get_source_marks_at_line ()">gtk_source_buffer_get_source_marks_at_line</a> <span class="c_punctuation">()</span>
283
+ </td>
284
+ </tr>
285
+ <tr>
286
+ <td class="function_type">
287
+ <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
288
+ </td>
289
+ <td class="function_name">
290
+ <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>
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-remove-source-marks" title="gtk_source_buffer_remove_source_marks ()">gtk_source_buffer_remove_source_marks</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-change-case" title="gtk_source_buffer_change_case ()">gtk_source_buffer_change_case</a> <span class="c_punctuation">()</span>
307
+ </td>
308
+ </tr>
309
+ <tr>
310
+ <td class="function_type">
311
+ <span class="returnvalue">void</span>
312
+ </td>
313
+ <td class="function_name">
314
+ <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-join-lines" title="gtk_source_buffer_join_lines ()">gtk_source_buffer_join_lines</a> <span class="c_punctuation">()</span>
315
+ </td>
316
+ </tr>
317
+ <tr>
318
+ <td class="function_type">
319
+ <span class="returnvalue">void</span>
320
+ </td>
321
+ <td class="function_name">
322
+ <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-sort-lines" title="gtk_source_buffer_sort_lines ()">gtk_source_buffer_sort_lines</a> <span class="c_punctuation">()</span>
323
+ </td>
324
+ </tr>
325
+ <tr>
326
+ <td class="function_type">
327
+ <span class="returnvalue">void</span>
328
+ </td>
329
+ <td class="function_name">
330
+ <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>
331
+ </td>
332
+ </tr>
333
+ <tr>
334
+ <td class="function_type">
335
+ <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
336
+ </td>
337
+ <td class="function_name">
338
+ <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>
339
+ </td>
340
+ </tr>
341
+ </tbody>
342
+ </table></div>
343
+ </div>
344
+ <div class="refsect1">
345
+ <a name="GtkSourceBuffer.properties"></a><h2>Properties</h2>
346
+ <div class="informaltable"><table class="informaltable" border="0">
347
+ <colgroup>
348
+ <col width="150px" class="properties_type">
349
+ <col width="300px" class="properties_name">
350
+ <col width="200px" class="properties_flags">
351
+ </colgroup>
352
+ <tbody>
353
+ <tr>
354
+ <td class="property_type"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
355
+ <td class="property_name"><a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer--can-redo" title="The “can-redo” property">can-redo</a></td>
356
+ <td class="property_flags">Read</td>
357
+ </tr>
358
+ <tr>
359
+ <td class="property_type"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
360
+ <td class="property_name"><a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer--can-undo" title="The “can-undo” property">can-undo</a></td>
361
+ <td class="property_flags">Read</td>
362
+ </tr>
363
+ <tr>
364
+ <td class="property_type"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
365
+ <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>
366
+ <td class="property_flags">Read / Write</td>
367
+ </tr>
368
+ <tr>
369
+ <td class="property_type"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
370
+ <td class="property_name"><a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer--highlight-syntax" title="The “highlight-syntax” property">highlight-syntax</a></td>
371
+ <td class="property_flags">Read / Write</td>
372
+ </tr>
373
+ <tr>
374
+ <td class="property_type"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
375
+ <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>
376
+ <td class="property_flags">Read / Write / Construct</td>
377
+ </tr>
378
+ <tr>
379
+ <td class="property_type">
380
+ <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> *</td>
381
+ <td class="property_name"><a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer--language" title="The “language” property">language</a></td>
382
+ <td class="property_flags">Read / Write</td>
383
+ </tr>
384
+ <tr>
385
+ <td class="property_type"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
386
+ <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>
387
+ <td class="property_flags">Read / Write</td>
388
+ </tr>
389
+ <tr>
390
+ <td class="property_type">
391
+ <a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="type">GtkSourceStyleScheme</span></a> *</td>
392
+ <td class="property_name"><a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer--style-scheme" title="The “style-scheme” property">style-scheme</a></td>
393
+ <td class="property_flags">Read / Write</td>
394
+ </tr>
395
+ <tr>
396
+ <td class="property_type">
397
+ <a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a> *</td>
398
+ <td class="property_name"><a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer--undo-manager" title="The “undo-manager” property">undo-manager</a></td>
399
+ <td class="property_flags">Read / Write / Construct</td>
400
+ </tr>
401
+ </tbody>
402
+ </table></div>
403
+ </div>
404
+ <div class="refsect1">
405
+ <a name="GtkSourceBuffer.signals"></a><h2>Signals</h2>
406
+ <div class="informaltable"><table class="informaltable" border="0">
407
+ <colgroup>
408
+ <col width="150px" class="signals_return">
409
+ <col width="300px" class="signals_name">
410
+ <col width="200px" class="signals_flags">
411
+ </colgroup>
412
+ <tbody>
413
+ <tr>
414
+ <td class="signal_type"><span class="returnvalue">void</span></td>
415
+ <td class="signal_name"><a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer-bracket-matched" title="The “bracket-matched” signal">bracket-matched</a></td>
416
+ <td class="signal_flags"><a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
417
+ </tr>
418
+ <tr>
419
+ <td class="signal_type"><span class="returnvalue">void</span></td>
420
+ <td class="signal_name"><a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer-highlight-updated" title="The “highlight-updated” signal">highlight-updated</a></td>
421
+ <td class="signal_flags"><a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
422
+ </tr>
423
+ <tr>
424
+ <td class="signal_type"><span class="returnvalue">void</span></td>
425
+ <td class="signal_name"><a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer-redo" title="The “redo” signal">redo</a></td>
426
+ <td class="signal_flags"><a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
427
+ </tr>
428
+ <tr>
429
+ <td class="signal_type"><span class="returnvalue">void</span></td>
430
+ <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>
431
+ <td class="signal_flags"><a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
432
+ </tr>
433
+ <tr>
434
+ <td class="signal_type"><span class="returnvalue">void</span></td>
435
+ <td class="signal_name"><a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer-undo" title="The “undo” signal">undo</a></td>
436
+ <td class="signal_flags"><a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
437
+ </tr>
438
+ </tbody>
439
+ </table></div>
440
+ </div>
441
+ <div class="refsect1">
442
+ <a name="GtkSourceBuffer.other"></a><h2>Types and Values</h2>
443
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
444
+ <colgroup>
445
+ <col width="150px" class="name">
446
+ <col class="description">
447
+ </colgroup>
448
+ <tbody>
449
+ <tr>
450
+ <td class="datatype_keyword"> </td>
451
+ <td class="function_name"><a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer-struct" title="GtkSourceBuffer">GtkSourceBuffer</a></td>
452
+ </tr>
453
+ <tr>
454
+ <td class="datatype_keyword">enum</td>
455
+ <td class="function_name"><a class="link" href="GtkSourceBuffer.html#GtkSourceBracketMatchType" title="enum GtkSourceBracketMatchType">GtkSourceBracketMatchType</a></td>
456
+ </tr>
457
+ <tr>
458
+ <td class="datatype_keyword">enum</td>
459
+ <td class="function_name"><a class="link" href="GtkSourceBuffer.html#GtkSourceChangeCaseType" title="enum GtkSourceChangeCaseType">GtkSourceChangeCaseType</a></td>
460
+ </tr>
461
+ <tr>
462
+ <td class="datatype_keyword">enum</td>
463
+ <td class="function_name"><a class="link" href="GtkSourceBuffer.html#GtkSourceSortFlags" title="enum GtkSourceSortFlags">GtkSourceSortFlags</a></td>
464
+ </tr>
465
+ </tbody>
466
+ </table></div>
467
+ </div>
468
+ <div class="refsect1">
469
+ <a name="GtkSourceBuffer.object-hierarchy"></a><h2>Object Hierarchy</h2>
470
+ <pre class="screen"> <a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html">GEnum</a>
471
+ <span class="lineart">├──</span> GtkSourceBracketMatchType
472
+ <span class="lineart">╰──</span> GtkSourceChangeCaseType
473
+ <a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html">GFlags</a>
474
+ <span class="lineart">╰──</span> GtkSourceSortFlags
475
+ <a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
476
+ <span class="lineart">╰──</span> <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextBuffer.html#GtkTextBuffer-struct">GtkTextBuffer</a>
477
+ <span class="lineart">╰──</span> GtkSourceBuffer
478
+ </pre>
479
+ </div>
480
+ <div class="refsect1">
481
+ <a name="GtkSourceBuffer.includes"></a><h2>Includes</h2>
482
+ <pre class="synopsis">#include &lt;gtksourceview/gtksource.h&gt;
483
+ </pre>
484
+ </div>
485
+ <div class="refsect1">
486
+ <a name="GtkSourceBuffer.description"></a><h2>Description</h2>
487
+ <p>A <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.
488
+ It extends the <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextBuffer.html#GtkTextBuffer-struct"><span class="type">GtkTextBuffer</span></a> class by adding features useful to display
489
+ and edit source code such as syntax highlighting and bracket matching. It
490
+ also implements support for the undo/redo.</p>
491
+ <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
492
+ <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
493
+ function which allows you to initially set a <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a>. You can also
494
+ directly create a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> and get its <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> with
495
+ <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextView.html#gtk-text-view-get-buffer"><code class="function">gtk_text_view_get_buffer()</code></a>.</p>
496
+ <p>The highlighting is enabled by default, but you can disable it with
497
+ <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>
498
+ <div class="refsect2">
499
+ <a name="id-1.3.3.2.9.5"></a><h3>Undo/Redo</h3>
500
+ <p>A custom <a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a> can be implemented and set with
501
+ <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
502
+ should be suitable for most uses, so you can use the API provided by
503
+ <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> instead of using <a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a>. By default, actions
504
+ that can be undone or redone are defined as groups of operations between a
505
+ call to <a href="/home/seb/jhbuild/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
506
+ <a href="/home/seb/jhbuild/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 general, this happens whenever the user
507
+ presses any key which modifies the buffer. But the default undo manager will
508
+ try to merge similar consecutive actions into one undo/redo level. The
509
+ merging is done word by word, so after writing a new sentence (character by
510
+ character), each undo will remove the previous word.</p>
511
+ <p>The default undo manager remembers the "modified" state of the buffer, and
512
+ restores it when an action is undone or redone. It can be useful in a text
513
+ editor to know whether the file is saved. See <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextBuffer.html#gtk-text-buffer-get-modified"><code class="function">gtk_text_buffer_get_modified()</code></a>
514
+ and <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextBuffer.html#gtk-text-buffer-set-modified"><code class="function">gtk_text_buffer_set_modified()</code></a>.</p>
515
+ <p>The default undo manager also restores the selected text (or cursor
516
+ position), if the selection was related to the action. For example if the
517
+ user selects some text and deletes it, an undo will restore the selection. On
518
+ the other hand, if some text is selected but a deletion occurs elsewhere (the
519
+ deletion was done programmatically), an undo will not restore the selection,
520
+ it will only moves the cursor (the cursor is moved so that the user sees the
521
+ undo's effect). Warning: the selection restoring behavior might change in the
522
+ future.</p>
523
+ </div>
524
+ <hr>
525
+ <div class="refsect2">
526
+ <a name="context-classes"></a><h3>Context Classes</h3>
527
+ <p>It is possible to retrieve some information from the syntax highlighting
528
+ engine. The default context classes that are applied to regions of a
529
+ <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>:</p>
530
+ <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
531
+ <li class="listitem"><p><span class="emphasis"><em>comment</em></span>: the region delimits a comment;</p></li>
532
+ <li class="listitem"><p><span class="emphasis"><em>no-spell-check</em></span>: the region should not be spell checked;</p></li>
533
+ <li class="listitem"><p><span class="emphasis"><em>path</em></span>: the region delimits a path to a file;</p></li>
534
+ <li class="listitem"><p><span class="emphasis"><em>string</em></span>: the region delimits a string.</p></li>
535
+ </ul></div>
536
+ <p>Custom language definition files can create their own context classes,
537
+ 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
538
+ a string parameter as the context class.</p>
539
+ <p><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> provides an API to access the context classes:
540
+ <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>,
541
+ <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-get-context-classes-at-iter" title="gtk_source_buffer_get_context_classes_at_iter ()"><code class="function">gtk_source_buffer_get_context_classes_at_iter()</code></a>,
542
+ <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 ()"><code class="function">gtk_source_buffer_iter_forward_to_context_class_toggle()</code></a> and
543
+ <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 ()"><code class="function">gtk_source_buffer_iter_backward_to_context_class_toggle()</code></a>.</p>
544
+ <p>And the <a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer-highlight-updated" title="The “highlight-updated” signal"><span class="type">“highlight-updated”</span></a> signal permits to be notified
545
+ when a context class region changes.</p>
546
+ <p>Each context class has also an associated <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextTag.html#GtkTextTag-struct"><span class="type">GtkTextTag</span></a> with the name
547
+ <span class="emphasis"><em>gtksourceview:context-classes:&lt;name&gt;</em></span>. For example to
548
+ retrieve the <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextTag.html#GtkTextTag-struct"><span class="type">GtkTextTag</span></a> for the string context class, one can write:</p>
549
+ <div class="informalexample">
550
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
551
+ <tbody>
552
+ <tr>
553
+ <td class="listing_lines" align="right"><pre>1
554
+ 2
555
+ 3
556
+ 4
557
+ 5</pre></td>
558
+ <td class="listing_code"><pre class="programlisting"><span class="usertype">GtkTextTagTable</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">tag_table</span><span class="symbol">;</span>
559
+ <span class="usertype">GtkTextTag</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">tag</span><span class="symbol">;</span>
560
+
561
+ <span class="normal">tag_table </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextBuffer.html#gtk-text-buffer-get-tag-table">gtk_text_buffer_get_tag_table</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">buffer</span><span class="symbol">);</span>
562
+ <span class="normal">tag </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextTagTable.html#gtk-text-tag-table-lookup">gtk_text_tag_table_lookup</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">tag_table</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"gtksourceview:context-classes:string"</span><span class="symbol">);</span></pre></td>
563
+ </tr>
564
+ </tbody>
565
+ </table>
566
+ </div>
567
+
568
+ <p></p>
569
+ <p>The tag must be used for read-only purposes.</p>
570
+ <p>Accessing a context class via the associated <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextTag.html#GtkTextTag-struct"><span class="type">GtkTextTag</span></a> is less
571
+ convenient than the <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> API, because:</p>
572
+ <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
573
+ <li class="listitem"><p>The tag doesn't always exist, you need to listen to the
574
+ <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextTagTable.html#GtkTextTagTable-tag-added"><span class="type">“tag-added”</span></a> and <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextTagTable.html#GtkTextTagTable-tag-removed"><span class="type">“tag-removed”</span></a> signals.</p></li>
575
+ <li class="listitem"><p>Instead of the <a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer-highlight-updated" title="The “highlight-updated” signal"><span class="type">“highlight-updated”</span></a> signal, you can listen
576
+ to the <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextBuffer.html#GtkTextBuffer-apply-tag"><span class="type">“apply-tag”</span></a> and <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextBuffer.html#GtkTextBuffer-remove-tag"><span class="type">“remove-tag”</span></a> signals.</p></li>
577
+ </ul></div>
578
+ <p>A possible use-case for accessing a context class via the associated
579
+ <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextTag.html#GtkTextTag-struct"><span class="type">GtkTextTag</span></a> is to read the region but without adding a hard dependency on the
580
+ GtkSourceView library (for example for a spell-checking library that wants to
581
+ read the no-spell-check region).</p>
582
+ </div>
583
+ </div>
584
+ <div class="refsect1">
585
+ <a name="GtkSourceBuffer.functions_details"></a><h2>Functions</h2>
586
+ <div class="refsect2">
587
+ <a name="gtk-source-buffer-new"></a><h3>gtk_source_buffer_new ()</h3>
588
+ <pre class="programlisting"><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="returnvalue">GtkSourceBuffer</span></a> *
589
+ gtk_source_buffer_new (<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextTagTable.html#GtkTextTagTable-struct"><span class="type">GtkTextTagTable</span></a> *table</code></em>);</pre>
590
+ <p>Creates a new source buffer.</p>
591
+ <div class="refsect3">
592
+ <a name="gtk-source-buffer-new.parameters"></a><h4>Parameters</h4>
593
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
594
+ <colgroup>
595
+ <col width="150px" class="parameters_name">
596
+ <col class="parameters_description">
597
+ <col width="200px" class="parameters_annotations">
598
+ </colgroup>
599
+ <tbody><tr>
600
+ <td class="parameter_name"><p>table</p></td>
601
+ <td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextTagTable.html#GtkTextTagTable-struct"><span class="type">GtkTextTagTable</span></a>, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to create a new one. </p></td>
602
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
603
+ </tr></tbody>
604
+ </table></div>
605
+ </div>
606
+ <div class="refsect3">
607
+ <a name="gtk-source-buffer-new.returns"></a><h4>Returns</h4>
608
+ <p> a new source buffer.</p>
609
+ </div>
610
+ </div>
611
+ <hr>
612
+ <div class="refsect2">
613
+ <a name="gtk-source-buffer-new-with-language"></a><h3>gtk_source_buffer_new_with_language ()</h3>
614
+ <pre class="programlisting"><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="returnvalue">GtkSourceBuffer</span></a> *
615
+ 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>
616
+ <p>Creates a new source buffer using the highlighting patterns in
617
+ <em class="parameter"><code>language</code></em>
618
+ . This is equivalent to creating a new source buffer with
619
+ 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>
620
+ <div class="refsect3">
621
+ <a name="gtk-source-buffer-new-with-language.parameters"></a><h4>Parameters</h4>
622
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
623
+ <colgroup>
624
+ <col width="150px" class="parameters_name">
625
+ <col class="parameters_description">
626
+ <col width="200px" class="parameters_annotations">
627
+ </colgroup>
628
+ <tbody><tr>
629
+ <td class="parameter_name"><p>language</p></td>
630
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a>.</p></td>
631
+ <td class="parameter_annotations"> </td>
632
+ </tr></tbody>
633
+ </table></div>
634
+ </div>
635
+ <div class="refsect3">
636
+ <a name="gtk-source-buffer-new-with-language.returns"></a><h4>Returns</h4>
637
+ <p> a new source buffer which will highlight text
638
+ according to the highlighting patterns in <em class="parameter"><code>language</code></em>
639
+ .</p>
640
+ </div>
641
+ </div>
642
+ <hr>
643
+ <div class="refsect2">
644
+ <a name="gtk-source-buffer-create-source-tag"></a><h3>gtk_source_buffer_create_source_tag ()</h3>
645
+ <pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextTag.html#GtkTextTag-struct"><span class="returnvalue">GtkTextTag</span></a> *
646
+ gtk_source_buffer_create_source_tag (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
647
+ <em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *tag_name</code></em>,
648
+ <em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_property_name</code></em>,
649
+ <em class="parameter"><code>...</code></em>);</pre>
650
+ <p>In short, this is the same function as <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextBuffer.html#gtk-text-buffer-create-tag"><code class="function">gtk_text_buffer_create_tag()</code></a>, but
651
+ instead of creating a <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextTag.html#GtkTextTag-struct"><span class="type">GtkTextTag</span></a>, this function creates a <a class="link" href="GtkSourceTag.html" title="GtkSourceTag"><span class="type">GtkSourceTag</span></a>.</p>
652
+ <p>This function creates a <a class="link" href="GtkSourceTag.html" title="GtkSourceTag"><span class="type">GtkSourceTag</span></a> and adds it to the tag table for
653
+ <em class="parameter"><code>buffer</code></em>
654
+ . Equivalent to calling <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextTag.html#gtk-text-tag-new"><code class="function">gtk_text_tag_new()</code></a> and then adding the tag to
655
+ the buffer’s tag table. The returned tag is owned by the buffer’s tag table,
656
+ so the ref count will be equal to one.</p>
657
+ <p>If <em class="parameter"><code>tag_name</code></em>
658
+ is <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the tag is anonymous.</p>
659
+ <p>If <em class="parameter"><code>tag_name</code></em>
660
+ is non-<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, a tag called <em class="parameter"><code>tag_name</code></em>
661
+ must not already
662
+ exist in the tag table for this buffer.</p>
663
+ <p>The <em class="parameter"><code>first_property_name</code></em>
664
+ argument and subsequent arguments are a list
665
+ of properties to set on the tag, as with <a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-set"><code class="function">g_object_set()</code></a>.</p>
666
+ <div class="refsect3">
667
+ <a name="gtk-source-buffer-create-source-tag.parameters"></a><h4>Parameters</h4>
668
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
669
+ <colgroup>
670
+ <col width="150px" class="parameters_name">
671
+ <col class="parameters_description">
672
+ <col width="200px" class="parameters_annotations">
673
+ </colgroup>
674
+ <tbody>
675
+ <tr>
676
+ <td class="parameter_name"><p>buffer</p></td>
677
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a></p></td>
678
+ <td class="parameter_annotations"> </td>
679
+ </tr>
680
+ <tr>
681
+ <td class="parameter_name"><p>tag_name</p></td>
682
+ <td class="parameter_description"><p>name of the new tag, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
683
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
684
+ </tr>
685
+ <tr>
686
+ <td class="parameter_name"><p>first_property_name</p></td>
687
+ <td class="parameter_description"><p>name of first property to set, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
688
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
689
+ </tr>
690
+ <tr>
691
+ <td class="parameter_name"><p>...</p></td>
692
+ <td class="parameter_description"><p><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated list of property names and values</p></td>
693
+ <td class="parameter_annotations"> </td>
694
+ </tr>
695
+ </tbody>
696
+ </table></div>
697
+ </div>
698
+ <div class="refsect3">
699
+ <a name="gtk-source-buffer-create-source-tag.returns"></a><h4>Returns</h4>
700
+ <p>a new <a class="link" href="GtkSourceTag.html" title="GtkSourceTag"><span class="type">GtkSourceTag</span></a>. </p>
701
+ <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
702
+ </div>
703
+ <p class="since">Since: <a class="link" href="api-index-3-20.html#api-index-3.20">3.20</a></p>
704
+ </div>
705
+ <hr>
706
+ <div class="refsect2">
707
+ <a name="gtk-source-buffer-set-language"></a><h3>gtk_source_buffer_set_language ()</h3>
708
+ <pre class="programlisting"><span class="returnvalue">void</span>
709
+ 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>,
710
+ <em class="parameter"><code><a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> *language</code></em>);</pre>
711
+ <p>Associates a <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> with the buffer.</p>
712
+ <p>Note that a <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> affects not only the syntax highlighting, but
713
+ also the <a class="link" href="GtkSourceBuffer.html#context-classes" title="Context Classes">context classes</a>. If you want to disable just the
714
+ syntax highlighting, 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>.</p>
715
+ <p>The buffer holds a reference to <em class="parameter"><code>language</code></em>
716
+ .</p>
717
+ <div class="refsect3">
718
+ <a name="gtk-source-buffer-set-language.parameters"></a><h4>Parameters</h4>
719
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
720
+ <colgroup>
721
+ <col width="150px" class="parameters_name">
722
+ <col class="parameters_description">
723
+ <col width="200px" class="parameters_annotations">
724
+ </colgroup>
725
+ <tbody>
726
+ <tr>
727
+ <td class="parameter_name"><p>buffer</p></td>
728
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
729
+ <td class="parameter_annotations"> </td>
730
+ </tr>
731
+ <tr>
732
+ <td class="parameter_name"><p>language</p></td>
733
+ <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/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
734
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
735
+ </tr>
736
+ </tbody>
737
+ </table></div>
738
+ </div>
739
+ </div>
740
+ <hr>
741
+ <div class="refsect2">
742
+ <a name="gtk-source-buffer-get-language"></a><h3>gtk_source_buffer_get_language ()</h3>
743
+ <pre class="programlisting"><a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="returnvalue">GtkSourceLanguage</span></a> *
744
+ 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>
745
+ <p>Returns the <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> associated with the buffer,
746
+ 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
747
+ unreferenced by the user.</p>
748
+ <div class="refsect3">
749
+ <a name="gtk-source-buffer-get-language.parameters"></a><h4>Parameters</h4>
750
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
751
+ <colgroup>
752
+ <col width="150px" class="parameters_name">
753
+ <col class="parameters_description">
754
+ <col width="200px" class="parameters_annotations">
755
+ </colgroup>
756
+ <tbody><tr>
757
+ <td class="parameter_name"><p>buffer</p></td>
758
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
759
+ <td class="parameter_annotations"> </td>
760
+ </tr></tbody>
761
+ </table></div>
762
+ </div>
763
+ <div class="refsect3">
764
+ <a name="gtk-source-buffer-get-language.returns"></a><h4>Returns</h4>
765
+ <p>the <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> associated
766
+ with the buffer, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
767
+ <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>
768
+ </div>
769
+ </div>
770
+ <hr>
771
+ <div class="refsect2">
772
+ <a name="gtk-source-buffer-set-style-scheme"></a><h3>gtk_source_buffer_set_style_scheme ()</h3>
773
+ <pre class="programlisting"><span class="returnvalue">void</span>
774
+ 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>,
775
+ <em class="parameter"><code><a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="type">GtkSourceStyleScheme</span></a> *scheme</code></em>);</pre>
776
+ <p>Sets a <a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="type">GtkSourceStyleScheme</span></a> to be used by the buffer and the view.</p>
777
+ <p>Note that a <a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="type">GtkSourceStyleScheme</span></a> affects not only the syntax highlighting,
778
+ but also other <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> features such as highlighting the current line,
779
+ matching brackets, the line numbers, etc.</p>
780
+ <p>Instead of setting a <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> <em class="parameter"><code>scheme</code></em>
781
+ , it is better to disable syntax
782
+ highlighting with <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>, and setting the
783
+ <a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="type">GtkSourceStyleScheme</span></a> with the "classic" or "tango" ID, because those two
784
+ style schemes follow more closely the GTK+ theme (for example for the
785
+ background color).</p>
786
+ <p>The buffer holds a reference to <em class="parameter"><code>scheme</code></em>
787
+ .</p>
788
+ <div class="refsect3">
789
+ <a name="gtk-source-buffer-set-style-scheme.parameters"></a><h4>Parameters</h4>
790
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
791
+ <colgroup>
792
+ <col width="150px" class="parameters_name">
793
+ <col class="parameters_description">
794
+ <col width="200px" class="parameters_annotations">
795
+ </colgroup>
796
+ <tbody>
797
+ <tr>
798
+ <td class="parameter_name"><p>buffer</p></td>
799
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
800
+ <td class="parameter_annotations"> </td>
801
+ </tr>
802
+ <tr>
803
+ <td class="parameter_name"><p>scheme</p></td>
804
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="type">GtkSourceStyleScheme</span></a> or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
805
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
806
+ </tr>
807
+ </tbody>
808
+ </table></div>
809
+ </div>
810
+ </div>
811
+ <hr>
812
+ <div class="refsect2">
813
+ <a name="gtk-source-buffer-get-style-scheme"></a><h3>gtk_source_buffer_get_style_scheme ()</h3>
814
+ <pre class="programlisting"><a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="returnvalue">GtkSourceStyleScheme</span></a> *
815
+ 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>
816
+ <p>Returns the <a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="type">GtkSourceStyleScheme</span></a> associated with the buffer,
817
+ 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>.
818
+ The returned object should not be unreferenced by the user.</p>
819
+ <div class="refsect3">
820
+ <a name="gtk-source-buffer-get-style-scheme.parameters"></a><h4>Parameters</h4>
821
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
822
+ <colgroup>
823
+ <col width="150px" class="parameters_name">
824
+ <col class="parameters_description">
825
+ <col width="200px" class="parameters_annotations">
826
+ </colgroup>
827
+ <tbody><tr>
828
+ <td class="parameter_name"><p>buffer</p></td>
829
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
830
+ <td class="parameter_annotations"> </td>
831
+ </tr></tbody>
832
+ </table></div>
833
+ </div>
834
+ <div class="refsect3">
835
+ <a name="gtk-source-buffer-get-style-scheme.returns"></a><h4>Returns</h4>
836
+ <p>the <a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="type">GtkSourceStyleScheme</span></a>
837
+ associated with the buffer, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
838
+ <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>
839
+ </div>
840
+ </div>
841
+ <hr>
842
+ <div class="refsect2">
843
+ <a name="gtk-source-buffer-set-highlight-syntax"></a><h3>gtk_source_buffer_set_highlight_syntax ()</h3>
844
+ <pre class="programlisting"><span class="returnvalue">void</span>
845
+ gtk_source_buffer_set_highlight_syntax
846
+ (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
847
+ <em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> highlight</code></em>);</pre>
848
+ <p>Controls whether syntax is highlighted in the buffer.</p>
849
+ <p>If <em class="parameter"><code>highlight</code></em>
850
+ is <a href="/home/seb/jhbuild/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
851
+ patterns specified in the <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> set with
852
+ <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>
853
+ <p>If <em class="parameter"><code>highlight</code></em>
854
+ is <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, syntax highlighting is disabled and all the
855
+ <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextTag.html#GtkTextTag-struct"><span class="type">GtkTextTag</span></a> objects that have been added by the syntax highlighting engine
856
+ are removed from the buffer.</p>
857
+ <div class="refsect3">
858
+ <a name="gtk-source-buffer-set-highlight-syntax.parameters"></a><h4>Parameters</h4>
859
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
860
+ <colgroup>
861
+ <col width="150px" class="parameters_name">
862
+ <col class="parameters_description">
863
+ <col width="200px" class="parameters_annotations">
864
+ </colgroup>
865
+ <tbody>
866
+ <tr>
867
+ <td class="parameter_name"><p>buffer</p></td>
868
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
869
+ <td class="parameter_annotations"> </td>
870
+ </tr>
871
+ <tr>
872
+ <td class="parameter_name"><p>highlight</p></td>
873
+ <td class="parameter_description"><p><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to enable syntax highlighting, <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> to disable it.</p></td>
874
+ <td class="parameter_annotations"> </td>
875
+ </tr>
876
+ </tbody>
877
+ </table></div>
878
+ </div>
879
+ </div>
880
+ <hr>
881
+ <div class="refsect2">
882
+ <a name="gtk-source-buffer-get-highlight-syntax"></a><h3>gtk_source_buffer_get_highlight_syntax ()</h3>
883
+ <pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
884
+ gtk_source_buffer_get_highlight_syntax
885
+ (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
886
+ <p>Determines whether syntax highlighting is activated in the source
887
+ buffer.</p>
888
+ <div class="refsect3">
889
+ <a name="gtk-source-buffer-get-highlight-syntax.parameters"></a><h4>Parameters</h4>
890
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
891
+ <colgroup>
892
+ <col width="150px" class="parameters_name">
893
+ <col class="parameters_description">
894
+ <col width="200px" class="parameters_annotations">
895
+ </colgroup>
896
+ <tbody><tr>
897
+ <td class="parameter_name"><p>buffer</p></td>
898
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
899
+ <td class="parameter_annotations"> </td>
900
+ </tr></tbody>
901
+ </table></div>
902
+ </div>
903
+ <div class="refsect3">
904
+ <a name="gtk-source-buffer-get-highlight-syntax.returns"></a><h4>Returns</h4>
905
+ <p> <a href="/home/seb/jhbuild/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/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
906
+ </div>
907
+ </div>
908
+ <hr>
909
+ <div class="refsect2">
910
+ <a name="gtk-source-buffer-set-highlight-matching-brackets"></a><h3>gtk_source_buffer_set_highlight_matching_brackets ()</h3>
911
+ <pre class="programlisting"><span class="returnvalue">void</span>
912
+ gtk_source_buffer_set_highlight_matching_brackets
913
+ (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
914
+ <em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> highlight</code></em>);</pre>
915
+ <p>Controls the bracket match highlighting function in the buffer. If
916
+ activated, when you position your cursor over a bracket character
917
+ (a parenthesis, a square bracket, etc.) the matching opening or
918
+ closing bracket character will be highlighted.</p>
919
+ <div class="refsect3">
920
+ <a name="gtk-source-buffer-set-highlight-matching-brackets.parameters"></a><h4>Parameters</h4>
921
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
922
+ <colgroup>
923
+ <col width="150px" class="parameters_name">
924
+ <col class="parameters_description">
925
+ <col width="200px" class="parameters_annotations">
926
+ </colgroup>
927
+ <tbody>
928
+ <tr>
929
+ <td class="parameter_name"><p>buffer</p></td>
930
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
931
+ <td class="parameter_annotations"> </td>
932
+ </tr>
933
+ <tr>
934
+ <td class="parameter_name"><p>highlight</p></td>
935
+ <td class="parameter_description"><p><a href="/home/seb/jhbuild/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>
936
+ <td class="parameter_annotations"> </td>
937
+ </tr>
938
+ </tbody>
939
+ </table></div>
940
+ </div>
941
+ </div>
942
+ <hr>
943
+ <div class="refsect2">
944
+ <a name="gtk-source-buffer-get-highlight-matching-brackets"></a><h3>gtk_source_buffer_get_highlight_matching_brackets ()</h3>
945
+ <pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
946
+ gtk_source_buffer_get_highlight_matching_brackets
947
+ (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
948
+ <p>Determines whether bracket match highlighting is activated for the
949
+ source buffer.</p>
950
+ <div class="refsect3">
951
+ <a name="gtk-source-buffer-get-highlight-matching-brackets.parameters"></a><h4>Parameters</h4>
952
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
953
+ <colgroup>
954
+ <col width="150px" class="parameters_name">
955
+ <col class="parameters_description">
956
+ <col width="200px" class="parameters_annotations">
957
+ </colgroup>
958
+ <tbody><tr>
959
+ <td class="parameter_name"><p>buffer</p></td>
960
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
961
+ <td class="parameter_annotations"> </td>
962
+ </tr></tbody>
963
+ </table></div>
964
+ </div>
965
+ <div class="refsect3">
966
+ <a name="gtk-source-buffer-get-highlight-matching-brackets.returns"></a><h4>Returns</h4>
967
+ <p> <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the source buffer will highlight matching
968
+ brackets.</p>
969
+ </div>
970
+ </div>
971
+ <hr>
972
+ <div class="refsect2">
973
+ <a name="gtk-source-buffer-ensure-highlight"></a><h3>gtk_source_buffer_ensure_highlight ()</h3>
974
+ <pre class="programlisting"><span class="returnvalue">void</span>
975
+ 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>,
976
+ <em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *start</code></em>,
977
+ <em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *end</code></em>);</pre>
978
+ <p>Forces buffer to analyze and highlight the given area synchronously.</p>
979
+ <div class="note"><p>
980
+ This is a potentially slow operation and should be used only
981
+ when you need to make sure that some text not currently
982
+ visible is highlighted, for instance before printing.
983
+ </p></div>
984
+ <div class="refsect3">
985
+ <a name="gtk-source-buffer-ensure-highlight.parameters"></a><h4>Parameters</h4>
986
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
987
+ <colgroup>
988
+ <col width="150px" class="parameters_name">
989
+ <col class="parameters_description">
990
+ <col width="200px" class="parameters_annotations">
991
+ </colgroup>
992
+ <tbody>
993
+ <tr>
994
+ <td class="parameter_name"><p>buffer</p></td>
995
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
996
+ <td class="parameter_annotations"> </td>
997
+ </tr>
998
+ <tr>
999
+ <td class="parameter_name"><p>start</p></td>
1000
+ <td class="parameter_description"><p>start of the area to highlight.</p></td>
1001
+ <td class="parameter_annotations"> </td>
1002
+ </tr>
1003
+ <tr>
1004
+ <td class="parameter_name"><p>end</p></td>
1005
+ <td class="parameter_description"><p>end of the area to highlight.</p></td>
1006
+ <td class="parameter_annotations"> </td>
1007
+ </tr>
1008
+ </tbody>
1009
+ </table></div>
1010
+ </div>
1011
+ </div>
1012
+ <hr>
1013
+ <div class="refsect2">
1014
+ <a name="gtk-source-buffer-undo"></a><h3>gtk_source_buffer_undo ()</h3>
1015
+ <pre class="programlisting"><span class="returnvalue">void</span>
1016
+ 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>
1017
+ <p>Undoes the last user action which modified the buffer. Use
1018
+ <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
1019
+ function will have any effect.</p>
1020
+ <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>
1021
+ <div class="refsect3">
1022
+ <a name="gtk-source-buffer-undo.parameters"></a><h4>Parameters</h4>
1023
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
1024
+ <colgroup>
1025
+ <col width="150px" class="parameters_name">
1026
+ <col class="parameters_description">
1027
+ <col width="200px" class="parameters_annotations">
1028
+ </colgroup>
1029
+ <tbody><tr>
1030
+ <td class="parameter_name"><p>buffer</p></td>
1031
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
1032
+ <td class="parameter_annotations"> </td>
1033
+ </tr></tbody>
1034
+ </table></div>
1035
+ </div>
1036
+ </div>
1037
+ <hr>
1038
+ <div class="refsect2">
1039
+ <a name="gtk-source-buffer-redo"></a><h3>gtk_source_buffer_redo ()</h3>
1040
+ <pre class="programlisting"><span class="returnvalue">void</span>
1041
+ 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>
1042
+ <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>
1043
+ to check whether a call to this function will have any effect.</p>
1044
+ <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>
1045
+ <div class="refsect3">
1046
+ <a name="gtk-source-buffer-redo.parameters"></a><h4>Parameters</h4>
1047
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
1048
+ <colgroup>
1049
+ <col width="150px" class="parameters_name">
1050
+ <col class="parameters_description">
1051
+ <col width="200px" class="parameters_annotations">
1052
+ </colgroup>
1053
+ <tbody><tr>
1054
+ <td class="parameter_name"><p>buffer</p></td>
1055
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
1056
+ <td class="parameter_annotations"> </td>
1057
+ </tr></tbody>
1058
+ </table></div>
1059
+ </div>
1060
+ </div>
1061
+ <hr>
1062
+ <div class="refsect2">
1063
+ <a name="gtk-source-buffer-can-undo"></a><h3>gtk_source_buffer_can_undo ()</h3>
1064
+ <pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
1065
+ 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>
1066
+ <p>Determines whether a source buffer can undo the last action.</p>
1067
+ <div class="refsect3">
1068
+ <a name="gtk-source-buffer-can-undo.parameters"></a><h4>Parameters</h4>
1069
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
1070
+ <colgroup>
1071
+ <col width="150px" class="parameters_name">
1072
+ <col class="parameters_description">
1073
+ <col width="200px" class="parameters_annotations">
1074
+ </colgroup>
1075
+ <tbody><tr>
1076
+ <td class="parameter_name"><p>buffer</p></td>
1077
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
1078
+ <td class="parameter_annotations"> </td>
1079
+ </tr></tbody>
1080
+ </table></div>
1081
+ </div>
1082
+ <div class="refsect3">
1083
+ <a name="gtk-source-buffer-can-undo.returns"></a><h4>Returns</h4>
1084
+ <p> <a href="/home/seb/jhbuild/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>
1085
+ </div>
1086
+ </div>
1087
+ <hr>
1088
+ <div class="refsect2">
1089
+ <a name="gtk-source-buffer-can-redo"></a><h3>gtk_source_buffer_can_redo ()</h3>
1090
+ <pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
1091
+ 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>
1092
+ <p>Determines whether a source buffer can redo the last action
1093
+ (i.e. if the last operation was an undo).</p>
1094
+ <div class="refsect3">
1095
+ <a name="gtk-source-buffer-can-redo.parameters"></a><h4>Parameters</h4>
1096
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
1097
+ <colgroup>
1098
+ <col width="150px" class="parameters_name">
1099
+ <col class="parameters_description">
1100
+ <col width="200px" class="parameters_annotations">
1101
+ </colgroup>
1102
+ <tbody><tr>
1103
+ <td class="parameter_name"><p>buffer</p></td>
1104
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
1105
+ <td class="parameter_annotations"> </td>
1106
+ </tr></tbody>
1107
+ </table></div>
1108
+ </div>
1109
+ <div class="refsect3">
1110
+ <a name="gtk-source-buffer-can-redo.returns"></a><h4>Returns</h4>
1111
+ <p> <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if a redo is possible.</p>
1112
+ </div>
1113
+ </div>
1114
+ <hr>
1115
+ <div class="refsect2">
1116
+ <a name="gtk-source-buffer-begin-not-undoable-action"></a><h3>gtk_source_buffer_begin_not_undoable_action ()</h3>
1117
+ <pre class="programlisting"><span class="returnvalue">void</span>
1118
+ gtk_source_buffer_begin_not_undoable_action
1119
+ (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
1120
+ <p>Marks the beginning of a not undoable action on the buffer,
1121
+ disabling the undo manager. Typically you would call this function
1122
+ before initially setting the contents of the buffer (e.g. when
1123
+ loading a file in a text editor).</p>
1124
+ <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> /
1125
+ <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>
1126
+ <div class="refsect3">
1127
+ <a name="gtk-source-buffer-begin-not-undoable-action.parameters"></a><h4>Parameters</h4>
1128
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
1129
+ <colgroup>
1130
+ <col width="150px" class="parameters_name">
1131
+ <col class="parameters_description">
1132
+ <col width="200px" class="parameters_annotations">
1133
+ </colgroup>
1134
+ <tbody><tr>
1135
+ <td class="parameter_name"><p>buffer</p></td>
1136
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
1137
+ <td class="parameter_annotations"> </td>
1138
+ </tr></tbody>
1139
+ </table></div>
1140
+ </div>
1141
+ </div>
1142
+ <hr>
1143
+ <div class="refsect2">
1144
+ <a name="gtk-source-buffer-end-not-undoable-action"></a><h3>gtk_source_buffer_end_not_undoable_action ()</h3>
1145
+ <pre class="programlisting"><span class="returnvalue">void</span>
1146
+ gtk_source_buffer_end_not_undoable_action
1147
+ (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
1148
+ <p>Marks the end of a not undoable action on the buffer. When the
1149
+ last not undoable block is closed through the call to this
1150
+ function, the list of undo actions is cleared and the undo manager
1151
+ is re-enabled.</p>
1152
+ <div class="refsect3">
1153
+ <a name="gtk-source-buffer-end-not-undoable-action.parameters"></a><h4>Parameters</h4>
1154
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
1155
+ <colgroup>
1156
+ <col width="150px" class="parameters_name">
1157
+ <col class="parameters_description">
1158
+ <col width="200px" class="parameters_annotations">
1159
+ </colgroup>
1160
+ <tbody><tr>
1161
+ <td class="parameter_name"><p>buffer</p></td>
1162
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
1163
+ <td class="parameter_annotations"> </td>
1164
+ </tr></tbody>
1165
+ </table></div>
1166
+ </div>
1167
+ </div>
1168
+ <hr>
1169
+ <div class="refsect2">
1170
+ <a name="gtk-source-buffer-get-max-undo-levels"></a><h3>gtk_source_buffer_get_max_undo_levels ()</h3>
1171
+ <pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
1172
+ 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>
1173
+ <p>Determines the number of undo levels the buffer will track for buffer edits.</p>
1174
+ <div class="refsect3">
1175
+ <a name="gtk-source-buffer-get-max-undo-levels.parameters"></a><h4>Parameters</h4>
1176
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
1177
+ <colgroup>
1178
+ <col width="150px" class="parameters_name">
1179
+ <col class="parameters_description">
1180
+ <col width="200px" class="parameters_annotations">
1181
+ </colgroup>
1182
+ <tbody><tr>
1183
+ <td class="parameter_name"><p>buffer</p></td>
1184
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
1185
+ <td class="parameter_annotations"> </td>
1186
+ </tr></tbody>
1187
+ </table></div>
1188
+ </div>
1189
+ <div class="refsect3">
1190
+ <a name="gtk-source-buffer-get-max-undo-levels.returns"></a><h4>Returns</h4>
1191
+ <p> the maximum number of possible undo levels or -1 if no limit is set.</p>
1192
+ </div>
1193
+ </div>
1194
+ <hr>
1195
+ <div class="refsect2">
1196
+ <a name="gtk-source-buffer-set-max-undo-levels"></a><h3>gtk_source_buffer_set_max_undo_levels ()</h3>
1197
+ <pre class="programlisting"><span class="returnvalue">void</span>
1198
+ 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>,
1199
+ <em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> max_undo_levels</code></em>);</pre>
1200
+ <p>Sets the number of undo levels for user actions the buffer will
1201
+ track. If the number of user actions exceeds the limit set by this
1202
+ function, older actions will be discarded.</p>
1203
+ <p>If <em class="parameter"><code>max_undo_levels</code></em>
1204
+ is -1, the undo/redo is unlimited.</p>
1205
+ <p>If <em class="parameter"><code>max_undo_levels</code></em>
1206
+ is 0, the undo/redo is disabled.</p>
1207
+ <div class="refsect3">
1208
+ <a name="gtk-source-buffer-set-max-undo-levels.parameters"></a><h4>Parameters</h4>
1209
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
1210
+ <colgroup>
1211
+ <col width="150px" class="parameters_name">
1212
+ <col class="parameters_description">
1213
+ <col width="200px" class="parameters_annotations">
1214
+ </colgroup>
1215
+ <tbody>
1216
+ <tr>
1217
+ <td class="parameter_name"><p>buffer</p></td>
1218
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
1219
+ <td class="parameter_annotations"> </td>
1220
+ </tr>
1221
+ <tr>
1222
+ <td class="parameter_name"><p>max_undo_levels</p></td>
1223
+ <td class="parameter_description"><p>the desired maximum number of undo levels.</p></td>
1224
+ <td class="parameter_annotations"> </td>
1225
+ </tr>
1226
+ </tbody>
1227
+ </table></div>
1228
+ </div>
1229
+ </div>
1230
+ <hr>
1231
+ <div class="refsect2">
1232
+ <a name="gtk-source-buffer-get-undo-manager"></a><h3>gtk_source_buffer_get_undo_manager ()</h3>
1233
+ <pre class="programlisting"><a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="returnvalue">GtkSourceUndoManager</span></a> *
1234
+ 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>
1235
+ <p>Returns the <a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a> associated with the buffer,
1236
+ 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
1237
+ unreferenced by the user.</p>
1238
+ <div class="refsect3">
1239
+ <a name="gtk-source-buffer-get-undo-manager.parameters"></a><h4>Parameters</h4>
1240
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
1241
+ <colgroup>
1242
+ <col width="150px" class="parameters_name">
1243
+ <col class="parameters_description">
1244
+ <col width="200px" class="parameters_annotations">
1245
+ </colgroup>
1246
+ <tbody><tr>
1247
+ <td class="parameter_name"><p>buffer</p></td>
1248
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
1249
+ <td class="parameter_annotations"> </td>
1250
+ </tr></tbody>
1251
+ </table></div>
1252
+ </div>
1253
+ <div class="refsect3">
1254
+ <a name="gtk-source-buffer-get-undo-manager.returns"></a><h4>Returns</h4>
1255
+ <p>the <a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a> associated
1256
+ with the buffer, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
1257
+ <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>
1258
+ </div>
1259
+ </div>
1260
+ <hr>
1261
+ <div class="refsect2">
1262
+ <a name="gtk-source-buffer-set-undo-manager"></a><h3>gtk_source_buffer_set_undo_manager ()</h3>
1263
+ <pre class="programlisting"><span class="returnvalue">void</span>
1264
+ 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>,
1265
+ <em class="parameter"><code><a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a> *manager</code></em>);</pre>
1266
+ <p>Set the buffer undo manager. If <em class="parameter"><code>manager</code></em>
1267
+ is <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> the default undo manager
1268
+ will be set.</p>
1269
+ <div class="refsect3">
1270
+ <a name="gtk-source-buffer-set-undo-manager.parameters"></a><h4>Parameters</h4>
1271
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
1272
+ <colgroup>
1273
+ <col width="150px" class="parameters_name">
1274
+ <col class="parameters_description">
1275
+ <col width="200px" class="parameters_annotations">
1276
+ </colgroup>
1277
+ <tbody>
1278
+ <tr>
1279
+ <td class="parameter_name"><p>buffer</p></td>
1280
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
1281
+ <td class="parameter_annotations"> </td>
1282
+ </tr>
1283
+ <tr>
1284
+ <td class="parameter_name"><p>manager</p></td>
1285
+ <td class="parameter_description"><p>A <a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a> or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
1286
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
1287
+ </tr>
1288
+ </tbody>
1289
+ </table></div>
1290
+ </div>
1291
+ </div>
1292
+ <hr>
1293
+ <div class="refsect2">
1294
+ <a name="gtk-source-buffer-iter-has-context-class"></a><h3>gtk_source_buffer_iter_has_context_class ()</h3>
1295
+ <pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
1296
+ gtk_source_buffer_iter_has_context_class
1297
+ (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
1298
+ <em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *iter</code></em>,
1299
+ <em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *context_class</code></em>);</pre>
1300
+ <p>Check if the class <em class="parameter"><code>context_class</code></em>
1301
+ is set on <em class="parameter"><code>iter</code></em>
1302
+ .</p>
1303
+ <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>
1304
+ <div class="refsect3">
1305
+ <a name="gtk-source-buffer-iter-has-context-class.parameters"></a><h4>Parameters</h4>
1306
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
1307
+ <colgroup>
1308
+ <col width="150px" class="parameters_name">
1309
+ <col class="parameters_description">
1310
+ <col width="200px" class="parameters_annotations">
1311
+ </colgroup>
1312
+ <tbody>
1313
+ <tr>
1314
+ <td class="parameter_name"><p>buffer</p></td>
1315
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
1316
+ <td class="parameter_annotations"> </td>
1317
+ </tr>
1318
+ <tr>
1319
+ <td class="parameter_name"><p>iter</p></td>
1320
+ <td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
1321
+ <td class="parameter_annotations"> </td>
1322
+ </tr>
1323
+ <tr>
1324
+ <td class="parameter_name"><p>context_class</p></td>
1325
+ <td class="parameter_description"><p>class to search for.</p></td>
1326
+ <td class="parameter_annotations"> </td>
1327
+ </tr>
1328
+ </tbody>
1329
+ </table></div>
1330
+ </div>
1331
+ <div class="refsect3">
1332
+ <a name="gtk-source-buffer-iter-has-context-class.returns"></a><h4>Returns</h4>
1333
+ <p> whether <em class="parameter"><code>iter</code></em>
1334
+ has the context class.</p>
1335
+ </div>
1336
+ <p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
1337
+ </div>
1338
+ <hr>
1339
+ <div class="refsect2">
1340
+ <a name="gtk-source-buffer-get-context-classes-at-iter"></a><h3>gtk_source_buffer_get_context_classes_at_iter ()</h3>
1341
+ <pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> **
1342
+ gtk_source_buffer_get_context_classes_at_iter
1343
+ (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
1344
+ <em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *iter</code></em>);</pre>
1345
+ <p>Get all defined context classes at <em class="parameter"><code>iter</code></em>
1346
+ .</p>
1347
+ <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>
1348
+ <div class="refsect3">
1349
+ <a name="gtk-source-buffer-get-context-classes-at-iter.parameters"></a><h4>Parameters</h4>
1350
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
1351
+ <colgroup>
1352
+ <col width="150px" class="parameters_name">
1353
+ <col class="parameters_description">
1354
+ <col width="200px" class="parameters_annotations">
1355
+ </colgroup>
1356
+ <tbody>
1357
+ <tr>
1358
+ <td class="parameter_name"><p>buffer</p></td>
1359
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
1360
+ <td class="parameter_annotations"> </td>
1361
+ </tr>
1362
+ <tr>
1363
+ <td class="parameter_name"><p>iter</p></td>
1364
+ <td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
1365
+ <td class="parameter_annotations"> </td>
1366
+ </tr>
1367
+ </tbody>
1368
+ </table></div>
1369
+ </div>
1370
+ <div class="refsect3">
1371
+ <a name="gtk-source-buffer-get-context-classes-at-iter.returns"></a><h4>Returns</h4>
1372
+ <p>a new <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
1373
+ terminated array of context class names.
1374
+ Use <a href="/home/seb/jhbuild/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>
1375
+ <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>
1376
+ </div>
1377
+ <p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
1378
+ </div>
1379
+ <hr>
1380
+ <div class="refsect2">
1381
+ <a name="gtk-source-buffer-iter-forward-to-context-class-toggle"></a><h3>gtk_source_buffer_iter_forward_to_context_class_toggle ()</h3>
1382
+ <pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
1383
+ gtk_source_buffer_iter_forward_to_context_class_toggle
1384
+ (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
1385
+ <em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *iter</code></em>,
1386
+ <em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *context_class</code></em>);</pre>
1387
+ <p>Moves forward to the next toggle (on or off) of the context class. If no
1388
+ matching context class toggles are found, returns <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, otherwise <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.
1389
+ Does not return toggles located at <em class="parameter"><code>iter</code></em>
1390
+ , only toggles after <em class="parameter"><code>iter</code></em>
1391
+ . Sets
1392
+ <em class="parameter"><code>iter</code></em>
1393
+ to the location of the toggle, or to the end of the buffer if no
1394
+ toggle is found.</p>
1395
+ <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>
1396
+ <div class="refsect3">
1397
+ <a name="gtk-source-buffer-iter-forward-to-context-class-toggle.parameters"></a><h4>Parameters</h4>
1398
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
1399
+ <colgroup>
1400
+ <col width="150px" class="parameters_name">
1401
+ <col class="parameters_description">
1402
+ <col width="200px" class="parameters_annotations">
1403
+ </colgroup>
1404
+ <tbody>
1405
+ <tr>
1406
+ <td class="parameter_name"><p>buffer</p></td>
1407
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
1408
+ <td class="parameter_annotations"> </td>
1409
+ </tr>
1410
+ <tr>
1411
+ <td class="parameter_name"><p>iter</p></td>
1412
+ <td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
1413
+ <td class="parameter_annotations"> </td>
1414
+ </tr>
1415
+ <tr>
1416
+ <td class="parameter_name"><p>context_class</p></td>
1417
+ <td class="parameter_description"><p>the context class.</p></td>
1418
+ <td class="parameter_annotations"> </td>
1419
+ </tr>
1420
+ </tbody>
1421
+ </table></div>
1422
+ </div>
1423
+ <div class="refsect3">
1424
+ <a name="gtk-source-buffer-iter-forward-to-context-class-toggle.returns"></a><h4>Returns</h4>
1425
+ <p> whether we found a context class toggle after <em class="parameter"><code>iter</code></em>
1426
+ </p>
1427
+ </div>
1428
+ <p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
1429
+ </div>
1430
+ <hr>
1431
+ <div class="refsect2">
1432
+ <a name="gtk-source-buffer-iter-backward-to-context-class-toggle"></a><h3>gtk_source_buffer_iter_backward_to_context_class_toggle ()</h3>
1433
+ <pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
1434
+ gtk_source_buffer_iter_backward_to_context_class_toggle
1435
+ (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
1436
+ <em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *iter</code></em>,
1437
+ <em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *context_class</code></em>);</pre>
1438
+ <p>Moves backward to the next toggle (on or off) of the context class. If no
1439
+ matching context class toggles are found, returns <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, otherwise <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.
1440
+ Does not return toggles located at <em class="parameter"><code>iter</code></em>
1441
+ , only toggles after <em class="parameter"><code>iter</code></em>
1442
+ . Sets
1443
+ <em class="parameter"><code>iter</code></em>
1444
+ to the location of the toggle, or to the end of the buffer if no
1445
+ toggle is found.</p>
1446
+ <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>
1447
+ <div class="refsect3">
1448
+ <a name="gtk-source-buffer-iter-backward-to-context-class-toggle.parameters"></a><h4>Parameters</h4>
1449
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
1450
+ <colgroup>
1451
+ <col width="150px" class="parameters_name">
1452
+ <col class="parameters_description">
1453
+ <col width="200px" class="parameters_annotations">
1454
+ </colgroup>
1455
+ <tbody>
1456
+ <tr>
1457
+ <td class="parameter_name"><p>buffer</p></td>
1458
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
1459
+ <td class="parameter_annotations"> </td>
1460
+ </tr>
1461
+ <tr>
1462
+ <td class="parameter_name"><p>iter</p></td>
1463
+ <td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
1464
+ <td class="parameter_annotations"> </td>
1465
+ </tr>
1466
+ <tr>
1467
+ <td class="parameter_name"><p>context_class</p></td>
1468
+ <td class="parameter_description"><p>the context class.</p></td>
1469
+ <td class="parameter_annotations"> </td>
1470
+ </tr>
1471
+ </tbody>
1472
+ </table></div>
1473
+ </div>
1474
+ <div class="refsect3">
1475
+ <a name="gtk-source-buffer-iter-backward-to-context-class-toggle.returns"></a><h4>Returns</h4>
1476
+ <p> whether we found a context class toggle before <em class="parameter"><code>iter</code></em>
1477
+ </p>
1478
+ </div>
1479
+ <p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
1480
+ </div>
1481
+ <hr>
1482
+ <div class="refsect2">
1483
+ <a name="gtk-source-buffer-create-source-mark"></a><h3>gtk_source_buffer_create_source_mark ()</h3>
1484
+ <pre class="programlisting"><a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="returnvalue">GtkSourceMark</span></a> *
1485
+ 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>,
1486
+ <em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
1487
+ <em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>,
1488
+ <em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *where</code></em>);</pre>
1489
+ <p>Creates a source mark in the <em class="parameter"><code>buffer</code></em>
1490
+ of category <em class="parameter"><code>category</code></em>
1491
+ . A source mark is
1492
+ a <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextMark.html#GtkTextMark-struct"><span class="type">GtkTextMark</span></a> but organised into categories. Depending on the category
1493
+ a pixbuf can be specified that will be displayed along the line of the mark.</p>
1494
+ <p>Like a <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextMark.html#GtkTextMark-struct"><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
1495
+ passed <em class="parameter"><code>name</code></em>
1496
+ is <a href="/home/seb/jhbuild/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
1497
+ shouldn't unreference it.</p>
1498
+ <p>Marks always have left gravity and are moved to the beginning of
1499
+ the line when the user deletes the line they were in.</p>
1500
+ <p>Typical uses for a source mark are bookmarks, breakpoints, current
1501
+ executing instruction indication in a source file, etc..</p>
1502
+ <div class="refsect3">
1503
+ <a name="gtk-source-buffer-create-source-mark.parameters"></a><h4>Parameters</h4>
1504
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
1505
+ <colgroup>
1506
+ <col width="150px" class="parameters_name">
1507
+ <col class="parameters_description">
1508
+ <col width="200px" class="parameters_annotations">
1509
+ </colgroup>
1510
+ <tbody>
1511
+ <tr>
1512
+ <td class="parameter_name"><p>buffer</p></td>
1513
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
1514
+ <td class="parameter_annotations"> </td>
1515
+ </tr>
1516
+ <tr>
1517
+ <td class="parameter_name"><p>name</p></td>
1518
+ <td class="parameter_description"><p>the name of the mark, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
1519
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
1520
+ </tr>
1521
+ <tr>
1522
+ <td class="parameter_name"><p>category</p></td>
1523
+ <td class="parameter_description"><p>a string defining the mark category.</p></td>
1524
+ <td class="parameter_annotations"> </td>
1525
+ </tr>
1526
+ <tr>
1527
+ <td class="parameter_name"><p>where</p></td>
1528
+ <td class="parameter_description"><p>location to place the mark.</p></td>
1529
+ <td class="parameter_annotations"> </td>
1530
+ </tr>
1531
+ </tbody>
1532
+ </table></div>
1533
+ </div>
1534
+ <div class="refsect3">
1535
+ <a name="gtk-source-buffer-create-source-mark.returns"></a><h4>Returns</h4>
1536
+ <p>a new <a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a>, owned by the buffer. </p>
1537
+ <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
1538
+ </div>
1539
+ <p class="since">Since: <a class="link" href="api-index-2-2.html#api-index-2.2">2.2</a></p>
1540
+ </div>
1541
+ <hr>
1542
+ <div class="refsect2">
1543
+ <a name="gtk-source-buffer-forward-iter-to-source-mark"></a><h3>gtk_source_buffer_forward_iter_to_source_mark ()</h3>
1544
+ <pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
1545
+ gtk_source_buffer_forward_iter_to_source_mark
1546
+ (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
1547
+ <em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *iter</code></em>,
1548
+ <em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>);</pre>
1549
+ <p>Moves <em class="parameter"><code>iter</code></em>
1550
+ to the position of the next <a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a> of the given
1551
+ <em class="parameter"><code>category</code></em>
1552
+ . Returns <a href="/home/seb/jhbuild/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>
1553
+ was moved. If <em class="parameter"><code>category</code></em>
1554
+ is NULL, the
1555
+ next source mark can be of any category.</p>
1556
+ <div class="refsect3">
1557
+ <a name="gtk-source-buffer-forward-iter-to-source-mark.parameters"></a><h4>Parameters</h4>
1558
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
1559
+ <colgroup>
1560
+ <col width="150px" class="parameters_name">
1561
+ <col class="parameters_description">
1562
+ <col width="200px" class="parameters_annotations">
1563
+ </colgroup>
1564
+ <tbody>
1565
+ <tr>
1566
+ <td class="parameter_name"><p>buffer</p></td>
1567
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
1568
+ <td class="parameter_annotations"> </td>
1569
+ </tr>
1570
+ <tr>
1571
+ <td class="parameter_name"><p>iter</p></td>
1572
+ <td class="parameter_description"><p>an iterator.</p></td>
1573
+ <td class="parameter_annotations"> </td>
1574
+ </tr>
1575
+ <tr>
1576
+ <td class="parameter_name"><p>category</p></td>
1577
+ <td class="parameter_description"><p>category to search for, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
1578
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
1579
+ </tr>
1580
+ </tbody>
1581
+ </table></div>
1582
+ </div>
1583
+ <div class="refsect3">
1584
+ <a name="gtk-source-buffer-forward-iter-to-source-mark.returns"></a><h4>Returns</h4>
1585
+ <p> whether <em class="parameter"><code>iter</code></em>
1586
+ was moved.</p>
1587
+ </div>
1588
+ <p class="since">Since: <a class="link" href="api-index-2-2.html#api-index-2.2">2.2</a></p>
1589
+ </div>
1590
+ <hr>
1591
+ <div class="refsect2">
1592
+ <a name="gtk-source-buffer-backward-iter-to-source-mark"></a><h3>gtk_source_buffer_backward_iter_to_source_mark ()</h3>
1593
+ <pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
1594
+ gtk_source_buffer_backward_iter_to_source_mark
1595
+ (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
1596
+ <em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *iter</code></em>,
1597
+ <em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>);</pre>
1598
+ <p>Moves <em class="parameter"><code>iter</code></em>
1599
+ to the position of the previous <a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a> of the given
1600
+ category. Returns <a href="/home/seb/jhbuild/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>
1601
+ was moved. If <em class="parameter"><code>category</code></em>
1602
+ is NULL, the
1603
+ previous source mark can be of any category.</p>
1604
+ <div class="refsect3">
1605
+ <a name="gtk-source-buffer-backward-iter-to-source-mark.parameters"></a><h4>Parameters</h4>
1606
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
1607
+ <colgroup>
1608
+ <col width="150px" class="parameters_name">
1609
+ <col class="parameters_description">
1610
+ <col width="200px" class="parameters_annotations">
1611
+ </colgroup>
1612
+ <tbody>
1613
+ <tr>
1614
+ <td class="parameter_name"><p>buffer</p></td>
1615
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
1616
+ <td class="parameter_annotations"> </td>
1617
+ </tr>
1618
+ <tr>
1619
+ <td class="parameter_name"><p>iter</p></td>
1620
+ <td class="parameter_description"><p>an iterator.</p></td>
1621
+ <td class="parameter_annotations"> </td>
1622
+ </tr>
1623
+ <tr>
1624
+ <td class="parameter_name"><p>category</p></td>
1625
+ <td class="parameter_description"><p>category to search for, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
1626
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
1627
+ </tr>
1628
+ </tbody>
1629
+ </table></div>
1630
+ </div>
1631
+ <div class="refsect3">
1632
+ <a name="gtk-source-buffer-backward-iter-to-source-mark.returns"></a><h4>Returns</h4>
1633
+ <p> whether <em class="parameter"><code>iter</code></em>
1634
+ was moved.</p>
1635
+ </div>
1636
+ <p class="since">Since: <a class="link" href="api-index-2-2.html#api-index-2.2">2.2</a></p>
1637
+ </div>
1638
+ <hr>
1639
+ <div class="refsect2">
1640
+ <a name="gtk-source-buffer-get-source-marks-at-line"></a><h3>gtk_source_buffer_get_source_marks_at_line ()</h3>
1641
+ <pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
1642
+ gtk_source_buffer_get_source_marks_at_line
1643
+ (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
1644
+ <em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> line</code></em>,
1645
+ <em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>);</pre>
1646
+ <p>Returns the list of marks of the given category at <em class="parameter"><code>line</code></em>
1647
+ .
1648
+ If <em class="parameter"><code>category</code></em>
1649
+ is <a href="/home/seb/jhbuild/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>
1650
+ are returned.</p>
1651
+ <div class="refsect3">
1652
+ <a name="gtk-source-buffer-get-source-marks-at-line.parameters"></a><h4>Parameters</h4>
1653
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
1654
+ <colgroup>
1655
+ <col width="150px" class="parameters_name">
1656
+ <col class="parameters_description">
1657
+ <col width="200px" class="parameters_annotations">
1658
+ </colgroup>
1659
+ <tbody>
1660
+ <tr>
1661
+ <td class="parameter_name"><p>buffer</p></td>
1662
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
1663
+ <td class="parameter_annotations"> </td>
1664
+ </tr>
1665
+ <tr>
1666
+ <td class="parameter_name"><p>line</p></td>
1667
+ <td class="parameter_description"><p>a line number.</p></td>
1668
+ <td class="parameter_annotations"> </td>
1669
+ </tr>
1670
+ <tr>
1671
+ <td class="parameter_name"><p>category</p></td>
1672
+ <td class="parameter_description"><p>category to search for, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
1673
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
1674
+ </tr>
1675
+ </tbody>
1676
+ </table></div>
1677
+ </div>
1678
+ <div class="refsect3">
1679
+ <a name="gtk-source-buffer-get-source-marks-at-line.returns"></a><h4>Returns</h4>
1680
+ <p>a newly allocated <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a>. </p>
1681
+ <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>
1682
+ </div>
1683
+ <p class="since">Since: <a class="link" href="api-index-2-2.html#api-index-2.2">2.2</a></p>
1684
+ </div>
1685
+ <hr>
1686
+ <div class="refsect2">
1687
+ <a name="gtk-source-buffer-get-source-marks-at-iter"></a><h3>gtk_source_buffer_get_source_marks_at_iter ()</h3>
1688
+ <pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
1689
+ gtk_source_buffer_get_source_marks_at_iter
1690
+ (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
1691
+ <em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *iter</code></em>,
1692
+ <em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>);</pre>
1693
+ <p>Returns the list of marks of the given category at <em class="parameter"><code>iter</code></em>
1694
+ . If <em class="parameter"><code>category</code></em>
1695
+
1696
+ is <a href="/home/seb/jhbuild/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>
1697
+ .</p>
1698
+ <div class="refsect3">
1699
+ <a name="gtk-source-buffer-get-source-marks-at-iter.parameters"></a><h4>Parameters</h4>
1700
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
1701
+ <colgroup>
1702
+ <col width="150px" class="parameters_name">
1703
+ <col class="parameters_description">
1704
+ <col width="200px" class="parameters_annotations">
1705
+ </colgroup>
1706
+ <tbody>
1707
+ <tr>
1708
+ <td class="parameter_name"><p>buffer</p></td>
1709
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
1710
+ <td class="parameter_annotations"> </td>
1711
+ </tr>
1712
+ <tr>
1713
+ <td class="parameter_name"><p>iter</p></td>
1714
+ <td class="parameter_description"><p>an iterator.</p></td>
1715
+ <td class="parameter_annotations"> </td>
1716
+ </tr>
1717
+ <tr>
1718
+ <td class="parameter_name"><p>category</p></td>
1719
+ <td class="parameter_description"><p>category to search for, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
1720
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
1721
+ </tr>
1722
+ </tbody>
1723
+ </table></div>
1724
+ </div>
1725
+ <div class="refsect3">
1726
+ <a name="gtk-source-buffer-get-source-marks-at-iter.returns"></a><h4>Returns</h4>
1727
+ <p>a newly allocated <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a>. </p>
1728
+ <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>
1729
+ </div>
1730
+ <p class="since">Since: <a class="link" href="api-index-2-2.html#api-index-2.2">2.2</a></p>
1731
+ </div>
1732
+ <hr>
1733
+ <div class="refsect2">
1734
+ <a name="gtk-source-buffer-remove-source-marks"></a><h3>gtk_source_buffer_remove_source_marks ()</h3>
1735
+ <pre class="programlisting"><span class="returnvalue">void</span>
1736
+ 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>,
1737
+ <em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *start</code></em>,
1738
+ <em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *end</code></em>,
1739
+ <em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>);</pre>
1740
+ <p>Remove all marks of <em class="parameter"><code>category</code></em>
1741
+ between <em class="parameter"><code>start</code></em>
1742
+ and <em class="parameter"><code>end</code></em>
1743
+ from the buffer.
1744
+ If <em class="parameter"><code>category</code></em>
1745
+ is NULL, all marks in the range will be removed.</p>
1746
+ <div class="refsect3">
1747
+ <a name="gtk-source-buffer-remove-source-marks.parameters"></a><h4>Parameters</h4>
1748
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
1749
+ <colgroup>
1750
+ <col width="150px" class="parameters_name">
1751
+ <col class="parameters_description">
1752
+ <col width="200px" class="parameters_annotations">
1753
+ </colgroup>
1754
+ <tbody>
1755
+ <tr>
1756
+ <td class="parameter_name"><p>buffer</p></td>
1757
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
1758
+ <td class="parameter_annotations"> </td>
1759
+ </tr>
1760
+ <tr>
1761
+ <td class="parameter_name"><p>start</p></td>
1762
+ <td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
1763
+ <td class="parameter_annotations"> </td>
1764
+ </tr>
1765
+ <tr>
1766
+ <td class="parameter_name"><p>end</p></td>
1767
+ <td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
1768
+ <td class="parameter_annotations"> </td>
1769
+ </tr>
1770
+ <tr>
1771
+ <td class="parameter_name"><p>category</p></td>
1772
+ <td class="parameter_description"><p>category to search for, or <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
1773
+ <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
1774
+ </tr>
1775
+ </tbody>
1776
+ </table></div>
1777
+ </div>
1778
+ <p class="since">Since: <a class="link" href="api-index-2-2.html#api-index-2.2">2.2</a></p>
1779
+ </div>
1780
+ <hr>
1781
+ <div class="refsect2">
1782
+ <a name="gtk-source-buffer-change-case"></a><h3>gtk_source_buffer_change_case ()</h3>
1783
+ <pre class="programlisting"><span class="returnvalue">void</span>
1784
+ 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>,
1785
+ <em class="parameter"><code><a class="link" href="GtkSourceBuffer.html#GtkSourceChangeCaseType" title="enum GtkSourceChangeCaseType"><span class="type">GtkSourceChangeCaseType</span></a> case_type</code></em>,
1786
+ <em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *start</code></em>,
1787
+ <em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *end</code></em>);</pre>
1788
+ <p>Changes the case of the text between the specified iterators.</p>
1789
+ <div class="refsect3">
1790
+ <a name="gtk-source-buffer-change-case.parameters"></a><h4>Parameters</h4>
1791
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
1792
+ <colgroup>
1793
+ <col width="150px" class="parameters_name">
1794
+ <col class="parameters_description">
1795
+ <col width="200px" class="parameters_annotations">
1796
+ </colgroup>
1797
+ <tbody>
1798
+ <tr>
1799
+ <td class="parameter_name"><p>buffer</p></td>
1800
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
1801
+ <td class="parameter_annotations"> </td>
1802
+ </tr>
1803
+ <tr>
1804
+ <td class="parameter_name"><p>case_type</p></td>
1805
+ <td class="parameter_description"><p>how to change the case.</p></td>
1806
+ <td class="parameter_annotations"> </td>
1807
+ </tr>
1808
+ <tr>
1809
+ <td class="parameter_name"><p>start</p></td>
1810
+ <td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
1811
+ <td class="parameter_annotations"> </td>
1812
+ </tr>
1813
+ <tr>
1814
+ <td class="parameter_name"><p>end</p></td>
1815
+ <td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
1816
+ <td class="parameter_annotations"> </td>
1817
+ </tr>
1818
+ </tbody>
1819
+ </table></div>
1820
+ </div>
1821
+ <p class="since">Since: <a class="link" href="api-index-3-12.html#api-index-3.12">3.12</a></p>
1822
+ </div>
1823
+ <hr>
1824
+ <div class="refsect2">
1825
+ <a name="gtk-source-buffer-join-lines"></a><h3>gtk_source_buffer_join_lines ()</h3>
1826
+ <pre class="programlisting"><span class="returnvalue">void</span>
1827
+ gtk_source_buffer_join_lines (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
1828
+ <em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *start</code></em>,
1829
+ <em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *end</code></em>);</pre>
1830
+ <p>Joins the lines of text between the specified iterators.</p>
1831
+ <div class="refsect3">
1832
+ <a name="gtk-source-buffer-join-lines.parameters"></a><h4>Parameters</h4>
1833
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
1834
+ <colgroup>
1835
+ <col width="150px" class="parameters_name">
1836
+ <col class="parameters_description">
1837
+ <col width="200px" class="parameters_annotations">
1838
+ </colgroup>
1839
+ <tbody>
1840
+ <tr>
1841
+ <td class="parameter_name"><p>buffer</p></td>
1842
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
1843
+ <td class="parameter_annotations"> </td>
1844
+ </tr>
1845
+ <tr>
1846
+ <td class="parameter_name"><p>start</p></td>
1847
+ <td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
1848
+ <td class="parameter_annotations"> </td>
1849
+ </tr>
1850
+ <tr>
1851
+ <td class="parameter_name"><p>end</p></td>
1852
+ <td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
1853
+ <td class="parameter_annotations"> </td>
1854
+ </tr>
1855
+ </tbody>
1856
+ </table></div>
1857
+ </div>
1858
+ <p class="since">Since: <a class="link" href="api-index-3-16.html#api-index-3.16">3.16</a></p>
1859
+ </div>
1860
+ <hr>
1861
+ <div class="refsect2">
1862
+ <a name="gtk-source-buffer-sort-lines"></a><h3>gtk_source_buffer_sort_lines ()</h3>
1863
+ <pre class="programlisting"><span class="returnvalue">void</span>
1864
+ gtk_source_buffer_sort_lines (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
1865
+ <em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *start</code></em>,
1866
+ <em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *end</code></em>,
1867
+ <em class="parameter"><code><a class="link" href="GtkSourceBuffer.html#GtkSourceSortFlags" title="enum GtkSourceSortFlags"><span class="type">GtkSourceSortFlags</span></a> flags</code></em>,
1868
+ <em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> column</code></em>);</pre>
1869
+ <p>Sort the lines of text between the specified iterators.</p>
1870
+ <div class="refsect3">
1871
+ <a name="gtk-source-buffer-sort-lines.parameters"></a><h4>Parameters</h4>
1872
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
1873
+ <colgroup>
1874
+ <col width="150px" class="parameters_name">
1875
+ <col class="parameters_description">
1876
+ <col width="200px" class="parameters_annotations">
1877
+ </colgroup>
1878
+ <tbody>
1879
+ <tr>
1880
+ <td class="parameter_name"><p>buffer</p></td>
1881
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
1882
+ <td class="parameter_annotations"> </td>
1883
+ </tr>
1884
+ <tr>
1885
+ <td class="parameter_name"><p>start</p></td>
1886
+ <td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
1887
+ <td class="parameter_annotations"> </td>
1888
+ </tr>
1889
+ <tr>
1890
+ <td class="parameter_name"><p>end</p></td>
1891
+ <td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a>.</p></td>
1892
+ <td class="parameter_annotations"> </td>
1893
+ </tr>
1894
+ <tr>
1895
+ <td class="parameter_name"><p>flags</p></td>
1896
+ <td class="parameter_description"><p><a class="link" href="GtkSourceBuffer.html#GtkSourceSortFlags" title="enum GtkSourceSortFlags"><span class="type">GtkSourceSortFlags</span></a> specifying how the sort should behave</p></td>
1897
+ <td class="parameter_annotations"> </td>
1898
+ </tr>
1899
+ <tr>
1900
+ <td class="parameter_name"><p>column</p></td>
1901
+ <td class="parameter_description"><p>sort considering the text starting at the given column</p></td>
1902
+ <td class="parameter_annotations"> </td>
1903
+ </tr>
1904
+ </tbody>
1905
+ </table></div>
1906
+ </div>
1907
+ <p class="since">Since: <a class="link" href="api-index-3-18.html#api-index-3.18">3.18</a></p>
1908
+ </div>
1909
+ <hr>
1910
+ <div class="refsect2">
1911
+ <a name="gtk-source-buffer-set-implicit-trailing-newline"></a><h3>gtk_source_buffer_set_implicit_trailing_newline ()</h3>
1912
+ <pre class="programlisting"><span class="returnvalue">void</span>
1913
+ gtk_source_buffer_set_implicit_trailing_newline
1914
+ (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
1915
+ <em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> implicit_trailing_newline</code></em>);</pre>
1916
+ <p>Sets whether the <em class="parameter"><code>buffer</code></em>
1917
+ has an implicit trailing newline.</p>
1918
+ <p>If an explicit trailing newline is present in a <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextBuffer.html#GtkTextBuffer-struct"><span class="type">GtkTextBuffer</span></a>, <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextView.html#GtkTextView-struct"><span class="type">GtkTextView</span></a>
1919
+ shows it as an empty line. This is generally not what the user expects.</p>
1920
+ <p>If <em class="parameter"><code>implicit_trailing_newline</code></em>
1921
+ is <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> (the default value):</p>
1922
+ <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
1923
+ <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>
1924
+ ,
1925
+ the trailing newline (if present in the file) is not inserted into the
1926
+ <em class="parameter"><code>buffer</code></em>
1927
+ .</p></li>
1928
+ <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>
1929
+ into a file, a
1930
+ trailing newline is added to the file.</p></li>
1931
+ </ul></div>
1932
+ <p>On the other hand, if <em class="parameter"><code>implicit_trailing_newline</code></em>
1933
+ is <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, the file's
1934
+ content is not modified when loaded into the <em class="parameter"><code>buffer</code></em>
1935
+ , and the <em class="parameter"><code>buffer</code></em>
1936
+ 's
1937
+ content is not modified when saved into a file.</p>
1938
+ <div class="refsect3">
1939
+ <a name="gtk-source-buffer-set-implicit-trailing-newline.parameters"></a><h4>Parameters</h4>
1940
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
1941
+ <colgroup>
1942
+ <col width="150px" class="parameters_name">
1943
+ <col class="parameters_description">
1944
+ <col width="200px" class="parameters_annotations">
1945
+ </colgroup>
1946
+ <tbody>
1947
+ <tr>
1948
+ <td class="parameter_name"><p>buffer</p></td>
1949
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
1950
+ <td class="parameter_annotations"> </td>
1951
+ </tr>
1952
+ <tr>
1953
+ <td class="parameter_name"><p>implicit_trailing_newline</p></td>
1954
+ <td class="parameter_description"><p>the new value.</p></td>
1955
+ <td class="parameter_annotations"> </td>
1956
+ </tr>
1957
+ </tbody>
1958
+ </table></div>
1959
+ </div>
1960
+ <p class="since">Since: <a class="link" href="api-index-3-14.html#api-index-3.14">3.14</a></p>
1961
+ </div>
1962
+ <hr>
1963
+ <div class="refsect2">
1964
+ <a name="gtk-source-buffer-get-implicit-trailing-newline"></a><h3>gtk_source_buffer_get_implicit_trailing_newline ()</h3>
1965
+ <pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
1966
+ gtk_source_buffer_get_implicit_trailing_newline
1967
+ (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
1968
+ <div class="refsect3">
1969
+ <a name="gtk-source-buffer-get-implicit-trailing-newline.parameters"></a><h4>Parameters</h4>
1970
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
1971
+ <colgroup>
1972
+ <col width="150px" class="parameters_name">
1973
+ <col class="parameters_description">
1974
+ <col width="200px" class="parameters_annotations">
1975
+ </colgroup>
1976
+ <tbody><tr>
1977
+ <td class="parameter_name"><p>buffer</p></td>
1978
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
1979
+ <td class="parameter_annotations"> </td>
1980
+ </tr></tbody>
1981
+ </table></div>
1982
+ </div>
1983
+ <div class="refsect3">
1984
+ <a name="gtk-source-buffer-get-implicit-trailing-newline.returns"></a><h4>Returns</h4>
1985
+ <p> whether the <em class="parameter"><code>buffer</code></em>
1986
+ has an implicit trailing newline.</p>
1987
+ </div>
1988
+ <p class="since">Since: <a class="link" href="api-index-3-14.html#api-index-3.14">3.14</a></p>
1989
+ </div>
1990
+ </div>
1991
+ <div class="refsect1">
1992
+ <a name="GtkSourceBuffer.other_details"></a><h2>Types and Values</h2>
1993
+ <div class="refsect2">
1994
+ <a name="GtkSourceBuffer-struct"></a><h3>GtkSourceBuffer</h3>
1995
+ <pre class="programlisting">typedef struct _GtkSourceBuffer GtkSourceBuffer;</pre>
1996
+ </div>
1997
+ <hr>
1998
+ <div class="refsect2">
1999
+ <a name="GtkSourceBracketMatchType"></a><h3>enum GtkSourceBracketMatchType</h3>
2000
+ <div class="refsect3">
2001
+ <a name="GtkSourceBracketMatchType.members"></a><h4>Members</h4>
2002
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
2003
+ <colgroup>
2004
+ <col width="300px" class="enum_members_name">
2005
+ <col class="enum_members_description">
2006
+ <col width="200px" class="enum_members_annotations">
2007
+ </colgroup>
2008
+ <tbody>
2009
+ <tr>
2010
+ <td class="enum_member_name"><p><a name="GTK-SOURCE-BRACKET-MATCH-NONE:CAPS"></a>GTK_SOURCE_BRACKET_MATCH_NONE</p></td>
2011
+ <td class="enum_member_description">
2012
+ <p>there is no bracket to match.</p>
2013
+ </td>
2014
+ <td class="enum_member_annotations"> </td>
2015
+ </tr>
2016
+ <tr>
2017
+ <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>
2018
+ <td class="enum_member_description">
2019
+ <p>matching a bracket
2020
+ failed because the maximum range was reached.</p>
2021
+ </td>
2022
+ <td class="enum_member_annotations"> </td>
2023
+ </tr>
2024
+ <tr>
2025
+ <td class="enum_member_name"><p><a name="GTK-SOURCE-BRACKET-MATCH-NOT-FOUND:CAPS"></a>GTK_SOURCE_BRACKET_MATCH_NOT_FOUND</p></td>
2026
+ <td class="enum_member_description">
2027
+ <p>a matching bracket was not found.</p>
2028
+ </td>
2029
+ <td class="enum_member_annotations"> </td>
2030
+ </tr>
2031
+ <tr>
2032
+ <td class="enum_member_name"><p><a name="GTK-SOURCE-BRACKET-MATCH-FOUND:CAPS"></a>GTK_SOURCE_BRACKET_MATCH_FOUND</p></td>
2033
+ <td class="enum_member_description">
2034
+ <p>a matching bracket was found.</p>
2035
+ </td>
2036
+ <td class="enum_member_annotations"> </td>
2037
+ </tr>
2038
+ </tbody>
2039
+ </table></div>
2040
+ </div>
2041
+ </div>
2042
+ <hr>
2043
+ <div class="refsect2">
2044
+ <a name="GtkSourceChangeCaseType"></a><h3>enum GtkSourceChangeCaseType</h3>
2045
+ <div class="refsect3">
2046
+ <a name="GtkSourceChangeCaseType.members"></a><h4>Members</h4>
2047
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
2048
+ <colgroup>
2049
+ <col width="300px" class="enum_members_name">
2050
+ <col class="enum_members_description">
2051
+ <col width="200px" class="enum_members_annotations">
2052
+ </colgroup>
2053
+ <tbody>
2054
+ <tr>
2055
+ <td class="enum_member_name"><p><a name="GTK-SOURCE-CHANGE-CASE-LOWER:CAPS"></a>GTK_SOURCE_CHANGE_CASE_LOWER</p></td>
2056
+ <td class="enum_member_description">
2057
+ <p>change case to lowercase.</p>
2058
+ </td>
2059
+ <td class="enum_member_annotations"> </td>
2060
+ </tr>
2061
+ <tr>
2062
+ <td class="enum_member_name"><p><a name="GTK-SOURCE-CHANGE-CASE-UPPER:CAPS"></a>GTK_SOURCE_CHANGE_CASE_UPPER</p></td>
2063
+ <td class="enum_member_description">
2064
+ <p>change case to uppercase.</p>
2065
+ </td>
2066
+ <td class="enum_member_annotations"> </td>
2067
+ </tr>
2068
+ <tr>
2069
+ <td class="enum_member_name"><p><a name="GTK-SOURCE-CHANGE-CASE-TOGGLE:CAPS"></a>GTK_SOURCE_CHANGE_CASE_TOGGLE</p></td>
2070
+ <td class="enum_member_description">
2071
+ <p>toggle case of each character.</p>
2072
+ </td>
2073
+ <td class="enum_member_annotations"> </td>
2074
+ </tr>
2075
+ <tr>
2076
+ <td class="enum_member_name"><p><a name="GTK-SOURCE-CHANGE-CASE-TITLE:CAPS"></a>GTK_SOURCE_CHANGE_CASE_TITLE</p></td>
2077
+ <td class="enum_member_description">
2078
+ <p>capitalize each word.</p>
2079
+ </td>
2080
+ <td class="enum_member_annotations"> </td>
2081
+ </tr>
2082
+ </tbody>
2083
+ </table></div>
2084
+ </div>
2085
+ <p class="since">Since: <a class="link" href="api-index-3-12.html#api-index-3.12">3.12</a></p>
2086
+ </div>
2087
+ <hr>
2088
+ <div class="refsect2">
2089
+ <a name="GtkSourceSortFlags"></a><h3>enum GtkSourceSortFlags</h3>
2090
+ <div class="refsect3">
2091
+ <a name="GtkSourceSortFlags.members"></a><h4>Members</h4>
2092
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
2093
+ <colgroup>
2094
+ <col width="300px" class="enum_members_name">
2095
+ <col class="enum_members_description">
2096
+ <col width="200px" class="enum_members_annotations">
2097
+ </colgroup>
2098
+ <tbody>
2099
+ <tr>
2100
+ <td class="enum_member_name"><p><a name="GTK-SOURCE-SORT-FLAGS-NONE:CAPS"></a>GTK_SOURCE_SORT_FLAGS_NONE</p></td>
2101
+ <td class="enum_member_description">
2102
+ <p>no flags specified</p>
2103
+ </td>
2104
+ <td class="enum_member_annotations"> </td>
2105
+ </tr>
2106
+ <tr>
2107
+ <td class="enum_member_name"><p><a name="GTK-SOURCE-SORT-FLAGS-CASE-SENSITIVE:CAPS"></a>GTK_SOURCE_SORT_FLAGS_CASE_SENSITIVE</p></td>
2108
+ <td class="enum_member_description">
2109
+ <p>case sensitive sort</p>
2110
+ </td>
2111
+ <td class="enum_member_annotations"> </td>
2112
+ </tr>
2113
+ <tr>
2114
+ <td class="enum_member_name"><p><a name="GTK-SOURCE-SORT-FLAGS-REVERSE-ORDER:CAPS"></a>GTK_SOURCE_SORT_FLAGS_REVERSE_ORDER</p></td>
2115
+ <td class="enum_member_description">
2116
+ <p>sort in reverse order</p>
2117
+ </td>
2118
+ <td class="enum_member_annotations"> </td>
2119
+ </tr>
2120
+ <tr>
2121
+ <td class="enum_member_name"><p><a name="GTK-SOURCE-SORT-FLAGS-REMOVE-DUPLICATES:CAPS"></a>GTK_SOURCE_SORT_FLAGS_REMOVE_DUPLICATES</p></td>
2122
+ <td class="enum_member_description">
2123
+ <p>remove duplicates</p>
2124
+ </td>
2125
+ <td class="enum_member_annotations"> </td>
2126
+ </tr>
2127
+ </tbody>
2128
+ </table></div>
2129
+ </div>
2130
+ <p class="since">Since: <a class="link" href="api-index-3-18.html#api-index-3.18">3.18</a></p>
2131
+ </div>
2132
+ </div>
2133
+ <div class="refsect1">
2134
+ <a name="GtkSourceBuffer.property-details"></a><h2>Property Details</h2>
2135
+ <div class="refsect2">
2136
+ <a name="GtkSourceBuffer--can-redo"></a><h3>The <code class="literal">“can-redo”</code> property</h3>
2137
+ <pre class="programlisting"> “can-redo” <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
2138
+ <p>Whether Redo operation is possible.</p>
2139
+ <p>Flags: Read</p>
2140
+ <p>Default value: FALSE</p>
2141
+ </div>
2142
+ <hr>
2143
+ <div class="refsect2">
2144
+ <a name="GtkSourceBuffer--can-undo"></a><h3>The <code class="literal">“can-undo”</code> property</h3>
2145
+ <pre class="programlisting"> “can-undo” <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
2146
+ <p>Whether Undo operation is possible.</p>
2147
+ <p>Flags: Read</p>
2148
+ <p>Default value: FALSE</p>
2149
+ </div>
2150
+ <hr>
2151
+ <div class="refsect2">
2152
+ <a name="GtkSourceBuffer--highlight-matching-brackets"></a><h3>The <code class="literal">“highlight-matching-brackets”</code> property</h3>
2153
+ <pre class="programlisting"> “highlight-matching-brackets” <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
2154
+ <p>Whether to highlight matching brackets in the buffer.</p>
2155
+ <p>Flags: Read / Write</p>
2156
+ <p>Default value: TRUE</p>
2157
+ </div>
2158
+ <hr>
2159
+ <div class="refsect2">
2160
+ <a name="GtkSourceBuffer--highlight-syntax"></a><h3>The <code class="literal">“highlight-syntax”</code> property</h3>
2161
+ <pre class="programlisting"> “highlight-syntax” <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
2162
+ <p>Whether to highlight syntax in the buffer.</p>
2163
+ <p>Flags: Read / Write</p>
2164
+ <p>Default value: TRUE</p>
2165
+ </div>
2166
+ <hr>
2167
+ <div class="refsect2">
2168
+ <a name="GtkSourceBuffer--implicit-trailing-newline"></a><h3>The <code class="literal">“implicit-trailing-newline”</code> property</h3>
2169
+ <pre class="programlisting"> “implicit-trailing-newline” <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
2170
+ <p>Whether the buffer has an implicit trailing newline. See
2171
+ <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>
2172
+ <p>Flags: Read / Write / Construct</p>
2173
+ <p>Default value: TRUE</p>
2174
+ <p class="since">Since: <a class="link" href="api-index-3-14.html#api-index-3.14">3.14</a></p>
2175
+ </div>
2176
+ <hr>
2177
+ <div class="refsect2">
2178
+ <a name="GtkSourceBuffer--language"></a><h3>The <code class="literal">“language”</code> property</h3>
2179
+ <pre class="programlisting"> “language” <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> *</pre>
2180
+ <p>Language object to get highlighting patterns from.</p>
2181
+ <p>Flags: Read / Write</p>
2182
+ </div>
2183
+ <hr>
2184
+ <div class="refsect2">
2185
+ <a name="GtkSourceBuffer--max-undo-levels"></a><h3>The <code class="literal">“max-undo-levels”</code> property</h3>
2186
+ <pre class="programlisting"> “max-undo-levels” <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
2187
+ <p>Number of undo levels for the buffer. -1 means no limit. This property
2188
+ will only affect the default undo manager.</p>
2189
+ <p>Flags: Read / Write</p>
2190
+ <p>Allowed values: &gt;= -1</p>
2191
+ <p>Default value: -1</p>
2192
+ </div>
2193
+ <hr>
2194
+ <div class="refsect2">
2195
+ <a name="GtkSourceBuffer--style-scheme"></a><h3>The <code class="literal">“style-scheme”</code> property</h3>
2196
+ <pre class="programlisting"> “style-scheme” <a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="type">GtkSourceStyleScheme</span></a> *</pre>
2197
+ <p>Style scheme. It contains styles for syntax highlighting, optionally
2198
+ foreground, background, cursor color, current line color, and matching
2199
+ brackets style.</p>
2200
+ <p>Flags: Read / Write</p>
2201
+ </div>
2202
+ <hr>
2203
+ <div class="refsect2">
2204
+ <a name="GtkSourceBuffer--undo-manager"></a><h3>The <code class="literal">“undo-manager”</code> property</h3>
2205
+ <pre class="programlisting"> “undo-manager” <a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a> *</pre>
2206
+ <p>The buffer undo manager.</p>
2207
+ <p>Flags: Read / Write / Construct</p>
2208
+ </div>
2209
+ </div>
2210
+ <div class="refsect1">
2211
+ <a name="GtkSourceBuffer.signal-details"></a><h2>Signal Details</h2>
2212
+ <div class="refsect2">
2213
+ <a name="GtkSourceBuffer-bracket-matched"></a><h3>The <code class="literal">“bracket-matched”</code> signal</h3>
2214
+ <pre class="programlisting"><span class="returnvalue">void</span>
2215
+ user_function (<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer,
2216
+ <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *iter,
2217
+ <a class="link" href="GtkSourceBuffer.html#GtkSourceBracketMatchType" title="enum GtkSourceBracketMatchType"><span class="type">GtkSourceBracketMatchType</span></a> state,
2218
+ <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
2219
+ <p><em class="parameter"><code>iter</code></em>
2220
+ is set to a valid iterator pointing to the matching bracket
2221
+ if <em class="parameter"><code>state</code></em>
2222
+ is <a class="link" href="GtkSourceBuffer.html#GTK-SOURCE-BRACKET-MATCH-FOUND:CAPS"><code class="literal">GTK_SOURCE_BRACKET_MATCH_FOUND</code></a>. Otherwise <em class="parameter"><code>iter</code></em>
2223
+ is
2224
+ meaningless.</p>
2225
+ <p>The signal is emitted only when the <em class="parameter"><code>state</code></em>
2226
+ changes, typically when
2227
+ the cursor moves.</p>
2228
+ <p>A use-case for this signal is to show messages in a <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkStatusbar.html#GtkStatusbar-struct"><span class="type">GtkStatusbar</span></a>.</p>
2229
+ <div class="refsect3">
2230
+ <a name="GtkSourceBuffer-bracket-matched.parameters"></a><h4>Parameters</h4>
2231
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
2232
+ <colgroup>
2233
+ <col width="150px" class="parameters_name">
2234
+ <col class="parameters_description">
2235
+ <col width="200px" class="parameters_annotations">
2236
+ </colgroup>
2237
+ <tbody>
2238
+ <tr>
2239
+ <td class="parameter_name"><p>buffer</p></td>
2240
+ <td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
2241
+ <td class="parameter_annotations"> </td>
2242
+ </tr>
2243
+ <tr>
2244
+ <td class="parameter_name"><p>iter</p></td>
2245
+ <td class="parameter_description"><p>if found, the location of the matching bracket.</p></td>
2246
+ <td class="parameter_annotations"> </td>
2247
+ </tr>
2248
+ <tr>
2249
+ <td class="parameter_name"><p>state</p></td>
2250
+ <td class="parameter_description"><p>state of bracket matching.</p></td>
2251
+ <td class="parameter_annotations"> </td>
2252
+ </tr>
2253
+ <tr>
2254
+ <td class="parameter_name"><p>user_data</p></td>
2255
+ <td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
2256
+ <td class="parameter_annotations"> </td>
2257
+ </tr>
2258
+ </tbody>
2259
+ </table></div>
2260
+ </div>
2261
+ <p>Flags: <a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
2262
+ <p class="since">Since: <a class="link" href="api-index-2-12.html#api-index-2.12">2.12</a></p>
2263
+ </div>
2264
+ <hr>
2265
+ <div class="refsect2">
2266
+ <a name="GtkSourceBuffer-highlight-updated"></a><h3>The <code class="literal">“highlight-updated”</code> signal</h3>
2267
+ <pre class="programlisting"><span class="returnvalue">void</span>
2268
+ user_function (<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer,
2269
+ <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *start,
2270
+ <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *end,
2271
+ <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
2272
+ <p>The ::highlight-updated signal is emitted when the syntax
2273
+ highlighting and <a class="link" href="GtkSourceBuffer.html#context-classes" title="Context Classes">context classes</a> are updated in a
2274
+ certain region of the <em class="parameter"><code>buffer</code></em>
2275
+ .</p>
2276
+ <div class="refsect3">
2277
+ <a name="GtkSourceBuffer-highlight-updated.parameters"></a><h4>Parameters</h4>
2278
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
2279
+ <colgroup>
2280
+ <col width="150px" class="parameters_name">
2281
+ <col class="parameters_description">
2282
+ <col width="200px" class="parameters_annotations">
2283
+ </colgroup>
2284
+ <tbody>
2285
+ <tr>
2286
+ <td class="parameter_name"><p>buffer</p></td>
2287
+ <td class="parameter_description"><p>the buffer that received the signal</p></td>
2288
+ <td class="parameter_annotations"> </td>
2289
+ </tr>
2290
+ <tr>
2291
+ <td class="parameter_name"><p>start</p></td>
2292
+ <td class="parameter_description"><p>the start of the updated region</p></td>
2293
+ <td class="parameter_annotations"> </td>
2294
+ </tr>
2295
+ <tr>
2296
+ <td class="parameter_name"><p>end</p></td>
2297
+ <td class="parameter_description"><p>the end of the updated region</p></td>
2298
+ <td class="parameter_annotations"> </td>
2299
+ </tr>
2300
+ <tr>
2301
+ <td class="parameter_name"><p>user_data</p></td>
2302
+ <td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
2303
+ <td class="parameter_annotations"> </td>
2304
+ </tr>
2305
+ </tbody>
2306
+ </table></div>
2307
+ </div>
2308
+ <p>Flags: <a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
2309
+ </div>
2310
+ <hr>
2311
+ <div class="refsect2">
2312
+ <a name="GtkSourceBuffer-redo"></a><h3>The <code class="literal">“redo”</code> signal</h3>
2313
+ <pre class="programlisting"><span class="returnvalue">void</span>
2314
+ user_function (<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer,
2315
+ <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
2316
+ <p>The ::redo signal is emitted to redo the last undo operation.</p>
2317
+ <div class="refsect3">
2318
+ <a name="GtkSourceBuffer-redo.parameters"></a><h4>Parameters</h4>
2319
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
2320
+ <colgroup>
2321
+ <col width="150px" class="parameters_name">
2322
+ <col class="parameters_description">
2323
+ <col width="200px" class="parameters_annotations">
2324
+ </colgroup>
2325
+ <tbody>
2326
+ <tr>
2327
+ <td class="parameter_name"><p>buffer</p></td>
2328
+ <td class="parameter_description"><p>the buffer that received the signal</p></td>
2329
+ <td class="parameter_annotations"> </td>
2330
+ </tr>
2331
+ <tr>
2332
+ <td class="parameter_name"><p>user_data</p></td>
2333
+ <td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
2334
+ <td class="parameter_annotations"> </td>
2335
+ </tr>
2336
+ </tbody>
2337
+ </table></div>
2338
+ </div>
2339
+ <p>Flags: <a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
2340
+ </div>
2341
+ <hr>
2342
+ <div class="refsect2">
2343
+ <a name="GtkSourceBuffer-source-mark-updated"></a><h3>The <code class="literal">“source-mark-updated”</code> signal</h3>
2344
+ <pre class="programlisting"><span class="returnvalue">void</span>
2345
+ user_function (<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer,
2346
+ <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextMark.html#GtkTextMark-struct"><span class="type">GtkTextMark</span></a> *mark,
2347
+ <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
2348
+ <p>The ::source-mark-updated signal is emitted each time
2349
+ a mark is added to, moved or removed from the <em class="parameter"><code>buffer</code></em>
2350
+ .</p>
2351
+ <div class="refsect3">
2352
+ <a name="GtkSourceBuffer-source-mark-updated.parameters"></a><h4>Parameters</h4>
2353
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
2354
+ <colgroup>
2355
+ <col width="150px" class="parameters_name">
2356
+ <col class="parameters_description">
2357
+ <col width="200px" class="parameters_annotations">
2358
+ </colgroup>
2359
+ <tbody>
2360
+ <tr>
2361
+ <td class="parameter_name"><p>buffer</p></td>
2362
+ <td class="parameter_description"><p>the buffer that received the signal</p></td>
2363
+ <td class="parameter_annotations"> </td>
2364
+ </tr>
2365
+ <tr>
2366
+ <td class="parameter_name"><p>mark</p></td>
2367
+ <td class="parameter_description"><p>the <a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a></p></td>
2368
+ <td class="parameter_annotations"> </td>
2369
+ </tr>
2370
+ <tr>
2371
+ <td class="parameter_name"><p>user_data</p></td>
2372
+ <td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
2373
+ <td class="parameter_annotations"> </td>
2374
+ </tr>
2375
+ </tbody>
2376
+ </table></div>
2377
+ </div>
2378
+ <p>Flags: <a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
2379
+ </div>
2380
+ <hr>
2381
+ <div class="refsect2">
2382
+ <a name="GtkSourceBuffer-undo"></a><h3>The <code class="literal">“undo”</code> signal</h3>
2383
+ <pre class="programlisting"><span class="returnvalue">void</span>
2384
+ user_function (<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer,
2385
+ <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
2386
+ <p>The ::undo signal is emitted to undo the last user action which
2387
+ modified the buffer.</p>
2388
+ <div class="refsect3">
2389
+ <a name="GtkSourceBuffer-undo.parameters"></a><h4>Parameters</h4>
2390
+ <div class="informaltable"><table class="informaltable" width="100%" border="0">
2391
+ <colgroup>
2392
+ <col width="150px" class="parameters_name">
2393
+ <col class="parameters_description">
2394
+ <col width="200px" class="parameters_annotations">
2395
+ </colgroup>
2396
+ <tbody>
2397
+ <tr>
2398
+ <td class="parameter_name"><p>buffer</p></td>
2399
+ <td class="parameter_description"><p>the buffer that received the signal</p></td>
2400
+ <td class="parameter_annotations"> </td>
2401
+ </tr>
2402
+ <tr>
2403
+ <td class="parameter_name"><p>user_data</p></td>
2404
+ <td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
2405
+ <td class="parameter_annotations"> </td>
2406
+ </tr>
2407
+ </tbody>
2408
+ </table></div>
2409
+ </div>
2410
+ <p>Flags: <a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
2411
+ </div>
2412
+ </div>
2413
+ <div class="refsect1">
2414
+ <a name="GtkSourceBuffer.see-also"></a><h2>See Also</h2>
2415
+ <p><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextBuffer.html#GtkTextBuffer-struct"><span class="type">GtkTextBuffer</span></a>, <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a></p>
2416
+ </div>
2417
+ </div>
2418
+ <div class="footer">
2419
+ <hr>Generated by GTK-Doc V1.28.1</div>
2420
+ </body>
2421
+ </html>