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,636 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<!--
|
3
|
+
|
4
|
+
This file is part of GtkSourceView
|
5
|
+
|
6
|
+
Copyright (C) 2005-2007 - Marco Barisione <barisione@gmail.com>
|
7
|
+
Copyright (C) 2012-2013 - Tobias Marczewski <tmarczewski@ed-alumni.net>
|
8
|
+
Copyright (C) 2013, 2016 - 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="latex" name="LaTeX" version="2.0" _section="Markup">
|
25
|
+
<metadata>
|
26
|
+
<property name="mimetypes">text/x-tex</property>
|
27
|
+
<property name="globs">*.tex;*.ltx;*.sty;*.cls;*.dtx;*.ins;*.bbl</property>
|
28
|
+
<property name="line-comment-start">%</property>
|
29
|
+
</metadata>
|
30
|
+
|
31
|
+
<styles>
|
32
|
+
<style id="comment" name="Comment" map-to="def:comment"/>
|
33
|
+
<style id="display-math" name="Math Mode" map-to="def:string"/>
|
34
|
+
<style id="inline-math" name="Inline Math Mode" map-to="latex:display-math"/>
|
35
|
+
<style id="math" name="Math Mode" map-to="latex:display-math"/>
|
36
|
+
<style id="math-boundary" name="Math Boundary" map-to="latex:display-math"/>
|
37
|
+
<style id="include" name="Include" map-to="def:keyword"/>
|
38
|
+
<style id="common-commands" name="Command" map-to="def:keyword"/>
|
39
|
+
<style id="command" name="Command" map-to="def:keyword"/>
|
40
|
+
<style id="verbatim" name="Verbatim" map-to="def:comment"/>
|
41
|
+
<style id="special-char" name="Special Character" map-to="def:special-char"/>
|
42
|
+
<style id="part" name="Part Heading" map-to="def:heading0"/>
|
43
|
+
<style id="chapter" name="Chapter Heading" map-to="def:heading1"/>
|
44
|
+
<style id="section" name="Section Heading" map-to="def:heading2"/>
|
45
|
+
<style id="subsection" name="SubSection Heading" map-to="def:heading3"/>
|
46
|
+
<style id="subsubsection" name="SubSubSection Heading" map-to="def:heading4"/>
|
47
|
+
<style id="paragraph" name="Paragraph Heading" map-to="def:heading5"/>
|
48
|
+
<style id="subparagraph" name="SubParagraph Heading" map-to="def:heading6"/>
|
49
|
+
</styles>
|
50
|
+
|
51
|
+
<definitions>
|
52
|
+
|
53
|
+
<!-- comment -->
|
54
|
+
|
55
|
+
<context id="comment">
|
56
|
+
<include>
|
57
|
+
<context id="end-line-comment" style-ref="comment">
|
58
|
+
<start>%</start>
|
59
|
+
<end>$</end>
|
60
|
+
<include>
|
61
|
+
<context ref="def:in-comment"/>
|
62
|
+
</include>
|
63
|
+
</context>
|
64
|
+
|
65
|
+
<context id="comment-env" style-ref="comment" class="no-spell-check">
|
66
|
+
<start>\\begin\{comment\}</start>
|
67
|
+
<end>\\end\{comment\}</end>
|
68
|
+
<include>
|
69
|
+
<context ref="def:in-comment"/>
|
70
|
+
</include>
|
71
|
+
</context>
|
72
|
+
</include>
|
73
|
+
</context>
|
74
|
+
|
75
|
+
<!-- verbatim -->
|
76
|
+
|
77
|
+
<context id="verbatim-env" style-inside="true" style-ref="verbatim" class-disabled="no-spell-check">
|
78
|
+
<start>(\\begin)\{(verbatim\*?|alltt)\}</start>
|
79
|
+
<end>(\\end)\{(\%{2@start})\}</end>
|
80
|
+
<include>
|
81
|
+
<context sub-pattern="1" where="start" style-ref="common-commands" class="no-spell-check"/>
|
82
|
+
<context sub-pattern="1" where="end" style-ref="common-commands" class="no-spell-check"/>
|
83
|
+
<context sub-pattern="2" where="start" class="no-spell-check"/>
|
84
|
+
<context sub-pattern="2" where="end" class="no-spell-check"/>
|
85
|
+
</include>
|
86
|
+
</context>
|
87
|
+
|
88
|
+
<context id="lstlisting-env" style-inside="true" style-ref="verbatim" class="no-spell-check">
|
89
|
+
<start>(\\begin)\{lstlisting\}</start>
|
90
|
+
<end>(\\end)\{lstlisting\}</end>
|
91
|
+
<include>
|
92
|
+
<context sub-pattern="1" where="start" style-ref="common-commands"/>
|
93
|
+
<context sub-pattern="1" where="end" style-ref="common-commands"/>
|
94
|
+
</include>
|
95
|
+
</context>
|
96
|
+
|
97
|
+
<!-- Embedded R Code (Sweave package) -->
|
98
|
+
|
99
|
+
<context id="R-block" class="no-spell-check">
|
100
|
+
<start>(\\begin)\{(Scode|Sinput|Soutput)\}</start>
|
101
|
+
<end>(\\end)\{\%{2@start}\}</end>
|
102
|
+
<include>
|
103
|
+
<context sub-pattern="1" where="start" style-ref="common-commands"/>
|
104
|
+
<context sub-pattern="1" where="end" style-ref="common-commands"/>
|
105
|
+
<context ref="r:r"/>
|
106
|
+
</include>
|
107
|
+
</context>
|
108
|
+
|
109
|
+
<!--
|
110
|
+
Examples: \url{http://google.de}, \href{http://google.de}{Google}
|
111
|
+
|
112
|
+
Supports also urls with math symbols: \url{https://example.com/$test}
|
113
|
+
-->
|
114
|
+
<context id="urls">
|
115
|
+
<include>
|
116
|
+
<context ref="url-command"/>
|
117
|
+
<context ref="href-command"/>
|
118
|
+
</include>
|
119
|
+
</context>
|
120
|
+
|
121
|
+
<context id="url-command" class="no-spell-check">
|
122
|
+
<match extended="true">
|
123
|
+
(\\url) # url command.
|
124
|
+
\{ # Literal opening braces.
|
125
|
+
[ \t]* # Optional spaces or tabs after the opening braces.
|
126
|
+
.*? # URL
|
127
|
+
[ \t]* # Optional spaces or tabs before the closing braces.
|
128
|
+
\} # closing url command.
|
129
|
+
</match>
|
130
|
+
|
131
|
+
<include>
|
132
|
+
<context sub-pattern="1" style-ref="command"/>
|
133
|
+
</include>
|
134
|
+
</context>
|
135
|
+
|
136
|
+
<context id="href-command">
|
137
|
+
<match extended="true">
|
138
|
+
(\\href) # url command.
|
139
|
+
\{( # Literal opening braces.
|
140
|
+
[ \t]* # Optional spaces or tabs after the opening braces.
|
141
|
+
.*? # URL
|
142
|
+
[ \t]* # Optional spaces or tabs before the closing braces.
|
143
|
+
)\} # closing url command.
|
144
|
+
\{(.*?)\} # link text
|
145
|
+
</match>
|
146
|
+
|
147
|
+
<include>
|
148
|
+
<context sub-pattern="1" class="no-spell-check" style-ref="command"/>
|
149
|
+
<context sub-pattern="2" class="no-spell-check"/>
|
150
|
+
</include>
|
151
|
+
</context>
|
152
|
+
|
153
|
+
<!--using brackets is an experimental feature from the listings package. The
|
154
|
+
following must support these cases:
|
155
|
+
|
156
|
+
\lstinline[]{code in here}
|
157
|
+
\lstinline[key=val, key=val]{code in here}
|
158
|
+
\lstinline[key=val, key=val]!code in here!
|
159
|
+
\lstinline[]!code in here!
|
160
|
+
\lstinline[][code in here[
|
161
|
+
\lstinline[NOT code in here, must specify empty optional argument to use square brackets[
|
162
|
+
\lstinline{code in here}
|
163
|
+
\lstinline{code in {here} but NOT in here} % brackets do not nest
|
164
|
+
\lstinline!code in here!
|
165
|
+
\lstinline=code in here=
|
166
|
+
\lstinline{this needs to fail{
|
167
|
+
|
168
|
+
If using \verb instead of \lstinline, the brackets cannot be used
|
169
|
+
-->
|
170
|
+
<context id="lstinline-curly-brackets" style-inside="true" style-ref="verbatim" class="no-spell-check">
|
171
|
+
<start>(\\lstinline)(\[.*?\])?{</start>
|
172
|
+
<end>}</end>
|
173
|
+
<include>
|
174
|
+
<context sub-pattern="1" where="start" style-ref="command"/>
|
175
|
+
</include>
|
176
|
+
</context>
|
177
|
+
|
178
|
+
<context id="lstinline-square-brackets" style-inside="true" style-ref="verbatim" class="no-spell-check">
|
179
|
+
<!-- square brackets don't match with the pair, and they require an
|
180
|
+
optional argument, even if empty -->
|
181
|
+
<start>(\\lstinline)(\[.*?\])\[</start>
|
182
|
+
<end>\[</end>
|
183
|
+
<include>
|
184
|
+
<context sub-pattern="1" where="start" style-ref="command"/>
|
185
|
+
</include>
|
186
|
+
</context>
|
187
|
+
|
188
|
+
<context id="lstinline" style-inside="true" style-ref="verbatim" class="no-spell-check">
|
189
|
+
<start>(\\lstinline)(\[.*?\])?((?!\[)\S)</start> <!-- ignore when starting with [ -->
|
190
|
+
<end>\%{3@start}</end>
|
191
|
+
<include>
|
192
|
+
<context sub-pattern="1" where="start" style-ref="command"/>
|
193
|
+
</include>
|
194
|
+
</context>
|
195
|
+
|
196
|
+
<!-- If using \verb instead of \lstinline, the brackets cannot be used -->
|
197
|
+
<context id="verbatim-inline" style-inside="true" style-ref="verbatim" class-disabled="no-spell-check">
|
198
|
+
<start>(\\verb)\*?(\S)</start>
|
199
|
+
<end>\%{2@start}</end>
|
200
|
+
<include>
|
201
|
+
<context sub-pattern="1" where="start" style-ref="command" class="no-spell-check"/>
|
202
|
+
</include>
|
203
|
+
</context>
|
204
|
+
|
205
|
+
<context id="verbatim">
|
206
|
+
<include>
|
207
|
+
<context ref="verbatim-env"/>
|
208
|
+
<context ref="lstlisting-env"/>
|
209
|
+
<context ref="verbatim-inline"/>
|
210
|
+
<context ref="lstinline-curly-brackets"/>
|
211
|
+
<context ref="lstinline-square-brackets"/>
|
212
|
+
<context ref="lstinline"/>
|
213
|
+
</include>
|
214
|
+
</context>
|
215
|
+
|
216
|
+
<!-- commands -->
|
217
|
+
|
218
|
+
<context id="common-commands" style-ref="common-commands" class="no-spell-check">
|
219
|
+
<prefix>\\</prefix>
|
220
|
+
<!-- We need to special case "_" since it is not considered a
|
221
|
+
boundary but it is allowed in latex -->
|
222
|
+
<suffix>(\b|(?=_))</suffix>
|
223
|
+
<keyword>Alpha</keyword>
|
224
|
+
<keyword>Beta</keyword>
|
225
|
+
<keyword>Chi</keyword>
|
226
|
+
<keyword>Delta</keyword>
|
227
|
+
<keyword>Epsilon</keyword>
|
228
|
+
<keyword>Eta</keyword>
|
229
|
+
<keyword>Gamma</keyword>
|
230
|
+
<keyword>Iota</keyword>
|
231
|
+
<keyword>Kappa</keyword>
|
232
|
+
<keyword>Lambda</keyword>
|
233
|
+
<keyword>Leftarrow</keyword>
|
234
|
+
<keyword>Leftrightarrow</keyword>
|
235
|
+
<keyword>Mu</keyword>
|
236
|
+
<keyword>Nu</keyword>
|
237
|
+
<keyword>Omega</keyword>
|
238
|
+
<keyword>Phi</keyword>
|
239
|
+
<keyword>Pi</keyword>
|
240
|
+
<keyword>Psi</keyword>
|
241
|
+
<keyword>Rho</keyword>
|
242
|
+
<keyword>Rightarrow</keyword>
|
243
|
+
<keyword>Sigma</keyword>
|
244
|
+
<keyword>Tau</keyword>
|
245
|
+
<keyword>Zeta</keyword>
|
246
|
+
<keyword>alpha</keyword>
|
247
|
+
<keyword>appendix</keyword>
|
248
|
+
<keyword>begin</keyword>
|
249
|
+
<keyword>beta</keyword>
|
250
|
+
<keyword>bigcap</keyword>
|
251
|
+
<keyword>bigcup</keyword>
|
252
|
+
<keyword>cap</keyword>
|
253
|
+
<keyword>cdot</keyword>
|
254
|
+
<keyword>chapter</keyword>
|
255
|
+
<keyword>chi</keyword>
|
256
|
+
<keyword>cite</keyword>
|
257
|
+
<keyword>cup</keyword>
|
258
|
+
<keyword>delta</keyword>
|
259
|
+
<keyword>documentclass</keyword>
|
260
|
+
<keyword>end</keyword>
|
261
|
+
<keyword>enumi</keyword>
|
262
|
+
<keyword>enumii</keyword>
|
263
|
+
<keyword>enumiii</keyword>
|
264
|
+
<keyword>enumiv</keyword>
|
265
|
+
<keyword>epsilon</keyword>
|
266
|
+
<keyword>equation</keyword>
|
267
|
+
<keyword>eta</keyword>
|
268
|
+
<keyword>exists</keyword>
|
269
|
+
<keyword>figure</keyword>
|
270
|
+
<keyword>footnote</keyword>
|
271
|
+
<keyword>footnotemark</keyword>
|
272
|
+
<keyword>footnotetext</keyword>
|
273
|
+
<keyword>forall</keyword>
|
274
|
+
<keyword>gamma</keyword>
|
275
|
+
<keyword>geq</keyword>
|
276
|
+
<keyword>in</keyword>
|
277
|
+
<keyword>int</keyword>
|
278
|
+
<keyword>iota</keyword>
|
279
|
+
<keyword>kappa</keyword>
|
280
|
+
<keyword>label</keyword>
|
281
|
+
<keyword>lambda</keyword>
|
282
|
+
<keyword>ldots</keyword>
|
283
|
+
<keyword>leftarrow</keyword>
|
284
|
+
<keyword>leq</keyword>
|
285
|
+
<keyword>mpfootnote</keyword>
|
286
|
+
<keyword>mu</keyword>
|
287
|
+
<keyword>neq</keyword>
|
288
|
+
<keyword>newcommand</keyword>
|
289
|
+
<keyword>newenvironment</keyword>
|
290
|
+
<keyword>newfont</keyword>
|
291
|
+
<keyword>newtheorem</keyword>
|
292
|
+
<keyword>not</keyword>
|
293
|
+
<keyword>notin</keyword>
|
294
|
+
<keyword>nu</keyword>
|
295
|
+
<keyword>omega</keyword>
|
296
|
+
<keyword>onecolumn</keyword>
|
297
|
+
<keyword>page</keyword>
|
298
|
+
<keyword>pageref</keyword>
|
299
|
+
<keyword>paragraph</keyword>
|
300
|
+
<keyword>part</keyword>
|
301
|
+
<keyword>phi</keyword>
|
302
|
+
<keyword>pi</keyword>
|
303
|
+
<keyword>prod</keyword>
|
304
|
+
<keyword>psi</keyword>
|
305
|
+
<keyword>qquad</keyword>
|
306
|
+
<keyword>quad</keyword>
|
307
|
+
<keyword>ref</keyword>
|
308
|
+
<keyword>rho</keyword>
|
309
|
+
<keyword>rightarrow</keyword>
|
310
|
+
<keyword>section</keyword>
|
311
|
+
<keyword>setminus</keyword>
|
312
|
+
<keyword>sigma</keyword>
|
313
|
+
<keyword>subparagraph</keyword>
|
314
|
+
<keyword>subsection</keyword>
|
315
|
+
<keyword>subset</keyword>
|
316
|
+
<keyword>subseteq</keyword>
|
317
|
+
<keyword>subsetneq</keyword>
|
318
|
+
<keyword>subsubsection</keyword>
|
319
|
+
<keyword>subsubsubsection</keyword>
|
320
|
+
<keyword>sum</keyword>
|
321
|
+
<keyword>supset</keyword>
|
322
|
+
<keyword>supseteq</keyword>
|
323
|
+
<keyword>supsetneq</keyword>
|
324
|
+
<keyword>table</keyword>
|
325
|
+
<keyword>tau</keyword>
|
326
|
+
<keyword>times</keyword>
|
327
|
+
<keyword>twocolumn</keyword>
|
328
|
+
<keyword>varepsilon</keyword>
|
329
|
+
<keyword>varphi</keyword>
|
330
|
+
<keyword>zeta</keyword>
|
331
|
+
</context>
|
332
|
+
|
333
|
+
<context id="generic-command" style-ref="command" class="no-spell-check" extend-parent="false">
|
334
|
+
<match>\\\@?[[:alnum:]]+\*?</match>
|
335
|
+
</context>
|
336
|
+
|
337
|
+
<context id="specific-commands">
|
338
|
+
<include>
|
339
|
+
<context id="documentclass" class="no-spell-check">
|
340
|
+
<match>(\\documentclass)(\[.*\])?(\{.*\})?</match>
|
341
|
+
<include>
|
342
|
+
<context sub-pattern="1" style-ref="common-commands"/>
|
343
|
+
</include>
|
344
|
+
</context>
|
345
|
+
|
346
|
+
<context id="include" class="no-spell-check">
|
347
|
+
<match>(\\(input|include|includeonly|usepackage))\b(\[.*\])?(\{.*\})?</match>
|
348
|
+
<include>
|
349
|
+
<context sub-pattern="1" style-ref="include"/>
|
350
|
+
</include>
|
351
|
+
</context>
|
352
|
+
|
353
|
+
<context id="begin-end-command" class="no-spell-check">
|
354
|
+
<match>(\\(begin|end))\{.*\}</match>
|
355
|
+
<include>
|
356
|
+
<context sub-pattern="1" style-ref="common-commands"/>
|
357
|
+
</include>
|
358
|
+
</context>
|
359
|
+
</include>
|
360
|
+
</context>
|
361
|
+
|
362
|
+
<!-- special characters -->
|
363
|
+
|
364
|
+
<define-regex id="accents" extended="true">
|
365
|
+
(\\( #leading backslash
|
366
|
+
( #1-Accents-
|
367
|
+
[bcdHruv\.\^'`~"=] # accent symbol
|
368
|
+
\s*\{([a-zA-Z] | \\i | \\j)\} | # letter (\i \j for i,j without dot)
|
369
|
+
[\.\^'`~"=]\s*([a-zA-Z] | \\i | \\j) |# non-letter accents without braces
|
370
|
+
t\s*\{([a-zA-Z] | \\i | \\j){2}\} # special accent over two letters
|
371
|
+
) | ( #2-Special letters-
|
372
|
+
(aa|AA | ae|AE | oe|OE | ss|SS | # letters followed by a non-word
|
373
|
+
[oO] | [lL])(?![a-zA-Z_@]) # character or e.g. \l causes
|
374
|
+
) # unwanted behaviour (i.e. \label)
|
375
|
+
)) | (!` | \?`) #3-Spanish punctuation
|
376
|
+
</define-regex>
|
377
|
+
|
378
|
+
<context id="special-char">
|
379
|
+
<include>
|
380
|
+
<!-- Include accents here before the escaped command symbols because for
|
381
|
+
example the hat (^) can be used as an accent and will be placed over
|
382
|
+
the following letter (e.g. \^o will NOT produce ^o) -->
|
383
|
+
<context id="accents" style-ref="special-char" class="no-spell-check">
|
384
|
+
<match>\%{accents}</match>
|
385
|
+
</context>
|
386
|
+
|
387
|
+
<context id="special-symbols" style-ref="special-char" class="no-spell-check">
|
388
|
+
<prefix>\\</prefix>
|
389
|
+
<suffix></suffix>
|
390
|
+
|
391
|
+
<keyword>\$</keyword>
|
392
|
+
<keyword>&</keyword>
|
393
|
+
<keyword>%</keyword>
|
394
|
+
<keyword>#</keyword>
|
395
|
+
<keyword>_</keyword>
|
396
|
+
<keyword>\{</keyword>
|
397
|
+
<keyword>\}</keyword>
|
398
|
+
<keyword>~</keyword>
|
399
|
+
<keyword>\^</keyword>
|
400
|
+
<keyword>\\</keyword>
|
401
|
+
</context>
|
402
|
+
</include>
|
403
|
+
</context>
|
404
|
+
|
405
|
+
<!-- headings -->
|
406
|
+
|
407
|
+
<context id="curly-braces-pair">
|
408
|
+
<start>\{</start>
|
409
|
+
<end>\}</end>
|
410
|
+
<include>
|
411
|
+
<context ref="curly-braces-pair"/>
|
412
|
+
<context ref="latex"/>
|
413
|
+
</include>
|
414
|
+
</context>
|
415
|
+
|
416
|
+
<context id="headings">
|
417
|
+
<include>
|
418
|
+
<context id="part" style-inside="true" style-ref="part" end-at-line-end="true" class-disabled="no-spell-check">
|
419
|
+
<start>(\\part\*?)\{</start>
|
420
|
+
<end>\}</end>
|
421
|
+
<include>
|
422
|
+
<context sub-pattern="1" where="start" style-ref="common-commands" class="no-spell-check"/>
|
423
|
+
<context ref="curly-braces-pair"/>
|
424
|
+
<context ref="latex"/>
|
425
|
+
</include>
|
426
|
+
</context>
|
427
|
+
|
428
|
+
<context id="chapter" style-inside="true" style-ref="chapter" end-at-line-end="true" class-disabled="no-spell-check">
|
429
|
+
<start>(\\chapter\*?)\{</start>
|
430
|
+
<end>\}</end>
|
431
|
+
<include>
|
432
|
+
<context sub-pattern="1" where="start" style-ref="common-commands" class="no-spell-check"/>
|
433
|
+
<context ref="curly-braces-pair"/>
|
434
|
+
<context ref="latex"/>
|
435
|
+
</include>
|
436
|
+
</context>
|
437
|
+
|
438
|
+
<context id="section" style-inside="true" style-ref="section" end-at-line-end="true" class-disabled="no-spell-check">
|
439
|
+
<start>(\\section\*?)\{</start>
|
440
|
+
<end>\}</end>
|
441
|
+
<include>
|
442
|
+
<context sub-pattern="1" where="start" style-ref="common-commands" class="no-spell-check"/>
|
443
|
+
<context ref="curly-braces-pair"/>
|
444
|
+
<context ref="latex"/>
|
445
|
+
</include>
|
446
|
+
</context>
|
447
|
+
|
448
|
+
<context id="subsection" style-inside="true" style-ref="subsection" end-at-line-end="true" class-disabled="no-spell-check">
|
449
|
+
<start>(\\subsection\*?)\{</start>
|
450
|
+
<end>\}</end>
|
451
|
+
<include>
|
452
|
+
<context sub-pattern="1" where="start" style-ref="common-commands" class="no-spell-check"/>
|
453
|
+
<context ref="curly-braces-pair"/>
|
454
|
+
<context ref="latex"/>
|
455
|
+
</include>
|
456
|
+
</context>
|
457
|
+
|
458
|
+
<context id="subsubsection" style-inside="true" style-ref="subsubsection" end-at-line-end="true" class-disabled="no-spell-check">
|
459
|
+
<start>(\\subsubsection\*?)\{</start>
|
460
|
+
<end>\}</end>
|
461
|
+
<include>
|
462
|
+
<context sub-pattern="1" where="start" style-ref="common-commands" class="no-spell-check"/>
|
463
|
+
<context ref="curly-braces-pair"/>
|
464
|
+
<context ref="latex"/>
|
465
|
+
</include>
|
466
|
+
</context>
|
467
|
+
|
468
|
+
<context id="paragraph" style-inside="true" style-ref="paragraph" end-at-line-end="true" class-disabled="no-spell-check">
|
469
|
+
<start>(\\paragraph\*?)\{</start>
|
470
|
+
<end>\}</end>
|
471
|
+
<include>
|
472
|
+
<context sub-pattern="1" where="start" style-ref="common-commands" class="no-spell-check"/>
|
473
|
+
<context ref="curly-braces-pair"/>
|
474
|
+
<context ref="latex"/>
|
475
|
+
</include>
|
476
|
+
</context>
|
477
|
+
|
478
|
+
<context id="subparagraph" style-inside="true" style-ref="subparagraph" end-at-line-end="true" class-disabled="no-spell-check">
|
479
|
+
<start>(\\subparagraph\*?)\{</start>
|
480
|
+
<end>\}</end>
|
481
|
+
<include>
|
482
|
+
<context sub-pattern="1" where="start" style-ref="common-commands" class="no-spell-check"/>
|
483
|
+
<context ref="curly-braces-pair"/>
|
484
|
+
<context ref="latex"/>
|
485
|
+
</include>
|
486
|
+
</context>
|
487
|
+
</include>
|
488
|
+
</context>
|
489
|
+
|
490
|
+
<!-- math -->
|
491
|
+
|
492
|
+
<!-- Commands exclusive to math mode -->
|
493
|
+
<context id="math-command" class="no-spell-check" style-ref="common-commands">
|
494
|
+
<match extended="true">
|
495
|
+
\\(
|
496
|
+
frac | sqrt | sum | (co)?prod | o?int | #-Functions
|
497
|
+
infty | (c|d|v)dots | nonumber | #-special in math mode
|
498
|
+
mathnormal | math(rm|sf|tt|it|bf|cal) | #-Math font commands
|
499
|
+
(display|text|script(script)?)style | #-Math size commands
|
500
|
+
alpha | beta | (g|G)amma | (d|D)elta | #-Greek letters
|
501
|
+
(var)?epsilon | zeta | eta | ((vart)|t|T)heta | ##
|
502
|
+
iota | kappa | (l|L)ambda | mu | nu | (x|X)i | ##
|
503
|
+
((varp)|p|P)i | (var)?rho | ((vars)|s|S)igma | ##
|
504
|
+
tau | (u|U)psilon | ((varp)|p|P)hi | chi | ##
|
505
|
+
(p|P)si | (o|O)mega | ##
|
506
|
+
pm | mp | times | div | cdot | ast | star | #-Binary operators
|
507
|
+
dd?agger | amalg | (sq)?c(a|u)p | uplus | vee | ##
|
508
|
+
wedge | o(plus|minus|times) | (big)?circ | ##
|
509
|
+
bullet | (d|D)iamond | (un)?(l|r)hd | ##
|
510
|
+
o(slash|dot) | Box | bigtriangle(up|down) | ##
|
511
|
+
triangle(left|right) | setminus | wr | ##
|
512
|
+
gets | to | ((u|U)p(down)? | (d|D)own)arrow | #-Arrows and pointers
|
513
|
+
((l|L)eft(right)?|(r|R)ight)arrow | (long)mapsto |##
|
514
|
+
hook(left|right)arrow | (ne|se|sw|nw)arrow | ##
|
515
|
+
(left|right)harpoon(up|down) | rightleftharpoons |##
|
516
|
+
(l|L)ong(left(right)?|right)arrow | ##
|
517
|
+
(wide)hat | check | dd?ot | breve | acute | #-Accents in math mode
|
518
|
+
grave | bar | vec | (wide)tilde | mathring | ##
|
519
|
+
(over|under)(line|brace) | (i|j)math | ##i, j dots removed
|
520
|
+
(arc)?(cosh?|sinh?|tanh?) | arg | coth? | csc | #-Function names
|
521
|
+
deg | det | dim | exp | gcd | hom | inf | ker | ##
|
522
|
+
lg | lim(inf|sup)? | ln | log | max | min | Pr | ##
|
523
|
+
sec | sup ##
|
524
|
+
)(?=\b)
|
525
|
+
</match>
|
526
|
+
</context>
|
527
|
+
|
528
|
+
<context id="math-spacing" style-ref="special-char">
|
529
|
+
<match>\\[;:!]</match>
|
530
|
+
</context>
|
531
|
+
|
532
|
+
<context id="math-brackets" style-ref="common-commands">
|
533
|
+
<match extended="true">
|
534
|
+
\\(left | right | [bB]igg?[lr]) ( # bracket size specifier
|
535
|
+
\(|\) | \[|\] | \\\{|\\\} | # normal brackets (curly escaped)
|
536
|
+
\| | \\\| | / | \\backslash | # pipe and slashes
|
537
|
+
\\( #-symbol commands
|
538
|
+
[lr]floor | [lr]ceil | [lr]angle | ##
|
539
|
+
([uU]p(down)?|[dD]own)arrow ##
|
540
|
+
) ##
|
541
|
+
)
|
542
|
+
</match>
|
543
|
+
</context>
|
544
|
+
|
545
|
+
<context id="math-super-sub-script" style-ref="common-commands">
|
546
|
+
<match>\^|_</match>
|
547
|
+
</context>
|
548
|
+
|
549
|
+
<context id="in-math" class="no-spell-check">
|
550
|
+
<include>
|
551
|
+
<context ref="comment"/>
|
552
|
+
<context ref="math-command"/>
|
553
|
+
<context ref="math-spacing"/>
|
554
|
+
<context ref="math-brackets"/>
|
555
|
+
<context ref="special-char"/>
|
556
|
+
<context ref="math-super-sub-script"/>
|
557
|
+
<context ref="generic-command"/>
|
558
|
+
</include>
|
559
|
+
</context>
|
560
|
+
|
561
|
+
<context id="math-1" style-ref="math" class="no-spell-check">
|
562
|
+
<start>\$\$</start>
|
563
|
+
<end>\$\$</end>
|
564
|
+
<include>
|
565
|
+
<context sub-pattern="0" where="start" style-ref="math-boundary"/>
|
566
|
+
<context sub-pattern="0" where="end" style-ref="math-boundary"/>
|
567
|
+
<context ref="in-math"/>
|
568
|
+
</include>
|
569
|
+
</context>
|
570
|
+
|
571
|
+
<context id="math-2" style-ref="math" class="no-spell-check">
|
572
|
+
<start>\\\[</start>
|
573
|
+
<end>\\\]</end>
|
574
|
+
<include>
|
575
|
+
<context sub-pattern="0" where="start" style-ref="math-boundary"/>
|
576
|
+
<context sub-pattern="0" where="end" style-ref="math-boundary"/>
|
577
|
+
<context ref="in-math"/>
|
578
|
+
</include>
|
579
|
+
</context>
|
580
|
+
|
581
|
+
<context id="math-env" style-ref="math" style-inside="true" class="no-spell-check">
|
582
|
+
<start>(\\begin)\{(math|displaymath|equation\*?|align\*?|eqnarray\*?)\}</start>
|
583
|
+
<end>(\\end)\{\%{2@start}\}</end>
|
584
|
+
<include>
|
585
|
+
<context sub-pattern="1" where="start" style-ref="common-commands"/>
|
586
|
+
<context sub-pattern="1" where="end" style-ref="common-commands"/>
|
587
|
+
<context ref="in-math"/>
|
588
|
+
</include>
|
589
|
+
</context>
|
590
|
+
|
591
|
+
<context id="inline-math-1" style-ref="inline-math" class="no-spell-check">
|
592
|
+
<start>\$</start>
|
593
|
+
<end>\$</end>
|
594
|
+
<include>
|
595
|
+
<context sub-pattern="0" where="start" style-ref="math-boundary"/>
|
596
|
+
<context sub-pattern="0" where="end" style-ref="math-boundary"/>
|
597
|
+
<context ref="in-math"/>
|
598
|
+
</include>
|
599
|
+
</context>
|
600
|
+
|
601
|
+
<context id="inline-math-2" style-ref="inline-math" class="no-spell-check">
|
602
|
+
<start>\\\(</start>
|
603
|
+
<end>\\\)</end>
|
604
|
+
<include>
|
605
|
+
<context sub-pattern="0" where="start" style-ref="math-boundary"/>
|
606
|
+
<context sub-pattern="0" where="end" style-ref="math-boundary"/>
|
607
|
+
<context ref="in-math"/>
|
608
|
+
</include>
|
609
|
+
</context>
|
610
|
+
|
611
|
+
<context id="math">
|
612
|
+
<include>
|
613
|
+
<context ref="math-1"/>
|
614
|
+
<context ref="math-2"/>
|
615
|
+
<context ref="math-env"/>
|
616
|
+
<context ref="inline-math-1"/>
|
617
|
+
<context ref="inline-math-2"/>
|
618
|
+
</include>
|
619
|
+
</context>
|
620
|
+
|
621
|
+
<context id="latex">
|
622
|
+
<include>
|
623
|
+
<context ref="comment"/>
|
624
|
+
<context ref="verbatim"/>
|
625
|
+
<context ref="R-block"/>
|
626
|
+
<context ref="headings"/>
|
627
|
+
<context ref="math"/>
|
628
|
+
<context ref="urls"/>
|
629
|
+
<context ref="specific-commands"/>
|
630
|
+
<context ref="common-commands"/>
|
631
|
+
<context ref="special-char"/>
|
632
|
+
<context ref="generic-command"/>
|
633
|
+
</include>
|
634
|
+
</context>
|
635
|
+
</definitions>
|
636
|
+
</language>
|