gtksourceview4 3.2.9-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/COPYING.LIB +502 -0
- data/README.md +24 -0
- data/Rakefile +61 -0
- data/dependency-check/Rakefile +43 -0
- data/gtksourceview4.gemspec +45 -0
- data/lib/gtksourceview4.rb +56 -0
- data/lib/gtksourceview4/deprecated.rb +49 -0
- data/lib/gtksourceview4/loader.rb +49 -0
- data/lib/gtksourceview4/mark-attributes.rb +29 -0
- data/test/run-test.rb +62 -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 +55 -0
- data/vendor/local/bin/libgtksourceview-4-0.dll +0 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/completion-providers/words/gtksourcecompletionwords.h +72 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksource-enumtypes.h +107 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksource.h +67 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceautocleanups.h +63 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcebuffer.h +279 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcecompletion.h +156 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcecompletioncontext.h +102 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcecompletioninfo.h +77 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcecompletionitem.h +92 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcecompletionproposal.h +126 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcecompletionprovider.h +166 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceencoding.h +74 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcefile.h +195 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcefileloader.h +140 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcefilesaver.h +168 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcegutter.h +93 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcegutterrenderer.h +272 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcegutterrendererpixbuf.h +91 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcegutterrenderertext.h +92 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceinit.h +40 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcelanguage.h +98 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcelanguagemanager.h +92 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcemap.h +70 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcemark.h +79 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcemarkattributes.h +112 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceprintcompositor.h +223 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceregion.h +127 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcesearchcontext.h +161 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcesearchsettings.h +100 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcespacedrawer.h +144 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcestyle.h +54 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcestylescheme.h +119 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcestyleschemechooser.h +66 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcestyleschemechooserbutton.h +64 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcestyleschemechooserwidget.h +64 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcestyleschememanager.h +100 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcetag.h +54 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcetypes.h +73 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceundomanager.h +90 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceutils.h +41 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceversion.h +578 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceview.h +266 -0
- data/vendor/local/lib/girepository-1.0/GtkSource-4.typelib +0 -0
- data/vendor/local/lib/libgtksourceview-4.dll.a +0 -0
- data/vendor/local/lib/libgtksourceview-4.la +41 -0
- data/vendor/local/lib/pkgconfig/gtksourceview-4.pc +12 -0
- data/vendor/local/share/gir-1.0/GtkSource-4.gir +12999 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceBuffer.html +2421 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletion.html +1087 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletionContext.html +402 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletionInfo.html +207 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletionItem.html +497 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletionProposal.html +668 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletionProvider.html +837 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletionWords.html +343 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceEncoding.html +391 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceFile.html +769 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceFileLoader.html +780 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceFileSaver.html +965 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceGutter.html +438 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceGutterRenderer.html +1708 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceGutterRendererPixbuf.html +369 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceGutterRendererText.html +299 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceLanguage.html +579 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceLanguageManager.html +473 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceMap.html +254 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceMark.html +307 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceMarkAttributes.html +788 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourcePrintCompositor.html +2121 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceRegion.html +870 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceSearchContext.html +1216 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceSearchSettings.html +603 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceSpaceDrawer.html +671 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceStyle.html +433 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceStyleScheme.html +396 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceStyleSchemeChooser.html +214 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceStyleSchemeChooserButton.html +127 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceStyleSchemeChooserWidget.html +127 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceStyleSchemeManager.html +460 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceTag.html +179 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceUndoManager.html +460 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceView.html +2369 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/annexes.html +55 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/annotation-glossary.html +74 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-2-0.html +62 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-2-10.html +86 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-2-12.html +34 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-2-2.html +270 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-2-4.html +34 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-2-8.html +46 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-0.html +42 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-10.html +170 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-12.html +38 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-14.html +298 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-16.html +106 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-18.html +114 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-20.html +130 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-22.html +106 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-24.html +126 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-4.html +34 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-4-0.html +65 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-deprecated.html +30 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-full.html +2586 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-reference.html +174 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/completion.html +52 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/file-loading-and-saving.html +43 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/general.html +32 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/gtksourceview-4.0-GtkSourceUtils.html +151 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/gtksourceview-4.0-GtkSourceView-Initialization-and-Finalization.html +100 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/gtksourceview-4.0-Version-Information.html +511 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/gtksourceview-4.0.devhelp2 +819 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/gutter.html +49 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/index.html +215 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/intro.html +56 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/lang-reference.html +946 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/lang-tutorial.html +652 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/main-classes.html +37 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/misc.html +52 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/object-tree.html +98 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/porting-guide-3-to-4.html +152 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/porting-guide.html +33 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/printing.html +32 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/search-and-replace.html +37 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/style-reference.html +305 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/style.css +483 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/styling.html +49 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/syntax-highlighting-reference.html +49 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/syntax-highlighting.html +37 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/up.png +0 -0
- data/vendor/local/share/gtksourceview-4/language-specs/R.lang +2198 -0
- data/vendor/local/share/gtksourceview-4/language-specs/abnf.lang +109 -0
- data/vendor/local/share/gtksourceview-4/language-specs/actionscript.lang +267 -0
- data/vendor/local/share/gtksourceview-4/language-specs/ada.lang +220 -0
- data/vendor/local/share/gtksourceview-4/language-specs/ansforth94.lang +728 -0
- data/vendor/local/share/gtksourceview-4/language-specs/asp.lang +1096 -0
- data/vendor/local/share/gtksourceview-4/language-specs/automake.lang +329 -0
- data/vendor/local/share/gtksourceview-4/language-specs/awk.lang +137 -0
- data/vendor/local/share/gtksourceview-4/language-specs/bennugd.lang +266 -0
- data/vendor/local/share/gtksourceview-4/language-specs/bibtex.lang +120 -0
- data/vendor/local/share/gtksourceview-4/language-specs/bluespec.lang +187 -0
- data/vendor/local/share/gtksourceview-4/language-specs/boo.lang +256 -0
- data/vendor/local/share/gtksourceview-4/language-specs/c.lang +343 -0
- data/vendor/local/share/gtksourceview-4/language-specs/cg.lang +231 -0
- data/vendor/local/share/gtksourceview-4/language-specs/changelog.lang +91 -0
- data/vendor/local/share/gtksourceview-4/language-specs/chdr.lang +50 -0
- data/vendor/local/share/gtksourceview-4/language-specs/cmake.lang +817 -0
- data/vendor/local/share/gtksourceview-4/language-specs/cobol.lang +646 -0
- data/vendor/local/share/gtksourceview-4/language-specs/cpp.lang +119 -0
- data/vendor/local/share/gtksourceview-4/language-specs/cpphdr.lang +41 -0
- data/vendor/local/share/gtksourceview-4/language-specs/csharp.lang +285 -0
- data/vendor/local/share/gtksourceview-4/language-specs/css.lang +2411 -0
- data/vendor/local/share/gtksourceview-4/language-specs/csv.lang +73 -0
- data/vendor/local/share/gtksourceview-4/language-specs/cuda.lang +281 -0
- data/vendor/local/share/gtksourceview-4/language-specs/d.lang +317 -0
- data/vendor/local/share/gtksourceview-4/language-specs/def.lang +261 -0
- data/vendor/local/share/gtksourceview-4/language-specs/desktop.lang +297 -0
- data/vendor/local/share/gtksourceview-4/language-specs/diff.lang +84 -0
- data/vendor/local/share/gtksourceview-4/language-specs/docbook.lang +475 -0
- data/vendor/local/share/gtksourceview-4/language-specs/dosbatch.lang +166 -0
- data/vendor/local/share/gtksourceview-4/language-specs/dot.lang +139 -0
- data/vendor/local/share/gtksourceview-4/language-specs/dpatch.lang +47 -0
- data/vendor/local/share/gtksourceview-4/language-specs/dtd.lang +139 -0
- data/vendor/local/share/gtksourceview-4/language-specs/dtl.lang +297 -0
- data/vendor/local/share/gtksourceview-4/language-specs/eiffel.lang +238 -0
- data/vendor/local/share/gtksourceview-4/language-specs/erlang.lang +262 -0
- data/vendor/local/share/gtksourceview-4/language-specs/fcl.lang +113 -0
- data/vendor/local/share/gtksourceview-4/language-specs/forth.lang +234 -0
- data/vendor/local/share/gtksourceview-4/language-specs/fortran.lang +710 -0
- data/vendor/local/share/gtksourceview-4/language-specs/fsharp.lang +324 -0
- data/vendor/local/share/gtksourceview-4/language-specs/gap.lang +84 -0
- data/vendor/local/share/gtksourceview-4/language-specs/gdb-log.lang +151 -0
- data/vendor/local/share/gtksourceview-4/language-specs/genie.lang +237 -0
- data/vendor/local/share/gtksourceview-4/language-specs/glsl.lang +482 -0
- data/vendor/local/share/gtksourceview-4/language-specs/go.lang +274 -0
- data/vendor/local/share/gtksourceview-4/language-specs/groovy.lang +330 -0
- data/vendor/local/share/gtksourceview-4/language-specs/gtk-doc.lang +90 -0
- data/vendor/local/share/gtksourceview-4/language-specs/gtkrc.lang +115 -0
- data/vendor/local/share/gtksourceview-4/language-specs/haddock.lang +161 -0
- data/vendor/local/share/gtksourceview-4/language-specs/haskell-literate.lang +58 -0
- data/vendor/local/share/gtksourceview-4/language-specs/haskell.lang +227 -0
- data/vendor/local/share/gtksourceview-4/language-specs/haxe.lang +237 -0
- data/vendor/local/share/gtksourceview-4/language-specs/html.lang +286 -0
- data/vendor/local/share/gtksourceview-4/language-specs/idl-exelis.lang +619 -0
- data/vendor/local/share/gtksourceview-4/language-specs/idl.lang +153 -0
- data/vendor/local/share/gtksourceview-4/language-specs/imagej.lang +783 -0
- data/vendor/local/share/gtksourceview-4/language-specs/ini.lang +94 -0
- data/vendor/local/share/gtksourceview-4/language-specs/j.lang +239 -0
- data/vendor/local/share/gtksourceview-4/language-specs/jade.lang +248 -0
- data/vendor/local/share/gtksourceview-4/language-specs/java.lang +188 -0
- data/vendor/local/share/gtksourceview-4/language-specs/javascript.lang +354 -0
- data/vendor/local/share/gtksourceview-4/language-specs/json.lang +124 -0
- data/vendor/local/share/gtksourceview-4/language-specs/julia.lang +376 -0
- data/vendor/local/share/gtksourceview-4/language-specs/kotlin.lang +389 -0
- data/vendor/local/share/gtksourceview-4/language-specs/language.dtd +72 -0
- data/vendor/local/share/gtksourceview-4/language-specs/language.rng +372 -0
- data/vendor/local/share/gtksourceview-4/language-specs/language2.rng +481 -0
- data/vendor/local/share/gtksourceview-4/language-specs/latex.lang +636 -0
- data/vendor/local/share/gtksourceview-4/language-specs/less.lang +793 -0
- data/vendor/local/share/gtksourceview-4/language-specs/lex.lang +208 -0
- data/vendor/local/share/gtksourceview-4/language-specs/libtool.lang +55 -0
- data/vendor/local/share/gtksourceview-4/language-specs/llvm.lang +314 -0
- data/vendor/local/share/gtksourceview-4/language-specs/logcat.lang +107 -0
- data/vendor/local/share/gtksourceview-4/language-specs/lua.lang +301 -0
- data/vendor/local/share/gtksourceview-4/language-specs/m4.lang +1374 -0
- data/vendor/local/share/gtksourceview-4/language-specs/makefile.lang +190 -0
- data/vendor/local/share/gtksourceview-4/language-specs/mallard.lang +123 -0
- data/vendor/local/share/gtksourceview-4/language-specs/markdown.lang +401 -0
- data/vendor/local/share/gtksourceview-4/language-specs/matlab.lang +148 -0
- data/vendor/local/share/gtksourceview-4/language-specs/maxima.lang +1864 -0
- data/vendor/local/share/gtksourceview-4/language-specs/mediawiki.lang +326 -0
- data/vendor/local/share/gtksourceview-4/language-specs/meson.lang +132 -0
- data/vendor/local/share/gtksourceview-4/language-specs/modelica.lang +261 -0
- data/vendor/local/share/gtksourceview-4/language-specs/mxml.lang +64 -0
- data/vendor/local/share/gtksourceview-4/language-specs/nemerle.lang +262 -0
- data/vendor/local/share/gtksourceview-4/language-specs/netrexx.lang +318 -0
- data/vendor/local/share/gtksourceview-4/language-specs/nsis.lang +87 -0
- data/vendor/local/share/gtksourceview-4/language-specs/objc.lang +119 -0
- data/vendor/local/share/gtksourceview-4/language-specs/objj.lang +127 -0
- data/vendor/local/share/gtksourceview-4/language-specs/ocaml.lang +301 -0
- data/vendor/local/share/gtksourceview-4/language-specs/ocl.lang +138 -0
- data/vendor/local/share/gtksourceview-4/language-specs/octave.lang +1757 -0
- data/vendor/local/share/gtksourceview-4/language-specs/ooc.lang +264 -0
- data/vendor/local/share/gtksourceview-4/language-specs/opal.lang +342 -0
- data/vendor/local/share/gtksourceview-4/language-specs/opencl.lang +599 -0
- data/vendor/local/share/gtksourceview-4/language-specs/pascal.lang +267 -0
- data/vendor/local/share/gtksourceview-4/language-specs/perl.lang +1044 -0
- data/vendor/local/share/gtksourceview-4/language-specs/php.lang +362 -0
- data/vendor/local/share/gtksourceview-4/language-specs/pig.lang +292 -0
- data/vendor/local/share/gtksourceview-4/language-specs/pkgconfig.lang +61 -0
- data/vendor/local/share/gtksourceview-4/language-specs/po.lang +93 -0
- data/vendor/local/share/gtksourceview-4/language-specs/prolog.lang +248 -0
- data/vendor/local/share/gtksourceview-4/language-specs/protobuf.lang +134 -0
- data/vendor/local/share/gtksourceview-4/language-specs/puppet.lang +696 -0
- data/vendor/local/share/gtksourceview-4/language-specs/python.lang +475 -0
- data/vendor/local/share/gtksourceview-4/language-specs/python3.lang +198 -0
- data/vendor/local/share/gtksourceview-4/language-specs/rpmspec.lang +215 -0
- data/vendor/local/share/gtksourceview-4/language-specs/rst.lang +141 -0
- data/vendor/local/share/gtksourceview-4/language-specs/ruby.lang +748 -0
- data/vendor/local/share/gtksourceview-4/language-specs/rust.lang +334 -0
- data/vendor/local/share/gtksourceview-4/language-specs/scala.lang +383 -0
- data/vendor/local/share/gtksourceview-4/language-specs/scheme.lang +301 -0
- data/vendor/local/share/gtksourceview-4/language-specs/scilab.lang +208 -0
- data/vendor/local/share/gtksourceview-4/language-specs/scss.lang +878 -0
- data/vendor/local/share/gtksourceview-4/language-specs/sh.lang +516 -0
- data/vendor/local/share/gtksourceview-4/language-specs/sml.lang +200 -0
- data/vendor/local/share/gtksourceview-4/language-specs/sparql.lang +451 -0
- data/vendor/local/share/gtksourceview-4/language-specs/sql.lang +617 -0
- data/vendor/local/share/gtksourceview-4/language-specs/sweave.lang +66 -0
- data/vendor/local/share/gtksourceview-4/language-specs/swift.lang +440 -0
- data/vendor/local/share/gtksourceview-4/language-specs/systemverilog.lang +262 -0
- data/vendor/local/share/gtksourceview-4/language-specs/t2t.lang +149 -0
- data/vendor/local/share/gtksourceview-4/language-specs/tcl.lang +145 -0
- data/vendor/local/share/gtksourceview-4/language-specs/tera.lang +142 -0
- data/vendor/local/share/gtksourceview-4/language-specs/texinfo.lang +447 -0
- data/vendor/local/share/gtksourceview-4/language-specs/thrift.lang +266 -0
- data/vendor/local/share/gtksourceview-4/language-specs/toml.lang +282 -0
- data/vendor/local/share/gtksourceview-4/language-specs/vala.lang +411 -0
- data/vendor/local/share/gtksourceview-4/language-specs/vbnet.lang +247 -0
- data/vendor/local/share/gtksourceview-4/language-specs/verilog.lang +475 -0
- data/vendor/local/share/gtksourceview-4/language-specs/vhdl.lang +247 -0
- data/vendor/local/share/gtksourceview-4/language-specs/xml.lang +219 -0
- data/vendor/local/share/gtksourceview-4/language-specs/xslt.lang +120 -0
- data/vendor/local/share/gtksourceview-4/language-specs/yacc.lang +176 -0
- data/vendor/local/share/gtksourceview-4/language-specs/yaml.lang +213 -0
- data/vendor/local/share/gtksourceview-4/styles/classic.xml +122 -0
- data/vendor/local/share/gtksourceview-4/styles/cobalt.xml +150 -0
- data/vendor/local/share/gtksourceview-4/styles/kate.xml +171 -0
- data/vendor/local/share/gtksourceview-4/styles/oblivion.xml +133 -0
- data/vendor/local/share/gtksourceview-4/styles/solarized-dark.xml +103 -0
- data/vendor/local/share/gtksourceview-4/styles/solarized-light.xml +102 -0
- data/vendor/local/share/gtksourceview-4/styles/styles.rng +139 -0
- data/vendor/local/share/gtksourceview-4/styles/tango.xml +130 -0
- data/vendor/local/share/license/gtksourceview/AUTHORS +15 -0
- data/vendor/local/share/license/gtksourceview/COPYING +504 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/az/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/bn/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/bs/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/cy/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/dz/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/en@shaw/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/fur/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/kk/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/mai/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/mg/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/mn/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/ms/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/ne/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/rw/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/si/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/sq/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/tg/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/xh/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gtksourceview-4.mo +0 -0
- metadata +437 -0
@@ -0,0 +1,2369 @@
|
|
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: GtkSourceView 4 Reference Manual</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
7
|
+
<link rel="home" href="index.html" title="GtkSourceView 4 Reference Manual">
|
8
|
+
<link rel="up" href="main-classes.html" title="Main Classes">
|
9
|
+
<link rel="prev" href="GtkSourceBuffer.html" title="GtkSourceBuffer">
|
10
|
+
<link rel="next" href="syntax-highlighting.html" title="Syntax Highlighting">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.28.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="main-classes.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
26
|
+
<td><a accesskey="p" href="GtkSourceBuffer.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
27
|
+
<td><a accesskey="n" href="syntax-highlighting.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 — Subclass of <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextView.html#GtkTextView-struct"><span class="type">GtkTextView</span></a></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 class="informaltable" 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="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkWidget.html#GtkWidget-struct"><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="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkWidget.html#GtkWidget-struct"><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
|
+
<a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="returnvalue">GtkSourceCompletion</span></a> *
|
65
|
+
</td>
|
66
|
+
<td class="function_name">
|
67
|
+
<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>
|
68
|
+
</td>
|
69
|
+
</tr>
|
70
|
+
<tr>
|
71
|
+
<td class="function_type">
|
72
|
+
<a class="link" href="GtkSourceGutter.html" title="GtkSourceGutter"><span class="returnvalue">GtkSourceGutter</span></a> *
|
73
|
+
</td>
|
74
|
+
<td class="function_name">
|
75
|
+
<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>
|
76
|
+
</td>
|
77
|
+
</tr>
|
78
|
+
<tr>
|
79
|
+
<td class="function_type">
|
80
|
+
<a class="link" href="GtkSourceSpaceDrawer.html" title="GtkSourceSpaceDrawer"><span class="returnvalue">GtkSourceSpaceDrawer</span></a> *
|
81
|
+
</td>
|
82
|
+
<td class="function_name">
|
83
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-get-space-drawer" title="gtk_source_view_get_space_drawer ()">gtk_source_view_get_space_drawer</a> <span class="c_punctuation">()</span>
|
84
|
+
</td>
|
85
|
+
</tr>
|
86
|
+
<tr>
|
87
|
+
<td class="function_type">
|
88
|
+
<span class="returnvalue">void</span>
|
89
|
+
</td>
|
90
|
+
<td class="function_name">
|
91
|
+
<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>
|
92
|
+
</td>
|
93
|
+
</tr>
|
94
|
+
<tr>
|
95
|
+
<td class="function_type">
|
96
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
97
|
+
</td>
|
98
|
+
<td class="function_name">
|
99
|
+
<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>
|
100
|
+
</td>
|
101
|
+
</tr>
|
102
|
+
<tr>
|
103
|
+
<td class="function_type">
|
104
|
+
<span class="returnvalue">void</span>
|
105
|
+
</td>
|
106
|
+
<td class="function_name">
|
107
|
+
<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>
|
108
|
+
</td>
|
109
|
+
</tr>
|
110
|
+
<tr>
|
111
|
+
<td class="function_type">
|
112
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
113
|
+
</td>
|
114
|
+
<td class="function_name">
|
115
|
+
<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>
|
116
|
+
</td>
|
117
|
+
</tr>
|
118
|
+
<tr>
|
119
|
+
<td class="function_type">
|
120
|
+
<span class="returnvalue">void</span>
|
121
|
+
</td>
|
122
|
+
<td class="function_name">
|
123
|
+
<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>
|
124
|
+
</td>
|
125
|
+
</tr>
|
126
|
+
<tr>
|
127
|
+
<td class="function_type">
|
128
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
129
|
+
</td>
|
130
|
+
<td class="function_name">
|
131
|
+
<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>
|
132
|
+
</td>
|
133
|
+
</tr>
|
134
|
+
<tr>
|
135
|
+
<td class="function_type">
|
136
|
+
<span class="returnvalue">void</span>
|
137
|
+
</td>
|
138
|
+
<td class="function_name">
|
139
|
+
<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>
|
140
|
+
</td>
|
141
|
+
</tr>
|
142
|
+
<tr>
|
143
|
+
<td class="function_type">
|
144
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
145
|
+
</td>
|
146
|
+
<td class="function_name">
|
147
|
+
<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>
|
148
|
+
</td>
|
149
|
+
</tr>
|
150
|
+
<tr>
|
151
|
+
<td class="function_type">
|
152
|
+
<span class="returnvalue">void</span>
|
153
|
+
</td>
|
154
|
+
<td class="function_name">
|
155
|
+
<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>
|
156
|
+
</td>
|
157
|
+
</tr>
|
158
|
+
<tr>
|
159
|
+
<td class="function_type">
|
160
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
161
|
+
</td>
|
162
|
+
<td class="function_name">
|
163
|
+
<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>
|
164
|
+
</td>
|
165
|
+
</tr>
|
166
|
+
<tr>
|
167
|
+
<td class="function_type">
|
168
|
+
<span class="returnvalue">void</span>
|
169
|
+
</td>
|
170
|
+
<td class="function_name">
|
171
|
+
<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>
|
172
|
+
</td>
|
173
|
+
</tr>
|
174
|
+
<tr>
|
175
|
+
<td class="function_type">
|
176
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
177
|
+
</td>
|
178
|
+
<td class="function_name">
|
179
|
+
<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>
|
180
|
+
</td>
|
181
|
+
</tr>
|
182
|
+
<tr>
|
183
|
+
<td class="function_type">
|
184
|
+
<span class="returnvalue">void</span>
|
185
|
+
</td>
|
186
|
+
<td class="function_name">
|
187
|
+
<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>
|
188
|
+
</td>
|
189
|
+
</tr>
|
190
|
+
<tr>
|
191
|
+
<td class="function_type">
|
192
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
193
|
+
</td>
|
194
|
+
<td class="function_name">
|
195
|
+
<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>
|
196
|
+
</td>
|
197
|
+
</tr>
|
198
|
+
<tr>
|
199
|
+
<td class="function_type">
|
200
|
+
<span class="returnvalue">void</span>
|
201
|
+
</td>
|
202
|
+
<td class="function_name">
|
203
|
+
<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>
|
204
|
+
</td>
|
205
|
+
</tr>
|
206
|
+
<tr>
|
207
|
+
<td class="function_type">
|
208
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
209
|
+
</td>
|
210
|
+
<td class="function_name">
|
211
|
+
<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>
|
212
|
+
</td>
|
213
|
+
</tr>
|
214
|
+
<tr>
|
215
|
+
<td class="function_type">
|
216
|
+
<span class="returnvalue">void</span>
|
217
|
+
</td>
|
218
|
+
<td class="function_name">
|
219
|
+
<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>
|
220
|
+
</td>
|
221
|
+
</tr>
|
222
|
+
<tr>
|
223
|
+
<td class="function_type">
|
224
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
225
|
+
</td>
|
226
|
+
<td class="function_name">
|
227
|
+
<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>
|
228
|
+
</td>
|
229
|
+
</tr>
|
230
|
+
<tr>
|
231
|
+
<td class="function_type">
|
232
|
+
<span class="returnvalue">void</span>
|
233
|
+
</td>
|
234
|
+
<td class="function_name">
|
235
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-indent-lines" title="gtk_source_view_indent_lines ()">gtk_source_view_indent_lines</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-unindent-lines" title="gtk_source_view_unindent_lines ()">gtk_source_view_unindent_lines</a> <span class="c_punctuation">()</span>
|
244
|
+
</td>
|
245
|
+
</tr>
|
246
|
+
<tr>
|
247
|
+
<td class="function_type">
|
248
|
+
<a href="/home/seb/jhbuild/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-visual-column" title="gtk_source_view_get_visual_column ()">gtk_source_view_get_visual_column</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-smart-backspace" title="gtk_source_view_set_smart_backspace ()">gtk_source_view_set_smart_backspace</a> <span class="c_punctuation">()</span>
|
260
|
+
</td>
|
261
|
+
</tr>
|
262
|
+
<tr>
|
263
|
+
<td class="function_type">
|
264
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
265
|
+
</td>
|
266
|
+
<td class="function_name">
|
267
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-get-smart-backspace" title="gtk_source_view_get_smart_backspace ()">gtk_source_view_get_smart_backspace</a> <span class="c_punctuation">()</span>
|
268
|
+
</td>
|
269
|
+
</tr>
|
270
|
+
<tr>
|
271
|
+
<td class="function_type">
|
272
|
+
<span class="returnvalue">void</span>
|
273
|
+
</td>
|
274
|
+
<td class="function_name">
|
275
|
+
<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>
|
276
|
+
</td>
|
277
|
+
</tr>
|
278
|
+
<tr>
|
279
|
+
<td class="function_type">
|
280
|
+
<a class="link" href="GtkSourceView.html#GtkSourceSmartHomeEndType" title="enum GtkSourceSmartHomeEndType"><span class="returnvalue">GtkSourceSmartHomeEndType</span></a>
|
281
|
+
</td>
|
282
|
+
<td class="function_name">
|
283
|
+
<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>
|
284
|
+
</td>
|
285
|
+
</tr>
|
286
|
+
<tr>
|
287
|
+
<td class="function_type">
|
288
|
+
<span class="returnvalue">void</span>
|
289
|
+
</td>
|
290
|
+
<td class="function_name">
|
291
|
+
<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>
|
292
|
+
</td>
|
293
|
+
</tr>
|
294
|
+
<tr>
|
295
|
+
<td class="function_type">
|
296
|
+
<a class="link" href="GtkSourceMarkAttributes.html" title="GtkSourceMarkAttributes"><span class="returnvalue">GtkSourceMarkAttributes</span></a> *
|
297
|
+
</td>
|
298
|
+
<td class="function_name">
|
299
|
+
<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>
|
300
|
+
</td>
|
301
|
+
</tr>
|
302
|
+
<tr>
|
303
|
+
<td class="function_type">
|
304
|
+
<span class="returnvalue">void</span>
|
305
|
+
</td>
|
306
|
+
<td class="function_name">
|
307
|
+
<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>
|
308
|
+
</td>
|
309
|
+
</tr>
|
310
|
+
<tr>
|
311
|
+
<td class="function_type">
|
312
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
313
|
+
</td>
|
314
|
+
<td class="function_name">
|
315
|
+
<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>
|
316
|
+
</td>
|
317
|
+
</tr>
|
318
|
+
<tr>
|
319
|
+
<td class="function_type">
|
320
|
+
<span class="returnvalue">void</span>
|
321
|
+
</td>
|
322
|
+
<td class="function_name">
|
323
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-set-background-pattern" title="gtk_source_view_set_background_pattern ()">gtk_source_view_set_background_pattern</a> <span class="c_punctuation">()</span>
|
324
|
+
</td>
|
325
|
+
</tr>
|
326
|
+
<tr>
|
327
|
+
<td class="function_type">
|
328
|
+
<a class="link" href="GtkSourceView.html#GtkSourceBackgroundPatternType" title="enum GtkSourceBackgroundPatternType"><span class="returnvalue">GtkSourceBackgroundPatternType</span></a>
|
329
|
+
</td>
|
330
|
+
<td class="function_name">
|
331
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-get-background-pattern" title="gtk_source_view_get_background_pattern ()">gtk_source_view_get_background_pattern</a> <span class="c_punctuation">()</span>
|
332
|
+
</td>
|
333
|
+
</tr>
|
334
|
+
</tbody>
|
335
|
+
</table></div>
|
336
|
+
</div>
|
337
|
+
<div class="refsect1">
|
338
|
+
<a name="GtkSourceView.properties"></a><h2>Properties</h2>
|
339
|
+
<div class="informaltable"><table class="informaltable" border="0">
|
340
|
+
<colgroup>
|
341
|
+
<col width="150px" class="properties_type">
|
342
|
+
<col width="300px" class="properties_name">
|
343
|
+
<col width="200px" class="properties_flags">
|
344
|
+
</colgroup>
|
345
|
+
<tbody>
|
346
|
+
<tr>
|
347
|
+
<td class="property_type"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
348
|
+
<td class="property_name"><a class="link" href="GtkSourceView.html#GtkSourceView--auto-indent" title="The “auto-indent” property">auto-indent</a></td>
|
349
|
+
<td class="property_flags">Read / Write</td>
|
350
|
+
</tr>
|
351
|
+
<tr>
|
352
|
+
<td class="property_type"><a class="link" href="GtkSourceView.html#GtkSourceBackgroundPatternType" title="enum GtkSourceBackgroundPatternType"><span class="type">GtkSourceBackgroundPatternType</span></a></td>
|
353
|
+
<td class="property_name"><a class="link" href="GtkSourceView.html#GtkSourceView--background-pattern" title="The “background-pattern” property">background-pattern</a></td>
|
354
|
+
<td class="property_flags">Read / Write</td>
|
355
|
+
</tr>
|
356
|
+
<tr>
|
357
|
+
<td class="property_type">
|
358
|
+
<a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> *</td>
|
359
|
+
<td class="property_name"><a class="link" href="GtkSourceView.html#GtkSourceView--completion" title="The “completion” property">completion</a></td>
|
360
|
+
<td class="property_flags">Read</td>
|
361
|
+
</tr>
|
362
|
+
<tr>
|
363
|
+
<td class="property_type"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
364
|
+
<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>
|
365
|
+
<td class="property_flags">Read / Write</td>
|
366
|
+
</tr>
|
367
|
+
<tr>
|
368
|
+
<td class="property_type"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
369
|
+
<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>
|
370
|
+
<td class="property_flags">Read / Write</td>
|
371
|
+
</tr>
|
372
|
+
<tr>
|
373
|
+
<td class="property_type"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
374
|
+
<td class="property_name"><a class="link" href="GtkSourceView.html#GtkSourceView--indent-width" title="The “indent-width” property">indent-width</a></td>
|
375
|
+
<td class="property_flags">Read / Write</td>
|
376
|
+
</tr>
|
377
|
+
<tr>
|
378
|
+
<td class="property_type"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
379
|
+
<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>
|
380
|
+
<td class="property_flags">Read / Write</td>
|
381
|
+
</tr>
|
382
|
+
<tr>
|
383
|
+
<td class="property_type"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
|
384
|
+
<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>
|
385
|
+
<td class="property_flags">Read / Write</td>
|
386
|
+
</tr>
|
387
|
+
<tr>
|
388
|
+
<td class="property_type"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
389
|
+
<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>
|
390
|
+
<td class="property_flags">Read / Write</td>
|
391
|
+
</tr>
|
392
|
+
<tr>
|
393
|
+
<td class="property_type"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
394
|
+
<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>
|
395
|
+
<td class="property_flags">Read / Write</td>
|
396
|
+
</tr>
|
397
|
+
<tr>
|
398
|
+
<td class="property_type"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
399
|
+
<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>
|
400
|
+
<td class="property_flags">Read / Write</td>
|
401
|
+
</tr>
|
402
|
+
<tr>
|
403
|
+
<td class="property_type"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
404
|
+
<td class="property_name"><a class="link" href="GtkSourceView.html#GtkSourceView--smart-backspace" title="The “smart-backspace” property">smart-backspace</a></td>
|
405
|
+
<td class="property_flags">Read / Write</td>
|
406
|
+
</tr>
|
407
|
+
<tr>
|
408
|
+
<td class="property_type"><a class="link" href="GtkSourceView.html#GtkSourceSmartHomeEndType" title="enum GtkSourceSmartHomeEndType"><span class="type">GtkSourceSmartHomeEndType</span></a></td>
|
409
|
+
<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>
|
410
|
+
<td class="property_flags">Read / Write</td>
|
411
|
+
</tr>
|
412
|
+
<tr>
|
413
|
+
<td class="property_type">
|
414
|
+
<a class="link" href="GtkSourceSpaceDrawer.html" title="GtkSourceSpaceDrawer"><span class="type">GtkSourceSpaceDrawer</span></a> *</td>
|
415
|
+
<td class="property_name"><a class="link" href="GtkSourceView.html#GtkSourceView--space-drawer" title="The “space-drawer” property">space-drawer</a></td>
|
416
|
+
<td class="property_flags">Read</td>
|
417
|
+
</tr>
|
418
|
+
<tr>
|
419
|
+
<td class="property_type"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
|
420
|
+
<td class="property_name"><a class="link" href="GtkSourceView.html#GtkSourceView--tab-width" title="The “tab-width” property">tab-width</a></td>
|
421
|
+
<td class="property_flags">Read / Write</td>
|
422
|
+
</tr>
|
423
|
+
</tbody>
|
424
|
+
</table></div>
|
425
|
+
</div>
|
426
|
+
<div class="refsect1">
|
427
|
+
<a name="GtkSourceView.signals"></a><h2>Signals</h2>
|
428
|
+
<div class="informaltable"><table class="informaltable" border="0">
|
429
|
+
<colgroup>
|
430
|
+
<col width="150px" class="signals_return">
|
431
|
+
<col width="300px" class="signals_name">
|
432
|
+
<col width="200px" class="signals_flags">
|
433
|
+
</colgroup>
|
434
|
+
<tbody>
|
435
|
+
<tr>
|
436
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
437
|
+
<td class="signal_name"><a class="link" href="GtkSourceView.html#GtkSourceView-change-case" title="The “change-case” signal">change-case</a></td>
|
438
|
+
<td class="signal_flags"><a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-ACTION:CAPS">Action</a></td>
|
439
|
+
</tr>
|
440
|
+
<tr>
|
441
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
442
|
+
<td class="signal_name"><a class="link" href="GtkSourceView.html#GtkSourceView-change-number" title="The “change-number” signal">change-number</a></td>
|
443
|
+
<td class="signal_flags"><a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-ACTION:CAPS">Action</a></td>
|
444
|
+
</tr>
|
445
|
+
<tr>
|
446
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
447
|
+
<td class="signal_name"><a class="link" href="GtkSourceView.html#GtkSourceView-join-lines" title="The “join-lines” signal">join-lines</a></td>
|
448
|
+
<td class="signal_flags"><a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-ACTION:CAPS">Action</a></td>
|
449
|
+
</tr>
|
450
|
+
<tr>
|
451
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
452
|
+
<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>
|
453
|
+
<td class="signal_flags"><a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
454
|
+
</tr>
|
455
|
+
<tr>
|
456
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
457
|
+
<td class="signal_name"><a class="link" href="GtkSourceView.html#GtkSourceView-move-lines" title="The “move-lines” signal">move-lines</a></td>
|
458
|
+
<td class="signal_flags"><a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-ACTION:CAPS">Action</a></td>
|
459
|
+
</tr>
|
460
|
+
<tr>
|
461
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
462
|
+
<td class="signal_name"><a class="link" href="GtkSourceView.html#GtkSourceView-move-to-matching-bracket" title="The “move-to-matching-bracket” signal">move-to-matching-bracket</a></td>
|
463
|
+
<td class="signal_flags"><a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-ACTION:CAPS">Action</a></td>
|
464
|
+
</tr>
|
465
|
+
<tr>
|
466
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
467
|
+
<td class="signal_name"><a class="link" href="GtkSourceView.html#GtkSourceView-move-words" title="The “move-words” signal">move-words</a></td>
|
468
|
+
<td class="signal_flags"><a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-ACTION:CAPS">Action</a></td>
|
469
|
+
</tr>
|
470
|
+
<tr>
|
471
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
472
|
+
<td class="signal_name"><a class="link" href="GtkSourceView.html#GtkSourceView-redo" title="The “redo” signal">redo</a></td>
|
473
|
+
<td class="signal_flags"><a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-ACTION:CAPS">Action</a></td>
|
474
|
+
</tr>
|
475
|
+
<tr>
|
476
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
477
|
+
<td class="signal_name"><a class="link" href="GtkSourceView.html#GtkSourceView-show-completion" title="The “show-completion” signal">show-completion</a></td>
|
478
|
+
<td class="signal_flags"><a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-ACTION:CAPS">Action</a></td>
|
479
|
+
</tr>
|
480
|
+
<tr>
|
481
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
482
|
+
<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>
|
483
|
+
<td class="signal_flags"><a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
484
|
+
</tr>
|
485
|
+
<tr>
|
486
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
487
|
+
<td class="signal_name"><a class="link" href="GtkSourceView.html#GtkSourceView-undo" title="The “undo” signal">undo</a></td>
|
488
|
+
<td class="signal_flags"><a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-ACTION:CAPS">Action</a></td>
|
489
|
+
</tr>
|
490
|
+
</tbody>
|
491
|
+
</table></div>
|
492
|
+
</div>
|
493
|
+
<div class="refsect1">
|
494
|
+
<a name="GtkSourceView.other"></a><h2>Types and Values</h2>
|
495
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
496
|
+
<colgroup>
|
497
|
+
<col width="150px" class="name">
|
498
|
+
<col class="description">
|
499
|
+
</colgroup>
|
500
|
+
<tbody>
|
501
|
+
<tr>
|
502
|
+
<td class="datatype_keyword"> </td>
|
503
|
+
<td class="function_name"><a class="link" href="GtkSourceView.html#GtkSourceView-struct" title="GtkSourceView">GtkSourceView</a></td>
|
504
|
+
</tr>
|
505
|
+
<tr>
|
506
|
+
<td class="datatype_keyword">enum</td>
|
507
|
+
<td class="function_name"><a class="link" href="GtkSourceView.html#GtkSourceSmartHomeEndType" title="enum GtkSourceSmartHomeEndType">GtkSourceSmartHomeEndType</a></td>
|
508
|
+
</tr>
|
509
|
+
<tr>
|
510
|
+
<td class="datatype_keyword">enum</td>
|
511
|
+
<td class="function_name"><a class="link" href="GtkSourceView.html#GtkSourceViewGutterPosition" title="enum GtkSourceViewGutterPosition">GtkSourceViewGutterPosition</a></td>
|
512
|
+
</tr>
|
513
|
+
<tr>
|
514
|
+
<td class="datatype_keyword">enum</td>
|
515
|
+
<td class="function_name"><a class="link" href="GtkSourceView.html#GtkSourceBackgroundPatternType" title="enum GtkSourceBackgroundPatternType">GtkSourceBackgroundPatternType</a></td>
|
516
|
+
</tr>
|
517
|
+
</tbody>
|
518
|
+
</table></div>
|
519
|
+
</div>
|
520
|
+
<div class="refsect1">
|
521
|
+
<a name="GtkSourceView.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
522
|
+
<pre class="screen"> <a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html">GEnum</a>
|
523
|
+
<span class="lineart">├──</span> GtkSourceBackgroundPatternType
|
524
|
+
<span class="lineart">├──</span> GtkSourceSmartHomeEndType
|
525
|
+
<span class="lineart">╰──</span> GtkSourceViewGutterPosition
|
526
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
527
|
+
<span class="lineart">╰──</span> <a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
|
528
|
+
<span class="lineart">╰──</span> <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkWidget.html#GtkWidget-struct">GtkWidget</a>
|
529
|
+
<span class="lineart">╰──</span> <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkContainer.html#GtkContainer-struct">GtkContainer</a>
|
530
|
+
<span class="lineart">╰──</span> <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextView.html#GtkTextView-struct">GtkTextView</a>
|
531
|
+
<span class="lineart">╰──</span> GtkSourceView
|
532
|
+
<span class="lineart">╰──</span> <a class="link" href="GtkSourceMap.html" title="GtkSourceMap">GtkSourceMap</a>
|
533
|
+
</pre>
|
534
|
+
</div>
|
535
|
+
<div class="refsect1">
|
536
|
+
<a name="GtkSourceView.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
|
537
|
+
<p>
|
538
|
+
GtkSourceView implements
|
539
|
+
AtkImplementorIface, <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkBuildable.html#GtkBuildable-struct">GtkBuildable</a> and <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkScrollable.html#GtkScrollable-struct">GtkScrollable</a>.</p>
|
540
|
+
</div>
|
541
|
+
<div class="refsect1">
|
542
|
+
<a name="GtkSourceView.includes"></a><h2>Includes</h2>
|
543
|
+
<pre class="synopsis">#include <gtksourceview/gtksource.h>
|
544
|
+
</pre>
|
545
|
+
</div>
|
546
|
+
<div class="refsect1">
|
547
|
+
<a name="GtkSourceView.description"></a><h2>Description</h2>
|
548
|
+
<p><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> is the main class of the GtkSourceView library.
|
549
|
+
Use a <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>
|
550
|
+
<p>This class provides:</p>
|
551
|
+
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
|
552
|
+
<li class="listitem"><p>Show the line numbers;</p></li>
|
553
|
+
<li class="listitem"><p>Show a right margin;</p></li>
|
554
|
+
<li class="listitem"><p>Highlight the current line;</p></li>
|
555
|
+
<li class="listitem"><p>Indentation settings;</p></li>
|
556
|
+
<li class="listitem"><p>Configuration for the Home and End keyboard keys;</p></li>
|
557
|
+
<li class="listitem"><p>Configure and show line marks;</p></li>
|
558
|
+
<li class="listitem"><p>And a few other things.</p></li>
|
559
|
+
</ul></div>
|
560
|
+
<p>An easy way to test all these features is to use the test-widget mini-program
|
561
|
+
provided in the GtkSourceView repository, in the tests/ directory.</p>
|
562
|
+
<div class="refsect2">
|
563
|
+
<a name="id-1.3.3.3.10.6"></a><h3>GtkSourceView as GtkBuildable</h3>
|
564
|
+
<p>The GtkSourceView implementation of the <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkBuildable.html#GtkBuildable-struct"><span class="type">GtkBuildable</span></a> interface exposes the
|
565
|
+
<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>
|
566
|
+
<p>An example of a UI definition fragment with GtkSourceView:</p>
|
567
|
+
<div class="informalexample">
|
568
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
569
|
+
<tbody>
|
570
|
+
<tr>
|
571
|
+
<td class="listing_lines" align="right"><pre>1
|
572
|
+
2
|
573
|
+
3
|
574
|
+
4
|
575
|
+
5
|
576
|
+
6
|
577
|
+
7
|
578
|
+
8
|
579
|
+
9</pre></td>
|
580
|
+
<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>
|
581
|
+
<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>
|
582
|
+
<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>
|
583
|
+
<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>
|
584
|
+
<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>
|
585
|
+
<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>
|
586
|
+
<span class="normal"> </span><span class="symbol"></</span><span class="normal">object</span><span class="symbol">></span>
|
587
|
+
<span class="normal"> </span><span class="symbol"></</span><span class="normal">child</span><span class="symbol">></span>
|
588
|
+
<span class="symbol"></</span><span class="normal">object</span><span class="symbol">></span></pre></td>
|
589
|
+
</tr>
|
590
|
+
</tbody>
|
591
|
+
</table>
|
592
|
+
</div>
|
593
|
+
|
594
|
+
<p></p>
|
595
|
+
</div>
|
596
|
+
</div>
|
597
|
+
<div class="refsect1">
|
598
|
+
<a name="GtkSourceView.functions_details"></a><h2>Functions</h2>
|
599
|
+
<div class="refsect2">
|
600
|
+
<a name="gtk-source-view-new"></a><h3>gtk_source_view_new ()</h3>
|
601
|
+
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkWidget.html#GtkWidget-struct"><span class="returnvalue">GtkWidget</span></a> *
|
602
|
+
gtk_source_view_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
603
|
+
<p>Creates a new <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p>
|
604
|
+
<p>By default, an empty <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> will be lazily created and can be
|
605
|
+
retrieved with <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextView.html#gtk-text-view-get-buffer"><code class="function">gtk_text_view_get_buffer()</code></a>.</p>
|
606
|
+
<p>If you want to specify your own buffer, either override the
|
607
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextView.html#GtkTextViewClass"><span class="type">GtkTextViewClass</span></a> create_buffer factory method, or use
|
608
|
+
<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>
|
609
|
+
<div class="refsect3">
|
610
|
+
<a name="gtk-source-view-new.returns"></a><h4>Returns</h4>
|
611
|
+
<p> a new <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p>
|
612
|
+
</div>
|
613
|
+
</div>
|
614
|
+
<hr>
|
615
|
+
<div class="refsect2">
|
616
|
+
<a name="gtk-source-view-new-with-buffer"></a><h3>gtk_source_view_new_with_buffer ()</h3>
|
617
|
+
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkWidget.html#GtkWidget-struct"><span class="returnvalue">GtkWidget</span></a> *
|
618
|
+
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>
|
619
|
+
<p>Creates a new <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> widget displaying the buffer
|
620
|
+
<em class="parameter"><code>buffer</code></em>
|
621
|
+
. One buffer can be shared among many widgets.</p>
|
622
|
+
<div class="refsect3">
|
623
|
+
<a name="gtk-source-view-new-with-buffer.parameters"></a><h4>Parameters</h4>
|
624
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
625
|
+
<colgroup>
|
626
|
+
<col width="150px" class="parameters_name">
|
627
|
+
<col class="parameters_description">
|
628
|
+
<col width="200px" class="parameters_annotations">
|
629
|
+
</colgroup>
|
630
|
+
<tbody><tr>
|
631
|
+
<td class="parameter_name"><p>buffer</p></td>
|
632
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
|
633
|
+
<td class="parameter_annotations"> </td>
|
634
|
+
</tr></tbody>
|
635
|
+
</table></div>
|
636
|
+
</div>
|
637
|
+
<div class="refsect3">
|
638
|
+
<a name="gtk-source-view-new-with-buffer.returns"></a><h4>Returns</h4>
|
639
|
+
<p> a new <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p>
|
640
|
+
</div>
|
641
|
+
</div>
|
642
|
+
<hr>
|
643
|
+
<div class="refsect2">
|
644
|
+
<a name="gtk-source-view-get-completion"></a><h3>gtk_source_view_get_completion ()</h3>
|
645
|
+
<pre class="programlisting"><a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="returnvalue">GtkSourceCompletion</span></a> *
|
646
|
+
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>
|
647
|
+
<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>
|
648
|
+
. The returned object is
|
649
|
+
guaranteed to be the same for the lifetime of <em class="parameter"><code>view</code></em>
|
650
|
+
. Each <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>
|
651
|
+
object has a different <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a>.</p>
|
652
|
+
<div class="refsect3">
|
653
|
+
<a name="gtk-source-view-get-completion.parameters"></a><h4>Parameters</h4>
|
654
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
655
|
+
<colgroup>
|
656
|
+
<col width="150px" class="parameters_name">
|
657
|
+
<col class="parameters_description">
|
658
|
+
<col width="200px" class="parameters_annotations">
|
659
|
+
</colgroup>
|
660
|
+
<tbody><tr>
|
661
|
+
<td class="parameter_name"><p>view</p></td>
|
662
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
663
|
+
<td class="parameter_annotations"> </td>
|
664
|
+
</tr></tbody>
|
665
|
+
</table></div>
|
666
|
+
</div>
|
667
|
+
<div class="refsect3">
|
668
|
+
<a name="gtk-source-view-get-completion.returns"></a><h4>Returns</h4>
|
669
|
+
<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>
|
670
|
+
. </p>
|
671
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
672
|
+
</div>
|
673
|
+
</div>
|
674
|
+
<hr>
|
675
|
+
<div class="refsect2">
|
676
|
+
<a name="gtk-source-view-get-gutter"></a><h3>gtk_source_view_get_gutter ()</h3>
|
677
|
+
<pre class="programlisting"><a class="link" href="GtkSourceGutter.html" title="GtkSourceGutter"><span class="returnvalue">GtkSourceGutter</span></a> *
|
678
|
+
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>,
|
679
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextView.html#GtkTextWindowType"><span class="type">GtkTextWindowType</span></a> window_type</code></em>);</pre>
|
680
|
+
<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>
|
681
|
+
for <em class="parameter"><code>view</code></em>
|
682
|
+
.
|
683
|
+
Only GTK_TEXT_WINDOW_LEFT and GTK_TEXT_WINDOW_RIGHT are supported,
|
684
|
+
respectively corresponding to the left and right gutter. The line numbers
|
685
|
+
and mark category icons are rendered in the left gutter.</p>
|
686
|
+
<div class="refsect3">
|
687
|
+
<a name="gtk-source-view-get-gutter.parameters"></a><h4>Parameters</h4>
|
688
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
689
|
+
<colgroup>
|
690
|
+
<col width="150px" class="parameters_name">
|
691
|
+
<col class="parameters_description">
|
692
|
+
<col width="200px" class="parameters_annotations">
|
693
|
+
</colgroup>
|
694
|
+
<tbody>
|
695
|
+
<tr>
|
696
|
+
<td class="parameter_name"><p>view</p></td>
|
697
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
698
|
+
<td class="parameter_annotations"> </td>
|
699
|
+
</tr>
|
700
|
+
<tr>
|
701
|
+
<td class="parameter_name"><p>window_type</p></td>
|
702
|
+
<td class="parameter_description"><p>the gutter window type.</p></td>
|
703
|
+
<td class="parameter_annotations"> </td>
|
704
|
+
</tr>
|
705
|
+
</tbody>
|
706
|
+
</table></div>
|
707
|
+
</div>
|
708
|
+
<div class="refsect3">
|
709
|
+
<a name="gtk-source-view-get-gutter.returns"></a><h4>Returns</h4>
|
710
|
+
<p>the <a class="link" href="GtkSourceGutter.html" title="GtkSourceGutter"><span class="type">GtkSourceGutter</span></a>. </p>
|
711
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
712
|
+
</div>
|
713
|
+
<p class="since">Since: <a class="link" href="api-index-2-8.html#api-index-2.8">2.8</a></p>
|
714
|
+
</div>
|
715
|
+
<hr>
|
716
|
+
<div class="refsect2">
|
717
|
+
<a name="gtk-source-view-get-space-drawer"></a><h3>gtk_source_view_get_space_drawer ()</h3>
|
718
|
+
<pre class="programlisting"><a class="link" href="GtkSourceSpaceDrawer.html" title="GtkSourceSpaceDrawer"><span class="returnvalue">GtkSourceSpaceDrawer</span></a> *
|
719
|
+
gtk_source_view_get_space_drawer (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
|
720
|
+
<p>Gets the <a class="link" href="GtkSourceSpaceDrawer.html" title="GtkSourceSpaceDrawer"><span class="type">GtkSourceSpaceDrawer</span></a> associated with <em class="parameter"><code>view</code></em>
|
721
|
+
. The returned object is
|
722
|
+
guaranteed to be the same for the lifetime of <em class="parameter"><code>view</code></em>
|
723
|
+
. Each <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>
|
724
|
+
object has a different <a class="link" href="GtkSourceSpaceDrawer.html" title="GtkSourceSpaceDrawer"><span class="type">GtkSourceSpaceDrawer</span></a>.</p>
|
725
|
+
<div class="refsect3">
|
726
|
+
<a name="gtk-source-view-get-space-drawer.parameters"></a><h4>Parameters</h4>
|
727
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
728
|
+
<colgroup>
|
729
|
+
<col width="150px" class="parameters_name">
|
730
|
+
<col class="parameters_description">
|
731
|
+
<col width="200px" class="parameters_annotations">
|
732
|
+
</colgroup>
|
733
|
+
<tbody><tr>
|
734
|
+
<td class="parameter_name"><p>view</p></td>
|
735
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
736
|
+
<td class="parameter_annotations"> </td>
|
737
|
+
</tr></tbody>
|
738
|
+
</table></div>
|
739
|
+
</div>
|
740
|
+
<div class="refsect3">
|
741
|
+
<a name="gtk-source-view-get-space-drawer.returns"></a><h4>Returns</h4>
|
742
|
+
<p>the <a class="link" href="GtkSourceSpaceDrawer.html" title="GtkSourceSpaceDrawer"><span class="type">GtkSourceSpaceDrawer</span></a> associated with <em class="parameter"><code>view</code></em>
|
743
|
+
. </p>
|
744
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
745
|
+
</div>
|
746
|
+
<p class="since">Since: <a class="link" href="api-index-3-24.html#api-index-3.24">3.24</a></p>
|
747
|
+
</div>
|
748
|
+
<hr>
|
749
|
+
<div class="refsect2">
|
750
|
+
<a name="gtk-source-view-set-show-line-numbers"></a><h3>gtk_source_view_set_show_line_numbers ()</h3>
|
751
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
752
|
+
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>,
|
753
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show</code></em>);</pre>
|
754
|
+
<p>If <a href="/home/seb/jhbuild/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>
|
755
|
+
<div class="refsect3">
|
756
|
+
<a name="gtk-source-view-set-show-line-numbers.parameters"></a><h4>Parameters</h4>
|
757
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
758
|
+
<colgroup>
|
759
|
+
<col width="150px" class="parameters_name">
|
760
|
+
<col class="parameters_description">
|
761
|
+
<col width="200px" class="parameters_annotations">
|
762
|
+
</colgroup>
|
763
|
+
<tbody>
|
764
|
+
<tr>
|
765
|
+
<td class="parameter_name"><p>view</p></td>
|
766
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
767
|
+
<td class="parameter_annotations"> </td>
|
768
|
+
</tr>
|
769
|
+
<tr>
|
770
|
+
<td class="parameter_name"><p>show</p></td>
|
771
|
+
<td class="parameter_description"><p>whether line numbers should be displayed.</p></td>
|
772
|
+
<td class="parameter_annotations"> </td>
|
773
|
+
</tr>
|
774
|
+
</tbody>
|
775
|
+
</table></div>
|
776
|
+
</div>
|
777
|
+
</div>
|
778
|
+
<hr>
|
779
|
+
<div class="refsect2">
|
780
|
+
<a name="gtk-source-view-get-show-line-numbers"></a><h3>gtk_source_view_get_show_line_numbers ()</h3>
|
781
|
+
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
782
|
+
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>
|
783
|
+
<p>Returns whether line numbers are displayed beside the text.</p>
|
784
|
+
<div class="refsect3">
|
785
|
+
<a name="gtk-source-view-get-show-line-numbers.parameters"></a><h4>Parameters</h4>
|
786
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
787
|
+
<colgroup>
|
788
|
+
<col width="150px" class="parameters_name">
|
789
|
+
<col class="parameters_description">
|
790
|
+
<col width="200px" class="parameters_annotations">
|
791
|
+
</colgroup>
|
792
|
+
<tbody><tr>
|
793
|
+
<td class="parameter_name"><p>view</p></td>
|
794
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
795
|
+
<td class="parameter_annotations"> </td>
|
796
|
+
</tr></tbody>
|
797
|
+
</table></div>
|
798
|
+
</div>
|
799
|
+
<div class="refsect3">
|
800
|
+
<a name="gtk-source-view-get-show-line-numbers.returns"></a><h4>Returns</h4>
|
801
|
+
<p> <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the line numbers are displayed.</p>
|
802
|
+
</div>
|
803
|
+
</div>
|
804
|
+
<hr>
|
805
|
+
<div class="refsect2">
|
806
|
+
<a name="gtk-source-view-set-show-right-margin"></a><h3>gtk_source_view_set_show_right_margin ()</h3>
|
807
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
808
|
+
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>,
|
809
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show</code></em>);</pre>
|
810
|
+
<p>If <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> a right margin is displayed.</p>
|
811
|
+
<div class="refsect3">
|
812
|
+
<a name="gtk-source-view-set-show-right-margin.parameters"></a><h4>Parameters</h4>
|
813
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
814
|
+
<colgroup>
|
815
|
+
<col width="150px" class="parameters_name">
|
816
|
+
<col class="parameters_description">
|
817
|
+
<col width="200px" class="parameters_annotations">
|
818
|
+
</colgroup>
|
819
|
+
<tbody>
|
820
|
+
<tr>
|
821
|
+
<td class="parameter_name"><p>view</p></td>
|
822
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
823
|
+
<td class="parameter_annotations"> </td>
|
824
|
+
</tr>
|
825
|
+
<tr>
|
826
|
+
<td class="parameter_name"><p>show</p></td>
|
827
|
+
<td class="parameter_description"><p>whether to show a right margin.</p></td>
|
828
|
+
<td class="parameter_annotations"> </td>
|
829
|
+
</tr>
|
830
|
+
</tbody>
|
831
|
+
</table></div>
|
832
|
+
</div>
|
833
|
+
</div>
|
834
|
+
<hr>
|
835
|
+
<div class="refsect2">
|
836
|
+
<a name="gtk-source-view-get-show-right-margin"></a><h3>gtk_source_view_get_show_right_margin ()</h3>
|
837
|
+
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
838
|
+
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>
|
839
|
+
<p>Returns whether a right margin is displayed.</p>
|
840
|
+
<div class="refsect3">
|
841
|
+
<a name="gtk-source-view-get-show-right-margin.parameters"></a><h4>Parameters</h4>
|
842
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
843
|
+
<colgroup>
|
844
|
+
<col width="150px" class="parameters_name">
|
845
|
+
<col class="parameters_description">
|
846
|
+
<col width="200px" class="parameters_annotations">
|
847
|
+
</colgroup>
|
848
|
+
<tbody><tr>
|
849
|
+
<td class="parameter_name"><p>view</p></td>
|
850
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
851
|
+
<td class="parameter_annotations"> </td>
|
852
|
+
</tr></tbody>
|
853
|
+
</table></div>
|
854
|
+
</div>
|
855
|
+
<div class="refsect3">
|
856
|
+
<a name="gtk-source-view-get-show-right-margin.returns"></a><h4>Returns</h4>
|
857
|
+
<p> <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the right margin is shown.</p>
|
858
|
+
</div>
|
859
|
+
</div>
|
860
|
+
<hr>
|
861
|
+
<div class="refsect2">
|
862
|
+
<a name="gtk-source-view-set-right-margin-position"></a><h3>gtk_source_view_set_right_margin_position ()</h3>
|
863
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
864
|
+
gtk_source_view_set_right_margin_position
|
865
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
|
866
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> pos</code></em>);</pre>
|
867
|
+
<p>Sets the position of the right margin in the given <em class="parameter"><code>view</code></em>
|
868
|
+
.</p>
|
869
|
+
<div class="refsect3">
|
870
|
+
<a name="gtk-source-view-set-right-margin-position.parameters"></a><h4>Parameters</h4>
|
871
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
872
|
+
<colgroup>
|
873
|
+
<col width="150px" class="parameters_name">
|
874
|
+
<col class="parameters_description">
|
875
|
+
<col width="200px" class="parameters_annotations">
|
876
|
+
</colgroup>
|
877
|
+
<tbody>
|
878
|
+
<tr>
|
879
|
+
<td class="parameter_name"><p>view</p></td>
|
880
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
881
|
+
<td class="parameter_annotations"> </td>
|
882
|
+
</tr>
|
883
|
+
<tr>
|
884
|
+
<td class="parameter_name"><p>pos</p></td>
|
885
|
+
<td class="parameter_description"><p>the width in characters where to position the right margin.</p></td>
|
886
|
+
<td class="parameter_annotations"> </td>
|
887
|
+
</tr>
|
888
|
+
</tbody>
|
889
|
+
</table></div>
|
890
|
+
</div>
|
891
|
+
</div>
|
892
|
+
<hr>
|
893
|
+
<div class="refsect2">
|
894
|
+
<a name="gtk-source-view-get-right-margin-position"></a><h3>gtk_source_view_get_right_margin_position ()</h3>
|
895
|
+
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
896
|
+
gtk_source_view_get_right_margin_position
|
897
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
|
898
|
+
<p>Gets the position of the right margin in the given <em class="parameter"><code>view</code></em>
|
899
|
+
.</p>
|
900
|
+
<div class="refsect3">
|
901
|
+
<a name="gtk-source-view-get-right-margin-position.parameters"></a><h4>Parameters</h4>
|
902
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
903
|
+
<colgroup>
|
904
|
+
<col width="150px" class="parameters_name">
|
905
|
+
<col class="parameters_description">
|
906
|
+
<col width="200px" class="parameters_annotations">
|
907
|
+
</colgroup>
|
908
|
+
<tbody><tr>
|
909
|
+
<td class="parameter_name"><p>view</p></td>
|
910
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
911
|
+
<td class="parameter_annotations"> </td>
|
912
|
+
</tr></tbody>
|
913
|
+
</table></div>
|
914
|
+
</div>
|
915
|
+
<div class="refsect3">
|
916
|
+
<a name="gtk-source-view-get-right-margin-position.returns"></a><h4>Returns</h4>
|
917
|
+
<p> the position of the right margin.</p>
|
918
|
+
</div>
|
919
|
+
</div>
|
920
|
+
<hr>
|
921
|
+
<div class="refsect2">
|
922
|
+
<a name="gtk-source-view-set-highlight-current-line"></a><h3>gtk_source_view_set_highlight_current_line ()</h3>
|
923
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
924
|
+
gtk_source_view_set_highlight_current_line
|
925
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
|
926
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> highlight</code></em>);</pre>
|
927
|
+
<p>If <em class="parameter"><code>highlight</code></em>
|
928
|
+
is <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> the current line will be highlighted.</p>
|
929
|
+
<div class="refsect3">
|
930
|
+
<a name="gtk-source-view-set-highlight-current-line.parameters"></a><h4>Parameters</h4>
|
931
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
932
|
+
<colgroup>
|
933
|
+
<col width="150px" class="parameters_name">
|
934
|
+
<col class="parameters_description">
|
935
|
+
<col width="200px" class="parameters_annotations">
|
936
|
+
</colgroup>
|
937
|
+
<tbody>
|
938
|
+
<tr>
|
939
|
+
<td class="parameter_name"><p>view</p></td>
|
940
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
941
|
+
<td class="parameter_annotations"> </td>
|
942
|
+
</tr>
|
943
|
+
<tr>
|
944
|
+
<td class="parameter_name"><p>highlight</p></td>
|
945
|
+
<td class="parameter_description"><p>whether to highlight the current line.</p></td>
|
946
|
+
<td class="parameter_annotations"> </td>
|
947
|
+
</tr>
|
948
|
+
</tbody>
|
949
|
+
</table></div>
|
950
|
+
</div>
|
951
|
+
</div>
|
952
|
+
<hr>
|
953
|
+
<div class="refsect2">
|
954
|
+
<a name="gtk-source-view-get-highlight-current-line"></a><h3>gtk_source_view_get_highlight_current_line ()</h3>
|
955
|
+
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
956
|
+
gtk_source_view_get_highlight_current_line
|
957
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
|
958
|
+
<p>Returns whether the current line is highlighted.</p>
|
959
|
+
<div class="refsect3">
|
960
|
+
<a name="gtk-source-view-get-highlight-current-line.parameters"></a><h4>Parameters</h4>
|
961
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
962
|
+
<colgroup>
|
963
|
+
<col width="150px" class="parameters_name">
|
964
|
+
<col class="parameters_description">
|
965
|
+
<col width="200px" class="parameters_annotations">
|
966
|
+
</colgroup>
|
967
|
+
<tbody><tr>
|
968
|
+
<td class="parameter_name"><p>view</p></td>
|
969
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
970
|
+
<td class="parameter_annotations"> </td>
|
971
|
+
</tr></tbody>
|
972
|
+
</table></div>
|
973
|
+
</div>
|
974
|
+
<div class="refsect3">
|
975
|
+
<a name="gtk-source-view-get-highlight-current-line.returns"></a><h4>Returns</h4>
|
976
|
+
<p> <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the current line is highlighted.</p>
|
977
|
+
</div>
|
978
|
+
</div>
|
979
|
+
<hr>
|
980
|
+
<div class="refsect2">
|
981
|
+
<a name="gtk-source-view-set-auto-indent"></a><h3>gtk_source_view_set_auto_indent ()</h3>
|
982
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
983
|
+
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>,
|
984
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> enable</code></em>);</pre>
|
985
|
+
<p>If <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> auto-indentation of text is enabled.</p>
|
986
|
+
<p>When Enter is pressed to create a new line, the auto-indentation inserts the
|
987
|
+
same indentation as the previous line. This is <span class="emphasis"><em>not</em></span> a
|
988
|
+
"smart indentation" where an indentation level is added or removed depending
|
989
|
+
on the context.</p>
|
990
|
+
<div class="refsect3">
|
991
|
+
<a name="gtk-source-view-set-auto-indent.parameters"></a><h4>Parameters</h4>
|
992
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
993
|
+
<colgroup>
|
994
|
+
<col width="150px" class="parameters_name">
|
995
|
+
<col class="parameters_description">
|
996
|
+
<col width="200px" class="parameters_annotations">
|
997
|
+
</colgroup>
|
998
|
+
<tbody>
|
999
|
+
<tr>
|
1000
|
+
<td class="parameter_name"><p>view</p></td>
|
1001
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
1002
|
+
<td class="parameter_annotations"> </td>
|
1003
|
+
</tr>
|
1004
|
+
<tr>
|
1005
|
+
<td class="parameter_name"><p>enable</p></td>
|
1006
|
+
<td class="parameter_description"><p>whether to enable auto indentation.</p></td>
|
1007
|
+
<td class="parameter_annotations"> </td>
|
1008
|
+
</tr>
|
1009
|
+
</tbody>
|
1010
|
+
</table></div>
|
1011
|
+
</div>
|
1012
|
+
</div>
|
1013
|
+
<hr>
|
1014
|
+
<div class="refsect2">
|
1015
|
+
<a name="gtk-source-view-get-auto-indent"></a><h3>gtk_source_view_get_auto_indent ()</h3>
|
1016
|
+
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1017
|
+
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>
|
1018
|
+
<p>Returns whether auto-indentation of text is enabled.</p>
|
1019
|
+
<div class="refsect3">
|
1020
|
+
<a name="gtk-source-view-get-auto-indent.parameters"></a><h4>Parameters</h4>
|
1021
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1022
|
+
<colgroup>
|
1023
|
+
<col width="150px" class="parameters_name">
|
1024
|
+
<col class="parameters_description">
|
1025
|
+
<col width="200px" class="parameters_annotations">
|
1026
|
+
</colgroup>
|
1027
|
+
<tbody><tr>
|
1028
|
+
<td class="parameter_name"><p>view</p></td>
|
1029
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
1030
|
+
<td class="parameter_annotations"> </td>
|
1031
|
+
</tr></tbody>
|
1032
|
+
</table></div>
|
1033
|
+
</div>
|
1034
|
+
<div class="refsect3">
|
1035
|
+
<a name="gtk-source-view-get-auto-indent.returns"></a><h4>Returns</h4>
|
1036
|
+
<p> <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if auto indentation is enabled.</p>
|
1037
|
+
</div>
|
1038
|
+
</div>
|
1039
|
+
<hr>
|
1040
|
+
<div class="refsect2">
|
1041
|
+
<a name="gtk-source-view-set-indent-on-tab"></a><h3>gtk_source_view_set_indent_on_tab ()</h3>
|
1042
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1043
|
+
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>,
|
1044
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> enable</code></em>);</pre>
|
1045
|
+
<p>If <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, when the tab key is pressed when several lines are selected, the
|
1046
|
+
selected lines are indented of one level instead of being replaced with a \t
|
1047
|
+
character. Shift+Tab unindents the selection.</p>
|
1048
|
+
<p>If the first or last line is not selected completely, it is also indented or
|
1049
|
+
unindented.</p>
|
1050
|
+
<p>When the selection doesn't span several lines, the tab key always replaces
|
1051
|
+
the selection with a normal \t character.</p>
|
1052
|
+
<div class="refsect3">
|
1053
|
+
<a name="gtk-source-view-set-indent-on-tab.parameters"></a><h4>Parameters</h4>
|
1054
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1055
|
+
<colgroup>
|
1056
|
+
<col width="150px" class="parameters_name">
|
1057
|
+
<col class="parameters_description">
|
1058
|
+
<col width="200px" class="parameters_annotations">
|
1059
|
+
</colgroup>
|
1060
|
+
<tbody>
|
1061
|
+
<tr>
|
1062
|
+
<td class="parameter_name"><p>view</p></td>
|
1063
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
1064
|
+
<td class="parameter_annotations"> </td>
|
1065
|
+
</tr>
|
1066
|
+
<tr>
|
1067
|
+
<td class="parameter_name"><p>enable</p></td>
|
1068
|
+
<td class="parameter_description"><p>whether to indent a block when tab is pressed.</p></td>
|
1069
|
+
<td class="parameter_annotations"> </td>
|
1070
|
+
</tr>
|
1071
|
+
</tbody>
|
1072
|
+
</table></div>
|
1073
|
+
</div>
|
1074
|
+
</div>
|
1075
|
+
<hr>
|
1076
|
+
<div class="refsect2">
|
1077
|
+
<a name="gtk-source-view-get-indent-on-tab"></a><h3>gtk_source_view_get_indent_on_tab ()</h3>
|
1078
|
+
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1079
|
+
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>
|
1080
|
+
<p>Returns whether when the tab key is pressed the current selection
|
1081
|
+
should get indented instead of replaced with the \t character.</p>
|
1082
|
+
<div class="refsect3">
|
1083
|
+
<a name="gtk-source-view-get-indent-on-tab.parameters"></a><h4>Parameters</h4>
|
1084
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1085
|
+
<colgroup>
|
1086
|
+
<col width="150px" class="parameters_name">
|
1087
|
+
<col class="parameters_description">
|
1088
|
+
<col width="200px" class="parameters_annotations">
|
1089
|
+
</colgroup>
|
1090
|
+
<tbody><tr>
|
1091
|
+
<td class="parameter_name"><p>view</p></td>
|
1092
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
1093
|
+
<td class="parameter_annotations"> </td>
|
1094
|
+
</tr></tbody>
|
1095
|
+
</table></div>
|
1096
|
+
</div>
|
1097
|
+
<div class="refsect3">
|
1098
|
+
<a name="gtk-source-view-get-indent-on-tab.returns"></a><h4>Returns</h4>
|
1099
|
+
<p> <a href="/home/seb/jhbuild/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>
|
1100
|
+
</div>
|
1101
|
+
</div>
|
1102
|
+
<hr>
|
1103
|
+
<div class="refsect2">
|
1104
|
+
<a name="gtk-source-view-set-tab-width"></a><h3>gtk_source_view_set_tab_width ()</h3>
|
1105
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1106
|
+
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>,
|
1107
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> width</code></em>);</pre>
|
1108
|
+
<p>Sets the width of tabulation in characters. The <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextBuffer.html#GtkTextBuffer-struct"><span class="type">GtkTextBuffer</span></a> still contains
|
1109
|
+
\t characters, but they can take a different visual width in a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>
|
1110
|
+
widget.</p>
|
1111
|
+
<div class="refsect3">
|
1112
|
+
<a name="gtk-source-view-set-tab-width.parameters"></a><h4>Parameters</h4>
|
1113
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1114
|
+
<colgroup>
|
1115
|
+
<col width="150px" class="parameters_name">
|
1116
|
+
<col class="parameters_description">
|
1117
|
+
<col width="200px" class="parameters_annotations">
|
1118
|
+
</colgroup>
|
1119
|
+
<tbody>
|
1120
|
+
<tr>
|
1121
|
+
<td class="parameter_name"><p>view</p></td>
|
1122
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
1123
|
+
<td class="parameter_annotations"> </td>
|
1124
|
+
</tr>
|
1125
|
+
<tr>
|
1126
|
+
<td class="parameter_name"><p>width</p></td>
|
1127
|
+
<td class="parameter_description"><p>width of tab in characters.</p></td>
|
1128
|
+
<td class="parameter_annotations"> </td>
|
1129
|
+
</tr>
|
1130
|
+
</tbody>
|
1131
|
+
</table></div>
|
1132
|
+
</div>
|
1133
|
+
</div>
|
1134
|
+
<hr>
|
1135
|
+
<div class="refsect2">
|
1136
|
+
<a name="gtk-source-view-get-tab-width"></a><h3>gtk_source_view_get_tab_width ()</h3>
|
1137
|
+
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
1138
|
+
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>
|
1139
|
+
<p>Returns the width of tabulation in characters.</p>
|
1140
|
+
<div class="refsect3">
|
1141
|
+
<a name="gtk-source-view-get-tab-width.parameters"></a><h4>Parameters</h4>
|
1142
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1143
|
+
<colgroup>
|
1144
|
+
<col width="150px" class="parameters_name">
|
1145
|
+
<col class="parameters_description">
|
1146
|
+
<col width="200px" class="parameters_annotations">
|
1147
|
+
</colgroup>
|
1148
|
+
<tbody><tr>
|
1149
|
+
<td class="parameter_name"><p>view</p></td>
|
1150
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
1151
|
+
<td class="parameter_annotations"> </td>
|
1152
|
+
</tr></tbody>
|
1153
|
+
</table></div>
|
1154
|
+
</div>
|
1155
|
+
<div class="refsect3">
|
1156
|
+
<a name="gtk-source-view-get-tab-width.returns"></a><h4>Returns</h4>
|
1157
|
+
<p> width of tab.</p>
|
1158
|
+
</div>
|
1159
|
+
</div>
|
1160
|
+
<hr>
|
1161
|
+
<div class="refsect2">
|
1162
|
+
<a name="gtk-source-view-set-indent-width"></a><h3>gtk_source_view_set_indent_width ()</h3>
|
1163
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1164
|
+
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>,
|
1165
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>);</pre>
|
1166
|
+
<p>Sets the number of spaces to use for each step of indent when the tab key is
|
1167
|
+
pressed. If <em class="parameter"><code>width</code></em>
|
1168
|
+
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
|
1169
|
+
will be used.</p>
|
1170
|
+
<p>The <a class="link" href="GtkSourceView.html#GtkSourceView--indent-width" title="The “indent-width” property"><span class="type">“indent-width”</span></a> interacts with the
|
1171
|
+
<a class="link" href="GtkSourceView.html#GtkSourceView--insert-spaces-instead-of-tabs" title="The “insert-spaces-instead-of-tabs” property"><span class="type">“insert-spaces-instead-of-tabs”</span></a> property and
|
1172
|
+
<a class="link" href="GtkSourceView.html#GtkSourceView--tab-width" title="The “tab-width” property"><span class="type">“tab-width”</span></a>. An example will be clearer: if the
|
1173
|
+
<a class="link" href="GtkSourceView.html#GtkSourceView--indent-width" title="The “indent-width” property"><span class="type">“indent-width”</span></a> is 4 and
|
1174
|
+
<a class="link" href="GtkSourceView.html#GtkSourceView--tab-width" title="The “tab-width” property"><span class="type">“tab-width”</span></a> is 8 and
|
1175
|
+
<a class="link" href="GtkSourceView.html#GtkSourceView--insert-spaces-instead-of-tabs" title="The “insert-spaces-instead-of-tabs” property"><span class="type">“insert-spaces-instead-of-tabs”</span></a> is <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, then pressing the tab
|
1176
|
+
key at the beginning of a line will insert 4 spaces. So far so good. Pressing
|
1177
|
+
the tab key a second time will remove the 4 spaces and insert a \t character
|
1178
|
+
instead (since <a class="link" href="GtkSourceView.html#GtkSourceView--tab-width" title="The “tab-width” property"><span class="type">“tab-width”</span></a> is 8). On the other hand, if
|
1179
|
+
<a class="link" href="GtkSourceView.html#GtkSourceView--insert-spaces-instead-of-tabs" title="The “insert-spaces-instead-of-tabs” property"><span class="type">“insert-spaces-instead-of-tabs”</span></a> is <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the second tab key
|
1180
|
+
pressed will insert 4 more spaces for a total of 8 spaces in the
|
1181
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextBuffer.html#GtkTextBuffer-struct"><span class="type">GtkTextBuffer</span></a>.</p>
|
1182
|
+
<p>The test-widget program (available in the GtkSourceView repository) may be
|
1183
|
+
useful to better understand the indentation settings (enable the space
|
1184
|
+
drawing!).</p>
|
1185
|
+
<div class="refsect3">
|
1186
|
+
<a name="gtk-source-view-set-indent-width.parameters"></a><h4>Parameters</h4>
|
1187
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1188
|
+
<colgroup>
|
1189
|
+
<col width="150px" class="parameters_name">
|
1190
|
+
<col class="parameters_description">
|
1191
|
+
<col width="200px" class="parameters_annotations">
|
1192
|
+
</colgroup>
|
1193
|
+
<tbody>
|
1194
|
+
<tr>
|
1195
|
+
<td class="parameter_name"><p>view</p></td>
|
1196
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
1197
|
+
<td class="parameter_annotations"> </td>
|
1198
|
+
</tr>
|
1199
|
+
<tr>
|
1200
|
+
<td class="parameter_name"><p>width</p></td>
|
1201
|
+
<td class="parameter_description"><p>indent width in characters.</p></td>
|
1202
|
+
<td class="parameter_annotations"> </td>
|
1203
|
+
</tr>
|
1204
|
+
</tbody>
|
1205
|
+
</table></div>
|
1206
|
+
</div>
|
1207
|
+
</div>
|
1208
|
+
<hr>
|
1209
|
+
<div class="refsect2">
|
1210
|
+
<a name="gtk-source-view-get-indent-width"></a><h3>gtk_source_view_get_indent_width ()</h3>
|
1211
|
+
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
1212
|
+
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>
|
1213
|
+
<p>Returns the number of spaces to use for each step of indent.
|
1214
|
+
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>
|
1215
|
+
<div class="refsect3">
|
1216
|
+
<a name="gtk-source-view-get-indent-width.parameters"></a><h4>Parameters</h4>
|
1217
|
+
<div class="informaltable"><table class="informaltable" 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="gtk-source-view-get-indent-width.returns"></a><h4>Returns</h4>
|
1232
|
+
<p> indent width.</p>
|
1233
|
+
</div>
|
1234
|
+
</div>
|
1235
|
+
<hr>
|
1236
|
+
<div class="refsect2">
|
1237
|
+
<a name="gtk-source-view-set-insert-spaces-instead-of-tabs"></a><h3>gtk_source_view_set_insert_spaces_instead_of_tabs ()</h3>
|
1238
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1239
|
+
gtk_source_view_set_insert_spaces_instead_of_tabs
|
1240
|
+
(<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/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> enable</code></em>);</pre>
|
1242
|
+
<p>If <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> a tab key pressed is replaced by a group of space characters. Of
|
1243
|
+
course it is still possible to insert a real \t programmatically with the
|
1244
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextBuffer.html#GtkTextBuffer-struct"><span class="type">GtkTextBuffer</span></a> API.</p>
|
1245
|
+
<div class="refsect3">
|
1246
|
+
<a name="gtk-source-view-set-insert-spaces-instead-of-tabs.parameters"></a><h4>Parameters</h4>
|
1247
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1248
|
+
<colgroup>
|
1249
|
+
<col width="150px" class="parameters_name">
|
1250
|
+
<col class="parameters_description">
|
1251
|
+
<col width="200px" class="parameters_annotations">
|
1252
|
+
</colgroup>
|
1253
|
+
<tbody>
|
1254
|
+
<tr>
|
1255
|
+
<td class="parameter_name"><p>view</p></td>
|
1256
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
1257
|
+
<td class="parameter_annotations"> </td>
|
1258
|
+
</tr>
|
1259
|
+
<tr>
|
1260
|
+
<td class="parameter_name"><p>enable</p></td>
|
1261
|
+
<td class="parameter_description"><p>whether to insert spaces instead of tabs.</p></td>
|
1262
|
+
<td class="parameter_annotations"> </td>
|
1263
|
+
</tr>
|
1264
|
+
</tbody>
|
1265
|
+
</table></div>
|
1266
|
+
</div>
|
1267
|
+
</div>
|
1268
|
+
<hr>
|
1269
|
+
<div class="refsect2">
|
1270
|
+
<a name="gtk-source-view-get-insert-spaces-instead-of-tabs"></a><h3>gtk_source_view_get_insert_spaces_instead_of_tabs ()</h3>
|
1271
|
+
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1272
|
+
gtk_source_view_get_insert_spaces_instead_of_tabs
|
1273
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
|
1274
|
+
<p>Returns whether when inserting a tabulator character it should
|
1275
|
+
be replaced by a group of space characters.</p>
|
1276
|
+
<div class="refsect3">
|
1277
|
+
<a name="gtk-source-view-get-insert-spaces-instead-of-tabs.parameters"></a><h4>Parameters</h4>
|
1278
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1279
|
+
<colgroup>
|
1280
|
+
<col width="150px" class="parameters_name">
|
1281
|
+
<col class="parameters_description">
|
1282
|
+
<col width="200px" class="parameters_annotations">
|
1283
|
+
</colgroup>
|
1284
|
+
<tbody><tr>
|
1285
|
+
<td class="parameter_name"><p>view</p></td>
|
1286
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
1287
|
+
<td class="parameter_annotations"> </td>
|
1288
|
+
</tr></tbody>
|
1289
|
+
</table></div>
|
1290
|
+
</div>
|
1291
|
+
<div class="refsect3">
|
1292
|
+
<a name="gtk-source-view-get-insert-spaces-instead-of-tabs.returns"></a><h4>Returns</h4>
|
1293
|
+
<p> <a href="/home/seb/jhbuild/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>
|
1294
|
+
</div>
|
1295
|
+
</div>
|
1296
|
+
<hr>
|
1297
|
+
<div class="refsect2">
|
1298
|
+
<a name="gtk-source-view-indent-lines"></a><h3>gtk_source_view_indent_lines ()</h3>
|
1299
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1300
|
+
gtk_source_view_indent_lines (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
|
1301
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *start</code></em>,
|
1302
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *end</code></em>);</pre>
|
1303
|
+
<p>Inserts one indentation level at the beginning of the specified lines. The
|
1304
|
+
empty lines are not indented.</p>
|
1305
|
+
<div class="refsect3">
|
1306
|
+
<a name="gtk-source-view-indent-lines.parameters"></a><h4>Parameters</h4>
|
1307
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1308
|
+
<colgroup>
|
1309
|
+
<col width="150px" class="parameters_name">
|
1310
|
+
<col class="parameters_description">
|
1311
|
+
<col width="200px" class="parameters_annotations">
|
1312
|
+
</colgroup>
|
1313
|
+
<tbody>
|
1314
|
+
<tr>
|
1315
|
+
<td class="parameter_name"><p>view</p></td>
|
1316
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
1317
|
+
<td class="parameter_annotations"> </td>
|
1318
|
+
</tr>
|
1319
|
+
<tr>
|
1320
|
+
<td class="parameter_name"><p>start</p></td>
|
1321
|
+
<td class="parameter_description"><p><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> of the first line to indent</p></td>
|
1322
|
+
<td class="parameter_annotations"> </td>
|
1323
|
+
</tr>
|
1324
|
+
<tr>
|
1325
|
+
<td class="parameter_name"><p>end</p></td>
|
1326
|
+
<td class="parameter_description"><p><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> of the last line to indent</p></td>
|
1327
|
+
<td class="parameter_annotations"> </td>
|
1328
|
+
</tr>
|
1329
|
+
</tbody>
|
1330
|
+
</table></div>
|
1331
|
+
</div>
|
1332
|
+
<p class="since">Since: <a class="link" href="api-index-3-16.html#api-index-3.16">3.16</a></p>
|
1333
|
+
</div>
|
1334
|
+
<hr>
|
1335
|
+
<div class="refsect2">
|
1336
|
+
<a name="gtk-source-view-unindent-lines"></a><h3>gtk_source_view_unindent_lines ()</h3>
|
1337
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1338
|
+
gtk_source_view_unindent_lines (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
|
1339
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *start</code></em>,
|
1340
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *end</code></em>);</pre>
|
1341
|
+
<p>Removes one indentation level at the beginning of the
|
1342
|
+
specified lines.</p>
|
1343
|
+
<div class="refsect3">
|
1344
|
+
<a name="gtk-source-view-unindent-lines.parameters"></a><h4>Parameters</h4>
|
1345
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1346
|
+
<colgroup>
|
1347
|
+
<col width="150px" class="parameters_name">
|
1348
|
+
<col class="parameters_description">
|
1349
|
+
<col width="200px" class="parameters_annotations">
|
1350
|
+
</colgroup>
|
1351
|
+
<tbody>
|
1352
|
+
<tr>
|
1353
|
+
<td class="parameter_name"><p>view</p></td>
|
1354
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
1355
|
+
<td class="parameter_annotations"> </td>
|
1356
|
+
</tr>
|
1357
|
+
<tr>
|
1358
|
+
<td class="parameter_name"><p>start</p></td>
|
1359
|
+
<td class="parameter_description"><p><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> of the first line to indent</p></td>
|
1360
|
+
<td class="parameter_annotations"> </td>
|
1361
|
+
</tr>
|
1362
|
+
<tr>
|
1363
|
+
<td class="parameter_name"><p>end</p></td>
|
1364
|
+
<td class="parameter_description"><p><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> of the last line to indent</p></td>
|
1365
|
+
<td class="parameter_annotations"> </td>
|
1366
|
+
</tr>
|
1367
|
+
</tbody>
|
1368
|
+
</table></div>
|
1369
|
+
</div>
|
1370
|
+
<p class="since">Since: <a class="link" href="api-index-3-16.html#api-index-3.16">3.16</a></p>
|
1371
|
+
</div>
|
1372
|
+
<hr>
|
1373
|
+
<div class="refsect2">
|
1374
|
+
<a name="gtk-source-view-get-visual-column"></a><h3>gtk_source_view_get_visual_column ()</h3>
|
1375
|
+
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
1376
|
+
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>,
|
1377
|
+
<em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *iter</code></em>);</pre>
|
1378
|
+
<p>Determines the visual column at <em class="parameter"><code>iter</code></em>
|
1379
|
+
taking into consideration the
|
1380
|
+
<a class="link" href="GtkSourceView.html#GtkSourceView--tab-width" title="The “tab-width” property"><span class="type">“tab-width”</span></a> of <em class="parameter"><code>view</code></em>
|
1381
|
+
.</p>
|
1382
|
+
<div class="refsect3">
|
1383
|
+
<a name="gtk-source-view-get-visual-column.parameters"></a><h4>Parameters</h4>
|
1384
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1385
|
+
<colgroup>
|
1386
|
+
<col width="150px" class="parameters_name">
|
1387
|
+
<col class="parameters_description">
|
1388
|
+
<col width="200px" class="parameters_annotations">
|
1389
|
+
</colgroup>
|
1390
|
+
<tbody>
|
1391
|
+
<tr>
|
1392
|
+
<td class="parameter_name"><p>view</p></td>
|
1393
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
1394
|
+
<td class="parameter_annotations"> </td>
|
1395
|
+
</tr>
|
1396
|
+
<tr>
|
1397
|
+
<td class="parameter_name"><p>iter</p></td>
|
1398
|
+
<td class="parameter_description"><p>a position in <em class="parameter"><code>view</code></em>
|
1399
|
+
.</p></td>
|
1400
|
+
<td class="parameter_annotations"> </td>
|
1401
|
+
</tr>
|
1402
|
+
</tbody>
|
1403
|
+
</table></div>
|
1404
|
+
</div>
|
1405
|
+
<div class="refsect3">
|
1406
|
+
<a name="gtk-source-view-get-visual-column.returns"></a><h4>Returns</h4>
|
1407
|
+
<p> the visual column at <em class="parameter"><code>iter</code></em>
|
1408
|
+
.</p>
|
1409
|
+
</div>
|
1410
|
+
</div>
|
1411
|
+
<hr>
|
1412
|
+
<div class="refsect2">
|
1413
|
+
<a name="gtk-source-view-set-smart-backspace"></a><h3>gtk_source_view_set_smart_backspace ()</h3>
|
1414
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1415
|
+
gtk_source_view_set_smart_backspace (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
|
1416
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> smart_backspace</code></em>);</pre>
|
1417
|
+
<p>When set to <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, pressing the Backspace key will try to delete spaces
|
1418
|
+
up to the previous tab stop.</p>
|
1419
|
+
<div class="refsect3">
|
1420
|
+
<a name="gtk-source-view-set-smart-backspace.parameters"></a><h4>Parameters</h4>
|
1421
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1422
|
+
<colgroup>
|
1423
|
+
<col width="150px" class="parameters_name">
|
1424
|
+
<col class="parameters_description">
|
1425
|
+
<col width="200px" class="parameters_annotations">
|
1426
|
+
</colgroup>
|
1427
|
+
<tbody>
|
1428
|
+
<tr>
|
1429
|
+
<td class="parameter_name"><p>view</p></td>
|
1430
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
1431
|
+
<td class="parameter_annotations"> </td>
|
1432
|
+
</tr>
|
1433
|
+
<tr>
|
1434
|
+
<td class="parameter_name"><p>smart_backspace</p></td>
|
1435
|
+
<td class="parameter_description"><p>whether to enable smart Backspace handling.</p></td>
|
1436
|
+
<td class="parameter_annotations"> </td>
|
1437
|
+
</tr>
|
1438
|
+
</tbody>
|
1439
|
+
</table></div>
|
1440
|
+
</div>
|
1441
|
+
<p class="since">Since: <a class="link" href="api-index-3-18.html#api-index-3.18">3.18</a></p>
|
1442
|
+
</div>
|
1443
|
+
<hr>
|
1444
|
+
<div class="refsect2">
|
1445
|
+
<a name="gtk-source-view-get-smart-backspace"></a><h3>gtk_source_view_get_smart_backspace ()</h3>
|
1446
|
+
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1447
|
+
gtk_source_view_get_smart_backspace (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
|
1448
|
+
<p>Returns <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if pressing the Backspace key will try to delete spaces
|
1449
|
+
up to the previous tab stop.</p>
|
1450
|
+
<div class="refsect3">
|
1451
|
+
<a name="gtk-source-view-get-smart-backspace.parameters"></a><h4>Parameters</h4>
|
1452
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1453
|
+
<colgroup>
|
1454
|
+
<col width="150px" class="parameters_name">
|
1455
|
+
<col class="parameters_description">
|
1456
|
+
<col width="200px" class="parameters_annotations">
|
1457
|
+
</colgroup>
|
1458
|
+
<tbody><tr>
|
1459
|
+
<td class="parameter_name"><p>view</p></td>
|
1460
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
1461
|
+
<td class="parameter_annotations"> </td>
|
1462
|
+
</tr></tbody>
|
1463
|
+
</table></div>
|
1464
|
+
</div>
|
1465
|
+
<div class="refsect3">
|
1466
|
+
<a name="gtk-source-view-get-smart-backspace.returns"></a><h4>Returns</h4>
|
1467
|
+
<p> <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if smart Backspace handling is enabled.</p>
|
1468
|
+
</div>
|
1469
|
+
<p class="since">Since: <a class="link" href="api-index-3-18.html#api-index-3.18">3.18</a></p>
|
1470
|
+
</div>
|
1471
|
+
<hr>
|
1472
|
+
<div class="refsect2">
|
1473
|
+
<a name="gtk-source-view-set-smart-home-end"></a><h3>gtk_source_view_set_smart_home_end ()</h3>
|
1474
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1475
|
+
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>,
|
1476
|
+
<em class="parameter"><code><a class="link" href="GtkSourceView.html#GtkSourceSmartHomeEndType" title="enum GtkSourceSmartHomeEndType"><span class="type">GtkSourceSmartHomeEndType</span></a> smart_home_end</code></em>);</pre>
|
1477
|
+
<p>Set the desired movement of the cursor when HOME and END keys
|
1478
|
+
are pressed.</p>
|
1479
|
+
<div class="refsect3">
|
1480
|
+
<a name="gtk-source-view-set-smart-home-end.parameters"></a><h4>Parameters</h4>
|
1481
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1482
|
+
<colgroup>
|
1483
|
+
<col width="150px" class="parameters_name">
|
1484
|
+
<col class="parameters_description">
|
1485
|
+
<col width="200px" class="parameters_annotations">
|
1486
|
+
</colgroup>
|
1487
|
+
<tbody>
|
1488
|
+
<tr>
|
1489
|
+
<td class="parameter_name"><p>view</p></td>
|
1490
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
1491
|
+
<td class="parameter_annotations"> </td>
|
1492
|
+
</tr>
|
1493
|
+
<tr>
|
1494
|
+
<td class="parameter_name"><p>smart_home_end</p></td>
|
1495
|
+
<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>
|
1496
|
+
<td class="parameter_annotations"> </td>
|
1497
|
+
</tr>
|
1498
|
+
</tbody>
|
1499
|
+
</table></div>
|
1500
|
+
</div>
|
1501
|
+
</div>
|
1502
|
+
<hr>
|
1503
|
+
<div class="refsect2">
|
1504
|
+
<a name="gtk-source-view-get-smart-home-end"></a><h3>gtk_source_view_get_smart_home_end ()</h3>
|
1505
|
+
<pre class="programlisting"><a class="link" href="GtkSourceView.html#GtkSourceSmartHomeEndType" title="enum GtkSourceSmartHomeEndType"><span class="returnvalue">GtkSourceSmartHomeEndType</span></a>
|
1506
|
+
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>
|
1507
|
+
<p>Returns a <a class="link" href="GtkSourceView.html#GtkSourceSmartHomeEndType" title="enum GtkSourceSmartHomeEndType"><span class="type">GtkSourceSmartHomeEndType</span></a> end value specifying
|
1508
|
+
how the cursor will move when HOME and END keys are pressed.</p>
|
1509
|
+
<div class="refsect3">
|
1510
|
+
<a name="gtk-source-view-get-smart-home-end.parameters"></a><h4>Parameters</h4>
|
1511
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1512
|
+
<colgroup>
|
1513
|
+
<col width="150px" class="parameters_name">
|
1514
|
+
<col class="parameters_description">
|
1515
|
+
<col width="200px" class="parameters_annotations">
|
1516
|
+
</colgroup>
|
1517
|
+
<tbody><tr>
|
1518
|
+
<td class="parameter_name"><p>view</p></td>
|
1519
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
1520
|
+
<td class="parameter_annotations"> </td>
|
1521
|
+
</tr></tbody>
|
1522
|
+
</table></div>
|
1523
|
+
</div>
|
1524
|
+
<div class="refsect3">
|
1525
|
+
<a name="gtk-source-view-get-smart-home-end.returns"></a><h4>Returns</h4>
|
1526
|
+
<p> a <a class="link" href="GtkSourceView.html#GtkSourceSmartHomeEndType" title="enum GtkSourceSmartHomeEndType"><span class="type">GtkSourceSmartHomeEndType</span></a> value.</p>
|
1527
|
+
</div>
|
1528
|
+
</div>
|
1529
|
+
<hr>
|
1530
|
+
<div class="refsect2">
|
1531
|
+
<a name="gtk-source-view-set-mark-attributes"></a><h3>gtk_source_view_set_mark_attributes ()</h3>
|
1532
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1533
|
+
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>,
|
1534
|
+
<em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>,
|
1535
|
+
<em class="parameter"><code><a class="link" href="GtkSourceMarkAttributes.html" title="GtkSourceMarkAttributes"><span class="type">GtkSourceMarkAttributes</span></a> *attributes</code></em>,
|
1536
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> priority</code></em>);</pre>
|
1537
|
+
<p>Sets attributes and priority for the <em class="parameter"><code>category</code></em>
|
1538
|
+
.</p>
|
1539
|
+
<div class="refsect3">
|
1540
|
+
<a name="gtk-source-view-set-mark-attributes.parameters"></a><h4>Parameters</h4>
|
1541
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1542
|
+
<colgroup>
|
1543
|
+
<col width="150px" class="parameters_name">
|
1544
|
+
<col class="parameters_description">
|
1545
|
+
<col width="200px" class="parameters_annotations">
|
1546
|
+
</colgroup>
|
1547
|
+
<tbody>
|
1548
|
+
<tr>
|
1549
|
+
<td class="parameter_name"><p>view</p></td>
|
1550
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
1551
|
+
<td class="parameter_annotations"> </td>
|
1552
|
+
</tr>
|
1553
|
+
<tr>
|
1554
|
+
<td class="parameter_name"><p>category</p></td>
|
1555
|
+
<td class="parameter_description"><p>the category.</p></td>
|
1556
|
+
<td class="parameter_annotations"> </td>
|
1557
|
+
</tr>
|
1558
|
+
<tr>
|
1559
|
+
<td class="parameter_name"><p>attributes</p></td>
|
1560
|
+
<td class="parameter_description"><p>mark attributes.</p></td>
|
1561
|
+
<td class="parameter_annotations"> </td>
|
1562
|
+
</tr>
|
1563
|
+
<tr>
|
1564
|
+
<td class="parameter_name"><p>priority</p></td>
|
1565
|
+
<td class="parameter_description"><p>priority of the category.</p></td>
|
1566
|
+
<td class="parameter_annotations"> </td>
|
1567
|
+
</tr>
|
1568
|
+
</tbody>
|
1569
|
+
</table></div>
|
1570
|
+
</div>
|
1571
|
+
</div>
|
1572
|
+
<hr>
|
1573
|
+
<div class="refsect2">
|
1574
|
+
<a name="gtk-source-view-get-mark-attributes"></a><h3>gtk_source_view_get_mark_attributes ()</h3>
|
1575
|
+
<pre class="programlisting"><a class="link" href="GtkSourceMarkAttributes.html" title="GtkSourceMarkAttributes"><span class="returnvalue">GtkSourceMarkAttributes</span></a> *
|
1576
|
+
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>,
|
1577
|
+
<em class="parameter"><code>const <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>,
|
1578
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *priority</code></em>);</pre>
|
1579
|
+
<p>Gets attributes and priority for the <em class="parameter"><code>category</code></em>
|
1580
|
+
.</p>
|
1581
|
+
<div class="refsect3">
|
1582
|
+
<a name="gtk-source-view-get-mark-attributes.parameters"></a><h4>Parameters</h4>
|
1583
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1584
|
+
<colgroup>
|
1585
|
+
<col width="150px" class="parameters_name">
|
1586
|
+
<col class="parameters_description">
|
1587
|
+
<col width="200px" class="parameters_annotations">
|
1588
|
+
</colgroup>
|
1589
|
+
<tbody>
|
1590
|
+
<tr>
|
1591
|
+
<td class="parameter_name"><p>view</p></td>
|
1592
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
1593
|
+
<td class="parameter_annotations"> </td>
|
1594
|
+
</tr>
|
1595
|
+
<tr>
|
1596
|
+
<td class="parameter_name"><p>category</p></td>
|
1597
|
+
<td class="parameter_description"><p>the category.</p></td>
|
1598
|
+
<td class="parameter_annotations"> </td>
|
1599
|
+
</tr>
|
1600
|
+
<tr>
|
1601
|
+
<td class="parameter_name"><p>priority</p></td>
|
1602
|
+
<td class="parameter_description"><p>place where priority of the category will be stored.</p></td>
|
1603
|
+
<td class="parameter_annotations"> </td>
|
1604
|
+
</tr>
|
1605
|
+
</tbody>
|
1606
|
+
</table></div>
|
1607
|
+
</div>
|
1608
|
+
<div class="refsect3">
|
1609
|
+
<a name="gtk-source-view-get-mark-attributes.returns"></a><h4>Returns</h4>
|
1610
|
+
<p><a class="link" href="GtkSourceMarkAttributes.html" title="GtkSourceMarkAttributes"><span class="type">GtkSourceMarkAttributes</span></a> for the <em class="parameter"><code>category</code></em>
|
1611
|
+
.
|
1612
|
+
The object belongs to <em class="parameter"><code>view</code></em>
|
1613
|
+
, so it must not be unreffed. </p>
|
1614
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
1615
|
+
</div>
|
1616
|
+
</div>
|
1617
|
+
<hr>
|
1618
|
+
<div class="refsect2">
|
1619
|
+
<a name="gtk-source-view-set-show-line-marks"></a><h3>gtk_source_view_set_show_line_marks ()</h3>
|
1620
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1621
|
+
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>,
|
1622
|
+
<em class="parameter"><code><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show</code></em>);</pre>
|
1623
|
+
<p>If <a href="/home/seb/jhbuild/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>
|
1624
|
+
<div class="refsect3">
|
1625
|
+
<a name="gtk-source-view-set-show-line-marks.parameters"></a><h4>Parameters</h4>
|
1626
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1627
|
+
<colgroup>
|
1628
|
+
<col width="150px" class="parameters_name">
|
1629
|
+
<col class="parameters_description">
|
1630
|
+
<col width="200px" class="parameters_annotations">
|
1631
|
+
</colgroup>
|
1632
|
+
<tbody>
|
1633
|
+
<tr>
|
1634
|
+
<td class="parameter_name"><p>view</p></td>
|
1635
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
1636
|
+
<td class="parameter_annotations"> </td>
|
1637
|
+
</tr>
|
1638
|
+
<tr>
|
1639
|
+
<td class="parameter_name"><p>show</p></td>
|
1640
|
+
<td class="parameter_description"><p>whether line marks should be displayed.</p></td>
|
1641
|
+
<td class="parameter_annotations"> </td>
|
1642
|
+
</tr>
|
1643
|
+
</tbody>
|
1644
|
+
</table></div>
|
1645
|
+
</div>
|
1646
|
+
<p class="since">Since: <a class="link" href="api-index-2-2.html#api-index-2.2">2.2</a></p>
|
1647
|
+
</div>
|
1648
|
+
<hr>
|
1649
|
+
<div class="refsect2">
|
1650
|
+
<a name="gtk-source-view-get-show-line-marks"></a><h3>gtk_source_view_get_show_line_marks ()</h3>
|
1651
|
+
<pre class="programlisting"><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1652
|
+
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>
|
1653
|
+
<p>Returns whether line marks are displayed beside the text.</p>
|
1654
|
+
<div class="refsect3">
|
1655
|
+
<a name="gtk-source-view-get-show-line-marks.parameters"></a><h4>Parameters</h4>
|
1656
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1657
|
+
<colgroup>
|
1658
|
+
<col width="150px" class="parameters_name">
|
1659
|
+
<col class="parameters_description">
|
1660
|
+
<col width="200px" class="parameters_annotations">
|
1661
|
+
</colgroup>
|
1662
|
+
<tbody><tr>
|
1663
|
+
<td class="parameter_name"><p>view</p></td>
|
1664
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
1665
|
+
<td class="parameter_annotations"> </td>
|
1666
|
+
</tr></tbody>
|
1667
|
+
</table></div>
|
1668
|
+
</div>
|
1669
|
+
<div class="refsect3">
|
1670
|
+
<a name="gtk-source-view-get-show-line-marks.returns"></a><h4>Returns</h4>
|
1671
|
+
<p> <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the line marks are displayed.</p>
|
1672
|
+
</div>
|
1673
|
+
<p class="since">Since: <a class="link" href="api-index-2-2.html#api-index-2.2">2.2</a></p>
|
1674
|
+
</div>
|
1675
|
+
<hr>
|
1676
|
+
<div class="refsect2">
|
1677
|
+
<a name="gtk-source-view-set-background-pattern"></a><h3>gtk_source_view_set_background_pattern ()</h3>
|
1678
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1679
|
+
gtk_source_view_set_background_pattern
|
1680
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
|
1681
|
+
<em class="parameter"><code><a class="link" href="GtkSourceView.html#GtkSourceBackgroundPatternType" title="enum GtkSourceBackgroundPatternType"><span class="type">GtkSourceBackgroundPatternType</span></a> background_pattern</code></em>);</pre>
|
1682
|
+
<p>Set if and how the background pattern should be displayed.</p>
|
1683
|
+
<div class="refsect3">
|
1684
|
+
<a name="gtk-source-view-set-background-pattern.parameters"></a><h4>Parameters</h4>
|
1685
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1686
|
+
<colgroup>
|
1687
|
+
<col width="150px" class="parameters_name">
|
1688
|
+
<col class="parameters_description">
|
1689
|
+
<col width="200px" class="parameters_annotations">
|
1690
|
+
</colgroup>
|
1691
|
+
<tbody>
|
1692
|
+
<tr>
|
1693
|
+
<td class="parameter_name"><p>view</p></td>
|
1694
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.</p></td>
|
1695
|
+
<td class="parameter_annotations"> </td>
|
1696
|
+
</tr>
|
1697
|
+
<tr>
|
1698
|
+
<td class="parameter_name"><p>background_pattern</p></td>
|
1699
|
+
<td class="parameter_description"><p>the <a class="link" href="GtkSourceView.html#GtkSourceBackgroundPatternType" title="enum GtkSourceBackgroundPatternType"><span class="type">GtkSourceBackgroundPatternType</span></a>.</p></td>
|
1700
|
+
<td class="parameter_annotations"> </td>
|
1701
|
+
</tr>
|
1702
|
+
</tbody>
|
1703
|
+
</table></div>
|
1704
|
+
</div>
|
1705
|
+
<p class="since">Since: <a class="link" href="api-index-3-16.html#api-index-3.16">3.16</a></p>
|
1706
|
+
</div>
|
1707
|
+
<hr>
|
1708
|
+
<div class="refsect2">
|
1709
|
+
<a name="gtk-source-view-get-background-pattern"></a><h3>gtk_source_view_get_background_pattern ()</h3>
|
1710
|
+
<pre class="programlisting"><a class="link" href="GtkSourceView.html#GtkSourceBackgroundPatternType" title="enum GtkSourceBackgroundPatternType"><span class="returnvalue">GtkSourceBackgroundPatternType</span></a>
|
1711
|
+
gtk_source_view_get_background_pattern
|
1712
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
|
1713
|
+
<p>Returns the <a class="link" href="GtkSourceView.html#GtkSourceBackgroundPatternType" title="enum GtkSourceBackgroundPatternType"><span class="type">GtkSourceBackgroundPatternType</span></a> specifying if and how
|
1714
|
+
the background pattern should be displayed for this <em class="parameter"><code>view</code></em>
|
1715
|
+
.</p>
|
1716
|
+
<div class="refsect3">
|
1717
|
+
<a name="gtk-source-view-get-background-pattern.parameters"></a><h4>Parameters</h4>
|
1718
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1719
|
+
<colgroup>
|
1720
|
+
<col width="150px" class="parameters_name">
|
1721
|
+
<col class="parameters_description">
|
1722
|
+
<col width="200px" class="parameters_annotations">
|
1723
|
+
</colgroup>
|
1724
|
+
<tbody><tr>
|
1725
|
+
<td class="parameter_name"><p>view</p></td>
|
1726
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a></p></td>
|
1727
|
+
<td class="parameter_annotations"> </td>
|
1728
|
+
</tr></tbody>
|
1729
|
+
</table></div>
|
1730
|
+
</div>
|
1731
|
+
<div class="refsect3">
|
1732
|
+
<a name="gtk-source-view-get-background-pattern.returns"></a><h4>Returns</h4>
|
1733
|
+
<p> the <a class="link" href="GtkSourceView.html#GtkSourceBackgroundPatternType" title="enum GtkSourceBackgroundPatternType"><span class="type">GtkSourceBackgroundPatternType</span></a>.</p>
|
1734
|
+
</div>
|
1735
|
+
<p class="since">Since: <a class="link" href="api-index-3-16.html#api-index-3.16">3.16</a></p>
|
1736
|
+
</div>
|
1737
|
+
</div>
|
1738
|
+
<div class="refsect1">
|
1739
|
+
<a name="GtkSourceView.other_details"></a><h2>Types and Values</h2>
|
1740
|
+
<div class="refsect2">
|
1741
|
+
<a name="GtkSourceView-struct"></a><h3>GtkSourceView</h3>
|
1742
|
+
<pre class="programlisting">typedef struct _GtkSourceView GtkSourceView;</pre>
|
1743
|
+
</div>
|
1744
|
+
<hr>
|
1745
|
+
<div class="refsect2">
|
1746
|
+
<a name="GtkSourceSmartHomeEndType"></a><h3>enum GtkSourceSmartHomeEndType</h3>
|
1747
|
+
<div class="refsect3">
|
1748
|
+
<a name="GtkSourceSmartHomeEndType.members"></a><h4>Members</h4>
|
1749
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1750
|
+
<colgroup>
|
1751
|
+
<col width="300px" class="enum_members_name">
|
1752
|
+
<col class="enum_members_description">
|
1753
|
+
<col width="200px" class="enum_members_annotations">
|
1754
|
+
</colgroup>
|
1755
|
+
<tbody>
|
1756
|
+
<tr>
|
1757
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-SMART-HOME-END-DISABLED:CAPS"></a>GTK_SOURCE_SMART_HOME_END_DISABLED</p></td>
|
1758
|
+
<td class="enum_member_description">
|
1759
|
+
<p>smart-home-end disabled.</p>
|
1760
|
+
</td>
|
1761
|
+
<td class="enum_member_annotations"> </td>
|
1762
|
+
</tr>
|
1763
|
+
<tr>
|
1764
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-SMART-HOME-END-BEFORE:CAPS"></a>GTK_SOURCE_SMART_HOME_END_BEFORE</p></td>
|
1765
|
+
<td class="enum_member_description">
|
1766
|
+
<p>move to the first/last
|
1767
|
+
non-whitespace character on the first press of the HOME/END keys and
|
1768
|
+
to the beginning/end of the line on the second press.</p>
|
1769
|
+
</td>
|
1770
|
+
<td class="enum_member_annotations"> </td>
|
1771
|
+
</tr>
|
1772
|
+
<tr>
|
1773
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-SMART-HOME-END-AFTER:CAPS"></a>GTK_SOURCE_SMART_HOME_END_AFTER</p></td>
|
1774
|
+
<td class="enum_member_description">
|
1775
|
+
<p>move to the beginning/end of the
|
1776
|
+
line on the first press of the HOME/END keys and to the first/last
|
1777
|
+
non-whitespace character on the second press.</p>
|
1778
|
+
</td>
|
1779
|
+
<td class="enum_member_annotations"> </td>
|
1780
|
+
</tr>
|
1781
|
+
<tr>
|
1782
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-SMART-HOME-END-ALWAYS:CAPS"></a>GTK_SOURCE_SMART_HOME_END_ALWAYS</p></td>
|
1783
|
+
<td class="enum_member_description">
|
1784
|
+
<p>always move to the first/last
|
1785
|
+
non-whitespace character when the HOME/END keys are pressed.</p>
|
1786
|
+
</td>
|
1787
|
+
<td class="enum_member_annotations"> </td>
|
1788
|
+
</tr>
|
1789
|
+
</tbody>
|
1790
|
+
</table></div>
|
1791
|
+
</div>
|
1792
|
+
</div>
|
1793
|
+
<hr>
|
1794
|
+
<div class="refsect2">
|
1795
|
+
<a name="GtkSourceViewGutterPosition"></a><h3>enum GtkSourceViewGutterPosition</h3>
|
1796
|
+
<div class="refsect3">
|
1797
|
+
<a name="GtkSourceViewGutterPosition.members"></a><h4>Members</h4>
|
1798
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1799
|
+
<colgroup>
|
1800
|
+
<col width="300px" class="enum_members_name">
|
1801
|
+
<col class="enum_members_description">
|
1802
|
+
<col width="200px" class="enum_members_annotations">
|
1803
|
+
</colgroup>
|
1804
|
+
<tbody>
|
1805
|
+
<tr>
|
1806
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-VIEW-GUTTER-POSITION-LINES:CAPS"></a>GTK_SOURCE_VIEW_GUTTER_POSITION_LINES</p></td>
|
1807
|
+
<td class="enum_member_description">
|
1808
|
+
<p>the gutter position of the lines
|
1809
|
+
renderer</p>
|
1810
|
+
</td>
|
1811
|
+
<td class="enum_member_annotations"> </td>
|
1812
|
+
</tr>
|
1813
|
+
<tr>
|
1814
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-VIEW-GUTTER-POSITION-MARKS:CAPS"></a>GTK_SOURCE_VIEW_GUTTER_POSITION_MARKS</p></td>
|
1815
|
+
<td class="enum_member_description">
|
1816
|
+
<p>the gutter position of the marks
|
1817
|
+
renderer</p>
|
1818
|
+
</td>
|
1819
|
+
<td class="enum_member_annotations"> </td>
|
1820
|
+
</tr>
|
1821
|
+
</tbody>
|
1822
|
+
</table></div>
|
1823
|
+
</div>
|
1824
|
+
</div>
|
1825
|
+
<hr>
|
1826
|
+
<div class="refsect2">
|
1827
|
+
<a name="GtkSourceBackgroundPatternType"></a><h3>enum GtkSourceBackgroundPatternType</h3>
|
1828
|
+
<div class="refsect3">
|
1829
|
+
<a name="GtkSourceBackgroundPatternType.members"></a><h4>Members</h4>
|
1830
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1831
|
+
<colgroup>
|
1832
|
+
<col width="300px" class="enum_members_name">
|
1833
|
+
<col class="enum_members_description">
|
1834
|
+
<col width="200px" class="enum_members_annotations">
|
1835
|
+
</colgroup>
|
1836
|
+
<tbody>
|
1837
|
+
<tr>
|
1838
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-BACKGROUND-PATTERN-TYPE-NONE:CAPS"></a>GTK_SOURCE_BACKGROUND_PATTERN_TYPE_NONE</p></td>
|
1839
|
+
<td class="enum_member_description">
|
1840
|
+
<p>no pattern</p>
|
1841
|
+
</td>
|
1842
|
+
<td class="enum_member_annotations"> </td>
|
1843
|
+
</tr>
|
1844
|
+
<tr>
|
1845
|
+
<td class="enum_member_name"><p><a name="GTK-SOURCE-BACKGROUND-PATTERN-TYPE-GRID:CAPS"></a>GTK_SOURCE_BACKGROUND_PATTERN_TYPE_GRID</p></td>
|
1846
|
+
<td class="enum_member_description">
|
1847
|
+
<p>grid pattern</p>
|
1848
|
+
</td>
|
1849
|
+
<td class="enum_member_annotations"> </td>
|
1850
|
+
</tr>
|
1851
|
+
</tbody>
|
1852
|
+
</table></div>
|
1853
|
+
</div>
|
1854
|
+
<p class="since">Since: <a class="link" href="api-index-3-16.html#api-index-3.16">3.16</a></p>
|
1855
|
+
</div>
|
1856
|
+
</div>
|
1857
|
+
<div class="refsect1">
|
1858
|
+
<a name="GtkSourceView.property-details"></a><h2>Property Details</h2>
|
1859
|
+
<div class="refsect2">
|
1860
|
+
<a name="GtkSourceView--auto-indent"></a><h3>The <code class="literal">“auto-indent”</code> property</h3>
|
1861
|
+
<pre class="programlisting"> “auto-indent” <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
1862
|
+
<p>Whether to enable auto indentation.</p>
|
1863
|
+
<p>Flags: Read / Write</p>
|
1864
|
+
<p>Default value: FALSE</p>
|
1865
|
+
</div>
|
1866
|
+
<hr>
|
1867
|
+
<div class="refsect2">
|
1868
|
+
<a name="GtkSourceView--background-pattern"></a><h3>The <code class="literal">“background-pattern”</code> property</h3>
|
1869
|
+
<pre class="programlisting"> “background-pattern” <a class="link" href="GtkSourceView.html#GtkSourceBackgroundPatternType" title="enum GtkSourceBackgroundPatternType"><span class="type">GtkSourceBackgroundPatternType</span></a></pre>
|
1870
|
+
<p>Draw a specific background pattern on the view.</p>
|
1871
|
+
<p>Flags: Read / Write</p>
|
1872
|
+
<p>Default value: GTK_SOURCE_BACKGROUND_PATTERN_TYPE_NONE</p>
|
1873
|
+
<p class="since">Since: <a class="link" href="api-index-3-16.html#api-index-3.16">3.16</a></p>
|
1874
|
+
</div>
|
1875
|
+
<hr>
|
1876
|
+
<div class="refsect2">
|
1877
|
+
<a name="GtkSourceView--completion"></a><h3>The <code class="literal">“completion”</code> property</h3>
|
1878
|
+
<pre class="programlisting"> “completion” <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> *</pre>
|
1879
|
+
<p>The completion object associated with the view</p>
|
1880
|
+
<p>Flags: Read</p>
|
1881
|
+
</div>
|
1882
|
+
<hr>
|
1883
|
+
<div class="refsect2">
|
1884
|
+
<a name="GtkSourceView--highlight-current-line"></a><h3>The <code class="literal">“highlight-current-line”</code> property</h3>
|
1885
|
+
<pre class="programlisting"> “highlight-current-line” <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
1886
|
+
<p>Whether to highlight the current line.</p>
|
1887
|
+
<p>Flags: Read / Write</p>
|
1888
|
+
<p>Default value: FALSE</p>
|
1889
|
+
</div>
|
1890
|
+
<hr>
|
1891
|
+
<div class="refsect2">
|
1892
|
+
<a name="GtkSourceView--indent-on-tab"></a><h3>The <code class="literal">“indent-on-tab”</code> property</h3>
|
1893
|
+
<pre class="programlisting"> “indent-on-tab” <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
1894
|
+
<p>Whether to indent the selected text when the tab key is pressed.</p>
|
1895
|
+
<p>Flags: Read / Write</p>
|
1896
|
+
<p>Default value: TRUE</p>
|
1897
|
+
</div>
|
1898
|
+
<hr>
|
1899
|
+
<div class="refsect2">
|
1900
|
+
<a name="GtkSourceView--indent-width"></a><h3>The <code class="literal">“indent-width”</code> property</h3>
|
1901
|
+
<pre class="programlisting"> “indent-width” <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
1902
|
+
<p>Width of an indentation step expressed in number of spaces.</p>
|
1903
|
+
<p>Flags: Read / Write</p>
|
1904
|
+
<p>Allowed values: [-1,32]</p>
|
1905
|
+
<p>Default value: -1</p>
|
1906
|
+
</div>
|
1907
|
+
<hr>
|
1908
|
+
<div class="refsect2">
|
1909
|
+
<a name="GtkSourceView--insert-spaces-instead-of-tabs"></a><h3>The <code class="literal">“insert-spaces-instead-of-tabs”</code> property</h3>
|
1910
|
+
<pre class="programlisting"> “insert-spaces-instead-of-tabs” <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
1911
|
+
<p>Whether to insert spaces instead of tabs.</p>
|
1912
|
+
<p>Flags: Read / Write</p>
|
1913
|
+
<p>Default value: FALSE</p>
|
1914
|
+
</div>
|
1915
|
+
<hr>
|
1916
|
+
<div class="refsect2">
|
1917
|
+
<a name="GtkSourceView--right-margin-position"></a><h3>The <code class="literal">“right-margin-position”</code> property</h3>
|
1918
|
+
<pre class="programlisting"> “right-margin-position” <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
|
1919
|
+
<p>Position of the right margin.</p>
|
1920
|
+
<p>Flags: Read / Write</p>
|
1921
|
+
<p>Allowed values: [1,1000]</p>
|
1922
|
+
<p>Default value: 80</p>
|
1923
|
+
</div>
|
1924
|
+
<hr>
|
1925
|
+
<div class="refsect2">
|
1926
|
+
<a name="GtkSourceView--show-line-marks"></a><h3>The <code class="literal">“show-line-marks”</code> property</h3>
|
1927
|
+
<pre class="programlisting"> “show-line-marks” <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
1928
|
+
<p>Whether to display line mark pixbufs</p>
|
1929
|
+
<p>Flags: Read / Write</p>
|
1930
|
+
<p>Default value: FALSE</p>
|
1931
|
+
</div>
|
1932
|
+
<hr>
|
1933
|
+
<div class="refsect2">
|
1934
|
+
<a name="GtkSourceView--show-line-numbers"></a><h3>The <code class="literal">“show-line-numbers”</code> property</h3>
|
1935
|
+
<pre class="programlisting"> “show-line-numbers” <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
1936
|
+
<p>Whether to display line numbers</p>
|
1937
|
+
<p>Flags: Read / Write</p>
|
1938
|
+
<p>Default value: FALSE</p>
|
1939
|
+
</div>
|
1940
|
+
<hr>
|
1941
|
+
<div class="refsect2">
|
1942
|
+
<a name="GtkSourceView--show-right-margin"></a><h3>The <code class="literal">“show-right-margin”</code> property</h3>
|
1943
|
+
<pre class="programlisting"> “show-right-margin” <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
1944
|
+
<p>Whether to display the right margin.</p>
|
1945
|
+
<p>Flags: Read / Write</p>
|
1946
|
+
<p>Default value: FALSE</p>
|
1947
|
+
</div>
|
1948
|
+
<hr>
|
1949
|
+
<div class="refsect2">
|
1950
|
+
<a name="GtkSourceView--smart-backspace"></a><h3>The <code class="literal">“smart-backspace”</code> property</h3>
|
1951
|
+
<pre class="programlisting"> “smart-backspace” <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
1952
|
+
<p>Whether smart Backspace should be used.</p>
|
1953
|
+
<p>Flags: Read / Write</p>
|
1954
|
+
<p>Default value: FALSE</p>
|
1955
|
+
<p class="since">Since: <a class="link" href="api-index-3-18.html#api-index-3.18">3.18</a></p>
|
1956
|
+
</div>
|
1957
|
+
<hr>
|
1958
|
+
<div class="refsect2">
|
1959
|
+
<a name="GtkSourceView--smart-home-end"></a><h3>The <code class="literal">“smart-home-end”</code> property</h3>
|
1960
|
+
<pre class="programlisting"> “smart-home-end” <a class="link" href="GtkSourceView.html#GtkSourceSmartHomeEndType" title="enum GtkSourceSmartHomeEndType"><span class="type">GtkSourceSmartHomeEndType</span></a></pre>
|
1961
|
+
<p>Set the behavior of the HOME and END keys.</p>
|
1962
|
+
<p>Flags: Read / Write</p>
|
1963
|
+
<p>Default value: GTK_SOURCE_SMART_HOME_END_DISABLED</p>
|
1964
|
+
<p class="since">Since: <a class="link" href="api-index-2-0.html#api-index-2.0">2.0</a></p>
|
1965
|
+
</div>
|
1966
|
+
<hr>
|
1967
|
+
<div class="refsect2">
|
1968
|
+
<a name="GtkSourceView--space-drawer"></a><h3>The <code class="literal">“space-drawer”</code> property</h3>
|
1969
|
+
<pre class="programlisting"> “space-drawer” <a class="link" href="GtkSourceSpaceDrawer.html" title="GtkSourceSpaceDrawer"><span class="type">GtkSourceSpaceDrawer</span></a> *</pre>
|
1970
|
+
<p>The <a class="link" href="GtkSourceSpaceDrawer.html" title="GtkSourceSpaceDrawer"><span class="type">GtkSourceSpaceDrawer</span></a> object associated with the view.</p>
|
1971
|
+
<p>Flags: Read</p>
|
1972
|
+
<p class="since">Since: <a class="link" href="api-index-3-24.html#api-index-3.24">3.24</a></p>
|
1973
|
+
</div>
|
1974
|
+
<hr>
|
1975
|
+
<div class="refsect2">
|
1976
|
+
<a name="GtkSourceView--tab-width"></a><h3>The <code class="literal">“tab-width”</code> property</h3>
|
1977
|
+
<pre class="programlisting"> “tab-width” <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
|
1978
|
+
<p>Width of a tab character expressed in number of spaces.</p>
|
1979
|
+
<p>Flags: Read / Write</p>
|
1980
|
+
<p>Allowed values: [1,32]</p>
|
1981
|
+
<p>Default value: 8</p>
|
1982
|
+
</div>
|
1983
|
+
</div>
|
1984
|
+
<div class="refsect1">
|
1985
|
+
<a name="GtkSourceView.signal-details"></a><h2>Signal Details</h2>
|
1986
|
+
<div class="refsect2">
|
1987
|
+
<a name="GtkSourceView-change-case"></a><h3>The <code class="literal">“change-case”</code> signal</h3>
|
1988
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1989
|
+
user_function (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view,
|
1990
|
+
<a class="link" href="GtkSourceBuffer.html#GtkSourceChangeCaseType" title="enum GtkSourceChangeCaseType"><span class="type">GtkSourceChangeCaseType</span></a> case_type,
|
1991
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
1992
|
+
<p>Keybinding signal to change case of the text at the current cursor position.</p>
|
1993
|
+
<div class="refsect3">
|
1994
|
+
<a name="GtkSourceView-change-case.parameters"></a><h4>Parameters</h4>
|
1995
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1996
|
+
<colgroup>
|
1997
|
+
<col width="150px" class="parameters_name">
|
1998
|
+
<col class="parameters_description">
|
1999
|
+
<col width="200px" class="parameters_annotations">
|
2000
|
+
</colgroup>
|
2001
|
+
<tbody>
|
2002
|
+
<tr>
|
2003
|
+
<td class="parameter_name"><p>view</p></td>
|
2004
|
+
<td class="parameter_description"><p>the <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a></p></td>
|
2005
|
+
<td class="parameter_annotations"> </td>
|
2006
|
+
</tr>
|
2007
|
+
<tr>
|
2008
|
+
<td class="parameter_name"><p>case_type</p></td>
|
2009
|
+
<td class="parameter_description"><p>the case to use</p></td>
|
2010
|
+
<td class="parameter_annotations"> </td>
|
2011
|
+
</tr>
|
2012
|
+
<tr>
|
2013
|
+
<td class="parameter_name"><p>user_data</p></td>
|
2014
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
2015
|
+
<td class="parameter_annotations"> </td>
|
2016
|
+
</tr>
|
2017
|
+
</tbody>
|
2018
|
+
</table></div>
|
2019
|
+
</div>
|
2020
|
+
<p>Flags: <a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-ACTION:CAPS">Action</a></p>
|
2021
|
+
<p class="since">Since: <a class="link" href="api-index-3-16.html#api-index-3.16">3.16</a></p>
|
2022
|
+
</div>
|
2023
|
+
<hr>
|
2024
|
+
<div class="refsect2">
|
2025
|
+
<a name="GtkSourceView-change-number"></a><h3>The <code class="literal">“change-number”</code> signal</h3>
|
2026
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
2027
|
+
user_function (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view,
|
2028
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> count,
|
2029
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
2030
|
+
<p>Keybinding signal to edit a number at the current cursor position.</p>
|
2031
|
+
<div class="refsect3">
|
2032
|
+
<a name="GtkSourceView-change-number.parameters"></a><h4>Parameters</h4>
|
2033
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2034
|
+
<colgroup>
|
2035
|
+
<col width="150px" class="parameters_name">
|
2036
|
+
<col class="parameters_description">
|
2037
|
+
<col width="200px" class="parameters_annotations">
|
2038
|
+
</colgroup>
|
2039
|
+
<tbody>
|
2040
|
+
<tr>
|
2041
|
+
<td class="parameter_name"><p>view</p></td>
|
2042
|
+
<td class="parameter_description"><p>the <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a></p></td>
|
2043
|
+
<td class="parameter_annotations"> </td>
|
2044
|
+
</tr>
|
2045
|
+
<tr>
|
2046
|
+
<td class="parameter_name"><p>count</p></td>
|
2047
|
+
<td class="parameter_description"><p>the number to add to the number at the current position</p></td>
|
2048
|
+
<td class="parameter_annotations"> </td>
|
2049
|
+
</tr>
|
2050
|
+
<tr>
|
2051
|
+
<td class="parameter_name"><p>user_data</p></td>
|
2052
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
2053
|
+
<td class="parameter_annotations"> </td>
|
2054
|
+
</tr>
|
2055
|
+
</tbody>
|
2056
|
+
</table></div>
|
2057
|
+
</div>
|
2058
|
+
<p>Flags: <a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-ACTION:CAPS">Action</a></p>
|
2059
|
+
<p class="since">Since: <a class="link" href="api-index-3-16.html#api-index-3.16">3.16</a></p>
|
2060
|
+
</div>
|
2061
|
+
<hr>
|
2062
|
+
<div class="refsect2">
|
2063
|
+
<a name="GtkSourceView-join-lines"></a><h3>The <code class="literal">“join-lines”</code> signal</h3>
|
2064
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
2065
|
+
user_function (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view,
|
2066
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
2067
|
+
<p>Keybinding signal to join the lines currently selected.</p>
|
2068
|
+
<div class="refsect3">
|
2069
|
+
<a name="GtkSourceView-join-lines.parameters"></a><h4>Parameters</h4>
|
2070
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2071
|
+
<colgroup>
|
2072
|
+
<col width="150px" class="parameters_name">
|
2073
|
+
<col class="parameters_description">
|
2074
|
+
<col width="200px" class="parameters_annotations">
|
2075
|
+
</colgroup>
|
2076
|
+
<tbody>
|
2077
|
+
<tr>
|
2078
|
+
<td class="parameter_name"><p>view</p></td>
|
2079
|
+
<td class="parameter_description"><p>the <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a></p></td>
|
2080
|
+
<td class="parameter_annotations"> </td>
|
2081
|
+
</tr>
|
2082
|
+
<tr>
|
2083
|
+
<td class="parameter_name"><p>user_data</p></td>
|
2084
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
2085
|
+
<td class="parameter_annotations"> </td>
|
2086
|
+
</tr>
|
2087
|
+
</tbody>
|
2088
|
+
</table></div>
|
2089
|
+
</div>
|
2090
|
+
<p>Flags: <a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-ACTION:CAPS">Action</a></p>
|
2091
|
+
<p class="since">Since: <a class="link" href="api-index-3-16.html#api-index-3.16">3.16</a></p>
|
2092
|
+
</div>
|
2093
|
+
<hr>
|
2094
|
+
<div class="refsect2">
|
2095
|
+
<a name="GtkSourceView-line-mark-activated"></a><h3>The <code class="literal">“line-mark-activated”</code> signal</h3>
|
2096
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
2097
|
+
user_function (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view,
|
2098
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *iter,
|
2099
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gdk3/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event,
|
2100
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
2101
|
+
<p>Emitted when a line mark has been activated (for instance when there
|
2102
|
+
was a button press in the line marks gutter). You can use <em class="parameter"><code>iter</code></em>
|
2103
|
+
to
|
2104
|
+
determine on which line the activation took place.</p>
|
2105
|
+
<div class="refsect3">
|
2106
|
+
<a name="GtkSourceView-line-mark-activated.parameters"></a><h4>Parameters</h4>
|
2107
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2108
|
+
<colgroup>
|
2109
|
+
<col width="150px" class="parameters_name">
|
2110
|
+
<col class="parameters_description">
|
2111
|
+
<col width="200px" class="parameters_annotations">
|
2112
|
+
</colgroup>
|
2113
|
+
<tbody>
|
2114
|
+
<tr>
|
2115
|
+
<td class="parameter_name"><p>view</p></td>
|
2116
|
+
<td class="parameter_description"><p>the <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a></p></td>
|
2117
|
+
<td class="parameter_annotations"> </td>
|
2118
|
+
</tr>
|
2119
|
+
<tr>
|
2120
|
+
<td class="parameter_name"><p>iter</p></td>
|
2121
|
+
<td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a></p></td>
|
2122
|
+
<td class="parameter_annotations"> </td>
|
2123
|
+
</tr>
|
2124
|
+
<tr>
|
2125
|
+
<td class="parameter_name"><p>event</p></td>
|
2126
|
+
<td class="parameter_description"><p>the <a href="/home/seb/jhbuild/share/gtk-doc/html/gdk3/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> that activated the event</p></td>
|
2127
|
+
<td class="parameter_annotations"> </td>
|
2128
|
+
</tr>
|
2129
|
+
<tr>
|
2130
|
+
<td class="parameter_name"><p>user_data</p></td>
|
2131
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
2132
|
+
<td class="parameter_annotations"> </td>
|
2133
|
+
</tr>
|
2134
|
+
</tbody>
|
2135
|
+
</table></div>
|
2136
|
+
</div>
|
2137
|
+
<p>Flags: <a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
2138
|
+
</div>
|
2139
|
+
<hr>
|
2140
|
+
<div class="refsect2">
|
2141
|
+
<a name="GtkSourceView-move-lines"></a><h3>The <code class="literal">“move-lines”</code> signal</h3>
|
2142
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
2143
|
+
user_function (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view,
|
2144
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> down,
|
2145
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
2146
|
+
<p>The ::move-lines signal is a keybinding which gets emitted
|
2147
|
+
when the user initiates moving a line. The default binding key
|
2148
|
+
is Alt+Up/Down arrow. And moves the currently selected lines,
|
2149
|
+
or the current line up or down by one line.</p>
|
2150
|
+
<div class="refsect3">
|
2151
|
+
<a name="GtkSourceView-move-lines.parameters"></a><h4>Parameters</h4>
|
2152
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2153
|
+
<colgroup>
|
2154
|
+
<col width="150px" class="parameters_name">
|
2155
|
+
<col class="parameters_description">
|
2156
|
+
<col width="200px" class="parameters_annotations">
|
2157
|
+
</colgroup>
|
2158
|
+
<tbody>
|
2159
|
+
<tr>
|
2160
|
+
<td class="parameter_name"><p>view</p></td>
|
2161
|
+
<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>
|
2162
|
+
<td class="parameter_annotations"> </td>
|
2163
|
+
</tr>
|
2164
|
+
<tr>
|
2165
|
+
<td class="parameter_name"><p>down</p></td>
|
2166
|
+
<td class="parameter_description"><p><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to move down, <a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> to move up.</p></td>
|
2167
|
+
<td class="parameter_annotations"> </td>
|
2168
|
+
</tr>
|
2169
|
+
<tr>
|
2170
|
+
<td class="parameter_name"><p>user_data</p></td>
|
2171
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
2172
|
+
<td class="parameter_annotations"> </td>
|
2173
|
+
</tr>
|
2174
|
+
</tbody>
|
2175
|
+
</table></div>
|
2176
|
+
</div>
|
2177
|
+
<p>Flags: <a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-ACTION:CAPS">Action</a></p>
|
2178
|
+
</div>
|
2179
|
+
<hr>
|
2180
|
+
<div class="refsect2">
|
2181
|
+
<a name="GtkSourceView-move-to-matching-bracket"></a><h3>The <code class="literal">“move-to-matching-bracket”</code> signal</h3>
|
2182
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
2183
|
+
user_function (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view,
|
2184
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> extend_selection,
|
2185
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
2186
|
+
<p>Keybinding signal to move the cursor to the matching bracket.</p>
|
2187
|
+
<div class="refsect3">
|
2188
|
+
<a name="GtkSourceView-move-to-matching-bracket.parameters"></a><h4>Parameters</h4>
|
2189
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2190
|
+
<colgroup>
|
2191
|
+
<col width="150px" class="parameters_name">
|
2192
|
+
<col class="parameters_description">
|
2193
|
+
<col width="200px" class="parameters_annotations">
|
2194
|
+
</colgroup>
|
2195
|
+
<tbody>
|
2196
|
+
<tr>
|
2197
|
+
<td class="parameter_name"><p>view</p></td>
|
2198
|
+
<td class="parameter_description"><p>the <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a></p></td>
|
2199
|
+
<td class="parameter_annotations"> </td>
|
2200
|
+
</tr>
|
2201
|
+
<tr>
|
2202
|
+
<td class="parameter_name"><p>extend_selection</p></td>
|
2203
|
+
<td class="parameter_description"><p><a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the move should extend the selection</p></td>
|
2204
|
+
<td class="parameter_annotations"> </td>
|
2205
|
+
</tr>
|
2206
|
+
<tr>
|
2207
|
+
<td class="parameter_name"><p>user_data</p></td>
|
2208
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
2209
|
+
<td class="parameter_annotations"> </td>
|
2210
|
+
</tr>
|
2211
|
+
</tbody>
|
2212
|
+
</table></div>
|
2213
|
+
</div>
|
2214
|
+
<p>Flags: <a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-ACTION:CAPS">Action</a></p>
|
2215
|
+
<p class="since">Since: <a class="link" href="api-index-3-16.html#api-index-3.16">3.16</a></p>
|
2216
|
+
</div>
|
2217
|
+
<hr>
|
2218
|
+
<div class="refsect2">
|
2219
|
+
<a name="GtkSourceView-move-words"></a><h3>The <code class="literal">“move-words”</code> signal</h3>
|
2220
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
2221
|
+
user_function (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view,
|
2222
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> count,
|
2223
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
2224
|
+
<p>The ::move-words signal is a keybinding which gets emitted
|
2225
|
+
when the user initiates moving a word. The default binding key
|
2226
|
+
is Alt+Left/Right Arrow and moves the current selection, or the current
|
2227
|
+
word by one word.</p>
|
2228
|
+
<div class="refsect3">
|
2229
|
+
<a name="GtkSourceView-move-words.parameters"></a><h4>Parameters</h4>
|
2230
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2231
|
+
<colgroup>
|
2232
|
+
<col width="150px" class="parameters_name">
|
2233
|
+
<col class="parameters_description">
|
2234
|
+
<col width="200px" class="parameters_annotations">
|
2235
|
+
</colgroup>
|
2236
|
+
<tbody>
|
2237
|
+
<tr>
|
2238
|
+
<td class="parameter_name"><p>view</p></td>
|
2239
|
+
<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>
|
2240
|
+
<td class="parameter_annotations"> </td>
|
2241
|
+
</tr>
|
2242
|
+
<tr>
|
2243
|
+
<td class="parameter_name"><p>count</p></td>
|
2244
|
+
<td class="parameter_description"><p>the number of words to move over</p></td>
|
2245
|
+
<td class="parameter_annotations"> </td>
|
2246
|
+
</tr>
|
2247
|
+
<tr>
|
2248
|
+
<td class="parameter_name"><p>user_data</p></td>
|
2249
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
2250
|
+
<td class="parameter_annotations"> </td>
|
2251
|
+
</tr>
|
2252
|
+
</tbody>
|
2253
|
+
</table></div>
|
2254
|
+
</div>
|
2255
|
+
<p>Flags: <a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-ACTION:CAPS">Action</a></p>
|
2256
|
+
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
|
2257
|
+
</div>
|
2258
|
+
<hr>
|
2259
|
+
<div class="refsect2">
|
2260
|
+
<a name="GtkSourceView-redo"></a><h3>The <code class="literal">“redo”</code> signal</h3>
|
2261
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
2262
|
+
user_function (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *sourceview,
|
2263
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
2264
|
+
<p>Flags: <a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-ACTION:CAPS">Action</a></p>
|
2265
|
+
</div>
|
2266
|
+
<hr>
|
2267
|
+
<div class="refsect2">
|
2268
|
+
<a name="GtkSourceView-show-completion"></a><h3>The <code class="literal">“show-completion”</code> signal</h3>
|
2269
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
2270
|
+
user_function (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view,
|
2271
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
2272
|
+
<p>The ::show-completion signal is a key binding signal which gets
|
2273
|
+
emitted when the user requests a completion, by pressing</p>
|
2274
|
+
<span class="keycap"><strong>Control</strong></span>+<span class="keycap"><strong>space</strong></span>.
|
2275
|
+
<p>This will create a <a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a> with the activation
|
2276
|
+
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>
|
2277
|
+
<p>Applications should not connect to it, but may emit it with
|
2278
|
+
<a href="/home/seb/jhbuild/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
|
2279
|
+
another means, for example with another key binding or a menu entry.</p>
|
2280
|
+
<div class="refsect3">
|
2281
|
+
<a name="GtkSourceView-show-completion.parameters"></a><h4>Parameters</h4>
|
2282
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2283
|
+
<colgroup>
|
2284
|
+
<col width="150px" class="parameters_name">
|
2285
|
+
<col class="parameters_description">
|
2286
|
+
<col width="200px" class="parameters_annotations">
|
2287
|
+
</colgroup>
|
2288
|
+
<tbody>
|
2289
|
+
<tr>
|
2290
|
+
<td class="parameter_name"><p>view</p></td>
|
2291
|
+
<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>
|
2292
|
+
<td class="parameter_annotations"> </td>
|
2293
|
+
</tr>
|
2294
|
+
<tr>
|
2295
|
+
<td class="parameter_name"><p>user_data</p></td>
|
2296
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
2297
|
+
<td class="parameter_annotations"> </td>
|
2298
|
+
</tr>
|
2299
|
+
</tbody>
|
2300
|
+
</table></div>
|
2301
|
+
</div>
|
2302
|
+
<p>Flags: <a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-ACTION:CAPS">Action</a></p>
|
2303
|
+
</div>
|
2304
|
+
<hr>
|
2305
|
+
<div class="refsect2">
|
2306
|
+
<a name="GtkSourceView-smart-home-end"></a><h3>The <code class="literal">“smart-home-end”</code> signal</h3>
|
2307
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
2308
|
+
user_function (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view,
|
2309
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a> *iter,
|
2310
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> count,
|
2311
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
2312
|
+
<p>Emitted when a the cursor was moved according to the smart home
|
2313
|
+
end setting. The signal is emitted after the cursor is moved, but
|
2314
|
+
during the GtkTextView::move-cursor action. This can be used to find
|
2315
|
+
out whether the cursor was moved by a normal home/end or by a smart
|
2316
|
+
home/end.</p>
|
2317
|
+
<div class="refsect3">
|
2318
|
+
<a name="GtkSourceView-smart-home-end.parameters"></a><h4>Parameters</h4>
|
2319
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2320
|
+
<colgroup>
|
2321
|
+
<col width="150px" class="parameters_name">
|
2322
|
+
<col class="parameters_description">
|
2323
|
+
<col width="200px" class="parameters_annotations">
|
2324
|
+
</colgroup>
|
2325
|
+
<tbody>
|
2326
|
+
<tr>
|
2327
|
+
<td class="parameter_name"><p>view</p></td>
|
2328
|
+
<td class="parameter_description"><p>the <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a></p></td>
|
2329
|
+
<td class="parameter_annotations"> </td>
|
2330
|
+
</tr>
|
2331
|
+
<tr>
|
2332
|
+
<td class="parameter_name"><p>iter</p></td>
|
2333
|
+
<td class="parameter_description"><p>a <a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextIter.html#GtkTextIter-struct"><span class="type">GtkTextIter</span></a></p></td>
|
2334
|
+
<td class="parameter_annotations"> </td>
|
2335
|
+
</tr>
|
2336
|
+
<tr>
|
2337
|
+
<td class="parameter_name"><p>count</p></td>
|
2338
|
+
<td class="parameter_description"><p>the count</p></td>
|
2339
|
+
<td class="parameter_annotations"> </td>
|
2340
|
+
</tr>
|
2341
|
+
<tr>
|
2342
|
+
<td class="parameter_name"><p>user_data</p></td>
|
2343
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
2344
|
+
<td class="parameter_annotations"> </td>
|
2345
|
+
</tr>
|
2346
|
+
</tbody>
|
2347
|
+
</table></div>
|
2348
|
+
</div>
|
2349
|
+
<p>Flags: <a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
2350
|
+
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
|
2351
|
+
</div>
|
2352
|
+
<hr>
|
2353
|
+
<div class="refsect2">
|
2354
|
+
<a name="GtkSourceView-undo"></a><h3>The <code class="literal">“undo”</code> signal</h3>
|
2355
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
2356
|
+
user_function (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *sourceview,
|
2357
|
+
<a href="/home/seb/jhbuild/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
2358
|
+
<p>Flags: <a href="/home/seb/jhbuild/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-ACTION:CAPS">Action</a></p>
|
2359
|
+
</div>
|
2360
|
+
</div>
|
2361
|
+
<div class="refsect1">
|
2362
|
+
<a name="GtkSourceView.see-also"></a><h2>See Also</h2>
|
2363
|
+
<p><a href="/home/seb/jhbuild/share/gtk-doc/html/gtk3/GtkTextView.html#GtkTextView-struct"><span class="type">GtkTextView</span></a>, <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a></p>
|
2364
|
+
</div>
|
2365
|
+
</div>
|
2366
|
+
<div class="footer">
|
2367
|
+
<hr>Generated by GTK-Doc V1.28.1</div>
|
2368
|
+
</body>
|
2369
|
+
</html>
|