gtksourceview3 3.0.9-x86-mingw32 → 3.1.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +7 -1
- data/lib/gtksourceview3/loader.rb +0 -6
- data/vendor/local/bin/libgtksourceview-3.0-1.dll +0 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/completion-providers/words/gtksourcecompletionwords.h +11 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksource.h +10 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceautocleanups.h +11 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcebuffer.h +14 -7
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletion.h +12 -4
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletioncontext.h +12 -4
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletioninfo.h +11 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionitem.h +11 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionproposal.h +11 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionprovider.h +11 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceencoding.h +11 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcefile.h +53 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcefileloader.h +13 -4
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcefilesaver.h +14 -5
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutter.h +11 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrenderer.h +15 -7
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrendererpixbuf.h +11 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrenderertext.h +11 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcelanguage.h +11 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcelanguagemanager.h +16 -4
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemap.h +11 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemark.h +11 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemarkattributes.h +11 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceprintcompositor.h +11 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceregion.h +132 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcesearchcontext.h +55 -9
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcesearchsettings.h +11 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyle.h +17 -5
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestylescheme.h +11 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschemechooser.h +12 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschemechooserbutton.h +11 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschemechooserwidget.h +8 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschememanager.h +15 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcetag.h +11 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcetypes.h +13 -60
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceundomanager.h +11 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceutils.h +11 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceversion.h +33 -5
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview-enumtypes.h +122 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview-typebuiltins.h +39 -114
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview.h +57 -34
- 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 +4 -4
- data/vendor/local/lib/pkgconfig/gtksourceview-3.0.pc +1 -1
- data/vendor/local/share/gir-1.0/GtkSource-3.0.gir +749 -36
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceBuffer.html +331 -320
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletion.html +110 -108
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionContext.html +37 -35
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionInfo.html +47 -47
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionItem.html +42 -42
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProposal.html +62 -62
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProvider.html +69 -69
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionWords.html +35 -35
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceEncoding.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFile.html +63 -60
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileLoader.html +64 -62
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileSaver.html +64 -60
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutter.html +41 -41
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRenderer.html +195 -187
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererPixbuf.html +38 -38
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererText.html +28 -28
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguage.html +62 -62
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguageManager.html +43 -43
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMap.html +21 -21
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMark.html +36 -36
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMarkAttributes.html +75 -75
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourcePrintCompositor.html +182 -182
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceRegion.html +870 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchContext.html +539 -141
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchSettings.html +57 -54
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyle.html +98 -49
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleScheme.html +42 -39
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooser.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooserButton.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooserWidget.html +15 -15
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeManager.html +32 -32
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceTag.html +24 -22
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceUndoManager.html +31 -31
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceView.html +223 -212
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/annotation-glossary.html +9 -10
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-0.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-10.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-12.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-2.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-4.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-8.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-0.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-10.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-12.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-14.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-16.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-18.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-20.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-22.html +125 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-4.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-deprecated.html +25 -5
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-full.html +107 -7
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch01.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch02.html +1 -19
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch03.html +13 -16
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch04.html +20 -11
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch05.html +11 -17
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch06.html +27 -10
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch07.html +10 -15
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch08.html +9 -18
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch09.html +22 -19
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceUtils.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-Version-Information.html +37 -24
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0.devhelp2 +65 -34
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.html +20 -10
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-reference.html +24 -18
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-tutorial.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/object-tree.html +41 -22
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/pt01.html +13 -7
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/pt02.html +49 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/pt03.html +53 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style-reference.html +5 -5
- data/vendor/local/share/gtksourceview-3.0/language-specs/css.lang +2 -2
- data/vendor/local/share/gtksourceview-3.0/language-specs/jade.lang +8 -9
- data/vendor/local/share/gtksourceview-3.0/language-specs/latex.lang +28 -36
- data/vendor/local/share/gtksourceview-3.0/language-specs/python3.lang +4 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/rpmspec.lang +3 -2
- data/vendor/local/share/gtksourceview-3.0/language-specs/rust.lang +63 -30
- data/vendor/local/share/locale/ar/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/az/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/bn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/bs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/cy/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/dz/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/en@shaw/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/kk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/mai/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/mg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/mn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ms/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ne/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/rw/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/si/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/sq/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/tg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/xh/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- metadata +13 -7
@@ -0,0 +1,870 @@
|
|
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>GtkSourceRegion: GtkSourceView 3 Reference Manual</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
7
|
+
<link rel="home" href="index.html" title="GtkSourceView 3 Reference Manual">
|
8
|
+
<link rel="up" href="ch09.html" title="Other">
|
9
|
+
<link rel="prev" href="GtkSourceMap.html" title="GtkSourceMap">
|
10
|
+
<link rel="next" href="GtkSourceTag.html" title="GtkSourceTag">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.25.1 (XML mode)">
|
12
|
+
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
+
</head>
|
14
|
+
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
16
|
+
<td width="100%" align="left" class="shortcuts">
|
17
|
+
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
18
|
+
<a href="#GtkSourceRegion.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
|
19
|
+
<a href="#GtkSourceRegion.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties"> <span class="dim">|</span>
|
20
|
+
<a href="#GtkSourceRegion.properties" class="shortcut">Properties</a></span>
|
21
|
+
</td>
|
22
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
23
|
+
<td><a accesskey="u" href="ch09.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
24
|
+
<td><a accesskey="p" href="GtkSourceMap.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
25
|
+
<td><a accesskey="n" href="GtkSourceTag.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
26
|
+
</tr></table>
|
27
|
+
<div class="refentry">
|
28
|
+
<a name="GtkSourceRegion"></a><div class="titlepage"></div>
|
29
|
+
<div class="refnamediv"><table width="100%"><tr>
|
30
|
+
<td valign="top">
|
31
|
+
<h2><span class="refentrytitle"><a name="GtkSourceRegion.top_of_page"></a>GtkSourceRegion</span></h2>
|
32
|
+
<p>GtkSourceRegion — Region utility</p>
|
33
|
+
</td>
|
34
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
35
|
+
</tr></table></div>
|
36
|
+
<div class="refsect1">
|
37
|
+
<a name="GtkSourceRegion.functions"></a><h2>Functions</h2>
|
38
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
39
|
+
<colgroup>
|
40
|
+
<col width="150px" class="functions_return">
|
41
|
+
<col class="functions_name">
|
42
|
+
</colgroup>
|
43
|
+
<tbody>
|
44
|
+
<tr>
|
45
|
+
<td class="function_type">
|
46
|
+
<a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="returnvalue">GtkSourceRegion</span></a> *
|
47
|
+
</td>
|
48
|
+
<td class="function_name">
|
49
|
+
<a class="link" href="GtkSourceRegion.html#gtk-source-region-new" title="gtk_source_region_new ()">gtk_source_region_new</a> <span class="c_punctuation">()</span>
|
50
|
+
</td>
|
51
|
+
</tr>
|
52
|
+
<tr>
|
53
|
+
<td class="function_type">
|
54
|
+
<a href="http://developer.gnome.org/gtk4/GtkTextBuffer.html#GtkTextBuffer-struct"><span class="returnvalue">GtkTextBuffer</span></a> *
|
55
|
+
</td>
|
56
|
+
<td class="function_name">
|
57
|
+
<a class="link" href="GtkSourceRegion.html#gtk-source-region-get-buffer" title="gtk_source_region_get_buffer ()">gtk_source_region_get_buffer</a> <span class="c_punctuation">()</span>
|
58
|
+
</td>
|
59
|
+
</tr>
|
60
|
+
<tr>
|
61
|
+
<td class="function_type">
|
62
|
+
<span class="returnvalue">void</span>
|
63
|
+
</td>
|
64
|
+
<td class="function_name">
|
65
|
+
<a class="link" href="GtkSourceRegion.html#gtk-source-region-add-subregion" title="gtk_source_region_add_subregion ()">gtk_source_region_add_subregion</a> <span class="c_punctuation">()</span>
|
66
|
+
</td>
|
67
|
+
</tr>
|
68
|
+
<tr>
|
69
|
+
<td class="function_type">
|
70
|
+
<span class="returnvalue">void</span>
|
71
|
+
</td>
|
72
|
+
<td class="function_name">
|
73
|
+
<a class="link" href="GtkSourceRegion.html#gtk-source-region-add-region" title="gtk_source_region_add_region ()">gtk_source_region_add_region</a> <span class="c_punctuation">()</span>
|
74
|
+
</td>
|
75
|
+
</tr>
|
76
|
+
<tr>
|
77
|
+
<td class="function_type">
|
78
|
+
<span class="returnvalue">void</span>
|
79
|
+
</td>
|
80
|
+
<td class="function_name">
|
81
|
+
<a class="link" href="GtkSourceRegion.html#gtk-source-region-subtract-subregion" title="gtk_source_region_subtract_subregion ()">gtk_source_region_subtract_subregion</a> <span class="c_punctuation">()</span>
|
82
|
+
</td>
|
83
|
+
</tr>
|
84
|
+
<tr>
|
85
|
+
<td class="function_type">
|
86
|
+
<span class="returnvalue">void</span>
|
87
|
+
</td>
|
88
|
+
<td class="function_name">
|
89
|
+
<a class="link" href="GtkSourceRegion.html#gtk-source-region-subtract-region" title="gtk_source_region_subtract_region ()">gtk_source_region_subtract_region</a> <span class="c_punctuation">()</span>
|
90
|
+
</td>
|
91
|
+
</tr>
|
92
|
+
<tr>
|
93
|
+
<td class="function_type">
|
94
|
+
<a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="returnvalue">GtkSourceRegion</span></a> *
|
95
|
+
</td>
|
96
|
+
<td class="function_name">
|
97
|
+
<a class="link" href="GtkSourceRegion.html#gtk-source-region-intersect-subregion" title="gtk_source_region_intersect_subregion ()">gtk_source_region_intersect_subregion</a> <span class="c_punctuation">()</span>
|
98
|
+
</td>
|
99
|
+
</tr>
|
100
|
+
<tr>
|
101
|
+
<td class="function_type">
|
102
|
+
<a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="returnvalue">GtkSourceRegion</span></a> *
|
103
|
+
</td>
|
104
|
+
<td class="function_name">
|
105
|
+
<a class="link" href="GtkSourceRegion.html#gtk-source-region-intersect-region" title="gtk_source_region_intersect_region ()">gtk_source_region_intersect_region</a> <span class="c_punctuation">()</span>
|
106
|
+
</td>
|
107
|
+
</tr>
|
108
|
+
<tr>
|
109
|
+
<td class="function_type">
|
110
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
111
|
+
</td>
|
112
|
+
<td class="function_name">
|
113
|
+
<a class="link" href="GtkSourceRegion.html#gtk-source-region-is-empty" title="gtk_source_region_is_empty ()">gtk_source_region_is_empty</a> <span class="c_punctuation">()</span>
|
114
|
+
</td>
|
115
|
+
</tr>
|
116
|
+
<tr>
|
117
|
+
<td class="function_type">
|
118
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
119
|
+
</td>
|
120
|
+
<td class="function_name">
|
121
|
+
<a class="link" href="GtkSourceRegion.html#gtk-source-region-get-bounds" title="gtk_source_region_get_bounds ()">gtk_source_region_get_bounds</a> <span class="c_punctuation">()</span>
|
122
|
+
</td>
|
123
|
+
</tr>
|
124
|
+
<tr>
|
125
|
+
<td class="function_type">
|
126
|
+
<span class="returnvalue">void</span>
|
127
|
+
</td>
|
128
|
+
<td class="function_name">
|
129
|
+
<a class="link" href="GtkSourceRegion.html#gtk-source-region-get-start-region-iter" title="gtk_source_region_get_start_region_iter ()">gtk_source_region_get_start_region_iter</a> <span class="c_punctuation">()</span>
|
130
|
+
</td>
|
131
|
+
</tr>
|
132
|
+
<tr>
|
133
|
+
<td class="function_type">
|
134
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
135
|
+
</td>
|
136
|
+
<td class="function_name">
|
137
|
+
<a class="link" href="GtkSourceRegion.html#gtk-source-region-iter-is-end" title="gtk_source_region_iter_is_end ()">gtk_source_region_iter_is_end</a> <span class="c_punctuation">()</span>
|
138
|
+
</td>
|
139
|
+
</tr>
|
140
|
+
<tr>
|
141
|
+
<td class="function_type">
|
142
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
143
|
+
</td>
|
144
|
+
<td class="function_name">
|
145
|
+
<a class="link" href="GtkSourceRegion.html#gtk-source-region-iter-next" title="gtk_source_region_iter_next ()">gtk_source_region_iter_next</a> <span class="c_punctuation">()</span>
|
146
|
+
</td>
|
147
|
+
</tr>
|
148
|
+
<tr>
|
149
|
+
<td class="function_type">
|
150
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
151
|
+
</td>
|
152
|
+
<td class="function_name">
|
153
|
+
<a class="link" href="GtkSourceRegion.html#gtk-source-region-iter-get-subregion" title="gtk_source_region_iter_get_subregion ()">gtk_source_region_iter_get_subregion</a> <span class="c_punctuation">()</span>
|
154
|
+
</td>
|
155
|
+
</tr>
|
156
|
+
<tr>
|
157
|
+
<td class="function_type">
|
158
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
159
|
+
</td>
|
160
|
+
<td class="function_name">
|
161
|
+
<a class="link" href="GtkSourceRegion.html#gtk-source-region-to-string" title="gtk_source_region_to_string ()">gtk_source_region_to_string</a> <span class="c_punctuation">()</span>
|
162
|
+
</td>
|
163
|
+
</tr>
|
164
|
+
</tbody>
|
165
|
+
</table></div>
|
166
|
+
</div>
|
167
|
+
<div class="refsect1">
|
168
|
+
<a name="GtkSourceRegion.properties"></a><h2>Properties</h2>
|
169
|
+
<div class="informaltable"><table class="informaltable" border="0">
|
170
|
+
<colgroup>
|
171
|
+
<col width="150px" class="properties_type">
|
172
|
+
<col width="300px" class="properties_name">
|
173
|
+
<col width="200px" class="properties_flags">
|
174
|
+
</colgroup>
|
175
|
+
<tbody><tr>
|
176
|
+
<td class="property_type">
|
177
|
+
<a href="http://developer.gnome.org/gtk4/GtkTextBuffer.html#GtkTextBuffer-struct"><span class="type">GtkTextBuffer</span></a> *</td>
|
178
|
+
<td class="property_name"><a class="link" href="GtkSourceRegion.html#GtkSourceRegion--buffer" title="The “buffer” property">buffer</a></td>
|
179
|
+
<td class="property_flags">Read / Write / Construct Only</td>
|
180
|
+
</tr></tbody>
|
181
|
+
</table></div>
|
182
|
+
</div>
|
183
|
+
<div class="refsect1">
|
184
|
+
<a name="GtkSourceRegion.other"></a><h2>Types and Values</h2>
|
185
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
186
|
+
<colgroup>
|
187
|
+
<col width="150px" class="name">
|
188
|
+
<col class="description">
|
189
|
+
</colgroup>
|
190
|
+
<tbody>
|
191
|
+
<tr>
|
192
|
+
<td class="datatype_keyword"> </td>
|
193
|
+
<td class="function_name"><a class="link" href="GtkSourceRegion.html#GtkSourceRegion-struct" title="GtkSourceRegion">GtkSourceRegion</a></td>
|
194
|
+
</tr>
|
195
|
+
<tr>
|
196
|
+
<td class="datatype_keyword">struct</td>
|
197
|
+
<td class="function_name"><a class="link" href="GtkSourceRegion.html#GtkSourceRegionIter" title="struct GtkSourceRegionIter">GtkSourceRegionIter</a></td>
|
198
|
+
</tr>
|
199
|
+
</tbody>
|
200
|
+
</table></div>
|
201
|
+
</div>
|
202
|
+
<div class="refsect1">
|
203
|
+
<a name="GtkSourceRegion.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
204
|
+
<pre class="screen"> <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
205
|
+
<span class="lineart">╰──</span> GtkSourceRegion
|
206
|
+
</pre>
|
207
|
+
</div>
|
208
|
+
<div class="refsect1">
|
209
|
+
<a name="GtkSourceRegion.includes"></a><h2>Includes</h2>
|
210
|
+
<pre class="synopsis">#include <gtksourceview/gtksource.h>
|
211
|
+
</pre>
|
212
|
+
</div>
|
213
|
+
<div class="refsect1">
|
214
|
+
<a name="GtkSourceRegion.description"></a><h2>Description</h2>
|
215
|
+
<p>A <a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a> permits to store a group of subregions of a
|
216
|
+
<a href="http://developer.gnome.org/gtk4/GtkTextBuffer.html#GtkTextBuffer-struct"><span class="type">GtkTextBuffer</span></a>. <a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a> stores the subregions with pairs of
|
217
|
+
<a href="http://developer.gnome.org/gtk4/GtkTextMark.html#GtkTextMark-struct"><span class="type">GtkTextMark</span></a>'s, so the region is still valid after insertions and deletions
|
218
|
+
in the <a href="http://developer.gnome.org/gtk4/GtkTextBuffer.html#GtkTextBuffer-struct"><span class="type">GtkTextBuffer</span></a>.</p>
|
219
|
+
<p>The <a href="http://developer.gnome.org/gtk4/GtkTextMark.html#GtkTextMark-struct"><span class="type">GtkTextMark</span></a> for the start of a subregion has a left gravity, while the
|
220
|
+
<a href="http://developer.gnome.org/gtk4/GtkTextMark.html#GtkTextMark-struct"><span class="type">GtkTextMark</span></a> for the end of a subregion has a right gravity.</p>
|
221
|
+
<p>The typical use-case of <a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a> is to scan a <a href="http://developer.gnome.org/gtk4/GtkTextBuffer.html#GtkTextBuffer-struct"><span class="type">GtkTextBuffer</span></a> chunk by
|
222
|
+
chunk, not the whole buffer at once to not block the user interface. The
|
223
|
+
<a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a> represents in that case the remaining region to scan. You
|
224
|
+
can listen to the <a href="http://developer.gnome.org/gtk4/GtkTextBuffer.html#GtkTextBuffer-insert-text"><span class="type">“insert-text”</span></a> and
|
225
|
+
<a href="http://developer.gnome.org/gtk4/GtkTextBuffer.html#GtkTextBuffer-delete-range"><span class="type">“delete-range”</span></a> signals to update the <a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a>
|
226
|
+
accordingly.</p>
|
227
|
+
<p>To iterate through the subregions, you need to use a <a class="link" href="GtkSourceRegion.html#GtkSourceRegionIter" title="struct GtkSourceRegionIter"><span class="type">GtkSourceRegionIter</span></a>,
|
228
|
+
for example:</p>
|
229
|
+
<div class="informalexample">
|
230
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
231
|
+
<tbody>
|
232
|
+
<tr>
|
233
|
+
<td class="listing_lines" align="right"><pre>1
|
234
|
+
2
|
235
|
+
3
|
236
|
+
4
|
237
|
+
5
|
238
|
+
6
|
239
|
+
7
|
240
|
+
8
|
241
|
+
9
|
242
|
+
10
|
243
|
+
11
|
244
|
+
12
|
245
|
+
13
|
246
|
+
14
|
247
|
+
15
|
248
|
+
16
|
249
|
+
17
|
250
|
+
18
|
251
|
+
19
|
252
|
+
20
|
253
|
+
21</pre></td>
|
254
|
+
<td class="listing_code"><pre class="programlisting"><span class="usertype">GtkSourceRegion</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">region</span><span class="symbol">;</span>
|
255
|
+
<span class="usertype">GtkSourceRegionIter</span><span class="normal"> region_iter</span><span class="symbol">;</span>
|
256
|
+
|
257
|
+
<span class="function"><a href="GtkSourceRegion.html#gtk-source-region-get-start-region-iter">gtk_source_region_get_start_region_iter</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">region</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">region_iter</span><span class="symbol">);</span>
|
258
|
+
|
259
|
+
<span class="keyword">while</span><span class="normal"> </span><span class="symbol">(!</span><span class="function"><a href="GtkSourceRegion.html#gtk-source-region-iter-is-end">gtk_source_region_iter_is_end</a></span><span class="normal"> </span><span class="symbol">(&</span><span class="normal">region_iter</span><span class="symbol">))</span>
|
260
|
+
<span class="cbracket">{</span>
|
261
|
+
<span class="normal"> </span><span class="usertype">GtkTextIter</span><span class="normal"> subregion_start</span><span class="symbol">;</span>
|
262
|
+
<span class="normal"> </span><span class="usertype">GtkTextIter</span><span class="normal"> subregion_end</span><span class="symbol">;</span>
|
263
|
+
|
264
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(!</span><span class="function"><a href="GtkSourceRegion.html#gtk-source-region-iter-get-subregion">gtk_source_region_iter_get_subregion</a></span><span class="normal"> </span><span class="symbol">(&</span><span class="normal">region_iter</span><span class="symbol">,</span>
|
265
|
+
<span class="normal"> </span><span class="symbol">&</span><span class="normal">subregion_start</span><span class="symbol">,</span>
|
266
|
+
<span class="normal"> </span><span class="symbol">&</span><span class="normal">subregion_end</span><span class="symbol">))</span>
|
267
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
268
|
+
<span class="normal"> </span><span class="keyword">break</span><span class="symbol">;</span>
|
269
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
270
|
+
|
271
|
+
<span class="normal"> </span><span class="comment">// Do something useful with the subregion.</span>
|
272
|
+
|
273
|
+
<span class="normal"> </span><span class="function"><a href="GtkSourceRegion.html#gtk-source-region-iter-next">gtk_source_region_iter_next</a></span><span class="normal"> </span><span class="symbol">(&</span><span class="normal">region_iter</span><span class="symbol">);</span>
|
274
|
+
<span class="cbracket">}</span></pre></td>
|
275
|
+
</tr>
|
276
|
+
</tbody>
|
277
|
+
</table>
|
278
|
+
</div>
|
279
|
+
|
280
|
+
<p></p>
|
281
|
+
</div>
|
282
|
+
<div class="refsect1">
|
283
|
+
<a name="GtkSourceRegion.functions_details"></a><h2>Functions</h2>
|
284
|
+
<div class="refsect2">
|
285
|
+
<a name="gtk-source-region-new"></a><h3>gtk_source_region_new ()</h3>
|
286
|
+
<pre class="programlisting"><a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="returnvalue">GtkSourceRegion</span></a> *
|
287
|
+
gtk_source_region_new (<em class="parameter"><code><a href="http://developer.gnome.org/gtk4/GtkTextBuffer.html#GtkTextBuffer-struct"><span class="type">GtkTextBuffer</span></a> *buffer</code></em>);</pre>
|
288
|
+
<div class="refsect3">
|
289
|
+
<a name="gtk-source-region-new.parameters"></a><h4>Parameters</h4>
|
290
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
291
|
+
<colgroup>
|
292
|
+
<col width="150px" class="parameters_name">
|
293
|
+
<col class="parameters_description">
|
294
|
+
<col width="200px" class="parameters_annotations">
|
295
|
+
</colgroup>
|
296
|
+
<tbody><tr>
|
297
|
+
<td class="parameter_name"><p>buffer</p></td>
|
298
|
+
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/gtk4/GtkTextBuffer.html#GtkTextBuffer-struct"><span class="type">GtkTextBuffer</span></a>.</p></td>
|
299
|
+
<td class="parameter_annotations"> </td>
|
300
|
+
</tr></tbody>
|
301
|
+
</table></div>
|
302
|
+
</div>
|
303
|
+
<div class="refsect3">
|
304
|
+
<a name="gtk-source-region-new.returns"></a><h4>Returns</h4>
|
305
|
+
<p> a new <a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a> object for <em class="parameter"><code>buffer</code></em>
|
306
|
+
.</p>
|
307
|
+
</div>
|
308
|
+
<p class="since">Since: <a class="link" href="api-index-3-22.html#api-index-3.22">3.22</a></p>
|
309
|
+
</div>
|
310
|
+
<hr>
|
311
|
+
<div class="refsect2">
|
312
|
+
<a name="gtk-source-region-get-buffer"></a><h3>gtk_source_region_get_buffer ()</h3>
|
313
|
+
<pre class="programlisting"><a href="http://developer.gnome.org/gtk4/GtkTextBuffer.html#GtkTextBuffer-struct"><span class="returnvalue">GtkTextBuffer</span></a> *
|
314
|
+
gtk_source_region_get_buffer (<em class="parameter"><code><a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a> *region</code></em>);</pre>
|
315
|
+
<div class="refsect3">
|
316
|
+
<a name="gtk-source-region-get-buffer.parameters"></a><h4>Parameters</h4>
|
317
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
318
|
+
<colgroup>
|
319
|
+
<col width="150px" class="parameters_name">
|
320
|
+
<col class="parameters_description">
|
321
|
+
<col width="200px" class="parameters_annotations">
|
322
|
+
</colgroup>
|
323
|
+
<tbody><tr>
|
324
|
+
<td class="parameter_name"><p>region</p></td>
|
325
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a>.</p></td>
|
326
|
+
<td class="parameter_annotations"> </td>
|
327
|
+
</tr></tbody>
|
328
|
+
</table></div>
|
329
|
+
</div>
|
330
|
+
<div class="refsect3">
|
331
|
+
<a name="gtk-source-region-get-buffer.returns"></a><h4>Returns</h4>
|
332
|
+
<p> the <a href="http://developer.gnome.org/gtk4/GtkTextBuffer.html#GtkTextBuffer-struct"><span class="type">GtkTextBuffer</span></a>. </p>
|
333
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
|
334
|
+
</div>
|
335
|
+
<p class="since">Since: <a class="link" href="api-index-3-22.html#api-index-3.22">3.22</a></p>
|
336
|
+
</div>
|
337
|
+
<hr>
|
338
|
+
<div class="refsect2">
|
339
|
+
<a name="gtk-source-region-add-subregion"></a><h3>gtk_source_region_add_subregion ()</h3>
|
340
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
341
|
+
gtk_source_region_add_subregion (<em class="parameter"><code><a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a> *region</code></em>,
|
342
|
+
<em class="parameter"><code>const <a href="http://developer.gnome.org/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *_start</code></em>,
|
343
|
+
<em class="parameter"><code>const <a href="http://developer.gnome.org/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *_end</code></em>);</pre>
|
344
|
+
<p>Adds the subregion delimited by <em class="parameter"><code>_start</code></em>
|
345
|
+
and <em class="parameter"><code>_end</code></em>
|
346
|
+
to <em class="parameter"><code>region</code></em>
|
347
|
+
.</p>
|
348
|
+
<div class="refsect3">
|
349
|
+
<a name="gtk-source-region-add-subregion.parameters"></a><h4>Parameters</h4>
|
350
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
351
|
+
<colgroup>
|
352
|
+
<col width="150px" class="parameters_name">
|
353
|
+
<col class="parameters_description">
|
354
|
+
<col width="200px" class="parameters_annotations">
|
355
|
+
</colgroup>
|
356
|
+
<tbody>
|
357
|
+
<tr>
|
358
|
+
<td class="parameter_name"><p>region</p></td>
|
359
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a>.</p></td>
|
360
|
+
<td class="parameter_annotations"> </td>
|
361
|
+
</tr>
|
362
|
+
<tr>
|
363
|
+
<td class="parameter_name"><p>_start</p></td>
|
364
|
+
<td class="parameter_description"><p>the start of the subregion.</p></td>
|
365
|
+
<td class="parameter_annotations"> </td>
|
366
|
+
</tr>
|
367
|
+
<tr>
|
368
|
+
<td class="parameter_name"><p>_end</p></td>
|
369
|
+
<td class="parameter_description"><p>the end of the subregion.</p></td>
|
370
|
+
<td class="parameter_annotations"> </td>
|
371
|
+
</tr>
|
372
|
+
</tbody>
|
373
|
+
</table></div>
|
374
|
+
</div>
|
375
|
+
<p class="since">Since: <a class="link" href="api-index-3-22.html#api-index-3.22">3.22</a></p>
|
376
|
+
</div>
|
377
|
+
<hr>
|
378
|
+
<div class="refsect2">
|
379
|
+
<a name="gtk-source-region-add-region"></a><h3>gtk_source_region_add_region ()</h3>
|
380
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
381
|
+
gtk_source_region_add_region (<em class="parameter"><code><a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a> *region</code></em>,
|
382
|
+
<em class="parameter"><code><a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a> *region_to_add</code></em>);</pre>
|
383
|
+
<p>Adds <em class="parameter"><code>region_to_add</code></em>
|
384
|
+
to <em class="parameter"><code>region</code></em>
|
385
|
+
. <em class="parameter"><code>region_to_add</code></em>
|
386
|
+
is not modified.</p>
|
387
|
+
<div class="refsect3">
|
388
|
+
<a name="gtk-source-region-add-region.parameters"></a><h4>Parameters</h4>
|
389
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
390
|
+
<colgroup>
|
391
|
+
<col width="150px" class="parameters_name">
|
392
|
+
<col class="parameters_description">
|
393
|
+
<col width="200px" class="parameters_annotations">
|
394
|
+
</colgroup>
|
395
|
+
<tbody>
|
396
|
+
<tr>
|
397
|
+
<td class="parameter_name"><p>region</p></td>
|
398
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a>.</p></td>
|
399
|
+
<td class="parameter_annotations"> </td>
|
400
|
+
</tr>
|
401
|
+
<tr>
|
402
|
+
<td class="parameter_name"><p>region_to_add</p></td>
|
403
|
+
<td class="parameter_description"><p> the <a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a> to add to <em class="parameter"><code>region</code></em>
|
404
|
+
, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
405
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
406
|
+
</tr>
|
407
|
+
</tbody>
|
408
|
+
</table></div>
|
409
|
+
</div>
|
410
|
+
<p class="since">Since: <a class="link" href="api-index-3-22.html#api-index-3.22">3.22</a></p>
|
411
|
+
</div>
|
412
|
+
<hr>
|
413
|
+
<div class="refsect2">
|
414
|
+
<a name="gtk-source-region-subtract-subregion"></a><h3>gtk_source_region_subtract_subregion ()</h3>
|
415
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
416
|
+
gtk_source_region_subtract_subregion (<em class="parameter"><code><a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a> *region</code></em>,
|
417
|
+
<em class="parameter"><code>const <a href="http://developer.gnome.org/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *_start</code></em>,
|
418
|
+
<em class="parameter"><code>const <a href="http://developer.gnome.org/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *_end</code></em>);</pre>
|
419
|
+
<p>Subtracts the subregion delimited by <em class="parameter"><code>_start</code></em>
|
420
|
+
and <em class="parameter"><code>_end</code></em>
|
421
|
+
from <em class="parameter"><code>region</code></em>
|
422
|
+
.</p>
|
423
|
+
<div class="refsect3">
|
424
|
+
<a name="gtk-source-region-subtract-subregion.parameters"></a><h4>Parameters</h4>
|
425
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
426
|
+
<colgroup>
|
427
|
+
<col width="150px" class="parameters_name">
|
428
|
+
<col class="parameters_description">
|
429
|
+
<col width="200px" class="parameters_annotations">
|
430
|
+
</colgroup>
|
431
|
+
<tbody>
|
432
|
+
<tr>
|
433
|
+
<td class="parameter_name"><p>region</p></td>
|
434
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a>.</p></td>
|
435
|
+
<td class="parameter_annotations"> </td>
|
436
|
+
</tr>
|
437
|
+
<tr>
|
438
|
+
<td class="parameter_name"><p>_start</p></td>
|
439
|
+
<td class="parameter_description"><p>the start of the subregion.</p></td>
|
440
|
+
<td class="parameter_annotations"> </td>
|
441
|
+
</tr>
|
442
|
+
<tr>
|
443
|
+
<td class="parameter_name"><p>_end</p></td>
|
444
|
+
<td class="parameter_description"><p>the end of the subregion.</p></td>
|
445
|
+
<td class="parameter_annotations"> </td>
|
446
|
+
</tr>
|
447
|
+
</tbody>
|
448
|
+
</table></div>
|
449
|
+
</div>
|
450
|
+
<p class="since">Since: <a class="link" href="api-index-3-22.html#api-index-3.22">3.22</a></p>
|
451
|
+
</div>
|
452
|
+
<hr>
|
453
|
+
<div class="refsect2">
|
454
|
+
<a name="gtk-source-region-subtract-region"></a><h3>gtk_source_region_subtract_region ()</h3>
|
455
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
456
|
+
gtk_source_region_subtract_region (<em class="parameter"><code><a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a> *region</code></em>,
|
457
|
+
<em class="parameter"><code><a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a> *region_to_subtract</code></em>);</pre>
|
458
|
+
<p>Subtracts <em class="parameter"><code>region_to_subtract</code></em>
|
459
|
+
from <em class="parameter"><code>region</code></em>
|
460
|
+
. <em class="parameter"><code>region_to_subtract</code></em>
|
461
|
+
is not
|
462
|
+
modified.</p>
|
463
|
+
<div class="refsect3">
|
464
|
+
<a name="gtk-source-region-subtract-region.parameters"></a><h4>Parameters</h4>
|
465
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
466
|
+
<colgroup>
|
467
|
+
<col width="150px" class="parameters_name">
|
468
|
+
<col class="parameters_description">
|
469
|
+
<col width="200px" class="parameters_annotations">
|
470
|
+
</colgroup>
|
471
|
+
<tbody>
|
472
|
+
<tr>
|
473
|
+
<td class="parameter_name"><p>region</p></td>
|
474
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a>.</p></td>
|
475
|
+
<td class="parameter_annotations"> </td>
|
476
|
+
</tr>
|
477
|
+
<tr>
|
478
|
+
<td class="parameter_name"><p>region_to_subtract</p></td>
|
479
|
+
<td class="parameter_description"><p> the <a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a> to subtract from
|
480
|
+
<em class="parameter"><code>region</code></em>
|
481
|
+
, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
482
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
483
|
+
</tr>
|
484
|
+
</tbody>
|
485
|
+
</table></div>
|
486
|
+
</div>
|
487
|
+
<p class="since">Since: <a class="link" href="api-index-3-22.html#api-index-3.22">3.22</a></p>
|
488
|
+
</div>
|
489
|
+
<hr>
|
490
|
+
<div class="refsect2">
|
491
|
+
<a name="gtk-source-region-intersect-subregion"></a><h3>gtk_source_region_intersect_subregion ()</h3>
|
492
|
+
<pre class="programlisting"><a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="returnvalue">GtkSourceRegion</span></a> *
|
493
|
+
gtk_source_region_intersect_subregion (<em class="parameter"><code><a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a> *region</code></em>,
|
494
|
+
<em class="parameter"><code>const <a href="http://developer.gnome.org/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *_start</code></em>,
|
495
|
+
<em class="parameter"><code>const <a href="http://developer.gnome.org/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *_end</code></em>);</pre>
|
496
|
+
<p>Returns the intersection between <em class="parameter"><code>region</code></em>
|
497
|
+
and the subregion delimited by
|
498
|
+
<em class="parameter"><code>_start</code></em>
|
499
|
+
and <em class="parameter"><code>_end</code></em>
|
500
|
+
. <em class="parameter"><code>region</code></em>
|
501
|
+
is not modified.</p>
|
502
|
+
<div class="refsect3">
|
503
|
+
<a name="gtk-source-region-intersect-subregion.parameters"></a><h4>Parameters</h4>
|
504
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
505
|
+
<colgroup>
|
506
|
+
<col width="150px" class="parameters_name">
|
507
|
+
<col class="parameters_description">
|
508
|
+
<col width="200px" class="parameters_annotations">
|
509
|
+
</colgroup>
|
510
|
+
<tbody>
|
511
|
+
<tr>
|
512
|
+
<td class="parameter_name"><p>region</p></td>
|
513
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a>.</p></td>
|
514
|
+
<td class="parameter_annotations"> </td>
|
515
|
+
</tr>
|
516
|
+
<tr>
|
517
|
+
<td class="parameter_name"><p>_start</p></td>
|
518
|
+
<td class="parameter_description"><p>the start of the subregion.</p></td>
|
519
|
+
<td class="parameter_annotations"> </td>
|
520
|
+
</tr>
|
521
|
+
<tr>
|
522
|
+
<td class="parameter_name"><p>_end</p></td>
|
523
|
+
<td class="parameter_description"><p>the end of the subregion.</p></td>
|
524
|
+
<td class="parameter_annotations"> </td>
|
525
|
+
</tr>
|
526
|
+
</tbody>
|
527
|
+
</table></div>
|
528
|
+
</div>
|
529
|
+
<div class="refsect3">
|
530
|
+
<a name="gtk-source-region-intersect-subregion.returns"></a><h4>Returns</h4>
|
531
|
+
<p> the intersection as a new
|
532
|
+
<a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a>. </p>
|
533
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
|
534
|
+
</div>
|
535
|
+
<p class="since">Since: <a class="link" href="api-index-3-22.html#api-index-3.22">3.22</a></p>
|
536
|
+
</div>
|
537
|
+
<hr>
|
538
|
+
<div class="refsect2">
|
539
|
+
<a name="gtk-source-region-intersect-region"></a><h3>gtk_source_region_intersect_region ()</h3>
|
540
|
+
<pre class="programlisting"><a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="returnvalue">GtkSourceRegion</span></a> *
|
541
|
+
gtk_source_region_intersect_region (<em class="parameter"><code><a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a> *region1</code></em>,
|
542
|
+
<em class="parameter"><code><a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a> *region2</code></em>);</pre>
|
543
|
+
<p>Returns the intersection between <em class="parameter"><code>region1</code></em>
|
544
|
+
and <em class="parameter"><code>region2</code></em>
|
545
|
+
. <em class="parameter"><code>region1</code></em>
|
546
|
+
and
|
547
|
+
<em class="parameter"><code>region2</code></em>
|
548
|
+
are not modified.</p>
|
549
|
+
<div class="refsect3">
|
550
|
+
<a name="gtk-source-region-intersect-region.parameters"></a><h4>Parameters</h4>
|
551
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
552
|
+
<colgroup>
|
553
|
+
<col width="150px" class="parameters_name">
|
554
|
+
<col class="parameters_description">
|
555
|
+
<col width="200px" class="parameters_annotations">
|
556
|
+
</colgroup>
|
557
|
+
<tbody>
|
558
|
+
<tr>
|
559
|
+
<td class="parameter_name"><p>region1</p></td>
|
560
|
+
<td class="parameter_description"><p> a <a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a>, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
561
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
562
|
+
</tr>
|
563
|
+
<tr>
|
564
|
+
<td class="parameter_name"><p>region2</p></td>
|
565
|
+
<td class="parameter_description"><p> a <a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a>, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
566
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
567
|
+
</tr>
|
568
|
+
</tbody>
|
569
|
+
</table></div>
|
570
|
+
</div>
|
571
|
+
<div class="refsect3">
|
572
|
+
<a name="gtk-source-region-intersect-region.returns"></a><h4>Returns</h4>
|
573
|
+
<p> the intersection as a <a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a>
|
574
|
+
object. </p>
|
575
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
|
576
|
+
</div>
|
577
|
+
<p class="since">Since: <a class="link" href="api-index-3-22.html#api-index-3.22">3.22</a></p>
|
578
|
+
</div>
|
579
|
+
<hr>
|
580
|
+
<div class="refsect2">
|
581
|
+
<a name="gtk-source-region-is-empty"></a><h3>gtk_source_region_is_empty ()</h3>
|
582
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
583
|
+
gtk_source_region_is_empty (<em class="parameter"><code><a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a> *region</code></em>);</pre>
|
584
|
+
<p>Returns whether the <em class="parameter"><code>region</code></em>
|
585
|
+
is empty. A <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> <em class="parameter"><code>region</code></em>
|
586
|
+
is considered empty.</p>
|
587
|
+
<div class="refsect3">
|
588
|
+
<a name="gtk-source-region-is-empty.parameters"></a><h4>Parameters</h4>
|
589
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
590
|
+
<colgroup>
|
591
|
+
<col width="150px" class="parameters_name">
|
592
|
+
<col class="parameters_description">
|
593
|
+
<col width="200px" class="parameters_annotations">
|
594
|
+
</colgroup>
|
595
|
+
<tbody><tr>
|
596
|
+
<td class="parameter_name"><p>region</p></td>
|
597
|
+
<td class="parameter_description"><p> a <a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a>, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
598
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
599
|
+
</tr></tbody>
|
600
|
+
</table></div>
|
601
|
+
</div>
|
602
|
+
<div class="refsect3">
|
603
|
+
<a name="gtk-source-region-is-empty.returns"></a><h4>Returns</h4>
|
604
|
+
<p> whether the <em class="parameter"><code>region</code></em>
|
605
|
+
is empty.</p>
|
606
|
+
</div>
|
607
|
+
<p class="since">Since: <a class="link" href="api-index-3-22.html#api-index-3.22">3.22</a></p>
|
608
|
+
</div>
|
609
|
+
<hr>
|
610
|
+
<div class="refsect2">
|
611
|
+
<a name="gtk-source-region-get-bounds"></a><h3>gtk_source_region_get_bounds ()</h3>
|
612
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
613
|
+
gtk_source_region_get_bounds (<em class="parameter"><code><a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a> *region</code></em>,
|
614
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *start</code></em>,
|
615
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *end</code></em>);</pre>
|
616
|
+
<p>Gets the <em class="parameter"><code>start</code></em>
|
617
|
+
and <em class="parameter"><code>end</code></em>
|
618
|
+
bounds of the <em class="parameter"><code>region</code></em>
|
619
|
+
.</p>
|
620
|
+
<div class="refsect3">
|
621
|
+
<a name="gtk-source-region-get-bounds.parameters"></a><h4>Parameters</h4>
|
622
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
623
|
+
<colgroup>
|
624
|
+
<col width="150px" class="parameters_name">
|
625
|
+
<col class="parameters_description">
|
626
|
+
<col width="200px" class="parameters_annotations">
|
627
|
+
</colgroup>
|
628
|
+
<tbody>
|
629
|
+
<tr>
|
630
|
+
<td class="parameter_name"><p>region</p></td>
|
631
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a>.</p></td>
|
632
|
+
<td class="parameter_annotations"> </td>
|
633
|
+
</tr>
|
634
|
+
<tr>
|
635
|
+
<td class="parameter_name"><p>start</p></td>
|
636
|
+
<td class="parameter_description"><p> iterator to initialize with the start of <em class="parameter"><code>region</code></em>
|
637
|
+
,
|
638
|
+
or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
639
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
|
640
|
+
</tr>
|
641
|
+
<tr>
|
642
|
+
<td class="parameter_name"><p>end</p></td>
|
643
|
+
<td class="parameter_description"><p> iterator to initialize with the end of <em class="parameter"><code>region</code></em>
|
644
|
+
,
|
645
|
+
or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
646
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
|
647
|
+
</tr>
|
648
|
+
</tbody>
|
649
|
+
</table></div>
|
650
|
+
</div>
|
651
|
+
<div class="refsect3">
|
652
|
+
<a name="gtk-source-region-get-bounds.returns"></a><h4>Returns</h4>
|
653
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>start</code></em>
|
654
|
+
and <em class="parameter"><code>end</code></em>
|
655
|
+
have been set successfully (if non-<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>),
|
656
|
+
or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if the <em class="parameter"><code>region</code></em>
|
657
|
+
is empty.</p>
|
658
|
+
</div>
|
659
|
+
<p class="since">Since: <a class="link" href="api-index-3-22.html#api-index-3.22">3.22</a></p>
|
660
|
+
</div>
|
661
|
+
<hr>
|
662
|
+
<div class="refsect2">
|
663
|
+
<a name="gtk-source-region-get-start-region-iter"></a><h3>gtk_source_region_get_start_region_iter ()</h3>
|
664
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
665
|
+
gtk_source_region_get_start_region_iter
|
666
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a> *region</code></em>,
|
667
|
+
<em class="parameter"><code><a class="link" href="GtkSourceRegion.html#GtkSourceRegionIter" title="struct GtkSourceRegionIter"><span class="type">GtkSourceRegionIter</span></a> *iter</code></em>);</pre>
|
668
|
+
<p>Initializes a <a class="link" href="GtkSourceRegion.html#GtkSourceRegionIter" title="struct GtkSourceRegionIter"><span class="type">GtkSourceRegionIter</span></a> to the first subregion of <em class="parameter"><code>region</code></em>
|
669
|
+
. If
|
670
|
+
<em class="parameter"><code>region</code></em>
|
671
|
+
is empty, <em class="parameter"><code>iter</code></em>
|
672
|
+
will be initialized to the end iterator.</p>
|
673
|
+
<div class="refsect3">
|
674
|
+
<a name="gtk-source-region-get-start-region-iter.parameters"></a><h4>Parameters</h4>
|
675
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
676
|
+
<colgroup>
|
677
|
+
<col width="150px" class="parameters_name">
|
678
|
+
<col class="parameters_description">
|
679
|
+
<col width="200px" class="parameters_annotations">
|
680
|
+
</colgroup>
|
681
|
+
<tbody>
|
682
|
+
<tr>
|
683
|
+
<td class="parameter_name"><p>region</p></td>
|
684
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a>.</p></td>
|
685
|
+
<td class="parameter_annotations"> </td>
|
686
|
+
</tr>
|
687
|
+
<tr>
|
688
|
+
<td class="parameter_name"><p>iter</p></td>
|
689
|
+
<td class="parameter_description"><p> iterator to initialize to the first subregion. </p></td>
|
690
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
691
|
+
</tr>
|
692
|
+
</tbody>
|
693
|
+
</table></div>
|
694
|
+
</div>
|
695
|
+
<p class="since">Since: <a class="link" href="api-index-3-22.html#api-index-3.22">3.22</a></p>
|
696
|
+
</div>
|
697
|
+
<hr>
|
698
|
+
<div class="refsect2">
|
699
|
+
<a name="gtk-source-region-iter-is-end"></a><h3>gtk_source_region_iter_is_end ()</h3>
|
700
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
701
|
+
gtk_source_region_iter_is_end (<em class="parameter"><code><a class="link" href="GtkSourceRegion.html#GtkSourceRegionIter" title="struct GtkSourceRegionIter"><span class="type">GtkSourceRegionIter</span></a> *iter</code></em>);</pre>
|
702
|
+
<div class="refsect3">
|
703
|
+
<a name="gtk-source-region-iter-is-end.parameters"></a><h4>Parameters</h4>
|
704
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
705
|
+
<colgroup>
|
706
|
+
<col width="150px" class="parameters_name">
|
707
|
+
<col class="parameters_description">
|
708
|
+
<col width="200px" class="parameters_annotations">
|
709
|
+
</colgroup>
|
710
|
+
<tbody><tr>
|
711
|
+
<td class="parameter_name"><p>iter</p></td>
|
712
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceRegion.html#GtkSourceRegionIter" title="struct GtkSourceRegionIter"><span class="type">GtkSourceRegionIter</span></a>.</p></td>
|
713
|
+
<td class="parameter_annotations"> </td>
|
714
|
+
</tr></tbody>
|
715
|
+
</table></div>
|
716
|
+
</div>
|
717
|
+
<div class="refsect3">
|
718
|
+
<a name="gtk-source-region-iter-is-end.returns"></a><h4>Returns</h4>
|
719
|
+
<p> whether <em class="parameter"><code>iter</code></em>
|
720
|
+
is the end iterator.</p>
|
721
|
+
</div>
|
722
|
+
<p class="since">Since: <a class="link" href="api-index-3-22.html#api-index-3.22">3.22</a></p>
|
723
|
+
</div>
|
724
|
+
<hr>
|
725
|
+
<div class="refsect2">
|
726
|
+
<a name="gtk-source-region-iter-next"></a><h3>gtk_source_region_iter_next ()</h3>
|
727
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
728
|
+
gtk_source_region_iter_next (<em class="parameter"><code><a class="link" href="GtkSourceRegion.html#GtkSourceRegionIter" title="struct GtkSourceRegionIter"><span class="type">GtkSourceRegionIter</span></a> *iter</code></em>);</pre>
|
729
|
+
<p>Moves <em class="parameter"><code>iter</code></em>
|
730
|
+
to the next subregion.</p>
|
731
|
+
<div class="refsect3">
|
732
|
+
<a name="gtk-source-region-iter-next.parameters"></a><h4>Parameters</h4>
|
733
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
734
|
+
<colgroup>
|
735
|
+
<col width="150px" class="parameters_name">
|
736
|
+
<col class="parameters_description">
|
737
|
+
<col width="200px" class="parameters_annotations">
|
738
|
+
</colgroup>
|
739
|
+
<tbody><tr>
|
740
|
+
<td class="parameter_name"><p>iter</p></td>
|
741
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceRegion.html#GtkSourceRegionIter" title="struct GtkSourceRegionIter"><span class="type">GtkSourceRegionIter</span></a>.</p></td>
|
742
|
+
<td class="parameter_annotations"> </td>
|
743
|
+
</tr></tbody>
|
744
|
+
</table></div>
|
745
|
+
</div>
|
746
|
+
<div class="refsect3">
|
747
|
+
<a name="gtk-source-region-iter-next.returns"></a><h4>Returns</h4>
|
748
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>iter</code></em>
|
749
|
+
moved and is dereferenceable, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if <em class="parameter"><code>iter</code></em>
|
750
|
+
has
|
751
|
+
been set to the end iterator.</p>
|
752
|
+
</div>
|
753
|
+
<p class="since">Since: <a class="link" href="api-index-3-22.html#api-index-3.22">3.22</a></p>
|
754
|
+
</div>
|
755
|
+
<hr>
|
756
|
+
<div class="refsect2">
|
757
|
+
<a name="gtk-source-region-iter-get-subregion"></a><h3>gtk_source_region_iter_get_subregion ()</h3>
|
758
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
759
|
+
gtk_source_region_iter_get_subregion (<em class="parameter"><code><a class="link" href="GtkSourceRegion.html#GtkSourceRegionIter" title="struct GtkSourceRegionIter"><span class="type">GtkSourceRegionIter</span></a> *iter</code></em>,
|
760
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *start</code></em>,
|
761
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk4/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *end</code></em>);</pre>
|
762
|
+
<p>Gets the subregion at this iterator.</p>
|
763
|
+
<div class="refsect3">
|
764
|
+
<a name="gtk-source-region-iter-get-subregion.parameters"></a><h4>Parameters</h4>
|
765
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
766
|
+
<colgroup>
|
767
|
+
<col width="150px" class="parameters_name">
|
768
|
+
<col class="parameters_description">
|
769
|
+
<col width="200px" class="parameters_annotations">
|
770
|
+
</colgroup>
|
771
|
+
<tbody>
|
772
|
+
<tr>
|
773
|
+
<td class="parameter_name"><p>iter</p></td>
|
774
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceRegion.html#GtkSourceRegionIter" title="struct GtkSourceRegionIter"><span class="type">GtkSourceRegionIter</span></a>.</p></td>
|
775
|
+
<td class="parameter_annotations"> </td>
|
776
|
+
</tr>
|
777
|
+
<tr>
|
778
|
+
<td class="parameter_name"><p>start</p></td>
|
779
|
+
<td class="parameter_description"><p> iterator to initialize with the subregion start, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
780
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
|
781
|
+
</tr>
|
782
|
+
<tr>
|
783
|
+
<td class="parameter_name"><p>end</p></td>
|
784
|
+
<td class="parameter_description"><p> iterator to initialize with the subregion end, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
785
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
|
786
|
+
</tr>
|
787
|
+
</tbody>
|
788
|
+
</table></div>
|
789
|
+
</div>
|
790
|
+
<div class="refsect3">
|
791
|
+
<a name="gtk-source-region-iter-get-subregion.returns"></a><h4>Returns</h4>
|
792
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>start</code></em>
|
793
|
+
and <em class="parameter"><code>end</code></em>
|
794
|
+
have been set successfully (if non-<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>),
|
795
|
+
or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if <em class="parameter"><code>iter</code></em>
|
796
|
+
is the end iterator or if the region is empty.</p>
|
797
|
+
</div>
|
798
|
+
<p class="since">Since: <a class="link" href="api-index-3-22.html#api-index-3.22">3.22</a></p>
|
799
|
+
</div>
|
800
|
+
<hr>
|
801
|
+
<div class="refsect2">
|
802
|
+
<a name="gtk-source-region-to-string"></a><h3>gtk_source_region_to_string ()</h3>
|
803
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
804
|
+
gtk_source_region_to_string (<em class="parameter"><code><a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a> *region</code></em>);</pre>
|
805
|
+
<p>Gets a string represention of <em class="parameter"><code>region</code></em>
|
806
|
+
, for debugging purposes.</p>
|
807
|
+
<p>The returned string contains the character offsets of the subregions. It
|
808
|
+
doesn't include a newline character at the end of the string.</p>
|
809
|
+
<div class="refsect3">
|
810
|
+
<a name="gtk-source-region-to-string.parameters"></a><h4>Parameters</h4>
|
811
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
812
|
+
<colgroup>
|
813
|
+
<col width="150px" class="parameters_name">
|
814
|
+
<col class="parameters_description">
|
815
|
+
<col width="200px" class="parameters_annotations">
|
816
|
+
</colgroup>
|
817
|
+
<tbody><tr>
|
818
|
+
<td class="parameter_name"><p>region</p></td>
|
819
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a>.</p></td>
|
820
|
+
<td class="parameter_annotations"> </td>
|
821
|
+
</tr></tbody>
|
822
|
+
</table></div>
|
823
|
+
</div>
|
824
|
+
<div class="refsect3">
|
825
|
+
<a name="gtk-source-region-to-string.returns"></a><h4>Returns</h4>
|
826
|
+
<p> a string represention of <em class="parameter"><code>region</code></em>
|
827
|
+
. Free
|
828
|
+
with <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> when no longer needed. </p>
|
829
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
|
830
|
+
</div>
|
831
|
+
<p class="since">Since: <a class="link" href="api-index-3-22.html#api-index-3.22">3.22</a></p>
|
832
|
+
</div>
|
833
|
+
</div>
|
834
|
+
<div class="refsect1">
|
835
|
+
<a name="GtkSourceRegion.other_details"></a><h2>Types and Values</h2>
|
836
|
+
<div class="refsect2">
|
837
|
+
<a name="GtkSourceRegion-struct"></a><h3>GtkSourceRegion</h3>
|
838
|
+
<pre class="programlisting">typedef struct _GtkSourceRegion GtkSourceRegion;</pre>
|
839
|
+
</div>
|
840
|
+
<hr>
|
841
|
+
<div class="refsect2">
|
842
|
+
<a name="GtkSourceRegionIter"></a><h3>struct GtkSourceRegionIter</h3>
|
843
|
+
<pre class="programlisting">struct GtkSourceRegionIter {
|
844
|
+
};
|
845
|
+
</pre>
|
846
|
+
<p><a class="link" href="GtkSourceRegion.html#GtkSourceRegionIter" title="struct GtkSourceRegionIter"><span class="type">GtkSourceRegionIter</span></a> is an opaque datatype; ignore all its fields.
|
847
|
+
Initialize the iter with <a class="link" href="GtkSourceRegion.html#gtk-source-region-get-start-region-iter" title="gtk_source_region_get_start_region_iter ()"><code class="function">gtk_source_region_get_start_region_iter()</code></a>.</p>
|
848
|
+
<p class="since">Since: <a class="link" href="api-index-3-22.html#api-index-3.22">3.22</a></p>
|
849
|
+
</div>
|
850
|
+
</div>
|
851
|
+
<div class="refsect1">
|
852
|
+
<a name="GtkSourceRegion.property-details"></a><h2>Property Details</h2>
|
853
|
+
<div class="refsect2">
|
854
|
+
<a name="GtkSourceRegion--buffer"></a><h3>The <code class="literal">“buffer”</code> property</h3>
|
855
|
+
<pre class="programlisting"> “buffer” <a href="http://developer.gnome.org/gtk4/GtkTextBuffer.html#GtkTextBuffer-struct"><span class="type">GtkTextBuffer</span></a> *</pre>
|
856
|
+
<p>The <a href="http://developer.gnome.org/gtk4/GtkTextBuffer.html#GtkTextBuffer-struct"><span class="type">GtkTextBuffer</span></a>. The <a class="link" href="GtkSourceRegion.html" title="GtkSourceRegion"><span class="type">GtkSourceRegion</span></a> has a weak reference to the
|
857
|
+
buffer.</p>
|
858
|
+
<p>Flags: Read / Write / Construct Only</p>
|
859
|
+
<p class="since">Since: <a class="link" href="api-index-3-22.html#api-index-3.22">3.22</a></p>
|
860
|
+
</div>
|
861
|
+
</div>
|
862
|
+
<div class="refsect1">
|
863
|
+
<a name="GtkSourceRegion.see-also"></a><h2>See Also</h2>
|
864
|
+
<p><a href="http://developer.gnome.org/gtk4/GtkTextBuffer.html#GtkTextBuffer-struct"><span class="type">GtkTextBuffer</span></a></p>
|
865
|
+
</div>
|
866
|
+
</div>
|
867
|
+
<div class="footer">
|
868
|
+
<hr>Generated by GTK-Doc V1.25.1</div>
|
869
|
+
</body>
|
870
|
+
</html>
|