gtksourceview3 2.0.2-x86-mingw32 → 2.0.3-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Rakefile +15 -2
- data/ext/gtksourceview3/extconf.rb +7 -2
- data/lib/1.9/gtksourceview3.so +0 -0
- data/lib/2.0/gtksourceview3.so +0 -0
- data/vendor/local/bin/libgtksourceview-3.0-1.dll +0 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/completion-providers/words/gtksourcecompletionwords.h +4 -4
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksource.h +4 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcebuffer.h +80 -90
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletioninfo.h +4 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionitem.h +2 -2
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrenderer.h +9 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrendererpixbuf.h +2 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemarkattributes.h +3 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcesearchcontext.h +133 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcesearchsettings.h +85 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyle.h +8 -4
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestylescheme.h +52 -35
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschememanager.h +2 -6
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcetypes.h +2 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceutils.h +34 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview-typebuiltins.h +6 -6
- data/vendor/local/lib/girepository-1.0/GtkSource-3.0.typelib +0 -0
- data/vendor/local/lib/libgtksourceview-3.0.dll.a +0 -0
- data/vendor/local/lib/libgtksourceview-3.0.la +5 -5
- data/vendor/local/lib/locale/as/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/be/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ca/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ca@valencia/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/cs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/da/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/de/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/es/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/fi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/fr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ga/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/gl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/he/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/hu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/id/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/it/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ja/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ko/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/lt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/lv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/nb/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/pa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/pl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/pt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/pt_BR/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ru/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/sl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/sr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/sr@latin/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/zh_HK/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/zh_TW/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/pkgconfig/gtksourceview-3.0.pc +2 -2
- data/vendor/local/share/gir-1.0/GtkSource-3.0.gir +9479 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceBuffer.html +311 -252
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletion.html +13 -16
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionContext.html +26 -15
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionInfo.html +24 -22
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionItem.html +16 -15
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProposal.html +12 -15
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProvider.html +22 -20
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionWords.html +24 -16
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutter.html +14 -17
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRenderer.html +25 -21
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererPixbuf.html +118 -18
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererText.html +14 -17
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguage.html +13 -16
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguageManager.html +14 -17
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMark.html +19 -23
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMarkAttributes.html +27 -18
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourcePrintCompositor.html +22 -25
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchContext.html +895 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchSettings.html +465 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyle.html +13 -16
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleScheme.html +16 -19
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeManager.html +15 -15
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceUndoManager.html +13 -16
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceView.html +15 -18
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/annotation-glossary.html +43 -40
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-0.html +11 -14
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-10.html +195 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-4.html +35 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-deprecated.html +42 -13
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-full.html +182 -13
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch01.html +26 -17
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch02.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceUtils.html +140 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0.devhelp2 +155 -105
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.html +23 -12
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.sgml +213 -150
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-reference.html +18 -10
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-tutorial.html +202 -196
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/object-tree.html +11 -9
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style-reference.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style.css +71 -16
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/up.png +0 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/changelog.lang +1 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/cpp.lang +6 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/javascript.lang +1 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/julia.lang +378 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/mediawiki.lang +323 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/perl.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/scala.lang +384 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/xml.lang +2 -2
- data/vendor/local/share/gtksourceview-3.0/styles/classic.xml +1 -1
- data/vendor/local/share/gtksourceview-3.0/styles/cobalt.xml +2 -1
- data/vendor/local/share/gtksourceview-3.0/styles/kate.xml +1 -1
- data/vendor/local/share/gtksourceview-3.0/styles/oblivion.xml +2 -2
- data/vendor/local/share/gtksourceview-3.0/styles/tango.xml +2 -2
- metadata +26 -293
- data/README +0 -29
- data/vendor/local/bin/libgtksourceview-3.0-0.dll +0 -0
- data/vendor/local/bin/libxml2-2.dll +0 -0
- data/vendor/local/bin/xmlcatalog.exe +0 -0
- data/vendor/local/bin/xmllint.exe +0 -0
- data/vendor/local/include/libxml2/libxml/DOCBparser.h +0 -96
- data/vendor/local/include/libxml2/libxml/HTMLparser.h +0 -306
- data/vendor/local/include/libxml2/libxml/HTMLtree.h +0 -147
- data/vendor/local/include/libxml2/libxml/SAX.h +0 -173
- data/vendor/local/include/libxml2/libxml/SAX2.h +0 -176
- data/vendor/local/include/libxml2/libxml/c14n.h +0 -126
- data/vendor/local/include/libxml2/libxml/catalog.h +0 -182
- data/vendor/local/include/libxml2/libxml/chvalid.h +0 -230
- data/vendor/local/include/libxml2/libxml/debugXML.h +0 -217
- data/vendor/local/include/libxml2/libxml/dict.h +0 -80
- data/vendor/local/include/libxml2/libxml/encoding.h +0 -240
- data/vendor/local/include/libxml2/libxml/entities.h +0 -150
- data/vendor/local/include/libxml2/libxml/globals.h +0 -502
- data/vendor/local/include/libxml2/libxml/hash.h +0 -233
- data/vendor/local/include/libxml2/libxml/list.h +0 -137
- data/vendor/local/include/libxml2/libxml/nanoftp.h +0 -163
- data/vendor/local/include/libxml2/libxml/nanohttp.h +0 -81
- data/vendor/local/include/libxml2/libxml/parser.h +0 -1240
- data/vendor/local/include/libxml2/libxml/parserInternals.h +0 -644
- data/vendor/local/include/libxml2/libxml/pattern.h +0 -100
- data/vendor/local/include/libxml2/libxml/relaxng.h +0 -213
- data/vendor/local/include/libxml2/libxml/schemasInternals.h +0 -958
- data/vendor/local/include/libxml2/libxml/schematron.h +0 -142
- data/vendor/local/include/libxml2/libxml/threads.h +0 -84
- data/vendor/local/include/libxml2/libxml/tree.h +0 -1303
- data/vendor/local/include/libxml2/libxml/uri.h +0 -94
- data/vendor/local/include/libxml2/libxml/valid.h +0 -458
- data/vendor/local/include/libxml2/libxml/xinclude.h +0 -129
- data/vendor/local/include/libxml2/libxml/xlink.h +0 -189
- data/vendor/local/include/libxml2/libxml/xmlIO.h +0 -366
- data/vendor/local/include/libxml2/libxml/xmlautomata.h +0 -146
- data/vendor/local/include/libxml2/libxml/xmlerror.h +0 -944
- data/vendor/local/include/libxml2/libxml/xmlexports.h +0 -162
- data/vendor/local/include/libxml2/libxml/xmlmemory.h +0 -224
- data/vendor/local/include/libxml2/libxml/xmlmodule.h +0 -57
- data/vendor/local/include/libxml2/libxml/xmlreader.h +0 -428
- data/vendor/local/include/libxml2/libxml/xmlregexp.h +0 -222
- data/vendor/local/include/libxml2/libxml/xmlsave.h +0 -88
- data/vendor/local/include/libxml2/libxml/xmlschemas.h +0 -246
- data/vendor/local/include/libxml2/libxml/xmlschemastypes.h +0 -151
- data/vendor/local/include/libxml2/libxml/xmlstring.h +0 -140
- data/vendor/local/include/libxml2/libxml/xmlunicode.h +0 -202
- data/vendor/local/include/libxml2/libxml/xmlversion.h +0 -480
- data/vendor/local/include/libxml2/libxml/xmlwriter.h +0 -488
- data/vendor/local/include/libxml2/libxml/xpath.h +0 -550
- data/vendor/local/include/libxml2/libxml/xpathInternals.h +0 -632
- data/vendor/local/include/libxml2/libxml/xpointer.h +0 -114
- data/vendor/local/lib/libxml2.def +0 -1659
- data/vendor/local/lib/libxml2.dll.a +0 -0
- data/vendor/local/lib/libxml2.lib +0 -0
- data/vendor/local/lib/pkgconfig/libxml-2.0.pc +0 -13
- data/vendor/local/manifest/libxml2-dev_2.9.0-1_win32.mft +0 -268
- data/vendor/local/manifest/libxml2_2.9.0-1_win32.mft +0 -2
- data/vendor/local/share/aclocal/libxml.m4 +0 -188
- data/vendor/local/share/doc/libxml2-2.9.0/Copyright +0 -27
- data/vendor/local/share/doc/libxml2-2.9.0/examples/testHTML.c +0 -880
- data/vendor/local/share/doc/libxml2-2.9.0/examples/testSAX.c +0 -1198
- data/vendor/local/share/doc/libxml2-2.9.0/examples/testXPath.c +0 -229
- data/vendor/local/share/doc/libxml2-2.9.0/examples/xmllint.c +0 -3770
- data/vendor/local/share/doc/libxml2-2.9.0/html/DOM.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/FAQ.html +0 -282
- data/vendor/local/share/doc/libxml2-2.9.0/html/Libxml2-Logo-180x168.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/Libxml2-Logo-90x34.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/encoding.html +0 -207
- data/vendor/local/share/doc/libxml2-2.9.0/html/examples.xml +0 -751
- data/vendor/local/share/doc/libxml2-2.9.0/html/examples.xsl +0 -174
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/book1.html +0 -13
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/home.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/index.html +0 -13
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/left.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-DOCBparser.html +0 -51
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-HTMLparser.html +0 -184
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-HTMLtree.html +0 -73
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-SAX.html +0 -125
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-SAX2.html +0 -128
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-c14n.html +0 -38
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-catalog.html +0 -142
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-chvalid.html +0 -72
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-debugXML.html +0 -120
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-dict.html +0 -58
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-encoding.html +0 -124
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-entities.html +0 -79
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-globals.html +0 -152
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-hash.html +0 -116
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-lib.html +0 -13
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-list.html +0 -120
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-nanoftp.html +0 -94
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-nanohttp.html +0 -65
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-parser.html +0 -559
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-parserInternals.html +0 -322
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-pattern.html +0 -76
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-relaxng.html +0 -162
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-schemasInternals.html +0 -373
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-schematron.html +0 -81
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-threads.html +0 -72
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-tree.html +0 -989
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-uri.html +0 -73
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-valid.html +0 -289
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xinclude.html +0 -59
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xlink.html +0 -82
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlIO.html +0 -212
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlautomata.html +0 -85
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlerror.html +0 -864
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlexports.html +0 -20
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlmemory.html +0 -107
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlmodule.html +0 -38
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlreader.html +0 -330
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlregexp.html +0 -143
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlsave.html +0 -60
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlschemas.html +0 -185
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlschemastypes.html +0 -123
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlstring.html +0 -108
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlunicode.html +0 -512
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlversion.html +0 -62
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlwriter.html +0 -261
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xpath.html +0 -310
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xpathInternals.html +0 -394
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xpointer.html +0 -83
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/right.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/up.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/index.html +0 -14
- data/vendor/local/share/doc/libxml2-2.9.0/html/io1.c +0 -166
- data/vendor/local/share/doc/libxml2-2.9.0/html/io1.res +0 -5
- data/vendor/local/share/doc/libxml2-2.9.0/html/io2.c +0 -58
- data/vendor/local/share/doc/libxml2-2.9.0/html/io2.res +0 -2
- data/vendor/local/share/doc/libxml2-2.9.0/html/libxml.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/parse1.c +0 -56
- data/vendor/local/share/doc/libxml2-2.9.0/html/parse2.c +0 -72
- data/vendor/local/share/doc/libxml2-2.9.0/html/parse3.c +0 -60
- data/vendor/local/share/doc/libxml2-2.9.0/html/parse4.c +0 -143
- data/vendor/local/share/doc/libxml2-2.9.0/html/reader1.c +0 -107
- data/vendor/local/share/doc/libxml2-2.9.0/html/reader1.res +0 -14
- data/vendor/local/share/doc/libxml2-2.9.0/html/reader2.c +0 -122
- data/vendor/local/share/doc/libxml2-2.9.0/html/reader3.c +0 -120
- data/vendor/local/share/doc/libxml2-2.9.0/html/reader3.res +0 -13
- data/vendor/local/share/doc/libxml2-2.9.0/html/reader4.c +0 -122
- data/vendor/local/share/doc/libxml2-2.9.0/html/reader4.res +0 -3
- data/vendor/local/share/doc/libxml2-2.9.0/html/redhat.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/smallfootonly.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/structure.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/test1.xml +0 -1
- data/vendor/local/share/doc/libxml2-2.9.0/html/test2.xml +0 -13
- data/vendor/local/share/doc/libxml2-2.9.0/html/test3.xml +0 -39
- data/vendor/local/share/doc/libxml2-2.9.0/html/testWriter.c +0 -1198
- data/vendor/local/share/doc/libxml2-2.9.0/html/tree1.c +0 -94
- data/vendor/local/share/doc/libxml2-2.9.0/html/tree1.res +0 -4
- data/vendor/local/share/doc/libxml2-2.9.0/html/tree2.c +0 -118
- data/vendor/local/share/doc/libxml2-2.9.0/html/tree2.res +0 -18
- data/vendor/local/share/doc/libxml2-2.9.0/html/tst.xml +0 -7
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apa.html +0 -8
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apb.html +0 -14
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apc.html +0 -82
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apd.html +0 -76
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ape.html +0 -78
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apf.html +0 -67
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apg.html +0 -75
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/aph.html +0 -76
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/api.html +0 -4
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s02.html +0 -14
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s03.html +0 -47
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s04.html +0 -54
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s05.html +0 -55
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s06.html +0 -35
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s07.html +0 -30
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s08.html +0 -38
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s09.html +0 -63
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/blank.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/1.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/10.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/2.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/3.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/4.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/5.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/6.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/7.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/8.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/9.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/caution.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/draft.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/home.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/important.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/next.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/note.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/prev.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/tip.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/toc-blank.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/toc-minus.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/toc-plus.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/up.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/warning.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includeaddattribute.c +0 -64
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includeaddkeyword.c +0 -75
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includeconvert.c +0 -73
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includegetattribute.c +0 -72
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includekeyword.c +0 -79
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includexpath.c +0 -74
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/index.html +0 -14
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ix01.html +0 -1
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/xmltutorial.pdf +0 -1336
- data/vendor/local/share/doc/libxml2-2.9.0/html/w3c.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/writer.xml +0 -2
- data/vendor/local/share/doc/libxml2-2.9.0/html/xml.html +0 -5715
- data/vendor/local/share/doc/libxml2-2.9.0/html/xpath1.c +0 -250
- data/vendor/local/share/doc/libxml2-2.9.0/html/xpath1.res +0 -5
- data/vendor/local/share/doc/libxml2-2.9.0/html/xpath2.c +0 -190
- data/vendor/local/share/doc/libxml2-2.9.0/html/xpath2.res +0 -30
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceGutterRenderer.html +0 -956
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceGutterRendererPixbuf.html +0 -199
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceGutterRendererText.html +0 -137
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/rn01.html +0 -101
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/rn02.html +0 -53
- data/vendor/local/share/gtk-doc/html/libxml2/general.html +0 -38
- data/vendor/local/share/gtk-doc/html/libxml2/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/libxml2/index.html +0 -67
- data/vendor/local/share/gtk-doc/html/libxml2/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-DOCBparser.html +0 -138
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-HTMLparser.html +0 -373
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-HTMLtree.html +0 -172
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-SAX.html +0 -243
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-SAX2.html +0 -247
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-c14n.html +0 -91
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-catalog.html +0 -278
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-chvalid.html +0 -241
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-debugXML.html +0 -225
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-dict.html +0 -134
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-encoding.html +0 -218
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-entities.html +0 -166
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-globals.html +0 -383
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-hash.html +0 -214
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-list.html +0 -226
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-nanoftp.html +0 -187
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-nanohttp.html +0 -142
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-parser.html +0 -766
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-parserInternals.html +0 -688
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-pattern.html +0 -166
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-relaxng.html +0 -278
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-schemasInternals.html +0 -860
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-schematron.html +0 -166
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-threads.html +0 -161
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-tree.html +0 -1596
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-uri.html +0 -154
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-valid.html +0 -528
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xinclude.html +0 -169
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xlink.html +0 -160
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlIO.html +0 -347
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlautomata.html +0 -176
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlerror.html +0 -952
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlexports.html +0 -87
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlmemory.html +0 -186
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlmodule.html +0 -97
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlreader.html +0 -565
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlregexp.html +0 -280
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlsave.html +0 -133
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlschemas.html +0 -314
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlschemastypes.html +0 -237
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlstring.html +0 -217
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlunicode.html +0 -887
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlversion.html +0 -287
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlwriter.html +0 -479
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpath.html +0 -532
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpathInternals.html +0 -787
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpointer.html +0 -171
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2.devhelp +0 -3569
- data/vendor/local/share/gtk-doc/html/libxml2/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/libxml2/style.css +0 -66
- data/vendor/local/share/gtk-doc/html/libxml2/up.png +0 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/check-language.sh +0 -32
- data/vendor/local/share/gtksourceview-3.0/styles/check-style.sh +0 -20
- data/vendor/local/share/man/man1/xml2-config.1 +0 -30
- data/vendor/local/share/man/man1/xmlcatalog.1 +0 -340
- data/vendor/local/share/man/man1/xmllint.1 +0 -427
- data/vendor/local/share/man/man3/libxml.3 +0 -71
- data/vendor/local/src/dieterv/packaging/libxml2_2.9.0-1_win32.log +0 -867
- data/vendor/local/src/dieterv/packaging/libxml2_2.9.0-1_win32.sh +0 -68
@@ -2,34 +2,31 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>GtkSourceLanguageManager</title>
|
5
|
+
<title>GtkSourceView 3 Reference Manual: GtkSourceLanguageManager</title>
|
6
6
|
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
7
|
<link rel="home" href="index.html" title="GtkSourceView 3 Reference Manual">
|
8
8
|
<link rel="up" href="ch01.html" title="API reference">
|
9
9
|
<link rel="prev" href="GtkSourceLanguage.html" title="GtkSourceLanguage">
|
10
|
-
<link rel="next" href="
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
10
|
+
<link rel="next" href="GtkSourceMark.html" title="GtkSourceMark">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.19.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="
|
16
|
-
<
|
17
|
-
<
|
18
|
-
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
|
-
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
|
-
<th width="100%" align="center">GtkSourceView 3 Reference Manual</th>
|
21
|
-
<td><a accesskey="n" href="GtkSourcePrintCompositor.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
22
|
-
</tr>
|
23
|
-
<tr><td colspan="5" class="shortcuts">
|
24
|
-
<a href="#GtkSourceLanguageManager.synopsis" class="shortcut">Top</a>
|
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>
|
25
18
|
|
|
26
19
|
<a href="#GtkSourceLanguageManager.description" class="shortcut">Description</a>
|
27
20
|
|
|
28
21
|
<a href="#GtkSourceLanguageManager.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
29
22
|
|
|
30
23
|
<a href="#GtkSourceLanguageManager.properties" class="shortcut">Properties</a>
|
31
|
-
</td
|
32
|
-
|
24
|
+
</td>
|
25
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
26
|
+
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
27
|
+
<td><a accesskey="p" href="GtkSourceLanguage.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
28
|
+
<td><a accesskey="n" href="GtkSourceMark.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
29
|
+
</tr></table>
|
33
30
|
<div class="refentry">
|
34
31
|
<a name="GtkSourceLanguageManager"></a><div class="titlepage"></div>
|
35
32
|
<div class="refnamediv"><table width="100%"><tr>
|
@@ -152,7 +149,7 @@ If <em class="parameter"><code>dirs</code></em> is <a href="/home/kou/work/ruby/
|
|
152
149
|
</p>
|
153
150
|
<p>
|
154
151
|
</p>
|
155
|
-
<div class="note"
|
152
|
+
<div class="note">
|
156
153
|
<h3 class="title">Note</h3>
|
157
154
|
<p>
|
158
155
|
At the moment this function can be called only before the
|
@@ -409,6 +406,6 @@ and should not be freed. <span class="annotation">[<acronym title="Don't free da
|
|
409
406
|
</div>
|
410
407
|
<div class="footer">
|
411
408
|
<hr>
|
412
|
-
Generated by GTK-Doc V1.
|
409
|
+
Generated by GTK-Doc V1.19.1</div>
|
413
410
|
</body>
|
414
411
|
</html>
|
@@ -2,34 +2,31 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>GtkSourceMark</title>
|
5
|
+
<title>GtkSourceView 3 Reference Manual: GtkSourceMark</title>
|
6
6
|
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
7
|
<link rel="home" href="index.html" title="GtkSourceView 3 Reference Manual">
|
8
8
|
<link rel="up" href="ch01.html" title="API reference">
|
9
|
-
<link rel="prev" href="
|
9
|
+
<link rel="prev" href="GtkSourceLanguageManager.html" title="GtkSourceLanguageManager">
|
10
10
|
<link rel="next" href="GtkSourceMarkAttributes.html" title="GtkSourceMarkAttributes">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.19.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="
|
16
|
-
<
|
17
|
-
<
|
18
|
-
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
|
-
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
|
-
<th width="100%" align="center">GtkSourceView 3 Reference Manual</th>
|
21
|
-
<td><a accesskey="n" href="GtkSourceMarkAttributes.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
22
|
-
</tr>
|
23
|
-
<tr><td colspan="5" class="shortcuts">
|
24
|
-
<a href="#GtkSourceMark.synopsis" class="shortcut">Top</a>
|
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>
|
25
18
|
|
|
26
19
|
<a href="#GtkSourceMark.description" class="shortcut">Description</a>
|
27
20
|
|
|
28
21
|
<a href="#GtkSourceMark.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
29
22
|
|
|
30
23
|
<a href="#GtkSourceMark.properties" class="shortcut">Properties</a>
|
31
|
-
</td
|
32
|
-
|
24
|
+
</td>
|
25
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
26
|
+
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
27
|
+
<td><a accesskey="p" href="GtkSourceLanguageManager.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
28
|
+
<td><a accesskey="n" href="GtkSourceMarkAttributes.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
29
|
+
</tr></table>
|
33
30
|
<div class="refentry">
|
34
31
|
<a name="GtkSourceMark"></a><div class="titlepage"></div>
|
35
32
|
<div class="refnamediv"><table width="100%"><tr>
|
@@ -77,13 +74,12 @@ the text has changed though its position may change.
|
|
77
74
|
</p>
|
78
75
|
<p>
|
79
76
|
<a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a>s are organised in categories which you have to set
|
80
|
-
when you create the mark. Each category can have a pixbuf and
|
81
|
-
associated
|
82
|
-
|
83
|
-
the
|
84
|
-
|
85
|
-
|
86
|
-
other. The mark with the highest priority will be drawn on top.
|
77
|
+
when you create the mark. Each category can have a priority, a pixbuf and
|
78
|
+
other associated attributes. See <a class="link" href="GtkSourceView.html#gtk-source-view-set-mark-attributes" title="gtk_source_view_set_mark_attributes ()"><code class="function">gtk_source_view_set_mark_attributes()</code></a>.
|
79
|
+
The pixbuf will be displayed in the margin at the line where the mark
|
80
|
+
residents if the <a class="link" href="GtkSourceView.html#GtkSourceView--show-line-marks" title='The "show-line-marks" property'><span class="type">"show-line-marks"</span></a> property is set to <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
|
81
|
+
there are multiple marks in the same line, the pixbufs will be drawn on top
|
82
|
+
of each other. The mark with the highest priority will be drawn on top.
|
87
83
|
</p>
|
88
84
|
</div>
|
89
85
|
<div class="refsect1">
|
@@ -245,6 +241,6 @@ which pixbuf is used and with which priority it is drawn.
|
|
245
241
|
</div>
|
246
242
|
<div class="footer">
|
247
243
|
<hr>
|
248
|
-
Generated by GTK-Doc V1.
|
244
|
+
Generated by GTK-Doc V1.19.1</div>
|
249
245
|
</body>
|
250
246
|
</html>
|
@@ -2,26 +2,19 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>GtkSourceMarkAttributes</title>
|
5
|
+
<title>GtkSourceView 3 Reference Manual: GtkSourceMarkAttributes</title>
|
6
6
|
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
7
|
<link rel="home" href="index.html" title="GtkSourceView 3 Reference Manual">
|
8
8
|
<link rel="up" href="ch01.html" title="API reference">
|
9
9
|
<link rel="prev" href="GtkSourceMark.html" title="GtkSourceMark">
|
10
|
-
<link rel="next" href="
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
10
|
+
<link rel="next" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.19.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="
|
16
|
-
<
|
17
|
-
<
|
18
|
-
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
|
-
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
|
-
<th width="100%" align="center">GtkSourceView 3 Reference Manual</th>
|
21
|
-
<td><a accesskey="n" href="GtkSourceView.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
22
|
-
</tr>
|
23
|
-
<tr><td colspan="5" class="shortcuts">
|
24
|
-
<a href="#GtkSourceMarkAttributes.synopsis" class="shortcut">Top</a>
|
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>
|
25
18
|
|
|
26
19
|
<a href="#GtkSourceMarkAttributes.description" class="shortcut">Description</a>
|
27
20
|
|
|
@@ -30,8 +23,12 @@
|
|
30
23
|
<a href="#GtkSourceMarkAttributes.properties" class="shortcut">Properties</a>
|
31
24
|
|
|
32
25
|
<a href="#GtkSourceMarkAttributes.signals" class="shortcut">Signals</a>
|
33
|
-
</td
|
34
|
-
|
26
|
+
</td>
|
27
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
28
|
+
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
29
|
+
<td><a accesskey="p" href="GtkSourceMark.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
30
|
+
<td><a accesskey="n" href="GtkSourcePrintCompositor.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
31
|
+
</tr></table>
|
35
32
|
<div class="refentry">
|
36
33
|
<a name="GtkSourceMarkAttributes"></a><div class="titlepage"></div>
|
37
34
|
<div class="refnamediv"><table width="100%"><tr>
|
@@ -248,6 +245,10 @@ Stores background color in <em class="parameter"><code>background</code></em>.
|
|
248
245
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_source_mark_attributes_set_stock_id
|
249
246
|
(<em class="parameter"><code><a class="link" href="GtkSourceMarkAttributes.html" title="GtkSourceMarkAttributes"><span class="type">GtkSourceMarkAttributes</span></a> *attributes</code></em>,
|
250
247
|
<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> *stock_id</code></em>);</pre>
|
248
|
+
<div class="warning">
|
249
|
+
<h3 class="title">Warning</h3>
|
250
|
+
<p><code class="literal">gtk_source_mark_attributes_set_stock_id</code> has been deprecated since version 3.10 and should not be used in newly-written code. Don't use this function.</p>
|
251
|
+
</div>
|
251
252
|
<p>
|
252
253
|
Sets stock id to be used as a base for rendered icon.
|
253
254
|
</p>
|
@@ -273,6 +274,10 @@ Sets stock id to be used as a base for rendered icon.
|
|
273
274
|
<a name="gtk-source-mark-attributes-get-stock-id"></a><h3>gtk_source_mark_attributes_get_stock_id ()</h3>
|
274
275
|
<pre class="programlisting">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="returnvalue">gchar</span></a> * gtk_source_mark_attributes_get_stock_id
|
275
276
|
(<em class="parameter"><code><a class="link" href="GtkSourceMarkAttributes.html" title="GtkSourceMarkAttributes"><span class="type">GtkSourceMarkAttributes</span></a> *attributes</code></em>);</pre>
|
277
|
+
<div class="warning">
|
278
|
+
<h3 class="title">Warning</h3>
|
279
|
+
<p><code class="literal">gtk_source_mark_attributes_get_stock_id</code> has been deprecated since version 3.10 and should not be used in newly-written code. Don't use this function.</p>
|
280
|
+
</div>
|
276
281
|
<p>
|
277
282
|
Gets a stock id of an icon used by this attributes. Note that the stock id can
|
278
283
|
be <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> if it wasn't set earlier.
|
@@ -507,7 +512,7 @@ and should not be unreffed. <span class="annotation">[<acronym title="Don't free
|
|
507
512
|
<em class="parameter"><code><a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a> *mark</code></em>);</pre>
|
508
513
|
<p>
|
509
514
|
Queries for a tooltip by emitting
|
510
|
-
a GtkSourceMarkAttributes
|
515
|
+
a <a class="link" href="GtkSourceMarkAttributes.html#GtkSourceMarkAttributes-query-tooltip-text" title='The "query-tooltip-text" signal'><span class="type">"query-tooltip-text"</span></a> signal. The tooltip is a plain
|
511
516
|
text.
|
512
517
|
</p>
|
513
518
|
<div class="variablelist"><table border="0" class="variablelist">
|
@@ -541,7 +546,7 @@ using <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gt
|
|
541
546
|
<em class="parameter"><code><a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a> *mark</code></em>);</pre>
|
542
547
|
<p>
|
543
548
|
Queries for a tooltip by emitting
|
544
|
-
a GtkSourceMarkAttributes
|
549
|
+
a <a class="link" href="GtkSourceMarkAttributes.html#GtkSourceMarkAttributes-query-tooltip-markup" title='The "query-tooltip-markup" signal'><span class="type">"query-tooltip-markup"</span></a> signal. The tooltip may contain
|
545
550
|
a markup.
|
546
551
|
</p>
|
547
552
|
<div class="variablelist"><table border="0" class="variablelist">
|
@@ -606,6 +611,10 @@ A <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-Gdk
|
|
606
611
|
<div class="refsect2">
|
607
612
|
<a name="GtkSourceMarkAttributes--stock-id"></a><h3>The <code class="literal">"stock-id"</code> property</h3>
|
608
613
|
<pre class="programlisting"> "stock-id" <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>* : Read / Write</pre>
|
614
|
+
<div class="warning">
|
615
|
+
<h3 class="title">Warning</h3>
|
616
|
+
<p><code class="literal">GtkSourceMarkAttributes:stock-id</code> has been deprecated since version 3.10 and should not be used in newly-written code. Don't use this property.</p>
|
617
|
+
</div>
|
609
618
|
<p>
|
610
619
|
A stock id that may be a base of a rendered icon.
|
611
620
|
</p>
|
@@ -695,6 +704,6 @@ The code should connect to this signal to provide a tooltip for given
|
|
695
704
|
</div>
|
696
705
|
<div class="footer">
|
697
706
|
<hr>
|
698
|
-
Generated by GTK-Doc V1.
|
707
|
+
Generated by GTK-Doc V1.19.1</div>
|
699
708
|
</body>
|
700
709
|
</html>
|
@@ -2,34 +2,31 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>GtkSourcePrintCompositor</title>
|
5
|
+
<title>GtkSourceView 3 Reference Manual: GtkSourcePrintCompositor</title>
|
6
6
|
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
7
|
<link rel="home" href="index.html" title="GtkSourceView 3 Reference Manual">
|
8
8
|
<link rel="up" href="ch01.html" title="API reference">
|
9
|
-
<link rel="prev" href="
|
10
|
-
<link rel="next" href="
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
9
|
+
<link rel="prev" href="GtkSourceMarkAttributes.html" title="GtkSourceMarkAttributes">
|
10
|
+
<link rel="next" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.19.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="
|
16
|
-
<
|
17
|
-
<
|
18
|
-
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
|
-
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
|
-
<th width="100%" align="center">GtkSourceView 3 Reference Manual</th>
|
21
|
-
<td><a accesskey="n" href="GtkSourceStyle.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
22
|
-
</tr>
|
23
|
-
<tr><td colspan="5" class="shortcuts">
|
24
|
-
<a href="#GtkSourcePrintCompositor.synopsis" class="shortcut">Top</a>
|
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>
|
25
18
|
|
|
26
19
|
<a href="#GtkSourcePrintCompositor.description" class="shortcut">Description</a>
|
27
20
|
|
|
28
21
|
<a href="#GtkSourcePrintCompositor.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
29
22
|
|
|
30
23
|
<a href="#GtkSourcePrintCompositor.properties" class="shortcut">Properties</a>
|
31
|
-
</td
|
32
|
-
|
24
|
+
</td>
|
25
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
26
|
+
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
27
|
+
<td><a accesskey="p" href="GtkSourceMarkAttributes.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
28
|
+
<td><a accesskey="n" href="GtkSourceSearchContext.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
29
|
+
</tr></table>
|
33
30
|
<div class="refentry">
|
34
31
|
<a name="GtkSourcePrintCompositor"></a><div class="titlepage"></div>
|
35
32
|
<div class="refnamediv"><table width="100%"><tr>
|
@@ -58,8 +55,8 @@
|
|
58
55
|
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);
|
59
56
|
<span class="returnvalue">void</span> <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-wrap-mode" title="gtk_source_print_compositor_set_wrap_mode ()">gtk_source_print_compositor_set_wrap_mode</a>
|
60
57
|
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
61
|
-
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/
|
62
|
-
<a href="http://developer.gnome.org/gtk2/
|
58
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextView.html#GtkWrapMode"><span class="type">GtkWrapMode</span></a> wrap_mode</code></em>);
|
59
|
+
<a href="http://developer.gnome.org/gtk2/GtkTextView.html#GtkWrapMode"><span class="returnvalue">GtkWrapMode</span></a> <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-get-wrap-mode" title="gtk_source_print_compositor_get_wrap_mode ()">gtk_source_print_compositor_get_wrap_mode</a>
|
63
60
|
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);
|
64
61
|
<span class="returnvalue">void</span> <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print-compositor-set-highlight-syntax" title="gtk_source_print_compositor_set_highlight_syntax ()">gtk_source_print_compositor_set_highlight_syntax</a>
|
65
62
|
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
@@ -175,7 +172,7 @@
|
|
175
172
|
"<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--print-header" title='The "print-header" property'>print-header</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
|
176
173
|
"<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--print-line-numbers" title='The "print-line-numbers" property'>print-line-numbers</a>" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write
|
177
174
|
"<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--tab-width" title='The "tab-width" property'>tab-width</a>" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write
|
178
|
-
"<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--wrap-mode" title='The "wrap-mode" property'>wrap-mode</a>" <a href="http://developer.gnome.org/gtk2/
|
175
|
+
"<a class="link" href="GtkSourcePrintCompositor.html#GtkSourcePrintCompositor--wrap-mode" title='The "wrap-mode" property'>wrap-mode</a>" <a href="http://developer.gnome.org/gtk2/GtkTextView.html#GtkWrapMode"><span class="type">GtkWrapMode</span></a> : Read / Write
|
179
176
|
</pre>
|
180
177
|
</div>
|
181
178
|
<div class="refsect1">
|
@@ -351,7 +348,7 @@ Returns the width of tabulation in characters for printed text.
|
|
351
348
|
<a name="gtk-source-print-compositor-set-wrap-mode"></a><h3>gtk_source_print_compositor_set_wrap_mode ()</h3>
|
352
349
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_source_print_compositor_set_wrap_mode
|
353
350
|
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>,
|
354
|
-
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/
|
351
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextView.html#GtkWrapMode"><span class="type">GtkWrapMode</span></a> wrap_mode</code></em>);</pre>
|
355
352
|
<p>
|
356
353
|
Sets the line wrapping mode for the printed text.
|
357
354
|
</p>
|
@@ -371,7 +368,7 @@ This function cannot be called anymore after the first call to the
|
|
371
368
|
</tr>
|
372
369
|
<tr>
|
373
370
|
<td><p><span class="term"><em class="parameter"><code>wrap_mode</code></em> :</span></p></td>
|
374
|
-
<td>a <a href="http://developer.gnome.org/gtk2/
|
371
|
+
<td>a <a href="http://developer.gnome.org/gtk2/GtkTextView.html#GtkWrapMode"><span class="type">GtkWrapMode</span></a>.</td>
|
375
372
|
</tr>
|
376
373
|
</tbody>
|
377
374
|
</table></div>
|
@@ -380,7 +377,7 @@ This function cannot be called anymore after the first call to the
|
|
380
377
|
<hr>
|
381
378
|
<div class="refsect2">
|
382
379
|
<a name="gtk-source-print-compositor-get-wrap-mode"></a><h3>gtk_source_print_compositor_get_wrap_mode ()</h3>
|
383
|
-
<pre class="programlisting"><a href="http://developer.gnome.org/gtk2/
|
380
|
+
<pre class="programlisting"><a href="http://developer.gnome.org/gtk2/GtkTextView.html#GtkWrapMode"><span class="returnvalue">GtkWrapMode</span></a> gtk_source_print_compositor_get_wrap_mode
|
384
381
|
(<em class="parameter"><code><a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor"><span class="type">GtkSourcePrintCompositor</span></a> *compositor</code></em>);</pre>
|
385
382
|
<p>
|
386
383
|
Gets the line wrapping mode for the printed text.
|
@@ -1725,7 +1722,7 @@ call to the <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print
|
|
1725
1722
|
The number of pages in the document or <code class="code">-1</code> if the
|
1726
1723
|
document has not been completely paginated.
|
1727
1724
|
</p>
|
1728
|
-
<p>Allowed values: >=
|
1725
|
+
<p>Allowed values: >= -1</p>
|
1729
1726
|
<p>Default value: -1</p>
|
1730
1727
|
<p class="since">Since 2.2</p>
|
1731
1728
|
</div>
|
@@ -1802,7 +1799,7 @@ call to the <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print
|
|
1802
1799
|
<hr>
|
1803
1800
|
<div class="refsect2">
|
1804
1801
|
<a name="GtkSourcePrintCompositor--wrap-mode"></a><h3>The <code class="literal">"wrap-mode"</code> property</h3>
|
1805
|
-
<pre class="programlisting"> "wrap-mode" <a href="http://developer.gnome.org/gtk2/
|
1802
|
+
<pre class="programlisting"> "wrap-mode" <a href="http://developer.gnome.org/gtk2/GtkTextView.html#GtkWrapMode"><span class="type">GtkWrapMode</span></a> : Read / Write</pre>
|
1806
1803
|
<p>
|
1807
1804
|
Whether to wrap lines never, at word boundaries, or at character boundaries.
|
1808
1805
|
</p>
|
@@ -1817,6 +1814,6 @@ call to the <a class="link" href="GtkSourcePrintCompositor.html#gtk-source-print
|
|
1817
1814
|
</div>
|
1818
1815
|
<div class="footer">
|
1819
1816
|
<hr>
|
1820
|
-
Generated by GTK-Doc V1.
|
1817
|
+
Generated by GTK-Doc V1.19.1</div>
|
1821
1818
|
</body>
|
1822
1819
|
</html>
|
@@ -0,0 +1,895 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
+
<title>GtkSourceView 3 Reference Manual: GtkSourceSearchContext</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
|
+
<link rel="home" href="index.html" title="GtkSourceView 3 Reference Manual">
|
8
|
+
<link rel="up" href="ch01.html" title="API reference">
|
9
|
+
<link rel="prev" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor">
|
10
|
+
<link rel="next" href="GtkSourceSearchSettings.html" title="GtkSourceSearchSettings">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.19.1 (XML mode)">
|
12
|
+
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
+
</head>
|
14
|
+
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
|
16
|
+
<td width="100%" align="left">
|
17
|
+
<a href="#" class="shortcut">Top</a>
|
18
|
+
|
|
19
|
+
<a href="#GtkSourceSearchContext.description" class="shortcut">Description</a>
|
20
|
+
|
|
21
|
+
<a href="#GtkSourceSearchContext.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
22
|
+
|
|
23
|
+
<a href="#GtkSourceSearchContext.properties" class="shortcut">Properties</a>
|
24
|
+
</td>
|
25
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
26
|
+
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
27
|
+
<td><a accesskey="p" href="GtkSourcePrintCompositor.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
28
|
+
<td><a accesskey="n" href="GtkSourceSearchSettings.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
29
|
+
</tr></table>
|
30
|
+
<div class="refentry">
|
31
|
+
<a name="GtkSourceSearchContext"></a><div class="titlepage"></div>
|
32
|
+
<div class="refnamediv"><table width="100%"><tr>
|
33
|
+
<td valign="top">
|
34
|
+
<h2><span class="refentrytitle"><a name="GtkSourceSearchContext.top_of_page"></a>GtkSourceSearchContext</span></h2>
|
35
|
+
<p>GtkSourceSearchContext — The context of a search</p>
|
36
|
+
</td>
|
37
|
+
<td valign="top" align="right"></td>
|
38
|
+
</tr></table></div>
|
39
|
+
<div class="refsynopsisdiv">
|
40
|
+
<a name="GtkSourceSearchContext.synopsis"></a><h2>Synopsis</h2>
|
41
|
+
<pre class="synopsis">
|
42
|
+
#include <gtksourceview/gtksource.h>
|
43
|
+
|
44
|
+
<a class="link" href="GtkSourceSearchContext.html#GtkSourceSearchContext-struct" title="GtkSourceSearchContext">GtkSourceSearchContext</a>;
|
45
|
+
<a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="returnvalue">GtkSourceSearchContext</span></a> * <a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-new" title="gtk_source_search_context_new ()">gtk_source_search_context_new</a> (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
46
|
+
<em class="parameter"><code><a class="link" href="GtkSourceSearchSettings.html" title="GtkSourceSearchSettings"><span class="type">GtkSourceSearchSettings</span></a> *settings</code></em>);
|
47
|
+
<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="returnvalue">GtkSourceBuffer</span></a> * <a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-get-buffer" title="gtk_source_search_context_get_buffer ()">gtk_source_search_context_get_buffer</a>
|
48
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>);
|
49
|
+
<a class="link" href="GtkSourceSearchSettings.html" title="GtkSourceSearchSettings"><span class="returnvalue">GtkSourceSearchSettings</span></a> * <a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-get-settings" title="gtk_source_search_context_get_settings ()">gtk_source_search_context_get_settings</a>
|
50
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>);
|
51
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-set-settings" title="gtk_source_search_context_set_settings ()">gtk_source_search_context_set_settings</a>
|
52
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>,
|
53
|
+
<em class="parameter"><code><a class="link" href="GtkSourceSearchSettings.html" title="GtkSourceSearchSettings"><span class="type">GtkSourceSearchSettings</span></a> *settings</code></em>);
|
54
|
+
<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="GtkSourceSearchContext.html#gtk-source-search-context-get-highlight" title="gtk_source_search_context_get_highlight ()">gtk_source_search_context_get_highlight</a>
|
55
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>);
|
56
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-set-highlight" title="gtk_source_search_context_set_highlight ()">gtk_source_search_context_set_highlight</a>
|
57
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>,
|
58
|
+
<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>);
|
59
|
+
<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="GtkSourceSearchContext.html#gtk-source-search-context-get-occurrences-count" title="gtk_source_search_context_get_occurrences_count ()">gtk_source_search_context_get_occurrences_count</a>
|
60
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>);
|
61
|
+
<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="GtkSourceSearchContext.html#gtk-source-search-context-get-occurrence-position" title="gtk_source_search_context_get_occurrence_position ()">gtk_source_search_context_get_occurrence_position</a>
|
62
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>,
|
63
|
+
<em class="parameter"><code>const <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *match_start</code></em>,
|
64
|
+
<em class="parameter"><code>const <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *match_end</code></em>);
|
65
|
+
<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="GtkSourceSearchContext.html#gtk-source-search-context-forward" title="gtk_source_search_context_forward ()">gtk_source_search_context_forward</a> (<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>,
|
66
|
+
<em class="parameter"><code>const <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>,
|
67
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *match_start</code></em>,
|
68
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *match_end</code></em>);
|
69
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-forward-async" title="gtk_source_search_context_forward_async ()">gtk_source_search_context_forward_async</a>
|
70
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>,
|
71
|
+
<em class="parameter"><code>const <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>,
|
72
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
73
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
74
|
+
<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#gpointer"><span class="type">gpointer</span></a> user_data</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="GtkSourceSearchContext.html#gtk-source-search-context-forward-finish" title="gtk_source_search_context_forward_finish ()">gtk_source_search_context_forward_finish</a>
|
76
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>,
|
77
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>,
|
78
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *match_start</code></em>,
|
79
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *match_end</code></em>,
|
80
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
81
|
+
<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="GtkSourceSearchContext.html#gtk-source-search-context-backward" title="gtk_source_search_context_backward ()">gtk_source_search_context_backward</a> (<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>,
|
82
|
+
<em class="parameter"><code>const <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>,
|
83
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *match_start</code></em>,
|
84
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *match_end</code></em>);
|
85
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-backward-async" title="gtk_source_search_context_backward_async ()">gtk_source_search_context_backward_async</a>
|
86
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>,
|
87
|
+
<em class="parameter"><code>const <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>,
|
88
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
89
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
90
|
+
<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#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
|
91
|
+
<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="GtkSourceSearchContext.html#gtk-source-search-context-backward-finish" title="gtk_source_search_context_backward_finish ()">gtk_source_search_context_backward_finish</a>
|
92
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>,
|
93
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>,
|
94
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *match_start</code></em>,
|
95
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *match_end</code></em>,
|
96
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
97
|
+
<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="GtkSourceSearchContext.html#gtk-source-search-context-replace" title="gtk_source_search_context_replace ()">gtk_source_search_context_replace</a> (<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>,
|
98
|
+
<em class="parameter"><code>const <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *match_start</code></em>,
|
99
|
+
<em class="parameter"><code>const <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *match_end</code></em>,
|
100
|
+
<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> *replace</code></em>,
|
101
|
+
<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> replace_length</code></em>,
|
102
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
103
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-replace-all" title="gtk_source_search_context_replace_all ()">gtk_source_search_context_replace_all</a>
|
104
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>,
|
105
|
+
<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> *replace</code></em>,
|
106
|
+
<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> replace_length</code></em>,
|
107
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
108
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> * <a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-get-regex-error" title="gtk_source_search_context_get_regex_error ()">gtk_source_search_context_get_regex_error</a>
|
109
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>);
|
110
|
+
</pre>
|
111
|
+
</div>
|
112
|
+
<div class="refsect1">
|
113
|
+
<a name="GtkSourceSearchContext.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
114
|
+
<pre class="synopsis">
|
115
|
+
<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>
|
116
|
+
+----GtkSourceSearchContext
|
117
|
+
</pre>
|
118
|
+
</div>
|
119
|
+
<div class="refsect1">
|
120
|
+
<a name="GtkSourceSearchContext.properties"></a><h2>Properties</h2>
|
121
|
+
<pre class="synopsis">
|
122
|
+
"<a class="link" href="GtkSourceSearchContext.html#GtkSourceSearchContext--buffer" title='The "buffer" property'>buffer</a>" <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>* : Read / Write / Construct Only
|
123
|
+
"<a class="link" href="GtkSourceSearchContext.html#GtkSourceSearchContext--highlight" title='The "highlight" property'>highlight</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 / Construct
|
124
|
+
"<a class="link" href="GtkSourceSearchContext.html#GtkSourceSearchContext--occurrences-count" title='The "occurrences-count" property'>occurrences-count</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
|
125
|
+
"<a class="link" href="GtkSourceSearchContext.html#GtkSourceSearchContext--regex-error" title='The "regex-error" property'>regex-error</a>" <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> : Read
|
126
|
+
"<a class="link" href="GtkSourceSearchContext.html#GtkSourceSearchContext--settings" title='The "settings" property'>settings</a>" <a class="link" href="GtkSourceSearchSettings.html" title="GtkSourceSearchSettings"><span class="type">GtkSourceSearchSettings</span></a>* : Read / Write / Construct
|
127
|
+
</pre>
|
128
|
+
</div>
|
129
|
+
<div class="refsect1">
|
130
|
+
<a name="GtkSourceSearchContext.description"></a><h2>Description</h2>
|
131
|
+
<p>
|
132
|
+
A <a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> is used for the search and replace in a
|
133
|
+
<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>. The search settings are represented by a
|
134
|
+
<a class="link" href="GtkSourceSearchSettings.html" title="GtkSourceSearchSettings"><span class="type">GtkSourceSearchSettings</span></a> object, that can be shared between several
|
135
|
+
<a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a>s. A buffer can contain several search
|
136
|
+
contexts at the same time, but at most one search context per buffer can
|
137
|
+
highlight its search occurrences.
|
138
|
+
</p>
|
139
|
+
<p>
|
140
|
+
The total number of search occurrences can be retrieved with
|
141
|
+
<a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-get-occurrences-count" title="gtk_source_search_context_get_occurrences_count ()"><code class="function">gtk_source_search_context_get_occurrences_count()</code></a>. To know the position of a
|
142
|
+
certain match, use <a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-get-occurrence-position" title="gtk_source_search_context_get_occurrence_position ()"><code class="function">gtk_source_search_context_get_occurrence_position()</code></a>.
|
143
|
+
</p>
|
144
|
+
<p>
|
145
|
+
The buffer is scanned asynchronously, so it doesn't block the user interface.
|
146
|
+
For each search, the buffer is scanned at most once. After that, navigating
|
147
|
+
through the occurrences doesn't require to re-scan the buffer entirely.
|
148
|
+
</p>
|
149
|
+
<p>
|
150
|
+
To search forward, use <a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-forward" title="gtk_source_search_context_forward ()"><code class="function">gtk_source_search_context_forward()</code></a> or
|
151
|
+
<a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-forward-async" title="gtk_source_search_context_forward_async ()"><code class="function">gtk_source_search_context_forward_async()</code></a> for the asynchronous version.
|
152
|
+
The backward search is done similarly. To replace a search match, or all
|
153
|
+
matches, use <a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-replace" title="gtk_source_search_context_replace ()"><code class="function">gtk_source_search_context_replace()</code></a> and
|
154
|
+
<a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-replace-all" title="gtk_source_search_context_replace_all ()"><code class="function">gtk_source_search_context_replace_all()</code></a>.
|
155
|
+
</p>
|
156
|
+
<p>
|
157
|
+
The search occurrences are highlighted by default. To disable it, use
|
158
|
+
<a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-set-highlight" title="gtk_source_search_context_set_highlight ()"><code class="function">gtk_source_search_context_set_highlight()</code></a>. You can enable the search
|
159
|
+
highlighting for several <a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a>s attached to the
|
160
|
+
same buffer. But currently, the same highlighting style is applied.
|
161
|
+
Note that the <a class="link" href="GtkSourceSearchContext.html#GtkSourceSearchContext--highlight" title='The "highlight" property'><span class="type">"highlight"</span></a> property is in the
|
162
|
+
<a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> class, not <a class="link" href="GtkSourceSearchSettings.html" title="GtkSourceSearchSettings"><span class="type">GtkSourceSearchSettings</span></a>. The purpose is
|
163
|
+
to bind the appearance settings to only one buffer. A
|
164
|
+
<a class="link" href="GtkSourceSearchSettings.html" title="GtkSourceSearchSettings"><span class="type">GtkSourceSearchSettings</span></a> object can be bound to several buffers.
|
165
|
+
</p>
|
166
|
+
<p>
|
167
|
+
In the GtkSourceView source code, there is an example of how to use the
|
168
|
+
search and replace API: see the tests/test-search.c file. It is a mini
|
169
|
+
application for the search and replace, with a basic user interface.
|
170
|
+
</p>
|
171
|
+
</div>
|
172
|
+
<div class="refsect1">
|
173
|
+
<a name="GtkSourceSearchContext.details"></a><h2>Details</h2>
|
174
|
+
<div class="refsect2">
|
175
|
+
<a name="GtkSourceSearchContext-struct"></a><h3>GtkSourceSearchContext</h3>
|
176
|
+
<pre class="programlisting">typedef struct _GtkSourceSearchContext GtkSourceSearchContext;</pre>
|
177
|
+
</div>
|
178
|
+
<hr>
|
179
|
+
<div class="refsect2">
|
180
|
+
<a name="gtk-source-search-context-new"></a><h3>gtk_source_search_context_new ()</h3>
|
181
|
+
<pre class="programlisting"><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="returnvalue">GtkSourceSearchContext</span></a> * gtk_source_search_context_new (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
182
|
+
<em class="parameter"><code><a class="link" href="GtkSourceSearchSettings.html" title="GtkSourceSearchSettings"><span class="type">GtkSourceSearchSettings</span></a> *settings</code></em>);</pre>
|
183
|
+
<p>
|
184
|
+
Creates a new search context, associated with <em class="parameter"><code>buffer</code></em>, and customized with
|
185
|
+
<em class="parameter"><code>settings</code></em>. If <em class="parameter"><code>settings</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>, a new <a class="link" href="GtkSourceSearchSettings.html" title="GtkSourceSearchSettings"><span class="type">GtkSourceSearchSettings</span></a> object will
|
186
|
+
be created, that you can retrieve with
|
187
|
+
<a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-get-settings" title="gtk_source_search_context_get_settings ()"><code class="function">gtk_source_search_context_get_settings()</code></a>.
|
188
|
+
</p>
|
189
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
190
|
+
<colgroup>
|
191
|
+
<col align="left" valign="top">
|
192
|
+
<col>
|
193
|
+
</colgroup>
|
194
|
+
<tbody>
|
195
|
+
<tr>
|
196
|
+
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
197
|
+
<td>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</td>
|
198
|
+
</tr>
|
199
|
+
<tr>
|
200
|
+
<td><p><span class="term"><em class="parameter"><code>settings</code></em> :</span></p></td>
|
201
|
+
<td>a <a class="link" href="GtkSourceSearchSettings.html" title="GtkSourceSearchSettings"><span class="type">GtkSourceSearchSettings</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>
|
202
|
+
</td>
|
203
|
+
</tr>
|
204
|
+
<tr>
|
205
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
206
|
+
<td>a new search context.</td>
|
207
|
+
</tr>
|
208
|
+
</tbody>
|
209
|
+
</table></div>
|
210
|
+
<p class="since">Since 3.10</p>
|
211
|
+
</div>
|
212
|
+
<hr>
|
213
|
+
<div class="refsect2">
|
214
|
+
<a name="gtk-source-search-context-get-buffer"></a><h3>gtk_source_search_context_get_buffer ()</h3>
|
215
|
+
<pre class="programlisting"><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="returnvalue">GtkSourceBuffer</span></a> * gtk_source_search_context_get_buffer
|
216
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>);</pre>
|
217
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
218
|
+
<colgroup>
|
219
|
+
<col align="left" valign="top">
|
220
|
+
<col>
|
221
|
+
</colgroup>
|
222
|
+
<tbody>
|
223
|
+
<tr>
|
224
|
+
<td><p><span class="term"><em class="parameter"><code>search</code></em> :</span></p></td>
|
225
|
+
<td>a <a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a>.</td>
|
226
|
+
</tr>
|
227
|
+
<tr>
|
228
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
229
|
+
<td>the associated buffer. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
230
|
+
</td>
|
231
|
+
</tr>
|
232
|
+
</tbody>
|
233
|
+
</table></div>
|
234
|
+
<p class="since">Since 3.10</p>
|
235
|
+
</div>
|
236
|
+
<hr>
|
237
|
+
<div class="refsect2">
|
238
|
+
<a name="gtk-source-search-context-get-settings"></a><h3>gtk_source_search_context_get_settings ()</h3>
|
239
|
+
<pre class="programlisting"><a class="link" href="GtkSourceSearchSettings.html" title="GtkSourceSearchSettings"><span class="returnvalue">GtkSourceSearchSettings</span></a> * gtk_source_search_context_get_settings
|
240
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>);</pre>
|
241
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
242
|
+
<colgroup>
|
243
|
+
<col align="left" valign="top">
|
244
|
+
<col>
|
245
|
+
</colgroup>
|
246
|
+
<tbody>
|
247
|
+
<tr>
|
248
|
+
<td><p><span class="term"><em class="parameter"><code>search</code></em> :</span></p></td>
|
249
|
+
<td>a <a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a>.</td>
|
250
|
+
</tr>
|
251
|
+
<tr>
|
252
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
253
|
+
<td>the search settings. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
254
|
+
</td>
|
255
|
+
</tr>
|
256
|
+
</tbody>
|
257
|
+
</table></div>
|
258
|
+
<p class="since">Since 3.10</p>
|
259
|
+
</div>
|
260
|
+
<hr>
|
261
|
+
<div class="refsect2">
|
262
|
+
<a name="gtk-source-search-context-set-settings"></a><h3>gtk_source_search_context_set_settings ()</h3>
|
263
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_source_search_context_set_settings
|
264
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>,
|
265
|
+
<em class="parameter"><code><a class="link" href="GtkSourceSearchSettings.html" title="GtkSourceSearchSettings"><span class="type">GtkSourceSearchSettings</span></a> *settings</code></em>);</pre>
|
266
|
+
<p>
|
267
|
+
Associate a <a class="link" href="GtkSourceSearchSettings.html" title="GtkSourceSearchSettings"><span class="type">GtkSourceSearchSettings</span></a> with the search context. If <em class="parameter"><code>settings</code></em> is
|
268
|
+
<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>, a new one will be created.
|
269
|
+
</p>
|
270
|
+
<p>
|
271
|
+
The search context holds a reference to <em class="parameter"><code>settings</code></em>.
|
272
|
+
</p>
|
273
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
274
|
+
<colgroup>
|
275
|
+
<col align="left" valign="top">
|
276
|
+
<col>
|
277
|
+
</colgroup>
|
278
|
+
<tbody>
|
279
|
+
<tr>
|
280
|
+
<td><p><span class="term"><em class="parameter"><code>search</code></em> :</span></p></td>
|
281
|
+
<td>a <a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a>.</td>
|
282
|
+
</tr>
|
283
|
+
<tr>
|
284
|
+
<td><p><span class="term"><em class="parameter"><code>settings</code></em> :</span></p></td>
|
285
|
+
<td>the new <a class="link" href="GtkSourceSearchSettings.html" title="GtkSourceSearchSettings"><span class="type">GtkSourceSearchSettings</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>
|
286
|
+
</td>
|
287
|
+
</tr>
|
288
|
+
</tbody>
|
289
|
+
</table></div>
|
290
|
+
<p class="since">Since 3.10</p>
|
291
|
+
</div>
|
292
|
+
<hr>
|
293
|
+
<div class="refsect2">
|
294
|
+
<a name="gtk-source-search-context-get-highlight"></a><h3>gtk_source_search_context_get_highlight ()</h3>
|
295
|
+
<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_search_context_get_highlight
|
296
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>);</pre>
|
297
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
298
|
+
<colgroup>
|
299
|
+
<col align="left" valign="top">
|
300
|
+
<col>
|
301
|
+
</colgroup>
|
302
|
+
<tbody>
|
303
|
+
<tr>
|
304
|
+
<td><p><span class="term"><em class="parameter"><code>search</code></em> :</span></p></td>
|
305
|
+
<td>a <a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a>.</td>
|
306
|
+
</tr>
|
307
|
+
<tr>
|
308
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
309
|
+
<td>whether to highlight the search occurrences.</td>
|
310
|
+
</tr>
|
311
|
+
</tbody>
|
312
|
+
</table></div>
|
313
|
+
<p class="since">Since 3.10</p>
|
314
|
+
</div>
|
315
|
+
<hr>
|
316
|
+
<div class="refsect2">
|
317
|
+
<a name="gtk-source-search-context-set-highlight"></a><h3>gtk_source_search_context_set_highlight ()</h3>
|
318
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_source_search_context_set_highlight
|
319
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>,
|
320
|
+
<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>
|
321
|
+
<p>
|
322
|
+
Enables or disables the search occurrences highlighting.
|
323
|
+
</p>
|
324
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
325
|
+
<colgroup>
|
326
|
+
<col align="left" valign="top">
|
327
|
+
<col>
|
328
|
+
</colgroup>
|
329
|
+
<tbody>
|
330
|
+
<tr>
|
331
|
+
<td><p><span class="term"><em class="parameter"><code>search</code></em> :</span></p></td>
|
332
|
+
<td>a <a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a>.</td>
|
333
|
+
</tr>
|
334
|
+
<tr>
|
335
|
+
<td><p><span class="term"><em class="parameter"><code>highlight</code></em> :</span></p></td>
|
336
|
+
<td>the setting.</td>
|
337
|
+
</tr>
|
338
|
+
</tbody>
|
339
|
+
</table></div>
|
340
|
+
<p class="since">Since 3.10</p>
|
341
|
+
</div>
|
342
|
+
<hr>
|
343
|
+
<div class="refsect2">
|
344
|
+
<a name="gtk-source-search-context-get-occurrences-count"></a><h3>gtk_source_search_context_get_occurrences_count ()</h3>
|
345
|
+
<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_search_context_get_occurrences_count
|
346
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>);</pre>
|
347
|
+
<p>
|
348
|
+
Gets the total number of search occurrences. If the buffer is not already
|
349
|
+
fully scanned, the total number of occurrences is unknown, and -1 is
|
350
|
+
returned.
|
351
|
+
</p>
|
352
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
353
|
+
<colgroup>
|
354
|
+
<col align="left" valign="top">
|
355
|
+
<col>
|
356
|
+
</colgroup>
|
357
|
+
<tbody>
|
358
|
+
<tr>
|
359
|
+
<td><p><span class="term"><em class="parameter"><code>search</code></em> :</span></p></td>
|
360
|
+
<td>a <a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a>.</td>
|
361
|
+
</tr>
|
362
|
+
<tr>
|
363
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
364
|
+
<td>the total number of search occurrences, or -1 if unknown.</td>
|
365
|
+
</tr>
|
366
|
+
</tbody>
|
367
|
+
</table></div>
|
368
|
+
<p class="since">Since 3.10</p>
|
369
|
+
</div>
|
370
|
+
<hr>
|
371
|
+
<div class="refsect2">
|
372
|
+
<a name="gtk-source-search-context-get-occurrence-position"></a><h3>gtk_source_search_context_get_occurrence_position ()</h3>
|
373
|
+
<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_search_context_get_occurrence_position
|
374
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>,
|
375
|
+
<em class="parameter"><code>const <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *match_start</code></em>,
|
376
|
+
<em class="parameter"><code>const <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *match_end</code></em>);</pre>
|
377
|
+
<p>
|
378
|
+
Gets the position of a search occurrence. If the buffer is not already fully
|
379
|
+
scanned, the position may be unknown, and -1 is returned. If 0 is returned,
|
380
|
+
it means that this part of the buffer has already been scanned, and that
|
381
|
+
<em class="parameter"><code>match_start</code></em> and <em class="parameter"><code>match_end</code></em> don't delimit an occurrence.
|
382
|
+
</p>
|
383
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
384
|
+
<colgroup>
|
385
|
+
<col align="left" valign="top">
|
386
|
+
<col>
|
387
|
+
</colgroup>
|
388
|
+
<tbody>
|
389
|
+
<tr>
|
390
|
+
<td><p><span class="term"><em class="parameter"><code>search</code></em> :</span></p></td>
|
391
|
+
<td>a <a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a>.</td>
|
392
|
+
</tr>
|
393
|
+
<tr>
|
394
|
+
<td><p><span class="term"><em class="parameter"><code>match_start</code></em> :</span></p></td>
|
395
|
+
<td>the start of the occurrence.</td>
|
396
|
+
</tr>
|
397
|
+
<tr>
|
398
|
+
<td><p><span class="term"><em class="parameter"><code>match_end</code></em> :</span></p></td>
|
399
|
+
<td>the end of the occurrence.</td>
|
400
|
+
</tr>
|
401
|
+
<tr>
|
402
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
403
|
+
<td>the position of the search occurrence. The first occurrence has the
|
404
|
+
position 1 (not 0). Returns 0 if <em class="parameter"><code>match_start</code></em> and <em class="parameter"><code>match_end</code></em> don't delimit
|
405
|
+
an occurrence. Returns -1 if the position is not yet known.</td>
|
406
|
+
</tr>
|
407
|
+
</tbody>
|
408
|
+
</table></div>
|
409
|
+
<p class="since">Since 3.10</p>
|
410
|
+
</div>
|
411
|
+
<hr>
|
412
|
+
<div class="refsect2">
|
413
|
+
<a name="gtk-source-search-context-forward"></a><h3>gtk_source_search_context_forward ()</h3>
|
414
|
+
<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_search_context_forward (<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>,
|
415
|
+
<em class="parameter"><code>const <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>,
|
416
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *match_start</code></em>,
|
417
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *match_end</code></em>);</pre>
|
418
|
+
<p>
|
419
|
+
Synchronous forward search. It is recommended to use the asynchronous
|
420
|
+
functions instead, to not block the user interface. However, if you are sure
|
421
|
+
that the <em class="parameter"><code>buffer</code></em> is small, this function is more convenient to use.
|
422
|
+
</p>
|
423
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
424
|
+
<colgroup>
|
425
|
+
<col align="left" valign="top">
|
426
|
+
<col>
|
427
|
+
</colgroup>
|
428
|
+
<tbody>
|
429
|
+
<tr>
|
430
|
+
<td><p><span class="term"><em class="parameter"><code>search</code></em> :</span></p></td>
|
431
|
+
<td>a <a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a>.</td>
|
432
|
+
</tr>
|
433
|
+
<tr>
|
434
|
+
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
435
|
+
<td>start of search.</td>
|
436
|
+
</tr>
|
437
|
+
<tr>
|
438
|
+
<td><p><span class="term"><em class="parameter"><code>match_start</code></em> :</span></p></td>
|
439
|
+
<td>return location for start of match, 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="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
440
|
+
</td>
|
441
|
+
</tr>
|
442
|
+
<tr>
|
443
|
+
<td><p><span class="term"><em class="parameter"><code>match_end</code></em> :</span></p></td>
|
444
|
+
<td>return location for end of match, 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="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
445
|
+
</td>
|
446
|
+
</tr>
|
447
|
+
<tr>
|
448
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
449
|
+
<td>whether a match was found.</td>
|
450
|
+
</tr>
|
451
|
+
</tbody>
|
452
|
+
</table></div>
|
453
|
+
<p class="since">Since 3.10</p>
|
454
|
+
</div>
|
455
|
+
<hr>
|
456
|
+
<div class="refsect2">
|
457
|
+
<a name="gtk-source-search-context-forward-async"></a><h3>gtk_source_search_context_forward_async ()</h3>
|
458
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_source_search_context_forward_async
|
459
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>,
|
460
|
+
<em class="parameter"><code>const <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>,
|
461
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
462
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
463
|
+
<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#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
464
|
+
<p>
|
465
|
+
Asynchronous forward search. See the <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html"><span class="type">GAsyncResult</span></a> documentation to know
|
466
|
+
how to use this function.
|
467
|
+
</p>
|
468
|
+
<p>
|
469
|
+
If the operation is cancelled, the <em class="parameter"><code>callback</code></em> will only be called if
|
470
|
+
<em class="parameter"><code>cancellable</code></em> was 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>. <a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-forward-async" title="gtk_source_search_context_forward_async ()"><code class="function">gtk_source_search_context_forward_async()</code></a> takes
|
471
|
+
ownership of <em class="parameter"><code>cancellable</code></em>, so you can unref it after calling this function.
|
472
|
+
</p>
|
473
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
474
|
+
<colgroup>
|
475
|
+
<col align="left" valign="top">
|
476
|
+
<col>
|
477
|
+
</colgroup>
|
478
|
+
<tbody>
|
479
|
+
<tr>
|
480
|
+
<td><p><span class="term"><em class="parameter"><code>search</code></em> :</span></p></td>
|
481
|
+
<td>a <a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a>.</td>
|
482
|
+
</tr>
|
483
|
+
<tr>
|
484
|
+
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
485
|
+
<td>start of search.</td>
|
486
|
+
</tr>
|
487
|
+
<tr>
|
488
|
+
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
489
|
+
<td>a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html"><span class="type">GCancellable</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>
|
490
|
+
</td>
|
491
|
+
</tr>
|
492
|
+
<tr>
|
493
|
+
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
|
494
|
+
<td>a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> to call when the operation is finished.</td>
|
495
|
+
</tr>
|
496
|
+
<tr>
|
497
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
498
|
+
<td>the data to pass to the <em class="parameter"><code>callback</code></em> function.</td>
|
499
|
+
</tr>
|
500
|
+
</tbody>
|
501
|
+
</table></div>
|
502
|
+
<p class="since">Since 3.10</p>
|
503
|
+
</div>
|
504
|
+
<hr>
|
505
|
+
<div class="refsect2">
|
506
|
+
<a name="gtk-source-search-context-forward-finish"></a><h3>gtk_source_search_context_forward_finish ()</h3>
|
507
|
+
<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_search_context_forward_finish
|
508
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>,
|
509
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>,
|
510
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *match_start</code></em>,
|
511
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *match_end</code></em>,
|
512
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
513
|
+
<p>
|
514
|
+
Finishes a forward search started with
|
515
|
+
<a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-forward-async" title="gtk_source_search_context_forward_async ()"><code class="function">gtk_source_search_context_forward_async()</code></a>.
|
516
|
+
</p>
|
517
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
518
|
+
<colgroup>
|
519
|
+
<col align="left" valign="top">
|
520
|
+
<col>
|
521
|
+
</colgroup>
|
522
|
+
<tbody>
|
523
|
+
<tr>
|
524
|
+
<td><p><span class="term"><em class="parameter"><code>search</code></em> :</span></p></td>
|
525
|
+
<td>a <a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a>.</td>
|
526
|
+
</tr>
|
527
|
+
<tr>
|
528
|
+
<td><p><span class="term"><em class="parameter"><code>result</code></em> :</span></p></td>
|
529
|
+
<td>a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html"><span class="type">GAsyncResult</span></a>.</td>
|
530
|
+
</tr>
|
531
|
+
<tr>
|
532
|
+
<td><p><span class="term"><em class="parameter"><code>match_start</code></em> :</span></p></td>
|
533
|
+
<td>return location for start of match, 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="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
534
|
+
</td>
|
535
|
+
</tr>
|
536
|
+
<tr>
|
537
|
+
<td><p><span class="term"><em class="parameter"><code>match_end</code></em> :</span></p></td>
|
538
|
+
<td>return location for end of match, 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="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
539
|
+
</td>
|
540
|
+
</tr>
|
541
|
+
<tr>
|
542
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
543
|
+
<td>a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</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>.</td>
|
544
|
+
</tr>
|
545
|
+
<tr>
|
546
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
547
|
+
<td>whether a match was found.</td>
|
548
|
+
</tr>
|
549
|
+
</tbody>
|
550
|
+
</table></div>
|
551
|
+
<p class="since">Since 3.10</p>
|
552
|
+
</div>
|
553
|
+
<hr>
|
554
|
+
<div class="refsect2">
|
555
|
+
<a name="gtk-source-search-context-backward"></a><h3>gtk_source_search_context_backward ()</h3>
|
556
|
+
<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_search_context_backward (<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>,
|
557
|
+
<em class="parameter"><code>const <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>,
|
558
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *match_start</code></em>,
|
559
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *match_end</code></em>);</pre>
|
560
|
+
<p>
|
561
|
+
Synchronous backward search. It is recommended to use the asynchronous
|
562
|
+
functions instead, to not block the user interface. However, if you are sure
|
563
|
+
that the <em class="parameter"><code>buffer</code></em> is small, this function is more convenient to use.
|
564
|
+
</p>
|
565
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
566
|
+
<colgroup>
|
567
|
+
<col align="left" valign="top">
|
568
|
+
<col>
|
569
|
+
</colgroup>
|
570
|
+
<tbody>
|
571
|
+
<tr>
|
572
|
+
<td><p><span class="term"><em class="parameter"><code>search</code></em> :</span></p></td>
|
573
|
+
<td>a <a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a>.</td>
|
574
|
+
</tr>
|
575
|
+
<tr>
|
576
|
+
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
577
|
+
<td>start of search.</td>
|
578
|
+
</tr>
|
579
|
+
<tr>
|
580
|
+
<td><p><span class="term"><em class="parameter"><code>match_start</code></em> :</span></p></td>
|
581
|
+
<td>return location for start of match, 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="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
582
|
+
</td>
|
583
|
+
</tr>
|
584
|
+
<tr>
|
585
|
+
<td><p><span class="term"><em class="parameter"><code>match_end</code></em> :</span></p></td>
|
586
|
+
<td>return location for end of match, 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="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
587
|
+
</td>
|
588
|
+
</tr>
|
589
|
+
<tr>
|
590
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
591
|
+
<td>whether a match was found.</td>
|
592
|
+
</tr>
|
593
|
+
</tbody>
|
594
|
+
</table></div>
|
595
|
+
<p class="since">Since 3.10</p>
|
596
|
+
</div>
|
597
|
+
<hr>
|
598
|
+
<div class="refsect2">
|
599
|
+
<a name="gtk-source-search-context-backward-async"></a><h3>gtk_source_search_context_backward_async ()</h3>
|
600
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_source_search_context_backward_async
|
601
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>,
|
602
|
+
<em class="parameter"><code>const <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>,
|
603
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
604
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
605
|
+
<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#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
606
|
+
<p>
|
607
|
+
Asynchronous backward search. See the <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html"><span class="type">GAsyncResult</span></a> documentation to know
|
608
|
+
how to use this function.
|
609
|
+
</p>
|
610
|
+
<p>
|
611
|
+
If the operation is cancelled, the <em class="parameter"><code>callback</code></em> will only be called if
|
612
|
+
<em class="parameter"><code>cancellable</code></em> was 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>. <a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-backward-async" title="gtk_source_search_context_backward_async ()"><code class="function">gtk_source_search_context_backward_async()</code></a> takes
|
613
|
+
ownership of <em class="parameter"><code>cancellable</code></em>, so you can unref it after calling this function.
|
614
|
+
</p>
|
615
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
616
|
+
<colgroup>
|
617
|
+
<col align="left" valign="top">
|
618
|
+
<col>
|
619
|
+
</colgroup>
|
620
|
+
<tbody>
|
621
|
+
<tr>
|
622
|
+
<td><p><span class="term"><em class="parameter"><code>search</code></em> :</span></p></td>
|
623
|
+
<td>a <a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a>.</td>
|
624
|
+
</tr>
|
625
|
+
<tr>
|
626
|
+
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
627
|
+
<td>start of search.</td>
|
628
|
+
</tr>
|
629
|
+
<tr>
|
630
|
+
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
631
|
+
<td>a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html"><span class="type">GCancellable</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>
|
632
|
+
</td>
|
633
|
+
</tr>
|
634
|
+
<tr>
|
635
|
+
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
|
636
|
+
<td>a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> to call when the operation is finished.</td>
|
637
|
+
</tr>
|
638
|
+
<tr>
|
639
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
640
|
+
<td>the data to pass to the <em class="parameter"><code>callback</code></em> function.</td>
|
641
|
+
</tr>
|
642
|
+
</tbody>
|
643
|
+
</table></div>
|
644
|
+
<p class="since">Since 3.10</p>
|
645
|
+
</div>
|
646
|
+
<hr>
|
647
|
+
<div class="refsect2">
|
648
|
+
<a name="gtk-source-search-context-backward-finish"></a><h3>gtk_source_search_context_backward_finish ()</h3>
|
649
|
+
<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_search_context_backward_finish
|
650
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>,
|
651
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>,
|
652
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *match_start</code></em>,
|
653
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *match_end</code></em>,
|
654
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
655
|
+
<p>
|
656
|
+
Finishes a backward search started with
|
657
|
+
<a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-backward-async" title="gtk_source_search_context_backward_async ()"><code class="function">gtk_source_search_context_backward_async()</code></a>.
|
658
|
+
</p>
|
659
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
660
|
+
<colgroup>
|
661
|
+
<col align="left" valign="top">
|
662
|
+
<col>
|
663
|
+
</colgroup>
|
664
|
+
<tbody>
|
665
|
+
<tr>
|
666
|
+
<td><p><span class="term"><em class="parameter"><code>search</code></em> :</span></p></td>
|
667
|
+
<td>a <a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a>.</td>
|
668
|
+
</tr>
|
669
|
+
<tr>
|
670
|
+
<td><p><span class="term"><em class="parameter"><code>result</code></em> :</span></p></td>
|
671
|
+
<td>a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html"><span class="type">GAsyncResult</span></a>.</td>
|
672
|
+
</tr>
|
673
|
+
<tr>
|
674
|
+
<td><p><span class="term"><em class="parameter"><code>match_start</code></em> :</span></p></td>
|
675
|
+
<td>return location for start of match, 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="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
676
|
+
</td>
|
677
|
+
</tr>
|
678
|
+
<tr>
|
679
|
+
<td><p><span class="term"><em class="parameter"><code>match_end</code></em> :</span></p></td>
|
680
|
+
<td>return location for end of match, 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="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
681
|
+
</td>
|
682
|
+
</tr>
|
683
|
+
<tr>
|
684
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
685
|
+
<td>a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</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>.</td>
|
686
|
+
</tr>
|
687
|
+
<tr>
|
688
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
689
|
+
<td>whether a match was found.</td>
|
690
|
+
</tr>
|
691
|
+
</tbody>
|
692
|
+
</table></div>
|
693
|
+
<p class="since">Since 3.10</p>
|
694
|
+
</div>
|
695
|
+
<hr>
|
696
|
+
<div class="refsect2">
|
697
|
+
<a name="gtk-source-search-context-replace"></a><h3>gtk_source_search_context_replace ()</h3>
|
698
|
+
<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_search_context_replace (<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>,
|
699
|
+
<em class="parameter"><code>const <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *match_start</code></em>,
|
700
|
+
<em class="parameter"><code>const <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *match_end</code></em>,
|
701
|
+
<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> *replace</code></em>,
|
702
|
+
<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> replace_length</code></em>,
|
703
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
704
|
+
<p>
|
705
|
+
Replaces a search match by another text. If <em class="parameter"><code>match_start</code></em> and <em class="parameter"><code>match_end</code></em>
|
706
|
+
doesn't correspond to a search match, <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> is returned.
|
707
|
+
</p>
|
708
|
+
<p>
|
709
|
+
For a regular expression replacement, you can check if <em class="parameter"><code>replace</code></em> is valid by
|
710
|
+
calling <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html#g-regex-check-replacement"><code class="function">g_regex_check_replacement()</code></a>. The <em class="parameter"><code>replace</code></em> text can contain
|
711
|
+
backreferences; read the <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html#g-regex-replace"><code class="function">g_regex_replace()</code></a> documentation for more details.
|
712
|
+
</p>
|
713
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
714
|
+
<colgroup>
|
715
|
+
<col align="left" valign="top">
|
716
|
+
<col>
|
717
|
+
</colgroup>
|
718
|
+
<tbody>
|
719
|
+
<tr>
|
720
|
+
<td><p><span class="term"><em class="parameter"><code>search</code></em> :</span></p></td>
|
721
|
+
<td>a <a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a>.</td>
|
722
|
+
</tr>
|
723
|
+
<tr>
|
724
|
+
<td><p><span class="term"><em class="parameter"><code>match_start</code></em> :</span></p></td>
|
725
|
+
<td>the start of the match to replace.</td>
|
726
|
+
</tr>
|
727
|
+
<tr>
|
728
|
+
<td><p><span class="term"><em class="parameter"><code>match_end</code></em> :</span></p></td>
|
729
|
+
<td>the end of the match to replace.</td>
|
730
|
+
</tr>
|
731
|
+
<tr>
|
732
|
+
<td><p><span class="term"><em class="parameter"><code>replace</code></em> :</span></p></td>
|
733
|
+
<td>the replacement text.</td>
|
734
|
+
</tr>
|
735
|
+
<tr>
|
736
|
+
<td><p><span class="term"><em class="parameter"><code>replace_length</code></em> :</span></p></td>
|
737
|
+
<td>the length of <em class="parameter"><code>replace</code></em> in bytes, or -1.</td>
|
738
|
+
</tr>
|
739
|
+
<tr>
|
740
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
741
|
+
<td>location to a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</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 ignore errors.</td>
|
742
|
+
</tr>
|
743
|
+
<tr>
|
744
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
745
|
+
<td>whether the match has been replaced.</td>
|
746
|
+
</tr>
|
747
|
+
</tbody>
|
748
|
+
</table></div>
|
749
|
+
<p class="since">Since 3.10</p>
|
750
|
+
</div>
|
751
|
+
<hr>
|
752
|
+
<div class="refsect2">
|
753
|
+
<a name="gtk-source-search-context-replace-all"></a><h3>gtk_source_search_context_replace_all ()</h3>
|
754
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> gtk_source_search_context_replace_all
|
755
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>,
|
756
|
+
<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> *replace</code></em>,
|
757
|
+
<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> replace_length</code></em>,
|
758
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
759
|
+
<p>
|
760
|
+
Replaces all search matches by another text. It is a synchronous function, so
|
761
|
+
it can block the user interface.
|
762
|
+
</p>
|
763
|
+
<p>
|
764
|
+
For a regular expression replacement, you can check if <em class="parameter"><code>replace</code></em> is valid by
|
765
|
+
calling <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html#g-regex-check-replacement"><code class="function">g_regex_check_replacement()</code></a>. The <em class="parameter"><code>replace</code></em> text can contain
|
766
|
+
backreferences; read the <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html#g-regex-replace"><code class="function">g_regex_replace()</code></a> documentation for more details.
|
767
|
+
</p>
|
768
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
769
|
+
<colgroup>
|
770
|
+
<col align="left" valign="top">
|
771
|
+
<col>
|
772
|
+
</colgroup>
|
773
|
+
<tbody>
|
774
|
+
<tr>
|
775
|
+
<td><p><span class="term"><em class="parameter"><code>search</code></em> :</span></p></td>
|
776
|
+
<td>a <a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a>.</td>
|
777
|
+
</tr>
|
778
|
+
<tr>
|
779
|
+
<td><p><span class="term"><em class="parameter"><code>replace</code></em> :</span></p></td>
|
780
|
+
<td>the replacement text.</td>
|
781
|
+
</tr>
|
782
|
+
<tr>
|
783
|
+
<td><p><span class="term"><em class="parameter"><code>replace_length</code></em> :</span></p></td>
|
784
|
+
<td>the length of <em class="parameter"><code>replace</code></em> in bytes, or -1.</td>
|
785
|
+
</tr>
|
786
|
+
<tr>
|
787
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
788
|
+
<td>location to a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</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 ignore errors.</td>
|
789
|
+
</tr>
|
790
|
+
<tr>
|
791
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
792
|
+
<td>the number of replaced matches.</td>
|
793
|
+
</tr>
|
794
|
+
</tbody>
|
795
|
+
</table></div>
|
796
|
+
<p class="since">Since 3.10</p>
|
797
|
+
</div>
|
798
|
+
<hr>
|
799
|
+
<div class="refsect2">
|
800
|
+
<a name="gtk-source-search-context-get-regex-error"></a><h3>gtk_source_search_context_get_regex_error ()</h3>
|
801
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> * gtk_source_search_context_get_regex_error
|
802
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>);</pre>
|
803
|
+
<p>
|
804
|
+
Regular expression patterns must follow certain rules. If
|
805
|
+
<a class="link" href="GtkSourceSearchSettings.html#GtkSourceSearchSettings--search-text" title='The "search-text" property'><span class="type">"search-text"</span></a> breaks a rule, the error can be retrieved
|
806
|
+
with this function. The error domain is <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html#G-REGEX-ERROR:CAPS"><span class="type">G_REGEX_ERROR</span></a>.
|
807
|
+
</p>
|
808
|
+
<p>
|
809
|
+
Free the return value with <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#g-error-free"><code class="function">g_error_free()</code></a>.
|
810
|
+
</p>
|
811
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
812
|
+
<colgroup>
|
813
|
+
<col align="left" valign="top">
|
814
|
+
<col>
|
815
|
+
</colgroup>
|
816
|
+
<tbody>
|
817
|
+
<tr>
|
818
|
+
<td><p><span class="term"><em class="parameter"><code>search</code></em> :</span></p></td>
|
819
|
+
<td>a <a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a>.</td>
|
820
|
+
</tr>
|
821
|
+
<tr>
|
822
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
823
|
+
<td>the <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</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> if the pattern is valid.</td>
|
824
|
+
</tr>
|
825
|
+
</tbody>
|
826
|
+
</table></div>
|
827
|
+
<p class="since">Since 3.10</p>
|
828
|
+
</div>
|
829
|
+
</div>
|
830
|
+
<div class="refsect1">
|
831
|
+
<a name="GtkSourceSearchContext.property-details"></a><h2>Property Details</h2>
|
832
|
+
<div class="refsect2">
|
833
|
+
<a name="GtkSourceSearchContext--buffer"></a><h3>The <code class="literal">"buffer"</code> property</h3>
|
834
|
+
<pre class="programlisting"> "buffer" <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>* : Read / Write / Construct Only</pre>
|
835
|
+
<p>
|
836
|
+
The <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> associated to the search context.
|
837
|
+
</p>
|
838
|
+
<p class="since">Since 3.10</p>
|
839
|
+
</div>
|
840
|
+
<hr>
|
841
|
+
<div class="refsect2">
|
842
|
+
<a name="GtkSourceSearchContext--highlight"></a><h3>The <code class="literal">"highlight"</code> property</h3>
|
843
|
+
<pre class="programlisting"> "highlight" <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 / Construct</pre>
|
844
|
+
<p>
|
845
|
+
Highlight the search occurrences.
|
846
|
+
</p>
|
847
|
+
<p>Default value: TRUE</p>
|
848
|
+
<p class="since">Since 3.10</p>
|
849
|
+
</div>
|
850
|
+
<hr>
|
851
|
+
<div class="refsect2">
|
852
|
+
<a name="GtkSourceSearchContext--occurrences-count"></a><h3>The <code class="literal">"occurrences-count"</code> property</h3>
|
853
|
+
<pre class="programlisting"> "occurrences-count" <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</pre>
|
854
|
+
<p>
|
855
|
+
The total number of search occurrences. If the search is disabled,
|
856
|
+
the value is 0. If the buffer is not already fully scanned, the value
|
857
|
+
is -1.
|
858
|
+
</p>
|
859
|
+
<p>Allowed values: >= -1</p>
|
860
|
+
<p>Default value: 0</p>
|
861
|
+
<p class="since">Since 3.10</p>
|
862
|
+
</div>
|
863
|
+
<hr>
|
864
|
+
<div class="refsect2">
|
865
|
+
<a name="GtkSourceSearchContext--regex-error"></a><h3>The <code class="literal">"regex-error"</code> property</h3>
|
866
|
+
<pre class="programlisting"> "regex-error" <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> : Read</pre>
|
867
|
+
<p>
|
868
|
+
If the regex search pattern doesn't follow all the rules, this
|
869
|
+
property will be set. If the pattern is valid, the value 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>.
|
870
|
+
</p>
|
871
|
+
<p>
|
872
|
+
Free with <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#g-error-free"><code class="function">g_error_free()</code></a>.
|
873
|
+
</p>
|
874
|
+
<p class="since">Since 3.10</p>
|
875
|
+
</div>
|
876
|
+
<hr>
|
877
|
+
<div class="refsect2">
|
878
|
+
<a name="GtkSourceSearchContext--settings"></a><h3>The <code class="literal">"settings"</code> property</h3>
|
879
|
+
<pre class="programlisting"> "settings" <a class="link" href="GtkSourceSearchSettings.html" title="GtkSourceSearchSettings"><span class="type">GtkSourceSearchSettings</span></a>* : Read / Write / Construct</pre>
|
880
|
+
<p>
|
881
|
+
The <a class="link" href="GtkSourceSearchSettings.html" title="GtkSourceSearchSettings"><span class="type">GtkSourceSearchSettings</span></a> associated to the search context.
|
882
|
+
</p>
|
883
|
+
<p class="since">Since 3.10</p>
|
884
|
+
</div>
|
885
|
+
</div>
|
886
|
+
<div class="refsect1">
|
887
|
+
<a name="GtkSourceSearchContext.see-also"></a><h2>See Also</h2>
|
888
|
+
<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>, <a class="link" href="GtkSourceSearchSettings.html" title="GtkSourceSearchSettings"><span class="type">GtkSourceSearchSettings</span></a>
|
889
|
+
</div>
|
890
|
+
</div>
|
891
|
+
<div class="footer">
|
892
|
+
<hr>
|
893
|
+
Generated by GTK-Doc V1.19.1</div>
|
894
|
+
</body>
|
895
|
+
</html>
|