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,329 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!--
|
3
|
+
|
4
|
+
This file is part of GtkSourceView
|
5
|
+
|
6
|
+
Author: P. F. Chimento <philip.chimento@gmail.com>
|
7
|
+
Copyright (C) 2011 P. F. Chimento <philip.chimento@gmail.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
|
+
<language id="automake" name="Automake" version="2.0" _section="Source">
|
24
|
+
<metadata>
|
25
|
+
<property name="globs">Makefile.am;GNUmakefile.am</property>
|
26
|
+
<property name="line-comment-start">#</property>
|
27
|
+
</metadata>
|
28
|
+
|
29
|
+
<!--
|
30
|
+
Early versions of this were based on Vim's Automake syntax highlighting
|
31
|
+
file. This language definition is for Automake's Makefile.am files. It is
|
32
|
+
based on the definition of Makefile, except it highlights Makefile variables
|
33
|
+
which are significant to Automake, as well as Autoconf-style @variable@
|
34
|
+
substitutions.
|
35
|
+
-->
|
36
|
+
|
37
|
+
<styles>
|
38
|
+
<style id="lhs" name="Automake Variable" map-to="def:identifier"/>
|
39
|
+
<style id="primary" name="Primary" map-to="def:type"/>
|
40
|
+
<style id="secondary" name="Secondary" map-to="def:statement"/>
|
41
|
+
<style id="prefix" name="Prefix" map-to="def:statement"/>
|
42
|
+
<style id="target" name="Optional Target" map-to="def:statement"/>
|
43
|
+
<style id="dirname" name="Built-in Target" map-to="def:statement"/>
|
44
|
+
<style id="keyword" name="Other Keyword" map-to="def:statement"/>
|
45
|
+
<style id="subst" name="Substitution" map-to="def:preprocessor"/>
|
46
|
+
</styles>
|
47
|
+
|
48
|
+
<definitions>
|
49
|
+
<!-- Allow substitutions on RHS of assignment -->
|
50
|
+
<replace id="makefile:assignment-rhs" ref="assignment-rhs"/>
|
51
|
+
<!-- Also allow substitutions in makefile's shell code -->
|
52
|
+
<replace id="makefile:command" ref="command"/>
|
53
|
+
|
54
|
+
<!-- Also allow substitutions in automake variable names, that's why the
|
55
|
+
@ is in here; as in libfoobar_@VERSION@_SOURCES -->
|
56
|
+
<define-regex id="variable">[A-Za-z0-9_@]+</define-regex>
|
57
|
+
|
58
|
+
<!-- What is allowed on a line before an Automake variable - no tabs! -->
|
59
|
+
<define-regex id="space">^ *</define-regex>
|
60
|
+
|
61
|
+
<!-- What must come after an Automake variable - one of the assignment
|
62
|
+
operators =, +=, ?=, := (Not sure what := does, but Webkit's GNUmakefile.am
|
63
|
+
uses it, for example -->
|
64
|
+
<define-regex id="operator">\s*[\+\?:]?=</define-regex>
|
65
|
+
|
66
|
+
<!-- Prefixes for primaries and secondaries -->
|
67
|
+
<define-regex id="prefix">(?:no)?dist|no(?:base|trans)</define-regex>
|
68
|
+
|
69
|
+
<!-- "Primaries", or the last component of Product List Variables -->
|
70
|
+
<define-regex id="primary" extended="true">
|
71
|
+
PROGRAMS|
|
72
|
+
(?:LT)?LIBRARIES|
|
73
|
+
LISP|
|
74
|
+
PYTHON|
|
75
|
+
JAVA|
|
76
|
+
SCRIPTS|
|
77
|
+
DATA|
|
78
|
+
HEADERS|
|
79
|
+
MANS|
|
80
|
+
TEXINFOS
|
81
|
+
</define-regex>
|
82
|
+
|
83
|
+
<!-- Non-directory installation targets -->
|
84
|
+
<define-regex id="target">noinst|check|EXTRA</define-regex>
|
85
|
+
|
86
|
+
<!-- The list of things that can go before "FLAGS" -->
|
87
|
+
<define-regex id="flags" extended="true">
|
88
|
+
C|
|
89
|
+
CCAS|
|
90
|
+
CPP|
|
91
|
+
CXX|
|
92
|
+
F|
|
93
|
+
GCJ|
|
94
|
+
JAVAC|
|
95
|
+
L|
|
96
|
+
LD|
|
97
|
+
LIBTOOL|
|
98
|
+
(?:[A-Z]+_)?LOG|
|
99
|
+
MAKEINFO(?:HTML)?|
|
100
|
+
OBJC|
|
101
|
+
R|
|
102
|
+
UPC|
|
103
|
+
VALA|
|
104
|
+
Y
|
105
|
+
</define-regex>
|
106
|
+
|
107
|
+
<!-- "Secondaries", or the last component of Product Source Variables -->
|
108
|
+
<define-regex id="secondary" extended="true">
|
109
|
+
AR|
|
110
|
+
DEPENDENCIES|
|
111
|
+
LDADD|
|
112
|
+
LIBADD|
|
113
|
+
LINK|
|
114
|
+
SHORTNAME|
|
115
|
+
SOURCES|
|
116
|
+
\%{flags}FLAGS
|
117
|
+
</define-regex>
|
118
|
+
|
119
|
+
<!-- Names of other Automake variables that aren't primaries, secondaries,
|
120
|
+
flags, or target directories -->
|
121
|
+
<define-regex id="keyword" extended="true">
|
122
|
+
ACLOCAL_AMFLAGS|
|
123
|
+
AM_DEFAULT_SOURCE_EXT|
|
124
|
+
AUTOMAKE_OPTIONS|
|
125
|
+
BUILT_SOURCES|
|
126
|
+
CC|
|
127
|
+
CLASSPATH_ENV|
|
128
|
+
(?:DIST|MAINTAINER|MOSTLY)?CLEANFILES|
|
129
|
+
COMPILE|
|
130
|
+
(?:CXX|FC|OBJC|UPC)(?:COMPILE|LINK)?|
|
131
|
+
DEFAULT_INCLUDES|
|
132
|
+
DEFS|
|
133
|
+
DISTCHECK_CONFIGURE_FLAGS|
|
134
|
+
DVIPS|
|
135
|
+
ETAGS_ARGS|
|
136
|
+
EXTRA_DIST|
|
137
|
+
F77(?:COMPILE)?|
|
138
|
+
FLINK|
|
139
|
+
INCLUDE|
|
140
|
+
JAVAC|
|
141
|
+
JAVAROOT|
|
142
|
+
LIBS|
|
143
|
+
LINK|
|
144
|
+
(?:[A-Z]+_)?LOG_COMPILER|
|
145
|
+
MAKEINFO(?:HTML)?|
|
146
|
+
(?:OMIT|TAGS)_DEPENDENCIES|
|
147
|
+
(?:DIST_)?SUBDIRS|
|
148
|
+
SUFFIXES|
|
149
|
+
(?:AM_)?TESTS_ENVIRONMENT|
|
150
|
+
TESTS|
|
151
|
+
TEXI2(?:DVI|PDF)|
|
152
|
+
TEXINFO_TEX|
|
153
|
+
VALAC
|
154
|
+
</define-regex>
|
155
|
+
|
156
|
+
<!-- Predefined directory targets -->
|
157
|
+
<define-regex id="dirname" extended="true">
|
158
|
+
s?bin|
|
159
|
+
(?:pkg)?lib(?:exec)?|
|
160
|
+
(?:pkg)?data|
|
161
|
+
(?:pkg|old)?include|
|
162
|
+
dataroot|
|
163
|
+
sysconf|
|
164
|
+
(?:shared|local)state|
|
165
|
+
doc|
|
166
|
+
info|
|
167
|
+
html|
|
168
|
+
dvi|
|
169
|
+
pdf|
|
170
|
+
ps|
|
171
|
+
lisp|
|
172
|
+
locale|
|
173
|
+
man[1-8]?(?:ext)?|
|
174
|
+
src|
|
175
|
+
(?:pkg)?python|
|
176
|
+
(?:pkg)?pyexec
|
177
|
+
</define-regex>
|
178
|
+
|
179
|
+
<!-- Substitutions from AC_SUBST -->
|
180
|
+
<context id="subst" style-ref="subst">
|
181
|
+
<match>@\%{variable}@</match>
|
182
|
+
</context>
|
183
|
+
|
184
|
+
<!-- Lines starting with ## are not copied into Makefile.in, and no
|
185
|
+
substitutions are performed -->
|
186
|
+
<context id="nosubcomment" end-at-line-end="true" class-disabled="no-spell-check">
|
187
|
+
<start>^##</start>
|
188
|
+
<include>
|
189
|
+
<context ref="def:in-comment"/>
|
190
|
+
</include>
|
191
|
+
</context>
|
192
|
+
|
193
|
+
<!-- Copy of def:shell-like-comment, except it includes substitutions -->
|
194
|
+
<context id="comment" end-at-line-end="true" class-disabled="no-spell-check">
|
195
|
+
<start>#</start>
|
196
|
+
<include>
|
197
|
+
<context ref="subst"/>
|
198
|
+
<context ref="def:in-comment"/>
|
199
|
+
</include>
|
200
|
+
</context>
|
201
|
+
|
202
|
+
<!-- Assignment to a FLAGS variable -->
|
203
|
+
<context id="flags-assignment" end-at-line-end="true">
|
204
|
+
<start>\%{space}((?:AM_)?\%{flags}FLAGS)\%{operator}</start>
|
205
|
+
<include>
|
206
|
+
<context sub-pattern="1" where="start" style-ref="keyword"/>
|
207
|
+
<context ref="assignment-rhs"/>
|
208
|
+
</include>
|
209
|
+
</context>
|
210
|
+
|
211
|
+
<!-- Assignment to a non-primary, secondary, flags, or dir variable -->
|
212
|
+
<context id="keyword-assignment" end-at-line-end="true">
|
213
|
+
<start>\%{space}(\%{keyword})\%{operator}</start>
|
214
|
+
<include>
|
215
|
+
<context sub-pattern="1" where="start" style-ref="keyword"/>
|
216
|
+
<context ref="assignment-rhs"/>
|
217
|
+
</include>
|
218
|
+
</context>
|
219
|
+
|
220
|
+
<!-- Assignment to a primary. The subpatterns are named. Subpattern names
|
221
|
+
must not conflict subpattern names in other expressions, so some are
|
222
|
+
prefixed with a 'p' -->
|
223
|
+
<context id="primary-assignment" end-at-line-end="true">
|
224
|
+
<start extended="true">
|
225
|
+
\%{space} # beginning of line
|
226
|
+
(?P<pprefix>(?:\%{prefix}_)*) # any number of prefixes_
|
227
|
+
(?: # either...
|
228
|
+
(?P<target>\%{target})| # ...a nondir target (e.g. noinst),
|
229
|
+
(?P<dirname>\%{dirname})| # ...a dir target (e.g. bin)
|
230
|
+
(?P<pvariable>\%{variable}) # ...or a user-defined dir
|
231
|
+
)
|
232
|
+
(?P<primary>_\%{primary}) # and a _PRIMARY
|
233
|
+
\%{operator} # an assignment operator
|
234
|
+
</start>
|
235
|
+
<include>
|
236
|
+
<context sub-pattern="primary" where="start" style-ref="primary"/>
|
237
|
+
<context sub-pattern="pprefix" where="start" style-ref="prefix"/>
|
238
|
+
<context sub-pattern="target" where="start" style-ref="target"/>
|
239
|
+
<context sub-pattern="dirname" where="start" style-ref="dirname"/>
|
240
|
+
<context sub-pattern="pvariable" where="start" style-ref="lhs"/>
|
241
|
+
<context ref="assignment-rhs"/>
|
242
|
+
</include>
|
243
|
+
</context>
|
244
|
+
|
245
|
+
<!-- Assignment to a secondary. Again, some subpatterns have to be prefixed
|
246
|
+
with an 's' -->
|
247
|
+
<context id="secondary-assignment" end-at-line-end="true">
|
248
|
+
<start extended="true">
|
249
|
+
\%{space} # beginning of line
|
250
|
+
(?P<sprefix>
|
251
|
+
(?:(?:\%{prefix}|EXTRA)_)*) # any number of prefix_ or EXTRA_
|
252
|
+
(?P<svariable>\%{variable}) # the canonicalized_program_name
|
253
|
+
(?P<secondary>_\%{secondary}) # and a _SECONDARY
|
254
|
+
\%{operator} # an assignment operator
|
255
|
+
</start>
|
256
|
+
<include>
|
257
|
+
<context sub-pattern="sprefix" where="start" style-ref="prefix"/>
|
258
|
+
<context sub-pattern="svariable" where="start" style-ref="lhs"/>
|
259
|
+
<context sub-pattern="secondary" where="start" style-ref="secondary"/>
|
260
|
+
<context ref="assignment-rhs"/>
|
261
|
+
</include>
|
262
|
+
</context>
|
263
|
+
|
264
|
+
<!-- Assignment to a directory variable (e.g. foobardir) -->
|
265
|
+
<context id="dir-assignment" end-at-line-end="true">
|
266
|
+
<start>\%{space}(\%{variable})(dir)\%{operator}</start>
|
267
|
+
<include>
|
268
|
+
<context id="dir-lhs" sub-pattern="1" where="start" style-ref="lhs"/>
|
269
|
+
<context id="dir" sub-pattern="2" where="start" style-ref="keyword"/>
|
270
|
+
<context ref="assignment-rhs"/>
|
271
|
+
</include>
|
272
|
+
</context>
|
273
|
+
|
274
|
+
<!-- What is allowed on the right-hand side of an assignment -->
|
275
|
+
<context id="assignment-rhs" end-at-line-end="true">
|
276
|
+
<start></start>
|
277
|
+
<include>
|
278
|
+
<context ref="def:line-continue"/>
|
279
|
+
<context ref="def:shell-like-comment"/>
|
280
|
+
<context ref="makefile:variable"/>
|
281
|
+
<context ref="makefile:string"/>
|
282
|
+
<context ref="def:single-quoted-string"/>
|
283
|
+
<context ref="sh:backtick-subshell"/>
|
284
|
+
<context ref="subst"/>
|
285
|
+
</include>
|
286
|
+
</context>
|
287
|
+
|
288
|
+
<!-- Copy of makefile:command, except it includes substitutions -->
|
289
|
+
<context id="command" extend-parent="false" end-at-line-end="true">
|
290
|
+
<start></start>
|
291
|
+
<include>
|
292
|
+
<context ref="def:line-continue"/>
|
293
|
+
<context ref="subst"/>
|
294
|
+
<context ref="sh:sh" original="true"/>
|
295
|
+
</include>
|
296
|
+
</context>
|
297
|
+
|
298
|
+
<!-- All the contexts listed here represent an assignment to a variable
|
299
|
+
(Automake variable or otherwise), and they all contain the "assignment-rhs"
|
300
|
+
context -->
|
301
|
+
<context id="assignment">
|
302
|
+
<include>
|
303
|
+
<context ref="flags-assignment"/>
|
304
|
+
<context ref="keyword-assignment"/>
|
305
|
+
<context ref="primary-assignment"/>
|
306
|
+
<context ref="secondary-assignment"/>
|
307
|
+
<context ref="dir-assignment"/>
|
308
|
+
<context ref="makefile:assignment"/>
|
309
|
+
</include>
|
310
|
+
</context>
|
311
|
+
|
312
|
+
<!-- The main context -->
|
313
|
+
<context id="automake">
|
314
|
+
<include>
|
315
|
+
<context ref="makefile:directives" style-ref="def:keyword"/>
|
316
|
+
<context ref="makefile:functions" style-ref="def:function"/>
|
317
|
+
<context ref="subst" style-ref="subst"/>
|
318
|
+
<!-- Must come before 'comment' -->
|
319
|
+
<context ref="nosubcomment" style-ref="def:comment"/>
|
320
|
+
<context ref="comment" style-ref="def:comment"/>
|
321
|
+
<context ref="assignment"/>
|
322
|
+
<!-- Must come after 'comment', otherwise we can get rules starting
|
323
|
+
with #; must also come after 'assignment' because of := operator -->
|
324
|
+
<context ref="makefile:rule"/>
|
325
|
+
</include>
|
326
|
+
</context>
|
327
|
+
</definitions>
|
328
|
+
|
329
|
+
</language>
|
@@ -0,0 +1,137 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!--
|
3
|
+
|
4
|
+
This file is part of GtkSourceView
|
5
|
+
|
6
|
+
Author: Paolo Borelli <pborelli@gnome.org>
|
7
|
+
Copyright (C) 2007 Paolo Borelli
|
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
|
+
<language id="awk" name="awk" version="2.0" _section="Script">
|
24
|
+
<metadata>
|
25
|
+
<property name="mimetypes">application/x-awk</property>
|
26
|
+
<property name="globs">*.awk</property>
|
27
|
+
<property name="line-comment-start">#</property>
|
28
|
+
</metadata>
|
29
|
+
|
30
|
+
<styles>
|
31
|
+
<style id="keyword" name="Keyword" map-to="def:keyword"/>
|
32
|
+
<style id="pattern" name="Pattern" map-to="def:preprocessor"/>
|
33
|
+
<style id="variable" name="Variable" map-to="def:identifier"/>
|
34
|
+
<style id="builtin-function" name="Builtin Function" map-to="def:builtin"/>
|
35
|
+
</styles>
|
36
|
+
|
37
|
+
<definitions>
|
38
|
+
|
39
|
+
<context id="keywords" style-ref="keyword">
|
40
|
+
<keyword>break</keyword>
|
41
|
+
<keyword>continue</keyword>
|
42
|
+
<keyword>do</keyword>
|
43
|
+
<keyword>delete</keyword>
|
44
|
+
<keyword>else</keyword>
|
45
|
+
<keyword>exit</keyword>
|
46
|
+
<keyword>for</keyword>
|
47
|
+
<keyword>function</keyword>
|
48
|
+
<keyword>getline</keyword>
|
49
|
+
<keyword>if</keyword>
|
50
|
+
<keyword>next</keyword>
|
51
|
+
<keyword>nextfile</keyword>
|
52
|
+
<keyword>print</keyword>
|
53
|
+
<keyword>printf</keyword>
|
54
|
+
<keyword>return</keyword>
|
55
|
+
<keyword>while</keyword>
|
56
|
+
</context>
|
57
|
+
|
58
|
+
<context id="patterns" style-ref="pattern">
|
59
|
+
<keyword>BEGIN</keyword>
|
60
|
+
<keyword>END</keyword>
|
61
|
+
</context>
|
62
|
+
|
63
|
+
<context id="variables" style-ref="variable">
|
64
|
+
<keyword>ARGC</keyword>
|
65
|
+
<keyword>ARGV</keyword>
|
66
|
+
<keyword>FILENAME</keyword>
|
67
|
+
<keyword>FNR</keyword>
|
68
|
+
<keyword>FS</keyword>
|
69
|
+
<keyword>NF</keyword>
|
70
|
+
<keyword>NR</keyword>
|
71
|
+
<keyword>OFMT</keyword>
|
72
|
+
<keyword>OFS</keyword>
|
73
|
+
<keyword>ORS</keyword>
|
74
|
+
<keyword>RLENGTH</keyword>
|
75
|
+
<keyword>RS</keyword>
|
76
|
+
<keyword>RSTART</keyword>
|
77
|
+
<keyword>SUBSEP</keyword>
|
78
|
+
<keyword>ARGIND</keyword>
|
79
|
+
<keyword>BINMODE</keyword>
|
80
|
+
<keyword>CONVFMT</keyword>
|
81
|
+
<keyword>ENVIRON</keyword>
|
82
|
+
<keyword>ERRNO</keyword>
|
83
|
+
<keyword>FIELDWIDTHS</keyword>
|
84
|
+
<keyword>IGNORECASE</keyword>
|
85
|
+
<keyword>LINT</keyword>
|
86
|
+
<keyword>PROCINFO</keyword>
|
87
|
+
<keyword>RT</keyword>
|
88
|
+
<keyword>RLENGTH</keyword>
|
89
|
+
<keyword>TEXTDOMAIN</keyword>
|
90
|
+
</context>
|
91
|
+
|
92
|
+
<context id="built-in-functions" style-ref="builtin-function">
|
93
|
+
<keyword>gsub</keyword>
|
94
|
+
<keyword>index</keyword>
|
95
|
+
<keyword>length</keyword>
|
96
|
+
<keyword>match</keyword>
|
97
|
+
<keyword>split</keyword>
|
98
|
+
<keyword>sprintf</keyword>
|
99
|
+
<keyword>sub</keyword>
|
100
|
+
<keyword>substr</keyword>
|
101
|
+
<keyword>tolower</keyword>
|
102
|
+
<keyword>toupper</keyword>
|
103
|
+
</context>
|
104
|
+
|
105
|
+
<context id="arithmetic-functions" style-ref="builtin-function">
|
106
|
+
<keyword>atan2</keyword>
|
107
|
+
<keyword>cos</keyword>
|
108
|
+
<keyword>exp</keyword>
|
109
|
+
<keyword>int</keyword>
|
110
|
+
<keyword>log</keyword>
|
111
|
+
<keyword>rand</keyword>
|
112
|
+
<keyword>sin</keyword>
|
113
|
+
<keyword>sqrt</keyword>
|
114
|
+
<keyword>srand</keyword>
|
115
|
+
</context>
|
116
|
+
|
117
|
+
<context id="field-variable" style-ref="variable">
|
118
|
+
<match>\$\d+</match>
|
119
|
+
</context>
|
120
|
+
|
121
|
+
<context id="awk">
|
122
|
+
<include>
|
123
|
+
<context ref="def:shebang"/>
|
124
|
+
<context ref="def:shell-like-comment"/>
|
125
|
+
<context ref="def:string"/>
|
126
|
+
<context ref="keywords"/>
|
127
|
+
<context ref="patterns"/>
|
128
|
+
<context ref="variables"/>
|
129
|
+
<context ref="field-variable"/>
|
130
|
+
<context ref="built-in-functions"/>
|
131
|
+
<context ref="arithmetic-functions"/>
|
132
|
+
</include>
|
133
|
+
</context>
|
134
|
+
|
135
|
+
</definitions>
|
136
|
+
|
137
|
+
</language>
|