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,411 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!--
|
3
|
+
|
4
|
+
This file is part of GtkSourceView
|
5
|
+
|
6
|
+
Author: John Luke <jluke@cfl.rr.com>
|
7
|
+
Copyright (C) 2003 John Luke <jluke@cfl.rr.com>
|
8
|
+
Copyright (C) 2004 Jeroen Zwartepoorte <jeroen@xs4all.nl>
|
9
|
+
Copyright (C) 2004 Alessio Frusciante <algol@firenze.linux.it>
|
10
|
+
Copyright (C) 2005 Brion Vibber <brion@pobox.com>
|
11
|
+
Copyright (C) 2011 Marco Trevisan <mail@3v1n0.net>
|
12
|
+
|
13
|
+
GtkSourceView is free software; you can redistribute it and/or
|
14
|
+
modify it under the terms of the GNU Lesser General Public
|
15
|
+
License as published by the Free Software Foundation; either
|
16
|
+
version 2.1 of the License, or (at your option) any later version.
|
17
|
+
|
18
|
+
GtkSourceView is distributed in the hope that it will be useful,
|
19
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
20
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
21
|
+
Lesser General Public License for more details.
|
22
|
+
|
23
|
+
You should have received a copy of the GNU Lesser General Public License
|
24
|
+
along with this library; if not, see <http://www.gnu.org/licenses/>.
|
25
|
+
|
26
|
+
-->
|
27
|
+
<language id="vala" name="Vala" version="2.0" _section="Source">
|
28
|
+
<metadata>
|
29
|
+
<property name="mimetypes">text/x-vala</property>
|
30
|
+
<property name="globs">*.vala;*.vapi</property>
|
31
|
+
<property name="line-comment-start">//</property>
|
32
|
+
<property name="block-comment-start">/*</property>
|
33
|
+
<property name="block-comment-end">*/</property>
|
34
|
+
</metadata>
|
35
|
+
|
36
|
+
<styles>
|
37
|
+
<style id="comment" name="Comment" map-to="def:comment"/>
|
38
|
+
<style id="error" name="Error" map-to="def:error"/>
|
39
|
+
<style id="type" name="Data Type" map-to="def:type"/>
|
40
|
+
<style id="string" name="String" map-to="def:string"/>
|
41
|
+
<style id="keyword" name="Keyword" map-to="def:keyword"/>
|
42
|
+
<style id="boolean" name="Boolean value" map-to="def:boolean"/>
|
43
|
+
<style id="null-value" name="Null Value" map-to="def:special-constant"/>
|
44
|
+
<style id="directive" name="Directives" map-to="def:preprocessor"/>
|
45
|
+
<style id="attributes" name="Vala Attributes" map-to="def:function"/>
|
46
|
+
<style id="string-template" name="Vala String template" map-to="def:function"/>
|
47
|
+
<style id="regex" name="Regular Expression" map-to="def:string"/>
|
48
|
+
<style id="escape" name="Escaped Character" map-to="def:special-char"/>
|
49
|
+
</styles>
|
50
|
+
|
51
|
+
<definitions>
|
52
|
+
<define-regex id="preproc-start">^\s*#\s*</define-regex>
|
53
|
+
<define-regex id="identifier">[_a-zA-Z][_a-zA-Z0-9]*</define-regex>
|
54
|
+
<define-regex id="type_name">[_a-zA-Z][_a-zA-Z0-9.]*</define-regex>
|
55
|
+
|
56
|
+
<!--regex-->
|
57
|
+
<define-regex id="regex-opts">[gim]*</define-regex>
|
58
|
+
|
59
|
+
<!--contexts NOT used in the main context-->
|
60
|
+
<context id="escape" style-ref="escape">
|
61
|
+
<match>\\((0-7){3}|(x[a-fA-F0-9]{2})|(c\S)|([CM]-\S)|(M-C-\S)|.)</match>
|
62
|
+
</context>
|
63
|
+
|
64
|
+
<context id="regex-bracketed" style-ref="escape" style-inside="true">
|
65
|
+
<start>(?<!\\)[[]</start>
|
66
|
+
<end>(?<!\\)]</end>
|
67
|
+
</context>
|
68
|
+
|
69
|
+
<!--contexts used in the main context-->
|
70
|
+
<context id="regex-simple" style-ref="regex">
|
71
|
+
<start extended="true">
|
72
|
+
((?<=([(]|\s))|^)
|
73
|
+
\/
|
74
|
+
(?=
|
75
|
+
([^/\\]*(\\.))*
|
76
|
+
[^/]*
|
77
|
+
\/
|
78
|
+
\%{regex-opts}
|
79
|
+
\s*
|
80
|
+
([),;.\/\]:}]|$)
|
81
|
+
)</start>
|
82
|
+
<end>\/\%{regex-opts}</end>
|
83
|
+
<include>
|
84
|
+
<context ref="escape"/>
|
85
|
+
<context ref="def:line-continue"/>
|
86
|
+
<context ref="regex-bracketed"/>
|
87
|
+
</include>
|
88
|
+
</context>
|
89
|
+
|
90
|
+
<context id="line-comment" style-ref="comment" end-at-line-end="true" class="comment" class-disabled="no-spell-check">
|
91
|
+
<start>//</start>
|
92
|
+
<include>
|
93
|
+
<context ref="def:in-line-comment"/>
|
94
|
+
</include>
|
95
|
+
</context>
|
96
|
+
|
97
|
+
<context id="multiline-comment" style-ref="comment" class="comment" class-disabled="no-spell-check">
|
98
|
+
<start>/\*</start>
|
99
|
+
<end>\*/</end>
|
100
|
+
<include>
|
101
|
+
<context ref="def:in-comment"/>
|
102
|
+
</include>
|
103
|
+
</context>
|
104
|
+
|
105
|
+
<context id="close-comment-outside-comment" style-ref="error">
|
106
|
+
<match>\*/(?!\*)</match>
|
107
|
+
</context>
|
108
|
+
|
109
|
+
<context id="multiline-double-quoted-string" class="string" style-ref="string" class-disabled="no-spell-check">
|
110
|
+
<start>"""</start>
|
111
|
+
<end>"""</end>
|
112
|
+
<include>
|
113
|
+
<context ref="c:printf"/>
|
114
|
+
<context ref="c:escaped-character"/>
|
115
|
+
<context ref="def:line-continue"/>
|
116
|
+
</include>
|
117
|
+
</context>
|
118
|
+
|
119
|
+
<context id="multiline-string" style-ref="string" class="string" class-disabled="no-spell-check">
|
120
|
+
<start>"</start>
|
121
|
+
<end>"</end>
|
122
|
+
<include>
|
123
|
+
<context ref="c:printf"/>
|
124
|
+
<context ref="c:escaped-character"/>
|
125
|
+
<context ref="def:line-continue"/>
|
126
|
+
</include>
|
127
|
+
</context>
|
128
|
+
|
129
|
+
<context id="multiline-string-templates" style-ref="string" class="string" class-disabled="no-spell-check">
|
130
|
+
<start>@"</start>
|
131
|
+
<end>"</end>
|
132
|
+
<include>
|
133
|
+
<context ref="c:printf"/>
|
134
|
+
<context ref="c:escaped-character"/>
|
135
|
+
<context ref="def:line-continue"/>
|
136
|
+
<context id="string-templates" style-ref="string-template">
|
137
|
+
<match>\$\%{identifier}</match>
|
138
|
+
</context>
|
139
|
+
<context id="string-templates-brackets" style-ref="string-template">
|
140
|
+
<start>\$\(</start>
|
141
|
+
<end>\)</end>
|
142
|
+
<include>
|
143
|
+
<context id="in-string-templates-brackets">
|
144
|
+
<include>
|
145
|
+
<context>
|
146
|
+
<start>\(</start>
|
147
|
+
<end>\)</end>
|
148
|
+
<include>
|
149
|
+
<context ref="in-string-templates-brackets"/>
|
150
|
+
</include>
|
151
|
+
</context>
|
152
|
+
</include>
|
153
|
+
</context>
|
154
|
+
</include>
|
155
|
+
</context>
|
156
|
+
</include>
|
157
|
+
</context>
|
158
|
+
|
159
|
+
<context id="if0-comment" style-ref="comment">
|
160
|
+
<start>\%{preproc-start}if\b\s*(0|false|\!true|\!1)\b</start>
|
161
|
+
<end>(\%{preproc-start}endif)|(\%{preproc-start}(else|elif).*)\b</end>
|
162
|
+
<include>
|
163
|
+
<context sub-pattern="2" where="end" style-ref="directive"/>
|
164
|
+
<context id="if-in-if0">
|
165
|
+
<start>\%{preproc-start}if\b</start>
|
166
|
+
<end>\%{preproc-start}endif\b</end>
|
167
|
+
<include>
|
168
|
+
<context ref="if-in-if0"/>
|
169
|
+
<context ref="def:in-comment"/>
|
170
|
+
</include>
|
171
|
+
</context>
|
172
|
+
<context ref="def:in-comment"/>
|
173
|
+
</include>
|
174
|
+
</context>
|
175
|
+
|
176
|
+
<context id="directive" style-ref="directive" end-at-line-end="true">
|
177
|
+
<start extended="true">
|
178
|
+
\%{preproc-start}
|
179
|
+
(if|else|elif|endif)
|
180
|
+
\b
|
181
|
+
</start>
|
182
|
+
<include>
|
183
|
+
<context ref="boolean"/>
|
184
|
+
</include>
|
185
|
+
</context>
|
186
|
+
|
187
|
+
<context id="at-identifier">
|
188
|
+
<match>@\%{identifier}</match>
|
189
|
+
</context>
|
190
|
+
|
191
|
+
<context id="keywords" style-ref="keyword">
|
192
|
+
<keyword>class</keyword>
|
193
|
+
<keyword>delegate</keyword>
|
194
|
+
<keyword>enum</keyword>
|
195
|
+
<keyword>errordomain</keyword>
|
196
|
+
<keyword>interface</keyword>
|
197
|
+
<keyword>namespace</keyword>
|
198
|
+
<keyword>signal</keyword>
|
199
|
+
<keyword>struct</keyword>
|
200
|
+
<keyword>using</keyword>
|
201
|
+
<!-- modifiers -->
|
202
|
+
<keyword>abstract</keyword>
|
203
|
+
<keyword>async</keyword>
|
204
|
+
<keyword>const</keyword>
|
205
|
+
<keyword>dynamic</keyword>
|
206
|
+
<keyword>extern</keyword>
|
207
|
+
<keyword>inline</keyword>
|
208
|
+
<keyword>internal</keyword>
|
209
|
+
<keyword>out</keyword>
|
210
|
+
<keyword>override</keyword>
|
211
|
+
<keyword>owned</keyword>
|
212
|
+
<keyword>private</keyword>
|
213
|
+
<keyword>protected</keyword>
|
214
|
+
<keyword>public</keyword>
|
215
|
+
<keyword>ref</keyword>
|
216
|
+
<keyword>static</keyword>
|
217
|
+
<keyword>unowned</keyword>
|
218
|
+
<keyword>virtual</keyword>
|
219
|
+
<keyword>volatile</keyword>
|
220
|
+
<keyword>weak</keyword>
|
221
|
+
<!-- others -->
|
222
|
+
<keyword>as</keyword>
|
223
|
+
<keyword>base</keyword>
|
224
|
+
<keyword>break</keyword>
|
225
|
+
<keyword>case</keyword>
|
226
|
+
<keyword>catch</keyword>
|
227
|
+
<keyword>construct</keyword>
|
228
|
+
<keyword>continue</keyword>
|
229
|
+
<keyword>default</keyword>
|
230
|
+
<keyword>delete</keyword>
|
231
|
+
<keyword>do</keyword>
|
232
|
+
<keyword>else</keyword>
|
233
|
+
<keyword>ensures</keyword>
|
234
|
+
<keyword>finally</keyword>
|
235
|
+
<keyword>for</keyword>
|
236
|
+
<keyword>foreach</keyword>
|
237
|
+
<keyword>get</keyword>
|
238
|
+
<keyword>if</keyword>
|
239
|
+
<keyword>in</keyword>
|
240
|
+
<keyword>is</keyword>
|
241
|
+
<keyword>lock</keyword>
|
242
|
+
<keyword>new</keyword>
|
243
|
+
<keyword>params</keyword>
|
244
|
+
<keyword>requires</keyword>
|
245
|
+
<keyword>return</keyword>
|
246
|
+
<keyword>set</keyword>
|
247
|
+
<keyword>sizeof</keyword>
|
248
|
+
<keyword>switch</keyword>
|
249
|
+
<keyword>this</keyword>
|
250
|
+
<keyword>throw</keyword>
|
251
|
+
<keyword>throws</keyword>
|
252
|
+
<keyword>try</keyword>
|
253
|
+
<keyword>typeof</keyword>
|
254
|
+
<keyword>value</keyword>
|
255
|
+
<keyword>var</keyword>
|
256
|
+
<keyword>while</keyword>
|
257
|
+
<keyword>yield</keyword>
|
258
|
+
<keyword>yields</keyword>
|
259
|
+
</context>
|
260
|
+
|
261
|
+
<context id="primitives" style-ref="type">
|
262
|
+
<keyword>bool</keyword>
|
263
|
+
<keyword>char</keyword>
|
264
|
+
<keyword>double</keyword>
|
265
|
+
<keyword>float</keyword>
|
266
|
+
<keyword>int</keyword>
|
267
|
+
<keyword>int8</keyword>
|
268
|
+
<keyword>int16</keyword>
|
269
|
+
<keyword>int32</keyword>
|
270
|
+
<keyword>int64</keyword>
|
271
|
+
<keyword>long</keyword>
|
272
|
+
<keyword>short</keyword>
|
273
|
+
<keyword>size_t</keyword>
|
274
|
+
<keyword>ssize_t</keyword>
|
275
|
+
<keyword>string</keyword>
|
276
|
+
<keyword>uchar</keyword>
|
277
|
+
<keyword>uint</keyword>
|
278
|
+
<keyword>uint8</keyword>
|
279
|
+
<keyword>uint16</keyword>
|
280
|
+
<keyword>uint32</keyword>
|
281
|
+
<keyword>uint64</keyword>
|
282
|
+
<keyword>ulong</keyword>
|
283
|
+
<keyword>unichar</keyword>
|
284
|
+
<keyword>unichar2</keyword>
|
285
|
+
<keyword>ushort</keyword>
|
286
|
+
<keyword>void</keyword>
|
287
|
+
</context>
|
288
|
+
|
289
|
+
<define-regex id="attributes-names" extended="true">
|
290
|
+
Assert|
|
291
|
+
CCode|
|
292
|
+
SimpleType|
|
293
|
+
BooleanType|
|
294
|
+
IntegerType|
|
295
|
+
FloatingType|
|
296
|
+
Signal|
|
297
|
+
Deprecated|
|
298
|
+
Description|
|
299
|
+
Experimental|
|
300
|
+
Version|
|
301
|
+
DBus|
|
302
|
+
Compact|
|
303
|
+
ConcreteAccessor|
|
304
|
+
DestroysInstance|
|
305
|
+
Diagnostics|
|
306
|
+
ErrorBase|
|
307
|
+
Flags|
|
308
|
+
FormatArg|
|
309
|
+
GenericAccessors|
|
310
|
+
GIR|
|
311
|
+
GtkCallback|
|
312
|
+
GtkChild|
|
313
|
+
GtkTemplate|
|
314
|
+
HasEmitter|
|
315
|
+
Immutable|
|
316
|
+
ModuleInit|
|
317
|
+
NoAccessorMethod|
|
318
|
+
NoArrayLength|
|
319
|
+
NoReturn|
|
320
|
+
NoThrow|
|
321
|
+
NoWrapper|
|
322
|
+
PointerType|
|
323
|
+
Print|
|
324
|
+
PrintfFormat|
|
325
|
+
ReturnsModifiedPointer|
|
326
|
+
ScanfFormat|
|
327
|
+
ThreadLocal
|
328
|
+
</define-regex>
|
329
|
+
|
330
|
+
<context id="attributes" style-ref="attributes">
|
331
|
+
<start>\[\s*(\%{attributes-names})</start>
|
332
|
+
<end>\]</end>
|
333
|
+
<include>
|
334
|
+
<context sub-pattern="1" where="start" style-ref="type"/>
|
335
|
+
<context ref="boolean"/>
|
336
|
+
<context ref="multiline-string"/>
|
337
|
+
<context ref="c:float"/>
|
338
|
+
<context ref="c:decimal"/>
|
339
|
+
</include>
|
340
|
+
</context>
|
341
|
+
|
342
|
+
<context id="null-value" style-ref="null-value">
|
343
|
+
<keyword>null</keyword>
|
344
|
+
</context>
|
345
|
+
|
346
|
+
<context id="boolean" style-ref="boolean">
|
347
|
+
<keyword>false</keyword>
|
348
|
+
<keyword>true</keyword>
|
349
|
+
</context>
|
350
|
+
|
351
|
+
<define-regex id="type-prefixes" extended="true">
|
352
|
+
class|
|
353
|
+
delegate|
|
354
|
+
enum|
|
355
|
+
errordomain|
|
356
|
+
interface|
|
357
|
+
namespace|
|
358
|
+
struct
|
359
|
+
</define-regex>
|
360
|
+
|
361
|
+
<context id="type-declaration">
|
362
|
+
<start>(\%{type-prefixes})\s+(\%{type_name})(\s*<[^>]>)?\s*(\s*:\s*(\%{type_name}))?</start>
|
363
|
+
<end>\s</end>
|
364
|
+
<include>
|
365
|
+
<context sub-pattern="1" where="start" style-ref="keyword"/>
|
366
|
+
<context sub-pattern="2" where="start" style-ref="type"/>
|
367
|
+
<context sub-pattern="5" where="start" style-ref="type"/>
|
368
|
+
<context ref="vala"/>
|
369
|
+
</include>
|
370
|
+
</context>
|
371
|
+
|
372
|
+
<!-- Function support, disabled by default.
|
373
|
+
<context id="function">
|
374
|
+
<start>(\%{identifier})\s*\(</start>
|
375
|
+
<end>\)</end>
|
376
|
+
<include>
|
377
|
+
<context sub-pattern="1" where="start" style-ref="def:function"/>
|
378
|
+
<context ref="vala"/>
|
379
|
+
</include>
|
380
|
+
</context>
|
381
|
+
-->
|
382
|
+
|
383
|
+
<context id="vala" class="no-spell-check">
|
384
|
+
<include>
|
385
|
+
<context ref="gtk-doc:inline-docs-section"/>
|
386
|
+
<context ref="line-comment"/>
|
387
|
+
<context ref="multiline-comment"/>
|
388
|
+
<context ref="close-comment-outside-comment"/>
|
389
|
+
<context ref="multiline-string-templates"/>
|
390
|
+
<context ref="multiline-double-quoted-string"/>
|
391
|
+
<context ref="multiline-string"/>
|
392
|
+
<context ref="at-identifier"/>
|
393
|
+
<context ref="type-declaration"/>
|
394
|
+
<context ref="keywords"/>
|
395
|
+
<context ref="primitives"/>
|
396
|
+
<context ref="attributes"/>
|
397
|
+
<context ref="null-value"/>
|
398
|
+
<context ref="boolean"/>
|
399
|
+
<context ref="c:char"/>
|
400
|
+
<context ref="c:decimal"/>
|
401
|
+
<context ref="c:hexadecimal"/>
|
402
|
+
<context ref="c:float"/>
|
403
|
+
<context ref="c:octal"/>
|
404
|
+
<context ref="if0-comment"/>
|
405
|
+
<context ref="directive"/>
|
406
|
+
<context ref="regex-simple"/>
|
407
|
+
<!-- <context ref="function"/> -->
|
408
|
+
</include>
|
409
|
+
</context>
|
410
|
+
</definitions>
|
411
|
+
</language>
|
@@ -0,0 +1,247 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!--
|
3
|
+
|
4
|
+
This file is part of GtkSourceView
|
5
|
+
|
6
|
+
Author: John Luke <jluke@cfl.rr.com>
|
7
|
+
Copyright (C) 2004 John Luke <jluke@cfl.rr.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="vbnet" name="VB.NET" version="2.0" _section="Source">
|
24
|
+
<metadata>
|
25
|
+
<property name="mimetypes">text/x-vbnet;text/x-vb</property>
|
26
|
+
<property name="globs">*.vb</property>
|
27
|
+
<property name="line-comment-start">'</property>
|
28
|
+
</metadata>
|
29
|
+
|
30
|
+
<styles>
|
31
|
+
<style id="comment" name="Comment" map-to="def:comment"/>
|
32
|
+
<style id="string" name="String" map-to="def:string"/>
|
33
|
+
<style id="preprocessor" name="Preprocessor" map-to="def:preprocessor"/>
|
34
|
+
<style id="keyword" name="Keyword" map-to="def:keyword"/>
|
35
|
+
<style id="type" name="Data Type" map-to="def:type"/>
|
36
|
+
<style id="special-constant" name="Special constant" map-to="def:special-constant"/>
|
37
|
+
<style id="boolean" name="Boolean value" map-to="def:boolean"/>
|
38
|
+
</styles>
|
39
|
+
|
40
|
+
<default-regex-options case-sensitive="false"/>
|
41
|
+
|
42
|
+
<definitions>
|
43
|
+
|
44
|
+
<context id="line-comment" style-ref="comment" end-at-line-end="true" class="comment" class-disabled="no-spell-check">
|
45
|
+
<start>'</start>
|
46
|
+
<include>
|
47
|
+
<context ref="def:in-line-comment"/>
|
48
|
+
</include>
|
49
|
+
</context>
|
50
|
+
|
51
|
+
<context id="old-style-comment" style-ref="comment" end-at-line-end="true" class="comment" class-disabled="no-spell-check">
|
52
|
+
<start>^rem</start>
|
53
|
+
<include>
|
54
|
+
<context ref="def:in-line-comment"/>
|
55
|
+
</include>
|
56
|
+
</context>
|
57
|
+
|
58
|
+
<context id="string" style-ref="string" end-at-line-end="true" class="string" class-disabled="no-spell-check">
|
59
|
+
<start>"</start>
|
60
|
+
<end>"</end>
|
61
|
+
</context>
|
62
|
+
|
63
|
+
<context id="preprocessor" style-ref="preprocessor" end-at-line-end="true">
|
64
|
+
<start extended="true">
|
65
|
+
^\s*#\s*
|
66
|
+
(define|undef|if(n?def)?|else|elif|end if|line|error|region|end region)
|
67
|
+
\b
|
68
|
+
</start>
|
69
|
+
<include>
|
70
|
+
<context ref="line-comment"/>
|
71
|
+
</include>
|
72
|
+
</context>
|
73
|
+
|
74
|
+
<context id="keywords" style-ref="keyword">
|
75
|
+
<keyword>addhandler</keyword>
|
76
|
+
<keyword>addressof</keyword>
|
77
|
+
<keyword>alias</keyword>
|
78
|
+
<keyword>and</keyword>
|
79
|
+
<keyword>andalso</keyword>
|
80
|
+
<keyword>ansi</keyword>
|
81
|
+
<keyword>as</keyword>
|
82
|
+
<keyword>assembly</keyword>
|
83
|
+
<keyword>async</keyword>
|
84
|
+
<keyword>auto</keyword>
|
85
|
+
<keyword>await</keyword>
|
86
|
+
<keyword>binary</keyword>
|
87
|
+
<keyword>byref</keyword>
|
88
|
+
<keyword>byval</keyword>
|
89
|
+
<keyword>call</keyword>
|
90
|
+
<keyword>case</keyword>
|
91
|
+
<keyword>catch</keyword>
|
92
|
+
<keyword>cbool</keyword>
|
93
|
+
<keyword>cbyte</keyword>
|
94
|
+
<keyword>cchar</keyword>
|
95
|
+
<keyword>cdate</keyword>
|
96
|
+
<keyword>cdec</keyword>
|
97
|
+
<keyword>cdbl</keyword>
|
98
|
+
<keyword>cint</keyword>
|
99
|
+
<keyword>class</keyword>
|
100
|
+
<keyword>clng</keyword>
|
101
|
+
<keyword>cobj</keyword>
|
102
|
+
<keyword>compare</keyword>
|
103
|
+
<keyword>const</keyword>
|
104
|
+
<keyword>cshort</keyword>
|
105
|
+
<keyword>csng</keyword>
|
106
|
+
<keyword>cstr</keyword>
|
107
|
+
<keyword>ctype</keyword>
|
108
|
+
<keyword>declare</keyword>
|
109
|
+
<keyword>default</keyword>
|
110
|
+
<keyword>delegate</keyword>
|
111
|
+
<keyword>dim</keyword>
|
112
|
+
<keyword>do</keyword>
|
113
|
+
<keyword>each</keyword>
|
114
|
+
<keyword>else</keyword>
|
115
|
+
<keyword>elseif</keyword>
|
116
|
+
<keyword>end</keyword>
|
117
|
+
<keyword>enum</keyword>
|
118
|
+
<keyword>erase</keyword>
|
119
|
+
<keyword>error</keyword>
|
120
|
+
<keyword>event</keyword>
|
121
|
+
<keyword>exit</keyword>
|
122
|
+
<keyword>explicit</keyword>
|
123
|
+
<keyword>finally</keyword>
|
124
|
+
<keyword>for</keyword>
|
125
|
+
<keyword>friend</keyword>
|
126
|
+
<keyword>function</keyword>
|
127
|
+
<keyword>get</keyword>
|
128
|
+
<keyword>goto</keyword>
|
129
|
+
<keyword>handles</keyword>
|
130
|
+
<keyword>if</keyword>
|
131
|
+
<keyword>implements</keyword>
|
132
|
+
<keyword>imports</keyword>
|
133
|
+
<keyword>in</keyword>
|
134
|
+
<keyword>inherits</keyword>
|
135
|
+
<keyword>integer</keyword>
|
136
|
+
<keyword>interface</keyword>
|
137
|
+
<keyword>is</keyword>
|
138
|
+
<keyword>let</keyword>
|
139
|
+
<keyword>lib</keyword>
|
140
|
+
<keyword>like</keyword>
|
141
|
+
<keyword>loop</keyword>
|
142
|
+
<keyword>me</keyword>
|
143
|
+
<keyword>mod</keyword>
|
144
|
+
<keyword>module</keyword>
|
145
|
+
<keyword>mustinherit</keyword>
|
146
|
+
<keyword>mustoverride</keyword>
|
147
|
+
<keyword>mybase</keyword>
|
148
|
+
<keyword>myclass</keyword>
|
149
|
+
<keyword>nameof</keyword>
|
150
|
+
<keyword>namespace</keyword>
|
151
|
+
<keyword>new</keyword>
|
152
|
+
<keyword>next</keyword>
|
153
|
+
<keyword>not</keyword>
|
154
|
+
<keyword>notinheritable</keyword>
|
155
|
+
<keyword>notoverridable</keyword>
|
156
|
+
<keyword>off</keyword>
|
157
|
+
<keyword>on</keyword>
|
158
|
+
<keyword>option</keyword>
|
159
|
+
<keyword>optional</keyword>
|
160
|
+
<keyword>or</keyword>
|
161
|
+
<keyword>orelse</keyword>
|
162
|
+
<keyword>overloads</keyword>
|
163
|
+
<keyword>overridable</keyword>
|
164
|
+
<keyword>overrides</keyword>
|
165
|
+
<keyword>param_array</keyword>
|
166
|
+
<keyword>preserve</keyword>
|
167
|
+
<keyword>private</keyword>
|
168
|
+
<keyword>property</keyword>
|
169
|
+
<keyword>protected</keyword>
|
170
|
+
<keyword>public</keyword>
|
171
|
+
<keyword>raiseevent</keyword>
|
172
|
+
<keyword>readonly</keyword>
|
173
|
+
<keyword>redim</keyword>
|
174
|
+
<keyword>rem</keyword>
|
175
|
+
<keyword>removehandler</keyword>
|
176
|
+
<keyword>resume</keyword>
|
177
|
+
<keyword>return</keyword>
|
178
|
+
<keyword>select</keyword>
|
179
|
+
<keyword>set</keyword>
|
180
|
+
<keyword>shadows</keyword>
|
181
|
+
<keyword>shared</keyword>
|
182
|
+
<keyword>sizeof</keyword>
|
183
|
+
<keyword>static</keyword>
|
184
|
+
<keyword>step</keyword>
|
185
|
+
<keyword>stop</keyword>
|
186
|
+
<keyword>strict</keyword>
|
187
|
+
<keyword>structure</keyword>
|
188
|
+
<keyword>sub</keyword>
|
189
|
+
<keyword>synclock</keyword>
|
190
|
+
<keyword>text</keyword>
|
191
|
+
<keyword>then</keyword>
|
192
|
+
<keyword>throw</keyword>
|
193
|
+
<keyword>to</keyword>
|
194
|
+
<keyword>try</keyword>
|
195
|
+
<keyword>typeof</keyword>
|
196
|
+
<keyword>unicode</keyword>
|
197
|
+
<keyword>until</keyword>
|
198
|
+
<keyword>variant</keyword>
|
199
|
+
<keyword>when</keyword>
|
200
|
+
<keyword>while</keyword>
|
201
|
+
<keyword>with</keyword>
|
202
|
+
<keyword>withevents</keyword>
|
203
|
+
<keyword>writeonly</keyword>
|
204
|
+
<keyword>xor</keyword>
|
205
|
+
<keyword>yield</keyword> <!--MonoBASIC extension-->
|
206
|
+
</context>
|
207
|
+
|
208
|
+
<context id="types" style-ref="type">
|
209
|
+
<keyword>boolean</keyword>
|
210
|
+
<keyword>byte</keyword>
|
211
|
+
<keyword>char</keyword>
|
212
|
+
<keyword>date</keyword>
|
213
|
+
<keyword>decimal</keyword>
|
214
|
+
<keyword>double</keyword>
|
215
|
+
<keyword>long</keyword>
|
216
|
+
<keyword>object</keyword>
|
217
|
+
<keyword>short</keyword>
|
218
|
+
<keyword>single</keyword>
|
219
|
+
<keyword>string</keyword>
|
220
|
+
</context>
|
221
|
+
|
222
|
+
<context id="special-constants" style-ref="special-constant">
|
223
|
+
<keyword>nothing</keyword>
|
224
|
+
<keyword>null</keyword>
|
225
|
+
</context>
|
226
|
+
|
227
|
+
<context id="boolean" style-ref="boolean">
|
228
|
+
<keyword>false</keyword>
|
229
|
+
<keyword>true</keyword>
|
230
|
+
</context>
|
231
|
+
|
232
|
+
<context id="vbnet" class="no-spell-check">
|
233
|
+
<include>
|
234
|
+
<context ref="line-comment"/>
|
235
|
+
<context ref="old-style-comment"/>
|
236
|
+
<context ref="string"/>
|
237
|
+
<context ref="preprocessor"/>
|
238
|
+
<context ref="keywords"/>
|
239
|
+
<context ref="types"/>
|
240
|
+
<context ref="special-constants"/>
|
241
|
+
<context ref="boolean"/>
|
242
|
+
</include>
|
243
|
+
</context>
|
244
|
+
|
245
|
+
</definitions>
|
246
|
+
|
247
|
+
</language>
|