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,188 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!--
|
3
|
+
|
4
|
+
This file is part of GtkSourceView
|
5
|
+
|
6
|
+
Author: Gustavo Giráldez <gustavo.giraldez@gmx.net>
|
7
|
+
Copyright (C) 2003 Gustavo Giráldez <gustavo.giraldez@gmx.net>
|
8
|
+
Copyright (C) 2006 Jeff Walden <jwalden@mit.edu>
|
9
|
+
|
10
|
+
GtkSourceView is free software; you can redistribute it and/or
|
11
|
+
modify it under the terms of the GNU Lesser General Public
|
12
|
+
License as published by the Free Software Foundation; either
|
13
|
+
version 2.1 of the License, or (at your option) any later version.
|
14
|
+
|
15
|
+
GtkSourceView is distributed in the hope that it will be useful,
|
16
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
17
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
18
|
+
Lesser General Public License for more details.
|
19
|
+
|
20
|
+
You should have received a copy of the GNU Lesser General Public License
|
21
|
+
along with this library; if not, see <http://www.gnu.org/licenses/>.
|
22
|
+
|
23
|
+
-->
|
24
|
+
<language id="java" name="Java" version="2.0" _section="Source">
|
25
|
+
<metadata>
|
26
|
+
<property name="mimetypes">text/x-java</property>
|
27
|
+
<property name="globs">*.java</property>
|
28
|
+
<property name="line-comment-start">//</property>
|
29
|
+
<property name="block-comment-start">/*</property>
|
30
|
+
<property name="block-comment-end">*/</property>
|
31
|
+
</metadata>
|
32
|
+
|
33
|
+
<styles>
|
34
|
+
<style id="comment" name="Comment" map-to="def:comment"/>
|
35
|
+
<style id="escaped-character" name="Escaped Character" map-to="def:special-char"/>
|
36
|
+
<style id="string" name="String" map-to="def:string"/>
|
37
|
+
<style id="char" name="Character" map-to="def:character"/>
|
38
|
+
<style id="external" name="External" map-to="def:preprocessor"/>
|
39
|
+
<style id="declaration" name="Declaration" map-to="def:type"/>
|
40
|
+
<style id="storage-class" name="Storage Class" map-to="def:type"/>
|
41
|
+
<style id="scope-declaration" name="Scope Declaration" map-to="def:type"/>
|
42
|
+
<style id="keyword" name="Keyword" map-to="def:keyword"/>
|
43
|
+
<style id="null-value" name="Null Value" map-to="def:special-constant"/>
|
44
|
+
<style id="boolean" name="Boolean value" map-to="def:boolean"/>
|
45
|
+
<style id="number" name="Number" map-to="def:decimal"/>
|
46
|
+
<style id="reserved" name="Future Reserved Keywords" map-to="def:reserved"/>
|
47
|
+
<style id="type" name="Data Type" map-to="def:type"/>
|
48
|
+
</styles>
|
49
|
+
|
50
|
+
<definitions>
|
51
|
+
|
52
|
+
<define-regex id="escaped-character" extended="true">
|
53
|
+
\\( # leading backslash
|
54
|
+
[\\\"\'nrbtf] | # escaped character
|
55
|
+
[0-9]{1,3} | # latin encoded char
|
56
|
+
u[0-9]{1,4} # unicode char
|
57
|
+
)
|
58
|
+
</define-regex>
|
59
|
+
|
60
|
+
<context id="string" style-ref="string" end-at-line-end="true" class="string" class-disabled="no-spell-check">
|
61
|
+
<start>"</start>
|
62
|
+
<end>"</end>
|
63
|
+
<include>
|
64
|
+
<context id="escaped-character" style-ref="escaped-character">
|
65
|
+
<match>\%{escaped-character}</match>
|
66
|
+
</context>
|
67
|
+
</include>
|
68
|
+
</context>
|
69
|
+
|
70
|
+
<context id="char" style-ref="char">
|
71
|
+
<match>'(\%{escaped-character}|.)'</match>
|
72
|
+
</context>
|
73
|
+
|
74
|
+
<context id="externals" style-ref="external">
|
75
|
+
<keyword>import</keyword>
|
76
|
+
<keyword>package</keyword>
|
77
|
+
</context>
|
78
|
+
|
79
|
+
<context id="declarations" style-ref="declaration">
|
80
|
+
<keyword>class</keyword>
|
81
|
+
<keyword>enum</keyword>
|
82
|
+
<keyword>extends</keyword>
|
83
|
+
<keyword>implements</keyword>
|
84
|
+
<keyword>instanceof</keyword>
|
85
|
+
<keyword>interface</keyword>
|
86
|
+
<keyword>native</keyword>
|
87
|
+
<keyword>throws</keyword>
|
88
|
+
</context>
|
89
|
+
|
90
|
+
<context id="primitive-types" style-ref="type">
|
91
|
+
<keyword>boolean</keyword>
|
92
|
+
<keyword>byte</keyword>
|
93
|
+
<keyword>char</keyword>
|
94
|
+
<keyword>double</keyword>
|
95
|
+
<keyword>float</keyword>
|
96
|
+
<keyword>int</keyword>
|
97
|
+
<keyword>long</keyword>
|
98
|
+
<keyword>short</keyword>
|
99
|
+
<keyword>void</keyword>
|
100
|
+
</context>
|
101
|
+
|
102
|
+
<context id="storage-class" style-ref="storage-class">
|
103
|
+
<keyword>abstract</keyword>
|
104
|
+
<keyword>final</keyword>
|
105
|
+
<keyword>static</keyword>
|
106
|
+
<keyword>strictfp</keyword>
|
107
|
+
<keyword>synchronized</keyword>
|
108
|
+
<keyword>transient</keyword>
|
109
|
+
<keyword>volatile</keyword>
|
110
|
+
</context>
|
111
|
+
|
112
|
+
<context id="scope-declarations" style-ref="scope-declaration">
|
113
|
+
<keyword>private</keyword>
|
114
|
+
<keyword>protected</keyword>
|
115
|
+
<keyword>public</keyword>
|
116
|
+
</context>
|
117
|
+
|
118
|
+
<context id="flow" style-ref="keyword">
|
119
|
+
<keyword>assert</keyword>
|
120
|
+
<keyword>break</keyword>
|
121
|
+
<keyword>case</keyword>
|
122
|
+
<keyword>catch</keyword>
|
123
|
+
<keyword>continue</keyword>
|
124
|
+
<keyword>default</keyword>
|
125
|
+
<keyword>do</keyword>
|
126
|
+
<keyword>else</keyword>
|
127
|
+
<keyword>finally</keyword>
|
128
|
+
<keyword>for</keyword>
|
129
|
+
<keyword>if</keyword>
|
130
|
+
<keyword>return</keyword>
|
131
|
+
<keyword>throw</keyword>
|
132
|
+
<keyword>switch</keyword>
|
133
|
+
<keyword>try</keyword>
|
134
|
+
<keyword>while</keyword>
|
135
|
+
</context>
|
136
|
+
|
137
|
+
<context id="memory" style-ref="keyword">
|
138
|
+
<keyword>new</keyword>
|
139
|
+
<keyword>super</keyword>
|
140
|
+
<keyword>this</keyword>
|
141
|
+
</context>
|
142
|
+
|
143
|
+
<context id="future-reserved-words" style-ref="reserved">
|
144
|
+
<keyword>const</keyword>
|
145
|
+
<keyword>goto</keyword>
|
146
|
+
</context>
|
147
|
+
|
148
|
+
<context id="null-value" style-ref="null-value">
|
149
|
+
<keyword>null</keyword>
|
150
|
+
</context>
|
151
|
+
|
152
|
+
<context id="boolean" style-ref="boolean">
|
153
|
+
<keyword>false</keyword>
|
154
|
+
<keyword>true</keyword>
|
155
|
+
</context>
|
156
|
+
|
157
|
+
<context id="numeric" style-ref="number">
|
158
|
+
<match extended="true">
|
159
|
+
(\b([0-9]+|0[xX][0-9a-fA-F]+)[Ll]?\b|
|
160
|
+
\b(([0-9]+[Ee][-]?[0-9]+|
|
161
|
+
([0-9]*\.[0-9]+|[0-9]+\.)([Ee][-]?[0-9]+)?)[fFdD]?|
|
162
|
+
[0-9]+[FfDd]))
|
163
|
+
</match>
|
164
|
+
</context>
|
165
|
+
|
166
|
+
<context id="java" class="no-spell-check">
|
167
|
+
<include>
|
168
|
+
<context ref="def:c-like-comment" style-ref="comment"/>
|
169
|
+
<context ref="def:c-like-comment-multiline" style-ref="comment"/>
|
170
|
+
<context ref="def:c-like-close-comment-outside-comment"/>
|
171
|
+
<context ref="string"/>
|
172
|
+
<context ref="char"/>
|
173
|
+
<context ref="externals"/>
|
174
|
+
<context ref="declarations"/>
|
175
|
+
<context ref="primitive-types"/>
|
176
|
+
<context ref="storage-class"/>
|
177
|
+
<context ref="scope-declarations"/>
|
178
|
+
<context ref="flow"/>
|
179
|
+
<context ref="memory"/>
|
180
|
+
<context ref="future-reserved-words"/>
|
181
|
+
<context ref="null-value"/>
|
182
|
+
<context ref="boolean"/>
|
183
|
+
<context ref="numeric"/>
|
184
|
+
</include>
|
185
|
+
</context>
|
186
|
+
|
187
|
+
</definitions>
|
188
|
+
</language>
|
@@ -0,0 +1,354 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!--
|
3
|
+
|
4
|
+
This file is part of GtkSourceView
|
5
|
+
|
6
|
+
Author: Scott Martin <scott@coffeeblack.org>
|
7
|
+
Copyright (C) 2004 Scott Martin <scott@coffeeblack.org>
|
8
|
+
Copyright (C) 2005 Stef Walter (formerly Nate Nielsen) <stef@memberwebs.com>
|
9
|
+
Copyright (C) 2005-2007 Marco Barisione <barisione@gmail.com>
|
10
|
+
Copyright (C) 2005-2007 Emanuele Aina
|
11
|
+
|
12
|
+
GtkSourceView is free software; you can redistribute it and/or
|
13
|
+
modify it under the terms of the GNU Lesser General Public
|
14
|
+
License as published by the Free Software Foundation; either
|
15
|
+
version 2.1 of the License, or (at your option) any later version.
|
16
|
+
|
17
|
+
GtkSourceView is distributed in the hope that it will be useful,
|
18
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
19
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
20
|
+
Lesser General Public License for more details.
|
21
|
+
|
22
|
+
You should have received a copy of the GNU Lesser General Public License
|
23
|
+
along with this library; if not, see <http://www.gnu.org/licenses/>.
|
24
|
+
|
25
|
+
-->
|
26
|
+
<language id="js" name="JavaScript" version="2.0" _section="Script">
|
27
|
+
<metadata>
|
28
|
+
<property name="mimetypes">application/javascript;application/x-javascript;text/x-javascript;text/javascript;text/x-js</property>
|
29
|
+
<property name="globs">*.js;*.node</property>
|
30
|
+
<property name="line-comment-start">//</property>
|
31
|
+
<property name="block-comment-start">/*</property>
|
32
|
+
<property name="block-comment-end">*/</property>
|
33
|
+
</metadata>
|
34
|
+
|
35
|
+
<styles>
|
36
|
+
<style id="escape" name="Escaped Character" map-to="def:special-char"/>
|
37
|
+
<style id="null-value" name="Null Value" map-to="def:special-constant"/>
|
38
|
+
<style id="undefined-value" name="Undefined Value" map-to="def:special-constant"/>
|
39
|
+
<style id="boolean" name="Boolean Value" map-to="def:boolean"/>
|
40
|
+
<style id="keyword" name="Keyword" map-to="def:keyword"/>
|
41
|
+
<style id="type" name="Data Type" map-to="def:type"/>
|
42
|
+
<style id="function" name="Function" map-to="def:builtin"/>
|
43
|
+
<style id="properties" name="Properties" map-to="def:statement"/>
|
44
|
+
<style id="constructors" name="Constructors" map-to="def:type"/>
|
45
|
+
<style id="future-words" name="Future Reserved Keywords" map-to="def:error"/>
|
46
|
+
<style id="string" name="String" map-to="def:string"/>
|
47
|
+
<style id="regex" name="Regular Expression" map-to="def:string"/>
|
48
|
+
</styles>
|
49
|
+
|
50
|
+
<definitions>
|
51
|
+
|
52
|
+
<!--regex-->
|
53
|
+
<define-regex id="regex-opts">[gim]*</define-regex>
|
54
|
+
|
55
|
+
<!--contexts NOT used in the main context-->
|
56
|
+
<context id="escape" style-ref="escape">
|
57
|
+
<match>\\((0-7){3}|(x[a-fA-F0-9]{2})|(c\S)|([CM]-\S)|(M-C-\S)|.)</match>
|
58
|
+
</context>
|
59
|
+
|
60
|
+
<context id="regex-bracketed" style-ref="escape" style-inside="true">
|
61
|
+
<start>(?<!\\)[[]</start>
|
62
|
+
<end>(?<!\\)]</end>
|
63
|
+
</context>
|
64
|
+
|
65
|
+
<!--contexts used in the main context-->
|
66
|
+
<context id="regex-simple" style-ref="regex">
|
67
|
+
<start extended="true">
|
68
|
+
((?<=([(]|\s))|^)
|
69
|
+
\/
|
70
|
+
(?=
|
71
|
+
([^/\\]*(\\.))*
|
72
|
+
[^/]*
|
73
|
+
\/
|
74
|
+
\%{regex-opts}
|
75
|
+
\s*
|
76
|
+
([),;.\/\]:}]|$)
|
77
|
+
)</start>
|
78
|
+
<end>\/\%{regex-opts}</end>
|
79
|
+
<include>
|
80
|
+
<context ref="escape"/>
|
81
|
+
<context ref="def:line-continue"/>
|
82
|
+
<context ref="regex-bracketed"/>
|
83
|
+
</include>
|
84
|
+
</context>
|
85
|
+
|
86
|
+
<!--
|
87
|
+
There was a long discussion on ##javascript on freenode between
|
88
|
+
'katspaugh', 'joo' and 'prog_' on whether 'undefined' should be
|
89
|
+
highlighted on not, specialy as a constant. The conclusion was "It can't
|
90
|
+
be highlighted as a constant literal value, because it can be an
|
91
|
+
identifier (of a variable value) but leave it be as it is. Let tradition
|
92
|
+
and convention obscure the details."
|
93
|
+
-->
|
94
|
+
<context id="undefined-value" style-ref="undefined-value">
|
95
|
+
<keyword>undefined</keyword>
|
96
|
+
</context>
|
97
|
+
|
98
|
+
<context id="null-value" style-ref="null-value">
|
99
|
+
<keyword>null</keyword>
|
100
|
+
</context>
|
101
|
+
|
102
|
+
<context id="boolean" style-ref="boolean">
|
103
|
+
<keyword>false</keyword>
|
104
|
+
<keyword>true</keyword>
|
105
|
+
</context>
|
106
|
+
|
107
|
+
<context id="keywords" style-ref="keyword">
|
108
|
+
<keyword>async</keyword>
|
109
|
+
<keyword>await</keyword>
|
110
|
+
<keyword>break</keyword>
|
111
|
+
<keyword>case</keyword>
|
112
|
+
<keyword>catch</keyword>
|
113
|
+
<keyword>continue</keyword>
|
114
|
+
<keyword>debugger</keyword>
|
115
|
+
<keyword>default</keyword>
|
116
|
+
<keyword>delete</keyword>
|
117
|
+
<keyword>do</keyword>
|
118
|
+
<keyword>else</keyword>
|
119
|
+
<keyword>export</keyword>
|
120
|
+
<keyword>finally</keyword>
|
121
|
+
<keyword>for</keyword>
|
122
|
+
<keyword>function</keyword>
|
123
|
+
<keyword>if</keyword>
|
124
|
+
<keyword>import</keyword>
|
125
|
+
<keyword>instanceof</keyword>
|
126
|
+
<keyword>in</keyword>
|
127
|
+
<keyword>new</keyword>
|
128
|
+
<keyword>of</keyword>
|
129
|
+
<keyword>return</keyword>
|
130
|
+
<keyword>switch</keyword>
|
131
|
+
<keyword>this</keyword>
|
132
|
+
<keyword>throw</keyword>
|
133
|
+
<keyword>try</keyword>
|
134
|
+
<keyword>typeof</keyword>
|
135
|
+
<keyword>var</keyword>
|
136
|
+
<keyword>void</keyword>
|
137
|
+
<keyword>while</keyword>
|
138
|
+
<keyword>with</keyword>
|
139
|
+
<keyword>class</keyword>
|
140
|
+
<keyword>extends</keyword>
|
141
|
+
<keyword>super</keyword>
|
142
|
+
<keyword>static</keyword>
|
143
|
+
</context>
|
144
|
+
|
145
|
+
<context id="unofficial-keywords" style-ref="keyword">
|
146
|
+
<keyword>const</keyword>
|
147
|
+
<keyword>let</keyword>
|
148
|
+
<keyword>yield</keyword>
|
149
|
+
</context>
|
150
|
+
|
151
|
+
<context id="types" style-ref="type">
|
152
|
+
<keyword>Infinity</keyword>
|
153
|
+
<keyword>NaN</keyword>
|
154
|
+
</context>
|
155
|
+
|
156
|
+
<context id="functions" style-ref="function">
|
157
|
+
<keyword>abs</keyword>
|
158
|
+
<keyword>acos</keyword>
|
159
|
+
<keyword>apply</keyword>
|
160
|
+
<keyword>asin</keyword>
|
161
|
+
<keyword>atan2</keyword>
|
162
|
+
<keyword>atan</keyword>
|
163
|
+
<keyword>call</keyword>
|
164
|
+
<keyword>ceil</keyword>
|
165
|
+
<keyword>charAt</keyword>
|
166
|
+
<keyword>charCodeAt</keyword>
|
167
|
+
<keyword>concat</keyword>
|
168
|
+
<keyword>cos</keyword>
|
169
|
+
<keyword>decodeURIComponent</keyword>
|
170
|
+
<keyword>decodeURI</keyword>
|
171
|
+
<keyword>encodeURIComponent</keyword>
|
172
|
+
<keyword>encodeURI</keyword>
|
173
|
+
<keyword>escape</keyword>
|
174
|
+
<keyword>eval</keyword>
|
175
|
+
<keyword>exec</keyword>
|
176
|
+
<keyword>exp</keyword>
|
177
|
+
<keyword>floor</keyword>
|
178
|
+
<keyword>fromCharCode</keyword>
|
179
|
+
<keyword>getDate</keyword>
|
180
|
+
<keyword>getDay</keyword>
|
181
|
+
<keyword>getFullYear</keyword>
|
182
|
+
<keyword>getHours</keyword>
|
183
|
+
<keyword>getMilliseconds</keyword>
|
184
|
+
<keyword>getMinutes</keyword>
|
185
|
+
<keyword>getMonth</keyword>
|
186
|
+
<keyword>getSeconds</keyword>
|
187
|
+
<keyword>getTime</keyword>
|
188
|
+
<keyword>getTimezoneOffset</keyword>
|
189
|
+
<keyword>getUTCDate</keyword>
|
190
|
+
<keyword>getUTCDay</keyword>
|
191
|
+
<keyword>getUTCFullYear</keyword>
|
192
|
+
<keyword>getUTCHours</keyword>
|
193
|
+
<keyword>getUTCMilliseconds</keyword>
|
194
|
+
<keyword>getUTCMinutes</keyword>
|
195
|
+
<keyword>getUTCMonth</keyword>
|
196
|
+
<keyword>getUTCSeconds</keyword>
|
197
|
+
<keyword>getYear</keyword>
|
198
|
+
<keyword>hasOwnProperty</keyword>
|
199
|
+
<keyword>indexOf</keyword>
|
200
|
+
<keyword>isFinite</keyword>
|
201
|
+
<keyword>isNaN</keyword>
|
202
|
+
<keyword>isPrototypeOf</keyword>
|
203
|
+
<keyword>join</keyword>
|
204
|
+
<keyword>lastIndexOf</keyword>
|
205
|
+
<keyword>localeCompare</keyword>
|
206
|
+
<keyword>log</keyword>
|
207
|
+
<keyword>match</keyword>
|
208
|
+
<keyword>max</keyword>
|
209
|
+
<keyword>min</keyword>
|
210
|
+
<keyword>parseFloat</keyword>
|
211
|
+
<keyword>parseInt</keyword>
|
212
|
+
<keyword>parse</keyword>
|
213
|
+
<keyword>pop</keyword>
|
214
|
+
<keyword>pow</keyword>
|
215
|
+
<keyword>propertyIsEnumerable</keyword>
|
216
|
+
<keyword>push</keyword>
|
217
|
+
<keyword>random</keyword>
|
218
|
+
<keyword>replace</keyword>
|
219
|
+
<keyword>reverse</keyword>
|
220
|
+
<keyword>round</keyword>
|
221
|
+
<keyword>search</keyword>
|
222
|
+
<keyword>setDate</keyword>
|
223
|
+
<keyword>setFullYear</keyword>
|
224
|
+
<keyword>setHours</keyword>
|
225
|
+
<keyword>setMilliseconds</keyword>
|
226
|
+
<keyword>setMinutes</keyword>
|
227
|
+
<keyword>setMonth</keyword>
|
228
|
+
<keyword>setSeconds</keyword>
|
229
|
+
<keyword>setTime</keyword>
|
230
|
+
<keyword>setUTCDate</keyword>
|
231
|
+
<keyword>setUTCFullYear</keyword>
|
232
|
+
<keyword>setUTCHours</keyword>
|
233
|
+
<keyword>setUTCMilliseconds</keyword>
|
234
|
+
<keyword>setUTCMinutes</keyword>
|
235
|
+
<keyword>setUTCMonth</keyword>
|
236
|
+
<keyword>setUTCSeconds</keyword>
|
237
|
+
<keyword>setYear</keyword>
|
238
|
+
<keyword>shift</keyword>
|
239
|
+
<keyword>sin</keyword>
|
240
|
+
<keyword>slice</keyword>
|
241
|
+
<keyword>sort</keyword>
|
242
|
+
<keyword>split</keyword>
|
243
|
+
<keyword>sqrt</keyword>
|
244
|
+
<keyword>substring</keyword>
|
245
|
+
<keyword>substr</keyword>
|
246
|
+
<keyword>tan</keyword>
|
247
|
+
<keyword>toDateString</keyword>
|
248
|
+
<keyword>toExponential</keyword>
|
249
|
+
<keyword>toFixed</keyword>
|
250
|
+
<keyword>toGMTString</keyword>
|
251
|
+
<keyword>toLocaleDateString</keyword>
|
252
|
+
<keyword>toLocaleLowerCase</keyword>
|
253
|
+
<keyword>toLocaleString</keyword>
|
254
|
+
<keyword>toLocaleTimeString</keyword>
|
255
|
+
<keyword>toLocaleUpperCase</keyword>
|
256
|
+
<keyword>toLowerCase</keyword>
|
257
|
+
<keyword>toPrecision</keyword>
|
258
|
+
<keyword>toString</keyword>
|
259
|
+
<keyword>toTimeString</keyword>
|
260
|
+
<keyword>toUpperCase</keyword>
|
261
|
+
<keyword>toUTCString</keyword>
|
262
|
+
<keyword>unescape</keyword>
|
263
|
+
<keyword>unshift</keyword>
|
264
|
+
<keyword>UTC</keyword>
|
265
|
+
<keyword>valueOf</keyword>
|
266
|
+
</context>
|
267
|
+
|
268
|
+
<context id="properties" style-ref="properties">
|
269
|
+
<prefix>\.</prefix>
|
270
|
+
<keyword>constructor</keyword>
|
271
|
+
<keyword>global</keyword>
|
272
|
+
<keyword>ignoreCase</keyword>
|
273
|
+
<keyword>lastIndex</keyword>
|
274
|
+
<keyword>length</keyword>
|
275
|
+
<keyword>message</keyword>
|
276
|
+
<keyword>multiline</keyword>
|
277
|
+
<keyword>name</keyword>
|
278
|
+
<keyword>NEGATIVE_INFINITY</keyword>
|
279
|
+
<keyword>POSITIVE_INFINITY</keyword>
|
280
|
+
<keyword>prototype</keyword>
|
281
|
+
<keyword>source</keyword>
|
282
|
+
</context>
|
283
|
+
|
284
|
+
<context id="constructors" style-ref="constructors">
|
285
|
+
<keyword>Array</keyword>
|
286
|
+
<keyword>Boolean</keyword>
|
287
|
+
<keyword>Date</keyword>
|
288
|
+
<keyword>Error</keyword>
|
289
|
+
<keyword>EvalError</keyword>
|
290
|
+
<keyword>Function</keyword>
|
291
|
+
<keyword>Math</keyword>
|
292
|
+
<keyword>Number</keyword>
|
293
|
+
<keyword>Object</keyword>
|
294
|
+
<keyword>RangeError</keyword>
|
295
|
+
<keyword>RegExp</keyword>
|
296
|
+
<keyword>String</keyword>
|
297
|
+
<keyword>SyntaxError</keyword>
|
298
|
+
<keyword>TypeError</keyword>
|
299
|
+
<keyword>URIError</keyword>
|
300
|
+
</context>
|
301
|
+
|
302
|
+
<context id="future-words" style-ref="future-words">
|
303
|
+
<keyword>enum</keyword>
|
304
|
+
|
305
|
+
<!-- in strict mode -->
|
306
|
+
<keyword>implements</keyword>
|
307
|
+
<keyword>interface</keyword>
|
308
|
+
<keyword>package</keyword>
|
309
|
+
<keyword>private</keyword>
|
310
|
+
<keyword>protected</keyword>
|
311
|
+
<keyword>public</keyword>
|
312
|
+
</context>
|
313
|
+
|
314
|
+
<context id="template-string" style-ref="string">
|
315
|
+
<start>`</start>
|
316
|
+
<end>`</end>
|
317
|
+
<include>
|
318
|
+
<context id="template-expression" style-ref="function">
|
319
|
+
<start>\$\{</start>
|
320
|
+
<end>\}</end>
|
321
|
+
</context>
|
322
|
+
</include>
|
323
|
+
</context>
|
324
|
+
|
325
|
+
<!--main context-->
|
326
|
+
<context id="js" class="no-spell-check">
|
327
|
+
<include>
|
328
|
+
<context ref="def:c-like-comment"/>
|
329
|
+
<context ref="def:c-like-comment-multiline"/>
|
330
|
+
<context ref="def:c-like-close-comment-outside-comment"/>
|
331
|
+
<context ref="def:string" style-ref="string"/>
|
332
|
+
<context ref="def:single-quoted-string" style-ref="string"/>
|
333
|
+
<context ref="template-string"/>
|
334
|
+
<context ref="def:float"/>
|
335
|
+
<context ref="def:decimal"/>
|
336
|
+
<context ref="def:octal"/>
|
337
|
+
<context ref="def:hexadecimal"/>
|
338
|
+
<context ref="undefined-value"/>
|
339
|
+
<context ref="null-value"/>
|
340
|
+
<context ref="boolean"/>
|
341
|
+
<context ref="keywords"/>
|
342
|
+
<context ref="unofficial-keywords"/>
|
343
|
+
<context ref="types"/>
|
344
|
+
<context ref="functions"/>
|
345
|
+
<context ref="properties"/>
|
346
|
+
<context ref="constructors"/>
|
347
|
+
<context ref="future-words"/>
|
348
|
+
<context ref="regex-simple"/>
|
349
|
+
</include>
|
350
|
+
</context>
|
351
|
+
<!--main context-->
|
352
|
+
|
353
|
+
</definitions>
|
354
|
+
</language>
|
@@ -0,0 +1,124 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!--
|
3
|
+
|
4
|
+
This file is part of GtkSourceView
|
5
|
+
|
6
|
+
Author: Sapphire Becker <guess@logicplace.com>
|
7
|
+
Copyright (C) 2011 by Sapphire Becker <guess@logicplace.com>
|
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 License
|
20
|
+
along with this library; if not, see <http://www.gnu.org/licenses/>.
|
21
|
+
-->
|
22
|
+
<!--
|
23
|
+
TODO:
|
24
|
+
If once-only or end-parent is ever supported for context-reference and
|
25
|
+
context-to-be-included elements this can be updated to allow only one
|
26
|
+
value in the doc, after a key, and between each comma in an array. Also
|
27
|
+
I'd be able to add support for displaying an error for trailing commas.
|
28
|
+
-->
|
29
|
+
<language id="json" name="JSON" version="2.0" _section="Other">
|
30
|
+
<metadata>
|
31
|
+
<property name="mimetypes">application/json</property>
|
32
|
+
<property name="globs">*.json;*.geojson;*.topojson</property>
|
33
|
+
</metadata>
|
34
|
+
|
35
|
+
<styles>
|
36
|
+
<style id="keyname" name="Key" map-to="def:constant"/>
|
37
|
+
<style id="special-char" name="Escaped Character" map-to="js:escape"/>
|
38
|
+
<style id="string" name="String" map-to="js:string"/>
|
39
|
+
<style id="null-value" name="Null Value" map-to="js:null-value"/>
|
40
|
+
<style id="boolean" name="Boolean Value" map-to="js:boolean"/>
|
41
|
+
<style id="error" name="Error" map-to="def:error"/>
|
42
|
+
<style id="decimal" name="Decimal" map-to="def:decimal"/>
|
43
|
+
<style id="float" name="Floating point number" map-to="def:floating-point"/>
|
44
|
+
</styles>
|
45
|
+
|
46
|
+
<definitions>
|
47
|
+
<context id="array">
|
48
|
+
<start>\[</start>
|
49
|
+
<end>\]</end>
|
50
|
+
<include>
|
51
|
+
<context>
|
52
|
+
<start></start>
|
53
|
+
<end>,|\s*(?=\])</end>
|
54
|
+
<include>
|
55
|
+
<context ref="value"/>
|
56
|
+
</include>
|
57
|
+
</context>
|
58
|
+
</include>
|
59
|
+
</context>
|
60
|
+
|
61
|
+
<context id="object">
|
62
|
+
<start>\{</start>
|
63
|
+
<end>\}</end>
|
64
|
+
<include>
|
65
|
+
<context ref="string" style-ref="keyname"/>
|
66
|
+
<context>
|
67
|
+
<start>:</start>
|
68
|
+
<end>,|\s*(?=})</end>
|
69
|
+
<include>
|
70
|
+
<context sub-pattern="0" where="start" style-ref="keyname"/>
|
71
|
+
<context ref="value"/>
|
72
|
+
</include>
|
73
|
+
</context>
|
74
|
+
<context ref="catchall"/>
|
75
|
+
</include>
|
76
|
+
</context>
|
77
|
+
|
78
|
+
<context id="string" style-ref="string" end-at-line-end="true" class="string" class-disabled="no-spell-check">
|
79
|
+
<start>"</start>
|
80
|
+
<end>"</end>
|
81
|
+
<include>
|
82
|
+
<context id="valid-escape" style-ref="special-char">
|
83
|
+
<match>\\(?:[ntrfb"\\/]|u[0-9a-fA-F]{4})</match>
|
84
|
+
</context>
|
85
|
+
<context id="invalid-escape" style-ref="error">
|
86
|
+
<match>\\(?:x[0-9a-fA-F]{2}|[0-3]?[0-7]{1,2}|.)</match>
|
87
|
+
</context>
|
88
|
+
<context id="line-continue" style-ref="error">
|
89
|
+
<start>\\$</start>
|
90
|
+
<end>^</end>
|
91
|
+
</context>
|
92
|
+
</include>
|
93
|
+
</context>
|
94
|
+
|
95
|
+
<context id="decimal" style-ref="decimal">
|
96
|
+
<match>-?(?:[1-9][0-9]*|0)(?![.eE])</match>
|
97
|
+
</context>
|
98
|
+
|
99
|
+
<context id="float" style-ref="float">
|
100
|
+
<match>-?(?:[1-9][0-9]*|0)(?:\.[0-9]+)?(?:[eE][+\-]?[0-9]+)?</match>
|
101
|
+
</context>
|
102
|
+
|
103
|
+
<context id="catchall" style-ref="error" extend-parent="false">
|
104
|
+
<match>\S</match>
|
105
|
+
</context>
|
106
|
+
|
107
|
+
<context id="value"><include>
|
108
|
+
<context ref="object"/>
|
109
|
+
<context ref="array"/>
|
110
|
+
<context ref="string"/>
|
111
|
+
<context ref="decimal"/>
|
112
|
+
<context ref="float"/>
|
113
|
+
<context ref="js:null-value" style-ref="null-value"/>
|
114
|
+
<context ref="js:boolean" style-ref="boolean"/>
|
115
|
+
<context ref="catchall"/>
|
116
|
+
</include></context>
|
117
|
+
|
118
|
+
<context id="json" class="no-spell-check">
|
119
|
+
<include>
|
120
|
+
<context ref="value"/>
|
121
|
+
</include>
|
122
|
+
</context>
|
123
|
+
</definitions>
|
124
|
+
</language>
|