gtksourceview3 2.2.0-x86-mingw32 → 2.2.1-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/ext/gtksourceview3/extconf.rb +1 -2
- data/ext/gtksourceview3/rbgtksourcegutterrenderertext.c +1 -25
- data/ext/gtksourceview3/rbgtksourceview3conversions.h +7 -0
- data/ext/gtksourceview3/rbgtksourceview3private.h +0 -1
- data/lib/2.0/gtksourceview3.so +0 -0
- data/test/run-test.rb +17 -7
- data/test/test_mark_attributes.rb +1 -1
- data/test/test_source_gutter_renderer.rb +33 -0
- data/test/test_source_language_manager.rb +46 -0
- data/test/test_source_view.rb +34 -0
- data/vendor/local/bin/libgtksourceview-3.0-1.dll +0 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksource.h +4 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcebuffer.h +28 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceencoding.h +54 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcefile.h +115 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcefileloader.h +122 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcefilesaver.h +147 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutter.h +3 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcetypes.h +48 -2
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceundomanager.h +1 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview-typebuiltins.h +33 -0
- data/vendor/local/lib/girepository-1.0/GtkSource-3.0.typelib +0 -0
- data/vendor/local/lib/libgtksourceview-3.0.dll.a +0 -0
- data/vendor/local/lib/libgtksourceview-3.0.la +3 -3
- data/vendor/local/lib/locale/ar/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/as/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/be/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/bg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/bn_IN/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ca/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ca@valencia/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/cs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/da/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/de/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/el/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/en_GB/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/es/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/eu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/fa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/fi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/fr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ga/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/gl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/gu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/he/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/hi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/hu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/id/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/it/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ja/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/kn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ko/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/lt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/lv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ml/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/mr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/nb/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/nl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/or/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/pa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/pl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/pt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/pt_BR/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ru/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/sk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/sl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/sr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/sr@latin/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/sv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ta/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/te/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/th/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/tr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ug/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/uk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/vi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/zh_CN/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/zh_HK/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/zh_TW/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/pkgconfig/gtksourceview-3.0.pc +2 -2
- data/vendor/local/share/gir-1.0/GtkSource-3.0.gir +2211 -330
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceBuffer.html +1682 -983
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletion.html +818 -573
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionContext.html +267 -189
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionInfo.html +209 -157
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionItem.html +247 -167
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProposal.html +428 -295
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProvider.html +558 -420
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionWords.html +217 -125
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceEncoding.html +366 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFile.html +563 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileLoader.html +769 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileSaver.html +962 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutter.html +341 -196
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRenderer.html +1211 -827
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererPixbuf.html +327 -206
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererText.html +156 -96
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguage.html +431 -269
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguageManager.html +300 -235
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMark.html +203 -139
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMarkAttributes.html +640 -452
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourcePrintCompositor.html +1444 -1114
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchContext.html +794 -573
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchSettings.html +421 -280
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyle.html +232 -99
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleScheme.html +283 -178
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeManager.html +326 -220
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceUndoManager.html +313 -194
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceView.html +1430 -924
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/annotation-glossary.html +33 -13
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-0.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-10.html +47 -47
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-12.html +39 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-14.html +299 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-4.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-deprecated.html +35 -15
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-full.html +742 -430
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch01.html +31 -19
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch02.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceUtils.html +95 -81
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0.devhelp2 +519 -463
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.html +32 -18
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.sgml +326 -153
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-reference.html +151 -57
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-tutorial.html +14 -17
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/object-tree.html +42 -37
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style-reference.html +39 -8
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style.css +260 -105
- data/vendor/local/share/gtksourceview-3.0/language-specs/actionscript.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/ada.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/ansforth94.lang +729 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/asp.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/automake.lang +3 -2
- data/vendor/local/share/gtksourceview-3.0/language-specs/awk.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/bennugd.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/bluespec.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/boo.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/c.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/cg.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/changelog.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/chdr.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/cmake.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/cobol.lang +536 -345
- data/vendor/local/share/gtksourceview-3.0/language-specs/cpp.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/csharp.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/css.lang +6 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/cuda.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/d.lang +25 -3
- data/vendor/local/share/gtksourceview-3.0/language-specs/def.lang +8 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/desktop.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/diff.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/dosbatch.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/dot.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/dpatch.lang +2 -2
- data/vendor/local/share/gtksourceview-3.0/language-specs/dtd.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/eiffel.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/erlang.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/fcl.lang +1 -3
- data/vendor/local/share/gtksourceview-3.0/language-specs/forth.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/fortran.lang +85 -6
- data/vendor/local/share/gtksourceview-3.0/language-specs/fsharp.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/gdb-log.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/glsl.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/go.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/gtkrc.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/haskell-literate.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/haskell.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/html.lang +238 -137
- data/vendor/local/share/gtksourceview-3.0/language-specs/idl.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/ini.lang +2 -2
- data/vendor/local/share/gtksourceview-3.0/language-specs/j.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/java.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/javascript.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/json.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/latex.lang +389 -133
- data/vendor/local/share/gtksourceview-3.0/language-specs/lex.lang +209 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/libtool.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/llvm.lang +315 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/lua.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/m4.lang +4 -4
- data/vendor/local/share/gtksourceview-3.0/language-specs/makefile.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/mediawiki.lang +16 -12
- data/vendor/local/share/gtksourceview-3.0/language-specs/nemerle.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/netrexx.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/nsis.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/objc.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/objj.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/ocaml.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/ocl.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/ooc.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/opal.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/opencl.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/pascal.lang +12 -12
- data/vendor/local/share/gtksourceview-3.0/language-specs/perl.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/php.lang +15 -15
- data/vendor/local/share/gtksourceview-3.0/language-specs/pkgconfig.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/po.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/prolog.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/protobuf.lang +2 -4
- data/vendor/local/share/gtksourceview-3.0/language-specs/puppet.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/python.lang +62 -3
- data/vendor/local/share/gtksourceview-3.0/language-specs/python3.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/rpmspec.lang +3 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/rst.lang +142 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ruby.lang +2 -2
- data/vendor/local/share/gtksourceview-3.0/language-specs/scala.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/scheme.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/sh.lang +2 -2
- data/vendor/local/share/gtksourceview-3.0/language-specs/sml.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/sparql.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/sql.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/sweave.lang +67 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/systemverilog.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/tcl.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/vala.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/vbnet.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/verilog.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/vhdl.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/yacc.lang +2 -2
- data/vendor/local/share/gtksourceview-3.0/language-specs/yaml.lang +214 -0
- data/vendor/local/share/gtksourceview-3.0/styles/classic.xml +13 -2
- data/vendor/local/share/gtksourceview-3.0/styles/cobalt.xml +16 -5
- data/vendor/local/share/gtksourceview-3.0/styles/kate.xml +11 -3
- data/vendor/local/share/gtksourceview-3.0/styles/oblivion.xml +14 -4
- data/vendor/local/share/gtksourceview-3.0/styles/solarized-dark.xml +101 -0
- data/vendor/local/share/gtksourceview-3.0/styles/solarized-light.xml +101 -0
- data/vendor/local/share/gtksourceview-3.0/styles/styles.rng +3 -0
- data/vendor/local/share/gtksourceview-3.0/styles/tango.xml +14 -2
- data/vendor/local/share/license/gtksourceview/AUTHORS +1 -0
- data/vendor/local/share/license/gtksourceview/COPYING +415 -251
- metadata +31 -13
- data/lib/1.9/gtksourceview3.so +0 -0
- data/lib/2.1/gtksourceview3.so +0 -0
@@ -8,12 +8,12 @@
|
|
8
8
|
<link rel="up" href="index.html" title="GtkSourceView 3 Reference Manual">
|
9
9
|
<link rel="prev" href="index.html" title="GtkSourceView 3 Reference Manual">
|
10
10
|
<link rel="next" href="GtkSourceBuffer.html" title="GtkSourceBuffer">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.21.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
-
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="
|
16
|
-
<td width="100%" align="left"></td>
|
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"></td>
|
17
17
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
18
18
|
<td><img src="up-insensitive.png" width="16" height="16" border="0"></td>
|
19
19
|
<td><a accesskey="p" href="index.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
@@ -24,7 +24,7 @@
|
|
24
24
|
<a name="id-1.2"></a>API reference</h1></div></div></div>
|
25
25
|
<div class="toc"><dl class="toc">
|
26
26
|
<dt>
|
27
|
-
<span class="refentrytitle"><a href="GtkSourceBuffer.html">GtkSourceBuffer</a></span><span class="refpurpose">Buffer object for
|
27
|
+
<span class="refentrytitle"><a href="GtkSourceBuffer.html">GtkSourceBuffer</a></span><span class="refpurpose"> — Buffer object for GtkSourceView</span>
|
28
28
|
</dt>
|
29
29
|
<dt>
|
30
30
|
<span class="refentrytitle"><a href="GtkSourceCompletion.html">GtkSourceCompletion</a></span><span class="refpurpose"> — Main Completion Object</span>
|
@@ -36,7 +36,7 @@
|
|
36
36
|
<span class="refentrytitle"><a href="GtkSourceCompletionInfo.html">GtkSourceCompletionInfo</a></span><span class="refpurpose"> — Calltips object</span>
|
37
37
|
</dt>
|
38
38
|
<dt>
|
39
|
-
<span class="refentrytitle"><a href="GtkSourceCompletionItem.html">GtkSourceCompletionItem</a></span><span class="refpurpose">Simple implementation of
|
39
|
+
<span class="refentrytitle"><a href="GtkSourceCompletionItem.html">GtkSourceCompletionItem</a></span><span class="refpurpose"> — Simple implementation of GtkSourceCompletionProposal</span>
|
40
40
|
</dt>
|
41
41
|
<dt>
|
42
42
|
<span class="refentrytitle"><a href="GtkSourceCompletionProposal.html">GtkSourceCompletionProposal</a></span><span class="refpurpose"> — Completion proposal interface</span>
|
@@ -45,52 +45,64 @@
|
|
45
45
|
<span class="refentrytitle"><a href="GtkSourceCompletionProvider.html">GtkSourceCompletionProvider</a></span><span class="refpurpose"> — Completion provider interface</span>
|
46
46
|
</dt>
|
47
47
|
<dt>
|
48
|
-
<span class="refentrytitle"><a href="GtkSourceCompletionWords.html">GtkSourceCompletionWords</a></span><span class="refpurpose">A
|
48
|
+
<span class="refentrytitle"><a href="GtkSourceCompletionWords.html">GtkSourceCompletionWords</a></span><span class="refpurpose"> — A GtkSourceCompletionProvider for the completion of words</span>
|
49
49
|
</dt>
|
50
50
|
<dt>
|
51
|
-
<span class="refentrytitle"><a href="
|
51
|
+
<span class="refentrytitle"><a href="GtkSourceEncoding.html">GtkSourceEncoding</a></span><span class="refpurpose"> — Character encoding</span>
|
52
52
|
</dt>
|
53
53
|
<dt>
|
54
|
-
<span class="refentrytitle"><a href="
|
54
|
+
<span class="refentrytitle"><a href="GtkSourceFile.html">GtkSourceFile</a></span><span class="refpurpose"> — On-disk representation of a GtkSourceBuffer</span>
|
55
55
|
</dt>
|
56
56
|
<dt>
|
57
|
-
<span class="refentrytitle"><a href="
|
57
|
+
<span class="refentrytitle"><a href="GtkSourceFileLoader.html">GtkSourceFileLoader</a></span><span class="refpurpose"> — Load a file into a GtkSourceBuffer</span>
|
58
58
|
</dt>
|
59
59
|
<dt>
|
60
|
-
<span class="refentrytitle"><a href="
|
60
|
+
<span class="refentrytitle"><a href="GtkSourceFileSaver.html">GtkSourceFileSaver</a></span><span class="refpurpose"> — Save a GtkSourceBuffer into a file</span>
|
61
|
+
</dt>
|
62
|
+
<dt>
|
63
|
+
<span class="refentrytitle"><a href="GtkSourceGutter.html">GtkSourceGutter</a></span><span class="refpurpose"> — Gutter object for GtkSourceView</span>
|
64
|
+
</dt>
|
65
|
+
<dt>
|
66
|
+
<span class="refentrytitle"><a href="GtkSourceGutterRenderer.html">GtkSourceGutterRenderer</a></span><span class="refpurpose"> — Gutter cell renderer</span>
|
67
|
+
</dt>
|
68
|
+
<dt>
|
69
|
+
<span class="refentrytitle"><a href="GtkSourceGutterRendererPixbuf.html">GtkSourceGutterRendererPixbuf</a></span><span class="refpurpose"> — Renders a pixbuf in the gutter</span>
|
70
|
+
</dt>
|
71
|
+
<dt>
|
72
|
+
<span class="refentrytitle"><a href="GtkSourceGutterRendererText.html">GtkSourceGutterRendererText</a></span><span class="refpurpose"> — Renders text in the gutter</span>
|
61
73
|
</dt>
|
62
74
|
<dt>
|
63
75
|
<span class="refentrytitle"><a href="GtkSourceLanguage.html">GtkSourceLanguage</a></span><span class="refpurpose"> — Object representing a syntax highlighted language</span>
|
64
76
|
</dt>
|
65
77
|
<dt>
|
66
|
-
<span class="refentrytitle"><a href="GtkSourceLanguageManager.html">GtkSourceLanguageManager</a></span><span class="refpurpose">Object which provides access to
|
78
|
+
<span class="refentrytitle"><a href="GtkSourceLanguageManager.html">GtkSourceLanguageManager</a></span><span class="refpurpose"> — Object which provides access to GtkSourceLanguages</span>
|
67
79
|
</dt>
|
68
80
|
<dt>
|
69
|
-
<span class="refentrytitle"><a href="GtkSourceMark.html">GtkSourceMark</a></span><span class="refpurpose">
|
81
|
+
<span class="refentrytitle"><a href="GtkSourceMark.html">GtkSourceMark</a></span><span class="refpurpose"> — Mark object for GtkSourceBuffer</span>
|
70
82
|
</dt>
|
71
83
|
<dt>
|
72
84
|
<span class="refentrytitle"><a href="GtkSourceMarkAttributes.html">GtkSourceMarkAttributes</a></span><span class="refpurpose"> — The source mark attributes object</span>
|
73
85
|
</dt>
|
74
86
|
<dt>
|
75
|
-
<span class="refentrytitle"><a href="GtkSourcePrintCompositor.html">GtkSourcePrintCompositor</a></span><span class="refpurpose">Compose a
|
87
|
+
<span class="refentrytitle"><a href="GtkSourcePrintCompositor.html">GtkSourcePrintCompositor</a></span><span class="refpurpose"> — Compose a GtkSourceBuffer for printing</span>
|
76
88
|
</dt>
|
77
89
|
<dt>
|
78
|
-
<span class="refentrytitle"><a href="GtkSourceSearchContext.html">GtkSourceSearchContext</a></span><span class="refpurpose"> —
|
90
|
+
<span class="refentrytitle"><a href="GtkSourceSearchContext.html">GtkSourceSearchContext</a></span><span class="refpurpose"> — Search context</span>
|
79
91
|
</dt>
|
80
92
|
<dt>
|
81
|
-
<span class="refentrytitle"><a href="GtkSourceSearchSettings.html">GtkSourceSearchSettings</a></span><span class="refpurpose"> —
|
93
|
+
<span class="refentrytitle"><a href="GtkSourceSearchSettings.html">GtkSourceSearchSettings</a></span><span class="refpurpose"> — Search settings</span>
|
82
94
|
</dt>
|
83
95
|
<dt>
|
84
96
|
<span class="refentrytitle"><a href="GtkSourceStyle.html">GtkSourceStyle</a></span><span class="refpurpose"> — Object representyng a style</span>
|
85
97
|
</dt>
|
86
98
|
<dt>
|
87
|
-
<span class="refentrytitle"><a href="GtkSourceStyleScheme.html">GtkSourceStyleScheme</a></span><span class="refpurpose">Object controlling the appearance of
|
99
|
+
<span class="refentrytitle"><a href="GtkSourceStyleScheme.html">GtkSourceStyleScheme</a></span><span class="refpurpose"> — Object controlling the appearance of GtkSourceView</span>
|
88
100
|
</dt>
|
89
101
|
<dt>
|
90
|
-
<span class="refentrytitle"><a href="GtkSourceStyleSchemeManager.html">GtkSourceStyleSchemeManager</a></span><span class="refpurpose">Object which provides access to
|
102
|
+
<span class="refentrytitle"><a href="GtkSourceStyleSchemeManager.html">GtkSourceStyleSchemeManager</a></span><span class="refpurpose"> — Object which provides access to GtkSourceStyleSchemes</span>
|
91
103
|
</dt>
|
92
104
|
<dt>
|
93
|
-
<span class="refentrytitle"><a href="GtkSourceUndoManager.html">GtkSourceUndoManager</a></span><span class="refpurpose">Undo manager interface for
|
105
|
+
<span class="refentrytitle"><a href="GtkSourceUndoManager.html">GtkSourceUndoManager</a></span><span class="refpurpose"> — Undo manager interface for GtkSourceView</span>
|
94
106
|
</dt>
|
95
107
|
<dt>
|
96
108
|
<span class="refentrytitle"><a href="gtksourceview-3.0-GtkSourceUtils.html">GtkSourceUtils</a></span><span class="refpurpose"> — Utilities functions</span>
|
@@ -102,6 +114,6 @@
|
|
102
114
|
</div>
|
103
115
|
<div class="footer">
|
104
116
|
<hr>
|
105
|
-
Generated by GTK-Doc V1.
|
117
|
+
Generated by GTK-Doc V1.21.1</div>
|
106
118
|
</body>
|
107
119
|
</html>
|
@@ -8,12 +8,12 @@
|
|
8
8
|
<link rel="up" href="index.html" title="GtkSourceView 3 Reference Manual">
|
9
9
|
<link rel="prev" href="GtkSourceView.html" title="GtkSourceView">
|
10
10
|
<link rel="next" href="lang-tutorial.html" title="Language Definition v2.0 Tutorial">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.21.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
-
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="
|
16
|
-
<td width="100%" align="left"></td>
|
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"></td>
|
17
17
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
18
18
|
<td><img src="up-insensitive.png" width="16" height="16" border="0"></td>
|
19
19
|
<td><a accesskey="p" href="GtkSourceView.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
@@ -42,6 +42,6 @@ Reference to the GtkSourceView style scheme definition file format
|
|
42
42
|
</div>
|
43
43
|
<div class="footer">
|
44
44
|
<hr>
|
45
|
-
Generated by GTK-Doc V1.
|
45
|
+
Generated by GTK-Doc V1.21.1</div>
|
46
46
|
</body>
|
47
47
|
</html>
|
data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceUtils.html
CHANGED
@@ -8,15 +8,14 @@
|
|
8
8
|
<link rel="up" href="ch01.html" title="API reference">
|
9
9
|
<link rel="prev" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager">
|
10
10
|
<link rel="next" href="GtkSourceView.html" title="GtkSourceView">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.21.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
-
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="
|
16
|
-
<td width="100%" align="left">
|
17
|
-
<a href="#" class="shortcut">Top</a>
|
18
|
-
|
19
|
-
<a href="#gtksourceview-3.0-GtkSourceUtils.description" class="shortcut">Description</a>
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
16
|
+
<td width="100%" align="left" class="shortcuts">
|
17
|
+
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
18
|
+
<a href="#gtksourceview-3.0-GtkSourceUtils.description" class="shortcut">Description</a></span>
|
20
19
|
</td>
|
21
20
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
22
21
|
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
@@ -30,111 +29,126 @@
|
|
30
29
|
<h2><span class="refentrytitle"><a name="gtksourceview-3.0-GtkSourceUtils.top_of_page"></a>GtkSourceUtils</span></h2>
|
31
30
|
<p>GtkSourceUtils — Utilities functions</p>
|
32
31
|
</td>
|
33
|
-
<td valign="top" align="right"></td>
|
32
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
34
33
|
</tr></table></div>
|
35
|
-
<div class="refsynopsisdiv">
|
36
|
-
<a name="gtksourceview-3.0-GtkSourceUtils.synopsis"></a><h2>Synopsis</h2>
|
37
|
-
<pre class="synopsis">
|
38
|
-
#include <gtksourceview/gtksource.h>
|
39
|
-
|
40
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="gtksourceview-3.0-GtkSourceUtils.html#gtk-source-utils-unescape-search-text" title="gtk_source_utils_unescape_search_text ()">gtk_source_utils_unescape_search_text</a>
|
41
|
-
(<em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>);
|
42
|
-
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="gtksourceview-3.0-GtkSourceUtils.html#gtk-source-utils-escape-search-text" title="gtk_source_utils_escape_search_text ()">gtk_source_utils_escape_search_text</a> (<em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>);
|
43
|
-
</pre>
|
44
|
-
</div>
|
45
|
-
<div class="refsect1">
|
46
|
-
<a name="gtksourceview-3.0-GtkSourceUtils.description"></a><h2>Description</h2>
|
47
|
-
<p>
|
48
|
-
Utilities functions.
|
49
|
-
</p>
|
50
|
-
</div>
|
51
34
|
<div class="refsect1">
|
52
|
-
<a name="gtksourceview-3.0-GtkSourceUtils.
|
53
|
-
<div class="
|
54
|
-
<a name="gtk-source-utils-unescape-search-text"></a><h3>gtk_source_utils_unescape_search_text ()</h3>
|
55
|
-
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gtk_source_utils_unescape_search_text
|
56
|
-
(<em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>);</pre>
|
57
|
-
<p>
|
58
|
-
Use this function before <a class="link" href="GtkSourceSearchSettings.html#gtk-source-search-settings-set-search-text" title="gtk_source_search_settings_set_search_text ()"><code class="function">gtk_source_search_settings_set_search_text()</code></a>, to
|
59
|
-
unescape the following sequences of characters: \n, \r, \t and \\.
|
60
|
-
The purpose is to easily write those characters in a search entry.
|
61
|
-
</p>
|
62
|
-
<p>
|
63
|
-
Note that unescaping the search text is not needed for regular expression
|
64
|
-
searches.
|
65
|
-
</p>
|
66
|
-
<p>
|
67
|
-
See also: <a class="link" href="gtksourceview-3.0-GtkSourceUtils.html#gtk-source-utils-escape-search-text" title="gtk_source_utils_escape_search_text ()"><code class="function">gtk_source_utils_escape_search_text()</code></a>.
|
68
|
-
</p>
|
69
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
35
|
+
<a name="gtksourceview-3.0-GtkSourceUtils.functions"></a><h2>Functions</h2>
|
36
|
+
<div class="informaltable"><table width="100%" border="0">
|
70
37
|
<colgroup>
|
71
|
-
<col
|
72
|
-
<col>
|
38
|
+
<col width="150px" class="functions_return">
|
39
|
+
<col class="functions_name">
|
73
40
|
</colgroup>
|
74
41
|
<tbody>
|
75
42
|
<tr>
|
76
|
-
<td
|
77
|
-
<
|
43
|
+
<td class="function_type">
|
44
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
45
|
+
</td>
|
46
|
+
<td class="function_name">
|
47
|
+
<a class="link" href="gtksourceview-3.0-GtkSourceUtils.html#gtk-source-utils-unescape-search-text" title="gtk_source_utils_unescape_search_text ()">gtk_source_utils_unescape_search_text</a> <span class="c_punctuation">()</span>
|
48
|
+
</td>
|
78
49
|
</tr>
|
79
50
|
<tr>
|
80
|
-
<td
|
81
|
-
<
|
51
|
+
<td class="function_type">
|
52
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
53
|
+
</td>
|
54
|
+
<td class="function_name">
|
55
|
+
<a class="link" href="gtksourceview-3.0-GtkSourceUtils.html#gtk-source-utils-escape-search-text" title="gtk_source_utils_escape_search_text ()">gtk_source_utils_escape_search_text</a> <span class="c_punctuation">()</span>
|
56
|
+
</td>
|
82
57
|
</tr>
|
83
58
|
</tbody>
|
84
59
|
</table></div>
|
60
|
+
</div>
|
61
|
+
<div class="refsect1">
|
62
|
+
<a name="gtksourceview-3.0-GtkSourceUtils.includes"></a><h2>Includes</h2>
|
63
|
+
<pre class="synopsis">#include <gtksourceview/gtksource.h>
|
64
|
+
</pre>
|
65
|
+
</div>
|
66
|
+
<div class="refsect1">
|
67
|
+
<a name="gtksourceview-3.0-GtkSourceUtils.description"></a><h2>Description</h2>
|
68
|
+
<p>Utilities functions.</p>
|
69
|
+
</div>
|
70
|
+
<div class="refsect1">
|
71
|
+
<a name="gtksourceview-3.0-GtkSourceUtils.functions_details"></a><h2>Functions</h2>
|
72
|
+
<div class="refsect2">
|
73
|
+
<a name="gtk-source-utils-unescape-search-text"></a><h3>gtk_source_utils_unescape_search_text ()</h3>
|
74
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
75
|
+
gtk_source_utils_unescape_search_text (<em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>);</pre>
|
76
|
+
<p>Use this function before <a class="link" href="GtkSourceSearchSettings.html#gtk-source-search-settings-set-search-text" title="gtk_source_search_settings_set_search_text ()"><code class="function">gtk_source_search_settings_set_search_text()</code></a>, to
|
77
|
+
unescape the following sequences of characters: \n, \r, \t and \.
|
78
|
+
The purpose is to easily write those characters in a search entry.</p>
|
79
|
+
<p>Note that unescaping the search text is not needed for regular expression
|
80
|
+
searches.</p>
|
81
|
+
<p>See also: <a class="link" href="gtksourceview-3.0-GtkSourceUtils.html#gtk-source-utils-escape-search-text" title="gtk_source_utils_escape_search_text ()"><code class="function">gtk_source_utils_escape_search_text()</code></a>.</p>
|
82
|
+
<div class="refsect3">
|
83
|
+
<a name="id-1.2.29.6.2.7"></a><h4>Parameters</h4>
|
84
|
+
<div class="informaltable"><table width="100%" border="0">
|
85
|
+
<colgroup>
|
86
|
+
<col width="150px" class="parameters_name">
|
87
|
+
<col class="parameters_description">
|
88
|
+
<col width="200px" class="parameters_annotations">
|
89
|
+
</colgroup>
|
90
|
+
<tbody><tr>
|
91
|
+
<td class="parameter_name"><p>text</p></td>
|
92
|
+
<td class="parameter_description"><p>the text to unescape.</p></td>
|
93
|
+
<td class="parameter_annotations"> </td>
|
94
|
+
</tr></tbody>
|
95
|
+
</table></div>
|
96
|
+
</div>
|
97
|
+
<div class="refsect3">
|
98
|
+
<a name="id-1.2.29.6.2.8"></a><h4>Returns</h4>
|
99
|
+
<p> the unescaped <em class="parameter"><code>text</code></em>
|
100
|
+
.</p>
|
101
|
+
<p></p>
|
102
|
+
</div>
|
85
103
|
<p class="since">Since 3.10</p>
|
86
104
|
</div>
|
87
105
|
<hr>
|
88
106
|
<div class="refsect2">
|
89
|
-
<a name="gtk-source-utils-escape-search-text"></a><h3>gtk_source_utils_escape_search_text
|
90
|
-
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>
|
91
|
-
<
|
92
|
-
Use this function to escape the following characters: \n, \r, \t and
|
93
|
-
</p>
|
94
|
-
<p>
|
95
|
-
For a regular expression search, use <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html#g-regex-escape-string"><code class="function">g_regex_escape_string()</code></a> instead.
|
96
|
-
</p>
|
97
|
-
<p>
|
98
|
-
One possible use case is to take the <a href="http://developer.gnome.org/gtk2/GtkTextBuffer.html"><span class="type">GtkTextBuffer</span></a>'s selection and put it in a
|
107
|
+
<a name="gtk-source-utils-escape-search-text"></a><h3>gtk_source_utils_escape_search_text ()</h3>
|
108
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
109
|
+
gtk_source_utils_escape_search_text (<em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>);</pre>
|
110
|
+
<p>Use this function to escape the following characters: \n, \r, \t and .</p>
|
111
|
+
<p>For a regular expression search, use <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html#g-regex-escape-string"><code class="function">g_regex_escape_string()</code></a> instead.</p>
|
112
|
+
<p>One possible use case is to take the <a href="http://developer.gnome.org/gtk2/GtkTextBuffer.html"><span class="type">GtkTextBuffer</span></a>'s selection and put it in a
|
99
113
|
search entry. The selection can contain tabulations, newlines, etc. So it's
|
100
|
-
better to escape those special characters to better fit in the search entry
|
101
|
-
</p>
|
102
|
-
<p>
|
103
|
-
See also: <a class="link" href="gtksourceview-3.0-GtkSourceUtils.html#gtk-source-utils-unescape-search-text" title="gtk_source_utils_unescape_search_text ()"><code class="function">gtk_source_utils_unescape_search_text()</code></a>.
|
104
|
-
</p>
|
105
|
-
<p>
|
106
|
-
</p>
|
114
|
+
better to escape those special characters to better fit in the search entry.</p>
|
115
|
+
<p>See also: <a class="link" href="gtksourceview-3.0-GtkSourceUtils.html#gtk-source-utils-unescape-search-text" title="gtk_source_utils_unescape_search_text ()"><code class="function">gtk_source_utils_unescape_search_text()</code></a>.</p>
|
107
116
|
<div class="warning">
|
108
|
-
<h3 class="title">Warning</h3>
|
109
117
|
The escape and unescape functions are not reciprocal! For example,
|
110
118
|
escape (unescape (\)) = \\. So avoid cycles such as: search entry -> unescape
|
111
119
|
-> search settings -> escape -> search entry. The original search entry text
|
112
120
|
may be modified.
|
113
121
|
</div>
|
114
|
-
<
|
115
|
-
</
|
116
|
-
<div class="
|
122
|
+
<div class="refsect3">
|
123
|
+
<a name="id-1.2.29.6.3.9"></a><h4>Parameters</h4>
|
124
|
+
<div class="informaltable"><table width="100%" border="0">
|
117
125
|
<colgroup>
|
118
|
-
<col
|
119
|
-
<col>
|
126
|
+
<col width="150px" class="parameters_name">
|
127
|
+
<col class="parameters_description">
|
128
|
+
<col width="200px" class="parameters_annotations">
|
120
129
|
</colgroup>
|
121
|
-
<tbody>
|
122
|
-
<
|
123
|
-
<td
|
124
|
-
<td>
|
125
|
-
</tr>
|
126
|
-
<tr>
|
127
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
128
|
-
<td>the escaped <em class="parameter"><code>text</code></em>.</td>
|
129
|
-
</tr>
|
130
|
-
</tbody>
|
130
|
+
<tbody><tr>
|
131
|
+
<td class="parameter_name"><p>text</p></td>
|
132
|
+
<td class="parameter_description"><p>the text to escape.</p></td>
|
133
|
+
<td class="parameter_annotations"> </td>
|
134
|
+
</tr></tbody>
|
131
135
|
</table></div>
|
136
|
+
</div>
|
137
|
+
<div class="refsect3">
|
138
|
+
<a name="id-1.2.29.6.3.10"></a><h4>Returns</h4>
|
139
|
+
<p> the escaped <em class="parameter"><code>text</code></em>
|
140
|
+
.</p>
|
141
|
+
<p></p>
|
142
|
+
</div>
|
132
143
|
<p class="since">Since 3.10</p>
|
133
144
|
</div>
|
134
145
|
</div>
|
146
|
+
<div class="refsect1">
|
147
|
+
<a name="gtksourceview-3.0-GtkSourceUtils.other_details"></a><h2>Types and Values</h2>
|
148
|
+
</div>
|
135
149
|
</div>
|
136
150
|
<div class="footer">
|
137
151
|
<hr>
|
138
|
-
Generated by GTK-Doc V1.
|
152
|
+
Generated by GTK-Doc V1.21.1</div>
|
139
153
|
</body>
|
140
154
|
</html>
|