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,237 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!--
|
3
|
+
|
4
|
+
This file is part of GtkSourceView
|
5
|
+
|
6
|
+
Author: Ian Liu Rodrigues <ian.liu88@gmail.com> (modified from java.lang)
|
7
|
+
Copyright (C) 2003 Gustavo Giráldez <gustavo.giraldez@gmx.net>
|
8
|
+
Copyright (C) 2006 Jeff Walden <jwalden@mit.edu>
|
9
|
+
Copyright (C) 2012 Sapphire Becker <guess@logicplace.com>
|
10
|
+
Copyright (C) 2016 Wolfang Torres <wolfang.torres@gmail.com>
|
11
|
+
|
12
|
+
GtkSourceView is free software; you can redistribute it and/or
|
13
|
+
modify it under the terms of the GNU Lesser General Public
|
14
|
+
License as published by the Free Software Foundation; either
|
15
|
+
version 2.1 of the License, or (at your option) any later version.
|
16
|
+
|
17
|
+
GtkSourceView is distributed in the hope that it will be useful,
|
18
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
19
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
20
|
+
Lesser General Public License for more details.
|
21
|
+
|
22
|
+
You should have received a copy of the GNU Lesser General Public License
|
23
|
+
along with this library; if not, see <http://www.gnu.org/licenses/>.
|
24
|
+
|
25
|
+
-->
|
26
|
+
|
27
|
+
<!--
|
28
|
+
References:
|
29
|
+
https://en.wikipedia.org/wiki/Haxe
|
30
|
+
https://haxe.org/documentation/
|
31
|
+
https://haxe.org/manual/expression.html
|
32
|
+
-->
|
33
|
+
|
34
|
+
<language id="haxe" name="Haxe" version="2.0" _section="Source">
|
35
|
+
|
36
|
+
<metadata>
|
37
|
+
|
38
|
+
<property name="mimetypes">text/x-haxe</property>
|
39
|
+
<property name="globs">*.hx</property>
|
40
|
+
<property name="line-comment-start">//</property>
|
41
|
+
<property name="block-comment-start">/*</property>
|
42
|
+
<property name="block-comment-end">*/</property>
|
43
|
+
</metadata>
|
44
|
+
|
45
|
+
|
46
|
+
<styles>
|
47
|
+
<style id="comment" name="Comment" map-to="def:comment" />
|
48
|
+
<style id="external" name="External" map-to="def:preprocessor" />
|
49
|
+
<style id="preprocessor" name="Preprocessor" map-to="def:preprocessor" />
|
50
|
+
<style id="declaration" name="Declaration" map-to="def:type" />
|
51
|
+
<style id="storage-class" name="Storage Class" map-to="def:type" />
|
52
|
+
<style id="scope" name="Scope" map-to="def:type" />
|
53
|
+
<style id="keyword" name="Keyword" map-to="def:keyword" />
|
54
|
+
<style id="string" name="String" map-to="def:string" />
|
55
|
+
<style id="number" name="Number" map-to="def:decimal" />
|
56
|
+
<style id="boolean" name="Boolean value" map-to="def:boolean" />
|
57
|
+
<style id="null-value" name="Null Value" map-to="def:special-constant" />
|
58
|
+
<style id="type" name="Data Type" map-to="def:identifier" />
|
59
|
+
<style id="metadata" name="Metadata" map-to="def:constant" />
|
60
|
+
<style id="macro" name="Macro" map-to="def:preprocessor" />
|
61
|
+
<style id="error" name="Error" map-to="def:error" />
|
62
|
+
<style id="escaped-char" name="Escaped Character" map-to="def:special-char" />
|
63
|
+
<style id="identifier-prefix" name="Identifier Prefix" map-to="def:warning" />
|
64
|
+
</styles>
|
65
|
+
|
66
|
+
<definitions>
|
67
|
+
|
68
|
+
<define-regex id="escaped-char" extended="true">\\(x?\d+|[\\\?\"\'nt])</define-regex>
|
69
|
+
|
70
|
+
<define-regex id="escaped-char-error" extended="true">\\[^\\\?\"\'ntx\d]</define-regex>
|
71
|
+
|
72
|
+
<context id="line-comment" style-ref="comment" end-at-line-end="true">
|
73
|
+
<start>//</start>
|
74
|
+
<include>
|
75
|
+
<context ref="def:in-line-comment" />
|
76
|
+
</include>
|
77
|
+
</context>
|
78
|
+
|
79
|
+
<context id="block-comment" style-ref="comment">
|
80
|
+
<start>/\*</start>
|
81
|
+
<end>\*/</end>
|
82
|
+
<include>
|
83
|
+
<context ref="def:in-comment" />
|
84
|
+
</include>
|
85
|
+
</context>
|
86
|
+
|
87
|
+
<context id="close-comment-outside-comment" style-ref="error">
|
88
|
+
<match>\*/(?!\*)</match>
|
89
|
+
</context>
|
90
|
+
|
91
|
+
<context id="escaped-char" style-ref="escaped-char">
|
92
|
+
<match>\%{escaped-char}</match>
|
93
|
+
</context>
|
94
|
+
|
95
|
+
<context id="escaped-char-error" style-ref="error">
|
96
|
+
<match>\%{escaped-char-error}</match>
|
97
|
+
</context>
|
98
|
+
|
99
|
+
<context id="externals" style-ref="external">
|
100
|
+
<keyword>import</keyword>
|
101
|
+
<keyword>package</keyword>
|
102
|
+
<keyword>extern</keyword>
|
103
|
+
<keyword>using</keyword>
|
104
|
+
</context>
|
105
|
+
|
106
|
+
<context id="preo-proc" style-ref="preprocessor">
|
107
|
+
<prefix>^\s*#\s*</prefix>
|
108
|
+
<keyword>if</keyword>
|
109
|
+
<keyword>else</keyword>
|
110
|
+
<keyword>elseif</keyword>
|
111
|
+
<keyword>end</keyword>
|
112
|
+
</context>
|
113
|
+
|
114
|
+
<context id="declarations" style-ref="declaration">
|
115
|
+
<keyword>class</keyword>
|
116
|
+
<keyword>enum</keyword>
|
117
|
+
<keyword>extends</keyword>
|
118
|
+
<keyword>function</keyword>
|
119
|
+
<keyword>implements</keyword>
|
120
|
+
<keyword>interface</keyword>
|
121
|
+
<keyword>typedef</keyword>
|
122
|
+
<keyword>var</keyword>
|
123
|
+
<keyword>macro</keyword>
|
124
|
+
</context>
|
125
|
+
|
126
|
+
<context id="primitive-types" style-ref="type">
|
127
|
+
<match>[A-Z][a-zA-Z0-9]*</match>
|
128
|
+
</context>
|
129
|
+
|
130
|
+
<context id="storage-class" style-ref="storage-class">
|
131
|
+
<keyword>static</keyword>
|
132
|
+
<keyword>inline</keyword>
|
133
|
+
<keyword>abstract</keyword>
|
134
|
+
</context>
|
135
|
+
|
136
|
+
<context id="scope" style-ref="scope">
|
137
|
+
<keyword>private</keyword>
|
138
|
+
<keyword>public</keyword>
|
139
|
+
<keyword>dynamic</keyword>
|
140
|
+
<keyword>override</keyword>
|
141
|
+
</context>
|
142
|
+
|
143
|
+
<context id="flow" style-ref="keyword">
|
144
|
+
<keyword>break</keyword>
|
145
|
+
<keyword>case</keyword>
|
146
|
+
<keyword>cast</keyword>
|
147
|
+
<keyword>catch</keyword>
|
148
|
+
<keyword>continue</keyword>
|
149
|
+
<keyword>default</keyword>
|
150
|
+
<keyword>do</keyword>
|
151
|
+
<keyword>else</keyword>
|
152
|
+
<keyword>for</keyword>
|
153
|
+
<keyword>if</keyword>
|
154
|
+
<keyword>in</keyword>
|
155
|
+
<keyword>return</keyword>
|
156
|
+
<keyword>switch</keyword>
|
157
|
+
<keyword>throw</keyword>
|
158
|
+
<keyword>try</keyword>
|
159
|
+
<keyword>untyped</keyword>
|
160
|
+
<keyword>while</keyword>
|
161
|
+
</context>
|
162
|
+
|
163
|
+
<context id="memory" style-ref="keyword">
|
164
|
+
<keyword>new</keyword>
|
165
|
+
<keyword>super</keyword>
|
166
|
+
<keyword>this</keyword>
|
167
|
+
</context>
|
168
|
+
|
169
|
+
<context id="string" style-ref="string">
|
170
|
+
<start>"</start>
|
171
|
+
<end>"</end>
|
172
|
+
<include>
|
173
|
+
<context ref="escaped-char" />
|
174
|
+
<context ref="escaped-char-error" />
|
175
|
+
</include>
|
176
|
+
</context>
|
177
|
+
|
178
|
+
<context id="string-2" style-ref="string">
|
179
|
+
<start>'</start>
|
180
|
+
<end>'</end>
|
181
|
+
<include>
|
182
|
+
<context ref="escaped-char" />
|
183
|
+
<context ref="escaped-char-error" />
|
184
|
+
</include>
|
185
|
+
</context>
|
186
|
+
|
187
|
+
<context id="numeric" style-ref="number">
|
188
|
+
<match extended="true">(\b([0-9]+|0[xX][0-9a-fA-F]+)[Ll]?\b| \b(([0-9]+[Ee][-]?[0-9]+| ([0-9]*\.[0-9]+|[0-9]+\.)([Ee][-]?[0-9]+)?)[fFdD]?| [0-9]+[FfDd]))</match>
|
189
|
+
</context>
|
190
|
+
|
191
|
+
<context id="boolean" style-ref="boolean">
|
192
|
+
<keyword>false</keyword>
|
193
|
+
<keyword>true</keyword>
|
194
|
+
</context>
|
195
|
+
|
196
|
+
<context id="null-value" style-ref="null-value">
|
197
|
+
<keyword>null</keyword>
|
198
|
+
</context>
|
199
|
+
|
200
|
+
<context id="metadata" style-ref="metadata">
|
201
|
+
<match>@\w+</match>
|
202
|
+
</context>
|
203
|
+
|
204
|
+
<context id="macro" style-ref="macro">
|
205
|
+
<match>@:\w+</match>
|
206
|
+
</context>
|
207
|
+
|
208
|
+
<context id="identifier-prefix" style-ref="identifier-prefix">
|
209
|
+
<match>_hx_\w+</match>
|
210
|
+
</context>
|
211
|
+
|
212
|
+
<context id="haxe">
|
213
|
+
<include>
|
214
|
+
<context ref="line-comment" />
|
215
|
+
<context ref="block-comment" />
|
216
|
+
<context ref="close-comment-outside-comment" />
|
217
|
+
<context ref="externals" />
|
218
|
+
<context ref="preo-proc" />
|
219
|
+
<context ref="declarations" />
|
220
|
+
<context ref="primitive-types" />
|
221
|
+
<context ref="storage-class" />
|
222
|
+
<context ref="scope" />
|
223
|
+
<context ref="flow" />
|
224
|
+
<context ref="memory" />
|
225
|
+
<context ref="string" />
|
226
|
+
<context ref="string-2" />
|
227
|
+
<context ref="numeric" />
|
228
|
+
<context ref="boolean" />
|
229
|
+
<context ref="null-value" />
|
230
|
+
<context ref="metadata" />
|
231
|
+
<context ref="macro" />
|
232
|
+
<context ref="identifier-prefix" />
|
233
|
+
</include>
|
234
|
+
</context>
|
235
|
+
|
236
|
+
</definitions>
|
237
|
+
</language>
|
@@ -0,0 +1,286 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!--
|
3
|
+
|
4
|
+
This file is part of GtkSourceView
|
5
|
+
|
6
|
+
Copyright (C) 2005-2007 - Marco Barisione <barisione@gmail.com>
|
7
|
+
Copyright (C) 2005-2007 - Emanuele Aina
|
8
|
+
Copyright (C) 2014 - Sébastien Wilmet <swilmet@gnome.org>
|
9
|
+
|
10
|
+
GtkSourceView is free software; you can redistribute it and/or
|
11
|
+
modify it under the terms of the GNU Lesser General Public
|
12
|
+
License as published by the Free Software Foundation; either
|
13
|
+
version 2.1 of the License, or (at your option) any later version.
|
14
|
+
|
15
|
+
GtkSourceView is distributed in the hope that it will be useful,
|
16
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
17
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
18
|
+
Lesser General Public License for more details.
|
19
|
+
|
20
|
+
You should have received a copy of the GNU Lesser General Public License
|
21
|
+
along with this library; if not, see <http://www.gnu.org/licenses/>.
|
22
|
+
|
23
|
+
-->
|
24
|
+
<language id="html" name="HTML" version="2.0" _section="Markup">
|
25
|
+
<metadata>
|
26
|
+
<property name="mimetypes">text/html</property>
|
27
|
+
<property name="globs">*.html;*.htm</property>
|
28
|
+
<property name="block-comment-start"><!--</property>
|
29
|
+
<property name="block-comment-end">--></property>
|
30
|
+
</metadata>
|
31
|
+
|
32
|
+
<styles>
|
33
|
+
<style id="comment" name="Comment" map-to="xml:comment"/>
|
34
|
+
<style id="tag" name="Tag" map-to="xml:element-name"/>
|
35
|
+
<style id="attrib-name" name="Attribute Name" map-to="xml:attribute-name"/>
|
36
|
+
<style id="attrib-value" name="Attribute Value" map-to="xml:attribute-value"/>
|
37
|
+
<style id="dtd" name="DTD" map-to="xml:doctype"/>
|
38
|
+
<style id="error" name="Error" map-to="xml:error"/>
|
39
|
+
<style id="title" name="Page title" map-to="def:heading0"/>
|
40
|
+
<style id="h1" name="Heading level 1" map-to="def:heading1"/>
|
41
|
+
<style id="h2" name="Heading level 2" map-to="def:heading2"/>
|
42
|
+
<style id="h3" name="Heading level 3" map-to="def:heading3"/>
|
43
|
+
<style id="h4" name="Heading level 4" map-to="def:heading4"/>
|
44
|
+
<style id="h5" name="Heading level 5" map-to="def:heading5"/>
|
45
|
+
</styles>
|
46
|
+
|
47
|
+
<default-regex-options case-sensitive="false"/>
|
48
|
+
|
49
|
+
<definitions>
|
50
|
+
<!-- Html comments are more permissive than xml comments -->
|
51
|
+
<context id="comment" style-ref="comment" class="comment">
|
52
|
+
<start><!--</start>
|
53
|
+
<end>--\s*></end>
|
54
|
+
<include>
|
55
|
+
<context ref="def:in-comment"/>
|
56
|
+
</include>
|
57
|
+
</context>
|
58
|
+
|
59
|
+
<context id="dtd" style-ref="dtd" class="no-spell-check">
|
60
|
+
<start><!</start>
|
61
|
+
<end>></end>
|
62
|
+
</context>
|
63
|
+
|
64
|
+
<!-- This is a placeholder context intended to be <replace>d
|
65
|
+
in languages like php that need to embedd contexts inside
|
66
|
+
html tags and attributes.
|
67
|
+
-->
|
68
|
+
<context id="embedded-lang-hook">
|
69
|
+
<start>\%{def:never-match}</start>
|
70
|
+
<end></end>
|
71
|
+
</context>
|
72
|
+
|
73
|
+
<context id="headings">
|
74
|
+
<include>
|
75
|
+
<context id="title" style-inside="true" style-ref="title" end-at-line-end="true">
|
76
|
+
<start><title></start>
|
77
|
+
<end></title></end>
|
78
|
+
<include>
|
79
|
+
<context sub-pattern="0" where="start" style-ref="tag"/>
|
80
|
+
<context sub-pattern="0" where="end" style-ref="tag"/>
|
81
|
+
<context ref="embedded-lang-hook"/>
|
82
|
+
</include>
|
83
|
+
</context>
|
84
|
+
<context id="h1" end-at-line-end="true">
|
85
|
+
<start><\s*h1</start>
|
86
|
+
<include>
|
87
|
+
<context sub-pattern="0" where="start" style-ref="tag"/>
|
88
|
+
<context ref="generic-tag"/>
|
89
|
+
<context id="h1-inside" style-inside="true" style-ref="h1" end-at-line-end="true" end-parent="true">
|
90
|
+
<start>></start>
|
91
|
+
<end><\s*/h1\s*></end>
|
92
|
+
<include>
|
93
|
+
<context sub-pattern="0" where="start" style-ref="tag"/>
|
94
|
+
<context sub-pattern="0" where="end" style-ref="tag"/>
|
95
|
+
<context ref="embedded-lang-hook"/>
|
96
|
+
<!-- We cannot match any further here, because matching to tag will override our end-match -->
|
97
|
+
</include>
|
98
|
+
</context>
|
99
|
+
</include>
|
100
|
+
</context>
|
101
|
+
<context id="h2" end-at-line-end="true">
|
102
|
+
<start><\s*h2</start>
|
103
|
+
<include>
|
104
|
+
<context sub-pattern="0" where="start" style-ref="tag"/>
|
105
|
+
<context ref="generic-tag"/>
|
106
|
+
<context id="h2-inside" style-inside="true" style-ref="h2" end-at-line-end="true" end-parent="true">
|
107
|
+
<start>></start>
|
108
|
+
<end><\s*/h2\s*></end>
|
109
|
+
<include>
|
110
|
+
<context sub-pattern="0" where="start" style-ref="tag"/>
|
111
|
+
<context sub-pattern="0" where="end" style-ref="tag"/>
|
112
|
+
<context ref="embedded-lang-hook"/>
|
113
|
+
<!-- We cannot match any further here, because matching to tag will override our end-match -->
|
114
|
+
</include>
|
115
|
+
</context>
|
116
|
+
</include>
|
117
|
+
</context>
|
118
|
+
<context id="h3" end-at-line-end="true">
|
119
|
+
<start><\s*h3</start>
|
120
|
+
<include>
|
121
|
+
<context sub-pattern="0" where="start" style-ref="tag"/>
|
122
|
+
<context ref="generic-tag"/>
|
123
|
+
<context id="h3-inside" style-inside="true" style-ref="h3" end-at-line-end="true" end-parent="true">
|
124
|
+
<start>></start>
|
125
|
+
<end><\s*/h3\s*></end>
|
126
|
+
<include>
|
127
|
+
<context sub-pattern="0" where="start" style-ref="tag"/>
|
128
|
+
<context sub-pattern="0" where="end" style-ref="tag"/>
|
129
|
+
<context ref="embedded-lang-hook"/>
|
130
|
+
<!-- We cannot match any further here, because matching to tag will override our end-match -->
|
131
|
+
</include>
|
132
|
+
</context>
|
133
|
+
</include>
|
134
|
+
</context>
|
135
|
+
<context id="h4" end-at-line-end="true">
|
136
|
+
<start><\s*h4</start>
|
137
|
+
<include>
|
138
|
+
<context sub-pattern="0" where="start" style-ref="tag"/>
|
139
|
+
<context ref="generic-tag"/>
|
140
|
+
<context id="h4-inside" style-inside="true" style-ref="h4" end-at-line-end="true" end-parent="true">
|
141
|
+
<start>></start>
|
142
|
+
<end><\s*/h4\s*></end>
|
143
|
+
<include>
|
144
|
+
<context sub-pattern="0" where="start" style-ref="tag"/>
|
145
|
+
<context sub-pattern="0" where="end" style-ref="tag"/>
|
146
|
+
<context ref="embedded-lang-hook"/>
|
147
|
+
<!-- We cannot match any further here, because matching to tag will override our end-match -->
|
148
|
+
</include>
|
149
|
+
</context>
|
150
|
+
</include>
|
151
|
+
</context>
|
152
|
+
<context id="h5" end-at-line-end="true">
|
153
|
+
<start><\s*h5</start>
|
154
|
+
<include>
|
155
|
+
<context sub-pattern="0" where="start" style-ref="tag"/>
|
156
|
+
<context ref="generic-tag"/>
|
157
|
+
<context id="h5-inside" style-inside="true" style-ref="h5" end-at-line-end="true" end-parent="true">
|
158
|
+
<start>></start>
|
159
|
+
<end><\s*/h5\s*></end>
|
160
|
+
<include>
|
161
|
+
<context sub-pattern="0" where="start" style-ref="tag"/>
|
162
|
+
<context sub-pattern="0" where="end" style-ref="tag"/>
|
163
|
+
<context ref="embedded-lang-hook"/>
|
164
|
+
<!-- We cannot match any further here, because matching to tag will override our end-match -->
|
165
|
+
</include>
|
166
|
+
</context>
|
167
|
+
</include>
|
168
|
+
</context>
|
169
|
+
</include>
|
170
|
+
</context>
|
171
|
+
|
172
|
+
<define-regex id="attribute-name">[a-z0-9:_-]+</define-regex>
|
173
|
+
|
174
|
+
<context id="generic-tag">
|
175
|
+
<include>
|
176
|
+
<!-- Attribute in the form: name="value" -->
|
177
|
+
<context id="attrib-quoted" class="no-spell-check">
|
178
|
+
<start>(\%{attribute-name}\s*=\s*)(\")</start>
|
179
|
+
<include>
|
180
|
+
<context sub-pattern="1" where="start" style-ref="attrib-name"/>
|
181
|
+
<context sub-pattern="2" where="start" style-ref="attrib-value"/>
|
182
|
+
<context id="string" end-parent="true" end-at-line-end="true" style-ref="attrib-value" class="string" class-disabled="no-spell-check">
|
183
|
+
<start>\%{def:always-match}</start>
|
184
|
+
<end>\"</end>
|
185
|
+
<include>
|
186
|
+
<context ref="xml:entity"/>
|
187
|
+
<context ref="xml:character-reference"/>
|
188
|
+
<context ref="embedded-lang-hook"/>
|
189
|
+
</include>
|
190
|
+
</context>
|
191
|
+
</include>
|
192
|
+
</context>
|
193
|
+
|
194
|
+
<!-- Attribute in the form: name=value -->
|
195
|
+
<context id="attrib-unquoted" style-ref="attrib-value" class="no-spell-check">
|
196
|
+
<start>\%{attribute-name}\s*=\s*</start>
|
197
|
+
<end>(?=>|\s)</end>
|
198
|
+
<include>
|
199
|
+
<context sub-pattern="0" where="start" style-ref="attrib-name"/>
|
200
|
+
<context ref="xml:entity"/>
|
201
|
+
<context ref="xml:character-reference"/>
|
202
|
+
<context ref="embedded-lang-hook"/>
|
203
|
+
</include>
|
204
|
+
</context>
|
205
|
+
|
206
|
+
<!-- Attribute in the form: name -->
|
207
|
+
<context id="attrib-no-value" style-ref="attrib-name" class="no-spell-check">
|
208
|
+
<match>\%{attribute-name}</match>
|
209
|
+
</context>
|
210
|
+
|
211
|
+
<context ref="embedded-lang-hook"/>
|
212
|
+
</include>
|
213
|
+
</context>
|
214
|
+
|
215
|
+
<context id="style" class="no-spell-check">
|
216
|
+
<start><\s*style\%]</start>
|
217
|
+
<include>
|
218
|
+
<context sub-pattern="0" where="start" style-ref="tag"/>
|
219
|
+
<context ref="generic-tag"/>
|
220
|
+
|
221
|
+
<context end-parent="true" style-ref="tag">
|
222
|
+
<match>/\s*></match>
|
223
|
+
</context>
|
224
|
+
|
225
|
+
<context id="style-code" end-parent="true">
|
226
|
+
<start>></start>
|
227
|
+
<end><\s*/\s*style\s*></end>
|
228
|
+
<include>
|
229
|
+
<context sub-pattern="0" where="start" style-ref="tag"/>
|
230
|
+
<context sub-pattern="0" where="end" style-ref="tag"/>
|
231
|
+
<context ref="embedded-lang-hook"/>
|
232
|
+
<context ref="css:css"/>
|
233
|
+
</include>
|
234
|
+
</context>
|
235
|
+
</include>
|
236
|
+
</context>
|
237
|
+
|
238
|
+
<context id="script" class="no-spell-check">
|
239
|
+
<start><\s*script\%]</start>
|
240
|
+
<include>
|
241
|
+
<context sub-pattern="0" where="start" style-ref="tag"/>
|
242
|
+
<context ref="generic-tag"/>
|
243
|
+
|
244
|
+
<context end-parent="true" style-ref="tag">
|
245
|
+
<match>/\s*></match>
|
246
|
+
</context>
|
247
|
+
|
248
|
+
<context id="js-code" end-parent="true">
|
249
|
+
<start>></start>
|
250
|
+
<end><\s*/\s*script\s*></end>
|
251
|
+
<include>
|
252
|
+
<context sub-pattern="0" where="start" style-ref="tag"/>
|
253
|
+
<context sub-pattern="0" where="end" style-ref="tag"/>
|
254
|
+
<context ref="embedded-lang-hook"/>
|
255
|
+
<context ref="js:js"/>
|
256
|
+
</include>
|
257
|
+
</context>
|
258
|
+
</include>
|
259
|
+
</context>
|
260
|
+
|
261
|
+
<context id="tag" class="no-spell-check">
|
262
|
+
<start><\s*/?\s*[a-z0-9_-]+</start>
|
263
|
+
<end>/?\s*></end>
|
264
|
+
<include>
|
265
|
+
<context sub-pattern="0" where="start" style-ref="tag"/>
|
266
|
+
<context sub-pattern="0" where="end" style-ref="tag"/>
|
267
|
+
<context ref="generic-tag"/>
|
268
|
+
</include>
|
269
|
+
</context>
|
270
|
+
|
271
|
+
<context id="html">
|
272
|
+
<include>
|
273
|
+
<context ref="xml:doctype"/>
|
274
|
+
<context ref="xml:entity"/>
|
275
|
+
<context ref="xml:character-reference"/>
|
276
|
+
<context ref="xml:cdata"/>
|
277
|
+
<context ref="comment"/>
|
278
|
+
<context ref="dtd"/>
|
279
|
+
<context ref="headings"/>
|
280
|
+
<context ref="style"/>
|
281
|
+
<context ref="script"/>
|
282
|
+
<context ref="tag"/>
|
283
|
+
</include>
|
284
|
+
</context>
|
285
|
+
</definitions>
|
286
|
+
</language>
|