gitlab-pygments.rb 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +6 -0
- data/Gemfile +2 -0
- data/README.md +91 -0
- data/Rakefile +78 -0
- data/bench.rb +22 -0
- data/cache-lexers.rb +8 -0
- data/lexers +0 -0
- data/lib/pygments/lexer.rb +148 -0
- data/lib/pygments/mentos.py +344 -0
- data/lib/pygments/popen.rb +389 -0
- data/lib/pygments/version.rb +3 -0
- data/lib/pygments.rb +8 -0
- data/pygments.rb.gemspec +24 -0
- data/test/test_data.c +2581 -0
- data/test/test_data.py +514 -0
- data/test/test_data_generated +2582 -0
- data/test/test_pygments.rb +276 -0
- data/vendor/custom_formatters/gitlab.py +171 -0
- data/vendor/custom_lexers/github.py +362 -0
- data/vendor/pygments-main/AUTHORS +115 -0
- data/vendor/pygments-main/CHANGES +762 -0
- data/vendor/pygments-main/LICENSE +25 -0
- data/vendor/pygments-main/MANIFEST.in +6 -0
- data/vendor/pygments-main/Makefile +59 -0
- data/vendor/pygments-main/REVISION +1 -0
- data/vendor/pygments-main/TODO +15 -0
- data/vendor/pygments-main/docs/generate.py +472 -0
- data/vendor/pygments-main/docs/pygmentize.1 +94 -0
- data/vendor/pygments-main/docs/src/api.txt +270 -0
- data/vendor/pygments-main/docs/src/authors.txt +5 -0
- data/vendor/pygments-main/docs/src/changelog.txt +5 -0
- data/vendor/pygments-main/docs/src/cmdline.txt +147 -0
- data/vendor/pygments-main/docs/src/filterdevelopment.txt +70 -0
- data/vendor/pygments-main/docs/src/filters.txt +42 -0
- data/vendor/pygments-main/docs/src/formatterdevelopment.txt +169 -0
- data/vendor/pygments-main/docs/src/formatters.txt +48 -0
- data/vendor/pygments-main/docs/src/index.txt +69 -0
- data/vendor/pygments-main/docs/src/installation.txt +71 -0
- data/vendor/pygments-main/docs/src/integrate.txt +43 -0
- data/vendor/pygments-main/docs/src/lexerdevelopment.txt +551 -0
- data/vendor/pygments-main/docs/src/lexers.txt +67 -0
- data/vendor/pygments-main/docs/src/moinmoin.txt +39 -0
- data/vendor/pygments-main/docs/src/plugins.txt +93 -0
- data/vendor/pygments-main/docs/src/quickstart.txt +202 -0
- data/vendor/pygments-main/docs/src/rstdirective.txt +22 -0
- data/vendor/pygments-main/docs/src/styles.txt +143 -0
- data/vendor/pygments-main/docs/src/tokens.txt +349 -0
- data/vendor/pygments-main/docs/src/unicode.txt +49 -0
- data/vendor/pygments-main/external/markdown-processor.py +67 -0
- data/vendor/pygments-main/external/moin-parser.py +112 -0
- data/vendor/pygments-main/external/pygments.bashcomp +38 -0
- data/vendor/pygments-main/external/rst-directive-old.py +77 -0
- data/vendor/pygments-main/external/rst-directive.py +83 -0
- data/vendor/pygments-main/ez_setup.py +276 -0
- data/vendor/pygments-main/pygmentize +7 -0
- data/vendor/pygments-main/pygments/__init__.py +91 -0
- data/vendor/pygments-main/pygments/cmdline.py +433 -0
- data/vendor/pygments-main/pygments/console.py +74 -0
- data/vendor/pygments-main/pygments/filter.py +74 -0
- data/vendor/pygments-main/pygments/filters/__init__.py +357 -0
- data/vendor/pygments-main/pygments/formatter.py +92 -0
- data/vendor/pygments-main/pygments/formatters/__init__.py +68 -0
- data/vendor/pygments-main/pygments/formatters/_mapping.py +94 -0
- data/vendor/pygments-main/pygments/formatters/bbcode.py +109 -0
- data/vendor/pygments-main/pygments/formatters/gitlab.py +171 -0
- data/vendor/pygments-main/pygments/formatters/html.py +750 -0
- data/vendor/pygments-main/pygments/formatters/img.py +553 -0
- data/vendor/pygments-main/pygments/formatters/latex.py +378 -0
- data/vendor/pygments-main/pygments/formatters/other.py +117 -0
- data/vendor/pygments-main/pygments/formatters/rtf.py +136 -0
- data/vendor/pygments-main/pygments/formatters/svg.py +154 -0
- data/vendor/pygments-main/pygments/formatters/terminal.py +112 -0
- data/vendor/pygments-main/pygments/formatters/terminal256.py +222 -0
- data/vendor/pygments-main/pygments/lexer.py +697 -0
- data/vendor/pygments-main/pygments/lexers/__init__.py +229 -0
- data/vendor/pygments-main/pygments/lexers/_asybuiltins.py +1645 -0
- data/vendor/pygments-main/pygments/lexers/_clbuiltins.py +232 -0
- data/vendor/pygments-main/pygments/lexers/_luabuiltins.py +249 -0
- data/vendor/pygments-main/pygments/lexers/_mapping.py +298 -0
- data/vendor/pygments-main/pygments/lexers/_phpbuiltins.py +3787 -0
- data/vendor/pygments-main/pygments/lexers/_postgres_builtins.py +232 -0
- data/vendor/pygments-main/pygments/lexers/_scilab_builtins.py +29 -0
- data/vendor/pygments-main/pygments/lexers/_vimbuiltins.py +3 -0
- data/vendor/pygments-main/pygments/lexers/agile.py +1803 -0
- data/vendor/pygments-main/pygments/lexers/asm.py +360 -0
- data/vendor/pygments-main/pygments/lexers/compiled.py +2891 -0
- data/vendor/pygments-main/pygments/lexers/dotnet.py +636 -0
- data/vendor/pygments-main/pygments/lexers/functional.py +1832 -0
- data/vendor/pygments-main/pygments/lexers/github.py +362 -0
- data/vendor/pygments-main/pygments/lexers/hdl.py +356 -0
- data/vendor/pygments-main/pygments/lexers/jvm.py +847 -0
- data/vendor/pygments-main/pygments/lexers/math.py +1072 -0
- data/vendor/pygments-main/pygments/lexers/other.py +3339 -0
- data/vendor/pygments-main/pygments/lexers/parsers.py +695 -0
- data/vendor/pygments-main/pygments/lexers/shell.py +361 -0
- data/vendor/pygments-main/pygments/lexers/special.py +100 -0
- data/vendor/pygments-main/pygments/lexers/sql.py +559 -0
- data/vendor/pygments-main/pygments/lexers/templates.py +1631 -0
- data/vendor/pygments-main/pygments/lexers/text.py +1753 -0
- data/vendor/pygments-main/pygments/lexers/web.py +2864 -0
- data/vendor/pygments-main/pygments/plugin.py +74 -0
- data/vendor/pygments-main/pygments/scanner.py +104 -0
- data/vendor/pygments-main/pygments/style.py +117 -0
- data/vendor/pygments-main/pygments/styles/__init__.py +70 -0
- data/vendor/pygments-main/pygments/styles/autumn.py +65 -0
- data/vendor/pygments-main/pygments/styles/borland.py +51 -0
- data/vendor/pygments-main/pygments/styles/bw.py +49 -0
- data/vendor/pygments-main/pygments/styles/colorful.py +81 -0
- data/vendor/pygments-main/pygments/styles/default.py +73 -0
- data/vendor/pygments-main/pygments/styles/emacs.py +72 -0
- data/vendor/pygments-main/pygments/styles/friendly.py +72 -0
- data/vendor/pygments-main/pygments/styles/fruity.py +42 -0
- data/vendor/pygments-main/pygments/styles/manni.py +75 -0
- data/vendor/pygments-main/pygments/styles/monokai.py +106 -0
- data/vendor/pygments-main/pygments/styles/murphy.py +80 -0
- data/vendor/pygments-main/pygments/styles/native.py +65 -0
- data/vendor/pygments-main/pygments/styles/pastie.py +75 -0
- data/vendor/pygments-main/pygments/styles/perldoc.py +69 -0
- data/vendor/pygments-main/pygments/styles/rrt.py +33 -0
- data/vendor/pygments-main/pygments/styles/tango.py +141 -0
- data/vendor/pygments-main/pygments/styles/trac.py +63 -0
- data/vendor/pygments-main/pygments/styles/vim.py +63 -0
- data/vendor/pygments-main/pygments/styles/vs.py +38 -0
- data/vendor/pygments-main/pygments/token.py +195 -0
- data/vendor/pygments-main/pygments/unistring.py +130 -0
- data/vendor/pygments-main/pygments/util.py +232 -0
- data/vendor/pygments-main/scripts/check_sources.py +242 -0
- data/vendor/pygments-main/scripts/detect_missing_analyse_text.py +30 -0
- data/vendor/pygments-main/scripts/epydoc.css +280 -0
- data/vendor/pygments-main/scripts/find_codetags.py +205 -0
- data/vendor/pygments-main/scripts/find_error.py +171 -0
- data/vendor/pygments-main/scripts/get_vimkw.py +43 -0
- data/vendor/pygments-main/scripts/pylintrc +301 -0
- data/vendor/pygments-main/scripts/reindent.py +291 -0
- data/vendor/pygments-main/scripts/vim2pygments.py +933 -0
- data/vendor/pygments-main/setup.cfg +6 -0
- data/vendor/pygments-main/setup.py +88 -0
- data/vendor/pygments-main/tests/dtds/HTML4-f.dtd +37 -0
- data/vendor/pygments-main/tests/dtds/HTML4-s.dtd +869 -0
- data/vendor/pygments-main/tests/dtds/HTML4.dcl +88 -0
- data/vendor/pygments-main/tests/dtds/HTML4.dtd +1092 -0
- data/vendor/pygments-main/tests/dtds/HTML4.soc +9 -0
- data/vendor/pygments-main/tests/dtds/HTMLlat1.ent +195 -0
- data/vendor/pygments-main/tests/dtds/HTMLspec.ent +77 -0
- data/vendor/pygments-main/tests/dtds/HTMLsym.ent +241 -0
- data/vendor/pygments-main/tests/examplefiles/ANTLRv3.g +608 -0
- data/vendor/pygments-main/tests/examplefiles/AcidStateAdvanced.hs +209 -0
- data/vendor/pygments-main/tests/examplefiles/AlternatingGroup.mu +102 -0
- data/vendor/pygments-main/tests/examplefiles/CPDictionary.j +611 -0
- data/vendor/pygments-main/tests/examplefiles/Constants.mo +158 -0
- data/vendor/pygments-main/tests/examplefiles/DancingSudoku.lhs +411 -0
- data/vendor/pygments-main/tests/examplefiles/Errors.scala +18 -0
- data/vendor/pygments-main/tests/examplefiles/File.hy +174 -0
- data/vendor/pygments-main/tests/examplefiles/Intro.java +1660 -0
- data/vendor/pygments-main/tests/examplefiles/Makefile +1131 -0
- data/vendor/pygments-main/tests/examplefiles/Object.st +4394 -0
- data/vendor/pygments-main/tests/examplefiles/OrderedMap.hx +584 -0
- data/vendor/pygments-main/tests/examplefiles/SmallCheck.hs +378 -0
- data/vendor/pygments-main/tests/examplefiles/Sorting.mod +470 -0
- data/vendor/pygments-main/tests/examplefiles/Sudoku.lhs +382 -0
- data/vendor/pygments-main/tests/examplefiles/addressbook.proto +30 -0
- data/vendor/pygments-main/tests/examplefiles/antlr_throws +1 -0
- data/vendor/pygments-main/tests/examplefiles/apache2.conf +393 -0
- data/vendor/pygments-main/tests/examplefiles/as3_test.as +143 -0
- data/vendor/pygments-main/tests/examplefiles/as3_test2.as +46 -0
- data/vendor/pygments-main/tests/examplefiles/as3_test3.as +3 -0
- data/vendor/pygments-main/tests/examplefiles/aspx-cs_example +27 -0
- data/vendor/pygments-main/tests/examplefiles/badcase.java +2 -0
- data/vendor/pygments-main/tests/examplefiles/batchfile.bat +49 -0
- data/vendor/pygments-main/tests/examplefiles/boot-9.scm +1557 -0
- data/vendor/pygments-main/tests/examplefiles/cells.ps +515 -0
- data/vendor/pygments-main/tests/examplefiles/ceval.c +2604 -0
- data/vendor/pygments-main/tests/examplefiles/cheetah_example.html +13 -0
- data/vendor/pygments-main/tests/examplefiles/classes.dylan +40 -0
- data/vendor/pygments-main/tests/examplefiles/condensed_ruby.rb +10 -0
- data/vendor/pygments-main/tests/examplefiles/coq_RelationClasses +447 -0
- data/vendor/pygments-main/tests/examplefiles/database.pytb +20 -0
- data/vendor/pygments-main/tests/examplefiles/de.MoinMoin.po +2461 -0
- data/vendor/pygments-main/tests/examplefiles/demo.ahk +181 -0
- data/vendor/pygments-main/tests/examplefiles/demo.cfm +38 -0
- data/vendor/pygments-main/tests/examplefiles/django_sample.html+django +68 -0
- data/vendor/pygments-main/tests/examplefiles/dwarf.cw +17 -0
- data/vendor/pygments-main/tests/examplefiles/erl_session +10 -0
- data/vendor/pygments-main/tests/examplefiles/escape_semicolon.clj +1 -0
- data/vendor/pygments-main/tests/examplefiles/evil_regex.js +48 -0
- data/vendor/pygments-main/tests/examplefiles/example.c +2080 -0
- data/vendor/pygments-main/tests/examplefiles/example.cls +15 -0
- data/vendor/pygments-main/tests/examplefiles/example.cpp +2363 -0
- data/vendor/pygments-main/tests/examplefiles/example.gs +106 -0
- data/vendor/pygments-main/tests/examplefiles/example.gst +7 -0
- data/vendor/pygments-main/tests/examplefiles/example.kt +47 -0
- data/vendor/pygments-main/tests/examplefiles/example.lua +250 -0
- data/vendor/pygments-main/tests/examplefiles/example.moo +26 -0
- data/vendor/pygments-main/tests/examplefiles/example.moon +629 -0
- data/vendor/pygments-main/tests/examplefiles/example.nim +1010 -0
- data/vendor/pygments-main/tests/examplefiles/example.ns2 +69 -0
- data/vendor/pygments-main/tests/examplefiles/example.p +34 -0
- data/vendor/pygments-main/tests/examplefiles/example.pas +2708 -0
- data/vendor/pygments-main/tests/examplefiles/example.rb +1852 -0
- data/vendor/pygments-main/tests/examplefiles/example.rhtml +561 -0
- data/vendor/pygments-main/tests/examplefiles/example.sh-session +19 -0
- data/vendor/pygments-main/tests/examplefiles/example.sml +156 -0
- data/vendor/pygments-main/tests/examplefiles/example.snobol +15 -0
- data/vendor/pygments-main/tests/examplefiles/example.tea +34 -0
- data/vendor/pygments-main/tests/examplefiles/example.u +548 -0
- data/vendor/pygments-main/tests/examplefiles/example.weechatlog +9 -0
- data/vendor/pygments-main/tests/examplefiles/example.xhtml +376 -0
- data/vendor/pygments-main/tests/examplefiles/example.yaml +302 -0
- data/vendor/pygments-main/tests/examplefiles/example2.aspx +29 -0
- data/vendor/pygments-main/tests/examplefiles/example_elixir.ex +363 -0
- data/vendor/pygments-main/tests/examplefiles/example_file.fy +128 -0
- data/vendor/pygments-main/tests/examplefiles/firefox.mak +586 -0
- data/vendor/pygments-main/tests/examplefiles/flipflop.sv +19 -0
- data/vendor/pygments-main/tests/examplefiles/foo.sce +6 -0
- data/vendor/pygments-main/tests/examplefiles/format.ml +1213 -0
- data/vendor/pygments-main/tests/examplefiles/fucked_up.rb +77 -0
- data/vendor/pygments-main/tests/examplefiles/function.mu +1 -0
- data/vendor/pygments-main/tests/examplefiles/functional.rst +1472 -0
- data/vendor/pygments-main/tests/examplefiles/genclass.clj +510 -0
- data/vendor/pygments-main/tests/examplefiles/genshi_example.xml+genshi +193 -0
- data/vendor/pygments-main/tests/examplefiles/genshitext_example.genshitext +33 -0
- data/vendor/pygments-main/tests/examplefiles/glsl.frag +7 -0
- data/vendor/pygments-main/tests/examplefiles/glsl.vert +13 -0
- data/vendor/pygments-main/tests/examplefiles/html+php_faulty.php +1 -0
- data/vendor/pygments-main/tests/examplefiles/http_request_example +14 -0
- data/vendor/pygments-main/tests/examplefiles/http_response_example +27 -0
- data/vendor/pygments-main/tests/examplefiles/import.hs +4 -0
- data/vendor/pygments-main/tests/examplefiles/intro.ik +24 -0
- data/vendor/pygments-main/tests/examplefiles/ints.php +10 -0
- data/vendor/pygments-main/tests/examplefiles/intsyn.fun +675 -0
- data/vendor/pygments-main/tests/examplefiles/intsyn.sig +286 -0
- data/vendor/pygments-main/tests/examplefiles/irb_heredoc +8 -0
- data/vendor/pygments-main/tests/examplefiles/irc.lsp +214 -0
- data/vendor/pygments-main/tests/examplefiles/java.properties +16 -0
- data/vendor/pygments-main/tests/examplefiles/jbst_example1.jbst +28 -0
- data/vendor/pygments-main/tests/examplefiles/jbst_example2.jbst +45 -0
- data/vendor/pygments-main/tests/examplefiles/jinjadesignerdoc.rst +713 -0
- data/vendor/pygments-main/tests/examplefiles/lighttpd_config.conf +13 -0
- data/vendor/pygments-main/tests/examplefiles/linecontinuation.py +47 -0
- data/vendor/pygments-main/tests/examplefiles/ltmain.sh +2849 -0
- data/vendor/pygments-main/tests/examplefiles/main.cmake +42 -0
- data/vendor/pygments-main/tests/examplefiles/markdown.lsp +679 -0
- data/vendor/pygments-main/tests/examplefiles/matlab_noreturn +3 -0
- data/vendor/pygments-main/tests/examplefiles/matlab_sample +27 -0
- data/vendor/pygments-main/tests/examplefiles/matlabsession_sample.txt +37 -0
- data/vendor/pygments-main/tests/examplefiles/minimal.ns2 +4 -0
- data/vendor/pygments-main/tests/examplefiles/moin_SyntaxReference.txt +340 -0
- data/vendor/pygments-main/tests/examplefiles/multiline_regexes.rb +38 -0
- data/vendor/pygments-main/tests/examplefiles/nasm_aoutso.asm +96 -0
- data/vendor/pygments-main/tests/examplefiles/nasm_objexe.asm +30 -0
- data/vendor/pygments-main/tests/examplefiles/nemerle_sample.n +87 -0
- data/vendor/pygments-main/tests/examplefiles/nginx_nginx.conf +118 -0
- data/vendor/pygments-main/tests/examplefiles/numbers.c +12 -0
- data/vendor/pygments-main/tests/examplefiles/objc_example.m +25 -0
- data/vendor/pygments-main/tests/examplefiles/objc_example2.m +24 -0
- data/vendor/pygments-main/tests/examplefiles/perl_misc +62 -0
- data/vendor/pygments-main/tests/examplefiles/perl_perl5db +998 -0
- data/vendor/pygments-main/tests/examplefiles/perl_regex-delims +120 -0
- data/vendor/pygments-main/tests/examplefiles/perlfunc.1 +856 -0
- data/vendor/pygments-main/tests/examplefiles/phpcomplete.vim +567 -0
- data/vendor/pygments-main/tests/examplefiles/pleac.in.rb +1223 -0
- data/vendor/pygments-main/tests/examplefiles/postgresql_test.txt +47 -0
- data/vendor/pygments-main/tests/examplefiles/pppoe.applescript +10 -0
- data/vendor/pygments-main/tests/examplefiles/psql_session.txt +122 -0
- data/vendor/pygments-main/tests/examplefiles/py3_test.txt +2 -0
- data/vendor/pygments-main/tests/examplefiles/pycon_test.pycon +14 -0
- data/vendor/pygments-main/tests/examplefiles/pytb_test2.pytb +2 -0
- data/vendor/pygments-main/tests/examplefiles/python25-bsd.mak +234 -0
- data/vendor/pygments-main/tests/examplefiles/qsort.prolog +13 -0
- data/vendor/pygments-main/tests/examplefiles/r-console-transcript.Rout +38 -0
- data/vendor/pygments-main/tests/examplefiles/ragel-cpp_rlscan +280 -0
- data/vendor/pygments-main/tests/examplefiles/ragel-cpp_snippet +2 -0
- data/vendor/pygments-main/tests/examplefiles/regex.js +22 -0
- data/vendor/pygments-main/tests/examplefiles/reversi.lsp +427 -0
- data/vendor/pygments-main/tests/examplefiles/ruby_func_def.rb +11 -0
- data/vendor/pygments-main/tests/examplefiles/scilab.sci +30 -0
- data/vendor/pygments-main/tests/examplefiles/sibling.prolog +19 -0
- data/vendor/pygments-main/tests/examplefiles/simple.md +747 -0
- data/vendor/pygments-main/tests/examplefiles/smarty_example.html +209 -0
- data/vendor/pygments-main/tests/examplefiles/source.lgt +343 -0
- data/vendor/pygments-main/tests/examplefiles/sources.list +62 -0
- data/vendor/pygments-main/tests/examplefiles/sphere.pov +18 -0
- data/vendor/pygments-main/tests/examplefiles/sqlite3.sqlite3-console +27 -0
- data/vendor/pygments-main/tests/examplefiles/squid.conf +30 -0
- data/vendor/pygments-main/tests/examplefiles/string.jl +1031 -0
- data/vendor/pygments-main/tests/examplefiles/string_delimiters.d +21 -0
- data/vendor/pygments-main/tests/examplefiles/stripheredoc.sh +3 -0
- data/vendor/pygments-main/tests/examplefiles/test.R +119 -0
- data/vendor/pygments-main/tests/examplefiles/test.adb +211 -0
- data/vendor/pygments-main/tests/examplefiles/test.asy +131 -0
- data/vendor/pygments-main/tests/examplefiles/test.awk +121 -0
- data/vendor/pygments-main/tests/examplefiles/test.bas +29 -0
- data/vendor/pygments-main/tests/examplefiles/test.bmx +145 -0
- data/vendor/pygments-main/tests/examplefiles/test.boo +39 -0
- data/vendor/pygments-main/tests/examplefiles/test.bro +250 -0
- data/vendor/pygments-main/tests/examplefiles/test.cs +374 -0
- data/vendor/pygments-main/tests/examplefiles/test.css +54 -0
- data/vendor/pygments-main/tests/examplefiles/test.d +135 -0
- data/vendor/pygments-main/tests/examplefiles/test.dart +23 -0
- data/vendor/pygments-main/tests/examplefiles/test.dtd +89 -0
- data/vendor/pygments-main/tests/examplefiles/test.ec +605 -0
- data/vendor/pygments-main/tests/examplefiles/test.ecl +58 -0
- data/vendor/pygments-main/tests/examplefiles/test.eh +315 -0
- data/vendor/pygments-main/tests/examplefiles/test.erl +169 -0
- data/vendor/pygments-main/tests/examplefiles/test.evoque +33 -0
- data/vendor/pygments-main/tests/examplefiles/test.fan +818 -0
- data/vendor/pygments-main/tests/examplefiles/test.flx +57 -0
- data/vendor/pygments-main/tests/examplefiles/test.gdc +13 -0
- data/vendor/pygments-main/tests/examplefiles/test.groovy +97 -0
- data/vendor/pygments-main/tests/examplefiles/test.html +339 -0
- data/vendor/pygments-main/tests/examplefiles/test.ini +10 -0
- data/vendor/pygments-main/tests/examplefiles/test.java +653 -0
- data/vendor/pygments-main/tests/examplefiles/test.jsp +24 -0
- data/vendor/pygments-main/tests/examplefiles/test.maql +45 -0
- data/vendor/pygments-main/tests/examplefiles/test.mod +374 -0
- data/vendor/pygments-main/tests/examplefiles/test.moo +51 -0
- data/vendor/pygments-main/tests/examplefiles/test.myt +166 -0
- data/vendor/pygments-main/tests/examplefiles/test.nim +93 -0
- data/vendor/pygments-main/tests/examplefiles/test.pas +743 -0
- data/vendor/pygments-main/tests/examplefiles/test.php +505 -0
- data/vendor/pygments-main/tests/examplefiles/test.plot +333 -0
- data/vendor/pygments-main/tests/examplefiles/test.ps1 +108 -0
- data/vendor/pygments-main/tests/examplefiles/test.pypylog +1839 -0
- data/vendor/pygments-main/tests/examplefiles/test.r3 +94 -0
- data/vendor/pygments-main/tests/examplefiles/test.rb +177 -0
- data/vendor/pygments-main/tests/examplefiles/test.rhtml +43 -0
- data/vendor/pygments-main/tests/examplefiles/test.scaml +8 -0
- data/vendor/pygments-main/tests/examplefiles/test.ssp +12 -0
- data/vendor/pygments-main/tests/examplefiles/test.tcsh +830 -0
- data/vendor/pygments-main/tests/examplefiles/test.vb +407 -0
- data/vendor/pygments-main/tests/examplefiles/test.vhdl +161 -0
- data/vendor/pygments-main/tests/examplefiles/test.xqy +138 -0
- data/vendor/pygments-main/tests/examplefiles/test.xsl +23 -0
- data/vendor/pygments-main/tests/examplefiles/truncated.pytb +15 -0
- data/vendor/pygments-main/tests/examplefiles/type.lisp +1202 -0
- data/vendor/pygments-main/tests/examplefiles/underscore.coffee +603 -0
- data/vendor/pygments-main/tests/examplefiles/unicode.applescript +5 -0
- data/vendor/pygments-main/tests/examplefiles/unicodedoc.py +11 -0
- data/vendor/pygments-main/tests/examplefiles/webkit-transition.css +3 -0
- data/vendor/pygments-main/tests/examplefiles/while.pov +13 -0
- data/vendor/pygments-main/tests/examplefiles/wiki.factor +384 -0
- data/vendor/pygments-main/tests/examplefiles/xml_example +1897 -0
- data/vendor/pygments-main/tests/examplefiles/zmlrpc.f90 +798 -0
- data/vendor/pygments-main/tests/old_run.py +138 -0
- data/vendor/pygments-main/tests/run.py +48 -0
- data/vendor/pygments-main/tests/support.py +15 -0
- data/vendor/pygments-main/tests/test_basic_api.py +294 -0
- data/vendor/pygments-main/tests/test_clexer.py +31 -0
- data/vendor/pygments-main/tests/test_cmdline.py +105 -0
- data/vendor/pygments-main/tests/test_examplefiles.py +97 -0
- data/vendor/pygments-main/tests/test_html_formatter.py +162 -0
- data/vendor/pygments-main/tests/test_latex_formatter.py +55 -0
- data/vendor/pygments-main/tests/test_perllexer.py +137 -0
- data/vendor/pygments-main/tests/test_regexlexer.py +47 -0
- data/vendor/pygments-main/tests/test_token.py +46 -0
- data/vendor/pygments-main/tests/test_using_api.py +40 -0
- data/vendor/pygments-main/tests/test_util.py +116 -0
- data/vendor/simplejson/.gitignore +10 -0
- data/vendor/simplejson/.travis.yml +5 -0
- data/vendor/simplejson/CHANGES.txt +291 -0
- data/vendor/simplejson/LICENSE.txt +19 -0
- data/vendor/simplejson/MANIFEST.in +5 -0
- data/vendor/simplejson/README.rst +19 -0
- data/vendor/simplejson/conf.py +179 -0
- data/vendor/simplejson/index.rst +628 -0
- data/vendor/simplejson/scripts/make_docs.py +18 -0
- data/vendor/simplejson/setup.py +104 -0
- data/vendor/simplejson/simplejson/__init__.py +510 -0
- data/vendor/simplejson/simplejson/_speedups.c +2745 -0
- data/vendor/simplejson/simplejson/decoder.py +425 -0
- data/vendor/simplejson/simplejson/encoder.py +567 -0
- data/vendor/simplejson/simplejson/ordered_dict.py +119 -0
- data/vendor/simplejson/simplejson/scanner.py +77 -0
- data/vendor/simplejson/simplejson/tests/__init__.py +67 -0
- data/vendor/simplejson/simplejson/tests/test_bigint_as_string.py +55 -0
- data/vendor/simplejson/simplejson/tests/test_check_circular.py +30 -0
- data/vendor/simplejson/simplejson/tests/test_decimal.py +66 -0
- data/vendor/simplejson/simplejson/tests/test_decode.py +83 -0
- data/vendor/simplejson/simplejson/tests/test_default.py +9 -0
- data/vendor/simplejson/simplejson/tests/test_dump.py +67 -0
- data/vendor/simplejson/simplejson/tests/test_encode_basestring_ascii.py +46 -0
- data/vendor/simplejson/simplejson/tests/test_encode_for_html.py +32 -0
- data/vendor/simplejson/simplejson/tests/test_errors.py +34 -0
- data/vendor/simplejson/simplejson/tests/test_fail.py +91 -0
- data/vendor/simplejson/simplejson/tests/test_float.py +19 -0
- data/vendor/simplejson/simplejson/tests/test_indent.py +86 -0
- data/vendor/simplejson/simplejson/tests/test_item_sort_key.py +20 -0
- data/vendor/simplejson/simplejson/tests/test_namedtuple.py +121 -0
- data/vendor/simplejson/simplejson/tests/test_pass1.py +76 -0
- data/vendor/simplejson/simplejson/tests/test_pass2.py +14 -0
- data/vendor/simplejson/simplejson/tests/test_pass3.py +20 -0
- data/vendor/simplejson/simplejson/tests/test_recursion.py +67 -0
- data/vendor/simplejson/simplejson/tests/test_scanstring.py +117 -0
- data/vendor/simplejson/simplejson/tests/test_separators.py +42 -0
- data/vendor/simplejson/simplejson/tests/test_speedups.py +20 -0
- data/vendor/simplejson/simplejson/tests/test_tuple.py +49 -0
- data/vendor/simplejson/simplejson/tests/test_unicode.py +109 -0
- data/vendor/simplejson/simplejson/tool.py +39 -0
- metadata +492 -0
@@ -0,0 +1,384 @@
|
|
1
|
+
! Copyright (C) 2008 Slava Pestov
|
2
|
+
! See http://factorcode.org/license.txt for BSD license.
|
3
|
+
USING: accessors kernel hashtables calendar random assocs
|
4
|
+
namespaces make splitting sequences sorting math.order present
|
5
|
+
io.files io.directories io.encodings.ascii
|
6
|
+
syndication farkup
|
7
|
+
html.components html.forms
|
8
|
+
http.server
|
9
|
+
http.server.dispatchers
|
10
|
+
furnace.actions
|
11
|
+
furnace.utilities
|
12
|
+
furnace.redirection
|
13
|
+
furnace.auth
|
14
|
+
furnace.auth.login
|
15
|
+
furnace.boilerplate
|
16
|
+
furnace.syndication
|
17
|
+
validators
|
18
|
+
db.types db.tuples lcs urls ;
|
19
|
+
IN: webapps.wiki
|
20
|
+
|
21
|
+
: wiki-url ( rest path -- url )
|
22
|
+
[ "$wiki/" % % "/" % present % ] "" make
|
23
|
+
<url> swap >>path ;
|
24
|
+
|
25
|
+
: view-url ( title -- url ) "view" wiki-url ;
|
26
|
+
|
27
|
+
: edit-url ( title -- url ) "edit" wiki-url ;
|
28
|
+
|
29
|
+
: revisions-url ( title -- url ) "revisions" wiki-url ;
|
30
|
+
|
31
|
+
: revision-url ( id -- url ) "revision" wiki-url ;
|
32
|
+
|
33
|
+
: user-edits-url ( author -- url ) "user-edits" wiki-url ;
|
34
|
+
|
35
|
+
TUPLE: wiki < dispatcher ;
|
36
|
+
|
37
|
+
SYMBOL: can-delete-wiki-articles?
|
38
|
+
|
39
|
+
can-delete-wiki-articles? define-capability
|
40
|
+
|
41
|
+
TUPLE: article title revision ;
|
42
|
+
|
43
|
+
article "ARTICLES" {
|
44
|
+
{ "title" "TITLE" { VARCHAR 256 } +not-null+ +user-assigned-id+ }
|
45
|
+
{ "revision" "REVISION" INTEGER +not-null+ } ! revision id
|
46
|
+
} define-persistent
|
47
|
+
|
48
|
+
: <article> ( title -- article ) article new swap >>title ;
|
49
|
+
|
50
|
+
TUPLE: revision id title author date content description ;
|
51
|
+
|
52
|
+
revision "REVISIONS" {
|
53
|
+
{ "id" "ID" INTEGER +db-assigned-id+ }
|
54
|
+
{ "title" "TITLE" { VARCHAR 256 } +not-null+ } ! article id
|
55
|
+
{ "author" "AUTHOR" { VARCHAR 256 } +not-null+ } ! uid
|
56
|
+
{ "date" "DATE" TIMESTAMP +not-null+ }
|
57
|
+
{ "content" "CONTENT" TEXT +not-null+ }
|
58
|
+
{ "description" "DESCRIPTION" TEXT }
|
59
|
+
} define-persistent
|
60
|
+
|
61
|
+
M: revision feed-entry-title
|
62
|
+
[ title>> ] [ drop " by " ] [ author>> ] tri 3append ;
|
63
|
+
|
64
|
+
M: revision feed-entry-date date>> ;
|
65
|
+
|
66
|
+
M: revision feed-entry-url id>> revision-url ;
|
67
|
+
|
68
|
+
: reverse-chronological-order ( seq -- sorted )
|
69
|
+
[ date>> ] inv-sort-with ;
|
70
|
+
|
71
|
+
: <revision> ( id -- revision )
|
72
|
+
revision new swap >>id ;
|
73
|
+
|
74
|
+
: validate-title ( -- )
|
75
|
+
{ { "title" [ v-one-line ] } } validate-params ;
|
76
|
+
|
77
|
+
: validate-author ( -- )
|
78
|
+
{ { "author" [ v-username ] } } validate-params ;
|
79
|
+
|
80
|
+
: <article-boilerplate> ( responder -- responder' )
|
81
|
+
<boilerplate>
|
82
|
+
{ wiki "page-common" } >>template ;
|
83
|
+
|
84
|
+
: <main-article-action> ( -- action )
|
85
|
+
<action>
|
86
|
+
[ "Front Page" view-url <redirect> ] >>display ;
|
87
|
+
|
88
|
+
: latest-revision ( title -- revision/f )
|
89
|
+
<article> select-tuple
|
90
|
+
dup [ revision>> <revision> select-tuple ] when ;
|
91
|
+
|
92
|
+
: <view-article-action> ( -- action )
|
93
|
+
<action>
|
94
|
+
|
95
|
+
"title" >>rest
|
96
|
+
|
97
|
+
[ validate-title ] >>init
|
98
|
+
|
99
|
+
[
|
100
|
+
"title" value dup latest-revision [
|
101
|
+
from-object
|
102
|
+
{ wiki "view" } <chloe-content>
|
103
|
+
] [
|
104
|
+
edit-url <redirect>
|
105
|
+
] ?if
|
106
|
+
] >>display
|
107
|
+
|
108
|
+
<article-boilerplate> ;
|
109
|
+
|
110
|
+
: <view-revision-action> ( -- action )
|
111
|
+
<page-action>
|
112
|
+
|
113
|
+
"id" >>rest
|
114
|
+
|
115
|
+
[
|
116
|
+
validate-integer-id
|
117
|
+
"id" value <revision>
|
118
|
+
select-tuple from-object
|
119
|
+
] >>init
|
120
|
+
|
121
|
+
{ wiki "view" } >>template
|
122
|
+
|
123
|
+
<article-boilerplate> ;
|
124
|
+
|
125
|
+
: <random-article-action> ( -- action )
|
126
|
+
<action>
|
127
|
+
[
|
128
|
+
article new select-tuples random
|
129
|
+
[ title>> ] [ "Front Page" ] if*
|
130
|
+
view-url <redirect>
|
131
|
+
] >>display ;
|
132
|
+
|
133
|
+
: amend-article ( revision article -- )
|
134
|
+
swap id>> >>revision update-tuple ;
|
135
|
+
|
136
|
+
: add-article ( revision -- )
|
137
|
+
[ title>> ] [ id>> ] bi article boa insert-tuple ;
|
138
|
+
|
139
|
+
: add-revision ( revision -- )
|
140
|
+
[ insert-tuple ]
|
141
|
+
[
|
142
|
+
dup title>> <article> select-tuple
|
143
|
+
[ amend-article ] [ add-article ] if*
|
144
|
+
]
|
145
|
+
bi ;
|
146
|
+
|
147
|
+
: <edit-article-action> ( -- action )
|
148
|
+
<page-action>
|
149
|
+
|
150
|
+
"title" >>rest
|
151
|
+
|
152
|
+
[
|
153
|
+
validate-title
|
154
|
+
|
155
|
+
"title" value <article> select-tuple
|
156
|
+
[ revision>> <revision> select-tuple ]
|
157
|
+
[ f <revision> "title" value >>title ]
|
158
|
+
if*
|
159
|
+
|
160
|
+
[ title>> "title" set-value ]
|
161
|
+
[ content>> "content" set-value ]
|
162
|
+
bi
|
163
|
+
] >>init
|
164
|
+
|
165
|
+
{ wiki "edit" } >>template
|
166
|
+
|
167
|
+
<article-boilerplate> ;
|
168
|
+
|
169
|
+
: <submit-article-action> ( -- action )
|
170
|
+
<action>
|
171
|
+
[
|
172
|
+
validate-title
|
173
|
+
|
174
|
+
{
|
175
|
+
{ "content" [ v-required ] }
|
176
|
+
{ "description" [ [ v-one-line ] v-optional ] }
|
177
|
+
} validate-params
|
178
|
+
|
179
|
+
f <revision>
|
180
|
+
"title" value >>title
|
181
|
+
now >>date
|
182
|
+
username >>author
|
183
|
+
"content" value >>content
|
184
|
+
"description" value >>description
|
185
|
+
[ add-revision ] [ title>> view-url <redirect> ] bi
|
186
|
+
] >>submit
|
187
|
+
|
188
|
+
<protected>
|
189
|
+
"edit wiki articles" >>description ;
|
190
|
+
|
191
|
+
: <revisions-boilerplate> ( responder -- responder )
|
192
|
+
<boilerplate>
|
193
|
+
{ wiki "revisions-common" } >>template ;
|
194
|
+
|
195
|
+
: list-revisions ( -- seq )
|
196
|
+
f <revision> "title" value >>title select-tuples
|
197
|
+
reverse-chronological-order ;
|
198
|
+
|
199
|
+
: <list-revisions-action> ( -- action )
|
200
|
+
<page-action>
|
201
|
+
|
202
|
+
"title" >>rest
|
203
|
+
|
204
|
+
[
|
205
|
+
validate-title
|
206
|
+
list-revisions "revisions" set-value
|
207
|
+
] >>init
|
208
|
+
|
209
|
+
{ wiki "revisions" } >>template
|
210
|
+
|
211
|
+
<revisions-boilerplate>
|
212
|
+
<article-boilerplate> ;
|
213
|
+
|
214
|
+
: <list-revisions-feed-action> ( -- action )
|
215
|
+
<feed-action>
|
216
|
+
|
217
|
+
"title" >>rest
|
218
|
+
|
219
|
+
[ validate-title ] >>init
|
220
|
+
|
221
|
+
[ "Revisions of " "title" value append ] >>title
|
222
|
+
|
223
|
+
[ "title" value revisions-url ] >>url
|
224
|
+
|
225
|
+
[ list-revisions ] >>entries ;
|
226
|
+
|
227
|
+
: rollback-description ( description -- description' )
|
228
|
+
[ "Rollback of '" "'" surround ] [ "Rollback" ] if* ;
|
229
|
+
|
230
|
+
: <rollback-action> ( -- action )
|
231
|
+
<action>
|
232
|
+
|
233
|
+
[ validate-integer-id ] >>validate
|
234
|
+
|
235
|
+
[
|
236
|
+
"id" value <revision> select-tuple
|
237
|
+
f >>id
|
238
|
+
now >>date
|
239
|
+
username >>author
|
240
|
+
[ rollback-description ] change-description
|
241
|
+
[ add-revision ]
|
242
|
+
[ title>> revisions-url <redirect> ] bi
|
243
|
+
] >>submit
|
244
|
+
|
245
|
+
<protected>
|
246
|
+
"rollback wiki articles" >>description ;
|
247
|
+
|
248
|
+
: list-changes ( -- seq )
|
249
|
+
f <revision> select-tuples
|
250
|
+
reverse-chronological-order ;
|
251
|
+
|
252
|
+
: <list-changes-action> ( -- action )
|
253
|
+
<page-action>
|
254
|
+
[ list-changes "revisions" set-value ] >>init
|
255
|
+
{ wiki "changes" } >>template
|
256
|
+
|
257
|
+
<revisions-boilerplate> ;
|
258
|
+
|
259
|
+
: <list-changes-feed-action> ( -- action )
|
260
|
+
<feed-action>
|
261
|
+
[ URL" $wiki/changes" ] >>url
|
262
|
+
[ "All changes" ] >>title
|
263
|
+
[ list-changes ] >>entries ;
|
264
|
+
|
265
|
+
: <delete-action> ( -- action )
|
266
|
+
<action>
|
267
|
+
|
268
|
+
[ validate-title ] >>validate
|
269
|
+
|
270
|
+
[
|
271
|
+
"title" value <article> delete-tuples
|
272
|
+
f <revision> "title" value >>title delete-tuples
|
273
|
+
URL" $wiki" <redirect>
|
274
|
+
] >>submit
|
275
|
+
|
276
|
+
<protected>
|
277
|
+
"delete wiki articles" >>description
|
278
|
+
{ can-delete-wiki-articles? } >>capabilities ;
|
279
|
+
|
280
|
+
: <diff-action> ( -- action )
|
281
|
+
<page-action>
|
282
|
+
|
283
|
+
[
|
284
|
+
{
|
285
|
+
{ "old-id" [ v-integer ] }
|
286
|
+
{ "new-id" [ v-integer ] }
|
287
|
+
} validate-params
|
288
|
+
|
289
|
+
"old-id" "new-id"
|
290
|
+
[ value <revision> select-tuple ] bi@
|
291
|
+
[
|
292
|
+
over title>> "title" set-value
|
293
|
+
[ "old" [ from-object ] nest-form ]
|
294
|
+
[ "new" [ from-object ] nest-form ]
|
295
|
+
bi*
|
296
|
+
]
|
297
|
+
[ [ content>> string-lines ] bi@ diff "diff" set-value ]
|
298
|
+
2bi
|
299
|
+
] >>init
|
300
|
+
|
301
|
+
{ wiki "diff" } >>template
|
302
|
+
|
303
|
+
<article-boilerplate> ;
|
304
|
+
|
305
|
+
: <list-articles-action> ( -- action )
|
306
|
+
<page-action>
|
307
|
+
|
308
|
+
[
|
309
|
+
f <article> select-tuples
|
310
|
+
[ title>> ] sort-with
|
311
|
+
"articles" set-value
|
312
|
+
] >>init
|
313
|
+
|
314
|
+
{ wiki "articles" } >>template ;
|
315
|
+
|
316
|
+
: list-user-edits ( -- seq )
|
317
|
+
f <revision> "author" value >>author select-tuples
|
318
|
+
reverse-chronological-order ;
|
319
|
+
|
320
|
+
: <user-edits-action> ( -- action )
|
321
|
+
<page-action>
|
322
|
+
|
323
|
+
"author" >>rest
|
324
|
+
|
325
|
+
[
|
326
|
+
validate-author
|
327
|
+
list-user-edits "revisions" set-value
|
328
|
+
] >>init
|
329
|
+
|
330
|
+
{ wiki "user-edits" } >>template
|
331
|
+
|
332
|
+
<revisions-boilerplate> ;
|
333
|
+
|
334
|
+
: <user-edits-feed-action> ( -- action )
|
335
|
+
<feed-action>
|
336
|
+
"author" >>rest
|
337
|
+
[ validate-author ] >>init
|
338
|
+
[ "Edits by " "author" value append ] >>title
|
339
|
+
[ "author" value user-edits-url ] >>url
|
340
|
+
[ list-user-edits ] >>entries ;
|
341
|
+
|
342
|
+
: init-sidebars ( -- )
|
343
|
+
"Contents" latest-revision [ "contents" [ from-object ] nest-form ] when*
|
344
|
+
"Footer" latest-revision [ "footer" [ from-object ] nest-form ] when* ;
|
345
|
+
|
346
|
+
: init-relative-link-prefix ( -- )
|
347
|
+
URL" $wiki/view/" adjust-url present relative-link-prefix set ;
|
348
|
+
|
349
|
+
: <wiki> ( -- dispatcher )
|
350
|
+
wiki new-dispatcher
|
351
|
+
<main-article-action> "" add-responder
|
352
|
+
<view-article-action> "view" add-responder
|
353
|
+
<view-revision-action> "revision" add-responder
|
354
|
+
<random-article-action> "random" add-responder
|
355
|
+
<list-revisions-action> "revisions" add-responder
|
356
|
+
<list-revisions-feed-action> "revisions.atom" add-responder
|
357
|
+
<diff-action> "diff" add-responder
|
358
|
+
<edit-article-action> "edit" add-responder
|
359
|
+
<submit-article-action> "submit" add-responder
|
360
|
+
<rollback-action> "rollback" add-responder
|
361
|
+
<user-edits-action> "user-edits" add-responder
|
362
|
+
<list-articles-action> "articles" add-responder
|
363
|
+
<list-changes-action> "changes" add-responder
|
364
|
+
<user-edits-feed-action> "user-edits.atom" add-responder
|
365
|
+
<list-changes-feed-action> "changes.atom" add-responder
|
366
|
+
<delete-action> "delete" add-responder
|
367
|
+
<boilerplate>
|
368
|
+
[ init-sidebars init-relative-link-prefix ] >>init
|
369
|
+
{ wiki "wiki-common" } >>template ;
|
370
|
+
|
371
|
+
: init-wiki ( -- )
|
372
|
+
"resource:extra/webapps/wiki/initial-content" [
|
373
|
+
[
|
374
|
+
dup ".txt" ?tail [
|
375
|
+
swap ascii file-contents
|
376
|
+
f <revision>
|
377
|
+
swap >>content
|
378
|
+
swap >>title
|
379
|
+
"slava" >>author
|
380
|
+
now >>date
|
381
|
+
add-revision
|
382
|
+
] [ 2drop ] if
|
383
|
+
] each
|
384
|
+
] with-directory-files ;
|
@@ -0,0 +1,1897 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!DOCTYPE language SYSTEM "language.dtd">
|
3
|
+
<language name="Ada" version="1.04" kateversion="2.1" section="Sources" extensions="*.adb;*.ads;*.ada;*.a" mimetype="text/x-adasrc">
|
4
|
+
<highlighting>
|
5
|
+
<list name="keywords">
|
6
|
+
<item> abort </item>
|
7
|
+
<item> abs </item>
|
8
|
+
<item> abstract </item>
|
9
|
+
<item> accept </item>
|
10
|
+
<item> access </item>
|
11
|
+
<item> aliased </item>
|
12
|
+
<item> all </item>
|
13
|
+
<item> and </item>
|
14
|
+
<item> array </item>
|
15
|
+
<item> at </item>
|
16
|
+
<item> begin </item>
|
17
|
+
<item> body </item>
|
18
|
+
<item> constant </item>
|
19
|
+
<item> declare </item>
|
20
|
+
<item> delay </item>
|
21
|
+
<item> delta </item>
|
22
|
+
<item> digits </item>
|
23
|
+
<item> do </item>
|
24
|
+
<item> else </item>
|
25
|
+
<item> elsif </item>
|
26
|
+
<item> end </item>
|
27
|
+
<item> entry </item>
|
28
|
+
<item> exception </item>
|
29
|
+
<item> exit </item>
|
30
|
+
<item> for </item>
|
31
|
+
<item> function </item>
|
32
|
+
<item> generic </item>
|
33
|
+
<item> goto </item>
|
34
|
+
<item> in </item>
|
35
|
+
<item> is </item>
|
36
|
+
<item> limited </item>
|
37
|
+
<item> mod </item>
|
38
|
+
<item> new </item>
|
39
|
+
<item> not </item>
|
40
|
+
<item> null </item>
|
41
|
+
<item> of </item>
|
42
|
+
<item> or </item>
|
43
|
+
<item> others </item>
|
44
|
+
<item> out </item>
|
45
|
+
<item> package </item>
|
46
|
+
<item> pragma </item>
|
47
|
+
<item> private </item>
|
48
|
+
<item> procedure </item>
|
49
|
+
<item> protected </item>
|
50
|
+
<item> raise </item>
|
51
|
+
<item> range </item>
|
52
|
+
<item> rem </item>
|
53
|
+
<item> record </item>
|
54
|
+
<item> renames </item>
|
55
|
+
<item> requeue </item>
|
56
|
+
<item> return </item>
|
57
|
+
<item> reverse </item>
|
58
|
+
<item> separate </item>
|
59
|
+
<item> subtype </item>
|
60
|
+
<item> tagged </item>
|
61
|
+
<item> task </item>
|
62
|
+
<item> terminate </item>
|
63
|
+
<item> then </item>
|
64
|
+
<item> type </item>
|
65
|
+
<item> until </item>
|
66
|
+
<item> use </item>
|
67
|
+
<item> when </item>
|
68
|
+
<item> while </item>
|
69
|
+
<item> with </item>
|
70
|
+
<item> xor </item>
|
71
|
+
</list>
|
72
|
+
<contexts>
|
73
|
+
<context attribute="Normal Text" lineEndContext="#stay" name="Default">
|
74
|
+
<RegExpr attribute="Keyword" context="#stay" String="^\s*if " insensitive="TRUE" beginRegion="Region1"/>
|
75
|
+
<StringDetect attribute="Keyword" context="#stay" String="end if" insensitive="TRUE" endRegion="Region1"/>
|
76
|
+
<RegExpr attribute="Keyword" context="#stay" String="^\s*case " insensitive="TRUE" beginRegion="Region2"/>
|
77
|
+
<StringDetect attribute="Keyword" context="#stay" String="end case" insensitive="TRUE" endRegion="Region2"/>
|
78
|
+
<RegExpr attribute="Keyword" context="#stay" String="\sloop\s+" insensitive="TRUE" beginRegion="Region3"/>
|
79
|
+
<RegExpr attribute="Keyword" context="#stay" String="\sloop$" insensitive="TRUE" beginRegion="Region3"/>
|
80
|
+
<StringDetect attribute="Keyword" context="#stay" String="end loop;" insensitive="TRUE" endRegion="Region3"/>
|
81
|
+
<RegExpr attribute="Keyword" context="#stay" String="\sselect\s+" insensitive="TRUE" beginRegion="Region4"/>
|
82
|
+
<RegExpr attribute="Keyword" context="#stay" String="\sselect$" insensitive="TRUE" beginRegion="Region4"/>
|
83
|
+
<StringDetect attribute="Keyword" context="#stay" String="end select;" insensitive="TRUE" endRegion="Region4"/>
|
84
|
+
<keyword attribute="Keyword" context="#stay" String="keywords"/>
|
85
|
+
<Float attribute="Float" context="#stay"/>
|
86
|
+
<Int attribute="Decimal" context="#stay"/>
|
87
|
+
<RegExpr attribute="Char" context="#stay" String="'.'"/>
|
88
|
+
<DetectChar attribute="String" context="String" char="""/>
|
89
|
+
<Detect2Chars attribute="Comment" context="Comment" char="-" char1="-"/>
|
90
|
+
</context>
|
91
|
+
<context attribute="String" lineEndContext="#pop" name="String">
|
92
|
+
<DetectChar attribute="String" context="#pop" char="""/>
|
93
|
+
</context>
|
94
|
+
<context attribute="Comment" lineEndContext="#pop" name="Comment"/>
|
95
|
+
</contexts>
|
96
|
+
<itemDatas>
|
97
|
+
<itemData name="Normal Text" defStyleNum="dsNormal" />
|
98
|
+
<itemData name="Keyword" defStyleNum="dsKeyword" />
|
99
|
+
<itemData name="Decimal" defStyleNum="dsDecVal" />
|
100
|
+
<itemData name="Base-N" defStyleNum="dsBaseN" />
|
101
|
+
<itemData name="Float" defStyleNum="dsFloat" />
|
102
|
+
<itemData name="Char" defStyleNum="dsChar" />
|
103
|
+
<itemData name="String" defStyleNum="dsString" />
|
104
|
+
<itemData name="Comment" defStyleNum="dsComment" />
|
105
|
+
</itemDatas>
|
106
|
+
</highlighting>
|
107
|
+
<general>
|
108
|
+
<comments>
|
109
|
+
<comment name="singleLine" start="--" />
|
110
|
+
</comments>
|
111
|
+
<keywords casesensitive="0" />
|
112
|
+
</general>
|
113
|
+
</language>
|
114
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
115
|
+
<!DOCTYPE language SYSTEM "language.dtd">
|
116
|
+
<language name="Asm6502" version="1.03" kateversion="2.1" section="Sources" extensions="*.asm" mimetype="text/x-asm6502">
|
117
|
+
<highlighting>
|
118
|
+
<list name = "opcodes6502">
|
119
|
+
|
120
|
+
|
121
|
+
</list>
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
<contexts>
|
128
|
+
<context name = "Base" attribute = "Normal Text" lineEndContext = "#stay">
|
129
|
+
|
130
|
+
|
131
|
+
<RegExpr String= "#define.*$" attribute = "Preprocessor" context="#stay"/>
|
132
|
+
<RegExpr String= "#include .*$" attribute = "Preprocessor" context="#stay"/>
|
133
|
+
<RegExpr String= ";.*$" attribute = "Comment" context="#stay"/>
|
134
|
+
<RegExpr String= "\.byte" attribute = "Data Type" context="#stay"/>
|
135
|
+
<RegExpr String= "\.byt" attribute = "Data Type" context="#stay"/>
|
136
|
+
<RegExpr String= "\.word" attribute = "Data Type" context="#stay"/>
|
137
|
+
<RegExpr String= "\.asc" attribute = "Data Type" context="#stay"/>
|
138
|
+
<RegExpr String= "\.dsb" attribute = "Data Type" context="#stay"/>
|
139
|
+
<RegExpr String= "\.fopt" attribute = "Data Type" context="#stay"/>
|
140
|
+
<RegExpr String= "\.text" attribute = "Data Type" context="#stay"/>
|
141
|
+
<RegExpr String= "\.data" attribute = "Data Type" context="#stay"/>
|
142
|
+
<RegExpr String= "\.bss" attribute = "Data Type" context="#stay"/>
|
143
|
+
<RegExpr String= "\.zero" attribute = "Data Type" context="#stay"/>
|
144
|
+
<RegExpr String= "\.align" attribute = "Data Type" context="#stay"/>
|
145
|
+
<RegExpr String= "\$[A-Za-z0-9]*" attribute = "Hex" context="#stay"/>
|
146
|
+
<RegExpr String= ",x$" attribute = "Keyword" context="#stay" insensitive="TRUE"/>
|
147
|
+
<RegExpr String= ",y$" attribute = "Keyword" context="#stay" insensitive="TRUE"/>
|
148
|
+
<RegExpr String= "#" attribute = "Keyword" context="#stay" insensitive="TRUE"/>
|
149
|
+
<StringDetect attribute="Keyword" context="#stay" String="TAX" insensitive="TRUE"/>
|
150
|
+
<StringDetect attribute="Keyword" context="#stay" String="ADC" insensitive="TRUE"/>
|
151
|
+
<StringDetect attribute="Keyword" context="#stay" String="AND" insensitive="TRUE"/>
|
152
|
+
<StringDetect attribute="Keyword" context="#stay" String="ASL" insensitive="TRUE"/>
|
153
|
+
<StringDetect attribute="Keyword" context="#stay" String="BCC" insensitive="TRUE"/>
|
154
|
+
<StringDetect attribute="Keyword" context="#stay" String="BCS" insensitive="TRUE"/>
|
155
|
+
<StringDetect attribute="Keyword" context="#stay" String="BEQ" insensitive="TRUE"/>
|
156
|
+
<StringDetect attribute="Keyword" context="#stay" String="BIT" insensitive="TRUE"/>
|
157
|
+
<StringDetect attribute="Keyword" context="#stay" String="BMI" insensitive="TRUE"/>
|
158
|
+
<StringDetect attribute="Keyword" context="#stay" String="BNE" insensitive="TRUE"/>
|
159
|
+
<StringDetect attribute="Keyword" context="#stay" String="BPL" insensitive="TRUE"/>
|
160
|
+
<StringDetect attribute="Keyword" context="#stay" String="BRK" insensitive="TRUE"/>
|
161
|
+
<StringDetect attribute="Keyword" context="#stay" String="BVC" insensitive="TRUE"/>
|
162
|
+
<StringDetect attribute="Keyword" context="#stay" String="BVS" insensitive="TRUE"/>
|
163
|
+
<StringDetect attribute="Keyword" context="#stay" String="CLC" insensitive="TRUE"/>
|
164
|
+
<StringDetect attribute="Keyword" context="#stay" String="CLD" insensitive="TRUE"/>
|
165
|
+
<StringDetect attribute="Keyword" context="#stay" String="CLI" insensitive="TRUE"/>
|
166
|
+
<StringDetect attribute="Keyword" context="#stay" String="CLV" insensitive="TRUE"/>
|
167
|
+
<StringDetect attribute="Keyword" context="#stay" String="CMP" insensitive="TRUE"/>
|
168
|
+
<StringDetect attribute="Keyword" context="#stay" String="CPX" insensitive="TRUE"/>
|
169
|
+
<StringDetect attribute="Keyword" context="#stay" String="CPY" insensitive="TRUE"/>
|
170
|
+
<StringDetect attribute="Keyword" context="#stay" String="DEC" insensitive="TRUE"/>
|
171
|
+
<StringDetect attribute="Keyword" context="#stay" String="DEX" insensitive="TRUE"/>
|
172
|
+
<StringDetect attribute="Keyword" context="#stay" String="DEY" insensitive="TRUE"/>
|
173
|
+
<StringDetect attribute="Keyword" context="#stay" String="EOR" insensitive="TRUE"/>
|
174
|
+
<StringDetect attribute="Keyword" context="#stay" String="INC" insensitive="TRUE"/>
|
175
|
+
<StringDetect attribute="Keyword" context="#stay" String="INX" insensitive="TRUE"/>
|
176
|
+
<StringDetect attribute="Keyword" context="#stay" String="INY" insensitive="TRUE"/>
|
177
|
+
<StringDetect attribute="Keyword" context="#stay" String="JMP" insensitive="TRUE"/>
|
178
|
+
<StringDetect attribute="Keyword" context="#stay" String="JSR" insensitive="TRUE"/>
|
179
|
+
<StringDetect attribute="Keyword" context="#stay" String="LDA" insensitive="TRUE"/>
|
180
|
+
<StringDetect attribute="Keyword" context="#stay" String="LDX" insensitive="TRUE"/>
|
181
|
+
<StringDetect attribute="Keyword" context="#stay" String="LDY" insensitive="TRUE"/>
|
182
|
+
<StringDetect attribute="Keyword" context="#stay" String="LSR" insensitive="TRUE"/>
|
183
|
+
<StringDetect attribute="Keyword" context="#stay" String="NOP" insensitive="TRUE"/>
|
184
|
+
<StringDetect attribute="Keyword" context="#stay" String="ORA" insensitive="TRUE"/>
|
185
|
+
<StringDetect attribute="Keyword" context="#stay" String="PHA" insensitive="TRUE"/>
|
186
|
+
<StringDetect attribute="Keyword" context="#stay" String="PHP" insensitive="TRUE"/>
|
187
|
+
<StringDetect attribute="Keyword" context="#stay" String="PLA" insensitive="TRUE"/>
|
188
|
+
<StringDetect attribute="Keyword" context="#stay" String="PLP" insensitive="TRUE"/>
|
189
|
+
<StringDetect attribute="Keyword" context="#stay" String="ROL" insensitive="TRUE"/>
|
190
|
+
<StringDetect attribute="Keyword" context="#stay" String="ROR" insensitive="TRUE"/>
|
191
|
+
<StringDetect attribute="Keyword" context="#stay" String="RTI" insensitive="TRUE"/>
|
192
|
+
<StringDetect attribute="Keyword" context="#stay" String="RTS" insensitive="TRUE"/>
|
193
|
+
<StringDetect attribute="Keyword" context="#stay" String="SBC" insensitive="TRUE"/>
|
194
|
+
<StringDetect attribute="Keyword" context="#stay" String="SEC" insensitive="TRUE"/>
|
195
|
+
<StringDetect attribute="Keyword" context="#stay" String="SED" insensitive="TRUE"/>
|
196
|
+
<StringDetect attribute="Keyword" context="#stay" String="SEI" insensitive="TRUE"/>
|
197
|
+
<StringDetect attribute="Keyword" context="#stay" String="STA" insensitive="TRUE"/>
|
198
|
+
<StringDetect attribute="Keyword" context="#stay" String="STX" insensitive="TRUE"/>
|
199
|
+
<StringDetect attribute="Keyword" context="#stay" String="STY" insensitive="TRUE"/>
|
200
|
+
<StringDetect attribute="Keyword" context="#stay" String="TAY" insensitive="TRUE"/>
|
201
|
+
<StringDetect attribute="Keyword" context="#stay" String="TSX" insensitive="TRUE"/>
|
202
|
+
<StringDetect attribute="Keyword" context="#stay" String="TXA" insensitive="TRUE"/>
|
203
|
+
<StringDetect attribute="Keyword" context="#stay" String="TXS" insensitive="TRUE"/>
|
204
|
+
<StringDetect attribute="Keyword" context="#stay" String="TYA" insensitive="TRUE"/>
|
205
|
+
|
206
|
+
<keyword String = "opcodes6502" attribute = "Keyword" context = "#stay" />
|
207
|
+
<RegExpr String= "\*=" attribute = "Decimal" context="#stay"/>
|
208
|
+
<RangeDetect char = """ char1 = """ attribute = "String" context = "#stay"/>
|
209
|
+
<AnyChar String = "-+<>=;" attribute = "Operator" context = "#stay"/>
|
210
|
+
<Detect2Chars attribute="Comment" context="Commentar 2" char="/" char1="*" beginRegion="Comment"/>
|
211
|
+
|
212
|
+
|
213
|
+
</context>
|
214
|
+
<context attribute="Comment" lineEndContext="#stay" name="Commentar 2">
|
215
|
+
<Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment"/>
|
216
|
+
</context>
|
217
|
+
</contexts>
|
218
|
+
|
219
|
+
<itemDatas>
|
220
|
+
<itemData name = "Normal Text" defStyleNum = "dsNormal"/>
|
221
|
+
<itemData name = "Keyword" defStyleNum = "dsKeyword"/>
|
222
|
+
<itemData name="Decimal" defStyleNum="dsDecVal"/>
|
223
|
+
<itemData name="Data Type" defStyleNum="dsDataType"/>
|
224
|
+
<itemData name="Hex" defStyleNum="dsBaseN"/>
|
225
|
+
<itemData name = "String" defStyleNum = "dsString"/>
|
226
|
+
<itemData name = "Comment" defStyleNum = "dsComment"/>
|
227
|
+
<itemData name = "Substitution" defStyleNum = "dsOthers"/>
|
228
|
+
<itemData name="Preprocessor" defStyleNum="dsOthers"/>
|
229
|
+
<itemData name = "Parameter" defStyleNum = "dsOthers"/>
|
230
|
+
<itemData name = "Operator" defStyleNum = "dsOthers"/>
|
231
|
+
<itemData name = "Command" defStyleNum = "dsNormal"/>
|
232
|
+
</itemDatas>
|
233
|
+
</highlighting>
|
234
|
+
<general>
|
235
|
+
<comments>
|
236
|
+
<comment name="singleLine" start=";"/>
|
237
|
+
<comment name="multiLine" start="/*" end="*/"/>
|
238
|
+
</comments>
|
239
|
+
<keywords casesensitive="1"/>
|
240
|
+
</general>
|
241
|
+
</language>
|
242
|
+
|
243
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
244
|
+
<!DOCTYPE language SYSTEM "language.dtd">
|
245
|
+
<language name="AWK" version="0.1" kateversion="2.1" section="Scripts" extensions="*.awk" mimetype="text/x-awk">
|
246
|
+
<highlighting>
|
247
|
+
<list name="keywords">
|
248
|
+
<item>BEGIN</item>
|
249
|
+
<item>END</item>
|
250
|
+
<item>if</item>
|
251
|
+
<item>else</item>
|
252
|
+
<item>while</item>
|
253
|
+
<item>do</item>
|
254
|
+
<item>for</item>
|
255
|
+
<item>in</item>
|
256
|
+
<item>continue</item>
|
257
|
+
<item>break</item>
|
258
|
+
<item>print</item>
|
259
|
+
<item>printf</item>
|
260
|
+
<item>getline</item>
|
261
|
+
<item>function</item>
|
262
|
+
<item>return</item>
|
263
|
+
<item>next</item>
|
264
|
+
<item>exit</item>
|
265
|
+
</list>
|
266
|
+
<list name="builtins">
|
267
|
+
<item>ARGC</item>
|
268
|
+
<item>ARGV</item>
|
269
|
+
<item>CONVFMT</item>
|
270
|
+
<item>ENVIRON</item>
|
271
|
+
<item>FILENAME</item>
|
272
|
+
<item>FNR</item>
|
273
|
+
<item>FS</item>
|
274
|
+
<item>NF</item>
|
275
|
+
<item>NR</item>
|
276
|
+
<item>OFMT</item>
|
277
|
+
<item>OFS</item>
|
278
|
+
<item>ORS</item>
|
279
|
+
<item>RS</item>
|
280
|
+
<item>RSTART</item>
|
281
|
+
<item>RLENGTH</item>
|
282
|
+
<item>SUBSEP</item>
|
283
|
+
</list>
|
284
|
+
<list name="functions">
|
285
|
+
<item>gsub</item>
|
286
|
+
<item>index</item>
|
287
|
+
<item>length</item>
|
288
|
+
<item>match</item>
|
289
|
+
<item>split</item>
|
290
|
+
<item>sprintf</item>
|
291
|
+
<item>sub</item>
|
292
|
+
<item>substr</item>
|
293
|
+
<item>tolower</item>
|
294
|
+
<item>toupper</item>
|
295
|
+
<item>atan2</item>
|
296
|
+
<item>cos</item>
|
297
|
+
<item>exp</item>
|
298
|
+
<item>int</item>
|
299
|
+
<item>log</item>
|
300
|
+
<item>rand</item>
|
301
|
+
<item>sin</item>
|
302
|
+
<item>sqrt</item>
|
303
|
+
<item>srand</item>
|
304
|
+
<item>close</item>
|
305
|
+
<item>fflush</item>
|
306
|
+
<item>system</item>
|
307
|
+
</list>
|
308
|
+
<contexts>
|
309
|
+
<context name="Base" attribute="Normal" lineEndContext="#stay">
|
310
|
+
<keyword String="keywords" attribute="Keyword" context="#stay"/>
|
311
|
+
<keyword String="builtins" attribute="Builtin" context="#stay"/>
|
312
|
+
<keyword String="functions" attribute="Function" context="#stay"/>
|
313
|
+
<Int attribute="Decimal" context="#stay"/>
|
314
|
+
<Float attribute="Float" context="#stay"/>
|
315
|
+
<RegExpr String="\$[A-Za-z0-9_]+" attribute="Field" context="#stay"/>
|
316
|
+
<DetectChar char=""" attribute="String" context="String"/>
|
317
|
+
<DetectChar char="/" attribute="Pattern" context="Pattern"/>
|
318
|
+
<RegExpr String="#.*$" attribute="Comment" context="#stay"/>
|
319
|
+
</context>
|
320
|
+
<context name="String" attribute="String" lineEndContext="#stay">
|
321
|
+
<DetectChar char=""" attribute="String" context="#pop"/>
|
322
|
+
<HlCStringChar attribute="String" context="#stay"/>
|
323
|
+
</context>
|
324
|
+
<context name="Pattern" attribute="Pattern" lineEndContext="#stay">
|
325
|
+
<DetectChar char="/" attribute="Pattern" context="#pop"/>
|
326
|
+
<RegExpr String="\\." attribute="Pattern" context="#stay"/>
|
327
|
+
</context>
|
328
|
+
<context name="Field" attribute="Field" lineEndContext="#stay">
|
329
|
+
<RegExpr String="\$[A-Za-z0-9_]+" attribute="Field" context="#pop"/>
|
330
|
+
</context>
|
331
|
+
</contexts>
|
332
|
+
<itemDatas>
|
333
|
+
<itemData name="Normal" defStyleNum="dsNormal"/>
|
334
|
+
<itemData name="Keyword" defStyleNum="dsKeyword"/>
|
335
|
+
<itemData name="Builtin" defStyleNum="dsDataType"/>
|
336
|
+
<itemData name="Function" defStyleNum="dsKeyword"/>
|
337
|
+
<itemData name="Decimal" defStyleNum="dsDecVal"/>
|
338
|
+
<itemData name="Float" defStyleNum="dsFloat"/>
|
339
|
+
<itemData name="String" defStyleNum="dsString"/>
|
340
|
+
<itemData name="Comment" defStyleNum="dsComment"/>
|
341
|
+
<itemData name="Pattern" defStyleNum="dsString"/>
|
342
|
+
<itemData name="Field" defStyleNum="dsOthers"/>
|
343
|
+
</itemDatas>
|
344
|
+
</highlighting>
|
345
|
+
<general>
|
346
|
+
<comments>
|
347
|
+
<comment name="singleLine" start="#"/>
|
348
|
+
</comments>
|
349
|
+
<keywords casesensitive="1" />
|
350
|
+
</general>
|
351
|
+
</language>
|
352
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
353
|
+
<!DOCTYPE language SYSTEM "language.dtd">
|
354
|
+
<language name="Bash" version="1.08" kateversion="2.2" section="Scripts" extensions="*.sh" mimetype="application/x-shellscript">
|
355
|
+
<highlighting>
|
356
|
+
<list name = "keywords">
|
357
|
+
<item> break </item>
|
358
|
+
<item> case </item>
|
359
|
+
<item> else </item>
|
360
|
+
<item> esac </item>
|
361
|
+
<item> exit </item>
|
362
|
+
<item> export </item>
|
363
|
+
<item> for </item>
|
364
|
+
<item> function </item>
|
365
|
+
<item> in </item>
|
366
|
+
<item> return </item>
|
367
|
+
<item> select </item>
|
368
|
+
<item> then </item>
|
369
|
+
<item> until </item>
|
370
|
+
<item> while </item>
|
371
|
+
<item> . </item>
|
372
|
+
<item> done </item>
|
373
|
+
<item> do </item>
|
374
|
+
<item> elif </item>
|
375
|
+
<item> fi </item>
|
376
|
+
<item> if </item>
|
377
|
+
|
378
|
+
</list>
|
379
|
+
<list name = "commands">
|
380
|
+
<item> cp </item>
|
381
|
+
<item> date </item>
|
382
|
+
<item> echo </item>
|
383
|
+
<item> eval </item>
|
384
|
+
<item> dcop </item>
|
385
|
+
<item> dcopstart </item>
|
386
|
+
<item> dcopfind </item>
|
387
|
+
</list>
|
388
|
+
<contexts>
|
389
|
+
<context name = "Base" attribute = "Normal Text" lineEndContext = "#stay">
|
390
|
+
<RegExpr attribute="Keyword" context="#stay" String="\bdone\b" insensitive="TRUE" endRegion="dodone1"/>
|
391
|
+
<RegExpr attribute="Keyword" context="#stay" String="\bdo\b" insensitive="TRUE" beginRegion="dodone1"/>
|
392
|
+
<RegExpr attribute="Keyword" context="#stay" String="\belif\b" insensitive="TRUE" beginRegion="iffi1" endRegion="iffi1"/>
|
393
|
+
<RegExpr attribute="Keyword" context="#stay" String="\bif\b" insensitive="TRUE" beginRegion="iffi1"/>
|
394
|
+
<RegExpr attribute="Keyword" context="#stay" String="\bfi\b" insensitive="TRUE" endRegion="iffi1"/>
|
395
|
+
<RegExpr attribute="Keyword" context="#stay" String="\bcase\b" insensitive="TRUE" beginRegion="case1"/>
|
396
|
+
<RegExpr attribute="Keyword" context="#stay" String="\besac\b" insensitive="TRUE" endRegion="case1"/>
|
397
|
+
<RegExpr attribute="Keyword" context="#stay" String="^[^()]+\)" insensitive="TRUE" beginRegion="subcase1"/>
|
398
|
+
<StringDetect attribute="Keyword" context="#stay" String=";;" insensitive="TRUE" endRegion="subcase1"/>
|
399
|
+
<DetectChar attribute="Keyword" context="#stay" char="{" beginRegion="func1"/>
|
400
|
+
<DetectChar attribute="Keyword" context="#stay" char="}" endRegion="func1"/>
|
401
|
+
|
402
|
+
<keyword String = "keywords" attribute = "Keyword" context = "#stay"/>
|
403
|
+
<keyword String = "commands" attribute = "Command" context = "#stay"/>
|
404
|
+
<Int attribute = "Decimal" context = "#stay"/>
|
405
|
+
<RegExpr String = "\$[A-Za-z0-9_?{}!]+" attribute = "Parameter" context = "#stay"/>
|
406
|
+
<RangeDetect char = """ char1 = """ attribute = "String" context = "#stay"/>
|
407
|
+
<AnyChar String = "|<>=;" attribute = "Operator" context = "#stay"/>
|
408
|
+
<DetectChar char="'" attribute = "String" context = "Single Quote"/>
|
409
|
+
<DetectChar char="`" attribute = "Substitution" context = "Substitution"/>
|
410
|
+
<Detect2Chars attribute = "Normal Text" context = "#stay" char = "\" char1 = "#"/>
|
411
|
+
<RegExpr String= "#.*$" attribute = "Comment" context="#stay"/>
|
412
|
+
|
413
|
+
</context>
|
414
|
+
<context name = "String" attribute = "String" lineEndContext="#stay">
|
415
|
+
<StringDetect String = "\\" attribute = "String" context = "#stay"/>
|
416
|
+
<StringDetect String = "\"" attribute = "String" context = "#stay"/>
|
417
|
+
<DetectChar char = """ attribute = "String" context = "#pop"/>
|
418
|
+
</context>
|
419
|
+
<context name = "Single Quote" attribute = "String" lineEndContext="#stay">
|
420
|
+
<StringDetect String = "\\" attribute = "String" context = "#stay"/>
|
421
|
+
<StringDetect String = "\'" attribute = "String" context = "#stay"/>
|
422
|
+
<DetectChar char = "'" attribute = "String" context = "#pop"/>
|
423
|
+
</context>
|
424
|
+
<context name = "Substitution" attribute = "Substitution" lineEndContext="#stay">
|
425
|
+
<StringDetect String = "\\" attribute = "String" context = "#stay"/>
|
426
|
+
<StringDetect String = "\`" attribute = "String" context = "#stay"/>
|
427
|
+
<DetectChar char = "`" attribute = "Substitution" context = "#pop"/>
|
428
|
+
</context>
|
429
|
+
<context name = "Parameter" attribute = "Parameter" lineEndContext="#stay">
|
430
|
+
<RegExpr String = "\$[A-Za-z0-9_?]+" attribute = "Parameter" context="#pop"/>
|
431
|
+
</context>
|
432
|
+
</contexts>
|
433
|
+
<itemDatas>
|
434
|
+
<itemData name = "Normal Text" defStyleNum = "dsNormal"/>
|
435
|
+
<itemData name = "Keyword" defStyleNum = "dsKeyword"/>
|
436
|
+
<itemData name = "Decimal" defStyleNum = "dsDecVal"/>
|
437
|
+
<itemData name = "Float" defStyleNum = "dsFloat"/>
|
438
|
+
<itemData name = "Char" defStyleNum = "dsChar"/>
|
439
|
+
<itemData name = "String" defStyleNum = "dsString"/>
|
440
|
+
<itemData name = "Comment" defStyleNum = "dsComment"/>
|
441
|
+
<itemData name = "Substitution" defStyleNum = "dsOthers"/>
|
442
|
+
<itemData name = "Parameter" defStyleNum = "dsOthers"/>
|
443
|
+
<itemData name = "Operator" defStyleNum = "dsOthers"/>
|
444
|
+
<itemData name = "Command" defStyleNum = "dsNormal"/>
|
445
|
+
</itemDatas>
|
446
|
+
</highlighting>
|
447
|
+
<general>
|
448
|
+
<comments>
|
449
|
+
<comment name="singleLine" start="#"/>
|
450
|
+
</comments>
|
451
|
+
<keywords casesensitive="1"/>
|
452
|
+
</general>
|
453
|
+
</language>
|
454
|
+
|
455
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
456
|
+
<!DOCTYPE language>
|
457
|
+
<language name="BibTeX" version="0.1" extensions="*.bib" section="Markup" mimetype="text/x-bib" casesensitive="1">
|
458
|
+
<highlighting>
|
459
|
+
<contexts>
|
460
|
+
<context name="Normal" attribute="Normal Text" lineEndContext="#stay">
|
461
|
+
<DetectChar char="@" attribute="Bib Item" context="Bib Item" />
|
462
|
+
<DetectChar char="%" attribute="Comment" context="Comment"/>
|
463
|
+
</context>
|
464
|
+
|
465
|
+
<context name="Bib Item" attribute="Bib Item" lineEndContext="#stay">
|
466
|
+
<DetectChar char="{" attribute="Normal Text" context="Ref Key" />
|
467
|
+
<DetectChar char="%" attribute="Comment" context="Comment"/>
|
468
|
+
</context>
|
469
|
+
|
470
|
+
<context name="Ref Key" attribute="Ref Key" lineEndContext="#stay">
|
471
|
+
<DetectChar char="," attribute="Normal Text" context="Keyword" />
|
472
|
+
<DetectChar char="%" attribute="Comment" context="Comment"/>
|
473
|
+
</context>
|
474
|
+
|
475
|
+
<context name="Keyword" attribute="Keyword" lineEndContext="#stay">
|
476
|
+
<RegExpr String="\\." attribute="Keyword" context="#stay"/>
|
477
|
+
<DetectChar char="@" attribute="Bib Item" context="Bib Item"/>
|
478
|
+
<DetectChar char="=" attribute="Normal Text" context="#stay"/>
|
479
|
+
<DetectChar char="," attribute="Normal Text" context="#stay"/>
|
480
|
+
<DetectChar char='"' attribute="Value" context="Value"/>
|
481
|
+
<DetectChar char="%" attribute="Comment" context="Comment"/>
|
482
|
+
</context>
|
483
|
+
|
484
|
+
<context name="Value" attribute="Value" lineEndContext="#stay">
|
485
|
+
<Detect2Chars char="\" char1='"' attribute="Value" context="#stay"/>
|
486
|
+
<DetectChar char='"' attribute="Value" context="Keyword"/>
|
487
|
+
</context>
|
488
|
+
|
489
|
+
<context name="Comment" attribute="5" lineEndContext="#pop">
|
490
|
+
</context>
|
491
|
+
</contexts>
|
492
|
+
<itemDatas>
|
493
|
+
<itemData name="Normal Text" defStyleNum="dsNormal"/>
|
494
|
+
<itemData name="Bib Item" defStyleNum="dsNormal" color="#0000ff" selColor="#ffff00" bold="1" italic="0"/>
|
495
|
+
<itemData name="Keyword" defStyleNum="dsNormal" color="#000000" selColor="#dddddd" bold="0" italic="0"/>
|
496
|
+
<itemData name="Value" defStyleNum="dsNormal" color="#aa5500" selColor="#22aaff" bold="0" italic="0"/>
|
497
|
+
<itemData name="Ref Key" defStyleNum="dsNormal" color="#007700" selColor="#00aa00" bold="1" italic="0"/>
|
498
|
+
<itemData name="Comment" defStyleNum="dsNormal" color="#aaaaaa" selColor="#222222" bold="0" italic="0"/>
|
499
|
+
</itemDatas>
|
500
|
+
</highlighting><general>
|
501
|
+
<comments>
|
502
|
+
<comment name="singleLine" start="%" />
|
503
|
+
</comments>
|
504
|
+
</general>
|
505
|
+
</language>
|
506
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
507
|
+
<!DOCTYPE language SYSTEM "language.dtd">
|
508
|
+
<language name="C" version="1.09" kateversion="2.1" section="Sources" extensions="*.c;*.C;*.h" mimetype="text/x-csrc;text/x-c++src;text/x-chdr" priority="5">
|
509
|
+
<highlighting>
|
510
|
+
<list name="keywords">
|
511
|
+
<item> break </item>
|
512
|
+
<item> case </item>
|
513
|
+
<item> continue </item>
|
514
|
+
<item> default </item>
|
515
|
+
<item> do </item>
|
516
|
+
<item> else </item>
|
517
|
+
<item> enum </item>
|
518
|
+
<item> extern </item>
|
519
|
+
<item> for </item>
|
520
|
+
<item> goto </item>
|
521
|
+
<item> if </item>
|
522
|
+
<item> inline </item>
|
523
|
+
<item> return </item>
|
524
|
+
<item> sizeof </item>
|
525
|
+
<item> struct </item>
|
526
|
+
<item> switch </item>
|
527
|
+
<item> typedef </item>
|
528
|
+
<item> union </item>
|
529
|
+
<item> while </item>
|
530
|
+
</list>
|
531
|
+
<list name="types">
|
532
|
+
<item> auto </item>
|
533
|
+
<item> char </item>
|
534
|
+
<item> const </item>
|
535
|
+
<item> double </item>
|
536
|
+
<item> float </item>
|
537
|
+
<item> int </item>
|
538
|
+
<item> long </item>
|
539
|
+
<item> register </item>
|
540
|
+
<item> restrict </item>
|
541
|
+
<item> short </item>
|
542
|
+
<item> signed </item>
|
543
|
+
<item> static </item>
|
544
|
+
<item> unsigned </item>
|
545
|
+
<item> void </item>
|
546
|
+
<item> volatile </item>
|
547
|
+
<item> _Imaginary </item>
|
548
|
+
<item> _Complex </item>
|
549
|
+
<item> _Bool </item>
|
550
|
+
</list>
|
551
|
+
<list name="attention">
|
552
|
+
<item> FIXME </item>
|
553
|
+
<item> TODO </item>
|
554
|
+
<item> ### </item>
|
555
|
+
</list>
|
556
|
+
<contexts>
|
557
|
+
<context attribute="Normal Text" lineEndContext="#stay" name="Normal">
|
558
|
+
<keyword attribute="Keyword" context="#stay" String="keywords"/>
|
559
|
+
<keyword attribute="Data Type" context="#stay" String="types"/>
|
560
|
+
<DetectChar attribute="Symbol" context="#stay" char="{" beginRegion="Brace1" />
|
561
|
+
<DetectChar attribute="Symbol" context="#stay" char="}" endRegion="Brace1" />
|
562
|
+
<Float attribute="Float" context="#stay">
|
563
|
+
<AnyChar String="fF" attribute="Float" context="#stay"/>
|
564
|
+
</Float>
|
565
|
+
<HlCOct attribute="Octal" context="#stay"/>
|
566
|
+
<HlCHex attribute="Hex" context="#stay"/>
|
567
|
+
<Int attribute="Decimal" context="#stay" >
|
568
|
+
<StringDetect attribute="Decimal" context="#stay" String="ULL" insensitive="TRUE"/>
|
569
|
+
<StringDetect attribute="Decimal" context="#stay" String="LUL" insensitive="TRUE"/>
|
570
|
+
<StringDetect attribute="Decimal" context="#stay" String="LLU" insensitive="TRUE"/>
|
571
|
+
<StringDetect attribute="Decimal" context="#stay" String="UL" insensitive="TRUE"/>
|
572
|
+
<StringDetect attribute="Decimal" context="#stay" String="LU" insensitive="TRUE"/>
|
573
|
+
<StringDetect attribute="Decimal" context="#stay" String="LL" insensitive="TRUE"/>
|
574
|
+
<StringDetect attribute="Decimal" context="#stay" String="U" insensitive="TRUE"/>
|
575
|
+
<StringDetect attribute="Decimal" context="#stay" String="L" insensitive="TRUE"/>
|
576
|
+
</Int>
|
577
|
+
<HlCChar attribute="Char" context="#stay"/>
|
578
|
+
<DetectChar attribute="String" context="String" char="""/>
|
579
|
+
<Detect2Chars attribute="Comment" context="Commentar 1" char="/" char1="/"/>
|
580
|
+
<Detect2Chars attribute="Comment" context="Commentar 2" char="/" char1="*" beginRegion="Comment"/>
|
581
|
+
<StringDetect attribute="Preprocessor" context="Outscoped" String="#if 0" insensitive="FALSE"/>
|
582
|
+
<DetectChar attribute="Preprocessor" context="Preprocessor" char="#"/>
|
583
|
+
<RegExpr attribute="Function" context="#stay" String="\b[_\w][_\w\d]*(?=[\s]*[(])" />
|
584
|
+
<RegExpr attribute="Symbol" context="Member" String="[.]{1,1}" />
|
585
|
+
<AnyChar attribute="Symbol" context="#stay" String=":!%&()+,-/.*<=>?[]|~^;"/>
|
586
|
+
</context>
|
587
|
+
<context attribute="String" lineEndContext="#pop" name="String">
|
588
|
+
<LineContinue attribute="String" context="#stay"/>
|
589
|
+
<HlCStringChar attribute="String Char" context="#stay"/>
|
590
|
+
<DetectChar attribute="String" context="#pop" char="""/>
|
591
|
+
</context>
|
592
|
+
<context attribute="Normal Text" lineEndContext="#pop" name="Member">
|
593
|
+
<RegExpr attribute="Function" context="#pop" String="\b[_\w][_\w\d]*(?=[\s]*)" />
|
594
|
+
</context>
|
595
|
+
<context attribute="Comment" lineEndContext="#pop" name="Commentar 1">
|
596
|
+
<keyword attribute="Decimal" context="#stay" String="attention" />
|
597
|
+
</context>
|
598
|
+
<context attribute="Comment" lineEndContext="#stay" name="Commentar 2">
|
599
|
+
<Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment"/>
|
600
|
+
<keyword attribute="Decimal" context="#stay" String="attention" />
|
601
|
+
</context>
|
602
|
+
<context attribute="Preprocessor" lineEndContext="#pop" name="Preprocessor">
|
603
|
+
<LineContinue attribute="Preprocessor" context="#stay"/>
|
604
|
+
<RegExpr attribute="Preprocessor" context="Define" String="define.*((?=\\))"/>
|
605
|
+
<RegExpr attribute="Preprocessor" context="#stay" String="define.*"/>
|
606
|
+
<RangeDetect attribute="Prep. Lib" context="#stay" char=""" char1="""/>
|
607
|
+
<RangeDetect attribute="Prep. Lib" context="#stay" char="<" char1=">"/>
|
608
|
+
<Detect2Chars attribute="Comment" context="Commentar/Preprocessor" char="/" char1="*" beginRegion="Comment2"/>
|
609
|
+
</context>
|
610
|
+
<context attribute="Preprocessor" lineEndContext="#pop" name="Define">
|
611
|
+
<LineContinue attribute="Preprocessor" context="#stay"/>
|
612
|
+
</context>
|
613
|
+
<context attribute="Comment" lineEndContext="#stay" name="Commentar/Preprocessor">
|
614
|
+
<Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment2" />
|
615
|
+
</context>
|
616
|
+
<context attribute="Normal Text" lineEndContext="#pop" name="Some Context"/>
|
617
|
+
<context attribute="Normal Text" lineEndContext="#pop" name="Some Context2"/>
|
618
|
+
<context attribute="Comment" lineEndContext="#stay" name="Outscoped" >
|
619
|
+
<keyword attribute="Decimal" context="#stay" String="attention" />
|
620
|
+
<RegExpr attribute="Comment" context="Outscoped intern" String="^#if" />
|
621
|
+
<RegExpr attribute="Preprocessor" context="#pop" String="#endif" />
|
622
|
+
<RegExpr attribute="Preprocessor" context="#pop" String="#else" />
|
623
|
+
</context>
|
624
|
+
<context attribute="Comment" lineEndContext="#stay" name="Outscoped intern">
|
625
|
+
<RegExpr attribute="Comment" context="Outscoped intern" String="#if" />
|
626
|
+
<RegExpr attribute="Comment" context="#pop" String="#endif" />
|
627
|
+
</context>
|
628
|
+
</contexts>
|
629
|
+
<itemDatas>
|
630
|
+
<itemData name="Normal Text" defStyleNum="dsNormal"/>
|
631
|
+
<itemData name="Keyword" defStyleNum="dsKeyword"/>
|
632
|
+
<itemData name="Function" defStyleNum="dsKeyword" color="#000080" selColor="#ffffff" bold="0" italic="0"/>
|
633
|
+
<itemData name="Data Type" defStyleNum="dsDataType"/>
|
634
|
+
<itemData name="Decimal" defStyleNum="dsDecVal"/>
|
635
|
+
<itemData name="Octal" defStyleNum="dsBaseN"/>
|
636
|
+
<itemData name="Hex" defStyleNum="dsBaseN"/>
|
637
|
+
<itemData name="Float" defStyleNum="dsFloat"/>
|
638
|
+
<itemData name="Char" defStyleNum="dsChar"/>
|
639
|
+
<itemData name="String" defStyleNum="dsString"/>
|
640
|
+
<itemData name="String Char" defStyleNum="dsChar"/>
|
641
|
+
<itemData name="Comment" defStyleNum="dsComment"/>
|
642
|
+
<itemData name="Symbol" defStyleNum="dsNormal"/>
|
643
|
+
<itemData name="Preprocessor" defStyleNum="dsOthers"/>
|
644
|
+
<itemData name="Prep. Lib" defStyleNum="dsOthers"/> <!--,Qt::darkYellow,Qt::yellow,false,false)); -->
|
645
|
+
</itemDatas>
|
646
|
+
</highlighting>
|
647
|
+
<general>
|
648
|
+
<comments>
|
649
|
+
<comment name="singleLine" start="//" />
|
650
|
+
<comment name="multiLine" start="/*" end="*/" />
|
651
|
+
</comments>
|
652
|
+
<keywords casesensitive="1" />
|
653
|
+
</general>
|
654
|
+
</language>
|
655
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
656
|
+
<!DOCTYPE language SYSTEM "language.dtd">
|
657
|
+
<language name="ChangeLog" version="1.01" kateversion="2.1" section="Other" extensions="ChangeLog" mimetype="">
|
658
|
+
<highlighting>
|
659
|
+
<contexts>
|
660
|
+
<context attribute="Normal Text" lineEndContext="#stay" name="Normal">
|
661
|
+
<RegExpr attribute="Keyword" context="#stay" String="^\d\d\d\d\s*-\s*\d\d\s*-\s*\d\d.*$"/>
|
662
|
+
</context>
|
663
|
+
</contexts>
|
664
|
+
<itemDatas>
|
665
|
+
<itemData name="Normal Text" defStyleNum="dsNormal"/>
|
666
|
+
<itemData name="Keyword" defStyleNum="dsKeyword"/>
|
667
|
+
<itemData name="Identifier" defStyleNum="dsOthers"/>
|
668
|
+
<itemData name="Types" defStyleNum="dsDataType"/>
|
669
|
+
<itemData name="String" defStyleNum="dsString"/>
|
670
|
+
<itemData name="Comment" defStyleNum="dsComment"/>
|
671
|
+
</itemDatas>
|
672
|
+
</highlighting>
|
673
|
+
<general>
|
674
|
+
<keywords casesensitive="1" />
|
675
|
+
</general>
|
676
|
+
</language>
|
677
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
678
|
+
<!DOCTYPE language SYSTEM "language.dtd">
|
679
|
+
<language name="Cisco" version="1.09" kateversion="2.2" section="Scripts"
|
680
|
+
extensions="*.cis" mimetype="text/cisco"
|
681
|
+
author="Raphaël GRAPINET" license="LGPL">
|
682
|
+
<highlighting>
|
683
|
+
<list name = "commands">
|
684
|
+
<item> aaa </item>
|
685
|
+
<item> access-list </item>
|
686
|
+
<item> address </item>
|
687
|
+
<item> alias </item>
|
688
|
+
<item> arp </item>
|
689
|
+
<item> async-bootp </item>
|
690
|
+
<item> banner </item>
|
691
|
+
<item> boot </item>
|
692
|
+
<item> bridge </item>
|
693
|
+
<item> buffers </item>
|
694
|
+
<item> busy-message </item>
|
695
|
+
<item> call-history-mib </item>
|
696
|
+
<item> cdp </item>
|
697
|
+
<item> chat-script </item>
|
698
|
+
<item> class-map </item>
|
699
|
+
<item> clock </item>
|
700
|
+
<item> cns </item>
|
701
|
+
<item> config-register </item>
|
702
|
+
<item> controller </item>
|
703
|
+
<item> crypto </item>
|
704
|
+
<item> default </item>
|
705
|
+
<item> default-value </item>
|
706
|
+
<item> dialer </item>
|
707
|
+
<item> dialer-list </item>
|
708
|
+
<item> dnsix-dmdp </item>
|
709
|
+
<item> dnsix-nat </item>
|
710
|
+
<item> downward-compatible-config </item>
|
711
|
+
<item> enable </item>
|
712
|
+
<item> end </item>
|
713
|
+
<item> exception </item>
|
714
|
+
<item> exit </item>
|
715
|
+
<item> file </item>
|
716
|
+
<item> frame-relay </item>
|
717
|
+
<item> help </item>
|
718
|
+
<item> hostname </item>
|
719
|
+
<item> interface </item>
|
720
|
+
<item> ip </item>
|
721
|
+
<item> isdn </item>
|
722
|
+
<item> isdn-mib </item>
|
723
|
+
<item> kerberos </item>
|
724
|
+
<item> key </item>
|
725
|
+
<item> line </item>
|
726
|
+
<item> logging </item>
|
727
|
+
<item> login-string </item>
|
728
|
+
<item> map-class </item>
|
729
|
+
<item> map-list </item>
|
730
|
+
<item> memory-size </item>
|
731
|
+
<item> menu </item>
|
732
|
+
<item> modemcap </item>
|
733
|
+
<item> multilink </item>
|
734
|
+
<item> netbios </item>
|
735
|
+
<item> no </item>
|
736
|
+
<item> ntp </item>
|
737
|
+
<item> partition </item>
|
738
|
+
<item> policy-map </item>
|
739
|
+
<item> priority-list </item>
|
740
|
+
<item> privilege </item>
|
741
|
+
<item> process-max-time </item>
|
742
|
+
<item> prompt </item>
|
743
|
+
<item> queue-list </item>
|
744
|
+
<item> resume-string </item>
|
745
|
+
<item> rlogin </item>
|
746
|
+
<item> rmon </item>
|
747
|
+
<item> route-map </item>
|
748
|
+
<item> router </item>
|
749
|
+
<item> rtr </item>
|
750
|
+
<item> scheduler </item>
|
751
|
+
<item> service </item>
|
752
|
+
<item> snmp-server </item>
|
753
|
+
<item> sntp </item>
|
754
|
+
<item> stackmaker </item>
|
755
|
+
<item> state-machine </item>
|
756
|
+
<item> subscriber-policy </item>
|
757
|
+
<item> tacacs-server </item>
|
758
|
+
<item> template </item>
|
759
|
+
<item> terminal-queue </item>
|
760
|
+
<item> tftp-server </item>
|
761
|
+
<item> time-range </item>
|
762
|
+
<item> username </item>
|
763
|
+
<item> virtual-profile </item>
|
764
|
+
<item> virtual-template </item>
|
765
|
+
<item> vpdn </item>
|
766
|
+
<item> vpdn-group </item>
|
767
|
+
<item> x25 </item>
|
768
|
+
<item> x29 </item>
|
769
|
+
</list>
|
770
|
+
<list name = "parameters">
|
771
|
+
<item> accounting </item>
|
772
|
+
<item> accounting-list </item>
|
773
|
+
<item> accounting-threshold </item>
|
774
|
+
<item> accounting-transits </item>
|
775
|
+
<item> address-pool </item>
|
776
|
+
<item> as-path </item>
|
777
|
+
<item> audit </item>
|
778
|
+
<item> auth-proxy </item>
|
779
|
+
<item> authentication </item>
|
780
|
+
<item> authorization </item>
|
781
|
+
<item> bgp-community </item>
|
782
|
+
<item> bootp </item>
|
783
|
+
<item> cef </item>
|
784
|
+
<item> classless </item>
|
785
|
+
<item> community-list </item>
|
786
|
+
<item> default-gateway </item>
|
787
|
+
<item> default-network </item>
|
788
|
+
<item> dhcp </item>
|
789
|
+
<item> dhcp-server </item>
|
790
|
+
<item> domain-list </item>
|
791
|
+
<item> domain-lookup </item>
|
792
|
+
<item> domain-name </item>
|
793
|
+
<item> dvmrp </item>
|
794
|
+
<item> exec-callback </item>
|
795
|
+
<item> extcommunity-list </item>
|
796
|
+
<item> finger </item>
|
797
|
+
<item> flow-aggregation </item>
|
798
|
+
<item> flow-cache </item>
|
799
|
+
<item> flow-export </item>
|
800
|
+
<item> forward-protocol </item>
|
801
|
+
<item> ftp </item>
|
802
|
+
<item> gratuitous-arps </item>
|
803
|
+
<item> host </item>
|
804
|
+
<item> host-routing </item>
|
805
|
+
<item> hp-host </item>
|
806
|
+
<item> http </item>
|
807
|
+
<item> icmp </item>
|
808
|
+
<item> inspect </item>
|
809
|
+
<item> local </item>
|
810
|
+
<item> mrm </item>
|
811
|
+
<item> mroute </item>
|
812
|
+
<item> msdp </item>
|
813
|
+
<item> multicast </item>
|
814
|
+
<item> multicast-routing </item>
|
815
|
+
<item> name-server </item>
|
816
|
+
<item> nat </item>
|
817
|
+
<item> new-model </item>
|
818
|
+
<item> ospf </item>
|
819
|
+
<item> password </item>
|
820
|
+
<item> password-encryption </item>
|
821
|
+
<item> pgm </item>
|
822
|
+
<item> pim </item>
|
823
|
+
<item> port-map </item>
|
824
|
+
<item> prefix-list </item>
|
825
|
+
<item> radius </item>
|
826
|
+
<item> rcmd </item>
|
827
|
+
<item> reflexive-list </item>
|
828
|
+
<item> route </item>
|
829
|
+
<item> routing </item>
|
830
|
+
<item> rsvp </item>
|
831
|
+
<item> rtcp </item>
|
832
|
+
<item> sap </item>
|
833
|
+
<item> sdr </item>
|
834
|
+
<item> security </item>
|
835
|
+
<item> source-route </item>
|
836
|
+
<item> subnet-zero </item>
|
837
|
+
<item> tacacs </item>
|
838
|
+
<item> tcp </item>
|
839
|
+
<item> tcp-small-servers </item>
|
840
|
+
<item> telnet </item>
|
841
|
+
<item> tftp </item>
|
842
|
+
<item> timestamps </item>
|
843
|
+
<item> udp-small-servers </item>
|
844
|
+
<item> vrf </item>
|
845
|
+
<item> wccp </item>
|
846
|
+
</list>
|
847
|
+
<list name = "options">
|
848
|
+
<item> accounting </item>
|
849
|
+
<item> accounting-list </item>
|
850
|
+
<item> accounting-threshold </item>
|
851
|
+
<item> accounting-transits </item>
|
852
|
+
<item> address-pool </item>
|
853
|
+
<item> as-path </item>
|
854
|
+
<item> audit </item>
|
855
|
+
<item> auth-proxy </item>
|
856
|
+
<item> authentication </item>
|
857
|
+
<item> authorization </item>
|
858
|
+
<item> bgp-community </item>
|
859
|
+
<item> bootp </item>
|
860
|
+
<item> cef </item>
|
861
|
+
<item> classless </item>
|
862
|
+
<item> community-list </item>
|
863
|
+
<item> default-gateway </item>
|
864
|
+
<item> default-network </item>
|
865
|
+
<item> dhcp </item>
|
866
|
+
<item> dhcp-server </item>
|
867
|
+
<item> domain-list </item>
|
868
|
+
<item> domain-lookup </item>
|
869
|
+
<item> domain-name </item>
|
870
|
+
<item> dvmrp </item>
|
871
|
+
<item> exec-callback </item>
|
872
|
+
<item> extcommunity-list </item>
|
873
|
+
<item> finger </item>
|
874
|
+
<item> flow-aggregation </item>
|
875
|
+
<item> flow-cache </item>
|
876
|
+
<item> flow-export </item>
|
877
|
+
<item> forward-protocol </item>
|
878
|
+
<item> ftp </item>
|
879
|
+
<item> gratuitous-arps </item>
|
880
|
+
<item> host </item>
|
881
|
+
<item> host-routing </item>
|
882
|
+
<item> hp-host </item>
|
883
|
+
<item> http </item>
|
884
|
+
<item> icmp </item>
|
885
|
+
<item> inspect </item>
|
886
|
+
<item> local </item>
|
887
|
+
<item> mrm </item>
|
888
|
+
<item> mroute </item>
|
889
|
+
<item> msdp </item>
|
890
|
+
<item> multicast </item>
|
891
|
+
<item> multicast-routing </item>
|
892
|
+
<item> name-server </item>
|
893
|
+
<item> nat </item>
|
894
|
+
<item> new-model </item>
|
895
|
+
<item> ospf </item>
|
896
|
+
<item> password </item>
|
897
|
+
<item> password-encryption </item>
|
898
|
+
<item> pgm </item>
|
899
|
+
<item> pim </item>
|
900
|
+
<item> port-map </item>
|
901
|
+
<item> prefix-list </item>
|
902
|
+
<item> radius </item>
|
903
|
+
<item> rcmd </item>
|
904
|
+
<item> reflexive-list </item>
|
905
|
+
<item> route </item>
|
906
|
+
<item> routing </item>
|
907
|
+
<item> rsvp </item>
|
908
|
+
<item> rtcp </item>
|
909
|
+
<item> sap </item>
|
910
|
+
<item> sdr </item>
|
911
|
+
<item> security </item>
|
912
|
+
<item> source-route </item>
|
913
|
+
<item> subnet-zero </item>
|
914
|
+
<item> tacacs </item>
|
915
|
+
<item> tcp </item>
|
916
|
+
<item> tcp-small-servers </item>
|
917
|
+
<item> telnet </item>
|
918
|
+
<item> tftp </item>
|
919
|
+
<item> timestamps </item>
|
920
|
+
<item> udp-small-servers </item>
|
921
|
+
<item> vrf </item>
|
922
|
+
<item> wccp </item>
|
923
|
+
</list>
|
924
|
+
<contexts>
|
925
|
+
<context name = "Base" attribute = "Normal Text" lineEndContext = "#stay">
|
926
|
+
<RegExpr attribute="Keyword" context="#stay" String="\bdone\b" insensitive="TRUE" endRegion="dodone1"/>
|
927
|
+
<RegExpr attribute="Keyword" context="#stay" String="\bdo\b" insensitive="TRUE" beginRegion="dodone1"/>
|
928
|
+
<RegExpr attribute="Keyword" context="#stay" String="\belif\b" insensitive="TRUE" beginRegion="iffi1" endRegion="iffi1"/>
|
929
|
+
<RegExpr attribute="Keyword" context="#stay" String="\bif\b" insensitive="TRUE" beginRegion="iffi1"/>
|
930
|
+
<RegExpr attribute="Keyword" context="#stay" String="\bfi\b" insensitive="TRUE" endRegion="iffi1"/>
|
931
|
+
<RegExpr attribute="Keyword" context="#stay" String="\bcase\b" insensitive="TRUE" beginRegion="case1"/>
|
932
|
+
<RegExpr attribute="Keyword" context="#stay" String="\besac\b" insensitive="TRUE" endRegion="case1"/>
|
933
|
+
<RegExpr attribute="Keyword" context="#stay" String="^[^()]+\)" insensitive="TRUE" beginRegion="subcase1"/>
|
934
|
+
<StringDetect attribute="Keyword" context="#stay" String=";;" insensitive="TRUE" endRegion="subcase1"/>
|
935
|
+
<DetectChar attribute="Keyword" context="#stay" char="{" beginRegion="func1"/>
|
936
|
+
<DetectChar attribute="Keyword" context="#stay" char="}" endRegion="func1"/>
|
937
|
+
|
938
|
+
<keyword String = "commands" attribute = "Command" context = "#stay"/>
|
939
|
+
<keyword String = "parameters" attribute = "Parameter" context = "#stay"/>
|
940
|
+
<keyword String = "options" attribute = "Keyword" context = "#stay"/>
|
941
|
+
<Int attribute = "Decimal" context = "#stay"/>
|
942
|
+
<RegExpr String = "\$[A-Za-z0-9_?{}!]+" attribute = "Parameter" context = "#stay"/>
|
943
|
+
<RangeDetect char = """ char1 = """ attribute = "String" context = "#stay"/>
|
944
|
+
<AnyChar String = "|<>=;" attribute = "Operator" context = "#stay"/>
|
945
|
+
<DetectChar char="'" attribute = "String" context = "Single Quote"/>
|
946
|
+
<DetectChar char="`" attribute = "Substitution" context = "Substitution"/>
|
947
|
+
<Detect2Chars attribute = "Normal Text" context = "#stay" char = "\" char1 = "#"/>
|
948
|
+
<RegExpr String= "#.*$" attribute = "Comment" context="#stay"/>
|
949
|
+
|
950
|
+
</context>
|
951
|
+
<context name = "String" attribute = "String" lineEndContext="#stay">
|
952
|
+
<StringDetect String = "\\" attribute = "String" context = "#stay"/>
|
953
|
+
<StringDetect String = "\"" attribute = "String" context = "#stay"/>
|
954
|
+
<DetectChar char = """ attribute = "String" context = "#pop"/>
|
955
|
+
</context>
|
956
|
+
<context name = "Single Quote" attribute = "String" lineEndContext="#stay">
|
957
|
+
<StringDetect String = "\\" attribute = "String" context = "#stay"/>
|
958
|
+
<StringDetect String = "\'" attribute = "String" context = "#stay"/>
|
959
|
+
<DetectChar char = "'" attribute = "String" context = "#pop"/>
|
960
|
+
</context>
|
961
|
+
<context name = "Substitution" attribute = "Substitution" lineEndContext="#stay">
|
962
|
+
<StringDetect String = "\\" attribute = "String" context = "#stay"/>
|
963
|
+
<StringDetect String = "\`" attribute = "String" context = "#stay"/>
|
964
|
+
<DetectChar char = "`" attribute = "Substitution" context = "#pop"/>
|
965
|
+
</context>
|
966
|
+
<context name = "Parameter" attribute = "Parameter" lineEndContext="#stay">
|
967
|
+
<RegExpr String = "\$[A-Za-z0-9_?]+" attribute = "Parameter" context="#pop"/>
|
968
|
+
</context>
|
969
|
+
</contexts>
|
970
|
+
<itemDatas>
|
971
|
+
<itemData name = "Normal Text" defStyleNum = "dsNormal"/>
|
972
|
+
<itemData name = "Keyword" defStyleNum = "dsKeyword"/>
|
973
|
+
<itemData name = "Decimal" defStyleNum = "dsDecVal"/>
|
974
|
+
<itemData name = "Float" defStyleNum = "dsFloat"/>
|
975
|
+
<itemData name = "Char" defStyleNum = "dsChar"/>
|
976
|
+
<itemData name = "String" defStyleNum = "dsString"/>
|
977
|
+
<itemData name = "Comment" defStyleNum = "dsComment"/>
|
978
|
+
<itemData name = "Substitution" defStyleNum = "dsOthers"/>
|
979
|
+
<itemData name = "Parameter" defStyleNum = "dsOthers"/>
|
980
|
+
<itemData name = "Operator" defStyleNum = "dsOthers"/>
|
981
|
+
<itemData name = "Command" defStyleNum = "dsNormal"/>
|
982
|
+
</itemDatas>
|
983
|
+
</highlighting>
|
984
|
+
<general>
|
985
|
+
<comments>
|
986
|
+
<comment name="singleLine" start="!"/>
|
987
|
+
</comments>
|
988
|
+
<keywords casesensitive="0"/>
|
989
|
+
</general>
|
990
|
+
</language>
|
991
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
992
|
+
<!DOCTYPE language SYSTEM "language.dtd">
|
993
|
+
<language name="ColdFusion" version="1.03" kateversion="2.1" section="Markup" extensions="*.cfm;*.cfc;*.cfml;*.dbm" mimetype="text/x-coldfusion">
|
994
|
+
|
995
|
+
<highlighting>
|
996
|
+
|
997
|
+
<list name="Script Keywords">
|
998
|
+
|
999
|
+
<item> if </item>
|
1000
|
+
<item> else </item>
|
1001
|
+
<item> for </item>
|
1002
|
+
<item> in </item>
|
1003
|
+
<item> while </item>
|
1004
|
+
<item> do </item>
|
1005
|
+
<item> continue </item>
|
1006
|
+
<item> break </item>
|
1007
|
+
<item> with </item>
|
1008
|
+
<item> try </item>
|
1009
|
+
<item> catch </item>
|
1010
|
+
<item> switch </item>
|
1011
|
+
<item> case </item>
|
1012
|
+
<item> new </item>
|
1013
|
+
<item> var </item>
|
1014
|
+
<item> function </item>
|
1015
|
+
<item> return </item>
|
1016
|
+
<item> this </item>
|
1017
|
+
<item> delete </item>
|
1018
|
+
<item> true </item>
|
1019
|
+
<item> false </item>
|
1020
|
+
<item> void </item>
|
1021
|
+
<item> throw </item>
|
1022
|
+
<item> typeof </item>
|
1023
|
+
<item> const </item>
|
1024
|
+
<item> default </item>
|
1025
|
+
|
1026
|
+
</list>
|
1027
|
+
|
1028
|
+
<list name="Script Objects">
|
1029
|
+
|
1030
|
+
<item> Anchor </item>
|
1031
|
+
<item> Applet </item>
|
1032
|
+
<item> Area </item>
|
1033
|
+
<item> Array </item>
|
1034
|
+
<item> Boolean </item>
|
1035
|
+
<item> Button </item>
|
1036
|
+
<item> Checkbox </item>
|
1037
|
+
<item> Date </item>
|
1038
|
+
<item> Document </item>
|
1039
|
+
<item> Event </item>
|
1040
|
+
<item> FileUpload </item>
|
1041
|
+
<item> Form </item>
|
1042
|
+
<item> Frame </item>
|
1043
|
+
<item> Function </item>
|
1044
|
+
<item> Hidden </item>
|
1045
|
+
<item> History </item>
|
1046
|
+
<item> Image </item>
|
1047
|
+
<item> Layer </item>
|
1048
|
+
<item> Linke </item>
|
1049
|
+
<item> Location </item>
|
1050
|
+
<item> Math </item>
|
1051
|
+
<item> Navigator </item>
|
1052
|
+
<item> Number </item>
|
1053
|
+
<item> Object </item>
|
1054
|
+
<item> Option </item>
|
1055
|
+
<item> Password </item>
|
1056
|
+
<item> Radio </item>
|
1057
|
+
<item> RegExp </item>
|
1058
|
+
<item> Reset </item>
|
1059
|
+
<item> Screen </item>
|
1060
|
+
<item> Select </item>
|
1061
|
+
<item> String </item>
|
1062
|
+
<item> Submit </item>
|
1063
|
+
<item> Text </item>
|
1064
|
+
<item> Textarea </item>
|
1065
|
+
<item> Window </item>
|
1066
|
+
|
1067
|
+
</list>
|
1068
|
+
|
1069
|
+
<list name="Script Methods">
|
1070
|
+
|
1071
|
+
<item> abs </item>
|
1072
|
+
<item> acos </item>
|
1073
|
+
<item> alert </item>
|
1074
|
+
<item> anchor </item>
|
1075
|
+
<item> apply </item>
|
1076
|
+
<item> asin </item>
|
1077
|
+
<item> atan </item>
|
1078
|
+
<item> atan2 </item>
|
1079
|
+
<item> back </item>
|
1080
|
+
<item> blur </item>
|
1081
|
+
<item> call </item>
|
1082
|
+
<item> captureEvents </item>
|
1083
|
+
<item> ceil </item>
|
1084
|
+
<item> charAt </item>
|
1085
|
+
<item> charCodeAt </item>
|
1086
|
+
<item> clearInterval </item>
|
1087
|
+
<item> clearTimeout </item>
|
1088
|
+
<item> click </item>
|
1089
|
+
<item> close </item>
|
1090
|
+
<item> compile </item>
|
1091
|
+
<item> concat </item>
|
1092
|
+
<item> confirm </item>
|
1093
|
+
<item> cos </item>
|
1094
|
+
<item> disableExternalCapture </item>
|
1095
|
+
<item> enableExternalCapture </item>
|
1096
|
+
<item> eval </item>
|
1097
|
+
<item> exec </item>
|
1098
|
+
<item> exp </item>
|
1099
|
+
<item> find </item>
|
1100
|
+
<item> floor </item>
|
1101
|
+
<item> focus </item>
|
1102
|
+
<item> forward </item>
|
1103
|
+
<item> fromCharCode </item>
|
1104
|
+
<item> getDate </item>
|
1105
|
+
<item> getDay </item>
|
1106
|
+
<item> getFullYear </item>
|
1107
|
+
<item> getHours </item>
|
1108
|
+
<item> getMilliseconds </item>
|
1109
|
+
<item> getMinutes </item>
|
1110
|
+
<item> getMonth </item>
|
1111
|
+
<item> getSeconds </item>
|
1112
|
+
<item> getSelection </item>
|
1113
|
+
<item> getTime </item>
|
1114
|
+
<item> getTimezoneOffset </item>
|
1115
|
+
<item> getUTCDate </item>
|
1116
|
+
<item> getUTCDay </item>
|
1117
|
+
<item> getUTCFullYear </item>
|
1118
|
+
<item> getUTCHours </item>
|
1119
|
+
<item> getUTCMilliseconds </item>
|
1120
|
+
<item> getUTCMinutes </item>
|
1121
|
+
<item> getUTCMonth </item>
|
1122
|
+
<item> getUTCSeconds </item>
|
1123
|
+
<item> go </item>
|
1124
|
+
<item> handleEvent </item>
|
1125
|
+
<item> home </item>
|
1126
|
+
<item> indexOf </item>
|
1127
|
+
<item> javaEnabled </item>
|
1128
|
+
<item> join </item>
|
1129
|
+
<item> lastIndexOf </item>
|
1130
|
+
<item> link </item>
|
1131
|
+
<item> load </item>
|
1132
|
+
<item> log </item>
|
1133
|
+
<item> match </item>
|
1134
|
+
<item> max </item>
|
1135
|
+
<item> min </item>
|
1136
|
+
<item> moveAbove </item>
|
1137
|
+
<item> moveBelow </item>
|
1138
|
+
<item> moveBy </item>
|
1139
|
+
<item> moveTo </item>
|
1140
|
+
<item> moveToAbsolute </item>
|
1141
|
+
<item> open </item>
|
1142
|
+
<item> parse </item>
|
1143
|
+
<item> plugins.refresh </item>
|
1144
|
+
<item> pop </item>
|
1145
|
+
<item> pow </item>
|
1146
|
+
<item> preference </item>
|
1147
|
+
<item> print </item>
|
1148
|
+
<item> prompt </item>
|
1149
|
+
<item> push </item>
|
1150
|
+
<item> random </item>
|
1151
|
+
<item> releaseEvents </item>
|
1152
|
+
<item> reload </item>
|
1153
|
+
<item> replace </item>
|
1154
|
+
<item> reset </item>
|
1155
|
+
<item> resizeBy </item>
|
1156
|
+
<item> resizeTo </item>
|
1157
|
+
<item> reverse </item>
|
1158
|
+
<item> round </item>
|
1159
|
+
<item> routeEvent </item>
|
1160
|
+
<item> scrollBy </item>
|
1161
|
+
<item> scrollTo </item>
|
1162
|
+
<item> search </item>
|
1163
|
+
<item> select </item>
|
1164
|
+
<item> setDate </item>
|
1165
|
+
<item> setFullYear </item>
|
1166
|
+
<item> setHours </item>
|
1167
|
+
<item> setInterval </item>
|
1168
|
+
<item> setMilliseconds </item>
|
1169
|
+
<item> setMinutes </item>
|
1170
|
+
<item> setMonth </item>
|
1171
|
+
<item> setSeconds </item>
|
1172
|
+
<item> setTime </item>
|
1173
|
+
<item> setTimeout </item>
|
1174
|
+
<item> setUTCDate </item>
|
1175
|
+
<item> setUTCFullYear </item>
|
1176
|
+
<item> setUTCHours </item>
|
1177
|
+
<item> setUTCMilliseconds </item>
|
1178
|
+
<item> setUTCMinutes </item>
|
1179
|
+
<item> setUTCMonth </item>
|
1180
|
+
<item> setUTCSeconds </item>
|
1181
|
+
<item> shift </item>
|
1182
|
+
<item> sin </item>
|
1183
|
+
<item> slice </item>
|
1184
|
+
<item> sort </item>
|
1185
|
+
<item> splice </item>
|
1186
|
+
<item> split </item>
|
1187
|
+
<item> sqrt </item>
|
1188
|
+
<item> stop </item>
|
1189
|
+
<item> String formatting </item>
|
1190
|
+
<item> submit </item>
|
1191
|
+
<item> substr </item>
|
1192
|
+
<item> substring </item>
|
1193
|
+
<item> taintEnabled </item>
|
1194
|
+
<item> tan </item>
|
1195
|
+
<item> test </item>
|
1196
|
+
<item> toLocaleString </item>
|
1197
|
+
<item> toLowerCase </item>
|
1198
|
+
<item> toSource </item>
|
1199
|
+
<item> toString </item>
|
1200
|
+
<item> toUpperCase </item>
|
1201
|
+
<item> toUTCString </item>
|
1202
|
+
<item> unshift </item>
|
1203
|
+
<item> unwatch </item>
|
1204
|
+
<item> UTC </item>
|
1205
|
+
<item> valueOf </item>
|
1206
|
+
<item> watch </item>
|
1207
|
+
<item> write </item>
|
1208
|
+
<item> writeln </item>
|
1209
|
+
|
1210
|
+
</list>
|
1211
|
+
|
1212
|
+
<list name="CFSCRIPT Keywords">
|
1213
|
+
|
1214
|
+
<item> break </item>
|
1215
|
+
<item> case </item>
|
1216
|
+
<item> catch </item>
|
1217
|
+
<item> continue </item>
|
1218
|
+
<item> default </item>
|
1219
|
+
<item> do </item>
|
1220
|
+
<item> else </item>
|
1221
|
+
<item> for </item>
|
1222
|
+
<item> function </item>
|
1223
|
+
<item> if </item>
|
1224
|
+
<item> in </item>
|
1225
|
+
<item> return </item>
|
1226
|
+
<item> switch </item>
|
1227
|
+
<item> try </item>
|
1228
|
+
<item> var </item>
|
1229
|
+
<item> while </item>
|
1230
|
+
|
1231
|
+
</list>
|
1232
|
+
|
1233
|
+
<list name="CFSCRIPT Functions">
|
1234
|
+
|
1235
|
+
<item> Abs </item>
|
1236
|
+
<item> ACos </item>
|
1237
|
+
<item> ArrayAppend </item>
|
1238
|
+
<item> ArrayAvg </item>
|
1239
|
+
<item> ArrayClear </item>
|
1240
|
+
<item> ArrayDeleteAt </item>
|
1241
|
+
<item> ArrayInsertAt </item>
|
1242
|
+
<item> ArrayIsEmpty </item>
|
1243
|
+
<item> ArrayLen </item>
|
1244
|
+
<item> ArrayMax </item>
|
1245
|
+
<item> ArrayMin </item>
|
1246
|
+
<item> ArrayNew </item>
|
1247
|
+
<item> ArrayPrepend </item>
|
1248
|
+
<item> ArrayResize </item>
|
1249
|
+
<item> ArraySet </item>
|
1250
|
+
<item> ArraySort </item>
|
1251
|
+
<item> ArraySum </item>
|
1252
|
+
<item> ArraySwap </item>
|
1253
|
+
<item> ArrayToList </item>
|
1254
|
+
<item> Asc </item>
|
1255
|
+
<item> ASin </item>
|
1256
|
+
<item> Atn </item>
|
1257
|
+
<item> BitAnd </item>
|
1258
|
+
<item> BitMaskClear </item>
|
1259
|
+
<item> BitMaskRead </item>
|
1260
|
+
<item> BitMaskSet </item>
|
1261
|
+
<item> BitNot </item>
|
1262
|
+
<item> BitOr </item>
|
1263
|
+
<item> BitSHLN </item>
|
1264
|
+
<item> BitSHRN </item>
|
1265
|
+
<item> BitXor </item>
|
1266
|
+
<item> Ceiling </item>
|
1267
|
+
<item> Chr </item>
|
1268
|
+
<item> CJustify </item>
|
1269
|
+
<item> Compare </item>
|
1270
|
+
<item> CompareNoCase </item>
|
1271
|
+
<item> Cos </item>
|
1272
|
+
<item> CreateDate </item>
|
1273
|
+
<item> CreateDateTime </item>
|
1274
|
+
<item> CreateObject </item>
|
1275
|
+
<item> CreateODBCDate </item>
|
1276
|
+
<item> CreateODBCDateTime </item>
|
1277
|
+
<item> CreateODBCTime </item>
|
1278
|
+
<item> CreateTime </item>
|
1279
|
+
<item> CreateTimeSpan </item>
|
1280
|
+
<item> CreateUUID </item>
|
1281
|
+
<item> DateAdd </item>
|
1282
|
+
<item> DateCompare </item>
|
1283
|
+
<item> DateConvert </item>
|
1284
|
+
<item> DateDiff </item>
|
1285
|
+
<item> DateFormat </item>
|
1286
|
+
<item> DatePart </item>
|
1287
|
+
<item> Day </item>
|
1288
|
+
<item> DayOfWeek </item>
|
1289
|
+
<item> DayOfWeekAsString </item>
|
1290
|
+
<item> DayOfYear </item>
|
1291
|
+
<item> DaysInMonth </item>
|
1292
|
+
<item> DaysInYear </item>
|
1293
|
+
<item> DE </item>
|
1294
|
+
<item> DecimalFormat </item>
|
1295
|
+
<item> DecrementValue </item>
|
1296
|
+
<item> Decrypt </item>
|
1297
|
+
<item> DeleteClientVariable </item>
|
1298
|
+
<item> DirectoryExists </item>
|
1299
|
+
<item> DollarFormat </item>
|
1300
|
+
<item> Duplicate </item>
|
1301
|
+
<item> Encrypt </item>
|
1302
|
+
<item> Evaluate </item>
|
1303
|
+
<item> Exp </item>
|
1304
|
+
<item> ExpandPath </item>
|
1305
|
+
<item> FileExists </item>
|
1306
|
+
<item> Find </item>
|
1307
|
+
<item> FindNoCase </item>
|
1308
|
+
<item> FindOneOf </item>
|
1309
|
+
<item> FirstDayOfMonth </item>
|
1310
|
+
<item> Fix </item>
|
1311
|
+
<item> FormatBaseN </item>
|
1312
|
+
<item> GetAuthUser </item>
|
1313
|
+
<item> GetBaseTagData </item>
|
1314
|
+
<item> GetBaseTagList </item>
|
1315
|
+
<item> GetBaseTemplatePath </item>
|
1316
|
+
<item> GetClientVariablesList </item>
|
1317
|
+
<item> GetCurrentTemplatePath </item>
|
1318
|
+
<item> GetDirectoryFromPath </item>
|
1319
|
+
<item> GetException </item>
|
1320
|
+
<item> GetFileFromPath </item>
|
1321
|
+
<item> GetFunctionList </item>
|
1322
|
+
<item> GetHttpRequestData </item>
|
1323
|
+
<item> GetHttpTimeString </item>
|
1324
|
+
<item> GetK2ServerDocCount </item>
|
1325
|
+
<item> GetK2ServerDocCountLimit </item>
|
1326
|
+
<item> GetLocale </item>
|
1327
|
+
<item> GetMetaData </item>
|
1328
|
+
<item> GetMetricData </item>
|
1329
|
+
<item> GetPageContext </item>
|
1330
|
+
<item> GetProfileSections </item>
|
1331
|
+
<item> GetProfileString </item>
|
1332
|
+
<item> GetServiceSettings </item>
|
1333
|
+
<item> GetTempDirectory </item>
|
1334
|
+
<item> GetTempFile </item>
|
1335
|
+
<item> GetTemplatePath </item>
|
1336
|
+
<item> GetTickCount </item>
|
1337
|
+
<item> GetTimeZoneInfo </item>
|
1338
|
+
<item> GetToken </item>
|
1339
|
+
<item> Hash </item>
|
1340
|
+
<item> Hour </item>
|
1341
|
+
<item> HTMLCodeFormat </item>
|
1342
|
+
<item> HTMLEditFormat </item>
|
1343
|
+
<item> IIf </item>
|
1344
|
+
<item> IncrementValue </item>
|
1345
|
+
<item> InputBaseN </item>
|
1346
|
+
<item> Insert </item>
|
1347
|
+
<item> Int </item>
|
1348
|
+
<item> IsArray </item>
|
1349
|
+
<item> IsBinary </item>
|
1350
|
+
<item> IsBoolean </item>
|
1351
|
+
<item> IsCustomFunction </item>
|
1352
|
+
<item> IsDate </item>
|
1353
|
+
<item> IsDebugMode </item>
|
1354
|
+
<item> IsDefined </item>
|
1355
|
+
<item> IsK2ServerABroker </item>
|
1356
|
+
<item> IsK2ServerDocCountExceeded </item>
|
1357
|
+
<item> IsK2ServerOnline </item>
|
1358
|
+
<item> IsLeapYear </item>
|
1359
|
+
<item> IsNumeric </item>
|
1360
|
+
<item> IsNumericDate </item>
|
1361
|
+
<item> IsObject </item>
|
1362
|
+
<item> IsQuery </item>
|
1363
|
+
<item> IsSimpleValue </item>
|
1364
|
+
<item> IsStruct </item>
|
1365
|
+
<item> IsUserInRole </item>
|
1366
|
+
<item> IsWDDX </item>
|
1367
|
+
<item> IsXmlDoc </item>
|
1368
|
+
<item> IsXmlElement </item>
|
1369
|
+
<item> IsXmlRoot </item>
|
1370
|
+
<item> JavaCast </item>
|
1371
|
+
<item> JSStringFormat </item>
|
1372
|
+
<item> LCase </item>
|
1373
|
+
<item> Left </item>
|
1374
|
+
<item> Len </item>
|
1375
|
+
<item> ListAppend </item>
|
1376
|
+
<item> ListChangeDelims </item>
|
1377
|
+
<item> ListContains </item>
|
1378
|
+
<item> ListContainsNoCase </item>
|
1379
|
+
<item> ListDeleteAt </item>
|
1380
|
+
<item> ListFind </item>
|
1381
|
+
<item> ListFindNoCase </item>
|
1382
|
+
<item> ListFirst </item>
|
1383
|
+
<item> ListGetAt </item>
|
1384
|
+
<item> ListInsertAt </item>
|
1385
|
+
<item> ListLast </item>
|
1386
|
+
<item> ListLen </item>
|
1387
|
+
<item> ListPrepend </item>
|
1388
|
+
<item> ListQualify </item>
|
1389
|
+
<item> ListRest </item>
|
1390
|
+
<item> ListSetAt </item>
|
1391
|
+
<item> ListSort </item>
|
1392
|
+
<item> ListToArray </item>
|
1393
|
+
<item> ListValueCount </item>
|
1394
|
+
<item> ListValueCountNoCase </item>
|
1395
|
+
<item> LJustify </item>
|
1396
|
+
<item> Log </item>
|
1397
|
+
<item> Log10 </item>
|
1398
|
+
<item> LSCurrencyFormat </item>
|
1399
|
+
<item> LSDateFormat </item>
|
1400
|
+
<item> LSEuroCurrencyFormat </item>
|
1401
|
+
<item> LSIsCurrency </item>
|
1402
|
+
<item> LSIsDate </item>
|
1403
|
+
<item> LSIsNumeric </item>
|
1404
|
+
<item> LSNumberFormat </item>
|
1405
|
+
<item> LSParseCurrency </item>
|
1406
|
+
<item> LSParseDateTime </item>
|
1407
|
+
<item> LSParseEuroCurrency </item>
|
1408
|
+
<item> LSParseNumber </item>
|
1409
|
+
<item> LSTimeFormat </item>
|
1410
|
+
<item> LTrim </item>
|
1411
|
+
<item> Max </item>
|
1412
|
+
<item> Mid </item>
|
1413
|
+
<item> Min </item>
|
1414
|
+
<item> Minute </item>
|
1415
|
+
<item> Month </item>
|
1416
|
+
<item> MonthAsString </item>
|
1417
|
+
<item> Now </item>
|
1418
|
+
<item> NumberFormat </item>
|
1419
|
+
<item> ParagraphFormat </item>
|
1420
|
+
<item> ParameterExists </item>
|
1421
|
+
<item> ParseDateTime </item>
|
1422
|
+
<item> Pi </item>
|
1423
|
+
<item> PreserveSingleQuotes </item>
|
1424
|
+
<item> Quarter </item>
|
1425
|
+
<item> QueryAddColumn </item>
|
1426
|
+
<item> QueryAddRow </item>
|
1427
|
+
<item> QueryNew </item>
|
1428
|
+
<item> QuerySetCell </item>
|
1429
|
+
<item> QuotedValueList </item>
|
1430
|
+
<item> Rand </item>
|
1431
|
+
<item> Randomize </item>
|
1432
|
+
<item> RandRange </item>
|
1433
|
+
<item> REFind </item>
|
1434
|
+
<item> REFindNoCase </item>
|
1435
|
+
<item> RemoveChars </item>
|
1436
|
+
<item> RepeatString </item>
|
1437
|
+
<item> Replace </item>
|
1438
|
+
<item> ReplaceList </item>
|
1439
|
+
<item> ReplaceNoCase </item>
|
1440
|
+
<item> REReplace </item>
|
1441
|
+
<item> REReplaceNoCase </item>
|
1442
|
+
<item> Reverse </item>
|
1443
|
+
<item> Right </item>
|
1444
|
+
<item> RJustify </item>
|
1445
|
+
<item> Round </item>
|
1446
|
+
<item> RTrim </item>
|
1447
|
+
<item> Second </item>
|
1448
|
+
<item> SetEncoding </item>
|
1449
|
+
<item> SetLocale </item>
|
1450
|
+
<item> SetProfileString </item>
|
1451
|
+
<item> SetVariable </item>
|
1452
|
+
<item> Sgn </item>
|
1453
|
+
<item> Sin </item>
|
1454
|
+
<item> SpanExcluding </item>
|
1455
|
+
<item> SpanIncluding </item>
|
1456
|
+
<item> Sqr </item>
|
1457
|
+
<item> StripCR </item>
|
1458
|
+
<item> StructAppend </item>
|
1459
|
+
<item> StructClear </item>
|
1460
|
+
<item> StructCopy </item>
|
1461
|
+
<item> StructCount </item>
|
1462
|
+
<item> StructDelete </item>
|
1463
|
+
<item> StructFind </item>
|
1464
|
+
<item> StructFindKey </item>
|
1465
|
+
<item> StructFindValue </item>
|
1466
|
+
<item> StructGet </item>
|
1467
|
+
<item> StructInsert </item>
|
1468
|
+
<item> StructIsEmpty </item>
|
1469
|
+
<item> StructKeyArray </item>
|
1470
|
+
<item> StructKeyExists </item>
|
1471
|
+
<item> StructKeyList </item>
|
1472
|
+
<item> StructNew </item>
|
1473
|
+
<item> StructSort </item>
|
1474
|
+
<item> StructUpdate </item>
|
1475
|
+
<item> Tan </item>
|
1476
|
+
<item> TimeFormat </item>
|
1477
|
+
<item> ToBase64 </item>
|
1478
|
+
<item> ToBinary </item>
|
1479
|
+
<item> ToString </item>
|
1480
|
+
<item> Trim </item>
|
1481
|
+
<item> UCase </item>
|
1482
|
+
<item> URLDecode </item>
|
1483
|
+
<item> URLEncodedFormat </item>
|
1484
|
+
<item> URLSessionFormat </item>
|
1485
|
+
<item> Val </item>
|
1486
|
+
<item> ValueList </item>
|
1487
|
+
<item> Week </item>
|
1488
|
+
<item> WriteOutput </item>
|
1489
|
+
<item> XmlChildPos </item>
|
1490
|
+
<item> XmlElemNew </item>
|
1491
|
+
<item> XmlFormat </item>
|
1492
|
+
<item> XmlNew </item>
|
1493
|
+
<item> XmlParse </item>
|
1494
|
+
<item> XmlSearch </item>
|
1495
|
+
<item> XmlTransform </item>
|
1496
|
+
<item> Year </item>
|
1497
|
+
<item> YesNoFormat </item>
|
1498
|
+
|
1499
|
+
</list>
|
1500
|
+
|
1501
|
+
<contexts>
|
1502
|
+
|
1503
|
+
<context attribute="Normal Text" lineEndContext="#stay" name="Normal Text">
|
1504
|
+
<StringDetect attribute="CF Comment" context="ctxCF Comment" String="<!---" />
|
1505
|
+
<StringDetect attribute="HTML Comment" context="ctxHTML Comment" String="<!--" />
|
1506
|
+
<RegExpr attribute="Script Tags" context="ctxCFSCRIPT Tag" String="<[cC][fF][sS][cC][rR][iI][pP][tT]" />
|
1507
|
+
<RegExpr attribute="Script Tags" context="ctxSCRIPT Tag" String="<[sS][cC][rR][iI][pP][tT]" />
|
1508
|
+
<RegExpr attribute="Style Tags" context="ctxSTYLE Tag" String="<[sS][tT][yY][lL][eE]" />
|
1509
|
+
<DetectChar attribute="HTML Entities" context="ctxHTML Entities" char="&" />
|
1510
|
+
<RegExpr attribute="Custom Tags" context="ctxCustom Tag" String="<\/?[cC][fF]_" />
|
1511
|
+
<RegExpr attribute="CFX Tags" context="ctxCFX Tag" String="<\/?[cC][fF][xX]_" />
|
1512
|
+
<RegExpr attribute="CF Tags" context="ctxCF Tag" String="<\/?[cC][fF]" />
|
1513
|
+
<RegExpr attribute="Table Tags" context="ctxTable Tag" String="<\/?([tT][aAhHbBfFrRdD])|([cC][aA][pP][tT])" />
|
1514
|
+
<RegExpr attribute="Anchor Tags" context="ctxAnchor Tag" String="<\/?[aA] " />
|
1515
|
+
<RegExpr attribute="Image Tags" context="ctxImage Tag" String="<\/?[iI][mM][gG] " />
|
1516
|
+
<RegExpr attribute="Tags" context="ctxTag" String="<!?\/?[a-zA-Z0-9_]+" />
|
1517
|
+
</context>
|
1518
|
+
|
1519
|
+
|
1520
|
+
|
1521
|
+
<context name="ctxCFSCRIPT Tag" attribute="Script Tags" lineEndContext="#stay">
|
1522
|
+
<DetectChar attribute="Script Tags" context="ctxCFSCRIPT Block" char=">" />
|
1523
|
+
<DetectChar attribute="Normal Text" context="#stay" char="=" />
|
1524
|
+
<RegExpr attribute="Attribute Values" context="#stay" String=""[^"]*"" />
|
1525
|
+
<RegExpr attribute="Attribute Values" context="#stay" String="'[^']*'" />
|
1526
|
+
</context>
|
1527
|
+
|
1528
|
+
<context name="ctxSCRIPT Tag" attribute="Script Tags" lineEndContext="#stay">
|
1529
|
+
<DetectChar attribute="Script Tags" context="ctxSCRIPT Block" char=">" />
|
1530
|
+
<DetectChar attribute="Normal Text" context="#stay" char="=" />
|
1531
|
+
<RegExpr attribute="Attribute Values" context="#stay" String=""[^"]*"" />
|
1532
|
+
<RegExpr attribute="Attribute Values" context="#stay" String="'[^']*'" />
|
1533
|
+
</context>
|
1534
|
+
|
1535
|
+
<context name="ctxSTYLE Tag" attribute="Style Tags" lineEndContext="#stay">
|
1536
|
+
<DetectChar attribute="Style Tags" context="ctxSTYLE Block" char=">" />
|
1537
|
+
<DetectChar attribute="Normal Text" context="#stay" char="=" />
|
1538
|
+
<RegExpr attribute="Attribute Values" context="#stay" String=""[^"]*"" />
|
1539
|
+
<RegExpr attribute="Attribute Values" context="#stay" String="'[^']*'" />
|
1540
|
+
</context>
|
1541
|
+
|
1542
|
+
|
1543
|
+
|
1544
|
+
<context name="ctxTag" attribute="Tags" lineEndContext="#stay">
|
1545
|
+
<DetectChar attribute="Tags" context="#pop" char=">" />
|
1546
|
+
<DetectChar attribute="Normal Text" context="#stay" char="=" />
|
1547
|
+
<RegExpr attribute="Attribute Values" context="#stay" String=""[^"]*"" />
|
1548
|
+
<RegExpr attribute="Attribute Values" context="#stay" String="'[^']*'" />
|
1549
|
+
</context>
|
1550
|
+
|
1551
|
+
<context name="ctxTable Tag" attribute="Table Tags" lineEndContext="#stay">
|
1552
|
+
<DetectChar attribute="Table Tags" context="#pop" char=">" />
|
1553
|
+
<DetectChar attribute="Normal Text" context="#stay" char="=" />
|
1554
|
+
<RegExpr attribute="Attribute Values" context="#stay" String=""[^"]*"" />
|
1555
|
+
<RegExpr attribute="Attribute Values" context="#stay" String="'[^']*'" />
|
1556
|
+
</context>
|
1557
|
+
|
1558
|
+
<context name="ctxAnchor Tag" attribute="Anchor Tags" lineEndContext="#stay">
|
1559
|
+
<DetectChar attribute="Anchor Tags" context="#pop" char=">" />
|
1560
|
+
<DetectChar attribute="Normal Text" context="#stay" char="=" />
|
1561
|
+
<RegExpr attribute="Attribute Values" context="#stay" String=""[^"]*"" />
|
1562
|
+
<RegExpr attribute="Attribute Values" context="#stay" String="'[^']*'" />
|
1563
|
+
</context>
|
1564
|
+
|
1565
|
+
<context name="ctxImage Tag" attribute="Image Tags" lineEndContext="#stay">
|
1566
|
+
<DetectChar attribute="Image Tags" context="#pop" char=">" />
|
1567
|
+
<DetectChar attribute="Normal Text" context="#stay" char="=" />
|
1568
|
+
<RegExpr attribute="Attribute Values" context="#stay" String=""[^"]*"" />
|
1569
|
+
<RegExpr attribute="Attribute Values" context="#stay" String="'[^']*'" />
|
1570
|
+
</context>
|
1571
|
+
|
1572
|
+
<context name="ctxCF Tag" attribute="CF Tags" lineEndContext="#stay">
|
1573
|
+
<DetectChar attribute="CF Tags" context="#pop" char=">" />
|
1574
|
+
<DetectChar attribute="Normal Text" context="#stay" char="=" />
|
1575
|
+
<RegExpr attribute="Attribute Values" context="#stay" String=""[^"]*"" />
|
1576
|
+
<RegExpr attribute="Attribute Values" context="#stay" String="'[^']*'" />
|
1577
|
+
</context>
|
1578
|
+
|
1579
|
+
<context name="ctxCustom Tag" attribute="Custom Tags" lineEndContext="#stay">
|
1580
|
+
<DetectChar attribute="Custom Tags" context="#pop" char=">" />
|
1581
|
+
<DetectChar attribute="Normal Text" context="#stay" char="=" />
|
1582
|
+
<RegExpr attribute="Attribute Values" context="#stay" String=""[^"]*"" />
|
1583
|
+
<RegExpr attribute="Attribute Values" context="#stay" String="'[^']*'" />
|
1584
|
+
</context>
|
1585
|
+
|
1586
|
+
<context name="ctxCFX Tag" attribute="CFX Tags" lineEndContext="#stay">
|
1587
|
+
<DetectChar attribute="CFX Tags" context="#pop" char=">" />
|
1588
|
+
<DetectChar attribute="Normal Text" context="#stay" char="=" />
|
1589
|
+
<RegExpr attribute="Attribute Values" context="#stay" String=""[^"]*"" />
|
1590
|
+
<RegExpr attribute="Attribute Values" context="#stay" String="'[^']*'" />
|
1591
|
+
</context>
|
1592
|
+
|
1593
|
+
|
1594
|
+
|
1595
|
+
<context name="ctxHTML Comment" attribute="HTML Comment" lineEndContext="#stay">
|
1596
|
+
<StringDetect attribute="CF Comment" context="ctxCF Comment" String="<!---" />
|
1597
|
+
<StringDetect attribute="HTML Comment" context="#pop" String="-->" />
|
1598
|
+
</context>
|
1599
|
+
|
1600
|
+
<context name="ctxCF Comment" attribute="CF Comment" lineEndContext="#stay">
|
1601
|
+
<StringDetect attribute="CF Comment" context="#pop" String="--->" />
|
1602
|
+
</context>
|
1603
|
+
|
1604
|
+
<context name="ctxC Style Comment" attribute="Script Comment" lineEndContext="#stay">
|
1605
|
+
<Detect2Chars attribute="Script Comment" context="#pop" char="*" char1="/" />
|
1606
|
+
</context>
|
1607
|
+
|
1608
|
+
<context name="ctxOne Line Comment" attribute="Script Comment" lineEndContext="#pop" />
|
1609
|
+
|
1610
|
+
<context name="ctxHTML Entities" attribute="HTML Entities" lineEndContext="#pop">
|
1611
|
+
<DetectChar attribute="HTML Entities" context="#pop" char=";" />
|
1612
|
+
</context>
|
1613
|
+
|
1614
|
+
|
1615
|
+
|
1616
|
+
<context name="ctxCFSCRIPT Block" attribute="Normal Text" lineEndContext="#stay">
|
1617
|
+
<Detect2Chars attribute="Script Comment" context="ctxC Style Comment" char="/" char1="*" />
|
1618
|
+
<Detect2Chars attribute="Script Comment" context="ctxOne Line Comment" char="/" char1="/" />
|
1619
|
+
<RegExpr attribute="Script Strings" context="#stay" String=""[^"]*"" />
|
1620
|
+
<RegExpr attribute="Script Strings" context="#stay" String="'[^']*'" />
|
1621
|
+
<Int attribute="Script Numbers" context="#stay" />
|
1622
|
+
<Float attribute="Script Numbers" context="#stay" />
|
1623
|
+
<AnyChar attribute="Script Operators" context="#stay" String="[()[\]=+-*/]+" />
|
1624
|
+
<AnyChar attribute="Brackets" context="#stay" String="{}" />
|
1625
|
+
|
1626
|
+
<keyword attribute="Script Keywords" context="#stay" String="CFSCRIPT Keywords" />
|
1627
|
+
<keyword attribute="Script Functions" context="#stay" String="CFSCRIPT Functions" />
|
1628
|
+
<RegExpr attribute="Script Tags" context="#pop#pop" String="</[cC][fF][sS][cC][rR][iI][pP][tT]>" />
|
1629
|
+
</context>
|
1630
|
+
|
1631
|
+
|
1632
|
+
|
1633
|
+
<context name="ctxSCRIPT Block" attribute="Normal Text" lineEndContext="#stay">
|
1634
|
+
<Detect2Chars attribute="Script Comment" context="ctxC Style Comment" char="/" char1="*" />
|
1635
|
+
<Detect2Chars attribute="Script Comment" context="ctxOne Line Comment" char="/" char1="/" />
|
1636
|
+
<RegExpr attribute="Script Strings" context="#stay" String=""[^"]*"" />
|
1637
|
+
<RegExpr attribute="Script Strings" context="#stay" String="'[^']*'" />
|
1638
|
+
<Int attribute="Script Numbers" context="#stay" />
|
1639
|
+
<Float attribute="Script Numbers" context="#stay" />
|
1640
|
+
<AnyChar attribute="Script Operators" context="#stay" String="[()[\]=+-*/]+" />
|
1641
|
+
<AnyChar attribute="Brackets" context="#stay" String="{}" />
|
1642
|
+
|
1643
|
+
<keyword attribute="Script Keywords" context="#stay" String="Script Keywords" />
|
1644
|
+
<keyword attribute="Script Objects" context="#stay" String="Script Objects" />
|
1645
|
+
<keyword attribute="Script Functions" context="#stay" String="Script Methods" />
|
1646
|
+
<RegExpr attribute="Script Tags" context="#pop#pop" String="</[sS][cC][rR][iI][pP][tT]>" />
|
1647
|
+
</context>
|
1648
|
+
|
1649
|
+
|
1650
|
+
|
1651
|
+
<context name="ctxSTYLE Block" attribute="Style Selectors" lineEndContext="#stay">
|
1652
|
+
<Detect2Chars attribute="Script Comment" context="ctxC Style Comment" char="/" char1="*" />
|
1653
|
+
<DetectChar attribute="Brackets" context="ctxStyle Properties" char="{" />
|
1654
|
+
<RegExpr attribute="Style Tags" context="#pop#pop" String="</[sS][tT][yY][lL][eE]>" />
|
1655
|
+
</context>
|
1656
|
+
|
1657
|
+
<context name="ctxStyle Properties" attribute="Style Properties" lineEndContext="#stay">
|
1658
|
+
<DetectChar attribute="Brackets" context="#pop" char="}" />
|
1659
|
+
<Detect2Chars attribute="Script Comment" context="ctxC Style Comment" char="/" char1="*" />
|
1660
|
+
<DetectChar attribute="Normal Text" context="ctxStyle Values" char=":" />
|
1661
|
+
</context>
|
1662
|
+
|
1663
|
+
<context name="ctxStyle Values" attribute="Style Values" lineEndContext="#pop">
|
1664
|
+
<DetectChar attribute="Normal Text" context="#pop" char=";" />
|
1665
|
+
<DetectChar attribute="Normal Text" context="#stay" char="," />
|
1666
|
+
<Int attribute="Numbers" context="#stay" />
|
1667
|
+
<Float attribute="Numbers" context="#stay" />
|
1668
|
+
<RegExpr attribute="Numbers" context="#stay" String="#([0-9a-fA-F]{3})|([0-9a-fA-F]{6})" />
|
1669
|
+
<RegExpr attribute="Attribute Values" context="#stay" String=""[^"]*"" />
|
1670
|
+
<RegExpr attribute="Attribute Values" context="#stay" String="'[^']*'" />
|
1671
|
+
</context>
|
1672
|
+
|
1673
|
+
</contexts>
|
1674
|
+
|
1675
|
+
<itemDatas>
|
1676
|
+
|
1677
|
+
<itemData name="Normal Text" defStyleNum="dsNormal" color="#000000" selColor="#ffffff" bold="0" italic="0" />
|
1678
|
+
<itemData name="Tags" defStyleNum="dsNormal" color="#000080" selColor="#ffffff" bold="0" italic="0" />
|
1679
|
+
<itemData name="Table Tags" defStyleNum="dsNormal" color="#008080" selColor="#ffffff" bold="0" italic="0" />
|
1680
|
+
<itemData name="Script Tags" defStyleNum="dsNormal" color="#800000" selColor="#ffffff" bold="0" italic="0" />
|
1681
|
+
<itemData name="Image Tags" defStyleNum="dsNormal" color="#800080" selColor="#ffffff" bold="0" italic="0" />
|
1682
|
+
<itemData name="Style Tags" defStyleNum="dsNormal" color="#800080" selColor="#ffffff" bold="0" italic="0" />
|
1683
|
+
<itemData name="Anchor Tags" defStyleNum="dsNormal" color="#008000" selColor="#ffffff" bold="0" italic="0" />
|
1684
|
+
<itemData name="Attribute Values" defStyleNum="dsNormal" color="#0000ff" selColor="#ffffff" bold="0" italic="0" />
|
1685
|
+
<itemData name="HTML Comment" defStyleNum="dsComment" color="#008000" selColor="#999999" bold="0" italic="0" />
|
1686
|
+
<itemData name="CF Comment" defStyleNum="dsComment" color="#ff9900" selColor="#999999" bold="0" italic="0" />
|
1687
|
+
<itemData name="Script Comment" defStyleNum="dsComment" color="#ff9900" selColor="#999999" bold="0" italic="0" />
|
1688
|
+
<itemData name="CF Tags" defStyleNum="dsNormal" color="#800000" selColor="#ffffff" bold="0" italic="0" />
|
1689
|
+
<itemData name="Custom Tags" defStyleNum="dsNormal" color="#cc6666" selColor="#ffffff" bold="0" italic="0" />
|
1690
|
+
<itemData name="CFX Tags" defStyleNum="dsNormal" color="#008000" selColor="#ffffff" bold="0" italic="0" />
|
1691
|
+
<itemData name="Numbers" defStyleNum="dsNormal" color="#0000ff" selColor="#ffffff" bold="0" italic="0" />
|
1692
|
+
<itemData name="HTML Entities" defStyleNum="dsNormal" color="#000000" selColor="#ffffff" bold="1" italic="0" />
|
1693
|
+
<itemData name="Style Selectors" defStyleNum="dsNormal" color="#ff00ff" selColor="#ffffff" bold="0" italic="0" />
|
1694
|
+
<itemData name="Style Properties" defStyleNum="dsNormal" color="#000080" selColor="#ffffff" bold="0" italic="0" />
|
1695
|
+
<itemData name="Style Values" defStyleNum="dsNormal" color="#ff0000" selColor="#ffffff" bold="0" italic="0" />
|
1696
|
+
<itemData name="Brackets" defStyleNum="dsNormal" color="#000080" selColor="#ffffff" bold="1" italic="0" />
|
1697
|
+
<itemData name="Script Numbers" defStyleNum="dsNormal" color="#ff00ff" selColor="#ffffff" bold="0" italic="0" />
|
1698
|
+
<itemData name="Script Strings" defStyleNum="dsNormal" color="#008080" selColor="#ffffff" bold="0" italic="0" />
|
1699
|
+
<itemData name="Script Operators" defStyleNum="dsNormal" color="#0000ff" selColor="#ffffff" bold="0" italic="0" />
|
1700
|
+
<itemData name="Script Keywords" defStyleNum="dsNormal" color="#0000cc" selColor="#ffffff" bold="1" italic="0" />
|
1701
|
+
<itemData name="Script Functions" defStyleNum="dsNormal" color="#000080" selColor="#ffffff" bold="1" italic="0" />
|
1702
|
+
<itemData name="Script Objects" defStyleNum="dsNormal" color="#0000cc" selColor="#ffffff" bold="1" italic="0" />
|
1703
|
+
|
1704
|
+
</itemDatas>
|
1705
|
+
|
1706
|
+
</highlighting>
|
1707
|
+
|
1708
|
+
<general>
|
1709
|
+
|
1710
|
+
<comments>
|
1711
|
+
|
1712
|
+
<comment name="multiLine" start="<!--" end="-->" />
|
1713
|
+
<comment name="multiLine" start="/*" end="*/" />
|
1714
|
+
<comment name="singleLine" start="//" />
|
1715
|
+
|
1716
|
+
</comments>
|
1717
|
+
|
1718
|
+
<keywords casesensitive="0" weakDeliminator="-" />
|
1719
|
+
|
1720
|
+
</general>
|
1721
|
+
|
1722
|
+
</language>
|
1723
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
1724
|
+
<!DOCTYPE language SYSTEM "language.dtd">
|
1725
|
+
<!-- Author: Werner Braun <wb@o3-software.de> -->
|
1726
|
+
<!-- 29.05.2003 wb mailed to the kate-team (cullmann) -->
|
1727
|
+
<!-- 23.05.2003 wb added *.bro File-Type for GPCP Browser output-->
|
1728
|
+
<!-- 09.05.2003 wb nested comments allowed (maximum two level nesting) -->
|
1729
|
+
<!-- 07.04.2003 wb IN Problem solved -->
|
1730
|
+
<!-- 06.05.2003 wb NEW without ( -->
|
1731
|
+
<!-- 22.04.2003 wb Minor bugfixes -->
|
1732
|
+
<!-- 19.04.2003 wb Some more Enhancements -->
|
1733
|
+
<!-- 18.04.2003 wb Enhancenment for Maior / Minor Comments and Full / ReadOnly Exports, Folds for Procedures, Records, Comments -->
|
1734
|
+
<!-- 17.04.2003 wb Enhancements for Relation and Operators -->
|
1735
|
+
<language name="Component-Pascal" version="1.05" kateversion="2.1" section="Sources"
|
1736
|
+
extensions="*.cp;*.bro" mimetype="text/x-component-pascal"
|
1737
|
+
author="Werner Braun (wb@o3-software.de)" license="">
|
1738
|
+
<highlighting>
|
1739
|
+
<list name="keywords">
|
1740
|
+
<item> BEGIN </item>
|
1741
|
+
<item> BY </item>
|
1742
|
+
<item> CASE </item>
|
1743
|
+
<item> CLOSE </item>
|
1744
|
+
<item> CONST </item>
|
1745
|
+
<item> DO </item>
|
1746
|
+
<item> ELSE </item>
|
1747
|
+
<item> ELSIF </item>
|
1748
|
+
<item> END </item>
|
1749
|
+
<item> FOR </item>
|
1750
|
+
<item> IF </item>
|
1751
|
+
<item> IMPORT </item>
|
1752
|
+
<item> LOOP </item>
|
1753
|
+
<item> MODULE </item>
|
1754
|
+
<item> NEW </item>
|
1755
|
+
<item> OF </item>
|
1756
|
+
<item> OUT </item>
|
1757
|
+
<item> PROCEDURE </item>
|
1758
|
+
<item> REPEAT </item>
|
1759
|
+
<item> THEN </item>
|
1760
|
+
<item> TO </item>
|
1761
|
+
<item> TYPE </item>
|
1762
|
+
<item> UNTIL </item>
|
1763
|
+
<item> VAR </item>
|
1764
|
+
<item> WHILE </item>
|
1765
|
+
<item> WITH </item>
|
1766
|
+
</list>
|
1767
|
+
<list name="exits">
|
1768
|
+
<item> ASSERT </item>
|
1769
|
+
<item> EXIT </item>
|
1770
|
+
<item> HALT </item>
|
1771
|
+
<item> RETURN </item>
|
1772
|
+
</list>
|
1773
|
+
<list name="types">
|
1774
|
+
<item> ANYPTR </item>
|
1775
|
+
<item> ANYREC </item>
|
1776
|
+
<item> ARRAY </item>
|
1777
|
+
<item> BOOLEAN </item>
|
1778
|
+
<item> SHORTCHAR </item>
|
1779
|
+
<item> CHAR </item>
|
1780
|
+
<item> BYTE </item>
|
1781
|
+
<item> SHORTINT </item>
|
1782
|
+
<item> INTEGER </item>
|
1783
|
+
<item> LONGINT </item>
|
1784
|
+
<item> POINTER </item>
|
1785
|
+
<item> RECORD </item>
|
1786
|
+
<item> SHORTREAL </item>
|
1787
|
+
<item> REAL </item>
|
1788
|
+
<item> SET </item>
|
1789
|
+
</list>
|
1790
|
+
<list name="attributes">
|
1791
|
+
<item> ABSTRACT </item>
|
1792
|
+
<item> EMPTY </item>
|
1793
|
+
<item> EXTENSIBLE </item>
|
1794
|
+
<item> LIMITED </item>
|
1795
|
+
</list>
|
1796
|
+
<list name="builtins">
|
1797
|
+
<item> ABS </item>
|
1798
|
+
<item> ASH </item>
|
1799
|
+
<item> BITS </item>
|
1800
|
+
<item> CAP </item>
|
1801
|
+
<item> CHR </item>
|
1802
|
+
<item> DEC </item>
|
1803
|
+
<item> ENTIER </item>
|
1804
|
+
<item> EXCL </item>
|
1805
|
+
<item> INC </item>
|
1806
|
+
<item> INCL </item>
|
1807
|
+
<item> LEN </item>
|
1808
|
+
<item> LONG </item>
|
1809
|
+
<item> MAX </item>
|
1810
|
+
<item> MIN </item>
|
1811
|
+
<item> ODD </item>
|
1812
|
+
<item> ORD </item>
|
1813
|
+
<item> SHORT </item>
|
1814
|
+
<item> SIZE </item>
|
1815
|
+
</list>
|
1816
|
+
<list name="specials">
|
1817
|
+
<item> FALSE </item>
|
1818
|
+
<item> INF </item>
|
1819
|
+
<item> NIL </item>
|
1820
|
+
<item> TRUE </item>
|
1821
|
+
</list>
|
1822
|
+
<contexts>
|
1823
|
+
<context attribute="Normal Text" lineEndContext="#stay" name="Normal">
|
1824
|
+
<StringDetect attribute="CommentMaior" context="Comment1" String="(**" beginRegion="Comment"/>
|
1825
|
+
<Detect2Chars attribute="CommentMinor" context="Comment2" char="(" char1="*" beginRegion="Comment"/>
|
1826
|
+
<DetectChar attribute="String" context="String1" char=""" />
|
1827
|
+
<DetectChar attribute="String" context="String2" char="'" />
|
1828
|
+
<RegExpr attribute="Keyword" context="#stay" String="PROCEDURE\s" beginRegion="Proc"/>
|
1829
|
+
<RegExpr attribute="Normal Text" context="#stay" String="ABSTRACT;|EMPTY;|END\s*[A-Za-z][A-Za-z0-9_]*\;" endRegion="Proc"/>
|
1830
|
+
<RegExpr attribute="Type" context="#stay" String="RECORD" beginRegion="Rec"/>
|
1831
|
+
<RegExpr attribute="Keyword" context="#stay" String="END" endRegion="Rec"/>
|
1832
|
+
<StringDetect attribute="MemAlloc" context="#stay" String="NEW"/>
|
1833
|
+
<keyword attribute="Keyword" context="#stay" String="keywords"/>
|
1834
|
+
<keyword attribute="Exit" context="#stay" String="exits"/>
|
1835
|
+
<keyword attribute="Type" context="#stay" String="types"/>
|
1836
|
+
<keyword attribute="Attribute" context="#stay" String="attributes"/>
|
1837
|
+
<keyword attribute="Builtin" context="#stay" String="builtins"/>
|
1838
|
+
<keyword attribute="SpecialValues" context="#stay" String="specials"/>
|
1839
|
+
<RegExpr attribute="Integer" context="#stay" String="\s[\+|\-]{0,1}[0-9]([0-9]*|[0-9A-F]*(H|L))"/>
|
1840
|
+
<Float attribute="Float" context="#stay"/>
|
1841
|
+
<RegExpr attribute="Char" context="#stay" String="\s[0-9][0-9A-F]*X"/>
|
1842
|
+
<RegExpr attribute="ExportFull" context="#stay" String="[A-Za-z][A-Za-z0-9_]*\*"/>
|
1843
|
+
<RegExpr attribute="ExportReadOnly" context="#stay" String="[A-Za-z][A-Za-z0-9_]*\-"/>
|
1844
|
+
<RegExpr attribute="Relation" context="#stay" String="\s(=|#|<|<=|>|>=|IN\s|IS)"/>
|
1845
|
+
<RegExpr attribute="Operator" context="#stay" String="\s(\+|\-|OR|\*|/|DIV|MOD|\&)"/>
|
1846
|
+
</context>
|
1847
|
+
<context attribute="CommentMaior" lineEndContext="#stay" name="Comment1">
|
1848
|
+
<Detect2Chars attribute="CommentMaior" context="#pop" char="*" char1=")" endRegion="Comment"/>
|
1849
|
+
<Detect2Chars attribute="CommentMinor" context="CommentN" char="(" char1="*"/>
|
1850
|
+
</context>
|
1851
|
+
<context attribute="CommentMinor" lineEndContext="#stay" name="Comment2">
|
1852
|
+
<Detect2Chars attribute="CommentMinor" context="#pop" char="*" char1=")" endRegion="Comment"/>
|
1853
|
+
<Detect2Chars attribute="CommentMinor" context="CommentN" char="(" char1="*"/>
|
1854
|
+
</context>
|
1855
|
+
<context attribute="CommentMinor" lineEndContext="#stay" name="CommentN">
|
1856
|
+
<Detect2Chars attribute="CommentMinor" context="#pop" char="*" char1=")"/>
|
1857
|
+
<Detect2Chars attribute="CommentMinor" context="CommentN2" char="(" char1="*"/>
|
1858
|
+
</context>
|
1859
|
+
<context attribute="CommentMinor" lineEndContext="#stay" name="CommentN2">
|
1860
|
+
<Detect2Chars attribute="CommentMinor" context="#pop" char="*" char1=")"/>
|
1861
|
+
</context>
|
1862
|
+
<context attribute="String" lineEndContext="#stay" name="String1">
|
1863
|
+
<DetectChar attribute="String" context="#pop" char="""/>
|
1864
|
+
</context>
|
1865
|
+
<context attribute="String" lineEndContext="#stay" name="String2">
|
1866
|
+
<DetectChar attribute="String" context="#pop" char="'"/>
|
1867
|
+
</context>
|
1868
|
+
</contexts>
|
1869
|
+
<itemDatas>
|
1870
|
+
<itemData name="Normal Text" defStyleNum="dsNormal" />
|
1871
|
+
<itemData name="CommentMaior" defStyleNum="dsComment" />
|
1872
|
+
<itemData name="CommentMinor" defStyleNum="dsComment" />
|
1873
|
+
<itemData name="String" defStyleNum="dsString" />
|
1874
|
+
<itemData name="Keyword" defStyleNum="dsKeyword" />
|
1875
|
+
<itemData name="MemAlloc" defStyleNum="dsKeyword" />
|
1876
|
+
<itemData name="Exit" defStyleNum="dsKeyword"/>
|
1877
|
+
<itemData name="Type" defStyleNum="dsDataType"/>
|
1878
|
+
<itemData name="Attribute" defStyleNum="dsOthers"/>
|
1879
|
+
<itemData name="Builtin" defStyleNum="dsNormal"/>
|
1880
|
+
<itemData name="Integer" defStyleNum="dsBaseN"/>
|
1881
|
+
<itemData name="Float" defStyleNum="dsFloat" />
|
1882
|
+
<itemData name="Char" defStyleNum="dsChar" />
|
1883
|
+
<itemData name="SpecialValues" defStyleNum="dsDecVal"/>
|
1884
|
+
<itemData name="ExportFull" defStyleNum="dsOthers"/>
|
1885
|
+
<itemData name="ExportReadOnly" defStyleNum="dsOthers"/>
|
1886
|
+
<itemData name="Relation" defStyleNum="dsNormal"/>
|
1887
|
+
<itemData name="Operator" defStyleNum="dsNormal"/>
|
1888
|
+
</itemDatas>
|
1889
|
+
</highlighting>
|
1890
|
+
<general>
|
1891
|
+
<keywords casesensitive="1" />
|
1892
|
+
<comments>
|
1893
|
+
<comment name="multiLine" start="(*" end="*)" />
|
1894
|
+
</comments>
|
1895
|
+
</general>
|
1896
|
+
</language>
|
1897
|
+
|