gtksourceview3 2.2.4-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Rakefile +59 -0
- data/ext/gtksourceview3/depend +6 -0
- data/ext/gtksourceview3/extconf.rb +67 -0
- data/ext/gtksourceview3/gtksourceview3.def +2 -0
- data/ext/gtksourceview3/rbgtksource.c +53 -0
- data/ext/gtksourceview3/rbgtksourcebuffer.c +318 -0
- data/ext/gtksourceview3/rbgtksourcegutter.c +82 -0
- data/ext/gtksourceview3/rbgtksourcegutterrenderer.c +143 -0
- data/ext/gtksourceview3/rbgtksourcegutterrendererpixbuf.c +42 -0
- data/ext/gtksourceview3/rbgtksourcegutterrenderertext.c +40 -0
- data/ext/gtksourceview3/rbgtksourcelanguage.c +124 -0
- data/ext/gtksourceview3/rbgtksourcelanguagemanager.c +114 -0
- data/ext/gtksourceview3/rbgtksourcemark.c +85 -0
- data/ext/gtksourceview3/rbgtksourcemarkattributes.c +77 -0
- data/ext/gtksourceview3/rbgtksourceprintcompositor.c +171 -0
- data/ext/gtksourceview3/rbgtksourcestyle.c +42 -0
- data/ext/gtksourceview3/rbgtksourcestylescheme.c +72 -0
- data/ext/gtksourceview3/rbgtksourcestyleschememanager.c +140 -0
- data/ext/gtksourceview3/rbgtksourceundomanager.c +83 -0
- data/ext/gtksourceview3/rbgtksourceview.c +94 -0
- data/ext/gtksourceview3/rbgtksourceview3conversions.h +50 -0
- data/ext/gtksourceview3/rbgtksourceview3private.h +53 -0
- data/extconf.rb +49 -0
- data/lib/2.0/gtksourceview3.so +0 -0
- data/lib/2.1/gtksourceview3.so +0 -0
- data/lib/2.2/gtksourceview3.so +0 -0
- data/lib/gtksourceview3.rb +20 -0
- data/lib/gtksourceview3/deprecated.rb +47 -0
- data/sample/sourcelanguagemanager.rb +21 -0
- data/sample/test.rb +32 -0
- data/test/run-test.rb +44 -0
- data/test/test_mark_attributes.rb +26 -0
- data/test/test_source_gutter_renderer.rb +33 -0
- data/test/test_source_language_manager.rb +46 -0
- data/test/test_source_view.rb +57 -0
- data/vendor/local/bin/libgtksourceview-3.0-1.dll +0 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/completion-providers/words/gtksourcecompletionwords.h +65 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksource.h +54 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcebuffer.h +213 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletion.h +142 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletioncontext.h +95 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletioninfo.h +78 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionitem.h +70 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionproposal.h +97 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionprovider.h +137 -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 +90 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrenderer.h +229 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrendererpixbuf.h +87 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrenderertext.h +83 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcelanguage.h +85 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcelanguagemanager.h +84 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemark.h +71 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemarkattributes.h +100 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceprintcompositor.h +175 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcesearchcontext.h +133 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcesearchsettings.h +85 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyle.h +45 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestylescheme.h +109 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschememanager.h +86 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcetypes.h +101 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceundomanager.h +75 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceutils.h +34 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview-typebuiltins.h +88 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview.h +213 -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 +41 -0
- 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/ast/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/az/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/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/bs/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/cy/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/dz/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@shaw/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/en_CA/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/eo/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/et/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/hr/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/mai/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/mg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/mk/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/mn/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/ms/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/ne/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/nn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/oc/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/ro/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/rw/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/si/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/sq/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/tg/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/xh/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 +12 -0
- data/vendor/local/share/gir-1.0/GtkSource-3.0.gir +11360 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceBuffer.html +2143 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletion.html +1129 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionContext.html +397 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionInfo.html +348 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionItem.html +367 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProposal.html +572 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProvider.html +750 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionWords.html +345 -0
- 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 +490 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRenderer.html +1700 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererPixbuf.html +468 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererText.html +228 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguage.html +584 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguageManager.html +476 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMark.html +310 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMarkAttributes.html +897 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourcePrintCompositor.html +2149 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchContext.html +1116 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchSettings.html +606 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyle.html +358 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleScheme.html +398 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeManager.html +463 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceUndoManager.html +462 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceView.html +1990 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/annotation-glossary.html +81 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-0.html +43 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-10.html +195 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-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 +35 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-deprecated.html +95 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-full.html +2187 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch01.html +119 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch02.html +47 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceUtils.html +154 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0.devhelp2 +601 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.html +146 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.sgml +882 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-reference.html +873 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-tutorial.html +654 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/object-tree.html +71 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style-reference.html +283 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style.css +476 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/up.png +0 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/R.lang +2199 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/actionscript.lang +268 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ada.lang +221 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ansforth94.lang +729 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/asp.lang +1097 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/automake.lang +330 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/awk.lang +138 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/bennugd.lang +267 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/bibtex.lang +93 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/bluespec.lang +188 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/boo.lang +257 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/c.lang +332 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/cg.lang +232 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/changelog.lang +93 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/chdr.lang +43 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/cmake.lang +408 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/cobol.lang +647 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/cpp.lang +120 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/csharp.lang +282 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/css.lang +542 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/cuda.lang +292 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/d.lang +318 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/def.lang +262 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/desktop.lang +300 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/diff.lang +85 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/docbook.lang +476 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/dosbatch.lang +167 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/dot.lang +140 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/dpatch.lang +48 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/dtd.lang +140 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/eiffel.lang +239 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/erlang.lang +258 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/fcl.lang +113 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/forth.lang +235 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/fortran.lang +591 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/fsharp.lang +325 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/gap.lang +85 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/gdb-log.lang +152 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/glsl.lang +483 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/go.lang +275 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/gtk-doc.lang +91 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/gtkrc.lang +116 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/haddock.lang +162 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/haskell-literate.lang +59 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/haskell.lang +228 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/html.lang +281 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/idl-exelis.lang +620 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/idl.lang +154 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/imagej.lang +784 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ini.lang +95 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/j.lang +240 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/java.lang +190 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/javascript.lang +339 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/json.lang +123 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/julia.lang +378 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/language.dtd +73 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/language.rng +373 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/language2.rng +482 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/latex.lang +600 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/lex.lang +209 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/libtool.lang +56 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/llvm.lang +315 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/lua.lang +157 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/m4.lang +1375 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/makefile.lang +193 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/mallard.lang +124 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/markdown.lang +402 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/matlab.lang +171 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/mediawiki.lang +327 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/modelica.lang +262 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/mxml.lang +65 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/nemerle.lang +263 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/netrexx.lang +319 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/nsis.lang +88 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/objc.lang +120 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/objj.lang +128 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ocaml.lang +302 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ocl.lang +139 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/octave.lang +859 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ooc.lang +265 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/opal.lang +343 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/opencl.lang +600 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/pascal.lang +268 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/perl.lang +1045 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/php.lang +363 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/pkgconfig.lang +62 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/po.lang +94 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/prolog.lang +249 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/protobuf.lang +101 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/puppet.lang +697 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/python.lang +472 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/python3.lang +192 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/rpmspec.lang +212 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/rst.lang +142 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ruby.lang +750 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/scala.lang +384 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/scheme.lang +302 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/scilab.lang +209 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/sh.lang +499 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/sml.lang +201 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/sparql.lang +448 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/sql.lang +618 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/sweave.lang +67 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/systemverilog.lang +263 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/t2t.lang +150 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/tcl.lang +146 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/texinfo.lang +448 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/vala.lang +365 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/vbnet.lang +245 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/verilog.lang +476 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/vhdl.lang +248 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/xml.lang +220 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/xslt.lang +108 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/yacc.lang +177 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/yaml.lang +214 -0
- data/vendor/local/share/gtksourceview-3.0/styles/classic.xml +121 -0
- data/vendor/local/share/gtksourceview-3.0/styles/cobalt.xml +148 -0
- data/vendor/local/share/gtksourceview-3.0/styles/kate.xml +171 -0
- data/vendor/local/share/gtksourceview-3.0/styles/oblivion.xml +129 -0
- 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 +142 -0
- data/vendor/local/share/gtksourceview-3.0/styles/tango.xml +130 -0
- data/vendor/local/share/license/gtksourceview/AUTHORS +13 -0
- data/vendor/local/share/license/gtksourceview/COPYING +504 -0
- metadata +389 -0
@@ -0,0 +1,1990 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
+
<title>GtkSourceView 3 Reference Manual: GtkSourceView</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
|
+
<link rel="home" href="index.html" title="GtkSourceView 3 Reference Manual">
|
8
|
+
<link rel="up" href="ch01.html" title="API reference">
|
9
|
+
<link rel="prev" href="gtksourceview-3.0-GtkSourceUtils.html" title="GtkSourceUtils">
|
10
|
+
<link rel="next" href="ch02.html" title="Syntax highlighting reference">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.21.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="#GtkSourceView.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
|
19
|
+
<a href="#GtkSourceView.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_interfaces"> <span class="dim">|</span>
|
20
|
+
<a href="#GtkSourceView.implemented-interfaces" class="shortcut">Implemented Interfaces</a></span><span id="nav_properties"> <span class="dim">|</span>
|
21
|
+
<a href="#GtkSourceView.properties" class="shortcut">Properties</a></span><span id="nav_signals"> <span class="dim">|</span>
|
22
|
+
<a href="#GtkSourceView.signals" class="shortcut">Signals</a></span>
|
23
|
+
</td>
|
24
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
25
|
+
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
26
|
+
<td><a accesskey="p" href="gtksourceview-3.0-GtkSourceUtils.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
27
|
+
<td><a accesskey="n" href="ch02.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
28
|
+
</tr></table>
|
29
|
+
<div class="refentry">
|
30
|
+
<a name="GtkSourceView"></a><div class="titlepage"></div>
|
31
|
+
<div class="refnamediv"><table width="100%"><tr>
|
32
|
+
<td valign="top">
|
33
|
+
<h2><span class="refentrytitle"><a name="GtkSourceView.top_of_page"></a>GtkSourceView</span></h2>
|
34
|
+
<p>GtkSourceView — The view object</p>
|
35
|
+
</td>
|
36
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
37
|
+
</tr></table></div>
|
38
|
+
<div class="refsect1">
|
39
|
+
<a name="GtkSourceView.functions"></a><h2>Functions</h2>
|
40
|
+
<div class="informaltable"><table width="100%" border="0">
|
41
|
+
<colgroup>
|
42
|
+
<col width="150px" class="functions_return">
|
43
|
+
<col class="functions_name">
|
44
|
+
</colgroup>
|
45
|
+
<tbody>
|
46
|
+
<tr>
|
47
|
+
<td class="function_type">
|
48
|
+
<a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *
|
49
|
+
</td>
|
50
|
+
<td class="function_name">
|
51
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-new" title="gtk_source_view_new ()">gtk_source_view_new</a> <span class="c_punctuation">()</span>
|
52
|
+
</td>
|
53
|
+
</tr>
|
54
|
+
<tr>
|
55
|
+
<td class="function_type">
|
56
|
+
<a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *
|
57
|
+
</td>
|
58
|
+
<td class="function_name">
|
59
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-new-with-buffer" title="gtk_source_view_new_with_buffer ()">gtk_source_view_new_with_buffer</a> <span class="c_punctuation">()</span>
|
60
|
+
</td>
|
61
|
+
</tr>
|
62
|
+
<tr>
|
63
|
+
<td class="function_type">
|
64
|
+
<span class="returnvalue">void</span>
|
65
|
+
</td>
|
66
|
+
<td class="function_name">
|
67
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-set-auto-indent" title="gtk_source_view_set_auto_indent ()">gtk_source_view_set_auto_indent</a> <span class="c_punctuation">()</span>
|
68
|
+
</td>
|
69
|
+
</tr>
|
70
|
+
<tr>
|
71
|
+
<td class="function_type">
|
72
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
73
|
+
</td>
|
74
|
+
<td class="function_name">
|
75
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-get-auto-indent" title="gtk_source_view_get_auto_indent ()">gtk_source_view_get_auto_indent</a> <span class="c_punctuation">()</span>
|
76
|
+
</td>
|
77
|
+
</tr>
|
78
|
+
<tr>
|
79
|
+
<td class="function_type">
|
80
|
+
<span class="returnvalue">void</span>
|
81
|
+
</td>
|
82
|
+
<td class="function_name">
|
83
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-set-indent-on-tab" title="gtk_source_view_set_indent_on_tab ()">gtk_source_view_set_indent_on_tab</a> <span class="c_punctuation">()</span>
|
84
|
+
</td>
|
85
|
+
</tr>
|
86
|
+
<tr>
|
87
|
+
<td class="function_type">
|
88
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
89
|
+
</td>
|
90
|
+
<td class="function_name">
|
91
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-get-indent-on-tab" title="gtk_source_view_get_indent_on_tab ()">gtk_source_view_get_indent_on_tab</a> <span class="c_punctuation">()</span>
|
92
|
+
</td>
|
93
|
+
</tr>
|
94
|
+
<tr>
|
95
|
+
<td class="function_type">
|
96
|
+
<span class="returnvalue">void</span>
|
97
|
+
</td>
|
98
|
+
<td class="function_name">
|
99
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-set-indent-width" title="gtk_source_view_set_indent_width ()">gtk_source_view_set_indent_width</a> <span class="c_punctuation">()</span>
|
100
|
+
</td>
|
101
|
+
</tr>
|
102
|
+
<tr>
|
103
|
+
<td class="function_type">
|
104
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
105
|
+
</td>
|
106
|
+
<td class="function_name">
|
107
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-get-indent-width" title="gtk_source_view_get_indent_width ()">gtk_source_view_get_indent_width</a> <span class="c_punctuation">()</span>
|
108
|
+
</td>
|
109
|
+
</tr>
|
110
|
+
<tr>
|
111
|
+
<td class="function_type">
|
112
|
+
<span class="returnvalue">void</span>
|
113
|
+
</td>
|
114
|
+
<td class="function_name">
|
115
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-set-insert-spaces-instead-of-tabs" title="gtk_source_view_set_insert_spaces_instead_of_tabs ()">gtk_source_view_set_insert_spaces_instead_of_tabs</a> <span class="c_punctuation">()</span>
|
116
|
+
</td>
|
117
|
+
</tr>
|
118
|
+
<tr>
|
119
|
+
<td class="function_type">
|
120
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
121
|
+
</td>
|
122
|
+
<td class="function_name">
|
123
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-get-insert-spaces-instead-of-tabs" title="gtk_source_view_get_insert_spaces_instead_of_tabs ()">gtk_source_view_get_insert_spaces_instead_of_tabs</a> <span class="c_punctuation">()</span>
|
124
|
+
</td>
|
125
|
+
</tr>
|
126
|
+
<tr>
|
127
|
+
<td class="function_type">
|
128
|
+
<span class="returnvalue">void</span>
|
129
|
+
</td>
|
130
|
+
<td class="function_name">
|
131
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-set-smart-home-end" title="gtk_source_view_set_smart_home_end ()">gtk_source_view_set_smart_home_end</a> <span class="c_punctuation">()</span>
|
132
|
+
</td>
|
133
|
+
</tr>
|
134
|
+
<tr>
|
135
|
+
<td class="function_type">
|
136
|
+
<a class="link" href="GtkSourceView.html#GtkSourceSmartHomeEndType" title="enum GtkSourceSmartHomeEndType"><span class="returnvalue">GtkSourceSmartHomeEndType</span></a>
|
137
|
+
</td>
|
138
|
+
<td class="function_name">
|
139
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-get-smart-home-end" title="gtk_source_view_get_smart_home_end ()">gtk_source_view_get_smart_home_end</a> <span class="c_punctuation">()</span>
|
140
|
+
</td>
|
141
|
+
</tr>
|
142
|
+
<tr>
|
143
|
+
<td class="function_type">
|
144
|
+
<span class="returnvalue">void</span>
|
145
|
+
</td>
|
146
|
+
<td class="function_name">
|
147
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-set-mark-attributes" title="gtk_source_view_set_mark_attributes ()">gtk_source_view_set_mark_attributes</a> <span class="c_punctuation">()</span>
|
148
|
+
</td>
|
149
|
+
</tr>
|
150
|
+
<tr>
|
151
|
+
<td class="function_type">
|
152
|
+
<a class="link" href="GtkSourceMarkAttributes.html" title="GtkSourceMarkAttributes"><span class="returnvalue">GtkSourceMarkAttributes</span></a> *
|
153
|
+
</td>
|
154
|
+
<td class="function_name">
|
155
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-get-mark-attributes" title="gtk_source_view_get_mark_attributes ()">gtk_source_view_get_mark_attributes</a> <span class="c_punctuation">()</span>
|
156
|
+
</td>
|
157
|
+
</tr>
|
158
|
+
<tr>
|
159
|
+
<td class="function_type">
|
160
|
+
<span class="returnvalue">void</span>
|
161
|
+
</td>
|
162
|
+
<td class="function_name">
|
163
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-set-highlight-current-line" title="gtk_source_view_set_highlight_current_line ()">gtk_source_view_set_highlight_current_line</a> <span class="c_punctuation">()</span>
|
164
|
+
</td>
|
165
|
+
</tr>
|
166
|
+
<tr>
|
167
|
+
<td class="function_type">
|
168
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
169
|
+
</td>
|
170
|
+
<td class="function_name">
|
171
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-get-highlight-current-line" title="gtk_source_view_get_highlight_current_line ()">gtk_source_view_get_highlight_current_line</a> <span class="c_punctuation">()</span>
|
172
|
+
</td>
|
173
|
+
</tr>
|
174
|
+
<tr>
|
175
|
+
<td class="function_type">
|
176
|
+
<span class="returnvalue">void</span>
|
177
|
+
</td>
|
178
|
+
<td class="function_name">
|
179
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-set-show-line-marks" title="gtk_source_view_set_show_line_marks ()">gtk_source_view_set_show_line_marks</a> <span class="c_punctuation">()</span>
|
180
|
+
</td>
|
181
|
+
</tr>
|
182
|
+
<tr>
|
183
|
+
<td class="function_type">
|
184
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
185
|
+
</td>
|
186
|
+
<td class="function_name">
|
187
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-get-show-line-marks" title="gtk_source_view_get_show_line_marks ()">gtk_source_view_get_show_line_marks</a> <span class="c_punctuation">()</span>
|
188
|
+
</td>
|
189
|
+
</tr>
|
190
|
+
<tr>
|
191
|
+
<td class="function_type">
|
192
|
+
<span class="returnvalue">void</span>
|
193
|
+
</td>
|
194
|
+
<td class="function_name">
|
195
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-set-show-line-numbers" title="gtk_source_view_set_show_line_numbers ()">gtk_source_view_set_show_line_numbers</a> <span class="c_punctuation">()</span>
|
196
|
+
</td>
|
197
|
+
</tr>
|
198
|
+
<tr>
|
199
|
+
<td class="function_type">
|
200
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
201
|
+
</td>
|
202
|
+
<td class="function_name">
|
203
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-get-show-line-numbers" title="gtk_source_view_get_show_line_numbers ()">gtk_source_view_get_show_line_numbers</a> <span class="c_punctuation">()</span>
|
204
|
+
</td>
|
205
|
+
</tr>
|
206
|
+
<tr>
|
207
|
+
<td class="function_type">
|
208
|
+
<span class="returnvalue">void</span>
|
209
|
+
</td>
|
210
|
+
<td class="function_name">
|
211
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-set-show-right-margin" title="gtk_source_view_set_show_right_margin ()">gtk_source_view_set_show_right_margin</a> <span class="c_punctuation">()</span>
|
212
|
+
</td>
|
213
|
+
</tr>
|
214
|
+
<tr>
|
215
|
+
<td class="function_type">
|
216
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
217
|
+
</td>
|
218
|
+
<td class="function_name">
|
219
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-get-show-right-margin" title="gtk_source_view_get_show_right_margin ()">gtk_source_view_get_show_right_margin</a> <span class="c_punctuation">()</span>
|
220
|
+
</td>
|
221
|
+
</tr>
|
222
|
+
<tr>
|
223
|
+
<td class="function_type">
|
224
|
+
<span class="returnvalue">void</span>
|
225
|
+
</td>
|
226
|
+
<td class="function_name">
|
227
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-set-right-margin-position" title="gtk_source_view_set_right_margin_position ()">gtk_source_view_set_right_margin_position</a> <span class="c_punctuation">()</span>
|
228
|
+
</td>
|
229
|
+
</tr>
|
230
|
+
<tr>
|
231
|
+
<td class="function_type">
|
232
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
233
|
+
</td>
|
234
|
+
<td class="function_name">
|
235
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-get-right-margin-position" title="gtk_source_view_get_right_margin_position ()">gtk_source_view_get_right_margin_position</a> <span class="c_punctuation">()</span>
|
236
|
+
</td>
|
237
|
+
</tr>
|
238
|
+
<tr>
|
239
|
+
<td class="function_type">
|
240
|
+
<span class="returnvalue">void</span>
|
241
|
+
</td>
|
242
|
+
<td class="function_name">
|
243
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-set-tab-width" title="gtk_source_view_set_tab_width ()">gtk_source_view_set_tab_width</a> <span class="c_punctuation">()</span>
|
244
|
+
</td>
|
245
|
+
</tr>
|
246
|
+
<tr>
|
247
|
+
<td class="function_type">
|
248
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
249
|
+
</td>
|
250
|
+
<td class="function_name">
|
251
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-get-tab-width" title="gtk_source_view_get_tab_width ()">gtk_source_view_get_tab_width</a> <span class="c_punctuation">()</span>
|
252
|
+
</td>
|
253
|
+
</tr>
|
254
|
+
<tr>
|
255
|
+
<td class="function_type">
|
256
|
+
<span class="returnvalue">void</span>
|
257
|
+
</td>
|
258
|
+
<td class="function_name">
|
259
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-set-draw-spaces" title="gtk_source_view_set_draw_spaces ()">gtk_source_view_set_draw_spaces</a> <span class="c_punctuation">()</span>
|
260
|
+
</td>
|
261
|
+
</tr>
|
262
|
+
<tr>
|
263
|
+
<td class="function_type">
|
264
|
+
<a class="link" href="GtkSourceView.html#GtkSourceDrawSpacesFlags" title="enum GtkSourceDrawSpacesFlags"><span class="returnvalue">GtkSourceDrawSpacesFlags</span></a>
|
265
|
+
</td>
|
266
|
+
<td class="function_name">
|
267
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-get-draw-spaces" title="gtk_source_view_get_draw_spaces ()">gtk_source_view_get_draw_spaces</a> <span class="c_punctuation">()</span>
|
268
|
+
</td>
|
269
|
+
</tr>
|
270
|
+
<tr>
|
271
|
+
<td class="function_type">
|
272
|
+
<a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="returnvalue">GtkSourceCompletion</span></a> *
|
273
|
+
</td>
|
274
|
+
<td class="function_name">
|
275
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-get-completion" title="gtk_source_view_get_completion ()">gtk_source_view_get_completion</a> <span class="c_punctuation">()</span>
|
276
|
+
</td>
|
277
|
+
</tr>
|
278
|
+
<tr>
|
279
|
+
<td class="function_type">
|
280
|
+
<a class="link" href="GtkSourceGutter.html" title="GtkSourceGutter"><span class="returnvalue">GtkSourceGutter</span></a> *
|
281
|
+
</td>
|
282
|
+
<td class="function_name">
|
283
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-get-gutter" title="gtk_source_view_get_gutter ()">gtk_source_view_get_gutter</a> <span class="c_punctuation">()</span>
|
284
|
+
</td>
|
285
|
+
</tr>
|
286
|
+
<tr>
|
287
|
+
<td class="function_type">
|
288
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
289
|
+
</td>
|
290
|
+
<td class="function_name">
|
291
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-get-visual-column" title="gtk_source_view_get_visual_column ()">gtk_source_view_get_visual_column</a> <span class="c_punctuation">()</span>
|
292
|
+
</td>
|
293
|
+
</tr>
|
294
|
+
</tbody>
|
295
|
+
</table></div>
|
296
|
+
</div>
|
297
|
+
<div class="refsect1">
|
298
|
+
<a name="GtkSourceView.properties"></a><h2>Properties</h2>
|
299
|
+
<div class="informaltable"><table border="0">
|
300
|
+
<colgroup>
|
301
|
+
<col width="150px" class="properties_type">
|
302
|
+
<col width="300px" class="properties_name">
|
303
|
+
<col width="200px" class="properties_flags">
|
304
|
+
</colgroup>
|
305
|
+
<tbody>
|
306
|
+
<tr>
|
307
|
+
<td class="property_type"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
308
|
+
<td class="property_name"><a class="link" href="GtkSourceView.html#GtkSourceView--auto-indent" title="The “auto-indent” property">auto-indent</a></td>
|
309
|
+
<td class="property_flags">Read / Write</td>
|
310
|
+
</tr>
|
311
|
+
<tr>
|
312
|
+
<td class="property_type">
|
313
|
+
<a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> *</td>
|
314
|
+
<td class="property_name"><a class="link" href="GtkSourceView.html#GtkSourceView--completion" title="The “completion” property">completion</a></td>
|
315
|
+
<td class="property_flags">Read</td>
|
316
|
+
</tr>
|
317
|
+
<tr>
|
318
|
+
<td class="property_type"><a class="link" href="GtkSourceView.html#GtkSourceDrawSpacesFlags" title="enum GtkSourceDrawSpacesFlags"><span class="type">GtkSourceDrawSpacesFlags</span></a></td>
|
319
|
+
<td class="property_name"><a class="link" href="GtkSourceView.html#GtkSourceView--draw-spaces" title="The “draw-spaces” property">draw-spaces</a></td>
|
320
|
+
<td class="property_flags">Read / Write</td>
|
321
|
+
</tr>
|
322
|
+
<tr>
|
323
|
+
<td class="property_type"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
324
|
+
<td class="property_name"><a class="link" href="GtkSourceView.html#GtkSourceView--highlight-current-line" title="The “highlight-current-line” property">highlight-current-line</a></td>
|
325
|
+
<td class="property_flags">Read / Write</td>
|
326
|
+
</tr>
|
327
|
+
<tr>
|
328
|
+
<td class="property_type"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
329
|
+
<td class="property_name"><a class="link" href="GtkSourceView.html#GtkSourceView--indent-on-tab" title="The “indent-on-tab” property">indent-on-tab</a></td>
|
330
|
+
<td class="property_flags">Read / Write</td>
|
331
|
+
</tr>
|
332
|
+
<tr>
|
333
|
+
<td class="property_type"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
334
|
+
<td class="property_name"><a class="link" href="GtkSourceView.html#GtkSourceView--indent-width" title="The “indent-width” property">indent-width</a></td>
|
335
|
+
<td class="property_flags">Read / Write</td>
|
336
|
+
</tr>
|
337
|
+
<tr>
|
338
|
+
<td class="property_type"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
339
|
+
<td class="property_name"><a class="link" href="GtkSourceView.html#GtkSourceView--insert-spaces-instead-of-tabs" title="The “insert-spaces-instead-of-tabs” property">insert-spaces-instead-of-tabs</a></td>
|
340
|
+
<td class="property_flags">Read / Write</td>
|
341
|
+
</tr>
|
342
|
+
<tr>
|
343
|
+
<td class="property_type"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
|
344
|
+
<td class="property_name"><a class="link" href="GtkSourceView.html#GtkSourceView--right-margin-position" title="The “right-margin-position” property">right-margin-position</a></td>
|
345
|
+
<td class="property_flags">Read / Write</td>
|
346
|
+
</tr>
|
347
|
+
<tr>
|
348
|
+
<td class="property_type"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
349
|
+
<td class="property_name"><a class="link" href="GtkSourceView.html#GtkSourceView--show-line-marks" title="The “show-line-marks” property">show-line-marks</a></td>
|
350
|
+
<td class="property_flags">Read / Write</td>
|
351
|
+
</tr>
|
352
|
+
<tr>
|
353
|
+
<td class="property_type"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
354
|
+
<td class="property_name"><a class="link" href="GtkSourceView.html#GtkSourceView--show-line-numbers" title="The “show-line-numbers” property">show-line-numbers</a></td>
|
355
|
+
<td class="property_flags">Read / Write</td>
|
356
|
+
</tr>
|
357
|
+
<tr>
|
358
|
+
<td class="property_type"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
359
|
+
<td class="property_name"><a class="link" href="GtkSourceView.html#GtkSourceView--show-right-margin" title="The “show-right-margin” property">show-right-margin</a></td>
|
360
|
+
<td class="property_flags">Read / Write</td>
|
361
|
+
</tr>
|
362
|
+
<tr>
|
363
|
+
<td class="property_type"><a class="link" href="GtkSourceView.html#GtkSourceSmartHomeEndType" title="enum GtkSourceSmartHomeEndType"><span class="type">GtkSourceSmartHomeEndType</span></a></td>
|
364
|
+
<td class="property_name"><a class="link" href="GtkSourceView.html#GtkSourceView--smart-home-end" title="The “smart-home-end” property">smart-home-end</a></td>
|
365
|
+
<td class="property_flags">Read / Write</td>
|
366
|
+
</tr>
|
367
|
+
<tr>
|
368
|
+
<td class="property_type"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
|
369
|
+
<td class="property_name"><a class="link" href="GtkSourceView.html#GtkSourceView--tab-width" title="The “tab-width” property">tab-width</a></td>
|
370
|
+
<td class="property_flags">Read / Write</td>
|
371
|
+
</tr>
|
372
|
+
</tbody>
|
373
|
+
</table></div>
|
374
|
+
</div>
|
375
|
+
<div class="refsect1">
|
376
|
+
<a name="GtkSourceView.signals"></a><h2>Signals</h2>
|
377
|
+
<div class="informaltable"><table border="0">
|
378
|
+
<colgroup>
|
379
|
+
<col width="150px" class="signals_return">
|
380
|
+
<col width="300px" class="signals_name">
|
381
|
+
<col width="200px" class="signals_flags">
|
382
|
+
</colgroup>
|
383
|
+
<tbody>
|
384
|
+
<tr>
|
385
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
386
|
+
<td class="signal_name"><a class="link" href="GtkSourceView.html#GtkSourceView-line-mark-activated" title="The “line-mark-activated” signal">line-mark-activated</a></td>
|
387
|
+
<td class="signal_flags">Run Last</td>
|
388
|
+
</tr>
|
389
|
+
<tr>
|
390
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
391
|
+
<td class="signal_name"><a class="link" href="GtkSourceView.html#GtkSourceView-move-lines" title="The “move-lines” signal">move-lines</a></td>
|
392
|
+
<td class="signal_flags">Action</td>
|
393
|
+
</tr>
|
394
|
+
<tr>
|
395
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
396
|
+
<td class="signal_name"><a class="link" href="GtkSourceView.html#GtkSourceView-move-words" title="The “move-words” signal">move-words</a></td>
|
397
|
+
<td class="signal_flags">Action</td>
|
398
|
+
</tr>
|
399
|
+
<tr>
|
400
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
401
|
+
<td class="signal_name"><a class="link" href="GtkSourceView.html#GtkSourceView-redo" title="The “redo” signal">redo</a></td>
|
402
|
+
<td class="signal_flags">Action</td>
|
403
|
+
</tr>
|
404
|
+
<tr>
|
405
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
406
|
+
<td class="signal_name"><a class="link" href="GtkSourceView.html#GtkSourceView-show-completion" title="The “show-completion” signal">show-completion</a></td>
|
407
|
+
<td class="signal_flags">Action</td>
|
408
|
+
</tr>
|
409
|
+
<tr>
|
410
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
411
|
+
<td class="signal_name"><a class="link" href="GtkSourceView.html#GtkSourceView-smart-home-end" title="The “smart-home-end” signal">smart-home-end</a></td>
|
412
|
+
<td class="signal_flags">Run Last</td>
|
413
|
+
</tr>
|
414
|
+
<tr>
|
415
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
416
|
+
<td class="signal_name"><a class="link" href="GtkSourceView.html#GtkSourceView-undo" title="The “undo” signal">undo</a></td>
|
417
|
+
<td class="signal_flags">Action</td>
|
418
|
+
</tr>
|
419
|
+
</tbody>
|
420
|
+
</table></div>
|
421
|
+
</div>
|
422
|
+
<div class="refsect1">
|
423
|
+
<a name="GtkSourceView.other"></a><h2>Types and Values</h2>
|
424
|
+
<div class="informaltable"><table width="100%" border="0">
|
425
|
+
<colgroup>
|
426
|
+
<col width="150px" class="name">
|
427
|
+
<col class="description">
|
428
|
+
</colgroup>
|
429
|
+
<tbody>
|
430
|
+
<tr>
|
431
|
+
<td class="datatype_keyword"> </td>
|
432
|
+
<td class="function_name"><a class="link" href="GtkSourceView.html#GtkSourceView-struct" title="GtkSourceView">GtkSourceView</a></td>
|
433
|
+
</tr>
|
434
|
+
<tr>
|
435
|
+
<td class="datatype_keyword">enum</td>
|
436
|
+
<td class="function_name"><a class="link" href="GtkSourceView.html#GtkSourceSmartHomeEndType" title="enum GtkSourceSmartHomeEndType">GtkSourceSmartHomeEndType</a></td>
|
437
|
+
</tr>
|
438
|
+
<tr>
|
439
|
+
<td class="datatype_keyword">enum</td>
|
440
|
+
<td class="function_name"><a class="link" href="GtkSourceView.html#GtkSourceDrawSpacesFlags" title="enum GtkSourceDrawSpacesFlags">GtkSourceDrawSpacesFlags</a></td>
|
441
|
+
</tr>
|
442
|
+
<tr>
|
443
|
+
<td class="datatype_keyword">enum</td>
|
444
|
+
<td class="function_name"><a class="link" href="GtkSourceView.html#GtkSourceViewGutterPosition" title="enum GtkSourceViewGutterPosition">GtkSourceViewGutterPosition</a></td>
|
445
|
+
</tr>
|
446
|
+
</tbody>
|
447
|
+
</table></div>
|
448
|
+
</div>
|
449
|
+
<div class="refsect1">
|
450
|
+
<a name="GtkSourceView.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
451
|
+
<pre class="screen"> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
452
|
+
<span class="lineart">╰──</span> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
|
453
|
+
<span class="lineart">╰──</span> <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkWidget.html">GtkWidget</a>
|
454
|
+
<span class="lineart">╰──</span> <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkContainer.html">GtkContainer</a>
|
455
|
+
<span class="lineart">╰──</span> <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextView.html">GtkTextView</a>
|
456
|
+
<span class="lineart">╰──</span> GtkSourceView
|
457
|
+
</pre>
|
458
|
+
</div>
|
459
|
+
<div class="refsect1">
|
460
|
+
<a name="GtkSourceView.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
|
461
|
+
<p>
|
462
|
+
GtkSourceView implements
|
463
|
+
AtkImplementorIface, <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkBuildable.html">GtkBuildable</a> and <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkScrollable.html">GtkScrollable</a>.</p>
|
464
|
+
</div>
|
465
|
+
<div class="refsect1">
|
466
|
+
<a name="GtkSourceView.includes"></a><h2>Includes</h2>
|
467
|
+
<pre class="synopsis">#include <gtksourceview/gtksource.h>
|
468
|
+
</pre>
|
469
|
+
</div>
|
470
|
+
<div class="refsect1">
|
471
|
+
<a name="GtkSourceView.description"></a><h2>Description</h2>
|
472
|
+
<p><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> is the main object of the GtkSourceView library. It provides
|
473
|
+
a text view with syntax highlighting, undo/redo and text marks. Use a
|
474
|
+
<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> to display text with a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p>
|
475
|
+
<div class="refsect2">
|
476
|
+
<a name="id-1.2.30.10.3"></a><h3>GtkSourceView as GtkBuildable</h3>
|
477
|
+
<p>The GtkSourceView implementation of the <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkBuildable.html"><span class="type">GtkBuildable</span></a> interface exposes the
|
478
|
+
<a class="link" href="GtkSourceView.html#GtkSourceView--completion" title="The “completion” property"><span class="type">“completion”</span></a> object with the internal-child "completion".</p>
|
479
|
+
<p>An example of a UI definition fragment with GtkSourceView:</p>
|
480
|
+
<div class="informalexample">
|
481
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
482
|
+
<tbody>
|
483
|
+
<tr>
|
484
|
+
<td class="listing_lines" align="right"><pre>1
|
485
|
+
2
|
486
|
+
3
|
487
|
+
4
|
488
|
+
5
|
489
|
+
6
|
490
|
+
7
|
491
|
+
8
|
492
|
+
9</pre></td>
|
493
|
+
<td class="listing_code"><pre class="programlisting"><span class="symbol"><</span><span class="usertype">object</span><span class="normal"> class</span><span class="symbol">=</span><span class="string">"GtkSourceView"</span><span class="normal"> id</span><span class="symbol">=</span><span class="string">"source_view"</span><span class="symbol">></span>
|
494
|
+
<span class="normal"> </span><span class="symbol"><</span><span class="usertype">property</span><span class="normal"> name</span><span class="symbol">=</span><span class="string">"tab_width"</span><span class="symbol">></span><span class="number">4</span><span class="symbol"></</span><span class="normal">property</span><span class="symbol">></span>
|
495
|
+
<span class="normal"> </span><span class="symbol"><</span><span class="usertype">property</span><span class="normal"> name</span><span class="symbol">=</span><span class="string">"auto_indent"</span><span class="symbol">></span><span class="normal">True</span><span class="symbol"></</span><span class="normal">property</span><span class="symbol">></span>
|
496
|
+
<span class="normal"> </span><span class="symbol"><</span><span class="usertype">child</span><span class="normal"> internal</span><span class="symbol">-</span><span class="normal">child</span><span class="symbol">=</span><span class="string">"completion"</span><span class="symbol">></span>
|
497
|
+
<span class="normal"> </span><span class="symbol"><</span><span class="usertype">object</span><span class="normal"> class</span><span class="symbol">=</span><span class="string">"GtkSourceCompletion"</span><span class="symbol">></span>
|
498
|
+
<span class="normal"> </span><span class="symbol"><</span><span class="usertype">property</span><span class="normal"> name</span><span class="symbol">=</span><span class="string">"select_on_show"</span><span class="symbol">></span><span class="normal">False</span><span class="symbol"></</span><span class="normal">property</span><span class="symbol">></span>
|
499
|
+
<span class="normal"> </span><span class="symbol"></</span><span class="normal">object</span><span class="symbol">></span>
|
500
|
+
<span class="normal"> </span><span class="symbol"></</span><span class="normal">child</span><span class="symbol">></span>
|
501
|
+
<span class="symbol"></</span><span class="normal">object</span><span class="symbol">></span></pre></td>
|
502
|
+
</tr>
|
503
|
+
</tbody>
|
504
|
+
</table>
|
505
|
+
</div>
|
506
|
+
|
507
|
+
<p></p>
|
508
|
+
</div>
|
509
|
+
</div>
|
510
|
+
<div class="refsect1">
|
511
|
+
<a name="GtkSourceView.functions_details"></a><h2>Functions</h2>
|
512
|
+
<div class="refsect2">
|
513
|
+
<a name="gtk-source-view-new"></a><h3>gtk_source_view_new ()</h3>
|
514
|
+
<pre class="programlisting"><a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *
|
515
|
+
gtk_source_view_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
516
|
+
<p>Creates a new <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>. An empty default buffer will be
|
517
|
+
created for you. If you want to specify your own buffer, consider
|
518
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-new-with-buffer" title="gtk_source_view_new_with_buffer ()"><code class="function">gtk_source_view_new_with_buffer()</code></a>.</p>
|
519
|
+
<div class="refsect3">
|
520
|
+
<a name="id-1.2.30.11.2.5"></a><h4>Returns</h4>
|
521
|
+
<p> a new <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p>
|
522
|
+
<p></p>
|
523
|
+
</div>
|
524
|
+
</div>
|
525
|
+
<hr>
|
526
|
+
<div class="refsect2">
|
527
|
+
<a name="gtk-source-view-new-with-buffer"></a><h3>gtk_source_view_new_with_buffer ()</h3>
|
528
|
+
<pre class="programlisting"><a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *
|
529
|
+
gtk_source_view_new_with_buffer (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
|
530
|
+
<p>Creates a new <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> widget displaying the buffer
|
531
|
+
<em class="parameter"><code>buffer</code></em>
|
532
|
+
. One buffer can be shared among many widgets.</p>
|
533
|
+
<div class="refsect3">
|
534
|
+
<a name="id-1.2.30.11.3.5"></a><h4>Parameters</h4>
|
535
|
+
<div class="informaltable"><table width="100%" border="0">
|
536
|
+
<colgroup>
|
537
|
+
<col width="150px" class="parameters_name">
|
538
|
+
<col class="parameters_description">
|
539
|
+
<col width="200px" class="parameters_annotations">
|
540
|
+
</colgroup>
|
541
|
+
<tbody><tr>
|
542
|
+
<td class="parameter_name"><p>buffer</p></td>
|
543
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
|
544
|
+
<td class="parameter_annotations"> </td>
|
545
|
+
</tr></tbody>
|
546
|
+
</table></div>
|
547
|
+
</div>
|
548
|
+
<div class="refsect3">
|
549
|
+
<a name="id-1.2.30.11.3.6"></a><h4>Returns</h4>
|
550
|
+
<p> a new <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p>
|
551
|
+
<p></p>
|
552
|
+
</div>
|
553
|
+
</div>
|
554
|
+
<hr>
|
555
|
+
<div class="refsect2">
|
556
|
+
<a name="gtk-source-view-set-auto-indent"></a><h3>gtk_source_view_set_auto_indent ()</h3>
|
557
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
558
|
+
gtk_source_view_set_auto_indent (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
|
559
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> enable</code></em>);</pre>
|
560
|
+
<p>If <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> auto indentation of text is enabled.</p>
|
561
|
+
<div class="refsect3">
|
562
|
+
<a name="id-1.2.30.11.4.5"></a><h4>Parameters</h4>
|
563
|
+
<div class="informaltable"><table width="100%" border="0">
|
564
|
+
<colgroup>
|
565
|
+
<col width="150px" class="parameters_name">
|
566
|
+
<col class="parameters_description">
|
567
|
+
<col width="200px" class="parameters_annotations">
|
568
|
+
</colgroup>
|
569
|
+
<tbody>
|
570
|
+
<tr>
|
571
|
+
<td class="parameter_name"><p>view</p></td>
|
572
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
573
|
+
<td class="parameter_annotations"> </td>
|
574
|
+
</tr>
|
575
|
+
<tr>
|
576
|
+
<td class="parameter_name"><p>enable</p></td>
|
577
|
+
<td class="parameter_description"><p>whether to enable auto indentation.</p></td>
|
578
|
+
<td class="parameter_annotations"> </td>
|
579
|
+
</tr>
|
580
|
+
</tbody>
|
581
|
+
</table></div>
|
582
|
+
</div>
|
583
|
+
</div>
|
584
|
+
<hr>
|
585
|
+
<div class="refsect2">
|
586
|
+
<a name="gtk-source-view-get-auto-indent"></a><h3>gtk_source_view_get_auto_indent ()</h3>
|
587
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
588
|
+
gtk_source_view_get_auto_indent (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
|
589
|
+
<p>Returns whether auto indentation of text is enabled.</p>
|
590
|
+
<div class="refsect3">
|
591
|
+
<a name="id-1.2.30.11.5.5"></a><h4>Parameters</h4>
|
592
|
+
<div class="informaltable"><table width="100%" border="0">
|
593
|
+
<colgroup>
|
594
|
+
<col width="150px" class="parameters_name">
|
595
|
+
<col class="parameters_description">
|
596
|
+
<col width="200px" class="parameters_annotations">
|
597
|
+
</colgroup>
|
598
|
+
<tbody><tr>
|
599
|
+
<td class="parameter_name"><p>view</p></td>
|
600
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
601
|
+
<td class="parameter_annotations"> </td>
|
602
|
+
</tr></tbody>
|
603
|
+
</table></div>
|
604
|
+
</div>
|
605
|
+
<div class="refsect3">
|
606
|
+
<a name="id-1.2.30.11.5.6"></a><h4>Returns</h4>
|
607
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if auto indentation is enabled.</p>
|
608
|
+
<p></p>
|
609
|
+
</div>
|
610
|
+
</div>
|
611
|
+
<hr>
|
612
|
+
<div class="refsect2">
|
613
|
+
<a name="gtk-source-view-set-indent-on-tab"></a><h3>gtk_source_view_set_indent_on_tab ()</h3>
|
614
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
615
|
+
gtk_source_view_set_indent_on_tab (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
|
616
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> enable</code></em>);</pre>
|
617
|
+
<p>If <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, when the tab key is pressed and there is a selection, the
|
618
|
+
selected text is indented of one level instead of being replaced with
|
619
|
+
the \t characters. Shift+Tab unindents the selection.</p>
|
620
|
+
<div class="refsect3">
|
621
|
+
<a name="id-1.2.30.11.6.5"></a><h4>Parameters</h4>
|
622
|
+
<div class="informaltable"><table 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>view</p></td>
|
631
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
632
|
+
<td class="parameter_annotations"> </td>
|
633
|
+
</tr>
|
634
|
+
<tr>
|
635
|
+
<td class="parameter_name"><p>enable</p></td>
|
636
|
+
<td class="parameter_description"><p>whether to indent a block when tab is pressed.</p></td>
|
637
|
+
<td class="parameter_annotations"> </td>
|
638
|
+
</tr>
|
639
|
+
</tbody>
|
640
|
+
</table></div>
|
641
|
+
</div>
|
642
|
+
<p class="since">Since 1.8</p>
|
643
|
+
</div>
|
644
|
+
<hr>
|
645
|
+
<div class="refsect2">
|
646
|
+
<a name="gtk-source-view-get-indent-on-tab"></a><h3>gtk_source_view_get_indent_on_tab ()</h3>
|
647
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
648
|
+
gtk_source_view_get_indent_on_tab (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
|
649
|
+
<p>Returns whether when the tab key is pressed the current selection
|
650
|
+
should get indented instead of replaced with the \t character.</p>
|
651
|
+
<div class="refsect3">
|
652
|
+
<a name="id-1.2.30.11.7.5"></a><h4>Parameters</h4>
|
653
|
+
<div class="informaltable"><table width="100%" border="0">
|
654
|
+
<colgroup>
|
655
|
+
<col width="150px" class="parameters_name">
|
656
|
+
<col class="parameters_description">
|
657
|
+
<col width="200px" class="parameters_annotations">
|
658
|
+
</colgroup>
|
659
|
+
<tbody><tr>
|
660
|
+
<td class="parameter_name"><p>view</p></td>
|
661
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
662
|
+
<td class="parameter_annotations"> </td>
|
663
|
+
</tr></tbody>
|
664
|
+
</table></div>
|
665
|
+
</div>
|
666
|
+
<div class="refsect3">
|
667
|
+
<a name="id-1.2.30.11.7.6"></a><h4>Returns</h4>
|
668
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the selection is indented when tab is pressed.</p>
|
669
|
+
<p></p>
|
670
|
+
</div>
|
671
|
+
<p class="since">Since 1.8</p>
|
672
|
+
</div>
|
673
|
+
<hr>
|
674
|
+
<div class="refsect2">
|
675
|
+
<a name="gtk-source-view-set-indent-width"></a><h3>gtk_source_view_set_indent_width ()</h3>
|
676
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
677
|
+
gtk_source_view_set_indent_width (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
|
678
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>);</pre>
|
679
|
+
<p>Sets the number of spaces to use for each step of indent.
|
680
|
+
If <em class="parameter"><code>width</code></em>
|
681
|
+
is -1, the value of the <a class="link" href="GtkSourceView.html#GtkSourceView--tab-width" title="The “tab-width” property"><span class="type">“tab-width”</span></a> property
|
682
|
+
will be used.</p>
|
683
|
+
<div class="refsect3">
|
684
|
+
<a name="id-1.2.30.11.8.5"></a><h4>Parameters</h4>
|
685
|
+
<div class="informaltable"><table width="100%" border="0">
|
686
|
+
<colgroup>
|
687
|
+
<col width="150px" class="parameters_name">
|
688
|
+
<col class="parameters_description">
|
689
|
+
<col width="200px" class="parameters_annotations">
|
690
|
+
</colgroup>
|
691
|
+
<tbody>
|
692
|
+
<tr>
|
693
|
+
<td class="parameter_name"><p>view</p></td>
|
694
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
695
|
+
<td class="parameter_annotations"> </td>
|
696
|
+
</tr>
|
697
|
+
<tr>
|
698
|
+
<td class="parameter_name"><p>width</p></td>
|
699
|
+
<td class="parameter_description"><p>indent width in characters.</p></td>
|
700
|
+
<td class="parameter_annotations"> </td>
|
701
|
+
</tr>
|
702
|
+
</tbody>
|
703
|
+
</table></div>
|
704
|
+
</div>
|
705
|
+
</div>
|
706
|
+
<hr>
|
707
|
+
<div class="refsect2">
|
708
|
+
<a name="gtk-source-view-get-indent-width"></a><h3>gtk_source_view_get_indent_width ()</h3>
|
709
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
710
|
+
gtk_source_view_get_indent_width (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
|
711
|
+
<p>Returns the number of spaces to use for each step of indent.
|
712
|
+
See <a class="link" href="GtkSourceView.html#gtk-source-view-set-indent-width" title="gtk_source_view_set_indent_width ()"><code class="function">gtk_source_view_set_indent_width()</code></a> for details.</p>
|
713
|
+
<div class="refsect3">
|
714
|
+
<a name="id-1.2.30.11.9.5"></a><h4>Parameters</h4>
|
715
|
+
<div class="informaltable"><table width="100%" border="0">
|
716
|
+
<colgroup>
|
717
|
+
<col width="150px" class="parameters_name">
|
718
|
+
<col class="parameters_description">
|
719
|
+
<col width="200px" class="parameters_annotations">
|
720
|
+
</colgroup>
|
721
|
+
<tbody><tr>
|
722
|
+
<td class="parameter_name"><p>view</p></td>
|
723
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
724
|
+
<td class="parameter_annotations"> </td>
|
725
|
+
</tr></tbody>
|
726
|
+
</table></div>
|
727
|
+
</div>
|
728
|
+
<div class="refsect3">
|
729
|
+
<a name="id-1.2.30.11.9.6"></a><h4>Returns</h4>
|
730
|
+
<p> indent width.</p>
|
731
|
+
<p></p>
|
732
|
+
</div>
|
733
|
+
</div>
|
734
|
+
<hr>
|
735
|
+
<div class="refsect2">
|
736
|
+
<a name="gtk-source-view-set-insert-spaces-instead-of-tabs"></a><h3>gtk_source_view_set_insert_spaces_instead_of_tabs ()</h3>
|
737
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
738
|
+
gtk_source_view_set_insert_spaces_instead_of_tabs
|
739
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
|
740
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> enable</code></em>);</pre>
|
741
|
+
<p>If <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> any tabulator character inserted is replaced by a group
|
742
|
+
of space characters.</p>
|
743
|
+
<div class="refsect3">
|
744
|
+
<a name="id-1.2.30.11.10.5"></a><h4>Parameters</h4>
|
745
|
+
<div class="informaltable"><table width="100%" border="0">
|
746
|
+
<colgroup>
|
747
|
+
<col width="150px" class="parameters_name">
|
748
|
+
<col class="parameters_description">
|
749
|
+
<col width="200px" class="parameters_annotations">
|
750
|
+
</colgroup>
|
751
|
+
<tbody>
|
752
|
+
<tr>
|
753
|
+
<td class="parameter_name"><p>view</p></td>
|
754
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
755
|
+
<td class="parameter_annotations"> </td>
|
756
|
+
</tr>
|
757
|
+
<tr>
|
758
|
+
<td class="parameter_name"><p>enable</p></td>
|
759
|
+
<td class="parameter_description"><p>whether to insert spaces instead of tabs.</p></td>
|
760
|
+
<td class="parameter_annotations"> </td>
|
761
|
+
</tr>
|
762
|
+
</tbody>
|
763
|
+
</table></div>
|
764
|
+
</div>
|
765
|
+
</div>
|
766
|
+
<hr>
|
767
|
+
<div class="refsect2">
|
768
|
+
<a name="gtk-source-view-get-insert-spaces-instead-of-tabs"></a><h3>gtk_source_view_get_insert_spaces_instead_of_tabs ()</h3>
|
769
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
770
|
+
gtk_source_view_get_insert_spaces_instead_of_tabs
|
771
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
|
772
|
+
<p>Returns whether when inserting a tabulator character it should
|
773
|
+
be replaced by a group of space characters.</p>
|
774
|
+
<div class="refsect3">
|
775
|
+
<a name="id-1.2.30.11.11.5"></a><h4>Parameters</h4>
|
776
|
+
<div class="informaltable"><table width="100%" border="0">
|
777
|
+
<colgroup>
|
778
|
+
<col width="150px" class="parameters_name">
|
779
|
+
<col class="parameters_description">
|
780
|
+
<col width="200px" class="parameters_annotations">
|
781
|
+
</colgroup>
|
782
|
+
<tbody><tr>
|
783
|
+
<td class="parameter_name"><p>view</p></td>
|
784
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
785
|
+
<td class="parameter_annotations"> </td>
|
786
|
+
</tr></tbody>
|
787
|
+
</table></div>
|
788
|
+
</div>
|
789
|
+
<div class="refsect3">
|
790
|
+
<a name="id-1.2.30.11.11.6"></a><h4>Returns</h4>
|
791
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if spaces are inserted instead of tabs.</p>
|
792
|
+
<p></p>
|
793
|
+
</div>
|
794
|
+
</div>
|
795
|
+
<hr>
|
796
|
+
<div class="refsect2">
|
797
|
+
<a name="gtk-source-view-set-smart-home-end"></a><h3>gtk_source_view_set_smart_home_end ()</h3>
|
798
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
799
|
+
gtk_source_view_set_smart_home_end (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
|
800
|
+
<em class="parameter"><code><a class="link" href="GtkSourceView.html#GtkSourceSmartHomeEndType" title="enum GtkSourceSmartHomeEndType"><span class="type">GtkSourceSmartHomeEndType</span></a> smart_he</code></em>);</pre>
|
801
|
+
<p>Set the desired movement of the cursor when HOME and END keys
|
802
|
+
are pressed.</p>
|
803
|
+
<div class="refsect3">
|
804
|
+
<a name="id-1.2.30.11.12.5"></a><h4>Parameters</h4>
|
805
|
+
<div class="informaltable"><table width="100%" border="0">
|
806
|
+
<colgroup>
|
807
|
+
<col width="150px" class="parameters_name">
|
808
|
+
<col class="parameters_description">
|
809
|
+
<col width="200px" class="parameters_annotations">
|
810
|
+
</colgroup>
|
811
|
+
<tbody>
|
812
|
+
<tr>
|
813
|
+
<td class="parameter_name"><p>view</p></td>
|
814
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
815
|
+
<td class="parameter_annotations"> </td>
|
816
|
+
</tr>
|
817
|
+
<tr>
|
818
|
+
<td class="parameter_name"><p>smart_he</p></td>
|
819
|
+
<td class="parameter_description"><p>the desired behavior among <a class="link" href="GtkSourceView.html#GtkSourceSmartHomeEndType" title="enum GtkSourceSmartHomeEndType"><span class="type">GtkSourceSmartHomeEndType</span></a>.</p></td>
|
820
|
+
<td class="parameter_annotations"> </td>
|
821
|
+
</tr>
|
822
|
+
</tbody>
|
823
|
+
</table></div>
|
824
|
+
</div>
|
825
|
+
</div>
|
826
|
+
<hr>
|
827
|
+
<div class="refsect2">
|
828
|
+
<a name="gtk-source-view-get-smart-home-end"></a><h3>gtk_source_view_get_smart_home_end ()</h3>
|
829
|
+
<pre class="programlisting"><a class="link" href="GtkSourceView.html#GtkSourceSmartHomeEndType" title="enum GtkSourceSmartHomeEndType"><span class="returnvalue">GtkSourceSmartHomeEndType</span></a>
|
830
|
+
gtk_source_view_get_smart_home_end (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
|
831
|
+
<p>Returns a <a class="link" href="GtkSourceView.html#GtkSourceSmartHomeEndType" title="enum GtkSourceSmartHomeEndType"><span class="type">GtkSourceSmartHomeEndType</span></a> end value specifying
|
832
|
+
how the cursor will move when HOME and END keys are pressed.</p>
|
833
|
+
<div class="refsect3">
|
834
|
+
<a name="id-1.2.30.11.13.5"></a><h4>Parameters</h4>
|
835
|
+
<div class="informaltable"><table width="100%" border="0">
|
836
|
+
<colgroup>
|
837
|
+
<col width="150px" class="parameters_name">
|
838
|
+
<col class="parameters_description">
|
839
|
+
<col width="200px" class="parameters_annotations">
|
840
|
+
</colgroup>
|
841
|
+
<tbody><tr>
|
842
|
+
<td class="parameter_name"><p>view</p></td>
|
843
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
844
|
+
<td class="parameter_annotations"> </td>
|
845
|
+
</tr></tbody>
|
846
|
+
</table></div>
|
847
|
+
</div>
|
848
|
+
<div class="refsect3">
|
849
|
+
<a name="id-1.2.30.11.13.6"></a><h4>Returns</h4>
|
850
|
+
<p> a <a class="link" href="GtkSourceView.html#GtkSourceSmartHomeEndType" title="enum GtkSourceSmartHomeEndType"><span class="type">GtkSourceSmartHomeEndType</span></a> value.</p>
|
851
|
+
<p></p>
|
852
|
+
</div>
|
853
|
+
</div>
|
854
|
+
<hr>
|
855
|
+
<div class="refsect2">
|
856
|
+
<a name="gtk-source-view-set-mark-attributes"></a><h3>gtk_source_view_set_mark_attributes ()</h3>
|
857
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
858
|
+
gtk_source_view_set_mark_attributes (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
|
859
|
+
<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>,
|
860
|
+
<em class="parameter"><code><a class="link" href="GtkSourceMarkAttributes.html" title="GtkSourceMarkAttributes"><span class="type">GtkSourceMarkAttributes</span></a> *attributes</code></em>,
|
861
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> priority</code></em>);</pre>
|
862
|
+
<p>Sets attributes and priority for the <em class="parameter"><code>category</code></em>
|
863
|
+
.</p>
|
864
|
+
<div class="refsect3">
|
865
|
+
<a name="id-1.2.30.11.14.5"></a><h4>Parameters</h4>
|
866
|
+
<div class="informaltable"><table width="100%" border="0">
|
867
|
+
<colgroup>
|
868
|
+
<col width="150px" class="parameters_name">
|
869
|
+
<col class="parameters_description">
|
870
|
+
<col width="200px" class="parameters_annotations">
|
871
|
+
</colgroup>
|
872
|
+
<tbody>
|
873
|
+
<tr>
|
874
|
+
<td class="parameter_name"><p>view</p></td>
|
875
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
876
|
+
<td class="parameter_annotations"> </td>
|
877
|
+
</tr>
|
878
|
+
<tr>
|
879
|
+
<td class="parameter_name"><p>category</p></td>
|
880
|
+
<td class="parameter_description"><p>the category.</p></td>
|
881
|
+
<td class="parameter_annotations"> </td>
|
882
|
+
</tr>
|
883
|
+
<tr>
|
884
|
+
<td class="parameter_name"><p>attributes</p></td>
|
885
|
+
<td class="parameter_description"><p>mark attributes.</p></td>
|
886
|
+
<td class="parameter_annotations"> </td>
|
887
|
+
</tr>
|
888
|
+
<tr>
|
889
|
+
<td class="parameter_name"><p>priority</p></td>
|
890
|
+
<td class="parameter_description"><p>priority of the category.</p></td>
|
891
|
+
<td class="parameter_annotations"> </td>
|
892
|
+
</tr>
|
893
|
+
</tbody>
|
894
|
+
</table></div>
|
895
|
+
</div>
|
896
|
+
</div>
|
897
|
+
<hr>
|
898
|
+
<div class="refsect2">
|
899
|
+
<a name="gtk-source-view-get-mark-attributes"></a><h3>gtk_source_view_get_mark_attributes ()</h3>
|
900
|
+
<pre class="programlisting"><a class="link" href="GtkSourceMarkAttributes.html" title="GtkSourceMarkAttributes"><span class="returnvalue">GtkSourceMarkAttributes</span></a> *
|
901
|
+
gtk_source_view_get_mark_attributes (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
|
902
|
+
<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>,
|
903
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *priority</code></em>);</pre>
|
904
|
+
<p>Gets attributes and priority for the <em class="parameter"><code>category</code></em>
|
905
|
+
.</p>
|
906
|
+
<div class="refsect3">
|
907
|
+
<a name="id-1.2.30.11.15.5"></a><h4>Parameters</h4>
|
908
|
+
<div class="informaltable"><table width="100%" border="0">
|
909
|
+
<colgroup>
|
910
|
+
<col width="150px" class="parameters_name">
|
911
|
+
<col class="parameters_description">
|
912
|
+
<col width="200px" class="parameters_annotations">
|
913
|
+
</colgroup>
|
914
|
+
<tbody>
|
915
|
+
<tr>
|
916
|
+
<td class="parameter_name"><p>view</p></td>
|
917
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
918
|
+
<td class="parameter_annotations"> </td>
|
919
|
+
</tr>
|
920
|
+
<tr>
|
921
|
+
<td class="parameter_name"><p>category</p></td>
|
922
|
+
<td class="parameter_description"><p>the category.</p></td>
|
923
|
+
<td class="parameter_annotations"> </td>
|
924
|
+
</tr>
|
925
|
+
<tr>
|
926
|
+
<td class="parameter_name"><p>priority</p></td>
|
927
|
+
<td class="parameter_description"><p>place where priority of the category will be stored.</p></td>
|
928
|
+
<td class="parameter_annotations"> </td>
|
929
|
+
</tr>
|
930
|
+
</tbody>
|
931
|
+
</table></div>
|
932
|
+
</div>
|
933
|
+
<div class="refsect3">
|
934
|
+
<a name="id-1.2.30.11.15.6"></a><h4>Returns</h4>
|
935
|
+
<p> <a class="link" href="GtkSourceMarkAttributes.html" title="GtkSourceMarkAttributes"><span class="type">GtkSourceMarkAttributes</span></a> for the <em class="parameter"><code>category</code></em>
|
936
|
+
.
|
937
|
+
The object belongs to <em class="parameter"><code>view</code></em>
|
938
|
+
, so it must not be unreffed. </p>
|
939
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
940
|
+
</div>
|
941
|
+
</div>
|
942
|
+
<hr>
|
943
|
+
<div class="refsect2">
|
944
|
+
<a name="gtk-source-view-set-highlight-current-line"></a><h3>gtk_source_view_set_highlight_current_line ()</h3>
|
945
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
946
|
+
gtk_source_view_set_highlight_current_line
|
947
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
|
948
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> hl</code></em>);</pre>
|
949
|
+
<p>If <em class="parameter"><code>hl</code></em>
|
950
|
+
is <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> the current line is highlighted.</p>
|
951
|
+
<div class="refsect3">
|
952
|
+
<a name="id-1.2.30.11.16.5"></a><h4>Parameters</h4>
|
953
|
+
<div class="informaltable"><table width="100%" border="0">
|
954
|
+
<colgroup>
|
955
|
+
<col width="150px" class="parameters_name">
|
956
|
+
<col class="parameters_description">
|
957
|
+
<col width="200px" class="parameters_annotations">
|
958
|
+
</colgroup>
|
959
|
+
<tbody>
|
960
|
+
<tr>
|
961
|
+
<td class="parameter_name"><p>view</p></td>
|
962
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
963
|
+
<td class="parameter_annotations"> </td>
|
964
|
+
</tr>
|
965
|
+
<tr>
|
966
|
+
<td class="parameter_name"><p>hl</p></td>
|
967
|
+
<td class="parameter_description"><p>whether to highlight the current line.</p></td>
|
968
|
+
<td class="parameter_annotations"> </td>
|
969
|
+
</tr>
|
970
|
+
</tbody>
|
971
|
+
</table></div>
|
972
|
+
</div>
|
973
|
+
</div>
|
974
|
+
<hr>
|
975
|
+
<div class="refsect2">
|
976
|
+
<a name="gtk-source-view-get-highlight-current-line"></a><h3>gtk_source_view_get_highlight_current_line ()</h3>
|
977
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
978
|
+
gtk_source_view_get_highlight_current_line
|
979
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
|
980
|
+
<p>Returns whether the current line is highlighted.</p>
|
981
|
+
<div class="refsect3">
|
982
|
+
<a name="id-1.2.30.11.17.5"></a><h4>Parameters</h4>
|
983
|
+
<div class="informaltable"><table width="100%" border="0">
|
984
|
+
<colgroup>
|
985
|
+
<col width="150px" class="parameters_name">
|
986
|
+
<col class="parameters_description">
|
987
|
+
<col width="200px" class="parameters_annotations">
|
988
|
+
</colgroup>
|
989
|
+
<tbody><tr>
|
990
|
+
<td class="parameter_name"><p>view</p></td>
|
991
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
992
|
+
<td class="parameter_annotations"> </td>
|
993
|
+
</tr></tbody>
|
994
|
+
</table></div>
|
995
|
+
</div>
|
996
|
+
<div class="refsect3">
|
997
|
+
<a name="id-1.2.30.11.17.6"></a><h4>Returns</h4>
|
998
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the current line is highlighted.</p>
|
999
|
+
<p></p>
|
1000
|
+
</div>
|
1001
|
+
</div>
|
1002
|
+
<hr>
|
1003
|
+
<div class="refsect2">
|
1004
|
+
<a name="gtk-source-view-set-show-line-marks"></a><h3>gtk_source_view_set_show_line_marks ()</h3>
|
1005
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1006
|
+
gtk_source_view_set_show_line_marks (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
|
1007
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show</code></em>);</pre>
|
1008
|
+
<p>If <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> line marks will be displayed beside the text.</p>
|
1009
|
+
<div class="refsect3">
|
1010
|
+
<a name="id-1.2.30.11.18.5"></a><h4>Parameters</h4>
|
1011
|
+
<div class="informaltable"><table width="100%" border="0">
|
1012
|
+
<colgroup>
|
1013
|
+
<col width="150px" class="parameters_name">
|
1014
|
+
<col class="parameters_description">
|
1015
|
+
<col width="200px" class="parameters_annotations">
|
1016
|
+
</colgroup>
|
1017
|
+
<tbody>
|
1018
|
+
<tr>
|
1019
|
+
<td class="parameter_name"><p>view</p></td>
|
1020
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
1021
|
+
<td class="parameter_annotations"> </td>
|
1022
|
+
</tr>
|
1023
|
+
<tr>
|
1024
|
+
<td class="parameter_name"><p>show</p></td>
|
1025
|
+
<td class="parameter_description"><p>whether line marks should be displayed.</p></td>
|
1026
|
+
<td class="parameter_annotations"> </td>
|
1027
|
+
</tr>
|
1028
|
+
</tbody>
|
1029
|
+
</table></div>
|
1030
|
+
</div>
|
1031
|
+
<p class="since">Since 2.2</p>
|
1032
|
+
</div>
|
1033
|
+
<hr>
|
1034
|
+
<div class="refsect2">
|
1035
|
+
<a name="gtk-source-view-get-show-line-marks"></a><h3>gtk_source_view_get_show_line_marks ()</h3>
|
1036
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1037
|
+
gtk_source_view_get_show_line_marks (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
|
1038
|
+
<p>Returns whether line marks are displayed beside the text.</p>
|
1039
|
+
<div class="refsect3">
|
1040
|
+
<a name="id-1.2.30.11.19.5"></a><h4>Parameters</h4>
|
1041
|
+
<div class="informaltable"><table width="100%" border="0">
|
1042
|
+
<colgroup>
|
1043
|
+
<col width="150px" class="parameters_name">
|
1044
|
+
<col class="parameters_description">
|
1045
|
+
<col width="200px" class="parameters_annotations">
|
1046
|
+
</colgroup>
|
1047
|
+
<tbody><tr>
|
1048
|
+
<td class="parameter_name"><p>view</p></td>
|
1049
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
1050
|
+
<td class="parameter_annotations"> </td>
|
1051
|
+
</tr></tbody>
|
1052
|
+
</table></div>
|
1053
|
+
</div>
|
1054
|
+
<div class="refsect3">
|
1055
|
+
<a name="id-1.2.30.11.19.6"></a><h4>Returns</h4>
|
1056
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the line marks are displayed.</p>
|
1057
|
+
<p></p>
|
1058
|
+
</div>
|
1059
|
+
<p class="since">Since 2.2</p>
|
1060
|
+
</div>
|
1061
|
+
<hr>
|
1062
|
+
<div class="refsect2">
|
1063
|
+
<a name="gtk-source-view-set-show-line-numbers"></a><h3>gtk_source_view_set_show_line_numbers ()</h3>
|
1064
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1065
|
+
gtk_source_view_set_show_line_numbers (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
|
1066
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show</code></em>);</pre>
|
1067
|
+
<p>If <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> line numbers will be displayed beside the text.</p>
|
1068
|
+
<div class="refsect3">
|
1069
|
+
<a name="id-1.2.30.11.20.5"></a><h4>Parameters</h4>
|
1070
|
+
<div class="informaltable"><table width="100%" border="0">
|
1071
|
+
<colgroup>
|
1072
|
+
<col width="150px" class="parameters_name">
|
1073
|
+
<col class="parameters_description">
|
1074
|
+
<col width="200px" class="parameters_annotations">
|
1075
|
+
</colgroup>
|
1076
|
+
<tbody>
|
1077
|
+
<tr>
|
1078
|
+
<td class="parameter_name"><p>view</p></td>
|
1079
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
1080
|
+
<td class="parameter_annotations"> </td>
|
1081
|
+
</tr>
|
1082
|
+
<tr>
|
1083
|
+
<td class="parameter_name"><p>show</p></td>
|
1084
|
+
<td class="parameter_description"><p>whether line numbers should be displayed.</p></td>
|
1085
|
+
<td class="parameter_annotations"> </td>
|
1086
|
+
</tr>
|
1087
|
+
</tbody>
|
1088
|
+
</table></div>
|
1089
|
+
</div>
|
1090
|
+
</div>
|
1091
|
+
<hr>
|
1092
|
+
<div class="refsect2">
|
1093
|
+
<a name="gtk-source-view-get-show-line-numbers"></a><h3>gtk_source_view_get_show_line_numbers ()</h3>
|
1094
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1095
|
+
gtk_source_view_get_show_line_numbers (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
|
1096
|
+
<p>Returns whether line numbers are displayed beside the text.</p>
|
1097
|
+
<div class="refsect3">
|
1098
|
+
<a name="id-1.2.30.11.21.5"></a><h4>Parameters</h4>
|
1099
|
+
<div class="informaltable"><table width="100%" border="0">
|
1100
|
+
<colgroup>
|
1101
|
+
<col width="150px" class="parameters_name">
|
1102
|
+
<col class="parameters_description">
|
1103
|
+
<col width="200px" class="parameters_annotations">
|
1104
|
+
</colgroup>
|
1105
|
+
<tbody><tr>
|
1106
|
+
<td class="parameter_name"><p>view</p></td>
|
1107
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
1108
|
+
<td class="parameter_annotations"> </td>
|
1109
|
+
</tr></tbody>
|
1110
|
+
</table></div>
|
1111
|
+
</div>
|
1112
|
+
<div class="refsect3">
|
1113
|
+
<a name="id-1.2.30.11.21.6"></a><h4>Returns</h4>
|
1114
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the line numbers are displayed.</p>
|
1115
|
+
<p></p>
|
1116
|
+
</div>
|
1117
|
+
</div>
|
1118
|
+
<hr>
|
1119
|
+
<div class="refsect2">
|
1120
|
+
<a name="gtk-source-view-set-show-right-margin"></a><h3>gtk_source_view_set_show_right_margin ()</h3>
|
1121
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1122
|
+
gtk_source_view_set_show_right_margin (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
|
1123
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show</code></em>);</pre>
|
1124
|
+
<p>If <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> a right margin is displayed.</p>
|
1125
|
+
<div class="refsect3">
|
1126
|
+
<a name="id-1.2.30.11.22.5"></a><h4>Parameters</h4>
|
1127
|
+
<div class="informaltable"><table width="100%" border="0">
|
1128
|
+
<colgroup>
|
1129
|
+
<col width="150px" class="parameters_name">
|
1130
|
+
<col class="parameters_description">
|
1131
|
+
<col width="200px" class="parameters_annotations">
|
1132
|
+
</colgroup>
|
1133
|
+
<tbody>
|
1134
|
+
<tr>
|
1135
|
+
<td class="parameter_name"><p>view</p></td>
|
1136
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
1137
|
+
<td class="parameter_annotations"> </td>
|
1138
|
+
</tr>
|
1139
|
+
<tr>
|
1140
|
+
<td class="parameter_name"><p>show</p></td>
|
1141
|
+
<td class="parameter_description"><p>whether to show a right margin.</p></td>
|
1142
|
+
<td class="parameter_annotations"> </td>
|
1143
|
+
</tr>
|
1144
|
+
</tbody>
|
1145
|
+
</table></div>
|
1146
|
+
</div>
|
1147
|
+
</div>
|
1148
|
+
<hr>
|
1149
|
+
<div class="refsect2">
|
1150
|
+
<a name="gtk-source-view-get-show-right-margin"></a><h3>gtk_source_view_get_show_right_margin ()</h3>
|
1151
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1152
|
+
gtk_source_view_get_show_right_margin (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
|
1153
|
+
<p>Returns whether a right margin is displayed.</p>
|
1154
|
+
<div class="refsect3">
|
1155
|
+
<a name="id-1.2.30.11.23.5"></a><h4>Parameters</h4>
|
1156
|
+
<div class="informaltable"><table width="100%" border="0">
|
1157
|
+
<colgroup>
|
1158
|
+
<col width="150px" class="parameters_name">
|
1159
|
+
<col class="parameters_description">
|
1160
|
+
<col width="200px" class="parameters_annotations">
|
1161
|
+
</colgroup>
|
1162
|
+
<tbody><tr>
|
1163
|
+
<td class="parameter_name"><p>view</p></td>
|
1164
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
1165
|
+
<td class="parameter_annotations"> </td>
|
1166
|
+
</tr></tbody>
|
1167
|
+
</table></div>
|
1168
|
+
</div>
|
1169
|
+
<div class="refsect3">
|
1170
|
+
<a name="id-1.2.30.11.23.6"></a><h4>Returns</h4>
|
1171
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the right margin is shown.</p>
|
1172
|
+
<p></p>
|
1173
|
+
</div>
|
1174
|
+
</div>
|
1175
|
+
<hr>
|
1176
|
+
<div class="refsect2">
|
1177
|
+
<a name="gtk-source-view-set-right-margin-position"></a><h3>gtk_source_view_set_right_margin_position ()</h3>
|
1178
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1179
|
+
gtk_source_view_set_right_margin_position
|
1180
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
|
1181
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> pos</code></em>);</pre>
|
1182
|
+
<p>Sets the position of the right margin in the given <em class="parameter"><code>view</code></em>
|
1183
|
+
.</p>
|
1184
|
+
<div class="refsect3">
|
1185
|
+
<a name="id-1.2.30.11.24.5"></a><h4>Parameters</h4>
|
1186
|
+
<div class="informaltable"><table width="100%" border="0">
|
1187
|
+
<colgroup>
|
1188
|
+
<col width="150px" class="parameters_name">
|
1189
|
+
<col class="parameters_description">
|
1190
|
+
<col width="200px" class="parameters_annotations">
|
1191
|
+
</colgroup>
|
1192
|
+
<tbody>
|
1193
|
+
<tr>
|
1194
|
+
<td class="parameter_name"><p>view</p></td>
|
1195
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
1196
|
+
<td class="parameter_annotations"> </td>
|
1197
|
+
</tr>
|
1198
|
+
<tr>
|
1199
|
+
<td class="parameter_name"><p>pos</p></td>
|
1200
|
+
<td class="parameter_description"><p>the width in characters where to position the right margin.</p></td>
|
1201
|
+
<td class="parameter_annotations"> </td>
|
1202
|
+
</tr>
|
1203
|
+
</tbody>
|
1204
|
+
</table></div>
|
1205
|
+
</div>
|
1206
|
+
</div>
|
1207
|
+
<hr>
|
1208
|
+
<div class="refsect2">
|
1209
|
+
<a name="gtk-source-view-get-right-margin-position"></a><h3>gtk_source_view_get_right_margin_position ()</h3>
|
1210
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
1211
|
+
gtk_source_view_get_right_margin_position
|
1212
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
|
1213
|
+
<p>Gets the position of the right margin in the given <em class="parameter"><code>view</code></em>
|
1214
|
+
.</p>
|
1215
|
+
<div class="refsect3">
|
1216
|
+
<a name="id-1.2.30.11.25.5"></a><h4>Parameters</h4>
|
1217
|
+
<div class="informaltable"><table width="100%" border="0">
|
1218
|
+
<colgroup>
|
1219
|
+
<col width="150px" class="parameters_name">
|
1220
|
+
<col class="parameters_description">
|
1221
|
+
<col width="200px" class="parameters_annotations">
|
1222
|
+
</colgroup>
|
1223
|
+
<tbody><tr>
|
1224
|
+
<td class="parameter_name"><p>view</p></td>
|
1225
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
1226
|
+
<td class="parameter_annotations"> </td>
|
1227
|
+
</tr></tbody>
|
1228
|
+
</table></div>
|
1229
|
+
</div>
|
1230
|
+
<div class="refsect3">
|
1231
|
+
<a name="id-1.2.30.11.25.6"></a><h4>Returns</h4>
|
1232
|
+
<p> the position of the right margin.</p>
|
1233
|
+
<p></p>
|
1234
|
+
</div>
|
1235
|
+
</div>
|
1236
|
+
<hr>
|
1237
|
+
<div class="refsect2">
|
1238
|
+
<a name="gtk-source-view-set-tab-width"></a><h3>gtk_source_view_set_tab_width ()</h3>
|
1239
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1240
|
+
gtk_source_view_set_tab_width (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
|
1241
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> width</code></em>);</pre>
|
1242
|
+
<p>Sets the width of tabulation in characters.</p>
|
1243
|
+
<div class="refsect3">
|
1244
|
+
<a name="id-1.2.30.11.26.5"></a><h4>Parameters</h4>
|
1245
|
+
<div class="informaltable"><table width="100%" border="0">
|
1246
|
+
<colgroup>
|
1247
|
+
<col width="150px" class="parameters_name">
|
1248
|
+
<col class="parameters_description">
|
1249
|
+
<col width="200px" class="parameters_annotations">
|
1250
|
+
</colgroup>
|
1251
|
+
<tbody>
|
1252
|
+
<tr>
|
1253
|
+
<td class="parameter_name"><p>view</p></td>
|
1254
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
1255
|
+
<td class="parameter_annotations"> </td>
|
1256
|
+
</tr>
|
1257
|
+
<tr>
|
1258
|
+
<td class="parameter_name"><p>width</p></td>
|
1259
|
+
<td class="parameter_description"><p>width of tab in characters.</p></td>
|
1260
|
+
<td class="parameter_annotations"> </td>
|
1261
|
+
</tr>
|
1262
|
+
</tbody>
|
1263
|
+
</table></div>
|
1264
|
+
</div>
|
1265
|
+
</div>
|
1266
|
+
<hr>
|
1267
|
+
<div class="refsect2">
|
1268
|
+
<a name="gtk-source-view-get-tab-width"></a><h3>gtk_source_view_get_tab_width ()</h3>
|
1269
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
1270
|
+
gtk_source_view_get_tab_width (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
|
1271
|
+
<p>Returns the width of tabulation in characters.</p>
|
1272
|
+
<div class="refsect3">
|
1273
|
+
<a name="id-1.2.30.11.27.5"></a><h4>Parameters</h4>
|
1274
|
+
<div class="informaltable"><table width="100%" border="0">
|
1275
|
+
<colgroup>
|
1276
|
+
<col width="150px" class="parameters_name">
|
1277
|
+
<col class="parameters_description">
|
1278
|
+
<col width="200px" class="parameters_annotations">
|
1279
|
+
</colgroup>
|
1280
|
+
<tbody><tr>
|
1281
|
+
<td class="parameter_name"><p>view</p></td>
|
1282
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
1283
|
+
<td class="parameter_annotations"> </td>
|
1284
|
+
</tr></tbody>
|
1285
|
+
</table></div>
|
1286
|
+
</div>
|
1287
|
+
<div class="refsect3">
|
1288
|
+
<a name="id-1.2.30.11.27.6"></a><h4>Returns</h4>
|
1289
|
+
<p> width of tab.</p>
|
1290
|
+
<p></p>
|
1291
|
+
</div>
|
1292
|
+
</div>
|
1293
|
+
<hr>
|
1294
|
+
<div class="refsect2">
|
1295
|
+
<a name="gtk-source-view-set-draw-spaces"></a><h3>gtk_source_view_set_draw_spaces ()</h3>
|
1296
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1297
|
+
gtk_source_view_set_draw_spaces (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
|
1298
|
+
<em class="parameter"><code><a class="link" href="GtkSourceView.html#GtkSourceDrawSpacesFlags" title="enum GtkSourceDrawSpacesFlags"><span class="type">GtkSourceDrawSpacesFlags</span></a> flags</code></em>);</pre>
|
1299
|
+
<p>Set if and how the spaces should be visualized. Specifying <em class="parameter"><code>flags</code></em>
|
1300
|
+
as 0 will
|
1301
|
+
disable display of spaces.</p>
|
1302
|
+
<div class="refsect3">
|
1303
|
+
<a name="id-1.2.30.11.28.5"></a><h4>Parameters</h4>
|
1304
|
+
<div class="informaltable"><table width="100%" border="0">
|
1305
|
+
<colgroup>
|
1306
|
+
<col width="150px" class="parameters_name">
|
1307
|
+
<col class="parameters_description">
|
1308
|
+
<col width="200px" class="parameters_annotations">
|
1309
|
+
</colgroup>
|
1310
|
+
<tbody>
|
1311
|
+
<tr>
|
1312
|
+
<td class="parameter_name"><p>view</p></td>
|
1313
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
1314
|
+
<td class="parameter_annotations"> </td>
|
1315
|
+
</tr>
|
1316
|
+
<tr>
|
1317
|
+
<td class="parameter_name"><p>flags</p></td>
|
1318
|
+
<td class="parameter_description"><p><a class="link" href="GtkSourceView.html#GtkSourceDrawSpacesFlags" title="enum GtkSourceDrawSpacesFlags"><span class="type">GtkSourceDrawSpacesFlags</span></a> specifing how white spaces should
|
1319
|
+
be displayed</p></td>
|
1320
|
+
<td class="parameter_annotations"> </td>
|
1321
|
+
</tr>
|
1322
|
+
</tbody>
|
1323
|
+
</table></div>
|
1324
|
+
</div>
|
1325
|
+
</div>
|
1326
|
+
<hr>
|
1327
|
+
<div class="refsect2">
|
1328
|
+
<a name="gtk-source-view-get-draw-spaces"></a><h3>gtk_source_view_get_draw_spaces ()</h3>
|
1329
|
+
<pre class="programlisting"><a class="link" href="GtkSourceView.html#GtkSourceDrawSpacesFlags" title="enum GtkSourceDrawSpacesFlags"><span class="returnvalue">GtkSourceDrawSpacesFlags</span></a>
|
1330
|
+
gtk_source_view_get_draw_spaces (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
|
1331
|
+
<p>Returns the <a class="link" href="GtkSourceView.html#GtkSourceDrawSpacesFlags" title="enum GtkSourceDrawSpacesFlags"><span class="type">GtkSourceDrawSpacesFlags</span></a> specifying if and how spaces
|
1332
|
+
should be displayed for this <em class="parameter"><code>view</code></em>
|
1333
|
+
.</p>
|
1334
|
+
<div class="refsect3">
|
1335
|
+
<a name="id-1.2.30.11.29.5"></a><h4>Parameters</h4>
|
1336
|
+
<div class="informaltable"><table width="100%" border="0">
|
1337
|
+
<colgroup>
|
1338
|
+
<col width="150px" class="parameters_name">
|
1339
|
+
<col class="parameters_description">
|
1340
|
+
<col width="200px" class="parameters_annotations">
|
1341
|
+
</colgroup>
|
1342
|
+
<tbody><tr>
|
1343
|
+
<td class="parameter_name"><p>view</p></td>
|
1344
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a></p></td>
|
1345
|
+
<td class="parameter_annotations"> </td>
|
1346
|
+
</tr></tbody>
|
1347
|
+
</table></div>
|
1348
|
+
</div>
|
1349
|
+
<div class="refsect3">
|
1350
|
+
<a name="id-1.2.30.11.29.6"></a><h4>Returns</h4>
|
1351
|
+
<p> the <a class="link" href="GtkSourceView.html#GtkSourceDrawSpacesFlags" title="enum GtkSourceDrawSpacesFlags"><span class="type">GtkSourceDrawSpacesFlags</span></a>, 0 if no spaces should be drawn.</p>
|
1352
|
+
<p></p>
|
1353
|
+
</div>
|
1354
|
+
</div>
|
1355
|
+
<hr>
|
1356
|
+
<div class="refsect2">
|
1357
|
+
<a name="gtk-source-view-get-completion"></a><h3>gtk_source_view_get_completion ()</h3>
|
1358
|
+
<pre class="programlisting"><a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="returnvalue">GtkSourceCompletion</span></a> *
|
1359
|
+
gtk_source_view_get_completion (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
|
1360
|
+
<p>Gets the <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> associated with <em class="parameter"><code>view</code></em>
|
1361
|
+
.</p>
|
1362
|
+
<div class="refsect3">
|
1363
|
+
<a name="id-1.2.30.11.30.5"></a><h4>Parameters</h4>
|
1364
|
+
<div class="informaltable"><table width="100%" border="0">
|
1365
|
+
<colgroup>
|
1366
|
+
<col width="150px" class="parameters_name">
|
1367
|
+
<col class="parameters_description">
|
1368
|
+
<col width="200px" class="parameters_annotations">
|
1369
|
+
</colgroup>
|
1370
|
+
<tbody><tr>
|
1371
|
+
<td class="parameter_name"><p>view</p></td>
|
1372
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
1373
|
+
<td class="parameter_annotations"> </td>
|
1374
|
+
</tr></tbody>
|
1375
|
+
</table></div>
|
1376
|
+
</div>
|
1377
|
+
<div class="refsect3">
|
1378
|
+
<a name="id-1.2.30.11.30.6"></a><h4>Returns</h4>
|
1379
|
+
<p>the <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> associated with <em class="parameter"><code>view</code></em>
|
1380
|
+
. </p>
|
1381
|
+
<p><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GtkSource.Completion][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
1382
|
+
</div>
|
1383
|
+
</div>
|
1384
|
+
<hr>
|
1385
|
+
<div class="refsect2">
|
1386
|
+
<a name="gtk-source-view-get-gutter"></a><h3>gtk_source_view_get_gutter ()</h3>
|
1387
|
+
<pre class="programlisting"><a class="link" href="GtkSourceGutter.html" title="GtkSourceGutter"><span class="returnvalue">GtkSourceGutter</span></a> *
|
1388
|
+
gtk_source_view_get_gutter (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
|
1389
|
+
<em class="parameter"><code><a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextView.html#GtkTextWindowType"><span class="type">GtkTextWindowType</span></a> window_type</code></em>);</pre>
|
1390
|
+
<p>Returns the <a class="link" href="GtkSourceGutter.html" title="GtkSourceGutter"><span class="type">GtkSourceGutter</span></a> object associated with <em class="parameter"><code>window_type</code></em>
|
1391
|
+
for <em class="parameter"><code>view</code></em>
|
1392
|
+
.
|
1393
|
+
Only GTK_TEXT_WINDOW_LEFT and GTK_TEXT_WINDOW_RIGHT are supported,
|
1394
|
+
respectively corresponding to the left and right gutter. The line numbers
|
1395
|
+
and mark category icons are rendered in the left gutter.</p>
|
1396
|
+
<div class="refsect3">
|
1397
|
+
<a name="id-1.2.30.11.31.5"></a><h4>Parameters</h4>
|
1398
|
+
<div class="informaltable"><table width="100%" border="0">
|
1399
|
+
<colgroup>
|
1400
|
+
<col width="150px" class="parameters_name">
|
1401
|
+
<col class="parameters_description">
|
1402
|
+
<col width="200px" class="parameters_annotations">
|
1403
|
+
</colgroup>
|
1404
|
+
<tbody>
|
1405
|
+
<tr>
|
1406
|
+
<td class="parameter_name"><p>view</p></td>
|
1407
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
1408
|
+
<td class="parameter_annotations"> </td>
|
1409
|
+
</tr>
|
1410
|
+
<tr>
|
1411
|
+
<td class="parameter_name"><p>window_type</p></td>
|
1412
|
+
<td class="parameter_description"><p>the gutter window type.</p></td>
|
1413
|
+
<td class="parameter_annotations"> </td>
|
1414
|
+
</tr>
|
1415
|
+
</tbody>
|
1416
|
+
</table></div>
|
1417
|
+
</div>
|
1418
|
+
<div class="refsect3">
|
1419
|
+
<a name="id-1.2.30.11.31.6"></a><h4>Returns</h4>
|
1420
|
+
<p> the <a class="link" href="GtkSourceGutter.html" title="GtkSourceGutter"><span class="type">GtkSourceGutter</span></a>. </p>
|
1421
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
1422
|
+
</div>
|
1423
|
+
<p class="since">Since 2.8</p>
|
1424
|
+
</div>
|
1425
|
+
<hr>
|
1426
|
+
<div class="refsect2">
|
1427
|
+
<a name="gtk-source-view-get-visual-column"></a><h3>gtk_source_view_get_visual_column ()</h3>
|
1428
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
1429
|
+
gtk_source_view_get_visual_column (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
|
1430
|
+
<em class="parameter"><code>const <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>);</pre>
|
1431
|
+
<p>Determines the visual column at <em class="parameter"><code>iter</code></em>
|
1432
|
+
taking into
|
1433
|
+
consideration the indent width of <em class="parameter"><code>view</code></em>
|
1434
|
+
.</p>
|
1435
|
+
<div class="refsect3">
|
1436
|
+
<a name="id-1.2.30.11.32.5"></a><h4>Parameters</h4>
|
1437
|
+
<div class="informaltable"><table width="100%" border="0">
|
1438
|
+
<colgroup>
|
1439
|
+
<col width="150px" class="parameters_name">
|
1440
|
+
<col class="parameters_description">
|
1441
|
+
<col width="200px" class="parameters_annotations">
|
1442
|
+
</colgroup>
|
1443
|
+
<tbody>
|
1444
|
+
<tr>
|
1445
|
+
<td class="parameter_name"><p>view</p></td>
|
1446
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
1447
|
+
<td class="parameter_annotations"> </td>
|
1448
|
+
</tr>
|
1449
|
+
<tr>
|
1450
|
+
<td class="parameter_name"><p>iter</p></td>
|
1451
|
+
<td class="parameter_description"><p>a position in <em class="parameter"><code>view</code></em>
|
1452
|
+
.</p></td>
|
1453
|
+
<td class="parameter_annotations"> </td>
|
1454
|
+
</tr>
|
1455
|
+
</tbody>
|
1456
|
+
</table></div>
|
1457
|
+
</div>
|
1458
|
+
<div class="refsect3">
|
1459
|
+
<a name="id-1.2.30.11.32.6"></a><h4>Returns</h4>
|
1460
|
+
<p> the visual column at <em class="parameter"><code>iter</code></em>
|
1461
|
+
.</p>
|
1462
|
+
<p></p>
|
1463
|
+
</div>
|
1464
|
+
</div>
|
1465
|
+
</div>
|
1466
|
+
<div class="refsect1">
|
1467
|
+
<a name="GtkSourceView.other_details"></a><h2>Types and Values</h2>
|
1468
|
+
<div class="refsect2">
|
1469
|
+
<a name="GtkSourceView-struct"></a><h3>GtkSourceView</h3>
|
1470
|
+
<pre class="programlisting">typedef struct _GtkSourceView GtkSourceView;</pre>
|
1471
|
+
</div>
|
1472
|
+
<hr>
|
1473
|
+
<div class="refsect2">
|
1474
|
+
<a name="GtkSourceSmartHomeEndType"></a><h3>enum GtkSourceSmartHomeEndType</h3>
|
1475
|
+
<div class="refsect3">
|
1476
|
+
<a name="id-1.2.30.12.3.3"></a><h4>Members</h4>
|
1477
|
+
<div class="informaltable"><table width="100%" border="0">
|
1478
|
+
<colgroup>
|
1479
|
+
<col width="300px" class="enum_members_name">
|
1480
|
+
<col class="enum_members_description">
|
1481
|
+
<col width="200px" class="enum_members_annotations">
|
1482
|
+
</colgroup>
|
1483
|
+
<tbody>
|
1484
|
+
<tr>
|
1485
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-SMART-HOME-END-DISABLED:CAPS"></a>GTK_SOURCE_SMART_HOME_END_DISABLED</p></td>
|
1486
|
+
<td class="enum_member_description">
|
1487
|
+
<p>smart-home-end disabled.</p>
|
1488
|
+
</td>
|
1489
|
+
<td class="enum_member_annotations"> </td>
|
1490
|
+
</tr>
|
1491
|
+
<tr>
|
1492
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-SMART-HOME-END-BEFORE:CAPS"></a>GTK_SOURCE_SMART_HOME_END_BEFORE</p></td>
|
1493
|
+
<td class="enum_member_description">
|
1494
|
+
<p>move to the first/last
|
1495
|
+
non-whitespace character on the first press of the HOME/END keys and
|
1496
|
+
to the beginning/end of the line on the second press.</p>
|
1497
|
+
</td>
|
1498
|
+
<td class="enum_member_annotations"> </td>
|
1499
|
+
</tr>
|
1500
|
+
<tr>
|
1501
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-SMART-HOME-END-AFTER:CAPS"></a>GTK_SOURCE_SMART_HOME_END_AFTER</p></td>
|
1502
|
+
<td class="enum_member_description">
|
1503
|
+
<p>move to the beginning/end of the
|
1504
|
+
line on the first press of the HOME/END keys and to the first/last
|
1505
|
+
non-whitespace character on the second press.</p>
|
1506
|
+
</td>
|
1507
|
+
<td class="enum_member_annotations"> </td>
|
1508
|
+
</tr>
|
1509
|
+
<tr>
|
1510
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-SMART-HOME-END-ALWAYS:CAPS"></a>GTK_SOURCE_SMART_HOME_END_ALWAYS</p></td>
|
1511
|
+
<td class="enum_member_description">
|
1512
|
+
<p>always move to the first/last
|
1513
|
+
non-whitespace character when the HOME/END keys are pressed.</p>
|
1514
|
+
</td>
|
1515
|
+
<td class="enum_member_annotations"> </td>
|
1516
|
+
</tr>
|
1517
|
+
</tbody>
|
1518
|
+
</table></div>
|
1519
|
+
</div>
|
1520
|
+
</div>
|
1521
|
+
<hr>
|
1522
|
+
<div class="refsect2">
|
1523
|
+
<a name="GtkSourceDrawSpacesFlags"></a><h3>enum GtkSourceDrawSpacesFlags</h3>
|
1524
|
+
<p>GtkSourceDrawSpacesFlags determine what kind of spaces whould be drawn. If none
|
1525
|
+
of GTK_SOURCE_DRAW_SPACES_LEADING, GTK_SOURCE_DRAW_SPACES_TEXT or
|
1526
|
+
GTK_SOURCE_DRAW_SPACES_TRAILING is specified, whitespaces at any position in
|
1527
|
+
the line will be drawn (i.e. it has the same effect as specifying all of them).</p>
|
1528
|
+
<div class="refsect3">
|
1529
|
+
<a name="id-1.2.30.12.4.4"></a><h4>Members</h4>
|
1530
|
+
<div class="informaltable"><table width="100%" border="0">
|
1531
|
+
<colgroup>
|
1532
|
+
<col width="300px" class="enum_members_name">
|
1533
|
+
<col class="enum_members_description">
|
1534
|
+
<col width="200px" class="enum_members_annotations">
|
1535
|
+
</colgroup>
|
1536
|
+
<tbody>
|
1537
|
+
<tr>
|
1538
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-DRAW-SPACES-SPACE:CAPS"></a>GTK_SOURCE_DRAW_SPACES_SPACE</p></td>
|
1539
|
+
<td class="enum_member_description">
|
1540
|
+
<p>whether the space character should be drawn.</p>
|
1541
|
+
</td>
|
1542
|
+
<td class="enum_member_annotations"> </td>
|
1543
|
+
</tr>
|
1544
|
+
<tr>
|
1545
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-DRAW-SPACES-TAB:CAPS"></a>GTK_SOURCE_DRAW_SPACES_TAB</p></td>
|
1546
|
+
<td class="enum_member_description">
|
1547
|
+
<p>whether the tab character should be drawn.</p>
|
1548
|
+
</td>
|
1549
|
+
<td class="enum_member_annotations"> </td>
|
1550
|
+
</tr>
|
1551
|
+
<tr>
|
1552
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-DRAW-SPACES-NEWLINE:CAPS"></a>GTK_SOURCE_DRAW_SPACES_NEWLINE</p></td>
|
1553
|
+
<td class="enum_member_description">
|
1554
|
+
<p>whether the line breaks should be drawn.</p>
|
1555
|
+
</td>
|
1556
|
+
<td class="enum_member_annotations"> </td>
|
1557
|
+
</tr>
|
1558
|
+
<tr>
|
1559
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-DRAW-SPACES-NBSP:CAPS"></a>GTK_SOURCE_DRAW_SPACES_NBSP</p></td>
|
1560
|
+
<td class="enum_member_description">
|
1561
|
+
<p>whether the non-breaking whitespaces should be drawn.</p>
|
1562
|
+
</td>
|
1563
|
+
<td class="enum_member_annotations"> </td>
|
1564
|
+
</tr>
|
1565
|
+
<tr>
|
1566
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-DRAW-SPACES-LEADING:CAPS"></a>GTK_SOURCE_DRAW_SPACES_LEADING</p></td>
|
1567
|
+
<td class="enum_member_description">
|
1568
|
+
<p>whether leading whitespaces should be drawn.</p>
|
1569
|
+
</td>
|
1570
|
+
<td class="enum_member_annotations"> </td>
|
1571
|
+
</tr>
|
1572
|
+
<tr>
|
1573
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-DRAW-SPACES-TEXT:CAPS"></a>GTK_SOURCE_DRAW_SPACES_TEXT</p></td>
|
1574
|
+
<td class="enum_member_description">
|
1575
|
+
<p>whether whitespaces inside text should be drawn.</p>
|
1576
|
+
</td>
|
1577
|
+
<td class="enum_member_annotations"> </td>
|
1578
|
+
</tr>
|
1579
|
+
<tr>
|
1580
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-DRAW-SPACES-TRAILING:CAPS"></a>GTK_SOURCE_DRAW_SPACES_TRAILING</p></td>
|
1581
|
+
<td class="enum_member_description">
|
1582
|
+
<p>whether trailing whitespaces should be drawn.</p>
|
1583
|
+
</td>
|
1584
|
+
<td class="enum_member_annotations"> </td>
|
1585
|
+
</tr>
|
1586
|
+
<tr>
|
1587
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-DRAW-SPACES-ALL:CAPS"></a>GTK_SOURCE_DRAW_SPACES_ALL</p></td>
|
1588
|
+
<td class="enum_member_description">
|
1589
|
+
<p>wheter all kind of spaces should be drawn.</p>
|
1590
|
+
</td>
|
1591
|
+
<td class="enum_member_annotations"> </td>
|
1592
|
+
</tr>
|
1593
|
+
</tbody>
|
1594
|
+
</table></div>
|
1595
|
+
</div>
|
1596
|
+
</div>
|
1597
|
+
<hr>
|
1598
|
+
<div class="refsect2">
|
1599
|
+
<a name="GtkSourceViewGutterPosition"></a><h3>enum GtkSourceViewGutterPosition</h3>
|
1600
|
+
<div class="refsect3">
|
1601
|
+
<a name="id-1.2.30.12.5.3"></a><h4>Members</h4>
|
1602
|
+
<div class="informaltable"><table width="100%" border="0">
|
1603
|
+
<colgroup>
|
1604
|
+
<col width="300px" class="enum_members_name">
|
1605
|
+
<col class="enum_members_description">
|
1606
|
+
<col width="200px" class="enum_members_annotations">
|
1607
|
+
</colgroup>
|
1608
|
+
<tbody>
|
1609
|
+
<tr>
|
1610
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-VIEW-GUTTER-POSITION-LINES:CAPS"></a>GTK_SOURCE_VIEW_GUTTER_POSITION_LINES</p></td>
|
1611
|
+
<td class="enum_member_description">
|
1612
|
+
<p>the gutter position of the lines
|
1613
|
+
renderer</p>
|
1614
|
+
</td>
|
1615
|
+
<td class="enum_member_annotations"> </td>
|
1616
|
+
</tr>
|
1617
|
+
<tr>
|
1618
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-VIEW-GUTTER-POSITION-MARKS:CAPS"></a>GTK_SOURCE_VIEW_GUTTER_POSITION_MARKS</p></td>
|
1619
|
+
<td class="enum_member_description">
|
1620
|
+
<p>the gutter position of the marks
|
1621
|
+
renderer</p>
|
1622
|
+
</td>
|
1623
|
+
<td class="enum_member_annotations"> </td>
|
1624
|
+
</tr>
|
1625
|
+
</tbody>
|
1626
|
+
</table></div>
|
1627
|
+
</div>
|
1628
|
+
</div>
|
1629
|
+
</div>
|
1630
|
+
<div class="refsect1">
|
1631
|
+
<a name="GtkSourceView.property-details"></a><h2>Property Details</h2>
|
1632
|
+
<div class="refsect2">
|
1633
|
+
<a name="GtkSourceView--auto-indent"></a><h3>The <code class="literal">“auto-indent”</code> property</h3>
|
1634
|
+
<pre class="programlisting"> “auto-indent” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
1635
|
+
<p>Whether to enable auto indentation.</p>
|
1636
|
+
<p>Flags: Read / Write</p>
|
1637
|
+
<p>Default value: FALSE</p>
|
1638
|
+
</div>
|
1639
|
+
<hr>
|
1640
|
+
<div class="refsect2">
|
1641
|
+
<a name="GtkSourceView--completion"></a><h3>The <code class="literal">“completion”</code> property</h3>
|
1642
|
+
<pre class="programlisting"> “completion” <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> *</pre>
|
1643
|
+
<p>The completion object associated with the view</p>
|
1644
|
+
<p>Flags: Read</p>
|
1645
|
+
</div>
|
1646
|
+
<hr>
|
1647
|
+
<div class="refsect2">
|
1648
|
+
<a name="GtkSourceView--draw-spaces"></a><h3>The <code class="literal">“draw-spaces”</code> property</h3>
|
1649
|
+
<pre class="programlisting"> “draw-spaces” <a class="link" href="GtkSourceView.html#GtkSourceDrawSpacesFlags" title="enum GtkSourceDrawSpacesFlags"><span class="type">GtkSourceDrawSpacesFlags</span></a></pre>
|
1650
|
+
<p>Set if and how the spaces should be visualized.</p>
|
1651
|
+
<p>Flags: Read / Write</p>
|
1652
|
+
<p class="since">Since 2.4</p>
|
1653
|
+
</div>
|
1654
|
+
<hr>
|
1655
|
+
<div class="refsect2">
|
1656
|
+
<a name="GtkSourceView--highlight-current-line"></a><h3>The <code class="literal">“highlight-current-line”</code> property</h3>
|
1657
|
+
<pre class="programlisting"> “highlight-current-line” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
1658
|
+
<p>Whether to highlight the current line.</p>
|
1659
|
+
<p>Flags: Read / Write</p>
|
1660
|
+
<p>Default value: FALSE</p>
|
1661
|
+
</div>
|
1662
|
+
<hr>
|
1663
|
+
<div class="refsect2">
|
1664
|
+
<a name="GtkSourceView--indent-on-tab"></a><h3>The <code class="literal">“indent-on-tab”</code> property</h3>
|
1665
|
+
<pre class="programlisting"> “indent-on-tab” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
1666
|
+
<p>Whether to indent the selected text when the tab key is pressed.</p>
|
1667
|
+
<p>Flags: Read / Write</p>
|
1668
|
+
<p>Default value: TRUE</p>
|
1669
|
+
</div>
|
1670
|
+
<hr>
|
1671
|
+
<div class="refsect2">
|
1672
|
+
<a name="GtkSourceView--indent-width"></a><h3>The <code class="literal">“indent-width”</code> property</h3>
|
1673
|
+
<pre class="programlisting"> “indent-width” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
1674
|
+
<p>Width of an indentation step expressed in number of spaces.</p>
|
1675
|
+
<p>Flags: Read / Write</p>
|
1676
|
+
<p>Allowed values: [-1,32]</p>
|
1677
|
+
<p>Default value: -1</p>
|
1678
|
+
</div>
|
1679
|
+
<hr>
|
1680
|
+
<div class="refsect2">
|
1681
|
+
<a name="GtkSourceView--insert-spaces-instead-of-tabs"></a><h3>The <code class="literal">“insert-spaces-instead-of-tabs”</code> property</h3>
|
1682
|
+
<pre class="programlisting"> “insert-spaces-instead-of-tabs” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
1683
|
+
<p>Whether to insert spaces instead of tabs.</p>
|
1684
|
+
<p>Flags: Read / Write</p>
|
1685
|
+
<p>Default value: FALSE</p>
|
1686
|
+
</div>
|
1687
|
+
<hr>
|
1688
|
+
<div class="refsect2">
|
1689
|
+
<a name="GtkSourceView--right-margin-position"></a><h3>The <code class="literal">“right-margin-position”</code> property</h3>
|
1690
|
+
<pre class="programlisting"> “right-margin-position” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
|
1691
|
+
<p>Position of the right margin.</p>
|
1692
|
+
<p>Flags: Read / Write</p>
|
1693
|
+
<p>Allowed values: [1,1000]</p>
|
1694
|
+
<p>Default value: 80</p>
|
1695
|
+
</div>
|
1696
|
+
<hr>
|
1697
|
+
<div class="refsect2">
|
1698
|
+
<a name="GtkSourceView--show-line-marks"></a><h3>The <code class="literal">“show-line-marks”</code> property</h3>
|
1699
|
+
<pre class="programlisting"> “show-line-marks” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
1700
|
+
<p>Whether to display line mark pixbufs</p>
|
1701
|
+
<p>Flags: Read / Write</p>
|
1702
|
+
<p>Default value: FALSE</p>
|
1703
|
+
</div>
|
1704
|
+
<hr>
|
1705
|
+
<div class="refsect2">
|
1706
|
+
<a name="GtkSourceView--show-line-numbers"></a><h3>The <code class="literal">“show-line-numbers”</code> property</h3>
|
1707
|
+
<pre class="programlisting"> “show-line-numbers” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
1708
|
+
<p>Whether to display line numbers</p>
|
1709
|
+
<p>Flags: Read / Write</p>
|
1710
|
+
<p>Default value: FALSE</p>
|
1711
|
+
</div>
|
1712
|
+
<hr>
|
1713
|
+
<div class="refsect2">
|
1714
|
+
<a name="GtkSourceView--show-right-margin"></a><h3>The <code class="literal">“show-right-margin”</code> property</h3>
|
1715
|
+
<pre class="programlisting"> “show-right-margin” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
1716
|
+
<p>Whether to display the right margin.</p>
|
1717
|
+
<p>Flags: Read / Write</p>
|
1718
|
+
<p>Default value: FALSE</p>
|
1719
|
+
</div>
|
1720
|
+
<hr>
|
1721
|
+
<div class="refsect2">
|
1722
|
+
<a name="GtkSourceView--smart-home-end"></a><h3>The <code class="literal">“smart-home-end”</code> property</h3>
|
1723
|
+
<pre class="programlisting"> “smart-home-end” <a class="link" href="GtkSourceView.html#GtkSourceSmartHomeEndType" title="enum GtkSourceSmartHomeEndType"><span class="type">GtkSourceSmartHomeEndType</span></a></pre>
|
1724
|
+
<p>Set the behavior of the HOME and END keys.</p>
|
1725
|
+
<p>Flags: Read / Write</p>
|
1726
|
+
<p>Default value: GTK_SOURCE_SMART_HOME_END_DISABLED</p>
|
1727
|
+
<p class="since">Since 2.0</p>
|
1728
|
+
</div>
|
1729
|
+
<hr>
|
1730
|
+
<div class="refsect2">
|
1731
|
+
<a name="GtkSourceView--tab-width"></a><h3>The <code class="literal">“tab-width”</code> property</h3>
|
1732
|
+
<pre class="programlisting"> “tab-width” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
|
1733
|
+
<p>Width of a tab character expressed in number of spaces.</p>
|
1734
|
+
<p>Flags: Read / Write</p>
|
1735
|
+
<p>Allowed values: [1,32]</p>
|
1736
|
+
<p>Default value: 8</p>
|
1737
|
+
</div>
|
1738
|
+
</div>
|
1739
|
+
<div class="refsect1">
|
1740
|
+
<a name="GtkSourceView.signal-details"></a><h2>Signal Details</h2>
|
1741
|
+
<div class="refsect2">
|
1742
|
+
<a name="GtkSourceView-line-mark-activated"></a><h3>The <code class="literal">“line-mark-activated”</code> signal</h3>
|
1743
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1744
|
+
user_function (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view,
|
1745
|
+
<a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter,
|
1746
|
+
<span class="type">GdkEvent</span> *event,
|
1747
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
1748
|
+
<p>Emitted when a line mark has been activated (for instance when there
|
1749
|
+
was a button press in the line marks gutter). You can use <em class="parameter"><code>iter</code></em>
|
1750
|
+
to
|
1751
|
+
determine on which line the activation took place.</p>
|
1752
|
+
<div class="refsect3">
|
1753
|
+
<a name="id-1.2.30.14.2.5"></a><h4>Parameters</h4>
|
1754
|
+
<div class="informaltable"><table width="100%" border="0">
|
1755
|
+
<colgroup>
|
1756
|
+
<col width="150px" class="parameters_name">
|
1757
|
+
<col class="parameters_description">
|
1758
|
+
<col width="200px" class="parameters_annotations">
|
1759
|
+
</colgroup>
|
1760
|
+
<tbody>
|
1761
|
+
<tr>
|
1762
|
+
<td class="parameter_name"><p>view</p></td>
|
1763
|
+
<td class="parameter_description"><p>the <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a></p></td>
|
1764
|
+
<td class="parameter_annotations"> </td>
|
1765
|
+
</tr>
|
1766
|
+
<tr>
|
1767
|
+
<td class="parameter_name"><p>iter</p></td>
|
1768
|
+
<td class="parameter_description"><p>a <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextIter.html"><span class="type">GtkTextIter</span></a></p></td>
|
1769
|
+
<td class="parameter_annotations"> </td>
|
1770
|
+
</tr>
|
1771
|
+
<tr>
|
1772
|
+
<td class="parameter_name"><p>event</p></td>
|
1773
|
+
<td class="parameter_description"><p>the <span class="type">GdkEvent</span> that activated the event</p></td>
|
1774
|
+
<td class="parameter_annotations"> </td>
|
1775
|
+
</tr>
|
1776
|
+
<tr>
|
1777
|
+
<td class="parameter_name"><p>user_data</p></td>
|
1778
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
1779
|
+
<td class="parameter_annotations"> </td>
|
1780
|
+
</tr>
|
1781
|
+
</tbody>
|
1782
|
+
</table></div>
|
1783
|
+
</div>
|
1784
|
+
<p>Flags: Run Last</p>
|
1785
|
+
</div>
|
1786
|
+
<hr>
|
1787
|
+
<div class="refsect2">
|
1788
|
+
<a name="GtkSourceView-move-lines"></a><h3>The <code class="literal">“move-lines”</code> signal</h3>
|
1789
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1790
|
+
user_function (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view,
|
1791
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> copy,
|
1792
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> count,
|
1793
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
1794
|
+
<p>The ::move-lines signal is a keybinding which gets emitted
|
1795
|
+
when the user initiates moving a line. The default binding key
|
1796
|
+
is Alt+Up/Down arrow. And moves the currently selected lines,
|
1797
|
+
or the current line by <em class="parameter"><code>count</code></em>
|
1798
|
+
. For the moment, only
|
1799
|
+
<em class="parameter"><code>count</code></em>
|
1800
|
+
of -1 or 1 is valid.</p>
|
1801
|
+
<div class="refsect3">
|
1802
|
+
<a name="id-1.2.30.14.3.5"></a><h4>Parameters</h4>
|
1803
|
+
<div class="informaltable"><table width="100%" border="0">
|
1804
|
+
<colgroup>
|
1805
|
+
<col width="150px" class="parameters_name">
|
1806
|
+
<col class="parameters_description">
|
1807
|
+
<col width="200px" class="parameters_annotations">
|
1808
|
+
</colgroup>
|
1809
|
+
<tbody>
|
1810
|
+
<tr>
|
1811
|
+
<td class="parameter_name"><p>view</p></td>
|
1812
|
+
<td class="parameter_description"><p>the <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> which received the signal</p></td>
|
1813
|
+
<td class="parameter_annotations"> </td>
|
1814
|
+
</tr>
|
1815
|
+
<tr>
|
1816
|
+
<td class="parameter_name"><p>copy</p></td>
|
1817
|
+
<td class="parameter_description"><p><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the line should be copied,
|
1818
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if it should be moved</p></td>
|
1819
|
+
<td class="parameter_annotations"> </td>
|
1820
|
+
</tr>
|
1821
|
+
<tr>
|
1822
|
+
<td class="parameter_name"><p>count</p></td>
|
1823
|
+
<td class="parameter_description"><p>the number of lines to move over.</p></td>
|
1824
|
+
<td class="parameter_annotations"> </td>
|
1825
|
+
</tr>
|
1826
|
+
<tr>
|
1827
|
+
<td class="parameter_name"><p>user_data</p></td>
|
1828
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
1829
|
+
<td class="parameter_annotations"> </td>
|
1830
|
+
</tr>
|
1831
|
+
</tbody>
|
1832
|
+
</table></div>
|
1833
|
+
</div>
|
1834
|
+
<p>Flags: Action</p>
|
1835
|
+
<p class="since">Since 2.10</p>
|
1836
|
+
</div>
|
1837
|
+
<hr>
|
1838
|
+
<div class="refsect2">
|
1839
|
+
<a name="GtkSourceView-move-words"></a><h3>The <code class="literal">“move-words”</code> signal</h3>
|
1840
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1841
|
+
user_function (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view,
|
1842
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> count,
|
1843
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
1844
|
+
<p>The ::move-words signal is a keybinding which gets emitted
|
1845
|
+
when the user initiates moving a word. The default binding key
|
1846
|
+
is Alt+Left/Right Arrow and moves the current selection, or the current
|
1847
|
+
word by one word.</p>
|
1848
|
+
<div class="refsect3">
|
1849
|
+
<a name="id-1.2.30.14.4.5"></a><h4>Parameters</h4>
|
1850
|
+
<div class="informaltable"><table width="100%" border="0">
|
1851
|
+
<colgroup>
|
1852
|
+
<col width="150px" class="parameters_name">
|
1853
|
+
<col class="parameters_description">
|
1854
|
+
<col width="200px" class="parameters_annotations">
|
1855
|
+
</colgroup>
|
1856
|
+
<tbody>
|
1857
|
+
<tr>
|
1858
|
+
<td class="parameter_name"><p>view</p></td>
|
1859
|
+
<td class="parameter_description"><p>the <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> which received the signal</p></td>
|
1860
|
+
<td class="parameter_annotations"> </td>
|
1861
|
+
</tr>
|
1862
|
+
<tr>
|
1863
|
+
<td class="parameter_name"><p>count</p></td>
|
1864
|
+
<td class="parameter_description"><p>the number of words to move over</p></td>
|
1865
|
+
<td class="parameter_annotations"> </td>
|
1866
|
+
</tr>
|
1867
|
+
<tr>
|
1868
|
+
<td class="parameter_name"><p>user_data</p></td>
|
1869
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
1870
|
+
<td class="parameter_annotations"> </td>
|
1871
|
+
</tr>
|
1872
|
+
</tbody>
|
1873
|
+
</table></div>
|
1874
|
+
</div>
|
1875
|
+
<p>Flags: Action</p>
|
1876
|
+
<p class="since">Since 3.0</p>
|
1877
|
+
</div>
|
1878
|
+
<hr>
|
1879
|
+
<div class="refsect2">
|
1880
|
+
<a name="GtkSourceView-redo"></a><h3>The <code class="literal">“redo”</code> signal</h3>
|
1881
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1882
|
+
user_function (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *sourceview,
|
1883
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
1884
|
+
<p>Flags: Action</p>
|
1885
|
+
</div>
|
1886
|
+
<hr>
|
1887
|
+
<div class="refsect2">
|
1888
|
+
<a name="GtkSourceView-show-completion"></a><h3>The <code class="literal">“show-completion”</code> signal</h3>
|
1889
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1890
|
+
user_function (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view,
|
1891
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
1892
|
+
<p>The ::show-completion signal is a key binding signal which gets
|
1893
|
+
emitted when the user requests a completion, by pressing</p>
|
1894
|
+
<span class="keycap"><strong>Control</strong></span>+<span class="keycap"><strong>space</strong></span>.
|
1895
|
+
<p>This will create a <a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a> with the activation
|
1896
|
+
type as <a class="link" href="GtkSourceCompletionContext.html#GTK-SOURCE-COMPLETION-ACTIVATION-USER-REQUESTED:CAPS"><code class="literal">GTK_SOURCE_COMPLETION_ACTIVATION_USER_REQUESTED</code></a>.</p>
|
1897
|
+
<p>Applications should not connect to it, but may emit it with
|
1898
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#g-signal-emit-by-name"><code class="function">g_signal_emit_by_name()</code></a> if they need to activate the completion by
|
1899
|
+
another means, for example with another key binding or a menu entry.</p>
|
1900
|
+
<div class="refsect3">
|
1901
|
+
<a name="id-1.2.30.14.6.8"></a><h4>Parameters</h4>
|
1902
|
+
<div class="informaltable"><table width="100%" border="0">
|
1903
|
+
<colgroup>
|
1904
|
+
<col width="150px" class="parameters_name">
|
1905
|
+
<col class="parameters_description">
|
1906
|
+
<col width="200px" class="parameters_annotations">
|
1907
|
+
</colgroup>
|
1908
|
+
<tbody>
|
1909
|
+
<tr>
|
1910
|
+
<td class="parameter_name"><p>view</p></td>
|
1911
|
+
<td class="parameter_description"><p>The <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> who emits the signal</p></td>
|
1912
|
+
<td class="parameter_annotations"> </td>
|
1913
|
+
</tr>
|
1914
|
+
<tr>
|
1915
|
+
<td class="parameter_name"><p>user_data</p></td>
|
1916
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
1917
|
+
<td class="parameter_annotations"> </td>
|
1918
|
+
</tr>
|
1919
|
+
</tbody>
|
1920
|
+
</table></div>
|
1921
|
+
</div>
|
1922
|
+
<p>Flags: Action</p>
|
1923
|
+
</div>
|
1924
|
+
<hr>
|
1925
|
+
<div class="refsect2">
|
1926
|
+
<a name="GtkSourceView-smart-home-end"></a><h3>The <code class="literal">“smart-home-end”</code> signal</h3>
|
1927
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1928
|
+
user_function (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view,
|
1929
|
+
<a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter,
|
1930
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> count,
|
1931
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
1932
|
+
<p>Emitted when a the cursor was moved according to the smart home
|
1933
|
+
end setting. The signal is emitted after the cursor is moved, but
|
1934
|
+
during the GtkTextView::move-cursor action. This can be used to find
|
1935
|
+
out whether the cursor was moved by a normal home/end or by a smart
|
1936
|
+
home/end.</p>
|
1937
|
+
<div class="refsect3">
|
1938
|
+
<a name="id-1.2.30.14.7.5"></a><h4>Parameters</h4>
|
1939
|
+
<div class="informaltable"><table width="100%" border="0">
|
1940
|
+
<colgroup>
|
1941
|
+
<col width="150px" class="parameters_name">
|
1942
|
+
<col class="parameters_description">
|
1943
|
+
<col width="200px" class="parameters_annotations">
|
1944
|
+
</colgroup>
|
1945
|
+
<tbody>
|
1946
|
+
<tr>
|
1947
|
+
<td class="parameter_name"><p>view</p></td>
|
1948
|
+
<td class="parameter_description"><p>the <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a></p></td>
|
1949
|
+
<td class="parameter_annotations"> </td>
|
1950
|
+
</tr>
|
1951
|
+
<tr>
|
1952
|
+
<td class="parameter_name"><p>iter</p></td>
|
1953
|
+
<td class="parameter_description"><p>a <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextIter.html"><span class="type">GtkTextIter</span></a></p></td>
|
1954
|
+
<td class="parameter_annotations"> </td>
|
1955
|
+
</tr>
|
1956
|
+
<tr>
|
1957
|
+
<td class="parameter_name"><p>count</p></td>
|
1958
|
+
<td class="parameter_description"><p>the count</p></td>
|
1959
|
+
<td class="parameter_annotations"> </td>
|
1960
|
+
</tr>
|
1961
|
+
<tr>
|
1962
|
+
<td class="parameter_name"><p>user_data</p></td>
|
1963
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
1964
|
+
<td class="parameter_annotations"> </td>
|
1965
|
+
</tr>
|
1966
|
+
</tbody>
|
1967
|
+
</table></div>
|
1968
|
+
</div>
|
1969
|
+
<p>Flags: Run Last</p>
|
1970
|
+
<p class="since">Since 3.0</p>
|
1971
|
+
</div>
|
1972
|
+
<hr>
|
1973
|
+
<div class="refsect2">
|
1974
|
+
<a name="GtkSourceView-undo"></a><h3>The <code class="literal">“undo”</code> signal</h3>
|
1975
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1976
|
+
user_function (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *sourceview,
|
1977
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
1978
|
+
<p>Flags: Action</p>
|
1979
|
+
</div>
|
1980
|
+
</div>
|
1981
|
+
<div class="refsect1">
|
1982
|
+
<a name="GtkSourceView.see-also"></a><h2>See Also</h2>
|
1983
|
+
<p><a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextView.html"><span class="type">GtkTextView</span></a>, <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a></p>
|
1984
|
+
</div>
|
1985
|
+
</div>
|
1986
|
+
<div class="footer">
|
1987
|
+
<hr>
|
1988
|
+
Generated by GTK-Doc V1.21.1</div>
|
1989
|
+
</body>
|
1990
|
+
</html>
|