gtksourceview4 3.2.9-x64-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.rb +56 -0
- data/lib/gtksourceview4/deprecated.rb +49 -0
- data/lib/gtksourceview4/loader.rb +49 -0
- data/lib/gtksourceview4/mark-attributes.rb +29 -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,372 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!--
|
3
|
+
|
4
|
+
This file is part of GtkSourceView
|
5
|
+
|
6
|
+
Copyright (C) 2005-2007 Marco Barisione <barisione@gmail.com>
|
7
|
+
Copyright (C) 2005-2007 Emanuele Aina
|
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
|
+
<!--
|
24
|
+
This file describes the XML format used for syntax highlight
|
25
|
+
descriptions for the GtkSourceView 1.x library.
|
26
|
+
|
27
|
+
.lang files are XML files which describe how to highlight syntax;
|
28
|
+
this RNG is used for validation purposes.
|
29
|
+
|
30
|
+
.lang files should be located in $PREFIX/gtksourceview-1.0/language-specs/,
|
31
|
+
or in ~./gnome2/gtksourceview-1.0/language-specs/
|
32
|
+
|
33
|
+
To check if a .lang file is valid, run
|
34
|
+
|
35
|
+
$ xmllint FILENAME - -relaxng language.rng
|
36
|
+
|
37
|
+
If you create a new .lang file or modify an existing one, please note
|
38
|
+
that it will be (re)loaded by the application only after it is
|
39
|
+
restarted.
|
40
|
+
-->
|
41
|
+
<!--
|
42
|
+
Boolean type
|
43
|
+
|
44
|
+
Attributes that are of type boolean allow the following values:
|
45
|
+
|
46
|
+
- 'true', 'TRUE' and '1' all meaning true
|
47
|
+
- 'false', FALSE' and '0' all meaning false
|
48
|
+
|
49
|
+
It is encouraged to use 'TRUE' and 'FALSE' instead of the alternatives.
|
50
|
+
-->
|
51
|
+
<grammar xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
|
52
|
+
xmlns="http://relaxng.org/ns/structure/1.0"
|
53
|
+
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
|
54
|
+
<define name="boolean">
|
55
|
+
<choice>
|
56
|
+
<value>true</value>
|
57
|
+
<value>false</value>
|
58
|
+
<value>TRUE</value>
|
59
|
+
<value>FALSE</value>
|
60
|
+
<value>0</value>
|
61
|
+
<value>1</value>
|
62
|
+
</choice>
|
63
|
+
</define>
|
64
|
+
<!--
|
65
|
+
Attributes required by all element representing a syntax or pattern tag.
|
66
|
+
|
67
|
+
- name the name of the tag (it can appear in the UI)
|
68
|
+
|
69
|
+
- style the style used to highlight the tag. Recognized values
|
70
|
+
are (from gtksourcestylescheme.h):
|
71
|
+
|
72
|
+
- Base-N Integer used for values with a base
|
73
|
+
other than 10
|
74
|
+
- Character used for single characters
|
75
|
+
- Comment used for comments
|
76
|
+
- Data Type used for data types
|
77
|
+
- Function used for function names
|
78
|
+
- Decimal used for decimal values
|
79
|
+
- Floating Point used for floating point values
|
80
|
+
- Keyword used for keywords
|
81
|
+
- Preprocessor used for preprocessor instructions
|
82
|
+
- String used for strings
|
83
|
+
- Specials used for 'special' things
|
84
|
+
- Others (DEPRECATED, replaced by "Data Type")
|
85
|
+
- Others 2 used for 'other' things
|
86
|
+
- Others 3 used for 'other' things
|
87
|
+
|
88
|
+
The "name" attribute can be prefixed with "_" to be marked for
|
89
|
+
translation.
|
90
|
+
-->
|
91
|
+
<define name="tagattrs">
|
92
|
+
<choice>
|
93
|
+
<attribute name="_name">
|
94
|
+
<data type="string"/>
|
95
|
+
</attribute>
|
96
|
+
<attribute name="name">
|
97
|
+
<data type="string"/>
|
98
|
+
</attribute>
|
99
|
+
</choice>
|
100
|
+
<attribute name="style">
|
101
|
+
<data type="string"/>
|
102
|
+
</attribute>
|
103
|
+
</define>
|
104
|
+
<!--
|
105
|
+
The root of the definition file is the element "language".
|
106
|
+
|
107
|
+
Required attributes:
|
108
|
+
|
109
|
+
- name the name of the language (it can appear in menus and
|
110
|
+
dialog boxes)
|
111
|
+
|
112
|
+
- section the category the language belongs to (e.g. "Sources",
|
113
|
+
"Scripts", etc.)
|
114
|
+
|
115
|
+
- version version of the .lang file format (1.0)
|
116
|
+
|
117
|
+
- mimetypes a list of mime-types that identifies the types of file
|
118
|
+
that must be highlighted using the .lang file
|
119
|
+
|
120
|
+
Optional attributes:
|
121
|
+
|
122
|
+
- translation-domain
|
123
|
+
the translation domain used by the file
|
124
|
+
|
125
|
+
The "name" and "section" attributes can be prefixed with
|
126
|
+
"_" to be marked for translation.
|
127
|
+
-->
|
128
|
+
<define name="language">
|
129
|
+
<element name="language">
|
130
|
+
<ref name="attlist.language"/>
|
131
|
+
<optional>
|
132
|
+
<ref name="escape-char"/>
|
133
|
+
</optional>
|
134
|
+
<oneOrMore>
|
135
|
+
<choice>
|
136
|
+
<ref name="line-comment"/>
|
137
|
+
<ref name="block-comment"/>
|
138
|
+
<ref name="string"/>
|
139
|
+
<ref name="syntax-item"/>
|
140
|
+
<ref name="pattern-item"/>
|
141
|
+
<ref name="keyword-list"/>
|
142
|
+
</choice>
|
143
|
+
</oneOrMore>
|
144
|
+
</element>
|
145
|
+
</define>
|
146
|
+
|
147
|
+
<define name="attlist.language" combine="interleave">
|
148
|
+
<choice>
|
149
|
+
<attribute name="_name">
|
150
|
+
<data type="string"/>
|
151
|
+
</attribute>
|
152
|
+
<attribute name="name">
|
153
|
+
<data type="string"/>
|
154
|
+
</attribute>
|
155
|
+
</choice>
|
156
|
+
<choice>
|
157
|
+
<attribute name="_section">
|
158
|
+
<data type="string"/>
|
159
|
+
</attribute>
|
160
|
+
<attribute name="section">
|
161
|
+
<data type="string"/>
|
162
|
+
</attribute>
|
163
|
+
</choice>
|
164
|
+
<attribute name="version">
|
165
|
+
<data type="string">
|
166
|
+
<param name="pattern">1\.0</param>
|
167
|
+
</data>
|
168
|
+
</attribute>
|
169
|
+
<attribute name="mimetypes"/>
|
170
|
+
<optional>
|
171
|
+
<attribute name="translation-domain"/>
|
172
|
+
</optional>
|
173
|
+
</define>
|
174
|
+
<!-- Which character is used in escape sequences. -->
|
175
|
+
<define name="escape-char">
|
176
|
+
<element name="escape-char">
|
177
|
+
<ref name="attlist.escape-char"/>
|
178
|
+
<text/>
|
179
|
+
</element>
|
180
|
+
</define>
|
181
|
+
<define name="attlist.escape-char" combine="interleave">
|
182
|
+
<empty/>
|
183
|
+
</define>
|
184
|
+
<!--
|
185
|
+
The line-comment" element represents single line comments.
|
186
|
+
The "start-regex" subelement defines the regex matching the start of
|
187
|
+
the comment.
|
188
|
+
-->
|
189
|
+
<define name="line-comment">
|
190
|
+
<element name="line-comment">
|
191
|
+
<ref name="attlist.line-comment"/>
|
192
|
+
<ref name="start-regex"/>
|
193
|
+
</element>
|
194
|
+
</define>
|
195
|
+
<define name="attlist.line-comment" combine="interleave">
|
196
|
+
<ref name="tagattrs"/>
|
197
|
+
</define>
|
198
|
+
<!--
|
199
|
+
The "block-comment" element represents multiple lines comments.
|
200
|
+
The "start-regex" subelement defines the regex matching the beginning of
|
201
|
+
the comment.
|
202
|
+
The "end-regex" subelement defines the regex matching the end of
|
203
|
+
the comment.
|
204
|
+
-->
|
205
|
+
<define name="block-comment">
|
206
|
+
<element name="block-comment">
|
207
|
+
<ref name="attlist.block-comment"/>
|
208
|
+
<ref name="start-regex"/>
|
209
|
+
<ref name="end-regex"/>
|
210
|
+
</element>
|
211
|
+
</define>
|
212
|
+
<define name="attlist.block-comment" combine="interleave">
|
213
|
+
<ref name="tagattrs"/>
|
214
|
+
</define>
|
215
|
+
<!--
|
216
|
+
The "string" element represents string.
|
217
|
+
The "start-regex" subelement defines the regex matching the beginning of
|
218
|
+
the string.
|
219
|
+
The "end-regex" subelement defines the regex matching the end of
|
220
|
+
the string.
|
221
|
+
|
222
|
+
Optional attributes:
|
223
|
+
|
224
|
+
- end-at-line-end whether the string end at the end of line
|
225
|
+
-->
|
226
|
+
<define name="string">
|
227
|
+
<element name="string">
|
228
|
+
<ref name="attlist.string"/>
|
229
|
+
<ref name="start-regex"/>
|
230
|
+
<ref name="end-regex"/>
|
231
|
+
</element>
|
232
|
+
</define>
|
233
|
+
<define name="attlist.string" combine="interleave">
|
234
|
+
<ref name="tagattrs"/>
|
235
|
+
<optional>
|
236
|
+
<attribute name="end-at-line-end" a:defaultValue="TRUE">
|
237
|
+
<ref name="boolean"/>
|
238
|
+
</attribute>
|
239
|
+
</optional>
|
240
|
+
</define>
|
241
|
+
<!--
|
242
|
+
The "syntax-item" element represents a generic region of the document.
|
243
|
+
The "start-regex" subelement defines the regex matching the beginning of
|
244
|
+
the region.
|
245
|
+
The "end-regex" subelement defines the regex matching the end of
|
246
|
+
the region.
|
247
|
+
-->
|
248
|
+
<define name="syntax-item">
|
249
|
+
<element name="syntax-item">
|
250
|
+
<ref name="attlist.syntax-item"/>
|
251
|
+
<ref name="start-regex"/>
|
252
|
+
<ref name="end-regex"/>
|
253
|
+
</element>
|
254
|
+
</define>
|
255
|
+
<define name="attlist.syntax-item" combine="interleave">
|
256
|
+
<ref name="tagattrs"/>
|
257
|
+
</define>
|
258
|
+
<!--
|
259
|
+
The "pattern-item" element represents a generic token.
|
260
|
+
The "regex" subelement defines the regex matching the token.
|
261
|
+
-->
|
262
|
+
<define name="pattern-item">
|
263
|
+
<element name="pattern-item">
|
264
|
+
<ref name="attlist.pattern-item"/>
|
265
|
+
<ref name="regex"/>
|
266
|
+
</element>
|
267
|
+
</define>
|
268
|
+
<define name="attlist.pattern-item" combine="interleave">
|
269
|
+
<ref name="tagattrs"/>
|
270
|
+
</define>
|
271
|
+
<!--
|
272
|
+
The "keyword-list" element represents a list of keywords, it can have
|
273
|
+
one or more "keyword" subelements each one representing a keyword.
|
274
|
+
A "keyword" subelement defines the regex matching a keyword of the
|
275
|
+
language.
|
276
|
+
|
277
|
+
Optional attributes:
|
278
|
+
|
279
|
+
- case-sensitive whether the keywords are case sensitive
|
280
|
+
|
281
|
+
- match-empty-string-at-beginning:
|
282
|
+
whether the empty string (\b) should be matched
|
283
|
+
at the beginning of the keywords
|
284
|
+
|
285
|
+
- match-empty-string-at-end
|
286
|
+
whether the empty string (\b) should be matched
|
287
|
+
at the end of the keywords
|
288
|
+
|
289
|
+
- beginning-regex if all keywords start with a regex, you can
|
290
|
+
specify it here to avoid doing it for
|
291
|
+
every single keyword
|
292
|
+
|
293
|
+
- end-regex if all keywords end with a regex, you can
|
294
|
+
specify it here to avoid doing it for
|
295
|
+
every single keyword
|
296
|
+
-->
|
297
|
+
<define name="keyword-list">
|
298
|
+
<element name="keyword-list">
|
299
|
+
<ref name="attlist.keyword-list"/>
|
300
|
+
<oneOrMore>
|
301
|
+
<ref name="keyword"/>
|
302
|
+
</oneOrMore>
|
303
|
+
</element>
|
304
|
+
</define>
|
305
|
+
<define name="attlist.keyword-list" combine="interleave">
|
306
|
+
<ref name="tagattrs"/>
|
307
|
+
<optional>
|
308
|
+
<attribute name="case-sensitive" a:defaultValue="TRUE">
|
309
|
+
<ref name="boolean"/>
|
310
|
+
</attribute>
|
311
|
+
</optional>
|
312
|
+
<optional>
|
313
|
+
<attribute name="match-empty-string-at-beginning" a:defaultValue="FALSE">
|
314
|
+
<ref name="boolean"/>
|
315
|
+
</attribute>
|
316
|
+
</optional>
|
317
|
+
<optional>
|
318
|
+
<attribute name="match-empty-string-at-end" a:defaultValue="FALSE">
|
319
|
+
<ref name="boolean"/>
|
320
|
+
</attribute>
|
321
|
+
</optional>
|
322
|
+
<optional>
|
323
|
+
<attribute name="beginning-regex"/>
|
324
|
+
</optional>
|
325
|
+
<optional>
|
326
|
+
<attribute name="end-regex"/>
|
327
|
+
</optional>
|
328
|
+
</define>
|
329
|
+
<!-- Elements used inside other elements -->
|
330
|
+
<define name="keyword">
|
331
|
+
<element name="keyword">
|
332
|
+
<ref name="attlist.keyword"/>
|
333
|
+
<text/>
|
334
|
+
</element>
|
335
|
+
</define>
|
336
|
+
<define name="attlist.keyword" combine="interleave">
|
337
|
+
<empty/>
|
338
|
+
</define>
|
339
|
+
<define name="regex">
|
340
|
+
<element name="regex">
|
341
|
+
<ref name="attlist.regex"/>
|
342
|
+
<text/>
|
343
|
+
</element>
|
344
|
+
</define>
|
345
|
+
<define name="attlist.regex" combine="interleave">
|
346
|
+
<empty/>
|
347
|
+
</define>
|
348
|
+
<define name="start-regex">
|
349
|
+
<element name="start-regex">
|
350
|
+
<ref name="attlist.start-regex"/>
|
351
|
+
<text/>
|
352
|
+
</element>
|
353
|
+
</define>
|
354
|
+
<define name="attlist.start-regex" combine="interleave">
|
355
|
+
<empty/>
|
356
|
+
</define>
|
357
|
+
<define name="end-regex">
|
358
|
+
<element name="end-regex">
|
359
|
+
<ref name="attlist.end-regex"/>
|
360
|
+
<text/>
|
361
|
+
</element>
|
362
|
+
</define>
|
363
|
+
<define name="attlist.end-regex" combine="interleave">
|
364
|
+
<empty/>
|
365
|
+
</define>
|
366
|
+
|
367
|
+
<start>
|
368
|
+
<choice>
|
369
|
+
<ref name="language"/>
|
370
|
+
</choice>
|
371
|
+
</start>
|
372
|
+
</grammar>
|
@@ -0,0 +1,481 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!--
|
3
|
+
|
4
|
+
This file is part of GtkSourceView
|
5
|
+
|
6
|
+
Copyright (C) 2005-2007 Marco Barisione <barisione@gmail.com>
|
7
|
+
Copyright (C) 2005-2007 Emanuele Aina
|
8
|
+
Copyright (C) 2011 Sapphire Becker <guess@logicplace.com>
|
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
|
+
<grammar xmlns="http://relaxng.org/ns/structure/1.0"
|
25
|
+
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
|
26
|
+
<start>
|
27
|
+
<element name="language">
|
28
|
+
<choice>
|
29
|
+
<attribute name="name"/>
|
30
|
+
<attribute name="_name"/>
|
31
|
+
</choice>
|
32
|
+
|
33
|
+
<attribute name="id">
|
34
|
+
<data type="string">
|
35
|
+
<param name="pattern">[a-zA-Z0-9_\-]+</param>
|
36
|
+
</data>
|
37
|
+
</attribute>
|
38
|
+
|
39
|
+
<attribute name="version"/>
|
40
|
+
|
41
|
+
<optional>
|
42
|
+
<choice>
|
43
|
+
<attribute name="section"/>
|
44
|
+
<attribute name="_section"/>
|
45
|
+
</choice>
|
46
|
+
</optional>
|
47
|
+
|
48
|
+
<optional>
|
49
|
+
<attribute name="hidden">
|
50
|
+
<ref name="boolean-value"/>
|
51
|
+
</attribute>
|
52
|
+
</optional>
|
53
|
+
|
54
|
+
<optional>
|
55
|
+
<attribute name="translation-domain"/>
|
56
|
+
</optional>
|
57
|
+
|
58
|
+
<optional>
|
59
|
+
<oneOrMore>
|
60
|
+
<element name="author">
|
61
|
+
<text/>
|
62
|
+
</element>
|
63
|
+
</oneOrMore>
|
64
|
+
</optional>
|
65
|
+
|
66
|
+
<optional>
|
67
|
+
<ref name="metadata"/>
|
68
|
+
</optional>
|
69
|
+
|
70
|
+
<optional>
|
71
|
+
<ref name="styles" />
|
72
|
+
</optional>
|
73
|
+
|
74
|
+
<optional>
|
75
|
+
<element name="default-regex-options">
|
76
|
+
<ref name="regex-options"/>
|
77
|
+
</element>
|
78
|
+
</optional>
|
79
|
+
|
80
|
+
<optional>
|
81
|
+
<element name="keyword-char-class">
|
82
|
+
<text/>
|
83
|
+
</element>
|
84
|
+
</optional>
|
85
|
+
|
86
|
+
<ref name="definitions" />
|
87
|
+
</element>
|
88
|
+
</start>
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
<define name="id-type">
|
93
|
+
<data type="string">
|
94
|
+
<param name="pattern">([a-zA-Z0-9_\-]+:)?[a-zA-Z0-9_\-]+</param>
|
95
|
+
</data>
|
96
|
+
</define>
|
97
|
+
|
98
|
+
<define name="ref-type">
|
99
|
+
<data type="string">
|
100
|
+
<param name="pattern">([a-zA-Z0-9_\-]+:)?[a-zA-Z0-9_\-]+(:\*)?</param>
|
101
|
+
</data>
|
102
|
+
</define>
|
103
|
+
|
104
|
+
<define name="boolean-value">
|
105
|
+
<choice>
|
106
|
+
<value>true</value>
|
107
|
+
<value>false</value>
|
108
|
+
</choice>
|
109
|
+
</define>
|
110
|
+
|
111
|
+
<define name="regex-options">
|
112
|
+
<optional>
|
113
|
+
<attribute name="extended">
|
114
|
+
<ref name="boolean-value"/>
|
115
|
+
</attribute>
|
116
|
+
</optional>
|
117
|
+
<optional>
|
118
|
+
<attribute name="case-sensitive">
|
119
|
+
<ref name="boolean-value"/>
|
120
|
+
</attribute>
|
121
|
+
</optional>
|
122
|
+
<optional>
|
123
|
+
<attribute name="dupnames">
|
124
|
+
<ref name="boolean-value"/>
|
125
|
+
</attribute>
|
126
|
+
</optional>
|
127
|
+
</define>
|
128
|
+
|
129
|
+
|
130
|
+
<define name="property">
|
131
|
+
<element name="property">
|
132
|
+
<attribute name="name">
|
133
|
+
<!-- <data type="string">-->
|
134
|
+
<!-- <param name="pattern">[a-zA-Z0-9_\-]+</param>-->
|
135
|
+
<!-- </data>-->
|
136
|
+
</attribute>
|
137
|
+
<text/>
|
138
|
+
<!-- <optional>
|
139
|
+
<attribute name="mimetypes"/>
|
140
|
+
</optional>-->
|
141
|
+
</element>
|
142
|
+
</define>
|
143
|
+
|
144
|
+
<define name="metadata">
|
145
|
+
<element name="metadata">
|
146
|
+
<zeroOrMore>
|
147
|
+
<ref name="property"/>
|
148
|
+
</zeroOrMore>
|
149
|
+
</element>
|
150
|
+
</define>
|
151
|
+
|
152
|
+
<define name="styles">
|
153
|
+
<element name="styles">
|
154
|
+
<oneOrMore>
|
155
|
+
<element name="style">
|
156
|
+
<attribute name="id">
|
157
|
+
<data type="string">
|
158
|
+
<param name="pattern">[a-zA-Z0-9_\-]+</param>
|
159
|
+
</data>
|
160
|
+
</attribute>
|
161
|
+
<choice>
|
162
|
+
<attribute name="name"/>
|
163
|
+
<attribute name="_name"/>
|
164
|
+
</choice>
|
165
|
+
<optional>
|
166
|
+
<attribute name="map-to">
|
167
|
+
<ref name="id-type"/>
|
168
|
+
</attribute>
|
169
|
+
</optional>
|
170
|
+
</element>
|
171
|
+
</oneOrMore>
|
172
|
+
</element>
|
173
|
+
</define>
|
174
|
+
|
175
|
+
<define name="definitions">
|
176
|
+
<element name="definitions">
|
177
|
+
<interleave>
|
178
|
+
<oneOrMore>
|
179
|
+
<choice>
|
180
|
+
<ref name="context-to-be-included"/>
|
181
|
+
<ref name="context-container"/>
|
182
|
+
<ref name="context-simple"/>
|
183
|
+
<ref name="context-reference"/>
|
184
|
+
<ref name="context-placeholder"/>
|
185
|
+
</choice>
|
186
|
+
</oneOrMore>
|
187
|
+
<zeroOrMore>
|
188
|
+
<ref name="define-regex"/>
|
189
|
+
</zeroOrMore>
|
190
|
+
<zeroOrMore>
|
191
|
+
<ref name="replace-context"/>
|
192
|
+
</zeroOrMore>
|
193
|
+
</interleave>
|
194
|
+
</element>
|
195
|
+
</define>
|
196
|
+
|
197
|
+
|
198
|
+
<define name="context-simple">
|
199
|
+
<element name="context">
|
200
|
+
<optional>
|
201
|
+
<attribute name="id">
|
202
|
+
<ref name="id-type"/>
|
203
|
+
</attribute>
|
204
|
+
</optional>
|
205
|
+
<optional>
|
206
|
+
<attribute name="style-ref">
|
207
|
+
<ref name="id-type"/>
|
208
|
+
</attribute>
|
209
|
+
</optional>
|
210
|
+
<optional>
|
211
|
+
<attribute name="extend-parent">
|
212
|
+
<ref name="boolean-value"/>
|
213
|
+
</attribute>
|
214
|
+
</optional>
|
215
|
+
<optional>
|
216
|
+
<attribute name="end-parent">
|
217
|
+
<ref name="boolean-value"/>
|
218
|
+
</attribute>
|
219
|
+
</optional>
|
220
|
+
<optional>
|
221
|
+
<attribute name="first-line-only">
|
222
|
+
<ref name="boolean-value"/>
|
223
|
+
</attribute>
|
224
|
+
</optional>
|
225
|
+
<optional>
|
226
|
+
<attribute name="once-only">
|
227
|
+
<ref name="boolean-value"/>
|
228
|
+
</attribute>
|
229
|
+
</optional>
|
230
|
+
<optional>
|
231
|
+
<attribute name="class"/>
|
232
|
+
</optional>
|
233
|
+
<optional>
|
234
|
+
<attribute name="class-disabled"/>
|
235
|
+
</optional>
|
236
|
+
<choice>
|
237
|
+
<element name="match">
|
238
|
+
<ref name="regex-options"/>
|
239
|
+
<text/>
|
240
|
+
</element>
|
241
|
+
|
242
|
+
<group>
|
243
|
+
<optional>
|
244
|
+
<element name="prefix"><text/></element>
|
245
|
+
</optional>
|
246
|
+
<optional>
|
247
|
+
<element name="suffix"><text/></element>
|
248
|
+
</optional>
|
249
|
+
<oneOrMore>
|
250
|
+
<element name="keyword"><text/></element>
|
251
|
+
</oneOrMore>
|
252
|
+
</group>
|
253
|
+
</choice>
|
254
|
+
|
255
|
+
<optional>
|
256
|
+
<element name="include">
|
257
|
+
<oneOrMore>
|
258
|
+
<ref name="context-subpattern-simple"/>
|
259
|
+
</oneOrMore>
|
260
|
+
</element>
|
261
|
+
</optional>
|
262
|
+
</element>
|
263
|
+
</define>
|
264
|
+
|
265
|
+
<define name="context-container">
|
266
|
+
<element name="context">
|
267
|
+
<optional>
|
268
|
+
<attribute name="id">
|
269
|
+
<ref name="id-type"/>
|
270
|
+
</attribute>
|
271
|
+
</optional>
|
272
|
+
<optional>
|
273
|
+
<attribute name="style-ref">
|
274
|
+
<ref name="id-type"/>
|
275
|
+
</attribute>
|
276
|
+
</optional>
|
277
|
+
<optional>
|
278
|
+
<attribute name="style-inside">
|
279
|
+
<ref name="boolean-value"/>
|
280
|
+
</attribute>
|
281
|
+
</optional>
|
282
|
+
<optional>
|
283
|
+
<attribute name="extend-parent">
|
284
|
+
<ref name="boolean-value"/>
|
285
|
+
</attribute>
|
286
|
+
</optional>
|
287
|
+
<optional>
|
288
|
+
<attribute name="end-parent">
|
289
|
+
<ref name="boolean-value"/>
|
290
|
+
</attribute>
|
291
|
+
</optional>
|
292
|
+
<optional>
|
293
|
+
<attribute name="end-at-line-end">
|
294
|
+
<ref name="boolean-value"/>
|
295
|
+
</attribute>
|
296
|
+
</optional>
|
297
|
+
<optional>
|
298
|
+
<attribute name="first-line-only">
|
299
|
+
<ref name="boolean-value"/>
|
300
|
+
</attribute>
|
301
|
+
</optional>
|
302
|
+
<optional>
|
303
|
+
<attribute name="once-only">
|
304
|
+
<ref name="boolean-value"/>
|
305
|
+
</attribute>
|
306
|
+
</optional>
|
307
|
+
<optional>
|
308
|
+
<attribute name="class"/>
|
309
|
+
</optional>
|
310
|
+
<optional>
|
311
|
+
<attribute name="class-disabled"/>
|
312
|
+
</optional>
|
313
|
+
|
314
|
+
<element name="start">
|
315
|
+
<ref name="regex-options"/>
|
316
|
+
<text/>
|
317
|
+
</element>
|
318
|
+
<optional>
|
319
|
+
<element name="end">
|
320
|
+
<ref name="regex-options"/>
|
321
|
+
<text/>
|
322
|
+
</element>
|
323
|
+
</optional>
|
324
|
+
|
325
|
+
<optional>
|
326
|
+
<element name="include">
|
327
|
+
<interleave>
|
328
|
+
<oneOrMore>
|
329
|
+
<choice>
|
330
|
+
<ref name="context-container"/>
|
331
|
+
<ref name="context-simple"/>
|
332
|
+
<ref name="context-to-be-included"/>
|
333
|
+
<ref name="context-subpattern-container"/>
|
334
|
+
<ref name="context-reference"/>
|
335
|
+
<ref name="context-placeholder"/>
|
336
|
+
</choice>
|
337
|
+
</oneOrMore>
|
338
|
+
<zeroOrMore>
|
339
|
+
<ref name="define-regex"/>
|
340
|
+
</zeroOrMore>
|
341
|
+
</interleave>
|
342
|
+
</element>
|
343
|
+
</optional>
|
344
|
+
</element>
|
345
|
+
</define>
|
346
|
+
|
347
|
+
<define name="context-to-be-included">
|
348
|
+
<element name="context">
|
349
|
+
<attribute name="id">
|
350
|
+
<ref name="id-type"/>
|
351
|
+
</attribute>
|
352
|
+
<optional>
|
353
|
+
<attribute name="class"/>
|
354
|
+
</optional>
|
355
|
+
<optional>
|
356
|
+
<attribute name="class-disabled"/>
|
357
|
+
</optional>
|
358
|
+
|
359
|
+
<element name="include">
|
360
|
+
<interleave>
|
361
|
+
<oneOrMore>
|
362
|
+
<choice>
|
363
|
+
<ref name="context-container"/>
|
364
|
+
<ref name="context-simple"/>
|
365
|
+
<ref name="context-to-be-included"/>
|
366
|
+
<ref name="context-reference"/>
|
367
|
+
<ref name="context-placeholder"/>
|
368
|
+
</choice>
|
369
|
+
</oneOrMore>
|
370
|
+
<zeroOrMore>
|
371
|
+
<ref name="define-regex"/>
|
372
|
+
</zeroOrMore>
|
373
|
+
</interleave>
|
374
|
+
</element>
|
375
|
+
</element>
|
376
|
+
</define>
|
377
|
+
|
378
|
+
<define name="context-subpattern-simple">
|
379
|
+
<element name="context">
|
380
|
+
<optional>
|
381
|
+
<attribute name="id">
|
382
|
+
<ref name="id-type"/>
|
383
|
+
</attribute>
|
384
|
+
</optional>
|
385
|
+
<optional>
|
386
|
+
<attribute name="style-ref">
|
387
|
+
<ref name="id-type"/>
|
388
|
+
</attribute>
|
389
|
+
</optional>
|
390
|
+
<optional>
|
391
|
+
<attribute name="class"/>
|
392
|
+
</optional>
|
393
|
+
<optional>
|
394
|
+
<attribute name="class-disabled"/>
|
395
|
+
</optional>
|
396
|
+
|
397
|
+
<attribute name="sub-pattern"/>
|
398
|
+
</element>
|
399
|
+
</define>
|
400
|
+
|
401
|
+
<define name="context-subpattern-container">
|
402
|
+
<element name="context">
|
403
|
+
<optional>
|
404
|
+
<attribute name="id">
|
405
|
+
<ref name="id-type"/>
|
406
|
+
</attribute>
|
407
|
+
</optional>
|
408
|
+
<optional>
|
409
|
+
<attribute name="style-ref">
|
410
|
+
<ref name="id-type"/>
|
411
|
+
</attribute>
|
412
|
+
</optional>
|
413
|
+
<optional>
|
414
|
+
<attribute name="class"/>
|
415
|
+
</optional>
|
416
|
+
<optional>
|
417
|
+
<attribute name="class-disabled"/>
|
418
|
+
</optional>
|
419
|
+
|
420
|
+
<attribute name="sub-pattern"/>
|
421
|
+
|
422
|
+
<attribute name="where">
|
423
|
+
<choice>
|
424
|
+
<value>start</value>
|
425
|
+
<value>end</value>
|
426
|
+
</choice>
|
427
|
+
</attribute>
|
428
|
+
</element>
|
429
|
+
</define>
|
430
|
+
|
431
|
+
<define name="context-reference">
|
432
|
+
<element name="context">
|
433
|
+
<attribute name="ref">
|
434
|
+
<ref name="ref-type"/>
|
435
|
+
</attribute>
|
436
|
+
<optional>
|
437
|
+
<choice>
|
438
|
+
<attribute name="style-ref">
|
439
|
+
<ref name="id-type"/>
|
440
|
+
</attribute>
|
441
|
+
<attribute name="ignore-style">
|
442
|
+
<ref name="boolean-value"/>
|
443
|
+
</attribute>
|
444
|
+
<attribute name="original">
|
445
|
+
<ref name="boolean-value"/>
|
446
|
+
</attribute>
|
447
|
+
</choice>
|
448
|
+
</optional>
|
449
|
+
</element>
|
450
|
+
</define>
|
451
|
+
|
452
|
+
<define name="context-placeholder">
|
453
|
+
<element name="context">
|
454
|
+
<attribute name="id">
|
455
|
+
<ref name="id-type"/>
|
456
|
+
</attribute>
|
457
|
+
</element>
|
458
|
+
</define>
|
459
|
+
|
460
|
+
<define name="define-regex">
|
461
|
+
<element name="define-regex">
|
462
|
+
<attribute name="id">
|
463
|
+
<ref name="id-type"/>
|
464
|
+
</attribute>
|
465
|
+
<ref name="regex-options"/>
|
466
|
+
<text/>
|
467
|
+
</element>
|
468
|
+
</define>
|
469
|
+
|
470
|
+
<define name="replace-context">
|
471
|
+
<element name="replace">
|
472
|
+
<attribute name="id">
|
473
|
+
<ref name="ref-type"/>
|
474
|
+
</attribute>
|
475
|
+
<attribute name="ref">
|
476
|
+
<ref name="ref-type"/>
|
477
|
+
</attribute>
|
478
|
+
</element>
|
479
|
+
</define>
|
480
|
+
|
481
|
+
</grammar>
|