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,86 @@
|
|
1
|
+
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8; coding: utf-8 -*-
|
2
|
+
* gtksourcestyleschememanager.h
|
3
|
+
* This file is part of GtkSourceView
|
4
|
+
*
|
5
|
+
* Copyright (C) 2003-2007 - 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_SCHEME_MANAGER_H__
|
23
|
+
#define __GTK_SOURCE_STYLE_SCHEME_MANAGER_H__
|
24
|
+
|
25
|
+
#include <glib-object.h>
|
26
|
+
#include <gtksourceview/gtksourcetypes.h>
|
27
|
+
|
28
|
+
G_BEGIN_DECLS
|
29
|
+
|
30
|
+
#define GTK_SOURCE_TYPE_STYLE_SCHEME_MANAGER (gtk_source_style_scheme_manager_get_type ())
|
31
|
+
#define GTK_SOURCE_STYLE_SCHEME_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_SOURCE_TYPE_STYLE_SCHEME_MANAGER, GtkSourceStyleSchemeManager))
|
32
|
+
#define GTK_SOURCE_STYLE_SCHEME_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_SOURCE_TYPE_STYLE_SCHEME_MANAGER, GtkSourceStyleSchemeManagerClass))
|
33
|
+
#define GTK_SOURCE_IS_STYLE_SCHEME_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_SOURCE_TYPE_STYLE_SCHEME_MANAGER))
|
34
|
+
#define GTK_SOURCE_IS_STYLE_SCHEME_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_SOURCE_TYPE_STYLE_SCHEME_MANAGER))
|
35
|
+
#define GTK_SOURCE_STYLE_SCHEME_MANAGER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_SOURCE_TYPE_STYLE_SCHEME_MANAGER, GtkSourceStyleSchemeManagerClass))
|
36
|
+
|
37
|
+
typedef struct _GtkSourceStyleSchemeManagerClass GtkSourceStyleSchemeManagerClass;
|
38
|
+
typedef struct _GtkSourceStyleSchemeManagerPrivate GtkSourceStyleSchemeManagerPrivate;
|
39
|
+
|
40
|
+
struct _GtkSourceStyleSchemeManager
|
41
|
+
{
|
42
|
+
GObject parent;
|
43
|
+
|
44
|
+
GtkSourceStyleSchemeManagerPrivate *priv;
|
45
|
+
};
|
46
|
+
|
47
|
+
struct _GtkSourceStyleSchemeManagerClass
|
48
|
+
{
|
49
|
+
GObjectClass parent_class;
|
50
|
+
|
51
|
+
/* Padding for future expansion */
|
52
|
+
void (*_gtk_source_reserved1) (void);
|
53
|
+
void (*_gtk_source_reserved2) (void);
|
54
|
+
void (*_gtk_source_reserved3) (void);
|
55
|
+
void (*_gtk_source_reserved4) (void);
|
56
|
+
};
|
57
|
+
|
58
|
+
GType gtk_source_style_scheme_manager_get_type (void) G_GNUC_CONST;
|
59
|
+
|
60
|
+
GtkSourceStyleSchemeManager *
|
61
|
+
gtk_source_style_scheme_manager_new (void);
|
62
|
+
|
63
|
+
GtkSourceStyleSchemeManager *
|
64
|
+
gtk_source_style_scheme_manager_get_default (void);
|
65
|
+
|
66
|
+
void gtk_source_style_scheme_manager_set_search_path (GtkSourceStyleSchemeManager *manager,
|
67
|
+
gchar **path);
|
68
|
+
|
69
|
+
void gtk_source_style_scheme_manager_append_search_path (GtkSourceStyleSchemeManager *manager,
|
70
|
+
const gchar *path);
|
71
|
+
|
72
|
+
void gtk_source_style_scheme_manager_prepend_search_path (GtkSourceStyleSchemeManager *manager,
|
73
|
+
const gchar *path);
|
74
|
+
|
75
|
+
const gchar * const * gtk_source_style_scheme_manager_get_search_path (GtkSourceStyleSchemeManager *manager);
|
76
|
+
|
77
|
+
void gtk_source_style_scheme_manager_force_rescan (GtkSourceStyleSchemeManager *manager);
|
78
|
+
|
79
|
+
const gchar * const * gtk_source_style_scheme_manager_get_scheme_ids (GtkSourceStyleSchemeManager *manager);
|
80
|
+
|
81
|
+
GtkSourceStyleScheme *gtk_source_style_scheme_manager_get_scheme (GtkSourceStyleSchemeManager *manager,
|
82
|
+
const gchar *scheme_id);
|
83
|
+
|
84
|
+
G_END_DECLS
|
85
|
+
|
86
|
+
#endif /* __GTK_SOURCE_STYLE_SCHEME_MANAGER_H__ */
|
@@ -0,0 +1,101 @@
|
|
1
|
+
/*
|
2
|
+
* gtksourcetypes.h
|
3
|
+
* This file is part of GtkSourceView
|
4
|
+
*
|
5
|
+
* Copyright (C) 2012-2014 - 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_TYPES_H__
|
23
|
+
#define __GTK_SOURCE_TYPES_H__
|
24
|
+
|
25
|
+
#include <gio/gio.h>
|
26
|
+
|
27
|
+
G_BEGIN_DECLS
|
28
|
+
|
29
|
+
typedef struct _GtkSourceBuffer GtkSourceBuffer;
|
30
|
+
typedef struct _GtkSourceCompletionContext GtkSourceCompletionContext;
|
31
|
+
typedef struct _GtkSourceCompletion GtkSourceCompletion;
|
32
|
+
typedef struct _GtkSourceCompletionInfo GtkSourceCompletionInfo;
|
33
|
+
typedef struct _GtkSourceCompletionItem GtkSourceCompletionItem;
|
34
|
+
typedef struct _GtkSourceCompletionProposal GtkSourceCompletionProposal;
|
35
|
+
typedef struct _GtkSourceCompletionProvider GtkSourceCompletionProvider;
|
36
|
+
typedef struct _GtkSourceEncoding GtkSourceEncoding;
|
37
|
+
typedef struct _GtkSourceFile GtkSourceFile;
|
38
|
+
typedef struct _GtkSourceFileLoader GtkSourceFileLoader;
|
39
|
+
typedef struct _GtkSourceFileSaver GtkSourceFileSaver;
|
40
|
+
typedef struct _GtkSourceGutter GtkSourceGutter;
|
41
|
+
typedef struct _GtkSourceGutterRenderer GtkSourceGutterRenderer;
|
42
|
+
typedef struct _GtkSourceGutterRendererPixbuf GtkSourceGutterRendererPixbuf;
|
43
|
+
typedef struct _GtkSourceGutterRendererText GtkSourceGutterRendererText;
|
44
|
+
typedef struct _GtkSourceLanguage GtkSourceLanguage;
|
45
|
+
typedef struct _GtkSourceLanguageManager GtkSourceLanguageManager;
|
46
|
+
typedef struct _GtkSourceMarkAttributes GtkSourceMarkAttributes;
|
47
|
+
typedef struct _GtkSourceMark GtkSourceMark;
|
48
|
+
typedef struct _GtkSourcePrintCompositor GtkSourcePrintCompositor;
|
49
|
+
typedef struct _GtkSourceSearchContext GtkSourceSearchContext;
|
50
|
+
typedef struct _GtkSourceSearchSettings GtkSourceSearchSettings;
|
51
|
+
typedef struct _GtkSourceStyle GtkSourceStyle;
|
52
|
+
typedef struct _GtkSourceStyleScheme GtkSourceStyleScheme;
|
53
|
+
typedef struct _GtkSourceStyleSchemeManager GtkSourceStyleSchemeManager;
|
54
|
+
typedef struct _GtkSourceUndoManager GtkSourceUndoManager;
|
55
|
+
typedef struct _GtkSourceView GtkSourceView;
|
56
|
+
|
57
|
+
/**
|
58
|
+
* GtkSourceNewlineType:
|
59
|
+
* @GTK_SOURCE_NEWLINE_TYPE_LF: line feed, used on UNIX.
|
60
|
+
* @GTK_SOURCE_NEWLINE_TYPE_CR: carriage return, used on Mac.
|
61
|
+
* @GTK_SOURCE_NEWLINE_TYPE_CR_LF: carriage return followed by a line feed, used
|
62
|
+
* on Windows.
|
63
|
+
*
|
64
|
+
* Since: 3.14
|
65
|
+
*/
|
66
|
+
typedef enum
|
67
|
+
{
|
68
|
+
GTK_SOURCE_NEWLINE_TYPE_LF,
|
69
|
+
GTK_SOURCE_NEWLINE_TYPE_CR,
|
70
|
+
GTK_SOURCE_NEWLINE_TYPE_CR_LF
|
71
|
+
} GtkSourceNewlineType;
|
72
|
+
|
73
|
+
/**
|
74
|
+
* GTK_SOURCE_NEWLINE_TYPE_DEFAULT:
|
75
|
+
*
|
76
|
+
* The default newline type on the current OS.
|
77
|
+
*
|
78
|
+
* Since: 3.14
|
79
|
+
*/
|
80
|
+
#ifdef G_OS_WIN32
|
81
|
+
#define GTK_SOURCE_NEWLINE_TYPE_DEFAULT GTK_SOURCE_NEWLINE_TYPE_CR_LF
|
82
|
+
#else
|
83
|
+
#define GTK_SOURCE_NEWLINE_TYPE_DEFAULT GTK_SOURCE_NEWLINE_TYPE_LF
|
84
|
+
#endif
|
85
|
+
|
86
|
+
/**
|
87
|
+
* GtkSourceCompressionType:
|
88
|
+
* @GTK_SOURCE_COMPRESSION_TYPE_NONE: plain text.
|
89
|
+
* @GTK_SOURCE_COMPRESSION_TYPE_GZIP: gzip compression.
|
90
|
+
*
|
91
|
+
* Since: 3.14
|
92
|
+
*/
|
93
|
+
typedef enum
|
94
|
+
{
|
95
|
+
GTK_SOURCE_COMPRESSION_TYPE_NONE,
|
96
|
+
GTK_SOURCE_COMPRESSION_TYPE_GZIP
|
97
|
+
} GtkSourceCompressionType;
|
98
|
+
|
99
|
+
G_END_DECLS
|
100
|
+
|
101
|
+
#endif /* __GTK_SOURCE_TYPES_H__ */
|
@@ -0,0 +1,75 @@
|
|
1
|
+
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
|
2
|
+
/*
|
3
|
+
* gtksourceundomanager.h
|
4
|
+
* This file is part of GtkSourceView
|
5
|
+
*
|
6
|
+
* Copyright (C) 1998, 1999 Alex Roberts, Evan Lawrence
|
7
|
+
* Copyright (C) 2000, 2001 Chema Celorio, Paolo Maggi
|
8
|
+
* Copyright (C) 2002, 2003 Paolo Maggi
|
9
|
+
*
|
10
|
+
* This library 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
|
+
* This library 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 Street, Fifth Floor, Boston, MA 02110-1301 USA
|
23
|
+
*/
|
24
|
+
|
25
|
+
#ifndef __GTK_SOURCE_UNDO_MANAGER_H__
|
26
|
+
#define __GTK_SOURCE_UNDO_MANAGER_H__
|
27
|
+
|
28
|
+
#include <gtk/gtk.h>
|
29
|
+
#include <gtksourceview/gtksourcetypes.h>
|
30
|
+
|
31
|
+
G_BEGIN_DECLS
|
32
|
+
|
33
|
+
#define GTK_SOURCE_TYPE_UNDO_MANAGER (gtk_source_undo_manager_get_type ())
|
34
|
+
#define GTK_SOURCE_UNDO_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_SOURCE_TYPE_UNDO_MANAGER, GtkSourceUndoManager))
|
35
|
+
#define GTK_SOURCE_IS_UNDO_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_SOURCE_TYPE_UNDO_MANAGER))
|
36
|
+
#define GTK_SOURCE_UNDO_MANAGER_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GTK_SOURCE_TYPE_UNDO_MANAGER, GtkSourceUndoManagerIface))
|
37
|
+
|
38
|
+
typedef struct _GtkSourceUndoManagerIface GtkSourceUndoManagerIface;
|
39
|
+
|
40
|
+
struct _GtkSourceUndoManagerIface
|
41
|
+
{
|
42
|
+
GTypeInterface parent;
|
43
|
+
|
44
|
+
/* Interface functions */
|
45
|
+
gboolean (*can_undo) (GtkSourceUndoManager *manager);
|
46
|
+
gboolean (*can_redo) (GtkSourceUndoManager *manager);
|
47
|
+
|
48
|
+
void (*undo) (GtkSourceUndoManager *manager);
|
49
|
+
void (*redo) (GtkSourceUndoManager *manager);
|
50
|
+
|
51
|
+
void (*begin_not_undoable_action) (GtkSourceUndoManager *manager);
|
52
|
+
void (*end_not_undoable_action) (GtkSourceUndoManager *manager);
|
53
|
+
|
54
|
+
/* Signals */
|
55
|
+
void (*can_undo_changed) (GtkSourceUndoManager *manager);
|
56
|
+
void (*can_redo_changed) (GtkSourceUndoManager *manager);
|
57
|
+
};
|
58
|
+
|
59
|
+
GType gtk_source_undo_manager_get_type (void) G_GNUC_CONST;
|
60
|
+
|
61
|
+
gboolean gtk_source_undo_manager_can_undo (GtkSourceUndoManager *manager);
|
62
|
+
gboolean gtk_source_undo_manager_can_redo (GtkSourceUndoManager *manager);
|
63
|
+
|
64
|
+
void gtk_source_undo_manager_undo (GtkSourceUndoManager *manager);
|
65
|
+
void gtk_source_undo_manager_redo (GtkSourceUndoManager *manager);
|
66
|
+
|
67
|
+
void gtk_source_undo_manager_begin_not_undoable_action (GtkSourceUndoManager *manager);
|
68
|
+
void gtk_source_undo_manager_end_not_undoable_action (GtkSourceUndoManager *manager);
|
69
|
+
|
70
|
+
void gtk_source_undo_manager_can_undo_changed (GtkSourceUndoManager *manager);
|
71
|
+
void gtk_source_undo_manager_can_redo_changed (GtkSourceUndoManager *manager);
|
72
|
+
|
73
|
+
G_END_DECLS
|
74
|
+
|
75
|
+
#endif /* __GTK_SOURCE_UNDO_MANAGER_H__ */
|
@@ -0,0 +1,34 @@
|
|
1
|
+
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8; coding: utf-8 -*-
|
2
|
+
* gtksourceutils.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_UTILS_H__
|
23
|
+
#define __GTK_SOURCE_UTILS_H__
|
24
|
+
|
25
|
+
#include <glib-object.h>
|
26
|
+
|
27
|
+
G_BEGIN_DECLS
|
28
|
+
|
29
|
+
gchar *gtk_source_utils_unescape_search_text (const gchar *text);
|
30
|
+
gchar *gtk_source_utils_escape_search_text (const gchar *text);
|
31
|
+
|
32
|
+
G_END_DECLS
|
33
|
+
|
34
|
+
#endif /* __GTK_SOURCE_UTILS_H__ */
|
@@ -0,0 +1,88 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
|
4
|
+
#ifndef __GTKSOURCEVIEW_TYPEBUILTINS_H__
|
5
|
+
#define __GTKSOURCEVIEW_TYPEBUILTINS_H__
|
6
|
+
|
7
|
+
#include <gtksourceview/gtksourcebuffer.h>
|
8
|
+
G_BEGIN_DECLS
|
9
|
+
#define GTK_SOURCE_TYPE_BRACKET_MATCH_TYPE gtk_source_bracket_match_type_get_type()
|
10
|
+
GType gtk_source_bracket_match_type_get_type (void);
|
11
|
+
G_END_DECLS
|
12
|
+
|
13
|
+
G_BEGIN_DECLS
|
14
|
+
#define GTK_SOURCE_TYPE_CHANGE_CASE_TYPE gtk_source_change_case_type_get_type()
|
15
|
+
GType gtk_source_change_case_type_get_type (void);
|
16
|
+
G_END_DECLS
|
17
|
+
|
18
|
+
#include <gtksourceview/gtksourcecompletion.h>
|
19
|
+
G_BEGIN_DECLS
|
20
|
+
#define GTK_SOURCE_TYPE_COMPLETION_ERROR gtk_source_completion_error_get_type()
|
21
|
+
GType gtk_source_completion_error_get_type (void);
|
22
|
+
G_END_DECLS
|
23
|
+
|
24
|
+
#include <gtksourceview/gtksourcecompletioncontext.h>
|
25
|
+
G_BEGIN_DECLS
|
26
|
+
#define GTK_SOURCE_TYPE_COMPLETION_ACTIVATION gtk_source_completion_activation_get_type()
|
27
|
+
GType gtk_source_completion_activation_get_type (void);
|
28
|
+
G_END_DECLS
|
29
|
+
|
30
|
+
#include <gtksourceview/gtksourcefileloader.h>
|
31
|
+
G_BEGIN_DECLS
|
32
|
+
#define GTK_SOURCE_TYPE_FILE_LOADER_ERROR gtk_source_file_loader_error_get_type()
|
33
|
+
GType gtk_source_file_loader_error_get_type (void);
|
34
|
+
G_END_DECLS
|
35
|
+
|
36
|
+
#include <gtksourceview/gtksourcefilesaver.h>
|
37
|
+
G_BEGIN_DECLS
|
38
|
+
#define GTK_SOURCE_TYPE_FILE_SAVER_ERROR gtk_source_file_saver_error_get_type()
|
39
|
+
GType gtk_source_file_saver_error_get_type (void);
|
40
|
+
G_END_DECLS
|
41
|
+
|
42
|
+
G_BEGIN_DECLS
|
43
|
+
#define GTK_SOURCE_TYPE_FILE_SAVER_FLAGS gtk_source_file_saver_flags_get_type()
|
44
|
+
GType gtk_source_file_saver_flags_get_type (void);
|
45
|
+
G_END_DECLS
|
46
|
+
|
47
|
+
#include <gtksourceview/gtksourcegutterrenderer.h>
|
48
|
+
G_BEGIN_DECLS
|
49
|
+
#define GTK_SOURCE_TYPE_GUTTER_RENDERER_STATE gtk_source_gutter_renderer_state_get_type()
|
50
|
+
GType gtk_source_gutter_renderer_state_get_type (void);
|
51
|
+
G_END_DECLS
|
52
|
+
|
53
|
+
G_BEGIN_DECLS
|
54
|
+
#define GTK_SOURCE_TYPE_GUTTER_RENDERER_ALIGNMENT_MODE gtk_source_gutter_renderer_alignment_mode_get_type()
|
55
|
+
GType gtk_source_gutter_renderer_alignment_mode_get_type (void);
|
56
|
+
G_END_DECLS
|
57
|
+
|
58
|
+
#include <gtksourceview/gtksourcetypes.h>
|
59
|
+
G_BEGIN_DECLS
|
60
|
+
#define GTK_SOURCE_TYPE_NEWLINE_TYPE gtk_source_newline_type_get_type()
|
61
|
+
GType gtk_source_newline_type_get_type (void);
|
62
|
+
G_END_DECLS
|
63
|
+
|
64
|
+
G_BEGIN_DECLS
|
65
|
+
#define GTK_SOURCE_TYPE_COMPRESSION_TYPE gtk_source_compression_type_get_type()
|
66
|
+
GType gtk_source_compression_type_get_type (void);
|
67
|
+
G_END_DECLS
|
68
|
+
|
69
|
+
#include <gtksourceview/gtksourceview.h>
|
70
|
+
G_BEGIN_DECLS
|
71
|
+
#define GTK_SOURCE_TYPE_VIEW_GUTTER_POSITION gtk_source_view_gutter_position_get_type()
|
72
|
+
GType gtk_source_view_gutter_position_get_type (void);
|
73
|
+
G_END_DECLS
|
74
|
+
|
75
|
+
G_BEGIN_DECLS
|
76
|
+
#define GTK_SOURCE_TYPE_SMART_HOME_END_TYPE gtk_source_smart_home_end_type_get_type()
|
77
|
+
GType gtk_source_smart_home_end_type_get_type (void);
|
78
|
+
G_END_DECLS
|
79
|
+
|
80
|
+
G_BEGIN_DECLS
|
81
|
+
#define GTK_SOURCE_TYPE_DRAW_SPACES_FLAGS gtk_source_draw_spaces_flags_get_type()
|
82
|
+
GType gtk_source_draw_spaces_flags_get_type (void);
|
83
|
+
G_END_DECLS
|
84
|
+
|
85
|
+
#endif /* __GTKSOURCEVIEW_TYPEBUILTINS_H__ */
|
86
|
+
|
87
|
+
|
88
|
+
|
@@ -0,0 +1,213 @@
|
|
1
|
+
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8; coding: utf-8 -*-
|
2
|
+
* gtksourceview.h
|
3
|
+
* This file is part of GtkSourceView
|
4
|
+
*
|
5
|
+
* Copyright (C) 2001 - Mikael Hermansson <tyan@linux.se> and
|
6
|
+
* Chris Phelps <chicane@reninet.com>
|
7
|
+
* Copyright (C) 2003 - Gustavo Giráldez and Paolo Maggi
|
8
|
+
*
|
9
|
+
* GtkSourceView is free software; you can redistribute it and/or
|
10
|
+
* modify it under the terms of the GNU Lesser General Public
|
11
|
+
* License as published by the Free Software Foundation; either
|
12
|
+
* version 2.1 of the License, or (at your option) any later version.
|
13
|
+
*
|
14
|
+
* GtkSourceView is distributed in the hope that it will be useful,
|
15
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
16
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
17
|
+
* Lesser General Public License for more details.
|
18
|
+
*
|
19
|
+
* You should have received a copy of the GNU Lesser General Public
|
20
|
+
* License along with this library; if not, write to the Free Software
|
21
|
+
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
22
|
+
*/
|
23
|
+
|
24
|
+
#ifndef __GTK_SOURCE_VIEW_H__
|
25
|
+
#define __GTK_SOURCE_VIEW_H__
|
26
|
+
|
27
|
+
#include <gtk/gtk.h>
|
28
|
+
#include <gtksourceview/gtksourcetypes.h>
|
29
|
+
|
30
|
+
G_BEGIN_DECLS
|
31
|
+
|
32
|
+
#define GTK_SOURCE_TYPE_VIEW (gtk_source_view_get_type ())
|
33
|
+
#define GTK_SOURCE_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_SOURCE_TYPE_VIEW, GtkSourceView))
|
34
|
+
#define GTK_SOURCE_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_SOURCE_TYPE_VIEW, GtkSourceViewClass))
|
35
|
+
#define GTK_SOURCE_IS_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_SOURCE_TYPE_VIEW))
|
36
|
+
#define GTK_SOURCE_IS_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_SOURCE_TYPE_VIEW))
|
37
|
+
#define GTK_SOURCE_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_SOURCE_TYPE_VIEW, GtkSourceViewClass))
|
38
|
+
|
39
|
+
/**
|
40
|
+
* GtkSourceViewGutterPosition:
|
41
|
+
* @GTK_SOURCE_VIEW_GUTTER_POSITION_LINES: the gutter position of the lines
|
42
|
+
* renderer
|
43
|
+
* @GTK_SOURCE_VIEW_GUTTER_POSITION_MARKS: the gutter position of the marks
|
44
|
+
* renderer
|
45
|
+
**/
|
46
|
+
typedef enum
|
47
|
+
{
|
48
|
+
GTK_SOURCE_VIEW_GUTTER_POSITION_LINES = -30,
|
49
|
+
GTK_SOURCE_VIEW_GUTTER_POSITION_MARKS = -20
|
50
|
+
} GtkSourceViewGutterPosition;
|
51
|
+
|
52
|
+
typedef struct _GtkSourceViewClass GtkSourceViewClass;
|
53
|
+
|
54
|
+
typedef struct _GtkSourceViewPrivate GtkSourceViewPrivate;
|
55
|
+
|
56
|
+
struct _GtkSourceView
|
57
|
+
{
|
58
|
+
GtkTextView parent;
|
59
|
+
|
60
|
+
GtkSourceViewPrivate *priv;
|
61
|
+
};
|
62
|
+
|
63
|
+
struct _GtkSourceViewClass
|
64
|
+
{
|
65
|
+
GtkTextViewClass parent_class;
|
66
|
+
|
67
|
+
void (*undo) (GtkSourceView *view);
|
68
|
+
void (*redo) (GtkSourceView *view);
|
69
|
+
void (*line_mark_activated) (GtkSourceView *view,
|
70
|
+
GtkTextIter *iter,
|
71
|
+
GdkEvent *event);
|
72
|
+
void (*show_completion) (GtkSourceView *view);
|
73
|
+
void (*move_lines) (GtkSourceView *view,
|
74
|
+
gboolean copy,
|
75
|
+
gint step);
|
76
|
+
|
77
|
+
void (*move_words) (GtkSourceView *view,
|
78
|
+
gint step);
|
79
|
+
|
80
|
+
/* Padding for future expansion */
|
81
|
+
};
|
82
|
+
|
83
|
+
/**
|
84
|
+
* GtkSourceSmartHomeEndType:
|
85
|
+
* @GTK_SOURCE_SMART_HOME_END_DISABLED: smart-home-end disabled.
|
86
|
+
* @GTK_SOURCE_SMART_HOME_END_BEFORE: move to the first/last
|
87
|
+
* non-whitespace character on the first press of the HOME/END keys and
|
88
|
+
* to the beginning/end of the line on the second press.
|
89
|
+
* @GTK_SOURCE_SMART_HOME_END_AFTER: move to the beginning/end of the
|
90
|
+
* line on the first press of the HOME/END keys and to the first/last
|
91
|
+
* non-whitespace character on the second press.
|
92
|
+
* @GTK_SOURCE_SMART_HOME_END_ALWAYS: always move to the first/last
|
93
|
+
* non-whitespace character when the HOME/END keys are pressed.
|
94
|
+
**/
|
95
|
+
typedef enum
|
96
|
+
{
|
97
|
+
GTK_SOURCE_SMART_HOME_END_DISABLED,
|
98
|
+
GTK_SOURCE_SMART_HOME_END_BEFORE,
|
99
|
+
GTK_SOURCE_SMART_HOME_END_AFTER,
|
100
|
+
GTK_SOURCE_SMART_HOME_END_ALWAYS
|
101
|
+
} GtkSourceSmartHomeEndType;
|
102
|
+
|
103
|
+
/**
|
104
|
+
* GtkSourceDrawSpacesFlags:
|
105
|
+
* @GTK_SOURCE_DRAW_SPACES_SPACE: whether the space character should be drawn.
|
106
|
+
* @GTK_SOURCE_DRAW_SPACES_TAB: whether the tab character should be drawn.
|
107
|
+
* @GTK_SOURCE_DRAW_SPACES_NEWLINE: whether the line breaks should be drawn.
|
108
|
+
* @GTK_SOURCE_DRAW_SPACES_NBSP: whether the non-breaking whitespaces should be drawn.
|
109
|
+
* @GTK_SOURCE_DRAW_SPACES_LEADING: whether leading whitespaces should be drawn.
|
110
|
+
* @GTK_SOURCE_DRAW_SPACES_TEXT: whether whitespaces inside text should be drawn.
|
111
|
+
* @GTK_SOURCE_DRAW_SPACES_TRAILING: whether trailing whitespaces should be drawn.
|
112
|
+
* @GTK_SOURCE_DRAW_SPACES_ALL: wheter all kind of spaces should be drawn.
|
113
|
+
*
|
114
|
+
* GtkSourceDrawSpacesFlags determine what kind of spaces whould be drawn. If none
|
115
|
+
* of GTK_SOURCE_DRAW_SPACES_LEADING, GTK_SOURCE_DRAW_SPACES_TEXT or
|
116
|
+
* GTK_SOURCE_DRAW_SPACES_TRAILING is specified, whitespaces at any position in
|
117
|
+
* the line will be drawn (i.e. it has the same effect as specifying all of them).
|
118
|
+
*/
|
119
|
+
typedef enum
|
120
|
+
{
|
121
|
+
GTK_SOURCE_DRAW_SPACES_SPACE = 1 << 0,
|
122
|
+
GTK_SOURCE_DRAW_SPACES_TAB = 1 << 1,
|
123
|
+
GTK_SOURCE_DRAW_SPACES_NEWLINE = 1 << 2,
|
124
|
+
GTK_SOURCE_DRAW_SPACES_NBSP = 1 << 3,
|
125
|
+
GTK_SOURCE_DRAW_SPACES_LEADING = 1 << 4,
|
126
|
+
GTK_SOURCE_DRAW_SPACES_TEXT = 1 << 5,
|
127
|
+
GTK_SOURCE_DRAW_SPACES_TRAILING = 1 << 6,
|
128
|
+
GTK_SOURCE_DRAW_SPACES_ALL = 0x7f
|
129
|
+
} GtkSourceDrawSpacesFlags;
|
130
|
+
|
131
|
+
|
132
|
+
GType gtk_source_view_get_type (void) G_GNUC_CONST;
|
133
|
+
|
134
|
+
/* Constructors */
|
135
|
+
GtkWidget *gtk_source_view_new (void);
|
136
|
+
GtkWidget *gtk_source_view_new_with_buffer (GtkSourceBuffer *buffer);
|
137
|
+
|
138
|
+
/* Properties */
|
139
|
+
void gtk_source_view_set_show_line_numbers (GtkSourceView *view,
|
140
|
+
gboolean show);
|
141
|
+
gboolean gtk_source_view_get_show_line_numbers (GtkSourceView *view);
|
142
|
+
|
143
|
+
void gtk_source_view_set_tab_width (GtkSourceView *view,
|
144
|
+
guint width);
|
145
|
+
guint gtk_source_view_get_tab_width (GtkSourceView *view);
|
146
|
+
|
147
|
+
void gtk_source_view_set_indent_width (GtkSourceView *view,
|
148
|
+
gint width);
|
149
|
+
gint gtk_source_view_get_indent_width (GtkSourceView *view);
|
150
|
+
|
151
|
+
void gtk_source_view_set_auto_indent (GtkSourceView *view,
|
152
|
+
gboolean enable);
|
153
|
+
gboolean gtk_source_view_get_auto_indent (GtkSourceView *view);
|
154
|
+
|
155
|
+
void gtk_source_view_set_insert_spaces_instead_of_tabs
|
156
|
+
(GtkSourceView *view,
|
157
|
+
gboolean enable);
|
158
|
+
gboolean gtk_source_view_get_insert_spaces_instead_of_tabs
|
159
|
+
(GtkSourceView *view);
|
160
|
+
|
161
|
+
void gtk_source_view_set_indent_on_tab (GtkSourceView *view,
|
162
|
+
gboolean enable);
|
163
|
+
gboolean gtk_source_view_get_indent_on_tab (GtkSourceView *view);
|
164
|
+
|
165
|
+
void gtk_source_view_set_highlight_current_line
|
166
|
+
(GtkSourceView *view,
|
167
|
+
gboolean hl);
|
168
|
+
gboolean gtk_source_view_get_highlight_current_line
|
169
|
+
(GtkSourceView *view);
|
170
|
+
|
171
|
+
void gtk_source_view_set_show_right_margin (GtkSourceView *view,
|
172
|
+
gboolean show);
|
173
|
+
gboolean gtk_source_view_get_show_right_margin (GtkSourceView *view);
|
174
|
+
|
175
|
+
void gtk_source_view_set_right_margin_position
|
176
|
+
(GtkSourceView *view,
|
177
|
+
guint pos);
|
178
|
+
guint gtk_source_view_get_right_margin_position
|
179
|
+
(GtkSourceView *view);
|
180
|
+
|
181
|
+
void gtk_source_view_set_show_line_marks (GtkSourceView *view,
|
182
|
+
gboolean show);
|
183
|
+
gboolean gtk_source_view_get_show_line_marks (GtkSourceView *view);
|
184
|
+
|
185
|
+
void gtk_source_view_set_mark_attributes (GtkSourceView *view,
|
186
|
+
const gchar *category,
|
187
|
+
GtkSourceMarkAttributes *attributes,
|
188
|
+
gint priority);
|
189
|
+
|
190
|
+
GtkSourceMarkAttributes *
|
191
|
+
gtk_source_view_get_mark_attributes (GtkSourceView *view,
|
192
|
+
const gchar *category,
|
193
|
+
gint *priority);
|
194
|
+
|
195
|
+
void gtk_source_view_set_smart_home_end (GtkSourceView *view,
|
196
|
+
GtkSourceSmartHomeEndType smart_he);
|
197
|
+
GtkSourceSmartHomeEndType
|
198
|
+
gtk_source_view_get_smart_home_end (GtkSourceView *view);
|
199
|
+
|
200
|
+
void gtk_source_view_set_draw_spaces (GtkSourceView *view,
|
201
|
+
GtkSourceDrawSpacesFlags flags);
|
202
|
+
GtkSourceDrawSpacesFlags
|
203
|
+
gtk_source_view_get_draw_spaces (GtkSourceView *view);
|
204
|
+
guint gtk_source_view_get_visual_column (GtkSourceView *view,
|
205
|
+
const GtkTextIter *iter);
|
206
|
+
GtkSourceCompletion *
|
207
|
+
gtk_source_view_get_completion (GtkSourceView *view);
|
208
|
+
|
209
|
+
GtkSourceGutter *gtk_source_view_get_gutter (GtkSourceView *view,
|
210
|
+
GtkTextWindowType window_type);
|
211
|
+
|
212
|
+
G_END_DECLS
|
213
|
+
#endif /* end of SOURCE_VIEW_H__ */
|