gtksourceview4 3.2.9-x86-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/deprecated.rb +49 -0
- data/lib/gtksourceview4/loader.rb +49 -0
- data/lib/gtksourceview4/mark-attributes.rb +29 -0
- data/lib/gtksourceview4.rb +56 -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,161 @@
|
|
1
|
+
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8; coding: utf-8 -*-
|
2
|
+
*
|
3
|
+
* This file is part of GtkSourceView
|
4
|
+
*
|
5
|
+
* Copyright (C) 2013, 2016 - Sébastien Wilmet <swilmet@gnome.org>
|
6
|
+
*
|
7
|
+
* GtkSourceView is free software; you can redistribute it and/or
|
8
|
+
* modify it under the terms of the GNU Lesser General Public
|
9
|
+
* License as published by the Free Software Foundation; either
|
10
|
+
* version 2.1 of the License, or (at your option) any later version.
|
11
|
+
*
|
12
|
+
* GtkSourceView is distributed in the hope that it will be useful,
|
13
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
15
|
+
* Lesser General Public License for more details.
|
16
|
+
*
|
17
|
+
* You should have received a copy of the GNU Lesser General Public License
|
18
|
+
* along with this library; if not, see <http://www.gnu.org/licenses/>.
|
19
|
+
*/
|
20
|
+
|
21
|
+
#ifndef GTK_SOURCE_SEARCH_CONTEXT_H
|
22
|
+
#define GTK_SOURCE_SEARCH_CONTEXT_H
|
23
|
+
|
24
|
+
#if !defined (GTK_SOURCE_H_INSIDE) && !defined (GTK_SOURCE_COMPILATION)
|
25
|
+
#error "Only <gtksourceview/gtksource.h> can be included directly."
|
26
|
+
#endif
|
27
|
+
|
28
|
+
#include <gtk/gtk.h>
|
29
|
+
#include <gtksourceview/gtksourcetypes.h>
|
30
|
+
|
31
|
+
G_BEGIN_DECLS
|
32
|
+
|
33
|
+
#define GTK_SOURCE_TYPE_SEARCH_CONTEXT (gtk_source_search_context_get_type ())
|
34
|
+
#define GTK_SOURCE_SEARCH_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_SOURCE_TYPE_SEARCH_CONTEXT, GtkSourceSearchContext))
|
35
|
+
#define GTK_SOURCE_SEARCH_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_SOURCE_TYPE_SEARCH_CONTEXT, GtkSourceSearchContextClass))
|
36
|
+
#define GTK_SOURCE_IS_SEARCH_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_SOURCE_TYPE_SEARCH_CONTEXT))
|
37
|
+
#define GTK_SOURCE_IS_SEARCH_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_SOURCE_TYPE_SEARCH_CONTEXT))
|
38
|
+
#define GTK_SOURCE_SEARCH_CONTEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_SOURCE_TYPE_SEARCH_CONTEXT, GtkSourceSearchContextClass))
|
39
|
+
|
40
|
+
typedef struct _GtkSourceSearchContextClass GtkSourceSearchContextClass;
|
41
|
+
typedef struct _GtkSourceSearchContextPrivate GtkSourceSearchContextPrivate;
|
42
|
+
|
43
|
+
struct _GtkSourceSearchContext
|
44
|
+
{
|
45
|
+
GObject parent;
|
46
|
+
|
47
|
+
GtkSourceSearchContextPrivate *priv;
|
48
|
+
};
|
49
|
+
|
50
|
+
struct _GtkSourceSearchContextClass
|
51
|
+
{
|
52
|
+
GObjectClass parent_class;
|
53
|
+
|
54
|
+
gpointer padding[10];
|
55
|
+
};
|
56
|
+
|
57
|
+
GTK_SOURCE_AVAILABLE_IN_3_10
|
58
|
+
GType gtk_source_search_context_get_type (void) G_GNUC_CONST;
|
59
|
+
|
60
|
+
GTK_SOURCE_AVAILABLE_IN_3_10
|
61
|
+
GtkSourceSearchContext *gtk_source_search_context_new (GtkSourceBuffer *buffer,
|
62
|
+
GtkSourceSearchSettings *settings);
|
63
|
+
|
64
|
+
GTK_SOURCE_AVAILABLE_IN_3_10
|
65
|
+
GtkSourceBuffer *gtk_source_search_context_get_buffer (GtkSourceSearchContext *search);
|
66
|
+
|
67
|
+
GTK_SOURCE_AVAILABLE_IN_3_10
|
68
|
+
GtkSourceSearchSettings *gtk_source_search_context_get_settings (GtkSourceSearchContext *search);
|
69
|
+
|
70
|
+
GTK_SOURCE_AVAILABLE_IN_3_10
|
71
|
+
gboolean gtk_source_search_context_get_highlight (GtkSourceSearchContext *search);
|
72
|
+
|
73
|
+
GTK_SOURCE_AVAILABLE_IN_3_10
|
74
|
+
void gtk_source_search_context_set_highlight (GtkSourceSearchContext *search,
|
75
|
+
gboolean highlight);
|
76
|
+
|
77
|
+
GTK_SOURCE_AVAILABLE_IN_3_16
|
78
|
+
GtkSourceStyle *gtk_source_search_context_get_match_style (GtkSourceSearchContext *search);
|
79
|
+
|
80
|
+
GTK_SOURCE_AVAILABLE_IN_3_16
|
81
|
+
void gtk_source_search_context_set_match_style (GtkSourceSearchContext *search,
|
82
|
+
GtkSourceStyle *match_style);
|
83
|
+
|
84
|
+
GTK_SOURCE_AVAILABLE_IN_3_10
|
85
|
+
GError *gtk_source_search_context_get_regex_error (GtkSourceSearchContext *search);
|
86
|
+
|
87
|
+
GTK_SOURCE_AVAILABLE_IN_3_10
|
88
|
+
gint gtk_source_search_context_get_occurrences_count (GtkSourceSearchContext *search);
|
89
|
+
|
90
|
+
GTK_SOURCE_AVAILABLE_IN_3_10
|
91
|
+
gint gtk_source_search_context_get_occurrence_position (GtkSourceSearchContext *search,
|
92
|
+
const GtkTextIter *match_start,
|
93
|
+
const GtkTextIter *match_end);
|
94
|
+
|
95
|
+
GTK_SOURCE_AVAILABLE_IN_4_0
|
96
|
+
gboolean gtk_source_search_context_forward (GtkSourceSearchContext *search,
|
97
|
+
const GtkTextIter *iter,
|
98
|
+
GtkTextIter *match_start,
|
99
|
+
GtkTextIter *match_end,
|
100
|
+
gboolean *has_wrapped_around);
|
101
|
+
|
102
|
+
GTK_SOURCE_AVAILABLE_IN_3_10
|
103
|
+
void gtk_source_search_context_forward_async (GtkSourceSearchContext *search,
|
104
|
+
const GtkTextIter *iter,
|
105
|
+
GCancellable *cancellable,
|
106
|
+
GAsyncReadyCallback callback,
|
107
|
+
gpointer user_data);
|
108
|
+
|
109
|
+
GTK_SOURCE_AVAILABLE_IN_4_0
|
110
|
+
gboolean gtk_source_search_context_forward_finish (GtkSourceSearchContext *search,
|
111
|
+
GAsyncResult *result,
|
112
|
+
GtkTextIter *match_start,
|
113
|
+
GtkTextIter *match_end,
|
114
|
+
gboolean *has_wrapped_around,
|
115
|
+
GError **error);
|
116
|
+
|
117
|
+
GTK_SOURCE_AVAILABLE_IN_4_0
|
118
|
+
gboolean gtk_source_search_context_backward (GtkSourceSearchContext *search,
|
119
|
+
const GtkTextIter *iter,
|
120
|
+
GtkTextIter *match_start,
|
121
|
+
GtkTextIter *match_end,
|
122
|
+
gboolean *has_wrapped_around);
|
123
|
+
|
124
|
+
GTK_SOURCE_AVAILABLE_IN_3_10
|
125
|
+
void gtk_source_search_context_backward_async (GtkSourceSearchContext *search,
|
126
|
+
const GtkTextIter *iter,
|
127
|
+
GCancellable *cancellable,
|
128
|
+
GAsyncReadyCallback callback,
|
129
|
+
gpointer user_data);
|
130
|
+
|
131
|
+
GTK_SOURCE_AVAILABLE_IN_4_0
|
132
|
+
gboolean gtk_source_search_context_backward_finish (GtkSourceSearchContext *search,
|
133
|
+
GAsyncResult *result,
|
134
|
+
GtkTextIter *match_start,
|
135
|
+
GtkTextIter *match_end,
|
136
|
+
gboolean *has_wrapped_around,
|
137
|
+
GError **error);
|
138
|
+
|
139
|
+
GTK_SOURCE_AVAILABLE_IN_4_0
|
140
|
+
gboolean gtk_source_search_context_replace (GtkSourceSearchContext *search,
|
141
|
+
GtkTextIter *match_start,
|
142
|
+
GtkTextIter *match_end,
|
143
|
+
const gchar *replace,
|
144
|
+
gint replace_length,
|
145
|
+
GError **error);
|
146
|
+
|
147
|
+
GTK_SOURCE_AVAILABLE_IN_3_10
|
148
|
+
guint gtk_source_search_context_replace_all (GtkSourceSearchContext *search,
|
149
|
+
const gchar *replace,
|
150
|
+
gint replace_length,
|
151
|
+
GError **error);
|
152
|
+
|
153
|
+
G_GNUC_INTERNAL
|
154
|
+
void _gtk_source_search_context_update_highlight (GtkSourceSearchContext *search,
|
155
|
+
const GtkTextIter *start,
|
156
|
+
const GtkTextIter *end,
|
157
|
+
gboolean synchronous);
|
158
|
+
|
159
|
+
G_END_DECLS
|
160
|
+
|
161
|
+
#endif /* GTK_SOURCE_SEARCH_CONTEXT_H */
|
@@ -0,0 +1,100 @@
|
|
1
|
+
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8; coding: utf-8 -*- */
|
2
|
+
/*
|
3
|
+
* This file is part of GtkSourceView
|
4
|
+
*
|
5
|
+
* Copyright (C) 2013 - Sébastien Wilmet <swilmet@gnome.org>
|
6
|
+
*
|
7
|
+
* GtkSourceView is free software; you can redistribute it and/or
|
8
|
+
* modify it under the terms of the GNU Lesser General Public
|
9
|
+
* License as published by the Free Software Foundation; either
|
10
|
+
* version 2.1 of the License, or (at your option) any later version.
|
11
|
+
*
|
12
|
+
* GtkSourceView is distributed in the hope that it will be useful,
|
13
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
15
|
+
* Lesser General Public License for more details.
|
16
|
+
*
|
17
|
+
* You should have received a copy of the GNU Lesser General Public License
|
18
|
+
* along with this library; if not, see <http://www.gnu.org/licenses/>.
|
19
|
+
*/
|
20
|
+
|
21
|
+
#ifndef GTK_SOURCE_SEARCH_SETTINGS_H
|
22
|
+
#define GTK_SOURCE_SEARCH_SETTINGS_H
|
23
|
+
|
24
|
+
#if !defined (GTK_SOURCE_H_INSIDE) && !defined (GTK_SOURCE_COMPILATION)
|
25
|
+
#error "Only <gtksourceview/gtksource.h> can be included directly."
|
26
|
+
#endif
|
27
|
+
|
28
|
+
#include <glib-object.h>
|
29
|
+
#include <gtksourceview/gtksourcetypes.h>
|
30
|
+
|
31
|
+
G_BEGIN_DECLS
|
32
|
+
|
33
|
+
#define GTK_SOURCE_TYPE_SEARCH_SETTINGS (gtk_source_search_settings_get_type ())
|
34
|
+
#define GTK_SOURCE_SEARCH_SETTINGS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_SOURCE_TYPE_SEARCH_SETTINGS, GtkSourceSearchSettings))
|
35
|
+
#define GTK_SOURCE_SEARCH_SETTINGS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_SOURCE_TYPE_SEARCH_SETTINGS, GtkSourceSearchSettingsClass))
|
36
|
+
#define GTK_SOURCE_IS_SEARCH_SETTINGS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_SOURCE_TYPE_SEARCH_SETTINGS))
|
37
|
+
#define GTK_SOURCE_IS_SEARCH_SETTINGS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_SOURCE_TYPE_SEARCH_SETTINGS))
|
38
|
+
#define GTK_SOURCE_SEARCH_SETTINGS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_SOURCE_TYPE_SEARCH_SETTINGS, GtkSourceSearchSettingsClass))
|
39
|
+
|
40
|
+
typedef struct _GtkSourceSearchSettingsClass GtkSourceSearchSettingsClass;
|
41
|
+
typedef struct _GtkSourceSearchSettingsPrivate GtkSourceSearchSettingsPrivate;
|
42
|
+
|
43
|
+
struct _GtkSourceSearchSettings
|
44
|
+
{
|
45
|
+
GObject parent;
|
46
|
+
|
47
|
+
GtkSourceSearchSettingsPrivate *priv;
|
48
|
+
};
|
49
|
+
|
50
|
+
struct _GtkSourceSearchSettingsClass
|
51
|
+
{
|
52
|
+
GObjectClass parent_class;
|
53
|
+
|
54
|
+
gpointer padding[10];
|
55
|
+
};
|
56
|
+
|
57
|
+
GTK_SOURCE_AVAILABLE_IN_ALL
|
58
|
+
GType gtk_source_search_settings_get_type (void) G_GNUC_CONST;
|
59
|
+
|
60
|
+
GTK_SOURCE_AVAILABLE_IN_ALL
|
61
|
+
GtkSourceSearchSettings *gtk_source_search_settings_new (void);
|
62
|
+
|
63
|
+
GTK_SOURCE_AVAILABLE_IN_ALL
|
64
|
+
void gtk_source_search_settings_set_search_text (GtkSourceSearchSettings *settings,
|
65
|
+
const gchar *search_text);
|
66
|
+
|
67
|
+
GTK_SOURCE_AVAILABLE_IN_ALL
|
68
|
+
const gchar *gtk_source_search_settings_get_search_text (GtkSourceSearchSettings *settings);
|
69
|
+
|
70
|
+
GTK_SOURCE_AVAILABLE_IN_ALL
|
71
|
+
void gtk_source_search_settings_set_case_sensitive (GtkSourceSearchSettings *settings,
|
72
|
+
gboolean case_sensitive);
|
73
|
+
|
74
|
+
GTK_SOURCE_AVAILABLE_IN_ALL
|
75
|
+
gboolean gtk_source_search_settings_get_case_sensitive (GtkSourceSearchSettings *settings);
|
76
|
+
|
77
|
+
GTK_SOURCE_AVAILABLE_IN_ALL
|
78
|
+
void gtk_source_search_settings_set_at_word_boundaries (GtkSourceSearchSettings *settings,
|
79
|
+
gboolean at_word_boundaries);
|
80
|
+
|
81
|
+
GTK_SOURCE_AVAILABLE_IN_ALL
|
82
|
+
gboolean gtk_source_search_settings_get_at_word_boundaries (GtkSourceSearchSettings *settings);
|
83
|
+
|
84
|
+
GTK_SOURCE_AVAILABLE_IN_ALL
|
85
|
+
void gtk_source_search_settings_set_wrap_around (GtkSourceSearchSettings *settings,
|
86
|
+
gboolean wrap_around);
|
87
|
+
|
88
|
+
GTK_SOURCE_AVAILABLE_IN_ALL
|
89
|
+
gboolean gtk_source_search_settings_get_wrap_around (GtkSourceSearchSettings *settings);
|
90
|
+
|
91
|
+
GTK_SOURCE_AVAILABLE_IN_ALL
|
92
|
+
void gtk_source_search_settings_set_regex_enabled (GtkSourceSearchSettings *settings,
|
93
|
+
gboolean regex_enabled);
|
94
|
+
|
95
|
+
GTK_SOURCE_AVAILABLE_IN_ALL
|
96
|
+
gboolean gtk_source_search_settings_get_regex_enabled (GtkSourceSearchSettings *settings);
|
97
|
+
|
98
|
+
G_END_DECLS
|
99
|
+
|
100
|
+
#endif /* GTK_SOURCE_SEARCH_SETTINGS_H */
|
@@ -0,0 +1,144 @@
|
|
1
|
+
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8; coding: utf-8 -*- */
|
2
|
+
/*
|
3
|
+
* This file is part of GtkSourceView
|
4
|
+
*
|
5
|
+
* Copyright (C) 2016 - Sébastien Wilmet <swilmet@gnome.org>
|
6
|
+
*
|
7
|
+
* GtkSourceView is free software; you can redistribute it and/or
|
8
|
+
* modify it under the terms of the GNU Lesser General Public
|
9
|
+
* License as published by the Free Software Foundation; either
|
10
|
+
* version 2.1 of the License, or (at your option) any later version.
|
11
|
+
*
|
12
|
+
* GtkSourceView is distributed in the hope that it will be useful,
|
13
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
15
|
+
* Lesser General Public License for more details.
|
16
|
+
*
|
17
|
+
* You should have received a copy of the GNU Lesser General Public License
|
18
|
+
* along with this library; if not, see <http://www.gnu.org/licenses/>.
|
19
|
+
*/
|
20
|
+
|
21
|
+
#ifndef GTK_SOURCE_SPACE_DRAWER_H
|
22
|
+
#define GTK_SOURCE_SPACE_DRAWER_H
|
23
|
+
|
24
|
+
#if !defined (GTK_SOURCE_H_INSIDE) && !defined (GTK_SOURCE_COMPILATION)
|
25
|
+
#error "Only <gtksourceview/gtksource.h> can be included directly."
|
26
|
+
#endif
|
27
|
+
|
28
|
+
#include <gtk/gtk.h>
|
29
|
+
#include <gtksourceview/gtksourcetypes.h>
|
30
|
+
|
31
|
+
G_BEGIN_DECLS
|
32
|
+
|
33
|
+
#define GTK_SOURCE_TYPE_SPACE_DRAWER (gtk_source_space_drawer_get_type ())
|
34
|
+
#define GTK_SOURCE_SPACE_DRAWER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_SOURCE_TYPE_SPACE_DRAWER, GtkSourceSpaceDrawer))
|
35
|
+
#define GTK_SOURCE_SPACE_DRAWER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_SOURCE_TYPE_SPACE_DRAWER, GtkSourceSpaceDrawerClass))
|
36
|
+
#define GTK_SOURCE_IS_SPACE_DRAWER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_SOURCE_TYPE_SPACE_DRAWER))
|
37
|
+
#define GTK_SOURCE_IS_SPACE_DRAWER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_SOURCE_TYPE_SPACE_DRAWER))
|
38
|
+
#define GTK_SOURCE_SPACE_DRAWER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_SOURCE_TYPE_SPACE_DRAWER, GtkSourceSpaceDrawerClass))
|
39
|
+
|
40
|
+
typedef struct _GtkSourceSpaceDrawerClass GtkSourceSpaceDrawerClass;
|
41
|
+
typedef struct _GtkSourceSpaceDrawerPrivate GtkSourceSpaceDrawerPrivate;
|
42
|
+
|
43
|
+
struct _GtkSourceSpaceDrawer
|
44
|
+
{
|
45
|
+
GObject parent;
|
46
|
+
|
47
|
+
GtkSourceSpaceDrawerPrivate *priv;
|
48
|
+
};
|
49
|
+
|
50
|
+
struct _GtkSourceSpaceDrawerClass
|
51
|
+
{
|
52
|
+
GObjectClass parent_class;
|
53
|
+
|
54
|
+
gpointer padding[20];
|
55
|
+
};
|
56
|
+
|
57
|
+
/**
|
58
|
+
* GtkSourceSpaceTypeFlags:
|
59
|
+
* @GTK_SOURCE_SPACE_TYPE_NONE: No flags.
|
60
|
+
* @GTK_SOURCE_SPACE_TYPE_SPACE: Space character.
|
61
|
+
* @GTK_SOURCE_SPACE_TYPE_TAB: Tab character.
|
62
|
+
* @GTK_SOURCE_SPACE_TYPE_NEWLINE: Line break character. If the
|
63
|
+
* #GtkSourceBuffer:implicit-trailing-newline property is %TRUE,
|
64
|
+
* #GtkSourceSpaceDrawer also draws a line break at the end of the buffer.
|
65
|
+
* @GTK_SOURCE_SPACE_TYPE_NBSP: Non-breaking space character.
|
66
|
+
* @GTK_SOURCE_SPACE_TYPE_ALL: All white spaces.
|
67
|
+
*
|
68
|
+
* #GtkSourceSpaceTypeFlags contains flags for white space types.
|
69
|
+
*
|
70
|
+
* Since: 3.24
|
71
|
+
*/
|
72
|
+
typedef enum _GtkSourceSpaceTypeFlags
|
73
|
+
{
|
74
|
+
GTK_SOURCE_SPACE_TYPE_NONE = 0,
|
75
|
+
GTK_SOURCE_SPACE_TYPE_SPACE = 1 << 0,
|
76
|
+
GTK_SOURCE_SPACE_TYPE_TAB = 1 << 1,
|
77
|
+
GTK_SOURCE_SPACE_TYPE_NEWLINE = 1 << 2,
|
78
|
+
GTK_SOURCE_SPACE_TYPE_NBSP = 1 << 3,
|
79
|
+
GTK_SOURCE_SPACE_TYPE_ALL = 0xf
|
80
|
+
} GtkSourceSpaceTypeFlags;
|
81
|
+
|
82
|
+
/**
|
83
|
+
* GtkSourceSpaceLocationFlags:
|
84
|
+
* @GTK_SOURCE_SPACE_LOCATION_NONE: No flags.
|
85
|
+
* @GTK_SOURCE_SPACE_LOCATION_LEADING: Leading white spaces on a line, i.e. the
|
86
|
+
* indentation.
|
87
|
+
* @GTK_SOURCE_SPACE_LOCATION_INSIDE_TEXT: White spaces inside a line of text.
|
88
|
+
* @GTK_SOURCE_SPACE_LOCATION_TRAILING: Trailing white spaces on a line.
|
89
|
+
* @GTK_SOURCE_SPACE_LOCATION_ALL: White spaces anywhere.
|
90
|
+
*
|
91
|
+
* #GtkSourceSpaceLocationFlags contains flags for white space locations.
|
92
|
+
*
|
93
|
+
* If a line contains only white spaces (no text), the white spaces match both
|
94
|
+
* %GTK_SOURCE_SPACE_LOCATION_LEADING and %GTK_SOURCE_SPACE_LOCATION_TRAILING.
|
95
|
+
*
|
96
|
+
* Since: 3.24
|
97
|
+
*/
|
98
|
+
typedef enum _GtkSourceSpaceLocationFlags
|
99
|
+
{
|
100
|
+
GTK_SOURCE_SPACE_LOCATION_NONE = 0,
|
101
|
+
GTK_SOURCE_SPACE_LOCATION_LEADING = 1 << 0,
|
102
|
+
GTK_SOURCE_SPACE_LOCATION_INSIDE_TEXT = 1 << 1,
|
103
|
+
GTK_SOURCE_SPACE_LOCATION_TRAILING = 1 << 2,
|
104
|
+
GTK_SOURCE_SPACE_LOCATION_ALL = 0x7
|
105
|
+
} GtkSourceSpaceLocationFlags;
|
106
|
+
|
107
|
+
GTK_SOURCE_AVAILABLE_IN_3_24
|
108
|
+
GType gtk_source_space_drawer_get_type (void) G_GNUC_CONST;
|
109
|
+
|
110
|
+
GTK_SOURCE_AVAILABLE_IN_3_24
|
111
|
+
GtkSourceSpaceDrawer * gtk_source_space_drawer_new (void);
|
112
|
+
|
113
|
+
GTK_SOURCE_AVAILABLE_IN_3_24
|
114
|
+
GtkSourceSpaceTypeFlags gtk_source_space_drawer_get_types_for_locations (GtkSourceSpaceDrawer *drawer,
|
115
|
+
GtkSourceSpaceLocationFlags locations);
|
116
|
+
|
117
|
+
GTK_SOURCE_AVAILABLE_IN_3_24
|
118
|
+
void gtk_source_space_drawer_set_types_for_locations (GtkSourceSpaceDrawer *drawer,
|
119
|
+
GtkSourceSpaceLocationFlags locations,
|
120
|
+
GtkSourceSpaceTypeFlags types);
|
121
|
+
|
122
|
+
GTK_SOURCE_AVAILABLE_IN_3_24
|
123
|
+
GVariant * gtk_source_space_drawer_get_matrix (GtkSourceSpaceDrawer *drawer);
|
124
|
+
|
125
|
+
GTK_SOURCE_AVAILABLE_IN_3_24
|
126
|
+
void gtk_source_space_drawer_set_matrix (GtkSourceSpaceDrawer *drawer,
|
127
|
+
GVariant *matrix);
|
128
|
+
|
129
|
+
GTK_SOURCE_AVAILABLE_IN_3_24
|
130
|
+
gboolean gtk_source_space_drawer_get_enable_matrix (GtkSourceSpaceDrawer *drawer);
|
131
|
+
|
132
|
+
GTK_SOURCE_AVAILABLE_IN_3_24
|
133
|
+
void gtk_source_space_drawer_set_enable_matrix (GtkSourceSpaceDrawer *drawer,
|
134
|
+
gboolean enable_matrix);
|
135
|
+
|
136
|
+
GTK_SOURCE_AVAILABLE_IN_3_24
|
137
|
+
void gtk_source_space_drawer_bind_matrix_setting (GtkSourceSpaceDrawer *drawer,
|
138
|
+
GSettings *settings,
|
139
|
+
const gchar *key,
|
140
|
+
GSettingsBindFlags flags);
|
141
|
+
|
142
|
+
G_END_DECLS
|
143
|
+
|
144
|
+
#endif /* GTK_SOURCE_SPACE_DRAWER_H */
|
@@ -0,0 +1,54 @@
|
|
1
|
+
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8; coding: utf-8 -*-
|
2
|
+
*
|
3
|
+
* This file is part of GtkSourceView
|
4
|
+
*
|
5
|
+
* Copyright (C) 2003 - Paolo Maggi <paolo.maggi@polito.it>
|
6
|
+
*
|
7
|
+
* GtkSourceView is free software; you can redistribute it and/or
|
8
|
+
* modify it under the terms of the GNU Lesser General Public
|
9
|
+
* License as published by the Free Software Foundation; either
|
10
|
+
* version 2.1 of the License, or (at your option) any later version.
|
11
|
+
*
|
12
|
+
* GtkSourceView is distributed in the hope that it will be useful,
|
13
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
15
|
+
* Lesser General Public License for more details.
|
16
|
+
*
|
17
|
+
* You should have received a copy of the GNU Lesser General Public License
|
18
|
+
* along with this library; if not, see <http://www.gnu.org/licenses/>.
|
19
|
+
*/
|
20
|
+
|
21
|
+
#ifndef GTK_SOURCE_STYLE_H
|
22
|
+
#define GTK_SOURCE_STYLE_H
|
23
|
+
|
24
|
+
#if !defined (GTK_SOURCE_H_INSIDE) && !defined (GTK_SOURCE_COMPILATION)
|
25
|
+
#error "Only <gtksourceview/gtksource.h> can be included directly."
|
26
|
+
#endif
|
27
|
+
|
28
|
+
#include <gtk/gtk.h>
|
29
|
+
#include <gtksourceview/gtksourcetypes.h>
|
30
|
+
|
31
|
+
G_BEGIN_DECLS
|
32
|
+
|
33
|
+
#define GTK_SOURCE_TYPE_STYLE (gtk_source_style_get_type ())
|
34
|
+
#define GTK_SOURCE_STYLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_SOURCE_TYPE_STYLE, GtkSourceStyle))
|
35
|
+
#define GTK_SOURCE_IS_STYLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_SOURCE_TYPE_STYLE))
|
36
|
+
#define GTK_SOURCE_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_SOURCE_TYPE_STYLE, GtkSourceStyleClass))
|
37
|
+
#define GTK_SOURCE_IS_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_SOURCE_TYPE_STYLE))
|
38
|
+
#define GTK_SOURCE_STYLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_SOURCE_TYPE_STYLE, GtkSourceStyleClass))
|
39
|
+
|
40
|
+
typedef struct _GtkSourceStyleClass GtkSourceStyleClass;
|
41
|
+
|
42
|
+
GTK_SOURCE_AVAILABLE_IN_ALL
|
43
|
+
GType gtk_source_style_get_type (void) G_GNUC_CONST;
|
44
|
+
|
45
|
+
GTK_SOURCE_AVAILABLE_IN_ALL
|
46
|
+
GtkSourceStyle *gtk_source_style_copy (const GtkSourceStyle *style);
|
47
|
+
|
48
|
+
GTK_SOURCE_AVAILABLE_IN_3_22
|
49
|
+
void gtk_source_style_apply (const GtkSourceStyle *style,
|
50
|
+
GtkTextTag *tag);
|
51
|
+
|
52
|
+
G_END_DECLS
|
53
|
+
|
54
|
+
#endif /* GTK_SOURCE_STYLE_H */
|
@@ -0,0 +1,119 @@
|
|
1
|
+
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8; coding: utf-8 -*-
|
2
|
+
*
|
3
|
+
* This file is part of GtkSourceView
|
4
|
+
*
|
5
|
+
* Copyright (C) 2003 - Paolo Maggi <paolo.maggi@polito.it>
|
6
|
+
*
|
7
|
+
* This library is free software; you can redistribute it and/or
|
8
|
+
* modify it under the terms of the GNU Lesser General Public
|
9
|
+
* License as published by the Free Software Foundation; either
|
10
|
+
* version 2.1 of the License, or (at your option) any later version.
|
11
|
+
*
|
12
|
+
* This library is distributed in the hope that it will be useful,
|
13
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
15
|
+
* Lesser General Public License for more details.
|
16
|
+
|
17
|
+
* You should have received a copy of the GNU Lesser General Public License
|
18
|
+
* along with this library; if not, see <http://www.gnu.org/licenses/>.
|
19
|
+
*/
|
20
|
+
|
21
|
+
#ifndef GTK_SOURCE_STYLE_SCHEME_H
|
22
|
+
#define GTK_SOURCE_STYLE_SCHEME_H
|
23
|
+
|
24
|
+
#if !defined (GTK_SOURCE_H_INSIDE) && !defined (GTK_SOURCE_COMPILATION)
|
25
|
+
#error "Only <gtksourceview/gtksource.h> can be included directly."
|
26
|
+
#endif
|
27
|
+
|
28
|
+
#include <gtk/gtk.h>
|
29
|
+
#include <gtksourceview/gtksourcetypes.h>
|
30
|
+
|
31
|
+
G_BEGIN_DECLS
|
32
|
+
|
33
|
+
#define GTK_SOURCE_TYPE_STYLE_SCHEME (gtk_source_style_scheme_get_type ())
|
34
|
+
#define GTK_SOURCE_STYLE_SCHEME(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_SOURCE_TYPE_STYLE_SCHEME, GtkSourceStyleScheme))
|
35
|
+
#define GTK_SOURCE_STYLE_SCHEME_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_SOURCE_TYPE_STYLE_SCHEME, GtkSourceStyleSchemeClass))
|
36
|
+
#define GTK_SOURCE_IS_STYLE_SCHEME(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_SOURCE_TYPE_STYLE_SCHEME))
|
37
|
+
#define GTK_SOURCE_IS_STYLE_SCHEME_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_SOURCE_TYPE_STYLE_SCHEME))
|
38
|
+
#define GTK_SOURCE_STYLE_SCHEME_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_SOURCE_TYPE_STYLE_SCHEME, GtkSourceStyleSchemeClass))
|
39
|
+
|
40
|
+
typedef struct _GtkSourceStyleSchemePrivate GtkSourceStyleSchemePrivate;
|
41
|
+
typedef struct _GtkSourceStyleSchemeClass GtkSourceStyleSchemeClass;
|
42
|
+
|
43
|
+
struct _GtkSourceStyleScheme
|
44
|
+
{
|
45
|
+
GObject base;
|
46
|
+
GtkSourceStyleSchemePrivate *priv;
|
47
|
+
};
|
48
|
+
|
49
|
+
struct _GtkSourceStyleSchemeClass
|
50
|
+
{
|
51
|
+
GObjectClass base_class;
|
52
|
+
|
53
|
+
/* Padding for future expansion */
|
54
|
+
gpointer padding[10];
|
55
|
+
};
|
56
|
+
|
57
|
+
GTK_SOURCE_AVAILABLE_IN_ALL
|
58
|
+
GType gtk_source_style_scheme_get_type (void) G_GNUC_CONST;
|
59
|
+
|
60
|
+
GTK_SOURCE_AVAILABLE_IN_ALL
|
61
|
+
const gchar *gtk_source_style_scheme_get_id (GtkSourceStyleScheme *scheme);
|
62
|
+
|
63
|
+
GTK_SOURCE_AVAILABLE_IN_ALL
|
64
|
+
const gchar *gtk_source_style_scheme_get_name (GtkSourceStyleScheme *scheme);
|
65
|
+
|
66
|
+
GTK_SOURCE_AVAILABLE_IN_ALL
|
67
|
+
const gchar *gtk_source_style_scheme_get_description (GtkSourceStyleScheme *scheme);
|
68
|
+
|
69
|
+
GTK_SOURCE_AVAILABLE_IN_ALL
|
70
|
+
const gchar * const * gtk_source_style_scheme_get_authors (GtkSourceStyleScheme *scheme);
|
71
|
+
|
72
|
+
GTK_SOURCE_AVAILABLE_IN_ALL
|
73
|
+
const gchar *gtk_source_style_scheme_get_filename (GtkSourceStyleScheme *scheme);
|
74
|
+
|
75
|
+
GTK_SOURCE_AVAILABLE_IN_ALL
|
76
|
+
GtkSourceStyle *gtk_source_style_scheme_get_style (GtkSourceStyleScheme *scheme,
|
77
|
+
const gchar *style_id);
|
78
|
+
|
79
|
+
G_GNUC_INTERNAL
|
80
|
+
GtkSourceStyleScheme *_gtk_source_style_scheme_new_from_file (const gchar *filename);
|
81
|
+
|
82
|
+
G_GNUC_INTERNAL
|
83
|
+
GtkSourceStyleScheme *_gtk_source_style_scheme_get_default (void);
|
84
|
+
|
85
|
+
G_GNUC_INTERNAL
|
86
|
+
const gchar *_gtk_source_style_scheme_get_parent_id (GtkSourceStyleScheme *scheme);
|
87
|
+
|
88
|
+
G_GNUC_INTERNAL
|
89
|
+
void _gtk_source_style_scheme_set_parent (GtkSourceStyleScheme *scheme,
|
90
|
+
GtkSourceStyleScheme *parent_scheme);
|
91
|
+
|
92
|
+
G_GNUC_INTERNAL
|
93
|
+
void _gtk_source_style_scheme_apply (GtkSourceStyleScheme *scheme,
|
94
|
+
GtkSourceView *view);
|
95
|
+
|
96
|
+
G_GNUC_INTERNAL
|
97
|
+
void _gtk_source_style_scheme_unapply (GtkSourceStyleScheme *scheme,
|
98
|
+
GtkSourceView *view);
|
99
|
+
|
100
|
+
G_GNUC_INTERNAL
|
101
|
+
GtkSourceStyle *_gtk_source_style_scheme_get_matching_brackets_style (GtkSourceStyleScheme *scheme);
|
102
|
+
|
103
|
+
G_GNUC_INTERNAL
|
104
|
+
GtkSourceStyle *_gtk_source_style_scheme_get_right_margin_style (GtkSourceStyleScheme *scheme);
|
105
|
+
|
106
|
+
G_GNUC_INTERNAL
|
107
|
+
GtkSourceStyle *_gtk_source_style_scheme_get_draw_spaces_style (GtkSourceStyleScheme *scheme);
|
108
|
+
|
109
|
+
G_GNUC_INTERNAL
|
110
|
+
gboolean _gtk_source_style_scheme_get_current_line_color (GtkSourceStyleScheme *scheme,
|
111
|
+
GdkRGBA *color);
|
112
|
+
|
113
|
+
G_GNUC_INTERNAL
|
114
|
+
gboolean _gtk_source_style_scheme_get_background_pattern_color (GtkSourceStyleScheme *scheme,
|
115
|
+
GdkRGBA *color);
|
116
|
+
|
117
|
+
G_END_DECLS
|
118
|
+
|
119
|
+
#endif /* GTK_SOURCE_STYLE_SCHEME_H */
|
@@ -0,0 +1,66 @@
|
|
1
|
+
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8; coding: utf-8 -*-
|
2
|
+
*
|
3
|
+
* This file is part of GtkSourceView
|
4
|
+
*
|
5
|
+
* Copyright (C) 2014 - Ignacio Casal Quinteiro
|
6
|
+
*
|
7
|
+
* GtkSourceView is free software; you can redistribute it and/or
|
8
|
+
* modify it under the terms of the GNU Lesser General Public
|
9
|
+
* License as published by the Free Software Foundation; either
|
10
|
+
* version 2.1 of the License, or (at your option) any later version.
|
11
|
+
*
|
12
|
+
* GtkSourceView is distributed in the hope that it will be useful,
|
13
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
15
|
+
* Lesser General Public License for more details.
|
16
|
+
*
|
17
|
+
* You should have received a copy of the GNU Lesser General Public License
|
18
|
+
* along with GtkSourceView. If not, see <http://www.gnu.org/licenses/>.
|
19
|
+
*/
|
20
|
+
|
21
|
+
#ifndef GTK_SOURCE_STYLE_SCHEME_CHOOSER_H
|
22
|
+
#define GTK_SOURCE_STYLE_SCHEME_CHOOSER_H
|
23
|
+
|
24
|
+
#if !defined (GTK_SOURCE_H_INSIDE) && !defined (GTK_SOURCE_COMPILATION)
|
25
|
+
#error "Only <gtksourceview/gtksource.h> can be included directly."
|
26
|
+
#endif
|
27
|
+
|
28
|
+
#include <glib-object.h>
|
29
|
+
#include <gtksourceview/gtksourcetypes.h>
|
30
|
+
|
31
|
+
G_BEGIN_DECLS
|
32
|
+
|
33
|
+
#define GTK_SOURCE_TYPE_STYLE_SCHEME_CHOOSER (gtk_source_style_scheme_chooser_get_type ())
|
34
|
+
#define GTK_SOURCE_STYLE_SCHEME_CHOOSER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_SOURCE_TYPE_STYLE_SCHEME_CHOOSER, GtkSourceStyleSchemeChooser))
|
35
|
+
#define GTK_SOURCE_IS_STYLE_SCHEME_CHOOSER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_SOURCE_TYPE_STYLE_SCHEME_CHOOSER))
|
36
|
+
#define GTK_SOURCE_STYLE_SCHEME_CHOOSER_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), GTK_SOURCE_TYPE_STYLE_SCHEME_CHOOSER, GtkSourceStyleSchemeChooserInterface))
|
37
|
+
|
38
|
+
typedef struct _GtkSourceStyleSchemeChooserInterface GtkSourceStyleSchemeChooserInterface;
|
39
|
+
|
40
|
+
struct _GtkSourceStyleSchemeChooserInterface
|
41
|
+
{
|
42
|
+
GTypeInterface base_interface;
|
43
|
+
|
44
|
+
/* Methods */
|
45
|
+
GtkSourceStyleScheme * (* get_style_scheme) (GtkSourceStyleSchemeChooser *chooser);
|
46
|
+
|
47
|
+
void (* set_style_scheme) (GtkSourceStyleSchemeChooser *chooser,
|
48
|
+
GtkSourceStyleScheme *scheme);
|
49
|
+
|
50
|
+
/* Padding */
|
51
|
+
gpointer padding[12];
|
52
|
+
};
|
53
|
+
|
54
|
+
GTK_SOURCE_AVAILABLE_IN_3_16
|
55
|
+
GType gtk_source_style_scheme_chooser_get_type (void) G_GNUC_CONST;
|
56
|
+
|
57
|
+
GTK_SOURCE_AVAILABLE_IN_3_16
|
58
|
+
GtkSourceStyleScheme *gtk_source_style_scheme_chooser_get_style_scheme (GtkSourceStyleSchemeChooser *chooser);
|
59
|
+
|
60
|
+
GTK_SOURCE_AVAILABLE_IN_3_16
|
61
|
+
void gtk_source_style_scheme_chooser_set_style_scheme (GtkSourceStyleSchemeChooser *chooser,
|
62
|
+
GtkSourceStyleScheme *scheme);
|
63
|
+
|
64
|
+
G_END_DECLS
|
65
|
+
|
66
|
+
#endif /* GTK_SOURCE_STYLE_SCHEME_CHOOSER_H */
|