gtksourceview4 3.2.9-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/COPYING.LIB +502 -0
- data/README.md +24 -0
- data/Rakefile +61 -0
- data/dependency-check/Rakefile +43 -0
- data/gtksourceview4.gemspec +45 -0
- data/lib/gtksourceview4/deprecated.rb +49 -0
- data/lib/gtksourceview4/loader.rb +49 -0
- data/lib/gtksourceview4/mark-attributes.rb +29 -0
- data/lib/gtksourceview4.rb +56 -0
- data/test/run-test.rb +62 -0
- data/test/test-mark-attributes.rb +26 -0
- data/test/test-source-gutter-renderer.rb +33 -0
- data/test/test-source-language-manager.rb +46 -0
- data/test/test-source-view.rb +55 -0
- data/vendor/local/bin/libgtksourceview-4-0.dll +0 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/completion-providers/words/gtksourcecompletionwords.h +72 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksource-enumtypes.h +107 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksource.h +67 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceautocleanups.h +63 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcebuffer.h +279 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcecompletion.h +156 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcecompletioncontext.h +102 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcecompletioninfo.h +77 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcecompletionitem.h +92 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcecompletionproposal.h +126 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcecompletionprovider.h +166 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceencoding.h +74 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcefile.h +195 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcefileloader.h +140 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcefilesaver.h +168 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcegutter.h +93 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcegutterrenderer.h +272 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcegutterrendererpixbuf.h +91 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcegutterrenderertext.h +92 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceinit.h +40 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcelanguage.h +98 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcelanguagemanager.h +92 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcemap.h +70 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcemark.h +79 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcemarkattributes.h +112 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceprintcompositor.h +223 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceregion.h +127 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcesearchcontext.h +161 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcesearchsettings.h +100 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcespacedrawer.h +144 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcestyle.h +54 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcestylescheme.h +119 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcestyleschemechooser.h +66 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcestyleschemechooserbutton.h +64 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcestyleschemechooserwidget.h +64 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcestyleschememanager.h +100 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcetag.h +54 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourcetypes.h +73 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceundomanager.h +90 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceutils.h +41 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceversion.h +578 -0
- data/vendor/local/include/gtksourceview-4/gtksourceview/gtksourceview.h +266 -0
- data/vendor/local/lib/girepository-1.0/GtkSource-4.typelib +0 -0
- data/vendor/local/lib/libgtksourceview-4.dll.a +0 -0
- data/vendor/local/lib/libgtksourceview-4.la +41 -0
- data/vendor/local/lib/pkgconfig/gtksourceview-4.pc +12 -0
- data/vendor/local/share/gir-1.0/GtkSource-4.gir +12999 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceBuffer.html +2421 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletion.html +1087 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletionContext.html +402 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletionInfo.html +207 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletionItem.html +497 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletionProposal.html +668 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletionProvider.html +837 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceCompletionWords.html +343 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceEncoding.html +391 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceFile.html +769 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceFileLoader.html +780 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceFileSaver.html +965 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceGutter.html +438 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceGutterRenderer.html +1708 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceGutterRendererPixbuf.html +369 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceGutterRendererText.html +299 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceLanguage.html +579 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceLanguageManager.html +473 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceMap.html +254 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceMark.html +307 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceMarkAttributes.html +788 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourcePrintCompositor.html +2121 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceRegion.html +870 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceSearchContext.html +1216 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceSearchSettings.html +603 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceSpaceDrawer.html +671 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceStyle.html +433 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceStyleScheme.html +396 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceStyleSchemeChooser.html +214 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceStyleSchemeChooserButton.html +127 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceStyleSchemeChooserWidget.html +127 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceStyleSchemeManager.html +460 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceTag.html +179 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceUndoManager.html +460 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/GtkSourceView.html +2369 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/annexes.html +55 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/annotation-glossary.html +74 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-2-0.html +62 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-2-10.html +86 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-2-12.html +34 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-2-2.html +270 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-2-4.html +34 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-2-8.html +46 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-0.html +42 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-10.html +170 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-12.html +38 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-14.html +298 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-16.html +106 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-18.html +114 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-20.html +130 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-22.html +106 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-24.html +126 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-3-4.html +34 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-4-0.html +65 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-deprecated.html +30 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-index-full.html +2586 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/api-reference.html +174 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/completion.html +52 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/file-loading-and-saving.html +43 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/general.html +32 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/gtksourceview-4.0-GtkSourceUtils.html +151 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/gtksourceview-4.0-GtkSourceView-Initialization-and-Finalization.html +100 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/gtksourceview-4.0-Version-Information.html +511 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/gtksourceview-4.0.devhelp2 +819 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/gutter.html +49 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/index.html +215 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/intro.html +56 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/lang-reference.html +946 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/lang-tutorial.html +652 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/main-classes.html +37 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/misc.html +52 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/object-tree.html +98 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/porting-guide-3-to-4.html +152 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/porting-guide.html +33 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/printing.html +32 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/search-and-replace.html +37 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/style-reference.html +305 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/style.css +483 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/styling.html +49 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/syntax-highlighting-reference.html +49 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/syntax-highlighting.html +37 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-4.0/up.png +0 -0
- data/vendor/local/share/gtksourceview-4/language-specs/R.lang +2198 -0
- data/vendor/local/share/gtksourceview-4/language-specs/abnf.lang +109 -0
- data/vendor/local/share/gtksourceview-4/language-specs/actionscript.lang +267 -0
- data/vendor/local/share/gtksourceview-4/language-specs/ada.lang +220 -0
- data/vendor/local/share/gtksourceview-4/language-specs/ansforth94.lang +728 -0
- data/vendor/local/share/gtksourceview-4/language-specs/asp.lang +1096 -0
- data/vendor/local/share/gtksourceview-4/language-specs/automake.lang +329 -0
- data/vendor/local/share/gtksourceview-4/language-specs/awk.lang +137 -0
- data/vendor/local/share/gtksourceview-4/language-specs/bennugd.lang +266 -0
- data/vendor/local/share/gtksourceview-4/language-specs/bibtex.lang +120 -0
- data/vendor/local/share/gtksourceview-4/language-specs/bluespec.lang +187 -0
- data/vendor/local/share/gtksourceview-4/language-specs/boo.lang +256 -0
- data/vendor/local/share/gtksourceview-4/language-specs/c.lang +343 -0
- data/vendor/local/share/gtksourceview-4/language-specs/cg.lang +231 -0
- data/vendor/local/share/gtksourceview-4/language-specs/changelog.lang +91 -0
- data/vendor/local/share/gtksourceview-4/language-specs/chdr.lang +50 -0
- data/vendor/local/share/gtksourceview-4/language-specs/cmake.lang +817 -0
- data/vendor/local/share/gtksourceview-4/language-specs/cobol.lang +646 -0
- data/vendor/local/share/gtksourceview-4/language-specs/cpp.lang +119 -0
- data/vendor/local/share/gtksourceview-4/language-specs/cpphdr.lang +41 -0
- data/vendor/local/share/gtksourceview-4/language-specs/csharp.lang +285 -0
- data/vendor/local/share/gtksourceview-4/language-specs/css.lang +2411 -0
- data/vendor/local/share/gtksourceview-4/language-specs/csv.lang +73 -0
- data/vendor/local/share/gtksourceview-4/language-specs/cuda.lang +281 -0
- data/vendor/local/share/gtksourceview-4/language-specs/d.lang +317 -0
- data/vendor/local/share/gtksourceview-4/language-specs/def.lang +261 -0
- data/vendor/local/share/gtksourceview-4/language-specs/desktop.lang +297 -0
- data/vendor/local/share/gtksourceview-4/language-specs/diff.lang +84 -0
- data/vendor/local/share/gtksourceview-4/language-specs/docbook.lang +475 -0
- data/vendor/local/share/gtksourceview-4/language-specs/dosbatch.lang +166 -0
- data/vendor/local/share/gtksourceview-4/language-specs/dot.lang +139 -0
- data/vendor/local/share/gtksourceview-4/language-specs/dpatch.lang +47 -0
- data/vendor/local/share/gtksourceview-4/language-specs/dtd.lang +139 -0
- data/vendor/local/share/gtksourceview-4/language-specs/dtl.lang +297 -0
- data/vendor/local/share/gtksourceview-4/language-specs/eiffel.lang +238 -0
- data/vendor/local/share/gtksourceview-4/language-specs/erlang.lang +262 -0
- data/vendor/local/share/gtksourceview-4/language-specs/fcl.lang +113 -0
- data/vendor/local/share/gtksourceview-4/language-specs/forth.lang +234 -0
- data/vendor/local/share/gtksourceview-4/language-specs/fortran.lang +710 -0
- data/vendor/local/share/gtksourceview-4/language-specs/fsharp.lang +324 -0
- data/vendor/local/share/gtksourceview-4/language-specs/gap.lang +84 -0
- data/vendor/local/share/gtksourceview-4/language-specs/gdb-log.lang +151 -0
- data/vendor/local/share/gtksourceview-4/language-specs/genie.lang +237 -0
- data/vendor/local/share/gtksourceview-4/language-specs/glsl.lang +482 -0
- data/vendor/local/share/gtksourceview-4/language-specs/go.lang +274 -0
- data/vendor/local/share/gtksourceview-4/language-specs/groovy.lang +330 -0
- data/vendor/local/share/gtksourceview-4/language-specs/gtk-doc.lang +90 -0
- data/vendor/local/share/gtksourceview-4/language-specs/gtkrc.lang +115 -0
- data/vendor/local/share/gtksourceview-4/language-specs/haddock.lang +161 -0
- data/vendor/local/share/gtksourceview-4/language-specs/haskell-literate.lang +58 -0
- data/vendor/local/share/gtksourceview-4/language-specs/haskell.lang +227 -0
- data/vendor/local/share/gtksourceview-4/language-specs/haxe.lang +237 -0
- data/vendor/local/share/gtksourceview-4/language-specs/html.lang +286 -0
- data/vendor/local/share/gtksourceview-4/language-specs/idl-exelis.lang +619 -0
- data/vendor/local/share/gtksourceview-4/language-specs/idl.lang +153 -0
- data/vendor/local/share/gtksourceview-4/language-specs/imagej.lang +783 -0
- data/vendor/local/share/gtksourceview-4/language-specs/ini.lang +94 -0
- data/vendor/local/share/gtksourceview-4/language-specs/j.lang +239 -0
- data/vendor/local/share/gtksourceview-4/language-specs/jade.lang +248 -0
- data/vendor/local/share/gtksourceview-4/language-specs/java.lang +188 -0
- data/vendor/local/share/gtksourceview-4/language-specs/javascript.lang +354 -0
- data/vendor/local/share/gtksourceview-4/language-specs/json.lang +124 -0
- data/vendor/local/share/gtksourceview-4/language-specs/julia.lang +376 -0
- data/vendor/local/share/gtksourceview-4/language-specs/kotlin.lang +389 -0
- data/vendor/local/share/gtksourceview-4/language-specs/language.dtd +72 -0
- data/vendor/local/share/gtksourceview-4/language-specs/language.rng +372 -0
- data/vendor/local/share/gtksourceview-4/language-specs/language2.rng +481 -0
- data/vendor/local/share/gtksourceview-4/language-specs/latex.lang +636 -0
- data/vendor/local/share/gtksourceview-4/language-specs/less.lang +793 -0
- data/vendor/local/share/gtksourceview-4/language-specs/lex.lang +208 -0
- data/vendor/local/share/gtksourceview-4/language-specs/libtool.lang +55 -0
- data/vendor/local/share/gtksourceview-4/language-specs/llvm.lang +314 -0
- data/vendor/local/share/gtksourceview-4/language-specs/logcat.lang +107 -0
- data/vendor/local/share/gtksourceview-4/language-specs/lua.lang +301 -0
- data/vendor/local/share/gtksourceview-4/language-specs/m4.lang +1374 -0
- data/vendor/local/share/gtksourceview-4/language-specs/makefile.lang +190 -0
- data/vendor/local/share/gtksourceview-4/language-specs/mallard.lang +123 -0
- data/vendor/local/share/gtksourceview-4/language-specs/markdown.lang +401 -0
- data/vendor/local/share/gtksourceview-4/language-specs/matlab.lang +148 -0
- data/vendor/local/share/gtksourceview-4/language-specs/maxima.lang +1864 -0
- data/vendor/local/share/gtksourceview-4/language-specs/mediawiki.lang +326 -0
- data/vendor/local/share/gtksourceview-4/language-specs/meson.lang +132 -0
- data/vendor/local/share/gtksourceview-4/language-specs/modelica.lang +261 -0
- data/vendor/local/share/gtksourceview-4/language-specs/mxml.lang +64 -0
- data/vendor/local/share/gtksourceview-4/language-specs/nemerle.lang +262 -0
- data/vendor/local/share/gtksourceview-4/language-specs/netrexx.lang +318 -0
- data/vendor/local/share/gtksourceview-4/language-specs/nsis.lang +87 -0
- data/vendor/local/share/gtksourceview-4/language-specs/objc.lang +119 -0
- data/vendor/local/share/gtksourceview-4/language-specs/objj.lang +127 -0
- data/vendor/local/share/gtksourceview-4/language-specs/ocaml.lang +301 -0
- data/vendor/local/share/gtksourceview-4/language-specs/ocl.lang +138 -0
- data/vendor/local/share/gtksourceview-4/language-specs/octave.lang +1757 -0
- data/vendor/local/share/gtksourceview-4/language-specs/ooc.lang +264 -0
- data/vendor/local/share/gtksourceview-4/language-specs/opal.lang +342 -0
- data/vendor/local/share/gtksourceview-4/language-specs/opencl.lang +599 -0
- data/vendor/local/share/gtksourceview-4/language-specs/pascal.lang +267 -0
- data/vendor/local/share/gtksourceview-4/language-specs/perl.lang +1044 -0
- data/vendor/local/share/gtksourceview-4/language-specs/php.lang +362 -0
- data/vendor/local/share/gtksourceview-4/language-specs/pig.lang +292 -0
- data/vendor/local/share/gtksourceview-4/language-specs/pkgconfig.lang +61 -0
- data/vendor/local/share/gtksourceview-4/language-specs/po.lang +93 -0
- data/vendor/local/share/gtksourceview-4/language-specs/prolog.lang +248 -0
- data/vendor/local/share/gtksourceview-4/language-specs/protobuf.lang +134 -0
- data/vendor/local/share/gtksourceview-4/language-specs/puppet.lang +696 -0
- data/vendor/local/share/gtksourceview-4/language-specs/python.lang +475 -0
- data/vendor/local/share/gtksourceview-4/language-specs/python3.lang +198 -0
- data/vendor/local/share/gtksourceview-4/language-specs/rpmspec.lang +215 -0
- data/vendor/local/share/gtksourceview-4/language-specs/rst.lang +141 -0
- data/vendor/local/share/gtksourceview-4/language-specs/ruby.lang +748 -0
- data/vendor/local/share/gtksourceview-4/language-specs/rust.lang +334 -0
- data/vendor/local/share/gtksourceview-4/language-specs/scala.lang +383 -0
- data/vendor/local/share/gtksourceview-4/language-specs/scheme.lang +301 -0
- data/vendor/local/share/gtksourceview-4/language-specs/scilab.lang +208 -0
- data/vendor/local/share/gtksourceview-4/language-specs/scss.lang +878 -0
- data/vendor/local/share/gtksourceview-4/language-specs/sh.lang +516 -0
- data/vendor/local/share/gtksourceview-4/language-specs/sml.lang +200 -0
- data/vendor/local/share/gtksourceview-4/language-specs/sparql.lang +451 -0
- data/vendor/local/share/gtksourceview-4/language-specs/sql.lang +617 -0
- data/vendor/local/share/gtksourceview-4/language-specs/sweave.lang +66 -0
- data/vendor/local/share/gtksourceview-4/language-specs/swift.lang +440 -0
- data/vendor/local/share/gtksourceview-4/language-specs/systemverilog.lang +262 -0
- data/vendor/local/share/gtksourceview-4/language-specs/t2t.lang +149 -0
- data/vendor/local/share/gtksourceview-4/language-specs/tcl.lang +145 -0
- data/vendor/local/share/gtksourceview-4/language-specs/tera.lang +142 -0
- data/vendor/local/share/gtksourceview-4/language-specs/texinfo.lang +447 -0
- data/vendor/local/share/gtksourceview-4/language-specs/thrift.lang +266 -0
- data/vendor/local/share/gtksourceview-4/language-specs/toml.lang +282 -0
- data/vendor/local/share/gtksourceview-4/language-specs/vala.lang +411 -0
- data/vendor/local/share/gtksourceview-4/language-specs/vbnet.lang +247 -0
- data/vendor/local/share/gtksourceview-4/language-specs/verilog.lang +475 -0
- data/vendor/local/share/gtksourceview-4/language-specs/vhdl.lang +247 -0
- data/vendor/local/share/gtksourceview-4/language-specs/xml.lang +219 -0
- data/vendor/local/share/gtksourceview-4/language-specs/xslt.lang +120 -0
- data/vendor/local/share/gtksourceview-4/language-specs/yacc.lang +176 -0
- data/vendor/local/share/gtksourceview-4/language-specs/yaml.lang +213 -0
- data/vendor/local/share/gtksourceview-4/styles/classic.xml +122 -0
- data/vendor/local/share/gtksourceview-4/styles/cobalt.xml +150 -0
- data/vendor/local/share/gtksourceview-4/styles/kate.xml +171 -0
- data/vendor/local/share/gtksourceview-4/styles/oblivion.xml +133 -0
- data/vendor/local/share/gtksourceview-4/styles/solarized-dark.xml +103 -0
- data/vendor/local/share/gtksourceview-4/styles/solarized-light.xml +102 -0
- data/vendor/local/share/gtksourceview-4/styles/styles.rng +139 -0
- data/vendor/local/share/gtksourceview-4/styles/tango.xml +130 -0
- data/vendor/local/share/license/gtksourceview/AUTHORS +15 -0
- data/vendor/local/share/license/gtksourceview/COPYING +504 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/az/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/bn/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/bs/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/cy/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/dz/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/en@shaw/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/fur/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/kk/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/mai/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/mg/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/mn/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/ms/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/ne/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/rw/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/si/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/sq/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/tg/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/xh/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gtksourceview-4.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gtksourceview-4.mo +0 -0
- metadata +437 -0
@@ -0,0 +1,362 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!--
|
3
|
+
|
4
|
+
This file is part of GtkSourceView
|
5
|
+
|
6
|
+
Author: Francesco Gigli <jaramir@aruba.it>
|
7
|
+
Copyright (C) 2003 Francesco Gigli <jaramir@aruba.it>
|
8
|
+
Copyright (C) 2004 David A Knight <david@ritter.demon.co.uk>
|
9
|
+
Copyright (C) 2006 Steve Frécinaux <steve@istique.net>
|
10
|
+
Copyright (C) 2007 Patryk Zawadzki <patrys@pld-linux.org>
|
11
|
+
Copyright (C) 2007 Eric Norige <thelema@swbell.net>
|
12
|
+
Copyright (C) 2012 Christopher Blay <chris.b.blay@gmail.com>
|
13
|
+
|
14
|
+
GtkSourceView is free software; you can redistribute it and/or
|
15
|
+
modify it under the terms of the GNU Lesser General Public
|
16
|
+
License as published by the Free Software Foundation; either
|
17
|
+
version 2.1 of the License, or (at your option) any later version.
|
18
|
+
|
19
|
+
GtkSourceView is distributed in the hope that it will be useful,
|
20
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
21
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
22
|
+
Lesser General Public License for more details.
|
23
|
+
|
24
|
+
You should have received a copy of the GNU Lesser General Public License
|
25
|
+
along with this library; if not, see <http://www.gnu.org/licenses/>.
|
26
|
+
|
27
|
+
-->
|
28
|
+
<language id="php" name="PHP" version="2.0" _section="Script">
|
29
|
+
<metadata>
|
30
|
+
<property name="mimetypes">text/x-php;application/x-php;text/x-php-source;application/x-php-source</property>
|
31
|
+
<property name="globs">*.php;*.php3;*.php4;*.phtml</property>
|
32
|
+
<property name="line-comment-start">//</property>
|
33
|
+
<property name="block-comment-start">/*</property>
|
34
|
+
<property name="block-comment-end">*/</property>
|
35
|
+
</metadata>
|
36
|
+
|
37
|
+
<styles>
|
38
|
+
<style id="preprocessor" name="Preprocessor tags" map-to="def:preprocessor"/>
|
39
|
+
<style id="comment" name="Comment" map-to="def:comment"/>
|
40
|
+
<style id="error" name="Error" map-to="def:error"/>
|
41
|
+
<style id="variable" name="Variable" map-to="def:identifier"/>
|
42
|
+
<style id="identifier" name="Identifier"/> <!-- map to nothing -->
|
43
|
+
<style id="escape" name="Escaped Character" map-to="def:special-char"/>
|
44
|
+
<style id="string" name="String" map-to="def:string"/>
|
45
|
+
<style id="here-doc" name="Heredoc" map-to="def:string"/>
|
46
|
+
<style id="here-doc-bound" name="Heredoc Bound" map-to="def:keyword"/>
|
47
|
+
<style id="keyword" name="Keyword" map-to="def:keyword"/>
|
48
|
+
<style id="common-function" name="Common Function" map-to="def:keyword"/>
|
49
|
+
<style id="operator" name="Operator" map-to="def:operator"/>
|
50
|
+
<style id="type" name="Data Type" map-to="def:type"/>
|
51
|
+
<style id="null-value" name="Null Value" map-to="def:special-constant"/>
|
52
|
+
<style id="boolean" name="Boolean value" map-to="def:boolean"/>
|
53
|
+
<style id="floating-point" name="Floating point number" map-to="def:floating-point"/>
|
54
|
+
<style id="decimal" name="Decimal number" map-to="def:decimal"/>
|
55
|
+
<style id="octal" name="Octal number" map-to="def:base-n-integer"/>
|
56
|
+
<style id="hexadecimal" name="Hexadecimal number" map-to="def:base-n-integer"/>
|
57
|
+
</styles>
|
58
|
+
|
59
|
+
<definitions>
|
60
|
+
|
61
|
+
<context id="bash-line-comment" style-ref="comment" end-at-line-end="true" extend-parent="false" class="comment" class-disabled="no-spell-check">
|
62
|
+
<start>#</start>
|
63
|
+
<include>
|
64
|
+
<context ref="def:in-line-comment"/>
|
65
|
+
</include>
|
66
|
+
</context>
|
67
|
+
|
68
|
+
<context id="cpp-line-comment" style-ref="comment" end-at-line-end="true" extend-parent="false" class="comment" class-disabled="no-spell-check">
|
69
|
+
<start>//</start>
|
70
|
+
<include>
|
71
|
+
<context ref="def:in-line-comment"/>
|
72
|
+
</include>
|
73
|
+
</context>
|
74
|
+
|
75
|
+
<context id="c-block-comment" style-ref="comment" class="comment" class-disabled="no-spell-check">
|
76
|
+
<start>/\*</start>
|
77
|
+
<end>\*/</end>
|
78
|
+
<include>
|
79
|
+
<context ref="def:in-line-comment"/>
|
80
|
+
</include>
|
81
|
+
</context>
|
82
|
+
|
83
|
+
<context id="close-comment-outside-comment" style-ref="error">
|
84
|
+
<match>\*/(?!\*)</match>
|
85
|
+
</context>
|
86
|
+
|
87
|
+
<context id="escape" style-ref="escape">
|
88
|
+
<match>\\((\\|"|n|t|\$|r)|[0-7]{1,3}|x[0-9a-fA-F]{1,2})</match>
|
89
|
+
</context>
|
90
|
+
|
91
|
+
<context id="variable" style-ref="variable">
|
92
|
+
<match>[$]+[a-zA-Z_][a-zA-Z0-9_]*</match>
|
93
|
+
</context>
|
94
|
+
|
95
|
+
<context id="array-operators" style-ref="variable">
|
96
|
+
<match>(\[|\])</match>
|
97
|
+
</context>
|
98
|
+
|
99
|
+
<context id="string-var">
|
100
|
+
<include>
|
101
|
+
<context ref="variable"/>
|
102
|
+
<context id="curly-var" style-ref="variable" >
|
103
|
+
<start>{(?=\$)</start>
|
104
|
+
<end>}</end>
|
105
|
+
<include>
|
106
|
+
<context ref="string-var"/>
|
107
|
+
</include>
|
108
|
+
</context>
|
109
|
+
<context id="backwards-curly-var" style-ref="variable">
|
110
|
+
<start>\${</start>
|
111
|
+
<end>}</end>
|
112
|
+
<include>
|
113
|
+
<context ref="string-var"/>
|
114
|
+
</include>
|
115
|
+
</context>
|
116
|
+
</include>
|
117
|
+
</context>
|
118
|
+
|
119
|
+
<context id="double-quoted-string" style-ref="string" class="string" class-disabled="no-spell-check">
|
120
|
+
<start>"</start>
|
121
|
+
<end>"</end>
|
122
|
+
<include>
|
123
|
+
<context ref="escape"/>
|
124
|
+
<context ref="string-var"/>
|
125
|
+
<context ref="def:line-continue"/>
|
126
|
+
</include>
|
127
|
+
</context>
|
128
|
+
|
129
|
+
<context id="single-quoted-string" style-ref="string" class="string" class-disabled="no-spell-check">
|
130
|
+
<start>'</start>
|
131
|
+
<end>'</end>
|
132
|
+
<include>
|
133
|
+
<context style-ref="def:special-char">
|
134
|
+
<match>\\['\\]</match>
|
135
|
+
</context>
|
136
|
+
<context ref="def:line-continue"/>
|
137
|
+
</include>
|
138
|
+
</context>
|
139
|
+
|
140
|
+
<context id="backtick-string" style-ref="string" extend-parent="false">
|
141
|
+
<start>`</start>
|
142
|
+
<end>`</end>
|
143
|
+
<include>
|
144
|
+
<context ref="escape"/>
|
145
|
+
<context ref="def:line-continue"/>
|
146
|
+
</include>
|
147
|
+
</context>
|
148
|
+
|
149
|
+
<context id="here-doc-string" style-ref="here-doc" extend-parent="true">
|
150
|
+
<start>(<<<)\s?([a-zA-Z_][a-zA-Z0-9_]*)</start>
|
151
|
+
<end>^(\%{2@start});?$</end>
|
152
|
+
<include>
|
153
|
+
<context sub-pattern="0" where="start" style-ref="here-doc-bound"/>
|
154
|
+
<context sub-pattern="1" where="end" style-ref="here-doc-bound"/>
|
155
|
+
<context ref="escape"/>
|
156
|
+
<context ref="string-var"/>
|
157
|
+
<context ref="def:line-continue"/>
|
158
|
+
</include>
|
159
|
+
</context>
|
160
|
+
|
161
|
+
<context id="now-doc-string" style-ref="here-doc" extend-parent="true">
|
162
|
+
<start>(<<<)\s?'([a-zA-Z_][a-zA-Z0-9_]*)'</start>
|
163
|
+
<end>^(\%{2@start});?$</end>
|
164
|
+
<include>
|
165
|
+
<context sub-pattern="0" where="start" style-ref="here-doc-bound"/>
|
166
|
+
<context sub-pattern="1" where="end" style-ref="here-doc-bound"/>
|
167
|
+
<context style-ref="def:special-char">
|
168
|
+
<match>\\['\\]</match>
|
169
|
+
</context>
|
170
|
+
<context ref="def:line-continue"/>
|
171
|
+
</include>
|
172
|
+
</context>
|
173
|
+
|
174
|
+
<context id="identifier" style-ref="identifier">
|
175
|
+
<match>[a-zA-Z_][a-zA-Z0-9_]*</match>
|
176
|
+
</context>
|
177
|
+
|
178
|
+
<context id="keywords" style-ref="keyword">
|
179
|
+
<keyword>abstract</keyword>
|
180
|
+
<keyword>and</keyword>
|
181
|
+
<keyword>as</keyword>
|
182
|
+
<keyword>break</keyword>
|
183
|
+
<keyword>case</keyword>
|
184
|
+
<keyword>catch</keyword>
|
185
|
+
<keyword>class</keyword>
|
186
|
+
<keyword>clone</keyword>
|
187
|
+
<keyword>const</keyword>
|
188
|
+
<keyword>continue</keyword>
|
189
|
+
<keyword>declare</keyword>
|
190
|
+
<keyword>default</keyword>
|
191
|
+
<keyword>die</keyword>
|
192
|
+
<keyword>do</keyword>
|
193
|
+
<keyword>echo</keyword>
|
194
|
+
<keyword>else</keyword>
|
195
|
+
<keyword>elseif</keyword>
|
196
|
+
<keyword>empty</keyword>
|
197
|
+
<keyword>enddeclare</keyword>
|
198
|
+
<keyword>endfor</keyword>
|
199
|
+
<keyword>endforeach</keyword>
|
200
|
+
<keyword>endif</keyword>
|
201
|
+
<keyword>endswitch</keyword>
|
202
|
+
<keyword>endwhile</keyword>
|
203
|
+
<keyword>eval</keyword>
|
204
|
+
<keyword>exit</keyword>
|
205
|
+
<keyword>extends</keyword>
|
206
|
+
<keyword>final</keyword>
|
207
|
+
<keyword>finally</keyword>
|
208
|
+
<keyword>for</keyword>
|
209
|
+
<keyword>foreach</keyword>
|
210
|
+
<keyword>function</keyword>
|
211
|
+
<keyword>global</keyword>
|
212
|
+
<keyword>goto</keyword>
|
213
|
+
<keyword>if</keyword>
|
214
|
+
<keyword>implements</keyword>
|
215
|
+
<keyword>include</keyword>
|
216
|
+
<keyword>include_once</keyword>
|
217
|
+
<keyword>instanceof</keyword>
|
218
|
+
<keyword>insteadof</keyword>
|
219
|
+
<keyword>interface</keyword>
|
220
|
+
<keyword>isset</keyword>
|
221
|
+
<keyword>list</keyword>
|
222
|
+
<keyword>namespace</keyword>
|
223
|
+
<keyword>new</keyword>
|
224
|
+
<keyword>or</keyword>
|
225
|
+
<keyword>print</keyword>
|
226
|
+
<keyword>private</keyword>
|
227
|
+
<keyword>protected</keyword>
|
228
|
+
<keyword>public</keyword>
|
229
|
+
<keyword>require</keyword>
|
230
|
+
<keyword>require_once</keyword>
|
231
|
+
<keyword>return</keyword>
|
232
|
+
<keyword>static</keyword>
|
233
|
+
<keyword>switch</keyword>
|
234
|
+
<keyword>throw</keyword>
|
235
|
+
<keyword>trait</keyword>
|
236
|
+
<keyword>try</keyword>
|
237
|
+
<keyword>unset</keyword>
|
238
|
+
<keyword>use</keyword>
|
239
|
+
<keyword>var</keyword>
|
240
|
+
<keyword>while</keyword>
|
241
|
+
<keyword>xor</keyword>
|
242
|
+
<keyword>yield</keyword>
|
243
|
+
</context>
|
244
|
+
|
245
|
+
<context id="common-function" style-ref="keyword">
|
246
|
+
<keyword>doubleval</keyword>
|
247
|
+
<keyword>floatval</keyword>
|
248
|
+
<keyword>gettype</keyword>
|
249
|
+
<keyword>intval</keyword>
|
250
|
+
<keyword>print_r</keyword>
|
251
|
+
<keyword>serialize</keyword>
|
252
|
+
<keyword>settype</keyword>
|
253
|
+
<keyword>strval</keyword>
|
254
|
+
<keyword>unserialize</keyword>
|
255
|
+
<keyword>var_dump</keyword>
|
256
|
+
<keyword>var_export</keyword>
|
257
|
+
</context>
|
258
|
+
|
259
|
+
<context id="operators" style-ref="operator" extend-parent="false">
|
260
|
+
<match>[-.~^@,;:/%|\=\+\*\!\?&<>()]</match>
|
261
|
+
</context>
|
262
|
+
|
263
|
+
<context id="type" style-ref="type">
|
264
|
+
<keyword>array</keyword>
|
265
|
+
<keyword>bool</keyword>
|
266
|
+
<keyword>boolean</keyword>
|
267
|
+
<keyword>callable</keyword>
|
268
|
+
<keyword>double</keyword>
|
269
|
+
<keyword>float</keyword>
|
270
|
+
<keyword>int</keyword>
|
271
|
+
<keyword>integer</keyword>
|
272
|
+
<keyword>numeric</keyword>
|
273
|
+
<keyword>object</keyword>
|
274
|
+
<keyword>resource</keyword>
|
275
|
+
<keyword>string</keyword>
|
276
|
+
<keyword>unset</keyword>
|
277
|
+
</context>
|
278
|
+
|
279
|
+
<context id="null-value" style-ref="null-value">
|
280
|
+
<prefix>(?i)\b</prefix> <!-- case insensitive -->
|
281
|
+
<keyword>null</keyword>
|
282
|
+
</context>
|
283
|
+
|
284
|
+
<context id="boolean" style-ref="boolean">
|
285
|
+
<prefix>(?i)\b</prefix> <!-- case insensitive -->
|
286
|
+
<keyword>false</keyword>
|
287
|
+
<keyword>true</keyword>
|
288
|
+
</context>
|
289
|
+
|
290
|
+
<context id="float" style-ref="floating-point">
|
291
|
+
<match extended="true">
|
292
|
+
(?<![\w\.])
|
293
|
+
([0-9]+[Ee][+-]?[0-9]+ |
|
294
|
+
([0-9]*\.[0-9]+ | [0-9]+\.[0-9]*)([Ee][+-]?[0-9]+)?)
|
295
|
+
(?![\w\.])
|
296
|
+
</match>
|
297
|
+
</context>
|
298
|
+
|
299
|
+
<context id="decimal-number" style-ref="decimal">
|
300
|
+
<match extended="true">
|
301
|
+
(?<![\w\.])
|
302
|
+
[+-]?([1-9][0-9]*|0)
|
303
|
+
(?![\w\.])
|
304
|
+
</match>
|
305
|
+
</context>
|
306
|
+
|
307
|
+
<context id="octal-number" style-ref="octal">
|
308
|
+
<match extended="true">
|
309
|
+
(?<![\w\.])
|
310
|
+
[+-]?0[0-7]+
|
311
|
+
(?![\w\.])
|
312
|
+
</match>
|
313
|
+
</context>
|
314
|
+
|
315
|
+
<context id="hexadecimal-number" style-ref="hexadecimal">
|
316
|
+
<match extended="true">
|
317
|
+
(?<![\w\.])
|
318
|
+
[+-]?0x[0-9a-fA-F]+
|
319
|
+
(?![\w\.])
|
320
|
+
</match>
|
321
|
+
</context>
|
322
|
+
|
323
|
+
<context id="php-block">
|
324
|
+
<start><([?](php)?)</start>
|
325
|
+
<end>[?]></end>
|
326
|
+
<include>
|
327
|
+
<context sub-pattern="0" where="start" style-ref="preprocessor"/>
|
328
|
+
<context sub-pattern="0" where="end" style-ref="preprocessor"/>
|
329
|
+
<context ref="cpp-line-comment"/>
|
330
|
+
<context ref="bash-line-comment"/>
|
331
|
+
<context ref="c-block-comment"/>
|
332
|
+
<context ref="double-quoted-string"/>
|
333
|
+
<context ref="single-quoted-string"/>
|
334
|
+
<context ref="backtick-string"/>
|
335
|
+
<context ref="here-doc-string"/>
|
336
|
+
<context ref="now-doc-string"/>
|
337
|
+
<context ref="variable"/>
|
338
|
+
<context ref="array-operators"/>
|
339
|
+
<context ref="keywords"/>
|
340
|
+
<context ref="operators"/>
|
341
|
+
<context ref="type"/>
|
342
|
+
<context ref="null-value"/>
|
343
|
+
<context ref="boolean"/>
|
344
|
+
<context ref="float"/>
|
345
|
+
<context ref="decimal-number"/>
|
346
|
+
<context ref="octal-number"/>
|
347
|
+
<context ref="hexadecimal-number"/>
|
348
|
+
<context ref="identifier"/>
|
349
|
+
</include>
|
350
|
+
</context>
|
351
|
+
|
352
|
+
<replace id="html:embedded-lang-hook" ref="php-block"/>
|
353
|
+
|
354
|
+
<context id="php" class="no-spell-check">
|
355
|
+
<include>
|
356
|
+
<context ref="php-block"/>
|
357
|
+
<context ref="html:html"/>
|
358
|
+
</include>
|
359
|
+
</context>
|
360
|
+
|
361
|
+
</definitions>
|
362
|
+
</language>
|
@@ -0,0 +1,292 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!--
|
3
|
+
|
4
|
+
This file is part of GtkSourceView
|
5
|
+
|
6
|
+
Syntax highlighting for Pig Latin 0.15
|
7
|
+
|
8
|
+
Author: Eyal Allweil <eallweil@paypal.com>
|
9
|
+
Copyright (C) 2014-2015 Eyal Allweil <eallweil@paypal.com>
|
10
|
+
|
11
|
+
GtkSourceView is free software; you can redistribute it and/or
|
12
|
+
modify it under the terms of the GNU Lesser General Public
|
13
|
+
License as published by the Free Software Foundation; either
|
14
|
+
version 2.1 of the License, or (at your option) any later version.
|
15
|
+
|
16
|
+
GtkSourceView is distributed in the hope that it will be useful,
|
17
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
18
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
19
|
+
Lesser General Public License for more details.
|
20
|
+
|
21
|
+
You should have received a copy of the GNU Lesser General Public License
|
22
|
+
along with this library; if not, see <http://www.gnu.org/licenses/>.
|
23
|
+
|
24
|
+
-->
|
25
|
+
|
26
|
+
<language id="pig" name="Pig" version="2.0" _section="Source">
|
27
|
+
<metadata>
|
28
|
+
<property name="globs">*.pig</property>
|
29
|
+
<property name="line-comment-start">--</property>
|
30
|
+
<property name="block-comment-start">/*</property>
|
31
|
+
<property name="block-comment-end">*/</property>
|
32
|
+
</metadata>
|
33
|
+
|
34
|
+
<styles>
|
35
|
+
<style id="datatype" name="Data Type" map-to="def:type" />
|
36
|
+
<style id="reserved-words" name="Reserved Words" map-to="def:keyword" />
|
37
|
+
<style id="builtin-functions" name="Built In Functions" map-to="def:function" />
|
38
|
+
<style id="boolean" name="Boolean values" map-to="def:boolean" />
|
39
|
+
<style id="null" name="Null" map-to="def:special-constant" />
|
40
|
+
<style id="comment" name="Comment" map-to="def:comment" />
|
41
|
+
</styles>
|
42
|
+
|
43
|
+
<default-regex-options case-sensitive="true" />
|
44
|
+
|
45
|
+
<definitions>
|
46
|
+
|
47
|
+
<context id="datatype" style-ref="datatype">
|
48
|
+
<prefix>(?i)</prefix>
|
49
|
+
<keyword>int</keyword>
|
50
|
+
<keyword>long</keyword>
|
51
|
+
<keyword>float</keyword>
|
52
|
+
<keyword>double</keyword>
|
53
|
+
<keyword>boolean</keyword>
|
54
|
+
<keyword>datetime</keyword>
|
55
|
+
<keyword>chararray</keyword>
|
56
|
+
<keyword>bytearray</keyword>
|
57
|
+
<keyword>biginteger</keyword>
|
58
|
+
<keyword>bigdecimal</keyword>
|
59
|
+
</context>
|
60
|
+
|
61
|
+
<context id="boolean-literal" style-ref="boolean">
|
62
|
+
<keyword>false</keyword>
|
63
|
+
<keyword>true</keyword>
|
64
|
+
</context>
|
65
|
+
|
66
|
+
<!-- Treat as literal despite it being a reserved word -->
|
67
|
+
<context id="null" style-ref="null">
|
68
|
+
<keyword>null</keyword>
|
69
|
+
</context>
|
70
|
+
|
71
|
+
<context id="line-comment" style-ref="comment"
|
72
|
+
end-at-line-end="true" class="comment" class-disabled="no-spell-check">
|
73
|
+
<start>--</start>
|
74
|
+
<include>
|
75
|
+
<context ref="def:in-line-comment" />
|
76
|
+
</include>
|
77
|
+
</context>
|
78
|
+
|
79
|
+
<!-- These are case-insensitive -->
|
80
|
+
<context id="reserved-words" style-ref="reserved-words">
|
81
|
+
<prefix>(?i)</prefix>
|
82
|
+
<keyword>and</keyword>
|
83
|
+
<keyword>any</keyword>
|
84
|
+
<keyword>all</keyword>
|
85
|
+
<keyword>arrange</keyword>
|
86
|
+
<keyword>assert</keyword>
|
87
|
+
<keyword>asc</keyword>
|
88
|
+
<keyword>as</keyword>
|
89
|
+
<keyword>bag</keyword>
|
90
|
+
<keyword>by</keyword>
|
91
|
+
<keyword>cache</keyword>
|
92
|
+
<keyword>case</keyword>
|
93
|
+
<keyword>cat</keyword>
|
94
|
+
<keyword>cd</keyword>
|
95
|
+
<keyword>cogroup</keyword>
|
96
|
+
<keyword>copyfromlocal</keyword>
|
97
|
+
<keyword>copytolocal</keyword>
|
98
|
+
<keyword>cp</keyword>
|
99
|
+
<keyword>cross</keyword>
|
100
|
+
<keyword>cube</keyword>
|
101
|
+
<keyword>%declare</keyword>
|
102
|
+
<keyword>%default</keyword>
|
103
|
+
<keyword>define</keyword>
|
104
|
+
<keyword>describe</keyword>
|
105
|
+
<keyword>desc</keyword>
|
106
|
+
<keyword>dense</keyword>
|
107
|
+
<keyword>diff</keyword>
|
108
|
+
<keyword>distinct</keyword>
|
109
|
+
<keyword>dump</keyword>
|
110
|
+
<keyword>du</keyword>
|
111
|
+
<keyword>eval</keyword>
|
112
|
+
<keyword>exec</keyword>
|
113
|
+
<keyword>explain</keyword>
|
114
|
+
<keyword>filter</keyword>
|
115
|
+
<keyword>flatten</keyword>
|
116
|
+
<keyword>foreach</keyword>
|
117
|
+
<keyword>full</keyword>
|
118
|
+
<keyword>generate</keyword>
|
119
|
+
<keyword>group</keyword>
|
120
|
+
<keyword>help</keyword>
|
121
|
+
<keyword>if</keyword>
|
122
|
+
<keyword>illustrate</keyword>
|
123
|
+
<keyword>import</keyword>
|
124
|
+
<keyword>inner</keyword>
|
125
|
+
<keyword>input</keyword>
|
126
|
+
<keyword>into</keyword>
|
127
|
+
<keyword>is</keyword>
|
128
|
+
<keyword>join</keyword>
|
129
|
+
<keyword>kill</keyword>
|
130
|
+
<keyword>left</keyword>
|
131
|
+
<keyword>limit</keyword>
|
132
|
+
<keyword>load</keyword>
|
133
|
+
<keyword>ls</keyword>
|
134
|
+
<keyword>map</keyword>
|
135
|
+
<keyword>matches</keyword>
|
136
|
+
<keyword>mkdir</keyword>
|
137
|
+
<keyword>mv</keyword>
|
138
|
+
<keyword>not</keyword>
|
139
|
+
<keyword>onschema</keyword>
|
140
|
+
<keyword>order</keyword>
|
141
|
+
<keyword>or</keyword>
|
142
|
+
<keyword>outer</keyword>
|
143
|
+
<keyword>output</keyword>
|
144
|
+
<keyword>parallel</keyword>
|
145
|
+
<keyword>pig</keyword>
|
146
|
+
<keyword>pwd</keyword>
|
147
|
+
<keyword>quit</keyword>
|
148
|
+
<keyword>rank</keyword>
|
149
|
+
<keyword>register</keyword>
|
150
|
+
<keyword>returns</keyword>
|
151
|
+
<keyword>right</keyword>
|
152
|
+
<keyword>rmf</keyword>
|
153
|
+
<keyword>rm</keyword>
|
154
|
+
<keyword>rollup</keyword>
|
155
|
+
<keyword>run</keyword>
|
156
|
+
<keyword>sample</keyword>
|
157
|
+
<keyword>set</keyword>
|
158
|
+
<keyword>ship</keyword>
|
159
|
+
<keyword>split</keyword>
|
160
|
+
<keyword>stderr</keyword>
|
161
|
+
<keyword>stdin</keyword>
|
162
|
+
<keyword>stdout</keyword>
|
163
|
+
<keyword>store</keyword>
|
164
|
+
<keyword>stream</keyword>
|
165
|
+
<keyword>through</keyword>
|
166
|
+
<keyword>tuple</keyword>
|
167
|
+
<keyword>union</keyword>
|
168
|
+
<keyword>using</keyword>
|
169
|
+
<keyword>void</keyword>
|
170
|
+
</context>
|
171
|
+
|
172
|
+
<context id="builtin-functions" style-ref="builtin-functions">
|
173
|
+
<keyword>ABS</keyword>
|
174
|
+
<keyword>ACOS</keyword>
|
175
|
+
<keyword>AccumuloStorage</keyword>
|
176
|
+
<keyword>AddDuration</keyword>
|
177
|
+
<keyword>ASIN</keyword>
|
178
|
+
<keyword>ATAN</keyword>
|
179
|
+
<keyword>AVG</keyword>
|
180
|
+
<keyword>AvroStorage</keyword>
|
181
|
+
<keyword>BagToString</keyword>
|
182
|
+
<keyword>BinStorage</keyword>
|
183
|
+
<keyword>CBRT</keyword>
|
184
|
+
<keyword>CEIL</keyword>
|
185
|
+
<keyword>CONCAT</keyword>
|
186
|
+
<keyword>COSH</keyword>
|
187
|
+
<keyword>COS</keyword>
|
188
|
+
<keyword>COUNT_STAR</keyword>
|
189
|
+
<keyword>COUNT</keyword>
|
190
|
+
<keyword>CurrentTime</keyword>
|
191
|
+
<keyword>DaysBetween</keyword>
|
192
|
+
<keyword>DIFF</keyword>
|
193
|
+
<keyword>ENDSWITH</keyword>
|
194
|
+
<keyword>EqualsIgnoreCase</keyword>
|
195
|
+
<keyword>EXP</keyword>
|
196
|
+
<keyword>FLOOR</keyword>
|
197
|
+
<keyword>GetDay</keyword>
|
198
|
+
<keyword>GetHour</keyword>
|
199
|
+
<keyword>GetMilliSecond</keyword>
|
200
|
+
<keyword>GetMinute</keyword>
|
201
|
+
<keyword>GetMonth</keyword>
|
202
|
+
<keyword>GetSecond</keyword>
|
203
|
+
<keyword>GetWeek</keyword>
|
204
|
+
<keyword>GetWeekYear</keyword>
|
205
|
+
<keyword>GetYear</keyword>
|
206
|
+
<keyword>HBaseStorage</keyword>
|
207
|
+
<keyword>HiveUDAF</keyword>
|
208
|
+
<keyword>HiveUDF</keyword>
|
209
|
+
<keyword>HiveUDTF</keyword>
|
210
|
+
<keyword>HoursBetween</keyword>
|
211
|
+
<keyword>INDEXOF</keyword>
|
212
|
+
<keyword>IsEmpty</keyword>
|
213
|
+
<keyword>JsonLoader</keyword>
|
214
|
+
<keyword>JsonStorage</keyword>
|
215
|
+
<keyword>LAST_INDEX_OF</keyword>
|
216
|
+
<keyword>LCFIRST</keyword>
|
217
|
+
<keyword>LOG10</keyword>
|
218
|
+
<keyword>LOG</keyword>
|
219
|
+
<keyword>LOWER</keyword>
|
220
|
+
<keyword>LTRIM</keyword>
|
221
|
+
<keyword>MAX</keyword>
|
222
|
+
<keyword>MilliSecondsBetween</keyword>
|
223
|
+
<keyword>MIN</keyword>
|
224
|
+
<keyword>MinutesBetween</keyword>
|
225
|
+
<keyword>MonthsBetween</keyword>
|
226
|
+
<keyword>OrcStorage</keyword>
|
227
|
+
<keyword>PigDump</keyword>
|
228
|
+
<keyword>PigStorage</keyword>
|
229
|
+
<keyword>PluckTuple</keyword>
|
230
|
+
<keyword>RANDOM</keyword>
|
231
|
+
<keyword>REGEX_EXTRACT_ALL</keyword>
|
232
|
+
<keyword>REGEX_EXTRACT</keyword>
|
233
|
+
<keyword>REPLACE</keyword>
|
234
|
+
<keyword>ROUND_TO</keyword>
|
235
|
+
<keyword>ROUND</keyword>
|
236
|
+
<keyword>RTRIM</keyword>
|
237
|
+
<keyword>SecondsBetween</keyword>
|
238
|
+
<keyword>SINH</keyword>
|
239
|
+
<keyword>SIN</keyword>
|
240
|
+
<keyword>SIZE</keyword>
|
241
|
+
<keyword>SPRINTF</keyword>
|
242
|
+
<keyword>SQRT</keyword>
|
243
|
+
<keyword>STARTSWITH</keyword>
|
244
|
+
<keyword>STRSPLITTOBAG</keyword>
|
245
|
+
<keyword>STRSPLIT</keyword>
|
246
|
+
<keyword>SUBSTRING</keyword>
|
247
|
+
<keyword>SubtractDuration</keyword>
|
248
|
+
<keyword>SUBTRACT</keyword>
|
249
|
+
<keyword>SUM</keyword>
|
250
|
+
<keyword>TANH</keyword>
|
251
|
+
<keyword>TAN</keyword>
|
252
|
+
<keyword>Terms</keyword>
|
253
|
+
<keyword>TextLoader</keyword>
|
254
|
+
<keyword>TOBAG</keyword>
|
255
|
+
<keyword>ToDate</keyword>
|
256
|
+
<keyword>TOKENIZE</keyword>
|
257
|
+
<keyword>TOMAP</keyword>
|
258
|
+
<keyword>ToMilliSeconds</keyword>
|
259
|
+
<keyword>TOP</keyword>
|
260
|
+
<keyword>ToString</keyword>
|
261
|
+
<keyword>TOTUPLE</keyword>
|
262
|
+
<keyword>ToUnixTime</keyword>
|
263
|
+
<keyword>TRIM</keyword>
|
264
|
+
<keyword>TrevniStrorage</keyword>
|
265
|
+
<keyword>UCFIRST</keyword>
|
266
|
+
<keyword>UniqueID</keyword>
|
267
|
+
<keyword>UPPER</keyword>
|
268
|
+
<keyword>Usage</keyword>
|
269
|
+
<keyword>WeeksBetween</keyword>
|
270
|
+
<keyword>YearsBetween</keyword>
|
271
|
+
</context>
|
272
|
+
|
273
|
+
<context id="pig" class="no-spell-check">
|
274
|
+
<include>
|
275
|
+
<context ref="def:decimal" />
|
276
|
+
<context ref="def:float" />
|
277
|
+
<context ref="def:string" />
|
278
|
+
<context ref="def:single-quoted-string" />
|
279
|
+
<context ref="def:c-like-close-comment-outside-comment" />
|
280
|
+
<context ref="def:c-like-comment-multiline" />
|
281
|
+
|
282
|
+
<context ref="datatype" />
|
283
|
+
<context ref="line-comment" />
|
284
|
+
<context ref="reserved-words" />
|
285
|
+
<context ref="builtin-functions" />
|
286
|
+
<context ref="boolean-literal" />
|
287
|
+
<context ref="null" />
|
288
|
+
</include>
|
289
|
+
</context>
|
290
|
+
|
291
|
+
</definitions>
|
292
|
+
</language>
|