gtksourceview3 2.2.0-x86-mingw32 → 2.2.1-x86-mingw32

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