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,122 @@
|
|
1
|
+
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8; coding: utf-8 -*- */
|
2
|
+
/* gtksourcefileloader.h
|
3
|
+
* This file is part of GtkSourceView
|
4
|
+
*
|
5
|
+
* Copyright (C) 2005 - Paolo Maggi
|
6
|
+
* Copyright (C) 2007 - Paolo Maggi, Steve Frécinaux
|
7
|
+
* Copyright (C) 2008 - Jesse van den Kieboom
|
8
|
+
* Copyright (C) 2014 - Sébastien Wilmet
|
9
|
+
*
|
10
|
+
* GtkSourceView is free software; you can redistribute it and/or
|
11
|
+
* modify it under the terms of the GNU Lesser General Public
|
12
|
+
* License as published by the Free Software Foundation; either
|
13
|
+
* version 2.1 of the License, or (at your option) any later version.
|
14
|
+
*
|
15
|
+
* GtkSourceView is distributed in the hope that it will be useful,
|
16
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
17
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
18
|
+
* Lesser General Public License for more details.
|
19
|
+
*
|
20
|
+
* You should have received a copy of the GNU Lesser General Public
|
21
|
+
* License along with this library; if not, write to the Free Software
|
22
|
+
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
23
|
+
*/
|
24
|
+
|
25
|
+
#ifndef __GTK_SOURCE_FILE_LOADER_H__
|
26
|
+
#define __GTK_SOURCE_FILE_LOADER_H__
|
27
|
+
|
28
|
+
#include <gtk/gtk.h>
|
29
|
+
#include <gtksourceview/gtksourcetypes.h>
|
30
|
+
|
31
|
+
G_BEGIN_DECLS
|
32
|
+
|
33
|
+
#define GTK_SOURCE_TYPE_FILE_LOADER (gtk_source_file_loader_get_type())
|
34
|
+
#define GTK_SOURCE_FILE_LOADER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_SOURCE_TYPE_FILE_LOADER, GtkSourceFileLoader))
|
35
|
+
#define GTK_SOURCE_FILE_LOADER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_SOURCE_TYPE_FILE_LOADER, GtkSourceFileLoaderClass))
|
36
|
+
#define GTK_SOURCE_IS_FILE_LOADER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_SOURCE_TYPE_FILE_LOADER))
|
37
|
+
#define GTK_SOURCE_IS_FILE_LOADER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_SOURCE_TYPE_FILE_LOADER))
|
38
|
+
#define GTK_SOURCE_FILE_LOADER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_SOURCE_TYPE_FILE_LOADER, GtkSourceFileLoaderClass))
|
39
|
+
|
40
|
+
typedef struct _GtkSourceFileLoaderClass GtkSourceFileLoaderClass;
|
41
|
+
typedef struct _GtkSourceFileLoaderPrivate GtkSourceFileLoaderPrivate;
|
42
|
+
|
43
|
+
#define GTK_SOURCE_FILE_LOADER_ERROR gtk_source_file_loader_error_quark ()
|
44
|
+
|
45
|
+
/**
|
46
|
+
* GtkSourceFileLoaderError:
|
47
|
+
* @GTK_SOURCE_FILE_LOADER_ERROR_TOO_BIG: The file is too big.
|
48
|
+
* @GTK_SOURCE_FILE_LOADER_ERROR_ENCODING_AUTO_DETECTION_FAILED: It is not
|
49
|
+
* possible to detect the encoding automatically.
|
50
|
+
* @GTK_SOURCE_FILE_LOADER_ERROR_CONVERSION_FALLBACK: There was an encoding
|
51
|
+
* conversion error and it was needed to use a fallback character.
|
52
|
+
*
|
53
|
+
* An error code used with the %GTK_SOURCE_FILE_LOADER_ERROR domain.
|
54
|
+
*/
|
55
|
+
typedef enum
|
56
|
+
{
|
57
|
+
GTK_SOURCE_FILE_LOADER_ERROR_TOO_BIG,
|
58
|
+
GTK_SOURCE_FILE_LOADER_ERROR_ENCODING_AUTO_DETECTION_FAILED,
|
59
|
+
GTK_SOURCE_FILE_LOADER_ERROR_CONVERSION_FALLBACK
|
60
|
+
} GtkSourceFileLoaderError;
|
61
|
+
|
62
|
+
struct _GtkSourceFileLoader
|
63
|
+
{
|
64
|
+
GObject parent;
|
65
|
+
|
66
|
+
GtkSourceFileLoaderPrivate *priv;
|
67
|
+
};
|
68
|
+
|
69
|
+
struct _GtkSourceFileLoaderClass
|
70
|
+
{
|
71
|
+
GObjectClass parent_class;
|
72
|
+
|
73
|
+
gpointer padding[10];
|
74
|
+
};
|
75
|
+
|
76
|
+
GType gtk_source_file_loader_get_type (void) G_GNUC_CONST;
|
77
|
+
|
78
|
+
GQuark gtk_source_file_loader_error_quark (void);
|
79
|
+
|
80
|
+
GtkSourceFileLoader *gtk_source_file_loader_new (GtkSourceBuffer *buffer,
|
81
|
+
GtkSourceFile *file);
|
82
|
+
|
83
|
+
GtkSourceFileLoader *gtk_source_file_loader_new_from_stream (GtkSourceBuffer *buffer,
|
84
|
+
GtkSourceFile *file,
|
85
|
+
GInputStream *stream);
|
86
|
+
|
87
|
+
void gtk_source_file_loader_set_candidate_encodings
|
88
|
+
(GtkSourceFileLoader *loader,
|
89
|
+
GSList *candidate_encodings);
|
90
|
+
|
91
|
+
GtkSourceBuffer *gtk_source_file_loader_get_buffer (GtkSourceFileLoader *loader);
|
92
|
+
|
93
|
+
GtkSourceFile *gtk_source_file_loader_get_file (GtkSourceFileLoader *loader);
|
94
|
+
|
95
|
+
GFile *gtk_source_file_loader_get_location (GtkSourceFileLoader *loader);
|
96
|
+
|
97
|
+
GInputStream *gtk_source_file_loader_get_input_stream
|
98
|
+
(GtkSourceFileLoader *loader);
|
99
|
+
|
100
|
+
void gtk_source_file_loader_load_async (GtkSourceFileLoader *loader,
|
101
|
+
gint io_priority,
|
102
|
+
GCancellable *cancellable,
|
103
|
+
GFileProgressCallback progress_callback,
|
104
|
+
gpointer progress_callback_data,
|
105
|
+
GDestroyNotify progress_callback_notify,
|
106
|
+
GAsyncReadyCallback callback,
|
107
|
+
gpointer user_data);
|
108
|
+
|
109
|
+
gboolean gtk_source_file_loader_load_finish (GtkSourceFileLoader *loader,
|
110
|
+
GAsyncResult *result,
|
111
|
+
GError **error);
|
112
|
+
|
113
|
+
const GtkSourceEncoding *gtk_source_file_loader_get_encoding (GtkSourceFileLoader *loader);
|
114
|
+
|
115
|
+
GtkSourceNewlineType gtk_source_file_loader_get_newline_type (GtkSourceFileLoader *loader);
|
116
|
+
|
117
|
+
GtkSourceCompressionType gtk_source_file_loader_get_compression_type
|
118
|
+
(GtkSourceFileLoader *loader);
|
119
|
+
|
120
|
+
G_END_DECLS
|
121
|
+
|
122
|
+
#endif /* __GTK_SOURCE_FILE_LOADER_H__ */
|
@@ -0,0 +1,147 @@
|
|
1
|
+
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8; coding: utf-8 -*- */
|
2
|
+
/* gtksourcefilesaver.h
|
3
|
+
* This file is part of GtkSourceView
|
4
|
+
*
|
5
|
+
* Copyright (C) 2005, 2007 - Paolo Maggi
|
6
|
+
* Copyrhing (C) 2007 - Steve Frécinaux
|
7
|
+
* Copyright (C) 2008 - Jesse van den Kieboom
|
8
|
+
* Copyright (C) 2014 - Sébastien Wilmet
|
9
|
+
*
|
10
|
+
* GtkSourceView is free software; you can redistribute it and/or
|
11
|
+
* modify it under the terms of the GNU Lesser General Public
|
12
|
+
* License as published by the Free Software Foundation; either
|
13
|
+
* version 2.1 of the License, or (at your option) any later version.
|
14
|
+
*
|
15
|
+
* GtkSourceView is distributed in the hope that it will be useful,
|
16
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
17
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
18
|
+
* Lesser General Public License for more details.
|
19
|
+
*
|
20
|
+
* You should have received a copy of the GNU Lesser General Public
|
21
|
+
* License along with this library; if not, write to the Free Software
|
22
|
+
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
23
|
+
*/
|
24
|
+
|
25
|
+
#ifndef __GTK_SOURCE_FILE_SAVER_H__
|
26
|
+
#define __GTK_SOURCE_FILE_SAVER_H__
|
27
|
+
|
28
|
+
#include <gtk/gtk.h>
|
29
|
+
#include <gtksourceview/gtksourcetypes.h>
|
30
|
+
|
31
|
+
G_BEGIN_DECLS
|
32
|
+
|
33
|
+
#define GTK_SOURCE_TYPE_FILE_SAVER (gtk_source_file_saver_get_type())
|
34
|
+
#define GTK_SOURCE_FILE_SAVER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_SOURCE_TYPE_FILE_SAVER, GtkSourceFileSaver))
|
35
|
+
#define GTK_SOURCE_FILE_SAVER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_SOURCE_TYPE_FILE_SAVER, GtkSourceFileSaverClass))
|
36
|
+
#define GTK_SOURCE_IS_FILE_SAVER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_SOURCE_TYPE_FILE_SAVER))
|
37
|
+
#define GTK_SOURCE_IS_FILE_SAVER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_SOURCE_TYPE_FILE_SAVER))
|
38
|
+
#define GTK_SOURCE_FILE_SAVER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_SOURCE_TYPE_FILE_SAVER, GtkSourceFileSaverClass))
|
39
|
+
|
40
|
+
typedef struct _GtkSourceFileSaverClass GtkSourceFileSaverClass;
|
41
|
+
typedef struct _GtkSourceFileSaverPrivate GtkSourceFileSaverPrivate;
|
42
|
+
|
43
|
+
#define GTK_SOURCE_FILE_SAVER_ERROR gtk_source_file_saver_error_quark ()
|
44
|
+
|
45
|
+
/**
|
46
|
+
* GtkSourceFileSaverError:
|
47
|
+
* @GTK_SOURCE_FILE_SAVER_ERROR_INVALID_CHARS: The buffer contains invalid
|
48
|
+
* characters.
|
49
|
+
* @GTK_SOURCE_FILE_SAVER_ERROR_EXTERNALLY_MODIFIED: The file is externally
|
50
|
+
* modified.
|
51
|
+
*
|
52
|
+
* An error code used with the %GTK_SOURCE_FILE_SAVER_ERROR domain.
|
53
|
+
* Since: 3.14
|
54
|
+
*/
|
55
|
+
typedef enum
|
56
|
+
{
|
57
|
+
GTK_SOURCE_FILE_SAVER_ERROR_INVALID_CHARS,
|
58
|
+
GTK_SOURCE_FILE_SAVER_ERROR_EXTERNALLY_MODIFIED
|
59
|
+
} GtkSourceFileSaverError;
|
60
|
+
|
61
|
+
/**
|
62
|
+
* GtkSourceFileSaverFlags:
|
63
|
+
* @GTK_SOURCE_FILE_SAVER_FLAGS_NONE: No flags.
|
64
|
+
* @GTK_SOURCE_FILE_SAVER_FLAGS_IGNORE_INVALID_CHARS: Ignore invalid characters.
|
65
|
+
* @GTK_SOURCE_FILE_SAVER_FLAGS_IGNORE_MODIFICATION_TIME: Save file despite external modifications.
|
66
|
+
* @GTK_SOURCE_FILE_SAVER_FLAGS_CREATE_BACKUP: Create a backup before saving the file.
|
67
|
+
*
|
68
|
+
* Flags to define the behavior of a #GtkSourceFileSaver.
|
69
|
+
* Since: 3.14
|
70
|
+
*/
|
71
|
+
typedef enum
|
72
|
+
{
|
73
|
+
GTK_SOURCE_FILE_SAVER_FLAGS_NONE = 0,
|
74
|
+
GTK_SOURCE_FILE_SAVER_FLAGS_IGNORE_INVALID_CHARS = 1 << 0,
|
75
|
+
GTK_SOURCE_FILE_SAVER_FLAGS_IGNORE_MODIFICATION_TIME = 1 << 1,
|
76
|
+
GTK_SOURCE_FILE_SAVER_FLAGS_CREATE_BACKUP = 1 << 2
|
77
|
+
} GtkSourceFileSaverFlags;
|
78
|
+
|
79
|
+
struct _GtkSourceFileSaver
|
80
|
+
{
|
81
|
+
GObject object;
|
82
|
+
|
83
|
+
GtkSourceFileSaverPrivate *priv;
|
84
|
+
};
|
85
|
+
|
86
|
+
struct _GtkSourceFileSaverClass
|
87
|
+
{
|
88
|
+
GObjectClass parent_class;
|
89
|
+
|
90
|
+
gpointer padding[10];
|
91
|
+
};
|
92
|
+
|
93
|
+
GType gtk_source_file_saver_get_type (void) G_GNUC_CONST;
|
94
|
+
|
95
|
+
GQuark gtk_source_file_saver_error_quark (void);
|
96
|
+
|
97
|
+
GtkSourceFileSaver *gtk_source_file_saver_new (GtkSourceBuffer *buffer,
|
98
|
+
GtkSourceFile *file);
|
99
|
+
|
100
|
+
GtkSourceFileSaver *gtk_source_file_saver_new_with_target (GtkSourceBuffer *buffer,
|
101
|
+
GtkSourceFile *file,
|
102
|
+
GFile *target_location);
|
103
|
+
|
104
|
+
GtkSourceBuffer *gtk_source_file_saver_get_buffer (GtkSourceFileSaver *saver);
|
105
|
+
|
106
|
+
GtkSourceFile *gtk_source_file_saver_get_file (GtkSourceFileSaver *saver);
|
107
|
+
|
108
|
+
GFile *gtk_source_file_saver_get_location (GtkSourceFileSaver *saver);
|
109
|
+
|
110
|
+
void gtk_source_file_saver_set_encoding (GtkSourceFileSaver *saver,
|
111
|
+
const GtkSourceEncoding *encoding);
|
112
|
+
|
113
|
+
const GtkSourceEncoding *gtk_source_file_saver_get_encoding (GtkSourceFileSaver *saver);
|
114
|
+
|
115
|
+
void gtk_source_file_saver_set_newline_type (GtkSourceFileSaver *saver,
|
116
|
+
GtkSourceNewlineType newline_type);
|
117
|
+
|
118
|
+
GtkSourceNewlineType gtk_source_file_saver_get_newline_type (GtkSourceFileSaver *saver);
|
119
|
+
|
120
|
+
void gtk_source_file_saver_set_compression_type
|
121
|
+
(GtkSourceFileSaver *saver,
|
122
|
+
GtkSourceCompressionType compression_type);
|
123
|
+
|
124
|
+
GtkSourceCompressionType gtk_source_file_saver_get_compression_type
|
125
|
+
(GtkSourceFileSaver *saver);
|
126
|
+
|
127
|
+
void gtk_source_file_saver_set_flags (GtkSourceFileSaver *saver,
|
128
|
+
GtkSourceFileSaverFlags flags);
|
129
|
+
|
130
|
+
GtkSourceFileSaverFlags gtk_source_file_saver_get_flags (GtkSourceFileSaver *saver);
|
131
|
+
|
132
|
+
void gtk_source_file_saver_save_async (GtkSourceFileSaver *saver,
|
133
|
+
gint io_priority,
|
134
|
+
GCancellable *cancellable,
|
135
|
+
GFileProgressCallback progress_callback,
|
136
|
+
gpointer progress_callback_data,
|
137
|
+
GDestroyNotify progress_callback_notify,
|
138
|
+
GAsyncReadyCallback callback,
|
139
|
+
gpointer user_data);
|
140
|
+
|
141
|
+
gboolean gtk_source_file_saver_save_finish (GtkSourceFileSaver *saver,
|
142
|
+
GAsyncResult *result,
|
143
|
+
GError **error);
|
144
|
+
|
145
|
+
G_END_DECLS
|
146
|
+
|
147
|
+
#endif /* __GTK_SOURCE_FILE_SAVER_H__ */
|
@@ -0,0 +1,90 @@
|
|
1
|
+
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8; coding: utf-8 -*- *
|
2
|
+
* gtksourcegutter.h
|
3
|
+
* This file is part of GtkSourceView
|
4
|
+
*
|
5
|
+
* Copyright (C) 2009 - Jesse van den Kieboom
|
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
|
+
|
23
|
+
#ifndef __GTK_SOURCE_GUTTER_H__
|
24
|
+
#define __GTK_SOURCE_GUTTER_H__
|
25
|
+
|
26
|
+
#include <gtk/gtk.h>
|
27
|
+
#include <gtksourceview/gtksourcetypes.h>
|
28
|
+
|
29
|
+
G_BEGIN_DECLS
|
30
|
+
|
31
|
+
#define GTK_SOURCE_TYPE_GUTTER (gtk_source_gutter_get_type ())
|
32
|
+
#define GTK_SOURCE_GUTTER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_SOURCE_TYPE_GUTTER, GtkSourceGutter))
|
33
|
+
#define GTK_SOURCE_GUTTER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_SOURCE_TYPE_GUTTER, GtkSourceGutterClass))
|
34
|
+
#define GTK_SOURCE_IS_GUTTER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_SOURCE_TYPE_GUTTER))
|
35
|
+
#define GTK_SOURCE_IS_GUTTER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_SOURCE_TYPE_GUTTER))
|
36
|
+
#define GTK_SOURCE_GUTTER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_SOURCE_TYPE_GUTTER, GtkSourceGutterClass))
|
37
|
+
|
38
|
+
typedef struct _GtkSourceGutterClass GtkSourceGutterClass;
|
39
|
+
typedef struct _GtkSourceGutterPrivate GtkSourceGutterPrivate;
|
40
|
+
|
41
|
+
struct _GtkSourceGutter
|
42
|
+
{
|
43
|
+
GObject parent;
|
44
|
+
|
45
|
+
GtkSourceGutterPrivate *priv;
|
46
|
+
};
|
47
|
+
|
48
|
+
struct _GtkSourceGutterClass
|
49
|
+
{
|
50
|
+
GObjectClass parent_class;
|
51
|
+
};
|
52
|
+
|
53
|
+
GType gtk_source_gutter_get_type (void) G_GNUC_CONST;
|
54
|
+
|
55
|
+
G_DEPRECATED_FOR (gtk_text_view_get_window)
|
56
|
+
GdkWindow *gtk_source_gutter_get_window (GtkSourceGutter *gutter);
|
57
|
+
|
58
|
+
gboolean gtk_source_gutter_insert (GtkSourceGutter *gutter,
|
59
|
+
GtkSourceGutterRenderer *renderer,
|
60
|
+
gint position);
|
61
|
+
|
62
|
+
void gtk_source_gutter_reorder (GtkSourceGutter *gutter,
|
63
|
+
GtkSourceGutterRenderer *renderer,
|
64
|
+
gint position);
|
65
|
+
|
66
|
+
void gtk_source_gutter_remove (GtkSourceGutter *gutter,
|
67
|
+
GtkSourceGutterRenderer *renderer);
|
68
|
+
|
69
|
+
void gtk_source_gutter_queue_draw (GtkSourceGutter *gutter);
|
70
|
+
|
71
|
+
G_DEPRECATED_FOR (gtk_source_gutter_renderer_set_padding)
|
72
|
+
void gtk_source_gutter_set_padding (GtkSourceGutter *gutter,
|
73
|
+
gint xpad,
|
74
|
+
gint ypad);
|
75
|
+
|
76
|
+
G_DEPRECATED_FOR (gtk_source_gutter_renderer_get_padding)
|
77
|
+
void gtk_source_gutter_get_padding (GtkSourceGutter *gutter,
|
78
|
+
gint *xpad,
|
79
|
+
gint *ypad);
|
80
|
+
|
81
|
+
GtkSourceGutterRenderer *
|
82
|
+
gtk_source_gutter_get_renderer_at_pos (GtkSourceGutter *gutter,
|
83
|
+
gint x,
|
84
|
+
gint y);
|
85
|
+
|
86
|
+
G_END_DECLS
|
87
|
+
|
88
|
+
#endif /* __GTK_SOURCE_GUTTER_H__ */
|
89
|
+
|
90
|
+
/* vi:ts=8 */
|
@@ -0,0 +1,229 @@
|
|
1
|
+
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8; coding: utf-8 -*- *
|
2
|
+
* gtksourcegutterrenderer.h
|
3
|
+
* This file is part of GtkSourceView
|
4
|
+
*
|
5
|
+
* Copyright (C) 2010 - Jesse van den Kieboom
|
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_GUTTER_RENDERER_H__
|
23
|
+
#define __GTK_SOURCE_GUTTER_RENDERER_H__
|
24
|
+
|
25
|
+
#include <gtk/gtk.h>
|
26
|
+
#include <gtksourceview/gtksourcetypes.h>
|
27
|
+
|
28
|
+
G_BEGIN_DECLS
|
29
|
+
|
30
|
+
#define GTK_SOURCE_TYPE_GUTTER_RENDERER (gtk_source_gutter_renderer_get_type ())
|
31
|
+
#define GTK_SOURCE_GUTTER_RENDERER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_SOURCE_TYPE_GUTTER_RENDERER, GtkSourceGutterRenderer))
|
32
|
+
#define GTK_SOURCE_GUTTER_RENDERER_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_SOURCE_TYPE_GUTTER_RENDERER, GtkSourceGutterRenderer const))
|
33
|
+
#define GTK_SOURCE_GUTTER_RENDERER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_SOURCE_TYPE_GUTTER_RENDERER, GtkSourceGutterRendererClass))
|
34
|
+
#define GTK_SOURCE_IS_GUTTER_RENDERER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_SOURCE_TYPE_GUTTER_RENDERER))
|
35
|
+
#define GTK_SOURCE_IS_GUTTER_RENDERER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_SOURCE_TYPE_GUTTER_RENDERER))
|
36
|
+
#define GTK_SOURCE_GUTTER_RENDERER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_SOURCE_TYPE_GUTTER_RENDERER, GtkSourceGutterRendererClass))
|
37
|
+
|
38
|
+
typedef struct _GtkSourceGutterRendererClass GtkSourceGutterRendererClass;
|
39
|
+
typedef struct _GtkSourceGutterRendererPrivate GtkSourceGutterRendererPrivate;
|
40
|
+
|
41
|
+
/**
|
42
|
+
* GtkSourceGutterRendererState:
|
43
|
+
* @GTK_SOURCE_GUTTER_RENDERER_STATE_NORMAL: normal state
|
44
|
+
* @GTK_SOURCE_GUTTER_RENDERER_STATE_CURSOR: area in the renderer represents the
|
45
|
+
* line on which the insert cursor is currently positioned
|
46
|
+
* @GTK_SOURCE_GUTTER_RENDERER_STATE_PRELIT: the mouse pointer is currently
|
47
|
+
* over the activatable area of the renderer
|
48
|
+
* @GTK_SOURCE_GUTTER_RENDERER_STATE_SELECTED: area in the renderer represents
|
49
|
+
* a line in the buffer which contains part of the selection
|
50
|
+
**/
|
51
|
+
typedef enum
|
52
|
+
{
|
53
|
+
GTK_SOURCE_GUTTER_RENDERER_STATE_NORMAL = 0,
|
54
|
+
GTK_SOURCE_GUTTER_RENDERER_STATE_CURSOR = 1 << 0,
|
55
|
+
GTK_SOURCE_GUTTER_RENDERER_STATE_PRELIT = 1 << 1,
|
56
|
+
GTK_SOURCE_GUTTER_RENDERER_STATE_SELECTED = 1 << 2
|
57
|
+
} GtkSourceGutterRendererState;
|
58
|
+
|
59
|
+
/**
|
60
|
+
* GtkSourceGutterRendererAlignmentMode:
|
61
|
+
* @GTK_SOURCE_GUTTER_RENDERER_ALIGNMENT_MODE_CELL: The full cell.
|
62
|
+
* @GTK_SOURCE_GUTTER_RENDERER_ALIGNMENT_MODE_FIRST: The first line.
|
63
|
+
* @GTK_SOURCE_GUTTER_RENDERER_ALIGNMENT_MODE_LAST: The last line.
|
64
|
+
*
|
65
|
+
* The alignment mode of the renderer, when a cell spans multiple lines (due to
|
66
|
+
* text wrapping).
|
67
|
+
**/
|
68
|
+
typedef enum
|
69
|
+
{
|
70
|
+
GTK_SOURCE_GUTTER_RENDERER_ALIGNMENT_MODE_CELL,
|
71
|
+
GTK_SOURCE_GUTTER_RENDERER_ALIGNMENT_MODE_FIRST,
|
72
|
+
GTK_SOURCE_GUTTER_RENDERER_ALIGNMENT_MODE_LAST
|
73
|
+
} GtkSourceGutterRendererAlignmentMode;
|
74
|
+
|
75
|
+
struct _GtkSourceGutterRenderer
|
76
|
+
{
|
77
|
+
GInitiallyUnowned parent;
|
78
|
+
|
79
|
+
/*< private >*/
|
80
|
+
GtkSourceGutterRendererPrivate *priv;
|
81
|
+
};
|
82
|
+
|
83
|
+
struct _GtkSourceGutterRendererClass
|
84
|
+
{
|
85
|
+
GInitiallyUnownedClass parent_class;
|
86
|
+
|
87
|
+
/*< public >*/
|
88
|
+
void (*begin) (GtkSourceGutterRenderer *renderer,
|
89
|
+
cairo_t *cr,
|
90
|
+
GdkRectangle *background_area,
|
91
|
+
GdkRectangle *cell_area,
|
92
|
+
GtkTextIter *start,
|
93
|
+
GtkTextIter *end);
|
94
|
+
|
95
|
+
void (*draw) (GtkSourceGutterRenderer *renderer,
|
96
|
+
cairo_t *cr,
|
97
|
+
GdkRectangle *background_area,
|
98
|
+
GdkRectangle *cell_area,
|
99
|
+
GtkTextIter *start,
|
100
|
+
GtkTextIter *end,
|
101
|
+
GtkSourceGutterRendererState state);
|
102
|
+
|
103
|
+
void (*end) (GtkSourceGutterRenderer *renderer);
|
104
|
+
|
105
|
+
void (*change_view) (GtkSourceGutterRenderer *renderer,
|
106
|
+
GtkTextView *old_view);
|
107
|
+
|
108
|
+
void (*change_buffer) (GtkSourceGutterRenderer *renderer,
|
109
|
+
GtkTextBuffer *old_buffer);
|
110
|
+
|
111
|
+
/* Signal handlers */
|
112
|
+
gboolean (*query_activatable) (GtkSourceGutterRenderer *renderer,
|
113
|
+
GtkTextIter *iter,
|
114
|
+
GdkRectangle *area,
|
115
|
+
GdkEvent *event);
|
116
|
+
|
117
|
+
void (*activate) (GtkSourceGutterRenderer *renderer,
|
118
|
+
GtkTextIter *iter,
|
119
|
+
GdkRectangle *area,
|
120
|
+
GdkEvent *event);
|
121
|
+
|
122
|
+
void (*queue_draw) (GtkSourceGutterRenderer *renderer);
|
123
|
+
|
124
|
+
gboolean (*query_tooltip) (GtkSourceGutterRenderer *renderer,
|
125
|
+
GtkTextIter *iter,
|
126
|
+
GdkRectangle *area,
|
127
|
+
gint x,
|
128
|
+
gint y,
|
129
|
+
GtkTooltip *tooltip);
|
130
|
+
|
131
|
+
void (*query_data) (GtkSourceGutterRenderer *renderer,
|
132
|
+
GtkTextIter *start,
|
133
|
+
GtkTextIter *end,
|
134
|
+
GtkSourceGutterRendererState state);
|
135
|
+
};
|
136
|
+
|
137
|
+
GType gtk_source_gutter_renderer_get_type (void) G_GNUC_CONST;
|
138
|
+
|
139
|
+
void gtk_source_gutter_renderer_begin (GtkSourceGutterRenderer *renderer,
|
140
|
+
cairo_t *cr,
|
141
|
+
GdkRectangle *background_area,
|
142
|
+
GdkRectangle *cell_area,
|
143
|
+
GtkTextIter *start,
|
144
|
+
GtkTextIter *end);
|
145
|
+
|
146
|
+
void gtk_source_gutter_renderer_draw (GtkSourceGutterRenderer *renderer,
|
147
|
+
cairo_t *cr,
|
148
|
+
GdkRectangle *background_area,
|
149
|
+
GdkRectangle *cell_area,
|
150
|
+
GtkTextIter *start,
|
151
|
+
GtkTextIter *end,
|
152
|
+
GtkSourceGutterRendererState state);
|
153
|
+
|
154
|
+
void gtk_source_gutter_renderer_end (GtkSourceGutterRenderer *renderer);
|
155
|
+
|
156
|
+
gint gtk_source_gutter_renderer_get_size (GtkSourceGutterRenderer *renderer);
|
157
|
+
void gtk_source_gutter_renderer_set_size (GtkSourceGutterRenderer *renderer,
|
158
|
+
gint size);
|
159
|
+
|
160
|
+
void gtk_source_gutter_renderer_set_visible (GtkSourceGutterRenderer *renderer,
|
161
|
+
gboolean visible);
|
162
|
+
|
163
|
+
gboolean gtk_source_gutter_renderer_get_visible (GtkSourceGutterRenderer *renderer);
|
164
|
+
|
165
|
+
void gtk_source_gutter_renderer_get_padding (GtkSourceGutterRenderer *renderer,
|
166
|
+
gint *xpad,
|
167
|
+
gint *ypad);
|
168
|
+
|
169
|
+
void gtk_source_gutter_renderer_set_padding (GtkSourceGutterRenderer *renderer,
|
170
|
+
gint xpad,
|
171
|
+
gint ypad);
|
172
|
+
|
173
|
+
void gtk_source_gutter_renderer_get_alignment (GtkSourceGutterRenderer *renderer,
|
174
|
+
gfloat *xalign,
|
175
|
+
gfloat *yalign);
|
176
|
+
|
177
|
+
void gtk_source_gutter_renderer_set_alignment (GtkSourceGutterRenderer *renderer,
|
178
|
+
gfloat xalign,
|
179
|
+
gfloat yalign);
|
180
|
+
|
181
|
+
void gtk_source_gutter_renderer_set_alignment_mode (GtkSourceGutterRenderer *renderer,
|
182
|
+
GtkSourceGutterRendererAlignmentMode mode);
|
183
|
+
|
184
|
+
GtkTextWindowType
|
185
|
+
gtk_source_gutter_renderer_get_window_type (GtkSourceGutterRenderer *renderer);
|
186
|
+
|
187
|
+
GtkTextView *gtk_source_gutter_renderer_get_view (GtkSourceGutterRenderer *renderer);
|
188
|
+
|
189
|
+
GtkSourceGutterRendererAlignmentMode
|
190
|
+
gtk_source_gutter_renderer_get_alignment_mode (GtkSourceGutterRenderer *renderer);
|
191
|
+
|
192
|
+
gboolean gtk_source_gutter_renderer_get_background (GtkSourceGutterRenderer *renderer,
|
193
|
+
GdkRGBA *color);
|
194
|
+
|
195
|
+
void gtk_source_gutter_renderer_set_background (GtkSourceGutterRenderer *renderer,
|
196
|
+
const GdkRGBA *color);
|
197
|
+
|
198
|
+
/* Emits the 'activate' signal */
|
199
|
+
void gtk_source_gutter_renderer_activate (GtkSourceGutterRenderer *renderer,
|
200
|
+
GtkTextIter *iter,
|
201
|
+
GdkRectangle *area,
|
202
|
+
GdkEvent *event);
|
203
|
+
|
204
|
+
/* Emits the 'query-activatable' signal */
|
205
|
+
gboolean gtk_source_gutter_renderer_query_activatable (GtkSourceGutterRenderer *renderer,
|
206
|
+
GtkTextIter *iter,
|
207
|
+
GdkRectangle *area,
|
208
|
+
GdkEvent *event);
|
209
|
+
|
210
|
+
/* Emits the 'queue-draw' signal */
|
211
|
+
void gtk_source_gutter_renderer_queue_draw (GtkSourceGutterRenderer *renderer);
|
212
|
+
|
213
|
+
/* Emits the 'query-tooltip' signal */
|
214
|
+
gboolean gtk_source_gutter_renderer_query_tooltip (GtkSourceGutterRenderer *renderer,
|
215
|
+
GtkTextIter *iter,
|
216
|
+
GdkRectangle *area,
|
217
|
+
gint x,
|
218
|
+
gint y,
|
219
|
+
GtkTooltip *tooltip);
|
220
|
+
|
221
|
+
/* Emits the 'query-data' signal */
|
222
|
+
void gtk_source_gutter_renderer_query_data (GtkSourceGutterRenderer *renderer,
|
223
|
+
GtkTextIter *start,
|
224
|
+
GtkTextIter *end,
|
225
|
+
GtkSourceGutterRendererState state);
|
226
|
+
|
227
|
+
G_END_DECLS
|
228
|
+
|
229
|
+
#endif /* __GTK_SOURCE_GUTTER_RENDERER_H__ */
|