gtksourceview3 2.2.4-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Rakefile +59 -0
- data/ext/gtksourceview3/depend +6 -0
- data/ext/gtksourceview3/extconf.rb +67 -0
- data/ext/gtksourceview3/gtksourceview3.def +2 -0
- data/ext/gtksourceview3/rbgtksource.c +53 -0
- data/ext/gtksourceview3/rbgtksourcebuffer.c +318 -0
- data/ext/gtksourceview3/rbgtksourcegutter.c +82 -0
- data/ext/gtksourceview3/rbgtksourcegutterrenderer.c +143 -0
- data/ext/gtksourceview3/rbgtksourcegutterrendererpixbuf.c +42 -0
- data/ext/gtksourceview3/rbgtksourcegutterrenderertext.c +40 -0
- data/ext/gtksourceview3/rbgtksourcelanguage.c +124 -0
- data/ext/gtksourceview3/rbgtksourcelanguagemanager.c +114 -0
- data/ext/gtksourceview3/rbgtksourcemark.c +85 -0
- data/ext/gtksourceview3/rbgtksourcemarkattributes.c +77 -0
- data/ext/gtksourceview3/rbgtksourceprintcompositor.c +171 -0
- data/ext/gtksourceview3/rbgtksourcestyle.c +42 -0
- data/ext/gtksourceview3/rbgtksourcestylescheme.c +72 -0
- data/ext/gtksourceview3/rbgtksourcestyleschememanager.c +140 -0
- data/ext/gtksourceview3/rbgtksourceundomanager.c +83 -0
- data/ext/gtksourceview3/rbgtksourceview.c +94 -0
- data/ext/gtksourceview3/rbgtksourceview3conversions.h +50 -0
- data/ext/gtksourceview3/rbgtksourceview3private.h +53 -0
- data/extconf.rb +49 -0
- data/lib/2.0/gtksourceview3.so +0 -0
- data/lib/2.1/gtksourceview3.so +0 -0
- data/lib/2.2/gtksourceview3.so +0 -0
- data/lib/gtksourceview3.rb +20 -0
- data/lib/gtksourceview3/deprecated.rb +47 -0
- data/sample/sourcelanguagemanager.rb +21 -0
- data/sample/test.rb +32 -0
- data/test/run-test.rb +44 -0
- data/test/test_mark_attributes.rb +26 -0
- data/test/test_source_gutter_renderer.rb +33 -0
- data/test/test_source_language_manager.rb +46 -0
- data/test/test_source_view.rb +57 -0
- data/vendor/local/bin/libgtksourceview-3.0-1.dll +0 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/completion-providers/words/gtksourcecompletionwords.h +65 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksource.h +54 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcebuffer.h +213 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletion.h +142 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletioncontext.h +95 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletioninfo.h +78 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionitem.h +70 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionproposal.h +97 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionprovider.h +137 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceencoding.h +54 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcefile.h +115 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcefileloader.h +122 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcefilesaver.h +147 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutter.h +90 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrenderer.h +229 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrendererpixbuf.h +87 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrenderertext.h +83 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcelanguage.h +85 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcelanguagemanager.h +84 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemark.h +71 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemarkattributes.h +100 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceprintcompositor.h +175 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcesearchcontext.h +133 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcesearchsettings.h +85 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyle.h +45 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestylescheme.h +109 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschememanager.h +86 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcetypes.h +101 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceundomanager.h +75 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceutils.h +34 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview-typebuiltins.h +88 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview.h +213 -0
- data/vendor/local/lib/girepository-1.0/GtkSource-3.0.typelib +0 -0
- data/vendor/local/lib/libgtksourceview-3.0.dll.a +0 -0
- data/vendor/local/lib/libgtksourceview-3.0.la +41 -0
- data/vendor/local/lib/locale/ar/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/as/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ast/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/az/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/be/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/bg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/bn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/bn_IN/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/bs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ca/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ca@valencia/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/cs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/cy/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/da/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/de/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/dz/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/el/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/en@shaw/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/en_CA/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/en_GB/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/eo/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/es/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/et/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/eu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/fa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/fi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/fr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ga/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/gl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/gu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/he/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/hi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/hr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/hu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/id/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/it/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ja/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/kn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ko/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/lt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/lv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/mai/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/mg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/mk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ml/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/mn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/mr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ms/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/nb/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ne/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/nl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/nn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/oc/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/or/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/pa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/pl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/pt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/pt_BR/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ro/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ru/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/rw/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/si/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/sk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/sl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/sq/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/sr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/sr@latin/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/sv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ta/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/te/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/tg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/th/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/tr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ug/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/uk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/vi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/xh/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/zh_CN/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/zh_HK/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/zh_TW/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/pkgconfig/gtksourceview-3.0.pc +12 -0
- data/vendor/local/share/gir-1.0/GtkSource-3.0.gir +11360 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceBuffer.html +2143 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletion.html +1129 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionContext.html +397 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionInfo.html +348 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionItem.html +367 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProposal.html +572 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProvider.html +750 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionWords.html +345 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceEncoding.html +366 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFile.html +563 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileLoader.html +769 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileSaver.html +962 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutter.html +490 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRenderer.html +1700 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererPixbuf.html +468 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererText.html +228 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguage.html +584 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguageManager.html +476 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMark.html +310 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMarkAttributes.html +897 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourcePrintCompositor.html +2149 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchContext.html +1116 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchSettings.html +606 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyle.html +358 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleScheme.html +398 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeManager.html +463 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceUndoManager.html +462 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceView.html +1990 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/annotation-glossary.html +81 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-0.html +43 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-10.html +195 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-12.html +39 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-14.html +299 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-4.html +35 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-deprecated.html +95 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-full.html +2187 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch01.html +119 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch02.html +47 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceUtils.html +154 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0.devhelp2 +601 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.html +146 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.sgml +882 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-reference.html +873 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-tutorial.html +654 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/object-tree.html +71 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style-reference.html +283 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style.css +476 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/up.png +0 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/R.lang +2199 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/actionscript.lang +268 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ada.lang +221 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ansforth94.lang +729 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/asp.lang +1097 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/automake.lang +330 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/awk.lang +138 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/bennugd.lang +267 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/bibtex.lang +93 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/bluespec.lang +188 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/boo.lang +257 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/c.lang +332 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/cg.lang +232 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/changelog.lang +93 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/chdr.lang +43 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/cmake.lang +408 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/cobol.lang +647 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/cpp.lang +120 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/csharp.lang +282 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/css.lang +542 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/cuda.lang +292 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/d.lang +318 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/def.lang +262 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/desktop.lang +300 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/diff.lang +85 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/docbook.lang +476 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/dosbatch.lang +167 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/dot.lang +140 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/dpatch.lang +48 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/dtd.lang +140 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/eiffel.lang +239 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/erlang.lang +258 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/fcl.lang +113 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/forth.lang +235 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/fortran.lang +591 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/fsharp.lang +325 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/gap.lang +85 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/gdb-log.lang +152 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/glsl.lang +483 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/go.lang +275 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/gtk-doc.lang +91 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/gtkrc.lang +116 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/haddock.lang +162 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/haskell-literate.lang +59 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/haskell.lang +228 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/html.lang +281 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/idl-exelis.lang +620 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/idl.lang +154 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/imagej.lang +784 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ini.lang +95 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/j.lang +240 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/java.lang +190 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/javascript.lang +339 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/json.lang +123 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/julia.lang +378 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/language.dtd +73 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/language.rng +373 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/language2.rng +482 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/latex.lang +600 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/lex.lang +209 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/libtool.lang +56 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/llvm.lang +315 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/lua.lang +157 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/m4.lang +1375 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/makefile.lang +193 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/mallard.lang +124 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/markdown.lang +402 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/matlab.lang +171 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/mediawiki.lang +327 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/modelica.lang +262 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/mxml.lang +65 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/nemerle.lang +263 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/netrexx.lang +319 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/nsis.lang +88 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/objc.lang +120 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/objj.lang +128 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ocaml.lang +302 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ocl.lang +139 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/octave.lang +859 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ooc.lang +265 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/opal.lang +343 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/opencl.lang +600 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/pascal.lang +268 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/perl.lang +1045 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/php.lang +363 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/pkgconfig.lang +62 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/po.lang +94 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/prolog.lang +249 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/protobuf.lang +101 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/puppet.lang +697 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/python.lang +472 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/python3.lang +192 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/rpmspec.lang +212 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/rst.lang +142 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ruby.lang +750 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/scala.lang +384 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/scheme.lang +302 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/scilab.lang +209 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/sh.lang +499 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/sml.lang +201 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/sparql.lang +448 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/sql.lang +618 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/sweave.lang +67 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/systemverilog.lang +263 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/t2t.lang +150 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/tcl.lang +146 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/texinfo.lang +448 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/vala.lang +365 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/vbnet.lang +245 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/verilog.lang +476 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/vhdl.lang +248 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/xml.lang +220 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/xslt.lang +108 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/yacc.lang +177 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/yaml.lang +214 -0
- data/vendor/local/share/gtksourceview-3.0/styles/classic.xml +121 -0
- data/vendor/local/share/gtksourceview-3.0/styles/cobalt.xml +148 -0
- data/vendor/local/share/gtksourceview-3.0/styles/kate.xml +171 -0
- data/vendor/local/share/gtksourceview-3.0/styles/oblivion.xml +129 -0
- data/vendor/local/share/gtksourceview-3.0/styles/solarized-dark.xml +101 -0
- data/vendor/local/share/gtksourceview-3.0/styles/solarized-light.xml +101 -0
- data/vendor/local/share/gtksourceview-3.0/styles/styles.rng +142 -0
- data/vendor/local/share/gtksourceview-3.0/styles/tango.xml +130 -0
- data/vendor/local/share/license/gtksourceview/AUTHORS +13 -0
- data/vendor/local/share/license/gtksourceview/COPYING +504 -0
- metadata +389 -0
@@ -0,0 +1,175 @@
|
|
1
|
+
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8; coding: utf-8 -*-
|
2
|
+
* gtksourceprintcompositor.h
|
3
|
+
* This file is part of GtkSourceView
|
4
|
+
*
|
5
|
+
* Copyright (C) 2003 Gustavo Giráldez
|
6
|
+
* Copyright (C) 2007-2008 Paolo Maggi, Paolo Borelli and Yevgen Muntyan
|
7
|
+
*
|
8
|
+
* GtkSourceView is free software; you can redistribute it and/or
|
9
|
+
* modify it under the terms of the GNU Lesser General Public
|
10
|
+
* License as published by the Free Software Foundation; either
|
11
|
+
* version 2.1 of the License, or (at your option) any later version.
|
12
|
+
*
|
13
|
+
* GtkSourceView is distributed in the hope that it will be useful,
|
14
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
15
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
16
|
+
* Lesser General Public License for more details.
|
17
|
+
*
|
18
|
+
* You should have received a copy of the GNU Lesser General Public
|
19
|
+
* License along with this library; if not, write to the Free Software
|
20
|
+
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
21
|
+
*/
|
22
|
+
|
23
|
+
#ifndef __GTK_SOURCE_PRINT_COMPOSITOR_H__
|
24
|
+
#define __GTK_SOURCE_PRINT_COMPOSITOR_H__
|
25
|
+
|
26
|
+
#include <gtk/gtk.h>
|
27
|
+
#include <gtksourceview/gtksourcetypes.h>
|
28
|
+
|
29
|
+
G_BEGIN_DECLS
|
30
|
+
|
31
|
+
#define GTK_SOURCE_TYPE_PRINT_COMPOSITOR (gtk_source_print_compositor_get_type ())
|
32
|
+
#define GTK_SOURCE_PRINT_COMPOSITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_SOURCE_TYPE_PRINT_COMPOSITOR, GtkSourcePrintCompositor))
|
33
|
+
#define GTK_SOURCE_PRINT_COMPOSITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_SOURCE_TYPE_PRINT_COMPOSITOR, GtkSourcePrintCompositorClass))
|
34
|
+
#define GTK_SOURCE_IS_PRINT_COMPOSITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_SOURCE_TYPE_PRINT_COMPOSITOR))
|
35
|
+
#define GTK_SOURCE_IS_PRINT_COMPOSITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_SOURCE_TYPE_PRINT_COMPOSITOR))
|
36
|
+
#define GTK_SOURCE_PRINT_COMPOSITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_SOURCE_TYPE_PRINT_COMPOSITOR, GtkSourcePrintCompositorClass))
|
37
|
+
|
38
|
+
typedef struct _GtkSourcePrintCompositorClass GtkSourcePrintCompositorClass;
|
39
|
+
typedef struct _GtkSourcePrintCompositorPrivate GtkSourcePrintCompositorPrivate;
|
40
|
+
|
41
|
+
struct _GtkSourcePrintCompositor
|
42
|
+
{
|
43
|
+
GObject parent_instance;
|
44
|
+
|
45
|
+
GtkSourcePrintCompositorPrivate *priv;
|
46
|
+
};
|
47
|
+
|
48
|
+
struct _GtkSourcePrintCompositorClass
|
49
|
+
{
|
50
|
+
GObjectClass parent_class;
|
51
|
+
|
52
|
+
/* Padding for future expansion */
|
53
|
+
void (*_gtk_source_reserved1) (void);
|
54
|
+
void (*_gtk_source_reserved2) (void);
|
55
|
+
};
|
56
|
+
|
57
|
+
|
58
|
+
GType gtk_source_print_compositor_get_type (void) G_GNUC_CONST;
|
59
|
+
|
60
|
+
/* Constructors
|
61
|
+
*/
|
62
|
+
GtkSourcePrintCompositor *gtk_source_print_compositor_new (GtkSourceBuffer *buffer);
|
63
|
+
|
64
|
+
GtkSourcePrintCompositor *gtk_source_print_compositor_new_from_view (GtkSourceView *view);
|
65
|
+
|
66
|
+
/* Properties */
|
67
|
+
GtkSourceBuffer *gtk_source_print_compositor_get_buffer (GtkSourcePrintCompositor *compositor);
|
68
|
+
|
69
|
+
void gtk_source_print_compositor_set_tab_width (GtkSourcePrintCompositor *compositor,
|
70
|
+
guint width);
|
71
|
+
guint gtk_source_print_compositor_get_tab_width (GtkSourcePrintCompositor *compositor);
|
72
|
+
|
73
|
+
void gtk_source_print_compositor_set_wrap_mode (GtkSourcePrintCompositor *compositor,
|
74
|
+
GtkWrapMode wrap_mode);
|
75
|
+
GtkWrapMode gtk_source_print_compositor_get_wrap_mode (GtkSourcePrintCompositor *compositor);
|
76
|
+
|
77
|
+
void gtk_source_print_compositor_set_highlight_syntax
|
78
|
+
(GtkSourcePrintCompositor *compositor,
|
79
|
+
gboolean highlight);
|
80
|
+
gboolean gtk_source_print_compositor_get_highlight_syntax
|
81
|
+
(GtkSourcePrintCompositor *compositor);
|
82
|
+
|
83
|
+
void gtk_source_print_compositor_set_print_line_numbers
|
84
|
+
(GtkSourcePrintCompositor *compositor,
|
85
|
+
guint interval);
|
86
|
+
guint gtk_source_print_compositor_get_print_line_numbers
|
87
|
+
(GtkSourcePrintCompositor *compositor);
|
88
|
+
|
89
|
+
void gtk_source_print_compositor_set_body_font_name
|
90
|
+
(GtkSourcePrintCompositor *compositor,
|
91
|
+
const gchar *font_name);
|
92
|
+
gchar *gtk_source_print_compositor_get_body_font_name
|
93
|
+
(GtkSourcePrintCompositor *compositor);
|
94
|
+
|
95
|
+
void gtk_source_print_compositor_set_line_numbers_font_name
|
96
|
+
(GtkSourcePrintCompositor *compositor,
|
97
|
+
const gchar *font_name);
|
98
|
+
gchar *gtk_source_print_compositor_get_line_numbers_font_name
|
99
|
+
(GtkSourcePrintCompositor *compositor);
|
100
|
+
|
101
|
+
void gtk_source_print_compositor_set_header_font_name
|
102
|
+
(GtkSourcePrintCompositor *compositor,
|
103
|
+
const gchar *font_name);
|
104
|
+
gchar *gtk_source_print_compositor_get_header_font_name
|
105
|
+
(GtkSourcePrintCompositor *compositor);
|
106
|
+
|
107
|
+
void gtk_source_print_compositor_set_footer_font_name
|
108
|
+
(GtkSourcePrintCompositor *compositor,
|
109
|
+
const gchar *font_name);
|
110
|
+
gchar *gtk_source_print_compositor_get_footer_font_name
|
111
|
+
(GtkSourcePrintCompositor *compositor);
|
112
|
+
|
113
|
+
gdouble gtk_source_print_compositor_get_top_margin (GtkSourcePrintCompositor *compositor,
|
114
|
+
GtkUnit unit);
|
115
|
+
void gtk_source_print_compositor_set_top_margin (GtkSourcePrintCompositor *compositor,
|
116
|
+
gdouble margin,
|
117
|
+
GtkUnit unit);
|
118
|
+
|
119
|
+
gdouble gtk_source_print_compositor_get_bottom_margin (GtkSourcePrintCompositor *compositor,
|
120
|
+
GtkUnit unit);
|
121
|
+
void gtk_source_print_compositor_set_bottom_margin (GtkSourcePrintCompositor *compositor,
|
122
|
+
gdouble margin,
|
123
|
+
GtkUnit unit);
|
124
|
+
|
125
|
+
gdouble gtk_source_print_compositor_get_left_margin (GtkSourcePrintCompositor *compositor,
|
126
|
+
GtkUnit unit);
|
127
|
+
void gtk_source_print_compositor_set_left_margin (GtkSourcePrintCompositor *compositor,
|
128
|
+
gdouble margin,
|
129
|
+
GtkUnit unit);
|
130
|
+
|
131
|
+
gdouble gtk_source_print_compositor_get_right_margin (GtkSourcePrintCompositor *compositor,
|
132
|
+
GtkUnit unit);
|
133
|
+
void gtk_source_print_compositor_set_right_margin (GtkSourcePrintCompositor *compositor,
|
134
|
+
gdouble margin,
|
135
|
+
GtkUnit unit);
|
136
|
+
|
137
|
+
void gtk_source_print_compositor_set_print_header (GtkSourcePrintCompositor *compositor,
|
138
|
+
gboolean print);
|
139
|
+
gboolean gtk_source_print_compositor_get_print_header (GtkSourcePrintCompositor *compositor);
|
140
|
+
|
141
|
+
void gtk_source_print_compositor_set_print_footer (GtkSourcePrintCompositor *compositor,
|
142
|
+
gboolean print);
|
143
|
+
gboolean gtk_source_print_compositor_get_print_footer (GtkSourcePrintCompositor *compositor);
|
144
|
+
|
145
|
+
/* format strings are strftime like */
|
146
|
+
void gtk_source_print_compositor_set_header_format (GtkSourcePrintCompositor *compositor,
|
147
|
+
gboolean separator,
|
148
|
+
const gchar *left,
|
149
|
+
const gchar *center,
|
150
|
+
const gchar *right);
|
151
|
+
|
152
|
+
void gtk_source_print_compositor_set_footer_format (GtkSourcePrintCompositor *compositor,
|
153
|
+
gboolean separator,
|
154
|
+
const gchar *left,
|
155
|
+
const gchar *center,
|
156
|
+
const gchar *right);
|
157
|
+
|
158
|
+
gint gtk_source_print_compositor_get_n_pages (GtkSourcePrintCompositor *compositor);
|
159
|
+
|
160
|
+
gboolean gtk_source_print_compositor_paginate (GtkSourcePrintCompositor *compositor,
|
161
|
+
GtkPrintContext *context);
|
162
|
+
|
163
|
+
gdouble gtk_source_print_compositor_get_pagination_progress
|
164
|
+
(GtkSourcePrintCompositor *compositor);
|
165
|
+
|
166
|
+
void gtk_source_print_compositor_draw_page (GtkSourcePrintCompositor *compositor,
|
167
|
+
GtkPrintContext *context,
|
168
|
+
gint page_nr);
|
169
|
+
|
170
|
+
G_END_DECLS
|
171
|
+
|
172
|
+
#endif /* __GTK_SOURCE_PRINT_COMPOSITOR_H__ */
|
173
|
+
|
174
|
+
|
175
|
+
|
@@ -0,0 +1,133 @@
|
|
1
|
+
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8; coding: utf-8 -*-
|
2
|
+
* gtksourcesearchcontext.h
|
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
|
18
|
+
* License along with this library; if not, write to the Free Software
|
19
|
+
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
20
|
+
*/
|
21
|
+
|
22
|
+
#ifndef __GTK_SOURCE_SEARCH_CONTEXT_H__
|
23
|
+
#define __GTK_SOURCE_SEARCH_CONTEXT_H__
|
24
|
+
|
25
|
+
#include <gtk/gtk.h>
|
26
|
+
#include <gtksourceview/gtksourcetypes.h>
|
27
|
+
|
28
|
+
G_BEGIN_DECLS
|
29
|
+
|
30
|
+
#define GTK_SOURCE_TYPE_SEARCH_CONTEXT (gtk_source_search_context_get_type ())
|
31
|
+
#define GTK_SOURCE_SEARCH_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_SOURCE_TYPE_SEARCH_CONTEXT, GtkSourceSearchContext))
|
32
|
+
#define GTK_SOURCE_SEARCH_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_SOURCE_TYPE_SEARCH_CONTEXT, GtkSourceSearchContextClass))
|
33
|
+
#define GTK_SOURCE_IS_SEARCH_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_SOURCE_TYPE_SEARCH_CONTEXT))
|
34
|
+
#define GTK_SOURCE_IS_SEARCH_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_SOURCE_TYPE_SEARCH_CONTEXT))
|
35
|
+
#define GTK_SOURCE_SEARCH_CONTEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_SOURCE_TYPE_SEARCH_CONTEXT, GtkSourceSearchContextClass))
|
36
|
+
|
37
|
+
typedef struct _GtkSourceSearchContextClass GtkSourceSearchContextClass;
|
38
|
+
typedef struct _GtkSourceSearchContextPrivate GtkSourceSearchContextPrivate;
|
39
|
+
|
40
|
+
struct _GtkSourceSearchContext
|
41
|
+
{
|
42
|
+
GObject parent;
|
43
|
+
|
44
|
+
GtkSourceSearchContextPrivate *priv;
|
45
|
+
};
|
46
|
+
|
47
|
+
struct _GtkSourceSearchContextClass
|
48
|
+
{
|
49
|
+
GObjectClass parent_class;
|
50
|
+
|
51
|
+
gpointer padding[10];
|
52
|
+
};
|
53
|
+
|
54
|
+
GType gtk_source_search_context_get_type (void) G_GNUC_CONST;
|
55
|
+
|
56
|
+
GtkSourceSearchContext *gtk_source_search_context_new (GtkSourceBuffer *buffer,
|
57
|
+
GtkSourceSearchSettings *settings);
|
58
|
+
|
59
|
+
GtkSourceBuffer *gtk_source_search_context_get_buffer (GtkSourceSearchContext *search);
|
60
|
+
|
61
|
+
GtkSourceSearchSettings *gtk_source_search_context_get_settings (GtkSourceSearchContext *search);
|
62
|
+
|
63
|
+
void gtk_source_search_context_set_settings (GtkSourceSearchContext *search,
|
64
|
+
GtkSourceSearchSettings *settings);
|
65
|
+
|
66
|
+
gboolean gtk_source_search_context_get_highlight (GtkSourceSearchContext *search);
|
67
|
+
|
68
|
+
void gtk_source_search_context_set_highlight (GtkSourceSearchContext *search,
|
69
|
+
gboolean highlight);
|
70
|
+
|
71
|
+
GError *gtk_source_search_context_get_regex_error (GtkSourceSearchContext *search);
|
72
|
+
|
73
|
+
gint gtk_source_search_context_get_occurrences_count (GtkSourceSearchContext *search);
|
74
|
+
|
75
|
+
gint gtk_source_search_context_get_occurrence_position (GtkSourceSearchContext *search,
|
76
|
+
const GtkTextIter *match_start,
|
77
|
+
const GtkTextIter *match_end);
|
78
|
+
|
79
|
+
gboolean gtk_source_search_context_forward (GtkSourceSearchContext *search,
|
80
|
+
const GtkTextIter *iter,
|
81
|
+
GtkTextIter *match_start,
|
82
|
+
GtkTextIter *match_end);
|
83
|
+
|
84
|
+
void gtk_source_search_context_forward_async (GtkSourceSearchContext *search,
|
85
|
+
const GtkTextIter *iter,
|
86
|
+
GCancellable *cancellable,
|
87
|
+
GAsyncReadyCallback callback,
|
88
|
+
gpointer user_data);
|
89
|
+
|
90
|
+
gboolean gtk_source_search_context_forward_finish (GtkSourceSearchContext *search,
|
91
|
+
GAsyncResult *result,
|
92
|
+
GtkTextIter *match_start,
|
93
|
+
GtkTextIter *match_end,
|
94
|
+
GError **error);
|
95
|
+
|
96
|
+
gboolean gtk_source_search_context_backward (GtkSourceSearchContext *search,
|
97
|
+
const GtkTextIter *iter,
|
98
|
+
GtkTextIter *match_start,
|
99
|
+
GtkTextIter *match_end);
|
100
|
+
|
101
|
+
void gtk_source_search_context_backward_async (GtkSourceSearchContext *search,
|
102
|
+
const GtkTextIter *iter,
|
103
|
+
GCancellable *cancellable,
|
104
|
+
GAsyncReadyCallback callback,
|
105
|
+
gpointer user_data);
|
106
|
+
|
107
|
+
gboolean gtk_source_search_context_backward_finish (GtkSourceSearchContext *search,
|
108
|
+
GAsyncResult *result,
|
109
|
+
GtkTextIter *match_start,
|
110
|
+
GtkTextIter *match_end,
|
111
|
+
GError **error);
|
112
|
+
|
113
|
+
gboolean gtk_source_search_context_replace (GtkSourceSearchContext *search,
|
114
|
+
const GtkTextIter *match_start,
|
115
|
+
const GtkTextIter *match_end,
|
116
|
+
const gchar *replace,
|
117
|
+
gint replace_length,
|
118
|
+
GError **error);
|
119
|
+
|
120
|
+
guint gtk_source_search_context_replace_all (GtkSourceSearchContext *search,
|
121
|
+
const gchar *replace,
|
122
|
+
gint replace_length,
|
123
|
+
GError **error);
|
124
|
+
|
125
|
+
G_GNUC_INTERNAL
|
126
|
+
void _gtk_source_search_context_update_highlight (GtkSourceSearchContext *search,
|
127
|
+
const GtkTextIter *start,
|
128
|
+
const GtkTextIter *end,
|
129
|
+
gboolean synchronous);
|
130
|
+
|
131
|
+
G_END_DECLS
|
132
|
+
|
133
|
+
#endif /* __GTK_SOURCE_SEARCH_CONTEXT_H__ */
|
@@ -0,0 +1,85 @@
|
|
1
|
+
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8; coding: utf-8 -*- */
|
2
|
+
/* gtksourcesearchsettings.h
|
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
|
18
|
+
* License along with this library; if not, write to the Free Software
|
19
|
+
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
20
|
+
*/
|
21
|
+
|
22
|
+
#ifndef __GTK_SOURCE_SEARCH_SETTINGS_H__
|
23
|
+
#define __GTK_SOURCE_SEARCH_SETTINGS_H__
|
24
|
+
|
25
|
+
#include <glib-object.h>
|
26
|
+
#include <gtksourceview/gtksourcetypes.h>
|
27
|
+
|
28
|
+
G_BEGIN_DECLS
|
29
|
+
|
30
|
+
#define GTK_SOURCE_TYPE_SEARCH_SETTINGS (gtk_source_search_settings_get_type ())
|
31
|
+
#define GTK_SOURCE_SEARCH_SETTINGS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_SOURCE_TYPE_SEARCH_SETTINGS, GtkSourceSearchSettings))
|
32
|
+
#define GTK_SOURCE_SEARCH_SETTINGS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_SOURCE_TYPE_SEARCH_SETTINGS, GtkSourceSearchSettingsClass))
|
33
|
+
#define GTK_SOURCE_IS_SEARCH_SETTINGS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_SOURCE_TYPE_SEARCH_SETTINGS))
|
34
|
+
#define GTK_SOURCE_IS_SEARCH_SETTINGS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_SOURCE_TYPE_SEARCH_SETTINGS))
|
35
|
+
#define GTK_SOURCE_SEARCH_SETTINGS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_SOURCE_TYPE_SEARCH_SETTINGS, GtkSourceSearchSettingsClass))
|
36
|
+
|
37
|
+
typedef struct _GtkSourceSearchSettingsClass GtkSourceSearchSettingsClass;
|
38
|
+
typedef struct _GtkSourceSearchSettingsPrivate GtkSourceSearchSettingsPrivate;
|
39
|
+
|
40
|
+
struct _GtkSourceSearchSettings
|
41
|
+
{
|
42
|
+
GObject parent;
|
43
|
+
|
44
|
+
GtkSourceSearchSettingsPrivate *priv;
|
45
|
+
};
|
46
|
+
|
47
|
+
struct _GtkSourceSearchSettingsClass
|
48
|
+
{
|
49
|
+
GObjectClass parent_class;
|
50
|
+
|
51
|
+
gpointer padding[10];
|
52
|
+
};
|
53
|
+
|
54
|
+
GType gtk_source_search_settings_get_type (void) G_GNUC_CONST;
|
55
|
+
|
56
|
+
GtkSourceSearchSettings *gtk_source_search_settings_new (void);
|
57
|
+
|
58
|
+
void gtk_source_search_settings_set_search_text (GtkSourceSearchSettings *settings,
|
59
|
+
const gchar *search_text);
|
60
|
+
|
61
|
+
const gchar *gtk_source_search_settings_get_search_text (GtkSourceSearchSettings *settings);
|
62
|
+
|
63
|
+
void gtk_source_search_settings_set_case_sensitive (GtkSourceSearchSettings *settings,
|
64
|
+
gboolean case_sensitive);
|
65
|
+
|
66
|
+
gboolean gtk_source_search_settings_get_case_sensitive (GtkSourceSearchSettings *settings);
|
67
|
+
|
68
|
+
void gtk_source_search_settings_set_at_word_boundaries (GtkSourceSearchSettings *settings,
|
69
|
+
gboolean at_word_boundaries);
|
70
|
+
|
71
|
+
gboolean gtk_source_search_settings_get_at_word_boundaries (GtkSourceSearchSettings *settings);
|
72
|
+
|
73
|
+
void gtk_source_search_settings_set_wrap_around (GtkSourceSearchSettings *settings,
|
74
|
+
gboolean wrap_around);
|
75
|
+
|
76
|
+
gboolean gtk_source_search_settings_get_wrap_around (GtkSourceSearchSettings *settings);
|
77
|
+
|
78
|
+
void gtk_source_search_settings_set_regex_enabled (GtkSourceSearchSettings *settings,
|
79
|
+
gboolean regex_enabled);
|
80
|
+
|
81
|
+
gboolean gtk_source_search_settings_get_regex_enabled (GtkSourceSearchSettings *settings);
|
82
|
+
|
83
|
+
G_END_DECLS
|
84
|
+
|
85
|
+
#endif /* __GTK_SOURCE_SEARCH_SETTINGS_H__ */
|
@@ -0,0 +1,45 @@
|
|
1
|
+
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8; coding: utf-8 -*-
|
2
|
+
* gtksourcestyle.h
|
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
|
18
|
+
* License along with this library; if not, write to the Free Software
|
19
|
+
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
20
|
+
*/
|
21
|
+
|
22
|
+
#ifndef __GTK_SOURCE_STYLE_H__
|
23
|
+
#define __GTK_SOURCE_STYLE_H__
|
24
|
+
|
25
|
+
#include <glib-object.h>
|
26
|
+
#include <gtksourceview/gtksourcetypes.h>
|
27
|
+
|
28
|
+
G_BEGIN_DECLS
|
29
|
+
|
30
|
+
#define GTK_SOURCE_TYPE_STYLE (gtk_source_style_get_type ())
|
31
|
+
#define GTK_SOURCE_STYLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_SOURCE_TYPE_STYLE, GtkSourceStyle))
|
32
|
+
#define GTK_SOURCE_IS_STYLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_SOURCE_TYPE_STYLE))
|
33
|
+
#define GTK_SOURCE_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_SOURCE_TYPE_STYLE, GtkSourceStyleClass))
|
34
|
+
#define GTK_SOURCE_IS_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_SOURCE_TYPE_STYLE))
|
35
|
+
#define GTK_SOURCE_STYLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_SOURCE_TYPE_STYLE, GtkSourceStyleClass))
|
36
|
+
|
37
|
+
typedef struct _GtkSourceStyleClass GtkSourceStyleClass;
|
38
|
+
|
39
|
+
GType gtk_source_style_get_type (void) G_GNUC_CONST;
|
40
|
+
|
41
|
+
GtkSourceStyle *gtk_source_style_copy (const GtkSourceStyle *style);
|
42
|
+
|
43
|
+
G_END_DECLS
|
44
|
+
|
45
|
+
#endif /* __GTK_SOURCE_STYLE_H__ */
|
@@ -0,0 +1,109 @@
|
|
1
|
+
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8; coding: utf-8 -*-
|
2
|
+
* gtksourcestylescheme.h
|
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
|
18
|
+
* License along with this library; if not, write to the Free Software
|
19
|
+
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
20
|
+
*/
|
21
|
+
|
22
|
+
#ifndef __GTK_SOURCE_STYLE_SCHEME_H__
|
23
|
+
#define __GTK_SOURCE_STYLE_SCHEME_H__
|
24
|
+
|
25
|
+
#include <gtk/gtk.h>
|
26
|
+
#include <gtksourceview/gtksourcetypes.h>
|
27
|
+
|
28
|
+
G_BEGIN_DECLS
|
29
|
+
|
30
|
+
#define GTK_SOURCE_TYPE_STYLE_SCHEME (gtk_source_style_scheme_get_type ())
|
31
|
+
#define GTK_SOURCE_STYLE_SCHEME(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_SOURCE_TYPE_STYLE_SCHEME, GtkSourceStyleScheme))
|
32
|
+
#define GTK_SOURCE_STYLE_SCHEME_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_SOURCE_TYPE_STYLE_SCHEME, GtkSourceStyleSchemeClass))
|
33
|
+
#define GTK_SOURCE_IS_STYLE_SCHEME(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_SOURCE_TYPE_STYLE_SCHEME))
|
34
|
+
#define GTK_SOURCE_IS_STYLE_SCHEME_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_SOURCE_TYPE_STYLE_SCHEME))
|
35
|
+
#define GTK_SOURCE_STYLE_SCHEME_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_SOURCE_TYPE_STYLE_SCHEME, GtkSourceStyleSchemeClass))
|
36
|
+
|
37
|
+
typedef struct _GtkSourceStyleSchemePrivate GtkSourceStyleSchemePrivate;
|
38
|
+
typedef struct _GtkSourceStyleSchemeClass GtkSourceStyleSchemeClass;
|
39
|
+
|
40
|
+
struct _GtkSourceStyleScheme
|
41
|
+
{
|
42
|
+
GObject base;
|
43
|
+
GtkSourceStyleSchemePrivate *priv;
|
44
|
+
};
|
45
|
+
|
46
|
+
struct _GtkSourceStyleSchemeClass
|
47
|
+
{
|
48
|
+
GObjectClass base_class;
|
49
|
+
|
50
|
+
/* Padding for future expansion */
|
51
|
+
void (*_gtk_source_reserved1) (void);
|
52
|
+
void (*_gtk_source_reserved2) (void);
|
53
|
+
};
|
54
|
+
|
55
|
+
GType gtk_source_style_scheme_get_type (void) G_GNUC_CONST;
|
56
|
+
|
57
|
+
G_GNUC_INTERNAL
|
58
|
+
GtkSourceStyleScheme *_gtk_source_style_scheme_new (const gchar *id,
|
59
|
+
const gchar *name);
|
60
|
+
|
61
|
+
const gchar *gtk_source_style_scheme_get_id (GtkSourceStyleScheme *scheme);
|
62
|
+
|
63
|
+
const gchar *gtk_source_style_scheme_get_name (GtkSourceStyleScheme *scheme);
|
64
|
+
|
65
|
+
const gchar *gtk_source_style_scheme_get_description (GtkSourceStyleScheme *scheme);
|
66
|
+
|
67
|
+
const gchar * const * gtk_source_style_scheme_get_authors (GtkSourceStyleScheme *scheme);
|
68
|
+
|
69
|
+
const gchar *gtk_source_style_scheme_get_filename (GtkSourceStyleScheme *scheme);
|
70
|
+
|
71
|
+
GtkSourceStyle *gtk_source_style_scheme_get_style (GtkSourceStyleScheme *scheme,
|
72
|
+
const gchar *style_id);
|
73
|
+
|
74
|
+
G_GNUC_INTERNAL
|
75
|
+
GtkSourceStyleScheme *_gtk_source_style_scheme_new_from_file (const gchar *filename);
|
76
|
+
|
77
|
+
G_GNUC_INTERNAL
|
78
|
+
GtkSourceStyleScheme *_gtk_source_style_scheme_get_default (void);
|
79
|
+
|
80
|
+
G_GNUC_INTERNAL
|
81
|
+
const gchar *_gtk_source_style_scheme_get_parent_id (GtkSourceStyleScheme *scheme);
|
82
|
+
|
83
|
+
G_GNUC_INTERNAL
|
84
|
+
void _gtk_source_style_scheme_set_parent (GtkSourceStyleScheme *scheme,
|
85
|
+
GtkSourceStyleScheme *parent_scheme);
|
86
|
+
|
87
|
+
G_GNUC_INTERNAL
|
88
|
+
void _gtk_source_style_scheme_apply (GtkSourceStyleScheme *scheme,
|
89
|
+
GtkWidget *widget);
|
90
|
+
|
91
|
+
G_GNUC_INTERNAL
|
92
|
+
void _gtk_source_style_scheme_unapply (GtkSourceStyleScheme *scheme,
|
93
|
+
GtkWidget *widget);
|
94
|
+
|
95
|
+
G_GNUC_INTERNAL
|
96
|
+
GtkSourceStyle *_gtk_source_style_scheme_get_matching_brackets_style (GtkSourceStyleScheme *scheme);
|
97
|
+
|
98
|
+
G_GNUC_INTERNAL
|
99
|
+
GtkSourceStyle *_gtk_source_style_scheme_get_right_margin_style (GtkSourceStyleScheme *scheme);
|
100
|
+
|
101
|
+
G_GNUC_INTERNAL
|
102
|
+
GtkSourceStyle *_gtk_source_style_scheme_get_draw_spaces_style (GtkSourceStyleScheme *scheme);
|
103
|
+
|
104
|
+
G_GNUC_INTERNAL
|
105
|
+
gboolean _gtk_source_style_scheme_get_current_line_color (GtkSourceStyleScheme *scheme,
|
106
|
+
GdkRGBA *color);
|
107
|
+
G_END_DECLS
|
108
|
+
|
109
|
+
#endif /* __GTK_SOURCE_STYLE_SCHEME_H__ */
|