gtksourceview3 2.2.0-x86-mingw32 → 2.2.1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/ext/gtksourceview3/extconf.rb +1 -2
- data/ext/gtksourceview3/rbgtksourcegutterrenderertext.c +1 -25
- data/ext/gtksourceview3/rbgtksourceview3conversions.h +7 -0
- data/ext/gtksourceview3/rbgtksourceview3private.h +0 -1
- data/lib/2.0/gtksourceview3.so +0 -0
- data/test/run-test.rb +17 -7
- data/test/test_mark_attributes.rb +1 -1
- data/test/test_source_gutter_renderer.rb +33 -0
- data/test/test_source_language_manager.rb +46 -0
- data/test/test_source_view.rb +34 -0
- data/vendor/local/bin/libgtksourceview-3.0-1.dll +0 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksource.h +4 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcebuffer.h +28 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceencoding.h +54 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcefile.h +115 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcefileloader.h +122 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcefilesaver.h +147 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutter.h +3 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcetypes.h +48 -2
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceundomanager.h +1 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview-typebuiltins.h +33 -0
- 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 +3 -3
- data/vendor/local/lib/locale/ar/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- 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/bg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/bn_IN/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/el/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/en_GB/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/eu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/fa/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/gu/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/hi/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/kn/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/ml/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/mr/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/nl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/or/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/sk/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/sv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ta/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/te/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/th/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/tr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ug/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/uk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/vi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/zh_CN/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 +2211 -330
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceBuffer.html +1682 -983
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletion.html +818 -573
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionContext.html +267 -189
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionInfo.html +209 -157
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionItem.html +247 -167
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProposal.html +428 -295
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProvider.html +558 -420
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionWords.html +217 -125
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceEncoding.html +366 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFile.html +563 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileLoader.html +769 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileSaver.html +962 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutter.html +341 -196
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRenderer.html +1211 -827
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererPixbuf.html +327 -206
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererText.html +156 -96
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguage.html +431 -269
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguageManager.html +300 -235
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMark.html +203 -139
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMarkAttributes.html +640 -452
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourcePrintCompositor.html +1444 -1114
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchContext.html +794 -573
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchSettings.html +421 -280
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyle.html +232 -99
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleScheme.html +283 -178
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeManager.html +326 -220
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceUndoManager.html +313 -194
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceView.html +1430 -924
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/annotation-glossary.html +33 -13
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-0.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-10.html +47 -47
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-12.html +39 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-14.html +299 -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 +35 -15
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-full.html +742 -430
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch01.html +31 -19
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch02.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceUtils.html +95 -81
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0.devhelp2 +519 -463
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.html +32 -18
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.sgml +326 -153
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-reference.html +151 -57
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-tutorial.html +14 -17
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/object-tree.html +42 -37
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style-reference.html +39 -8
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style.css +260 -105
- data/vendor/local/share/gtksourceview-3.0/language-specs/actionscript.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/ada.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/ansforth94.lang +729 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/asp.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/automake.lang +3 -2
- data/vendor/local/share/gtksourceview-3.0/language-specs/awk.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/bennugd.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/bluespec.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/boo.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/c.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/cg.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/changelog.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/chdr.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/cmake.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/cobol.lang +536 -345
- data/vendor/local/share/gtksourceview-3.0/language-specs/cpp.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/csharp.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/css.lang +6 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/cuda.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/d.lang +25 -3
- data/vendor/local/share/gtksourceview-3.0/language-specs/def.lang +8 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/desktop.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/diff.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/dosbatch.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/dot.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/dpatch.lang +2 -2
- data/vendor/local/share/gtksourceview-3.0/language-specs/dtd.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/eiffel.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/erlang.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/fcl.lang +1 -3
- data/vendor/local/share/gtksourceview-3.0/language-specs/forth.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/fortran.lang +85 -6
- data/vendor/local/share/gtksourceview-3.0/language-specs/fsharp.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/gdb-log.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/glsl.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/go.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/gtkrc.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/haskell-literate.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/haskell.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/html.lang +238 -137
- data/vendor/local/share/gtksourceview-3.0/language-specs/idl.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/ini.lang +2 -2
- data/vendor/local/share/gtksourceview-3.0/language-specs/j.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/java.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/javascript.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/json.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/latex.lang +389 -133
- data/vendor/local/share/gtksourceview-3.0/language-specs/lex.lang +209 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/libtool.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/llvm.lang +315 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/lua.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/m4.lang +4 -4
- data/vendor/local/share/gtksourceview-3.0/language-specs/makefile.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/mediawiki.lang +16 -12
- data/vendor/local/share/gtksourceview-3.0/language-specs/nemerle.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/netrexx.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/nsis.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/objc.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/objj.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/ocaml.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/ocl.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/ooc.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/opal.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/opencl.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/pascal.lang +12 -12
- data/vendor/local/share/gtksourceview-3.0/language-specs/perl.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/php.lang +15 -15
- data/vendor/local/share/gtksourceview-3.0/language-specs/pkgconfig.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/po.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/prolog.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/protobuf.lang +2 -4
- data/vendor/local/share/gtksourceview-3.0/language-specs/puppet.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/python.lang +62 -3
- data/vendor/local/share/gtksourceview-3.0/language-specs/python3.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/rpmspec.lang +3 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/rst.lang +142 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ruby.lang +2 -2
- data/vendor/local/share/gtksourceview-3.0/language-specs/scala.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/scheme.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/sh.lang +2 -2
- data/vendor/local/share/gtksourceview-3.0/language-specs/sml.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/sparql.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/sql.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/sweave.lang +67 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/systemverilog.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/tcl.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/vala.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/vbnet.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/verilog.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/vhdl.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/yacc.lang +2 -2
- data/vendor/local/share/gtksourceview-3.0/language-specs/yaml.lang +214 -0
- data/vendor/local/share/gtksourceview-3.0/styles/classic.xml +13 -2
- data/vendor/local/share/gtksourceview-3.0/styles/cobalt.xml +16 -5
- data/vendor/local/share/gtksourceview-3.0/styles/kate.xml +11 -3
- data/vendor/local/share/gtksourceview-3.0/styles/oblivion.xml +14 -4
- data/vendor/local/share/gtksourceview-3.0/styles/solarized-dark.xml +101 -0
- data/vendor/local/share/gtksourceview-3.0/styles/solarized-light.xml +101 -0
- data/vendor/local/share/gtksourceview-3.0/styles/styles.rng +3 -0
- data/vendor/local/share/gtksourceview-3.0/styles/tango.xml +14 -2
- data/vendor/local/share/license/gtksourceview/AUTHORS +1 -0
- data/vendor/local/share/license/gtksourceview/COPYING +415 -251
- metadata +31 -13
- data/lib/1.9/gtksourceview3.so +0 -0
- data/lib/2.1/gtksourceview3.so +0 -0
@@ -8,21 +8,17 @@
|
|
8
8
|
<link rel="up" href="ch01.html" title="API reference">
|
9
9
|
<link rel="prev" href="GtkSourceCompletion.html" title="GtkSourceCompletion">
|
10
10
|
<link rel="next" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.21.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
-
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="
|
16
|
-
<td width="100%" align="left">
|
17
|
-
<a href="#" class="shortcut">Top</a>
|
18
|
-
|
19
|
-
<a href="#GtkSourceCompletionContext.
|
20
|
-
|
21
|
-
<a href="#GtkSourceCompletionContext.
|
22
|
-
|
|
23
|
-
<a href="#GtkSourceCompletionContext.properties" class="shortcut">Properties</a>
|
24
|
-
|
|
25
|
-
<a href="#GtkSourceCompletionContext.signals" class="shortcut">Signals</a>
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
16
|
+
<td width="100%" align="left" class="shortcuts">
|
17
|
+
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
18
|
+
<a href="#GtkSourceCompletionContext.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
|
19
|
+
<a href="#GtkSourceCompletionContext.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties"> <span class="dim">|</span>
|
20
|
+
<a href="#GtkSourceCompletionContext.properties" class="shortcut">Properties</a></span><span id="nav_signals"> <span class="dim">|</span>
|
21
|
+
<a href="#GtkSourceCompletionContext.signals" class="shortcut">Signals</a></span>
|
26
22
|
</td>
|
27
23
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
28
24
|
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
@@ -36,74 +32,136 @@
|
|
36
32
|
<h2><span class="refentrytitle"><a name="GtkSourceCompletionContext.top_of_page"></a>GtkSourceCompletionContext</span></h2>
|
37
33
|
<p>GtkSourceCompletionContext — The context of a completion</p>
|
38
34
|
</td>
|
39
|
-
<td valign="top" align="right"></td>
|
35
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
40
36
|
</tr></table></div>
|
41
|
-
<div class="refsynopsisdiv">
|
42
|
-
<a name="GtkSourceCompletionContext.synopsis"></a><h2>Synopsis</h2>
|
43
|
-
<pre class="synopsis">
|
44
|
-
#include <gtksourceview/gtksource.h>
|
45
|
-
|
46
|
-
enum <a class="link" href="GtkSourceCompletionContext.html#GtkSourceCompletionActivation" title="enum GtkSourceCompletionActivation">GtkSourceCompletionActivation</a>;
|
47
|
-
<a class="link" href="GtkSourceCompletionContext.html#GtkSourceCompletionContext-struct" title="GtkSourceCompletionContext">GtkSourceCompletionContext</a>;
|
48
|
-
<span class="returnvalue">void</span> <a class="link" href="GtkSourceCompletionContext.html#gtk-source-completion-context-add-proposals" title="gtk_source_completion_context_add_proposals ()">gtk_source_completion_context_add_proposals</a>
|
49
|
-
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a> *context</code></em>,
|
50
|
-
<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>,
|
51
|
-
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *proposals</code></em>,
|
52
|
-
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> finished</code></em>);
|
53
|
-
<span class="returnvalue">void</span> <a class="link" href="GtkSourceCompletionContext.html#gtk-source-completion-context-get-iter" title="gtk_source_completion_context_get_iter ()">gtk_source_completion_context_get_iter</a>
|
54
|
-
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a> *context</code></em>,
|
55
|
-
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>);
|
56
|
-
<a class="link" href="GtkSourceCompletionContext.html#GtkSourceCompletionActivation" title="enum GtkSourceCompletionActivation"><span class="returnvalue">GtkSourceCompletionActivation</span></a> <a class="link" href="GtkSourceCompletionContext.html#gtk-source-completion-context-get-activation" title="gtk_source_completion_context_get_activation ()">gtk_source_completion_context_get_activation</a>
|
57
|
-
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a> *context</code></em>);
|
58
|
-
</pre>
|
59
|
-
</div>
|
60
37
|
<div class="refsect1">
|
61
|
-
<a name="GtkSourceCompletionContext.
|
62
|
-
<
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
</
|
38
|
+
<a name="GtkSourceCompletionContext.functions"></a><h2>Functions</h2>
|
39
|
+
<div class="informaltable"><table width="100%" border="0">
|
40
|
+
<colgroup>
|
41
|
+
<col width="150px" class="functions_return">
|
42
|
+
<col class="functions_name">
|
43
|
+
</colgroup>
|
44
|
+
<tbody>
|
45
|
+
<tr>
|
46
|
+
<td class="function_type">
|
47
|
+
<span class="returnvalue">void</span>
|
48
|
+
</td>
|
49
|
+
<td class="function_name">
|
50
|
+
<a class="link" href="GtkSourceCompletionContext.html#gtk-source-completion-context-add-proposals" title="gtk_source_completion_context_add_proposals ()">gtk_source_completion_context_add_proposals</a> <span class="c_punctuation">()</span>
|
51
|
+
</td>
|
52
|
+
</tr>
|
53
|
+
<tr>
|
54
|
+
<td class="function_type">
|
55
|
+
<span class="returnvalue">void</span>
|
56
|
+
</td>
|
57
|
+
<td class="function_name">
|
58
|
+
<a class="link" href="GtkSourceCompletionContext.html#gtk-source-completion-context-get-iter" title="gtk_source_completion_context_get_iter ()">gtk_source_completion_context_get_iter</a> <span class="c_punctuation">()</span>
|
59
|
+
</td>
|
60
|
+
</tr>
|
61
|
+
<tr>
|
62
|
+
<td class="function_type">
|
63
|
+
<a class="link" href="GtkSourceCompletionContext.html#GtkSourceCompletionActivation" title="enum GtkSourceCompletionActivation"><span class="returnvalue">GtkSourceCompletionActivation</span></a>
|
64
|
+
</td>
|
65
|
+
<td class="function_name">
|
66
|
+
<a class="link" href="GtkSourceCompletionContext.html#gtk-source-completion-context-get-activation" title="gtk_source_completion_context_get_activation ()">gtk_source_completion_context_get_activation</a> <span class="c_punctuation">()</span>
|
67
|
+
</td>
|
68
|
+
</tr>
|
69
|
+
</tbody>
|
70
|
+
</table></div>
|
67
71
|
</div>
|
68
72
|
<div class="refsect1">
|
69
73
|
<a name="GtkSourceCompletionContext.properties"></a><h2>Properties</h2>
|
70
|
-
<
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
74
|
+
<div class="informaltable"><table border="0">
|
75
|
+
<colgroup>
|
76
|
+
<col width="150px" class="properties_type">
|
77
|
+
<col width="300px" class="properties_name">
|
78
|
+
<col width="200px" class="properties_flags">
|
79
|
+
</colgroup>
|
80
|
+
<tbody>
|
81
|
+
<tr>
|
82
|
+
<td class="property_type"><a class="link" href="GtkSourceCompletionContext.html#GtkSourceCompletionActivation" title="enum GtkSourceCompletionActivation"><span class="type">GtkSourceCompletionActivation</span></a></td>
|
83
|
+
<td class="property_name"><a class="link" href="GtkSourceCompletionContext.html#GtkSourceCompletionContext--activation" title="The “activation” property">activation</a></td>
|
84
|
+
<td class="property_flags">Read / Write / Construct</td>
|
85
|
+
</tr>
|
86
|
+
<tr>
|
87
|
+
<td class="property_type">
|
88
|
+
<a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> *</td>
|
89
|
+
<td class="property_name"><a class="link" href="GtkSourceCompletionContext.html#GtkSourceCompletionContext--completion" title="The “completion” property">completion</a></td>
|
90
|
+
<td class="property_flags">Read / Write / Construct Only</td>
|
91
|
+
</tr>
|
92
|
+
<tr>
|
93
|
+
<td class="property_type">
|
94
|
+
<a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *</td>
|
95
|
+
<td class="property_name"><a class="link" href="GtkSourceCompletionContext.html#GtkSourceCompletionContext--iter" title="The “iter” property">iter</a></td>
|
96
|
+
<td class="property_flags">Read / Write</td>
|
97
|
+
</tr>
|
98
|
+
</tbody>
|
99
|
+
</table></div>
|
75
100
|
</div>
|
76
101
|
<div class="refsect1">
|
77
102
|
<a name="GtkSourceCompletionContext.signals"></a><h2>Signals</h2>
|
78
|
-
<
|
79
|
-
|
103
|
+
<div class="informaltable"><table border="0">
|
104
|
+
<colgroup>
|
105
|
+
<col width="150px" class="signals_return">
|
106
|
+
<col width="300px" class="signals_name">
|
107
|
+
<col width="200px" class="signals_flags">
|
108
|
+
</colgroup>
|
109
|
+
<tbody><tr>
|
110
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
111
|
+
<td class="signal_name"><a class="link" href="GtkSourceCompletionContext.html#GtkSourceCompletionContext-cancelled" title="The “cancelled” signal">cancelled</a></td>
|
112
|
+
<td class="signal_flags">Action</td>
|
113
|
+
</tr></tbody>
|
114
|
+
</table></div>
|
115
|
+
</div>
|
116
|
+
<div class="refsect1">
|
117
|
+
<a name="GtkSourceCompletionContext.other"></a><h2>Types and Values</h2>
|
118
|
+
<div class="informaltable"><table width="100%" border="0">
|
119
|
+
<colgroup>
|
120
|
+
<col width="150px" class="name">
|
121
|
+
<col class="description">
|
122
|
+
</colgroup>
|
123
|
+
<tbody>
|
124
|
+
<tr>
|
125
|
+
<td class="datatype_keyword">enum</td>
|
126
|
+
<td class="function_name"><a class="link" href="GtkSourceCompletionContext.html#GtkSourceCompletionActivation" title="enum GtkSourceCompletionActivation">GtkSourceCompletionActivation</a></td>
|
127
|
+
</tr>
|
128
|
+
<tr>
|
129
|
+
<td class="datatype_keyword"> </td>
|
130
|
+
<td class="function_name"><a class="link" href="GtkSourceCompletionContext.html#GtkSourceCompletionContext-struct" title="GtkSourceCompletionContext">GtkSourceCompletionContext</a></td>
|
131
|
+
</tr>
|
132
|
+
</tbody>
|
133
|
+
</table></div>
|
134
|
+
</div>
|
135
|
+
<div class="refsect1">
|
136
|
+
<a name="GtkSourceCompletionContext.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
137
|
+
<pre class="screen"> <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
138
|
+
<span class="lineart">╰──</span> <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
|
139
|
+
<span class="lineart">╰──</span> GtkSourceCompletionContext
|
140
|
+
</pre>
|
141
|
+
</div>
|
142
|
+
<div class="refsect1">
|
143
|
+
<a name="GtkSourceCompletionContext.includes"></a><h2>Includes</h2>
|
144
|
+
<pre class="synopsis">#include <gtksourceview/gtksource.h>
|
80
145
|
</pre>
|
81
146
|
</div>
|
82
147
|
<div class="refsect1">
|
83
148
|
<a name="GtkSourceCompletionContext.description"></a><h2>Description</h2>
|
84
|
-
<p>
|
85
|
-
Initially, the completion window is hidden. For a completion to occur, it has
|
149
|
+
<p>Initially, the completion window is hidden. For a completion to occur, it has
|
86
150
|
to be activated. The different possible activations are listed in
|
87
151
|
<a class="link" href="GtkSourceCompletionContext.html#GtkSourceCompletionActivation" title="enum GtkSourceCompletionActivation"><span class="type">GtkSourceCompletionActivation</span></a>. When an activation occurs, a
|
88
152
|
<a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a> object is created, and the eligible providers are
|
89
|
-
asked to add proposals with <a class="link" href="GtkSourceCompletionContext.html#gtk-source-completion-context-add-proposals" title="gtk_source_completion_context_add_proposals
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
context is destroyed.
|
94
|
-
</p>
|
95
|
-
<p>
|
96
|
-
On the other hand, if proposals are added, the completion window becomes
|
153
|
+
asked to add proposals with <a class="link" href="GtkSourceCompletionContext.html#gtk-source-completion-context-add-proposals" title="gtk_source_completion_context_add_proposals ()"><code class="function">gtk_source_completion_context_add_proposals()</code></a>.</p>
|
154
|
+
<p>If no proposals are added, the completion window remains hidden, and the
|
155
|
+
context is destroyed.</p>
|
156
|
+
<p>On the other hand, if proposals are added, the completion window becomes
|
97
157
|
visible, and the user can choose a proposal. If the user is not happy with
|
98
158
|
the shown proposals, he or she can insert or delete characters, to modify the
|
99
159
|
completion context and therefore hoping to see the proposal he or she wants.
|
100
160
|
This means that when an insertion or deletion occurs in the <a href="http://developer.gnome.org/gtk2/GtkTextBuffer.html"><span class="type">GtkTextBuffer</span></a>
|
101
161
|
when the completion window is visible, the eligible providers are again asked
|
102
|
-
to add proposals. The <a class="link" href="GtkSourceCompletionContext.html#GtkSourceCompletionContext--activation" title=
|
103
|
-
same in this case
|
104
|
-
|
105
|
-
<p>
|
106
|
-
When the completion window is hidden, the interactive completion is triggered
|
162
|
+
to add proposals. The <a class="link" href="GtkSourceCompletionContext.html#GtkSourceCompletionContext--activation" title="The “activation” property"><span class="type">“activation”</span></a> remains the
|
163
|
+
same in this case.</p>
|
164
|
+
<p>When the completion window is hidden, the interactive completion is triggered
|
107
165
|
only on insertion in the buffer, not on deletion. Once the completion window
|
108
166
|
is visible, then on each insertion or deletion, there is a new population and
|
109
167
|
the providers are asked to add proposals. If there are no more proposals, the
|
@@ -114,206 +172,226 @@ a function, and some proposals appear. The user types a bad character and
|
|
114
172
|
there are no proposals anymore. What the user wants is to delete the last
|
115
173
|
character, and see the previous proposals. If the completion window
|
116
174
|
disappears, the previous proposals will not reappear on the character
|
117
|
-
deletion
|
118
|
-
|
119
|
-
<p>
|
120
|
-
A <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> is associated with the context, this is where the completion
|
175
|
+
deletion.</p>
|
176
|
+
<p>A <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> is associated with the context, this is where the completion
|
121
177
|
takes place. With this <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a>, you can get the associated
|
122
|
-
<a href="http://developer.gnome.org/gtk2/GtkTextBuffer.html"><span class="type">GtkTextBuffer</span></a> with <a href="http://developer.gnome.org/gtk2/GtkTextIter.html#gtk-text-iter-get-buffer"><code class="function">gtk_text_iter_get_buffer()</code></a
|
123
|
-
</p>
|
178
|
+
<a href="http://developer.gnome.org/gtk2/GtkTextBuffer.html"><span class="type">GtkTextBuffer</span></a> with <a href="http://developer.gnome.org/gtk2/GtkTextIter.html#gtk-text-iter-get-buffer"><code class="function">gtk_text_iter_get_buffer()</code></a>.</p>
|
124
179
|
</div>
|
125
180
|
<div class="refsect1">
|
126
|
-
<a name="GtkSourceCompletionContext.
|
181
|
+
<a name="GtkSourceCompletionContext.functions_details"></a><h2>Functions</h2>
|
127
182
|
<div class="refsect2">
|
128
|
-
<a name="
|
129
|
-
<pre class="programlisting">
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
</pre>
|
135
|
-
<
|
183
|
+
<a name="gtk-source-completion-context-add-proposals"></a><h3>gtk_source_completion_context_add_proposals ()</h3>
|
184
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
185
|
+
gtk_source_completion_context_add_proposals
|
186
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a> *context</code></em>,
|
187
|
+
<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>,
|
188
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *proposals</code></em>,
|
189
|
+
<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> finished</code></em>);</pre>
|
190
|
+
<p>Providers can use this function to add proposals to the completion. They
|
191
|
+
can do so asynchronously by means of the <em class="parameter"><code>finished</code></em>
|
192
|
+
argument. Providers must
|
193
|
+
ensure that they always call this function with <em class="parameter"><code>finished</code></em>
|
194
|
+
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>
|
195
|
+
once each population (even if no proposals need to be added).
|
196
|
+
Population occurs when the <a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-populate" title="gtk_source_completion_provider_populate ()"><code class="function">gtk_source_completion_provider_populate()</code></a>
|
197
|
+
function is called.</p>
|
198
|
+
<div class="refsect3">
|
199
|
+
<a name="id-1.2.4.10.2.5"></a><h4>Parameters</h4>
|
200
|
+
<div class="informaltable"><table width="100%" border="0">
|
136
201
|
<colgroup>
|
137
|
-
<col
|
138
|
-
<col>
|
202
|
+
<col width="150px" class="parameters_name">
|
203
|
+
<col class="parameters_description">
|
204
|
+
<col width="200px" class="parameters_annotations">
|
139
205
|
</colgroup>
|
140
206
|
<tbody>
|
141
207
|
<tr>
|
142
|
-
<td
|
143
|
-
<td>
|
144
|
-
</td>
|
208
|
+
<td class="parameter_name"><p>context</p></td>
|
209
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a>.</p></td>
|
210
|
+
<td class="parameter_annotations"> </td>
|
145
211
|
</tr>
|
146
212
|
<tr>
|
147
|
-
<td
|
148
|
-
<td>
|
149
|
-
|
150
|
-
blocked temporarily with <a class="link" href="GtkSourceCompletion.html#gtk-source-completion-block-interactive" title="gtk_source_completion_block_interactive ()"><code class="function">gtk_source_completion_block_interactive()</code></a>.
|
151
|
-
</td>
|
213
|
+
<td class="parameter_name"><p>provider</p></td>
|
214
|
+
<td class="parameter_description"><p> a <a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a>. </p></td>
|
215
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GtkSource.CompletionProvider]</span></td>
|
152
216
|
</tr>
|
153
217
|
<tr>
|
154
|
-
<td
|
155
|
-
<td>
|
156
|
-
|
157
|
-
|
158
|
-
|
218
|
+
<td class="parameter_name"><p>proposals</p></td>
|
219
|
+
<td class="parameter_description"><p> The list of proposals to add. </p></td>
|
220
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GtkSource.CompletionProposal]</span></td>
|
221
|
+
</tr>
|
222
|
+
<tr>
|
223
|
+
<td class="parameter_name"><p>finished</p></td>
|
224
|
+
<td class="parameter_description"><p>Whether the provider is finished adding proposals.</p></td>
|
225
|
+
<td class="parameter_annotations"> </td>
|
159
226
|
</tr>
|
160
227
|
</tbody>
|
161
228
|
</table></div>
|
162
229
|
</div>
|
163
|
-
<hr>
|
164
|
-
<div class="refsect2">
|
165
|
-
<a name="GtkSourceCompletionContext-struct"></a><h3>GtkSourceCompletionContext</h3>
|
166
|
-
<pre class="programlisting">typedef struct _GtkSourceCompletionContext GtkSourceCompletionContext;</pre>
|
167
230
|
</div>
|
168
231
|
<hr>
|
169
232
|
<div class="refsect2">
|
170
|
-
<a name="gtk-source-completion-context-
|
171
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
once each population (even if no proposals need to be added).
|
181
|
-
Population occurs when the <a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-populate" title="gtk_source_completion_provider_populate ()"><code class="function">gtk_source_completion_provider_populate()</code></a>
|
182
|
-
function is called.
|
183
|
-
</p>
|
184
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
233
|
+
<a name="gtk-source-completion-context-get-iter"></a><h3>gtk_source_completion_context_get_iter ()</h3>
|
234
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
235
|
+
gtk_source_completion_context_get_iter
|
236
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a> *context</code></em>,
|
237
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>);</pre>
|
238
|
+
<p>Get the iter at which the completion was invoked. Providers can use this
|
239
|
+
to determine how and if to match proposals.</p>
|
240
|
+
<div class="refsect3">
|
241
|
+
<a name="id-1.2.4.10.3.5"></a><h4>Parameters</h4>
|
242
|
+
<div class="informaltable"><table width="100%" border="0">
|
185
243
|
<colgroup>
|
186
|
-
<col
|
187
|
-
<col>
|
244
|
+
<col width="150px" class="parameters_name">
|
245
|
+
<col class="parameters_description">
|
246
|
+
<col width="200px" class="parameters_annotations">
|
188
247
|
</colgroup>
|
189
248
|
<tbody>
|
190
249
|
<tr>
|
191
|
-
<td
|
192
|
-
<td>a <a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a>.</td>
|
250
|
+
<td class="parameter_name"><p>context</p></td>
|
251
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a>.</p></td>
|
252
|
+
<td class="parameter_annotations"> </td>
|
193
253
|
</tr>
|
194
254
|
<tr>
|
195
|
-
<td
|
196
|
-
<td>a <a
|
197
|
-
</td>
|
198
|
-
</tr>
|
199
|
-
<tr>
|
200
|
-
<td><p><span class="term"><em class="parameter"><code>proposals</code></em> :</span></p></td>
|
201
|
-
<td>The list of proposals to add. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GtkSource.CompletionProposal]</span>
|
202
|
-
</td>
|
203
|
-
</tr>
|
204
|
-
<tr>
|
205
|
-
<td><p><span class="term"><em class="parameter"><code>finished</code></em> :</span></p></td>
|
206
|
-
<td>Whether the provider is finished adding proposals.</td>
|
255
|
+
<td class="parameter_name"><p>iter</p></td>
|
256
|
+
<td class="parameter_description"><p> a <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a>. </p></td>
|
257
|
+
<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>
|
207
258
|
</tr>
|
208
259
|
</tbody>
|
209
260
|
</table></div>
|
210
261
|
</div>
|
262
|
+
</div>
|
211
263
|
<hr>
|
212
264
|
<div class="refsect2">
|
213
|
-
<a name="gtk-source-completion-context-get-
|
214
|
-
<pre class="programlisting"><span class="returnvalue">
|
215
|
-
|
216
|
-
|
217
|
-
<p>
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
265
|
+
<a name="gtk-source-completion-context-get-activation"></a><h3>gtk_source_completion_context_get_activation ()</h3>
|
266
|
+
<pre class="programlisting"><a class="link" href="GtkSourceCompletionContext.html#GtkSourceCompletionActivation" title="enum GtkSourceCompletionActivation"><span class="returnvalue">GtkSourceCompletionActivation</span></a>
|
267
|
+
gtk_source_completion_context_get_activation
|
268
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a> *context</code></em>);</pre>
|
269
|
+
<p>Get the context activation.</p>
|
270
|
+
<div class="refsect3">
|
271
|
+
<a name="id-1.2.4.10.4.5"></a><h4>Parameters</h4>
|
272
|
+
<div class="informaltable"><table width="100%" border="0">
|
222
273
|
<colgroup>
|
223
|
-
<col
|
224
|
-
<col>
|
274
|
+
<col width="150px" class="parameters_name">
|
275
|
+
<col class="parameters_description">
|
276
|
+
<col width="200px" class="parameters_annotations">
|
225
277
|
</colgroup>
|
226
|
-
<tbody>
|
227
|
-
<
|
228
|
-
<td><p
|
229
|
-
<td
|
230
|
-
</tr>
|
231
|
-
<tr>
|
232
|
-
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
233
|
-
<td>a <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
|
234
|
-
</td>
|
235
|
-
</tr>
|
236
|
-
</tbody>
|
278
|
+
<tbody><tr>
|
279
|
+
<td class="parameter_name"><p>context</p></td>
|
280
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a>.</p></td>
|
281
|
+
<td class="parameter_annotations"> </td>
|
282
|
+
</tr></tbody>
|
237
283
|
</table></div>
|
238
284
|
</div>
|
239
|
-
<
|
285
|
+
<div class="refsect3">
|
286
|
+
<a name="id-1.2.4.10.4.6"></a><h4>Returns</h4>
|
287
|
+
<p> The context activation.</p>
|
288
|
+
<p></p>
|
289
|
+
</div>
|
290
|
+
</div>
|
291
|
+
</div>
|
292
|
+
<div class="refsect1">
|
293
|
+
<a name="GtkSourceCompletionContext.other_details"></a><h2>Types and Values</h2>
|
240
294
|
<div class="refsect2">
|
241
|
-
<a name="
|
242
|
-
<
|
243
|
-
|
244
|
-
<
|
245
|
-
Get the context activation.
|
246
|
-
</p>
|
247
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
295
|
+
<a name="GtkSourceCompletionActivation"></a><h3>enum GtkSourceCompletionActivation</h3>
|
296
|
+
<div class="refsect3">
|
297
|
+
<a name="id-1.2.4.11.2.3"></a><h4>Members</h4>
|
298
|
+
<div class="informaltable"><table width="100%" border="0">
|
248
299
|
<colgroup>
|
249
|
-
<col
|
250
|
-
<col>
|
300
|
+
<col width="300px" class="enum_members_name">
|
301
|
+
<col class="enum_members_description">
|
302
|
+
<col width="200px" class="enum_members_annotations">
|
251
303
|
</colgroup>
|
252
304
|
<tbody>
|
253
305
|
<tr>
|
254
|
-
<td
|
255
|
-
<td
|
306
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-COMPLETION-ACTIVATION-NONE:CAPS"></a>GTK_SOURCE_COMPLETION_ACTIVATION_NONE</p></td>
|
307
|
+
<td class="enum_member_description">
|
308
|
+
<p>None.</p>
|
309
|
+
</td>
|
310
|
+
<td class="enum_member_annotations"> </td>
|
311
|
+
</tr>
|
312
|
+
<tr>
|
313
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-COMPLETION-ACTIVATION-INTERACTIVE:CAPS"></a>GTK_SOURCE_COMPLETION_ACTIVATION_INTERACTIVE</p></td>
|
314
|
+
<td class="enum_member_description">
|
315
|
+
<p>Interactive activation. By
|
316
|
+
default, it occurs on each insertion in the <a href="http://developer.gnome.org/gtk2/GtkTextBuffer.html"><span class="type">GtkTextBuffer</span></a>. This can be
|
317
|
+
blocked temporarily with <a class="link" href="GtkSourceCompletion.html#gtk-source-completion-block-interactive" title="gtk_source_completion_block_interactive ()"><code class="function">gtk_source_completion_block_interactive()</code></a>.</p>
|
318
|
+
</td>
|
319
|
+
<td class="enum_member_annotations"> </td>
|
256
320
|
</tr>
|
257
321
|
<tr>
|
258
|
-
<td
|
259
|
-
<td
|
322
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-COMPLETION-ACTIVATION-USER-REQUESTED:CAPS"></a>GTK_SOURCE_COMPLETION_ACTIVATION_USER_REQUESTED</p></td>
|
323
|
+
<td class="enum_member_description">
|
324
|
+
<p>User requested activation.
|
325
|
+
By default, it occurs when the user presses</p>
|
326
|
+
<span class="keycap"><strong>Control</strong></span>+<span class="keycap"><strong>space</strong></span>.
|
327
|
+
</td>
|
328
|
+
<td class="enum_member_annotations"> </td>
|
260
329
|
</tr>
|
261
330
|
</tbody>
|
262
331
|
</table></div>
|
263
332
|
</div>
|
264
333
|
</div>
|
334
|
+
<hr>
|
335
|
+
<div class="refsect2">
|
336
|
+
<a name="GtkSourceCompletionContext-struct"></a><h3>GtkSourceCompletionContext</h3>
|
337
|
+
<pre class="programlisting">typedef struct _GtkSourceCompletionContext GtkSourceCompletionContext;</pre>
|
338
|
+
</div>
|
339
|
+
</div>
|
265
340
|
<div class="refsect1">
|
266
341
|
<a name="GtkSourceCompletionContext.property-details"></a><h2>Property Details</h2>
|
267
342
|
<div class="refsect2">
|
268
|
-
<a name="GtkSourceCompletionContext--activation"></a><h3>The <code class="literal"
|
269
|
-
<pre class="programlisting">
|
270
|
-
<p>
|
271
|
-
|
272
|
-
</p>
|
343
|
+
<a name="GtkSourceCompletionContext--activation"></a><h3>The <code class="literal">“activation”</code> property</h3>
|
344
|
+
<pre class="programlisting"> “activation” <a class="link" href="GtkSourceCompletionContext.html#GtkSourceCompletionActivation" title="enum GtkSourceCompletionActivation"><span class="type">GtkSourceCompletionActivation</span></a></pre>
|
345
|
+
<p>The completion activation</p>
|
346
|
+
<p>Flags: Read / Write / Construct</p>
|
347
|
+
<p>Default value: GTK_SOURCE_COMPLETION_ACTIVATION_USER_REQUESTED</p>
|
273
348
|
</div>
|
274
349
|
<hr>
|
275
350
|
<div class="refsect2">
|
276
|
-
<a name="GtkSourceCompletionContext--completion"></a><h3>The <code class="literal"
|
277
|
-
<pre class="programlisting">
|
278
|
-
<p>
|
279
|
-
|
280
|
-
</p>
|
351
|
+
<a name="GtkSourceCompletionContext--completion"></a><h3>The <code class="literal">“completion”</code> property</h3>
|
352
|
+
<pre class="programlisting"> “completion” <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> *</pre>
|
353
|
+
<p>The <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> associated with the context.</p>
|
354
|
+
<p>Flags: Read / Write / Construct Only</p>
|
281
355
|
</div>
|
282
356
|
<hr>
|
283
357
|
<div class="refsect2">
|
284
|
-
<a name="GtkSourceCompletionContext--iter"></a><h3>The <code class="literal"
|
285
|
-
<pre class="programlisting">
|
286
|
-
<p>
|
287
|
-
|
288
|
-
</p>
|
358
|
+
<a name="GtkSourceCompletionContext--iter"></a><h3>The <code class="literal">“iter”</code> property</h3>
|
359
|
+
<pre class="programlisting"> “iter” <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *</pre>
|
360
|
+
<p>The <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> at which the completion is invoked.</p>
|
361
|
+
<p>Flags: Read / Write</p>
|
289
362
|
</div>
|
290
363
|
</div>
|
291
364
|
<div class="refsect1">
|
292
365
|
<a name="GtkSourceCompletionContext.signal-details"></a><h2>Signal Details</h2>
|
293
366
|
<div class="refsect2">
|
294
|
-
<a name="GtkSourceCompletionContext-cancelled"></a><h3>The <code class="literal"
|
295
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
296
|
-
|
297
|
-
<
|
298
|
-
Emitted when the current population of proposals has been cancelled.
|
367
|
+
<a name="GtkSourceCompletionContext-cancelled"></a><h3>The <code class="literal">“cancelled”</code> signal</h3>
|
368
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
369
|
+
user_function (<a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a> *arg0,
|
370
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
371
|
+
<p>Emitted when the current population of proposals has been cancelled.
|
299
372
|
Providers adding proposals asynchronously should connect to this signal
|
300
|
-
to know when to cancel running proposal queries
|
301
|
-
|
302
|
-
<
|
373
|
+
to know when to cancel running proposal queries.</p>
|
374
|
+
<div class="refsect3">
|
375
|
+
<a name="id-1.2.4.13.2.5"></a><h4>Parameters</h4>
|
376
|
+
<div class="informaltable"><table width="100%" border="0">
|
303
377
|
<colgroup>
|
304
|
-
<col
|
305
|
-
<col>
|
378
|
+
<col width="150px" class="parameters_name">
|
379
|
+
<col class="parameters_description">
|
380
|
+
<col width="200px" class="parameters_annotations">
|
306
381
|
</colgroup>
|
307
382
|
<tbody><tr>
|
308
|
-
<td
|
309
|
-
<td>user data set when the signal handler was connected.</td>
|
383
|
+
<td class="parameter_name"><p>user_data</p></td>
|
384
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
385
|
+
<td class="parameter_annotations"> </td>
|
310
386
|
</tr></tbody>
|
311
387
|
</table></div>
|
312
388
|
</div>
|
389
|
+
<p>Flags: Action</p>
|
390
|
+
</div>
|
313
391
|
</div>
|
314
392
|
</div>
|
315
393
|
<div class="footer">
|
316
394
|
<hr>
|
317
|
-
Generated by GTK-Doc V1.
|
395
|
+
Generated by GTK-Doc V1.21.1</div>
|
318
396
|
</body>
|
319
397
|
</html>
|