packages feed

highlighting-kate 0.5.15 → 0.6.4

raw patch · 283 files changed

Files

Makefile view
@@ -1,7 +1,7 @@ # The build procedure, after a fresh checkout from the repository:  #     make prep-#     cabal install+#     stack install --test # # 'make prep' generates the Haskell syntax parsers from kate # xml syntax definitions.@@ -11,27 +11,22 @@ .PHONY: prep all test clean distclean install prof  all: prep-	cabal configure -fexecutable --enable-tests-	cabal build+	stack build --install-ghc --test  prof:-	cabal configure --enable-library-profiling --enable-executable-profiling --disable-optimization -fexecutable-	cabal build+	stack build --library-profiling --executable-profiling --fast -prep: clean ParseSyntaxFiles $(XMLS)-	./ParseSyntaxFiles xml+prep: clean $(XMLS)+	stack install --install-ghc hxt regex-posix+	stack runghc ./ParseSyntaxFiles.hs xml 	@echo "Syntax parsers have been generated." 	@echo "You may now use cabal to build the package."  install:-	cabal install+	stack install  test:-	cabal test--ParseSyntaxFiles: ParseSyntaxFiles.hs-	cabal install HXT regex-posix-	cabal exec ghc -- --make -Wall ParseSyntaxFiles.hs  # requires HXT >= 9.0.0+	stack test  clean: 	rm -rf Text/Highlighting/Kate/Syntax/*
ParseSyntaxFiles.hs view
@@ -121,6 +121,9 @@                  names   let languageExtensions = "[" ++ (intercalate ", " $ map (\name ->         "(" ++ show name ++ ", " ++ name ++ ".syntaxExtensions)") names) ++ "]"+  let languageFullNames = "[" ++ (intercalate ", " $ map (\name ->+        "(" ++ show name ++ ", " +++                 name ++ ".syntaxName)") names) ++ "]"   syntaxFileTemplate <- liftM toString $ B.readFile (syntaxFile <.> "in")   let filledTemplate = fillTemplate 0                           [("imports",imports),@@ -128,6 +131,7 @@                            ("supportedlanguages", intercalate ", " $ map (\x ->                                 "@" ++ map toLower x ++ "@") names),                            ("languageExtensions",languageExtensions),+                           ("languageFullNames",languageFullNames),                            ("cases",cases)] syntaxFileTemplate   B.writeFile syntaxFile $ fromString filledTemplate @@ -194,13 +198,30 @@        Just "dsDecVal" -> DecValTok        Just "dsBaseN" -> BaseNTok        Just "dsFloat" -> FloatTok+       Just "dsConstant" -> ConstantTok        Just "dsChar" -> CharTok+       Just "dsSpecialChar" -> SpecialCharTok        Just "dsString" -> StringTok+       Just "dsVerbatimString" -> VerbatimStringTok+       Just "dsSpecialString" -> SpecialStringTok+       Just "dsImport" -> ImportTok        Just "dsComment" -> CommentTok+       Just "dsDocumentation" -> DocumentationTok+       Just "dsAnnotation" -> AnnotationTok+       Just "dsCommentVar" -> CommentVarTok        Just "dsOthers" -> OtherTok-       Just "dsAlert" -> AlertTok        Just "dsFunction" -> FunctionTok+       Just "dsVariable" -> VariableTok+       Just "dsControlFlow" -> ControlFlowTok+       Just "dsOperator" -> OperatorTok+       Just "dsBuiltIn" -> BuiltInTok+       Just "dsExtension" -> ExtensionTok+       Just "dsPreprocessor" -> PreprocessorTok+       Just "dsAttribute" -> AttributeTok        Just "dsRegionMarker" -> RegionMarkerTok+       Just "dsInformation" -> InformationTok+       Just "dsWarning" -> WarningTok+       Just "dsAlert" -> AlertTok        Just "dsError" -> ErrorTok        _ -> NormalTok @@ -312,6 +333,14 @@             "RegExpr"          -> if parserDynamic parser                                      then "pRegExprDynamic " ++ show (parserString parser)                                      else "pRegExpr " ++ compiledRegexName (parserString parser)+            "WordDetect"      -> if parserDynamic parser+                                     then "pRegExprDynamic " ++ wordRe+                                     else "pRegExpr (compileRegex " ++ show caseSensitive ++ " " ++ show wordRe ++ ")"+                                  where wordRe = "\\b" ++ concatMap esc (parserString parser) ++ "\\b"+                                        esc c = if c `elem` "[]{}^$\\-*.+?"+                                                   then ['\\',c]+                                                   else [c]+                                        caseSensitive = synCaseSensitive syntax             "keyword"          -> "pKeyword " ++ show (keywordDelims $ synKeywordAttr syntax) ++ " " ++ list                                      where list = case lookup string (synLists syntax) of                                                    Just _   -> listName string@@ -380,6 +409,7 @@     "HTML" -> "Html"     "Javadoc" -> "Javadoc"     "JavaScript" -> "Javascript"+    "LaTeX" -> "Latex"     "SQL (MySQL)" -> "SqlMysql"     "DoxygenLua" -> "Doxygenlua"     "reStructuredText" -> "Restructuredtext"@@ -484,7 +514,7 @@                                            , contLineEndContext = if null lineEndContext then "#stay" else lineEndContext                                            , contLineBeginContext = if null lineBeginContext then "#stay" else lineBeginContext                                            , contFallthrough = vBool False fallthrough-                                           , contFallthroughContext = if null fallthroughContext then "#stay" else fallthroughContext+                                           , contFallthroughContext = if null fallthroughContext then "#pop" else fallthroughContext                                            , contDynamic = vBool False dynamic                                            , contParsers = parsers } 
README.md view
@@ -1,130 +1,26 @@ highlighting-kate------------------+================= +**This library has been deprecated. Please use skylighting+instead+([Hackage](https://hackage.haskell.org/package/skylighting)+|+[GitHub](https://github.com/jgm/skylighting)).**+ A Haskell source code highlighting library, based on Kate's syntax description files (http://kate-editor.org/), now [part of the KDE Framework's "KTextEditor" component](http://kate-editor.org/2013/11/11/kate-on-5-the-future-of-ktexteditor-and-kate-part/). It can produce both HTML and LaTeX output. -Currently, the following languages/formats are supported:-- Abc-- Actionscript-- Ada-- Agda-- Apache-- Asn1-- Asp-- Awk-- Bash-- Bibtex-- Boo-- C-- Changelog-- Clojure-- Cmake-- Coffeescript-- Coldfusion-- Commonlisp-- Cpp-- Cs-- Css-- Curry-- D-- Diff-- Djangotemplate-- Dockerfile-- Dot-- Doxygen-- Dtd-- Eiffel-- Email-- Erlang-- Fasm-- Fortran-- Fsharp-- Gcc-- Glsl-- Gnuassembler-- Go-- Haskell-- Haxe-- Html-- Idris-- Ini-- Isocpp-- Java-- Javadoc-- Javascript-- Json-- Jsp-- Julia-- Latex-- Lex-- Lilypond-- LiterateCurry-- LiterateHaskell-- Lua-- M4-- Makefile-- Mandoc-- Markdown-- Mathematica-- Matlab-- Maxima-- Mediawiki-- Metafont-- Mips-- Modula2-- Modula3-- Monobasic-- Nasm-- Noweb-- Objectivec-- Objectivecpp-- Ocaml-- Octave-- Opencl-- Pascal-- Perl-- Php-- Pike-- Postscript-- Prolog-- Pure-- Python-- R-- Relaxng-- Relaxngcompact-- Rest-- Rhtml-- Roff-- Ruby-- Rust-- Scala-- Scheme-- Sci-- Sed-- Sgml-- Sql-- SqlMysql-- SqlPostgresql-- Tcl-- Tcsh-- Texinfo-- Verilog-- Vhdl-- Xml-- Xorg-- Xslt-- Xul-- Yacc-- Yaml-- Zsh+Building+-------- -To install, use the cabal tool:+To install, use the [stack] tool: -    cabal install+    stack install +[stack]:  http://docs.haskellstack.org/en/stable/README/+ Note:  If you have checked out the source from the git repository, you will first need to do: @@ -135,20 +31,30 @@  To generate the documentation: -    cabal haddock+    stack haddock  To run the test suite: -    cabal test+    stack test  For an example of the use of the library, see highlighting-kate.hs.-To compile this program along with the library, specify the 'executable'-flag in the configure step above: -    cabal install -fexecutable+By default, this installation method will install an executable,+`highlighting-kate`, along with the library.  Normally this is+put into `$HOME/.local/bin`.  To avoid creation of the+executable, use `--flag highlighting-kate:-executable` with the+`stack` commands above. -To run `highlighting-kate`, specify the language name using -s:+Using+----- +If you want to use highlighting-kate as a library in a Haskell+program, see the API documentation at+<https://hackage.haskell.org/package/highlighting-kate>.++To run the `highlighting-kate` program, specify the language+name using `-s`:+     highlighting-kate -s haskell highlighting-kate.hs > example.html  If you don't specify a language name, `highlighting-kate` will try to guess it@@ -165,6 +71,9 @@ Alert, Error). For more fine-grained highlighting, users may wish to create their own CSS files that use language-specific classes. +Adding syntax definitions+-------------------------+ The parsers in Text/Highlighting/Kate/Syntax were automatically generated from the Kate syntax definitions in the xml directory. You may modify the xml files in this directory, or add new ones, and then regenerate@@ -172,11 +81,8 @@      make prep -or--    runghc ParseSyntaxFiles.hs xml- Note that ParseSyntaxFiles.hs requires the HXT package (>= 9.0.0).+`make prep` should install this automatically.  To get the current Kate syntax highlighting files, clone the ktexteditor repository:@@ -188,7 +94,7 @@     src/syntax/data  There is information on the syntax highlighting definitions at-<http://docs.kde.org/stable/en/applications/kate/highlight.html>.  See also+<https://docs.kde.org/stable5/en/applications/katepart/highlight.html>.  See also <http://kate-editor.org/2005/03/24/writing-a-syntax-highlighting-file/>.  Thanks are due to all the authors of these syntax definitions.@@ -201,7 +107,4 @@ - perl.xml:  Small regex change due to differences in regex engines. - php.xml:  Added fallthrough so `<?php` prefix not needed. - tcsh.xml: Replace invalid character assignment(?) of regex '\s' with ' '.--- base report bugs on the GitHub issue tracker:-<https://github.com/jgm/highlighting-kate/issues>. 
Text/Highlighting/Kate/Common.hs view
@@ -12,10 +12,11 @@ -}  module Text.Highlighting.Kate.Common where+import Data.ByteString.UTF8 (fromString, toString) #ifdef _PCRE_LIGHT-import Text.Regex.PCRE.Light.Char8+import Text.Regex.PCRE.Light+import Data.ByteString (ByteString) #else-import Data.ByteString.UTF8 (fromString, toString) import System.IO.Unsafe (unsafePerformIO) import Text.Regex.PCRE.ByteString #endif@@ -192,7 +193,7 @@ compileRegex caseSensitive regexpStr = #ifdef _PCRE_LIGHT   let opts = [anchored, utf8] ++ [caseless | not caseSensitive]-  in  compile ('.' : convertOctal regexpStr) opts+  in  compile (fromString ('.' : convertOctal regexpStr)) opts #else   let opts = compAnchored + compUTF8 +                if caseSensitive then 0 else compCaseless@@ -205,7 +206,10 @@  matchRegex :: Regex -> String -> KateParser (Maybe [String]) #ifdef _PCRE_LIGHT-matchRegex r s = return $ match r s [exec_notempty]+matchRegex r s = return $ toString' $ match r (fromString s) [exec_notempty]+    where toString' :: Maybe [ByteString] -> Maybe [String]+          toString' (Just xs) = Just $ fmap toString xs+          toString' Nothing = Nothing #else matchRegex r s = case unsafePerformIO (regexec r (fromString s)) of                       Right (Just (_, mat, _ , capts)) -> return $
Text/Highlighting/Kate/Format/HTML.hs view
@@ -32,8 +32,17 @@ -- 'DecValTok' = @dv@, 'BaseNTok' = @bn@, 'FloatTok' = @fl@, -- 'CharTok' = @ch@, 'StringTok' = @st@, 'CommontTok' = @co@, -- 'OtherTok' = @ot@, 'AlertTok' = @al@, 'FunctionTok' = @fu@,--- 'RegionMarkerTok' = @re@, 'ErrorTok' = @er@. A 'NormalTok'--- is not marked up at all.+-- 'RegionMarkerTok' = @re@, 'ErrorTok' = @er@,+-- 'ConstantTok' = @cn@, 'SpecialCharTok' = @sc@,+-- 'VerbatimStringTok' = @vs@, 'SpecialStringTok' = @ss@,+-- 'ImportTok' = @im@, 'DocumentationTok' = @do@,+-- 'AnnotationTok' = @an@, 'CommentVarTok' = @cv@,+-- 'VariableTok' = @va@, 'ControlFlowTok' = @cf@,+-- 'OperatorTok' = @op@, 'BuiltInTok' = @bu@,+-- 'ExtensionTok' = @ex@, 'PreprocessorTok' = @pp@,+-- 'AttributeTok' = @at@, 'InformationTok' = @in@,+-- 'WarningTok' = @wa@.+-- A 'NormalTok' is not marked up at all. formatHtmlInline :: FormatOptions -> [SourceLine] -> Html formatHtmlInline opts = (H.code ! A.class_ (toValue $ unwords                                                     $ "sourceCode" : codeClasses opts))@@ -62,6 +71,23 @@ short FunctionTok       = "fu" short RegionMarkerTok   = "re" short ErrorTok          = "er"+short ConstantTok       = "cn"+short SpecialCharTok    = "sc"+short VerbatimStringTok = "vs"+short SpecialStringTok  = "ss"+short ImportTok         = "im"+short DocumentationTok  = "do"+short AnnotationTok     = "an"+short CommentVarTok     = "cv"+short VariableTok       = "va"+short ControlFlowTok    = "cf"+short OperatorTok       = "op"+short BuiltInTok        = "bu"+short ExtensionTok      = "ex"+short PreprocessorTok   = "pp"+short AttributeTok      = "at"+short InformationTok    = "in"+short WarningTok        = "wa" short NormalTok         = ""  sourceLineToHtml :: FormatOptions -> SourceLine -> Html@@ -124,10 +150,13 @@ toCss :: (TokenType, TokenStyle) -> String toCss (t,tf) = "code > span." ++ short t ++ " { "                 ++ colorspec ++ backgroundspec ++ weightspec ++ stylespec-                ++ decorationspec ++ "}"+                ++ decorationspec ++ "} /* " ++ showTokenType t ++ " */"   where colorspec = maybe "" (\col -> "color: " ++ fromColor col ++ "; ") $ tokenColor tf         backgroundspec = maybe "" (\col -> "background-color: " ++ fromColor col ++ "; ") $ tokenBackground tf         weightspec = if tokenBold tf then "font-weight: bold; " else ""         stylespec  = if tokenItalic tf then "font-style: italic; " else ""         decorationspec = if tokenUnderline tf then "text-decoration: underline; " else ""+        showTokenType t = case reverse (show t) of+                             'k':'o':'T':xs -> reverse xs+                             _              -> "" 
Text/Highlighting/Kate/Styles.hs view
@@ -15,26 +15,46 @@ where import Text.Highlighting.Kate.Types +color :: Int -> Maybe Color+color = toColor+ -- | Style based on pygments's default colors. pygments :: Style pygments = Style{     backgroundColor = Nothing   , defaultColor = Nothing-  , lineNumberColor = toColor "#aaaaaa"+  , lineNumberColor = color 0xaaaaaa   , lineNumberBackgroundColor = Nothing   , tokenStyles =-    [ (KeywordTok, defStyle{ tokenColor = toColor "#007020", tokenBold = True })-    , (DataTypeTok, defStyle{ tokenColor = toColor "#902000" })-    , (DecValTok, defStyle{ tokenColor = toColor "#40a070" })-    , (BaseNTok, defStyle{ tokenColor = toColor "#40a070" })-    , (FloatTok, defStyle{ tokenColor = toColor "#40a070" })-    , (CharTok, defStyle{ tokenColor = toColor "#4070a0" })-    , (StringTok, defStyle{ tokenColor = toColor "#4070a0" })-    , (CommentTok, defStyle{ tokenColor = toColor "#60a0b0", tokenItalic = True })-    , (OtherTok, defStyle{ tokenColor = toColor "#007020" })-    , (AlertTok, defStyle{ tokenColor = toColor "#ff0000", tokenBold = True })-    , (FunctionTok, defStyle{ tokenColor = toColor "#06287e" })-    , (ErrorTok, defStyle{ tokenColor = toColor "#ff0000", tokenBold = True })+    [ (KeywordTok, defStyle{ tokenColor = color 0x007020, tokenBold = True })+    , (DataTypeTok, defStyle{ tokenColor = color 0x902000 })+    , (DecValTok, defStyle{ tokenColor = color 0x40a070 })+    , (BaseNTok, defStyle{ tokenColor = color 0x40a070 })+    , (FloatTok, defStyle{ tokenColor = color 0x40a070 })+    , (CharTok, defStyle{ tokenColor = color 0x4070a0 })+    , (StringTok, defStyle{ tokenColor = color 0x4070a0 })+    , (CommentTok, defStyle{ tokenColor = color 0x60a0b0, tokenItalic = True })+    , (OtherTok, defStyle{ tokenColor = color 0x007020 })+    , (AlertTok, defStyle{ tokenColor = color 0xff0000, tokenBold = True })+    , (FunctionTok, defStyle{ tokenColor = color 0x06287e })+    , (ErrorTok, defStyle{ tokenColor = color 0xff0000, tokenBold = True })+    , (WarningTok, defStyle{ tokenColor = color 0x60a0b0, tokenItalic = True, tokenBold = True })+    , (ConstantTok, defStyle{ tokenColor = color 0x880000 })+    , (SpecialCharTok, defStyle{ tokenColor = color 0x4070a0 })+    , (VerbatimStringTok, defStyle{ tokenColor = color 0x4070a0 })+    , (SpecialStringTok, defStyle{ tokenColor = color 0xBB6688 })+    , (ImportTok, defStyle)+    , (VariableTok, defStyle{ tokenColor = color 0x19177C })+    , (ControlFlowTok, defStyle{ tokenColor = color 0x007020, tokenBold = True })+    , (OperatorTok, defStyle{ tokenColor = color 0x666666 })+    , (BuiltInTok, defStyle)+    , (ExtensionTok, defStyle)+    , (PreprocessorTok, defStyle{ tokenColor = color 0xBC7A00 })+    , (AttributeTok, defStyle{ tokenColor = color 0x7D9029 })+    , (DocumentationTok, defStyle{ tokenColor = color 0xBA2121, tokenItalic = True })+    , (AnnotationTok, defStyle{ tokenColor = color 0x60a0b0, tokenItalic = True, tokenBold = True })+    , (CommentVarTok, defStyle{ tokenColor = color 0x60a0b0, tokenItalic = True, tokenBold = True })+    , (InformationTok, defStyle{ tokenColor = color 0x60a0b0, tokenItalic = True, tokenBold = True })     ]   } @@ -44,64 +64,114 @@     backgroundColor = Nothing   , defaultColor = Nothing   , lineNumberColor = Nothing-  , lineNumberBackgroundColor = toColor "#dddddd"+  , lineNumberBackgroundColor = color 0xdddddd   , tokenStyles =     [ (KeywordTok, defStyle{ tokenBold = True })-    , (DataTypeTok, defStyle{ tokenColor = toColor "#800000" })-    , (DecValTok, defStyle{ tokenColor = toColor "#0000FF" })-    , (BaseNTok, defStyle{ tokenColor = toColor "#0000FF" })-    , (FloatTok, defStyle{ tokenColor = toColor "#800080" })-    , (CharTok, defStyle{ tokenColor = toColor "#FF00FF" })-    , (StringTok, defStyle{ tokenColor = toColor "#DD0000" })-    , (CommentTok, defStyle{ tokenColor = toColor "#808080", tokenItalic = True })-    , (AlertTok, defStyle{ tokenColor = toColor "#00ff00", tokenBold = True })-    , (FunctionTok, defStyle{ tokenColor = toColor "#000080" })-    , (ErrorTok, defStyle{ tokenColor = toColor "#ff0000", tokenBold = True })+    , (DataTypeTok, defStyle{ tokenColor = color 0x800000 })+    , (DecValTok, defStyle{ tokenColor = color 0x0000FF })+    , (BaseNTok, defStyle{ tokenColor = color 0x0000FF })+    , (FloatTok, defStyle{ tokenColor = color 0x800080 })+    , (CharTok, defStyle{ tokenColor = color 0xFF00FF })+    , (StringTok, defStyle{ tokenColor = color 0xDD0000 })+    , (CommentTok, defStyle{ tokenColor = color 0x808080, tokenItalic = True })+    , (AlertTok, defStyle{ tokenColor = color 0x00ff00, tokenBold = True })+    , (FunctionTok, defStyle{ tokenColor = color 0x000080 })+    , (ErrorTok, defStyle{ tokenColor = color 0xff0000, tokenBold = True })+    , (WarningTok, defStyle{ tokenColor = color 0xff0000, tokenBold = True })+    , (ConstantTok, defStyle{ tokenColor = color 0x000000 })+    , (SpecialCharTok, defStyle{ tokenColor = color 0xFF00FF })+    , (VerbatimStringTok, defStyle{ tokenColor = color 0xDD0000 })+    , (SpecialStringTok, defStyle{ tokenColor = color 0xDD0000 })+    , (ImportTok, defStyle)+    , (VariableTok, defStyle)+    , (ControlFlowTok, defStyle)+    , (OperatorTok, defStyle)+    , (BuiltInTok, defStyle)+    , (ExtensionTok, defStyle)+    , (PreprocessorTok, defStyle{ tokenBold = True })+    , (AttributeTok, defStyle)+    , (DocumentationTok, defStyle{ tokenColor = color 0x808080, tokenItalic = True })+    , (AnnotationTok, defStyle{ tokenColor = color 0x808080, tokenItalic = True, tokenBold = True })+    , (CommentVarTok, defStyle{ tokenColor = color 0x808080, tokenItalic = True, tokenBold = True })+    , (InformationTok, defStyle{ tokenColor = color 0x808080, tokenItalic = True, tokenBold = True })     ]   }  -- | Style based on pygments's tango colors. tango :: Style tango = Style{-    backgroundColor = toColor "#f8f8f8"+    backgroundColor = color 0xf8f8f8   , defaultColor = Nothing-  , lineNumberColor = toColor "#aaaaaa"+  , lineNumberColor = color 0xaaaaaa   , lineNumberBackgroundColor = Nothing   , tokenStyles =-    [ (KeywordTok, defStyle{ tokenColor = toColor "#204a87", tokenBold = True })-    , (DataTypeTok, defStyle{ tokenColor = toColor "#204a87" })-    , (DecValTok, defStyle{ tokenColor = toColor "#0000cf" })-    , (BaseNTok, defStyle{ tokenColor = toColor "#0000cf" })-    , (FloatTok, defStyle{ tokenColor = toColor "#0000cf" })-    , (CharTok, defStyle{ tokenColor = toColor "#4e9a06" })-    , (StringTok, defStyle{ tokenColor = toColor "#4e9a06" })-    , (CommentTok, defStyle{ tokenColor = toColor "#8f5902", tokenItalic = True })-    , (OtherTok, defStyle{ tokenColor = toColor "#8f5902" })-    , (AlertTok, defStyle{ tokenColor = toColor "#ef2929" })-    , (FunctionTok, defStyle{ tokenColor = toColor "#000000" })-    , (ErrorTok, defStyle{ tokenColor = toColor "a40000", tokenBold = True })+    [ (KeywordTok, defStyle{ tokenColor = color 0x204a87, tokenBold = True })+    , (DataTypeTok, defStyle{ tokenColor = color 0x204a87 })+    , (DecValTok, defStyle{ tokenColor = color 0x0000cf })+    , (BaseNTok, defStyle{ tokenColor = color 0x0000cf })+    , (FloatTok, defStyle{ tokenColor = color 0x0000cf })+    , (CharTok, defStyle{ tokenColor = color 0x4e9a06 })+    , (StringTok, defStyle{ tokenColor = color 0x4e9a06 })+    , (CommentTok, defStyle{ tokenColor = color 0x8f5902, tokenItalic = True })+    , (OtherTok, defStyle{ tokenColor = color 0x8f5902 })+    , (AlertTok, defStyle{ tokenColor = color 0xef2929 })+    , (FunctionTok, defStyle{ tokenColor = color 0x000000 })+    , (ErrorTok, defStyle{ tokenColor = color 0xa40000, tokenBold = True })+    , (WarningTok, defStyle{ tokenColor = color 0x8f5902, tokenItalic = True,tokenBold = True })+    , (ConstantTok, defStyle{ tokenColor = color 0x000000 })+    , (SpecialCharTok, defStyle{ tokenColor = color 0x000000 })+    , (VerbatimStringTok, defStyle{ tokenColor = color 0x4e9a06 })+    , (SpecialStringTok, defStyle{ tokenColor = color 0x4e9a06 })+    , (ImportTok, defStyle)+    , (VariableTok, defStyle{ tokenColor = color 0x000000 })+    , (ControlFlowTok, defStyle{ tokenColor = color 0x204a87, tokenBold = True })+    , (OperatorTok, defStyle{ tokenColor = color 0xce5c00, tokenBold = True })+    , (PreprocessorTok, defStyle{ tokenColor = color 0x8f5902, tokenItalic = True} )+    , (ExtensionTok, defStyle)+    , (AttributeTok, defStyle{ tokenColor = color 0xc4a000 })+    , (DocumentationTok, defStyle{ tokenColor = color 0x8f5902, tokenItalic = True, tokenBold = True })+    , (AnnotationTok, defStyle{ tokenColor = color 0x8f5902, tokenItalic = True,tokenBold = True })+    , (CommentVarTok, defStyle{ tokenColor = color 0x8f5902, tokenItalic = True,tokenBold = True })+    , (InformationTok, defStyle{ tokenColor = color 0x8f5902, tokenItalic = True,tokenBold = True })     ]   }  -- | Style based on ultraviolet's espresso_libre.css (dark background). espresso :: Style espresso = Style{-    backgroundColor = toColor "#2A211C"-  , defaultColor = toColor "#BDAE9D"-  , lineNumberColor = toColor "#BDAE9D"-  , lineNumberBackgroundColor = toColor "#2A211C"+    backgroundColor = color 0x2A211C+  , defaultColor = color 0xBDAE9D+  , lineNumberColor = color 0xBDAE9D+  , lineNumberBackgroundColor = color 0x2A211C   , tokenStyles =-    [ (KeywordTok, defStyle{ tokenColor = toColor "#43A8ED", tokenBold = True })+    [ (KeywordTok, defStyle{ tokenColor = color 0x43A8ED, tokenBold = True })     , (DataTypeTok, defStyle{ tokenUnderline = True })-    , (DecValTok, defStyle{ tokenColor = toColor "#44AA43" })-    , (BaseNTok, defStyle{ tokenColor = toColor "#44AA43" })-    , (FloatTok, defStyle{ tokenColor = toColor "#44AA43" })-    , (CharTok, defStyle{ tokenColor = toColor "#049B0A" })-    , (StringTok, defStyle{ tokenColor = toColor "#049B0A" })-    , (CommentTok, defStyle{ tokenColor = toColor "#0066FF", tokenItalic = True })-    , (AlertTok, defStyle{ tokenColor = toColor "#ffff00" })-    , (FunctionTok, defStyle{ tokenColor = toColor "#FF9358", tokenBold = True })-    , (ErrorTok, defStyle{ tokenColor = toColor "ffff00", tokenBold = True })+    , (DecValTok, defStyle{ tokenColor = color 0x44AA43 })+    , (BaseNTok, defStyle{ tokenColor = color 0x44AA43 })+    , (FloatTok, defStyle{ tokenColor = color 0x44AA43 })+    , (CharTok, defStyle{ tokenColor = color 0x049B0A })+    , (StringTok, defStyle{ tokenColor = color 0x049B0A })+    , (CommentTok, defStyle{ tokenColor = color 0x0066FF, tokenItalic = True })+    , (AlertTok, defStyle{ tokenColor = color 0xffff00 })+    , (FunctionTok, defStyle{ tokenColor = color 0xFF9358, tokenBold = True })+    , (ErrorTok, defStyle{ tokenColor = color 0xffff00, tokenBold = True })+    , (WarningTok, defStyle{ tokenColor = color 0xffff00, tokenBold = True })+    , (ConstantTok, defStyle)+    , (SpecialCharTok, defStyle{ tokenColor = color 0x049B0A })+    , (VerbatimStringTok, defStyle{ tokenColor = color 0x049B0A })+    , (SpecialStringTok, defStyle{ tokenColor = color 0x049B0A })+    , (ImportTok, defStyle)+    , (VariableTok, defStyle)+    , (ControlFlowTok, defStyle{ tokenColor = color 0x43A8ED, tokenBold = True })+    , (OperatorTok, defStyle)+    , (BuiltInTok, defStyle)+    , (ExtensionTok, defStyle)+    , (PreprocessorTok, defStyle{ tokenBold = True })+    , (AttributeTok, defStyle)+    , (DocumentationTok, defStyle{ tokenColor = color 0x0066FF, tokenItalic = True })+    , (AnnotationTok, defStyle{ tokenColor = color 0x0066FF, tokenItalic = True, tokenBold = True })+    , (CommentTok, defStyle{ tokenColor = color 0x0066FF, tokenItalic = True, tokenBold = True })+    , (InformationTok, defStyle{ tokenColor = color 0x0066FF, tokenItalic = True, tokenBold = True })     ]   } @@ -110,16 +180,33 @@ haddock = Style{     backgroundColor = Nothing   , defaultColor = Nothing-  , lineNumberColor = toColor "#aaaaaa"+  , lineNumberColor = color 0xaaaaaa   , lineNumberBackgroundColor = Nothing   , tokenStyles =-    [ (KeywordTok, defStyle{ tokenColor = toColor "#0000FF" })-    , (CharTok, defStyle{ tokenColor = toColor "#008080" })-    , (StringTok, defStyle{ tokenColor = toColor "#008080" })-    , (CommentTok, defStyle{ tokenColor = toColor "#008000" })-    , (OtherTok, defStyle{ tokenColor = toColor "#ff4000" })-    , (AlertTok, defStyle{ tokenColor = toColor "#ff0000" })-    , (ErrorTok, defStyle{ tokenColor = toColor "ff0000", tokenBold = True })+    [ (KeywordTok, defStyle{ tokenColor = color 0x0000FF })+    , (CharTok, defStyle{ tokenColor = color 0x008080 })+    , (StringTok, defStyle{ tokenColor = color 0x008080 })+    , (CommentTok, defStyle{ tokenColor = color 0x008000 })+    , (OtherTok, defStyle{ tokenColor = color 0xff4000 })+    , (AlertTok, defStyle{ tokenColor = color 0xff0000 })+    , (ErrorTok, defStyle{ tokenColor = color 0xff0000, tokenBold = True })+    , (WarningTok, defStyle{ tokenColor = color 0x008000, tokenBold = True })+    , (ConstantTok, defStyle)+    , (SpecialCharTok, defStyle{ tokenColor = color 0x008080 })+    , (VerbatimStringTok, defStyle{ tokenColor = color 0x008080 })+    , (SpecialStringTok, defStyle{ tokenColor = color 0x008080 })+    , (ImportTok, defStyle)+    , (VariableTok, defStyle)+    , (ControlFlowTok, defStyle{ tokenColor = color 0x0000FF })+    , (OperatorTok, defStyle)+    , (BuiltInTok, defStyle)+    , (ExtensionTok, defStyle)+    , (PreprocessorTok, defStyle{ tokenColor = color 0xff4000 })+    , (DocumentationTok, defStyle{ tokenColor = color 0x008000 })+    , (AnnotationTok, defStyle{ tokenColor = color 0x008000 })+    , (CommentVarTok, defStyle{ tokenColor = color 0x008000 })+    , (AttributeTok, defStyle)+    , (InformationTok, defStyle{ tokenColor = color 0x008000 })     ]   } @@ -136,28 +223,52 @@     , (CommentTok, defStyle{ tokenItalic = True })     , (AlertTok, defStyle{ tokenBold = True })     , (ErrorTok, defStyle{ tokenBold = True })+    , (WarningTok, defStyle{ tokenItalic = True })+    , (ControlFlowTok, defStyle{ tokenBold = True })+    , (PreprocessorTok, defStyle{ tokenBold = True })+    , (DocumentationTok, defStyle{ tokenItalic = True })+    , (AnnotationTok, defStyle{ tokenItalic = True })+    , (CommentVarTok, defStyle{ tokenItalic = True })+    , (InformationTok, defStyle{ tokenItalic = True })     ]   }  -- | Style based on the popular zenburn vim color scheme zenburn :: Style zenburn = Style{-    backgroundColor = toColor "#303030"-  , defaultColor = toColor "#cccccc"+    backgroundColor = color 0x303030+  , defaultColor = color 0xcccccc   , lineNumberColor = Nothing   , lineNumberBackgroundColor = Nothing   , tokenStyles =-    [ (KeywordTok, defStyle{ tokenColor = toColor "#f0dfaf" })-    , (DataTypeTok, defStyle{ tokenColor = toColor "#dfdfbf" })-    , (DecValTok, defStyle{ tokenColor = toColor "#dcdccc" })-    , (BaseNTok, defStyle{ tokenColor = toColor "#dca3a3" })-    , (FloatTok, defStyle{ tokenColor = toColor "#c0bed1" })-    , (CharTok, defStyle{ tokenColor = toColor "#dca3a3" })-    , (StringTok, defStyle{ tokenColor = toColor "#cc9393" })-    , (CommentTok, defStyle{ tokenColor = toColor "#7f9f7f" })-    , (OtherTok, defStyle{ tokenColor = toColor "#efef8f" })-    , (AlertTok, defStyle{ tokenColor = toColor "#ffcfaf" })-    , (FunctionTok, defStyle{ tokenColor = toColor "#efef8f" })-    , (ErrorTok, defStyle{ tokenColor = toColor "#c3bf9f" })+    [ (KeywordTok, defStyle{ tokenColor = color 0xf0dfaf })+    , (DataTypeTok, defStyle{ tokenColor = color 0xdfdfbf })+    , (DecValTok, defStyle{ tokenColor = color 0xdcdccc })+    , (BaseNTok, defStyle{ tokenColor = color 0xdca3a3 })+    , (FloatTok, defStyle{ tokenColor = color 0xc0bed1 })+    , (CharTok, defStyle{ tokenColor = color 0xdca3a3 })+    , (StringTok, defStyle{ tokenColor = color 0xcc9393 })+    , (CommentTok, defStyle{ tokenColor = color 0x7f9f7f })+    , (OtherTok, defStyle{ tokenColor = color 0xefef8f })+    , (AlertTok, defStyle{ tokenColor = color 0xffcfaf })+    , (FunctionTok, defStyle{ tokenColor = color 0xefef8f })+    , (ErrorTok, defStyle{ tokenColor = color 0xc3bf9f })+    , (WarningTok, defStyle{ tokenColor = color 0x7f9f7f, tokenBold = True })+    , (ConstantTok, defStyle{ tokenColor = color 0xdca3a3, tokenBold = True })+    , (SpecialCharTok, defStyle{ tokenColor = color 0xdca3a3 })+    , (VerbatimStringTok, defStyle{ tokenColor = color 0xcc9393 })+    , (SpecialStringTok, defStyle{ tokenColor = color 0xcc9393 })+    , (ImportTok, defStyle)+    , (VariableTok, defStyle)+    , (ControlFlowTok, defStyle{ tokenColor = color 0xf0dfaf })+    , (OperatorTok, defStyle{ tokenColor = color 0xf0efd0 })+    , (BuiltInTok, defStyle)+    , (ExtensionTok, defStyle)+    , (PreprocessorTok, defStyle{ tokenColor = color 0xffcfaf, tokenBold = True })+    , (AttributeTok, defStyle)+    , (DocumentationTok, defStyle{ tokenColor = color 0x7f9f7f })+    , (AnnotationTok, defStyle{ tokenColor = color 0x7f9f7f, tokenBold = True })+    , (CommentVarTok, defStyle{ tokenColor = color 0x7f9f7f, tokenBold = True })+    , (InformationTok, defStyle{ tokenColor = color 0x7f9f7f, tokenBold = True })     ]   }
Text/Highlighting/Kate/Syntax.hs view
@@ -10,7 +10,10 @@ Token lexer for various languages. -} -module Text.Highlighting.Kate.Syntax ( highlightAs, languages, languagesByExtension,+module Text.Highlighting.Kate.Syntax ( highlightAs,+                                       languages,+                                       languageByFullName,+                                       languagesByExtension,                                        languagesByFilename ) where import Data.Char (toLower) import Text.Highlighting.Kate.Types@@ -24,6 +27,7 @@ import qualified Text.Highlighting.Kate.Syntax.Apache as Apache import qualified Text.Highlighting.Kate.Syntax.Asn1 as Asn1 import qualified Text.Highlighting.Kate.Syntax.Asp as Asp+import qualified Text.Highlighting.Kate.Syntax.Ats as Ats import qualified Text.Highlighting.Kate.Syntax.Awk as Awk import qualified Text.Highlighting.Kate.Syntax.Bash as Bash import qualified Text.Highlighting.Kate.Syntax.Bibtex as Bibtex@@ -48,6 +52,7 @@ import qualified Text.Highlighting.Kate.Syntax.Doxygenlua as Doxygenlua import qualified Text.Highlighting.Kate.Syntax.Dtd as Dtd import qualified Text.Highlighting.Kate.Syntax.Eiffel as Eiffel+import qualified Text.Highlighting.Kate.Syntax.Elixir as Elixir import qualified Text.Highlighting.Kate.Syntax.Email as Email import qualified Text.Highlighting.Kate.Syntax.Erlang as Erlang import qualified Text.Highlighting.Kate.Syntax.Fasm as Fasm@@ -57,6 +62,7 @@ import qualified Text.Highlighting.Kate.Syntax.Glsl as Glsl import qualified Text.Highlighting.Kate.Syntax.Gnuassembler as Gnuassembler import qualified Text.Highlighting.Kate.Syntax.Go as Go+import qualified Text.Highlighting.Kate.Syntax.Hamlet as Hamlet import qualified Text.Highlighting.Kate.Syntax.Haskell as Haskell import qualified Text.Highlighting.Kate.Syntax.Haxe as Haxe import qualified Text.Highlighting.Kate.Syntax.Html as Html@@ -69,11 +75,13 @@ import qualified Text.Highlighting.Kate.Syntax.Json as Json import qualified Text.Highlighting.Kate.Syntax.Jsp as Jsp import qualified Text.Highlighting.Kate.Syntax.Julia as Julia+import qualified Text.Highlighting.Kate.Syntax.Kotlin as Kotlin import qualified Text.Highlighting.Kate.Syntax.Latex as Latex import qualified Text.Highlighting.Kate.Syntax.Lex as Lex import qualified Text.Highlighting.Kate.Syntax.Lilypond as Lilypond import qualified Text.Highlighting.Kate.Syntax.LiterateCurry as LiterateCurry import qualified Text.Highlighting.Kate.Syntax.LiterateHaskell as LiterateHaskell+import qualified Text.Highlighting.Kate.Syntax.Llvm as Llvm import qualified Text.Highlighting.Kate.Syntax.Lua as Lua import qualified Text.Highlighting.Kate.Syntax.M4 as M4 import qualified Text.Highlighting.Kate.Syntax.Makefile as Makefile@@ -135,12 +143,24 @@  -- | List of supported languages. languages :: [String]-languages = ["Abc","Actionscript","Ada","Agda","Alert","Alert_indent","Apache","Asn1","Asp","Awk","Bash","Bibtex","Boo","C","Changelog","Clojure","Cmake","Coffee","Coldfusion","Commonlisp","Cpp","Cs","Css","Curry","D","Diff","Djangotemplate","Dockerfile","Dot","Doxygen","Doxygenlua","Dtd","Eiffel","Email","Erlang","Fasm","Fortran","Fsharp","Gcc","Glsl","Gnuassembler","Go","Haskell","Haxe","Html","Idris","Ini","Isocpp","Java","Javadoc","Javascript","Json","Jsp","Julia","Latex","Lex","Lilypond","LiterateCurry","LiterateHaskell","Lua","M4","Makefile","Mandoc","Markdown","Mathematica","Matlab","Maxima","Mediawiki","Metafont","Mips","Modelines","Modula2","Modula3","Monobasic","Nasm","Noweb","Objectivec","Objectivecpp","Ocaml","Octave","Opencl","Pascal","Perl","Php","Pike","Postscript","Prolog","Pure","Python","R","Relaxng","Relaxngcompact","Rest","Rhtml","Roff","Ruby","Rust","Scala","Scheme","Sci","Sed","Sgml","Sql","SqlMysql","SqlPostgresql","Tcl","Tcsh","Texinfo","Verilog","Vhdl","Xml","Xorg","Xslt","Xul","Yacc","Yaml","Zsh"]+languages = ["Abc","Actionscript","Ada","Agda","Alert","Alert_indent","Apache","Asn1","Asp","Ats","Awk","Bash","Bibtex","Boo","C","Changelog","Clojure","Cmake","Coffee","Coldfusion","Commonlisp","Cpp","Cs","Css","Curry","D","Diff","Djangotemplate","Dockerfile","Dot","Doxygen","Doxygenlua","Dtd","Eiffel","Elixir","Email","Erlang","Fasm","Fortran","Fsharp","Gcc","Glsl","Gnuassembler","Go","Hamlet","Haskell","Haxe","Html","Idris","Ini","Isocpp","Java","Javadoc","Javascript","Json","Jsp","Julia","Kotlin","Latex","Lex","Lilypond","LiterateCurry","LiterateHaskell","Llvm","Lua","M4","Makefile","Mandoc","Markdown","Mathematica","Matlab","Maxima","Mediawiki","Metafont","Mips","Modelines","Modula2","Modula3","Monobasic","Nasm","Noweb","Objectivec","Objectivecpp","Ocaml","Octave","Opencl","Pascal","Perl","Php","Pike","Postscript","Prolog","Pure","Python","R","Relaxng","Relaxngcompact","Rest","Rhtml","Roff","Ruby","Rust","Scala","Scheme","Sci","Sed","Sgml","Sql","SqlMysql","SqlPostgresql","Tcl","Tcsh","Texinfo","Verilog","Vhdl","Xml","Xorg","Xslt","Xul","Yacc","Yaml","Zsh"]  -- | List of language extensions. languageExtensions :: [(String, String)]-languageExtensions = [("Abc", Abc.syntaxExtensions), ("Actionscript", Actionscript.syntaxExtensions), ("Ada", Ada.syntaxExtensions), ("Agda", Agda.syntaxExtensions), ("Alert", Alert.syntaxExtensions), ("Alert_indent", Alert_indent.syntaxExtensions), ("Apache", Apache.syntaxExtensions), ("Asn1", Asn1.syntaxExtensions), ("Asp", Asp.syntaxExtensions), ("Awk", Awk.syntaxExtensions), ("Bash", Bash.syntaxExtensions), ("Bibtex", Bibtex.syntaxExtensions), ("Boo", Boo.syntaxExtensions), ("C", C.syntaxExtensions), ("Changelog", Changelog.syntaxExtensions), ("Clojure", Clojure.syntaxExtensions), ("Cmake", Cmake.syntaxExtensions), ("Coffee", Coffee.syntaxExtensions), ("Coldfusion", Coldfusion.syntaxExtensions), ("Commonlisp", Commonlisp.syntaxExtensions), ("Cpp", Cpp.syntaxExtensions), ("Cs", Cs.syntaxExtensions), ("Css", Css.syntaxExtensions), ("Curry", Curry.syntaxExtensions), ("D", D.syntaxExtensions), ("Diff", Diff.syntaxExtensions), ("Djangotemplate", Djangotemplate.syntaxExtensions), ("Dockerfile", Dockerfile.syntaxExtensions), ("Dot", Dot.syntaxExtensions), ("Doxygen", Doxygen.syntaxExtensions), ("Doxygenlua", Doxygenlua.syntaxExtensions), ("Dtd", Dtd.syntaxExtensions), ("Eiffel", Eiffel.syntaxExtensions), ("Email", Email.syntaxExtensions), ("Erlang", Erlang.syntaxExtensions), ("Fasm", Fasm.syntaxExtensions), ("Fortran", Fortran.syntaxExtensions), ("Fsharp", Fsharp.syntaxExtensions), ("Gcc", Gcc.syntaxExtensions), ("Glsl", Glsl.syntaxExtensions), ("Gnuassembler", Gnuassembler.syntaxExtensions), ("Go", Go.syntaxExtensions), ("Haskell", Haskell.syntaxExtensions), ("Haxe", Haxe.syntaxExtensions), ("Html", Html.syntaxExtensions), ("Idris", Idris.syntaxExtensions), ("Ini", Ini.syntaxExtensions), ("Isocpp", Isocpp.syntaxExtensions), ("Java", Java.syntaxExtensions), ("Javadoc", Javadoc.syntaxExtensions), ("Javascript", Javascript.syntaxExtensions), ("Json", Json.syntaxExtensions), ("Jsp", Jsp.syntaxExtensions), ("Julia", Julia.syntaxExtensions), ("Latex", Latex.syntaxExtensions), ("Lex", Lex.syntaxExtensions), ("Lilypond", Lilypond.syntaxExtensions), ("LiterateCurry", LiterateCurry.syntaxExtensions), ("LiterateHaskell", LiterateHaskell.syntaxExtensions), ("Lua", Lua.syntaxExtensions), ("M4", M4.syntaxExtensions), ("Makefile", Makefile.syntaxExtensions), ("Mandoc", Mandoc.syntaxExtensions), ("Markdown", Markdown.syntaxExtensions), ("Mathematica", Mathematica.syntaxExtensions), ("Matlab", Matlab.syntaxExtensions), ("Maxima", Maxima.syntaxExtensions), ("Mediawiki", Mediawiki.syntaxExtensions), ("Metafont", Metafont.syntaxExtensions), ("Mips", Mips.syntaxExtensions), ("Modelines", Modelines.syntaxExtensions), ("Modula2", Modula2.syntaxExtensions), ("Modula3", Modula3.syntaxExtensions), ("Monobasic", Monobasic.syntaxExtensions), ("Nasm", Nasm.syntaxExtensions), ("Noweb", Noweb.syntaxExtensions), ("Objectivec", Objectivec.syntaxExtensions), ("Objectivecpp", Objectivecpp.syntaxExtensions), ("Ocaml", Ocaml.syntaxExtensions), ("Octave", Octave.syntaxExtensions), ("Opencl", Opencl.syntaxExtensions), ("Pascal", Pascal.syntaxExtensions), ("Perl", Perl.syntaxExtensions), ("Php", Php.syntaxExtensions), ("Pike", Pike.syntaxExtensions), ("Postscript", Postscript.syntaxExtensions), ("Prolog", Prolog.syntaxExtensions), ("Pure", Pure.syntaxExtensions), ("Python", Python.syntaxExtensions), ("R", R.syntaxExtensions), ("Relaxng", Relaxng.syntaxExtensions), ("Relaxngcompact", Relaxngcompact.syntaxExtensions), ("Rest", Rest.syntaxExtensions), ("Rhtml", Rhtml.syntaxExtensions), ("Roff", Roff.syntaxExtensions), ("Ruby", Ruby.syntaxExtensions), ("Rust", Rust.syntaxExtensions), ("Scala", Scala.syntaxExtensions), ("Scheme", Scheme.syntaxExtensions), ("Sci", Sci.syntaxExtensions), ("Sed", Sed.syntaxExtensions), ("Sgml", Sgml.syntaxExtensions), ("Sql", Sql.syntaxExtensions), ("SqlMysql", SqlMysql.syntaxExtensions), ("SqlPostgresql", SqlPostgresql.syntaxExtensions), ("Tcl", Tcl.syntaxExtensions), ("Tcsh", Tcsh.syntaxExtensions), ("Texinfo", Texinfo.syntaxExtensions), ("Verilog", Verilog.syntaxExtensions), ("Vhdl", Vhdl.syntaxExtensions), ("Xml", Xml.syntaxExtensions), ("Xorg", Xorg.syntaxExtensions), ("Xslt", Xslt.syntaxExtensions), ("Xul", Xul.syntaxExtensions), ("Yacc", Yacc.syntaxExtensions), ("Yaml", Yaml.syntaxExtensions), ("Zsh", Zsh.syntaxExtensions)]+languageExtensions = [("Abc", Abc.syntaxExtensions), ("Actionscript", Actionscript.syntaxExtensions), ("Ada", Ada.syntaxExtensions), ("Agda", Agda.syntaxExtensions), ("Alert", Alert.syntaxExtensions), ("Alert_indent", Alert_indent.syntaxExtensions), ("Apache", Apache.syntaxExtensions), ("Asn1", Asn1.syntaxExtensions), ("Asp", Asp.syntaxExtensions), ("Ats", Ats.syntaxExtensions), ("Awk", Awk.syntaxExtensions), ("Bash", Bash.syntaxExtensions), ("Bibtex", Bibtex.syntaxExtensions), ("Boo", Boo.syntaxExtensions), ("C", C.syntaxExtensions), ("Changelog", Changelog.syntaxExtensions), ("Clojure", Clojure.syntaxExtensions), ("Cmake", Cmake.syntaxExtensions), ("Coffee", Coffee.syntaxExtensions), ("Coldfusion", Coldfusion.syntaxExtensions), ("Commonlisp", Commonlisp.syntaxExtensions), ("Cpp", Cpp.syntaxExtensions), ("Cs", Cs.syntaxExtensions), ("Css", Css.syntaxExtensions), ("Curry", Curry.syntaxExtensions), ("D", D.syntaxExtensions), ("Diff", Diff.syntaxExtensions), ("Djangotemplate", Djangotemplate.syntaxExtensions), ("Dockerfile", Dockerfile.syntaxExtensions), ("Dot", Dot.syntaxExtensions), ("Doxygen", Doxygen.syntaxExtensions), ("Doxygenlua", Doxygenlua.syntaxExtensions), ("Dtd", Dtd.syntaxExtensions), ("Eiffel", Eiffel.syntaxExtensions), ("Elixir", Elixir.syntaxExtensions), ("Email", Email.syntaxExtensions), ("Erlang", Erlang.syntaxExtensions), ("Fasm", Fasm.syntaxExtensions), ("Fortran", Fortran.syntaxExtensions), ("Fsharp", Fsharp.syntaxExtensions), ("Gcc", Gcc.syntaxExtensions), ("Glsl", Glsl.syntaxExtensions), ("Gnuassembler", Gnuassembler.syntaxExtensions), ("Go", Go.syntaxExtensions), ("Hamlet", Hamlet.syntaxExtensions), ("Haskell", Haskell.syntaxExtensions), ("Haxe", Haxe.syntaxExtensions), ("Html", Html.syntaxExtensions), ("Idris", Idris.syntaxExtensions), ("Ini", Ini.syntaxExtensions), ("Isocpp", Isocpp.syntaxExtensions), ("Java", Java.syntaxExtensions), ("Javadoc", Javadoc.syntaxExtensions), ("Javascript", Javascript.syntaxExtensions), ("Json", Json.syntaxExtensions), ("Jsp", Jsp.syntaxExtensions), ("Julia", Julia.syntaxExtensions), ("Kotlin", Kotlin.syntaxExtensions), ("Latex", Latex.syntaxExtensions), ("Lex", Lex.syntaxExtensions), ("Lilypond", Lilypond.syntaxExtensions), ("LiterateCurry", LiterateCurry.syntaxExtensions), ("LiterateHaskell", LiterateHaskell.syntaxExtensions), ("Llvm", Llvm.syntaxExtensions), ("Lua", Lua.syntaxExtensions), ("M4", M4.syntaxExtensions), ("Makefile", Makefile.syntaxExtensions), ("Mandoc", Mandoc.syntaxExtensions), ("Markdown", Markdown.syntaxExtensions), ("Mathematica", Mathematica.syntaxExtensions), ("Matlab", Matlab.syntaxExtensions), ("Maxima", Maxima.syntaxExtensions), ("Mediawiki", Mediawiki.syntaxExtensions), ("Metafont", Metafont.syntaxExtensions), ("Mips", Mips.syntaxExtensions), ("Modelines", Modelines.syntaxExtensions), ("Modula2", Modula2.syntaxExtensions), ("Modula3", Modula3.syntaxExtensions), ("Monobasic", Monobasic.syntaxExtensions), ("Nasm", Nasm.syntaxExtensions), ("Noweb", Noweb.syntaxExtensions), ("Objectivec", Objectivec.syntaxExtensions), ("Objectivecpp", Objectivecpp.syntaxExtensions), ("Ocaml", Ocaml.syntaxExtensions), ("Octave", Octave.syntaxExtensions), ("Opencl", Opencl.syntaxExtensions), ("Pascal", Pascal.syntaxExtensions), ("Perl", Perl.syntaxExtensions), ("Php", Php.syntaxExtensions), ("Pike", Pike.syntaxExtensions), ("Postscript", Postscript.syntaxExtensions), ("Prolog", Prolog.syntaxExtensions), ("Pure", Pure.syntaxExtensions), ("Python", Python.syntaxExtensions), ("R", R.syntaxExtensions), ("Relaxng", Relaxng.syntaxExtensions), ("Relaxngcompact", Relaxngcompact.syntaxExtensions), ("Rest", Rest.syntaxExtensions), ("Rhtml", Rhtml.syntaxExtensions), ("Roff", Roff.syntaxExtensions), ("Ruby", Ruby.syntaxExtensions), ("Rust", Rust.syntaxExtensions), ("Scala", Scala.syntaxExtensions), ("Scheme", Scheme.syntaxExtensions), ("Sci", Sci.syntaxExtensions), ("Sed", Sed.syntaxExtensions), ("Sgml", Sgml.syntaxExtensions), ("Sql", Sql.syntaxExtensions), ("SqlMysql", SqlMysql.syntaxExtensions), ("SqlPostgresql", SqlPostgresql.syntaxExtensions), ("Tcl", Tcl.syntaxExtensions), ("Tcsh", Tcsh.syntaxExtensions), ("Texinfo", Texinfo.syntaxExtensions), ("Verilog", Verilog.syntaxExtensions), ("Vhdl", Vhdl.syntaxExtensions), ("Xml", Xml.syntaxExtensions), ("Xorg", Xorg.syntaxExtensions), ("Xslt", Xslt.syntaxExtensions), ("Xul", Xul.syntaxExtensions), ("Yacc", Yacc.syntaxExtensions), ("Yaml", Yaml.syntaxExtensions), ("Zsh", Zsh.syntaxExtensions)] +-- | List of full names of languages.+languageFullNames :: [(String, String)]+languageFullNames = [("Abc", Abc.syntaxName), ("Actionscript", Actionscript.syntaxName), ("Ada", Ada.syntaxName), ("Agda", Agda.syntaxName), ("Alert", Alert.syntaxName), ("Alert_indent", Alert_indent.syntaxName), ("Apache", Apache.syntaxName), ("Asn1", Asn1.syntaxName), ("Asp", Asp.syntaxName), ("Ats", Ats.syntaxName), ("Awk", Awk.syntaxName), ("Bash", Bash.syntaxName), ("Bibtex", Bibtex.syntaxName), ("Boo", Boo.syntaxName), ("C", C.syntaxName), ("Changelog", Changelog.syntaxName), ("Clojure", Clojure.syntaxName), ("Cmake", Cmake.syntaxName), ("Coffee", Coffee.syntaxName), ("Coldfusion", Coldfusion.syntaxName), ("Commonlisp", Commonlisp.syntaxName), ("Cpp", Cpp.syntaxName), ("Cs", Cs.syntaxName), ("Css", Css.syntaxName), ("Curry", Curry.syntaxName), ("D", D.syntaxName), ("Diff", Diff.syntaxName), ("Djangotemplate", Djangotemplate.syntaxName), ("Dockerfile", Dockerfile.syntaxName), ("Dot", Dot.syntaxName), ("Doxygen", Doxygen.syntaxName), ("Doxygenlua", Doxygenlua.syntaxName), ("Dtd", Dtd.syntaxName), ("Eiffel", Eiffel.syntaxName), ("Elixir", Elixir.syntaxName), ("Email", Email.syntaxName), ("Erlang", Erlang.syntaxName), ("Fasm", Fasm.syntaxName), ("Fortran", Fortran.syntaxName), ("Fsharp", Fsharp.syntaxName), ("Gcc", Gcc.syntaxName), ("Glsl", Glsl.syntaxName), ("Gnuassembler", Gnuassembler.syntaxName), ("Go", Go.syntaxName), ("Hamlet", Hamlet.syntaxName), ("Haskell", Haskell.syntaxName), ("Haxe", Haxe.syntaxName), ("Html", Html.syntaxName), ("Idris", Idris.syntaxName), ("Ini", Ini.syntaxName), ("Isocpp", Isocpp.syntaxName), ("Java", Java.syntaxName), ("Javadoc", Javadoc.syntaxName), ("Javascript", Javascript.syntaxName), ("Json", Json.syntaxName), ("Jsp", Jsp.syntaxName), ("Julia", Julia.syntaxName), ("Kotlin", Kotlin.syntaxName), ("Latex", Latex.syntaxName), ("Lex", Lex.syntaxName), ("Lilypond", Lilypond.syntaxName), ("LiterateCurry", LiterateCurry.syntaxName), ("LiterateHaskell", LiterateHaskell.syntaxName), ("Llvm", Llvm.syntaxName), ("Lua", Lua.syntaxName), ("M4", M4.syntaxName), ("Makefile", Makefile.syntaxName), ("Mandoc", Mandoc.syntaxName), ("Markdown", Markdown.syntaxName), ("Mathematica", Mathematica.syntaxName), ("Matlab", Matlab.syntaxName), ("Maxima", Maxima.syntaxName), ("Mediawiki", Mediawiki.syntaxName), ("Metafont", Metafont.syntaxName), ("Mips", Mips.syntaxName), ("Modelines", Modelines.syntaxName), ("Modula2", Modula2.syntaxName), ("Modula3", Modula3.syntaxName), ("Monobasic", Monobasic.syntaxName), ("Nasm", Nasm.syntaxName), ("Noweb", Noweb.syntaxName), ("Objectivec", Objectivec.syntaxName), ("Objectivecpp", Objectivecpp.syntaxName), ("Ocaml", Ocaml.syntaxName), ("Octave", Octave.syntaxName), ("Opencl", Opencl.syntaxName), ("Pascal", Pascal.syntaxName), ("Perl", Perl.syntaxName), ("Php", Php.syntaxName), ("Pike", Pike.syntaxName), ("Postscript", Postscript.syntaxName), ("Prolog", Prolog.syntaxName), ("Pure", Pure.syntaxName), ("Python", Python.syntaxName), ("R", R.syntaxName), ("Relaxng", Relaxng.syntaxName), ("Relaxngcompact", Relaxngcompact.syntaxName), ("Rest", Rest.syntaxName), ("Rhtml", Rhtml.syntaxName), ("Roff", Roff.syntaxName), ("Ruby", Ruby.syntaxName), ("Rust", Rust.syntaxName), ("Scala", Scala.syntaxName), ("Scheme", Scheme.syntaxName), ("Sci", Sci.syntaxName), ("Sed", Sed.syntaxName), ("Sgml", Sgml.syntaxName), ("Sql", Sql.syntaxName), ("SqlMysql", SqlMysql.syntaxName), ("SqlPostgresql", SqlPostgresql.syntaxName), ("Tcl", Tcl.syntaxName), ("Tcsh", Tcsh.syntaxName), ("Texinfo", Texinfo.syntaxName), ("Verilog", Verilog.syntaxName), ("Vhdl", Vhdl.syntaxName), ("Xml", Xml.syntaxName), ("Xorg", Xorg.syntaxName), ("Xslt", Xslt.syntaxName), ("Xul", Xul.syntaxName), ("Yacc", Yacc.syntaxName), ("Yaml", Yaml.syntaxName), ("Zsh", Zsh.syntaxName)]++languageShortNames :: [(String, String)]+languageShortNames =+  [(map toLower y, map toLower x) | (x, y) <- languageFullNames]++-- | Lookup canonical language name by full syntaxName (e.g. "C#" for "Cs").+languageByFullName :: String -> Maybe String+languageByFullName s = lookup s languageShortNames+ -- | Returns a list of languages appropriate for the given file extension. languagesByExtension :: String -> [String] languagesByExtension ('.':ext) = languagesByFilename ("*." ++ ext)@@ -155,7 +175,7 @@ -- extension (if unique). -- The parsers read the input lazily and parse line by line; -- results are returned immediately.--- Supported languages: @abc@, @actionscript@, @ada@, @agda@, @alert@, @alert_indent@, @apache@, @asn1@, @asp@, @awk@, @bash@, @bibtex@, @boo@, @c@, @changelog@, @clojure@, @cmake@, @coffee@, @coldfusion@, @commonlisp@, @cpp@, @cs@, @css@, @curry@, @d@, @diff@, @djangotemplate@, @dockerfile@, @dot@, @doxygen@, @doxygenlua@, @dtd@, @eiffel@, @email@, @erlang@, @fasm@, @fortran@, @fsharp@, @gcc@, @glsl@, @gnuassembler@, @go@, @haskell@, @haxe@, @html@, @idris@, @ini@, @isocpp@, @java@, @javadoc@, @javascript@, @json@, @jsp@, @julia@, @latex@, @lex@, @lilypond@, @literatecurry@, @literatehaskell@, @lua@, @m4@, @makefile@, @mandoc@, @markdown@, @mathematica@, @matlab@, @maxima@, @mediawiki@, @metafont@, @mips@, @modelines@, @modula2@, @modula3@, @monobasic@, @nasm@, @noweb@, @objectivec@, @objectivecpp@, @ocaml@, @octave@, @opencl@, @pascal@, @perl@, @php@, @pike@, @postscript@, @prolog@, @pure@, @python@, @r@, @relaxng@, @relaxngcompact@, @rest@, @rhtml@, @roff@, @ruby@, @rust@, @scala@, @scheme@, @sci@, @sed@, @sgml@, @sql@, @sqlmysql@, @sqlpostgresql@, @tcl@, @tcsh@, @texinfo@, @verilog@, @vhdl@, @xml@, @xorg@, @xslt@, @xul@, @yacc@, @yaml@, @zsh@.+-- Supported languages: @abc@, @actionscript@, @ada@, @agda@, @alert@, @alert_indent@, @apache@, @asn1@, @asp@, @ats@, @awk@, @bash@, @bibtex@, @boo@, @c@, @changelog@, @clojure@, @cmake@, @coffee@, @coldfusion@, @commonlisp@, @cpp@, @cs@, @css@, @curry@, @d@, @diff@, @djangotemplate@, @dockerfile@, @dot@, @doxygen@, @doxygenlua@, @dtd@, @eiffel@, @elixir@, @email@, @erlang@, @fasm@, @fortran@, @fsharp@, @gcc@, @glsl@, @gnuassembler@, @go@, @hamlet@, @haskell@, @haxe@, @html@, @idris@, @ini@, @isocpp@, @java@, @javadoc@, @javascript@, @json@, @jsp@, @julia@, @kotlin@, @latex@, @lex@, @lilypond@, @literatecurry@, @literatehaskell@, @llvm@, @lua@, @m4@, @makefile@, @mandoc@, @markdown@, @mathematica@, @matlab@, @maxima@, @mediawiki@, @metafont@, @mips@, @modelines@, @modula2@, @modula3@, @monobasic@, @nasm@, @noweb@, @objectivec@, @objectivecpp@, @ocaml@, @octave@, @opencl@, @pascal@, @perl@, @php@, @pike@, @postscript@, @prolog@, @pure@, @python@, @r@, @relaxng@, @relaxngcompact@, @rest@, @rhtml@, @roff@, @ruby@, @rust@, @scala@, @scheme@, @sci@, @sed@, @sgml@, @sql@, @sqlmysql@, @sqlpostgresql@, @tcl@, @tcsh@, @texinfo@, @verilog@, @vhdl@, @xml@, @xorg@, @xslt@, @xul@, @yacc@, @yaml@, @zsh@. highlightAs :: String         -- ^ Language syntax (e.g. "haskell") or extension (e.g. "hs").             -> String         -- ^ Source code to highlight             -> [SourceLine]   -- ^ List of highlighted source lines@@ -163,9 +183,13 @@   let lang'  = map toLower lang       lang'' = if lang' `elem` map (map toLower) languages                   then lang'-                  else case languagesByExtension lang' of-                            [l]  -> map toLower l  -- go by extension if unambiguous-                            _    -> lang'+                  else case languageByFullName lang' of+                            Just l -> l+                            Nothing ->+                              case languagesByExtension lang' of+                                    -- go by extension if unambiguous+                                    [l]  -> map toLower l+                                    _    -> lang'   in  case lang'' of         "abc" -> Abc.highlight         "actionscript" -> Actionscript.highlight@@ -176,6 +200,7 @@         "apache" -> Apache.highlight         "asn1" -> Asn1.highlight         "asp" -> Asp.highlight+        "ats" -> Ats.highlight         "awk" -> Awk.highlight         "bash" -> Bash.highlight         "bibtex" -> Bibtex.highlight@@ -200,6 +225,7 @@         "doxygenlua" -> Doxygenlua.highlight         "dtd" -> Dtd.highlight         "eiffel" -> Eiffel.highlight+        "elixir" -> Elixir.highlight         "email" -> Email.highlight         "erlang" -> Erlang.highlight         "fasm" -> Fasm.highlight@@ -209,6 +235,7 @@         "glsl" -> Glsl.highlight         "gnuassembler" -> Gnuassembler.highlight         "go" -> Go.highlight+        "hamlet" -> Hamlet.highlight         "haskell" -> Haskell.highlight         "haxe" -> Haxe.highlight         "html" -> Html.highlight@@ -221,11 +248,13 @@         "json" -> Json.highlight         "jsp" -> Jsp.highlight         "julia" -> Julia.highlight+        "kotlin" -> Kotlin.highlight         "latex" -> Latex.highlight         "lex" -> Lex.highlight         "lilypond" -> Lilypond.highlight         "literatecurry" -> LiterateCurry.highlight         "literatehaskell" -> LiterateHaskell.highlight+        "llvm" -> Llvm.highlight         "lua" -> Lua.highlight         "m4" -> M4.highlight         "makefile" -> Makefile.highlight@@ -284,4 +313,6 @@         "yacc" -> Yacc.highlight         "yaml" -> Yaml.highlight         "zsh" -> Zsh.highlight+        -- special cases:+        "csharp" -> highlightAs "cs"         _ -> map (\l -> [(NormalTok, l)]) . lines
Text/Highlighting/Kate/Syntax.hs.in view
@@ -10,7 +10,10 @@ Token lexer for various languages. -} -module Text.Highlighting.Kate.Syntax ( highlightAs, languages, languagesByExtension,+module Text.Highlighting.Kate.Syntax ( highlightAs,+                                       languages,+                                       languageByFullName,+                                       languagesByExtension,                                        languagesByFilename ) where import Data.Char (toLower) import Text.Highlighting.Kate.Types@@ -25,6 +28,18 @@ languageExtensions :: [(String, String)] languageExtensions = @languageExtensions@ +-- | List of full names of languages.+languageFullNames :: [(String, String)]+languageFullNames = @languageFullNames@++languageShortNames :: [(String, String)]+languageShortNames =+  [(map toLower y, map toLower x) | (x, y) <- languageFullNames]++-- | Lookup canonical language name by full syntaxName (e.g. "C#" for "Cs").+languageByFullName :: String -> Maybe String+languageByFullName s = lookup s languageShortNames+ -- | Returns a list of languages appropriate for the given file extension. languagesByExtension :: String -> [String] languagesByExtension ('.':ext) = languagesByFilename ("*." ++ ext)@@ -47,9 +62,15 @@   let lang'  = map toLower lang       lang'' = if lang' `elem` map (map toLower) languages                   then lang'-                  else case languagesByExtension lang' of-                            [l]  -> map toLower l  -- go by extension if unambiguous-                            _    -> lang'+                  else case languageByFullName lang' of+                            Just l -> l+                            Nothing ->+                              case languagesByExtension lang' of+                                    -- go by extension if unambiguous+                                    [l]  -> map toLower l+                                    _    -> lang'   in  case lang'' of         @cases@+        -- special cases:+        "csharp" -> highlightAs "cs"         _ -> map (\l -> [(NormalTok, l)]) . lines
Text/Highlighting/Kate/Syntax/Abc.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file abc.xml, version 1.10, by Andrea Primiani (primiani@dag.it) -}+   highlighting file abc.xml, version 2, by Andrea Primiani (primiani@dag.it) -}  module Text.Highlighting.Kate.Syntax.Abc           (highlight, parseExpression, syntaxName, syntaxExtensions)
Text/Highlighting/Kate/Syntax/Actionscript.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file actionscript.xml, version 1.0, by Aaron Miller (armantic101@gmail.com) -}+   highlighting file actionscript.xml, version 2, by Aaron Miller (armantic101@gmail.com) -}  module Text.Highlighting.Kate.Syntax.Actionscript           (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -84,15 +84,15 @@ parseRules ("ActionScript 2.0","Normal") =   (((Text.Highlighting.Kate.Syntax.Javadoc.parseExpression (Just ("Javadoc",""))))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_properties >>= withAttribute NormalTok))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_properties >>= withAttribute AttributeTok))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_global'5ffunctions >>= withAttribute NormalTok))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_global'5ffunctions >>= withAttribute FunctionTok))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_classes >>= withAttribute NormalTok))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_classes >>= withAttribute BuiltInTok))    <|>    ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_keywords >>= withAttribute KeywordTok))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_const >>= withAttribute NormalTok))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_const >>= withAttribute ConstantTok))    <|>    ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_types >>= withAttribute DataTypeTok))    <|>@@ -151,7 +151,7 @@ parseRules ("ActionScript 2.0","String") =   (((pLineContinue >>= withAttribute StringTok))    <|>-   ((pHlCStringChar >>= withAttribute CharTok))+   ((pHlCStringChar >>= withAttribute SpecialStringTok))    <|>    ((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext))    <|>@@ -163,12 +163,12 @@    ((popContext) >> currentContext >>= parseRules))  parseRules ("ActionScript 2.0","StaticImports") =-  (((pRegExpr regex_'5cs'2a'2e'2a'24 >>= withAttribute KeywordTok) >>~ (popContext))+  (((pRegExpr regex_'5cs'2a'2e'2a'24 >>= withAttribute ImportTok) >>~ (popContext))    <|>    (currentContext >>= \x -> guard (x == ("ActionScript 2.0","StaticImports")) >> pDefault >>= withAttribute NormalTok))  parseRules ("ActionScript 2.0","Imports") =-  (((pRegExpr regex_'5cs'2a'2e'2a'24 >>= withAttribute KeywordTok) >>~ (popContext))+  (((pRegExpr regex_'5cs'2a'2e'2a'24 >>= withAttribute ImportTok) >>~ (popContext))    <|>    (currentContext >>= \x -> guard (x == ("ActionScript 2.0","Imports")) >> pDefault >>= withAttribute NormalTok)) 
Text/Highlighting/Kate/Syntax/Ada.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file ada.xml, version 1.08, by  -}+   highlighting file ada.xml, version 2, by  -}  module Text.Highlighting.Kate.Syntax.Ada           (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -62,7 +62,7 @@  list_keywords = Set.fromList $ words $ "abort abs abstract accept access aliased all and array at begin body constant declare delay delta digits do else elsif end entry exception exit for function generic goto in interface is limited mod new not null of or others out overriding package pragma private procedure protected raise range rem record renames requeue return reverse separate subtype tagged task terminate then type until use when while with xor" list_pragmas = Set.fromList $ words $ "all_calls_remote assert assertion_policy asynchronous atomic atomic_components attach_handler controlled convention detect_blocking discard_names elaborate elaborate_all elaborate_body export import inline inspection_point interrupt_handler interrupt_priority linker_options list locking_policy no_return normalize_scalars optimize pack page partition_elaboration_policy preelaborable_initialization preelaborate priority priority_specific_dispatching profile pure queuing_policy relative_deadline remote_call_interface remote_types restrictions reviewable shared_passive storage_size suppress task_dispatching_policy unchecked_union unsuppress volatile volatile_components"-list_types = Set.fromList $ words $ "boolean char float integer long_float long_integer long_long_float long_long_integer short_float short_integer string wide_string wide_char wide_wide_char wide_wide_string"+list_types = Set.fromList $ words $ "boolean character float integer long_float long_integer long_long_float long_long_integer short_float short_integer string wide_string wide_character wide_wide_character wide_wide_string"  regex_'5cbrecord'5cb = compileRegex True "\\brecord\\b" regex_'5cbend'5cs'2brecord'5cb = compileRegex True "\\bend\\s+record\\b"@@ -109,7 +109,7 @@    <|>    ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_keywords >>= withAttribute KeywordTok))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_pragmas >>= withAttribute KeywordTok))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_pragmas >>= withAttribute ExtensionTok))    <|>    ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_types >>= withAttribute DataTypeTok))    <|>
Text/Highlighting/Kate/Syntax/Agda.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file agda.xml, version 1.0, by Matthias C. M. Troffaes -}+   highlighting file agda.xml, version 2, by Matthias C. M. Troffaes -}  module Text.Highlighting.Kate.Syntax.Agda           (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -72,7 +72,7 @@ regex_'5b'5e'5f'3b'2e'22'28'29'7b'7d'40'5cs'5d'2b = compileRegex True "[^_;.\"(){}@\\s]+"  parseRules ("Agda","code") =-  (((pRegExpr regex_'5c'7b'2d'23'2e'2a'23'2d'5c'7d >>= withAttribute OtherTok))+  (((pRegExpr regex_'5c'7b'2d'23'2e'2a'23'2d'5c'7d >>= withAttribute PreprocessorTok))    <|>    ((pKeyword " \n\t.();{}_;.\"(){}@" list_reserved_keywords >>= withAttribute KeywordTok))    <|>
Text/Highlighting/Kate/Syntax/Alert.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file alert.xml, version 1.09, by Dominik Haumann (dhdev@gmx.de) -}+   highlighting file alert.xml, version 2, by Dominik Haumann (dhdev@gmx.de) -}  module Text.Highlighting.Kate.Syntax.Alert           (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -63,7 +63,15 @@   parseRules ("Alerts","Normal Text") =-  (((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_alerts'5fhi >>= withAttribute AlertTok))+  (((pString False "{{{" >>= withAttribute RegionMarkerTok))+   <|>+   ((pString False "}}}" >>= withAttribute RegionMarkerTok))+   <|>+   ((pString False "BEGIN" >>= withAttribute RegionMarkerTok))+   <|>+   ((pString False "END" >>= withAttribute RegionMarkerTok))+   <|>+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_alerts'5fhi >>= withAttribute AlertTok))    <|>    ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_alerts'5fmid >>= withAttribute AlertTok))    <|>
Text/Highlighting/Kate/Syntax/Alert_indent.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file alert_indent.xml, version 1.10, by Dominik Haumann (dhdev@gmx.de) -}+   highlighting file alert_indent.xml, version 2, by Dominik Haumann (dhdev@gmx.de) -}  module Text.Highlighting.Kate.Syntax.Alert_indent           (highlight, parseExpression, syntaxName, syntaxExtensions)
Text/Highlighting/Kate/Syntax/Apache.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file apache.xml, version 1.11, by Jan Janssen (medhefgo@googlemail.com) -}+   highlighting file apache.xml, version 2, by Jan Janssen (medhefgo@googlemail.com) -}  module Text.Highlighting.Kate.Syntax.Apache           (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -79,9 +79,9 @@ parseRules ("Apache Configuration","apache") =   (((pKeyword " \n\t.():!+-<=>%&*/;?[]^{|}~\\" list_String_Directives >>= withAttribute NormalTok) >>~ pushContext ("Apache Configuration","String Directives"))    <|>-   ((pKeyword " \n\t.():!+-<=>%&*/;?[]^{|}~\\" list_Integer_Directives >>= withAttribute OtherTok) >>~ pushContext ("Apache Configuration","Integer Directives"))+   ((pKeyword " \n\t.():!+-<=>%&*/;?[]^{|}~\\" list_Integer_Directives >>= withAttribute ExtensionTok) >>~ pushContext ("Apache Configuration","Integer Directives"))    <|>-   ((pKeyword " \n\t.():!+-<=>%&*/;?[]^{|}~\\" list_Alternative_Directives >>= withAttribute OtherTok) >>~ pushContext ("Apache Configuration","Alternative Directives"))+   ((pKeyword " \n\t.():!+-<=>%&*/;?[]^{|}~\\" list_Alternative_Directives >>= withAttribute ExtensionTok) >>~ pushContext ("Apache Configuration","Alternative Directives"))    <|>    ((pRegExpr regex_'3c'5cw'2b >>= withAttribute FunctionTok) >>~ pushContext ("Apache Configuration","Container Open"))    <|>@@ -96,7 +96,7 @@    <|>    ((parseRules ("Apache Configuration","Comment Alert")))    <|>-   (currentContext >>= \x -> guard (x == ("Apache Configuration","String Directives")) >> pDefault >>= withAttribute OtherTok))+   (currentContext >>= \x -> guard (x == ("Apache Configuration","String Directives")) >> pDefault >>= withAttribute ExtensionTok))  parseRules ("Apache Configuration","Integer Directives") =   (((pFloat >>= withAttribute FloatTok) >>~ pushContext ("Apache Configuration","Integer Directives"))@@ -130,7 +130,7 @@ parseRules ("Apache Configuration","Container Open") =   (((pDetectChar False '>' >>= withAttribute FunctionTok) >>~ pushContext ("Apache Configuration","Alert"))    <|>-   ((pRegExpr regex_'5b'5e'23'3e'5d'2a >>= withAttribute OtherTok))+   ((pRegExpr regex_'5b'5e'23'3e'5d'2a >>= withAttribute AttributeTok))    <|>    ((parseRules ("Apache Configuration","Comment Alert")))    <|>
Text/Highlighting/Kate/Syntax/Asn1.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file asn1.xml, version 1.01, by Philippe Rigault -}+   highlighting file asn1.xml, version 2, by Philippe Rigault -}  module Text.Highlighting.Kate.Syntax.Asn1           (highlight, parseExpression, syntaxName, syntaxExtensions)
Text/Highlighting/Kate/Syntax/Asp.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file asp.xml, version 1.04, by Antonio Salazar (savedfastcool@gmail.com) -}+   highlighting file asp.xml, version 2, by Antonio Salazar (savedfastcool@gmail.com) -}  module Text.Highlighting.Kate.Syntax.Asp           (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -149,13 +149,13 @@    <|>    ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" Set.empty >>= withAttribute OtherTok))    <|>-   ((pRegExpr regex_'5cbelseif'5cb >>= withAttribute KeywordTok))+   ((pRegExpr regex_'5cbelseif'5cb >>= withAttribute ControlFlowTok))    <|>-   ((pRegExpr regex_'5cbelse'5cb >>= withAttribute KeywordTok))+   ((pRegExpr regex_'5cbelse'5cb >>= withAttribute ControlFlowTok))    <|>-   ((pRegExpr regex_'5cbif'5cb >>= withAttribute KeywordTok))+   ((pRegExpr regex_'5cbif'5cb >>= withAttribute ControlFlowTok))    <|>-   ((pRegExpr regex_'5cbend_if'5cb >>= withAttribute KeywordTok))+   ((pRegExpr regex_'5cbend_if'5cb >>= withAttribute ControlFlowTok))    <|>    ((pRegExpr regex_'5cbexit_function'5cb >>= withAttribute KeywordTok))    <|>@@ -173,33 +173,33 @@    <|>    ((pRegExpr regex_'5cbend_class'5cb >>= withAttribute KeywordTok))    <|>-   ((pRegExpr regex_'5cbexit_do'5cb >>= withAttribute KeywordTok))+   ((pRegExpr regex_'5cbexit_do'5cb >>= withAttribute ControlFlowTok))    <|>-   ((pRegExpr regex_'5cbdo'28'5cs'2b'28while'29'29'3f'5cb >>= withAttribute KeywordTok))+   ((pRegExpr regex_'5cbdo'28'5cs'2b'28while'29'29'3f'5cb >>= withAttribute ControlFlowTok))    <|>-   ((pRegExpr regex_'5cbloop'5cb >>= withAttribute KeywordTok))+   ((pRegExpr regex_'5cbloop'5cb >>= withAttribute ControlFlowTok))    <|>-   ((pRegExpr regex_'5cbexit_while'5cb >>= withAttribute KeywordTok))+   ((pRegExpr regex_'5cbexit_while'5cb >>= withAttribute ControlFlowTok))    <|>-   ((pRegExpr regex_'5cbwhile'5cb >>= withAttribute KeywordTok))+   ((pRegExpr regex_'5cbwhile'5cb >>= withAttribute ControlFlowTok))    <|>-   ((pRegExpr regex_'5cbwend'5cb >>= withAttribute KeywordTok))+   ((pRegExpr regex_'5cbwend'5cb >>= withAttribute ControlFlowTok))    <|>-   ((pRegExpr regex_'5cbexit_for'5cb >>= withAttribute KeywordTok))+   ((pRegExpr regex_'5cbexit_for'5cb >>= withAttribute ControlFlowTok))    <|>-   ((pRegExpr regex_'5cbfor'5cb >>= withAttribute KeywordTok))+   ((pRegExpr regex_'5cbfor'5cb >>= withAttribute ControlFlowTok))    <|>-   ((pRegExpr regex_'5cbnext'5cb >>= withAttribute KeywordTok))+   ((pRegExpr regex_'5cbnext'5cb >>= withAttribute ControlFlowTok))    <|>-   ((pRegExpr regex_'5cbselect_case'5cb >>= withAttribute KeywordTok))+   ((pRegExpr regex_'5cbselect_case'5cb >>= withAttribute ControlFlowTok))    <|>-   ((pRegExpr regex_'5cbend_select'5cb >>= withAttribute KeywordTok))+   ((pRegExpr regex_'5cbend_select'5cb >>= withAttribute ControlFlowTok))    <|>    ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_keywords >>= withAttribute KeywordTok))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_control_structures >>= withAttribute KeywordTok))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_control_structures >>= withAttribute ControlFlowTok))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_functions >>= withAttribute KeywordTok))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_functions >>= withAttribute FunctionTok))    <|>    (currentContext >>= \x -> guard (x == ("ASP","aspsource")) >> pDefault >>= withAttribute NormalTok)) @@ -282,11 +282,11 @@    <|>    ((pDetect2Chars False '/' '*' >>= withAttribute CommentTok) >>~ pushContext ("ASP","twolinecomment"))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_control_structures >>= withAttribute KeywordTok))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_control_structures >>= withAttribute ControlFlowTok))    <|>    ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_keywords >>= withAttribute KeywordTok))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_functions >>= withAttribute KeywordTok))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_functions >>= withAttribute FunctionTok))    <|>    ((pString False "<%" >>= withAttribute KeywordTok) >>~ pushContext ("ASP","aspsource"))    <|>
+ Text/Highlighting/Kate/Syntax/Ats.hs view
@@ -0,0 +1,164 @@+{- This module was generated from data in the Kate syntax+   highlighting file ats.xml, version 0.01, by Kiwamu Okabe (kiwamu@debian.or.jp) -}++module Text.Highlighting.Kate.Syntax.Ats+          (highlight, parseExpression, syntaxName, syntaxExtensions)+where+import Text.Highlighting.Kate.Types+import Text.Highlighting.Kate.Common+import Text.ParserCombinators.Parsec hiding (State)+import Control.Monad.State+import Data.Char (isSpace)+import qualified Data.Set as Set++-- | Full name of language.+syntaxName :: String+syntaxName = "ATS"++-- | Filename extensions for this language.+syntaxExtensions :: String+syntaxExtensions = "*.dats;*.sats;*.hats"++-- | Highlight source code using this syntax definition.+highlight :: String -> [SourceLine]+highlight input = evalState (mapM parseSourceLine $ lines input) startingState++parseSourceLine :: String -> State SyntaxState SourceLine+parseSourceLine = mkParseSourceLine (parseExpression Nothing)++-- | Parse an expression using appropriate local context.+parseExpression :: Maybe (String,String)+                -> KateParser Token+parseExpression mbcontext = do+  (lang,cont) <- maybe currentContext return mbcontext+  result <- parseRules (lang,cont)+  optional $ do eof+                updateState $ \st -> st{ synStPrevChar = '\n' }+                pEndLine+  return result++startingState = SyntaxState {synStContexts = [("ATS","Normal")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStContinuation = False, synStCaseSensitive = True, synStKeywordCaseSensitive = True, synStCaptures = []}++pEndLine = do+  updateState $ \st -> st{ synStPrevNonspace = False }+  context <- currentContext+  contexts <- synStContexts `fmap` getState+  st <- getState+  if length contexts >= 2+    then case context of+      _ | synStContinuation st -> updateState $ \st -> st{ synStContinuation = False }+      ("ATS","Normal") -> return ()+      ("ATS","Rest-of-file Comment") -> return ()+      ("ATS","Multiline Comment") -> return ()+      ("ATS","Multiline C-style Comment") -> return ()+      ("ATS","Singleline C++ style Comment") -> (popContext) >> pEndLine+      ("ATS","String Context") -> return ()+      ("ATS","Termination Metrics Context") -> return ()+      ("ATS","Function Keyword Context") -> return ()+      ("ATS","Universal Context") -> return ()+      ("ATS","Existential Context") -> return ()+      _ -> return ()+    else return ()++withAttribute attr txt = do+  when (null txt) $ fail "Parser matched no text"+  updateState $ \st -> st { synStPrevChar = last txt+                          , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) }+  return (attr, txt)++list_keywords = Set.fromList $ words $ "abstype abst0ype absprop absview absvtype absviewtype absvt0ype absviewt0ype and as assume begin break continue classdec datasort datatype dataprop dataview datavtype dataviewtype do dynload else end exception extern extype extval if in infix infixl infixr prefix postfix let local macdef macrodef nonfix overload of op rec scase sif sortdef sta stacst stadef stavar staload symelim symintr then try tkindef type typedef propdef viewdef vtypedef viewtypedef val prval var prvar when where for while with withtype withprop withview withvtype withviewtype"+list_special_keywords = Set.fromList $ words $ "$arrpsz $arrptrsize $delay $ldelay $effmask $effmask_ntm $effmask_exn $effmask_ref $effmask_wrt $effmask_all $extern $extkind $extype $extype_struct $extval $lst $lst_t $lst_vt $list $list_t $list_vt $rec $rec_t $rec_vt $record $record_t $record_vt $tup $tup_t $tup_vt $tuple $tuple_t $tuple_vt $raise $showtype $myfilename $mylocation $myfunction #assert #define #elif #elifdef #elifndef #else #endif #error #if #ifdef #ifndef #include #print #then #undef"+list_function_keywords = Set.fromList $ words $ "fn fnx fun prfn prfun praxi castfn implmnt implement primplmnt primplement lam llam fix"++regex_'60'5cs'2a'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c0377'5f'5d'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c03770'2d9'5f'27'5d'2a = compileRegex True "`\\s*[A-Za-z\\0300-\\0326\\0330-\\0366\\0370-\\0377_][A-Za-z\\0300-\\0326\\0330-\\0366\\0370-\\03770-9_']*"+regex_'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c0377'5f'5d'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c03770'2d9'5f'27'5d'2a = compileRegex True "[A-Za-z\\0300-\\0326\\0330-\\0366\\0370-\\0377_][A-Za-z\\0300-\\0326\\0330-\\0366\\0370-\\03770-9_']*"+regex_'7e'3f0'5bxX'5d'5b0'2d9A'2dFa'2df'5f'5d'2b = compileRegex True "~?0[xX][0-9A-Fa-f_]+"+regex_'7e'3f'5b0'2d9'5d'5b0'2d9'5f'5d'2a'28'28'5c'2e'28'5b0'2d9'5d'5b0'2d9'5f'5d'2a'29'3f'28'5beE'5d'5b'2d'2b'5d'3f'5b0'2d9'5d'5b0'2d9'5f'5d'2a'29'3f'29'7c'28'5beE'5d'5b'2d'2b'5d'3f'5b0'2d9'5d'5b0'2d9'5f'5d'2a'29'29 = compileRegex True "~?[0-9][0-9_]*((\\.([0-9][0-9_]*)?([eE][-+]?[0-9][0-9_]*)?)|([eE][-+]?[0-9][0-9_]*))"+regex_'7e'3f'5b0'2d9'5d'5b0'2d9'5f'5d'2a = compileRegex True "~?[0-9][0-9_]*"+regex_'28'5c'5c'5bntbr'27'22'5c'5c'5d'7c'5c'5c'5b0'2d9'5d'7b3'7d'7c'5c'5cx'5b0'2d9A'2dFa'2df'5d'7b2'7d'29 = compileRegex True "(\\\\[ntbr'\"\\\\]|\\\\[0-9]{3}|\\\\x[0-9A-Fa-f]{2})"+regex_'5c'5c'24 = compileRegex True "\\\\$"++parseRules ("ATS","Normal") =+  (((pString False "////" >>= withAttribute CommentTok) >>~ pushContext ("ATS","Rest-of-file Comment"))+   <|>+   ((pDetect2Chars False '(' '*' >>= withAttribute CommentTok) >>~ pushContext ("ATS","Multiline Comment"))+   <|>+   ((pDetect2Chars False '/' '*' >>= withAttribute CommentTok) >>~ pushContext ("ATS","Multiline C-style Comment"))+   <|>+   ((pDetect2Chars False '/' '/' >>= withAttribute CommentTok) >>~ pushContext ("ATS","Singleline C++ style Comment"))+   <|>+   ((pDetect2Chars False '.' '<' >>= withAttribute DataTypeTok) >>~ pushContext ("ATS","Termination Metrics Context"))+   <|>+   ((pRegExpr regex_'60'5cs'2a'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c0377'5f'5d'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c03770'2d9'5f'27'5d'2a >>= withAttribute DataTypeTok))+   <|>+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_keywords >>= withAttribute KeywordTok))+   <|>+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_function_keywords >>= withAttribute KeywordTok) >>~ pushContext ("ATS","Function Keyword Context"))+   <|>+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_special_keywords >>= withAttribute DataTypeTok))+   <|>+   ((pRegExpr regex_'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c0377'5f'5d'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c03770'2d9'5f'27'5d'2a >>= withAttribute NormalTok))+   <|>+   ((pRegExpr regex_'7e'3f0'5bxX'5d'5b0'2d9A'2dFa'2df'5f'5d'2b >>= withAttribute BaseNTok))+   <|>+   ((pRegExpr regex_'7e'3f'5b0'2d9'5d'5b0'2d9'5f'5d'2a'28'28'5c'2e'28'5b0'2d9'5d'5b0'2d9'5f'5d'2a'29'3f'28'5beE'5d'5b'2d'2b'5d'3f'5b0'2d9'5d'5b0'2d9'5f'5d'2a'29'3f'29'7c'28'5beE'5d'5b'2d'2b'5d'3f'5b0'2d9'5d'5b0'2d9'5f'5d'2a'29'29 >>= withAttribute FloatTok))+   <|>+   ((pRegExpr regex_'7e'3f'5b0'2d9'5d'5b0'2d9'5f'5d'2a >>= withAttribute DecValTok))+   <|>+   (currentContext >>= \x -> guard (x == ("ATS","Normal")) >> pDefault >>= withAttribute NormalTok))++parseRules ("ATS","Rest-of-file Comment") =+  (currentContext >>= \x -> guard (x == ("ATS","Rest-of-file Comment")) >> pDefault >>= withAttribute CommentTok)++parseRules ("ATS","Multiline Comment") =+  (((pDetect2Chars False '*' ')' >>= withAttribute CommentTok) >>~ (popContext))+   <|>+   ((pDetect2Chars False '(' '*' >>= withAttribute CommentTok) >>~ pushContext ("ATS","Multiline Comment"))+   <|>+   (currentContext >>= \x -> guard (x == ("ATS","Multiline Comment")) >> pDefault >>= withAttribute CommentTok))++parseRules ("ATS","Multiline C-style Comment") =+  (((pDetect2Chars False '*' '/' >>= withAttribute CommentTok) >>~ (popContext))+   <|>+   (currentContext >>= \x -> guard (x == ("ATS","Multiline C-style Comment")) >> pDefault >>= withAttribute CommentTok))++parseRules ("ATS","Singleline C++ style Comment") =+  (currentContext >>= \x -> guard (x == ("ATS","Singleline C++ style Comment")) >> pDefault >>= withAttribute CommentTok)++parseRules ("ATS","String Context") =+  (((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext))+   <|>+   ((pRegExpr regex_'28'5c'5c'5bntbr'27'22'5c'5c'5d'7c'5c'5c'5b0'2d9'5d'7b3'7d'7c'5c'5cx'5b0'2d9A'2dFa'2df'5d'7b2'7d'29 >>= withAttribute NormalTok))+   <|>+   ((pRegExpr regex_'5c'5c'24 >>= withAttribute NormalTok))+   <|>+   (currentContext >>= \x -> guard (x == ("ATS","String Context")) >> pDefault >>= withAttribute StringTok))++parseRules ("ATS","Termination Metrics Context") =+  (((pDetect2Chars False '>' '.' >>= withAttribute DataTypeTok) >>~ (popContext))+   <|>+   (currentContext >>= \x -> guard (x == ("ATS","Termination Metrics Context")) >> pDefault >>= withAttribute DataTypeTok))++parseRules ("ATS","Function Keyword Context") =+  (((pDetectChar False '=' >>= withAttribute NormalTok) >>~ (popContext))+   <|>+   ((pDetectChar False '{' >>= withAttribute DataTypeTok) >>~ pushContext ("ATS","Universal Context"))+   <|>+   ((pDetectChar False '[' >>= withAttribute DataTypeTok) >>~ pushContext ("ATS","Existential Context"))+   <|>+   ((parseRules ("ATS","Normal")))+   <|>+   (currentContext >>= \x -> guard (x == ("ATS","Function Keyword Context")) >> pDefault >>= withAttribute NormalTok))++parseRules ("ATS","Universal Context") =+  (((pDetectChar False '}' >>= withAttribute DataTypeTok) >>~ (popContext))+   <|>+   (currentContext >>= \x -> guard (x == ("ATS","Universal Context")) >> pDefault >>= withAttribute DataTypeTok))++parseRules ("ATS","Existential Context") =+  (((pDetectChar False ']' >>= withAttribute DataTypeTok) >>~ (popContext))+   <|>+   (currentContext >>= \x -> guard (x == ("ATS","Existential Context")) >> pDefault >>= withAttribute DataTypeTok))+++parseRules x = parseRules ("ATS","Normal") <|> fail ("Unknown context" ++ show x)
Text/Highlighting/Kate/Syntax/Awk.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file awk.xml, version 0.93, by  -}+   highlighting file awk.xml, version 1, by  -}  module Text.Highlighting.Kate.Syntax.Awk           (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -95,7 +95,7 @@    <|>    ((parseRules ("AWK","base")))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_special >>= withAttribute KeywordTok))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_special >>= withAttribute ControlFlowTok))    <|>    (currentContext >>= \x -> guard (x == ("AWK","Pattern")) >> pDefault >>= withAttribute NormalTok)) @@ -115,15 +115,15 @@    <|>    ((pDetectChar False '#' >>= withAttribute CommentTok) >>~ pushContext ("AWK","Comment"))    <|>-   ((pDetectChar False '~' >>= withAttribute NormalTok) >>~ pushContext ("AWK","Match"))+   ((pDetectChar False '~' >>= withAttribute OperatorTok) >>~ pushContext ("AWK","Match"))    <|>    ((pDetectChar False '"' >>= withAttribute StringTok) >>~ pushContext ("AWK","String"))    <|>-   ((pAnyChar "!%&*+,-./:;<=>?^|" >>= withAttribute NormalTok))+   ((pAnyChar "!%&*+,-./:;<=>?^|" >>= withAttribute OperatorTok))    <|>    ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_keywords >>= withAttribute KeywordTok))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_builtins >>= withAttribute NormalTok))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_builtins >>= withAttribute BuiltInTok))    <|>    ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_functions >>= withAttribute FunctionTok))    <|>@@ -138,9 +138,9 @@ parseRules ("AWK","String") =   (((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext))    <|>-   ((pHlCStringChar >>= withAttribute StringTok))+   ((pHlCStringChar >>= withAttribute SpecialCharTok))    <|>-   ((pDetectChar False '\\' >>= withAttribute NormalTok) >>~ pushContext ("AWK","Escape"))+   ((pDetectChar False '\\' >>= withAttribute OperatorTok) >>~ pushContext ("AWK","Escape"))    <|>    (currentContext >>= \x -> guard (x == ("AWK","String")) >> pDefault >>= withAttribute StringTok)) @@ -168,10 +168,10 @@    <|>    ((pDetectChar False '/' >>= withAttribute OtherTok) >>~ (popContext >> popContext))    <|>-   (currentContext >>= \x -> guard (x == ("AWK","Regex")) >> pDefault >>= withAttribute StringTok))+   (currentContext >>= \x -> guard (x == ("AWK","Regex")) >> pDefault >>= withAttribute SpecialStringTok))  parseRules ("AWK","regex") =-  (((pHlCStringChar >>= withAttribute StringTok))+  (((pHlCStringChar >>= withAttribute SpecialCharTok))    <|>    ((pDetectChar False '\\' >>= withAttribute OtherTok) >>~ pushContext ("AWK","Regex Escape"))    <|>@@ -184,14 +184,14 @@    (currentContext >>= \x -> guard (x == ("AWK","regex")) >> pDefault >>= withAttribute NormalTok))  parseRules ("AWK","Regex Escape") =-  (((pRegExpr regex_'2e >>= withAttribute StringTok) >>~ (popContext))+  (((pRegExpr regex_'2e >>= withAttribute SpecialStringTok) >>~ (popContext))    <|>    (currentContext >>= \x -> guard (x == ("AWK","Regex Escape")) >> pDefault >>= withAttribute NormalTok))  parseRules ("AWK","RegexChar") =-  (((pDetect2Chars False '-' ']' >>= withAttribute StringTok) >>~ pushContext ("AWK","InChar"))+  (((pDetect2Chars False '-' ']' >>= withAttribute SpecialStringTok) >>~ pushContext ("AWK","InChar"))    <|>-   ((pAnyChar "-]" >>= withAttribute StringTok) >>~ pushContext ("AWK","InChar"))+   ((pAnyChar "-]" >>= withAttribute SpecialStringTok) >>~ pushContext ("AWK","InChar"))    <|>    (pushContext ("AWK","InChar") >> currentContext >>= parseRules)) @@ -208,14 +208,14 @@    <|>    ((pRegExpr regex_'5c'5b'3a'28'3f'3d'5b'5f'5cw'5d'5b'5f'5cd'5cw'5d'2a'3a'5c'5d'29 >>= withAttribute OtherTok) >>~ pushContext ("AWK","CharClass"))    <|>-   (currentContext >>= \x -> guard (x == ("AWK","InChar")) >> pDefault >>= withAttribute StringTok))+   (currentContext >>= \x -> guard (x == ("AWK","InChar")) >> pDefault >>= withAttribute SpecialStringTok))  parseRules ("AWK","CharClass") =-  (((pRegExpr regex_'28alpha'7calnum'7cblank'7ccntrl'7cdigit'7cgraph'7clower'7cpunct'7cspace'7cupper'7cxdigit'29'28'3f'3d'3a'5c'5d'29 >>= withAttribute StringTok))+  (((pRegExpr regex_'28alpha'7calnum'7cblank'7ccntrl'7cdigit'7cgraph'7clower'7cpunct'7cspace'7cupper'7cxdigit'29'28'3f'3d'3a'5c'5d'29 >>= withAttribute ExtensionTok))    <|>    ((pDetect2Chars False ':' ']' >>= withAttribute OtherTok) >>~ (popContext))    <|>-   (currentContext >>= \x -> guard (x == ("AWK","CharClass")) >> pDefault >>= withAttribute StringTok))+   (currentContext >>= \x -> guard (x == ("AWK","CharClass")) >> pDefault >>= withAttribute OtherTok))  parseRules ("AWK","MatchPattern") =   (((pDetect2Chars False '/' '^' >>= withAttribute OtherTok) >>~ pushContext ("AWK","RegexPattern"))@@ -229,10 +229,10 @@    <|>    ((pDetectChar False '/' >>= withAttribute OtherTok) >>~ pushContext ("AWK","CheckRange"))    <|>-   (currentContext >>= \x -> guard (x == ("AWK","RegexPattern")) >> pDefault >>= withAttribute StringTok))+   (currentContext >>= \x -> guard (x == ("AWK","RegexPattern")) >> pDefault >>= withAttribute SpecialStringTok))  parseRules ("AWK","CheckRange") =-  (((pRegExpr regex_'5cs'2a'2c'5cs'2a'28'3f'3d'2f'29 >>= withAttribute NormalTok) >>~ pushContext ("AWK","RangePattern"))+  (((pRegExpr regex_'5cs'2a'2c'5cs'2a'28'3f'3d'2f'29 >>= withAttribute OperatorTok) >>~ pushContext ("AWK","RangePattern"))    <|>    ((popContext >> popContext >> popContext) >> currentContext >>= parseRules)) @@ -248,7 +248,7 @@    <|>    ((pDetectChar False '/' >>= withAttribute OtherTok) >>~ (popContext >> popContext >> popContext >> popContext >> popContext))    <|>-   (currentContext >>= \x -> guard (x == ("AWK","Pattern2")) >> pDefault >>= withAttribute StringTok))+   (currentContext >>= \x -> guard (x == ("AWK","Pattern2")) >> pDefault >>= withAttribute SpecialStringTok))  parseRules ("Alerts", _) = Text.Highlighting.Kate.Syntax.Alert.parseExpression Nothing 
Text/Highlighting/Kate/Syntax/Bash.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file bash.xml, version 2.17, by Wilbert Berendsen (wilbert@kde.nl) -}+   highlighting file bash.xml, version 3, by Wilbert Berendsen (wilbert@kde.nl) -}  module Text.Highlighting.Kate.Syntax.Bash           (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -19,7 +19,7 @@  -- | Filename extensions for this language. syntaxExtensions :: String-syntaxExtensions = "*.sh;*.bash;*.ebuild;*.eclass;.bashrc;.bash_profile;.bash_login;.profile"+syntaxExtensions = "*.sh;*.bash;*.ebuild;*.eclass;*.nix;.bashrc;.bash_profile;.bash_login;.profile"  -- | Highlight source code using this syntax definition. highlight :: String -> [SourceLine]@@ -116,7 +116,7 @@ list_keywords = Set.fromList $ words $ "else for function in select until while elif then set" list_builtins = Set.fromList $ words $ ": source alias bg bind break builtin cd caller command compgen complete continue dirs disown echo enable eval exec exit fc fg getopts hash help history jobs kill let logout popd printf pushd pwd return set shift shopt suspend test time times trap type ulimit umask unalias wait" list_builtins'5fvar = Set.fromList $ words $ "export unset declare typeset local read readonly"-list_unixcommands = Set.fromList $ words $ "arch awk bash bunzip2 bzcat bzcmp bzdiff bzegrep bzfgrep bzgrep bzip2 bzip2recover bzless bzmore cat chattr chgrp chmod chown chvt cp date dd deallocvt df dir dircolors dmesg dnsdomainname domainname du dumpkeys echo ed egrep false fgconsole fgrep fuser gawk getkeycodes gocr grep groff groups gunzip gzexe gzip hostname igawk install kbd_mode kbdrate killall last lastb link ln loadkeys loadunimap login ls lsattr lsmod lsmod.old lzcat lzcmp lzdiff lzegrep lzfgrep lzgrep lzless lzcat lzma lzmainfo lzmore mapscrn mesg mkdir mkfifo mknod mktemp more mount mv nano netstat nisdomainname nroff openvt pgawk pidof ping ps pstree pwd rbash readlink red resizecons rm rmdir run-parts sash sed setfont setkeycodes setleds setmetamode setserial sh showkey shred sleep ssed stat stty su sync tar tempfile touch troff true umount uname unicode_start unicode_stop unlink unlzma unxz utmpdump uuidgen vdir wall wc xz xzcat ypdomainname zcat zcmp zdiff zegrep zfgrep zforce zgrep zless zmore znew zsh aclocal aconnect aplay apm apmsleep apropos ar arecord as as86 autoconf autoheader automake awk basename bc bison c++ cal cat cc cdda2wav cdparanoia cdrdao cd-read cdrecord chfn chgrp chmod chown chroot chsh clear cmp co col comm cp cpio cpp cut dc dd df diff diff3 dir dircolors directomatic dirname du env expr fbset file find flex flex++ fmt free ftp funzip fuser g++ gawk gc gcc gdb getent getopt gettext gettextize gimp gimp-remote gimptool gmake gs head hexdump id install join kill killall ld ld86 ldd less lex ln locate lockfile logname lp lpr ls lynx m4 make man mkdir mknod msgfmt mv namei nasm nawk nice nl nm nm86 nmap nohup nop od passwd patch pcregrep pcretest perl perror pidof pr printf procmail prune ps2ascii ps2epsi ps2frag ps2pdf ps2ps psbook psmerge psnup psresize psselect pstops rcs rev rm scp sed seq setterm shred size size86 skill slogin snice sort sox split ssh ssh-add ssh-agent ssh-keygen ssh-keyscan stat strings strip sudo suidperl sum tac tail tee test tr uniq unlink unzip updatedb updmap uptime users vmstat w wc wget whatis whereis which who whoami write xargs yacc yes zip zsoelim dcop kdialog kfile xhost xmodmap xset"+list_unixcommands = Set.fromList $ words $ "arch awk bash bunzip2 bzcat bzcmp bzdiff bzegrep bzfgrep bzgrep bzip2 bzip2recover bzless bzmore cat chattr chgrp chmod chown chvt cp date dd deallocvt df dir dircolors dmesg dnsdomainname domainname du dumpkeys echo ed egrep false fgconsole fgrep fuser gawk getkeycodes gocr grep groff groups gunzip gzexe gzip hostname igawk install kbd_mode kbdrate killall last lastb link ln loadkeys loadunimap login ls lsattr lsmod lsmod.old lzcat lzcmp lzdiff lzegrep lzfgrep lzgrep lzless lzcat lzma lzmainfo lzmore mapscrn mesg mkdir mkfifo mknod mktemp more mount mv nano netstat nisdomainname nroff openvt pgawk pidof ping ps pstree pwd rbash readlink red resizecons rm rmdir run-parts sash sed setfont setkeycodes setleds setmetamode setserial sh showkey shred sleep ssed stat stty su sync tar tempfile touch troff true umount uname unicode_start unicode_stop unlink unlzma unxz utmpdump uuidgen vdir wall wc xz xzcat ypdomainname zcat zcmp zdiff zegrep zfgrep zforce zgrep zless zmore znew zsh aclocal aconnect aplay apm apmsleep apropos ar arecord as as86 autoconf autoheader automake awk basename bc bison c++ cal cat cc cdda2wav cdparanoia cdrdao cd-read cdrecord chfn chgrp chmod chown chroot chsh clear cmp co col comm cp cpio cpp cut dc dd df diff diff3 dir dircolors directomatic dirname du env expr fbset file find flex flex++ fmt free ftp funzip fuser g++ gawk gc gcc clang valgrind xdg-open cmake qmake svn git rsync gdb getent getopt gettext gettextize gimp gimp-remote gimptool gmake gs head hexdump id install join kill killall ld ld86 ldd less lex ln locate lockfile logname lp lpr ls lynx m4 make man mkdir mknod msgfmt mv namei nasm nawk nice nl nm nm86 nmap nohup nop od passwd patch pcregrep pcretest perl perror pidof pr printf procmail prune ps2ascii ps2epsi ps2frag ps2pdf ps2ps psbook psmerge psnup psresize psselect pstops rcs rev rm scp sed seq setterm shred size size86 skill slogin snice sort sox split ssh ssh-add ssh-agent ssh-keygen ssh-keyscan stat strings strip sudo suidperl sum tac tail tee test tr uniq unlink unzip updatedb updmap uptime users vmstat w wc wget whatis whereis which who whoami write xargs yacc yes zip zsoelim dcop kdialog kfile xhost xmodmap xset"  regex_'5b'5cs'3b'5d'28'3f'3d'23'29 = compileRegex True "[\\s;](?=#)" regex_'5b'5e'29'5d'28'3f'3d'5c'29'29 = compileRegex True "[^)](?=\\))"@@ -280,9 +280,9 @@    <|>    ((pRegExpr regex_'5cs'5c'5b'5c'5b'28'3f'3d'28'24'7c'5cs'29'29 >>= withAttribute KeywordTok) >>~ pushContext ("Bash","ExprDblBracket"))    <|>-   ((pColumn 0 >> pRegExpr regex_'5c'5b'28'3f'3d'28'24'7c'5cs'29'29 >>= withAttribute KeywordTok) >>~ pushContext ("Bash","ExprBracket"))+   ((pColumn 0 >> pRegExpr regex_'5c'5b'28'3f'3d'28'24'7c'5cs'29'29 >>= withAttribute BuiltInTok) >>~ pushContext ("Bash","ExprBracket"))    <|>-   ((pRegExpr regex_'5cs'5c'5b'28'3f'3d'28'24'7c'5cs'29'29 >>= withAttribute KeywordTok) >>~ pushContext ("Bash","ExprBracket"))+   ((pRegExpr regex_'5cs'5c'5b'28'3f'3d'28'24'7c'5cs'29'29 >>= withAttribute BuiltInTok) >>~ pushContext ("Bash","ExprBracket"))    <|>    ((pRegExpr regex_'5c'7b'28'3f'3d'28'24'7c'5cs'29'29 >>= withAttribute KeywordTok) >>~ pushContext ("Bash","Group"))    <|>@@ -298,9 +298,9 @@    <|>    ((pRegExpr regex_'5cbcase'28'3f'21'5b'5cw'24'2b'2d'5d'29 >>= withAttribute KeywordTok) >>~ pushContext ("Bash","Case"))    <|>-   ((pRegExpr regex_'5cb'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a'5c'2b'3f'3d >>= withAttribute OtherTok) >>~ pushContext ("Bash","Assign"))+   ((pRegExpr regex_'5cb'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a'5c'2b'3f'3d >>= withAttribute VariableTok) >>~ pushContext ("Bash","Assign"))    <|>-   ((pRegExpr regex_'5cb'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a'28'3f'3d'5c'5b'2e'2b'5c'5d'5c'2b'3f'3d'29 >>= withAttribute OtherTok) >>~ pushContext ("Bash","AssignSubscr"))+   ((pRegExpr regex_'5cb'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a'28'3f'3d'5c'5b'2e'2b'5c'5d'5c'2b'3f'3d'29 >>= withAttribute VariableTok) >>~ pushContext ("Bash","AssignSubscr"))    <|>    ((pString False ":()" >>= withAttribute FunctionTok))    <|>@@ -310,36 +310,36 @@    <|>    ((pKeyword " \n\t()!+,<=>&*;?|~\\`" list_keywords >>= withAttribute KeywordTok))    <|>-   ((pRegExpr regex_'5c'2e'28'3f'3d'5cs'29 >>= withAttribute KeywordTok))+   ((pRegExpr regex_'5c'2e'28'3f'3d'5cs'29 >>= withAttribute BuiltInTok))    <|>-   ((pKeyword " \n\t()!+,<=>&*;?|~\\`" list_builtins'5fvar >>= withAttribute KeywordTok) >>~ pushContext ("Bash","VarName"))+   ((pKeyword " \n\t()!+,<=>&*;?|~\\`" list_builtins'5fvar >>= withAttribute BuiltInTok) >>~ pushContext ("Bash","VarName"))    <|>-   ((pRegExpr regex_'5cd'2a'3c'3c'3c >>= withAttribute KeywordTok))+   ((pRegExpr regex_'5cd'2a'3c'3c'3c >>= withAttribute OperatorTok))    <|>    ((lookAhead (pString False "<<") >> pushContext ("Bash","HereDoc") >> currentContext >>= parseRules))    <|>-   ((pRegExpr regex_'5b'3c'3e'5d'5c'28 >>= withAttribute KeywordTok) >>~ pushContext ("Bash","ProcessSubst"))+   ((pRegExpr regex_'5b'3c'3e'5d'5c'28 >>= withAttribute OperatorTok) >>~ pushContext ("Bash","ProcessSubst"))    <|>-   ((pRegExpr regex_'28'5b0'2d9'5d'2a'28'3e'7b1'2c2'7d'7c'3c'29'28'26'5b0'2d9'5d'2b'2d'3f'29'3f'7c'26'3e'7c'3e'26'7c'5b0'2d9'5d'2a'3c'3e'29 >>= withAttribute KeywordTok))+   ((pRegExpr regex_'28'5b0'2d9'5d'2a'28'3e'7b1'2c2'7d'7c'3c'29'28'26'5b0'2d9'5d'2b'2d'3f'29'3f'7c'26'3e'7c'3e'26'7c'5b0'2d9'5d'2a'3c'3e'29 >>= withAttribute OperatorTok))    <|>    ((pRegExpr regex_'28'5b'7c'26'5d'29'5c1'3f >>= withAttribute KeywordTok))    <|>    (currentContext >>= \x -> guard (x == ("Bash","FindSpecialCommands")) >> pDefault >>= withAttribute NormalTok))  parseRules ("Bash","FindNormalCommands") =-  (((pKeyword " \n\t()!+,<=>&*;?|~\\`" list_builtins >>= withAttribute KeywordTok) >>~ pushContext ("Bash","CommandArgs"))+  (((pKeyword " \n\t()!+,<=>&*;?|~\\`" list_builtins >>= withAttribute BuiltInTok) >>~ pushContext ("Bash","CommandArgs"))    <|>-   ((pKeyword " \n\t()!+,<=>&*;?|~\\`" list_unixcommands >>= withAttribute KeywordTok) >>~ pushContext ("Bash","CommandArgs"))+   ((pKeyword " \n\t()!+,<=>&*;?|~\\`" list_unixcommands >>= withAttribute FunctionTok) >>~ pushContext ("Bash","CommandArgs"))    <|>-   ((pRegExpr regex_'28'5b'5cw'5f'40'2e'25'2a'3f'2b'2d'5d'7c'5c'5c_'29'2a'28'3f'3d'2f'29 >>= withAttribute KeywordTok))+   ((pRegExpr regex_'28'5b'5cw'5f'40'2e'25'2a'3f'2b'2d'5d'7c'5c'5c_'29'2a'28'3f'3d'2f'29 >>= withAttribute ExtensionTok))    <|>-   ((pRegExpr regex_'7e'5cw'2a >>= withAttribute KeywordTok))+   ((pRegExpr regex_'7e'5cw'2a >>= withAttribute ExtensionTok))    <|>-   ((pRegExpr regex_'2f'28'5b'5cw'5f'40'2e'25'2a'3f'2b'2d'5d'7c'5c'5c_'29'2a'28'3f'3d'28'5b'2f'29'3b'24'60'27'22'5d'7c'24'29'29 >>= withAttribute KeywordTok))+   ((pRegExpr regex_'2f'28'5b'5cw'5f'40'2e'25'2a'3f'2b'2d'5d'7c'5c'5c_'29'2a'28'3f'3d'28'5b'2f'29'3b'24'60'27'22'5d'7c'24'29'29 >>= withAttribute ExtensionTok))    <|>-   ((pRegExpr regex_'2f'28'5b'5cw'5f'40'2e'25'2a'3f'2b'2d'5d'7c'5c'5c_'29'2a'28'3f'3d'28'5b'5cs'29'3b'24'60'27'22'5d'7c'24'29'29 >>= withAttribute KeywordTok) >>~ pushContext ("Bash","CommandArgs"))+   ((pRegExpr regex_'2f'28'5b'5cw'5f'40'2e'25'2a'3f'2b'2d'5d'7c'5c'5c_'29'2a'28'3f'3d'28'5b'5cs'29'3b'24'60'27'22'5d'7c'24'29'29 >>= withAttribute ExtensionTok) >>~ pushContext ("Bash","CommandArgs"))    <|>-   ((pRegExpr regex_'28'5b'5cw'5f'40'2e'25'2a'3f'2b'2d'5d'7c'5c'5c_'29'2a >>= withAttribute KeywordTok) >>~ pushContext ("Bash","CommandArgs"))+   ((pRegExpr regex_'28'5b'5cw'5f'40'2e'25'2a'3f'2b'2d'5d'7c'5c'5c_'29'2a >>= withAttribute ExtensionTok) >>~ pushContext ("Bash","CommandArgs"))    <|>    (currentContext >>= \x -> guard (x == ("Bash","FindNormalCommands")) >> pDefault >>= withAttribute NormalTok)) @@ -352,13 +352,13 @@    <|>    ((pRegExpr regex_'5c'2e'28'3f'3d'5cs'29 >>= withAttribute NormalTok))    <|>-   ((pRegExpr regex_'5cd'2a'3c'3c'3c >>= withAttribute KeywordTok))+   ((pRegExpr regex_'5cd'2a'3c'3c'3c >>= withAttribute OperatorTok))    <|>    ((lookAhead (pString False "<<") >> pushContext ("Bash","HereDoc") >> currentContext >>= parseRules))    <|>-   ((pRegExpr regex_'5b'3c'3e'5d'5c'28 >>= withAttribute KeywordTok) >>~ pushContext ("Bash","ProcessSubst"))+   ((pRegExpr regex_'5b'3c'3e'5d'5c'28 >>= withAttribute OperatorTok) >>~ pushContext ("Bash","ProcessSubst"))    <|>-   ((pRegExpr regex_'28'5b0'2d9'5d'2a'28'3e'7b1'2c2'7d'7c'3c'29'28'26'5b0'2d9'5d'2b'2d'3f'29'3f'7c'26'3e'7c'3e'26'7c'5b0'2d9'5d'2a'3c'3e'29 >>= withAttribute KeywordTok))+   ((pRegExpr regex_'28'5b0'2d9'5d'2a'28'3e'7b1'2c2'7d'7c'3c'29'28'26'5b0'2d9'5d'2b'2d'3f'29'3f'7c'26'3e'7c'3e'26'7c'5b0'2d9'5d'2a'3c'3e'29 >>= withAttribute OperatorTok))    <|>    ((pRegExpr regex_'28'5b'7c'26'3b'5d'29'5c1'3f >>= withAttribute KeywordTok) >>~ (popContext))    <|>@@ -378,19 +378,19 @@    (currentContext >>= \x -> guard (x == ("Bash","FindCommandsBackq")) >> pDefault >>= withAttribute NormalTok))  parseRules ("Bash","FindNormalCommandsBackq") =-  (((pKeyword " \n\t()!+,<=>&*;?|~\\`" list_builtins >>= withAttribute KeywordTok) >>~ pushContext ("Bash","CommandArgsBackq"))+  (((pKeyword " \n\t()!+,<=>&*;?|~\\`" list_builtins >>= withAttribute BuiltInTok) >>~ pushContext ("Bash","CommandArgsBackq"))    <|>-   ((pKeyword " \n\t()!+,<=>&*;?|~\\`" list_unixcommands >>= withAttribute KeywordTok) >>~ pushContext ("Bash","CommandArgsBackq"))+   ((pKeyword " \n\t()!+,<=>&*;?|~\\`" list_unixcommands >>= withAttribute FunctionTok) >>~ pushContext ("Bash","CommandArgsBackq"))    <|>-   ((pRegExpr regex_'28'5b'5cw'5f'40'2e'25'2a'3f'2b'2d'5d'7c'5c'5c_'29'2a'28'3f'3d'2f'29 >>= withAttribute KeywordTok))+   ((pRegExpr regex_'28'5b'5cw'5f'40'2e'25'2a'3f'2b'2d'5d'7c'5c'5c_'29'2a'28'3f'3d'2f'29 >>= withAttribute ExtensionTok))    <|>-   ((pRegExpr regex_'7e'5cw'2a >>= withAttribute KeywordTok))+   ((pRegExpr regex_'7e'5cw'2a >>= withAttribute ExtensionTok))    <|>-   ((pRegExpr regex_'2f'28'5b'5cw'5f'40'2e'25'2a'3f'2b'2d'5d'7c'5c'5c_'29'2a'28'3f'3d'28'5b'2f'29'3b'24'60'27'22'5d'7c'24'29'29 >>= withAttribute KeywordTok))+   ((pRegExpr regex_'2f'28'5b'5cw'5f'40'2e'25'2a'3f'2b'2d'5d'7c'5c'5c_'29'2a'28'3f'3d'28'5b'2f'29'3b'24'60'27'22'5d'7c'24'29'29 >>= withAttribute ExtensionTok))    <|>-   ((pRegExpr regex_'2f'28'5b'5cw'5f'40'2e'25'2a'3f'2b'2d'5d'7c'5c'5c_'29'2a'28'3f'3d'28'5b'5cs'29'3b'24'60'27'22'5d'7c'24'29'29 >>= withAttribute KeywordTok) >>~ pushContext ("Bash","CommandArgsBackq"))+   ((pRegExpr regex_'2f'28'5b'5cw'5f'40'2e'25'2a'3f'2b'2d'5d'7c'5c'5c_'29'2a'28'3f'3d'28'5b'5cs'29'3b'24'60'27'22'5d'7c'24'29'29 >>= withAttribute ExtensionTok) >>~ pushContext ("Bash","CommandArgsBackq"))    <|>-   ((pRegExpr regex_'28'5b'5cw'5f'40'2e'25'2a'3f'2b'2d'5d'7c'5c'5c_'29'2a >>= withAttribute KeywordTok) >>~ pushContext ("Bash","CommandArgsBackq"))+   ((pRegExpr regex_'28'5b'5cw'5f'40'2e'25'2a'3f'2b'2d'5d'7c'5c'5c_'29'2a >>= withAttribute ExtensionTok) >>~ pushContext ("Bash","CommandArgsBackq"))    <|>    (currentContext >>= \x -> guard (x == ("Bash","FindNormalCommandsBackq")) >> pDefault >>= withAttribute NormalTok)) @@ -434,29 +434,29 @@    (currentContext >>= \x -> guard (x == ("Bash","FindStrings")) >> pDefault >>= withAttribute NormalTok))  parseRules ("Bash","FindSubstitutions") =-  (((pRegExpr regex_'5c'24'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a'5c'5b >>= withAttribute OtherTok) >>~ pushContext ("Bash","Subscript"))+  (((pRegExpr regex_'5c'24'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a'5c'5b >>= withAttribute VariableTok) >>~ pushContext ("Bash","Subscript"))    <|>-   ((pRegExpr regex_'5c'24'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a >>= withAttribute OtherTok))+   ((pRegExpr regex_'5c'24'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a >>= withAttribute VariableTok))    <|>-   ((pRegExpr regex_'5c'24'5b'2a'40'23'3f'24'21'5f0'2d9'2d'5d >>= withAttribute OtherTok))+   ((pRegExpr regex_'5c'24'5b'2a'40'23'3f'24'21'5f0'2d9'2d'5d >>= withAttribute VariableTok))    <|>-   ((pRegExpr regex_'5c'24'5c'7b'5b'2a'40'23'3f'24'21'5f0'2d9'2d'5d'5c'7d >>= withAttribute OtherTok))+   ((pRegExpr regex_'5c'24'5c'7b'5b'2a'40'23'3f'24'21'5f0'2d9'2d'5d'5c'7d >>= withAttribute VariableTok))    <|>-   ((pRegExpr regex_'5c'24'5c'7b'23'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a'28'5c'5b'5b'2a'40'5d'5c'5d'29'3f'5c'7d >>= withAttribute OtherTok))+   ((pRegExpr regex_'5c'24'5c'7b'23'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a'28'5c'5b'5b'2a'40'5d'5c'5d'29'3f'5c'7d >>= withAttribute VariableTok))    <|>-   ((pRegExpr regex_'5c'24'5c'7b'21'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a'28'5c'5b'5b'2a'40'5d'5c'5d'7c'5b'2a'40'5d'29'3f'5c'7d >>= withAttribute OtherTok))+   ((pRegExpr regex_'5c'24'5c'7b'21'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a'28'5c'5b'5b'2a'40'5d'5c'5d'7c'5b'2a'40'5d'29'3f'5c'7d >>= withAttribute VariableTok))    <|>-   ((pRegExpr regex_'5c'24'5c'7b'23'5b0'2d9'5d'2b'5c'7d >>= withAttribute OtherTok))+   ((pRegExpr regex_'5c'24'5c'7b'23'5b0'2d9'5d'2b'5c'7d >>= withAttribute VariableTok))    <|>-   ((pRegExpr regex_'5c'24'5c'7b'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a >>= withAttribute OtherTok) >>~ pushContext ("Bash","VarBrace"))+   ((pRegExpr regex_'5c'24'5c'7b'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a >>= withAttribute VariableTok) >>~ pushContext ("Bash","VarBrace"))    <|>-   ((pRegExpr regex_'5c'24'5c'7b'5b'2a'40'23'3f'24'21'5f0'2d9'2d'5d'28'3f'3d'5b'3a'23'25'2f'3d'3f'2b'2d'5d'29 >>= withAttribute OtherTok) >>~ pushContext ("Bash","VarBrace"))+   ((pRegExpr regex_'5c'24'5c'7b'5b'2a'40'23'3f'24'21'5f0'2d9'2d'5d'28'3f'3d'5b'3a'23'25'2f'3d'3f'2b'2d'5d'29 >>= withAttribute VariableTok) >>~ pushContext ("Bash","VarBrace"))    <|>-   ((pString False "$((" >>= withAttribute OtherTok) >>~ pushContext ("Bash","ExprDblParenSubst"))+   ((pString False "$((" >>= withAttribute VariableTok) >>~ pushContext ("Bash","ExprDblParenSubst"))    <|>-   ((pString False "$(<" >>= withAttribute KeywordTok) >>~ pushContext ("Bash","SubstFile"))+   ((pString False "$(<" >>= withAttribute OperatorTok) >>~ pushContext ("Bash","SubstFile"))    <|>-   ((pString False "$(" >>= withAttribute OtherTok) >>~ pushContext ("Bash","SubstCommand"))+   ((pString False "$(" >>= withAttribute VariableTok) >>~ pushContext ("Bash","SubstCommand"))    <|>    ((pDetectChar False '`' >>= withAttribute KeywordTok) >>~ pushContext ("Bash","SubstBackq"))    <|>@@ -485,7 +485,7 @@    (currentContext >>= \x -> guard (x == ("Bash","ExprDblParen")) >> pDefault >>= withAttribute NormalTok))  parseRules ("Bash","ExprDblParenSubst") =-  (((pDetect2Chars False ')' ')' >>= withAttribute OtherTok) >>~ (popContext))+  (((pDetect2Chars False ')' ')' >>= withAttribute VariableTok) >>~ (popContext))    <|>    ((pDetectChar False '(' >>= withAttribute NormalTok) >>~ pushContext ("Bash","ExprSubParen"))    <|>@@ -503,9 +503,9 @@    (currentContext >>= \x -> guard (x == ("Bash","ExprSubParen")) >> pDefault >>= withAttribute NormalTok))  parseRules ("Bash","ExprBracket") =-  (((pRegExpr regex_'5cs'5c'5d'28'3f'3d'28'24'7c'5b'5cs'3b'7c'26'5d'29'29 >>= withAttribute KeywordTok) >>~ (popContext))+  (((pRegExpr regex_'5cs'5c'5d'28'3f'3d'28'24'7c'5b'5cs'3b'7c'26'5d'29'29 >>= withAttribute BuiltInTok) >>~ (popContext))    <|>-   ((pColumn 0 >> pRegExpr regex_'5c'5d'28'3f'3d'28'24'7c'5b'5cs'3b'7c'26'5d'29'29 >>= withAttribute KeywordTok) >>~ (popContext))+   ((pColumn 0 >> pRegExpr regex_'5c'5d'28'3f'3d'28'24'7c'5b'5cs'3b'7c'26'5d'29'29 >>= withAttribute BuiltInTok) >>~ (popContext))    <|>    ((pDetectChar False '(' >>= withAttribute NormalTok) >>~ pushContext ("Bash","ExprSubParen"))    <|>@@ -543,7 +543,7 @@    (currentContext >>= \x -> guard (x == ("Bash","SubShell")) >> pDefault >>= withAttribute NormalTok))  parseRules ("Bash","Assign") =-  (((pDetectChar False '(' >>= withAttribute OtherTok) >>~ pushContext ("Bash","AssignArray"))+  (((pDetectChar False '(' >>= withAttribute VariableTok) >>~ pushContext ("Bash","AssignArray"))    <|>    ((parseRules ("Bash","FindStrings")))    <|>@@ -556,22 +556,22 @@    ((popContext) >> currentContext >>= parseRules))  parseRules ("Bash","AssignArray") =-  (((pDetectChar False ')' >>= withAttribute OtherTok) >>~ (popContext))+  (((pDetectChar False ')' >>= withAttribute VariableTok) >>~ (popContext))    <|>-   ((pDetectChar False '[' >>= withAttribute OtherTok) >>~ pushContext ("Bash","Subscript"))+   ((pDetectChar False '[' >>= withAttribute VariableTok) >>~ pushContext ("Bash","Subscript"))    <|>-   ((pDetectChar False '=' >>= withAttribute OtherTok) >>~ pushContext ("Bash","Assign"))+   ((pDetectChar False '=' >>= withAttribute VariableTok) >>~ pushContext ("Bash","Assign"))    <|>    ((parseRules ("Bash","FindMost")))    <|>    (currentContext >>= \x -> guard (x == ("Bash","AssignArray")) >> pDefault >>= withAttribute NormalTok))  parseRules ("Bash","AssignSubscr") =-  (((pDetectChar False '[' >>= withAttribute OtherTok) >>~ pushContext ("Bash","Subscript"))+  (((pDetectChar False '[' >>= withAttribute VariableTok) >>~ pushContext ("Bash","Subscript"))    <|>-   ((pDetect2Chars False '+' '=' >>= withAttribute OtherTok) >>~ pushContext ("Bash","Assign"))+   ((pDetect2Chars False '+' '=' >>= withAttribute VariableTok) >>~ pushContext ("Bash","Assign"))    <|>-   ((pDetectChar False '=' >>= withAttribute OtherTok) >>~ pushContext ("Bash","Assign"))+   ((pDetectChar False '=' >>= withAttribute VariableTok) >>~ pushContext ("Bash","Assign"))    <|>    ((parseRules ("Bash","FindStrings")))    <|>@@ -582,7 +582,7 @@    ((popContext) >> currentContext >>= parseRules))  parseRules ("Bash","Subscript") =-  (((pDetectChar False ']' >>= withAttribute OtherTok) >>~ (popContext))+  (((pDetectChar False ']' >>= withAttribute VariableTok) >>~ (popContext))    <|>    ((parseRules ("Bash","FindStrings")))    <|>@@ -590,7 +590,7 @@    <|>    ((parseRules ("Bash","FindOthers")))    <|>-   (currentContext >>= \x -> guard (x == ("Bash","Subscript")) >> pDefault >>= withAttribute OtherTok))+   (currentContext >>= \x -> guard (x == ("Bash","Subscript")) >> pDefault >>= withAttribute VariableTok))  parseRules ("Bash","FunctionDef") =   (((pRegExpr regex_'5cs'2b'5bA'2dZa'2dz'5f'3a'5d'5bA'2dZa'2dz0'2d9'5f'3a'23'25'40'2d'5d'2a'28'5cs'2a'5c'28'5c'29'29'3f >>= withAttribute FunctionTok) >>~ (popContext))@@ -602,11 +602,11 @@    <|>    ((pRegExpr regex_'2d'2d'5ba'2dz'5d'5bA'2dZa'2dz0'2d9'5f'2d'5d'2a >>= withAttribute NormalTok))    <|>-   ((pRegExpr regex_'5cb'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a >>= withAttribute OtherTok))+   ((pRegExpr regex_'5cb'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a >>= withAttribute VariableTok))    <|>-   ((pDetectChar False '[' >>= withAttribute OtherTok) >>~ pushContext ("Bash","Subscript"))+   ((pDetectChar False '[' >>= withAttribute VariableTok) >>~ pushContext ("Bash","Subscript"))    <|>-   ((pDetectChar False '=' >>= withAttribute OtherTok) >>~ pushContext ("Bash","Assign"))+   ((pDetectChar False '=' >>= withAttribute VariableTok) >>~ pushContext ("Bash","Assign"))    <|>    ((parseRules ("Bash","FindMost")))    <|>@@ -615,7 +615,7 @@    ((popContext) >> currentContext >>= parseRules))  parseRules ("Bash","ProcessSubst") =-  (((pDetectChar False ')' >>= withAttribute KeywordTok) >>~ (popContext))+  (((pDetectChar False ')' >>= withAttribute OperatorTok) >>~ (popContext))    <|>    ((parseRules ("Bash","FindCommentsParen")))    <|>@@ -653,20 +653,20 @@    (currentContext >>= \x -> guard (x == ("Bash","StringEsc")) >> pDefault >>= withAttribute StringTok))  parseRules ("Bash","VarBrace") =-  (((pDetectChar False '}' >>= withAttribute OtherTok) >>~ (popContext))+  (((pDetectChar False '}' >>= withAttribute VariableTok) >>~ (popContext))    <|>-   ((pDetectChar False '[' >>= withAttribute OtherTok) >>~ pushContext ("Bash","Subscript"))+   ((pDetectChar False '[' >>= withAttribute VariableTok) >>~ pushContext ("Bash","Subscript"))    <|>-   ((pRegExpr regex_'28'3a'3f'5b'2d'3d'3f'2b'5d'7c'23'23'3f'7c'25'25'3f'29 >>= withAttribute OtherTok) >>~ pushContext ("Bash","VarAlt"))+   ((pRegExpr regex_'28'3a'3f'5b'2d'3d'3f'2b'5d'7c'23'23'3f'7c'25'25'3f'29 >>= withAttribute VariableTok) >>~ pushContext ("Bash","VarAlt"))    <|>-   ((pRegExpr regex_'2f'2f'3f >>= withAttribute OtherTok) >>~ pushContext ("Bash","VarSubst"))+   ((pRegExpr regex_'2f'2f'3f >>= withAttribute VariableTok) >>~ pushContext ("Bash","VarSubst"))    <|>-   ((pDetectChar False ':' >>= withAttribute OtherTok) >>~ pushContext ("Bash","VarSub"))+   ((pDetectChar False ':' >>= withAttribute VariableTok) >>~ pushContext ("Bash","VarSub"))    <|>    (currentContext >>= \x -> guard (x == ("Bash","VarBrace")) >> pDefault >>= withAttribute ErrorTok))  parseRules ("Bash","VarAlt") =-  (((pDetectChar False '}' >>= withAttribute OtherTok) >>~ (popContext >> popContext))+  (((pDetectChar False '}' >>= withAttribute VariableTok) >>~ (popContext >> popContext))    <|>    ((parseRules ("Bash","FindStrings")))    <|>@@ -675,9 +675,9 @@    (currentContext >>= \x -> guard (x == ("Bash","VarAlt")) >> pDefault >>= withAttribute NormalTok))  parseRules ("Bash","VarSubst") =-  (((pDetectChar False '}' >>= withAttribute OtherTok) >>~ (popContext >> popContext))+  (((pDetectChar False '}' >>= withAttribute VariableTok) >>~ (popContext >> popContext))    <|>-   ((pDetectChar False '/' >>= withAttribute OtherTok) >>~ pushContext ("Bash","VarSubst2"))+   ((pDetectChar False '/' >>= withAttribute VariableTok) >>~ pushContext ("Bash","VarSubst2"))    <|>    ((parseRules ("Bash","FindStrings")))    <|>@@ -686,7 +686,7 @@    (currentContext >>= \x -> guard (x == ("Bash","VarSubst")) >> pDefault >>= withAttribute NormalTok))  parseRules ("Bash","VarSubst2") =-  (((pDetectChar False '}' >>= withAttribute OtherTok) >>~ (popContext >> popContext >> popContext))+  (((pDetectChar False '}' >>= withAttribute VariableTok) >>~ (popContext >> popContext >> popContext))    <|>    ((parseRules ("Bash","FindStrings")))    <|>@@ -695,31 +695,31 @@    (currentContext >>= \x -> guard (x == ("Bash","VarSubst2")) >> pDefault >>= withAttribute NormalTok))  parseRules ("Bash","VarSub") =-  (((pDetectChar False ':' >>= withAttribute OtherTok) >>~ pushContext ("Bash","VarSub2"))+  (((pDetectChar False ':' >>= withAttribute VariableTok) >>~ pushContext ("Bash","VarSub2"))    <|>-   ((pDetectChar False '}' >>= withAttribute OtherTok) >>~ (popContext >> popContext))+   ((pDetectChar False '}' >>= withAttribute VariableTok) >>~ (popContext >> popContext))    <|>-   ((pRegExpr regex_'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a >>= withAttribute OtherTok))+   ((pRegExpr regex_'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a >>= withAttribute VariableTok))    <|>-   ((pRegExpr regex_'5b0'2d9'5d'2b'28'3f'3d'5b'3a'7d'5d'29 >>= withAttribute OtherTok))+   ((pRegExpr regex_'5b0'2d9'5d'2b'28'3f'3d'5b'3a'7d'5d'29 >>= withAttribute VariableTok))    <|>    ((parseRules ("Bash","FindSubstitutions")))    <|>    (currentContext >>= \x -> guard (x == ("Bash","VarSub")) >> pDefault >>= withAttribute ErrorTok))  parseRules ("Bash","VarSub2") =-  (((pDetectChar False '}' >>= withAttribute OtherTok) >>~ (popContext >> popContext >> popContext))+  (((pDetectChar False '}' >>= withAttribute VariableTok) >>~ (popContext >> popContext >> popContext))    <|>-   ((pRegExpr regex_'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a >>= withAttribute OtherTok))+   ((pRegExpr regex_'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a >>= withAttribute VariableTok))    <|>-   ((pRegExpr regex_'5b0'2d9'5d'28'3f'3d'5b'3a'7d'5d'29 >>= withAttribute OtherTok))+   ((pRegExpr regex_'5b0'2d9'5d'28'3f'3d'5b'3a'7d'5d'29 >>= withAttribute VariableTok))    <|>    ((parseRules ("Bash","FindSubstitutions")))    <|>    (currentContext >>= \x -> guard (x == ("Bash","VarSub2")) >> pDefault >>= withAttribute ErrorTok))  parseRules ("Bash","SubstFile") =-  (((pDetectChar False ')' >>= withAttribute KeywordTok) >>~ (popContext))+  (((pDetectChar False ')' >>= withAttribute OperatorTok) >>~ (popContext))    <|>    ((parseRules ("Bash","FindCommentsParen")))    <|>@@ -732,7 +732,7 @@    (currentContext >>= \x -> guard (x == ("Bash","SubstFile")) >> pDefault >>= withAttribute NormalTok))  parseRules ("Bash","SubstCommand") =-  (((pDetectChar False ')' >>= withAttribute OtherTok) >>~ (popContext))+  (((pDetectChar False ')' >>= withAttribute VariableTok) >>~ (popContext))    <|>    ((parseRules ("Bash","FindCommentsParen")))    <|>@@ -805,7 +805,7 @@    <|>    ((lookAhead (pRegExpr regex_'28'3c'3c'5cs'2a'28'5b'5e'7c'26'3b'28'29'3c'3e'5cs'5d'2b'29'29) >> pushContext ("Bash","HereDocNQ") >> currentContext >>= parseRules))    <|>-   ((pString False "<<" >>= withAttribute KeywordTok) >>~ (popContext))+   ((pString False "<<" >>= withAttribute OperatorTok) >>~ (popContext))    <|>    (currentContext >>= \x -> guard (x == ("Bash","HereDoc")) >> pDefault >>= withAttribute NormalTok)) @@ -815,32 +815,32 @@    (currentContext >>= \x -> guard (x == ("Bash","HereDocRemainder")) >> pDefault >>= withAttribute NormalTok))  parseRules ("Bash","HereDocQ") =-  (((pRegExprDynamic "%1" >>= withAttribute KeywordTok) >>~ pushContext ("Bash","HereDocRemainder"))+  (((pRegExprDynamic "%1" >>= withAttribute OperatorTok) >>~ pushContext ("Bash","HereDocRemainder"))    <|>-   ((pColumn 0 >> pRegExprDynamic "%2\\b" >>= withAttribute KeywordTok) >>~ (popContext >> popContext))+   ((pColumn 0 >> pRegExprDynamic "%2\\b" >>= withAttribute OperatorTok) >>~ (popContext >> popContext))    <|>    (currentContext >>= \x -> guard (x == ("Bash","HereDocQ")) >> pDefault >>= withAttribute NormalTok))  parseRules ("Bash","HereDocNQ") =-  (((pRegExprDynamic "%1" >>= withAttribute KeywordTok) >>~ pushContext ("Bash","HereDocRemainder"))+  (((pRegExprDynamic "%1" >>= withAttribute OperatorTok) >>~ pushContext ("Bash","HereDocRemainder"))    <|>-   ((pColumn 0 >> pRegExprDynamic "%2\\b" >>= withAttribute KeywordTok) >>~ (popContext >> popContext))+   ((pColumn 0 >> pRegExprDynamic "%2\\b" >>= withAttribute OperatorTok) >>~ (popContext >> popContext))    <|>    ((parseRules ("Bash","FindSubstitutions")))    <|>    (currentContext >>= \x -> guard (x == ("Bash","HereDocNQ")) >> pDefault >>= withAttribute NormalTok))  parseRules ("Bash","HereDocIQ") =-  (((pRegExprDynamic "%1" >>= withAttribute KeywordTok) >>~ pushContext ("Bash","HereDocRemainder"))+  (((pRegExprDynamic "%1" >>= withAttribute OperatorTok) >>~ pushContext ("Bash","HereDocRemainder"))    <|>-   ((pColumn 0 >> pRegExprDynamic "\\t*%2\\b" >>= withAttribute KeywordTok) >>~ (popContext >> popContext))+   ((pColumn 0 >> pRegExprDynamic "\\t*%2\\b" >>= withAttribute OperatorTok) >>~ (popContext >> popContext))    <|>    (currentContext >>= \x -> guard (x == ("Bash","HereDocIQ")) >> pDefault >>= withAttribute NormalTok))  parseRules ("Bash","HereDocINQ") =-  (((pRegExprDynamic "%1" >>= withAttribute KeywordTok) >>~ pushContext ("Bash","HereDocRemainder"))+  (((pRegExprDynamic "%1" >>= withAttribute OperatorTok) >>~ pushContext ("Bash","HereDocRemainder"))    <|>-   ((pColumn 0 >> pRegExprDynamic "\\t*%2\\b" >>= withAttribute KeywordTok) >>~ (popContext >> popContext))+   ((pColumn 0 >> pRegExprDynamic "\\t*%2\\b" >>= withAttribute OperatorTok) >>~ (popContext >> popContext))    <|>    ((parseRules ("Bash","FindSubstitutions")))    <|>
Text/Highlighting/Kate/Syntax/Bibtex.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file bibtex.xml, version 1.17, by Jeroen Wijnhout (Jeroen.Wijnhout@kdemail.net)+Thomas Braun (thomas.braun@virtuell-zuhause.de) -}+   highlighting file bibtex.xml, version 2, by Jeroen Wijnhout (Jeroen.Wijnhout@kdemail.net)+Thomas Braun (thomas.braun@virtuell-zuhause.de) -}  module Text.Highlighting.Kate.Syntax.Bibtex           (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -74,7 +74,7 @@ regex_'7d'24 = compileRegex True "}$"  parseRules ("BibTeX","Normal") =-  (((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~" list_kw'5fentry >>= withAttribute KeywordTok) >>~ pushContext ("BibTeX","Entry"))+  (((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~" list_kw'5fentry >>= withAttribute VariableTok) >>~ pushContext ("BibTeX","Entry"))    <|>    ((pString False "@string" >>= withAttribute FunctionTok) >>~ pushContext ("BibTeX","StringCommand"))    <|>@@ -132,7 +132,7 @@    <|>    ((pDetectSpaces >>= withAttribute NormalTok))    <|>-   ((pRegExpr regex_'2e >>= withAttribute AlertTok))+   ((pRegExpr regex_'2e >>= withAttribute ErrorTok))    <|>    (currentContext >>= \x -> guard (x == ("BibTeX","Field")) >> pDefault >>= withAttribute NormalTok)) 
Text/Highlighting/Kate/Syntax/Boo.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file boo.xml, version 0.91, by Marc Dassonneville -}+   highlighting file boo.xml, version 1, by Marc Dassonneville -}  module Text.Highlighting.Kate.Syntax.Boo           (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -106,7 +106,7 @@    <|>    ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_definition >>= withAttribute KeywordTok))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_operators >>= withAttribute NormalTok))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_operators >>= withAttribute OperatorTok))    <|>    ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_keywords >>= withAttribute KeywordTok))    <|>@@ -156,15 +156,15 @@    <|>    ((pDetectChar False '"' >>= withAttribute StringTok) >>~ pushContext ("Boo","Single Q-string"))    <|>-   ((pDetectChar False '(' >>= withAttribute NormalTok) >>~ pushContext ("Boo","parenthesised"))+   ((pDetectChar False '(' >>= withAttribute OperatorTok) >>~ pushContext ("Boo","parenthesised"))    <|>-   ((pDetectChar False ')' >>= withAttribute NormalTok) >>~ (popContext))+   ((pDetectChar False ')' >>= withAttribute OperatorTok) >>~ (popContext))    <|>-   ((pString False "[|" >>= withAttribute NormalTok) >>~ pushContext ("Boo","Quasi-Quotation"))+   ((pString False "[|" >>= withAttribute OperatorTok) >>~ pushContext ("Boo","Quasi-Quotation"))    <|>-   ((pString False "|]" >>= withAttribute NormalTok) >>~ (popContext))+   ((pString False "|]" >>= withAttribute OperatorTok) >>~ (popContext))    <|>-   ((pRegExpr regex_'5b'2b'2a'2f'25'5c'7c'3d'3b'5c'21'3c'3e'21'5e'26'7e'2d'5d >>= withAttribute NormalTok))+   ((pRegExpr regex_'5b'2b'2a'2f'25'5c'7c'3d'3b'5c'21'3c'3e'21'5e'26'7e'2d'5d >>= withAttribute OperatorTok))    <|>    ((pRegExpr regex_'25'5ba'2dzA'2dZ'5d >>= withAttribute NormalTok))    <|>@@ -178,7 +178,7 @@ parseRules ("Boo","Quasi-Quotation") =   (((parseRules ("Boo","Normal")))    <|>-   (currentContext >>= \x -> guard (x == ("Boo","Quasi-Quotation")) >> pDefault >>= withAttribute NormalTok))+   (currentContext >>= \x -> guard (x == ("Boo","Quasi-Quotation")) >> pDefault >>= withAttribute OperatorTok))  parseRules ("Boo","Tripple A-comment") =   (((pString False "'''" >>= withAttribute CommentTok) >>~ (popContext))
Text/Highlighting/Kate/Syntax/C.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file c.xml, version 1.45, by  -}+   highlighting file c.xml, version 2, by  -}  module Text.Highlighting.Kate.Syntax.C           (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -55,6 +55,7 @@       ("C","Commentar 1") -> (popContext) >> pEndLine       ("C","Commentar 2") -> return ()       ("C","AfterHash") -> (popContext) >> pEndLine+      ("C","Include") -> (popContext) >> pEndLine       ("C","Preprocessor") -> (popContext) >> pEndLine       ("C","Define") -> (popContext) >> pEndLine       ("C","Commentar/Preprocessor") -> return ()@@ -69,17 +70,19 @@                           , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) }   return (attr, txt) -list_keywords = Set.fromList $ words $ "break case continue default do else enum extern for goto if inline return sizeof struct switch typedef union while"-list_types = Set.fromList $ words $ "auto char const double float int long register restrict short signed static unsigned void volatile int8_t int16_t int32_t int64_t uint8_t uint16_t uint32_t uint64_t wchar_t _Imaginary _Complex _Bool"+list_controlflow = Set.fromList $ words $ "break case continue default do else for goto if return switch while"+list_keywords = Set.fromList $ words $ "enum extern inline sizeof struct typedef union"+list_types = Set.fromList $ words $ "auto char const double float int long register restrict short signed static unsigned void volatile int8_t int16_t int32_t int64_t uint8_t uint16_t uint32_t uint64_t int_least8_t int_least16_t int_least32_t int_least64_t uint_least8_t uint_least16_t uint_least32_t uint_least64_t int_fast8_t int_fast16_t int_fast32_t int_fast64_t uint_fast8_t uint_fast16_t uint_fast32_t uint_fast64_t size_t ssize_t wchar_t intptr_t uintptr_t intmax_t uintmax_t ptrdiff_t sig_atomic_t wint_t _Imaginary _Complex _Bool"  regex_'23'5cs'2aif'5cs'2b0'5cs'2a'24 = compileRegex True "#\\s*if\\s+0\\s*$" regex_0b'5b01'5d'2b'5bul'5d'7b0'2c3'7d = compileRegex True "0b[01]+[ul]{0,3}"+regex_'23'5cs'2a'28'3f'3ainclude'7cinclude'5fnext'29 = compileRegex True "#\\s*(?:include|include_next)" regex_'23'5cs'2aif'28'3f'3adef'7cndef'29'3f'28'3f'3d'5cs'2b'5cS'29 = compileRegex True "#\\s*if(?:def|ndef)?(?=\\s+\\S)" regex_'23'5cs'2aendif = compileRegex True "#\\s*endif" regex_'23'5cs'2adefine'2e'2a'28'28'3f'3d'5c'5c'29'29 = compileRegex True "#\\s*define.*((?=\\\\))" regex_'23'5cs'2apragma'5cs'2bmark'5cs'2b'2d'5cs'2a'24 = compileRegex True "#\\s*pragma\\s+mark\\s+-\\s*$" regex_'23'5cs'2apragma'5cs'2bmark = compileRegex True "#\\s*pragma\\s+mark"-regex_'23'5cs'2a'28'3f'3ael'28'3f'3ase'7cif'29'7cinclude'28'3f'3a'5fnext'29'3f'7cdefine'7cundef'7cline'7cerror'7cwarning'7cpragma'29 = compileRegex True "#\\s*(?:el(?:se|if)|include(?:_next)?|define|undef|line|error|warning|pragma)"+regex_'23'5cs'2a'28'3f'3ael'28'3f'3ase'7cif'29'7cdefine'7cundef'7cline'7cerror'7cwarning'7cpragma'29 = compileRegex True "#\\s*(?:el(?:se|if)|define|undef|line|error|warning|pragma)" regex_'23'5cs'2b'5b0'2d9'5d'2b = compileRegex True "#\\s+[0-9]+" regex_'23'5cs'2aif = compileRegex True "#\\s*if" regex_'23'5cs'2ael'28'3f'3ase'7cif'29 = compileRegex True "#\\s*el(?:se|if)"@@ -87,7 +90,7 @@ parseRules ("C","Normal") =   (((pDetectSpaces >>= withAttribute NormalTok))    <|>-   ((pFirstNonSpace >> pRegExpr regex_'23'5cs'2aif'5cs'2b0'5cs'2a'24 >>= withAttribute OtherTok) >>~ pushContext ("C","Outscoped"))+   ((pFirstNonSpace >> pRegExpr regex_'23'5cs'2aif'5cs'2b0'5cs'2a'24 >>= withAttribute PreprocessorTok) >>~ pushContext ("C","Outscoped"))    <|>    ((pFirstNonSpace >> lookAhead (pDetectChar False '#') >> pushContext ("C","AfterHash") >> currentContext >>= parseRules))    <|>@@ -95,6 +98,8 @@    <|>    ((pFirstNonSpace >> pString False "//END" >>= withAttribute RegionMarkerTok) >>~ pushContext ("C","Region Marker"))    <|>+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\'\"" list_controlflow >>= withAttribute ControlFlowTok))+   <|>    ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\'\"" list_keywords >>= withAttribute KeywordTok))    <|>    ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\'\"" list_types >>= withAttribute DataTypeTok))@@ -146,7 +151,7 @@ parseRules ("C","String") =   (((pLineContinue >>= withAttribute StringTok))    <|>-   ((pHlCStringChar >>= withAttribute CharTok))+   ((pHlCStringChar >>= withAttribute SpecialCharTok))    <|>    ((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext))    <|>@@ -170,41 +175,50 @@    (currentContext >>= \x -> guard (x == ("C","Commentar 2")) >> pDefault >>= withAttribute CommentTok))  parseRules ("C","AfterHash") =-  (((pFirstNonSpace >> pRegExpr regex_'23'5cs'2aif'28'3f'3adef'7cndef'29'3f'28'3f'3d'5cs'2b'5cS'29 >>= withAttribute OtherTok) >>~ pushContext ("C","Preprocessor"))+  (((pFirstNonSpace >> pRegExpr regex_'23'5cs'2a'28'3f'3ainclude'7cinclude'5fnext'29 >>= withAttribute PreprocessorTok) >>~ pushContext ("C","Include"))    <|>-   ((pFirstNonSpace >> pRegExpr regex_'23'5cs'2aendif >>= withAttribute OtherTok) >>~ pushContext ("C","Preprocessor"))+   ((pFirstNonSpace >> pRegExpr regex_'23'5cs'2aif'28'3f'3adef'7cndef'29'3f'28'3f'3d'5cs'2b'5cS'29 >>= withAttribute PreprocessorTok) >>~ pushContext ("C","Preprocessor"))    <|>-   ((pFirstNonSpace >> pRegExpr regex_'23'5cs'2adefine'2e'2a'28'28'3f'3d'5c'5c'29'29 >>= withAttribute OtherTok) >>~ pushContext ("C","Define"))+   ((pFirstNonSpace >> pRegExpr regex_'23'5cs'2aendif >>= withAttribute PreprocessorTok) >>~ pushContext ("C","Preprocessor"))    <|>-   ((pFirstNonSpace >> pRegExpr regex_'23'5cs'2apragma'5cs'2bmark'5cs'2b'2d'5cs'2a'24 >>= withAttribute OtherTok) >>~ pushContext ("C","Preprocessor"))+   ((pFirstNonSpace >> pRegExpr regex_'23'5cs'2adefine'2e'2a'28'28'3f'3d'5c'5c'29'29 >>= withAttribute PreprocessorTok) >>~ pushContext ("C","Define"))    <|>-   ((pFirstNonSpace >> pRegExpr regex_'23'5cs'2apragma'5cs'2bmark >>= withAttribute OtherTok) >>~ pushContext ("C","Preprocessor"))+   ((pFirstNonSpace >> pRegExpr regex_'23'5cs'2apragma'5cs'2bmark'5cs'2b'2d'5cs'2a'24 >>= withAttribute PreprocessorTok) >>~ pushContext ("C","Preprocessor"))    <|>-   ((pFirstNonSpace >> pRegExpr regex_'23'5cs'2a'28'3f'3ael'28'3f'3ase'7cif'29'7cinclude'28'3f'3a'5fnext'29'3f'7cdefine'7cundef'7cline'7cerror'7cwarning'7cpragma'29 >>= withAttribute OtherTok) >>~ pushContext ("C","Preprocessor"))+   ((pFirstNonSpace >> pRegExpr regex_'23'5cs'2apragma'5cs'2bmark >>= withAttribute PreprocessorTok) >>~ pushContext ("C","Preprocessor"))    <|>-   ((pFirstNonSpace >> pRegExpr regex_'23'5cs'2b'5b0'2d9'5d'2b >>= withAttribute OtherTok) >>~ pushContext ("C","Preprocessor"))+   ((pFirstNonSpace >> pRegExpr regex_'23'5cs'2a'28'3f'3ael'28'3f'3ase'7cif'29'7cdefine'7cundef'7cline'7cerror'7cwarning'7cpragma'29 >>= withAttribute PreprocessorTok) >>~ pushContext ("C","Preprocessor"))    <|>+   ((pFirstNonSpace >> pRegExpr regex_'23'5cs'2b'5b0'2d9'5d'2b >>= withAttribute PreprocessorTok) >>~ pushContext ("C","Preprocessor"))+   <|>    (currentContext >>= \x -> guard (x == ("C","AfterHash")) >> pDefault >>= withAttribute ErrorTok)) -parseRules ("C","Preprocessor") =-  (((pLineContinue >>= withAttribute OtherTok))+parseRules ("C","Include") =+  (((pLineContinue >>= withAttribute PreprocessorTok))    <|>-   ((pRangeDetect '"' '"' >>= withAttribute OtherTok))+   ((pRangeDetect '"' '"' >>= withAttribute ImportTok))    <|>-   ((pRangeDetect '<' '>' >>= withAttribute OtherTok))+   ((pRangeDetect '<' '>' >>= withAttribute ImportTok))    <|>-   ((Text.Highlighting.Kate.Syntax.Doxygen.parseExpression (Just ("Doxygen","")) >>= ((withAttribute OtherTok) . snd)))+   ((parseRules ("C","Preprocessor")))    <|>+   (currentContext >>= \x -> guard (x == ("C","Include")) >> pDefault >>= withAttribute PreprocessorTok))++parseRules ("C","Preprocessor") =+  (((pLineContinue >>= withAttribute PreprocessorTok))+   <|>+   ((Text.Highlighting.Kate.Syntax.Doxygen.parseExpression (Just ("Doxygen","")) >>= ((withAttribute PreprocessorTok) . snd)))+   <|>    ((pDetect2Chars False '/' '*' >>= withAttribute CommentTok) >>~ pushContext ("C","Commentar/Preprocessor"))    <|>    ((pDetect2Chars False '/' '/' >>= withAttribute CommentTok) >>~ pushContext ("C","Commentar 1"))    <|>-   (currentContext >>= \x -> guard (x == ("C","Preprocessor")) >> pDefault >>= withAttribute OtherTok))+   (currentContext >>= \x -> guard (x == ("C","Preprocessor")) >> pDefault >>= withAttribute PreprocessorTok))  parseRules ("C","Define") =-  (((pLineContinue >>= withAttribute OtherTok))+  (((pLineContinue >>= withAttribute PreprocessorTok))    <|>-   (currentContext >>= \x -> guard (x == ("C","Define")) >> pDefault >>= withAttribute OtherTok))+   (currentContext >>= \x -> guard (x == ("C","Define")) >> pDefault >>= withAttribute PreprocessorTok))  parseRules ("C","Commentar/Preprocessor") =   (((pDetect2Chars False '*' '/' >>= withAttribute CommentTok) >>~ (popContext))@@ -228,9 +242,9 @@    <|>    ((pFirstNonSpace >> pRegExpr regex_'23'5cs'2aif >>= withAttribute CommentTok) >>~ pushContext ("C","Outscoped intern"))    <|>-   ((pFirstNonSpace >> pRegExpr regex_'23'5cs'2ael'28'3f'3ase'7cif'29 >>= withAttribute OtherTok) >>~ (popContext))+   ((pFirstNonSpace >> pRegExpr regex_'23'5cs'2ael'28'3f'3ase'7cif'29 >>= withAttribute PreprocessorTok) >>~ (popContext))    <|>-   ((pFirstNonSpace >> pRegExpr regex_'23'5cs'2aendif >>= withAttribute OtherTok) >>~ (popContext))+   ((pFirstNonSpace >> pRegExpr regex_'23'5cs'2aendif >>= withAttribute PreprocessorTok) >>~ (popContext))    <|>    (currentContext >>= \x -> guard (x == ("C","Outscoped")) >> pDefault >>= withAttribute CommentTok)) 
Text/Highlighting/Kate/Syntax/Changelog.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file changelog.xml, version 1.04, by Dominik Haumann (dhdev@gmx.de) -}+   highlighting file changelog.xml, version 2, by Dominik Haumann (dhdev@gmx.de) -}  module Text.Highlighting.Kate.Syntax.Changelog           (highlight, parseExpression, syntaxName, syntaxExtensions)
Text/Highlighting/Kate/Syntax/Clojure.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file clojure.xml, version 2, by Dominik Haumann [lisp] modified for clojure by Caspar Hasenclever -}+   highlighting file clojure.xml, version 4, by Dominik Haumann [lisp] modified for clojure by Caspar Hasenclever -}  module Text.Highlighting.Kate.Syntax.Clojure           (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -17,7 +17,7 @@  -- | Filename extensions for this language. syntaxExtensions :: String-syntaxExtensions = "*.clj"+syntaxExtensions = "*.clj;*.cljs"  -- | Highlight source code using this syntax definition. highlight :: String -> [SourceLine]@@ -92,9 +92,9 @@    <|>    ((pDetect2Chars False '#' '_' >>= withAttribute CommentTok))    <|>-   ((pRegExpr regex_'5b'40'7e'5d'5cS'2b >>= withAttribute KeywordTok))+   ((pRegExpr regex_'5b'40'7e'5d'5cS'2b >>= withAttribute AttributeTok))    <|>-   ((pRegExpr regex_'3a'3a'3f'5ba'2dzA'2dZ0'2d9'5c'2d'5d'2b >>= withAttribute KeywordTok))+   ((pRegExpr regex_'3a'3a'3f'5ba'2dzA'2dZ0'2d9'5c'2d'5d'2b >>= withAttribute AttributeTok))    <|>    ((pDetect2Chars False '#' '{' >>= withAttribute NormalTok))    <|>@@ -108,13 +108,13 @@    <|>    ((pDetectChar False ']' >>= withAttribute NormalTok))    <|>-   ((pDetect2Chars False '#' '\'' >>= withAttribute KeywordTok))+   ((pDetect2Chars False '#' '\'' >>= withAttribute VariableTok))    <|>    ((pKeyword " \n\t.(),%&;[]^{|}~" list_keywords >>= withAttribute KeywordTok))    <|>-   ((pKeyword " \n\t.(),%&;[]^{|}~" list_variables >>= withAttribute KeywordTok))+   ((pKeyword " \n\t.(),%&;[]^{|}~" list_variables >>= withAttribute VariableTok))    <|>-   ((pKeyword " \n\t.(),%&;[]^{|}~" list_definitions >>= withAttribute KeywordTok) >>~ pushContext ("Clojure","function_decl"))+   ((pKeyword " \n\t.(),%&;[]^{|}~" list_definitions >>= withAttribute BuiltInTok) >>~ pushContext ("Clojure","function_decl"))    <|>    ((pRegExpr regex_'5c'5c'2e >>= withAttribute CharTok))    <|>
Text/Highlighting/Kate/Syntax/Cmake.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file cmake.xml, version 1.30, by Alexander Neundorf (neundorf@kde.org) -}+   highlighting file cmake.xml, version 2, by Alexander Neundorf (neundorf@kde.org) -}  module Text.Highlighting.Kate.Syntax.Cmake           (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -73,46 +73,47 @@                           , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) }   return (attr, txt) -list_commands = Set.fromList $ words $ "add_compile_options add_custom_command add_custom_target add_definitions add_dependencies add_executable add_library add_subdirectory add_test aux_source_directory break build_command build_name cmake_host_system_information cmake_minimum_required cmake_policy configure_file create_test_sourcelist define_property else elseif enable_language enable_testing endforeach endfunction endif endmacro endwhile exec_program execute_process export export_library_dependencies file find_file find_library find_package find_path find_program fltk_wrap_ui foreach function get_cmake_property get_directory_property get_filename_component get_property get_source_file_property get_target_property get_test_property if include include_directories include_external_msproject include_regular_expression install install_files install_programs install_targets link_directories link_libraries list load_cache load_command macro make_directory mark_as_advanced math message option output_required_files project qt_wrap_cpp qt_wrap_ui remove remove_definitions return separate_arguments set set_directory_properties set_property set_source_files_properties set_target_properties set_tests_properties site_name source_group string subdir_depends subdirs target_compile_definitions target_compile_options target_include_directories target_link_libraries try_compile try_run unset use_mangled_mesa utility_source variable_requires variable_watch while write_file"+list_commands = Set.fromList $ words $ "add_compile_options add_custom_command add_custom_target add_definitions add_dependencies add_executable add_library add_subdirectory add_test aux_source_directory break build_command build_name cmake_host_system_information cmake_minimum_required cmake_policy configure_file continue create_test_sourcelist ctest_build ctest_configure ctest_coverage ctest_empty_binary_directory ctest_memcheck ctest_read_custom_files ctest_run_script ctest_sleep ctest_start ctest_submit ctest_test ctest_update ctest_upload define_property else elseif enable_language enable_testing endforeach endfunction endif endmacro endwhile exec_program execute_process export export_library_dependencies file find_file find_library find_package find_path find_program fltk_wrap_ui foreach function get_cmake_property get_directory_property get_filename_component get_property get_source_file_property get_target_property get_test_property if include include_directories include_external_msproject include_regular_expression install install_files install_programs install_targets link_directories link_libraries list load_cache load_command macro make_directory mark_as_advanced math message option output_required_files project qt_wrap_cpp qt_wrap_ui remove remove_definitions return separate_arguments set set_directory_properties set_property set_source_files_properties set_target_properties set_tests_properties site_name source_group string subdir_depends subdirs target_compile_definitions target_compile_features target_compile_options target_include_directories target_link_libraries target_sources try_compile try_run unset use_mangled_mesa utility_source variable_requires variable_watch while write_file" list_itkvtk'5fcommands = Set.fromList $ words $ "itk_wrap_tcl vtk_make_instantiator vtk_wrap_java vtk_wrap_python vtk_wrap_tcl"-list_special'5fargs = Set.fromList $ words $ "AFTER ALIAS ALL ALPHABET AND APPEND APPEND_STRING ARCHIVE ARGS ASCII AUTHOR_WARNING BEFORE BRIEF_DOCS BUNDLE CACHE CACHED_VARIABLE CLEAR CMAKE_FIND_ROOT_PATH_BOTH CMAKE_FLAGS CODE COMMAND COMMAND_NAME COMMENT COMPARE COMPILE_DEFINITIONS COMPILE_OUTPUT_VARIABLE COMPILE_RESULT_VAR COMPONENT COMPONENTS CONDITION CONFIG CONFIGS CONFIGURATION CONFIGURATIONS CONFIGURE CONTENT COPY COPYONLY COPY_FILE COPY_FILE_ERROR CRLF DEFINED DEFINITION DEPENDS DESTINATION DIRECTORY DIRECTORY_PERMISSIONS DOC DOS DOWNLOAD ENV EQUAL ERROR_FILE ERROR_QUIET ERROR_STRIP_TRAILING_WHITESPACE ERROR_VARIABLE ESCAPE_QUOTES EXACT EXCLUDE EXCLUDE_FROM_ALL EXISTS EXPECTED_HASH EXPECTED_MD5 EXPORT EXPORT_LINK_INTERFACE_LIBRARIES EXPR EXTRA_INCLUDE FATAL_ERROR FILE FILES FILES_MATCHING FILE_PERMISSIONS FIND FOLLOW_SYMLINKS FORCE FRAMEWORK FULL_DOCS FUNCTION GENERATE GET GLOB GLOBAL GLOB_RECURSE GREATER GROUP_EXECUTE GROUP_READ GUID HEX HINTS IMPLICIT_DEPENDS IMPORTED IN INACTIVITY_TIMEOUT INCLUDES INCLUDE_INTERNALS INHERITED INPUT INPUT_FILE INSERT INSTALL INTERFACE IS_ABSOLUTE IS_DIRECTORY IS_NEWER_THAN IS_SYMLINK ITEMS LENGTH LENGTH_MAXIMUM LENGTH_MINIMUM LESS LF LIBRARY LIMIT LIMIT_COUNT LIMIT_INPUT LIMIT_OUTPUT LINK_INTERFACE_LIBRARIES LINK_LIBRARIES LINK_PRIVATE LINK_PUBLIC LISTS LOG MACOSX_BUNDLE MAIN_DEPENDENCY MAKE_C_IDENTIFIER MAKE_DIRECTORY MATCH MATCHALL MATCHES MD5 MODULE NAME NAMELINK_ONLY NAMELINK_SKIP NAMES NAMESPACE NAMES_PER_DIR NEW NEWLINE_CONSUME NEWLINE_STYLE NOT NOTEQUAL NO_CMAKE_BUILDS_PATH NO_CMAKE_ENVIRONMENT_PATH NO_CMAKE_FIND_ROOT_PATH NO_CMAKE_PACKAGE_REGISTRY NO_CMAKE_PATH NO_CMAKE_SYSTEM_PACKAGE_REGISTRY NO_CMAKE_SYSTEM_PATH NO_DEFAULT_PATH NO_HEX_CONVERSION NO_MODULE NO_POLICY_SCOPE NO_SOURCE_PERMISSIONS NO_SYSTEM_ENVIRONMENT_PATH OBJECT OFFSET OLD ONLY_CMAKE_FIND_ROOT_PATH OPTIONAL OPTIONAL_COMPONENTS OR OUTPUT OUTPUT_DIRECTORY OUTPUT_FILE OUTPUT_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE OUTPUT_VARIABLE OWNER_EXECUTE OWNER_READ OWNER_WRITE PACKAGE PARENT_SCOPE PATHS PATH_SUFFIXES PATH_TO_MESA PATTERN PERMISSIONS PLATFORM POLICY POP POST_BUILD PREORDER PRE_BUILD PRE_LINK PRIVATE PRIVATE_HEADER PROGRAM PROGRAMS PROGRAM_ARGS PROJECT_NAME PROPERTIES PROPERTY PUBLIC PUBLIC_HEADER PUSH QUERY QUIET RANDOM RANDOM_SEED RANGE READ READ_WITH_PREFIX REGEX REGULAR_EXPRESSION RELATIVE RELATIVE_PATH REMOVE REMOVE_AT REMOVE_DUPLICATES REMOVE_ITEM REMOVE_RECURSE RENAME REPLACE REQUIRED REQUIRED_VARIABLE1 REQUIRED_VARIABLE2 RESOURCE RESULT RESULT_VAR RESULT_VARIABLE RETURN_VALUE REVERSE RUNTIME RUNTIME_DIRECTORY RUN_OUTPUT_VARIABLE RUN_RESULT_VAR SCRIPT SEND_ERROR SET SHA1 SHA224 SHA256 SHA384 SHA512 SHARED SHOW_PROGRESS SORT SOURCE SOURCES STATIC STATUS STREQUAL STRGREATER STRINGS STRIP STRLESS SUBSTRING SYSTEM TARGET TARGETS TEST TEST_VARIABLE TIMEOUT TIMESTAMP TLS_CAINFO TLS_VERIFY TOLOWER TOUPPER TO_CMAKE_PATH TO_NATIVE_PATH TYPE UNIX UNIX_COMMAND UNKNOWN UPLOAD USE_SOURCE_PERMISSIONS UTC VALUE VARIABLE VERBATIM VERSION VERSION_EQUAL VERSION_GREATER VERSION_LESS WARNING WIN32 WINDOWS_COMMAND WORKING_DIRECTORY WRITE"-list_extra'5fspecial'5fargs = Set.fromList $ words $ "PATH NAME EXT NAME_WE ABSOLUTE REALPATH FILEPATH STRING BOOL INTERNAL NUMBER_OF_LOGICAL_CORES NUMBER_OF_PHYSICAL_CORES HOSTNAME FQDN TOTAL_VIRTUAL_MEMORY AVAILABLE_VIRTUAL_MEMORY TOTAL_PHYSICAL_MEMORY AVAILABLE_PHYSICAL_MEMORY"-list_properties = Set.fromList $ words $ "ABSTRACT ADDITIONAL_MAKE_CLEAN_FILES ADVANCED ALIASED_TARGET ALLOW_DUPLICATE_CUSTOM_TARGETS ARCHIVE_OUTPUT_DIRECTORY ARCHIVE_OUTPUT_NAME ATTACHED_FILES ATTACHED_FILES_ON_FAIL AUTOMOC AUTOMOC_MOC_OPTIONS AUTOMOC_TARGETS_FOLDER BUILD_WITH_INSTALL_RPATH BUNDLE BUNDLE_EXTENSION CACHE_VARIABLES CLEAN_NO_CUSTOM COMPATIBLE_INTERFACE_BOOL COMPATIBLE_INTERFACE_STRING COMPILE_DEFINITIONS COMPILE_FLAGS COMPILE_OPTIONS COST DEBUG_CONFIGURATIONS DEBUG_POSTFIX DEFINE_SYMBOL DEFINITIONS DEPENDS DISABLED_FEATURES ENABLED_FEATURES ENABLED_LANGUAGES ENABLE_EXPORTS ENVIRONMENT EXCLUDE_FROM_ALL EXCLUDE_FROM_DEFAULT_BUILD EXPORT_NAME EXTERNAL_OBJECT EchoString FAIL_REGULAR_EXPRESSION FIND_LIBRARY_USE_LIB64_PATHS FIND_LIBRARY_USE_OPENBSD_VERSIONING FOLDER FRAMEWORK Fortran_FORMAT Fortran_MODULE_DIRECTORY GENERATED GENERATOR_FILE_NAME GLOBAL_DEPENDS_DEBUG_MODE GLOBAL_DEPENDS_NO_CYCLES GNUtoMS HAS_CXX HEADER_FILE_ONLY HELPSTRING IMPLICIT_DEPENDS_INCLUDE_TRANSFORM IMPORTED IMPORTED_CONFIGURATIONS IMPORTED_IMPLIB IMPORTED_LINK_DEPENDENT_LIBRARIES IMPORTED_LINK_INTERFACE_LANGUAGES IMPORTED_LINK_INTERFACE_LIBRARIES IMPORTED_LINK_INTERFACE_MULTIPLICITY IMPORTED_LOCATION IMPORTED_NO_SONAME IMPORTED_SONAME IMPORT_PREFIX IMPORT_SUFFIX INCLUDE_DIRECTORIES INCLUDE_REGULAR_EXPRESSION INSTALL_NAME_DIR INSTALL_RPATH INSTALL_RPATH_USE_LINK_PATH INTERFACE_COMPILE_DEFINITIONS INTERFACE_COMPILE_OPTIONS INTERFACE_INCLUDE_DIRECTORIES INTERFACE_LINK_LIBRARIES INTERFACE_POSITION_INDEPENDENT_CODE INTERFACE_SYSTEM_INCLUDE_DIRECTORIES INTERPROCEDURAL_OPTIMIZATION IN_TRY_COMPILE KEEP_EXTENSION LABELS LANGUAGE LIBRARY_OUTPUT_DIRECTORY LIBRARY_OUTPUT_NAME LINKER_LANGUAGE LINK_DEPENDS LINK_DEPENDS_NO_SHARED LINK_DIRECTORIES LINK_FLAGS LINK_INTERFACE_LIBRARIES LINK_INTERFACE_MULTIPLICITY LINK_LIBRARIES LINK_SEARCH_END_STATIC LINK_SEARCH_START_STATIC LISTFILE_STACK LOCATION MACOSX_BUNDLE MACOSX_BUNDLE_INFO_PLIST MACOSX_FRAMEWORK_INFO_PLIST MACOSX_PACKAGE_LOCATION MACOSX_RPATH MACROS MEASUREMENT MODIFIED NAME NO_SONAME OBJECT_DEPENDS OBJECT_OUTPUTS OSX_ARCHITECTURES OUTPUT_NAME PACKAGES_FOUND PACKAGES_NOT_FOUND PARENT_DIRECTORY PASS_REGULAR_EXPRESSION PDB_NAME PDB_OUTPUT_DIRECTORY POSITION_INDEPENDENT_CODE POST_INSTALL_SCRIPT PREDEFINED_TARGETS_FOLDER PREFIX PRE_INSTALL_SCRIPT PRIVATE_HEADER PROCESSORS PROJECT_LABEL PUBLIC_HEADER REPORT_UNDEFINED_PROPERTIES REQUIRED_FILES RESOURCE RESOURCE_LOCK RULE_LAUNCH_COMPILE RULE_LAUNCH_CUSTOM RULE_LAUNCH_LINK RULE_MESSAGES RUNTIME_OUTPUT_DIRECTORY RUNTIME_OUTPUT_NAME RUN_SERIAL SKIP_BUILD_RPATH SOURCES SOVERSION STATIC_LIBRARY_FLAGS STRINGS SUFFIX SYMBOLIC TARGET_ARCHIVES_MAY_BE_SHARED_LIBS TARGET_SUPPORTS_SHARED_LIBS TEST_INCLUDE_FILE TIMEOUT TYPE USE_FOLDERS VALUE VARIABLES VERSION VISIBILITY_INLINES_HIDDEN VS_DOTNET_REFERENCES VS_DOTNET_TARGET_FRAMEWORK_VERSION VS_GLOBAL_KEYWORD VS_GLOBAL_PROJECT_TYPES VS_GLOBAL_ROOTNAMESPACE VS_KEYWORD VS_SCC_AUXPATH VS_SCC_LOCALPATH VS_SCC_PROJECTNAME VS_SCC_PROVIDER VS_WINRT_EXTENSIONS VS_WINRT_REFERENCES WILL_FAIL WIN32_EXECUTABLE WORKING_DIRECTORY WRAP_EXCLUDE __CMAKE_DELETE_CACHE_CHANGE_VARS_"+list_special'5fargs = Set.fromList $ words $ "AFTER ALIAS ALL ALPHABET AND APPEND APPENDNUMBER_ERRORS APPEND_STRING ARCHIVE ARGS ASCII AUTHOR_WARNING BEFORE BRIEF_DOCS BUILD BUNDLE BYPRODUCTS CACHE CACHED_VARIABLE CDASH_UPLOAD CDASH_UPLOAD_TYPE CLEAR CMAKE_FIND_ROOT_PATH_BOTH CMAKE_FLAGS CODE COMMAND COMMAND_NAME COMMENT COMPARE COMPILE_DEFINITIONS COMPILE_OUTPUT_VARIABLE COMPILE_RESULT_VAR COMPONENT COMPONENTS CONCAT CONDITION CONFIG CONFIGS CONFIGURATION CONFIGURATIONS CONFIGURE CONTENT COPY COPYONLY COPY_FILE COPY_FILE_ERROR CRLF DEFINED DEFINITION DEPENDS DESTINATION DIRECTORY DIRECTORY_PERMISSIONS DOC DOS DOWNLOAD ENV END EQUAL ERROR_FILE ERROR_QUIET ERROR_STRIP_TRAILING_WHITESPACE ERROR_VARIABLE ESCAPE_QUOTES EXACT EXCLUDE EXCLUDE_FROM_ALL EXCLUDE_LABEL EXISTS EXPECTED_HASH EXPECTED_MD5 EXPORT EXPORT_LINK_INTERFACE_LIBRARIES EXPR EXTRA_INCLUDE FATAL_ERROR FILE FILES FILES_MATCHING FILE_PERMISSIONS FIND FLAGS FOLLOW_SYMLINKS FORCE FRAMEWORK FULL_DOCS FUNCTION GENERATE GENEX_STRIP GET GLOB GLOBAL GLOB_RECURSE GREATER GROUP_EXECUTE GROUP_READ GUARD GUID HEX HINTS IMPLICIT_DEPENDS IMPORTED IN INACTIVITY_TIMEOUT INCLUDE INCLUDES INCLUDE_INTERNALS INCLUDE_LABEL INHERITED INPUT INPUT_FILE INSERT INSTALL INTERFACE IS_ABSOLUTE IS_DIRECTORY IS_NEWER_THAN IS_SYMLINK ITEMS LABELS LANGUAGES LENGTH LENGTH_MAXIMUM LENGTH_MINIMUM LESS LF LIBRARY LIMIT LIMIT_COUNT LIMIT_INPUT LIMIT_OUTPUT LINK_INTERFACE_LIBRARIES LINK_LIBRARIES LINK_PRIVATE LINK_PUBLIC LISTS LIST_DIRECTORIES LOCK LOG MACOSX_BUNDLE MAIN_DEPENDENCY MAKE_C_IDENTIFIER MAKE_DIRECTORY MATCH MATCHALL MATCHES MD5 MESSAGE_NEVER MODULE NAME NAMELINK_ONLY NAMELINK_SKIP NAMES NAMESPACE NAMES_PER_DIR NEW NEWLINE_CONSUME NEWLINE_STYLE NEW_PROCESS NOT NOTEQUAL NO_CMAKE_BUILDS_PATH NO_CMAKE_ENVIRONMENT_PATH NO_CMAKE_FIND_ROOT_PATH NO_CMAKE_PACKAGE_REGISTRY NO_CMAKE_PATH NO_CMAKE_SYSTEM_PACKAGE_REGISTRY NO_CMAKE_SYSTEM_PATH NO_DEFAULT_PATH NO_HEX_CONVERSION NO_MODULE NO_POLICY_SCOPE NO_SOURCE_PERMISSIONS NO_SYSTEM_ENVIRONMENT_PATH NUMBER_ERRORS NUMBER_WARNINGS OBJECT OFF OFFSET OLD ON ONLY_CMAKE_FIND_ROOT_PATH OPTIONAL OPTIONAL_COMPONENTS OPTIONS OR OUTPUT OUTPUT_DIRECTORY OUTPUT_FILE OUTPUT_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE OUTPUT_VARIABLE OWNER_EXECUTE OWNER_READ OWNER_WRITE PACKAGE PARALLEL_LEVEL PARENT_SCOPE PARTS PATHS PATH_SUFFIXES PATH_TO_MESA PATTERN PERMISSIONS PLATFORM POLICY POP POST_BUILD PREORDER PRE_BUILD PRE_LINK PRIVATE PRIVATE_HEADER PROCESS PROGRAM PROGRAMS PROGRAM_ARGS PROJECT_NAME PROPERTIES PROPERTY PUBLIC PUBLIC_HEADER PUSH QUERY QUIET RANDOM RANDOM_SEED RANGE READ READ_WITH_PREFIX REGEX REGULAR_EXPRESSION RELATIVE RELATIVE_PATH RELEASE REMOVE REMOVE_AT REMOVE_DUPLICATES REMOVE_ITEM REMOVE_RECURSE RENAME REPLACE REQUIRED REQUIRED_VARIABLE1 REQUIRED_VARIABLE2 RESOURCE RESULT RESULT_VAR RESULT_VARIABLE RETRY_COUNT RETRY_DELAY RETURN_VALUE REVERSE RUNTIME RUNTIME_DIRECTORY RUN_OUTPUT_VARIABLE RUN_RESULT_VAR SCHEDULE_RANDOM SCRIPT SEND_ERROR SET SHA1 SHA224 SHA256 SHA384 SHA512 SHARED SHOW_PROGRESS SORT SOURCE SOURCES START STATIC STATUS STREQUAL STRGREATER STOP_TIME STRIDE STRINGS STRIP STRLESS SUBSTRING SYSTEM TARGET TARGETS TEST TEST_VARIABLE TIMEOUT TIMESTAMP TLS_CAINFO TLS_VERIFY TOLOWER TOUPPER TO_CMAKE_PATH TO_NATIVE_PATH TRACK TYPE UNIX UNIX_COMMAND UNKNOWN UPLOAD UPPER USES_TERMINAL USE_SOURCE_PERMISSIONS UTC UUID VALUE VARIABLE VERBATIM VERSION VERSION_EQUAL VERSION_GREATER VERSION_LESS WARNING WIN32 WINDOWS_COMMAND WORKING_DIRECTORY WRITE"+list_extra'5fspecial'5fargs = Set.fromList $ words $ "PATH NAME EXT NAME_WE ABSOLUTE REALPATH FILEPATH STRING BOOL INTERNAL NUMBER_OF_LOGICAL_CORES NUMBER_OF_PHYSICAL_CORES HOSTNAME FQDN TOTAL_VIRTUAL_MEMORY AVAILABLE_VIRTUAL_MEMORY TOTAL_PHYSICAL_MEMORY AVAILABLE_PHYSICAL_MEMORY IN_LIST"+list_properties = Set.fromList $ words $ "ABSTRACT ADDITIONAL_MAKE_CLEAN_FILES ADVANCED ALIASED_TARGET ALLOW_DUPLICATE_CUSTOM_TARGETS ANDROID_API ANDROID_API_MIN ANDROID_GUI ARCHIVE_OUTPUT_DIRECTORY ARCHIVE_OUTPUT_NAME ATTACHED_FILES ATTACHED_FILES_ON_FAIL AUTOGEN_TARGETS_FOLDER AUTOGEN_TARGET_DEPENDS AUTOMOC AUTOMOC_MOC_OPTIONS AUTOMOC_TARGETS_FOLDER AUTORCC AUTORCC_OPTIONS AUTOUIC AUTOUIC_OPTIONS BUILD_WITH_INSTALL_RPATH BUNDLE BUNDLE_EXTENSION CACHE_VARIABLES CLEAN_NO_CUSTOM CMAKE_CONFIGURE_DEPENDS CMAKE_CXX_KNOWN_FEATURES CMAKE_C_KNOWN_FEATURES COMPATIBLE_INTERFACE_BOOL COMPATIBLE_INTERFACE_NUMBER_MAX COMPATIBLE_INTERFACE_NUMBER_MIN COMPATIBLE_INTERFACE_STRING COMPILE_DEFINITIONS COMPILE_FEATURES COMPILE_FLAGS COMPILE_OPTIONS COMPILE_PDB_NAME COMPILE_PDB_OUTPUT_DIRECTORY COST CPACK_DESKTOP_SHORTCUTS CPACK_NEVER_OVERWRITE CPACK_PERMANENT CPACK_STARTUP_SHORTCUTS CPACK_START_MENU_SHORTCUTS CPACK_WIX_ACL CROSSCOMPILING_EMULATOR CXX_EXTENSIONS CXX_STANDARD CXX_STANDARD_REQUIRED C_EXTENSIONS C_STANDARD C_STANDARD_REQUIRED DEBUG_CONFIGURATIONS DEBUG_POSTFIX DEFINE_SYMBOL DEFINITIONS DEPENDS DISABLED_FEATURES ECLIPSE_EXTRA_NATURES ENABLED_FEATURES ENABLED_LANGUAGES ENABLE_EXPORTS ENVIRONMENT EXCLUDE_FROM_ALL EXCLUDE_FROM_DEFAULT_BUILD EXPORT_NAME EXTERNAL_OBJECT EchoString FAIL_REGULAR_EXPRESSION FIND_LIBRARY_USE_LIB64_PATHS FIND_LIBRARY_USE_OPENBSD_VERSIONING FOLDER FRAMEWORK Fortran_FORMAT Fortran_MODULE_DIRECTORY GENERATED GENERATOR_FILE_NAME GLOBAL_DEPENDS_DEBUG_MODE GLOBAL_DEPENDS_NO_CYCLES GNUtoMS HAS_CXX HEADER_FILE_ONLY HELPSTRING IMPLICIT_DEPENDS_INCLUDE_TRANSFORM IMPORTED IMPORTED_CONFIGURATIONS IMPORTED_IMPLIB IMPORTED_LINK_DEPENDENT_LIBRARIES IMPORTED_LINK_INTERFACE_LANGUAGES IMPORTED_LINK_INTERFACE_LIBRARIES IMPORTED_LINK_INTERFACE_MULTIPLICITY IMPORTED_LOCATION IMPORTED_NO_SONAME IMPORTED_SONAME IMPORT_PREFIX IMPORT_SUFFIX INCLUDE_DIRECTORIES INCLUDE_REGULAR_EXPRESSION INSTALL_NAME_DIR INSTALL_RPATH INSTALL_RPATH_USE_LINK_PATH INTERFACE_AUTOUIC_OPTIONS INTERFACE_COMPILE_DEFINITIONS INTERFACE_COMPILE_FEATURES INTERFACE_COMPILE_OPTIONS INTERFACE_INCLUDE_DIRECTORIES INTERFACE_LINK_LIBRARIES INTERFACE_POSITION_INDEPENDENT_CODE INTERFACE_SOURCES INTERFACE_SYSTEM_INCLUDE_DIRECTORIES INTERPROCEDURAL_OPTIMIZATION IN_TRY_COMPILE JOB_POOLS JOB_POOL_COMPILE JOB_POOL_LINK KEEP_EXTENSION LABELS LANGUAGE LIBRARY_OUTPUT_DIRECTORY LIBRARY_OUTPUT_NAME LINKER_LANGUAGE LINK_DEPENDS LINK_DEPENDS_NO_SHARED LINK_DIRECTORIES LINK_FLAGS LINK_INTERFACE_LIBRARIES LINK_INTERFACE_MULTIPLICITY LINK_LIBRARIES LINK_SEARCH_END_STATIC LINK_SEARCH_START_STATIC LISTFILE_STACK LOCATION MACOSX_BUNDLE MACOSX_BUNDLE_INFO_PLIST MACOSX_FRAMEWORK_INFO_PLIST MACOSX_PACKAGE_LOCATION MACOSX_RPATH MACROS MEASUREMENT MODIFIED NAME NO_SONAME NO_SYSTEM_FROM_IMPORTED OBJECT_DEPENDS OBJECT_OUTPUTS OSX_ARCHITECTURES OUTPUT_NAME PACKAGES_FOUND PACKAGES_NOT_FOUND PARENT_DIRECTORY PASS_REGULAR_EXPRESSION PDB_NAME PDB_OUTPUT_DIRECTORY POSITION_INDEPENDENT_CODE POST_INSTALL_SCRIPT PREDEFINED_TARGETS_FOLDER PREFIX PRE_INSTALL_SCRIPT PRIVATE_HEADER PROCESSORS PROJECT_LABEL PUBLIC_HEADER REPORT_UNDEFINED_PROPERTIES REQUIRED_FILES RESOURCE RESOURCE_LOCK RULE_LAUNCH_COMPILE RULE_LAUNCH_CUSTOM RULE_LAUNCH_LINK RULE_MESSAGES RUNTIME_OUTPUT_DIRECTORY RUNTIME_OUTPUT_NAME RUN_SERIAL SKIP_BUILD_RPATH SKIP_RETURN_CODE SOURCES SOVERSION STATIC_LIBRARY_FLAGS STRINGS SUFFIX SYMBOLIC TARGET_ARCHIVES_MAY_BE_SHARED_LIBS TARGET_SUPPORTS_SHARED_LIBS TEST_INCLUDE_FILE TIMEOUT TYPE USE_FOLDERS VALUE VARIABLES VERSION VISIBILITY_INLINES_HIDDEN VS_DEPLOYMENT_CONTENT VS_DEPLOYMENT_LOCATION VS_DOTNET_REFERENCES VS_DOTNET_TARGET_FRAMEWORK_VERSION VS_GLOBAL_KEYWORD VS_GLOBAL_PROJECT_TYPES VS_GLOBAL_ROOTNAMESPACE VS_KEYWORD VS_SCC_AUXPATH VS_SCC_LOCALPATH VS_SCC_PROJECTNAME VS_SCC_PROVIDER VS_SHADER_ENTRYPOINT VS_SHADER_FLAGS VS_SHADER_MODEL VS_SHADER_TYPE VS_WINRT_COMPONENT VS_WINRT_EXTENSIONS VS_WINRT_REFERENCES VS_XAML_TYPE WILL_FAIL WIN32_EXECUTABLE WORKING_DIRECTORY WRAP_EXCLUDE XCODE_EXPLICIT_FILE_TYPE XCODE_LAST_KNOWN_FILE_TYPE XCTEST" list_extra'5fproperties = Set.fromList $ words $ "COMMANDS DEFINITION"-list_cmake'5fvars = Set.fromList $ words $ "APPLE BORLAND BUILD_SHARED_LIBS CMAKE_ABSOLUTE_DESTINATION_FILES CMAKE_AR CMAKE_ARCHIVE_OUTPUT_DIRECTORY CMAKE_ARGC CMAKE_ARGV0 CMAKE_AUTOMOC CMAKE_AUTOMOC_MOC_OPTIONS CMAKE_AUTOMOC_RELAXED_MODE CMAKE_BACKWARDS_COMPATIBILITY CMAKE_BINARY_DIR CMAKE_BUILD_TOOL CMAKE_BUILD_TYPE CMAKE_BUILD_WITH_INSTALL_RPATH CMAKE_CACHEFILE_DIR CMAKE_CACHE_MAJOR_VERSION CMAKE_CACHE_MINOR_VERSION CMAKE_CACHE_PATCH_VERSION CMAKE_CFG_INTDIR CMAKE_CL_64 CMAKE_COLOR_MAKEFILE CMAKE_COMMAND CMAKE_COMPILER_2005 CMAKE_CONFIGURATION_TYPES CMAKE_CROSSCOMPILING CMAKE_CTEST_COMMAND CMAKE_CURRENT_BINARY_DIR CMAKE_CURRENT_LIST_DIR CMAKE_CURRENT_LIST_FILE CMAKE_CURRENT_LIST_LINE CMAKE_CURRENT_SOURCE_DIR CMAKE_DEBUG_POSTFIX CMAKE_DEBUG_TARGET_PROPERTIES CMAKE_DL_LIBS CMAKE_EDIT_COMMAND CMAKE_ERROR_DEPRECATED CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION CMAKE_EXECUTABLE_SUFFIX CMAKE_EXE_LINKER_FLAGS CMAKE_EXTRA_GENERATOR CMAKE_EXTRA_SHARED_LIBRARY_SUFFIXES CMAKE_FIND_LIBRARY_PREFIXES CMAKE_FIND_LIBRARY_SUFFIXES CMAKE_FIND_PACKAGE_WARN_NO_MODULE CMAKE_Fortran_FORMAT CMAKE_Fortran_MODDIR_DEFAULT CMAKE_Fortran_MODDIR_FLAG CMAKE_Fortran_MODOUT_FLAG CMAKE_Fortran_MODULE_DIRECTORY CMAKE_GENERATOR CMAKE_GENERATOR_TOOLSET CMAKE_GNUtoMS CMAKE_HOME_DIRECTORY CMAKE_HOST_APPLE CMAKE_HOST_SYSTEM CMAKE_HOST_SYSTEM_NAME CMAKE_HOST_SYSTEM_PROCESSOR CMAKE_HOST_SYSTEM_VERSION CMAKE_HOST_UNIX CMAKE_HOST_WIN32 CMAKE_IGNORE_PATH CMAKE_IMPORT_LIBRARY_PREFIX CMAKE_IMPORT_LIBRARY_SUFFIX CMAKE_INCLUDE_CURRENT_DIR CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE CMAKE_INCLUDE_PATH CMAKE_INSTALL_DEFAULT_COMPONENT_NAME CMAKE_INSTALL_NAME_DIR CMAKE_INSTALL_PREFIX CMAKE_INSTALL_RPATH CMAKE_INSTALL_RPATH_USE_LINK_PATH CMAKE_INTERNAL_PLATFORM_ABI CMAKE_LIBRARY_ARCHITECTURE CMAKE_LIBRARY_ARCHITECTURE_REGEX CMAKE_LIBRARY_OUTPUT_DIRECTORY CMAKE_LIBRARY_PATH CMAKE_LIBRARY_PATH_FLAG CMAKE_LINK_DEF_FILE_FLAG CMAKE_LINK_DEPENDS_NO_SHARED CMAKE_LINK_INTERFACE_LIBRARIES CMAKE_LINK_LIBRARY_FILE_FLAG CMAKE_LINK_LIBRARY_FLAG CMAKE_LINK_LIBRARY_SUFFIX CMAKE_MACOSX_BUNDLE CMAKE_MAJOR_VERSION CMAKE_MAKE_PROGRAM CMAKE_MFC_FLAG CMAKE_MINIMUM_REQUIRED_VERSION CMAKE_MINOR_VERSION CMAKE_MODULE_LINKER_FLAGS CMAKE_MODULE_PATH CMAKE_NOT_USING_CONFIG_FLAGS CMAKE_NO_BUILTIN_CHRPATH CMAKE_OBJECT_PATH_MAX CMAKE_PARENT_LIST_FILE CMAKE_PATCH_VERSION CMAKE_PDB_OUTPUT_DIRECTORY CMAKE_POSITION_INDEPENDENT_CODE CMAKE_PREFIX_PATH CMAKE_PROGRAM_PATH CMAKE_PROJECT_NAME CMAKE_RANLIB CMAKE_ROOT CMAKE_RUNTIME_OUTPUT_DIRECTORY CMAKE_SCRIPT_MODE_FILE CMAKE_SHARED_LIBRARY_PREFIX CMAKE_SHARED_LIBRARY_SUFFIX CMAKE_SHARED_LINKER_FLAGS CMAKE_SHARED_MODULE_PREFIX CMAKE_SHARED_MODULE_SUFFIX CMAKE_SIZEOF_VOID_P CMAKE_SKIP_BUILD_RPATH CMAKE_SKIP_INSTALL_ALL_DEPENDENCY CMAKE_SKIP_INSTALL_RPATH CMAKE_SKIP_RPATH CMAKE_SOURCE_DIR CMAKE_STANDARD_LIBRARIES CMAKE_STATIC_LIBRARY_PREFIX CMAKE_STATIC_LIBRARY_SUFFIX CMAKE_STATIC_LINKER_FLAGS CMAKE_SYSTEM CMAKE_SYSTEM_IGNORE_PATH CMAKE_SYSTEM_INCLUDE_PATH CMAKE_SYSTEM_LIBRARY_PATH CMAKE_SYSTEM_NAME CMAKE_SYSTEM_PREFIX_PATH CMAKE_SYSTEM_PROCESSOR CMAKE_SYSTEM_PROGRAM_PATH CMAKE_SYSTEM_VERSION CMAKE_TRY_COMPILE_CONFIGURATION CMAKE_TWEAK_VERSION CMAKE_USER_MAKE_RULES_OVERRIDE CMAKE_USE_RELATIVE_PATHS CMAKE_VERBOSE_MAKEFILE CMAKE_VERSION CMAKE_VISIBILITY_INLINES_HIDDEN CMAKE_VS_PLATFORM_TOOLSET CMAKE_WARN_DEPRECATED CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION CMAKE_WIN32_EXECUTABLE CMAKE_XCODE_PLATFORM_TOOLSET CYGWIN ENV EXECUTABLE_OUTPUT_PATH LIBRARY_OUTPUT_PATH MSVC MSVC10 MSVC11 MSVC12 MSVC60 MSVC70 MSVC71 MSVC80 MSVC90 MSVC_IDE MSVC_VERSION PROJECT_BINARY_DIR PROJECT_NAME PROJECT_SOURCE_DIR UNIX WIN32 XCODE_VERSION"+list_cmake'5fvars = Set.fromList $ words $ "APPLE BORLAND BUILD_SHARED_LIBS CMAKE_ABSOLUTE_DESTINATION_FILES CMAKE_ANDROID_API CMAKE_ANDROID_API_MIN CMAKE_ANDROID_GUI CMAKE_APPBUNDLE_PATH CMAKE_AR CMAKE_ARCHIVE_OUTPUT_DIRECTORY CMAKE_ARGC CMAKE_ARGV0 CMAKE_AUTOMOC CMAKE_AUTOMOC_MOC_OPTIONS CMAKE_AUTOMOC_RELAXED_MODE CMAKE_AUTORCC CMAKE_AUTORCC_OPTIONS CMAKE_AUTOUIC CMAKE_AUTOUIC_OPTIONS CMAKE_BACKWARDS_COMPATIBILITY CMAKE_BINARY_DIR CMAKE_BUILD_TOOL CMAKE_BUILD_TYPE CMAKE_BUILD_WITH_INSTALL_RPATH CMAKE_CACHEFILE_DIR CMAKE_CACHE_MAJOR_VERSION CMAKE_CACHE_MINOR_VERSION CMAKE_CACHE_PATCH_VERSION CMAKE_CFG_INTDIR CMAKE_CL_64 CMAKE_COLOR_MAKEFILE CMAKE_COMMAND CMAKE_COMPILER_2005 CMAKE_COMPILE_PDB_OUTPUT_DIRECTORY CMAKE_CONFIGURATION_TYPES CMAKE_CROSSCOMPILING CMAKE_CROSSCOMPILING_EMULATOR CMAKE_CTEST_COMMAND CMAKE_CURRENT_BINARY_DIR CMAKE_CURRENT_LIST_DIR CMAKE_CURRENT_LIST_FILE CMAKE_CURRENT_LIST_LINE CMAKE_CURRENT_SOURCE_DIR CMAKE_CXX_COMPILE_FEATURES CMAKE_CXX_EXTENSIONS CMAKE_CXX_STANDARD CMAKE_CXX_STANDARD_REQUIRED CMAKE_C_COMPILE_FEATURES CMAKE_C_EXTENSIONS CMAKE_C_STANDARD CMAKE_C_STANDARD_REQUIRED CMAKE_DEBUG_POSTFIX CMAKE_DEBUG_TARGET_PROPERTIES CMAKE_DL_LIBS CMAKE_EDIT_COMMAND CMAKE_ERROR_DEPRECATED CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION CMAKE_EXECUTABLE_SUFFIX CMAKE_EXE_LINKER_FLAGS CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMAKE_EXTRA_GENERATOR CMAKE_EXTRA_SHARED_LIBRARY_SUFFIXES CMAKE_FIND_LIBRARY_PREFIXES CMAKE_FIND_LIBRARY_SUFFIXES CMAKE_FIND_NO_INSTALL_PREFIX CMAKE_FIND_PACKAGE_NAME CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY CMAKE_FIND_PACKAGE_WARN_NO_MODULE CMAKE_FIND_ROOT_PATH CMAKE_FIND_ROOT_PATH_MODE_INCLUDE CMAKE_FIND_ROOT_PATH_MODE_LIBRARY CMAKE_FIND_ROOT_PATH_MODE_PACKAGE CMAKE_FIND_ROOT_PATH_MODE_PROGRAM CMAKE_FRAMEWORK_PATH CMAKE_Fortran_FORMAT CMAKE_Fortran_MODDIR_DEFAULT CMAKE_Fortran_MODDIR_FLAG CMAKE_Fortran_MODOUT_FLAG CMAKE_Fortran_MODULE_DIRECTORY CMAKE_GENERATOR CMAKE_GENERATOR_PLATFORM CMAKE_GENERATOR_TOOLSET CMAKE_GNUtoMS CMAKE_HOME_DIRECTORY CMAKE_HOST_APPLE CMAKE_HOST_SYSTEM CMAKE_HOST_SYSTEM_NAME CMAKE_HOST_SYSTEM_PROCESSOR CMAKE_HOST_SYSTEM_VERSION CMAKE_HOST_UNIX CMAKE_HOST_WIN32 CMAKE_IGNORE_PATH CMAKE_IMPORT_LIBRARY_PREFIX CMAKE_IMPORT_LIBRARY_SUFFIX CMAKE_INCLUDE_CURRENT_DIR CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE CMAKE_INCLUDE_DIRECTORIES_BEFORE CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE CMAKE_INCLUDE_PATH CMAKE_INSTALL_DEFAULT_COMPONENT_NAME CMAKE_INSTALL_MESSAGE CMAKE_INSTALL_NAME_DIR CMAKE_INSTALL_PREFIX CMAKE_INSTALL_RPATH CMAKE_INSTALL_RPATH_USE_LINK_PATH CMAKE_INTERNAL_PLATFORM_ABI CMAKE_JOB_POOL_COMPILE CMAKE_JOB_POOL_LINK CMAKE_LIBRARY_ARCHITECTURE CMAKE_LIBRARY_ARCHITECTURE_REGEX CMAKE_LIBRARY_OUTPUT_DIRECTORY CMAKE_LIBRARY_PATH CMAKE_LIBRARY_PATH_FLAG CMAKE_LINK_DEF_FILE_FLAG CMAKE_LINK_DEPENDS_NO_SHARED CMAKE_LINK_INTERFACE_LIBRARIES CMAKE_LINK_LIBRARY_FILE_FLAG CMAKE_LINK_LIBRARY_FLAG CMAKE_LINK_LIBRARY_SUFFIX CMAKE_MACOSX_BUNDLE CMAKE_MACOSX_RPATH CMAKE_MAJOR_VERSION CMAKE_MAKE_PROGRAM CMAKE_MATCH_COUNT CMAKE_MFC_FLAG CMAKE_MINIMUM_REQUIRED_VERSION CMAKE_MINOR_VERSION CMAKE_MODULE_LINKER_FLAGS CMAKE_MODULE_PATH CMAKE_NOT_USING_CONFIG_FLAGS CMAKE_NO_BUILTIN_CHRPATH CMAKE_NO_SYSTEM_FROM_IMPORTED CMAKE_OBJECT_PATH_MAX CMAKE_OSX_ARCHITECTURES CMAKE_OSX_DEPLOYMENT_TARGET CMAKE_OSX_SYSROOT CMAKE_PARENT_LIST_FILE CMAKE_PATCH_VERSION CMAKE_PDB_OUTPUT_DIRECTORY CMAKE_POSITION_INDEPENDENT_CODE CMAKE_PREFIX_PATH CMAKE_PROGRAM_PATH CMAKE_PROJECT_NAME CMAKE_RANLIB CMAKE_ROOT CMAKE_RUNTIME_OUTPUT_DIRECTORY CMAKE_SCRIPT_MODE_FILE CMAKE_SHARED_LIBRARY_PREFIX CMAKE_SHARED_LIBRARY_SUFFIX CMAKE_SHARED_LINKER_FLAGS CMAKE_SHARED_MODULE_PREFIX CMAKE_SHARED_MODULE_SUFFIX CMAKE_SIZEOF_VOID_P CMAKE_SKIP_BUILD_RPATH CMAKE_SKIP_INSTALL_ALL_DEPENDENCY CMAKE_SKIP_INSTALL_RPATH CMAKE_SKIP_INSTALL_RULES CMAKE_SKIP_RPATH CMAKE_SOURCE_DIR CMAKE_STAGING_PREFIX CMAKE_STANDARD_LIBRARIES CMAKE_STATIC_LIBRARY_PREFIX CMAKE_STATIC_LIBRARY_SUFFIX CMAKE_STATIC_LINKER_FLAGS CMAKE_SYSROOT CMAKE_SYSTEM CMAKE_SYSTEM_IGNORE_PATH CMAKE_SYSTEM_INCLUDE_PATH CMAKE_SYSTEM_LIBRARY_PATH CMAKE_SYSTEM_NAME CMAKE_SYSTEM_PREFIX_PATH CMAKE_SYSTEM_PROCESSOR CMAKE_SYSTEM_PROGRAM_PATH CMAKE_SYSTEM_VERSION CMAKE_TOOLCHAIN_FILE CMAKE_TRY_COMPILE_CONFIGURATION CMAKE_TWEAK_VERSION CMAKE_USER_MAKE_RULES_OVERRIDE CMAKE_USE_RELATIVE_PATHS CMAKE_VERBOSE_MAKEFILE CMAKE_VERSION CMAKE_VISIBILITY_INLINES_HIDDEN CMAKE_VS_DEVENV_COMMAND CMAKE_VS_INCLUDE_INSTALL_TO_DEFAULT_BUILD CMAKE_VS_INTEL_Fortran_PROJECT_VERSION CMAKE_VS_MSBUILD_COMMAND CMAKE_VS_MSDEV_COMMAND CMAKE_VS_NsightTegra_VERSION CMAKE_VS_PLATFORM_NAME CMAKE_VS_PLATFORM_TOOLSET CMAKE_WARN_DEPRECATED CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION CMAKE_WIN32_EXECUTABLE CMAKE_XCODE_PLATFORM_TOOLSET CPACK_ABSOLUTE_DESTINATION_FILES CPACK_COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY CPACK_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION CPACK_INCLUDE_TOPLEVEL_DIRECTORY CPACK_INSTALL_SCRIPT CPACK_PACKAGING_INSTALL_PREFIX CPACK_SET_DESTDIR CPACK_WARN_ON_ABSOLUTE_INSTALL_DESTINATION CTEST_BINARY_DIRECTORY CTEST_BUILD_COMMAND CTEST_BUILD_NAME CTEST_BZR_COMMAND CTEST_BZR_UPDATE_OPTIONS CTEST_CHECKOUT_COMMAND CTEST_CONFIGURATION_TYPE CTEST_CONFIGURE_COMMAND CTEST_COVERAGE_COMMAND CTEST_COVERAGE_EXTRA_FLAGS CTEST_CURL_OPTIONS CTEST_CVS_CHECKOUT CTEST_CVS_COMMAND CTEST_CVS_UPDATE_OPTIONS CTEST_DROP_LOCATION CTEST_DROP_METHOD CTEST_DROP_SITE CTEST_DROP_SITE_CDASH CTEST_DROP_SITE_PASSWORD CTEST_DROP_SITE_USER CTEST_GIT_COMMAND CTEST_GIT_UPDATE_CUSTOM CTEST_GIT_UPDATE_OPTIONS CTEST_HG_COMMAND CTEST_HG_UPDATE_OPTIONS CTEST_MEMORYCHECK_COMMAND CTEST_MEMORYCHECK_COMMAND_OPTIONS CTEST_MEMORYCHECK_SANITIZER_OPTIONS CTEST_MEMORYCHECK_SUPPRESSIONS_FILE CTEST_MEMORYCHECK_TYPE CTEST_NIGHTLY_START_TIME CTEST_P4_CLIENT CTEST_P4_COMMAND CTEST_P4_OPTIONS CTEST_P4_UPDATE_OPTIONS CTEST_SCP_COMMAND CTEST_SITE CTEST_SOURCE_DIRECTORY CTEST_SVN_COMMAND CTEST_SVN_OPTIONS CTEST_SVN_UPDATE_OPTIONS CTEST_TEST_TIMEOUT CTEST_TRIGGER_SITE CTEST_UPDATE_COMMAND CTEST_UPDATE_OPTIONS CTEST_UPDATE_VERSION_ONLY CTEST_USE_LAUNCHERS CYGWIN ENV EXECUTABLE_OUTPUT_PATH GHS-MULTI LIBRARY_OUTPUT_PATH MINGW MSVC MSVC10 MSVC11 MSVC12 MSVC14 MSVC60 MSVC70 MSVC71 MSVC80 MSVC90 MSVC_IDE MSVC_VERSION PROJECT_BINARY_DIR PROJECT_NAME PROJECT_SOURCE_DIR PROJECT_VERSION PROJECT_VERSION_MAJOR PROJECT_VERSION_MINOR PROJECT_VERSION_PATCH PROJECT_VERSION_TWEAK UNIX WIN32 WINCE WINDOWS_PHONE WINDOWS_STORE XCODE_VERSION" list_simple'5fgenerator'5fexpr = Set.fromList $ words $ "CONFIGURATION ANGLE-R COMMA SEMICOLON INSTALL_PREFIX"-list_generator'5fexpr = Set.fromList $ words $ "0 1 CONFIG BOOL STREQUAL JOIN TARGET_NAME INSTALL_INTERFACE BUILD_INTERFACE C_COMPILER_ID CXX_COMPILER_ID VERSION_GREATER VERSION_LESS VERSION_EQUAL C_COMPILER_VERSION CXX_COMPILER_VERSION TARGET_FILE TARGET_LINKER_FILE TARGET_SONAME_FILE TARGET_FILE_DIR TARGET_FILE_NAME TARGET_DIR TARGET_LINKER_FILE_DIR TARGET_LINKER_FILE_NAME TARGET_SONAME_FILE_DIR TARGET_SONAME_FILE_NAME TARGET_PROPERTY TARGET_OBJECTS TARGET_POLICY AND OR NOT"+list_generator'5fexpr = Set.fromList $ words $ "0 1 BOOL AND OR NOT STREQUAL EQUAL CONFIG PLATFORM_ID C_COMPILER_ID CXX_COMPILER_ID VERSION_GREATER VERSION_LESS VERSION_EQUAL C_COMPILER_VERSION CXX_COMPILER_VERSION TARGET_POLICY COMPILER_FEATURES CONFIGURATION TARGET_FILE TARGET_FILE_NAME TARGET_FILE_DIR TARGET_LINKER_FILE TARGET_LINKER_FILE_NAME TARGET_LINKER_FILE_DIR TARGET_SONAME_FILE TARGET_SONAME_FILE_NAME TARGET_SONAME_FILE_DIR TARGET_PDB_FILE TARGET_PDB_FILE_NAME TARGET_PDB_FILE_DIR TARGET_PROPERTY INSTALL_PREFIX JOIN ANGLE-R COMMA SEMICOLON TARGET_NAME LINK_ONLY INSTALL_INTERFACE BUILD_INTERFACE LOWER_CASE UPPER_CASE MAKE_C_IDENTIFIER TARGET_OBJECTS TARGET_DIR" -regex_'5cbif'5cb = compileRegex True "\\bif\\b"-regex_'5cbelse'5cb = compileRegex True "\\belse\\b"-regex_'5cbelseif'5cb = compileRegex True "\\belseif\\b"-regex_'5cbendif'5cb = compileRegex True "\\bendif\\b"-regex_'5cbmacro'5cb = compileRegex True "\\bmacro\\b"-regex_'5cbendmacro'5cb = compileRegex True "\\bendmacro\\b"-regex_'5cbforeach'5cb = compileRegex True "\\bforeach\\b"-regex_'5cbendforeach'5cb = compileRegex True "\\bendforeach\\b"-regex_'5cbwhile'5cb = compileRegex True "\\bwhile\\b"-regex_'5cbendwhile'5cb = compileRegex True "\\bendwhile\\b" regex_'23'5cs'2aBEGIN'2e'2a'24 = compileRegex True "#\\s*BEGIN.*$" regex_'23'5cs'2aEND'2e'2a'24 = compileRegex True "#\\s*END.*$" regex_'23'5c'5b'28'3d'2a'29'5c'5b'5c'2erst'3a = compileRegex True "#\\[(=*)\\[\\.rst:" regex_'23'5c'5b'28'3d'2a'29'5c'5b = compileRegex True "#\\[(=*)\\[" regex_'5cw'2b'5cs'2a'28'3f'3d'5c'28'29 = compileRegex True "\\w+\\s*(?=\\()"+regex_'5cbCMAKE'5fARCHIVE'5fOUTPUT'5fDIRECTORY'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5cb = compileRegex True "\\bCMAKE_ARCHIVE_OUTPUT_DIRECTORY_[A-Za-z_][A-Za-z_0-9]*\\b" regex_'5cbCMAKE'5fCOMPILER'5fIS'5fGNU'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5cb = compileRegex True "\\bCMAKE_COMPILER_IS_GNU[A-Za-z_][A-Za-z_0-9]*\\b"+regex_'5cbCMAKE'5fCOMPILE'5fPDB'5fOUTPUT'5fDIRECTORY'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5cb = compileRegex True "\\bCMAKE_COMPILE_PDB_OUTPUT_DIRECTORY_[A-Za-z_][A-Za-z_0-9]*\\b" regex_'5cbCMAKE'5fDISABLE'5fFIND'5fPACKAGE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5cb = compileRegex True "\\bCMAKE_DISABLE_FIND_PACKAGE_[A-Za-z_][A-Za-z_0-9]*\\b" regex_'5cbCMAKE'5fEXE'5fLINKER'5fFLAGS'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5cb = compileRegex True "\\bCMAKE_EXE_LINKER_FLAGS_[A-Za-z_][A-Za-z_0-9]*\\b"+regex_'5cbCMAKE'5fLIBRARY'5fOUTPUT'5fDIRECTORY'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5cb = compileRegex True "\\bCMAKE_LIBRARY_OUTPUT_DIRECTORY_[A-Za-z_][A-Za-z_0-9]*\\b"+regex_'5cbCMAKE'5fMAP'5fIMPORTED'5fCONFIG'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5cb = compileRegex True "\\bCMAKE_MAP_IMPORTED_CONFIG_[A-Za-z_][A-Za-z_0-9]*\\b" regex_'5cbCMAKE'5fMODULE'5fLINKER'5fFLAGS'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5cb = compileRegex True "\\bCMAKE_MODULE_LINKER_FLAGS_[A-Za-z_][A-Za-z_0-9]*\\b"+regex_'5cbCMAKE'5fPDB'5fOUTPUT'5fDIRECTORY'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5cb = compileRegex True "\\bCMAKE_PDB_OUTPUT_DIRECTORY_[A-Za-z_][A-Za-z_0-9]*\\b" regex_'5cbCMAKE'5fPOLICY'5fDEFAULT'5fCMP'5b0'2d9'5d'2b'5cb = compileRegex True "\\bCMAKE_POLICY_DEFAULT_CMP[0-9]+\\b"+regex_'5cbCMAKE'5fPOLICY'5fWARNING'5fCMP'5b0'2d9'5d'2b'5cb = compileRegex True "\\bCMAKE_POLICY_WARNING_CMP[0-9]+\\b"+regex_'5cbCMAKE'5fPROJECT'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fINCLUDE'5cb = compileRegex True "\\bCMAKE_PROJECT_[A-Za-z_][A-Za-z_0-9]*_INCLUDE\\b"+regex_'5cbCMAKE'5fRUNTIME'5fOUTPUT'5fDIRECTORY'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5cb = compileRegex True "\\bCMAKE_RUNTIME_OUTPUT_DIRECTORY_[A-Za-z_][A-Za-z_0-9]*\\b" regex_'5cbCMAKE'5fSHARED'5fLINKER'5fFLAGS'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5cb = compileRegex True "\\bCMAKE_SHARED_LINKER_FLAGS_[A-Za-z_][A-Za-z_0-9]*\\b" regex_'5cbCMAKE'5fSTATIC'5fLINKER'5fFLAGS'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5cb = compileRegex True "\\bCMAKE_STATIC_LINKER_FLAGS_[A-Za-z_][A-Za-z_0-9]*\\b" regex_'5cbCMAKE'5fUSER'5fMAKE'5fRULES'5fOVERRIDE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5cb = compileRegex True "\\bCMAKE_USER_MAKE_RULES_OVERRIDE_[A-Za-z_][A-Za-z_0-9]*\\b"+regex_'5cbCMAKE'5fXCODE'5fATTRIBUTE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5cb = compileRegex True "\\bCMAKE_XCODE_ATTRIBUTE_[A-Za-z_][A-Za-z_0-9]*\\b" regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fARCHIVE'5fAPPEND'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_ARCHIVE_APPEND\\b" regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fARCHIVE'5fCREATE'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_ARCHIVE_CREATE\\b" regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fARCHIVE'5fFINISH'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_ARCHIVE_FINISH\\b" regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fCOMPILER'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_COMPILER\\b" regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fCOMPILER'5fABI'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_COMPILER_ABI\\b"+regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fCOMPILER'5fEXTERNAL'5fTOOLCHAIN'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_COMPILER_EXTERNAL_TOOLCHAIN\\b" regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fCOMPILER'5fID'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_COMPILER_ID\\b" regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fCOMPILER'5fLOADED'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_COMPILER_LOADED\\b"+regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fCOMPILER'5fTARGET'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_COMPILER_TARGET\\b" regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fCOMPILER'5fVERSION'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_COMPILER_VERSION\\b" regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fCOMPILE'5fOBJECT'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_COMPILE_OBJECT\\b" regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fCREATE'5fSHARED'5fLIBRARY'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_CREATE_SHARED_LIBRARY\\b"@@ -123,21 +124,35 @@ regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fFLAGS'5fMINSIZEREL'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_FLAGS_MINSIZEREL\\b" regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fFLAGS'5fRELEASE'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_FLAGS_RELEASE\\b" regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fFLAGS'5fRELWITHDEBINFO'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_FLAGS_RELWITHDEBINFO\\b"+regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fGHS'5fKERNEL'5fFLAGS'5fDEBUG'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_GHS_KERNEL_FLAGS_DEBUG\\b"+regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fGHS'5fKERNEL'5fFLAGS'5fMINSIZEREL'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_GHS_KERNEL_FLAGS_MINSIZEREL\\b"+regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fGHS'5fKERNEL'5fFLAGS'5fRELEASE'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_GHS_KERNEL_FLAGS_RELEASE\\b"+regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fGHS'5fKERNEL'5fFLAGS'5fRELWITHDEBINFO'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_GHS_KERNEL_FLAGS_RELWITHDEBINFO\\b" regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fIGNORE'5fEXTENSIONS'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_IGNORE_EXTENSIONS\\b" regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fIMPLICIT'5fINCLUDE'5fDIRECTORIES'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_IMPLICIT_INCLUDE_DIRECTORIES\\b" regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fIMPLICIT'5fLINK'5fDIRECTORIES'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_IMPLICIT_LINK_DIRECTORIES\\b" regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fIMPLICIT'5fLINK'5fFRAMEWORK'5fDIRECTORIES'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES\\b" regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fIMPLICIT'5fLINK'5fLIBRARIES'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_IMPLICIT_LINK_LIBRARIES\\b"+regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fINCLUDE'5fWHAT'5fYOU'5fUSE'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_INCLUDE_WHAT_YOU_USE\\b" regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fLIBRARY'5fARCHITECTURE'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_LIBRARY_ARCHITECTURE\\b" regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fLINKER'5fPREFERENCE'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_LINKER_PREFERENCE\\b" regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fLINKER'5fPREFERENCE'5fPROPAGATES'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_LINKER_PREFERENCE_PROPAGATES\\b"-regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fLINK'5fEXECUTABLE_'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_LINK_EXECUTABLE \\b"+regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fLINK'5fEXECUTABLE'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_LINK_EXECUTABLE\\b" regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fOUTPUT'5fEXTENSION'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_OUTPUT_EXTENSION\\b" regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fPLATFORM'5fID'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_PLATFORM_ID\\b" regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fPOSTFIX'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_POSTFIX\\b"+regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fSIMULATE'5fID'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_SIMULATE_ID\\b"+regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fSIMULATE'5fVERSION'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_SIMULATE_VERSION\\b" regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fSIZEOF'5fDATA'5fPTR'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_SIZEOF_DATA_PTR\\b" regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fSOURCE'5fFILE'5fEXTENSIONS'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_SOURCE_FILE_EXTENSIONS\\b" regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fVISIBILITY'5fPRESET'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_VISIBILITY_PRESET\\b"+regex_'5cb'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fBINARY'5fDIR'5cb = compileRegex True "\\b[A-Za-z_][A-Za-z_0-9]*_BINARY_DIR\\b"+regex_'5cb'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fSOURCE'5fDIR'5cb = compileRegex True "\\b[A-Za-z_][A-Za-z_0-9]*_SOURCE_DIR\\b"+regex_'5cb'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fVERSION'5cb = compileRegex True "\\b[A-Za-z_][A-Za-z_0-9]*_VERSION\\b"+regex_'5cb'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fVERSION'5fMAJOR'5cb = compileRegex True "\\b[A-Za-z_][A-Za-z_0-9]*_VERSION_MAJOR\\b"+regex_'5cb'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fVERSION'5fMINOR'5cb = compileRegex True "\\b[A-Za-z_][A-Za-z_0-9]*_VERSION_MINOR\\b"+regex_'5cb'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fVERSION'5fPATCH'5cb = compileRegex True "\\b[A-Za-z_][A-Za-z_0-9]*_VERSION_PATCH\\b"+regex_'5cb'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fVERSION'5fTWEAK'5cb = compileRegex True "\\b[A-Za-z_][A-Za-z_0-9]*_VERSION_TWEAK\\b" regex_'5c'24ENV'5c'7b'5cs'2a'5b'5cw'2d'5d'2b'5cs'2a'5c'7d = compileRegex True "\\$ENV\\{\\s*[\\w-]+\\s*\\}" regex_'5cbCMP'5b0'2d9'5d'2b'5cb = compileRegex True "\\bCMP[0-9]+\\b" regex_'5c'5c'5b'22'24n'5c'5c'5d = compileRegex True "\\\\[\"$n\\\\]"@@ -148,29 +163,29 @@ parseRules ("CMake","Normal Text") =   (((pDetectSpaces >>= withAttribute NormalTok))    <|>-   ((pRegExpr regex_'5cbif'5cb >>= withAttribute KeywordTok) >>~ pushContext ("CMake","Command Args"))+   ((pRegExpr (compileRegex True "\\bif\\b") >>= withAttribute KeywordTok) >>~ pushContext ("CMake","Command Args"))    <|>-   ((pRegExpr regex_'5cbelse'5cb >>= withAttribute KeywordTok) >>~ pushContext ("CMake","Command Args"))+   ((pRegExpr (compileRegex True "\\belse\\b") >>= withAttribute KeywordTok) >>~ pushContext ("CMake","Command Args"))    <|>-   ((pRegExpr regex_'5cbelseif'5cb >>= withAttribute KeywordTok) >>~ pushContext ("CMake","Command Args"))+   ((pRegExpr (compileRegex True "\\belseif\\b") >>= withAttribute KeywordTok) >>~ pushContext ("CMake","Command Args"))    <|>-   ((pRegExpr regex_'5cbendif'5cb >>= withAttribute KeywordTok) >>~ pushContext ("CMake","Command Args"))+   ((pRegExpr (compileRegex True "\\bendif\\b") >>= withAttribute KeywordTok) >>~ pushContext ("CMake","Command Args"))    <|>-   ((pRegExpr regex_'5cbmacro'5cb >>= withAttribute KeywordTok) >>~ pushContext ("CMake","Command Args"))+   ((pRegExpr (compileRegex True "\\bmacro\\b") >>= withAttribute KeywordTok) >>~ pushContext ("CMake","Command Args"))    <|>-   ((pRegExpr regex_'5cbendmacro'5cb >>= withAttribute KeywordTok) >>~ pushContext ("CMake","Command Args"))+   ((pRegExpr (compileRegex True "\\bendmacro\\b") >>= withAttribute KeywordTok) >>~ pushContext ("CMake","Command Args"))    <|>-   ((pRegExpr regex_'5cbforeach'5cb >>= withAttribute KeywordTok) >>~ pushContext ("CMake","Command Args"))+   ((pRegExpr (compileRegex True "\\bforeach\\b") >>= withAttribute KeywordTok) >>~ pushContext ("CMake","Command Args"))    <|>-   ((pRegExpr regex_'5cbendforeach'5cb >>= withAttribute KeywordTok) >>~ pushContext ("CMake","Command Args"))+   ((pRegExpr (compileRegex True "\\bendforeach\\b") >>= withAttribute KeywordTok) >>~ pushContext ("CMake","Command Args"))    <|>-   ((pRegExpr regex_'5cbwhile'5cb >>= withAttribute KeywordTok) >>~ pushContext ("CMake","Command Args"))+   ((pRegExpr (compileRegex True "\\bwhile\\b") >>= withAttribute KeywordTok) >>~ pushContext ("CMake","Command Args"))    <|>-   ((pRegExpr regex_'5cbendwhile'5cb >>= withAttribute KeywordTok) >>~ pushContext ("CMake","Command Args"))+   ((pRegExpr (compileRegex True "\\bendwhile\\b") >>= withAttribute KeywordTok) >>~ pushContext ("CMake","Command Args"))    <|>    ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_commands >>= withAttribute KeywordTok) >>~ pushContext ("CMake","Command Args"))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_itkvtk'5fcommands >>= withAttribute FunctionTok))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_itkvtk'5fcommands >>= withAttribute ExtensionTok))    <|>    ((pFirstNonSpace >> pRegExpr regex_'23'5cs'2aBEGIN'2e'2a'24 >>= withAttribute RegionMarkerTok))    <|>@@ -189,90 +204,140 @@    (currentContext >>= \x -> guard (x == ("CMake","Normal Text")) >> pDefault >>= withAttribute NormalTok))  parseRules ("CMake","Detect More Builtin Variables") =-  (((pRegExpr regex_'5cbCMAKE'5fCOMPILER'5fIS'5fGNU'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5cb >>= withAttribute DecValTok))+  (((pRegExpr regex_'5cbCMAKE'5fARCHIVE'5fOUTPUT'5fDIRECTORY'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5cb >>= withAttribute VariableTok))    <|>-   ((pRegExpr regex_'5cbCMAKE'5fDISABLE'5fFIND'5fPACKAGE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5cb >>= withAttribute DecValTok))+   ((pRegExpr regex_'5cbCMAKE'5fCOMPILER'5fIS'5fGNU'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5cb >>= withAttribute VariableTok))    <|>-   ((pRegExpr regex_'5cbCMAKE'5fEXE'5fLINKER'5fFLAGS'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5cb >>= withAttribute DecValTok))+   ((pRegExpr regex_'5cbCMAKE'5fCOMPILE'5fPDB'5fOUTPUT'5fDIRECTORY'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5cb >>= withAttribute VariableTok))    <|>-   ((pRegExpr regex_'5cbCMAKE'5fMODULE'5fLINKER'5fFLAGS'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5cb >>= withAttribute DecValTok))+   ((pRegExpr regex_'5cbCMAKE'5fDISABLE'5fFIND'5fPACKAGE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5cb >>= withAttribute VariableTok))    <|>-   ((pRegExpr regex_'5cbCMAKE'5fPOLICY'5fDEFAULT'5fCMP'5b0'2d9'5d'2b'5cb >>= withAttribute DecValTok))+   ((pRegExpr regex_'5cbCMAKE'5fEXE'5fLINKER'5fFLAGS'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5cb >>= withAttribute VariableTok))    <|>-   ((pRegExpr regex_'5cbCMAKE'5fSHARED'5fLINKER'5fFLAGS'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5cb >>= withAttribute DecValTok))+   ((pRegExpr regex_'5cbCMAKE'5fLIBRARY'5fOUTPUT'5fDIRECTORY'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5cb >>= withAttribute VariableTok))    <|>-   ((pRegExpr regex_'5cbCMAKE'5fSTATIC'5fLINKER'5fFLAGS'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5cb >>= withAttribute DecValTok))+   ((pRegExpr regex_'5cbCMAKE'5fMAP'5fIMPORTED'5fCONFIG'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5cb >>= withAttribute VariableTok))    <|>-   ((pRegExpr regex_'5cbCMAKE'5fUSER'5fMAKE'5fRULES'5fOVERRIDE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5cb >>= withAttribute DecValTok))+   ((pRegExpr regex_'5cbCMAKE'5fMODULE'5fLINKER'5fFLAGS'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5cb >>= withAttribute VariableTok))    <|>-   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fARCHIVE'5fAPPEND'5cb >>= withAttribute DecValTok))+   ((pRegExpr regex_'5cbCMAKE'5fPDB'5fOUTPUT'5fDIRECTORY'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5cb >>= withAttribute VariableTok))    <|>-   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fARCHIVE'5fCREATE'5cb >>= withAttribute DecValTok))+   ((pRegExpr regex_'5cbCMAKE'5fPOLICY'5fDEFAULT'5fCMP'5b0'2d9'5d'2b'5cb >>= withAttribute VariableTok))    <|>-   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fARCHIVE'5fFINISH'5cb >>= withAttribute DecValTok))+   ((pRegExpr regex_'5cbCMAKE'5fPOLICY'5fWARNING'5fCMP'5b0'2d9'5d'2b'5cb >>= withAttribute VariableTok))    <|>-   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fCOMPILER'5cb >>= withAttribute DecValTok))+   ((pRegExpr regex_'5cbCMAKE'5fPROJECT'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fINCLUDE'5cb >>= withAttribute VariableTok))    <|>-   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fCOMPILER'5fABI'5cb >>= withAttribute DecValTok))+   ((pRegExpr regex_'5cbCMAKE'5fRUNTIME'5fOUTPUT'5fDIRECTORY'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5cb >>= withAttribute VariableTok))    <|>-   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fCOMPILER'5fID'5cb >>= withAttribute DecValTok))+   ((pRegExpr regex_'5cbCMAKE'5fSHARED'5fLINKER'5fFLAGS'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5cb >>= withAttribute VariableTok))    <|>-   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fCOMPILER'5fLOADED'5cb >>= withAttribute DecValTok))+   ((pRegExpr regex_'5cbCMAKE'5fSTATIC'5fLINKER'5fFLAGS'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5cb >>= withAttribute VariableTok))    <|>-   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fCOMPILER'5fVERSION'5cb >>= withAttribute DecValTok))+   ((pRegExpr regex_'5cbCMAKE'5fUSER'5fMAKE'5fRULES'5fOVERRIDE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5cb >>= withAttribute VariableTok))    <|>-   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fCOMPILE'5fOBJECT'5cb >>= withAttribute DecValTok))+   ((pRegExpr regex_'5cbCMAKE'5fXCODE'5fATTRIBUTE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5cb >>= withAttribute VariableTok))    <|>-   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fCREATE'5fSHARED'5fLIBRARY'5cb >>= withAttribute DecValTok))+   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fARCHIVE'5fAPPEND'5cb >>= withAttribute VariableTok))    <|>-   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fCREATE'5fSHARED'5fMODULE'5cb >>= withAttribute DecValTok))+   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fARCHIVE'5fCREATE'5cb >>= withAttribute VariableTok))    <|>-   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fCREATE'5fSTATIC'5fLIBRARY'5cb >>= withAttribute DecValTok))+   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fARCHIVE'5fFINISH'5cb >>= withAttribute VariableTok))    <|>-   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fFLAGS'5cb >>= withAttribute DecValTok))+   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fCOMPILER'5cb >>= withAttribute VariableTok))    <|>-   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fFLAGS'5fDEBUG'5cb >>= withAttribute DecValTok))+   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fCOMPILER'5fABI'5cb >>= withAttribute VariableTok))    <|>-   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fFLAGS'5fMINSIZEREL'5cb >>= withAttribute DecValTok))+   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fCOMPILER'5fEXTERNAL'5fTOOLCHAIN'5cb >>= withAttribute VariableTok))    <|>-   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fFLAGS'5fRELEASE'5cb >>= withAttribute DecValTok))+   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fCOMPILER'5fID'5cb >>= withAttribute VariableTok))    <|>-   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fFLAGS'5fRELWITHDEBINFO'5cb >>= withAttribute DecValTok))+   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fCOMPILER'5fLOADED'5cb >>= withAttribute VariableTok))    <|>-   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fIGNORE'5fEXTENSIONS'5cb >>= withAttribute DecValTok))+   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fCOMPILER'5fTARGET'5cb >>= withAttribute VariableTok))    <|>-   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fIMPLICIT'5fINCLUDE'5fDIRECTORIES'5cb >>= withAttribute DecValTok))+   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fCOMPILER'5fVERSION'5cb >>= withAttribute VariableTok))    <|>-   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fIMPLICIT'5fLINK'5fDIRECTORIES'5cb >>= withAttribute DecValTok))+   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fCOMPILE'5fOBJECT'5cb >>= withAttribute VariableTok))    <|>-   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fIMPLICIT'5fLINK'5fFRAMEWORK'5fDIRECTORIES'5cb >>= withAttribute DecValTok))+   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fCREATE'5fSHARED'5fLIBRARY'5cb >>= withAttribute VariableTok))    <|>-   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fIMPLICIT'5fLINK'5fLIBRARIES'5cb >>= withAttribute DecValTok))+   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fCREATE'5fSHARED'5fMODULE'5cb >>= withAttribute VariableTok))    <|>-   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fLIBRARY'5fARCHITECTURE'5cb >>= withAttribute DecValTok))+   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fCREATE'5fSTATIC'5fLIBRARY'5cb >>= withAttribute VariableTok))    <|>-   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fLINKER'5fPREFERENCE'5cb >>= withAttribute DecValTok))+   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fFLAGS'5cb >>= withAttribute VariableTok))    <|>-   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fLINKER'5fPREFERENCE'5fPROPAGATES'5cb >>= withAttribute DecValTok))+   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fFLAGS'5fDEBUG'5cb >>= withAttribute VariableTok))    <|>-   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fLINK'5fEXECUTABLE_'5cb >>= withAttribute DecValTok))+   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fFLAGS'5fMINSIZEREL'5cb >>= withAttribute VariableTok))    <|>-   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fOUTPUT'5fEXTENSION'5cb >>= withAttribute DecValTok))+   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fFLAGS'5fRELEASE'5cb >>= withAttribute VariableTok))    <|>-   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fPLATFORM'5fID'5cb >>= withAttribute DecValTok))+   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fFLAGS'5fRELWITHDEBINFO'5cb >>= withAttribute VariableTok))    <|>-   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fPOSTFIX'5cb >>= withAttribute DecValTok))+   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fGHS'5fKERNEL'5fFLAGS'5fDEBUG'5cb >>= withAttribute VariableTok))    <|>-   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fSIZEOF'5fDATA'5fPTR'5cb >>= withAttribute DecValTok))+   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fGHS'5fKERNEL'5fFLAGS'5fMINSIZEREL'5cb >>= withAttribute VariableTok))    <|>-   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fSOURCE'5fFILE'5fEXTENSIONS'5cb >>= withAttribute DecValTok))+   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fGHS'5fKERNEL'5fFLAGS'5fRELEASE'5cb >>= withAttribute VariableTok))    <|>-   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fVISIBILITY'5fPRESET'5cb >>= withAttribute DecValTok))+   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fGHS'5fKERNEL'5fFLAGS'5fRELWITHDEBINFO'5cb >>= withAttribute VariableTok))    <|>+   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fIGNORE'5fEXTENSIONS'5cb >>= withAttribute VariableTok))+   <|>+   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fIMPLICIT'5fINCLUDE'5fDIRECTORIES'5cb >>= withAttribute VariableTok))+   <|>+   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fIMPLICIT'5fLINK'5fDIRECTORIES'5cb >>= withAttribute VariableTok))+   <|>+   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fIMPLICIT'5fLINK'5fFRAMEWORK'5fDIRECTORIES'5cb >>= withAttribute VariableTok))+   <|>+   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fIMPLICIT'5fLINK'5fLIBRARIES'5cb >>= withAttribute VariableTok))+   <|>+   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fINCLUDE'5fWHAT'5fYOU'5fUSE'5cb >>= withAttribute VariableTok))+   <|>+   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fLIBRARY'5fARCHITECTURE'5cb >>= withAttribute VariableTok))+   <|>+   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fLINKER'5fPREFERENCE'5cb >>= withAttribute VariableTok))+   <|>+   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fLINKER'5fPREFERENCE'5fPROPAGATES'5cb >>= withAttribute VariableTok))+   <|>+   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fLINK'5fEXECUTABLE'5cb >>= withAttribute VariableTok))+   <|>+   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fOUTPUT'5fEXTENSION'5cb >>= withAttribute VariableTok))+   <|>+   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fPLATFORM'5fID'5cb >>= withAttribute VariableTok))+   <|>+   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fPOSTFIX'5cb >>= withAttribute VariableTok))+   <|>+   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fSIMULATE'5fID'5cb >>= withAttribute VariableTok))+   <|>+   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fSIMULATE'5fVERSION'5cb >>= withAttribute VariableTok))+   <|>+   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fSIZEOF'5fDATA'5fPTR'5cb >>= withAttribute VariableTok))+   <|>+   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fSOURCE'5fFILE'5fEXTENSIONS'5cb >>= withAttribute VariableTok))+   <|>+   ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fVISIBILITY'5fPRESET'5cb >>= withAttribute VariableTok))+   <|>+   ((pRegExpr regex_'5cb'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fBINARY'5fDIR'5cb >>= withAttribute VariableTok))+   <|>+   ((pRegExpr regex_'5cb'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fSOURCE'5fDIR'5cb >>= withAttribute VariableTok))+   <|>+   ((pRegExpr regex_'5cb'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fVERSION'5cb >>= withAttribute VariableTok))+   <|>+   ((pRegExpr regex_'5cb'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fVERSION'5fMAJOR'5cb >>= withAttribute VariableTok))+   <|>+   ((pRegExpr regex_'5cb'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fVERSION'5fMINOR'5cb >>= withAttribute VariableTok))+   <|>+   ((pRegExpr regex_'5cb'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fVERSION'5fPATCH'5cb >>= withAttribute VariableTok))+   <|>+   ((pRegExpr regex_'5cb'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fVERSION'5fTWEAK'5cb >>= withAttribute VariableTok))+   <|>    (currentContext >>= \x -> guard (x == ("CMake","Detect More Builtin Variables")) >> pDefault >>= withAttribute NormalTok))  parseRules ("CMake","Detect Builtin Variables") =-  (((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_cmake'5fvars >>= withAttribute DecValTok))+  (((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_cmake'5fvars >>= withAttribute VariableTok))    <|>    ((parseRules ("CMake","Detect More Builtin Variables")))    <|>@@ -281,18 +346,18 @@ parseRules ("CMake","VarSubst") =   (((parseRules ("CMake","Detect Builtin Variables")))    <|>-   ((pDetectIdentifier >>= withAttribute DecValTok))+   ((pDetectIdentifier >>= withAttribute VariableTok))    <|>-   ((pDetectChar False '}' >>= withAttribute DecValTok) >>~ (popContext))+   ((pDetectChar False '}' >>= withAttribute VariableTok) >>~ (popContext))    <|>    ((parseRules ("CMake","Detect Variables")))    <|>-   (currentContext >>= \x -> guard (x == ("CMake","VarSubst")) >> pDefault >>= withAttribute DecValTok))+   (currentContext >>= \x -> guard (x == ("CMake","VarSubst")) >> pDefault >>= withAttribute VariableTok))  parseRules ("CMake","Detect Variables") =   (((pRegExpr regex_'5c'24ENV'5c'7b'5cs'2a'5b'5cw'2d'5d'2b'5cs'2a'5c'7d >>= withAttribute FloatTok))    <|>-   ((pDetect2Chars False '$' '{' >>= withAttribute DecValTok) >>~ pushContext ("CMake","VarSubst"))+   ((pDetect2Chars False '$' '{' >>= withAttribute VariableTok) >>~ pushContext ("CMake","VarSubst"))    <|>    (currentContext >>= \x -> guard (x == ("CMake","Detect Variables")) >> pDefault >>= withAttribute NormalTok)) @@ -339,7 +404,7 @@ parseRules ("CMake","Macro Args") =   (((pDetectChar False ')' >>= withAttribute NormalTok) >>~ (popContext))    <|>-   ((pRegExpr regex_'5c'5c'5b'22'24n'5c'5c'5d >>= withAttribute CharTok))+   ((pRegExpr regex_'5c'5c'5b'22'24n'5c'5c'5d >>= withAttribute SpecialCharTok))    <|>    ((pDetectChar False '"' >>= withAttribute StringTok) >>~ pushContext ("CMake","String"))    <|>@@ -381,7 +446,7 @@ parseRules ("CMake","String") =   (((pRegExpr regex_'22'28'3f'3d'5b_'29'3b'5d'7c'24'29 >>= withAttribute StringTok) >>~ (popContext))    <|>-   ((pRegExpr regex_'5c'5c'5b'22'24nrt'5c'5c'5d >>= withAttribute CharTok))+   ((pRegExpr regex_'5c'5c'5b'22'24nrt'5c'5c'5d >>= withAttribute SpecialCharTok))    <|>    ((parseRules ("CMake","Detect Variables")))    <|>
Text/Highlighting/Kate/Syntax/Coffee.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file coffee.xml, version 1.4, by Max Shawabkeh (max99x@gmail.com) -}+   highlighting file coffee.xml, version 2, by Max Shawabkeh (max99x@gmail.com) -}  module Text.Highlighting.Kate.Syntax.Coffee           (highlight, parseExpression, syntaxName, syntaxExtensions)
Text/Highlighting/Kate/Syntax/Coldfusion.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file coldfusion.xml, version 1.04, by  -}+   highlighting file coldfusion.xml, version 2, by  -}  module Text.Highlighting.Kate.Syntax.Coldfusion           (highlight, parseExpression, syntaxName, syntaxExtensions)
Text/Highlighting/Kate/Syntax/Commonlisp.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file commonlisp.xml, version 1.05, by Dominik Haumann (dhdev@gmx.de) -}+   highlighting file commonlisp.xml, version 2, by Dominik Haumann (dhdev@gmx.de) -}  module Text.Highlighting.Kate.Syntax.Commonlisp           (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -90,11 +90,11 @@    <|>    ((pKeyword " \n\t.(),%&;[]^{|}~" list_keywords >>= withAttribute KeywordTok))    <|>-   ((pKeyword " \n\t.(),%&;[]^{|}~" list_symbols >>= withAttribute KeywordTok))+   ((pKeyword " \n\t.(),%&;[]^{|}~" list_symbols >>= withAttribute OperatorTok))    <|>-   ((pKeyword " \n\t.(),%&;[]^{|}~" list_modifiers >>= withAttribute KeywordTok))+   ((pKeyword " \n\t.(),%&;[]^{|}~" list_modifiers >>= withAttribute BuiltInTok))    <|>-   ((pKeyword " \n\t.(),%&;[]^{|}~" list_variables >>= withAttribute KeywordTok))+   ((pKeyword " \n\t.(),%&;[]^{|}~" list_variables >>= withAttribute VariableTok))    <|>    ((pKeyword " \n\t.(),%&;[]^{|}~" list_definitions >>= withAttribute KeywordTok) >>~ pushContext ("Common Lisp","function_decl"))    <|>
Text/Highlighting/Kate/Syntax/Cpp.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file cpp.xml, version 1.9, by Alex Turbov (i.zaufi@gmail.com) -}+   highlighting file cpp.xml, version 3, by Alex Turbov (i.zaufi@gmail.com) -}  module Text.Highlighting.Kate.Syntax.Cpp           (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -75,20 +75,20 @@    (currentContext >>= \x -> guard (x == ("C++","Normal")) >> pDefault >>= withAttribute NormalTok))  parseRules ("C++","DetectQt4Extensions") =-  (((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_Qt4Types >>= withAttribute DataTypeTok))+  (((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_Qt4Types >>= withAttribute ExtensionTok))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_Qt4Classes >>= withAttribute OtherTok) >>~ pushContext ("C++","QtClassMember"))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_Qt4Classes >>= withAttribute ExtensionTok) >>~ pushContext ("C++","QtClassMember"))    <|>    ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_Qt4Func >>= withAttribute FunctionTok))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_Qt4Macros >>= withAttribute KeywordTok))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_Qt4Macros >>= withAttribute ExtensionTok))    <|>    (currentContext >>= \x -> guard (x == ("C++","DetectQt4Extensions")) >> pDefault >>= withAttribute NormalTok))  parseRules ("C++","QtClassMember") =   (((parseRules ("C++","DetectNSEnd")))    <|>-   (currentContext >>= \x -> guard (x == ("C++","QtClassMember")) >> pDefault >>= withAttribute OtherTok))+   (currentContext >>= \x -> guard (x == ("C++","QtClassMember")) >> pDefault >>= withAttribute ExtensionTok))  parseRules ("C++","DetectNSEnd") =   (((pDetectIdentifier >>= withAttribute NormalTok))
Text/Highlighting/Kate/Syntax/Cs.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file cs.xml, version 1.15, by  -}+   highlighting file cs.xml, version 2, by  -}  module Text.Highlighting.Kate.Syntax.Cs           (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -142,7 +142,7 @@ parseRules ("C#","String") =   (((pLineContinue >>= withAttribute StringTok) >>~ (popContext))    <|>-   ((pHlCStringChar >>= withAttribute CharTok))+   ((pHlCStringChar >>= withAttribute SpecialCharTok))    <|>    ((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext))    <|>
Text/Highlighting/Kate/Syntax/Css.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file css.xml, version 2.09, by Wilbert Berendsen (wilbert@kde.nl) -}+   highlighting file css.xml, version 3, by Wilbert Berendsen (wilbert@kde.nl) -}  module Text.Highlighting.Kate.Syntax.Css           (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -81,7 +81,7 @@                           , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) }   return (attr, txt) -list_properties = Set.fromList $ words $ "azimuth background background-attachment background-break background-clip background-color background-image background-position background-origin background-repeat border border-bottom border-bottom-color border-bottom-style border-bottom-width border-collapse border-color border-left border-left-color border-left-style border-left-width border-right border-right-color border-right-style border-right-width border-spacing border-style border-top border-top-color border-top-style border-top-width border-width bottom caption-side clear clip color content counter-increment counter-reset cue cue-after cue-before cursor direction display elevation empty-cells float font font-family font-size font-size-adjust font-stretch font-style font-variant font-weight font-stretch height left letter-spacing line-height list-style list-style-image list-style-keyword list-style-position list-style-type margin margin-bottom margin-left margin-right margin-top marker-offset max-height max-width min-height min-width orphans outline outline-color outline-style outline-width overflow padding padding-bottom padding-left padding-right padding-top page page-break-after page-break-before page-break-inside pause pause-after pause-before pitch pitch-range play-during position quotes richness right size speak speak-header speak-numeral speak-punctuation speech-rate stress table-layout text-align text-decoration text-decoration-color text-indent text-shadow text-transform top unicode-bidi vertical-align visibility voice-family volume white-space widows width word-spacing z-index animation-name animation-duration animation-iteration animation-direction animation-delay animation-play-state animation-fill-mode animation-timing-function background-size border-bottom-image border-bottom-left-image border-bottom-left-radius border-bottom-right-image border-bottom-right-radius border-collapse border-corner-image border-image border-left-image border-radius border-right-image border-top-image border-top-left-image border-top-left-radius border-top-right-image border-top-right-radius box-align box-direction box-flex box-shadow box-sizing column-count column-fill column-gap column-rule-color column-rule-style column-rule-width column-span column-wisth hyphens linear-gradient opacity outline outline-offset overflow-x overflow-y pointer-events resize rotation rotation-point table-layout text-overflow text-shadow text-wrap transform-origin transition transition-property transition-duration word-wrap -moz-animation-name -moz-animation-duration -moz-animation-iteration -moz-animation-direction -moz-animation-delay -moz-animation-play-state -moz-animation-fill-mode -moz-background-size -moz-border-image -moz-border-bottom-colors -moz-border-left-colors -moz-border-radius -moz-border-radius-topleft -moz-border-radius-topright -moz-border-radius-bottomleft -moz-border-radius-bottomright -moz-border-right-colors -moz-border-top-colors -moz-box -moz-box-flex -moz-box-shadow -moz-box-sizing -moz-column-count -moz-column-gap -moz-hyphens -moz-linear-gradient -moz-opacity -moz-outline-style -moz-perspective -moz-radial-gradient -moz-resize -moz-transform -moz-transform-origin -moz-transform-style -moz-transition -moz-transition-property -moz-transition-duration -o-background-size -o-linear-gradient -o-text-overflow -o-transition -o-transform-origin konq_bgpos_x konq_bgpos_y -khtml-background-size -khtml-border-top-left-radius -khtml-border-top-right-radius -khtml-border-bottom-left-radius -khtml-border-bottom-right-radius -khtml-border-radius -khtml-box-shadow -khtml-opacity -webkit-appearance -webkit-animation-name -webkit-animation-duration -webkit-animation-iteration -webkit-animation-direction -webkit-animation-delay -webkit-animation-play-state -webkit-animation-fill-mode -webkit-background-size -webkit-border-image -webkit-border-bottom-colors -webkit-border-left-colors -webkit-border-radius -webkit-border-right-colors -webkit-border-top-colors -webkit-border-top-left-radius -webkit-border-top-right-radius -webkit-border-bottom-left-radius -webkit-border-bottom-right-radius -webkit-border-radius-bottomleft -webkit-border-radius-bottomright -webkit-box-flex -webkit-box-reflect -webkit-box-shadow -webkit-box-sizing -webkit-column-count -webkit-column-gap -webkit-hyphens -webkit-linear-gradient -webkit-gradient -webkit-perspective -webkit-text-fill-color -webkit-text-stroke-color -webkit-text-stroke-width -webkit-text-size-adjust -webkit-transform -webkit-transform-origin -webkit-transform-style -webkit-transition -webkit-transition-property -webkit-transition-duration filter zoom -ms-animation-name -ms-animation-duration -ms-animation-iteration -ms-animation-direction -ms-animation-delay -ms-animation-play-state -ms-animation-fill-mode -ms-box-sizing -ms-filter -ms-interpolation-mode -ms-linear-gradient -ms-text-size-adjust -ms-transform -ms-transition font-family font-size font-stretch font-style font-variant font-weight unicode-range units-per-em src panose-1 stemv stemh slope cap-height x-height ascent descent widths bbox definition-src baseline centerline mathline topline"+list_properties = Set.fromList $ words $ "azimuth align-content align-items align-self alignment-baseline all animation-name animation-duration animation-iteration-count animation-direction animation-delay animation-play-state animation-fill-mode animation-timing-function backface-visibility background background-attachment background-blend-mode background-break background-clip background-color background-image background-origin background-position background-repeat background-size baseline-shift bookmark-label bookmark-level bookmark-level border border-bottom border-bottom-color border-bottom-image border-bottom-style border-bottom-width border-bottom-left-image border-bottom-left-radius border-bottom-right-image border-bottom-right-radius border-boundary border-collapse border-color border-corner-image border-image border-image-outset border-image-repeat border-image-slice border-image-source border-image-width border-left border-left-color border-left-image border-left-style border-left-width border-radius border-right border-right-color border-right-image border-right-style border-right-width border-spacing border-style border-top border-top-color border-top-image border-top-style border-top-width border-top-left-image border-top-left-radius border-top-right-image border-top-right-radius border-width bottom box-align box-decoration-break box-direction box-flex box-shadow box-sizing box-snap box-suppress break-after break-before break-inside caret-color caption-side chains clear clip clip-path clip-rule color color-interpolation-filters column-count column-fill column-gap column-rule column-rule-color column-rule-style column-rule-width column-span column-width columns content counter-increment counter-reset counter-set cue cue-after cue-before cursor direction display dominant-baseline elevation empty-cells filter flex flex-basis flex-direction flex-flow flex-grow flex-shrink flex-wrap float flood-color flood-opacity flow flow-from flow-into font font-family font-size font-size-adjust font-stretch font-style font-variant font-weight font-stretch font-feature-settings font-kerning font-language-override font-synthesis font-variant-alternates font-variant-caps font-variant-east-asian font-variant-ligatures font-variant-numeric font-variant-position footnote-display footnote-policy glyph-orientation-vertical grid grid-area grid-auto-columns grid-auto-flow grid-auto-rows grid-column grid-column-end grid-column-gap grid-column-start grid-gap grid-row grid-row-end grid-row-gap grid-row-start grid-template grid-template-areas grid-template-columns grid-template-rows hanging-punctuation height hyphens image-orientation image-rendering image-resolution initial-letter initial-letter-align initial-letter-wrap isolation justify-content justify-items justify-self left letter-spacing lighting-color linear-gradient line-grid line-height line-snap list-style list-style-image list-style-keyword list-style-position list-style-type margin margin-bottom margin-left margin-right margin-top marker-offset marker-side marquee-direction marquee-loop marquee-speed marquee-style mask mask-border mask-border-mode mask-border-outset mask-border-repeat mask-border-slice mask-border-source mask-border-width mask-clip mask-composite mask-image mask-mode mask-origin mask-position mask-repeat mask-size mask-type max-height max-lines max-width min-height min-width mix-blend-mode nav-down nav-left nav-right nav-up object-fit object-position offset-after offset-before offset-end offset-start opacity order orphans outline outline-color outline-offset outline-style outline-width overflow overflow-style overflow-wrap overflow-x overflow-y padding padding-bottom padding-left padding-right padding-top page page-break-after page-break-before page-break-inside pause pause-after pause-before perspective perspective-origin pitch pitch-range play-during pointer-events polar-anchor polar-angle polar-distance polar-origin position presentation-level quotes resize rest rest-after rest-before richness right rotation rotation-point ruby-align ruby-merge ruby-position running scroll-behavior scroll-snap-align scroll-snap-margin scroll-snap-margin-block scroll-snap-margin-block-end scroll-snap-margin-block-start scroll-snap-margin-bottom scroll-snap-margin-inline scroll-snap-margin-inline-end scroll-snap-margin-inline-start scroll-snap-margin-left scroll-snap-margin-right scroll-snap-margin-top scroll-snap-padding scroll-snap-padding-block scroll-snap-padding-block-end scroll-snap-padding-block-start scroll-snap-padding-bottom scroll-snap-padding-inline scroll-snap-padding-inline-end scroll-snap-padding-inline-start scroll-snap-padding-left scroll-snap-padding-right scroll-snap-padding-top scroll-snap-stop scroll-snap-type shape-image-threshold shape-inside shape-margin shape-outside size speak speak-as speak-header speak-numeral speak-punctuation speech-rate stress string-set tab-size table-layout text-align text-align-last text-combine-upright text-decoration text-decoration-color text-decoration-line text-decoration-skip text-decoration-style text-emphasis text-emphasis-color text-emphasis-position text-emphasis-style text-indent text-justify text-orientation text-overflow text-shadow text-transform text-underline-position text-wrap top transform transform-origin transform-style transition transition-delay transition-property transition-duration transition-timing-function unicode-bidi vertical-align visibility voice-balance voice-duration voice-family voice-pitch voice-range voice-rate voice-stress voice-volume volume white-space widows width will-change word-break word-spacing word-wrap wrap-flow wrap-through writing-mode z-index -moz-animation-name -moz-animation-duration -moz-animation-iteration -moz-animation-direction -moz-animation-delay -moz-animation-play-state -moz-animation-fill-mode -moz-background-size -moz-border-image -moz-border-bottom-colors -moz-border-left-colors -moz-border-radius -moz-border-radius-topleft -moz-border-radius-topright -moz-border-radius-bottomleft -moz-border-radius-bottomright -moz-border-right-colors -moz-border-top-colors -moz-box -moz-box-flex -moz-box-shadow -moz-box-sizing -moz-column-count -moz-column-gap -moz-hyphens -moz-linear-gradient -moz-opacity -moz-outline-style -moz-perspective -moz-radial-gradient -moz-resize -moz-transform -moz-transform-origin -moz-transform-style -moz-transition -moz-transition-property -moz-transition-duration -o-background-size -o-linear-gradient -o-text-overflow -o-transition -o-transform-origin konq_bgpos_x konq_bgpos_y -khtml-background-size -khtml-border-top-left-radius -khtml-border-top-right-radius -khtml-border-bottom-left-radius -khtml-border-bottom-right-radius -khtml-border-radius -khtml-box-shadow -khtml-opacity -webkit-appearance -webkit-animation-name -webkit-animation-duration -webkit-animation-iteration -webkit-animation-direction -webkit-animation-delay -webkit-animation-play-state -webkit-animation-fill-mode -webkit-background-size -webkit-border-image -webkit-border-bottom-colors -webkit-border-left-colors -webkit-border-radius -webkit-border-right-colors -webkit-border-top-colors -webkit-border-top-left-radius -webkit-border-top-right-radius -webkit-border-bottom-left-radius -webkit-border-bottom-right-radius -webkit-border-radius-bottomleft -webkit-border-radius-bottomright -webkit-box-flex -webkit-box-reflect -webkit-box-shadow -webkit-box-sizing -webkit-column-count -webkit-column-gap -webkit-hyphens -webkit-linear-gradient -webkit-gradient -webkit-perspective -webkit-text-fill-color -webkit-text-stroke-color -webkit-text-stroke-width -webkit-text-size-adjust -webkit-transform -webkit-transform-origin -webkit-transform-style -webkit-transition -webkit-transition-property -webkit-transition-duration zoom -ms-animation-name -ms-animation-duration -ms-animation-iteration -ms-animation-direction -ms-animation-delay -ms-animation-play-state -ms-animation-fill-mode -ms-box-sizing -ms-filter -ms-interpolation-mode -ms-linear-gradient -ms-text-size-adjust -ms-transform -ms-transition font-family font-size font-stretch font-style font-variant font-weight unicode-range units-per-em src panose-1 stemv stemh slope cap-height x-height ascent descent widths bbox definition-src baseline centerline mathline topline" list_types = Set.fromList $ words $ "inherit none hidden dotted dashed solid double groove ridge inset outset xx-small x-small small medium large x-large xx-large smaller larger italic oblique small-caps normal bold bolder lighter light 100 200 300 400 500 600 700 800 900 transparent repeat repeat-x repeat-y no-repeat baseline sub super top text-top middle bottom text-bottom left right center justify konq-center disc circle square box decimal decimal-leading-zero lower-roman upper-roman lower-greek lower-alpha lower-latin upper-alpha upper-latin hebrew armenian georgian cjk-ideographic hiragana katakana hiragana-iroha katakana-iroha inline inline-block block list-item run-in compact marker table inline-table table-row-group table-header-group table-footer-group table-row table-column-group table-column table-cell table-caption auto crosshair default pointer move e-resize ne-resize nw-resize n-resize se-resize sw-resize s-resize w-resize text wait help above absolute always avoid below bidi-override blink both capitalize caption clip close-quote collapse condensed crop cross ellipsis ellipsis-word embed expanded extra-condensed extra-expanded fixed hand hide higher icon inside invert landscape level line-through loud lower lowercase ltr menu message-box mix narrower no-close-quote no-open-quote nowrap open-quote outside overline portrait pre pre-line pre-wrap relative rtl scroll semi-condensed semi-expanded separate show small-caption static static-position status-bar thick thin ultra-condensed ultra-expanded underline uppercase visible wider break serif sans-serif cursive fantasy monospace border-box content-box -epub-hyphens" list_colors = Set.fromList $ words $ "aqua black blue cyan fuchsia gray green lime maroon navy olive purple red silver teal white yellow activeborder activecaption appworkspace background buttonface buttonhighlight buttonshadow buttontext captiontext graytext highlight highlighttext inactiveborder inactivecaption inactivecaptiontext infobackground infotext menu menutext scrollbar threeddarkshadow threedface threedhighlight threedlightshadow threedshadow window windowframe windowtext" list_paren = Set.fromList $ words $ "url attr rect rgb rgba hsl hsla counter counters local format expression"@@ -133,7 +133,7 @@    <|>    ((pDetectChar False '{' >>= withAttribute KeywordTok) >>~ pushContext ("CSS","RuleSet"))    <|>-   ((pDetectChar False '[' >>= withAttribute CharTok) >>~ pushContext ("CSS","SelAttr"))+   ((pDetectChar False '[' >>= withAttribute AttributeTok) >>~ pushContext ("CSS","SelAttr"))    <|>    ((pRegExpr regex_'23'28'2d'29'3f'28'5b'5fa'2dzA'2dZ'5d'7c'28'5c'5c'5b0'2d9a'2dfA'2dF'5d'7b1'2c6'7d'29'7c'28'5c'5c'5b'5e'5cn'5cr'5cf0'2d9a'2dfA'2dF'5d'29'29'28'5b'5fa'2dzA'2dZ0'2d9'2d'5d'7c'28'5c'5c'5b0'2d9a'2dfA'2dF'5d'7b1'2c6'7d'29'7c'28'5c'5c'5b'5e'5cn'5cr'5cf0'2d9a'2dfA'2dF'5d'29'29'2a >>= withAttribute FloatTok))    <|>@@ -268,11 +268,11 @@    (currentContext >>= \x -> guard (x == ("CSS","Media2")) >> pDefault >>= withAttribute NormalTok))  parseRules ("CSS","SelAttr") =-  (((pDetectChar False ']' >>= withAttribute CharTok) >>~ (popContext))+  (((pDetectChar False ']' >>= withAttribute AttributeTok) >>~ (popContext))    <|>    ((parseRules ("CSS","FindStrings")))    <|>-   (currentContext >>= \x -> guard (x == ("CSS","SelAttr")) >> pDefault >>= withAttribute CharTok))+   (currentContext >>= \x -> guard (x == ("CSS","SelAttr")) >> pDefault >>= withAttribute AttributeTok))  parseRules ("CSS","SelPseudo") =   (((pKeyword " \n\t.():!+,<=>&*/;?[]^{|}~\\" list_pseudoclasses >>= withAttribute DecValTok) >>~ (popContext))
Text/Highlighting/Kate/Syntax/Curry.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file curry.xml, version 0.3, by Björn Peemöller (bjp@informatik.uni-kiel.de) -}+   highlighting file curry.xml, version 1, by Björn Peemöller (bjp@informatik.uni-kiel.de) -}  module Text.Highlighting.Kate.Syntax.Curry           (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -98,7 +98,7 @@    <|>    ((pDetect2Chars False '{' '-' >>= withAttribute CommentTok) >>~ pushContext ("Curry","Multiline Comment"))    <|>-   ((pString False "---" >>= withAttribute CommentTok) >>~ pushContext ("Curry","Currydoc"))+   ((pString False "---" >>= withAttribute DocumentationTok) >>~ pushContext ("Curry","Currydoc"))    <|>    ((pDetect2Chars False '-' '-' >>= withAttribute CommentTok) >>~ pushContext ("Curry","Comment"))    <|>@@ -161,7 +161,7 @@    (currentContext >>= \x -> guard (x == ("Curry","Multiline Comment")) >> pDefault >>= withAttribute CommentTok))  parseRules ("Curry","Currydoc") =-  (currentContext >>= \x -> guard (x == ("Curry","Currydoc")) >> pDefault >>= withAttribute CommentTok)+  (currentContext >>= \x -> guard (x == ("Curry","Currydoc")) >> pDefault >>= withAttribute DocumentationTok)  parseRules ("Curry","Comment") =   (currentContext >>= \x -> guard (x == ("Curry","Comment")) >> pDefault >>= withAttribute CommentTok)@@ -171,7 +171,7 @@    <|>    ((pDetect2Chars False '{' '-' >>= withAttribute CommentTok) >>~ pushContext ("Curry","Multiline Comment"))    <|>-   ((pString False "---" >>= withAttribute CommentTok) >>~ pushContext ("Curry","Currydoc"))+   ((pString False "---" >>= withAttribute DocumentationTok) >>~ pushContext ("Curry","Currydoc"))    <|>    ((pDetect2Chars False '-' '-' >>= withAttribute CommentTok) >>~ pushContext ("Curry","Comment"))    <|>
Text/Highlighting/Kate/Syntax/D.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file d.xml, version 1.62, by Diggory Hardy (diggory.hardy@gmail.com), Aziz Köksal (aziz.koeksal@gmail.com), Jari-Matti Mäkelä (jmjm@iki.fi), Simon J Mackenzie (project.katedxml@smackoz.fastmail.fm) -}+   highlighting file d.xml, version 2, by Diggory Hardy (diggory.hardy@gmail.com), Aziz Köksal (aziz.koeksal@gmail.com), Jari-Matti Mäkelä (jmjm@iki.fi), Simon J Mackenzie (project.katedxml@smackoz.fastmail.fm) -}  module Text.Highlighting.Kate.Syntax.D           (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -160,19 +160,19 @@    <|>    ((lookAhead (pRegExpr regex_'5ba'2dzA'2dZ'5f'5d) >> pushContext ("D","StartingLetter") >> currentContext >>= parseRules))    <|>-   ((pHlCStringChar >>= withAttribute StringTok))+   ((pHlCStringChar >>= withAttribute SpecialCharTok))    <|>-   ((pDetect2Chars False '\\' 'u' >>= withAttribute StringTok) >>~ pushContext ("D","UnicodeShort"))+   ((pDetect2Chars False '\\' 'u' >>= withAttribute SpecialCharTok) >>~ pushContext ("D","UnicodeShort"))    <|>-   ((pDetect2Chars False '\\' 'U' >>= withAttribute StringTok) >>~ pushContext ("D","UnicodeLong"))+   ((pDetect2Chars False '\\' 'U' >>= withAttribute SpecialCharTok) >>~ pushContext ("D","UnicodeLong"))    <|>-   ((pDetect2Chars False '\\' '&' >>= withAttribute StringTok) >>~ pushContext ("D","HTMLEntity"))+   ((pDetect2Chars False '\\' '&' >>= withAttribute SpecialCharTok) >>~ pushContext ("D","HTMLEntity"))    <|>    ((pDetectChar False '\'' >>= withAttribute CharTok) >>~ pushContext ("D","CharLiteral"))    <|>    ((pDetectChar False '"' >>= withAttribute StringTok) >>~ pushContext ("D","String"))    <|>-   ((pDetectChar False '`' >>= withAttribute StringTok) >>~ pushContext ("D","BQString"))+   ((pDetectChar False '`' >>= withAttribute SpecialStringTok) >>~ pushContext ("D","BQString"))    <|>    ((pFirstNonSpace >> pString False "//BEGIN" >>= withAttribute RegionMarkerTok) >>~ pushContext ("D","Region Marker"))    <|>@@ -231,7 +231,7 @@    <|>    ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_types >>= withAttribute DataTypeTok))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_libsymbols >>= withAttribute DataTypeTok))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_libsymbols >>= withAttribute BuiltInTok))    <|>    ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_linkage >>= withAttribute KeywordTok) >>~ pushContext ("D","Linkage"))    <|>@@ -245,9 +245,9 @@    <|>    ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_deprecated >>= withAttribute KeywordTok))    <|>-   ((pDetect2Chars False 'r' '"' >>= withAttribute StringTok) >>~ pushContext ("D","RawString"))+   ((pDetect2Chars False 'r' '"' >>= withAttribute VerbatimStringTok) >>~ pushContext ("D","RawString"))    <|>-   ((pDetect2Chars False 'x' '"' >>= withAttribute StringTok) >>~ pushContext ("D","HexString"))+   ((pDetect2Chars False 'x' '"' >>= withAttribute SpecialStringTok) >>~ pushContext ("D","HexString"))    <|>    ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_userkeywords >>= withAttribute DataTypeTok))    <|>@@ -291,17 +291,17 @@    (currentContext >>= \x -> guard (x == ("D","LinePragma")) >> pDefault >>= withAttribute KeywordTok))  parseRules ("D","UnicodeShort") =-  (((pRegExpr regex_'5b'5cda'2dfA'2dF'5d'7b4'7d >>= withAttribute StringTok) >>~ (popContext))+  (((pRegExpr regex_'5b'5cda'2dfA'2dF'5d'7b4'7d >>= withAttribute SpecialCharTok) >>~ (popContext))    <|>-   (currentContext >>= \x -> guard (x == ("D","UnicodeShort")) >> pDefault >>= withAttribute StringTok))+   (currentContext >>= \x -> guard (x == ("D","UnicodeShort")) >> pDefault >>= withAttribute SpecialCharTok))  parseRules ("D","UnicodeLong") =-  (((pRegExpr regex_'5b'5cda'2dfA'2dF'5d'7b8'7d >>= withAttribute StringTok) >>~ (popContext))+  (((pRegExpr regex_'5b'5cda'2dfA'2dF'5d'7b8'7d >>= withAttribute SpecialCharTok) >>~ (popContext))    <|>-   (currentContext >>= \x -> guard (x == ("D","UnicodeLong")) >> pDefault >>= withAttribute StringTok))+   (currentContext >>= \x -> guard (x == ("D","UnicodeLong")) >> pDefault >>= withAttribute SpecialCharTok))  parseRules ("D","HTMLEntity") =-  (((pRegExpr regex_'5ba'2dzA'2dZ'5d'5cw'2b'3b >>= withAttribute StringTok) >>~ (popContext))+  (((pRegExpr regex_'5ba'2dzA'2dZ'5d'5cw'2b'3b >>= withAttribute SpecialCharTok) >>~ (popContext))    <|>    ((popContext) >> currentContext >>= parseRules)) @@ -417,28 +417,28 @@    (currentContext >>= \x -> guard (x == ("D","Pragma2")) >> pDefault >>= withAttribute KeywordTok))  parseRules ("D","RawString") =-  (((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext))+  (((pDetectChar False '"' >>= withAttribute VerbatimStringTok) >>~ (popContext))    <|>-   (currentContext >>= \x -> guard (x == ("D","RawString")) >> pDefault >>= withAttribute StringTok))+   (currentContext >>= \x -> guard (x == ("D","RawString")) >> pDefault >>= withAttribute VerbatimStringTok))  parseRules ("D","BQString") =-  (((pDetectChar False '`' >>= withAttribute StringTok) >>~ (popContext))+  (((pDetectChar False '`' >>= withAttribute SpecialStringTok) >>~ (popContext))    <|>-   (currentContext >>= \x -> guard (x == ("D","BQString")) >> pDefault >>= withAttribute StringTok))+   (currentContext >>= \x -> guard (x == ("D","BQString")) >> pDefault >>= withAttribute SpecialStringTok))  parseRules ("D","HexString") =-  (((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext))+  (((pDetectChar False '"' >>= withAttribute SpecialStringTok) >>~ (popContext))    <|>    ((pRegExpr regex_'5b'5e'5csa'2dfA'2dF'5cd'22'5d'2b >>= withAttribute ErrorTok))    <|>-   (currentContext >>= \x -> guard (x == ("D","HexString")) >> pDefault >>= withAttribute StringTok))+   (currentContext >>= \x -> guard (x == ("D","HexString")) >> pDefault >>= withAttribute SpecialStringTok))  parseRules ("D","CharLiteral") =   (((pDetectChar False '\'' >>= withAttribute CharTok) >>~ (popContext))    <|>-   ((pHlCStringChar >>= withAttribute StringTok) >>~ pushContext ("D","CharLiteralClosing"))+   ((pHlCStringChar >>= withAttribute SpecialCharTok) >>~ pushContext ("D","CharLiteralClosing"))    <|>-   ((pRegExpr regex_'5c'5c'28u'5b'5cda'2dfA'2dF'5d'7b4'7d'7cU'5b'5cda'2dfA'2dF'5d'7b8'7d'7c'26'5ba'2dzA'2dZ'5d'5cw'2b'3b'29 >>= withAttribute StringTok) >>~ pushContext ("D","CharLiteralClosing"))+   ((pRegExpr regex_'5c'5c'28u'5b'5cda'2dfA'2dF'5d'7b4'7d'7cU'5b'5cda'2dfA'2dF'5d'7b8'7d'7c'26'5ba'2dzA'2dZ'5d'5cw'2b'3b'29 >>= withAttribute SpecialCharTok) >>~ pushContext ("D","CharLiteralClosing"))    <|>    ((pRegExpr regex_'5c'5c'2e >>= withAttribute ErrorTok) >>~ pushContext ("D","CharLiteralClosing"))    <|>@@ -452,7 +452,7 @@    ((popContext >> popContext) >> currentContext >>= parseRules))  parseRules ("D","String") =-  (((pHlCStringChar >>= withAttribute StringTok))+  (((pHlCStringChar >>= withAttribute SpecialCharTok))    <|>    ((pDetect2Chars False '"' 'c' >>= withAttribute StringTok) >>~ (popContext))    <|>@@ -462,11 +462,11 @@    <|>    ((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext))    <|>-   ((pDetect2Chars False '\\' 'u' >>= withAttribute StringTok) >>~ pushContext ("D","UnicodeShort"))+   ((pDetect2Chars False '\\' 'u' >>= withAttribute SpecialCharTok) >>~ pushContext ("D","UnicodeShort"))    <|>-   ((pDetect2Chars False '\\' 'U' >>= withAttribute StringTok) >>~ pushContext ("D","UnicodeLong"))+   ((pDetect2Chars False '\\' 'U' >>= withAttribute SpecialCharTok) >>~ pushContext ("D","UnicodeLong"))    <|>-   ((pDetect2Chars False '\\' '&' >>= withAttribute StringTok) >>~ pushContext ("D","HTMLEntity"))+   ((pDetect2Chars False '\\' '&' >>= withAttribute SpecialCharTok) >>~ pushContext ("D","HTMLEntity"))    <|>    (currentContext >>= \x -> guard (x == ("D","String")) >> pDefault >>= withAttribute StringTok)) 
Text/Highlighting/Kate/Syntax/Diff.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file diff.xml, version 1.12, by  -}+   highlighting file diff.xml, version 2, by  -}  module Text.Highlighting.Kate.Syntax.Diff           (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -109,7 +109,7 @@    <|>    ((pColumn 0 >> pRegExpr regex_'28'5c'2b'5c'2b'5c'2b'7c'5c'2d'5c'2d'5c'2d'29'2e'2a'24 >>= withAttribute DataTypeTok))    <|>-   ((pColumn 0 >> pAnyChar "+>" >>= withAttribute OtherTok) >>~ pushContext ("Diff","Added"))+   ((pColumn 0 >> pAnyChar "+>" >>= withAttribute VariableTok) >>~ pushContext ("Diff","Added"))    <|>    ((pColumn 0 >> pAnyChar "-<" >>= withAttribute StringTok) >>~ pushContext ("Diff","Removed"))    <|>@@ -182,7 +182,7 @@ parseRules ("Diff","RChunkNew") =   (((pColumn 0 >> lookAhead (pRegExpr regex_'28'5c'40'5c'40'7c'5cd'29'2e'2a'24) >> (popContext >> popContext) >> currentContext >>= parseRules))    <|>-   ((pColumn 0 >> pDetectChar False '!' >>= withAttribute OtherTok) >>~ pushContext ("Diff","ChangedNew"))+   ((pColumn 0 >> pDetectChar False '!' >>= withAttribute VariableTok) >>~ pushContext ("Diff","ChangedNew"))    <|>    ((parseRules ("Diff","FindDiff")))    <|>@@ -193,7 +193,7 @@    <|>    ((pColumn 0 >> lookAhead (pRegExpr regex_'28'3d'3d'3d'3d'7c'5c'2a'5c'2a'5c'2a'7c'5c'2d'5c'2d'5c'2d'7cdiff'7cOnly_in_'2e'2a'3a'29'2e'2a'24) >> (popContext >> popContext) >> currentContext >>= parseRules))    <|>-   ((pColumn 0 >> pDetectChar False '!' >>= withAttribute OtherTok) >>~ pushContext ("Diff","ChangedNew"))+   ((pColumn 0 >> pDetectChar False '!' >>= withAttribute VariableTok) >>~ pushContext ("Diff","ChangedNew"))    <|>    ((parseRules ("Diff","FindDiff")))    <|>@@ -206,13 +206,13 @@   (currentContext >>= \x -> guard (x == ("Diff","Removed")) >> pDefault >>= withAttribute StringTok)  parseRules ("Diff","Added") =-  (currentContext >>= \x -> guard (x == ("Diff","Added")) >> pDefault >>= withAttribute OtherTok)+  (currentContext >>= \x -> guard (x == ("Diff","Added")) >> pDefault >>= withAttribute VariableTok)  parseRules ("Diff","ChangedOld") =   (currentContext >>= \x -> guard (x == ("Diff","ChangedOld")) >> pDefault >>= withAttribute StringTok)  parseRules ("Diff","ChangedNew") =-  (currentContext >>= \x -> guard (x == ("Diff","ChangedNew")) >> pDefault >>= withAttribute OtherTok)+  (currentContext >>= \x -> guard (x == ("Diff","ChangedNew")) >> pDefault >>= withAttribute VariableTok)   parseRules x = parseRules ("Diff","Normal") <|> fail ("Unknown context" ++ show x)
Text/Highlighting/Kate/Syntax/Djangotemplate.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file djangotemplate.xml, version 1.3, by Matthew Marshall (matthew@matthewmarshall.org) -}+   highlighting file djangotemplate.xml, version 2, by Matthew Marshall (matthew@matthewmarshall.org) -}  module Text.Highlighting.Kate.Syntax.Djangotemplate           (highlight, parseExpression, syntaxName, syntaxExtensions)
Text/Highlighting/Kate/Syntax/Dockerfile.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file dockerfile.xml, version 1.1, by James Turnbull (james@lovedthanlost.net) -}+   highlighting file dockerfile.xml, version 2, by James Turnbull (james@lovedthanlost.net) -}  module Text.Highlighting.Kate.Syntax.Dockerfile           (highlight, parseExpression, syntaxName, syntaxExtensions)
Text/Highlighting/Kate/Syntax/Dot.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file dot.xml, version 1.1, by Postula Loïs (lois.postula@live.be) -}+   highlighting file dot.xml, version 2, by Postula Loïs (lois.postula@live.be) -}  module Text.Highlighting.Kate.Syntax.Dot           (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -79,7 +79,7 @@ parseRules ("dot","DetectAll") =   (((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_keywords >>= withAttribute KeywordTok))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_attributes >>= withAttribute DataTypeTok))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_attributes >>= withAttribute AttributeTok))    <|>    ((pDetectChar False '"' >>= withAttribute StringTok) >>~ pushContext ("dot","String"))    <|>@@ -91,7 +91,7 @@    <|>    ((pInt >>= withAttribute DecValTok))    <|>-   ((pRegExpr regex_'5cb'5cw'2b'5cb >>= withAttribute FunctionTok))+   ((pRegExpr regex_'5cb'5cw'2b'5cb >>= withAttribute VariableTok))    <|>    ((parseRules ("dot","DetectComments")))    <|>@@ -134,9 +134,9 @@    (currentContext >>= \x -> guard (x == ("dot","RegionParen")) >> pDefault >>= withAttribute CommentTok))  parseRules ("dot","String") =-  (((pDetect2Chars False '\\' '\\' >>= withAttribute CharTok))+  (((pDetect2Chars False '\\' '\\' >>= withAttribute SpecialCharTok))    <|>-   ((pDetect2Chars False '\\' '"' >>= withAttribute CharTok))+   ((pDetect2Chars False '\\' '"' >>= withAttribute SpecialCharTok))    <|>    ((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext))    <|>
Text/Highlighting/Kate/Syntax/Doxygen.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file doxygen.xml, version 1.37, by Dominik Haumann (dhdev@gmx.de) -}+   highlighting file doxygen.xml, version 2, by Dominik Haumann (dhdev@gmx.de) -}  module Text.Highlighting.Kate.Syntax.Doxygen           (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -107,7 +107,8 @@ regex_'2f'5c'2a'5cs'2a'40'5c'7b'5cs'2a'5c'2a'2f = compileRegex True "/\\*\\s*@\\{\\s*\\*/" regex_'2f'5c'2a'5cs'2a'40'5c'7d'5cs'2a'5c'2a'2f = compileRegex True "/\\*\\s*@\\}\\s*\\*/" regex_'5b'40'5c'5c'5d'5b'5e'40'5c'5c_'5ct'5d'2b = compileRegex True "[@\\\\][^@\\\\ \\t]+"-regex_'3c'5c'2f'3f'5ba'2dzA'2dZ'5f'3a'5d'5ba'2dzA'2dZ0'2d9'2e'5f'3a'2d'5d'2a = compileRegex True "<\\/?[a-zA-Z_:][a-zA-Z0-9._:-]*"+regex_'3c'5c'2f'3f'5b'5cw0'2d9'2e'5f'3a'2d'40'5d'2b = compileRegex True "<\\/?[\\w0-9._:-@]+"+regex_'5b'40'5c'5c'5d'28'5b'5e'40'5c'5c_'5ct'5c'2a'5d'7c'5c'2a'28'3f'21'2f'29'29'2b = compileRegex True "[@\\\\]([^@\\\\ \\t\\*]|\\*(?!/))+" regex_'5c'5c'28'3c'7c'3e'29 = compileRegex True "\\\\(<|>)" regex_'5cS'28'3f'3d'28'5b'5d'5b'2c'3f'3b'28'29'5d'7c'5c'2e'24'7c'5c'2e'3f'5cs'29'29 = compileRegex True "\\S(?=([][,?;()]|\\.$|\\.?\\s))" regex_'5cS = compileRegex True "\\S"@@ -150,19 +151,19 @@    <|>    ((parseRules ("Doxygen","SL_DetectEnv")))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_TagOnly >>= withAttribute KeywordTok))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_TagOnly >>= withAttribute AnnotationTok))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_TagWord >>= withAttribute KeywordTok) >>~ pushContext ("Doxygen","SL_TagWord"))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_TagWord >>= withAttribute AnnotationTok) >>~ pushContext ("Doxygen","SL_TagWord"))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_TagParam >>= withAttribute KeywordTok) >>~ pushContext ("Doxygen","SL_TagParam"))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_TagParam >>= withAttribute AnnotationTok) >>~ pushContext ("Doxygen","SL_TagParam"))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_TagWordWord >>= withAttribute KeywordTok) >>~ pushContext ("Doxygen","SL_TagWordWord"))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_TagWordWord >>= withAttribute AnnotationTok) >>~ pushContext ("Doxygen","SL_TagWordWord"))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_TagString >>= withAttribute KeywordTok) >>~ pushContext ("Doxygen","SL_TagString"))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_TagString >>= withAttribute AnnotationTok) >>~ pushContext ("Doxygen","SL_TagString"))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_TagWordString >>= withAttribute KeywordTok) >>~ pushContext ("Doxygen","SL_TagWordString"))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_TagWordString >>= withAttribute AnnotationTok) >>~ pushContext ("Doxygen","SL_TagWordString"))    <|>-   ((pRegExpr regex_'5b'40'5c'5c'5d'5b'5e'40'5c'5c_'5ct'5d'2b >>= withAttribute NormalTok))+   ((pRegExpr regex_'5b'40'5c'5c'5d'5b'5e'40'5c'5c_'5ct'5d'2b >>= withAttribute AnnotationTok))    <|>    ((pDetectIdentifier >>= withAttribute CommentTok))    <|>@@ -170,7 +171,7 @@    <|>    ((pDetect2Chars False '<' '<' >>= withAttribute CommentTok))    <|>-   ((pRegExpr regex_'3c'5c'2f'3f'5ba'2dzA'2dZ'5f'3a'5d'5ba'2dzA'2dZ0'2d9'2e'5f'3a'2d'5d'2a >>= withAttribute KeywordTok) >>~ pushContext ("Doxygen","SL_htmltag"))+   ((pRegExpr regex_'3c'5c'2f'3f'5b'5cw0'2d9'2e'5f'3a'2d'40'5d'2b >>= withAttribute KeywordTok) >>~ pushContext ("Doxygen","SL_htmltag"))    <|>    (currentContext >>= \x -> guard (x == ("Doxygen","LineComment")) >> pDefault >>= withAttribute CommentTok)) @@ -187,27 +188,27 @@    <|>    ((parseRules ("Doxygen","SL_DetectEnv")))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_TagOnly >>= withAttribute KeywordTok))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_TagOnly >>= withAttribute AnnotationTok))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_TagWord >>= withAttribute KeywordTok) >>~ pushContext ("Doxygen","ML_TagWord"))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_TagWord >>= withAttribute AnnotationTok) >>~ pushContext ("Doxygen","ML_TagWord"))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_TagParam >>= withAttribute KeywordTok) >>~ pushContext ("Doxygen","ML_TagParam"))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_TagParam >>= withAttribute AnnotationTok) >>~ pushContext ("Doxygen","ML_TagParam"))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_TagWordWord >>= withAttribute KeywordTok) >>~ pushContext ("Doxygen","ML_TagWordWord"))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_TagWordWord >>= withAttribute AnnotationTok) >>~ pushContext ("Doxygen","ML_TagWordWord"))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_TagString >>= withAttribute KeywordTok) >>~ pushContext ("Doxygen","ML_TagString"))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_TagString >>= withAttribute AnnotationTok) >>~ pushContext ("Doxygen","ML_TagString"))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_TagWordString >>= withAttribute KeywordTok) >>~ pushContext ("Doxygen","ML_TagWordString"))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_TagWordString >>= withAttribute AnnotationTok) >>~ pushContext ("Doxygen","ML_TagWordString"))    <|>-   ((pRegExpr regex_'5b'40'5c'5c'5d'5b'5e'40'5c'5c_'5ct'5d'2b >>= withAttribute NormalTok))+   ((pRegExpr regex_'5b'40'5c'5c'5d'28'5b'5e'40'5c'5c_'5ct'5c'2a'5d'7c'5c'2a'28'3f'21'2f'29'29'2b >>= withAttribute AnnotationTok))    <|>    ((pDetectIdentifier >>= withAttribute CommentTok))    <|>-   ((pRegExpr regex_'5c'5c'28'3c'7c'3e'29 >>= withAttribute KeywordTok))+   ((pRegExpr regex_'5c'5c'28'3c'7c'3e'29 >>= withAttribute AnnotationTok))    <|>    ((pDetect2Chars False '<' '<' >>= withAttribute CommentTok))    <|>-   ((pRegExpr regex_'3c'5c'2f'3f'5ba'2dzA'2dZ'5f'3a'5d'5ba'2dzA'2dZ0'2d9'2e'5f'3a'2d'5d'2a >>= withAttribute KeywordTok) >>~ pushContext ("Doxygen","ML_htmltag"))+   ((pRegExpr regex_'3c'5c'2f'3f'5b'5cw0'2d9'2e'5f'3a'2d'40'5d'2b >>= withAttribute KeywordTok) >>~ pushContext ("Doxygen","ML_htmltag"))    <|>    ((pString False "<!--" >>= withAttribute CommentTok) >>~ pushContext ("Doxygen","ML_htmlcomment"))    <|>@@ -225,15 +226,15 @@    <|>    ((pDetectSpaces >>= withAttribute CommentTok))    <|>-   ((pString False "[in]" >>= withAttribute KeywordTok) >>~ pushContext ("Doxygen","ML_Tag2ndWord"))+   ((pString False "[in]" >>= withAttribute AnnotationTok) >>~ pushContext ("Doxygen","ML_Tag2ndWord"))    <|>-   ((pString False "[out]" >>= withAttribute KeywordTok) >>~ pushContext ("Doxygen","ML_Tag2ndWord"))+   ((pString False "[out]" >>= withAttribute AnnotationTok) >>~ pushContext ("Doxygen","ML_Tag2ndWord"))    <|>-   ((pString False "[in,out]" >>= withAttribute KeywordTok) >>~ pushContext ("Doxygen","ML_Tag2ndWord"))+   ((pString False "[in,out]" >>= withAttribute AnnotationTok) >>~ pushContext ("Doxygen","ML_Tag2ndWord"))    <|>-   ((pRegExpr regex_'5cS'28'3f'3d'28'5b'5d'5b'2c'3f'3b'28'29'5d'7c'5c'2e'24'7c'5c'2e'3f'5cs'29'29 >>= withAttribute KeywordTok) >>~ (popContext))+   ((pRegExpr regex_'5cS'28'3f'3d'28'5b'5d'5b'2c'3f'3b'28'29'5d'7c'5c'2e'24'7c'5c'2e'3f'5cs'29'29 >>= withAttribute CommentVarTok) >>~ (popContext))    <|>-   ((pRegExpr regex_'5cS >>= withAttribute KeywordTok))+   ((pRegExpr regex_'5cS >>= withAttribute CommentVarTok))    <|>    (currentContext >>= \x -> guard (x == ("Doxygen","ML_TagParam")) >> pDefault >>= withAttribute CommentTok)) @@ -242,9 +243,9 @@    <|>    ((pDetectSpaces >>= withAttribute CommentTok))    <|>-   ((pRegExpr regex_'5cS'28'3f'3d'28'5b'5d'5b'2c'3f'3b'28'29'5d'7c'5c'2e'24'7c'5c'2e'3f'5cs'29'29 >>= withAttribute KeywordTok) >>~ pushContext ("Doxygen","ML_Tag2ndWord"))+   ((pRegExpr regex_'5cS'28'3f'3d'28'5b'5d'5b'2c'3f'3b'28'29'5d'7c'5c'2e'24'7c'5c'2e'3f'5cs'29'29 >>= withAttribute CommentVarTok) >>~ pushContext ("Doxygen","ML_Tag2ndWord"))    <|>-   ((pRegExpr regex_'5cS >>= withAttribute KeywordTok))+   ((pRegExpr regex_'5cS >>= withAttribute CommentVarTok))    <|>    (currentContext >>= \x -> guard (x == ("Doxygen","ML_TagWordWord")) >> pDefault >>= withAttribute CommentTok)) @@ -264,9 +265,9 @@    <|>    ((pDetect2Chars False '<' '<' >>= withAttribute CommentTok))    <|>-   ((pRegExpr regex_'3c'5c'2f'3f'5ba'2dzA'2dZ'5f'3a'5d'5ba'2dzA'2dZ0'2d9'2e'5f'3a'2d'5d'2a >>= withAttribute KeywordTok) >>~ pushContext ("Doxygen","ML_htmltag"))+   ((pRegExpr regex_'3c'5c'2f'3f'5b'5cw0'2d9'2e'5f'3a'2d'40'5d'2b >>= withAttribute KeywordTok) >>~ pushContext ("Doxygen","ML_htmltag"))    <|>-   ((pRegExpr regex_'2e >>= withAttribute StringTok))+   ((pRegExpr regex_'2e >>= withAttribute DocumentationTok))    <|>    (currentContext >>= \x -> guard (x == ("Doxygen","ML_TagString")) >> pDefault >>= withAttribute CommentTok)) @@ -327,42 +328,42 @@    <|>    ((lookAhead (pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_TagWord) >> (popContext) >> currentContext >>= parseRules))    <|>-   ((pRegExpr regex_'5cS'28'3f'3d'28'5b'5d'5b'2c'3f'3b'28'29'5d'7c'5c'2e'24'7c'5c'2e'3f'5cs'29'29 >>= withAttribute KeywordTok) >>~ (popContext))+   ((pRegExpr regex_'5cS'28'3f'3d'28'5b'5d'5b'2c'3f'3b'28'29'5d'7c'5c'2e'24'7c'5c'2e'3f'5cs'29'29 >>= withAttribute CommentVarTok) >>~ (popContext))    <|>-   ((pRegExpr regex_'5cS >>= withAttribute KeywordTok))+   ((pRegExpr regex_'5cS >>= withAttribute CommentVarTok))    <|>    (currentContext >>= \x -> guard (x == ("Doxygen","SL_TagWord")) >> pDefault >>= withAttribute CommentTok))  parseRules ("Doxygen","SL_TagParam") =   (((pDetectSpaces >>= withAttribute CommentTok))    <|>-   ((pString False "[in]" >>= withAttribute KeywordTok) >>~ pushContext ("Doxygen","SL_Tag2ndWord"))+   ((pString False "[in]" >>= withAttribute AnnotationTok) >>~ pushContext ("Doxygen","SL_Tag2ndWord"))    <|>-   ((pString False "[out]" >>= withAttribute KeywordTok) >>~ pushContext ("Doxygen","SL_Tag2ndWord"))+   ((pString False "[out]" >>= withAttribute AnnotationTok) >>~ pushContext ("Doxygen","SL_Tag2ndWord"))    <|>-   ((pString False "[in,out]" >>= withAttribute KeywordTok) >>~ pushContext ("Doxygen","SL_Tag2ndWord"))+   ((pString False "[in,out]" >>= withAttribute AnnotationTok) >>~ pushContext ("Doxygen","SL_Tag2ndWord"))    <|>-   ((pRegExpr regex_'5cS'28'3f'3d'28'5b'5d'5b'2c'3f'3b'28'29'5d'7c'5c'2e'24'7c'5c'2e'3f'5cs'29'29 >>= withAttribute KeywordTok) >>~ (popContext))+   ((pRegExpr regex_'5cS'28'3f'3d'28'5b'5d'5b'2c'3f'3b'28'29'5d'7c'5c'2e'24'7c'5c'2e'3f'5cs'29'29 >>= withAttribute CommentVarTok) >>~ (popContext))    <|>-   ((pRegExpr regex_'5cS >>= withAttribute KeywordTok))+   ((pRegExpr regex_'5cS >>= withAttribute CommentVarTok))    <|>    (currentContext >>= \x -> guard (x == ("Doxygen","SL_TagParam")) >> pDefault >>= withAttribute CommentTok))  parseRules ("Doxygen","SL_TagWordWord") =   (((pDetectSpaces >>= withAttribute CommentTok))    <|>-   ((pRegExpr regex_'5cS'28'3f'3d'28'5b'5d'5b'2c'3f'3b'28'29'5d'7c'5c'2e'24'7c'5c'2e'3f'5cs'29'29 >>= withAttribute KeywordTok) >>~ pushContext ("Doxygen","SL_Tag2ndWord"))+   ((pRegExpr regex_'5cS'28'3f'3d'28'5b'5d'5b'2c'3f'3b'28'29'5d'7c'5c'2e'24'7c'5c'2e'3f'5cs'29'29 >>= withAttribute CommentVarTok) >>~ pushContext ("Doxygen","SL_Tag2ndWord"))    <|>-   ((pRegExpr regex_'5cS >>= withAttribute KeywordTok))+   ((pRegExpr regex_'5cS >>= withAttribute CommentVarTok))    <|>    (currentContext >>= \x -> guard (x == ("Doxygen","SL_TagWordWord")) >> pDefault >>= withAttribute CommentTok))  parseRules ("Doxygen","SL_Tag2ndWord") =   (((pDetectSpaces >>= withAttribute CommentTok))    <|>-   ((pRegExpr regex_'5cS'28'3f'3d'28'5b'5d'5b'2c'3f'3b'28'29'5d'7c'5c'2e'24'7c'5c'2e'3f'5cs'29'29 >>= withAttribute KeywordTok) >>~ (popContext >> popContext))+   ((pRegExpr regex_'5cS'28'3f'3d'28'5b'5d'5b'2c'3f'3b'28'29'5d'7c'5c'2e'24'7c'5c'2e'3f'5cs'29'29 >>= withAttribute CommentVarTok) >>~ (popContext >> popContext))    <|>-   ((pRegExpr regex_'5cS >>= withAttribute KeywordTok))+   ((pRegExpr regex_'5cS >>= withAttribute CommentVarTok))    <|>    (currentContext >>= \x -> guard (x == ("Doxygen","SL_Tag2ndWord")) >> pDefault >>= withAttribute CommentTok)) @@ -373,18 +374,18 @@    <|>    ((pDetect2Chars False '<' '<' >>= withAttribute CommentTok))    <|>-   ((pRegExpr regex_'3c'5c'2f'3f'5ba'2dzA'2dZ'5f'3a'5d'5ba'2dzA'2dZ0'2d9'2e'5f'3a'2d'5d'2a >>= withAttribute KeywordTok) >>~ pushContext ("Doxygen","SL_htmltag"))+   ((pRegExpr regex_'3c'5c'2f'3f'5b'5cw0'2d9'2e'5f'3a'2d'40'5d'2b >>= withAttribute KeywordTok) >>~ pushContext ("Doxygen","SL_htmltag"))    <|>-   ((pRegExpr regex_'2e >>= withAttribute StringTok))+   ((pRegExpr regex_'2e >>= withAttribute DocumentationTok))    <|>    (currentContext >>= \x -> guard (x == ("Doxygen","SL_TagString")) >> pDefault >>= withAttribute CommentTok))  parseRules ("Doxygen","SL_TagWordString") =   (((pDetectSpaces >>= withAttribute CommentTok))    <|>-   ((pRegExpr regex_'5cS'28'3f'3d'28'5b'5d'5b'2c'3f'3b'28'29'5d'7c'5c'2e'24'7c'5c'2e'3f'5cs'29'29 >>= withAttribute KeywordTok) >>~ (popContext))+   ((pRegExpr regex_'5cS'28'3f'3d'28'5b'5d'5b'2c'3f'3b'28'29'5d'7c'5c'2e'24'7c'5c'2e'3f'5cs'29'29 >>= withAttribute CommentVarTok) >>~ (popContext))    <|>-   ((pRegExpr regex_'5cS >>= withAttribute KeywordTok))+   ((pRegExpr regex_'5cS >>= withAttribute CommentVarTok))    <|>    (currentContext >>= \x -> guard (x == ("Doxygen","SL_TagWordString")) >> pDefault >>= withAttribute CommentTok)) @@ -424,23 +425,23 @@    (currentContext >>= \x -> guard (x == ("Doxygen","SL_types2")) >> pDefault >>= withAttribute DataTypeTok))  parseRules ("Doxygen","SL_DetectEnv") =-  (((pRegExpr regex_'5b'40'5c'5c'5dcode'5cb >>= withAttribute KeywordTok) >>~ pushContext ("Doxygen","Code"))+  (((pRegExpr regex_'5b'40'5c'5c'5dcode'5cb >>= withAttribute AnnotationTok) >>~ pushContext ("Doxygen","Code"))    <|>-   ((pRegExpr regex_'5b'40'5c'5c'5dverbatim'5cb >>= withAttribute KeywordTok) >>~ pushContext ("Doxygen","Verbatim"))+   ((pRegExpr regex_'5b'40'5c'5c'5dverbatim'5cb >>= withAttribute AnnotationTok) >>~ pushContext ("Doxygen","Verbatim"))    <|>-   ((pRegExpr regex_'5b'40'5c'5c'5df'5c'5b >>= withAttribute KeywordTok) >>~ pushContext ("Doxygen","Formula"))+   ((pRegExpr regex_'5b'40'5c'5c'5df'5c'5b >>= withAttribute AnnotationTok) >>~ pushContext ("Doxygen","Formula"))    <|>-   ((pRegExpr regex_'5b'40'5c'5c'5dmsc'5cb >>= withAttribute KeywordTok) >>~ pushContext ("Doxygen","Msc"))+   ((pRegExpr regex_'5b'40'5c'5c'5dmsc'5cb >>= withAttribute AnnotationTok) >>~ pushContext ("Doxygen","Msc"))    <|>-   ((pRegExpr regex_'5b'40'5c'5c'5ddot'5cb >>= withAttribute KeywordTok) >>~ pushContext ("Doxygen","Dot"))+   ((pRegExpr regex_'5b'40'5c'5c'5ddot'5cb >>= withAttribute AnnotationTok) >>~ pushContext ("Doxygen","Dot"))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_Note >>= withAttribute KeywordTok))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_Note >>= withAttribute InformationTok))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_Warning >>= withAttribute KeywordTok))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_Warning >>= withAttribute WarningTok))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_Attention >>= withAttribute KeywordTok))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_Attention >>= withAttribute AnnotationTok))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_Todo >>= withAttribute KeywordTok))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_Todo >>= withAttribute AnnotationTok))    <|>    ((pRegExpr regex_'26'5bA'2dZa'2dz'5d'2b'3b >>= withAttribute OtherTok))    <|>@@ -458,35 +459,35 @@ parseRules ("Doxygen","Code") =   (((parseRules ("Doxygen","SL_DetectComment")))    <|>-   ((pRegExpr regex_'5b'40'5c'5c'5dendcode'5cb >>= withAttribute KeywordTok) >>~ (popContext))+   ((pRegExpr regex_'5b'40'5c'5c'5dendcode'5cb >>= withAttribute AnnotationTok) >>~ (popContext))    <|>    (currentContext >>= \x -> guard (x == ("Doxygen","Code")) >> pDefault >>= withAttribute CommentTok))  parseRules ("Doxygen","Verbatim") =   (((parseRules ("Doxygen","SL_DetectComment")))    <|>-   ((pRegExpr regex_'5b'40'5c'5c'5dendverbatim'5cb >>= withAttribute KeywordTok) >>~ (popContext))+   ((pRegExpr regex_'5b'40'5c'5c'5dendverbatim'5cb >>= withAttribute AnnotationTok) >>~ (popContext))    <|>    (currentContext >>= \x -> guard (x == ("Doxygen","Verbatim")) >> pDefault >>= withAttribute CommentTok))  parseRules ("Doxygen","Formula") =   (((parseRules ("Doxygen","SL_DetectComment")))    <|>-   ((pRegExpr regex_'5b'40'5c'5c'5df'5c'5d >>= withAttribute KeywordTok) >>~ (popContext))+   ((pRegExpr regex_'5b'40'5c'5c'5df'5c'5d >>= withAttribute AnnotationTok) >>~ (popContext))    <|>    (currentContext >>= \x -> guard (x == ("Doxygen","Formula")) >> pDefault >>= withAttribute CommentTok))  parseRules ("Doxygen","Msc") =   (((parseRules ("Doxygen","SL_DetectComment")))    <|>-   ((pRegExpr regex_'5b'40'5c'5c'5dendmsc'5cb >>= withAttribute KeywordTok) >>~ (popContext))+   ((pRegExpr regex_'5b'40'5c'5c'5dendmsc'5cb >>= withAttribute AnnotationTok) >>~ (popContext))    <|>    (currentContext >>= \x -> guard (x == ("Doxygen","Msc")) >> pDefault >>= withAttribute CommentTok))  parseRules ("Doxygen","Dot") =   (((parseRules ("Doxygen","SL_DetectComment")))    <|>-   ((pRegExpr regex_'5b'40'5c'5c'5denddot'5cb >>= withAttribute KeywordTok) >>~ (popContext))+   ((pRegExpr regex_'5b'40'5c'5c'5denddot'5cb >>= withAttribute AnnotationTok) >>~ (popContext))    <|>    (currentContext >>= \x -> guard (x == ("Doxygen","Dot")) >> pDefault >>= withAttribute CommentTok)) 
Text/Highlighting/Kate/Syntax/Doxygenlua.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file doxygenlua.xml, version 1.01, by Bruno Massa (brmassa@gmail.com) -}+   highlighting file doxygenlua.xml, version 2, by Bruno Massa (brmassa@gmail.com) -}  module Text.Highlighting.Kate.Syntax.Doxygenlua           (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -98,137 +98,137 @@ regex_'5cs'2a'23'3f'5ba'2dzA'2dZ0'2d9'5d'2a = compileRegex True "\\s*#?[a-zA-Z0-9]*"  parseRules ("DoxygenLua","Normal") =-  (((pRegExprDynamic "--\\[(=*)\\[" >>= withAttribute CommentTok) >>~ pushContext ("DoxygenLua","BlockComment"))+  (((pRegExprDynamic "--\\[(=*)\\[" >>= withAttribute DocumentationTok) >>~ pushContext ("DoxygenLua","BlockComment"))    <|>-   ((pString False "--" >>= withAttribute CommentTok) >>~ pushContext ("DoxygenLua","LineComment"))+   ((pString False "--" >>= withAttribute DocumentationTok) >>~ pushContext ("DoxygenLua","LineComment"))    <|>    (currentContext >>= \x -> guard (x == ("DoxygenLua","Normal")) >> pDefault >>= withAttribute NormalTok))  parseRules ("DoxygenLua","LineComment") =-  (((pDetectSpaces >>= withAttribute CommentTok))+  (((pDetectSpaces >>= withAttribute DocumentationTok))    <|>-   ((Text.Highlighting.Kate.Syntax.Alert.parseExpression (Just ("Alerts","")) >>= ((withAttribute CommentTok) . snd)))+   ((Text.Highlighting.Kate.Syntax.Alert.parseExpression (Just ("Alerts","")) >>= ((withAttribute DocumentationTok) . snd)))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_TagOnly >>= withAttribute KeywordTok))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_TagOnly >>= withAttribute AnnotationTok))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_TagWord >>= withAttribute KeywordTok) >>~ pushContext ("DoxygenLua","SL_TagWord"))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_TagWord >>= withAttribute AnnotationTok) >>~ pushContext ("DoxygenLua","SL_TagWord"))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_TagParam >>= withAttribute KeywordTok) >>~ pushContext ("DoxygenLua","SL_TagParam"))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_TagParam >>= withAttribute AnnotationTok) >>~ pushContext ("DoxygenLua","SL_TagParam"))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_TagWordWord >>= withAttribute KeywordTok) >>~ pushContext ("DoxygenLua","SL_TagWordWord"))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_TagWordWord >>= withAttribute AnnotationTok) >>~ pushContext ("DoxygenLua","SL_TagWordWord"))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_TagString >>= withAttribute KeywordTok) >>~ pushContext ("DoxygenLua","SL_TagString"))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_TagString >>= withAttribute AnnotationTok) >>~ pushContext ("DoxygenLua","SL_TagString"))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_TagWordString >>= withAttribute KeywordTok) >>~ pushContext ("DoxygenLua","SL_TagWordString"))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_TagWordString >>= withAttribute AnnotationTok) >>~ pushContext ("DoxygenLua","SL_TagWordString"))    <|>-   ((pDetectIdentifier >>= withAttribute CommentTok))+   ((pDetectIdentifier >>= withAttribute DocumentationTok))    <|>    ((pString False "<!--" >>= withAttribute CommentTok) >>~ pushContext ("DoxygenLua","SL_htmlcomment"))    <|>-   ((pDetect2Chars False '<' '<' >>= withAttribute CommentTok))+   ((pDetect2Chars False '<' '<' >>= withAttribute DocumentationTok))    <|>    ((pRegExpr regex_'3c'5cs'2a'5c'2f'3f'5cs'2a'5ba'2dzA'2dZ'5f'3a'5d'5ba'2dzA'2dZ0'2d9'2e'5f'3a'2d'5d'2a >>= withAttribute KeywordTok) >>~ pushContext ("DoxygenLua","SL_htmltag"))    <|>-   (currentContext >>= \x -> guard (x == ("DoxygenLua","LineComment")) >> pDefault >>= withAttribute CommentTok))+   (currentContext >>= \x -> guard (x == ("DoxygenLua","LineComment")) >> pDefault >>= withAttribute DocumentationTok))  parseRules ("DoxygenLua","BlockComment") =-  (((pDetectSpaces >>= withAttribute CommentTok))+  (((pDetectSpaces >>= withAttribute DocumentationTok))    <|>-   ((pRegExprDynamic "\\]%1\\]" >>= withAttribute CommentTok) >>~ (popContext))+   ((pRegExprDynamic "\\]%1\\]" >>= withAttribute DocumentationTok) >>~ (popContext))    <|>-   ((Text.Highlighting.Kate.Syntax.Alert.parseExpression (Just ("Alerts","")) >>= ((withAttribute CommentTok) . snd)))+   ((Text.Highlighting.Kate.Syntax.Alert.parseExpression (Just ("Alerts","")) >>= ((withAttribute DocumentationTok) . snd)))    <|>    ((pDetect2Chars False '@' '{' >>= withAttribute RegionMarkerTok))    <|>    ((pDetect2Chars False '@' '}' >>= withAttribute RegionMarkerTok))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_TagOnly >>= withAttribute KeywordTok))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_TagOnly >>= withAttribute AnnotationTok))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_TagWord >>= withAttribute KeywordTok) >>~ pushContext ("DoxygenLua","ML_TagWord"))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_TagWord >>= withAttribute AnnotationTok) >>~ pushContext ("DoxygenLua","ML_TagWord"))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_TagParam >>= withAttribute KeywordTok) >>~ pushContext ("DoxygenLua","ML_TagParam"))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_TagParam >>= withAttribute AnnotationTok) >>~ pushContext ("DoxygenLua","ML_TagParam"))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_TagWordWord >>= withAttribute KeywordTok) >>~ pushContext ("DoxygenLua","ML_TagWordWord"))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_TagWordWord >>= withAttribute AnnotationTok) >>~ pushContext ("DoxygenLua","ML_TagWordWord"))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_TagString >>= withAttribute KeywordTok) >>~ pushContext ("DoxygenLua","ML_TagString"))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_TagString >>= withAttribute AnnotationTok) >>~ pushContext ("DoxygenLua","ML_TagString"))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_TagWordString >>= withAttribute KeywordTok) >>~ pushContext ("DoxygenLua","ML_TagWordString"))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_TagWordString >>= withAttribute AnnotationTok) >>~ pushContext ("DoxygenLua","ML_TagWordString"))    <|>-   ((pDetectIdentifier >>= withAttribute CommentTok))+   ((pDetectIdentifier >>= withAttribute DocumentationTok))    <|>-   ((pRegExpr regex_'5c'5c'28'3c'7c'3e'29 >>= withAttribute KeywordTok))+   ((pRegExpr regex_'5c'5c'28'3c'7c'3e'29 >>= withAttribute AnnotationTok))    <|>-   ((pDetect2Chars False '<' '<' >>= withAttribute CommentTok))+   ((pDetect2Chars False '<' '<' >>= withAttribute DocumentationTok))    <|>    ((pRegExpr regex_'3c'5cs'2a'5c'2f'3f'5cs'2a'5ba'2dzA'2dZ'5f'3a'5d'5ba'2dzA'2dZ0'2d9'2e'5f'3a'2d'5d'2a >>= withAttribute KeywordTok) >>~ pushContext ("DoxygenLua","ML_htmltag"))    <|>    ((pString False "<!--" >>= withAttribute CommentTok) >>~ pushContext ("DoxygenLua","ML_htmlcomment"))    <|>-   (currentContext >>= \x -> guard (x == ("DoxygenLua","BlockComment")) >> pDefault >>= withAttribute CommentTok))+   (currentContext >>= \x -> guard (x == ("DoxygenLua","BlockComment")) >> pDefault >>= withAttribute DocumentationTok))  parseRules ("DoxygenLua","ML_TagWord") =   (((lookAhead (pDetect2Chars False '*' '/') >> (popContext) >> currentContext >>= parseRules))    <|>    ((parseRules ("DoxygenLua","SL_TagWord")))    <|>-   (currentContext >>= \x -> guard (x == ("DoxygenLua","ML_TagWord")) >> pDefault >>= withAttribute CommentTok))+   (currentContext >>= \x -> guard (x == ("DoxygenLua","ML_TagWord")) >> pDefault >>= withAttribute DocumentationTok))  parseRules ("DoxygenLua","ML_TagParam") =   (((lookAhead (pDetect2Chars False '*' '/') >> (popContext) >> currentContext >>= parseRules))    <|>-   ((pDetectSpaces >>= withAttribute CommentTok))+   ((pDetectSpaces >>= withAttribute DocumentationTok))    <|>-   ((pString False "[in]" >>= withAttribute KeywordTok) >>~ pushContext ("DoxygenLua","ML_Tag2ndWord"))+   ((pString False "[in]" >>= withAttribute AnnotationTok) >>~ pushContext ("DoxygenLua","ML_Tag2ndWord"))    <|>-   ((pString False "[out]" >>= withAttribute KeywordTok) >>~ pushContext ("DoxygenLua","ML_Tag2ndWord"))+   ((pString False "[out]" >>= withAttribute AnnotationTok) >>~ pushContext ("DoxygenLua","ML_Tag2ndWord"))    <|>-   ((pString False "[in,out]" >>= withAttribute KeywordTok) >>~ pushContext ("DoxygenLua","ML_Tag2ndWord"))+   ((pString False "[in,out]" >>= withAttribute AnnotationTok) >>~ pushContext ("DoxygenLua","ML_Tag2ndWord"))    <|>-   ((pRegExpr regex_'5cS'28'3f'3d'28'5b'5d'5b'2c'3f'3b'28'29'5d'7c'5c'2e'24'7c'5c'2e'3f'5cs'29'29 >>= withAttribute KeywordTok) >>~ (popContext))+   ((pRegExpr regex_'5cS'28'3f'3d'28'5b'5d'5b'2c'3f'3b'28'29'5d'7c'5c'2e'24'7c'5c'2e'3f'5cs'29'29 >>= withAttribute CommentVarTok) >>~ (popContext))    <|>-   ((pRegExpr regex_'5cS >>= withAttribute KeywordTok))+   ((pRegExpr regex_'5cS >>= withAttribute CommentVarTok))    <|>-   (currentContext >>= \x -> guard (x == ("DoxygenLua","ML_TagParam")) >> pDefault >>= withAttribute CommentTok))+   (currentContext >>= \x -> guard (x == ("DoxygenLua","ML_TagParam")) >> pDefault >>= withAttribute DocumentationTok))  parseRules ("DoxygenLua","ML_TagWordWord") =   (((lookAhead (pDetect2Chars False '*' '/') >> (popContext) >> currentContext >>= parseRules))    <|>-   ((pDetectSpaces >>= withAttribute CommentTok))+   ((pDetectSpaces >>= withAttribute DocumentationTok))    <|>-   ((pRegExpr regex_'5cS'28'3f'3d'28'5b'5d'5b'2c'3f'3b'28'29'5d'7c'5c'2e'24'7c'5c'2e'3f'5cs'29'29 >>= withAttribute KeywordTok) >>~ pushContext ("DoxygenLua","ML_Tag2ndWord"))+   ((pRegExpr regex_'5cS'28'3f'3d'28'5b'5d'5b'2c'3f'3b'28'29'5d'7c'5c'2e'24'7c'5c'2e'3f'5cs'29'29 >>= withAttribute CommentVarTok) >>~ pushContext ("DoxygenLua","ML_Tag2ndWord"))    <|>-   ((pRegExpr regex_'5cS >>= withAttribute KeywordTok))+   ((pRegExpr regex_'5cS >>= withAttribute CommentVarTok))    <|>-   (currentContext >>= \x -> guard (x == ("DoxygenLua","ML_TagWordWord")) >> pDefault >>= withAttribute CommentTok))+   (currentContext >>= \x -> guard (x == ("DoxygenLua","ML_TagWordWord")) >> pDefault >>= withAttribute DocumentationTok))  parseRules ("DoxygenLua","ML_Tag2ndWord") =   (((lookAhead (pDetect2Chars False '*' '/') >> (popContext >> popContext) >> currentContext >>= parseRules))    <|>    ((parseRules ("DoxygenLua","SL_Tag2ndWord")))    <|>-   (currentContext >>= \x -> guard (x == ("DoxygenLua","ML_Tag2ndWord")) >> pDefault >>= withAttribute CommentTok))+   (currentContext >>= \x -> guard (x == ("DoxygenLua","ML_Tag2ndWord")) >> pDefault >>= withAttribute DocumentationTok))  parseRules ("DoxygenLua","ML_TagString") =-  (((pDetectSpaces >>= withAttribute CommentTok))+  (((pDetectSpaces >>= withAttribute DocumentationTok))    <|>    ((lookAhead (pDetect2Chars False '*' '/') >> (popContext) >> currentContext >>= parseRules))    <|>    ((pString False "<!--" >>= withAttribute CommentTok) >>~ pushContext ("DoxygenLua","ML_htmlcomment"))    <|>-   ((pDetect2Chars False '<' '<' >>= withAttribute CommentTok))+   ((pDetect2Chars False '<' '<' >>= withAttribute DocumentationTok))    <|>    ((pRegExpr regex_'3c'5cs'2a'5c'2f'3f'5cs'2a'5ba'2dzA'2dZ'5f'3a'5d'5ba'2dzA'2dZ0'2d9'2e'5f'3a'2d'5d'2a >>= withAttribute KeywordTok) >>~ pushContext ("DoxygenLua","ML_htmltag"))    <|>    ((pRegExpr regex_'2e >>= withAttribute StringTok))    <|>-   (currentContext >>= \x -> guard (x == ("DoxygenLua","ML_TagString")) >> pDefault >>= withAttribute CommentTok))+   (currentContext >>= \x -> guard (x == ("DoxygenLua","ML_TagString")) >> pDefault >>= withAttribute DocumentationTok))  parseRules ("DoxygenLua","ML_TagWordString") =   (((lookAhead (pDetect2Chars False '*' '/') >> (popContext) >> currentContext >>= parseRules))    <|>    ((parseRules ("DoxygenLua","SL_TagWordString")))    <|>-   (currentContext >>= \x -> guard (x == ("DoxygenLua","ML_TagWordString")) >> pDefault >>= withAttribute CommentTok))+   (currentContext >>= \x -> guard (x == ("DoxygenLua","ML_TagWordString")) >> pDefault >>= withAttribute DocumentationTok))  parseRules ("DoxygenLua","ML_htmltag") =   (((lookAhead (pDetect2Chars False '*' '/') >> (popContext) >> currentContext >>= parseRules))@@ -276,70 +276,70 @@    (currentContext >>= \x -> guard (x == ("DoxygenLua","ML_types2")) >> pDefault >>= withAttribute DataTypeTok))  parseRules ("DoxygenLua","SL_TagWord") =-  (((pDetectSpaces >>= withAttribute CommentTok))+  (((pDetectSpaces >>= withAttribute DocumentationTok))    <|>    ((lookAhead (pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_TagWord) >> (popContext) >> currentContext >>= parseRules))    <|>-   ((pRegExpr regex_'5cS'28'3f'3d'28'5b'5d'5b'2c'3f'3b'28'29'5d'7c'5c'2e'24'7c'5c'2e'3f'5cs'29'29 >>= withAttribute KeywordTok) >>~ (popContext))+   ((pRegExpr regex_'5cS'28'3f'3d'28'5b'5d'5b'2c'3f'3b'28'29'5d'7c'5c'2e'24'7c'5c'2e'3f'5cs'29'29 >>= withAttribute CommentVarTok) >>~ (popContext))    <|>-   ((pRegExpr regex_'5cS >>= withAttribute KeywordTok))+   ((pRegExpr regex_'5cS >>= withAttribute CommentVarTok))    <|>-   (currentContext >>= \x -> guard (x == ("DoxygenLua","SL_TagWord")) >> pDefault >>= withAttribute CommentTok))+   (currentContext >>= \x -> guard (x == ("DoxygenLua","SL_TagWord")) >> pDefault >>= withAttribute DocumentationTok))  parseRules ("DoxygenLua","SL_TagParam") =-  (((pDetectSpaces >>= withAttribute CommentTok))+  (((pDetectSpaces >>= withAttribute DocumentationTok))    <|>-   ((pString False "[in]" >>= withAttribute KeywordTok) >>~ pushContext ("DoxygenLua","SL_Tag2ndWord"))+   ((pString False "[in]" >>= withAttribute AnnotationTok) >>~ pushContext ("DoxygenLua","SL_Tag2ndWord"))    <|>-   ((pString False "[out]" >>= withAttribute KeywordTok) >>~ pushContext ("DoxygenLua","SL_Tag2ndWord"))+   ((pString False "[out]" >>= withAttribute AnnotationTok) >>~ pushContext ("DoxygenLua","SL_Tag2ndWord"))    <|>-   ((pString False "[in,out]" >>= withAttribute KeywordTok) >>~ pushContext ("DoxygenLua","SL_Tag2ndWord"))+   ((pString False "[in,out]" >>= withAttribute AnnotationTok) >>~ pushContext ("DoxygenLua","SL_Tag2ndWord"))    <|>-   ((pRegExpr regex_'5cS'28'3f'3d'28'5b'5d'5b'2c'3f'3b'28'29'5d'7c'5c'2e'24'7c'5c'2e'3f'5cs'29'29 >>= withAttribute KeywordTok) >>~ (popContext))+   ((pRegExpr regex_'5cS'28'3f'3d'28'5b'5d'5b'2c'3f'3b'28'29'5d'7c'5c'2e'24'7c'5c'2e'3f'5cs'29'29 >>= withAttribute CommentVarTok) >>~ (popContext))    <|>-   ((pRegExpr regex_'5cS >>= withAttribute KeywordTok))+   ((pRegExpr regex_'5cS >>= withAttribute CommentVarTok))    <|>-   (currentContext >>= \x -> guard (x == ("DoxygenLua","SL_TagParam")) >> pDefault >>= withAttribute CommentTok))+   (currentContext >>= \x -> guard (x == ("DoxygenLua","SL_TagParam")) >> pDefault >>= withAttribute DocumentationTok))  parseRules ("DoxygenLua","SL_TagWordWord") =-  (((pDetectSpaces >>= withAttribute CommentTok))+  (((pDetectSpaces >>= withAttribute DocumentationTok))    <|>-   ((pRegExpr regex_'5cS'28'3f'3d'28'5b'5d'5b'2c'3f'3b'28'29'5d'7c'5c'2e'24'7c'5c'2e'3f'5cs'29'29 >>= withAttribute KeywordTok) >>~ pushContext ("DoxygenLua","SL_Tag2ndWord"))+   ((pRegExpr regex_'5cS'28'3f'3d'28'5b'5d'5b'2c'3f'3b'28'29'5d'7c'5c'2e'24'7c'5c'2e'3f'5cs'29'29 >>= withAttribute CommentVarTok) >>~ pushContext ("DoxygenLua","SL_Tag2ndWord"))    <|>-   ((pRegExpr regex_'5cS >>= withAttribute KeywordTok))+   ((pRegExpr regex_'5cS >>= withAttribute CommentVarTok))    <|>-   (currentContext >>= \x -> guard (x == ("DoxygenLua","SL_TagWordWord")) >> pDefault >>= withAttribute CommentTok))+   (currentContext >>= \x -> guard (x == ("DoxygenLua","SL_TagWordWord")) >> pDefault >>= withAttribute DocumentationTok))  parseRules ("DoxygenLua","SL_Tag2ndWord") =-  (((pDetectSpaces >>= withAttribute CommentTok))+  (((pDetectSpaces >>= withAttribute DocumentationTok))    <|>-   ((pRegExpr regex_'5cS'28'3f'3d'28'5b'5d'5b'2c'3f'3b'28'29'5d'7c'5c'2e'24'7c'5c'2e'3f'5cs'29'29 >>= withAttribute KeywordTok) >>~ (popContext >> popContext))+   ((pRegExpr regex_'5cS'28'3f'3d'28'5b'5d'5b'2c'3f'3b'28'29'5d'7c'5c'2e'24'7c'5c'2e'3f'5cs'29'29 >>= withAttribute CommentVarTok) >>~ (popContext >> popContext))    <|>-   ((pRegExpr regex_'5cS >>= withAttribute KeywordTok))+   ((pRegExpr regex_'5cS >>= withAttribute CommentVarTok))    <|>-   (currentContext >>= \x -> guard (x == ("DoxygenLua","SL_Tag2ndWord")) >> pDefault >>= withAttribute CommentTok))+   (currentContext >>= \x -> guard (x == ("DoxygenLua","SL_Tag2ndWord")) >> pDefault >>= withAttribute DocumentationTok))  parseRules ("DoxygenLua","SL_TagString") =-  (((pDetectSpaces >>= withAttribute CommentTok))+  (((pDetectSpaces >>= withAttribute DocumentationTok))    <|>    ((pString False "<!--" >>= withAttribute CommentTok) >>~ pushContext ("DoxygenLua","SL_htmlcomment"))    <|>-   ((pDetect2Chars False '<' '<' >>= withAttribute CommentTok))+   ((pDetect2Chars False '<' '<' >>= withAttribute DocumentationTok))    <|>    ((pRegExpr regex_'3c'5cs'2a'5c'2f'3f'5cs'2a'5ba'2dzA'2dZ'5f'3a'5d'5ba'2dzA'2dZ0'2d9'2e'5f'3a'2d'5d'2a >>= withAttribute KeywordTok) >>~ pushContext ("DoxygenLua","SL_htmltag"))    <|>    ((pRegExpr regex_'2e >>= withAttribute StringTok))    <|>-   (currentContext >>= \x -> guard (x == ("DoxygenLua","SL_TagString")) >> pDefault >>= withAttribute CommentTok))+   (currentContext >>= \x -> guard (x == ("DoxygenLua","SL_TagString")) >> pDefault >>= withAttribute DocumentationTok))  parseRules ("DoxygenLua","SL_TagWordString") =-  (((pDetectSpaces >>= withAttribute CommentTok))+  (((pDetectSpaces >>= withAttribute DocumentationTok))    <|>-   ((pRegExpr regex_'5cS'28'3f'3d'28'5b'5d'5b'2c'3f'3b'28'29'5d'7c'5c'2e'24'7c'5c'2e'3f'5cs'29'29 >>= withAttribute KeywordTok) >>~ (popContext))+   ((pRegExpr regex_'5cS'28'3f'3d'28'5b'5d'5b'2c'3f'3b'28'29'5d'7c'5c'2e'24'7c'5c'2e'3f'5cs'29'29 >>= withAttribute CommentVarTok) >>~ (popContext))    <|>-   ((pRegExpr regex_'5cS >>= withAttribute KeywordTok))+   ((pRegExpr regex_'5cS >>= withAttribute CommentVarTok))    <|>-   (currentContext >>= \x -> guard (x == ("DoxygenLua","SL_TagWordString")) >> pDefault >>= withAttribute CommentTok))+   (currentContext >>= \x -> guard (x == ("DoxygenLua","SL_TagWordString")) >> pDefault >>= withAttribute DocumentationTok))  parseRules ("DoxygenLua","SL_htmltag") =   (((pDetect2Chars False '/' '>' >>= withAttribute KeywordTok) >>~ (popContext))
Text/Highlighting/Kate/Syntax/Dtd.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file dtd.xml, version 1.02, by Andriy Lesyuk (s-andy@in.if.ua) -}+   highlighting file dtd.xml, version 2, by Andriy Lesyuk (s-andy@in.if.ua) -}  module Text.Highlighting.Kate.Syntax.Dtd           (highlight, parseExpression, syntaxName, syntaxExtensions)
Text/Highlighting/Kate/Syntax/Eiffel.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file eiffel.xml, version 1.02, by Sebastian Vuorinen -}+   highlighting file eiffel.xml, version 2, by Sebastian Vuorinen -}  module Text.Highlighting.Kate.Syntax.Eiffel           (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -67,7 +67,7 @@ parseRules ("Eiffel","Normal") =   (((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_keywords >>= withAttribute KeywordTok))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_predefined'2dentities >>= withAttribute OtherTok))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_predefined'2dentities >>= withAttribute ConstantTok))    <|>    ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_assertions >>= withAttribute OtherTok))    <|>
+ Text/Highlighting/Kate/Syntax/Elixir.hs view
@@ -0,0 +1,268 @@+{- This module was generated from data in the Kate syntax+   highlighting file elixir.xml, version 1, by Rubén Caro (ruben.caro.estevez@gmail.com), Boris Egorov (egorov@linux.com) -}++module Text.Highlighting.Kate.Syntax.Elixir+          (highlight, parseExpression, syntaxName, syntaxExtensions)+where+import Text.Highlighting.Kate.Types+import Text.Highlighting.Kate.Common+import qualified Text.Highlighting.Kate.Syntax.Markdown+import Text.ParserCombinators.Parsec hiding (State)+import Control.Monad.State+import Data.Char (isSpace)+import qualified Data.Set as Set++-- | Full name of language.+syntaxName :: String+syntaxName = "Elixir"++-- | Filename extensions for this language.+syntaxExtensions :: String+syntaxExtensions = "*.ex;*.exs;*.eex;*.xml.eex;*.js.eex"++-- | Highlight source code using this syntax definition.+highlight :: String -> [SourceLine]+highlight input = evalState (mapM parseSourceLine $ lines input) startingState++parseSourceLine :: String -> State SyntaxState SourceLine+parseSourceLine = mkParseSourceLine (parseExpression Nothing)++-- | Parse an expression using appropriate local context.+parseExpression :: Maybe (String,String)+                -> KateParser Token+parseExpression mbcontext = do+  (lang,cont) <- maybe currentContext return mbcontext+  result <- parseRules (lang,cont)+  optional $ do eof+                updateState $ \st -> st{ synStPrevChar = '\n' }+                pEndLine+  return result++startingState = SyntaxState {synStContexts = [("Elixir","Normal")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStContinuation = False, synStCaseSensitive = True, synStKeywordCaseSensitive = True, synStCaptures = []}++pEndLine = do+  updateState $ \st -> st{ synStPrevNonspace = False }+  context <- currentContext+  contexts <- synStContexts `fmap` getState+  st <- getState+  if length contexts >= 2+    then case context of+      _ | synStContinuation st -> updateState $ \st -> st{ synStContinuation = False }+      ("Elixir","Normal") -> return ()+      ("Elixir","Find closing block brace") -> return ()+      ("Elixir","Documentation") -> return ()+      ("Elixir","Triple Quoted String") -> return ()+      ("Elixir","Quoted String") -> return ()+      ("Elixir","Apostrophed String") -> return ()+      ("Elixir","Subst") -> return ()+      ("Elixir","Short Subst") -> (popContext) >> pEndLine+      ("Elixir","Comment Line") -> (popContext) >> pEndLine+      ("Elixir","General Comment") -> (popContext) >> pEndLine+      ("Elixir","regexpr_rules") -> return ()+      ("Elixir","Markdown Code") -> return ()+      _ -> return ()+    else return ()++withAttribute attr txt = do+  when (null txt) $ fail "Parser matched no text"+  updateState $ \st -> st { synStPrevChar = last txt+                          , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) }+  return (attr, txt)++list_control'2dflow = Set.fromList $ words $ "catch cond else if raise rescue throw try unless"+list_keywords = Set.fromList $ words $ "do end case bc lc for receive exit after quote unquote super and not or when xor in inlist inbits"+list_pseudo'2dvariables = Set.fromList $ words $ "nil true false"+list_definitions = Set.fromList $ words $ "fn defmodule def defp defprotocol defimpl defrecord defstruct defmacro defmacrop defdelegate defcallback defmacrocallback defexception defoverridable"+list_mixin'2dmacros = Set.fromList $ words $ "import require alias use"++regex_'23'21'5c'2f'2e'2a = compileRegex True "#!\\/.*"+regex_'5cb'5b'5fA'2dZ'5d'2b'5bA'2dZ'5f0'2d9'5d'2b'5cb = compileRegex True "\\b[_A-Z]+[A-Z_0-9]+\\b"+regex_'5cb'5bA'2dZ'5d'2b'5f'2a'28'5b0'2d9'5d'7c'5ba'2dz'5d'29'5b'5fa'2dzA'2dZ0'2d9'5d'2a'5cb = compileRegex True "\\b[A-Z]+_*([0-9]|[a-z])[_a-zA-Z0-9]*\\b"+regex_'5cb'5c'2d'3f0'5bxX'5d'28'5b0'2d9a'2dfA'2dF'5d'7c'5f'5b0'2d9a'2dfA'2dF'5d'29'2b = compileRegex True "\\b\\-?0[xX]([0-9a-fA-F]|_[0-9a-fA-F])+"+regex_'5cb'5c'2d'3f0'5bbB'5d'28'5b01'5d'7c'5f'5b01'5d'29'2b = compileRegex True "\\b\\-?0[bB]([01]|_[01])+"+regex_'5cb'5c'2d'3f0'5b1'2d7'5d'28'5b0'2d7'5d'7c'5f'5b0'2d7'5d'29'2a = compileRegex True "\\b\\-?0[1-7]([0-7]|_[0-7])*"+regex_'5cb'5c'2d'3f'5b0'2d9'5d'28'5b0'2d9'5d'7c'5f'5b0'2d9'5d'29'2a'5c'2e'5b0'2d9'5d'28'5b0'2d9'5d'7c'5f'5b0'2d9'5d'29'2a'28'5beE'5d'5c'2d'3f'5b1'2d9'5d'28'5b0'2d9'5d'7c'5f'5b0'2d9'5d'29'2a'28'5c'2e'5b0'2d9'5d'2a'29'3f'29'3f = compileRegex True "\\b\\-?[0-9]([0-9]|_[0-9])*\\.[0-9]([0-9]|_[0-9])*([eE]\\-?[1-9]([0-9]|_[0-9])*(\\.[0-9]*)?)?"+regex_'5cb'5c'2d'3f'5b1'2d9'5d'28'5b0'2d9'5d'7c'5f'5b0'2d9'5d'29'2a'5cb = compileRegex True "\\b\\-?[1-9]([0-9]|_[0-9])*\\b"+regex_'5cs'5b'5c'3f'5c'3a'5c'25'5d'5cs = compileRegex True "\\s[\\?\\:\\%]\\s"+regex_'5b'7c'26'3c'3e'5c'5e'5c'2b'2a'7e'5c'2d'3d'2f'5d'2b = compileRegex True "[|&<>\\^\\+*~\\-=/]+"+regex_'5cs'21 = compileRegex True "\\s!"+regex_'2f'3d'5cs = compileRegex True "/=\\s"+regex_'3a'28'40'7b1'2c2'7d'7c'5c'24'29'3f'5ba'2dzA'2dZ'5f'5d'5ba'2dzA'2dZ0'2d9'5f'5d'2a'5b'3d'3f'21'5d'3f = compileRegex True ":(@{1,2}|\\$)?[a-zA-Z_][a-zA-Z0-9_]*[=?!]?"+regex_'5cb'28'40'7b1'2c2'7d'7c'5c'24'29'3f'5ba'2dzA'2dZ'5f'5d'5ba'2dzA'2dZ0'2d9'5f'5d'2a'5b'3d'3f'21'5d'3f'3a = compileRegex True "\\b(@{1,2}|\\$)?[a-zA-Z_][a-zA-Z0-9_]*[=?!]?:"+regex_'3a'5c'5b'5c'5d'3d'3f = compileRegex True ":\\[\\]=?"+regex_'40'28module'29'3fdoc'5cs'2b'22'22'22 = compileRegex True "@(module)?doc\\s+\"\"\""+regex_'40'5ba'2dzA'2dZ'5f0'2d9'5d'2b = compileRegex True "@[a-zA-Z_0-9]+"+regex_'5cs'2a'23'2b'5cs'2e'2a'5b'23'5d'3f'24 = compileRegex True "\\s*#+\\s.*[#]?$"+regex_'5cs'2a'5b'5c'2a'5c'2b'5c'2d'5d'5cs = compileRegex True "\\s*[\\*\\+\\-]\\s"+regex_'5cs'2a'5b'5cd'5d'2b'5c'2e'5cs = compileRegex True "\\s*[\\d]+\\.\\s"+regex_'5cs'2a'5c'60'5c'60'5c'60'5cs'2a'24 = compileRegex True "\\s*\\`\\`\\`\\s*$"+regex_'5c'5c'5c'22 = compileRegex True "\\\\\\\""+regex_'23'40'7b1'2c2'7d = compileRegex True "#@{1,2}"+regex_'5c'5c'5c'27 = compileRegex True "\\\\\\'"+regex_'5cw'28'3f'21'5cw'29 = compileRegex True "\\w(?!\\w)"++parseRules ("Elixir","Normal") =+  (((pColumn 0 >> pRegExpr regex_'23'21'5c'2f'2e'2a >>= withAttribute KeywordTok))+   <|>+   ((pKeyword " \n\t.():+,-<=>%&*/;[]^{|}~\\" list_keywords >>= withAttribute KeywordTok))+   <|>+   ((pKeyword " \n\t.():+,-<=>%&*/;[]^{|}~\\" list_control'2dflow >>= withAttribute ControlFlowTok))+   <|>+   ((pKeyword " \n\t.():+,-<=>%&*/;[]^{|}~\\" list_definitions >>= withAttribute KeywordTok))+   <|>+   ((pKeyword " \n\t.():+,-<=>%&*/;[]^{|}~\\" list_pseudo'2dvariables >>= withAttribute ConstantTok))+   <|>+   ((pKeyword " \n\t.():+,-<=>%&*/;[]^{|}~\\" list_mixin'2dmacros >>= withAttribute ImportTok))+   <|>+   ((pRegExpr regex_'5cb'5b'5fA'2dZ'5d'2b'5bA'2dZ'5f0'2d9'5d'2b'5cb >>= withAttribute ConstantTok))+   <|>+   ((pRegExpr regex_'5cb'5bA'2dZ'5d'2b'5f'2a'28'5b0'2d9'5d'7c'5ba'2dz'5d'29'5b'5fa'2dzA'2dZ0'2d9'5d'2a'5cb >>= withAttribute ConstantTok))+   <|>+   ((pRegExpr regex_'5cb'5c'2d'3f0'5bxX'5d'28'5b0'2d9a'2dfA'2dF'5d'7c'5f'5b0'2d9a'2dfA'2dF'5d'29'2b >>= withAttribute BaseNTok))+   <|>+   ((pRegExpr regex_'5cb'5c'2d'3f0'5bbB'5d'28'5b01'5d'7c'5f'5b01'5d'29'2b >>= withAttribute BaseNTok))+   <|>+   ((pRegExpr regex_'5cb'5c'2d'3f0'5b1'2d7'5d'28'5b0'2d7'5d'7c'5f'5b0'2d7'5d'29'2a >>= withAttribute BaseNTok))+   <|>+   ((pRegExpr regex_'5cb'5c'2d'3f'5b0'2d9'5d'28'5b0'2d9'5d'7c'5f'5b0'2d9'5d'29'2a'5c'2e'5b0'2d9'5d'28'5b0'2d9'5d'7c'5f'5b0'2d9'5d'29'2a'28'5beE'5d'5c'2d'3f'5b1'2d9'5d'28'5b0'2d9'5d'7c'5f'5b0'2d9'5d'29'2a'28'5c'2e'5b0'2d9'5d'2a'29'3f'29'3f >>= withAttribute FloatTok))+   <|>+   ((pRegExpr regex_'5cb'5c'2d'3f'5b1'2d9'5d'28'5b0'2d9'5d'7c'5f'5b0'2d9'5d'29'2a'5cb >>= withAttribute DecValTok))+   <|>+   ((pInt >>= withAttribute DecValTok))+   <|>+   ((pHlCChar >>= withAttribute CharTok))+   <|>+   ((pDetectChar False '.' >>= withAttribute OperatorTok))+   <|>+   ((pDetect2Chars False '&' '&' >>= withAttribute OperatorTok))+   <|>+   ((pDetect2Chars False '|' '|' >>= withAttribute OperatorTok))+   <|>+   ((pRegExpr regex_'5cs'5b'5c'3f'5c'3a'5c'25'5d'5cs >>= withAttribute OperatorTok))+   <|>+   ((pRegExpr regex_'5b'7c'26'3c'3e'5c'5e'5c'2b'2a'7e'5c'2d'3d'2f'5d'2b >>= withAttribute OperatorTok))+   <|>+   ((pRegExpr regex_'5cs'21 >>= withAttribute OperatorTok))+   <|>+   ((pRegExpr regex_'2f'3d'5cs >>= withAttribute OperatorTok))+   <|>+   ((pString False "%=" >>= withAttribute OperatorTok))+   <|>+   ((pRegExpr regex_'3a'28'40'7b1'2c2'7d'7c'5c'24'29'3f'5ba'2dzA'2dZ'5f'5d'5ba'2dzA'2dZ0'2d9'5f'5d'2a'5b'3d'3f'21'5d'3f >>= withAttribute VariableTok))+   <|>+   ((pRegExpr regex_'5cb'28'40'7b1'2c2'7d'7c'5c'24'29'3f'5ba'2dzA'2dZ'5f'5d'5ba'2dzA'2dZ0'2d9'5f'5d'2a'5b'3d'3f'21'5d'3f'3a >>= withAttribute VariableTok))+   <|>+   ((pRegExpr regex_'3a'5c'5b'5c'5d'3d'3f >>= withAttribute VariableTok))+   <|>+   ((pRegExpr regex_'40'28module'29'3fdoc'5cs'2b'22'22'22 >>= withAttribute OtherTok) >>~ pushContext ("Elixir","Documentation"))+   <|>+   ((pString False "\"\"\"" >>= withAttribute StringTok) >>~ pushContext ("Elixir","Triple Quoted String"))+   <|>+   ((pDetectChar False '"' >>= withAttribute StringTok) >>~ pushContext ("Elixir","Quoted String"))+   <|>+   ((pDetectChar False '\'' >>= withAttribute VerbatimStringTok) >>~ pushContext ("Elixir","Apostrophed String"))+   <|>+   ((pString False "?#" >>= withAttribute NormalTok))+   <|>+   ((pDetectChar False '#' >>= withAttribute CommentTok) >>~ pushContext ("Elixir","General Comment"))+   <|>+   ((pDetectChar False '[' >>= withAttribute NormalTok))+   <|>+   ((pDetectChar False ']' >>= withAttribute NormalTok))+   <|>+   ((pRegExpr regex_'40'5ba'2dzA'2dZ'5f0'2d9'5d'2b >>= withAttribute OtherTok))+   <|>+   ((pDetectChar False ')' >>= withAttribute NormalTok))+   <|>+   ((pDetectIdentifier >>= withAttribute NormalTok))+   <|>+   (currentContext >>= \x -> guard (x == ("Elixir","Normal")) >> pDefault >>= withAttribute NormalTok))++parseRules ("Elixir","Find closing block brace") =+  (((pDetectChar False '}' >>= withAttribute OperatorTok) >>~ (popContext))+   <|>+   ((parseRules ("Elixir","Normal")))+   <|>+   (currentContext >>= \x -> guard (x == ("Elixir","Find closing block brace")) >> pDefault >>= withAttribute NormalTok))++parseRules ("Elixir","Documentation") =+  (((pString False "\"\"\"" >>= withAttribute OtherTok) >>~ (popContext))+   <|>+   ((pColumn 0 >> pRegExpr regex_'5cs'2a'23'2b'5cs'2e'2a'5b'23'5d'3f'24 >>= withAttribute FunctionTok))+   <|>+   ((pColumn 0 >> pRegExpr regex_'5cs'2a'5b'5c'2a'5c'2b'5c'2d'5d'5cs >>= withAttribute FunctionTok))+   <|>+   ((pColumn 0 >> pRegExpr regex_'5cs'2a'5b'5cd'5d'2b'5c'2e'5cs >>= withAttribute FunctionTok))+   <|>+   ((pColumn 0 >> pRegExpr regex_'5cs'2a'5c'60'5c'60'5c'60'5cs'2a'24 >>= withAttribute FunctionTok) >>~ pushContext ("Elixir","Markdown Code"))+   <|>+   ((pDetectSpaces >>= withAttribute CommentTok))+   <|>+   ((Text.Highlighting.Kate.Syntax.Markdown.parseExpression (Just ("Markdown","Normal Text")) >>= ((withAttribute CommentTok) . snd)))+   <|>+   (currentContext >>= \x -> guard (x == ("Elixir","Documentation")) >> pDefault >>= withAttribute CommentTok))++parseRules ("Elixir","Triple Quoted String") =+  (((pString False "\"\"\"" >>= withAttribute StringTok) >>~ (popContext))+   <|>+   (currentContext >>= \x -> guard (x == ("Elixir","Triple Quoted String")) >> pDefault >>= withAttribute StringTok))++parseRules ("Elixir","Quoted String") =+  (((pString False "\\\\" >>= withAttribute StringTok))+   <|>+   ((pRegExpr regex_'5c'5c'5c'22 >>= withAttribute StringTok))+   <|>+   ((pRegExpr regex_'23'40'7b1'2c2'7d >>= withAttribute OtherTok) >>~ pushContext ("Elixir","Short Subst"))+   <|>+   ((pDetect2Chars False '#' '{' >>= withAttribute OtherTok) >>~ pushContext ("Elixir","Subst"))+   <|>+   ((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext))+   <|>+   (currentContext >>= \x -> guard (x == ("Elixir","Quoted String")) >> pDefault >>= withAttribute StringTok))++parseRules ("Elixir","Apostrophed String") =+  (((pString False "\\\\" >>= withAttribute StringTok))+   <|>+   ((pRegExpr regex_'5c'5c'5c'27 >>= withAttribute StringTok))+   <|>+   ((pDetectChar False '\'' >>= withAttribute VerbatimStringTok) >>~ (popContext))+   <|>+   (currentContext >>= \x -> guard (x == ("Elixir","Apostrophed String")) >> pDefault >>= withAttribute VerbatimStringTok))++parseRules ("Elixir","Subst") =+  (((pDetectChar False '}' >>= withAttribute OtherTok) >>~ (popContext))+   <|>+   ((parseRules ("Elixir","Normal")))+   <|>+   (currentContext >>= \x -> guard (x == ("Elixir","Subst")) >> pDefault >>= withAttribute NormalTok))++parseRules ("Elixir","Short Subst") =+  (((pRegExpr regex_'23'40'7b1'2c2'7d >>= withAttribute OtherTok))+   <|>+   ((pRegExpr regex_'5cw'28'3f'21'5cw'29 >>= withAttribute OtherTok) >>~ (popContext))+   <|>+   (currentContext >>= \x -> guard (x == ("Elixir","Short Subst")) >> pDefault >>= withAttribute OtherTok))++parseRules ("Elixir","Comment Line") =+  (currentContext >>= \x -> guard (x == ("Elixir","Comment Line")) >> pDefault >>= withAttribute CommentTok)++parseRules ("Elixir","General Comment") =+  (currentContext >>= \x -> guard (x == ("Elixir","General Comment")) >> pDefault >>= withAttribute CommentTok)++parseRules ("Elixir","regexpr_rules") =+  (((pDetect2Chars False '\\' '\\' >>= withAttribute SpecialStringTok))+   <|>+   ((pRegExpr regex_'23'40'7b1'2c2'7d >>= withAttribute OtherTok) >>~ pushContext ("Elixir","Short Subst"))+   <|>+   ((pDetect2Chars False '#' '{' >>= withAttribute OtherTok) >>~ pushContext ("Elixir","Subst"))+   <|>+   (currentContext >>= \x -> guard (x == ("Elixir","regexpr_rules")) >> pDefault >>= withAttribute SpecialStringTok))++parseRules ("Elixir","Markdown Code") =+  (((pColumn 0 >> pRegExpr regex_'5cs'2a'5c'60'5c'60'5c'60'5cs'2a'24 >>= withAttribute FunctionTok) >>~ (popContext))+   <|>+   (currentContext >>= \x -> guard (x == ("Elixir","Markdown Code")) >> pDefault >>= withAttribute FunctionTok))++parseRules ("Markdown", _) = Text.Highlighting.Kate.Syntax.Markdown.parseExpression Nothing++parseRules x = parseRules ("Elixir","Normal") <|> fail ("Unknown context" ++ show x)
Text/Highlighting/Kate/Syntax/Email.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file email.xml, version 1.01, by Carl A Joslin (carl.joslin@joslin.dyndns.org) -}+   highlighting file email.xml, version 2, by Carl A Joslin (carl.joslin@joslin.dyndns.org) -}  module Text.Highlighting.Kate.Syntax.Email           (highlight, parseExpression, syntaxName, syntaxExtensions)
Text/Highlighting/Kate/Syntax/Erlang.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file erlang.xml, version 1.03, by Bill Ross (bill@emailme.net.au) -}+   highlighting file erlang.xml, version 2, by Bill Ross (bill@emailme.net.au) -}  module Text.Highlighting.Kate.Syntax.Erlang           (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -85,9 +85,9 @@    <|>    ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_keywords >>= withAttribute KeywordTok))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_operators >>= withAttribute KeywordTok))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_operators >>= withAttribute OperatorTok))    <|>-   ((pRegExpr regex_'28'3f'3a'5c'2b'7c'2d'7c'5c'2a'7c'5c'2f'7c'3d'3d'7c'5c'2f'3d'7c'3d'3a'3d'7c'3d'5c'2f'3d'7c'3c'7c'3d'3c'7c'3e'7c'3e'3d'7c'5c'2b'5c'2b'7c'2d'2d'7c'3d'7c'21'7c'3c'2d'29 >>= withAttribute KeywordTok))+   ((pRegExpr regex_'28'3f'3a'5c'2b'7c'2d'7c'5c'2a'7c'5c'2f'7c'3d'3d'7c'5c'2f'3d'7c'3d'3a'3d'7c'3d'5c'2f'3d'7c'3c'7c'3d'3c'7c'3e'7c'3e'3d'7c'5c'2b'5c'2b'7c'2d'2d'7c'3d'7c'21'7c'3c'2d'29 >>= withAttribute OperatorTok))    <|>    ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_functions >>= withAttribute FunctionTok))    <|>@@ -101,7 +101,7 @@    <|>    ((lookAhead (pRegExpr regex_'5cb'5ba'2dz'5d'5b'5fa'2dz'40'2dZ0'2d9'5d'2a'28'3f'3a'28'3f'3d'5b'5e'5fa'2dz'40'2dZ0'2d9'5d'29'7c'24'29'5c'28) >> pushContext ("Erlang","isfunction") >> currentContext >>= parseRules))    <|>-   ((pRegExpr regex_'5cb'5b'5fA'2dZ'5d'5b'5fa'2dz'40'2dZ0'2d9'5d'2a'28'3f'3a'28'3f'3d'5b'5e'5fa'2dz'40'2dZ0'2d9'5d'29'7c'24'29 >>= withAttribute DataTypeTok))+   ((pRegExpr regex_'5cb'5b'5fA'2dZ'5d'5b'5fa'2dz'40'2dZ0'2d9'5d'2a'28'3f'3a'28'3f'3d'5b'5e'5fa'2dz'40'2dZ0'2d9'5d'29'7c'24'29 >>= withAttribute VariableTok))    <|>    ((pDetectChar False '\'' >>= withAttribute CharTok) >>~ pushContext ("Erlang","atomquote"))    <|>
Text/Highlighting/Kate/Syntax/Fasm.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file fasm.xml, version 0.2, by rCX (rCX12@yahoo.com) -}+   highlighting file fasm.xml, version 1, by rCX (rCX12@yahoo.com) -}  module Text.Highlighting.Kate.Syntax.Fasm           (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -76,11 +76,11 @@    <|>    ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_Data >>= withAttribute DataTypeTok))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_instructions >>= withAttribute KeywordTok))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_instructions >>= withAttribute BuiltInTok))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_Instruction'2dlike_Keywords >>= withAttribute KeywordTok))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_Instruction'2dlike_Keywords >>= withAttribute BuiltInTok))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_Preprocessor_Keywords >>= withAttribute OtherTok))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_Preprocessor_Keywords >>= withAttribute PreprocessorTok))    <|>    ((pDetectChar False ';' >>= withAttribute CommentTok) >>~ pushContext ("Intel x86 (FASM)","Comment"))    <|>@@ -88,7 +88,7 @@    <|>    ((pColumn 0 >> pRegExpr regex_'5cs'2a'5bA'2dZa'2dz0'2d9'40'5f'2e'24'3f'5d'2b'3a >>= withAttribute FunctionTok))    <|>-   ((pRegExpr regex_'28cmov'7cfcmov'7cj'7cloop'7cset'29'28a'7cae'7cb'7cbe'7cc'7ce'7cg'7cge'7cl'7cle'7cna'7cnae'7cnb'7cnbe'7cnc'7cne'7cng'7cnge'7cnl'7cnle'7cno'7cnp'7cns'7cnz'7co'7cp'7cpe'7cpo'7cs'7cz'29 >>= withAttribute KeywordTok))+   ((pRegExpr regex_'28cmov'7cfcmov'7cj'7cloop'7cset'29'28a'7cae'7cb'7cbe'7cc'7ce'7cg'7cge'7cl'7cle'7cna'7cnae'7cnb'7cnbe'7cnc'7cne'7cng'7cnge'7cnl'7cnle'7cno'7cnp'7cns'7cnz'7co'7cp'7cpe'7cpo'7cs'7cz'29 >>= withAttribute BuiltInTok))    <|>    ((pRegExpr regex_'28'5e'7c'5b_'5ct'2c'5d'2b'29'28'28'5c'24'7c0x'29'7b1'7d'5b0'2d9'5d'2b'5ba'2df0'2d9'5d'2a'7c'5ba'2df0'2d9'5d'2bh'29'28'5b_'5ct'2c'5d'2b'7c'24'29 >>= withAttribute BaseNTok))    <|>@@ -112,7 +112,7 @@   (currentContext >>= \x -> guard (x == ("Intel x86 (FASM)","Comment")) >> pDefault >>= withAttribute CommentTok)  parseRules ("Intel x86 (FASM)","Preprocessor") =-  (currentContext >>= \x -> guard (x == ("Intel x86 (FASM)","Preprocessor")) >> pDefault >>= withAttribute OtherTok)+  (currentContext >>= \x -> guard (x == ("Intel x86 (FASM)","Preprocessor")) >> pDefault >>= withAttribute PreprocessorTok)  parseRules ("Intel x86 (FASM)","String") =   (((pAnyChar "\"'" >>= withAttribute StringTok) >>~ (popContext))
Text/Highlighting/Kate/Syntax/Fortran.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file fortran.xml, version 1.13, by Franchin Matteo (fnch@libero.it) -}+   highlighting file fortran.xml, version 2, by Franchin Matteo (fnch@libero.it) -}  module Text.Highlighting.Kate.Syntax.Fortran           (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -165,11 +165,11 @@    (currentContext >>= \x -> guard (x == ("Fortran","find_preprocessor")) >> pDefault >>= withAttribute NormalTok))  parseRules ("Fortran","find_op_and_log") =-  (((pRegExpr regex_'5c'2e'28true'7cfalse'29'5c'2e >>= withAttribute OtherTok))+  (((pRegExpr regex_'5c'2e'28true'7cfalse'29'5c'2e >>= withAttribute ConstantTok))    <|>-   ((pRegExpr regex_'5c'2e'5bA'2dZa'2dz'5d'2b'5c'2e >>= withAttribute KeywordTok))+   ((pRegExpr regex_'5c'2e'5bA'2dZa'2dz'5d'2b'5c'2e >>= withAttribute OperatorTok))    <|>-   ((pRegExpr regex_'28'3d'3d'7c'2f'3d'7c'3c'7c'3c'3d'7c'3e'7c'3e'3d'29 >>= withAttribute KeywordTok))+   ((pRegExpr regex_'28'3d'3d'7c'2f'3d'7c'3c'7c'3c'3d'7c'3e'7c'3e'3d'29 >>= withAttribute OperatorTok))    <|>    (currentContext >>= \x -> guard (x == ("Fortran","find_op_and_log")) >> pDefault >>= withAttribute NormalTok)) @@ -329,13 +329,13 @@ parseRules ("Fortran","find_intrinsics") =   (((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_keywords >>= withAttribute KeywordTok))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_elemental'5fprocs >>= withAttribute KeywordTok))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_elemental'5fprocs >>= withAttribute BuiltInTok))    <|>    ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_inquiry'5ffn >>= withAttribute FunctionTok))    <|>    ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_transform'5ffn >>= withAttribute FunctionTok))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_non'5felem'5fsubr >>= withAttribute KeywordTok))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_non'5felem'5fsubr >>= withAttribute FunctionTok))    <|>    (currentContext >>= \x -> guard (x == ("Fortran","find_intrinsics")) >> pDefault >>= withAttribute NormalTok)) 
Text/Highlighting/Kate/Syntax/Fsharp.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file fsharp.xml, version 0.1, by Bas Bossink (bas.bossink@gmail.com) -}+   highlighting file fsharp.xml, version 2, by Bas Bossink (bas.bossink@gmail.com) -}  module Text.Highlighting.Kate.Syntax.Fsharp           (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -79,13 +79,13 @@ list_done = Set.fromList $ words $ "done" list_module'5fenvironment = Set.fromList $ words $ "module open" -regex_'60'5cs'2a'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c0377'5f'5d'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c03770'2d9'5f'27'5d'2a = compileRegex True "`\\s*[A-Za-z\\0300-\\0326\\0330-\\0366\\0370-\\0377_][A-Za-z\\0300-\\0326\\0330-\\0366\\0370-\\03770-9_']*"-regex_'5bA'2dZ'5d'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c03770'2d9'5f'27'5d'2a'5cs'2a'5c'2e = compileRegex True "[A-Z][A-Za-z\\0300-\\0326\\0330-\\0366\\0370-\\03770-9_']*\\s*\\."-regex_'5bA'2dZ'5d'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c03770'2d9'5f'27'5d'2a = compileRegex True "[A-Z][A-Za-z\\0300-\\0326\\0330-\\0366\\0370-\\03770-9_']*"-regex_'23'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c0377'5f'5d'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c03770'2d9'5f'27'5d'2a'2e'2a'24 = compileRegex True "#[A-Za-z\\0300-\\0326\\0330-\\0366\\0370-\\0377_][A-Za-z\\0300-\\0326\\0330-\\0366\\0370-\\03770-9_']*.*$"+regex_'60'5cs'2a'5bA'2dZa'2dz'5c300'2d'5c326'5c330'2d'5c366'5c370'2d'5c377'5f'5d'5bA'2dZa'2dz'5c300'2d'5c326'5c330'2d'5c366'5c370'2d'5c3770'2d9'5f'27'5d'2a = compileRegex True "`\\s*[A-Za-z\\300-\\326\\330-\\366\\370-\\377_][A-Za-z\\300-\\326\\330-\\366\\370-\\3770-9_']*"+regex_'5bA'2dZ'5d'5bA'2dZa'2dz'5c300'2d'5c326'5c330'2d'5c366'5c370'2d'5c3770'2d9'5f'27'5d'2a'5cs'2a'5c'2e = compileRegex True "[A-Z][A-Za-z\\300-\\326\\330-\\366\\370-\\3770-9_']*\\s*\\."+regex_'5bA'2dZ'5d'5bA'2dZa'2dz'5c300'2d'5c326'5c330'2d'5c366'5c370'2d'5c3770'2d9'5f'27'5d'2a = compileRegex True "[A-Z][A-Za-z\\300-\\326\\330-\\366\\370-\\3770-9_']*"+regex_'23'5bA'2dZa'2dz'5c300'2d'5c326'5c330'2d'5c366'5c370'2d'5c377'5f'5d'5bA'2dZa'2dz'5c300'2d'5c326'5c330'2d'5c366'5c370'2d'5c3770'2d9'5f'27'5d'2a'2e'2a'24 = compileRegex True "#[A-Za-z\\300-\\326\\330-\\366\\370-\\377_][A-Za-z\\300-\\326\\330-\\366\\370-\\3770-9_']*.*$" regex_'27'28'28'5c'5c'5bntbr'27'22'5c'5c'5d'7c'5c'5c'5b0'2d9'5d'7b3'7d'7c'5c'5cx'5b0'2d9A'2dFa'2df'5d'7b2'7d'29'7c'5b'5e'27'5d'29'27 = compileRegex True "'((\\\\[ntbr'\"\\\\]|\\\\[0-9]{3}|\\\\x[0-9A-Fa-f]{2})|[^'])'"-regex_'3c'3a'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c0377'5f'5d'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c03770'2d9'5f'27'5d'2a'3c = compileRegex True "<:[A-Za-z\\0300-\\0326\\0330-\\0366\\0370-\\0377_][A-Za-z\\0300-\\0326\\0330-\\0366\\0370-\\03770-9_']*<"-regex_'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c0377'5f'5d'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c03770'2d9'5f'27'5d'2a = compileRegex True "[A-Za-z\\0300-\\0326\\0330-\\0366\\0370-\\0377_][A-Za-z\\0300-\\0326\\0330-\\0366\\0370-\\03770-9_']*"+regex_'3c'3a'5bA'2dZa'2dz'5c300'2d'5c326'5c330'2d'5c366'5c370'2d'5c377'5f'5d'5bA'2dZa'2dz'5c300'2d'5c326'5c330'2d'5c366'5c370'2d'5c3770'2d9'5f'27'5d'2a'3c = compileRegex True "<:[A-Za-z\\300-\\326\\330-\\366\\370-\\377_][A-Za-z\\300-\\326\\330-\\366\\370-\\3770-9_']*<"+regex_'5bA'2dZa'2dz'5c300'2d'5c326'5c330'2d'5c366'5c370'2d'5c377'5f'5d'5bA'2dZa'2dz'5c300'2d'5c326'5c330'2d'5c366'5c370'2d'5c3770'2d9'5f'27'5d'2a = compileRegex True "[A-Za-z\\300-\\326\\330-\\366\\370-\\377_][A-Za-z\\300-\\326\\330-\\366\\370-\\3770-9_']*" regex_'2d'3f0'5bxX'5d'5b0'2d9A'2dFa'2df'5f'5d'2b = compileRegex True "-?0[xX][0-9A-Fa-f_]+" regex_'2d'3f0'5boO'5d'5b0'2d7'5f'5d'2b = compileRegex True "-?0[oO][0-7_]+" regex_'2d'3f0'5bbB'5d'5b01'5f'5d'2b = compileRegex True "-?0[bB][01_]+"@@ -94,7 +94,7 @@ regex_'28'5c'5c'5bntbr'27'22'5c'5c'5d'7c'5c'5c'5b0'2d9'5d'7b3'7d'7c'5c'5cx'5b0'2d9A'2dFa'2df'5d'7b2'7d'29 = compileRegex True "(\\\\[ntbr'\"\\\\]|\\\\[0-9]{3}|\\\\x[0-9A-Fa-f]{2})" regex_'5c'5c'24 = compileRegex True "\\\\$" regex_'5c'5c'28'5c'5c'7c'3e'3e'7c'3c'3c'29 = compileRegex True "\\\\(\\\\|>>|<<)"-regex_'5c'5c'3c'3a'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c0377'5f'5d'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c03770'2d9'5f'27'5d'2a'3c = compileRegex True "\\\\<:[A-Za-z\\0300-\\0326\\0330-\\0366\\0370-\\0377_][A-Za-z\\0300-\\0326\\0330-\\0366\\0370-\\03770-9_']*<"+regex_'5c'5c'3c'3a'5bA'2dZa'2dz'5c300'2d'5c326'5c330'2d'5c366'5c370'2d'5c377'5f'5d'5bA'2dZa'2dz'5c300'2d'5c326'5c330'2d'5c366'5c370'2d'5c3770'2d9'5f'27'5d'2a'3c = compileRegex True "\\\\<:[A-Za-z\\300-\\326\\330-\\366\\370-\\377_][A-Za-z\\300-\\326\\330-\\366\\370-\\3770-9_']*<"  parseRules ("FSharp","Normal") =   (((pDetect2Chars False '(' '*' >>= withAttribute CommentTok) >>~ pushContext ("FSharp","Multiline Comment"))@@ -135,13 +135,13 @@    <|>    ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_struct >>= withAttribute KeywordTok) >>~ pushContext ("FSharp","Struct"))    <|>-   ((pRegExpr regex_'60'5cs'2a'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c0377'5f'5d'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c03770'2d9'5f'27'5d'2a >>= withAttribute NormalTok))+   ((pRegExpr regex_'60'5cs'2a'5bA'2dZa'2dz'5c300'2d'5c326'5c330'2d'5c366'5c370'2d'5c377'5f'5d'5bA'2dZa'2dz'5c300'2d'5c326'5c330'2d'5c366'5c370'2d'5c3770'2d9'5f'27'5d'2a >>= withAttribute NormalTok))    <|>-   ((lookAhead (pRegExpr regex_'5bA'2dZ'5d'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c03770'2d9'5f'27'5d'2a'5cs'2a'5c'2e) >> pushContext ("FSharp","ModuleEnv2") >> currentContext >>= parseRules))+   ((lookAhead (pRegExpr regex_'5bA'2dZ'5d'5bA'2dZa'2dz'5c300'2d'5c326'5c330'2d'5c366'5c370'2d'5c3770'2d9'5f'27'5d'2a'5cs'2a'5c'2e) >> pushContext ("FSharp","ModuleEnv2") >> currentContext >>= parseRules))    <|>-   ((pRegExpr regex_'5bA'2dZ'5d'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c03770'2d9'5f'27'5d'2a >>= withAttribute NormalTok))+   ((pRegExpr regex_'5bA'2dZ'5d'5bA'2dZa'2dz'5c300'2d'5c326'5c330'2d'5c366'5c370'2d'5c3770'2d9'5f'27'5d'2a >>= withAttribute NormalTok))    <|>-   ((pFirstNonSpace >> pRegExpr regex_'23'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c0377'5f'5d'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c03770'2d9'5f'27'5d'2a'2e'2a'24 >>= withAttribute OtherTok))+   ((pFirstNonSpace >> pRegExpr regex_'23'5bA'2dZa'2dz'5c300'2d'5c326'5c330'2d'5c366'5c370'2d'5c377'5f'5d'5bA'2dZa'2dz'5c300'2d'5c326'5c330'2d'5c366'5c370'2d'5c3770'2d9'5f'27'5d'2a'2e'2a'24 >>= withAttribute OtherTok))    <|>    ((pDetectChar False '"' >>= withAttribute StringTok) >>~ pushContext ("FSharp","String Constant"))    <|>@@ -149,13 +149,13 @@    <|>    ((pDetect2Chars False '<' '<' >>= withAttribute StringTok) >>~ pushContext ("FSharp","Camlp4 Quotation Constant"))    <|>-   ((pRegExpr regex_'3c'3a'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c0377'5f'5d'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c03770'2d9'5f'27'5d'2a'3c >>= withAttribute StringTok) >>~ pushContext ("FSharp","Camlp4 Quotation Constant"))+   ((pRegExpr regex_'3c'3a'5bA'2dZa'2dz'5c300'2d'5c326'5c330'2d'5c366'5c370'2d'5c377'5f'5d'5bA'2dZa'2dz'5c300'2d'5c326'5c330'2d'5c366'5c370'2d'5c3770'2d9'5f'27'5d'2a'3c >>= withAttribute StringTok) >>~ pushContext ("FSharp","Camlp4 Quotation Constant"))    <|>    ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_keywords >>= withAttribute KeywordTok))    <|>    ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_core_types >>= withAttribute DataTypeTok))    <|>-   ((pRegExpr regex_'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c0377'5f'5d'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c03770'2d9'5f'27'5d'2a >>= withAttribute NormalTok))+   ((pRegExpr regex_'5bA'2dZa'2dz'5c300'2d'5c326'5c330'2d'5c366'5c370'2d'5c377'5f'5d'5bA'2dZa'2dz'5c300'2d'5c326'5c330'2d'5c366'5c370'2d'5c3770'2d9'5f'27'5d'2a >>= withAttribute NormalTok))    <|>    ((pRegExpr regex_'2d'3f0'5bxX'5d'5b0'2d9A'2dFa'2df'5f'5d'2b >>= withAttribute BaseNTok))    <|>@@ -182,9 +182,9 @@ parseRules ("FSharp","String Constant") =   (((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext))    <|>-   ((pRegExpr regex_'28'5c'5c'5bntbr'27'22'5c'5c'5d'7c'5c'5c'5b0'2d9'5d'7b3'7d'7c'5c'5cx'5b0'2d9A'2dFa'2df'5d'7b2'7d'29 >>= withAttribute CharTok))+   ((pRegExpr regex_'28'5c'5c'5bntbr'27'22'5c'5c'5d'7c'5c'5c'5b0'2d9'5d'7b3'7d'7c'5c'5cx'5b0'2d9A'2dFa'2df'5d'7b2'7d'29 >>= withAttribute SpecialCharTok))    <|>-   ((pRegExpr regex_'5c'5c'24 >>= withAttribute CharTok))+   ((pRegExpr regex_'5c'5c'24 >>= withAttribute SpecialCharTok))    <|>    (currentContext >>= \x -> guard (x == ("FSharp","String Constant")) >> pDefault >>= withAttribute StringTok)) @@ -219,14 +219,14 @@ parseRules ("FSharp","ModuleEnv") =   (((pDetectSpaces >>= withAttribute NormalTok))    <|>-   ((lookAhead (pRegExpr regex_'5bA'2dZ'5d'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c03770'2d9'5f'27'5d'2a'5cs'2a'5c'2e) >> pushContext ("FSharp","ModuleEnv2") >> currentContext >>= parseRules))+   ((lookAhead (pRegExpr regex_'5bA'2dZ'5d'5bA'2dZa'2dz'5c300'2d'5c326'5c330'2d'5c366'5c370'2d'5c3770'2d9'5f'27'5d'2a'5cs'2a'5c'2e) >> pushContext ("FSharp","ModuleEnv2") >> currentContext >>= parseRules))    <|>-   ((pRegExpr regex_'5bA'2dZ'5d'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c03770'2d9'5f'27'5d'2a >>= withAttribute NormalTok) >>~ (popContext))+   ((pRegExpr regex_'5bA'2dZ'5d'5bA'2dZa'2dz'5c300'2d'5c326'5c330'2d'5c366'5c370'2d'5c3770'2d9'5f'27'5d'2a >>= withAttribute NormalTok) >>~ (popContext))    <|>    ((popContext) >> currentContext >>= parseRules))  parseRules ("FSharp","ModuleEnv2") =-  (((pRegExpr regex_'5bA'2dZ'5d'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c03770'2d9'5f'27'5d'2a >>= withAttribute NormalTok))+  (((pRegExpr regex_'5bA'2dZ'5d'5bA'2dZa'2dz'5c300'2d'5c326'5c330'2d'5c366'5c370'2d'5c3770'2d9'5f'27'5d'2a >>= withAttribute NormalTok))    <|>    ((pDetectSpaces >>= withAttribute NormalTok))    <|>@@ -239,11 +239,11 @@    <|>    ((pDetect2Chars False '<' '<' >>= withAttribute StringTok) >>~ pushContext ("FSharp","Camlp4 Quotation Constant"))    <|>-   ((pRegExpr regex_'3c'3a'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c0377'5f'5d'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c03770'2d9'5f'27'5d'2a'3c >>= withAttribute StringTok) >>~ pushContext ("FSharp","Camlp4 Quotation Constant"))+   ((pRegExpr regex_'3c'3a'5bA'2dZa'2dz'5c300'2d'5c326'5c330'2d'5c366'5c370'2d'5c377'5f'5d'5bA'2dZa'2dz'5c300'2d'5c326'5c330'2d'5c366'5c370'2d'5c3770'2d9'5f'27'5d'2a'3c >>= withAttribute StringTok) >>~ pushContext ("FSharp","Camlp4 Quotation Constant"))    <|>-   ((pRegExpr regex_'5c'5c'28'5c'5c'7c'3e'3e'7c'3c'3c'29 >>= withAttribute CharTok))+   ((pRegExpr regex_'5c'5c'28'5c'5c'7c'3e'3e'7c'3c'3c'29 >>= withAttribute SpecialCharTok))    <|>-   ((pRegExpr regex_'5c'5c'3c'3a'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c0377'5f'5d'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c03770'2d9'5f'27'5d'2a'3c >>= withAttribute CharTok))+   ((pRegExpr regex_'5c'5c'3c'3a'5bA'2dZa'2dz'5c300'2d'5c326'5c330'2d'5c366'5c370'2d'5c377'5f'5d'5bA'2dZa'2dz'5c300'2d'5c326'5c330'2d'5c366'5c370'2d'5c3770'2d9'5f'27'5d'2a'3c >>= withAttribute SpecialCharTok))    <|>    (currentContext >>= \x -> guard (x == ("FSharp","Camlp4 Quotation Constant")) >> pDefault >>= withAttribute StringTok)) 
Text/Highlighting/Kate/Syntax/Gcc.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file gcc.xml, version 0.4, by Alex Turbov (i.zaufi@gmail.com) -}+   highlighting file gcc.xml, version 1, by Alex Turbov (i.zaufi@gmail.com) -}  module Text.Highlighting.Kate.Syntax.Gcc           (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -72,19 +72,19 @@ parseRules ("GCCExtensions","DetectGccExtensions") =   (((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_GNUMacros >>= withAttribute OtherTok))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_GNUFunctions >>= withAttribute OtherTok))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_GNUFunctions >>= withAttribute FunctionTok))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_GNUTypes >>= withAttribute OtherTok))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_GNUTypes >>= withAttribute DataTypeTok))    <|>-   ((pString False "__attribute__" >>= withAttribute OtherTok) >>~ pushContext ("GCCExtensions","AttrArgs"))+   ((pString False "__attribute__" >>= withAttribute ExtensionTok) >>~ pushContext ("GCCExtensions","AttrArgs"))    <|>-   ((pString False "__declspec" >>= withAttribute OtherTok) >>~ pushContext ("GCCExtensions","AttrArgs"))+   ((pString False "__declspec" >>= withAttribute ExtensionTok) >>~ pushContext ("GCCExtensions","AttrArgs"))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_GNUKeywords >>= withAttribute OtherTok))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_GNUKeywords >>= withAttribute ExtensionTok))    <|>-   ((pRegExpr regex_'5f'5fbuiltin'5f'5ba'2dzA'2dZ0'2d9'5f'5d'2b >>= withAttribute OtherTok))+   ((pRegExpr regex_'5f'5fbuiltin'5f'5ba'2dzA'2dZ0'2d9'5f'5d'2b >>= withAttribute FunctionTok))    <|>-   ((pRegExpr regex_0'5bBb'5d'5b01'5d'2b'28'5bUu'5d'5bLl'5d'7b0'2c2'7d'7c'5bLl'5d'7b0'2c2'7d'5bUu'5d'3f'7c'5f'5b'5f0'2d9A'2dZa'2dz'5d'2a'29'3f'5cb >>= withAttribute OtherTok))+   ((pRegExpr regex_0'5bBb'5d'5b01'5d'2b'28'5bUu'5d'5bLl'5d'7b0'2c2'7d'7c'5bLl'5d'7b0'2c2'7d'5bUu'5d'3f'7c'5f'5b'5f0'2d9A'2dZa'2dz'5d'2a'29'3f'5cb >>= withAttribute ExtensionTok))    <|>    (currentContext >>= \x -> guard (x == ("GCCExtensions","DetectGccExtensions")) >> pDefault >>= withAttribute NormalTok)) @@ -94,20 +94,20 @@    (currentContext >>= \x -> guard (x == ("GCCExtensions","GNUMacros")) >> pDefault >>= withAttribute NormalTok))  parseRules ("GCCExtensions","AttrArgs") =-  (((pDetect2Chars False '(' '(' >>= withAttribute OtherTok))+  (((pDetect2Chars False '(' '(' >>= withAttribute ExtensionTok))    <|>-   ((pDetect2Chars False ')' ')' >>= withAttribute OtherTok) >>~ (popContext))+   ((pDetect2Chars False ')' ')' >>= withAttribute ExtensionTok) >>~ (popContext))    <|>-   ((pDetectChar False '(' >>= withAttribute OtherTok) >>~ pushContext ("GCCExtensions","Close"))+   ((pDetectChar False '(' >>= withAttribute ExtensionTok) >>~ pushContext ("GCCExtensions","Close"))    <|>-   (currentContext >>= \x -> guard (x == ("GCCExtensions","AttrArgs")) >> pDefault >>= withAttribute OtherTok))+   (currentContext >>= \x -> guard (x == ("GCCExtensions","AttrArgs")) >> pDefault >>= withAttribute ExtensionTok))  parseRules ("GCCExtensions","Close") =-  (((pDetectChar False ')' >>= withAttribute OtherTok) >>~ (popContext))+  (((pDetectChar False ')' >>= withAttribute ExtensionTok) >>~ (popContext))    <|>    ((pDetectChar False '"' >>= withAttribute StringTok) >>~ pushContext ("GCCExtensions","AttrStringArg"))    <|>-   (currentContext >>= \x -> guard (x == ("GCCExtensions","Close")) >> pDefault >>= withAttribute OtherTok))+   (currentContext >>= \x -> guard (x == ("GCCExtensions","Close")) >> pDefault >>= withAttribute ExtensionTok))  parseRules ("GCCExtensions","AttrStringArg") =   (((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext))
Text/Highlighting/Kate/Syntax/Glsl.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file glsl.xml, version 1.03, by Oliver Richers (o.richers@tu-bs.de) -}+   highlighting file glsl.xml, version 2, by Oliver Richers (o.richers@tu-bs.de) -}  module Text.Highlighting.Kate.Syntax.Glsl           (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -17,7 +17,7 @@  -- | Filename extensions for this language. syntaxExtensions :: String-syntaxExtensions = "*.glsl;*.vert;*.frag;*.geom"+syntaxExtensions = "*.glsl;*.vert;*.frag;*.geom;*.tcs;*.tes"  -- | Highlight source code using this syntax definition. highlight :: String -> [SourceLine]@@ -61,12 +61,12 @@                           , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) }   return (attr, txt) -list_keywords = Set.fromList $ words $ "break continue do for while if else true false discard return struct"-list_types = Set.fromList $ words $ "float int void bool mat2 mat3 mat4 vec2 vec3 vec4 ivec2 ivec3 ivec4 bvec2 bvec3 bvec4 sampler1D sampler2D sampler3D samplerCube sampler1DShadow sampler2DShadow"-list_typequal = Set.fromList $ words $ "attribute const uniform varying in out inout"+list_keywords = Set.fromList $ words $ "break continue do for while if else true false discard return struct subroutine layout uniform buffer invariant"+list_types = Set.fromList $ words $ "float int void bool mat2 mat3 mat4 vec2 vec3 vec4 ivec2 ivec3 ivec4 bvec2 bvec3 bvec4 sampler1D sampler2D sampler3D samplerCube sampler2DRect sampler1DArray sampler2DArray samplerCubeArray samplerBuffer sampler2DMS sampler2DMSArray sampler1DShadow sampler2DShadow samplerCubeShadow sampler2DRectShadow sampler1DArrayShadow sampler2DArrayShadow samplerCubeArrayShadow isampler1D isampler2D isampler3D isamplerCube isampler2DRect isampler1DArray isampler2DArray isamplerCubeArray isamplerBuffer isampler2DMS isampler2DMSArray isampler1DShadow isampler2DShadow isamplerCubeShadow isampler2DRectShadow isampler1DArrayShadow isampler2DArrayShadow isamplerCubeArrayShadow usampler1D usampler2D usampler3D usamplerCube usampler2DRect usampler1DArray usampler2DArray usamplerCubeArray usamplerBuffer usampler2DMS usampler2DMSArray usampler1DShadow usampler2DShadow usamplerCubeShadow usampler2DRectShadow usampler1DArrayShadow usampler2DArrayShadow usamplerCubeArrayShadow atomic_uint"+list_typequal = Set.fromList $ words $ "attribute const varying in out inout flat noperspective smooth location component binding index offset row_major packed shared std140 std430 xfb_buffer xfb_offset xfb_stride origin_upper_left pixel_center_integer early_fragment_tests points lines lines_adjacency triangles triangles_adjacency line_strip triangle_strip max_vertices invocations stream isolines triangles quads point_mode equal_spacing fractional_even_spacing fractional_odd_spacing cw ccw vertices coherent volatile restrict readonly writeonly" list_attention = Set.fromList $ words $ "FIXME TODO BUG"-list_stdlib = Set.fromList $ words $ "radians degrees sin cos tan asin acos atan pow exp log exp2 log2 sqrt inversesqrt abs sign floor ceil fract mod min max clamp mix step smoothstep length distance dot cross normalize ftransform faceforward reflect refract matrixCompMult lessThan lessThenEqual greaterThan greaterThanEqual equal notEqual any all not texture1D texture1DProj texture1DLod texture1DProjLod texture2D texture2DProj texture2DLod texture2DProjLod texture3D texture3DProj texture3DLod texture3DProjLod textureCube textureCubeLod shadow1D shadow2D shadow1DProj shadow2DProj shadow1DLod shadow2DLod shadow1DProjLod shadow2DProjLod dFdx dFdy fwidth noise1 noise2 noise3 noise4"-list_stdvar = Set.fromList $ words $ "gl_Position gl_PointSize gl_ClipVertex gl_FragCoord gl_FragFacing gl_FragColor gl_FragData gl_FragDepth gl_Color gl_SecondaryColor gl_Normal gl_Vertex gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_FogColor gl_MaxLights gl_MaxClipPlanes gl_MaxTextureUnits gl_MaxTextureCoords gl_MaxVertexAttributes gl_MaxVertexUniformComponents gl_MaxVaryingFloats gl_MaxVertexTextureImageUnits gl_MaxCombinedTextureImageUnits gl_MaxTextureImageUnits gl_MaxFragmentUniformComponents gl_MaxDrawBuffers gl_ModelViewMatrix gl_ProjectionMatrix gl_ModelViewProjectionMatrix gl_TextureMatrix gl_NormalMatrix gl_ModelViewMatrixInverse gl_ProjectionMatrixInverse gl_ModelViewProjectionMatrixInverse gl_TextureMatrixInverse gl_ModelViewMatrixTranspose gl_ProjectionMatrixTranspose gl_ModelViewProjectionMatrixTranspose gl_TextureMatrixTranspose gl_ModelViewMatrixInverseTranspose gl_ProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixInverseTranspose gl_TextureMatrixInverseTranspose gl_NormScale gl_DepthRangeParameters gl_DepthRange gl_ClipPlane gl_PointParameters gl_Point gl_MaterialParameters gl_FrontMaterial gl_BackMaterial gl_LightSourceParameters gl_LightSource gl_LightModelParameters gl_LightModel gl_LightModelProducts gl_FrontLightModelProduct gl_BackLightModelProduct gl_LightProducts gl_FrontLightProduct gl_BackLightProduct gl_TextureEnvColor gl_EyePlaneS gl_EyePlaneT gl_EyePlaneR gl_EyePlaneQ gl_ObjectPlaneS gl_ObjectPlaneT gl_ObjectPlaneR gl_ObjectPlaneQ gl_FogParameters gl_Fog gl_FrontColor gl_BackColor gl_FrontSecondaryColor gl_BackSecondaryColor gl_TexCoord gl_FogFragCoord gl_Color gl_SecondaryColor"+list_stdlib = Set.fromList $ words $ "abs acos acosh glActiveShaderProgram glActiveTexture all any asin asinh atan atanh atomicAdd atomicAnd atomicCompSwap atomicCounter atomicCounterDecrement atomicCounterIncrement atomicExchange atomicMax atomicMin atomicOr atomicXor glAttachShader barrier glBeginConditionalRender glBeginQuery glBeginQueryIndexed glBeginTransformFeedback glBindAttribLocation glBindBuffer glBindBufferBase glBindBufferRange glBindBuffersBase glBindBuffersRange glBindFragDataLocation glBindFragDataLocationIndexed glBindFramebuffer glBindImageTexture glBindImageTextures glBindProgramPipeline glBindRenderbuffer glBindSampler glBindSamplers glBindTexture glBindTextures glBindTextureUnit glBindTransformFeedback glBindVertexArray glBindVertexBuffer glBindVertexBuffers bitCount bitfieldExtract bitfieldInsert bitfieldReverse glBlendColor glBlendEquation glBlendEquationi glBlendEquationSeparate glBlendEquationSeparatei glBlendFunc glBlendFunci glBlendFuncSeparate glBlendFuncSeparatei glBlitFramebuffer glBlitNamedFramebuffer glBufferData glBufferStorage glBufferSubData ceil glCheckFramebufferStatus glCheckNamedFramebufferStatus clamp glClampColor glClear glClearBuffer glClearBufferData glClearBufferfi glClearBufferfv glClearBufferiv glClearBufferSubData glClearBufferuiv glClearColor glClearDepth glClearDepthf glClearNamedBufferData glClearNamedBufferSubData glClearNamedFramebufferfi glClearNamedFramebufferfv glClearNamedFramebufferiv glClearNamedFramebufferuiv glClearStencil glClearTexImage glClearTexSubImage glClientWaitSync glClipControl glColorMask glColorMaski glCompileShader glCompressedTexImage1D glCompressedTexImage2D glCompressedTexImage3D glCompressedTexSubImage1D glCompressedTexSubImage2D glCompressedTexSubImage3D glCompressedTextureSubImage1D glCompressedTextureSubImage2D glCompressedTextureSubImage3D glCopyBufferSubData glCopyImageSubData glCopyNamedBufferSubData glCopyTexImage1D glCopyTexImage2D glCopyTexSubImage1D glCopyTexSubImage2D glCopyTexSubImage3D glCopyTextureSubImage1D glCopyTextureSubImage2D glCopyTextureSubImage3D cos cosh glCreateBuffers glCreateFramebuffers glCreateProgram glCreateProgramPipelines glCreateQueries glCreateRenderbuffers glCreateSamplers glCreateShader glCreateShaderProgram glCreateShaderProgramv glCreateTextures glCreateTransformFeedbacks glCreateVertexArrays cross glCullFace glDebugMessageCallback glDebugMessageControl glDebugMessageInsert degrees glDeleteBuffers glDeleteFramebuffers glDeleteProgram glDeleteProgramPipelines glDeleteQueries glDeleteRenderbuffers glDeleteSamplers glDeleteShader glDeleteSync glDeleteTextures glDeleteTransformFeedbacks glDeleteVertexArrays glDepthFunc glDepthMask glDepthRange glDepthRangeArray glDepthRangeArrayv glDepthRangef glDepthRangeIndexed glDetachShader determinant dFdx dFdxCoarse dFdxFine dFdy dFdyCoarse dFdyFine glDisable glDisablei glDisableVertexArrayAttrib glDisableVertexAttribArray glDispatchCompute glDispatchComputeIndirect distance dot glDrawArrays glDrawArraysIndirect glDrawArraysInstanced glDrawArraysInstancedBaseInstance glDrawBuffer glDrawBuffers glDrawElements glDrawElementsBaseVertex glDrawElementsIndirect glDrawElementsInstanced glDrawElementsInstancedBaseInstance glDrawElementsInstancedBaseVertex glDrawElementsInstancedBaseVertexBaseInstance glDrawRangeElements glDrawRangeElementsBaseVertex glDrawTransformFeedback glDrawTransformFeedbackInstanced glDrawTransformFeedbackStream glDrawTransformFeedbackStreamInstanced EmitStreamVertex EmitVertex glEnable glEnablei glEnableVertexArrayAttrib glEnableVertexAttribArray glEndConditionalRender EndPrimitive glEndQuery glEndQueryIndexed EndStreamPrimitive glEndTransformFeedback equal exp exp2 faceforward glFenceSync findLSB findMSB glFinish floatBitsToInt floatBitsToUint floor glFlush glFlushMappedBufferRange glFlushMappedNamedBufferRange fma fract glFramebufferParameteri glFramebufferRenderbuffer glFramebufferTexture glFramebufferTexture1D glFramebufferTexture2D glFramebufferTexture3D glFramebufferTextureLayer frexp glFrontFace fwidth fwidthCoarse fwidthFine glGenBuffers glGenerateMipmap glGenerateTextureMipmap glGenFramebuffers glGenProgramPipelines glGenQueries glGenRenderbuffers glGenSamplers glGenTextures glGenTransformFeedbacks glGenVertexArrays glGet glGetActiveAtomicCounterBufferiv glGetActiveAttrib glGetActiveSubroutineName glGetActiveSubroutineUniform glGetActiveSubroutineUniformiv glGetActiveSubroutineUniformName glGetActiveUniform glGetActiveUniformBlock glGetActiveUniformBlockiv glGetActiveUniformBlockName glGetActiveUniformName glGetActiveUniformsiv glGetAttachedShaders glGetAttribLocation glGetBooleani_v glGetBooleanv glGetBufferParameter glGetBufferParameteri64v glGetBufferParameteriv glGetBufferPointerv glGetBufferSubData glGetCompressedTexImage glGetCompressedTextureImage glGetCompressedTextureSubImage glGetDebugMessageLog glGetDoublei_v glGetDoublev glGetError glGetFloati_v glGetFloatv glGetFragDataIndex glGetFragDataLocation glGetFramebufferAttachmentParameter glGetFramebufferAttachmentParameteriv glGetFramebufferParameter glGetFramebufferParameteriv glGetGraphicsResetStatus glGetInteger64i_v glGetInteger64v glGetIntegeri_v glGetIntegerv glGetInternalformat glGetInternalformati64v glGetInternalformativ glGetMultisample glGetMultisamplefv glGetNamedBufferParameteri64v glGetNamedBufferParameteriv glGetNamedBufferPointerv glGetNamedBufferSubData glGetNamedFramebufferAttachmentParameteriv glGetNamedFramebufferParameteriv glGetNamedRenderbufferParameteriv glGetnCompressedTexImage glGetnTexImage glGetnUniformdv glGetnUniformfv glGetnUniformiv glGetnUniformuiv glGetObjectLabel glGetObjectPtrLabel glGetPointerv glGetProgram glGetProgramBinary glGetProgramInfoLog glGetProgramInterface glGetProgramInterfaceiv glGetProgramiv glGetProgramPipeline glGetProgramPipelineInfoLog glGetProgramPipelineiv glGetProgramResource glGetProgramResourceIndex glGetProgramResourceiv glGetProgramResourceLocation glGetProgramResourceLocationIndex glGetProgramResourceName glGetProgramStage glGetProgramStageiv glGetQueryIndexed glGetQueryIndexediv glGetQueryiv glGetQueryObject glGetQueryObjecti64v glGetQueryObjectiv glGetQueryObjectui64v glGetQueryObjectuiv glGetRenderbufferParameter glGetRenderbufferParameteriv glGetSamplerParameter glGetSamplerParameterfv glGetSamplerParameterIiv glGetSamplerParameterIuiv glGetSamplerParameteriv glGetShader glGetShaderInfoLog glGetShaderiv glGetShaderPrecisionFormat glGetShaderSource glGetString glGetStringi glGetSubroutineIndex glGetSubroutineUniformLocation glGetSync glGetSynciv glGetTexImage glGetTexLevelParameter glGetTexLevelParameterfv glGetTexLevelParameteriv glGetTexParameter glGetTexParameterfv glGetTexParameterIiv glGetTexParameterIuiv glGetTexParameteriv glGetTextureImage glGetTextureLevelParameterfv glGetTextureLevelParameteriv glGetTextureParameterfv glGetTextureParameterIiv glGetTextureParameterIuiv glGetTextureParameteriv glGetTextureSubImage glGetTransformFeedback glGetTransformFeedbacki64_v glGetTransformFeedbacki_v glGetTransformFeedbackiv glGetTransformFeedbackVarying glGetUniform glGetUniformBlockIndex glGetUniformdv glGetUniformfv glGetUniformIndices glGetUniformiv glGetUniformLocation glGetUniformSubroutine glGetUniformSubroutineuiv glGetUniformuiv glGetVertexArrayIndexed glGetVertexArrayIndexed64iv glGetVertexArrayIndexediv glGetVertexArrayiv glGetVertexAttrib glGetVertexAttribdv glGetVertexAttribfv glGetVertexAttribIiv glGetVertexAttribIuiv glGetVertexAttribiv glGetVertexAttribLdv glGetVertexAttribPointerv gl_ClipDistance gl_CullDistance gl_FragCoord gl_FragDepth gl_FrontFacing gl_GlobalInvocationID gl_HelperInvocation gl_InstanceID gl_InvocationID gl_Layer gl_LocalInvocationID gl_LocalInvocationIndex gl_NumSamples gl_NumWorkGroups gl_PatchVerticesIn gl_PointCoord gl_PointSize gl_Position gl_PrimitiveID gl_PrimitiveIDIn gl_SampleID gl_SampleMask gl_SampleMaskIn gl_SamplePosition gl_TessCoord gl_TessLevelInner gl_TessLevelOuter gl_VertexID gl_ViewportIndex gl_WorkGroupID gl_WorkGroupSize greaterThan greaterThanEqual groupMemoryBarrier glHint imageAtomicAdd imageAtomicAnd imageAtomicCompSwap imageAtomicExchange imageAtomicMax imageAtomicMin imageAtomicOr imageAtomicXor imageLoad imageSamples imageSize imageStore imulExtended intBitsToFloat interpolateAtCentroid interpolateAtOffset interpolateAtSample glInvalidateBufferData glInvalidateBufferSubData glInvalidateFramebuffer glInvalidateNamedFramebufferData glInvalidateNamedFramebufferSubData glInvalidateSubFramebuffer glInvalidateTexImage glInvalidateTexSubImage inverse inversesqrt glIsBuffer glIsEnabled glIsEnabledi glIsFramebuffer isinf isnan glIsProgram glIsProgramPipeline glIsQuery glIsRenderbuffer glIsSampler glIsShader glIsSync glIsTexture glIsTransformFeedback glIsVertexArray ldexp length lessThan lessThanEqual glLineWidth glLinkProgram log log2 glLogicOp glMapBuffer glMapBufferRange glMapNamedBuffer glMapNamedBufferRange matrixCompMult max memoryBarrier glMemoryBarrier memoryBarrierAtomicCounter memoryBarrierBuffer glMemoryBarrierByRegion memoryBarrierImage memoryBarrierShared min glMinSampleShading mix mod modf glMultiDrawArrays glMultiDrawArraysIndirect glMultiDrawElements glMultiDrawElementsBaseVertex glMultiDrawElementsIndirect glNamedBufferData glNamedBufferStorage glNamedBufferSubData glNamedFramebufferDrawBuffer glNamedFramebufferDrawBuffers glNamedFramebufferParameteri glNamedFramebufferReadBuffer glNamedFramebufferRenderbuffer glNamedFramebufferTexture glNamedFramebufferTextureLayer glNamedRenderbufferStorage glNamedRenderbufferStorageMultisample noise noise1 noise2 noise3 noise4 normalize not notEqual glObjectLabel glObjectPtrLabel outerProduct packDouble2x32 packHalf2x16 packSnorm2x16 packSnorm4x8 packUnorm packUnorm2x16 packUnorm4x8 glPatchParameter glPatchParameterfv glPatchParameteri glPauseTransformFeedback glPixelStore glPixelStoref glPixelStorei glPointParameter glPointParameterf glPointParameterfv glPointParameteri glPointParameteriv glPointSize glPolygonMode glPolygonOffset glPopDebugGroup pow glPrimitiveRestartIndex glProgramBinary glProgramParameter glProgramParameteri glProgramUniform glProgramUniform1f glProgramUniform1fv glProgramUniform1i glProgramUniform1iv glProgramUniform1ui glProgramUniform1uiv glProgramUniform2f glProgramUniform2fv glProgramUniform2i glProgramUniform2iv glProgramUniform2ui glProgramUniform2uiv glProgramUniform3f glProgramUniform3fv glProgramUniform3i glProgramUniform3iv glProgramUniform3ui glProgramUniform3uiv glProgramUniform4f glProgramUniform4fv glProgramUniform4i glProgramUniform4iv glProgramUniform4ui glProgramUniform4uiv glProgramUniformMatrix2fv glProgramUniformMatrix2x3fv glProgramUniformMatrix2x4fv glProgramUniformMatrix3fv glProgramUniformMatrix3x2fv glProgramUniformMatrix3x4fv glProgramUniformMatrix4fv glProgramUniformMatrix4x2fv glProgramUniformMatrix4x3fv glProvokingVertex glPushDebugGroup glQueryCounter radians glReadBuffer glReadnPixels glReadPixels reflect refract glReleaseShaderCompiler removedTypes glRenderbufferStorage glRenderbufferStorageMultisample glResumeTransformFeedback round roundEven glSampleCoverage glSampleMaski glSamplerParameter glSamplerParameterf glSamplerParameterfv glSamplerParameteri glSamplerParameterIiv glSamplerParameterIuiv glSamplerParameteriv glScissor glScissorArray glScissorArrayv glScissorIndexed glScissorIndexedv glShaderBinary glShaderSource glShaderStorageBlockBinding sign sin sinh smoothstep sqrt glStencilFunc glStencilFuncSeparate glStencilMask glStencilMaskSeparate glStencilOp glStencilOpSeparate step tan tanh glTexBuffer glTexBufferRange texelFetch texelFetchOffset glTexImage1D glTexImage2D glTexImage2DMultisample glTexImage3D glTexImage3DMultisample glTexParameter glTexParameterf glTexParameterfv glTexParameteri glTexParameterIiv glTexParameterIuiv glTexParameteriv glTexStorage1D glTexStorage2D glTexStorage2DMultisample glTexStorage3D glTexStorage3DMultisample glTexSubImage1D glTexSubImage2D glTexSubImage3D texture glTextureBarrier glTextureBuffer glTextureBufferRange textureGather textureGatherOffset textureGatherOffsets textureGrad textureGradOffset textureLod textureLodOffset textureOffset glTextureParameterf glTextureParameterfv glTextureParameteri glTextureParameterIiv glTextureParameterIuiv glTextureParameteriv textureProj textureProjGrad textureProjGradOffset textureProjLod textureProjLodOffset textureProjOffset textureQueryLevels textureQueryLod textureSamples textureSize glTextureStorage1D glTextureStorage2D glTextureStorage2DMultisample glTextureStorage3D glTextureStorage3DMultisample glTextureSubImage1D glTextureSubImage2D glTextureSubImage3D glTextureView glTransformFeedbackBufferBase glTransformFeedbackBufferRange glTransformFeedbackVaryings transpose trunc uaddCarry uintBitsToFloat umulExtended glUniform glUniform1f glUniform1fv glUniform1i glUniform1iv glUniform1ui glUniform1uiv glUniform2f glUniform2fv glUniform2i glUniform2iv glUniform2ui glUniform2uiv glUniform3f glUniform3fv glUniform3i glUniform3iv glUniform3ui glUniform3uiv glUniform4f glUniform4fv glUniform4i glUniform4iv glUniform4ui glUniform4uiv glUniformBlockBinding glUniformMatrix2fv glUniformMatrix2x3fv glUniformMatrix2x4fv glUniformMatrix3fv glUniformMatrix3x2fv glUniformMatrix3x4fv glUniformMatrix4fv glUniformMatrix4x2fv glUniformMatrix4x3fv glUniformSubroutines glUniformSubroutinesuiv glUnmapBuffer glUnmapNamedBuffer unpackDouble2x32 unpackHalf2x16 unpackSnorm2x16 unpackSnorm4x8 unpackUnorm unpackUnorm2x16 unpackUnorm4x8 glUseProgram glUseProgramStages usubBorrow glValidateProgram glValidateProgramPipeline glVertexArrayAttribBinding glVertexArrayAttribFormat glVertexArrayAttribIFormat glVertexArrayAttribLFormat glVertexArrayBindingDivisor glVertexArrayElementBuffer glVertexArrayVertexBuffer glVertexArrayVertexBuffers glVertexAttrib glVertexAttrib1d glVertexAttrib1dv glVertexAttrib1f glVertexAttrib1fv glVertexAttrib1s glVertexAttrib1sv glVertexAttrib2d glVertexAttrib2dv glVertexAttrib2f glVertexAttrib2fv glVertexAttrib2s glVertexAttrib2sv glVertexAttrib3d glVertexAttrib3dv glVertexAttrib3f glVertexAttrib3fv glVertexAttrib3s glVertexAttrib3sv glVertexAttrib4bv glVertexAttrib4d glVertexAttrib4dv glVertexAttrib4f glVertexAttrib4fv glVertexAttrib4iv glVertexAttrib4Nbv glVertexAttrib4Niv glVertexAttrib4Nsv glVertexAttrib4Nub glVertexAttrib4Nubv glVertexAttrib4Nuiv glVertexAttrib4Nusv glVertexAttrib4s glVertexAttrib4sv glVertexAttrib4ubv glVertexAttrib4uiv glVertexAttrib4usv glVertexAttribBinding glVertexAttribDivisor glVertexAttribFormat glVertexAttribI1i glVertexAttribI1iv glVertexAttribI1ui glVertexAttribI1uiv glVertexAttribI2i glVertexAttribI2iv glVertexAttribI2ui glVertexAttribI2uiv glVertexAttribI3i glVertexAttribI3iv glVertexAttribI3ui glVertexAttribI3uiv glVertexAttribI4bv glVertexAttribI4i glVertexAttribI4iv glVertexAttribI4sv glVertexAttribI4ubv glVertexAttribI4ui glVertexAttribI4uiv glVertexAttribI4usv glVertexAttribIFormat glVertexAttribIPointer glVertexAttribL1d glVertexAttribL1dv glVertexAttribL2d glVertexAttribL2dv glVertexAttribL3d glVertexAttribL3dv glVertexAttribL4d glVertexAttribL4dv glVertexAttribLFormat glVertexAttribLPointer glVertexAttribP1ui glVertexAttribP2ui glVertexAttribP3ui glVertexAttribP4ui glVertexAttribPointer glVertexBindingDivisor glViewport glViewportArray glViewportArrayv glViewportIndexed glViewportIndexedf glViewportIndexedfv glWaitSync"+list_stdvar = Set.fromList $ words $ "gl_Position gl_PointSize gl_ClipVertex gl_FragCoord gl_FragFacing gl_FragColor gl_FragData gl_FragDepth gl_Color gl_SecondaryColor gl_Normal gl_Vertex gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_FogColor gl_ClipDistance gl_PrimitiveIDIn gl_InvocationID gl_PrimitiveID gl_Layer gl_ViewportIndex gl_TessCoord gl_PatchVerticesIn gl_TessLevelOuter gl_TessLevelInner gl_MaxPatchVertices gl_in gl_out gl_MaxLights gl_MaxClipPlanes gl_MaxTextureUnits gl_MaxTextureCoords gl_MaxVertexAttributes gl_MaxVertexUniformComponents gl_MaxVaryingFloats gl_MaxVertexTextureImageUnits gl_MaxCombinedTextureImageUnits gl_MaxTextureImageUnits gl_MaxFragmentUniformComponents gl_MaxDrawBuffers gl_ModelViewMatrix gl_ProjectionMatrix gl_ModelViewProjectionMatrix gl_TextureMatrix gl_NormalMatrix gl_ModelViewMatrixInverse gl_ProjectionMatrixInverse gl_ModelViewProjectionMatrixInverse gl_TextureMatrixInverse gl_ModelViewMatrixTranspose gl_ProjectionMatrixTranspose gl_ModelViewProjectionMatrixTranspose gl_TextureMatrixTranspose gl_ModelViewMatrixInverseTranspose gl_ProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixInverseTranspose gl_TextureMatrixInverseTranspose gl_NormScale gl_DepthRangeParameters gl_DepthRange gl_ClipPlane gl_PointParameters gl_Point gl_MaterialParameters gl_FrontMaterial gl_BackMaterial gl_LightSourceParameters gl_LightSource gl_LightModelParameters gl_LightModel gl_LightModelProducts gl_FrontLightModelProduct gl_BackLightModelProduct gl_LightProducts gl_FrontLightProduct gl_BackLightProduct gl_TextureEnvColor gl_EyePlaneS gl_EyePlaneT gl_EyePlaneR gl_EyePlaneQ gl_ObjectPlaneS gl_ObjectPlaneT gl_ObjectPlaneR gl_ObjectPlaneQ gl_FogParameters gl_Fog gl_FrontColor gl_BackColor gl_FrontSecondaryColor gl_BackSecondaryColor gl_TexCoord gl_FogFragCoord gl_Color gl_SecondaryColor"  regex_'5cb'5b'5f'5cw'5d'5b'5f'5cw'5cd'5d'2a'28'3f'3d'5b'5cs'5d'2a'5b'28'5d'29 = compileRegex True "\\b[_\\w][_\\w\\d]*(?=[\\s]*[(])" regex_'5b'2e'5d'7b1'2c1'7d = compileRegex True "[.]{1,1}"@@ -79,9 +79,9 @@    <|>    ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_typequal >>= withAttribute DataTypeTok))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_stdlib >>= withAttribute FunctionTok))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_stdlib >>= withAttribute BuiltInTok))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_stdvar >>= withAttribute FunctionTok))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_stdvar >>= withAttribute VariableTok))    <|>    ((pFloat >>= withAttribute FloatTok))    <|>@@ -99,7 +99,7 @@    <|>    ((pDetectChar False '}' >>= withAttribute NormalTok))    <|>-   ((pFirstNonSpace >> pDetectChar False '#' >>= withAttribute OtherTok) >>~ pushContext ("GLSL","Preprocessor"))+   ((pFirstNonSpace >> pDetectChar False '#' >>= withAttribute PreprocessorTok) >>~ pushContext ("GLSL","Preprocessor"))    <|>    ((pRegExpr regex_'5cb'5b'5f'5cw'5d'5b'5f'5cw'5cd'5d'2a'28'3f'3d'5b'5cs'5d'2a'5b'28'5d'29 >>= withAttribute FunctionTok))    <|>@@ -127,7 +127,7 @@    (currentContext >>= \x -> guard (x == ("GLSL","Commentar 2")) >> pDefault >>= withAttribute CommentTok))  parseRules ("GLSL","Preprocessor") =-  (currentContext >>= \x -> guard (x == ("GLSL","Preprocessor")) >> pDefault >>= withAttribute OtherTok)+  (currentContext >>= \x -> guard (x == ("GLSL","Preprocessor")) >> pDefault >>= withAttribute PreprocessorTok)   parseRules x = parseRules ("GLSL","Normal") <|> fail ("Unknown context" ++ show x)
Text/Highlighting/Kate/Syntax/Gnuassembler.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file gnuassembler.xml, version 1.10, by John Zaitseff (J.Zaitseff@zap.org.au), Roland Pabel (roland@pabel.name), Miquel Sabaté (mikisabate@gmail.com) -}+   highlighting file gnuassembler.xml, version 2, by John Zaitseff (J.Zaitseff@zap.org.au), Roland Pabel (roland@pabel.name), Miquel Sabaté (mikisabate@gmail.com) -}  module Text.Highlighting.Kate.Syntax.Gnuassembler           (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -99,13 +99,13 @@    <|>    ((pDetectChar False '"' >>= withAttribute StringTok) >>~ pushContext ("GNU Assembler","String"))    <|>-   ((pFirstNonSpace >> pRegExpr regex_'23'5cs'2aif'28'3f'3adef'7cndef'29'3f'28'3f'3d'5cs'2b'5cS'29 >>= withAttribute OtherTok) >>~ pushContext ("GNU Assembler","Preprocessor"))+   ((pFirstNonSpace >> pRegExpr regex_'23'5cs'2aif'28'3f'3adef'7cndef'29'3f'28'3f'3d'5cs'2b'5cS'29 >>= withAttribute PreprocessorTok) >>~ pushContext ("GNU Assembler","Preprocessor"))    <|>-   ((pFirstNonSpace >> pRegExpr regex_'23'5cs'2aendif >>= withAttribute OtherTok) >>~ pushContext ("GNU Assembler","Preprocessor"))+   ((pFirstNonSpace >> pRegExpr regex_'23'5cs'2aendif >>= withAttribute PreprocessorTok) >>~ pushContext ("GNU Assembler","Preprocessor"))    <|>-   ((pFirstNonSpace >> pRegExpr regex_'23'5cs'2adefine'2e'2a'28'28'3f'3d'5c'5c'29'29 >>= withAttribute OtherTok) >>~ pushContext ("GNU Assembler","Define"))+   ((pFirstNonSpace >> pRegExpr regex_'23'5cs'2adefine'2e'2a'28'28'3f'3d'5c'5c'29'29 >>= withAttribute PreprocessorTok) >>~ pushContext ("GNU Assembler","Define"))    <|>-   ((pFirstNonSpace >> pRegExpr regex_'23'5cs'2a'28'3f'3ael'28'3f'3ase'7cif'29'7cinclude'28'3f'3a'5fnext'29'3f'7cdefine'7cundef'7cline'7cerror'7cwarning'7cpragma'29 >>= withAttribute OtherTok) >>~ pushContext ("GNU Assembler","Preprocessor"))+   ((pFirstNonSpace >> pRegExpr regex_'23'5cs'2a'28'3f'3ael'28'3f'3ase'7cif'29'7cinclude'28'3f'3a'5fnext'29'3f'7cdefine'7cundef'7cline'7cerror'7cwarning'7cpragma'29 >>= withAttribute PreprocessorTok) >>~ pushContext ("GNU Assembler","Preprocessor"))    <|>    ((pDetect2Chars False '/' '*' >>= withAttribute CommentTok) >>~ pushContext ("GNU Assembler","Commentar 1"))    <|>@@ -130,19 +130,19 @@ parseRules ("GNU Assembler","String") =   (((pLineContinue >>= withAttribute StringTok) >>~ pushContext ("GNU Assembler","Some Context"))    <|>-   ((pHlCStringChar >>= withAttribute CharTok))+   ((pHlCStringChar >>= withAttribute SpecialCharTok))    <|>    ((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext))    <|>    (currentContext >>= \x -> guard (x == ("GNU Assembler","String")) >> pDefault >>= withAttribute StringTok))  parseRules ("GNU Assembler","Preprocessor") =-  (currentContext >>= \x -> guard (x == ("GNU Assembler","Preprocessor")) >> pDefault >>= withAttribute OtherTok)+  (currentContext >>= \x -> guard (x == ("GNU Assembler","Preprocessor")) >> pDefault >>= withAttribute PreprocessorTok)  parseRules ("GNU Assembler","Define") =-  (((pLineContinue >>= withAttribute OtherTok))+  (((pLineContinue >>= withAttribute PreprocessorTok))    <|>-   (currentContext >>= \x -> guard (x == ("GNU Assembler","Define")) >> pDefault >>= withAttribute OtherTok))+   (currentContext >>= \x -> guard (x == ("GNU Assembler","Define")) >> pDefault >>= withAttribute PreprocessorTok))  parseRules ("GNU Assembler","Some Context") =   (currentContext >>= \x -> guard (x == ("GNU Assembler","Some Context")) >> pDefault >>= withAttribute NormalTok)
Text/Highlighting/Kate/Syntax/Go.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file go.xml, version 1.05, by Miquel Sabaté (mikisabate@gmail.com) -}+   highlighting file go.xml, version 2, by Miquel Sabaté (mikisabate@gmail.com) -}  module Text.Highlighting.Kate.Syntax.Go           (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -75,7 +75,7 @@    <|>    ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\'\"" list_types >>= withAttribute DataTypeTok))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\'\"" list_builtin >>= withAttribute FunctionTok))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\'\"" list_builtin >>= withAttribute BuiltInTok))    <|>    ((pDetectIdentifier >>= withAttribute NormalTok))    <|>
+ Text/Highlighting/Kate/Syntax/Hamlet.hs view
@@ -0,0 +1,187 @@+{- This module was generated from data in the Kate syntax+   highlighting file hamlet.xml, version 1, by Bastian Holst (bastianholst@gmx.de) -}++module Text.Highlighting.Kate.Syntax.Hamlet+          (highlight, parseExpression, syntaxName, syntaxExtensions)+where+import Text.Highlighting.Kate.Types+import Text.Highlighting.Kate.Common+import qualified Text.Highlighting.Kate.Syntax.Haskell+import Text.ParserCombinators.Parsec hiding (State)+import Control.Monad.State+import Data.Char (isSpace)++-- | Full name of language.+syntaxName :: String+syntaxName = "Hamlet"++-- | Filename extensions for this language.+syntaxExtensions :: String+syntaxExtensions = "*.hamlet"++-- | Highlight source code using this syntax definition.+highlight :: String -> [SourceLine]+highlight input = evalState (mapM parseSourceLine $ lines input) startingState++parseSourceLine :: String -> State SyntaxState SourceLine+parseSourceLine = mkParseSourceLine (parseExpression Nothing)++-- | Parse an expression using appropriate local context.+parseExpression :: Maybe (String,String)+                -> KateParser Token+parseExpression mbcontext = do+  (lang,cont) <- maybe currentContext return mbcontext+  result <- parseRules (lang,cont)+  optional $ do eof+                updateState $ \st -> st{ synStPrevChar = '\n' }+                pEndLine+  return result++startingState = SyntaxState {synStContexts = [("Hamlet","Normal Text")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStContinuation = False, synStCaseSensitive = True, synStKeywordCaseSensitive = True, synStCaptures = []}++pEndLine = do+  updateState $ \st -> st{ synStPrevNonspace = False }+  context <- currentContext+  contexts <- synStContexts `fmap` getState+  st <- getState+  if length contexts >= 2+    then case context of+      _ | synStContinuation st -> updateState $ \st -> st{ synStContinuation = False }+      ("Hamlet","Normal Text") -> (popContext) >> pEndLine+      ("Hamlet","element") -> return ()+      ("Hamlet","Logic") -> (popContext) >> pEndLine+      ("Hamlet","Code") -> return ()+      ("Hamlet","Codeline") -> (popContext) >> pEndLine+      ("Hamlet","Assignment") -> (popContext) >> pEndLine+      ("Hamlet","Attribute") -> return ()+      ("Hamlet","Value") -> return ()+      ("Hamlet","Value DQ") -> return ()+      ("Hamlet","Value SQ") -> return ()+      ("Hamlet","Value Code") -> return ()+      _ -> return ()+    else return ()++withAttribute attr txt = do+  when (null txt) $ fail "Parser matched no text"+  updateState $ \st -> st { synStPrevChar = last txt+                          , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) }+  return (attr, txt)+++regex_'3c'28'3f'21'5b0'2d9'5d'29'5b'5cw'5f'3a'5d'5b'5cw'2e'3a'5f'2d'5d'2a'5cb = compileRegex True "<(?![0-9])[\\w_:][\\w.:_-]*\\b"+regex_'28'3f'21'5b0'2d9'5d'29'5b'5cw'5f'3a'5d'5b'5cw'2e'3a'5f'2d'5d'2a = compileRegex True "(?![0-9])[\\w_:][\\w.:_-]*"+regex_'5cs'2b'28'3f'21'5b0'2d9'5d'29'5b'5cw'5f'3a'5d'5b'5cw'2e'3a'5f'2d'5d'2a = compileRegex True "\\s+(?![0-9])[\\w_:][\\w.:_-]*"+regex_'5c'2e'28'3f'21'5b0'2d9'5d'29'5b'5cw'5f'3a'5d'5b'5cw'2e'3a'5f'2d'5d'2a = compileRegex True "\\.(?![0-9])[\\w_:][\\w.:_-]*"+regex_'5cS = compileRegex True "\\S"+regex_'5b'5e'22'27'3e'5cs'5d'2b = compileRegex True "[^\"'>\\s]+"++parseRules ("Hamlet","Normal Text") =+  (((pRegExpr regex_'3c'28'3f'21'5b0'2d9'5d'29'5b'5cw'5f'3a'5d'5b'5cw'2e'3a'5f'2d'5d'2a'5cb >>= withAttribute KeywordTok) >>~ pushContext ("Hamlet","element"))+   <|>+   ((pString False "^{" >>= withAttribute KeywordTok) >>~ pushContext ("Hamlet","Code"))+   <|>+   ((pString False "#{" >>= withAttribute KeywordTok) >>~ pushContext ("Hamlet","Code"))+   <|>+   ((pString False "@{" >>= withAttribute KeywordTok) >>~ pushContext ("Hamlet","Code"))+   <|>+   ((pString False "_{" >>= withAttribute KeywordTok) >>~ pushContext ("Hamlet","Code"))+   <|>+   ((pFirstNonSpace >> pDetectChar False '$' >>= withAttribute KeywordTok) >>~ pushContext ("Hamlet","Logic"))+   <|>+   (currentContext >>= \x -> guard (x == ("Hamlet","Normal Text")) >> pDefault >>= withAttribute NormalTok))++parseRules ("Hamlet","element") =+  (((pDetect2Chars False '/' '>' >>= withAttribute KeywordTok) >>~ (popContext))+   <|>+   ((pDetectChar False '>' >>= withAttribute KeywordTok) >>~ (popContext))+   <|>+   ((pColumn 0 >> pRegExpr regex_'28'3f'21'5b0'2d9'5d'29'5b'5cw'5f'3a'5d'5b'5cw'2e'3a'5f'2d'5d'2a >>= withAttribute OtherTok) >>~ pushContext ("Hamlet","Attribute"))+   <|>+   ((pRegExpr regex_'5cs'2b'28'3f'21'5b0'2d9'5d'29'5b'5cw'5f'3a'5d'5b'5cw'2e'3a'5f'2d'5d'2a >>= withAttribute OtherTok) >>~ pushContext ("Hamlet","Attribute"))+   <|>+   ((pRegExpr regex_'5c'2e'28'3f'21'5b0'2d9'5d'29'5b'5cw'5f'3a'5d'5b'5cw'2e'3a'5f'2d'5d'2a >>= withAttribute StringTok))+   <|>+   ((pRegExpr regex_'5cS >>= withAttribute ErrorTok))+   <|>+   (currentContext >>= \x -> guard (x == ("Hamlet","element")) >> pDefault >>= withAttribute KeywordTok))++parseRules ("Hamlet","Logic") =+  (((pRegExpr (compileRegex True "\\bif\\b") >>= withAttribute KeywordTok) >>~ pushContext ("Hamlet","Codeline"))+   <|>+   ((pRegExpr (compileRegex True "\\belseif\\b") >>= withAttribute KeywordTok) >>~ pushContext ("Hamlet","Codeline"))+   <|>+   ((pRegExpr (compileRegex True "\\bforall\\b") >>= withAttribute KeywordTok) >>~ pushContext ("Hamlet","Assignment"))+   <|>+   ((pRegExpr (compileRegex True "\\bmaybe\\b") >>= withAttribute KeywordTok) >>~ pushContext ("Hamlet","Assignment"))+   <|>+   ((pRegExpr (compileRegex True "\\belse\\b") >>= withAttribute KeywordTok))+   <|>+   ((pRegExpr (compileRegex True "\\bnothing\\b") >>= withAttribute KeywordTok))+   <|>+   ((pRegExpr regex_'5cS >>= withAttribute ErrorTok))+   <|>+   (currentContext >>= \x -> guard (x == ("Hamlet","Logic")) >> pDefault >>= withAttribute NormalTok))++parseRules ("Hamlet","Code") =+  (((pDetectChar False '}' >>= withAttribute KeywordTok) >>~ (popContext))+   <|>+   ((Text.Highlighting.Kate.Syntax.Haskell.parseExpression (Just ("Haskell",""))))+   <|>+   (currentContext >>= \x -> guard (x == ("Hamlet","Code")) >> pDefault >>= withAttribute NormalTok))++parseRules ("Hamlet","Codeline") =+  (((Text.Highlighting.Kate.Syntax.Haskell.parseExpression (Just ("Haskell",""))))+   <|>+   (currentContext >>= \x -> guard (x == ("Hamlet","Codeline")) >> pDefault >>= withAttribute NormalTok))++parseRules ("Hamlet","Assignment") =+  (((pString False "<-" >>= withAttribute OtherTok) >>~ pushContext ("Hamlet","Codeline"))+   <|>+   ((Text.Highlighting.Kate.Syntax.Haskell.parseExpression (Just ("Haskell",""))))+   <|>+   (currentContext >>= \x -> guard (x == ("Hamlet","Assignment")) >> pDefault >>= withAttribute NormalTok))++parseRules ("Hamlet","Attribute") =+  (((pDetectChar False '=' >>= withAttribute OtherTok) >>~ pushContext ("Hamlet","Value"))+   <|>+   ((pDetectChar False '>' >>= withAttribute KeywordTok) >>~ (popContext >> popContext))+   <|>+   ((pRegExpr regex_'5cS >>= withAttribute ErrorTok))+   <|>+   (currentContext >>= \x -> guard (x == ("Hamlet","Attribute")) >> pDefault >>= withAttribute NormalTok))++parseRules ("Hamlet","Value") =+  (((pDetectChar False '"' >>= withAttribute StringTok) >>~ pushContext ("Hamlet","Value DQ"))+   <|>+   ((pDetectChar False '\'' >>= withAttribute StringTok) >>~ pushContext ("Hamlet","Value SQ"))+   <|>+   ((pString False "@{" >>= withAttribute KeywordTok) >>~ pushContext ("Hamlet","Value Code"))+   <|>+   ((pString False "#{" >>= withAttribute KeywordTok) >>~ pushContext ("Hamlet","Value Code"))+   <|>+   ((pRegExpr regex_'5b'5e'22'27'3e'5cs'5d'2b >>= withAttribute StringTok) >>~ (popContext >> popContext))+   <|>+   ((pRegExpr regex_'5cS >>= withAttribute ErrorTok))+   <|>+   (currentContext >>= \x -> guard (x == ("Hamlet","Value")) >> pDefault >>= withAttribute StringTok))++parseRules ("Hamlet","Value DQ") =+  (((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext >> popContext >> popContext))+   <|>+   (currentContext >>= \x -> guard (x == ("Hamlet","Value DQ")) >> pDefault >>= withAttribute StringTok))++parseRules ("Hamlet","Value SQ") =+  (((pDetectChar False '\'' >>= withAttribute StringTok) >>~ (popContext >> popContext >> popContext))+   <|>+   (currentContext >>= \x -> guard (x == ("Hamlet","Value SQ")) >> pDefault >>= withAttribute StringTok))++parseRules ("Hamlet","Value Code") =+  (((pDetectChar False '}' >>= withAttribute KeywordTok) >>~ (popContext >> popContext >> popContext))+   <|>+   ((Text.Highlighting.Kate.Syntax.Haskell.parseExpression (Just ("Haskell",""))))+   <|>+   (currentContext >>= \x -> guard (x == ("Hamlet","Value Code")) >> pDefault >>= withAttribute NormalTok))++parseRules ("Haskell", _) = Text.Highlighting.Kate.Syntax.Haskell.parseExpression Nothing++parseRules x = parseRules ("Hamlet","Normal Text") <|> fail ("Unknown context" ++ show x)
Text/Highlighting/Kate/Syntax/Haskell.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file haskell.xml, version 2.4, by Nicolas Wu (zenzike@gmail.com) -}+   highlighting file haskell.xml, version 4, by Nicolas Wu (zenzike@gmail.com) -}  module Text.Highlighting.Kate.Syntax.Haskell           (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -48,15 +48,21 @@     then case context of       _ | synStContinuation st -> updateState $ \st -> st{ synStContinuation = False }       ("Haskell","code") -> return ()+      ("Haskell","QuasiQuote") -> return ()       ("Haskell","comment") -> (popContext) >> pEndLine       ("Haskell","comments") -> return ()       ("Haskell","char") -> (popContext) >> pEndLine       ("Haskell","string") -> return ()       ("Haskell","infix") -> return ()       ("Haskell","import") -> (popContext) >> pEndLine+      ("Haskell","Haddock") -> return ()+      ("Haskell","Start Haddock Emphasis") -> (popContext) >> pEndLine+      ("Haskell","Haddock Emphasis") -> (popContext) >> pEndLine+      ("Haskell","Start Haddock Bold") -> (popContext) >> pEndLine+      ("Haskell","Haddock Bold") -> (popContext) >> pEndLine+      ("Haskell","C Preprocessor") -> (popContext) >> pEndLine       ("Haskell","c2hs directive") -> return ()       ("Haskell","c2hs import") -> return ()-      ("Haskell","c2hs include") -> (popContext) >> pEndLine       ("Haskell","c2hs pointer") -> return ()       ("Haskell","c2hs fun") -> return ()       ("Haskell","c2hs enum") -> return ()@@ -70,30 +76,36 @@   return (attr, txt)  list_keywords = Set.fromList $ words $ "case class data deriving do else if in infixl infixr instance let module newtype of primitive then type where"-list_prelude_function = Set.fromList $ words $ "FilePath IOError abs acos acosh all and any appendFile approxRational asTypeOf asin asinh atan atan2 atanh basicIORun break catch ceiling chr compare concat concatMap const cos cosh curry cycle decodeFloat denominator digitToInt div divMod drop dropWhile either elem encodeFloat enumFrom enumFromThen enumFromThenTo enumFromTo error even exp exponent fail filter flip floatDigits floatRadix floatRange floor fmap foldl foldl1 foldr foldr1 fromDouble fromEnum fromInt fromInteger fromIntegral fromRational fst gcd getChar getContents getLine group head id inRange index init intToDigit interact ioError isAlpha isAlphaNum isAscii isControl isDenormalized isDigit isHexDigit isIEEE isInfinite isLower isNaN isNegativeZero isOctDigit isPrint isSpace isUpper iterate last lcm length lex lexDigits lexLitChar lines log logBase lookup map mapM mapM_ max maxBound maximum maybe min minBound minimum mod negate not notElem null numerator odd or ord otherwise pack pi pred primExitWith print product properFraction putChar putStr putStrLn quot quotRem range rangeSize read readDec readFile readFloat readHex readIO readInt readList readLitChar readLn readOct readParen readSigned reads readsPrec realToFrac recip rem repeat replicate return reverse round scaleFloat scanl scanl1 scanr scanr1 seq sequence sequence_ show showChar showInt showList showLitChar showParen showSigned showString shows showsPrec significand signum sin sinh snd sort span splitAt sqrt subtract succ sum tail take takeWhile tan tanh threadToIOResult toEnum toInt toInteger toLower toRational toUpper truncate uncurry undefined unlines until unwords unzip unzip3 userError words writeFile zip zip3 zipWith zipWith3"-list_prelude_class = Set.fromList $ words $ "Bounded Enum Eq Floating Fractional Functor Integral Ix Monad Num Ord Read Real RealFloat RealFrac Show"-list_prelude_type = Set.fromList $ words $ "Bool Char Double Either FilePath Float Int Integer IO IOError Maybe Ordering Ratio Rational ReadS ShowS String ByteString"+list_prelude_function = Set.fromList $ words $ "FilePath IOError abs acos acosh all and any appendFile approxRational asTypeOf asin asinh atan atan2 atanh basicIORun break catch ceiling chr compare concat concatMap const cos cosh curry cycle decodeFloat denominator digitToInt div divMod drop dropWhile either elem encodeFloat enumFrom enumFromThen enumFromThenTo enumFromTo error even exp exponent fail filter flip floatDigits floatRadix floatRange floor fmap foldl foldl1 foldMap foldr foldr1 fromDouble fromEnum fromInt fromInteger fromIntegral fromRational fst gcd getChar getContents getLine group head id inRange index init intToDigit interact ioError isAlpha isAlphaNum isAscii isControl isDenormalized isDigit isHexDigit isIEEE isInfinite isLower isNaN isNegativeZero isOctDigit isPrint isSpace isUpper iterate last lcm length lex lexDigits lexLitChar lines log logBase lookup map mappend mapM mapM_ max maxBound maximum maybe mconcat mempty min minBound minimum mod negate not notElem null numerator odd or ord otherwise pack pi pred primExitWith print product properFraction pure putChar putStr putStrLn quot quotRem range rangeSize read readDec readFile readFloat readHex readIO readInt readList readLitChar readLn readOct readParen readSigned reads readsPrec realToFrac recip rem repeat replicate return reverse round scaleFloat scanl scanl1 scanr scanr1 seq sequence sequenceA sequence_ show showChar showInt showList showLitChar showParen showSigned showString shows showsPrec significand signum sin sinh snd sort span splitAt sqrt subtract succ sum tail take takeWhile tan tanh threadToIOResult toEnum toInt toInteger toLower toRational toUpper traverse truncate uncurry undefined unlines until unwords unzip unzip3 userError words writeFile zip zip3 zipWith zipWith3"+list_prelude_class = Set.fromList $ words $ "Applicative Bounded Enum Eq Floating Foldable Fractional Functor Integral Ix Monad Monoid Num Ord Read Real RealFloat RealFrac Show Traversable"+list_prelude_type = Set.fromList $ words $ "Bool ByteString Char Double Either FilePath Float Int Integer IO IOError Maybe Ordering Ratio Rational ReadS ShowS String Word" list_prelude_data = Set.fromList $ words $ "False True Left Right Just Nothing EQ LT GT"-list_class = Set.fromList $ words $ "Applicative Foldable Traversable"+list_cpp'5fkeywords = Set.fromList $ words $ "defined if ifdef ifndef include undef" list_c2hs'5fkeywords = Set.fromList $ words $ "qualified lib prefix as with call pure unsafe get set foreign stable nocode" list_import'5fkeywords = Set.fromList $ words $ "as qualified hiding"  regex_'5c'7b'2d'23'2e'2a'23'2d'5c'7d = compileRegex True "\\{-#.*#-\\}" regex_'5c'7b'2d'5b'5e'23'5d'3f = compileRegex True "\\{-[^#]?"-regex_'2d'2d'5b'5e'5c'2d'21'23'5c'24'25'26'5c'2a'5c'2b'2f'3c'3d'3e'5c'3f'5c'40'5c'5e'5c'7c'7e'5c'2e'3a'5d'2e'2a'24 = compileRegex True "--[^\\-!#\\$%&\\*\\+/<=>\\?\\@\\^\\|~\\.:].*$"+regex_'2d'2d'5b'5c'2d'5d'2a'28'5b'5e'21'23'5c'24'25'26'5c'2a'5c'2b'5c'2e'2f'3c'3d'3e'5c'3f'40'5c'5c'5e'5c'7c'5c'2d'7e'3a'5d'7c'24'29 = compileRegex True "--[\\-]*([^!#\\$%&\\*\\+\\./<=>\\?@\\\\^\\|\\-~:]|$)" regex_import'5cs'2b = compileRegex True "import\\s+"-regex_'5c'7b'23 = compileRegex True "\\{#"-regex_'23 = compileRegex True "#" regex_'28'3a'3a'7c'3d'3e'7c'5c'2d'3e'7c'3c'5c'2d'29 = compileRegex True "(::|=>|\\->|<\\-)"-regex_'5cs'2a'5ba'2dz'5d'5ba'2dzA'2dZ0'2d9'5f'27'5d'2a'5cs'2a'28'3f'3d'3a'3a'5b'5e'5c'2d'21'23'5c'24'25'26'5c'2a'5c'2b'2f'3c'3d'3e'5c'3f'5c'40'5c'5e'5c'7c'7e'5c'2e'3a'5d'29 = compileRegex True "\\s*[a-z][a-zA-Z0-9_']*\\s*(?=::[^\\-!#\\$%&\\*\\+/<=>\\?\\@\\^\\|~\\.:])"+regex_'5cs'2a'5ba'2dz'5f'5d'5ba'2dzA'2dZ0'2d9'5f'27'5d'2a'5cs'2a'28'3f'3d'3a'3a'28'5b'5e'5c'2d'21'23'5c'24'25'26'5c'2a'5c'2b'2f'3c'3d'3e'5c'3f'5c'40'5c'5e'5c'7c'7e'5c'2e'3a'5d'7c'24'29'29 = compileRegex True "\\s*[a-z_][a-zA-Z0-9_']*\\s*(?=::([^\\-!#\\$%&\\*\\+/<=>\\?\\@\\^\\|~\\.:]|$))" regex_'5cs'2a'28'5c'28'5b'5c'2d'21'23'5c'24'25'26'5c'2a'5c'2b'2f'3c'3d'3e'5c'3f'5c'40'5c'5e'5c'7c'7e'5c'2e'3a'5d'2a'5c'29'29'2a'5cs'2a'28'3f'3d'3a'3a'5b'5e'5c'2d'21'23'5c'24'25'26'5c'2a'5c'2b'2f'3c'3d'3e'5c'3f'5c'40'5c'5e'5c'7c'7e'5c'2e'3a'5d'29 = compileRegex True "\\s*(\\([\\-!#\\$%&\\*\\+/<=>\\?\\@\\^\\|~\\.:]*\\))*\\s*(?=::[^\\-!#\\$%&\\*\\+/<=>\\?\\@\\^\\|~\\.:])"-regex_'28'5bA'2dZ'5d'5ba'2dzA'2dZ0'2d9'5f'27'5d'2a'5c'2e'29'2a'5ba'2dz'5d'5ba'2dzA'2dZ0'2d9'5f'27'5d'2a = compileRegex True "([A-Z][a-zA-Z0-9_']*\\.)*[a-z][a-zA-Z0-9_']*"+regex_'28'5bA'2dZ'5d'5ba'2dzA'2dZ0'2d9'5f'27'5d'2a'5c'2e'29'2a'5ba'2dz'5f'5d'5ba'2dzA'2dZ0'2d9'5f'27'5d'2a = compileRegex True "([A-Z][a-zA-Z0-9_']*\\.)*[a-z_][a-zA-Z0-9_']*" regex_'28'5bA'2dZ'5d'5ba'2dzA'2dZ0'2d0'5f'27'5d'2a'5c'2e'29'2a'5b'5c'2d'21'23'5c'24'25'26'5c'2a'5c'2b'2f'3c'3d'3e'5c'3f'5c'40'5c'5e'5c'7c'7e'5c'2e'3a'5d'2b = compileRegex True "([A-Z][a-zA-Z0-0_']*\\.)*[\\-!#\\$%&\\*\\+/<=>\\?\\@\\^\\|~\\.:]+" regex_'28'5bA'2dZ'5d'5ba'2dzA'2dZ0'2d9'5f'27'5d'2a'5c'2e'29'2a'5bA'2dZ'5d'5ba'2dzA'2dZ0'2d9'5f'27'5d'2a = compileRegex True "([A-Z][a-zA-Z0-9_']*\\.)*[A-Z][a-zA-Z0-9_']*" regex_'5cd'2b'5c'2e'5cd'2b'28'5bEe'5d'5b'2b'2d'5d'3f'5cd'2b'29'3f'7c'5cd'2b'5bEe'5d'5b'2b'2d'5d'3f'5cd'2b = compileRegex True "\\d+\\.\\d+([Ee][+-]?\\d+)?|\\d+[Ee][+-]?\\d+" regex_0'5bOo'5d'5b0'2d7'5d'2b = compileRegex True "0[Oo][0-7]+" regex_0'5bXx'5d'5b0'2d9A'2dFa'2df'5d'2b = compileRegex True "0[Xx][0-9A-Fa-f]+"+regex_'5c'5b'5ba'2dzA'2dZ'5f'27'5d'28'5cw'7c'5b'5f'27'5d'29'2a'5c'7c = compileRegex True "\\[[a-zA-Z_'](\\w|[_'])*\\|" regex_'5c'5c'2e = compileRegex True "\\\\."+regex_'28'5bA'2dZ'5d'5ba'2dzA'2dZ0'2d9'5f'27'5d'2a'5c'2e'29'2a'5ba'2dz'5d'5ba'2dzA'2dZ0'2d9'5f'27'5d'2a = compileRegex True "([A-Z][a-zA-Z0-9_']*\\.)*[a-z][a-zA-Z0-9_']*"+regex_'2d'2d'5b'5e'5c'2d'21'23'5c'24'25'26'5c'2a'5c'2b'2f'3c'3d'3e'5c'3f'5c'40'5c'5e'5c'7c'7e'5c'2e'3a'5d'2e'2a'24 = compileRegex True "--[^\\-!#\\$%&\\*\\+/<=>\\?\\@\\^\\|~\\.:].*$"+regex_'27'28'5bA'2dZ'5d'5ba'2dzA'2dZ0'2d9'5f'27'5d'2a'5c'2e'29'2a'5ba'2dz'5f'5d'5ba'2dzA'2dZ0'2d9'5f'27'5d'2a'27 = compileRegex True "'([A-Z][a-zA-Z0-9_']*\\.)*[a-z_][a-zA-Z0-9_']*'"+regex_'22'28'5bA'2dZ'5d'5ba'2dzA'2dZ0'2d9'5f'27'5d'2a'5c'2e'29'2a'5bA'2dZ'5d'5ba'2dzA'2dZ0'2d9'5f'27'5d'2a'22 = compileRegex True "\"([A-Z][a-zA-Z0-9_']*\\.)*[A-Z][a-zA-Z0-9_']*\""+regex_'2f'2e'2a'2f = compileRegex True "/.*/"+regex_'5f'5f'2e'2a'5f'5f = compileRegex True "__.*__"+regex_'2e'2a'3e'24 = compileRegex True ".*>$" regex_context = compileRegex True "context" regex_call = compileRegex True "call" regex_sizeof = compileRegex True "sizeof"@@ -102,23 +114,23 @@ regex_pointer = compileRegex True "pointer" regex_enum = compileRegex True "enum" regex_import = compileRegex True "import"-regex_include = compileRegex True "include"-regex_'2a'2e'3e'24 = compileRegex True "*.>$" regex_newtype = compileRegex True "newtype" regex_'60'5b'5e'27'5d'2a'27 = compileRegex True "`[^']*'"  parseRules ("Haskell","code") =   (((pRegExpr regex_'5c'7b'2d'23'2e'2a'23'2d'5c'7d >>= withAttribute OtherTok))    <|>+   ((pString False "{--}" >>= withAttribute CommentTok))+   <|>    ((pRegExpr regex_'5c'7b'2d'5b'5e'23'5d'3f >>= withAttribute CommentTok) >>~ pushContext ("Haskell","comments"))    <|>-   ((pRegExpr regex_'2d'2d'5b'5e'5c'2d'21'23'5c'24'25'26'5c'2a'5c'2b'2f'3c'3d'3e'5c'3f'5c'40'5c'5e'5c'7c'7e'5c'2e'3a'5d'2e'2a'24 >>= withAttribute CommentTok) >>~ pushContext ("Haskell","comment"))+   ((pRegExpr regex_'2d'2d'5b'5c'2d'5d'2a'28'5b'5e'21'23'5c'24'25'26'5c'2a'5c'2b'5c'2e'2f'3c'3d'3e'5c'3f'40'5c'5c'5e'5c'7c'5c'2d'7e'3a'5d'7c'24'29 >>= withAttribute CommentTok) >>~ pushContext ("Haskell","comment"))    <|>    ((pRegExpr regex_import'5cs'2b >>= withAttribute KeywordTok) >>~ pushContext ("Haskell","import"))    <|>-   ((pRegExpr regex_'5c'7b'23 >>= withAttribute StringTok) >>~ pushContext ("Haskell","c2hs directive"))+   ((pDetect2Chars False '{' '#' >>= withAttribute StringTok) >>~ pushContext ("Haskell","c2hs directive"))    <|>-   ((pRegExpr regex_'23 >>= withAttribute StringTok) >>~ pushContext ("Haskell","c2hs include"))+   ((pColumn 0 >> pDetectChar False '#' >>= withAttribute OtherTok) >>~ pushContext ("Haskell","C Preprocessor"))    <|>    ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_keywords >>= withAttribute KeywordTok))    <|>@@ -130,17 +142,15 @@    <|>    ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_prelude_class >>= withAttribute DataTypeTok))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_class >>= withAttribute DataTypeTok))-   <|>    ((pRegExpr regex_'28'3a'3a'7c'3d'3e'7c'5c'2d'3e'7c'3c'5c'2d'29 >>= withAttribute OtherTok))    <|>    ((pAnyChar "\8759\8658\8594\8592\8704\8707" >>= withAttribute OtherTok))    <|>-   ((pRegExpr regex_'5cs'2a'5ba'2dz'5d'5ba'2dzA'2dZ0'2d9'5f'27'5d'2a'5cs'2a'28'3f'3d'3a'3a'5b'5e'5c'2d'21'23'5c'24'25'26'5c'2a'5c'2b'2f'3c'3d'3e'5c'3f'5c'40'5c'5e'5c'7c'7e'5c'2e'3a'5d'29 >>= withAttribute OtherTok))+   ((pRegExpr regex_'5cs'2a'5ba'2dz'5f'5d'5ba'2dzA'2dZ0'2d9'5f'27'5d'2a'5cs'2a'28'3f'3d'3a'3a'28'5b'5e'5c'2d'21'23'5c'24'25'26'5c'2a'5c'2b'2f'3c'3d'3e'5c'3f'5c'40'5c'5e'5c'7c'7e'5c'2e'3a'5d'7c'24'29'29 >>= withAttribute OtherTok))    <|>    ((pRegExpr regex_'5cs'2a'28'5c'28'5b'5c'2d'21'23'5c'24'25'26'5c'2a'5c'2b'2f'3c'3d'3e'5c'3f'5c'40'5c'5e'5c'7c'7e'5c'2e'3a'5d'2a'5c'29'29'2a'5cs'2a'28'3f'3d'3a'3a'5b'5e'5c'2d'21'23'5c'24'25'26'5c'2a'5c'2b'2f'3c'3d'3e'5c'3f'5c'40'5c'5e'5c'7c'7e'5c'2e'3a'5d'29 >>= withAttribute OtherTok))    <|>-   ((pRegExpr regex_'28'5bA'2dZ'5d'5ba'2dzA'2dZ0'2d9'5f'27'5d'2a'5c'2e'29'2a'5ba'2dz'5d'5ba'2dzA'2dZ0'2d9'5f'27'5d'2a >>= withAttribute NormalTok))+   ((pRegExpr regex_'28'5bA'2dZ'5d'5ba'2dzA'2dZ0'2d9'5f'27'5d'2a'5c'2e'29'2a'5ba'2dz'5f'5d'5ba'2dzA'2dZ0'2d9'5f'27'5d'2a >>= withAttribute NormalTok))    <|>    ((pRegExpr regex_'28'5bA'2dZ'5d'5ba'2dzA'2dZ0'2d0'5f'27'5d'2a'5c'2e'29'2a'5b'5c'2d'21'23'5c'24'25'26'5c'2a'5c'2b'2f'3c'3d'3e'5c'3f'5c'40'5c'5e'5c'7c'7e'5c'2e'3a'5d'2b >>= withAttribute FunctionTok))    <|>@@ -164,14 +174,27 @@    <|>    ((pAnyChar "\8229" >>= withAttribute OtherTok))    <|>+   ((pRegExpr regex_'5c'5b'5ba'2dzA'2dZ'5f'27'5d'28'5cw'7c'5b'5f'27'5d'29'2a'5c'7c >>= withAttribute NormalTok) >>~ pushContext ("Haskell","QuasiQuote"))+   <|>    (currentContext >>= \x -> guard (x == ("Haskell","code")) >> pDefault >>= withAttribute NormalTok)) +parseRules ("Haskell","QuasiQuote") =+  (((pDetect2Chars False '|' ']' >>= withAttribute NormalTok) >>~ (popContext))+   <|>+   (currentContext >>= \x -> guard (x == ("Haskell","QuasiQuote")) >> pDefault >>= withAttribute NormalTok))+ parseRules ("Haskell","comment") =-  (currentContext >>= \x -> guard (x == ("Haskell","comment")) >> pDefault >>= withAttribute CommentTok)+  (((parseRules ("Haskell","Haddock")))+   <|>+   (currentContext >>= \x -> guard (x == ("Haskell","comment")) >> pDefault >>= withAttribute CommentTok))  parseRules ("Haskell","comments") =-  (((pDetect2Chars False '-' '}' >>= withAttribute CommentTok) >>~ (popContext))+  (((pDetect2Chars False '{' '-' >>= withAttribute CommentTok) >>~ pushContext ("Haskell","comment"))    <|>+   ((pDetect2Chars False '-' '}' >>= withAttribute CommentTok) >>~ (popContext))+   <|>+   ((parseRules ("Haskell","Haddock")))+   <|>    (currentContext >>= \x -> guard (x == ("Haskell","comments")) >> pDefault >>= withAttribute CommentTok))  parseRules ("Haskell","char") =@@ -208,6 +231,48 @@    <|>    (currentContext >>= \x -> guard (x == ("Haskell","import")) >> pDefault >>= withAttribute NormalTok)) +parseRules ("Haskell","Haddock") =+  (((pRegExpr regex_'27'28'5bA'2dZ'5d'5ba'2dzA'2dZ0'2d9'5f'27'5d'2a'5c'2e'29'2a'5ba'2dz'5f'5d'5ba'2dzA'2dZ0'2d9'5f'27'5d'2a'27 >>= withAttribute CommentTok))+   <|>+   ((pRegExpr regex_'22'28'5bA'2dZ'5d'5ba'2dzA'2dZ0'2d9'5f'27'5d'2a'5c'2e'29'2a'5bA'2dZ'5d'5ba'2dzA'2dZ0'2d9'5f'27'5d'2a'22 >>= withAttribute CommentTok))+   <|>+   ((lookAhead (pRegExpr regex_'2f'2e'2a'2f) >> pushContext ("Haskell","Start Haddock Emphasis") >> currentContext >>= parseRules))+   <|>+   ((lookAhead (pRegExpr regex_'5f'5f'2e'2a'5f'5f) >> pushContext ("Haskell","Start Haddock Bold") >> currentContext >>= parseRules))+   <|>+   (currentContext >>= \x -> guard (x == ("Haskell","Haddock")) >> pDefault >>= withAttribute CommentTok))++parseRules ("Haskell","Start Haddock Emphasis") =+  (((pDetectChar False '/' >>= withAttribute CommentTok) >>~ pushContext ("Haskell","Haddock Emphasis"))+   <|>+   (currentContext >>= \x -> guard (x == ("Haskell","Start Haddock Emphasis")) >> pDefault >>= withAttribute CommentTok))++parseRules ("Haskell","Haddock Emphasis") =+  (((pDetectChar False '/' >>= withAttribute CommentTok) >>~ (popContext >> popContext))+   <|>+   ((parseRules ("Haskell","Haddock")))+   <|>+   (currentContext >>= \x -> guard (x == ("Haskell","Haddock Emphasis")) >> pDefault >>= withAttribute CommentTok))++parseRules ("Haskell","Start Haddock Bold") =+  (((pDetect2Chars False '_' '_' >>= withAttribute CommentTok) >>~ pushContext ("Haskell","Haddock Bold"))+   <|>+   (currentContext >>= \x -> guard (x == ("Haskell","Start Haddock Bold")) >> pDefault >>= withAttribute CommentTok))++parseRules ("Haskell","Haddock Bold") =+  (((pDetect2Chars False '_' '_' >>= withAttribute CommentTok) >>~ (popContext >> popContext))+   <|>+   ((parseRules ("Haskell","Haddock")))+   <|>+   (currentContext >>= \x -> guard (x == ("Haskell","Haddock Bold")) >> pDefault >>= withAttribute CommentTok))++parseRules ("Haskell","C Preprocessor") =+  (((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_cpp'5fkeywords >>= withAttribute OtherTok))+   <|>+   ((pRegExpr regex_'2e'2a'3e'24 >>= withAttribute OtherTok))+   <|>+   (currentContext >>= \x -> guard (x == ("Haskell","C Preprocessor")) >> pDefault >>= withAttribute OtherTok))+ parseRules ("Haskell","c2hs directive") =   (((pDetect2Chars False '#' '}' >>= withAttribute StringTok) >>~ (popContext))    <|>@@ -237,13 +302,6 @@    ((pDetect2Chars False '#' '}' >>= withAttribute StringTok) >>~ (popContext >> popContext))    <|>    (currentContext >>= \x -> guard (x == ("Haskell","c2hs import")) >> pDefault >>= withAttribute StringTok))--parseRules ("Haskell","c2hs include") =-  (((pRegExpr regex_include >>= withAttribute KeywordTok))-   <|>-   ((pRegExpr regex_'2a'2e'3e'24 >>= withAttribute StringTok))-   <|>-   (currentContext >>= \x -> guard (x == ("Haskell","c2hs include")) >> pDefault >>= withAttribute StringTok))  parseRules ("Haskell","c2hs pointer") =   (((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_c2hs'5fkeywords >>= withAttribute KeywordTok))
Text/Highlighting/Kate/Syntax/Haxe.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file haxe.xml, version 0.1, by Chad Joan -}+   highlighting file haxe.xml, version 1, by Chad Joan -}  module Text.Highlighting.Kate.Syntax.Haxe           (highlight, parseExpression, syntaxName, syntaxExtensions)
Text/Highlighting/Kate/Syntax/Html.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file html.xml, version 2.1, by Wilbert Berendsen (wilbert@kde.nl) -}+   highlighting file html.xml, version 3, by Wilbert Berendsen (wilbert@kde.nl) -}  module Text.Highlighting.Kate.Syntax.Html           (highlight, parseExpression, syntaxName, syntaxExtensions)
Text/Highlighting/Kate/Syntax/Ini.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file ini.xml, version 1.1, by Jan Janssen (medhefgo@web.de) -}+   highlighting file ini.xml, version 2, by Jan Janssen (medhefgo@web.de) -}  module Text.Highlighting.Kate.Syntax.Ini           (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -66,7 +66,7 @@ regex_'23'2e'2a'24 = compileRegex True "#.*$"  parseRules ("INI Files","ini") =-  (((pRangeDetect '[' ']' >>= withAttribute KeywordTok) >>~ (popContext))+  (((pRangeDetect '[' ']' >>= withAttribute KeywordTok))    <|>    ((pDetectChar False '=' >>= withAttribute OtherTok) >>~ pushContext ("INI Files","Value"))    <|>
Text/Highlighting/Kate/Syntax/Isocpp.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file isocpp.xml, version 2.4, by Alex Turbov (i.zaufi@gmail.com) -}+   highlighting file isocpp.xml, version 6, by Alex Turbov (i.zaufi@gmail.com) -}  module Text.Highlighting.Kate.Syntax.Isocpp           (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -71,6 +71,7 @@       ("ISO C++","Comment 1") -> (popContext) >> pEndLine       ("ISO C++","Comment 2") -> return ()       ("ISO C++","AfterHash") -> (popContext) >> pEndLine+      ("ISO C++","Include") -> (popContext) >> pEndLine       ("ISO C++","Preprocessor") -> (popContext) >> pEndLine       ("ISO C++","Define") -> (popContext) >> pEndLine       ("ISO C++","Comment/Preprocessor") -> return ()@@ -88,10 +89,11 @@                           , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) }   return (attr, txt) -list_keywords = Set.fromList $ words $ "alignof alignas asm auto break case catch class constexpr const_cast continue decltype default delete do dynamic_cast else enum explicit export false final friend for goto if inline namespace new noexcept nullptr operator override private protected public reinterpret_cast return sizeof static_assert static_cast struct switch template this throw true try typedef typeid typename union using virtual while and and_eq bitand bitor compl not not_eq or or_eq xor xor_eq"+list_controlflow = Set.fromList $ words $ "break case catch continue default do else for goto if return switch throw try while"+list_keywords = Set.fromList $ words $ "alignof alignas asm auto class constexpr const_cast decltype delete dynamic_cast enum explicit export false final friend inline namespace new noexcept nullptr operator override private protected public reinterpret_cast sizeof static_assert static_cast struct template this true typedef typeid typename union using virtual and and_eq bitand bitor compl not not_eq or or_eq xor xor_eq" list_template = Set.fromList $ words $ "template" list_attributes = Set.fromList $ words $ "noreturn carries_dependency deprecated"-list_types = Set.fromList $ words $ "bool char char16_t char32_t double float int long short signed unsigned void int8_t int16_t int32_t int64_t uint8_t uint16_t uint32_t uint64_t wchar_t"+list_types = Set.fromList $ words $ "bool char char16_t char32_t double float int long short signed unsigned void int8_t int16_t int32_t int64_t uint8_t uint16_t uint32_t uint64_t int_least8_t int_least16_t int_least32_t int_least64_t uint_least8_t uint_least16_t uint_least32_t uint_least64_t int_fast8_t int_fast16_t int_fast32_t int_fast64_t uint_fast8_t uint_fast16_t uint_fast32_t uint_fast64_t size_t ssize_t wchar_t intptr_t uintptr_t intmax_t uintmax_t ptrdiff_t sig_atomic_t wint_t" list_modifiers = Set.fromList $ words $ "const extern mutable register static thread_local volatile" list_StdMacros = Set.fromList $ words $ "__FILE__ __LINE__ __DATE__ __TIME__ __STDC__ __STDC_VERSION__ __STDC_HOSTED__ __STDC_ISO_10646__ __STDC_MB_MIGHT_NEQ_WC__ __cplusplus __func__" @@ -101,7 +103,6 @@ regex_operator'5cs'2a'22'22_'5b'5f0'2d9A'2dZa'2dz'5d'2a'5cb = compileRegex True "operator\\s*\"\" [_0-9A-Za-z]*\\b" regex_'5b'5c'2b'5c'2d'5d'3f0x'5b0'2d9A'2dFa'2df'5d'28'27'3f'5b0'2d9A'2dFa'2df'5d'2b'29'2a'28'5bUu'5d'5bLl'5d'7b0'2c2'7d'7c'5bLl'5d'7b0'2c2'7d'5bUu'5d'3f'7c'5f'5b'5f0'2d9A'2dZa'2dz'5d'2a'29'3f'5cb = compileRegex True "[\\+\\-]?0x[0-9A-Fa-f]('?[0-9A-Fa-f]+)*([Uu][Ll]{0,2}|[Ll]{0,2}[Uu]?|_[_0-9A-Za-z]*)?\\b" regex_0'5bBb'5d'5b01'5d'28'27'3f'5b01'5d'2b'29'2a'28'5bUu'5d'5bLl'5d'7b0'2c2'7d'7c'5bLl'5d'7b0'2c2'7d'5bUu'5d'3f'7c'5f'5b'5f0'2d9A'2dZa'2dz'5d'2a'29'3f'5cb = compileRegex True "0[Bb][01]('?[01]+)*([Uu][Ll]{0,2}|[Ll]{0,2}[Uu]?|_[_0-9A-Za-z]*)?\\b"-regex_'5b'5c'2b'5c'2d'5d'3f'28'5b0'2d9'5d'2b'5bEe'5d'5b'5c'2b'5c'2d'5d'3f'5b0'2d9'5d'2b'7c'28'5b0'2d9'5d'2a'5c'2e'5b0'2d9'5d'2b'7c'5b0'2d9'5d'2b'5c'2e'5b0'2d9'5d'2a'29'28'5bEe'5d'5b'5c'2b'5c'2d'5d'3f'5b0'2d9'5d'2b'29'3f'29'5bFfLl'5d'3f = compileRegex True "[\\+\\-]?([0-9]+[Ee][\\+\\-]?[0-9]+|([0-9]*\\.[0-9]+|[0-9]+\\.[0-9]*)([Ee][\\+\\-]?[0-9]+)?)[FfLl]?" regex_'5b'5c'2b'5c'2d'5d'3f0'27'3f'5b0'2d7'5d'28'27'3f'5b0'2d7'5d'2b'29'2a'28'5bUu'5d'5bLl'5d'7b0'2c2'7d'7c'5bLl'5d'7b0'2c2'7d'5bUu'5d'3f'7c'5f'5b'5f0'2d9A'2dZa'2dz'5d'2a'29'3f'5cb = compileRegex True "[\\+\\-]?0'?[0-7]('?[0-7]+)*([Uu][Ll]{0,2}|[Ll]{0,2}[Uu]?|_[_0-9A-Za-z]*)?\\b" regex_'5b'5c'2b'5c'2d'5d'3f'280'7c'5b1'2d9'5d'28'27'3f'5b0'2d9'5d'2b'29'2a'29'28'5bUu'5d'5bLl'5d'7b0'2c2'7d'7c'5bLl'5d'7b0'2c2'7d'5bUu'5d'3f'7c'5f'5b'5f0'2d9A'2dZa'2dz'5d'2a'29'3f'5cb = compileRegex True "[\\+\\-]?(0|[1-9]('?[0-9]+)*)([Uu][Ll]{0,2}|[Ll]{0,2}[Uu]?|_[_0-9A-Za-z]*)?\\b" regex_'5b'5c'2b'5c'2d'5d'3f'280x'3f'7c'5b1'2d9'5d'5b0'2d9'5d'2a'29'5b0'2d9A'2dZa'2dz'5d'5b'5f0'2d9A'2dZa'2dz'5d'2a'5cb = compileRegex True "[\\+\\-]?(0x?|[1-9][0-9]*)[0-9A-Za-z][_0-9A-Za-z]*\\b"@@ -127,10 +128,11 @@ regex_'25'5b'5e'22diouxXeEfFgGaAcsP'25'5cs'5d'2a'5bdiouxXeEfFgGaAcsP'25'5d = compileRegex True "%[^\"diouxXeEfFgGaAcsP%\\s]*[diouxXeEfFgGaAcsP%]" regex_'5f'5b'5f0'2d9A'2dZ'2da'2dz'5d'2a'5cb = compileRegex True "_[_0-9A-Z-a-z]*\\b" regex_'2e'2a = compileRegex True ".*"+regex_'23'5cs'2a'28'3f'3ainclude'7cinclude'5fnext'29 = compileRegex True "#\\s*(?:include|include_next)" regex_'28'23'7c'25'5c'3a'7c'5c'3f'5c'3f'3d'29'5cs'2aif'28'3f'3adef'7cndef'29'3f'28'3f'3d'28'3f'3a'5c'28'7c'5cs'2b'29'5cS'29 = compileRegex True "(#|%\\:|\\?\\?=)\\s*if(?:def|ndef)?(?=(?:\\(|\\s+)\\S)" regex_'28'23'7c'25'5c'3a'7c'5c'3f'5c'3f'3d'29'5cs'2aendif = compileRegex True "(#|%\\:|\\?\\?=)\\s*endif" regex_'28'23'7c'25'5c'3a'7c'5c'3f'5c'3f'3d'29'5cs'2a'28cmake'29'3fdefine'2e'2a'28'28'3f'3d'5c'5c'29'29 = compileRegex True "(#|%\\:|\\?\\?=)\\s*(cmake)?define.*((?=\\\\))"-regex_'28'23'7c'25'5c'3a'7c'5c'3f'5c'3f'3d'29'5cs'2a'28'3f'3ael'28'3f'3ase'7cif'29'7cinclude'28'3f'3a'5fnext'29'3f'7c'28cmake'29'3fdefine'7cundef'7cline'7cerror'7cwarning'7cpragma'29 = compileRegex True "(#|%\\:|\\?\\?=)\\s*(?:el(?:se|if)|include(?:_next)?|(cmake)?define|undef|line|error|warning|pragma)"+regex_'28'23'7c'25'5c'3a'7c'5c'3f'5c'3f'3d'29'5cs'2a'28'3f'3ael'28'3f'3ase'7cif'29'7c'28cmake'29'3fdefine'7cundef'7cline'7cerror'7cwarning'7cpragma'29 = compileRegex True "(#|%\\:|\\?\\?=)\\s*(?:el(?:se|if)|(cmake)?define|undef|line|error|warning|pragma)" regex_'28'23'7c'25'5c'3a'7c'5c'3f'5c'3f'3d'29'5cs'2b'5b0'2d9'5d'2b = compileRegex True "(#|%\\:|\\?\\?=)\\s+[0-9]+" regex_'28'23'7c'25'5c'3a'7c'5c'3f'5c'3f'3d'29'5cs'2aif = compileRegex True "(#|%\\:|\\?\\?=)\\s*if" regex_'28'23'7c'25'5c'3a'7c'5c'3f'5c'3f'3d'29'5cs'2ael'28'3f'3ase'7cif'29 = compileRegex True "(#|%\\:|\\?\\?=)\\s*el(?:se|if)"@@ -138,9 +140,9 @@ parseRules ("ISO C++","Normal") =   (((pDetectSpaces >>= withAttribute NormalTok))    <|>-   ((pFirstNonSpace >> pRegExpr regex_'28'23'7c'25'5c'3a'7c'5c'3f'5c'3f'3d'29'5cs'2aif'5cs'2b'280'7cfalse'29'5cs'2a >>= withAttribute OtherTok) >>~ pushContext ("ISO C++","Outscoped"))+   ((pFirstNonSpace >> pRegExpr regex_'28'23'7c'25'5c'3a'7c'5c'3f'5c'3f'3d'29'5cs'2aif'5cs'2b'280'7cfalse'29'5cs'2a >>= withAttribute PreprocessorTok) >>~ pushContext ("ISO C++","Outscoped"))    <|>-   ((pFirstNonSpace >> pRegExpr regex_'28'23'7c'25'5c'3a'7c'5c'3f'5c'3f'3d'29'5cs'2aif'5cs'2b'281'7ctrue'29'5cs'2a >>= withAttribute OtherTok) >>~ pushContext ("ISO C++","Inscoped"))+   ((pFirstNonSpace >> pRegExpr regex_'28'23'7c'25'5c'3a'7c'5c'3f'5c'3f'3d'29'5cs'2aif'5cs'2b'281'7ctrue'29'5cs'2a >>= withAttribute PreprocessorTok) >>~ pushContext ("ISO C++","Inscoped"))    <|>    ((parseRules ("ISO C++","Main")))    <|>@@ -165,6 +167,8 @@    <|>    ((pRegExpr regex_operator'5cs'2a'22'22_'5b'5f0'2d9A'2dZa'2dz'5d'2a'5cb >>= withAttribute ErrorTok))    <|>+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_controlflow >>= withAttribute ControlFlowTok))+   <|>    ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_keywords >>= withAttribute KeywordTok))    <|>    ((pDetect2Chars False '[' '[' >>= withAttribute NormalTok) >>~ pushContext ("ISO C++","Attribute"))@@ -173,7 +177,7 @@    <|>    ((pRegExpr regex_0'5bBb'5d'5b01'5d'28'27'3f'5b01'5d'2b'29'2a'28'5bUu'5d'5bLl'5d'7b0'2c2'7d'7c'5bLl'5d'7b0'2c2'7d'5bUu'5d'3f'7c'5f'5b'5f0'2d9A'2dZa'2dz'5d'2a'29'3f'5cb >>= withAttribute BaseNTok))    <|>-   ((pRegExpr regex_'5b'5c'2b'5c'2d'5d'3f'28'5b0'2d9'5d'2b'5bEe'5d'5b'5c'2b'5c'2d'5d'3f'5b0'2d9'5d'2b'7c'28'5b0'2d9'5d'2a'5c'2e'5b0'2d9'5d'2b'7c'5b0'2d9'5d'2b'5c'2e'5b0'2d9'5d'2a'29'28'5bEe'5d'5b'5c'2b'5c'2d'5d'3f'5b0'2d9'5d'2b'29'3f'29'5bFfLl'5d'3f >>= withAttribute FloatTok))+   (withChildren (pFloat >>= withAttribute FloatTok) ((pAnyChar "FfLl" >>= withAttribute FloatTok)))    <|>    ((pRegExpr regex_'5b'5c'2b'5c'2d'5d'3f0'27'3f'5b0'2d7'5d'28'27'3f'5b0'2d7'5d'2b'29'2a'28'5bUu'5d'5bLl'5d'7b0'2c2'7d'7c'5bLl'5d'7b0'2c2'7d'5bUu'5d'3f'7c'5f'5b'5f0'2d9A'2dZa'2dz'5d'2a'29'3f'5cb >>= withAttribute BaseNTok))    <|>@@ -205,11 +209,11 @@    <|>    ((Text.Highlighting.Kate.Syntax.Gcc.parseExpression (Just ("GCCExtensions","DetectGccExtensions"))))    <|>-   ((pString False "std::" >>= withAttribute NormalTok) >>~ pushContext ("ISO C++","Standard Classes"))+   ((pString False "std::" >>= withAttribute BuiltInTok) >>~ pushContext ("ISO C++","Standard Classes"))    <|>-   ((pString False "boost::" >>= withAttribute NormalTok) >>~ pushContext ("ISO C++","Boost Stuff"))+   ((pString False "boost::" >>= withAttribute ExtensionTok) >>~ pushContext ("ISO C++","Boost Stuff"))    <|>-   ((pString False "BOOST_" >>= withAttribute NormalTok) >>~ pushContext ("ISO C++","Boost Stuff"))+   ((pString False "BOOST_" >>= withAttribute ExtensionTok) >>~ pushContext ("ISO C++","Boost Stuff"))    <|>    ((pString False "detail::" >>= withAttribute NormalTok) >>~ pushContext ("ISO C++","InternalsNS"))    <|>@@ -221,7 +225,7 @@    <|>    ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_types >>= withAttribute DataTypeTok))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_modifiers >>= withAttribute DataTypeTok))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_modifiers >>= withAttribute AttributeTok))    <|>    ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_StdMacros >>= withAttribute OtherTok))    <|>@@ -229,17 +233,17 @@    <|>    ((pRegExpr regex_'5ba'2dzA'2dZ'5d'5ba'2dzA'2dZ0'2d9'5f'5d'2a'5f'5f'5cb >>= withAttribute NormalTok))    <|>-   ((pRegExpr regex_'5ba'2dz'5d'5ba'2dzA'2dZ0'2d9'5f'5d'2a'5f'5cb >>= withAttribute NormalTok))+   ((pRegExpr regex_'5ba'2dz'5d'5ba'2dzA'2dZ0'2d9'5f'5d'2a'5f'5cb >>= withAttribute VariableTok))    <|>-   ((pRegExpr regex_m'5f'5ba'2dzA'2dZ0'2d9'5f'5d'2b >>= withAttribute NormalTok))+   ((pRegExpr regex_m'5f'5ba'2dzA'2dZ0'2d9'5f'5d'2b >>= withAttribute VariableTok))    <|>-   ((pRegExpr regex_g'5f'5ba'2dzA'2dZ0'2d9'5f'5d'2b >>= withAttribute NormalTok))+   ((pRegExpr regex_g'5f'5ba'2dzA'2dZ0'2d9'5f'5d'2b >>= withAttribute VariableTok))    <|>-   ((pRegExpr regex_s'5f'5ba'2dzA'2dZ0'2d9'5f'5d'2b >>= withAttribute NormalTok))+   ((pRegExpr regex_s'5f'5ba'2dzA'2dZ0'2d9'5f'5d'2b >>= withAttribute VariableTok))    <|>    ((pRegExpr regex_'5bA'2dZ'5d'5bA'2dZ0'2d9'5f'5d'7b2'2c'7d'5cb >>= withAttribute NormalTok))    <|>-   ((pRegExpr regex_'5ba'2dzA'2dZ'5d'5ba'2dzA'2dZ0'2d9'5f'5d'2a'5ft'28ype'29'3f'5cb >>= withAttribute NormalTok))+   ((pRegExpr regex_'5ba'2dzA'2dZ'5d'5ba'2dzA'2dZ0'2d9'5f'5d'2a'5ft'28ype'29'3f'5cb >>= withAttribute DataTypeTok))    <|>    ((pDetectIdentifier >>= withAttribute NormalTok))    <|>@@ -279,7 +283,7 @@ parseRules ("ISO C++","Char Literal") =   (((parseRules ("ISO C++","Universal Char")))    <|>-   ((pDetectChar False '\\' >>= withAttribute CharTok) >>~ pushContext ("ISO C++","Simple Esc"))+   ((pDetectChar False '\\' >>= withAttribute SpecialCharTok) >>~ pushContext ("ISO C++","Simple Esc"))    <|>    ((pDetectChar False '\'' >>= withAttribute StringTok) >>~ (popContext))    <|>@@ -288,7 +292,7 @@ parseRules ("ISO C++","U-Char Literal") =   (((parseRules ("ISO C++","Universal Char")))    <|>-   ((pDetectChar False '\\' >>= withAttribute CharTok) >>~ pushContext ("ISO C++","Simple Esc"))+   ((pDetectChar False '\\' >>= withAttribute SpecialCharTok) >>~ pushContext ("ISO C++","Simple Esc"))    <|>    ((pDetectChar False '\'' >>= withAttribute StringTok) >>~ (popContext))    <|>@@ -299,35 +303,35 @@    (currentContext >>= \x -> guard (x == ("ISO C++","U-Char Literal")) >> pDefault >>= withAttribute StringTok))  parseRules ("ISO C++","Simple Esc") =-  (((pAnyChar "tnvbrfa'\"\\" >>= withAttribute CharTok) >>~ (popContext))+  (((pAnyChar "tnvbrfa'\"\\" >>= withAttribute SpecialCharTok) >>~ (popContext))    <|>-   ((pRegExpr regex_'5b0'2d7'5d'7b1'2c3'7d >>= withAttribute CharTok) >>~ (popContext))+   ((pRegExpr regex_'5b0'2d7'5d'7b1'2c3'7d >>= withAttribute SpecialCharTok) >>~ (popContext))    <|>-   ((pRegExpr regex_x'5b0'2d9A'2dFa'2df'5d'7b1'2c'7d >>= withAttribute CharTok) >>~ (popContext))+   ((pRegExpr regex_x'5b0'2d9A'2dFa'2df'5d'7b1'2c'7d >>= withAttribute SpecialCharTok) >>~ (popContext))    <|>    ((pRegExpr regex_'2e >>= withAttribute StringTok) >>~ (popContext))    <|>-   (currentContext >>= \x -> guard (x == ("ISO C++","Simple Esc")) >> pDefault >>= withAttribute CharTok))+   (currentContext >>= \x -> guard (x == ("ISO C++","Simple Esc")) >> pDefault >>= withAttribute SpecialCharTok))  parseRules ("ISO C++","Universal Char") =-  (((pRegExpr regex_'5c'5cu'5b0'2d9A'2dFa'2df'5d'7b4'7d >>= withAttribute CharTok))+  (((pRegExpr regex_'5c'5cu'5b0'2d9A'2dFa'2df'5d'7b4'7d >>= withAttribute SpecialCharTok))    <|>    ((pRegExpr regex_'5c'5cu'2e'7b0'2c3'7d >>= withAttribute ErrorTok))    <|>-   ((pRegExpr regex_'5c'5cU'5b0'2d9A'2dFa'2df'5d'7b8'7d >>= withAttribute CharTok))+   ((pRegExpr regex_'5c'5cU'5b0'2d9A'2dFa'2df'5d'7b8'7d >>= withAttribute SpecialCharTok))    <|>    ((pRegExpr regex_'5c'5cU'2e'7b0'2c7'7d >>= withAttribute ErrorTok))    <|>-   (currentContext >>= \x -> guard (x == ("ISO C++","Universal Char")) >> pDefault >>= withAttribute CharTok))+   (currentContext >>= \x -> guard (x == ("ISO C++","Universal Char")) >> pDefault >>= withAttribute SpecialCharTok))  parseRules ("ISO C++","String") =   (((pLineContinue >>= withAttribute StringTok))    <|>-   ((pHlCStringChar >>= withAttribute CharTok))+   ((pHlCStringChar >>= withAttribute SpecialCharTok))    <|>    ((parseRules ("ISO C++","Universal Char")))    <|>-   ((pRegExpr regex_'25'5b'5e'22diouxXeEfFgGaAcsP'25'5cs'5d'2a'5bdiouxXeEfFgGaAcsP'25'5d >>= withAttribute CharTok))+   ((pRegExpr regex_'25'5b'5e'22diouxXeEfFgGaAcsP'25'5cs'5d'2a'5bdiouxXeEfFgGaAcsP'25'5d >>= withAttribute SpecialCharTok))    <|>    ((pDetectChar False '"' >>= withAttribute StringTok) >>~ pushContext ("ISO C++","UDLStringSuffix"))    <|>@@ -341,7 +345,7 @@    (currentContext >>= \x -> guard (x == ("ISO C++","UDLStringSuffix")) >> pDefault >>= withAttribute StringTok))  parseRules ("ISO C++","Attribute") =-  (((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_attributes >>= withAttribute KeywordTok))+  (((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_attributes >>= withAttribute AttributeTok))    <|>    ((pDetect2Chars False ']' ']' >>= withAttribute NormalTok) >>~ (popContext))    <|>@@ -349,12 +353,12 @@    <|>    ((pDetectChar False '"' >>= withAttribute StringTok) >>~ pushContext ("ISO C++","String"))    <|>-   (currentContext >>= \x -> guard (x == ("ISO C++","Attribute")) >> pDefault >>= withAttribute KeywordTok))+   (currentContext >>= \x -> guard (x == ("ISO C++","Attribute")) >> pDefault >>= withAttribute AttributeTok))  parseRules ("ISO C++","RawString") =   (((pLineContinue >>= withAttribute StringTok))    <|>-   ((pRegExpr regex_'25'5b'5e'22diouxXeEfFgGaAcsP'25'5cs'5d'2a'5bdiouxXeEfFgGaAcsP'25'5d >>= withAttribute CharTok))+   ((pRegExpr regex_'25'5b'5e'22diouxXeEfFgGaAcsP'25'5cs'5d'2a'5bdiouxXeEfFgGaAcsP'25'5d >>= withAttribute SpecialCharTok))    <|>    ((pRegExprDynamic "\\)%2\"" >>= withAttribute StringTok) >>~ (popContext))    <|>@@ -384,12 +388,12 @@ parseRules ("ISO C++","Standard Classes") =   (((parseRules ("ISO C++","DetectNSEnd")))    <|>-   (currentContext >>= \x -> guard (x == ("ISO C++","Standard Classes")) >> pDefault >>= withAttribute NormalTok))+   (currentContext >>= \x -> guard (x == ("ISO C++","Standard Classes")) >> pDefault >>= withAttribute BuiltInTok))  parseRules ("ISO C++","Boost Stuff") =   (((parseRules ("ISO C++","DetectNSEnd")))    <|>-   (currentContext >>= \x -> guard (x == ("ISO C++","Boost Stuff")) >> pDefault >>= withAttribute NormalTok))+   (currentContext >>= \x -> guard (x == ("ISO C++","Boost Stuff")) >> pDefault >>= withAttribute ExtensionTok))  parseRules ("ISO C++","InternalsNS") =   (((parseRules ("ISO C++","DetectNSEnd")))@@ -425,36 +429,45 @@    (currentContext >>= \x -> guard (x == ("ISO C++","Comment 2")) >> pDefault >>= withAttribute CommentTok))  parseRules ("ISO C++","AfterHash") =-  (((pFirstNonSpace >> pRegExpr regex_'28'23'7c'25'5c'3a'7c'5c'3f'5c'3f'3d'29'5cs'2aif'28'3f'3adef'7cndef'29'3f'28'3f'3d'28'3f'3a'5c'28'7c'5cs'2b'29'5cS'29 >>= withAttribute OtherTok) >>~ pushContext ("ISO C++","Preprocessor"))+  (((pFirstNonSpace >> pRegExpr regex_'23'5cs'2a'28'3f'3ainclude'7cinclude'5fnext'29 >>= withAttribute PreprocessorTok) >>~ pushContext ("ISO C++","Include"))    <|>-   ((pFirstNonSpace >> pRegExpr regex_'28'23'7c'25'5c'3a'7c'5c'3f'5c'3f'3d'29'5cs'2aendif >>= withAttribute OtherTok) >>~ pushContext ("ISO C++","Preprocessor"))+   ((pFirstNonSpace >> pRegExpr regex_'28'23'7c'25'5c'3a'7c'5c'3f'5c'3f'3d'29'5cs'2aif'28'3f'3adef'7cndef'29'3f'28'3f'3d'28'3f'3a'5c'28'7c'5cs'2b'29'5cS'29 >>= withAttribute PreprocessorTok) >>~ pushContext ("ISO C++","Preprocessor"))    <|>+   ((pFirstNonSpace >> pRegExpr regex_'28'23'7c'25'5c'3a'7c'5c'3f'5c'3f'3d'29'5cs'2aendif >>= withAttribute PreprocessorTok) >>~ pushContext ("ISO C++","Preprocessor"))+   <|>    ((pFirstNonSpace >> lookAhead (pRegExpr regex_'28'23'7c'25'5c'3a'7c'5c'3f'5c'3f'3d'29'5cs'2a'28cmake'29'3fdefine'2e'2a'28'28'3f'3d'5c'5c'29'29) >> pushContext ("ISO C++","Define") >> currentContext >>= parseRules))    <|>-   ((pFirstNonSpace >> pRegExpr regex_'28'23'7c'25'5c'3a'7c'5c'3f'5c'3f'3d'29'5cs'2a'28'3f'3ael'28'3f'3ase'7cif'29'7cinclude'28'3f'3a'5fnext'29'3f'7c'28cmake'29'3fdefine'7cundef'7cline'7cerror'7cwarning'7cpragma'29 >>= withAttribute OtherTok) >>~ pushContext ("ISO C++","Preprocessor"))+   ((pFirstNonSpace >> pRegExpr regex_'28'23'7c'25'5c'3a'7c'5c'3f'5c'3f'3d'29'5cs'2a'28'3f'3ael'28'3f'3ase'7cif'29'7c'28cmake'29'3fdefine'7cundef'7cline'7cerror'7cwarning'7cpragma'29 >>= withAttribute PreprocessorTok) >>~ pushContext ("ISO C++","Preprocessor"))    <|>-   ((pFirstNonSpace >> pRegExpr regex_'28'23'7c'25'5c'3a'7c'5c'3f'5c'3f'3d'29'5cs'2b'5b0'2d9'5d'2b >>= withAttribute OtherTok) >>~ pushContext ("ISO C++","Preprocessor"))+   ((pFirstNonSpace >> pRegExpr regex_'28'23'7c'25'5c'3a'7c'5c'3f'5c'3f'3d'29'5cs'2b'5b0'2d9'5d'2b >>= withAttribute PreprocessorTok) >>~ pushContext ("ISO C++","Preprocessor"))    <|>    (currentContext >>= \x -> guard (x == ("ISO C++","AfterHash")) >> pDefault >>= withAttribute ErrorTok)) -parseRules ("ISO C++","Preprocessor") =-  (((pLineContinue >>= withAttribute OtherTok))+parseRules ("ISO C++","Include") =+  (((pLineContinue >>= withAttribute PreprocessorTok))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_StdMacros >>= withAttribute OtherTok))+   ((pRangeDetect '"' '"' >>= withAttribute ImportTok))    <|>-   ((Text.Highlighting.Kate.Syntax.Gcc.parseExpression (Just ("GCCExtensions","GNUMacros")) >>= ((withAttribute OtherTok) . snd)))+   ((pRangeDetect '<' '>' >>= withAttribute ImportTok))    <|>-   ((pRangeDetect '"' '"' >>= withAttribute OtherTok))+   ((parseRules ("ISO C++","Preprocessor")))    <|>-   ((pRangeDetect '<' '>' >>= withAttribute OtherTok))+   (currentContext >>= \x -> guard (x == ("ISO C++","Include")) >> pDefault >>= withAttribute PreprocessorTok))++parseRules ("ISO C++","Preprocessor") =+  (((pLineContinue >>= withAttribute PreprocessorTok))    <|>-   ((Text.Highlighting.Kate.Syntax.Doxygen.parseExpression (Just ("Doxygen","")) >>= ((withAttribute OtherTok) . snd)))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_StdMacros >>= withAttribute OtherTok))    <|>+   ((Text.Highlighting.Kate.Syntax.Gcc.parseExpression (Just ("GCCExtensions","GNUMacros")) >>= ((withAttribute PreprocessorTok) . snd)))+   <|>+   ((Text.Highlighting.Kate.Syntax.Doxygen.parseExpression (Just ("Doxygen","")) >>= ((withAttribute PreprocessorTok) . snd)))+   <|>    ((pDetect2Chars False '/' '*' >>= withAttribute CommentTok) >>~ pushContext ("ISO C++","Comment/Preprocessor"))    <|>    ((pDetect2Chars False '/' '/' >>= withAttribute CommentTok) >>~ pushContext ("ISO C++","Comment 1"))    <|>-   (currentContext >>= \x -> guard (x == ("ISO C++","Preprocessor")) >> pDefault >>= withAttribute OtherTok))+   (currentContext >>= \x -> guard (x == ("ISO C++","Preprocessor")) >> pDefault >>= withAttribute PreprocessorTok))  parseRules ("ISO C++","Define") =   (((pLineContinue >>= withAttribute NormalTok))@@ -463,9 +476,9 @@    <|>    ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_StdMacros >>= withAttribute OtherTok))    <|>-   ((Text.Highlighting.Kate.Syntax.Gcc.parseExpression (Just ("GCCExtensions","GNUMacros")) >>= ((withAttribute OtherTok) . snd)))+   ((Text.Highlighting.Kate.Syntax.Gcc.parseExpression (Just ("GCCExtensions","GNUMacros")) >>= ((withAttribute PreprocessorTok) . snd)))    <|>-   (currentContext >>= \x -> guard (x == ("ISO C++","Define")) >> pDefault >>= withAttribute OtherTok))+   (currentContext >>= \x -> guard (x == ("ISO C++","Define")) >> pDefault >>= withAttribute PreprocessorTok))  parseRules ("ISO C++","Comment/Preprocessor") =   (((pDetectSpaces >>= withAttribute CommentTok))@@ -498,25 +511,27 @@ parseRules ("ISO C++","Outscoped") =   (((parseRules ("ISO C++","Outscoped Common")))    <|>-   ((pFirstNonSpace >> pRegExpr regex_'28'23'7c'25'5c'3a'7c'5c'3f'5c'3f'3d'29'5cs'2ael'28'3f'3ase'7cif'29 >>= withAttribute OtherTok) >>~ (popContext))+   ((pFirstNonSpace >> pRegExpr regex_'28'23'7c'25'5c'3a'7c'5c'3f'5c'3f'3d'29'5cs'2ael'28'3f'3ase'7cif'29 >>= withAttribute PreprocessorTok) >>~ (popContext))    <|>-   ((pFirstNonSpace >> pRegExpr regex_'28'23'7c'25'5c'3a'7c'5c'3f'5c'3f'3d'29'5cs'2aendif >>= withAttribute OtherTok) >>~ (popContext))+   ((pFirstNonSpace >> pRegExpr regex_'28'23'7c'25'5c'3a'7c'5c'3f'5c'3f'3d'29'5cs'2aendif >>= withAttribute PreprocessorTok) >>~ (popContext))    <|>    (currentContext >>= \x -> guard (x == ("ISO C++","Outscoped")) >> pDefault >>= withAttribute CommentTok))  parseRules ("ISO C++","Outscoped 2") =   (((parseRules ("ISO C++","Outscoped Common")))    <|>-   ((pFirstNonSpace >> pRegExpr regex_'28'23'7c'25'5c'3a'7c'5c'3f'5c'3f'3d'29'5cs'2aendif >>= withAttribute OtherTok) >>~ (popContext >> popContext))+   ((pFirstNonSpace >> pRegExpr regex_'28'23'7c'25'5c'3a'7c'5c'3f'5c'3f'3d'29'5cs'2aendif >>= withAttribute PreprocessorTok) >>~ (popContext >> popContext))    <|>    (currentContext >>= \x -> guard (x == ("ISO C++","Outscoped 2")) >> pDefault >>= withAttribute CommentTok))  parseRules ("ISO C++","Inscoped") =   (((pDetectSpaces >>= withAttribute NormalTok))    <|>-   ((pFirstNonSpace >> pRegExpr regex_'28'23'7c'25'5c'3a'7c'5c'3f'5c'3f'3d'29'5cs'2aif'5cs'2b'280'7cfalse'29'5cs'2a >>= withAttribute OtherTok) >>~ pushContext ("ISO C++","Outscoped"))+   ((pFirstNonSpace >> pRegExpr regex_'28'23'7c'25'5c'3a'7c'5c'3f'5c'3f'3d'29'5cs'2aif'5cs'2b'280'7cfalse'29'5cs'2a >>= withAttribute PreprocessorTok) >>~ pushContext ("ISO C++","Outscoped"))    <|>-   ((pFirstNonSpace >> pRegExpr regex_'28'23'7c'25'5c'3a'7c'5c'3f'5c'3f'3d'29'5cs'2ael'28'3f'3ase'7cif'29 >>= withAttribute OtherTok) >>~ pushContext ("ISO C++","Outscoped 2"))+   ((pFirstNonSpace >> pRegExpr regex_'28'23'7c'25'5c'3a'7c'5c'3f'5c'3f'3d'29'5cs'2ael'28'3f'3ase'7cif'29 >>= withAttribute PreprocessorTok) >>~ pushContext ("ISO C++","Outscoped 2"))+   <|>+   ((pFirstNonSpace >> pRegExpr regex_'28'23'7c'25'5c'3a'7c'5c'3f'5c'3f'3d'29'5cs'2aendif >>= withAttribute PreprocessorTok) >>~ (popContext))    <|>    ((parseRules ("ISO C++","Main")))    <|>
Text/Highlighting/Kate/Syntax/Java.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file java.xml, version 1.21, by Alfredo Luiz Foltran Fialho (alfoltran@ig.com.br) -}+   highlighting file java.xml, version 2, by Alfredo Luiz Foltran Fialho (alfoltran@ig.com.br) -}  module Text.Highlighting.Kate.Syntax.Java           (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -96,7 +96,7 @@    <|>    ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_types >>= withAttribute DataTypeTok))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_java15 >>= withAttribute NormalTok))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_java15 >>= withAttribute BuiltInTok))    <|>    (withChildren (pFloat >>= withAttribute FloatTok) ((pAnyChar "fF" >>= withAttribute FloatTok)))    <|>@@ -134,7 +134,7 @@    <|>    ((pRegExpr regex_'5cb'5b'5f'5cw'5d'5b'5f'5cw'5cd'5d'2a'28'3f'3d'5b'5cs'5d'2a'28'2f'5c'2a'5cs'2a'5cd'2b'5cs'2a'5c'2a'2f'5cs'2a'29'3f'5b'28'5d'29 >>= withAttribute FunctionTok))    <|>-   ((pRegExpr regex_'40'5b'5f'5cw'5d'5b'5f'5cw'5cd'5d'2a >>= withAttribute FunctionTok))+   ((pRegExpr regex_'40'5b'5f'5cw'5d'5b'5f'5cw'5cd'5d'2a >>= withAttribute AttributeTok))    <|>    ((pRegExpr regex_'5b'2e'5d'7b1'2c1'7d >>= withAttribute NormalTok) >>~ pushContext ("Java","Member"))    <|>@@ -154,9 +154,9 @@ parseRules ("Java","String") =   (((pLineContinue >>= withAttribute StringTok))    <|>-   ((pHlCStringChar >>= withAttribute CharTok))+   ((pHlCStringChar >>= withAttribute SpecialCharTok))    <|>-   ((pRegExpr regex_'5c'5cu'5b0'2d9a'2dfA'2dF'5d'7b4'7d >>= withAttribute CharTok))+   ((pRegExpr regex_'5c'5cu'5b0'2d9a'2dfA'2dF'5d'7b4'7d >>= withAttribute SpecialCharTok))    <|>    ((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext))    <|>@@ -179,15 +179,15 @@ parseRules ("Java","PrintfString") =   (((pLineContinue >>= withAttribute StringTok))    <|>-   ((pHlCStringChar >>= withAttribute CharTok))+   ((pHlCStringChar >>= withAttribute SpecialCharTok))    <|>    ((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext))    <|>-   ((pRegExpr regex_'25'28'5cd'2b'5c'24'29'3f'28'2d'7c'23'7c'5c'2b'7c'5c_'7c0'7c'2c'7c'5c'28'29'2a'5cd'2a'28'5c'2e'5cd'2b'29'3f'5ba'2dhosxA'2dCEGHSX'5d >>= withAttribute CharTok))+   ((pRegExpr regex_'25'28'5cd'2b'5c'24'29'3f'28'2d'7c'23'7c'5c'2b'7c'5c_'7c0'7c'2c'7c'5c'28'29'2a'5cd'2a'28'5c'2e'5cd'2b'29'3f'5ba'2dhosxA'2dCEGHSX'5d >>= withAttribute SpecialCharTok))    <|>-   ((pRegExpr regex_'25'28'5cd'2b'5c'24'29'3f'28'2d'7c'23'7c'5c'2b'7c'5c_'7c0'7c'2c'7c'5c'28'29'2a'5cd'2a'28t'7cT'29'28a'7cA'7cb'7cB'7cc'7cC'7cd'7cD'7ce'7cF'7ch'7cH'7cI'7cj'7ck'7cl'7cL'7cm'7cM'7cN'7cp'7cP'7cQ'7cr'7cR'7cs'7cS'7cT'7cy'7cY'7cz'7cZ'29 >>= withAttribute CharTok))+   ((pRegExpr regex_'25'28'5cd'2b'5c'24'29'3f'28'2d'7c'23'7c'5c'2b'7c'5c_'7c0'7c'2c'7c'5c'28'29'2a'5cd'2a'28t'7cT'29'28a'7cA'7cb'7cB'7cc'7cC'7cd'7cD'7ce'7cF'7ch'7cH'7cI'7cj'7ck'7cl'7cL'7cm'7cM'7cN'7cp'7cP'7cQ'7cr'7cR'7cs'7cS'7cT'7cy'7cY'7cz'7cZ'29 >>= withAttribute SpecialCharTok))    <|>-   ((pRegExpr regex_'25'28'25'7cn'29 >>= withAttribute CharTok))+   ((pRegExpr regex_'25'28'25'7cn'29 >>= withAttribute SpecialCharTok))    <|>    (currentContext >>= \x -> guard (x == ("Java","PrintfString")) >> pDefault >>= withAttribute StringTok)) @@ -197,12 +197,12 @@    ((popContext) >> currentContext >>= parseRules))  parseRules ("Java","StaticImports") =-  (((pRegExpr regex_'5cs'2a'2e'2a'3b >>= withAttribute KeywordTok) >>~ (popContext))+  (((pRegExpr regex_'5cs'2a'2e'2a'3b >>= withAttribute ImportTok) >>~ (popContext))    <|>    (currentContext >>= \x -> guard (x == ("Java","StaticImports")) >> pDefault >>= withAttribute NormalTok))  parseRules ("Java","Imports") =-  (((pRegExpr regex_'5cs'2a'2e'2a'3b >>= withAttribute KeywordTok) >>~ (popContext))+  (((pRegExpr regex_'5cs'2a'2e'2a'3b >>= withAttribute ImportTok) >>~ (popContext))    <|>    (currentContext >>= \x -> guard (x == ("Java","Imports")) >> pDefault >>= withAttribute NormalTok)) 
Text/Highlighting/Kate/Syntax/Javadoc.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file javadoc.xml, version 1.05, by Alfredo Luiz Foltran Fialho (alfoltran@ig.com.br) -}+   highlighting file javadoc.xml, version 2, by Alfredo Luiz Foltran Fialho (alfoltran@ig.com.br) -}  module Text.Highlighting.Kate.Syntax.Javadoc           (highlight, parseExpression, syntaxName, syntaxExtensions)
Text/Highlighting/Kate/Syntax/Javascript.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file javascript.xml, version 1.22, by Anders Lund (anders@alweb.dk), Joseph Wenninger (jowenn@kde.org), Whitehawk Stormchaser (zerokode@gmx.net) -}+   highlighting file javascript.xml, version 2, by Anders Lund (anders@alweb.dk), Joseph Wenninger (jowenn@kde.org), Whitehawk Stormchaser (zerokode@gmx.net) -}  module Text.Highlighting.Kate.Syntax.Javascript           (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -58,6 +58,9 @@       ("JavaScript","Object") -> return ()       ("JavaScript","String") -> (popContext) >> pEndLine       ("JavaScript","String SQ") -> (popContext) >> pEndLine+      ("JavaScript","Template") -> return ()+      ("JavaScript","RawTemplate") -> return ()+      ("JavaScript","Substitution") -> return ()       ("JavaScript","Comment") -> (popContext) >> pEndLine       ("JavaScript","Multi/inline Comment") -> return ()       ("JavaScript","Regular Expression") -> return ()@@ -74,14 +77,17 @@                           , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) }   return (attr, txt) -list_keywords = Set.fromList $ words $ "break case catch const continue debugger default delete do else finally for function if in instanceof new return switch this throw try typeof var void while with"-list_reserved = Set.fromList $ words $ "class enum export extends import super implements interface let package private protected public static yield"+list_controlflow = Set.fromList $ words $ "break case catch continue debugger do else finally for if return switch throw try while with"+list_keywords = Set.fromList $ words $ "const delete function in instanceof new this typeof var void"+list_reserved = Set.fromList $ words $ "class enum extends super implements interface let private protected public static yield"+list_module = Set.fromList $ words $ "import from as default export package" list_primitives = Set.fromList $ words $ "Infinity NaN false null true undefined"  regex_'5ba'2dzA'2dZ'5f'24'5d'5b'5cw'24'5d'2a'28'3f'3d'5cs'2a'5c'2e'29 = compileRegex True "[a-zA-Z_$][\\w$]*(?=\\s*\\.)" regex_'5ba'2dzA'2dZ'5f'24'5d'5b'5cw'24'5d'2a'28'3f'3d'5cs'2a'5c'28'29 = compileRegex True "[a-zA-Z_$][\\w$]*(?=\\s*\\()" regex_'5ba'2dzA'2dZ'5f'24'5d'5b'5cw'24'5d'2a = compileRegex True "[a-zA-Z_$][\\w$]*" regex_'5ba'2dzA'2dZ'5f'24'5d'5b'5cw'24'5d'2a'5cs'2a'28'3f'3d'3a'29 = compileRegex True "[a-zA-Z_$][\\w$]*\\s*(?=:)"+regex_'5c'5cu'5b0'2d9a'2dfA'2dF'5d'7b4'7d = compileRegex True "\\\\u[0-9a-fA-F]{4}" regex_'2f'5cw'2a = compileRegex True "/\\w*" regex_'5c'7b'5b'5cd'2c_'5d'2b'5c'7d = compileRegex True "\\{[\\d, ]+\\}" regex_'5c'5c'5bbB'5d = compileRegex True "\\\\[bB]"@@ -112,16 +118,24 @@    <|>    ((pAnyChar "])" >>= withAttribute NormalTok) >>~ pushContext ("JavaScript","NoRegExp"))    <|>+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_controlflow >>= withAttribute ControlFlowTok))+   <|>    ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_keywords >>= withAttribute KeywordTok))    <|>    ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_reserved >>= withAttribute KeywordTok))    <|>    ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_primitives >>= withAttribute KeywordTok) >>~ pushContext ("JavaScript","NoRegExp"))    <|>-   ((pRegExpr regex_'5ba'2dzA'2dZ'5f'24'5d'5b'5cw'24'5d'2a'28'3f'3d'5cs'2a'5c'2e'29 >>= withAttribute OtherTok) >>~ pushContext ("JavaScript","Object Member"))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_module >>= withAttribute ImportTok))    <|>-   ((pRegExpr regex_'5ba'2dzA'2dZ'5f'24'5d'5b'5cw'24'5d'2a'28'3f'3d'5cs'2a'5c'28'29 >>= withAttribute FunctionTok) >>~ pushContext ("JavaScript","NoRegExp"))+   ((pDetectChar False '`' >>= withAttribute VerbatimStringTok) >>~ pushContext ("JavaScript","Template"))    <|>+   ((pString False "String.raw`" >>= withAttribute VerbatimStringTok) >>~ pushContext ("JavaScript","RawTemplate"))+   <|>+   ((pRegExpr regex_'5ba'2dzA'2dZ'5f'24'5d'5b'5cw'24'5d'2a'28'3f'3d'5cs'2a'5c'2e'29 >>= withAttribute VariableTok) >>~ pushContext ("JavaScript","Object Member"))+   <|>+   ((pRegExpr regex_'5ba'2dzA'2dZ'5f'24'5d'5b'5cw'24'5d'2a'28'3f'3d'5cs'2a'5c'28'29 >>= withAttribute AttributeTok) >>~ pushContext ("JavaScript","NoRegExp"))+   <|>    ((pDetectChar False '.' >>= withAttribute NormalTok) >>~ pushContext ("JavaScript","Object Member"))    <|>    ((pRegExpr regex_'5ba'2dzA'2dZ'5f'24'5d'5b'5cw'24'5d'2a >>= withAttribute NormalTok) >>~ pushContext ("JavaScript","NoRegExp"))@@ -136,22 +150,22 @@    <|>    ((pDetect2Chars False '/' '*' >>= withAttribute CommentTok) >>~ pushContext ("JavaScript","Multi/inline Comment"))    <|>-   ((pDetectChar False '/' >>= withAttribute OtherTok) >>~ pushContext ("JavaScript","(regex caret first check)"))+   ((pDetectChar False '/' >>= withAttribute SpecialStringTok) >>~ pushContext ("JavaScript","(regex caret first check)"))    <|>-   ((pDetectChar False '{' >>= withAttribute NormalTok) >>~ pushContext ("JavaScript","Object"))+   ((pDetectChar False '{' >>= withAttribute OperatorTok) >>~ pushContext ("JavaScript","Object"))    <|>-   ((pDetectChar False '?' >>= withAttribute NormalTok) >>~ pushContext ("JavaScript","Conditional Expression"))+   ((pDetectChar False '?' >>= withAttribute OperatorTok) >>~ pushContext ("JavaScript","Conditional Expression"))    <|>-   ((pAnyChar ":!%&+,-/.*<=>?|~^;" >>= withAttribute NormalTok))+   ((pAnyChar ":!%&+,-/.*<=>?|~^;" >>= withAttribute OperatorTok))    <|>    (currentContext >>= \x -> guard (x == ("JavaScript","Normal")) >> pDefault >>= withAttribute NormalTok))  parseRules ("JavaScript","Object Member") =   (((pDetectChar False '.' >>= withAttribute NormalTok))    <|>-   ((pRegExpr regex_'5ba'2dzA'2dZ'5f'24'5d'5b'5cw'24'5d'2a'28'3f'3d'5cs'2a'5c'2e'29 >>= withAttribute OtherTok) >>~ pushContext ("JavaScript","Object Member"))+   ((pRegExpr regex_'5ba'2dzA'2dZ'5f'24'5d'5b'5cw'24'5d'2a'28'3f'3d'5cs'2a'5c'2e'29 >>= withAttribute VariableTok) >>~ pushContext ("JavaScript","Object Member"))    <|>-   ((pRegExpr regex_'5ba'2dzA'2dZ'5f'24'5d'5b'5cw'24'5d'2a >>= withAttribute FunctionTok))+   ((pRegExpr regex_'5ba'2dzA'2dZ'5f'24'5d'5b'5cw'24'5d'2a >>= withAttribute AttributeTok))    <|>    ((parseRules ("JavaScript","NoRegExp")))    <|>@@ -180,15 +194,17 @@    <|>    ((pRegExpr regex_'5ba'2dzA'2dZ'5f'24'5d'5b'5cw'24'5d'2a'5cs'2a'28'3f'3d'3a'29 >>= withAttribute DataTypeTok))    <|>-   ((pDetectChar False '}' >>= withAttribute NormalTok) >>~ (popContext))+   ((pDetectChar False '}' >>= withAttribute OperatorTok) >>~ (popContext))    <|>    ((parseRules ("JavaScript","Normal")))    <|>    (currentContext >>= \x -> guard (x == ("JavaScript","Object")) >> pDefault >>= withAttribute NormalTok))  parseRules ("JavaScript","String") =-  (((pHlCStringChar >>= withAttribute CharTok))+  (((pHlCStringChar >>= withAttribute SpecialCharTok))    <|>+   ((pRegExpr regex_'5c'5cu'5b0'2d9a'2dfA'2dF'5d'7b4'7d >>= withAttribute SpecialCharTok))+   <|>    ((pLineContinue >>= withAttribute StringTok))    <|>    ((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext))@@ -196,14 +212,39 @@    (currentContext >>= \x -> guard (x == ("JavaScript","String")) >> pDefault >>= withAttribute StringTok))  parseRules ("JavaScript","String SQ") =-  (((pHlCStringChar >>= withAttribute CharTok))+  (((pHlCStringChar >>= withAttribute SpecialCharTok))    <|>+   ((pRegExpr regex_'5c'5cu'5b0'2d9a'2dfA'2dF'5d'7b4'7d >>= withAttribute SpecialCharTok))+   <|>    ((pLineContinue >>= withAttribute StringTok))    <|>    ((pDetectChar False '\'' >>= withAttribute StringTok) >>~ (popContext))    <|>    (currentContext >>= \x -> guard (x == ("JavaScript","String SQ")) >> pDefault >>= withAttribute StringTok)) +parseRules ("JavaScript","Template") =+  (((pHlCStringChar >>= withAttribute SpecialCharTok))+   <|>+   ((pDetect2Chars False '\\' '`' >>= withAttribute SpecialCharTok))+   <|>+   ((pDetect2Chars False '$' '{' >>= withAttribute SpecialCharTok) >>~ pushContext ("JavaScript","Substitution"))+   <|>+   ((pDetectChar False '`' >>= withAttribute VerbatimStringTok) >>~ (popContext))+   <|>+   (currentContext >>= \x -> guard (x == ("JavaScript","Template")) >> pDefault >>= withAttribute VerbatimStringTok))++parseRules ("JavaScript","RawTemplate") =+  (((pDetectChar False '`' >>= withAttribute VerbatimStringTok) >>~ (popContext))+   <|>+   (currentContext >>= \x -> guard (x == ("JavaScript","RawTemplate")) >> pDefault >>= withAttribute VerbatimStringTok))++parseRules ("JavaScript","Substitution") =+  (((pDetectChar False '}' >>= withAttribute SpecialCharTok) >>~ (popContext))+   <|>+   ((parseRules ("JavaScript","Normal")))+   <|>+   (currentContext >>= \x -> guard (x == ("JavaScript","Substitution")) >> pDefault >>= withAttribute NormalTok))+ parseRules ("JavaScript","Comment") =   (((Text.Highlighting.Kate.Syntax.Alert.parseExpression (Just ("Alerts","")) >>= ((withAttribute CommentTok) . snd)))    <|>@@ -221,40 +262,40 @@    (currentContext >>= \x -> guard (x == ("JavaScript","Multi/inline Comment")) >> pDefault >>= withAttribute CommentTok))  parseRules ("JavaScript","Regular Expression") =-  (((pRegExpr regex_'2f'5cw'2a >>= withAttribute OtherTok) >>~ (popContext >> popContext))+  (((pRegExpr regex_'2f'5cw'2a >>= withAttribute SpecialStringTok) >>~ (popContext >> popContext))    <|>-   ((pRegExpr regex_'5c'7b'5b'5cd'2c_'5d'2b'5c'7d >>= withAttribute FloatTok))+   ((pRegExpr regex_'5c'7b'5b'5cd'2c_'5d'2b'5c'7d >>= withAttribute SpecialCharTok))    <|>-   ((pRegExpr regex_'5c'5c'5bbB'5d >>= withAttribute FloatTok))+   ((pRegExpr regex_'5c'5c'5bbB'5d >>= withAttribute SpecialCharTok))    <|>-   ((pRegExpr regex_'5c'5c'5bnrtvfDdSsWw'5d >>= withAttribute BaseNTok))+   ((pRegExpr regex_'5c'5c'5bnrtvfDdSsWw'5d >>= withAttribute SpecialCharTok))    <|>-   ((pDetectChar False '[' >>= withAttribute BaseNTok) >>~ pushContext ("JavaScript","(charclass caret first check)"))+   ((pDetectChar False '[' >>= withAttribute SpecialCharTok) >>~ pushContext ("JavaScript","(charclass caret first check)"))    <|>-   ((pRegExpr regex_'5c'5c'2e >>= withAttribute FloatTok))+   ((pRegExpr regex_'5c'5c'2e >>= withAttribute SpecialCharTok))    <|>-   ((pRegExpr regex_'5c'24'28'3f'3d'2f'29 >>= withAttribute FloatTok))+   ((pRegExpr regex_'5c'24'28'3f'3d'2f'29 >>= withAttribute SpecialCharTok))    <|>-   ((pAnyChar "?+*()|" >>= withAttribute FloatTok))+   ((pAnyChar "?+*()|" >>= withAttribute SpecialCharTok))    <|>-   (currentContext >>= \x -> guard (x == ("JavaScript","Regular Expression")) >> pDefault >>= withAttribute OtherTok))+   (currentContext >>= \x -> guard (x == ("JavaScript","Regular Expression")) >> pDefault >>= withAttribute SpecialStringTok))  parseRules ("JavaScript","Regular Expression Character Class") =-  (((pRegExpr regex_'5c'5c'5b'5c'5b'5c'5d'5d >>= withAttribute BaseNTok))+  (((pRegExpr regex_'5c'5c'5b'5c'5b'5c'5d'5d >>= withAttribute SpecialCharTok))    <|>-   ((pRegExpr regex_'5c'5c'2e >>= withAttribute FloatTok))+   ((pRegExpr regex_'5c'5c'2e >>= withAttribute SpecialCharTok))    <|>-   ((pDetectChar False ']' >>= withAttribute BaseNTok) >>~ (popContext >> popContext))+   ((pDetectChar False ']' >>= withAttribute SpecialCharTok) >>~ (popContext >> popContext))    <|>-   (currentContext >>= \x -> guard (x == ("JavaScript","Regular Expression Character Class")) >> pDefault >>= withAttribute BaseNTok))+   (currentContext >>= \x -> guard (x == ("JavaScript","Regular Expression Character Class")) >> pDefault >>= withAttribute SpecialCharTok))  parseRules ("JavaScript","(regex caret first check)") =-  (((pDetectChar False '^' >>= withAttribute FloatTok) >>~ pushContext ("JavaScript","Regular Expression"))+  (((pDetectChar False '^' >>= withAttribute SpecialCharTok) >>~ pushContext ("JavaScript","Regular Expression"))    <|>    (pushContext ("JavaScript","Regular Expression") >> currentContext >>= parseRules))  parseRules ("JavaScript","(charclass caret first check)") =-  (((pDetectChar False '^' >>= withAttribute FloatTok) >>~ pushContext ("JavaScript","Regular Expression Character Class"))+  (((pDetectChar False '^' >>= withAttribute SpecialCharTok) >>~ pushContext ("JavaScript","Regular Expression Character Class"))    <|>    (pushContext ("JavaScript","Regular Expression Character Class") >> currentContext >>= parseRules)) 
Text/Highlighting/Kate/Syntax/Json.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file json.xml, version 1.3, by Sebastian Pipping (sebastian@pipping.org) -}+   highlighting file json.xml, version 2, by Sebastian Pipping (sebastian@pipping.org) -}  module Text.Highlighting.Kate.Syntax.Json           (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -17,7 +17,7 @@  -- | Filename extensions for this language. syntaxExtensions :: String-syntaxExtensions = "*.json"+syntaxExtensions = "*.json;.kateproject;.arcconfig"  -- | Highlight source code using this syntax definition. highlight :: String -> [SourceLine]
Text/Highlighting/Kate/Syntax/Jsp.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file jsp.xml, version 1.02, by Rob Martin (rob@gamepimp.com) -}+   highlighting file jsp.xml, version 2, by Rob Martin (rob@gamepimp.com) -}  module Text.Highlighting.Kate.Syntax.Jsp           (highlight, parseExpression, syntaxName, syntaxExtensions)
Text/Highlighting/Kate/Syntax/Julia.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file julia.xml, version 0.2, by  -}+   highlighting file julia.xml, version 1, by  -}  module Text.Highlighting.Kate.Syntax.Julia           (highlight, parseExpression, syntaxName, syntaxExtensions)
+ Text/Highlighting/Kate/Syntax/Kotlin.hs view
@@ -0,0 +1,335 @@+{- This module was generated from data in the Kate syntax+   highlighting file kotlin.xml, version 2, by Sergey Mashkov (sergey.mashkov@jetbrains.com) -}++module Text.Highlighting.Kate.Syntax.Kotlin+          (highlight, parseExpression, syntaxName, syntaxExtensions)+where+import Text.Highlighting.Kate.Types+import Text.Highlighting.Kate.Common+import Text.ParserCombinators.Parsec hiding (State)+import Control.Monad.State+import Data.Char (isSpace)+import qualified Data.Set as Set++-- | Full name of language.+syntaxName :: String+syntaxName = "Kotlin"++-- | Filename extensions for this language.+syntaxExtensions :: String+syntaxExtensions = "*.kt;*.kts"++-- | Highlight source code using this syntax definition.+highlight :: String -> [SourceLine]+highlight input = evalState (mapM parseSourceLine $ lines input) startingState++parseSourceLine :: String -> State SyntaxState SourceLine+parseSourceLine = mkParseSourceLine (parseExpression Nothing)++-- | Parse an expression using appropriate local context.+parseExpression :: Maybe (String,String)+                -> KateParser Token+parseExpression mbcontext = do+  (lang,cont) <- maybe currentContext return mbcontext+  result <- parseRules (lang,cont)+  optional $ do eof+                updateState $ \st -> st{ synStPrevChar = '\n' }+                pEndLine+  return result++startingState = SyntaxState {synStContexts = [("Kotlin","Normal")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStContinuation = False, synStCaseSensitive = True, synStKeywordCaseSensitive = True, synStCaptures = []}++pEndLine = do+  updateState $ \st -> st{ synStPrevNonspace = False }+  context <- currentContext+  contexts <- synStContexts `fmap` getState+  st <- getState+  if length contexts >= 2+    then case context of+      _ | synStContinuation st -> updateState $ \st -> st{ synStContinuation = False }+      ("Kotlin","Normal") -> return ()+      ("Kotlin","Imports") -> (popContext) >> pEndLine+      ("Kotlin","VariableDeclaration") -> return ()+      ("Kotlin","TypeDeclaration") -> return ()+      ("Kotlin","SuperTypes") -> return ()+      ("Kotlin","FunctionDeclaration") -> return ()+      ("Kotlin","TypeParameters") -> return ()+      ("Kotlin","Parameters") -> return ()+      ("Kotlin","TypeName") -> return ()+      ("Kotlin","FunctionType") -> return ()+      ("Kotlin","Expression") -> return ()+      ("Kotlin","ExpressionInner") -> return ()+      ("Kotlin","Char") -> (popContext) >> pEndLine+      ("Kotlin","String") -> (popContext) >> pEndLine+      ("Kotlin","MultiLineDoubleString") -> return ()+      ("Kotlin","CommentSingleLine") -> (popContext) >> pEndLine+      ("Kotlin","CommentMultiline") -> return ()+      ("Kotlin","symbols") -> return ()+      _ -> return ()+    else return ()++withAttribute attr txt = do+  when (null txt) $ fail "Parser matched no text"+  updateState $ \st -> st { synStPrevChar = last txt+                          , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) }+  return (attr, txt)++list_keywords = Set.fromList $ words $ "package import sealed data class enum interface companion object private public protected internal open final get set fun var val constructor inline reified crossinline tailrec in out is as by where vararg get set return throw typealias typeof override infix operator"+list_controlFlowKeyword = Set.fromList $ words $ "if else when for while do try catch finally continue break yield"+list_predeclared = Set.fromList $ words $ "this super null true false"+list_types = Set.fromList $ words $ "Unit Nothing String Char Int Long Byte Short Float Double Boolean"++regex_'5cb'28package'7cimport'29'5cb = compileRegex True "\\b(package|import)\\b"+regex_'5cbfun'5cb = compileRegex True "\\bfun\\b"+regex_'5cb'28object'7cclass'7cinterface'29'5cb = compileRegex True "\\b(object|class|interface)\\b"+regex_'5cb'28val'7cvar'29'5cb = compileRegex True "\\b(val|var)\\b"+regex_'40'5b'5f'5cw'5d'5b'5f'5cw'5cd'5d'2a = compileRegex True "@[_\\w][_\\w\\d]*"+regex_TODO'5cs'2a'5c'28'5b'5e'29'5d'2a'5c'29 = compileRegex True "TODO\\s*\\([^)]*\\)"+regex_'5cb'5b'5f'5cw'5d'5b'5f'5cw'5cd'5d'2a'28'5c'2e'5b'5f'5cw'5d'5b'5f'5cw'5cd'5d'2a'29'2a'28'5c'2e'5c'2a'29'3f = compileRegex True "\\b[_\\w][_\\w\\d]*(\\.[_\\w][_\\w\\d]*)*(\\.\\*)?"+regex_'5b'5f'5cw'5d'5b'5f'5cw'5cd'5d'2a = compileRegex True "[_\\w][_\\w\\d]*"+regex_'5b'5f'5cw'5d'5b'5f'5cw'5cd'5d'2a'5b'3f'5d'3f = compileRegex True "[_\\w][_\\w\\d]*[?]?"+regex_'3c'5cw'2b = compileRegex True "<\\w+"+regex_'5c'5cu'5b0'2d9a'2dfA'2dF'5d'7b4'7d = compileRegex True "\\\\u[0-9a-fA-F]{4}"++parseRules ("Kotlin","Normal") =+  (((pRegExpr regex_'5cb'28package'7cimport'29'5cb >>= withAttribute KeywordTok) >>~ pushContext ("Kotlin","Imports"))+   <|>+   ((pRegExpr regex_'5cbfun'5cb >>= withAttribute KeywordTok) >>~ pushContext ("Kotlin","FunctionDeclaration"))+   <|>+   ((pRegExpr regex_'5cb'28object'7cclass'7cinterface'29'5cb >>= withAttribute KeywordTok) >>~ pushContext ("Kotlin","TypeDeclaration"))+   <|>+   ((pRegExpr regex_'5cb'28val'7cvar'29'5cb >>= withAttribute KeywordTok) >>~ pushContext ("Kotlin","VariableDeclaration"))+   <|>+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_predeclared >>= withAttribute KeywordTok))+   <|>+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_keywords >>= withAttribute KeywordTok))+   <|>+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_controlFlowKeyword >>= withAttribute ControlFlowTok))+   <|>+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_types >>= withAttribute KeywordTok))+   <|>+   ((pString False "\"\"\"" >>= withAttribute StringTok) >>~ pushContext ("Kotlin","MultiLineDoubleString"))+   <|>+   ((pDetectChar False '"' >>= withAttribute StringTok) >>~ pushContext ("Kotlin","String"))+   <|>+   ((pDetectChar False '\'' >>= withAttribute CharTok) >>~ pushContext ("Kotlin","Char"))+   <|>+   ((pDetect2Chars False '/' '/' >>= withAttribute CommentTok) >>~ pushContext ("Kotlin","CommentSingleLine"))+   <|>+   ((pDetect2Chars False '/' '*' >>= withAttribute CommentTok) >>~ pushContext ("Kotlin","CommentMultiline"))+   <|>+   (withChildren (pFloat >>= withAttribute FloatTok) ((pAnyChar "fF" >>= withAttribute FloatTok)))+   <|>+   (withChildren (pInt >>= withAttribute DecValTok) ((pString False "L" >>= withAttribute DecValTok)))+   <|>+   ((pRegExpr regex_'40'5b'5f'5cw'5d'5b'5f'5cw'5cd'5d'2a >>= withAttribute AttributeTok))+   <|>+   ((pRegExpr regex_TODO'5cs'2a'5c'28'5b'5e'29'5d'2a'5c'29 >>= withAttribute AlertTok))+   <|>+   ((pDetectChar False '{' >>= withAttribute NormalTok))+   <|>+   ((pDetectChar False '}' >>= withAttribute NormalTok))+   <|>+   ((pDetect2Chars False '#' '!' >>= withAttribute CommentTok) >>~ pushContext ("Kotlin","CommentSingleLine"))+   <|>+   (currentContext >>= \x -> guard (x == ("Kotlin","Normal")) >> pDefault >>= withAttribute NormalTok))++parseRules ("Kotlin","Imports") =+  (((pDetectChar False ';' >>= withAttribute NormalTok) >>~ (popContext))+   <|>+   ((pString False "as" >>= withAttribute KeywordTok) >>~ pushContext ("Kotlin","TypeName"))+   <|>+   ((pRegExpr regex_'5cb'5b'5f'5cw'5d'5b'5f'5cw'5cd'5d'2a'28'5c'2e'5b'5f'5cw'5d'5b'5f'5cw'5cd'5d'2a'29'2a'28'5c'2e'5c'2a'29'3f >>= withAttribute ImportTok))+   <|>+   (currentContext >>= \x -> guard (x == ("Kotlin","Imports")) >> pDefault >>= withAttribute NormalTok))++parseRules ("Kotlin","VariableDeclaration") =+  (((pDetectIdentifier >>= withAttribute VariableTok) >>~ (popContext))+   <|>+   (currentContext >>= \x -> guard (x == ("Kotlin","VariableDeclaration")) >> pDefault >>= withAttribute NormalTok))++parseRules ("Kotlin","TypeDeclaration") =+  (((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_keywords >>= withAttribute KeywordTok))+   <|>+   ((pDetectChar False '<' >>= withAttribute NormalTok) >>~ pushContext ("Kotlin","TypeParameters"))+   <|>+   ((pDetectChar False '(' >>= withAttribute NormalTok) >>~ pushContext ("Kotlin","Parameters"))+   <|>+   ((pDetectChar False ':' >>= withAttribute NormalTok) >>~ pushContext ("Kotlin","SuperTypes"))+   <|>+   ((lookAhead (pDetectChar False '{') >> (popContext) >> currentContext >>= parseRules))+   <|>+   (currentContext >>= \x -> guard (x == ("Kotlin","TypeDeclaration")) >> pDefault >>= withAttribute NormalTok))++parseRules ("Kotlin","SuperTypes") =+  (((lookAhead (pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_keywords) >> (popContext >> popContext) >> currentContext >>= parseRules))+   <|>+   ((pDetectChar False ',' >>= withAttribute NormalTok))+   <|>+   ((lookAhead (pDetectChar False '{') >> (popContext) >> currentContext >>= parseRules))+   <|>+   ((pDetectChar False '(' >>= withAttribute NormalTok) >>~ pushContext ("Kotlin","Parameters"))+   <|>+   ((pDetectChar False '<' >>= withAttribute NormalTok) >>~ pushContext ("Kotlin","TypeParameters"))+   <|>+   ((pRegExpr regex_'5b'5f'5cw'5d'5b'5f'5cw'5cd'5d'2a >>= withAttribute DataTypeTok))+   <|>+   (currentContext >>= \x -> guard (x == ("Kotlin","SuperTypes")) >> pDefault >>= withAttribute NormalTok))++parseRules ("Kotlin","FunctionDeclaration") =+  (((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_keywords >>= withAttribute KeywordTok))+   <|>+   ((pDetectChar False '.' >>= withAttribute NormalTok))+   <|>+   ((pDetectChar False '(' >>= withAttribute NormalTok) >>~ pushContext ("Kotlin","Parameters"))+   <|>+   ((pDetectChar False '<' >>= withAttribute NormalTok) >>~ pushContext ("Kotlin","TypeParameters"))+   <|>+   ((pDetectChar False ':' >>= withAttribute NormalTok) >>~ pushContext ("Kotlin","TypeName"))+   <|>+   ((lookAhead (pAnyChar "{=") >> (popContext) >> currentContext >>= parseRules))+   <|>+   ((pRegExpr regex_'5b'5f'5cw'5d'5b'5f'5cw'5cd'5d'2a >>= withAttribute FunctionTok))+   <|>+   (currentContext >>= \x -> guard (x == ("Kotlin","FunctionDeclaration")) >> pDefault >>= withAttribute NormalTok))++parseRules ("Kotlin","TypeParameters") =+  (((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_keywords >>= withAttribute KeywordTok))+   <|>+   ((pDetectChar False ':' >>= withAttribute NormalTok) >>~ pushContext ("Kotlin","TypeName"))+   <|>+   ((pDetectChar False '*' >>= withAttribute NormalTok))+   <|>+   ((pDetectChar False '>' >>= withAttribute NormalTok) >>~ (popContext))+   <|>+   ((pDetectChar False '<' >>= withAttribute NormalTok) >>~ pushContext ("Kotlin","TypeParameters"))+   <|>+   ((pRegExpr regex_'5b'5f'5cw'5d'5b'5f'5cw'5cd'5d'2a'5b'3f'5d'3f >>= withAttribute DataTypeTok))+   <|>+   (currentContext >>= \x -> guard (x == ("Kotlin","TypeParameters")) >> pDefault >>= withAttribute NormalTok))++parseRules ("Kotlin","Parameters") =+  (((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_keywords >>= withAttribute KeywordTok))+   <|>+   ((pDetectChar False ')' >>= withAttribute NormalTok) >>~ (popContext))+   <|>+   ((pDetectChar False ':' >>= withAttribute NormalTok) >>~ pushContext ("Kotlin","TypeName"))+   <|>+   ((pDetectChar False '=' >>= withAttribute NormalTok) >>~ pushContext ("Kotlin","Expression"))+   <|>+   ((pRegExpr regex_'5b'5f'5cw'5d'5b'5f'5cw'5cd'5d'2a >>= withAttribute VariableTok))+   <|>+   (currentContext >>= \x -> guard (x == ("Kotlin","Parameters")) >> pDefault >>= withAttribute NormalTok))++parseRules ("Kotlin","TypeName") =+  (((pDetectChar False '*' >>= withAttribute NormalTok) >>~ (popContext))+   <|>+   ((pDetectChar False '(' >>= withAttribute NormalTok) >>~ pushContext ("Kotlin","FunctionType"))+   <|>+   ((pString False "->" >>= withAttribute NormalTok))+   <|>+   ((pRegExpr regex_'5b'5f'5cw'5d'5b'5f'5cw'5cd'5d'2a'5b'3f'5d'3f >>= withAttribute DataTypeTok) >>~ (popContext))+   <|>+   (currentContext >>= \x -> guard (x == ("Kotlin","TypeName")) >> pDefault >>= withAttribute NormalTok))++parseRules ("Kotlin","FunctionType") =+  (((pDetectChar False ')' >>= withAttribute NormalTok) >>~ (popContext))+   <|>+   ((pRegExpr regex_'5b'5f'5cw'5d'5b'5f'5cw'5cd'5d'2a'5b'3f'5d'3f >>= withAttribute DataTypeTok))+   <|>+   ((pString False "->" >>= withAttribute NormalTok))+   <|>+   ((pString False "," >>= withAttribute NormalTok))+   <|>+   (currentContext >>= \x -> guard (x == ("Kotlin","FunctionType")) >> pDefault >>= withAttribute NormalTok))++parseRules ("Kotlin","Expression") =+  (((pDetectChar False '(' >>= withAttribute NormalTok) >>~ pushContext ("Kotlin","ExpressionInner"))+   <|>+   ((lookAhead (pDetectChar False ')') >> (popContext) >> currentContext >>= parseRules))+   <|>+   ((pDetectChar False '{' >>= withAttribute NormalTok) >>~ pushContext ("Kotlin","ExpressionInner"))+   <|>+   ((lookAhead (pDetectChar False '}') >> (popContext) >> currentContext >>= parseRules))+   <|>+   ((lookAhead (pRegExpr regex_'3c'5cw'2b) >> pushContext ("Kotlin","TypeParameters") >> currentContext >>= parseRules))+   <|>+   ((pDetectChar False '\'' >>= withAttribute CharTok) >>~ pushContext ("Kotlin","Char"))+   <|>+   ((pString False "\"\"\"" >>= withAttribute StringTok) >>~ pushContext ("Kotlin","MultiLineDoubleString"))+   <|>+   ((pDetectChar False '"' >>= withAttribute StringTok) >>~ pushContext ("Kotlin","String"))+   <|>+   ((pDetect2Chars False '/' '/' >>= withAttribute CommentTok) >>~ pushContext ("Kotlin","CommentSingleLine"))+   <|>+   ((pDetect2Chars False '/' '*' >>= withAttribute CommentTok) >>~ pushContext ("Kotlin","CommentMultiline"))+   <|>+   ((pDetectChar False ',' >>= withAttribute NormalTok) >>~ (popContext))+   <|>+   (currentContext >>= \x -> guard (x == ("Kotlin","Expression")) >> pDefault >>= withAttribute NormalTok))++parseRules ("Kotlin","ExpressionInner") =+  (((pDetectChar False '(' >>= withAttribute NormalTok) >>~ pushContext ("Kotlin","ExpressionInner"))+   <|>+   ((pDetectChar False ')' >>= withAttribute NormalTok) >>~ (popContext))+   <|>+   ((pDetectChar False '{' >>= withAttribute NormalTok) >>~ pushContext ("Kotlin","ExpressionInner"))+   <|>+   ((pDetectChar False '}' >>= withAttribute NormalTok) >>~ (popContext))+   <|>+   ((lookAhead (pRegExpr regex_'3c'5cw'2b) >> pushContext ("Kotlin","TypeParameters") >> currentContext >>= parseRules))+   <|>+   ((pDetectChar False '\'' >>= withAttribute CharTok) >>~ pushContext ("Kotlin","Char"))+   <|>+   ((pString False "\"\"\"" >>= withAttribute StringTok) >>~ pushContext ("Kotlin","MultiLineDoubleString"))+   <|>+   ((pDetectChar False '"' >>= withAttribute StringTok) >>~ pushContext ("Kotlin","String"))+   <|>+   ((pDetect2Chars False '/' '/' >>= withAttribute CommentTok) >>~ pushContext ("Kotlin","CommentSingleLine"))+   <|>+   ((pDetect2Chars False '/' '*' >>= withAttribute CommentTok) >>~ pushContext ("Kotlin","CommentMultiline"))+   <|>+   (currentContext >>= \x -> guard (x == ("Kotlin","ExpressionInner")) >> pDefault >>= withAttribute NormalTok))++parseRules ("Kotlin","Char") =+  (((pRegExpr regex_'5c'5cu'5b0'2d9a'2dfA'2dF'5d'7b4'7d >>= withAttribute SpecialCharTok))+   <|>+   ((pDetectChar False '\'' >>= withAttribute CharTok) >>~ (popContext))+   <|>+   (currentContext >>= \x -> guard (x == ("Kotlin","Char")) >> pDefault >>= withAttribute CharTok))++parseRules ("Kotlin","String") =+  (((pLineContinue >>= withAttribute StringTok))+   <|>+   ((pHlCStringChar >>= withAttribute SpecialCharTok))+   <|>+   ((pRegExpr regex_'5c'5cu'5b0'2d9a'2dfA'2dF'5d'7b4'7d >>= withAttribute SpecialCharTok))+   <|>+   ((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext))+   <|>+   (currentContext >>= \x -> guard (x == ("Kotlin","String")) >> pDefault >>= withAttribute StringTok))++parseRules ("Kotlin","MultiLineDoubleString") =+  (((pString False "\"\"\"" >>= withAttribute StringTok) >>~ (popContext))+   <|>+   (currentContext >>= \x -> guard (x == ("Kotlin","MultiLineDoubleString")) >> pDefault >>= withAttribute StringTok))++parseRules ("Kotlin","CommentSingleLine") =+  (((pString False "TODO" >>= withAttribute AlertTok))+   <|>+   (currentContext >>= \x -> guard (x == ("Kotlin","CommentSingleLine")) >> pDefault >>= withAttribute CommentTok))++parseRules ("Kotlin","CommentMultiline") =+  (((pString False "TODO" >>= withAttribute AlertTok))+   <|>+   ((pDetect2Chars False '*' '/' >>= withAttribute CommentTok) >>~ (popContext))+   <|>+   (currentContext >>= \x -> guard (x == ("Kotlin","CommentMultiline")) >> pDefault >>= withAttribute CommentTok))++parseRules ("Kotlin","symbols") =+  (((pAnyChar ":!%&+,-/.*<=>?[]|~^;" >>= withAttribute NormalTok))+   <|>+   (currentContext >>= \x -> guard (x == ("Kotlin","symbols")) >> pDefault >>= withAttribute NormalTok))+++parseRules x = parseRules ("Kotlin","Normal") <|> fail ("Unknown context" ++ show x)
Text/Highlighting/Kate/Syntax/Latex.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file latex.xml, version 1.55, by Jeroen Wijnhout (Jeroen.Wijnhout@kdemail.net)+Holger Danielsson (holger.danielsson@versanet.de)+Michel Ludwig (michel.ludwig@kdemail.net)+Thomas Braun (thomas.braun@virtuell-zuhause.de) -}+   highlighting file latex.xml, version 2, by Jeroen Wijnhout (Jeroen.Wijnhout@kdemail.net)+Holger Danielsson (holger.danielsson@versanet.de)+Michel Ludwig (michel.ludwig@kdemail.net)+Thomas Braun (thomas.braun@virtuell-zuhause.de) -}  module Text.Highlighting.Kate.Syntax.Latex           (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -199,45 +199,45 @@ regex_'28FIXME'7cTODO'29'3a'3f = compileRegex True "(FIXME|TODO):?"  parseRules ("LaTeX","Normal Text") =-  (((pRegExpr regex_'5c'5cbegin'28'3f'3d'5b'5ea'2dzA'2dZ'5d'29 >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","FindBeginEnvironment"))+  (((pRegExpr regex_'5c'5cbegin'28'3f'3d'5b'5ea'2dzA'2dZ'5d'29 >>= withAttribute KeywordTok) >>~ pushContext ("LaTeX","FindBeginEnvironment"))    <|>-   ((pRegExpr regex_'5c'5cend'28'3f'3d'5b'5ea'2dzA'2dZ'5d'29 >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","FindEndEnvironment"))+   ((pRegExpr regex_'5c'5cend'28'3f'3d'5b'5ea'2dzA'2dZ'5d'29 >>= withAttribute KeywordTok) >>~ pushContext ("LaTeX","FindEndEnvironment"))    <|>-   ((pRegExpr regex_'5c'5c'28cite'7ccitet'7ccitep'7cparencite'7cautocite'7cAutocite'7ccitetitle'29'5c'2a'28'3f'3d'5b'5ea'2dzA'2dZ'5d'29 >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","Label"))+   ((pRegExpr regex_'5c'5c'28cite'7ccitet'7ccitep'7cparencite'7cautocite'7cAutocite'7ccitetitle'29'5c'2a'28'3f'3d'5b'5ea'2dzA'2dZ'5d'29 >>= withAttribute KeywordTok) >>~ pushContext ("LaTeX","Label"))    <|>-   ((pRegExpr regex_'5c'5c'28documentclass'7cincludegraphics'7cinclude'7cusepackage'7cbibliography'7cbibliographystyle'29'28'3f'3d'5b'5ea'2dzA'2dZ'5d'29 >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","FancyLabel"))+   ((pRegExpr regex_'5c'5c'28documentclass'7cincludegraphics'7cinclude'7cusepackage'7cbibliography'7cbibliographystyle'29'28'3f'3d'5b'5ea'2dzA'2dZ'5d'29 >>= withAttribute BuiltInTok) >>~ pushContext ("LaTeX","FancyLabel"))    <|>-   ((pRegExpr regex_'5c'5c'28cites'7cCites'7cparencites'7cParencites'7cautocites'7cAutocites'7csupercites'7cfootcites'7cFootcites'29'28'3f'3d'5b'5ea'2dzA'2dZ'5d'29 >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","FancyLabel"))+   ((pRegExpr regex_'5c'5c'28cites'7cCites'7cparencites'7cParencites'7cautocites'7cAutocites'7csupercites'7cfootcites'7cFootcites'29'28'3f'3d'5b'5ea'2dzA'2dZ'5d'29 >>= withAttribute KeywordTok) >>~ pushContext ("LaTeX","FancyLabel"))    <|>-   ((pRegExpr regex_'5c'5c'28cite'7ccitet'7ccitep'7cnocite'7cCite'7cparencite'7cParencite'7cfootcite'7cFootcite'7ctextcite'7cTextcite'7csupercite'7cautocite'7cAutocite'7cciteauthor'7cCiteauthor'7ccitetitle'7cciteyear'7cciteurl'7cnocite'7cfullcite'7cfootfullcite'29'28'3f'3d'5b'5ea'2dzA'2dZ'5d'29 >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","Label"))+   ((pRegExpr regex_'5c'5c'28cite'7ccitet'7ccitep'7cnocite'7cCite'7cparencite'7cParencite'7cfootcite'7cFootcite'7ctextcite'7cTextcite'7csupercite'7cautocite'7cAutocite'7cciteauthor'7cCiteauthor'7ccitetitle'7cciteyear'7cciteurl'7cnocite'7cfullcite'7cfootfullcite'29'28'3f'3d'5b'5ea'2dzA'2dZ'5d'29 >>= withAttribute KeywordTok) >>~ pushContext ("LaTeX","Label"))    <|>-   ((pRegExpr regex_'5c'5c'28subref'5c'2a'3f'7ccref'5c'2a'3f'7clabel'7cpageref'7cautoref'7cref'7cvpageref'7cvref'7cpagecite'7ceqref'29'28'3f'3d'5b'5ea'2dzA'2dZ'5d'29 >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","Label"))+   ((pRegExpr regex_'5c'5c'28subref'5c'2a'3f'7ccref'5c'2a'3f'7clabel'7cpageref'7cautoref'7cref'7cvpageref'7cvref'7cpagecite'7ceqref'29'28'3f'3d'5b'5ea'2dzA'2dZ'5d'29 >>= withAttribute KeywordTok) >>~ pushContext ("LaTeX","Label"))    <|>-   ((pRegExpr regex_'5c'5c'28part'7cchapter'7csection'7csubsection'7csubsubsection'7cparagraph'7csubparagraph'29'5c'2a'3f'5cs'2a'28'3f'3d'5b'5c'7b'5c'5b'5d'29 >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","Sectioning"))+   ((pRegExpr regex_'5c'5c'28part'7cchapter'7csection'7csubsection'7csubsubsection'7cparagraph'7csubparagraph'29'5c'2a'3f'5cs'2a'28'3f'3d'5b'5c'7b'5c'5b'5d'29 >>= withAttribute KeywordTok) >>~ pushContext ("LaTeX","Sectioning"))    <|>-   ((pRegExpr regex_'5c'5c'28input'7chspace'7chspace'5c'2a'7cvspace'7cvspace'5c'2a'7crule'7cspecial'7csetlength'7cnewboolean'7csetboolean'7csetcounter'7cgeometry'7ctextcolor'7cdefinecolor'7ccolumn'29'28'3f'3d'5b'5ea'2dzA'2dZ'5d'29 >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","SpecialCommand"))+   ((pRegExpr regex_'5c'5c'28input'7chspace'7chspace'5c'2a'7cvspace'7cvspace'5c'2a'7crule'7cspecial'7csetlength'7cnewboolean'7csetboolean'7csetcounter'7cgeometry'7ctextcolor'7cdefinecolor'7ccolumn'29'28'3f'3d'5b'5ea'2dzA'2dZ'5d'29 >>= withAttribute FunctionTok) >>~ pushContext ("LaTeX","SpecialCommand"))    <|>-   ((pRegExpr regex_'5c'5c'28footnote'29'5c'2a'3f'5cs'2a'28'3f'3d'5b'5c'7b'5c'5b'5d'29 >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","Footnoting"))+   ((pRegExpr regex_'5c'5c'28footnote'29'5c'2a'3f'5cs'2a'28'3f'3d'5b'5c'7b'5c'5b'5d'29 >>= withAttribute FunctionTok) >>~ pushContext ("LaTeX","Footnoting"))    <|>-   ((pRegExpr regex_'5c'5c'28renewcommand'7cprovidenewcommand'7cnewcommand'29'5c'2a'3f'28'3f'3d'5b'5ea'2dzA'2dZ'5d'29 >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","NewCommand"))+   ((pRegExpr regex_'5c'5c'28renewcommand'7cprovidenewcommand'7cnewcommand'29'5c'2a'3f'28'3f'3d'5b'5ea'2dzA'2dZ'5d'29 >>= withAttribute FunctionTok) >>~ pushContext ("LaTeX","NewCommand"))    <|>-   ((pRegExpr regex_'5c'5c'28e'7cg'7cx'29'3fdef'28'3f'3d'5b'5ea'2dzA'2dZ'5d'29 >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","DefCommand"))+   ((pRegExpr regex_'5c'5c'28e'7cg'7cx'29'3fdef'28'3f'3d'5b'5ea'2dzA'2dZ'5d'29 >>= withAttribute FunctionTok) >>~ pushContext ("LaTeX","DefCommand"))    <|>    ((pRegExpr regex_'3c'3c'2e'2a'3e'3e'3d >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","NoWeb"))    <|>-   ((pString False "\\(" >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","MathMode"))+   ((pString False "\\(" >>= withAttribute SpecialStringTok) >>~ pushContext ("LaTeX","MathMode"))    <|>-   ((pString False "\\[" >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","MathModeEquation"))+   ((pString False "\\[" >>= withAttribute SpecialStringTok) >>~ pushContext ("LaTeX","MathModeEquation"))    <|>    ((pString False "\\iffalse" >>= withAttribute CommentTok) >>~ pushContext ("LaTeX","Multiline Comment"))    <|>-   ((pString False "\\ensuremath{" >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","MathModeEnsure"))+   ((pString False "\\ensuremath{" >>= withAttribute SpecialStringTok) >>~ pushContext ("LaTeX","MathModeEnsure"))    <|>-   ((pDetectChar False '\\' >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","ContrSeq"))+   ((pDetectChar False '\\' >>= withAttribute FunctionTok) >>~ pushContext ("LaTeX","ContrSeq"))    <|>-   ((pString False "$$" >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","MathModeDisplay"))+   ((pString False "$$" >>= withAttribute SpecialStringTok) >>~ pushContext ("LaTeX","MathModeDisplay"))    <|>-   ((pDetectChar False '$' >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","MathMode"))+   ((pDetectChar False '$' >>= withAttribute SpecialStringTok) >>~ pushContext ("LaTeX","MathMode"))    <|>    ((pFirstNonSpace >> pRegExpr regex_'25'5cs'2aBEGIN'2e'2a'24 >>= withAttribute RegionMarkerTok))    <|>@@ -245,7 +245,7 @@    <|>    ((pDetectChar False '%' >>= withAttribute CommentTok) >>~ pushContext ("LaTeX","Comment"))    <|>-   ((pDetectChar False '\215' >>= withAttribute NormalTok))+   ((pDetectChar False '\215' >>= withAttribute InformationTok))    <|>    (currentContext >>= \x -> guard (x == ("LaTeX","Normal Text")) >> pDefault >>= withAttribute NormalTok)) @@ -272,52 +272,52 @@    <|>    ((pDetectChar False '}' >>= withAttribute NormalTok) >>~ (popContext))    <|>-   ((pString False "\\(" >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","SectioningMathMode"))+   ((pString False "\\(" >>= withAttribute SpecialStringTok) >>~ pushContext ("LaTeX","SectioningMathMode"))    <|>-   ((pDetectChar False '\\' >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","SectioningContrSeq"))+   ((pDetectChar False '\\' >>= withAttribute FunctionTok) >>~ pushContext ("LaTeX","SectioningContrSeq"))    <|>-   ((pDetectChar False '$' >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","SectioningMathMode"))+   ((pDetectChar False '$' >>= withAttribute SpecialStringTok) >>~ pushContext ("LaTeX","SectioningMathMode"))    <|>    ((pDetectChar False '%' >>= withAttribute CommentTok) >>~ pushContext ("LaTeX","Comment"))    <|>-   ((pDetectChar False '\215' >>= withAttribute NormalTok))+   ((pDetectChar False '\215' >>= withAttribute InformationTok))    <|>    (currentContext >>= \x -> guard (x == ("LaTeX","SectioningInside")) >> pDefault >>= withAttribute NormalTok))  parseRules ("LaTeX","SectioningContrSeq") =-  (((pDetectChar False '\215' >>= withAttribute NormalTok))+  (((pDetectChar False '\215' >>= withAttribute InformationTok))    <|>-   ((pRegExpr regex_'5ba'2dzA'2dZ'5d'2b'28'5c'2b'3f'7c'5c'2a'7b0'2c3'7d'29 >>= withAttribute NormalTok) >>~ (popContext))+   ((pRegExpr regex_'5ba'2dzA'2dZ'5d'2b'28'5c'2b'3f'7c'5c'2a'7b0'2c3'7d'29 >>= withAttribute FunctionTok) >>~ (popContext))    <|>-   ((pRegExpr regex_'5b'5ea'2dzA'2dZ'5d >>= withAttribute NormalTok) >>~ (popContext))+   ((pRegExpr regex_'5b'5ea'2dzA'2dZ'5d >>= withAttribute FunctionTok) >>~ (popContext))    <|>-   (currentContext >>= \x -> guard (x == ("LaTeX","SectioningContrSeq")) >> pDefault >>= withAttribute NormalTok))+   (currentContext >>= \x -> guard (x == ("LaTeX","SectioningContrSeq")) >> pDefault >>= withAttribute FunctionTok))  parseRules ("LaTeX","SectioningMathMode") =-  (((pString False "$$" >>= withAttribute AlertTok))+  (((pString False "$$" >>= withAttribute ErrorTok))    <|>-   ((pDetectChar False '$' >>= withAttribute NormalTok) >>~ (popContext))+   ((pDetectChar False '$' >>= withAttribute SpecialStringTok) >>~ (popContext))    <|>-   ((pDetect2Chars False '\\' ')' >>= withAttribute NormalTok) >>~ (popContext))+   ((pDetect2Chars False '\\' ')' >>= withAttribute SpecialStringTok) >>~ (popContext))    <|>-   ((pDetect2Chars False '\\' ']' >>= withAttribute AlertTok))+   ((pDetect2Chars False '\\' ']' >>= withAttribute ErrorTok))    <|>-   ((pDetectChar False '\\' >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","SectioningMathContrSeq"))+   ((pDetectChar False '\\' >>= withAttribute SpecialCharTok) >>~ pushContext ("LaTeX","SectioningMathContrSeq"))    <|>    ((pDetectChar False '%' >>= withAttribute CommentTok) >>~ pushContext ("LaTeX","Comment"))    <|>-   ((pDetectChar False '\215' >>= withAttribute NormalTok))+   ((pDetectChar False '\215' >>= withAttribute InformationTok))    <|>-   (currentContext >>= \x -> guard (x == ("LaTeX","SectioningMathMode")) >> pDefault >>= withAttribute NormalTok))+   (currentContext >>= \x -> guard (x == ("LaTeX","SectioningMathMode")) >> pDefault >>= withAttribute SpecialStringTok))  parseRules ("LaTeX","SectioningMathContrSeq") =-  (((pDetectChar False '\215' >>= withAttribute NormalTok))+  (((pDetectChar False '\215' >>= withAttribute InformationTok))    <|>-   ((pRegExpr regex_'5ba'2dzA'2dZ'5d'2b'5c'2a'3f >>= withAttribute NormalTok) >>~ (popContext))+   ((pRegExpr regex_'5ba'2dzA'2dZ'5d'2b'5c'2a'3f >>= withAttribute SpecialCharTok) >>~ (popContext))    <|>-   ((pRegExpr regex_'5b'5ea'2dzA'2dZ'5d >>= withAttribute NormalTok) >>~ (popContext))+   ((pRegExpr regex_'5b'5ea'2dzA'2dZ'5d >>= withAttribute SpecialCharTok) >>~ (popContext))    <|>-   (currentContext >>= \x -> guard (x == ("LaTeX","SectioningMathContrSeq")) >> pDefault >>= withAttribute NormalTok))+   (currentContext >>= \x -> guard (x == ("LaTeX","SectioningMathContrSeq")) >> pDefault >>= withAttribute SpecialCharTok))  parseRules ("LaTeX","Footnoting") =   (((pRegExpr regex_'5c'5b'5b'5e'5c'5d'5d'2a'5c'5d >>= withAttribute NormalTok))@@ -337,40 +337,40 @@    <|>    ((pDetectChar False '}' >>= withAttribute NormalTok) >>~ (popContext))    <|>-   ((pString False "\\(" >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","FootnotingMathMode"))+   ((pString False "\\(" >>= withAttribute SpecialStringTok) >>~ pushContext ("LaTeX","FootnotingMathMode"))    <|>-   ((pDetectChar False '$' >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","FootnotingMathMode"))+   ((pDetectChar False '$' >>= withAttribute SpecialStringTok) >>~ pushContext ("LaTeX","FootnotingMathMode"))    <|>    ((parseRules ("LaTeX","Normal Text")))    <|>    (currentContext >>= \x -> guard (x == ("LaTeX","FootnotingInside")) >> pDefault >>= withAttribute NormalTok))  parseRules ("LaTeX","FootnotingMathMode") =-  (((pString False "$$" >>= withAttribute AlertTok))+  (((pString False "$$" >>= withAttribute ErrorTok))    <|>-   ((pDetectChar False '$' >>= withAttribute NormalTok) >>~ (popContext))+   ((pDetectChar False '$' >>= withAttribute SpecialStringTok) >>~ (popContext))    <|>-   ((pDetect2Chars False '\\' ')' >>= withAttribute NormalTok) >>~ (popContext))+   ((pDetect2Chars False '\\' ')' >>= withAttribute SpecialStringTok) >>~ (popContext))    <|>-   ((pDetect2Chars False '\\' ']' >>= withAttribute AlertTok))+   ((pDetect2Chars False '\\' ']' >>= withAttribute ErrorTok))    <|>    ((parseRules ("LaTeX","MathMode")))    <|>-   (currentContext >>= \x -> guard (x == ("LaTeX","FootnotingMathMode")) >> pDefault >>= withAttribute NormalTok))+   (currentContext >>= \x -> guard (x == ("LaTeX","FootnotingMathMode")) >> pDefault >>= withAttribute SpecialStringTok))  parseRules ("LaTeX","NewCommand") =   (((pRegExpr regex_'5cs'2a'5c'7b'5cs'2a >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","LabelParameter"))    <|>    ((pRegExpr regex_'5cs'2a'28'5c'5b'5cd'5c'5d'28'5c'5b'5b'5e'5c'5d'5d'2a'5c'5d'29'3f'29'3f'5c'7b >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","LabelParameter"))    <|>-   ((pDetectChar False '}' >>= withAttribute AlertTok) >>~ (popContext))+   ((pDetectChar False '}' >>= withAttribute ErrorTok) >>~ (popContext))    <|>    ((popContext) >> currentContext >>= parseRules))  parseRules ("LaTeX","DefCommand") =   (((pRegExpr regex_'5cs'2a'5c'5c'5ba'2dzA'2dZ'5d'2b'5b'5e'5c'7b'5d'2a'5c'7b >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","CommandParameterStart"))    <|>-   ((pDetectChar False '}' >>= withAttribute AlertTok) >>~ (popContext))+   ((pDetectChar False '}' >>= withAttribute ErrorTok) >>~ (popContext))    <|>    ((popContext) >> currentContext >>= parseRules)) @@ -397,21 +397,21 @@    (currentContext >>= \x -> guard (x == ("LaTeX","CommandParameter")) >> pDefault >>= withAttribute NormalTok))  parseRules ("LaTeX","ContrSeq") =-  (((pString False "verb*" >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","Verb"))+  (((pString False "verb*" >>= withAttribute FunctionTok) >>~ pushContext ("LaTeX","Verb"))    <|>-   ((pRegExpr regex_'28Verb'7cverb'29'28'3f'3d'5b'5ea'2dzA'2dZ'5d'29 >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","Verb"))+   ((pRegExpr regex_'28Verb'7cverb'29'28'3f'3d'5b'5ea'2dzA'2dZ'5d'29 >>= withAttribute FunctionTok) >>~ pushContext ("LaTeX","Verb"))    <|>-   ((pRegExpr regex_'28lstinline'29'28'3f'3d'5b'5ea'2dzA'2dZ'5d'29 >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","Lstinline"))+   ((pRegExpr regex_'28lstinline'29'28'3f'3d'5b'5ea'2dzA'2dZ'5d'29 >>= withAttribute FunctionTok) >>~ pushContext ("LaTeX","Lstinline"))    <|>-   ((pRegExpr regex_mint'28'3f'3d'5b'5ea'2dzA'2dZ'5d'29 >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","MintParam"))+   ((pRegExpr regex_mint'28'3f'3d'5b'5ea'2dzA'2dZ'5d'29 >>= withAttribute FunctionTok) >>~ pushContext ("LaTeX","MintParam"))    <|>-   ((pDetectChar False '\215' >>= withAttribute NormalTok))+   ((pDetectChar False '\215' >>= withAttribute InformationTok))    <|>-   ((pRegExpr regex_'5ba'2dzA'2dZ'40'5d'2b'28'5c'2b'3f'7c'5c'2a'7b0'2c3'7d'29 >>= withAttribute NormalTok) >>~ (popContext))+   ((pRegExpr regex_'5ba'2dzA'2dZ'40'5d'2b'28'5c'2b'3f'7c'5c'2a'7b0'2c3'7d'29 >>= withAttribute FunctionTok) >>~ (popContext))    <|>-   ((pRegExpr regex_'5b'5ea'2dzA'2dZ'5d >>= withAttribute NormalTok) >>~ (popContext))+   ((pRegExpr regex_'5b'5ea'2dzA'2dZ'5d >>= withAttribute FunctionTok) >>~ (popContext))    <|>-   (currentContext >>= \x -> guard (x == ("LaTeX","ContrSeq")) >> pDefault >>= withAttribute NormalTok))+   (currentContext >>= \x -> guard (x == ("LaTeX","ContrSeq")) >> pDefault >>= withAttribute FunctionTok))  parseRules ("LaTeX","ToEndOfLine") =   (currentContext >>= \x -> guard (x == ("LaTeX","ToEndOfLine")) >> pDefault >>= withAttribute NormalTok)@@ -428,16 +428,16 @@ parseRules ("LaTeX","Verb") =   (((pRegExprDynamic "(.)" >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","VerbEnd"))    <|>-   (currentContext >>= \x -> guard (x == ("LaTeX","Verb")) >> pDefault >>= withAttribute NormalTok))+   (currentContext >>= \x -> guard (x == ("LaTeX","Verb")) >> pDefault >>= withAttribute VerbatimStringTok))  parseRules ("LaTeX","VerbEnd") =   (((pString True "%1" >>= withAttribute NormalTok) >>~ (popContext >> popContext >> popContext))    <|>-   ((pDetectChar False '\215' >>= withAttribute NormalTok))+   ((pDetectChar False '\215' >>= withAttribute InformationTok))    <|>-   ((pRegExprDynamic "[^%1\\xd7]*" >>= withAttribute NormalTok))+   ((pRegExprDynamic "[^%1\\xd7]*" >>= withAttribute VerbatimStringTok))    <|>-   (currentContext >>= \x -> guard (x == ("LaTeX","VerbEnd")) >> pDefault >>= withAttribute NormalTok))+   (currentContext >>= \x -> guard (x == ("LaTeX","VerbEnd")) >> pDefault >>= withAttribute VerbatimStringTok))  parseRules ("LaTeX","Lstinline") =   (((pRegExpr regex_'5cs'2a'5c'5b'5cs'2a >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","FancyLabelOption"))@@ -446,52 +446,52 @@    <|>    ((pRegExprDynamic "(.)" >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","LstinlineEnd"))    <|>-   (currentContext >>= \x -> guard (x == ("LaTeX","Lstinline")) >> pDefault >>= withAttribute NormalTok))+   (currentContext >>= \x -> guard (x == ("LaTeX","Lstinline")) >> pDefault >>= withAttribute VerbatimStringTok))  parseRules ("LaTeX","LstinlineEnd") =   (((pString True "%1" >>= withAttribute NormalTok) >>~ (popContext >> popContext >> popContext))    <|>-   ((pDetectChar False '\215' >>= withAttribute NormalTok))+   ((pDetectChar False '\215' >>= withAttribute InformationTok))    <|>-   ((pRegExprDynamic "[^%1\\xd7]*" >>= withAttribute NormalTok))+   ((pRegExprDynamic "[^%1\\xd7]*" >>= withAttribute VerbatimStringTok))    <|>-   (currentContext >>= \x -> guard (x == ("LaTeX","LstinlineEnd")) >> pDefault >>= withAttribute NormalTok))+   (currentContext >>= \x -> guard (x == ("LaTeX","LstinlineEnd")) >> pDefault >>= withAttribute VerbatimStringTok))  parseRules ("LaTeX","LstinlineParameter") =   (((pRegExpr regex_'5cs'2a'5c'7d'5cs'2a >>= withAttribute NormalTok) >>~ (popContext >> popContext >> popContext))    <|>-   (currentContext >>= \x -> guard (x == ("LaTeX","LstinlineParameter")) >> pDefault >>= withAttribute NormalTok))+   (currentContext >>= \x -> guard (x == ("LaTeX","LstinlineParameter")) >> pDefault >>= withAttribute VerbatimStringTok))  parseRules ("LaTeX","Label") =   (((pRegExpr regex_'5cs'2a'5c'7b'5cs'2a >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","LabelParameter"))    <|>    ((pRegExpr regex_'5cs'2a'5c'5b'5cs'2a >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","LabelOption"))    <|>-   ((pRegExpr regex_'5b'5e'5c'5b'5c'7b'5d'2b >>= withAttribute AlertTok))+   ((pRegExpr regex_'5b'5e'5c'5b'5c'7b'5d'2b >>= withAttribute ErrorTok))    <|>    (currentContext >>= \x -> guard (x == ("LaTeX","Label")) >> pDefault >>= withAttribute NormalTok))  parseRules ("LaTeX","LabelOption") =-  (((pString False "\\(" >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","MathMode"))+  (((pString False "\\(" >>= withAttribute SpecialStringTok) >>~ pushContext ("LaTeX","MathMode"))    <|>-   ((pDetectChar False '\\' >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","ContrSeq"))+   ((pDetectChar False '\\' >>= withAttribute FunctionTok) >>~ pushContext ("LaTeX","ContrSeq"))    <|>-   ((pDetectChar False '$' >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","MathMode"))+   ((pDetectChar False '$' >>= withAttribute SpecialStringTok) >>~ pushContext ("LaTeX","MathMode"))    <|>    ((pDetectChar False '%' >>= withAttribute CommentTok) >>~ pushContext ("LaTeX","Comment"))    <|>-   ((pDetectChar False '\215' >>= withAttribute NormalTok))+   ((pDetectChar False '\215' >>= withAttribute InformationTok))    <|>    ((pRegExpr regex_'5cs'2a'5c'5d'5cs'2a >>= withAttribute NormalTok) >>~ (popContext))    <|>    (currentContext >>= \x -> guard (x == ("LaTeX","LabelOption")) >> pDefault >>= withAttribute NormalTok))  parseRules ("LaTeX","LabelParameter") =-  (((pDetectChar False '\215' >>= withAttribute NormalTok))+  (((pDetectChar False '\215' >>= withAttribute InformationTok))    <|>    ((pRegExpr regex_'5cs'2a'5c'7d'5cs'2a >>= withAttribute NormalTok) >>~ (popContext >> popContext))    <|>-   (currentContext >>= \x -> guard (x == ("LaTeX","LabelParameter")) >> pDefault >>= withAttribute NormalTok))+   (currentContext >>= \x -> guard (x == ("LaTeX","LabelParameter")) >> pDefault >>= withAttribute ExtensionTok))  parseRules ("LaTeX","FancyLabel") =   (((pRegExpr regex_'5cs'2a'5c'7b'5cs'2a >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","FancyLabelParameter"))@@ -503,45 +503,45 @@    ((popContext) >> currentContext >>= parseRules))  parseRules ("LaTeX","FancyLabelParameter") =-  (((pString False "\\(" >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","MathMode"))+  (((pString False "\\(" >>= withAttribute SpecialStringTok) >>~ pushContext ("LaTeX","MathMode"))    <|>-   ((pDetectChar False '\\' >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","ContrSeq"))+   ((pDetectChar False '\\' >>= withAttribute FunctionTok) >>~ pushContext ("LaTeX","ContrSeq"))    <|>-   ((pDetectChar False '$' >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","MathMode"))+   ((pDetectChar False '$' >>= withAttribute SpecialStringTok) >>~ pushContext ("LaTeX","MathMode"))    <|>    ((pDetectChar False '%' >>= withAttribute CommentTok) >>~ pushContext ("LaTeX","Comment"))    <|>-   ((pDetectChar False '\215' >>= withAttribute NormalTok))+   ((pDetectChar False '\215' >>= withAttribute InformationTok))    <|>    ((pRegExpr regex_'5cs'2a'5c'7d'5cs'2a >>= withAttribute NormalTok) >>~ (popContext))    <|>-   (currentContext >>= \x -> guard (x == ("LaTeX","FancyLabelParameter")) >> pDefault >>= withAttribute NormalTok))+   (currentContext >>= \x -> guard (x == ("LaTeX","FancyLabelParameter")) >> pDefault >>= withAttribute ExtensionTok))  parseRules ("LaTeX","FancyLabelOption") =-  (((pString False "\\(" >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","MathMode"))+  (((pString False "\\(" >>= withAttribute SpecialStringTok) >>~ pushContext ("LaTeX","MathMode"))    <|>-   ((pDetectChar False '\\' >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","ContrSeq"))+   ((pDetectChar False '\\' >>= withAttribute FunctionTok) >>~ pushContext ("LaTeX","ContrSeq"))    <|>-   ((pDetectChar False '$' >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","MathMode"))+   ((pDetectChar False '$' >>= withAttribute SpecialStringTok) >>~ pushContext ("LaTeX","MathMode"))    <|>    ((pDetectChar False '%' >>= withAttribute CommentTok) >>~ pushContext ("LaTeX","Comment"))    <|>-   ((pDetectChar False '\215' >>= withAttribute NormalTok))+   ((pDetectChar False '\215' >>= withAttribute InformationTok))    <|>    ((pRegExpr regex_'5cs'2a'5c'5d'5cs'2a >>= withAttribute NormalTok) >>~ (popContext))    <|>    (currentContext >>= \x -> guard (x == ("LaTeX","FancyLabelOption")) >> pDefault >>= withAttribute NormalTok))  parseRules ("LaTeX","FancyLabelRoundBrackets") =-  (((pString False "\\(" >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","MathMode"))+  (((pString False "\\(" >>= withAttribute SpecialStringTok) >>~ pushContext ("LaTeX","MathMode"))    <|>-   ((pDetectChar False '\\' >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","ContrSeq"))+   ((pDetectChar False '\\' >>= withAttribute FunctionTok) >>~ pushContext ("LaTeX","ContrSeq"))    <|>-   ((pDetectChar False '$' >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","MathMode"))+   ((pDetectChar False '$' >>= withAttribute SpecialStringTok) >>~ pushContext ("LaTeX","MathMode"))    <|>    ((pDetectChar False '%' >>= withAttribute CommentTok) >>~ pushContext ("LaTeX","Comment"))    <|>-   ((pDetectChar False '\215' >>= withAttribute NormalTok))+   ((pDetectChar False '\215' >>= withAttribute InformationTok))    <|>    ((pRegExpr regex_'5cs'2a'5c'29'5cs'2a >>= withAttribute NormalTok) >>~ (popContext))    <|>@@ -553,15 +553,15 @@    ((popContext) >> currentContext >>= parseRules))  parseRules ("LaTeX","SpecialCommandParameterOption") =-  (((pString False "\\(" >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","MathMode"))+  (((pString False "\\(" >>= withAttribute SpecialStringTok) >>~ pushContext ("LaTeX","MathMode"))    <|>-   ((pDetectChar False '\\' >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","ContrSeq"))+   ((pDetectChar False '\\' >>= withAttribute FunctionTok) >>~ pushContext ("LaTeX","ContrSeq"))    <|>-   ((pDetectChar False '$' >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","MathMode"))+   ((pDetectChar False '$' >>= withAttribute SpecialStringTok) >>~ pushContext ("LaTeX","MathMode"))    <|>    ((pDetectChar False '%' >>= withAttribute CommentTok) >>~ pushContext ("LaTeX","Comment"))    <|>-   ((pDetectChar False '\215' >>= withAttribute NormalTok))+   ((pDetectChar False '\215' >>= withAttribute InformationTok))    <|>    ((pRegExpr regex_'5cs'2a'5c'7d'5cs'2a >>= withAttribute NormalTok) >>~ (popContext))    <|>@@ -575,24 +575,24 @@    (currentContext >>= \x -> guard (x == ("LaTeX","FindEndEnvironment")) >> pDefault >>= withAttribute NormalTok))  parseRules ("LaTeX","EndEnvironment") =-  (((pRegExpr regex_'5ba'2dzA'2dZ'5d >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","EndLatexEnv"))+  (((pRegExpr regex_'5ba'2dzA'2dZ'5d >>= withAttribute ExtensionTok) >>~ pushContext ("LaTeX","EndLatexEnv"))    <|>-   ((pRegExpr regex_'5cs'2b >>= withAttribute AlertTok) >>~ (popContext))+   ((pRegExpr regex_'5cs'2b >>= withAttribute ErrorTok) >>~ (popContext))    <|>-   ((pRegExpr regex_'5b'5ea'2dzA'2dZ'5d >>= withAttribute AlertTok) >>~ (popContext))+   ((pRegExpr regex_'5b'5ea'2dzA'2dZ'5d >>= withAttribute ErrorTok) >>~ (popContext))    <|>-   (currentContext >>= \x -> guard (x == ("LaTeX","EndEnvironment")) >> pDefault >>= withAttribute NormalTok))+   (currentContext >>= \x -> guard (x == ("LaTeX","EndEnvironment")) >> pDefault >>= withAttribute ExtensionTok))  parseRules ("LaTeX","EndLatexEnv") =   (((pDetectChar False '}' >>= withAttribute NormalTok) >>~ (popContext >> popContext >> popContext))    <|>-   ((pRegExpr regex_'5ba'2dzA'2dZ'5d'2b'28'5c'2a'29'3f >>= withAttribute NormalTok))+   ((pRegExpr regex_'5ba'2dzA'2dZ'5d'2b'28'5c'2a'29'3f >>= withAttribute ExtensionTok))    <|>-   ((pRegExpr regex_'5cs'2b >>= withAttribute AlertTok))+   ((pRegExpr regex_'5cs'2b >>= withAttribute ErrorTok))    <|>-   ((pRegExpr regex_'5ba'2dzA'2dZ'5d >>= withAttribute AlertTok) >>~ (popContext >> popContext >> popContext))+   ((pRegExpr regex_'5ba'2dzA'2dZ'5d >>= withAttribute ErrorTok) >>~ (popContext >> popContext >> popContext))    <|>-   (currentContext >>= \x -> guard (x == ("LaTeX","EndLatexEnv")) >> pDefault >>= withAttribute NormalTok))+   (currentContext >>= \x -> guard (x == ("LaTeX","EndLatexEnv")) >> pDefault >>= withAttribute ExtensionTok))  parseRules ("LaTeX","FindBeginEnvironment") =   (((pDetectChar False '{' >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","BeginEnvironment"))@@ -602,42 +602,42 @@    (currentContext >>= \x -> guard (x == ("LaTeX","FindBeginEnvironment")) >> pDefault >>= withAttribute NormalTok))  parseRules ("LaTeX","BeginEnvironment") =-  (((pString False "lstlisting" >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","ListingsEnvParam"))+  (((pString False "lstlisting" >>= withAttribute ExtensionTok) >>~ pushContext ("LaTeX","ListingsEnvParam"))    <|>-   ((pString False "minted" >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","MintedEnvParam"))+   ((pString False "minted" >>= withAttribute ExtensionTok) >>~ pushContext ("LaTeX","MintedEnvParam"))    <|>-   ((pRegExpr regex_'28'28B'7cL'29'3fVerbatim'29 >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","VerbatimEnvParam"))+   ((pRegExpr regex_'28'28B'7cL'29'3fVerbatim'29 >>= withAttribute ExtensionTok) >>~ pushContext ("LaTeX","VerbatimEnvParam"))    <|>-   ((pRegExpr regex_'28verbatim'7cboxedverbatim'29 >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","VerbatimEnv"))+   ((pRegExpr regex_'28verbatim'7cboxedverbatim'29 >>= withAttribute ExtensionTok) >>~ pushContext ("LaTeX","VerbatimEnv"))    <|>-   ((pRegExpr regex_comment >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","CommentEnv"))+   ((pRegExpr regex_comment >>= withAttribute ExtensionTok) >>~ pushContext ("LaTeX","CommentEnv"))    <|>-   ((pRegExpr regex_'28alignat'7cxalignat'7cxxalignat'29 >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","MathEnvParam"))+   ((pRegExpr regex_'28alignat'7cxalignat'7cxxalignat'29 >>= withAttribute ExtensionTok) >>~ pushContext ("LaTeX","MathEnvParam"))    <|>-   ((pRegExpr regex_'28equation'7cdisplaymath'7ceqnarray'7csubeqnarray'7cmath'7cmultline'7cgather'7calign'7cflalign'7cIEEEeqnarray'7cIEEEeqnarraybox'7csmallmatrix'7cpmatrix'7cbmatrix'7cBmatrix'7cvmatrix'7cVmatrix'7ccases'29 >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","MathEnv"))+   ((pRegExpr regex_'28equation'7cdisplaymath'7ceqnarray'7csubeqnarray'7cmath'7cmultline'7cgather'7calign'7cflalign'7cIEEEeqnarray'7cIEEEeqnarraybox'7csmallmatrix'7cpmatrix'7cbmatrix'7cBmatrix'7cvmatrix'7cVmatrix'7ccases'29 >>= withAttribute ExtensionTok) >>~ pushContext ("LaTeX","MathEnv"))    <|>-   ((pRegExpr regex_'28tabularx'7ctabular'7csupertabular'7cmpsupertabular'7cxtabular'7cmpxtabular'7clongtable'29 >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","TabEnv"))+   ((pRegExpr regex_'28tabularx'7ctabular'7csupertabular'7cmpsupertabular'7cxtabular'7cmpxtabular'7clongtable'29 >>= withAttribute ExtensionTok) >>~ pushContext ("LaTeX","TabEnv"))    <|>-   ((pDetectChar False '\215' >>= withAttribute NormalTok))+   ((pDetectChar False '\215' >>= withAttribute InformationTok))    <|>-   ((pRegExpr regex_'5ba'2dzA'2dZ'5d >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","LatexEnv"))+   ((pRegExpr regex_'5ba'2dzA'2dZ'5d >>= withAttribute ExtensionTok) >>~ pushContext ("LaTeX","LatexEnv"))    <|>-   ((pRegExpr regex_'5cs'2b >>= withAttribute AlertTok) >>~ (popContext))+   ((pRegExpr regex_'5cs'2b >>= withAttribute ErrorTok) >>~ (popContext))    <|>-   ((pRegExpr regex_'5b'5ea'2dzA'2dZ'5cxd7'5d >>= withAttribute AlertTok) >>~ (popContext))+   ((pRegExpr regex_'5b'5ea'2dzA'2dZ'5cxd7'5d >>= withAttribute ErrorTok) >>~ (popContext))    <|>-   (currentContext >>= \x -> guard (x == ("LaTeX","BeginEnvironment")) >> pDefault >>= withAttribute NormalTok))+   (currentContext >>= \x -> guard (x == ("LaTeX","BeginEnvironment")) >> pDefault >>= withAttribute ExtensionTok))  parseRules ("LaTeX","LatexEnv") =   (((pDetectChar False '}' >>= withAttribute NormalTok) >>~ (popContext >> popContext >> popContext))    <|>-   ((pRegExpr regex_'5ba'2dzA'2dZ'5d'2b >>= withAttribute NormalTok))+   ((pRegExpr regex_'5ba'2dzA'2dZ'5d'2b >>= withAttribute ExtensionTok))    <|>-   ((pRegExpr regex_'5cs'2b >>= withAttribute AlertTok))+   ((pRegExpr regex_'5cs'2b >>= withAttribute ErrorTok))    <|>    ((parseRules ("LaTeX","EnvCommon")))    <|>-   (currentContext >>= \x -> guard (x == ("LaTeX","LatexEnv")) >> pDefault >>= withAttribute NormalTok))+   (currentContext >>= \x -> guard (x == ("LaTeX","LatexEnv")) >> pDefault >>= withAttribute ExtensionTok))  parseRules ("LaTeX","VerbatimEnv") =   (((pDetectChar False '}' >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","Verbatim"))@@ -718,16 +718,16 @@    (currentContext >>= \x -> guard (x == ("LaTeX","HighlightningPython")) >> pDefault >>= withAttribute NormalTok))  parseRules ("LaTeX","Verbatim") =-  (((pDetectChar False '\215' >>= withAttribute NormalTok))+  (((pDetectChar False '\215' >>= withAttribute InformationTok))    <|>-   ((pRegExpr regex_'5c'5cend'28'3f'3d'5cs'2a'5c'7b'28verbatim'7clstlisting'7cboxedverbatim'7c'28B'7cL'29'3fVerbatim'7cminted'29'5c'2a'3f'5c'7d'29 >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","VerbFindEnd"))+   ((pRegExpr regex_'5c'5cend'28'3f'3d'5cs'2a'5c'7b'28verbatim'7clstlisting'7cboxedverbatim'7c'28B'7cL'29'3fVerbatim'7cminted'29'5c'2a'3f'5c'7d'29 >>= withAttribute KeywordTok) >>~ pushContext ("LaTeX","VerbFindEnd"))    <|>-   (currentContext >>= \x -> guard (x == ("LaTeX","Verbatim")) >> pDefault >>= withAttribute NormalTok))+   (currentContext >>= \x -> guard (x == ("LaTeX","Verbatim")) >> pDefault >>= withAttribute VerbatimStringTok))  parseRules ("LaTeX","VerbFindEnd") =   (((pRegExpr regex_'5cs'2a'5c'7b >>= withAttribute NormalTok))    <|>-   ((pRegExpr regex_'28verbatim'7clstlisting'7cboxedverbatim'7c'28B'7cL'29'3fVerbatim'7cminted'29'5c'2a'3f >>= withAttribute NormalTok))+   ((pRegExpr regex_'28verbatim'7clstlisting'7cboxedverbatim'7c'28B'7cL'29'3fVerbatim'7cminted'29'5c'2a'3f >>= withAttribute ExtensionTok))    <|>    ((pDetectChar False '}' >>= withAttribute NormalTok) >>~ (popContext >> popContext >> popContext >> popContext >> popContext))    <|>@@ -743,16 +743,16 @@    ((popContext >> popContext >> popContext) >> currentContext >>= parseRules))  parseRules ("LaTeX","BlockComment") =-  (((pDetectChar False '\215' >>= withAttribute NormalTok))+  (((pDetectChar False '\215' >>= withAttribute InformationTok))    <|>-   ((pRegExpr regex_'5c'5cend'28'3f'3d'5cs'2a'5c'7bcomment'5c'2a'3f'5c'7d'29 >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","CommFindEnd"))+   ((pRegExpr regex_'5c'5cend'28'3f'3d'5cs'2a'5c'7bcomment'5c'2a'3f'5c'7d'29 >>= withAttribute KeywordTok) >>~ pushContext ("LaTeX","CommFindEnd"))    <|>    (currentContext >>= \x -> guard (x == ("LaTeX","BlockComment")) >> pDefault >>= withAttribute CommentTok))  parseRules ("LaTeX","CommFindEnd") =   (((pRegExpr regex_'5cs'2a'5c'7b >>= withAttribute NormalTok))    <|>-   ((pRegExpr regex_comment'5c'2a'3f >>= withAttribute NormalTok))+   ((pRegExpr regex_comment'5c'2a'3f >>= withAttribute ExtensionTok))    <|>    ((pDetectChar False '}' >>= withAttribute NormalTok) >>~ (popContext >> popContext >> popContext >> popContext >> popContext))    <|>@@ -765,7 +765,7 @@    <|>    ((parseRules ("LaTeX","EnvCommon")))    <|>-   (currentContext >>= \x -> guard (x == ("LaTeX","MathEnv")) >> pDefault >>= withAttribute NormalTok))+   (currentContext >>= \x -> guard (x == ("LaTeX","MathEnv")) >> pDefault >>= withAttribute ExtensionTok))  parseRules ("LaTeX","MathEnvParam") =   (((pRegExpr regex_'5c'7d'5c'7b'5b'5e'5c'7d'5d'2a'5c'7d >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","MathModeEnv"))@@ -779,51 +779,51 @@    (currentContext >>= \x -> guard (x == ("LaTeX","MathEnvParam")) >> pDefault >>= withAttribute NormalTok))  parseRules ("LaTeX","EnvCommon") =-  (((pDetectChar False '\215' >>= withAttribute NormalTok))+  (((pDetectChar False '\215' >>= withAttribute InformationTok))    <|>-   ((pRegExpr regex_'5c'2a'28'3f'3d'5c'7d'29 >>= withAttribute NormalTok))+   ((pRegExpr regex_'5c'2a'28'3f'3d'5c'7d'29 >>= withAttribute ExtensionTok))    <|>-   ((pRegExpr regex_'5c'2a'5b'5e'5c'7d'5d'2a >>= withAttribute AlertTok) >>~ (popContext >> popContext >> popContext))+   ((pRegExpr regex_'5c'2a'5b'5e'5c'7d'5d'2a >>= withAttribute ErrorTok) >>~ (popContext >> popContext >> popContext))    <|>-   ((pRegExpr regex_'5b'5ea'2dzA'2dZ'5cxd7'5d'5b'5e'5c'7d'5d'2a >>= withAttribute AlertTok) >>~ (popContext >> popContext >> popContext))+   ((pRegExpr regex_'5b'5ea'2dzA'2dZ'5cxd7'5d'5b'5e'5c'7d'5d'2a >>= withAttribute ErrorTok) >>~ (popContext >> popContext >> popContext))    <|>-   (currentContext >>= \x -> guard (x == ("LaTeX","EnvCommon")) >> pDefault >>= withAttribute NormalTok))+   (currentContext >>= \x -> guard (x == ("LaTeX","EnvCommon")) >> pDefault >>= withAttribute ExtensionTok))  parseRules ("LaTeX","MathModeEnv") =-  (((pRegExpr regex_'5c'5cbegin'28'3f'3d'5b'5ea'2dzA'2dZ'5d'29 >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","FindBeginEnvironment"))+  (((pRegExpr regex_'5c'5cbegin'28'3f'3d'5b'5ea'2dzA'2dZ'5d'29 >>= withAttribute KeywordTok) >>~ pushContext ("LaTeX","FindBeginEnvironment"))    <|>-   ((pRegExpr regex_'5c'5cend'28'3f'3d'5b'5ea'2dzA'2dZ'5d'29 >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","MathFindEnd"))+   ((pRegExpr regex_'5c'5cend'28'3f'3d'5b'5ea'2dzA'2dZ'5d'29 >>= withAttribute KeywordTok) >>~ pushContext ("LaTeX","MathFindEnd"))    <|>-   ((pString False "\\(" >>= withAttribute AlertTok))+   ((pString False "\\(" >>= withAttribute ErrorTok))    <|>-   ((pString False "\\[" >>= withAttribute AlertTok))+   ((pString False "\\[" >>= withAttribute ErrorTok))    <|>-   ((pString False "\\)" >>= withAttribute AlertTok))+   ((pString False "\\)" >>= withAttribute ErrorTok))    <|>-   ((pString False "\\]" >>= withAttribute AlertTok))+   ((pString False "\\]" >>= withAttribute ErrorTok))    <|>-   ((pRegExpr regex_'5c'5c'28text'7cintertext'7cmbox'29'5cs'2a'28'3f'3d'5c'7b'29 >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","MathModeText"))+   ((pRegExpr regex_'5c'5c'28text'7cintertext'7cmbox'29'5cs'2a'28'3f'3d'5c'7b'29 >>= withAttribute SpecialCharTok) >>~ pushContext ("LaTeX","MathModeText"))    <|>-   ((pDetectChar False '\\' >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","MathContrSeq"))+   ((pDetectChar False '\\' >>= withAttribute SpecialCharTok) >>~ pushContext ("LaTeX","MathContrSeq"))    <|>-   ((pString False "$$" >>= withAttribute AlertTok))+   ((pString False "$$" >>= withAttribute ErrorTok))    <|>-   ((pDetectChar False '$' >>= withAttribute AlertTok))+   ((pDetectChar False '$' >>= withAttribute ErrorTok))    <|>    ((pDetectChar False '%' >>= withAttribute CommentTok) >>~ pushContext ("LaTeX","Comment"))    <|>-   ((pDetectChar False '\215' >>= withAttribute NormalTok))+   ((pDetectChar False '\215' >>= withAttribute InformationTok))    <|>    ((pFirstNonSpace >> pRegExpr regex_'25'5cs'2aBEGIN'2e'2a'24 >>= withAttribute RegionMarkerTok))    <|>    ((pFirstNonSpace >> pRegExpr regex_'25'5cs'2aEND'2e'2a'24 >>= withAttribute RegionMarkerTok))    <|>-   (currentContext >>= \x -> guard (x == ("LaTeX","MathModeEnv")) >> pDefault >>= withAttribute NormalTok))+   (currentContext >>= \x -> guard (x == ("LaTeX","MathModeEnv")) >> pDefault >>= withAttribute SpecialStringTok))  parseRules ("LaTeX","MathFindEnd") =   (((pRegExpr regex_'5cs'2a'5c'7b >>= withAttribute NormalTok))    <|>-   ((pRegExpr regex_'28equation'7cdisplaymath'7ceqnarray'7csubeqnarray'7cmath'7cmultline'7cgather'7calign'7cflalign'7calignat'7cxalignat'7cxxalignat'7cIEEEeqnarray'7cIEEEeqnarraybox'7csmallmatrix'7cpmatrix'7cbmatrix'7cBmatrix'7cvmatrix'7cVmatrix'7ccases'29'5c'2a'3f >>= withAttribute NormalTok))+   ((pRegExpr regex_'28equation'7cdisplaymath'7ceqnarray'7csubeqnarray'7cmath'7cmultline'7cgather'7calign'7cflalign'7calignat'7cxalignat'7cxxalignat'7cIEEEeqnarray'7cIEEEeqnarraybox'7csmallmatrix'7cpmatrix'7cbmatrix'7cBmatrix'7cvmatrix'7cVmatrix'7ccases'29'5c'2a'3f >>= withAttribute ExtensionTok))    <|>    ((pDetectChar False '}' >>= withAttribute NormalTok) >>~ (popContext >> popContext >> popContext >> popContext >> popContext))    <|>@@ -839,92 +839,92 @@    ((popContext >> popContext >> popContext) >> currentContext >>= parseRules))  parseRules ("LaTeX","Tab") =-  (((pDetectChar False '&' >>= withAttribute NormalTok))+  (((pDetectChar False '&' >>= withAttribute OperatorTok))    <|>-   ((pString False "@{" >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","Column Separator"))+   ((pString False "@{" >>= withAttribute CharTok) >>~ pushContext ("LaTeX","Column Separator"))    <|>-   ((pRegExpr regex_'5c'5cend'28'3f'3d'5cs'2a'5c'7b'28tabularx'7ctabular'7csupertabular'7cmpsupertabular'7cxtabular'7cmpxtabular'7clongtable'29'5c'2a'3f'5c'7d'29 >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","TabFindEnd"))+   ((pRegExpr regex_'5c'5cend'28'3f'3d'5cs'2a'5c'7b'28tabularx'7ctabular'7csupertabular'7cmpsupertabular'7cxtabular'7cmpxtabular'7clongtable'29'5c'2a'3f'5c'7d'29 >>= withAttribute KeywordTok) >>~ pushContext ("LaTeX","TabFindEnd"))    <|>    ((parseRules ("LaTeX","Normal Text")))    <|>    (currentContext >>= \x -> guard (x == ("LaTeX","Tab")) >> pDefault >>= withAttribute NormalTok))  parseRules ("LaTeX","Column Separator") =-  (((pDetectChar False '{' >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","Column Separator"))+  (((pDetectChar False '{' >>= withAttribute CharTok) >>~ pushContext ("LaTeX","Column Separator"))    <|>-   ((pDetectChar False '}' >>= withAttribute NormalTok) >>~ (popContext))+   ((pDetectChar False '}' >>= withAttribute CharTok) >>~ (popContext))    <|>-   ((pRegExpr regex_'2e >>= withAttribute NormalTok))+   ((pRegExpr regex_'2e >>= withAttribute CharTok))    <|>-   (currentContext >>= \x -> guard (x == ("LaTeX","Column Separator")) >> pDefault >>= withAttribute NormalTok))+   (currentContext >>= \x -> guard (x == ("LaTeX","Column Separator")) >> pDefault >>= withAttribute CharTok))  parseRules ("LaTeX","TabFindEnd") =   (((pRegExpr regex_'5cs'2a'5c'7b >>= withAttribute NormalTok))    <|>-   ((pRegExpr regex_'28tabularx'7ctabular'7csupertabular'7cmpsupertabular'7cxtabular'7cmpxtabular'7clongtable'29'5c'2a'3f >>= withAttribute NormalTok))+   ((pRegExpr regex_'28tabularx'7ctabular'7csupertabular'7cmpsupertabular'7cxtabular'7cmpxtabular'7clongtable'29'5c'2a'3f >>= withAttribute ExtensionTok))    <|>    ((pDetectChar False '}' >>= withAttribute NormalTok) >>~ (popContext >> popContext >> popContext >> popContext >> popContext))    <|>    ((popContext) >> currentContext >>= parseRules))  parseRules ("LaTeX","MathMode") =-  (((pString False "$$" >>= withAttribute AlertTok))+  (((pString False "$$" >>= withAttribute ErrorTok))    <|>-   ((pDetectChar False '$' >>= withAttribute NormalTok) >>~ (popContext))+   ((pDetectChar False '$' >>= withAttribute SpecialStringTok) >>~ (popContext))    <|>-   ((pDetect2Chars False '\\' ')' >>= withAttribute NormalTok) >>~ (popContext))+   ((pDetect2Chars False '\\' ')' >>= withAttribute SpecialStringTok) >>~ (popContext))    <|>-   ((pDetect2Chars False '\\' ']' >>= withAttribute AlertTok))+   ((pDetect2Chars False '\\' ']' >>= withAttribute ErrorTok))    <|>    ((parseRules ("LaTeX","MathModeCommon")))    <|>-   (currentContext >>= \x -> guard (x == ("LaTeX","MathMode")) >> pDefault >>= withAttribute NormalTok))+   (currentContext >>= \x -> guard (x == ("LaTeX","MathMode")) >> pDefault >>= withAttribute SpecialStringTok))  parseRules ("LaTeX","MathModeDisplay") =-  (((pString False "$$" >>= withAttribute NormalTok) >>~ (popContext))+  (((pString False "$$" >>= withAttribute SpecialStringTok) >>~ (popContext))    <|>-   ((pDetectChar False '$' >>= withAttribute AlertTok))+   ((pDetectChar False '$' >>= withAttribute ErrorTok))    <|>-   ((pDetect2Chars False '\\' ']' >>= withAttribute AlertTok))+   ((pDetect2Chars False '\\' ']' >>= withAttribute ErrorTok))    <|>-   ((pDetect2Chars False '\\' ')' >>= withAttribute AlertTok))+   ((pDetect2Chars False '\\' ')' >>= withAttribute ErrorTok))    <|>    ((parseRules ("LaTeX","MathModeCommon")))    <|>-   (currentContext >>= \x -> guard (x == ("LaTeX","MathModeDisplay")) >> pDefault >>= withAttribute NormalTok))+   (currentContext >>= \x -> guard (x == ("LaTeX","MathModeDisplay")) >> pDefault >>= withAttribute SpecialStringTok))  parseRules ("LaTeX","MathModeEquation") =-  (((pDetect2Chars False '\\' ']' >>= withAttribute NormalTok) >>~ (popContext))+  (((pDetect2Chars False '\\' ']' >>= withAttribute SpecialStringTok) >>~ (popContext))    <|>-   ((pString False "$$" >>= withAttribute AlertTok))+   ((pString False "$$" >>= withAttribute ErrorTok))    <|>-   ((pDetectChar False '$' >>= withAttribute AlertTok))+   ((pDetectChar False '$' >>= withAttribute ErrorTok))    <|>-   ((pDetect2Chars False '\\' ')' >>= withAttribute AlertTok))+   ((pDetect2Chars False '\\' ')' >>= withAttribute ErrorTok))    <|>    ((parseRules ("LaTeX","MathModeCommon")))    <|>-   (currentContext >>= \x -> guard (x == ("LaTeX","MathModeEquation")) >> pDefault >>= withAttribute NormalTok))+   (currentContext >>= \x -> guard (x == ("LaTeX","MathModeEquation")) >> pDefault >>= withAttribute SpecialStringTok))  parseRules ("LaTeX","MathModeEnsure") =-  (((pDetectChar False '{' >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","MathModeEnsure"))+  (((pDetectChar False '{' >>= withAttribute SpecialStringTok) >>~ pushContext ("LaTeX","MathModeEnsure"))    <|>-   ((pDetectChar False '}' >>= withAttribute NormalTok) >>~ (popContext))+   ((pDetectChar False '}' >>= withAttribute SpecialStringTok) >>~ (popContext))    <|>    ((parseRules ("LaTeX","MathModeCommon")))    <|>-   (currentContext >>= \x -> guard (x == ("LaTeX","MathModeEnsure")) >> pDefault >>= withAttribute NormalTok))+   (currentContext >>= \x -> guard (x == ("LaTeX","MathModeEnsure")) >> pDefault >>= withAttribute SpecialStringTok))  parseRules ("LaTeX","MathModeCommon") =-  (((pRegExpr regex_'5c'5c'28begin'7cend'29'5cs'2a'5c'7b'28equation'7cdisplaymath'7ceqnarray'7csubeqnarray'7cmath'7cmultline'7cgather'7calign'7cflalign'7calignat'7cxalignat'7cxxalignat'7cIEEEeqnarray'29'5c'2a'3f'5c'7d >>= withAttribute AlertTok))+  (((pRegExpr regex_'5c'5c'28begin'7cend'29'5cs'2a'5c'7b'28equation'7cdisplaymath'7ceqnarray'7csubeqnarray'7cmath'7cmultline'7cgather'7calign'7cflalign'7calignat'7cxalignat'7cxxalignat'7cIEEEeqnarray'29'5c'2a'3f'5c'7d >>= withAttribute ErrorTok))    <|>-   ((pRegExpr regex_'5c'5cbegin'28'3f'3d'5b'5ea'2dzA'2dZ'5d'29 >>= withAttribute NormalTok))+   ((pRegExpr regex_'5c'5cbegin'28'3f'3d'5b'5ea'2dzA'2dZ'5d'29 >>= withAttribute SpecialCharTok))    <|>-   ((pRegExpr regex_'5c'5cend'28'3f'3d'5b'5ea'2dzA'2dZ'5d'29 >>= withAttribute NormalTok))+   ((pRegExpr regex_'5c'5cend'28'3f'3d'5b'5ea'2dzA'2dZ'5d'29 >>= withAttribute SpecialCharTok))    <|>-   ((pRegExpr regex_'5c'5c'28text'7cintertext'7cmbox'29'5cs'2a'28'3f'3d'5c'7b'29 >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","MathModeText"))+   ((pRegExpr regex_'5c'5c'28text'7cintertext'7cmbox'29'5cs'2a'28'3f'3d'5c'7b'29 >>= withAttribute SpecialCharTok) >>~ pushContext ("LaTeX","MathModeText"))    <|>-   ((pDetectChar False '\\' >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","MathContrSeq"))+   ((pDetectChar False '\\' >>= withAttribute SpecialCharTok) >>~ pushContext ("LaTeX","MathContrSeq"))    <|>    ((pDetectChar False '%' >>= withAttribute CommentTok) >>~ pushContext ("LaTeX","Comment"))    <|>@@ -932,18 +932,18 @@    <|>    ((pFirstNonSpace >> pRegExpr regex_'25'5cs'2aEND'2e'2a'24 >>= withAttribute RegionMarkerTok))    <|>-   ((pDetectChar False '\215' >>= withAttribute NormalTok))+   ((pDetectChar False '\215' >>= withAttribute InformationTok))    <|>-   (currentContext >>= \x -> guard (x == ("LaTeX","MathModeCommon")) >> pDefault >>= withAttribute NormalTok))+   (currentContext >>= \x -> guard (x == ("LaTeX","MathModeCommon")) >> pDefault >>= withAttribute SpecialStringTok))  parseRules ("LaTeX","MathContrSeq") =-  (((pDetectChar False '\215' >>= withAttribute NormalTok))+  (((pDetectChar False '\215' >>= withAttribute InformationTok))    <|>-   ((pRegExpr regex_'5ba'2dzA'2dZ'5d'2b'5c'2a'3f >>= withAttribute NormalTok) >>~ (popContext))+   ((pRegExpr regex_'5ba'2dzA'2dZ'5d'2b'5c'2a'3f >>= withAttribute SpecialCharTok) >>~ (popContext))    <|>-   ((pRegExpr regex_'5b'5ea'2dzA'2dZ'5d >>= withAttribute NormalTok) >>~ (popContext))+   ((pRegExpr regex_'5b'5ea'2dzA'2dZ'5d >>= withAttribute SpecialCharTok) >>~ (popContext))    <|>-   (currentContext >>= \x -> guard (x == ("LaTeX","MathContrSeq")) >> pDefault >>= withAttribute NormalTok))+   (currentContext >>= \x -> guard (x == ("LaTeX","MathContrSeq")) >> pDefault >>= withAttribute SpecialCharTok))  parseRules ("LaTeX","MathModeText") =   (((pDetectChar False '{' >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","MathModeTextParameterStart"))@@ -953,9 +953,9 @@ parseRules ("LaTeX","MathModeTextParameterStart") =   (((pRegExpr regex_'5c'5c'2e >>= withAttribute NormalTok))    <|>-   ((pDetectChar False '\215' >>= withAttribute NormalTok))+   ((pDetectChar False '\215' >>= withAttribute InformationTok))    <|>-   ((pRegExpr regex_'5c'24'2e'2a'5c'24 >>= withAttribute NormalTok))+   ((pRegExpr regex_'5c'24'2e'2a'5c'24 >>= withAttribute SpecialStringTok))    <|>    ((pDetectChar False '{' >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","MathModeTextParameter"))    <|>@@ -972,7 +972,7 @@    <|>    ((pDetectChar False '}' >>= withAttribute NormalTok) >>~ (popContext))    <|>-   ((pDetectChar False '\215' >>= withAttribute NormalTok))+   ((pDetectChar False '\215' >>= withAttribute InformationTok))    <|>    ((pDetectChar False '%' >>= withAttribute CommentTok) >>~ pushContext ("LaTeX","Comment"))    <|>
Text/Highlighting/Kate/Syntax/Lex.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file lex.xml, version 1.01, by Jan Villat (jan.villat@net2000.ch) -}+   highlighting file lex.xml, version 2, by Jan Villat (jan.villat@net2000.ch) -}  module Text.Highlighting.Kate.Syntax.Lex           (highlight, parseExpression, syntaxName, syntaxExtensions)
Text/Highlighting/Kate/Syntax/Lilypond.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file lilypond.xml, version 3.07, by Wilbert Berendsen (info@wilbertberendsen.nl) -}+   highlighting file lilypond.xml, version 4, by Wilbert Berendsen (info@wilbertberendsen.nl) -}  module Text.Highlighting.Kate.Syntax.Lilypond           (highlight, parseExpression, syntaxName, syntaxExtensions)
Text/Highlighting/Kate/Syntax/LiterateCurry.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file literate-curry.xml, version 0.2, by Björn Peemöller (bjp@informatik.uni-kiel.de) -}+   highlighting file literate-curry.xml, version 1, by Björn Peemöller (bjp@informatik.uni-kiel.de) -}  module Text.Highlighting.Kate.Syntax.LiterateCurry           (highlight, parseExpression, syntaxName, syntaxExtensions)
Text/Highlighting/Kate/Syntax/LiterateHaskell.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file literate-haskell.xml, version 2.1, by Nicolas Wu (zenzike@gmail.com) -}+   highlighting file literate-haskell.xml, version 3, by Nicolas Wu (zenzike@gmail.com) -}  module Text.Highlighting.Kate.Syntax.LiterateHaskell           (highlight, parseExpression, syntaxName, syntaxExtensions)
+ Text/Highlighting/Kate/Syntax/Llvm.hs view
@@ -0,0 +1,149 @@+{- This module was generated from data in the Kate syntax+   highlighting file llvm.xml, version 1.00, by LLVM Team -}++module Text.Highlighting.Kate.Syntax.Llvm+          (highlight, parseExpression, syntaxName, syntaxExtensions)+where+import Text.Highlighting.Kate.Types+import Text.Highlighting.Kate.Common+import qualified Text.Highlighting.Kate.Syntax.Alert+import Text.ParserCombinators.Parsec hiding (State)+import Control.Monad.State+import Data.Char (isSpace)+import qualified Data.Set as Set++-- | Full name of language.+syntaxName :: String+syntaxName = "LLVM"++-- | Filename extensions for this language.+syntaxExtensions :: String+syntaxExtensions = "*.ll"++-- | Highlight source code using this syntax definition.+highlight :: String -> [SourceLine]+highlight input = evalState (mapM parseSourceLine $ lines input) startingState++parseSourceLine :: String -> State SyntaxState SourceLine+parseSourceLine = mkParseSourceLine (parseExpression Nothing)++-- | Parse an expression using appropriate local context.+parseExpression :: Maybe (String,String)+                -> KateParser Token+parseExpression mbcontext = do+  (lang,cont) <- maybe currentContext return mbcontext+  result <- parseRules (lang,cont)+  optional $ do eof+                updateState $ \st -> st{ synStPrevChar = '\n' }+                pEndLine+  return result++startingState = SyntaxState {synStContexts = [("LLVM","llvm")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStContinuation = False, synStCaseSensitive = True, synStKeywordCaseSensitive = True, synStCaptures = []}++pEndLine = do+  updateState $ \st -> st{ synStPrevNonspace = False }+  context <- currentContext+  contexts <- synStContexts `fmap` getState+  st <- getState+  if length contexts >= 2+    then case context of+      _ | synStContinuation st -> updateState $ \st -> st{ synStContinuation = False }+      ("LLVM","llvm") -> return ()+      ("LLVM","symbol") -> (popContext) >> pEndLine+      ("LLVM","symbol-string") -> return ()+      ("LLVM","string") -> return ()+      ("LLVM","comment") -> (popContext) >> pEndLine+      _ -> return ()+    else return ()++withAttribute attr txt = do+  when (null txt) $ fail "Parser matched no text"+  updateState $ \st -> st { synStPrevChar = last txt+                          , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) }+  return (attr, txt)++list_keywords = Set.fromList $ words $ "begin end true false declare define global constant gc module asm target datalayout null undef blockaddress sideeffect alignstack to unwind nuw nsw inbounds tail triple type align alias"+list_linkage'2dtypes = Set.fromList $ words $ "private internal available_externally linkonce weak common appending extern_weak linkonce_odr weak_odr dllimport dllexport"+list_calling'2dconventions = Set.fromList $ words $ "ccc fastcc coldcc cc"+list_visibility'2dstyles = Set.fromList $ words $ "default hidden protected"+list_parameter'2dattributes = Set.fromList $ words $ "zeroext signext inreg byval sret noalias nocapture nest"+list_function'2dattributes = Set.fromList $ words $ "alignstack alwaysinline inlinehint naked noimplicitfloat noinline noredzone noreturn nounwind optnone optsize readnone readonly ssp sspreq sspstrong"+list_types = Set.fromList $ words $ "float double fp128 x86_fp80 ppc_fp128 x86mmx void label metadata opaque"+list_intrinsic'2dglobal'2dvariables = Set.fromList $ words $ "llvm.used llvm.compiler.used llvm.global_ctors llvm.global_dtors"+list_instructions = Set.fromList $ words $ "ret br switch indirectbr invoke unwind unreachable add fadd sub fsub mul fmul udiv sdiv fdiv urem srem frem shl lshr ashr and or xor extractelement insertelement shufflevector extractvalue insertvalue alloca load store getelementptr trunc zext sext fptrunc fpext fptoui fptosi uitofp sitofp ptrtoint inttoptr bitcast addrspacecast icmp fcmp phi select call va_arg"+list_conditions = Set.fromList $ words $ "eq ne ugt uge ult ule sgt sge slt sle oeq ogt oge olt ole one ord ueq une uno"++regex_i'5b0'2d9'5d'2b = compileRegex True "i[0-9]+"+regex_'5b'2da'2dzA'2dZ'24'2e'5f'5d'5b'2da'2dzA'2dZ'24'2e'5f0'2d9'5d'2a'3a = compileRegex True "[-a-zA-Z$._][-a-zA-Z$._0-9]*:"+regex_'28'5b'2da'2dzA'2dZ'24'2e'5f'5d'5b'2da'2dzA'2dZ'24'2e'5f0'2d9'5d'2a'7c'5b0'2d9'5d'2b'29 = compileRegex True "([-a-zA-Z$._][-a-zA-Z$._0-9]*|[0-9]+)"++parseRules ("LLVM","llvm") =+  (((pDetectSpaces >>= withAttribute NormalTok))+   <|>+   ((pAnyChar "@%" >>= withAttribute FunctionTok) >>~ pushContext ("LLVM","symbol"))+   <|>+   ((pDetectChar False '{' >>= withAttribute NormalTok))+   <|>+   ((pDetectChar False '}' >>= withAttribute NormalTok))+   <|>+   ((pDetectChar False ';' >>= withAttribute CommentTok) >>~ pushContext ("LLVM","comment"))+   <|>+   ((pDetectChar False '"' >>= withAttribute StringTok) >>~ pushContext ("LLVM","string"))+   <|>+   ((pRegExpr regex_i'5b0'2d9'5d'2b >>= withAttribute DataTypeTok))+   <|>+   ((pRegExpr regex_'5b'2da'2dzA'2dZ'24'2e'5f'5d'5b'2da'2dzA'2dZ'24'2e'5f0'2d9'5d'2a'3a >>= withAttribute FunctionTok))+   <|>+   ((pInt >>= withAttribute DecValTok))+   <|>+   ((pKeyword " \n\t():!+,-<=>%&*/;?[]^{|}~\\" list_keywords >>= withAttribute KeywordTok))+   <|>+   ((pKeyword " \n\t():!+,-<=>%&*/;?[]^{|}~\\" list_linkage'2dtypes >>= withAttribute KeywordTok))+   <|>+   ((pKeyword " \n\t():!+,-<=>%&*/;?[]^{|}~\\" list_calling'2dconventions >>= withAttribute KeywordTok))+   <|>+   ((pKeyword " \n\t():!+,-<=>%&*/;?[]^{|}~\\" list_visibility'2dstyles >>= withAttribute KeywordTok))+   <|>+   ((pKeyword " \n\t():!+,-<=>%&*/;?[]^{|}~\\" list_parameter'2dattributes >>= withAttribute KeywordTok))+   <|>+   ((pKeyword " \n\t():!+,-<=>%&*/;?[]^{|}~\\" list_function'2dattributes >>= withAttribute KeywordTok))+   <|>+   ((pKeyword " \n\t():!+,-<=>%&*/;?[]^{|}~\\" list_types >>= withAttribute DataTypeTok))+   <|>+   ((pKeyword " \n\t():!+,-<=>%&*/;?[]^{|}~\\" list_intrinsic'2dglobal'2dvariables >>= withAttribute KeywordTok))+   <|>+   ((pKeyword " \n\t():!+,-<=>%&*/;?[]^{|}~\\" list_instructions >>= withAttribute KeywordTok))+   <|>+   ((pKeyword " \n\t():!+,-<=>%&*/;?[]^{|}~\\" list_conditions >>= withAttribute KeywordTok))+   <|>+   (currentContext >>= \x -> guard (x == ("LLVM","llvm")) >> pDefault >>= withAttribute NormalTok))++parseRules ("LLVM","symbol") =+  (((pDetectChar False '"' >>= withAttribute FunctionTok) >>~ pushContext ("LLVM","symbol-string"))+   <|>+   ((pRegExpr regex_'28'5b'2da'2dzA'2dZ'24'2e'5f'5d'5b'2da'2dzA'2dZ'24'2e'5f0'2d9'5d'2a'7c'5b0'2d9'5d'2b'29 >>= withAttribute FunctionTok) >>~ (popContext))+   <|>+   (currentContext >>= \x -> guard (x == ("LLVM","symbol")) >> pDefault >>= withAttribute FunctionTok))++parseRules ("LLVM","symbol-string") =+  (((pDetectChar False '"' >>= withAttribute FunctionTok) >>~ (popContext >> popContext))+   <|>+   (currentContext >>= \x -> guard (x == ("LLVM","symbol-string")) >> pDefault >>= withAttribute FunctionTok))++parseRules ("LLVM","string") =+  (((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext))+   <|>+   (currentContext >>= \x -> guard (x == ("LLVM","string")) >> pDefault >>= withAttribute StringTok))++parseRules ("LLVM","comment") =+  (((pDetectSpaces >>= withAttribute CommentTok))+   <|>+   ((Text.Highlighting.Kate.Syntax.Alert.parseExpression (Just ("Alerts","")) >>= ((withAttribute CommentTok) . snd)))+   <|>+   ((pDetectIdentifier >>= withAttribute CommentTok))+   <|>+   (currentContext >>= \x -> guard (x == ("LLVM","comment")) >> pDefault >>= withAttribute CommentTok))++parseRules ("Alerts", _) = Text.Highlighting.Kate.Syntax.Alert.parseExpression Nothing++parseRules x = parseRules ("LLVM","llvm") <|> fail ("Unknown context" ++ show x)
Text/Highlighting/Kate/Syntax/Lua.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file lua.xml, version 1.06, by  -}+   highlighting file lua.xml, version 2, by  -}  module Text.Highlighting.Kate.Syntax.Lua           (highlight, parseExpression, syntaxName, syntaxExtensions)
Text/Highlighting/Kate/Syntax/M4.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file m4.xml, version 1.1, by Jaak Ristioja -}+   highlighting file m4.xml, version 2, by Jaak Ristioja -}  module Text.Highlighting.Kate.Syntax.M4           (highlight, parseExpression, syntaxName, syntaxExtensions)
Text/Highlighting/Kate/Syntax/Makefile.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file makefile.xml, version 2.1, by Per Wigren (wigren@home.se) -}+   highlighting file makefile.xml, version 3, by Per Wigren (wigren@home.se) -}  module Text.Highlighting.Kate.Syntax.Makefile           (highlight, parseExpression, syntaxName, syntaxExtensions)
Text/Highlighting/Kate/Syntax/Mandoc.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file mandoc.xml, version 0.11, by Matthew Woehlke (mw_triad@users.sourceforge.net) -}+   highlighting file mandoc.xml, version 1, by Matthew Woehlke (mw_triad@users.sourceforge.net) -}  module Text.Highlighting.Kate.Syntax.Mandoc           (highlight, parseExpression, syntaxName, syntaxExtensions)
Text/Highlighting/Kate/Syntax/Markdown.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file markdown.xml, version 1.4, by Darrin Yeager, Claes Holmerson -}+   highlighting file markdown.xml, version 2, by Darrin Yeager, Claes Holmerson -}  module Text.Highlighting.Kate.Syntax.Markdown           (highlight, parseExpression, syntaxName, syntaxExtensions)
Text/Highlighting/Kate/Syntax/Mathematica.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file mathematica.xml, version 8.1, by Sven Brauch (svenbrauch@gmail.com) -}+   highlighting file mathematica.xml, version 9, by Sven Brauch (svenbrauch@gmail.com) -}  module Text.Highlighting.Kate.Syntax.Mathematica           (highlight, parseExpression, syntaxName, syntaxExtensions)
Text/Highlighting/Kate/Syntax/Matlab.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file matlab.xml, version 1.31, by  -}+   highlighting file matlab.xml, version 2, by  -}  module Text.Highlighting.Kate.Syntax.Matlab           (highlight, parseExpression, syntaxName, syntaxExtensions)
Text/Highlighting/Kate/Syntax/Maxima.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file maxima.xml, version 0.17, by Alexey Beshenov <al@beshenov.ru> -}+   highlighting file maxima.xml, version 1, by Alexey Beshenov <al@beshenov.ru> -}  module Text.Highlighting.Kate.Syntax.Maxima           (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -73,7 +73,7 @@ parseRules ("Maxima","Normal Text") =   (((pKeyword " \n\t.():!+,-<=>&*/;?[]^{|}~\\@#" list_MaximaFunction >>= withAttribute FunctionTok))    <|>-   ((pKeyword " \n\t.():!+,-<=>&*/;?[]^{|}~\\@#" list_MaximaVariable >>= withAttribute NormalTok))+   ((pKeyword " \n\t.():!+,-<=>&*/;?[]^{|}~\\@#" list_MaximaVariable >>= withAttribute VariableTok))    <|>    ((pKeyword " \n\t.():!+,-<=>&*/;?[]^{|}~\\@#" list_MaximaKeyword >>= withAttribute KeywordTok))    <|>@@ -101,7 +101,7 @@    (currentContext >>= \x -> guard (x == ("Maxima","String")) >> pDefault >>= withAttribute StringTok))  parseRules ("Maxima","Comment") =-  (((pKeyword " \n\t.():!+,-<=>&*/;?[]^{|}~\\@#" list_SpecialComment >>= withAttribute NormalTok))+  (((pKeyword " \n\t.():!+,-<=>&*/;?[]^{|}~\\@#" list_SpecialComment >>= withAttribute SpecialStringTok))    <|>    ((pDetectSpaces >>= withAttribute CommentTok))    <|>
Text/Highlighting/Kate/Syntax/Mediawiki.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file mediawiki.xml, version 1.11, by  -}+   highlighting file mediawiki.xml, version 2, by  -}  module Text.Highlighting.Kate.Syntax.Mediawiki           (highlight, parseExpression, syntaxName, syntaxExtensions)
Text/Highlighting/Kate/Syntax/Metafont.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file metafont.xml, version 0.9, by Yedvilun (yedvilun@gmail.com) -}+   highlighting file metafont.xml, version 1, by Yedvilun (yedvilun@gmail.com) -}  module Text.Highlighting.Kate.Syntax.Metafont           (highlight, parseExpression, syntaxName, syntaxExtensions)
Text/Highlighting/Kate/Syntax/Mips.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file mips.xml, version 1.03, by Dominik Haumann (dhdev@gmx.de) -}+   highlighting file mips.xml, version 2, by Dominik Haumann (dhdev@gmx.de) -}  module Text.Highlighting.Kate.Syntax.Mips           (highlight, parseExpression, syntaxName, syntaxExtensions)
Text/Highlighting/Kate/Syntax/Modelines.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file modelines.xml, version 1.2, by Alex Turbov (i.zaufi@gmail.com) -}+   highlighting file modelines.xml, version 2, by Alex Turbov (i.zaufi@gmail.com) -}  module Text.Highlighting.Kate.Syntax.Modelines           (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -63,7 +63,7 @@   return (attr, txt)  list_ModelineStartKeyword = Set.fromList $ words $ "kate:"-list_Booleans = Set.fromList $ words $ "auto-insert-doxygen automatic-spell-checking backspace-indents block-selection bookmark-sorting bom byte-order-marker dynamic-word-wrap folding-markers icon-border indent-pasted-text keep-extra-spaces line-numbers newline-at-eof overwrite-mode persistent-selection replace-tabs-save replace-tabs replace-trailing-space-save smart-home space-indent show-tabs show-trailing-spaces tab-indents word-wrap wrap-cursor"+list_Booleans = Set.fromList $ words $ "auto-insert-doxygen automatic-spell-checking backspace-indents block-selection bookmark-sorting bom byte-order-marker dynamic-word-wrap folding-markers folding-preview icon-border indent-pasted-text keep-extra-spaces line-numbers newline-at-eof overwrite-mode persistent-selection replace-tabs-save replace-tabs replace-trailing-space-save smart-home scrollbar-minimap scrollbar-preview space-indent show-tabs show-trailing-spaces tab-indents word-wrap wrap-cursor" list_True = Set.fromList $ words $ "on true 1" list_False = Set.fromList $ words $ "off false 0" list_Integrals = Set.fromList $ words $ "auto-center-lines font-size indent-mode indent-width tab-width undo-steps word-wrap-column"
Text/Highlighting/Kate/Syntax/Modula2.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file modula-2.xml, version 1.03, by  -}+   highlighting file modula-2.xml, version 2, by  -}  module Text.Highlighting.Kate.Syntax.Modula2           (highlight, parseExpression, syntaxName, syntaxExtensions)
Text/Highlighting/Kate/Syntax/Monobasic.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file monobasic.xml, version 1.01, by Davide Bettio (davide.bettio@kdemail.net) -}+   highlighting file monobasic.xml, version 2, by Davide Bettio (davide.bettio@kdemail.net) -}  module Text.Highlighting.Kate.Syntax.Monobasic           (highlight, parseExpression, syntaxName, syntaxExtensions)
Text/Highlighting/Kate/Syntax/Nasm.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file nasm.xml, version 1.40, by Nicola Gigante (nicola.gigante@gmail.com) -}+   highlighting file nasm.xml, version 2, by Nicola Gigante (nicola.gigante@gmail.com) -}  module Text.Highlighting.Kate.Syntax.Nasm           (highlight, parseExpression, syntaxName, syntaxExtensions)
Text/Highlighting/Kate/Syntax/Noweb.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file noweb.xml, version 1.0, by Scott Collins (scc@scottcollins.net) -}+   highlighting file noweb.xml, version 2, by Scott Collins (scc@scottcollins.net) -}  module Text.Highlighting.Kate.Syntax.Noweb           (highlight, parseExpression, syntaxName, syntaxExtensions)
Text/Highlighting/Kate/Syntax/Objectivec.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file objectivec.xml, version 1.07, by  -}+   highlighting file objectivec.xml, version 2, by  -}  module Text.Highlighting.Kate.Syntax.Objectivec           (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -109,7 +109,7 @@    <|>    ((pAnyChar ":!%&()+,-/.*<=>?[]|~^;" >>= withAttribute NormalTok))    <|>-   ((pColumn 0 >> pRegExpr regex_'23 >>= withAttribute OtherTok) >>~ pushContext ("Objective-C","Preprocessor"))+   ((pColumn 0 >> pRegExpr regex_'23 >>= withAttribute PreprocessorTok) >>~ pushContext ("Objective-C","Preprocessor"))    <|>    ((pDetect2Chars False '@' '"' >>= withAttribute StringTok) >>~ pushContext ("Objective-C","String"))    <|>@@ -118,7 +118,7 @@ parseRules ("Objective-C","String") =   (((pLineContinue >>= withAttribute StringTok))    <|>-   ((pHlCStringChar >>= withAttribute CharTok))+   ((pHlCStringChar >>= withAttribute SpecialCharTok))    <|>    ((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext))    <|>@@ -133,19 +133,19 @@    (currentContext >>= \x -> guard (x == ("Objective-C","MultiLineComment")) >> pDefault >>= withAttribute CommentTok))  parseRules ("Objective-C","Preprocessor") =-  (((pLineContinue >>= withAttribute OtherTok))+  (((pLineContinue >>= withAttribute PreprocessorTok))    <|>-   ((pRangeDetect '"' '"' >>= withAttribute OtherTok))+   ((pRangeDetect '"' '"' >>= withAttribute ImportTok))    <|>-   ((pRangeDetect '<' '>' >>= withAttribute OtherTok))+   ((pRangeDetect '<' '>' >>= withAttribute ImportTok))    <|>-   ((Text.Highlighting.Kate.Syntax.Doxygen.parseExpression (Just ("Doxygen","")) >>= ((withAttribute OtherTok) . snd)))+   ((Text.Highlighting.Kate.Syntax.Doxygen.parseExpression (Just ("Doxygen","")) >>= ((withAttribute PreprocessorTok) . snd)))    <|>    ((pDetect2Chars False '/' '/' >>= withAttribute CommentTok) >>~ pushContext ("Objective-C","SingleLineComment"))    <|>    ((pDetect2Chars False '/' '*' >>= withAttribute CommentTok) >>~ pushContext ("Objective-C","MultiLineCommentPrep"))    <|>-   (currentContext >>= \x -> guard (x == ("Objective-C","Preprocessor")) >> pDefault >>= withAttribute OtherTok))+   (currentContext >>= \x -> guard (x == ("Objective-C","Preprocessor")) >> pDefault >>= withAttribute PreprocessorTok))  parseRules ("Objective-C","MultiLineCommentPrep") =   (((pDetect2Chars False '*' '/' >>= withAttribute CommentTok) >>~ (popContext >> popContext))
Text/Highlighting/Kate/Syntax/Objectivecpp.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file objectivecpp.xml, version 1.01, by Gennady Telegin (gepo@lvk.cs.msu.su -}+   highlighting file objectivecpp.xml, version 2, by Gennady Telegin (gepo@lvk.cs.msu.su -}  module Text.Highlighting.Kate.Syntax.Objectivecpp           (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -86,9 +86,9 @@ parseRules ("Objective-C++","Default") =   (((pDetectSpaces >>= withAttribute NormalTok))    <|>-   ((pFirstNonSpace >> pRegExpr regex_'23'5cs'2aif'5cs'2b0 >>= withAttribute OtherTok) >>~ pushContext ("Objective-C++","Outscoped"))+   ((pFirstNonSpace >> pRegExpr regex_'23'5cs'2aif'5cs'2b0 >>= withAttribute PreprocessorTok) >>~ pushContext ("Objective-C++","Outscoped"))    <|>-   ((pFirstNonSpace >> pDetectChar False '#' >>= withAttribute OtherTok) >>~ pushContext ("Objective-C++","Preprocessor"))+   ((pFirstNonSpace >> pDetectChar False '#' >>= withAttribute PreprocessorTok) >>~ pushContext ("Objective-C++","Preprocessor"))    <|>    ((pFirstNonSpace >> pString False "//BEGIN" >>= withAttribute RegionMarkerTok) >>~ pushContext ("Objective-C++","Region Marker"))    <|>@@ -134,11 +134,11 @@    <|>    ((pDetect2Chars False '/' '*' >>= withAttribute CommentTok) >>~ pushContext ("Objective-C++","MultiLineComment"))    <|>-   ((pColumn 0 >> pRegExpr regex_'23 >>= withAttribute OtherTok) >>~ pushContext ("Objective-C++","Preprocessor"))+   ((pColumn 0 >> pRegExpr regex_'23 >>= withAttribute PreprocessorTok) >>~ pushContext ("Objective-C++","Preprocessor"))    <|>    ((pDetect2Chars False '@' '"' >>= withAttribute StringTok) >>~ pushContext ("Objective-C++","String"))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_extensions >>= withAttribute KeywordTok))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_extensions >>= withAttribute ExtensionTok))    <|>    ((Text.Highlighting.Kate.Syntax.Doxygen.parseExpression (Just ("Doxygen",""))))    <|>@@ -157,7 +157,7 @@ parseRules ("Objective-C++","String") =   (((pLineContinue >>= withAttribute StringTok))    <|>-   ((pHlCStringChar >>= withAttribute CharTok))+   ((pHlCStringChar >>= withAttribute SpecialCharTok))    <|>    ((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext))    <|>@@ -172,19 +172,19 @@    (currentContext >>= \x -> guard (x == ("Objective-C++","MultiLineComment")) >> pDefault >>= withAttribute CommentTok))  parseRules ("Objective-C++","Preprocessor") =-  (((pLineContinue >>= withAttribute OtherTok))+  (((pLineContinue >>= withAttribute PreprocessorTok))    <|>-   ((pRangeDetect '"' '"' >>= withAttribute OtherTok))+   ((pRangeDetect '"' '"' >>= withAttribute ImportTok))    <|>-   ((pRangeDetect '<' '>' >>= withAttribute OtherTok))+   ((pRangeDetect '<' '>' >>= withAttribute ImportTok))    <|>-   ((Text.Highlighting.Kate.Syntax.Doxygen.parseExpression (Just ("Doxygen","")) >>= ((withAttribute OtherTok) . snd)))+   ((Text.Highlighting.Kate.Syntax.Doxygen.parseExpression (Just ("Doxygen","")) >>= ((withAttribute PreprocessorTok) . snd)))    <|>    ((pDetect2Chars False '/' '/' >>= withAttribute CommentTok) >>~ pushContext ("Objective-C++","SingleLineComment"))    <|>    ((pDetect2Chars False '/' '*' >>= withAttribute CommentTok) >>~ pushContext ("Objective-C++","MultiLineCommentPrep"))    <|>-   (currentContext >>= \x -> guard (x == ("Objective-C++","Preprocessor")) >> pDefault >>= withAttribute OtherTok))+   (currentContext >>= \x -> guard (x == ("Objective-C++","Preprocessor")) >> pDefault >>= withAttribute PreprocessorTok))  parseRules ("Objective-C++","MultiLineCommentPrep") =   (((pDetectSpaces >>= withAttribute CommentTok))@@ -219,28 +219,28 @@    (currentContext >>= \x -> guard (x == ("Objective-C++","Commentar 2")) >> pDefault >>= withAttribute CommentTok))  parseRules ("Objective-C++","Preprocessor") =-  (((pLineContinue >>= withAttribute OtherTok))+  (((pLineContinue >>= withAttribute PreprocessorTok))    <|>-   ((pRegExpr regex_define'2e'2a'28'28'3f'3d'5c'5c'29'29 >>= withAttribute OtherTok) >>~ pushContext ("Objective-C++","Define"))+   ((pRegExpr regex_define'2e'2a'28'28'3f'3d'5c'5c'29'29 >>= withAttribute PreprocessorTok) >>~ pushContext ("Objective-C++","Define"))    <|>-   ((pRegExpr regex_define'2e'2a >>= withAttribute OtherTok))+   ((pRegExpr regex_define'2e'2a >>= withAttribute PreprocessorTok))    <|>-   ((pRangeDetect '"' '"' >>= withAttribute OtherTok))+   ((pRangeDetect '"' '"' >>= withAttribute ImportTok))    <|>-   ((pRangeDetect '<' '>' >>= withAttribute OtherTok))+   ((pRangeDetect '<' '>' >>= withAttribute ImportTok))    <|>-   ((Text.Highlighting.Kate.Syntax.Doxygen.parseExpression (Just ("Doxygen","")) >>= ((withAttribute OtherTok) . snd)))+   ((Text.Highlighting.Kate.Syntax.Doxygen.parseExpression (Just ("Doxygen","")) >>= ((withAttribute PreprocessorTok) . snd)))    <|>    ((pDetect2Chars False '/' '/' >>= withAttribute CommentTok) >>~ pushContext ("Objective-C++","Commentar 1"))    <|>    ((pDetect2Chars False '/' '*' >>= withAttribute CommentTok) >>~ pushContext ("Objective-C++","MultiLineCommentPrep"))    <|>-   (currentContext >>= \x -> guard (x == ("Objective-C++","Preprocessor")) >> pDefault >>= withAttribute OtherTok))+   (currentContext >>= \x -> guard (x == ("Objective-C++","Preprocessor")) >> pDefault >>= withAttribute PreprocessorTok))  parseRules ("Objective-C++","Define") =-  (((pLineContinue >>= withAttribute OtherTok))+  (((pLineContinue >>= withAttribute PreprocessorTok))    <|>-   (currentContext >>= \x -> guard (x == ("Objective-C++","Define")) >> pDefault >>= withAttribute OtherTok))+   (currentContext >>= \x -> guard (x == ("Objective-C++","Define")) >> pDefault >>= withAttribute PreprocessorTok))  parseRules ("Objective-C++","Outscoped") =   (((pDetectSpaces >>= withAttribute CommentTok))@@ -259,7 +259,7 @@    <|>    ((pFirstNonSpace >> pRegExpr regex_'23'5cs'2aif >>= withAttribute CommentTok) >>~ pushContext ("Objective-C++","Outscoped intern"))    <|>-   ((pFirstNonSpace >> pRegExpr regex_'23'5cs'2a'28endif'7celse'7celif'29 >>= withAttribute OtherTok) >>~ (popContext))+   ((pFirstNonSpace >> pRegExpr regex_'23'5cs'2a'28endif'7celse'7celif'29 >>= withAttribute PreprocessorTok) >>~ (popContext))    <|>    (currentContext >>= \x -> guard (x == ("Objective-C++","Outscoped")) >> pDefault >>= withAttribute CommentTok)) 
Text/Highlighting/Kate/Syntax/Ocaml.hs view
@@ -1,11 +1,12 @@ {- This module was generated from data in the Kate syntax-   highlighting file ocaml.xml, version 1.05, by Glyn Webster (glyn@wave.co.nz) -}+   highlighting file ocaml.xml, version 3, by Glyn Webster (glynwebster@orcon.net.nz) and Vincent Hugot (vincent.hugot@gmail.com) -}  module Text.Highlighting.Kate.Syntax.Ocaml           (highlight, parseExpression, syntaxName, syntaxExtensions) where import Text.Highlighting.Kate.Types import Text.Highlighting.Kate.Common+import qualified Text.Highlighting.Kate.Syntax.Latex import Text.ParserCombinators.Parsec hiding (State) import Control.Monad.State import Data.Char (isSpace)@@ -37,7 +38,7 @@                 pEndLine   return result -startingState = SyntaxState {synStContexts = [("Objective Caml","Normal")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStContinuation = False, synStCaseSensitive = True, synStKeywordCaseSensitive = True, synStCaptures = []}+startingState = SyntaxState {synStContexts = [("Objective Caml","Code")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStContinuation = False, synStCaseSensitive = True, synStKeywordCaseSensitive = True, synStCaptures = []}  pEndLine = do   updateState $ \st -> st{ synStPrevNonspace = False }@@ -47,16 +48,30 @@   if length contexts >= 2     then case context of       _ | synStContinuation st -> updateState $ \st -> st{ synStContinuation = False }-      ("Objective Caml","Normal") -> return ()-      ("Objective Caml","Multiline Comment") -> return ()-      ("Objective Caml","String Constant") -> return ()-      ("Objective Caml","Block") -> return ()-      ("Objective Caml","Sig") -> return ()-      ("Objective Caml","Struct") -> return ()-      ("Objective Caml","Object") -> return ()-      ("Objective Caml","ModuleEnv") -> return ()-      ("Objective Caml","ModuleEnv2") -> return ()-      ("Objective Caml","Camlp4 Quotation Constant") -> return ()+      ("Objective Caml","Code") -> return ()+      ("Objective Caml","Nested Code 1") -> return ()+      ("Objective Caml","Nested Code 2") -> return ()+      ("Objective Caml","String") -> return ()+      ("Objective Caml","qtest header") -> pushContext ("Objective Caml","qtest") >> return ()+      ("Objective Caml","qtest param") -> pushContext ("Objective Caml","qtest") >> return ()+      ("Objective Caml","qtest") -> return ()+      ("Objective Caml","Comment") -> return ()+      ("Objective Caml","String in Comment") -> return ()+      ("Objective Caml","Camlp4 Quotation") -> return ()+      ("Objective Caml","Ocamldoc") -> return ()+      ("Objective Caml","Ocamldoc Code") -> return ()+      ("Objective Caml","Ocamldoc Preformatted") -> return ()+      ("Objective Caml","Ocamldoc Verbatim") -> return ()+      ("Objective Caml","Ocamldoc LaTeX") -> return ()+      ("Objective Caml","Ocamldoc Identifier") -> return ()+      ("Objective Caml","Nested Ocamldoc") -> return ()+      ("Objective Caml","Ocamldoc Bold") -> return ()+      ("Objective Caml","Ocamldoc Italic") -> return ()+      ("Objective Caml","Ocamldoc Emphasised") -> return ()+      ("Objective Caml","Ocamldoc Heading") -> return ()+      ("Objective Caml","Ocamldoc Link") -> return ()+      ("Objective Caml","Ocamldoc References") -> return ()+      ("Objective Caml","Unmatched Closing Brackets") -> return ()       _ -> return ()     else return () @@ -66,179 +81,321 @@                           , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) }   return (attr, txt) -list_revised_syntax_keywords = Set.fromList $ words $ "declare value where"-list_keywords = Set.fromList $ words $ "and as assert asr class closed constraint downto else exception external false for fun function functor if in inherit initializer land lazy let lor lsl lsr lxor match method mod mutable new of or parser private rec then to true try type val virtual when while with"-list_core_types = Set.fromList $ words $ "exn lazy_t format unit int real char string ref array bool list option"-list_symbols = Set.fromList $ words $ "?"-list_end = Set.fromList $ words $ "end"-list_sig = Set.fromList $ words $ "sig"-list_struct = Set.fromList $ words $ "struct"-list_object = Set.fromList $ words $ "object"-list_begin = Set.fromList $ words $ "begin"-list_do = Set.fromList $ words $ "do"-list_done = Set.fromList $ words $ "done"-list_module'5fenvironment = Set.fromList $ words $ "module open include"+list_qtest_keywords = Set.fromList $ words $ "in as forall"+list_Keywords = Set.fromList $ words $ "and as assert asr begin class closed constraint do done downto else end exception external false for fun function functor if in include inherit land lazy let lor lsl lsr lxor match method mod module mutable new object of open or parser private rec sig struct then to true try type val virtual when while with"+list_Revised_Syntax_Keywords = Set.fromList $ words $ "declare value where"+list_Pervasive_Functions = Set.fromList $ words $ "abs abs_float acos asin at_exit atan atan2 bool_of_string ceil char_of_int classify_float close_in close_in_noerr close_out close_out_noerr compare cos cosh decr do_at_exit epsilon_float exp float float_of_int float_of_string floor flush flush_all format_of_string frexp fst ignore in_channel_length incr infinity input input_binary_int input_byte input_char input_line input_value int_of_char int_of_float int_of_string ldexp lnot log log10 max max_float max_int min min_float min_int mod_float modf nan neg_infinity not open_in open_in_bin open_in_gen open_out open_out_bin open_out_gen out_channel_length output output_binary_int output_byte output_char output_string output_value pos_in pos_out pred prerr_char prerr_endline prerr_float prerr_int prerr_newline prerr_string print_char print_endline print_float print_int print_newline print_string read_float read_int read_line really_input ref seek_in seek_out set_binary_mode_in set_binary_mode_out sin sinh snd sqrt stderr stdin stdout string_of_bool string_of_float string_of_format string_of_int succ tan tanh truncate unsafe_really_input valid_float_lexem"+list_Flow_Control_Functions = Set.fromList $ words $ "exit failwith invalid_arg raise"+list_Pervasive_Types = Set.fromList $ words $ "array bool char exn format4 fpclass in_channel int int32 int64 lazy_t list nativeint open_flag option out_channel real ref string unit"+list_Pervasive_Variant_Tags = Set.fromList $ words $ "FP_infinite FP_nan FP_normal FP_subnormal FP_zero None Open_append Open_append Open_binary Open_binary Open_creat Open_creat Open_excl Open_excl Open_nonblock Open_nonblock Open_rdonly Open_rdonly Open_text Open_text Open_trunc Open_trunc Open_wronly Open_wronly Some"+list_Pervasive_Exceptions = Set.fromList $ words $ "Assert_failure Division_by_zero End_of_file Exit Failure Invalid_argument Match_failure Not_found Out_of_memory Stack_overflow Sys_blocked_io Sys_error Undefined_recursive_module"+list_Standard_Library_Modules = Set.fromList $ words $ "Arg Array ArrayLabels Buffer Callback Char Complex Digest Filename Format Gc Genlex Hashtbl Int32 Int64 Lazy Lexing List ListLabels Map Marshal MoreLabels Nativeint Oo Parsing Printexc Printf Queue Random Scanf Set Sort Stack StdLabels Stream String StringLabels Sys Weak" -regex_'60'5cs'2a'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c0377'5f'5d'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c03770'2d9'5f'27'5d'2a = compileRegex True "`\\s*[A-Za-z\\0300-\\0326\\0330-\\0366\\0370-\\0377_][A-Za-z\\0300-\\0326\\0330-\\0366\\0370-\\03770-9_']*"-regex_'5bA'2dZ'5d'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c03770'2d9'5f'27'5d'2a'5cs'2a'5c'2e = compileRegex True "[A-Z][A-Za-z\\0300-\\0326\\0330-\\0366\\0370-\\03770-9_']*\\s*\\."-regex_'5bA'2dZ'5d'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c03770'2d9'5f'27'5d'2a = compileRegex True "[A-Z][A-Za-z\\0300-\\0326\\0330-\\0366\\0370-\\03770-9_']*"-regex_'23'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c0377'5f'5d'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c03770'2d9'5f'27'5d'2a'2e'2a'24 = compileRegex True "#[A-Za-z\\0300-\\0326\\0330-\\0366\\0370-\\0377_][A-Za-z\\0300-\\0326\\0330-\\0366\\0370-\\03770-9_']*.*$"+regex_'5c'28'5c'2a'5c'24'28T'7cQ'7cR'7c'3d'29 = compileRegex True "\\(\\*\\$(T|Q|R|=)"+regex_'23'60'3f'5ba'2dz'5c300'2d'5c326'5c330'2d'5c337A'2dZ'5c340'2d'5c366'5c370'2d'5c377'5d'5ba'2dz'5c300'2d'5c326'5c330'2d'5c337A'2dZ'5c340'2d'5c366'5c370'2d'5c3770'2d9'5f'27'5d'2a'2e'2a'24 = compileRegex True "#`?[a-z\\300-\\326\\330-\\337A-Z\\340-\\366\\370-\\377][a-z\\300-\\326\\330-\\337A-Z\\340-\\366\\370-\\3770-9_']*.*$" regex_'27'28'28'5c'5c'5bntbr'27'22'5c'5c'5d'7c'5c'5c'5b0'2d9'5d'7b3'7d'7c'5c'5cx'5b0'2d9A'2dFa'2df'5d'7b2'7d'29'7c'5b'5e'27'5d'29'27 = compileRegex True "'((\\\\[ntbr'\"\\\\]|\\\\[0-9]{3}|\\\\x[0-9A-Fa-f]{2})|[^'])'"-regex_'3c'3a'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c0377'5f'5d'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c03770'2d9'5f'27'5d'2a'3c = compileRegex True "<:[A-Za-z\\0300-\\0326\\0330-\\0366\\0370-\\0377_][A-Za-z\\0300-\\0326\\0330-\\0366\\0370-\\03770-9_']*<"-regex_'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c0377'5f'5d'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c03770'2d9'5f'27'5d'2a = compileRegex True "[A-Za-z\\0300-\\0326\\0330-\\0366\\0370-\\0377_][A-Za-z\\0300-\\0326\\0330-\\0366\\0370-\\03770-9_']*"+regex_'3c'3a'60'3f'5ba'2dz'5c300'2d'5c326'5c330'2d'5c337A'2dZ'5c340'2d'5c366'5c370'2d'5c377'5d'5ba'2dz'5c300'2d'5c326'5c330'2d'5c337A'2dZ'5c340'2d'5c366'5c370'2d'5c3770'2d9'5f'27'5d'2a'3c = compileRegex True "<:`?[a-z\\300-\\326\\330-\\337A-Z\\340-\\366\\370-\\377][a-z\\300-\\326\\330-\\337A-Z\\340-\\366\\370-\\3770-9_']*<"+regex_'5ba'2dz'5c300'2d'5c326'5c330'2d'5c337'5f'5d'5ba'2dz'5c300'2d'5c326'5c330'2d'5c337A'2dZ'5c340'2d'5c366'5c370'2d'5c3770'2d9'5f'27'5d'2a = compileRegex True "[a-z\\300-\\326\\330-\\337_][a-z\\300-\\326\\330-\\337A-Z\\340-\\366\\370-\\3770-9_']*"+regex_'60'3f'5bA'2dZ'5c340'2d'5c366'5c370'2d'5c377'5d'5ba'2dz'5c300'2d'5c326'5c330'2d'5c337A'2dZ'5c340'2d'5c366'5c370'2d'5c3770'2d9'5f'27'5d'2a = compileRegex True "`?[A-Z\\340-\\366\\370-\\377][a-z\\300-\\326\\330-\\337A-Z\\340-\\366\\370-\\3770-9_']*" regex_'2d'3f0'5bxX'5d'5b0'2d9A'2dFa'2df'5f'5d'2b = compileRegex True "-?0[xX][0-9A-Fa-f_]+" regex_'2d'3f0'5boO'5d'5b0'2d7'5f'5d'2b = compileRegex True "-?0[oO][0-7_]+" regex_'2d'3f0'5bbB'5d'5b01'5f'5d'2b = compileRegex True "-?0[bB][01_]+"-regex_'2d'3f'5b0'2d9'5d'5b0'2d9'5f'5d'2a'28'28'5c'2e'28'5b0'2d9'5d'5b0'2d9'5f'5d'2a'29'3f'28'5beE'5d'5b'2d'2b'5d'3f'5b0'2d9'5d'5b0'2d9'5f'5d'2a'29'3f'29'7c'28'5beE'5d'5b'2d'2b'5d'3f'5b0'2d9'5d'5b0'2d9'5f'5d'2a'29'29 = compileRegex True "-?[0-9][0-9_]*((\\.([0-9][0-9_]*)?([eE][-+]?[0-9][0-9_]*)?)|([eE][-+]?[0-9][0-9_]*))"+regex_'2d'3f'5b0'2d9'5d'5b0'2d9'5f'5d'2a'28'5c'2e'5b0'2d9'5d'5b0'2d9'5f'5d'2a'28'5beE'5d'5b'2d'2b'5d'3f'5b0'2d9'5d'5b0'2d9'5f'5d'2a'29'3f'7c'5beE'5d'5b'2d'2b'5d'3f'5b0'2d9'5d'5b0'2d9'5f'5d'2a'29 = compileRegex True "-?[0-9][0-9_]*(\\.[0-9][0-9_]*([eE][-+]?[0-9][0-9_]*)?|[eE][-+]?[0-9][0-9_]*)" regex_'2d'3f'5b0'2d9'5d'5b0'2d9'5f'5d'2a = compileRegex True "-?[0-9][0-9_]*" regex_'28'5c'5c'5bntbr'27'22'5c'5c'5d'7c'5c'5c'5b0'2d9'5d'7b3'7d'7c'5c'5cx'5b0'2d9A'2dFa'2df'5d'7b2'7d'29 = compileRegex True "(\\\\[ntbr'\"\\\\]|\\\\[0-9]{3}|\\\\x[0-9A-Fa-f]{2})" regex_'5c'5c'24 = compileRegex True "\\\\$" regex_'5c'5c'28'5c'5c'7c'3e'3e'7c'3c'3c'29 = compileRegex True "\\\\(\\\\|>>|<<)"-regex_'5c'5c'3c'3a'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c0377'5f'5d'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c03770'2d9'5f'27'5d'2a'3c = compileRegex True "\\\\<:[A-Za-z\\0300-\\0326\\0330-\\0366\\0370-\\0377_][A-Za-z\\0300-\\0326\\0330-\\0366\\0370-\\03770-9_']*<"+regex_'5c'5c'3c'3a'60'3f'5ba'2dz'5c300'2d'5c326'5c330'2d'5c337A'2dZ'5c340'2d'5c366'5c370'2d'5c377'5d'5ba'2dz'5c300'2d'5c326'5c330'2d'5c337A'2dZ'5c340'2d'5c366'5c370'2d'5c3770'2d9'5f'27'5d'2a'3c = compileRegex True "\\\\<:`?[a-z\\300-\\326\\330-\\337A-Z\\340-\\366\\370-\\377][a-z\\300-\\326\\330-\\337A-Z\\340-\\366\\370-\\3770-9_']*<"+regex_'5c'5c'2e = compileRegex True "\\\\."+regex_'5b'7b'5dv'28'5cs'7c'24'29 = compileRegex True "[{]v(\\s|$)"+regex_'5b'7b'5db'28'5cs'7c'24'29 = compileRegex True "[{]b(\\s|$)"+regex_'5b'7b'5di'28'5cs'7c'24'29 = compileRegex True "[{]i(\\s|$)"+regex_'5b'7b'5de'28'5cs'7c'24'29 = compileRegex True "[{]e(\\s|$)"+regex_'5b'7b'5d'5b0'2d9'5d'2b'28'3a'60'3f'5ba'2dz'5c300'2d'5c326'5c330'2d'5c337A'2dZ'5c340'2d'5c366'5c370'2d'5c377'5d'5ba'2dz'5c300'2d'5c326'5c330'2d'5c337A'2dZ'5c340'2d'5c366'5c370'2d'5c3770'2d9'5f'27'5d'2a'29'3f'5cs = compileRegex True "[{][0-9]+(:`?[a-z\\300-\\326\\330-\\337A-Z\\340-\\366\\370-\\377][a-z\\300-\\326\\330-\\337A-Z\\340-\\366\\370-\\3770-9_']*)?\\s"+regex_'5b'7b'5d'5b'7b'5d'3a'60'3f'5ba'2dz'5c300'2d'5c326'5c330'2d'5c337A'2dZ'5c340'2d'5c366'5c370'2d'5c377'5d'5ba'2dz'5c300'2d'5c326'5c330'2d'5c337A'2dZ'5c340'2d'5c366'5c370'2d'5c3770'2d9'5f'27'5d'2a'5b'7d'5d = compileRegex True "[{][{]:`?[a-z\\300-\\326\\330-\\337A-Z\\340-\\366\\370-\\377][a-z\\300-\\326\\330-\\337A-Z\\340-\\366\\370-\\3770-9_']*[}]"+regex_'5b'7b'5d'21'28'5ba'2dz'5d'2b'3a'29'3f = compileRegex True "[{]!([a-z]+:)?"+regex_'5b'7b'5d'60'3f'5ba'2dz'5c300'2d'5c326'5c330'2d'5c337A'2dZ'5c340'2d'5c366'5c370'2d'5c377'5d'5ba'2dz'5c300'2d'5c326'5c330'2d'5c337A'2dZ'5c340'2d'5c366'5c370'2d'5c3770'2d9'5f'27'5d'2a'28'5cs'7c'24'29 = compileRegex True "[{]`?[a-z\\300-\\326\\330-\\337A-Z\\340-\\366\\370-\\377][a-z\\300-\\326\\330-\\337A-Z\\340-\\366\\370-\\3770-9_']*(\\s|$)"+regex_'40see'5cs'2a'28'3c'5b'5e'3e'5d'2a'3e'7c'22'5b'5e'22'5d'2a'22'7c'27'5b'5e'27'5d'2a'27'29 = compileRegex True "@see\\s*(<[^>]*>|\"[^\"]*\"|'[^']*')"+regex_'40'28param'7craise'29'5cs'2a = compileRegex True "@(param|raise)\\s*"+regex_'40'28author'7cdeprecated'7creturn'7csince'7cversion'29 = compileRegex True "@(author|deprecated|return|since|version)"+regex_'40'60'3f'5ba'2dz'5c300'2d'5c326'5c330'2d'5c337A'2dZ'5c340'2d'5c366'5c370'2d'5c377'5d'5ba'2dz'5c300'2d'5c326'5c330'2d'5c337A'2dZ'5c340'2d'5c366'5c370'2d'5c3770'2d9'5f'27'5d'2a = compileRegex True "@`?[a-z\\300-\\326\\330-\\337A-Z\\340-\\366\\370-\\377][a-z\\300-\\326\\330-\\337A-Z\\340-\\366\\370-\\3770-9_']*"+regex_'5b__'5d'2a'2d'5cs = compileRegex True "[  ]*-\\s"+regex_'60'3f'5ba'2dz'5c300'2d'5c326'5c330'2d'5c337A'2dZ'5c340'2d'5c366'5c370'2d'5c377'5d'5ba'2dz'5c300'2d'5c326'5c330'2d'5c337A'2dZ'5c340'2d'5c366'5c370'2d'5c3770'2d9'5f'27'5d'2a'28'5c'2e'60'3f'5ba'2dz'5c300'2d'5c326'5c330'2d'5c337A'2dZ'5c340'2d'5c366'5c370'2d'5c377'5d'5ba'2dz'5c300'2d'5c326'5c330'2d'5c337A'2dZ'5c340'2d'5c366'5c370'2d'5c3770'2d9'5f'27'5d'2a'29'2a = compileRegex True "`?[a-z\\300-\\326\\330-\\337A-Z\\340-\\366\\370-\\377][a-z\\300-\\326\\330-\\337A-Z\\340-\\366\\370-\\3770-9_']*(\\.`?[a-z\\300-\\326\\330-\\337A-Z\\340-\\366\\370-\\377][a-z\\300-\\326\\330-\\337A-Z\\340-\\366\\370-\\3770-9_']*)*" -parseRules ("Objective Caml","Normal") =-  (((pDetect2Chars False '(' '*' >>= withAttribute CommentTok) >>~ pushContext ("Objective Caml","Multiline Comment"))+parseRules ("Objective Caml","Code") =+  (((pDetectChar False '[' >>= withAttribute NormalTok) >>~ pushContext ("Objective Caml","Nested Code 1"))    <|>-   ((pDetectChar False '(' >>= withAttribute NormalTok))+   ((pDetectChar False '{' >>= withAttribute NormalTok) >>~ pushContext ("Objective Caml","Nested Code 2"))    <|>-   ((pDetectChar False ')' >>= withAttribute NormalTok))+   ((pString False "(**)" >>= withAttribute CommentTok))    <|>-   ((pDetectChar False '{' >>= withAttribute NormalTok))+   ((pString False "(**" >>= withAttribute CommentTok) >>~ pushContext ("Objective Caml","Ocamldoc"))    <|>-   ((pDetectChar False '}' >>= withAttribute NormalTok))+   ((pRegExpr regex_'5c'28'5c'2a'5c'24'28T'7cQ'7cR'7c'3d'29 >>= withAttribute NormalTok) >>~ pushContext ("Objective Caml","qtest header"))    <|>-   ((pDetect2Chars False '[' '|' >>= withAttribute NormalTok))+   ((pDetect2Chars False '(' '*' >>= withAttribute CommentTok) >>~ pushContext ("Objective Caml","Comment"))    <|>-   ((pDetect2Chars False '|' ']' >>= withAttribute NormalTok))+   ((pFirstNonSpace >> pRegExpr regex_'23'60'3f'5ba'2dz'5c300'2d'5c326'5c330'2d'5c337A'2dZ'5c340'2d'5c366'5c370'2d'5c377'5d'5ba'2dz'5c300'2d'5c326'5c330'2d'5c337A'2dZ'5c340'2d'5c366'5c370'2d'5c3770'2d9'5f'27'5d'2a'2e'2a'24 >>= withAttribute OtherTok))    <|>-   ((pDetectChar False '[' >>= withAttribute NormalTok))+   ((pDetectChar False '"' >>= withAttribute StringTok) >>~ pushContext ("Objective Caml","String"))    <|>-   ((pDetectChar False ']' >>= withAttribute NormalTok))+   ((pRegExpr regex_'27'28'28'5c'5c'5bntbr'27'22'5c'5c'5d'7c'5c'5c'5b0'2d9'5d'7b3'7d'7c'5c'5cx'5b0'2d9A'2dFa'2df'5d'7b2'7d'29'7c'5b'5e'27'5d'29'27 >>= withAttribute CharTok))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_do >>= withAttribute KeywordTok))+   ((pDetect2Chars False '<' '<' >>= withAttribute StringTok) >>~ pushContext ("Objective Caml","Camlp4 Quotation"))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_done >>= withAttribute KeywordTok))+   ((pRegExpr regex_'3c'3a'60'3f'5ba'2dz'5c300'2d'5c326'5c330'2d'5c337A'2dZ'5c340'2d'5c366'5c370'2d'5c377'5d'5ba'2dz'5c300'2d'5c326'5c330'2d'5c337A'2dZ'5c340'2d'5c366'5c370'2d'5c3770'2d9'5f'27'5d'2a'3c >>= withAttribute StringTok) >>~ pushContext ("Objective Caml","Camlp4 Quotation"))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_module'5fenvironment >>= withAttribute OtherTok) >>~ pushContext ("Objective Caml","ModuleEnv"))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_Keywords >>= withAttribute KeywordTok))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_begin >>= withAttribute KeywordTok) >>~ pushContext ("Objective Caml","Block"))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_Revised_Syntax_Keywords >>= withAttribute NormalTok))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_object >>= withAttribute KeywordTok) >>~ pushContext ("Objective Caml","Object"))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_Flow_Control_Functions >>= withAttribute DataTypeTok))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_sig >>= withAttribute KeywordTok) >>~ pushContext ("Objective Caml","Sig"))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_Pervasive_Functions >>= withAttribute DataTypeTok))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_struct >>= withAttribute KeywordTok) >>~ pushContext ("Objective Caml","Struct"))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_Pervasive_Types >>= withAttribute DataTypeTok))    <|>-   ((pRegExpr regex_'60'5cs'2a'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c0377'5f'5d'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c03770'2d9'5f'27'5d'2a >>= withAttribute DataTypeTok))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_Pervasive_Exceptions >>= withAttribute DataTypeTok))    <|>-   ((lookAhead (pRegExpr regex_'5bA'2dZ'5d'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c03770'2d9'5f'27'5d'2a'5cs'2a'5c'2e) >> pushContext ("Objective Caml","ModuleEnv2") >> currentContext >>= parseRules))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_Pervasive_Variant_Tags >>= withAttribute DataTypeTok))    <|>-   ((pRegExpr regex_'5bA'2dZ'5d'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c03770'2d9'5f'27'5d'2a >>= withAttribute DataTypeTok))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_Standard_Library_Modules >>= withAttribute DataTypeTok))    <|>-   ((pFirstNonSpace >> pRegExpr regex_'23'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c0377'5f'5d'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c03770'2d9'5f'27'5d'2a'2e'2a'24 >>= withAttribute OtherTok))+   ((pRegExpr regex_'5ba'2dz'5c300'2d'5c326'5c330'2d'5c337'5f'5d'5ba'2dz'5c300'2d'5c326'5c330'2d'5c337A'2dZ'5c340'2d'5c366'5c370'2d'5c3770'2d9'5f'27'5d'2a >>= withAttribute NormalTok))    <|>-   ((pDetectChar False '"' >>= withAttribute StringTok) >>~ pushContext ("Objective Caml","String Constant"))+   ((pRegExpr regex_'60'3f'5bA'2dZ'5c340'2d'5c366'5c370'2d'5c377'5d'5ba'2dz'5c300'2d'5c326'5c330'2d'5c337A'2dZ'5c340'2d'5c366'5c370'2d'5c3770'2d9'5f'27'5d'2a >>= withAttribute NormalTok))    <|>-   ((pRegExpr regex_'27'28'28'5c'5c'5bntbr'27'22'5c'5c'5d'7c'5c'5c'5b0'2d9'5d'7b3'7d'7c'5c'5cx'5b0'2d9A'2dFa'2df'5d'7b2'7d'29'7c'5b'5e'27'5d'29'27 >>= withAttribute CharTok))+   ((pRegExpr regex_'2d'3f0'5bxX'5d'5b0'2d9A'2dFa'2df'5f'5d'2b >>= withAttribute BaseNTok))    <|>-   ((pDetect2Chars False '<' '<' >>= withAttribute StringTok) >>~ pushContext ("Objective Caml","Camlp4 Quotation Constant"))+   ((pRegExpr regex_'2d'3f0'5boO'5d'5b0'2d7'5f'5d'2b >>= withAttribute BaseNTok))    <|>-   ((pRegExpr regex_'3c'3a'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c0377'5f'5d'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c03770'2d9'5f'27'5d'2a'3c >>= withAttribute StringTok) >>~ pushContext ("Objective Caml","Camlp4 Quotation Constant"))+   ((pRegExpr regex_'2d'3f0'5bbB'5d'5b01'5f'5d'2b >>= withAttribute BaseNTok))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_keywords >>= withAttribute KeywordTok))+   ((pRegExpr regex_'2d'3f'5b0'2d9'5d'5b0'2d9'5f'5d'2a'28'5c'2e'5b0'2d9'5d'5b0'2d9'5f'5d'2a'28'5beE'5d'5b'2d'2b'5d'3f'5b0'2d9'5d'5b0'2d9'5f'5d'2a'29'3f'7c'5beE'5d'5b'2d'2b'5d'3f'5b0'2d9'5d'5b0'2d9'5f'5d'2a'29 >>= withAttribute FloatTok))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_revised_syntax_keywords >>= withAttribute NormalTok))+   ((pRegExpr regex_'2d'3f'5b0'2d9'5d'5b0'2d9'5f'5d'2a >>= withAttribute DecValTok))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_core_types >>= withAttribute DataTypeTok))+   ((parseRules ("Objective Caml","Unmatched Closing Brackets")))    <|>-   ((pRegExpr regex_'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c0377'5f'5d'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c03770'2d9'5f'27'5d'2a >>= withAttribute NormalTok))+   (currentContext >>= \x -> guard (x == ("Objective Caml","Code")) >> pDefault >>= withAttribute NormalTok))++parseRules ("Objective Caml","Nested Code 1") =+  (((pDetectChar False ']' >>= withAttribute NormalTok) >>~ (popContext))    <|>-   ((pRegExpr regex_'2d'3f0'5bxX'5d'5b0'2d9A'2dFa'2df'5f'5d'2b >>= withAttribute BaseNTok))+   ((parseRules ("Objective Caml","Code")))    <|>-   ((pRegExpr regex_'2d'3f0'5boO'5d'5b0'2d7'5f'5d'2b >>= withAttribute BaseNTok))+   (currentContext >>= \x -> guard (x == ("Objective Caml","Nested Code 1")) >> pDefault >>= withAttribute NormalTok))++parseRules ("Objective Caml","Nested Code 2") =+  (((pDetectChar False '}' >>= withAttribute NormalTok) >>~ (popContext))    <|>-   ((pRegExpr regex_'2d'3f0'5bbB'5d'5b01'5f'5d'2b >>= withAttribute BaseNTok))+   ((parseRules ("Objective Caml","Code")))    <|>-   ((pRegExpr regex_'2d'3f'5b0'2d9'5d'5b0'2d9'5f'5d'2a'28'28'5c'2e'28'5b0'2d9'5d'5b0'2d9'5f'5d'2a'29'3f'28'5beE'5d'5b'2d'2b'5d'3f'5b0'2d9'5d'5b0'2d9'5f'5d'2a'29'3f'29'7c'28'5beE'5d'5b'2d'2b'5d'3f'5b0'2d9'5d'5b0'2d9'5f'5d'2a'29'29 >>= withAttribute FloatTok))+   (currentContext >>= \x -> guard (x == ("Objective Caml","Nested Code 2")) >> pDefault >>= withAttribute NormalTok))++parseRules ("Objective Caml","String") =+  (((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext))    <|>-   ((pRegExpr regex_'2d'3f'5b0'2d9'5d'5b0'2d9'5f'5d'2a >>= withAttribute DecValTok))+   ((pRegExpr regex_'28'5c'5c'5bntbr'27'22'5c'5c'5d'7c'5c'5c'5b0'2d9'5d'7b3'7d'7c'5c'5cx'5b0'2d9A'2dFa'2df'5d'7b2'7d'29 >>= withAttribute CharTok))    <|>-   (currentContext >>= \x -> guard (x == ("Objective Caml","Normal")) >> pDefault >>= withAttribute NormalTok))+   ((pRegExpr regex_'5c'5c'24 >>= withAttribute CharTok))+   <|>+   (currentContext >>= \x -> guard (x == ("Objective Caml","String")) >> pDefault >>= withAttribute StringTok)) -parseRules ("Objective Caml","Multiline Comment") =+parseRules ("Objective Caml","qtest header") =+  (((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_qtest_keywords >>= withAttribute KeywordTok))+   <|>+   ((pDetectChar False '&' >>= withAttribute NormalTok) >>~ pushContext ("Objective Caml","qtest param"))+   <|>+   ((pRegExpr regex_'5ba'2dz'5c300'2d'5c326'5c330'2d'5c337'5f'5d'5ba'2dz'5c300'2d'5c326'5c330'2d'5c337A'2dZ'5c340'2d'5c366'5c370'2d'5c3770'2d9'5f'27'5d'2a >>= withAttribute NormalTok))+   <|>+   (currentContext >>= \x -> guard (x == ("Objective Caml","qtest header")) >> pDefault >>= withAttribute NormalTok))++parseRules ("Objective Caml","qtest param") =+  (currentContext >>= \x -> guard (x == ("Objective Caml","qtest param")) >> pDefault >>= withAttribute NormalTok)++parseRules ("Objective Caml","qtest") =+  (((pDetect2Chars False '*' ')' >>= withAttribute NormalTok) >>~ (popContext))+   <|>+   ((parseRules ("Objective Caml","Code")))+   <|>+   (currentContext >>= \x -> guard (x == ("Objective Caml","qtest")) >> pDefault >>= withAttribute NormalTok))++parseRules ("Objective Caml","Comment") =   (((pDetect2Chars False '*' ')' >>= withAttribute CommentTok) >>~ (popContext))    <|>-   ((pDetect2Chars False '(' '*' >>= withAttribute CommentTok) >>~ pushContext ("Objective Caml","Multiline Comment"))+   ((pDetect2Chars False '(' '*' >>= withAttribute CommentTok) >>~ pushContext ("Objective Caml","Comment"))    <|>-   (currentContext >>= \x -> guard (x == ("Objective Caml","Multiline Comment")) >> pDefault >>= withAttribute CommentTok))+   ((pDetectChar False '"' >>= withAttribute CommentTok) >>~ pushContext ("Objective Caml","String in Comment"))+   <|>+   (currentContext >>= \x -> guard (x == ("Objective Caml","Comment")) >> pDefault >>= withAttribute CommentTok)) -parseRules ("Objective Caml","String Constant") =-  (((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext))+parseRules ("Objective Caml","String in Comment") =+  (((pDetectChar False '"' >>= withAttribute CommentTok) >>~ (popContext))    <|>-   ((pRegExpr regex_'28'5c'5c'5bntbr'27'22'5c'5c'5d'7c'5c'5c'5b0'2d9'5d'7b3'7d'7c'5c'5cx'5b0'2d9A'2dFa'2df'5d'7b2'7d'29 >>= withAttribute CharTok))+   ((parseRules ("Objective Caml","String")))    <|>-   ((pRegExpr regex_'5c'5c'24 >>= withAttribute CharTok))+   (currentContext >>= \x -> guard (x == ("Objective Caml","String in Comment")) >> pDefault >>= withAttribute CommentTok))++parseRules ("Objective Caml","Camlp4 Quotation") =+  (((pDetect2Chars False '>' '>' >>= withAttribute StringTok) >>~ (popContext))    <|>-   (currentContext >>= \x -> guard (x == ("Objective Caml","String Constant")) >> pDefault >>= withAttribute StringTok))+   ((pDetect2Chars False '<' '<' >>= withAttribute StringTok) >>~ pushContext ("Objective Caml","Camlp4 Quotation"))+   <|>+   ((pRegExpr regex_'3c'3a'60'3f'5ba'2dz'5c300'2d'5c326'5c330'2d'5c337A'2dZ'5c340'2d'5c366'5c370'2d'5c377'5d'5ba'2dz'5c300'2d'5c326'5c330'2d'5c337A'2dZ'5c340'2d'5c366'5c370'2d'5c3770'2d9'5f'27'5d'2a'3c >>= withAttribute StringTok) >>~ pushContext ("Objective Caml","Camlp4 Quotation"))+   <|>+   ((pRegExpr regex_'5c'5c'28'5c'5c'7c'3e'3e'7c'3c'3c'29 >>= withAttribute CharTok))+   <|>+   ((pRegExpr regex_'5c'5c'3c'3a'60'3f'5ba'2dz'5c300'2d'5c326'5c330'2d'5c337A'2dZ'5c340'2d'5c366'5c370'2d'5c377'5d'5ba'2dz'5c300'2d'5c326'5c330'2d'5c337A'2dZ'5c340'2d'5c366'5c370'2d'5c3770'2d9'5f'27'5d'2a'3c >>= withAttribute CharTok))+   <|>+   (currentContext >>= \x -> guard (x == ("Objective Caml","Camlp4 Quotation")) >> pDefault >>= withAttribute StringTok)) -parseRules ("Objective Caml","Block") =-  (((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_end >>= withAttribute KeywordTok) >>~ (popContext))+parseRules ("Objective Caml","Ocamldoc") =+  (((pDetect2Chars False '*' ')' >>= withAttribute CommentTok) >>~ (popContext))    <|>-   ((parseRules ("Objective Caml","Normal")))+   ((pRegExpr regex_'5c'5c'2e >>= withAttribute CharTok))    <|>-   (currentContext >>= \x -> guard (x == ("Objective Caml","Block")) >> pDefault >>= withAttribute NormalTok))+   ((pString False "(**)" >>= withAttribute CommentTok))+   <|>+   ((pString False "(**" >>= withAttribute CommentTok) >>~ pushContext ("Objective Caml","Ocamldoc"))+   <|>+   ((pDetect2Chars False '(' '*' >>= withAttribute CommentTok) >>~ pushContext ("Objective Caml","Comment"))+   <|>+   ((pDetectChar False '"' >>= withAttribute CommentTok) >>~ pushContext ("Objective Caml","String in Comment"))+   <|>+   ((pDetectChar False '[' >>= withAttribute OtherTok) >>~ pushContext ("Objective Caml","Ocamldoc Code"))+   <|>+   ((pDetect2Chars False '{' '[' >>= withAttribute OtherTok) >>~ pushContext ("Objective Caml","Ocamldoc Preformatted"))+   <|>+   ((pDetect2Chars False '{' '%' >>= withAttribute OtherTok) >>~ pushContext ("Objective Caml","Ocamldoc LaTeX"))+   <|>+   ((pDetect2Chars False '{' '^' >>= withAttribute OtherTok) >>~ pushContext ("Objective Caml","Nested Ocamldoc"))+   <|>+   ((pRegExpr regex_'5b'7b'5dv'28'5cs'7c'24'29 >>= withAttribute OtherTok) >>~ pushContext ("Objective Caml","Ocamldoc Verbatim"))+   <|>+   ((pRegExpr regex_'5b'7b'5db'28'5cs'7c'24'29 >>= withAttribute OtherTok) >>~ pushContext ("Objective Caml","Ocamldoc Bold"))+   <|>+   ((pRegExpr regex_'5b'7b'5di'28'5cs'7c'24'29 >>= withAttribute OtherTok) >>~ pushContext ("Objective Caml","Ocamldoc Italic"))+   <|>+   ((pRegExpr regex_'5b'7b'5de'28'5cs'7c'24'29 >>= withAttribute OtherTok) >>~ pushContext ("Objective Caml","Ocamldoc Emphasised"))+   <|>+   ((pRegExpr regex_'5b'7b'5d'5b0'2d9'5d'2b'28'3a'60'3f'5ba'2dz'5c300'2d'5c326'5c330'2d'5c337A'2dZ'5c340'2d'5c366'5c370'2d'5c377'5d'5ba'2dz'5c300'2d'5c326'5c330'2d'5c337A'2dZ'5c340'2d'5c366'5c370'2d'5c3770'2d9'5f'27'5d'2a'29'3f'5cs >>= withAttribute OtherTok) >>~ pushContext ("Objective Caml","Ocamldoc Heading"))+   <|>+   ((pRegExpr regex_'5b'7b'5d'5b'7b'5d'3a'60'3f'5ba'2dz'5c300'2d'5c326'5c330'2d'5c337A'2dZ'5c340'2d'5c366'5c370'2d'5c377'5d'5ba'2dz'5c300'2d'5c326'5c330'2d'5c337A'2dZ'5c340'2d'5c366'5c370'2d'5c3770'2d9'5f'27'5d'2a'5b'7d'5d >>= withAttribute OtherTok) >>~ pushContext ("Objective Caml","Ocamldoc Link"))+   <|>+   ((pRegExpr regex_'5b'7b'5d'21'28'5ba'2dz'5d'2b'3a'29'3f >>= withAttribute OtherTok) >>~ pushContext ("Objective Caml","Ocamldoc References"))+   <|>+   ((pRegExpr regex_'5b'7b'5d'60'3f'5ba'2dz'5c300'2d'5c326'5c330'2d'5c337A'2dZ'5c340'2d'5c366'5c370'2d'5c377'5d'5ba'2dz'5c300'2d'5c326'5c330'2d'5c337A'2dZ'5c340'2d'5c366'5c370'2d'5c3770'2d9'5f'27'5d'2a'28'5cs'7c'24'29 >>= withAttribute OtherTok) >>~ pushContext ("Objective Caml","Nested Ocamldoc"))+   <|>+   ((pRegExpr regex_'40see'5cs'2a'28'3c'5b'5e'3e'5d'2a'3e'7c'22'5b'5e'22'5d'2a'22'7c'27'5b'5e'27'5d'2a'27'29 >>= withAttribute OtherTok))+   <|>+   ((pRegExpr regex_'40'28param'7craise'29'5cs'2a >>= withAttribute OtherTok) >>~ pushContext ("Objective Caml","Ocamldoc Identifier"))+   <|>+   ((pRegExpr regex_'40'28author'7cdeprecated'7creturn'7csince'7cversion'29 >>= withAttribute OtherTok))+   <|>+   ((pRegExpr regex_'40'60'3f'5ba'2dz'5c300'2d'5c326'5c330'2d'5c337A'2dZ'5c340'2d'5c366'5c370'2d'5c377'5d'5ba'2dz'5c300'2d'5c326'5c330'2d'5c337A'2dZ'5c340'2d'5c366'5c370'2d'5c3770'2d9'5f'27'5d'2a >>= withAttribute OtherTok))+   <|>+   ((pColumn 0 >> pRegExpr regex_'5b__'5d'2a'2d'5cs >>= withAttribute OtherTok))+   <|>+   ((parseRules ("Objective Caml","Unmatched Closing Brackets")))+   <|>+   (currentContext >>= \x -> guard (x == ("Objective Caml","Ocamldoc")) >> pDefault >>= withAttribute CommentTok)) -parseRules ("Objective Caml","Sig") =-  (((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_end >>= withAttribute KeywordTok) >>~ (popContext))+parseRules ("Objective Caml","Ocamldoc Code") =+  (((pDetectChar False ']' >>= withAttribute OtherTok) >>~ (popContext))    <|>-   ((parseRules ("Objective Caml","Normal")))+   ((parseRules ("Objective Caml","Code")))    <|>-   (currentContext >>= \x -> guard (x == ("Objective Caml","Sig")) >> pDefault >>= withAttribute NormalTok))+   (currentContext >>= \x -> guard (x == ("Objective Caml","Ocamldoc Code")) >> pDefault >>= withAttribute NormalTok)) -parseRules ("Objective Caml","Struct") =-  (((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_end >>= withAttribute KeywordTok) >>~ (popContext))+parseRules ("Objective Caml","Ocamldoc Preformatted") =+  (((pDetect2Chars False ']' '}' >>= withAttribute OtherTok) >>~ (popContext))    <|>-   ((parseRules ("Objective Caml","Normal")))+   ((parseRules ("Objective Caml","Code")))    <|>-   (currentContext >>= \x -> guard (x == ("Objective Caml","Struct")) >> pDefault >>= withAttribute NormalTok))+   (currentContext >>= \x -> guard (x == ("Objective Caml","Ocamldoc Preformatted")) >> pDefault >>= withAttribute NormalTok)) -parseRules ("Objective Caml","Object") =-  (((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_end >>= withAttribute KeywordTok) >>~ (popContext))+parseRules ("Objective Caml","Ocamldoc Verbatim") =+  (((pDetect2Chars False 'v' '}' >>= withAttribute OtherTok) >>~ (popContext))    <|>-   ((parseRules ("Objective Caml","Normal")))+   (currentContext >>= \x -> guard (x == ("Objective Caml","Ocamldoc Verbatim")) >> pDefault >>= withAttribute CommentTok))++parseRules ("Objective Caml","Ocamldoc LaTeX") =+  (((pDetect2Chars False '%' '}' >>= withAttribute OtherTok) >>~ (popContext))    <|>-   (currentContext >>= \x -> guard (x == ("Objective Caml","Object")) >> pDefault >>= withAttribute NormalTok))+   ((Text.Highlighting.Kate.Syntax.Latex.parseExpression (Just ("LaTeX","")) >>= ((withAttribute CommentTok) . snd)))+   <|>+   (currentContext >>= \x -> guard (x == ("Objective Caml","Ocamldoc LaTeX")) >> pDefault >>= withAttribute CommentTok)) -parseRules ("Objective Caml","ModuleEnv") =-  (((pDetectSpaces >>= withAttribute NormalTok))+parseRules ("Objective Caml","Ocamldoc Identifier") =+  (((pRegExpr regex_'60'3f'5ba'2dz'5c300'2d'5c326'5c330'2d'5c337A'2dZ'5c340'2d'5c366'5c370'2d'5c377'5d'5ba'2dz'5c300'2d'5c326'5c330'2d'5c337A'2dZ'5c340'2d'5c366'5c370'2d'5c3770'2d9'5f'27'5d'2a'28'5c'2e'60'3f'5ba'2dz'5c300'2d'5c326'5c330'2d'5c337A'2dZ'5c340'2d'5c366'5c370'2d'5c377'5d'5ba'2dz'5c300'2d'5c326'5c330'2d'5c337A'2dZ'5c340'2d'5c366'5c370'2d'5c3770'2d9'5f'27'5d'2a'29'2a >>= withAttribute NormalTok) >>~ (popContext))    <|>-   ((lookAhead (pRegExpr regex_'5bA'2dZ'5d'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c03770'2d9'5f'27'5d'2a'5cs'2a'5c'2e) >> pushContext ("Objective Caml","ModuleEnv2") >> currentContext >>= parseRules))+   ((pDetect2Chars False '*' ')' >>= withAttribute ErrorTok) >>~ (popContext))    <|>-   ((pRegExpr regex_'5bA'2dZ'5d'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c03770'2d9'5f'27'5d'2a >>= withAttribute NormalTok) >>~ (popContext))+   ((pDetectSpaces >>= withAttribute ErrorTok))    <|>-   ((popContext) >> currentContext >>= parseRules))+   (currentContext >>= \x -> guard (x == ("Objective Caml","Ocamldoc Identifier")) >> pDefault >>= withAttribute ErrorTok)) -parseRules ("Objective Caml","ModuleEnv2") =-  (((pRegExpr regex_'5bA'2dZ'5d'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c03770'2d9'5f'27'5d'2a >>= withAttribute NormalTok))+parseRules ("Objective Caml","Nested Ocamldoc") =+  (((pDetectChar False '}' >>= withAttribute OtherTok) >>~ (popContext))    <|>-   ((pDetectSpaces >>= withAttribute NormalTok))+   ((pDetect2Chars False '*' ')' >>= withAttribute ErrorTok) >>~ (popContext))    <|>-   ((pString False "." >>= withAttribute KeywordTok) >>~ (popContext))+   ((parseRules ("Objective Caml","Ocamldoc")))    <|>-   (currentContext >>= \x -> guard (x == ("Objective Caml","ModuleEnv2")) >> pDefault >>= withAttribute NormalTok))+   (currentContext >>= \x -> guard (x == ("Objective Caml","Nested Ocamldoc")) >> pDefault >>= withAttribute NormalTok)) -parseRules ("Objective Caml","Camlp4 Quotation Constant") =-  (((pDetect2Chars False '>' '>' >>= withAttribute StringTok) >>~ (popContext))+parseRules ("Objective Caml","Ocamldoc Bold") =+  (((parseRules ("Objective Caml","Nested Ocamldoc")))    <|>-   ((pDetect2Chars False '<' '<' >>= withAttribute StringTok) >>~ pushContext ("Objective Caml","Camlp4 Quotation Constant"))+   (currentContext >>= \x -> guard (x == ("Objective Caml","Ocamldoc Bold")) >> pDefault >>= withAttribute CommentTok))++parseRules ("Objective Caml","Ocamldoc Italic") =+  (((parseRules ("Objective Caml","Nested Ocamldoc")))    <|>-   ((pRegExpr regex_'3c'3a'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c0377'5f'5d'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c03770'2d9'5f'27'5d'2a'3c >>= withAttribute StringTok) >>~ pushContext ("Objective Caml","Camlp4 Quotation Constant"))+   (currentContext >>= \x -> guard (x == ("Objective Caml","Ocamldoc Italic")) >> pDefault >>= withAttribute CommentTok))++parseRules ("Objective Caml","Ocamldoc Emphasised") =+  (((parseRules ("Objective Caml","Nested Ocamldoc")))    <|>-   ((pRegExpr regex_'5c'5c'28'5c'5c'7c'3e'3e'7c'3c'3c'29 >>= withAttribute CharTok))+   (currentContext >>= \x -> guard (x == ("Objective Caml","Ocamldoc Emphasised")) >> pDefault >>= withAttribute CommentTok))++parseRules ("Objective Caml","Ocamldoc Heading") =+  (((parseRules ("Objective Caml","Nested Ocamldoc")))    <|>-   ((pRegExpr regex_'5c'5c'3c'3a'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c0377'5f'5d'5bA'2dZa'2dz'5c0300'2d'5c0326'5c0330'2d'5c0366'5c0370'2d'5c03770'2d9'5f'27'5d'2a'3c >>= withAttribute CharTok))+   (currentContext >>= \x -> guard (x == ("Objective Caml","Ocamldoc Heading")) >> pDefault >>= withAttribute CommentTok))++parseRules ("Objective Caml","Ocamldoc Link") =+  (((parseRules ("Objective Caml","Nested Ocamldoc")))    <|>-   (currentContext >>= \x -> guard (x == ("Objective Caml","Camlp4 Quotation Constant")) >> pDefault >>= withAttribute StringTok))+   (currentContext >>= \x -> guard (x == ("Objective Caml","Ocamldoc Link")) >> pDefault >>= withAttribute CommentTok)) +parseRules ("Objective Caml","Ocamldoc References") =+  (((pDetectChar False '}' >>= withAttribute OtherTok) >>~ (popContext))+   <|>+   ((pDetect2Chars False '*' ')' >>= withAttribute ErrorTok) >>~ (popContext))+   <|>+   ((pRegExpr regex_'60'3f'5ba'2dz'5c300'2d'5c326'5c330'2d'5c337A'2dZ'5c340'2d'5c366'5c370'2d'5c377'5d'5ba'2dz'5c300'2d'5c326'5c330'2d'5c337A'2dZ'5c340'2d'5c366'5c370'2d'5c3770'2d9'5f'27'5d'2a'28'5c'2e'60'3f'5ba'2dz'5c300'2d'5c326'5c330'2d'5c337A'2dZ'5c340'2d'5c366'5c370'2d'5c377'5d'5ba'2dz'5c300'2d'5c326'5c330'2d'5c337A'2dZ'5c340'2d'5c366'5c370'2d'5c3770'2d9'5f'27'5d'2a'29'2a >>= withAttribute CommentTok))+   <|>+   ((pDetectSpaces >>= withAttribute OtherTok))+   <|>+   (currentContext >>= \x -> guard (x == ("Objective Caml","Ocamldoc References")) >> pDefault >>= withAttribute ErrorTok)) -parseRules x = parseRules ("Objective Caml","Normal") <|> fail ("Unknown context" ++ show x)+parseRules ("Objective Caml","Unmatched Closing Brackets") =+  (((pDetect2Chars False '*' ')' >>= withAttribute ErrorTok) >>~ (popContext))+   <|>+   ((pDetect2Chars False 'v' '}' >>= withAttribute ErrorTok))+   <|>+   ((pDetect2Chars False ']' '}' >>= withAttribute ErrorTok))+   <|>+   ((pDetect2Chars False '%' '}' >>= withAttribute ErrorTok))+   <|>+   ((pDetectChar False ']' >>= withAttribute ErrorTok))+   <|>+   ((pDetectChar False '}' >>= withAttribute ErrorTok))+   <|>+   (currentContext >>= \x -> guard (x == ("Objective Caml","Unmatched Closing Brackets")) >> pDefault >>= withAttribute NormalTok))++parseRules ("LaTeX", _) = Text.Highlighting.Kate.Syntax.Latex.parseExpression Nothing++parseRules x = parseRules ("Objective Caml","Code") <|> fail ("Unknown context" ++ show x)
Text/Highlighting/Kate/Syntax/Octave.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file octave.xml, version 1.02, by Luis Silvestre and Federico Zenith -}+   highlighting file octave.xml, version 2, by Luis Silvestre and Federico Zenith -}  module Text.Highlighting.Kate.Syntax.Octave           (highlight, parseExpression, syntaxName, syntaxExtensions)
Text/Highlighting/Kate/Syntax/Opencl.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file opencl.xml, version 1.44, by  -}+   highlighting file opencl.xml, version 2, by  -}  module Text.Highlighting.Kate.Syntax.Opencl           (highlight, parseExpression, syntaxName, syntaxExtensions)
Text/Highlighting/Kate/Syntax/Pascal.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file pascal.xml, version 1.23, by Unnamed people and Liu Sizhuang(oldherl@gmail.com) -}+   highlighting file pascal.xml, version 2, by Unnamed people and Liu Sizhuang(oldherl@gmail.com) -}  module Text.Highlighting.Kate.Syntax.Pascal           (highlight, parseExpression, syntaxName, syntaxExtensions)
Text/Highlighting/Kate/Syntax/Perl.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file perl.xml, version 1.30, by Anders Lund (anders@alweb.dk) -}+   highlighting file perl.xml, version 2, by Anders Lund (anders@alweb.dk) -}  module Text.Highlighting.Kate.Syntax.Perl           (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -129,7 +129,7 @@  regex_'23'21'5c'2f'2e'2a = compileRegex True "#!\\/.*" regex_'5cbsub'5cs'2b = compileRegex True "\\bsub\\s+"-regex_'5c'3d'28'3f'3ahead'5b1'2d6'5d'7cover'7cback'7citem'7cfor'7cbegin'7cend'7cpod'29'28'5cs'7c'24'29 = compileRegex True "\\=(?:head[1-6]|over|back|item|for|begin|end|pod)(\\s|$)"+regex_'5c'3d'5cw'2b'28'5cs'7c'24'29 = compileRegex True "\\=\\w+(\\s|$)" regex_'5cb'5c'2d'3f0'5bxX'5d'28'5b0'2d9a'2dfA'2dF'5d'7c'5f'5b0'2d9a'2dfA'2dF'5d'29'2b = compileRegex True "\\b\\-?0[xX]([0-9a-fA-F]|_[0-9a-fA-F])+" regex_'5cb'5c'2d'3f0'5bbB'5d'28'5b01'5d'7c'5f'5b01'5d'29'2b = compileRegex True "\\b\\-?0[bB]([01]|_[01])+" regex_'5cb'5c'2d'3f0'5b1'2d7'5d'28'5b0'2d7'5d'7c'5f'5b0'2d7'5d'29'2a = compileRegex True "\\b\\-?0[1-7]([0-7]|_[0-7])*"@@ -227,7 +227,7 @@    <|>    ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_pragmas >>= withAttribute KeywordTok))    <|>-   ((pColumn 0 >> pRegExpr regex_'5c'3d'28'3f'3ahead'5b1'2d6'5d'7cover'7cback'7citem'7cfor'7cbegin'7cend'7cpod'29'28'5cs'7c'24'29 >>= withAttribute CommentTok) >>~ pushContext ("Perl","pod"))+   ((pColumn 0 >> pRegExpr regex_'5c'3d'5cw'2b'28'5cs'7c'24'29 >>= withAttribute CommentTok) >>~ pushContext ("Perl","pod"))    <|>    ((pDetectSpaces >>= withAttribute NormalTok))    <|>
Text/Highlighting/Kate/Syntax/Php.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file php.xml, version 1.44, by  -}+   highlighting file php.xml, version 2, by  -}  module Text.Highlighting.Kate.Syntax.Php           (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -85,7 +85,7 @@   return (attr, txt)  list_control_structures = Set.fromList $ words $ "as case default if else elseif while do for foreach break continue switch declare return require include require_once include_once endif endwhile endfor endforeach endswitch"-list_keywords = Set.fromList $ words $ "abstract callable catch class clone const exception extends final function global implements instanceof insteadof interface new self static parent private protected public throw try trait and or xor var namespace use"+list_keywords = Set.fromList $ words $ "abstract callable catch class clone const exception extends final finally function global implements instanceof insteadof interface new self static parent private protected public throw try trait and or xor var namespace use yield" list_constants = Set.fromList $ words $ "__line__ __file__ __dir__ __function__ __class__ __method__ __namespace__ __trait__ __compiler_halt_offset__ abday_1 abday_2 abday_3 abday_4 abday_5 abday_6 abday_7 abmon_1 abmon_10 abmon_11 abmon_12 abmon_2 abmon_3 abmon_4 abmon_5 abmon_6 abmon_7 abmon_8 abmon_9 af_inet af_inet6 af_unix alt_digits am_str assert_active assert_bail assert_callback assert_quiet_eval assert_warning cal_dow_dayno cal_dow_long cal_dow_short cal_easter_always_gregorian cal_easter_always_julian cal_easter_default cal_easter_roman cal_french cal_gregorian cal_jewish cal_jewish_add_alafim cal_jewish_add_alafim_geresh cal_jewish_add_gereshayim cal_julian cal_month_french cal_month_gregorian_long cal_month_gregorian_short cal_month_jewish cal_month_julian_long cal_month_julian_short cal_num_cals case_lower case_upper char_max cit_call_tostring cit_catch_get_child cl_expunge codeset connection_aborted connection_normal connection_timeout count_normal count_recursive cp_move cp_uid credits_all credits_docs credits_fullpage credits_general credits_group credits_modules credits_qa credits_sapi crncystr crypt_blowfish crypt_ext_des crypt_md5 crypt_salt_length crypt_std_des curlauth_any curlauth_anysafe curlauth_basic curlauth_digest curlauth_gssnegotiate curlauth_ntlm curlclosepolicy_callback curlclosepolicy_least_recently_used curlclosepolicy_least_traffic curlclosepolicy_oldest curlclosepolicy_slowest curle_aborted_by_callback curle_bad_calling_order curle_bad_content_encoding curle_bad_function_argument curle_bad_password_entered curle_couldnt_connect curle_couldnt_resolve_host curle_couldnt_resolve_proxy curle_failed_init curle_file_couldnt_read_file curle_ftp_access_denied curle_ftp_bad_download_resume curle_ftp_cant_get_host curle_ftp_cant_reconnect curle_ftp_couldnt_get_size curle_ftp_couldnt_retr_file curle_ftp_couldnt_set_ascii curle_ftp_couldnt_set_binary curle_ftp_couldnt_stor_file curle_ftp_couldnt_use_rest curle_ftp_port_failed curle_ftp_quote_error curle_ftp_user_password_incorrect curle_ftp_weird_227_format curle_ftp_weird_pass_reply curle_ftp_weird_pasv_reply curle_ftp_weird_server_reply curle_ftp_weird_user_reply curle_ftp_write_error curle_function_not_found curle_got_nothing curle_http_not_found curle_http_port_failed curle_http_post_error curle_http_range_error curle_ldap_cannot_bind curle_ldap_search_failed curle_library_not_found curle_malformat_user curle_obsolete curle_ok curle_operation_timeouted curle_out_of_memory curle_partial_file curle_read_error curle_recv_error curle_send_error curle_share_in_use curle_ssl_cacert curle_ssl_certproblem curle_ssl_cipher curle_ssl_connect_error curle_ssl_engine_notfound curle_ssl_engine_setfailed curle_ssl_peer_certificate curle_telnet_option_syntax curle_too_many_redirects curle_unknown_telnet_option curle_unsupported_protocol curle_url_malformat curle_url_malformat_user curle_write_error curlinfo_connect_time curlinfo_content_length_download curlinfo_content_length_upload curlinfo_content_type curlinfo_effective_url curlinfo_filetime curlinfo_header_out curlinfo_header_size curlinfo_http_code curlinfo_namelookup_time curlinfo_pretransfer_time curlinfo_redirect_count curlinfo_redirect_time curlinfo_request_size curlinfo_size_download curlinfo_size_upload curlinfo_speed_download curlinfo_speed_upload curlinfo_ssl_verifyresult curlinfo_starttransfer_time curlinfo_total_time curlmsg_done curlm_bad_easy_handle curlm_bad_handle curlm_call_multi_perform curlm_internal_error curlm_ok curlm_out_of_memory curlopt_binarytransfer curlopt_buffersize curlopt_cainfo curlopt_capath curlopt_closepolicy curlopt_connecttimeout curlopt_cookie curlopt_cookiefile curlopt_cookiejar curlopt_crlf curlopt_customrequest curlopt_dns_cache_timeout curlopt_dns_use_global_cache curlopt_egdsocket curlopt_encoding curlopt_failonerror curlopt_file curlopt_filetime curlopt_followlocation curlopt_forbid_reuse curlopt_fresh_connect curlopt_ftpappend curlopt_ftpascii curlopt_ftplistonly curlopt_ftpport curlopt_ftp_use_eprt curlopt_ftp_use_epsv curlopt_header curlopt_headerfunction curlopt_http200aliases curlopt_httpauth curlopt_httpget curlopt_httpheader curlopt_httpproxytunnel curlopt_http_version curlopt_infile curlopt_infilesize curlopt_interface curlopt_krb4level curlopt_low_speed_limit curlopt_low_speed_time curlopt_maxconnects curlopt_maxredirs curlopt_mute curlopt_netrc curlopt_nobody curlopt_noprogress curlopt_nosignal curlopt_passwdfunction curlopt_port curlopt_post curlopt_postfields curlopt_postquote curlopt_proxy curlopt_proxyauth curlopt_proxyport curlopt_proxytype curlopt_proxyuserpwd curlopt_put curlopt_quote curlopt_random_file curlopt_range curlopt_readdata curlopt_readfunction curlopt_referer curlopt_resume_from curlopt_returntransfer curlopt_sslcert curlopt_sslcertpasswd curlopt_sslcerttype curlopt_sslengine curlopt_sslengine_default curlopt_sslkey curlopt_sslkeypasswd curlopt_sslkeytype curlopt_sslversion curlopt_ssl_cipher_list curlopt_ssl_verifyhost curlopt_ssl_verifypeer curlopt_stderr curlopt_timecondition curlopt_timeout curlopt_timevalue curlopt_transfertext curlopt_unrestricted_auth curlopt_upload curlopt_url curlopt_useragent curlopt_userpwd curlopt_verbose curlopt_writefunction curlopt_writeheader curlproxy_http curlproxy_socks5 curlversion_now curl_http_version_1_0 curl_http_version_1_1 curl_http_version_none curl_netrc_ignored curl_netrc_optional curl_netrc_required curl_timecond_ifmodsince curl_timecond_ifunmodsince curl_timecond_lastmod curl_version_ipv6 curl_version_kerberos4 curl_version_libz curl_version_ssl c_explicit_abstract c_final c_implicit_abstract date_atom date_cookie date_iso8601 date_rfc1036 date_rfc1123 date_rfc2822 date_rfc3339 date_rfc822 date_rfc850 date_rss date_w3c day_1 day_2 day_3 day_4 day_5 day_6 day_7 dbx_cmp_asc dbx_cmp_desc dbx_cmp_native dbx_cmp_number dbx_cmp_text dbx_colnames_lowercase dbx_colnames_unchanged dbx_colnames_uppercase dbx_fbsql dbx_mssql dbx_mysql dbx_oci8 dbx_odbc dbx_persistent dbx_pgsql dbx_result_assoc dbx_result_index dbx_result_info dbx_result_unbuffered dbx_sqlite dbx_sybasect default_include_path directory_separator dns_a dns_aaaa dns_all dns_any dns_cname dns_hinfo dns_mx dns_naptr dns_ns dns_ptr dns_soa dns_srv dns_txt domstring_size_err dom_hierarchy_request_err dom_index_size_err dom_inuse_attribute_err dom_invalid_access_err dom_invalid_character_err dom_invalid_modification_err dom_invalid_state_err dom_namespace_err dom_not_found_err dom_not_supported_err dom_no_data_allowed_err dom_no_modification_allowed_err dom_php_err dom_syntax_err dom_validation_err dom_wrong_document_err d_fmt d_t_fmt enc7bit enc8bit encbase64 encbinary encother encquotedprintable ent_compat ent_noquotes ent_quotes era era_d_fmt era_d_t_fmt era_t_fmt exif_use_mbstring extr_if_exists extr_overwrite extr_prefix_all extr_prefix_if_exists extr_prefix_invalid extr_prefix_same extr_refs extr_skip e_all e_compile_error e_compile_warning e_core_error e_core_warning e_deprecated e_error e_notice e_parse e_recoverable_error e_strict e_user_deprecated e_user_error e_user_notice e_user_warning e_warning false famacknowledge famchanged famcreated famdeleted famendexist famexists fammoved famstartexecuting famstopexecuting file_append file_ignore_new_lines file_no_default_context file_skip_empty_lines file_use_include_path fnm_casefold fnm_noescape fnm_pathname fnm_period force_deflate force_gzip ftp_ascii ftp_autoresume ftp_autoseek ftp_binary ftp_failed ftp_finished ftp_image ftp_moredata ftp_text ftp_timeout_sec ft_internal ft_not ft_peek ft_prefetchtext ft_uid f_dupfd f_getfd f_getfl f_getlk f_getown f_rdlck f_setfl f_setlk f_setlkw f_setown f_unlck f_wrlck gd_bundled glob_brace glob_mark glob_nocheck glob_noescape glob_nosort glob_onlydir gmp_round_minusinf gmp_round_plusinf gmp_round_zero hash_hmac html_entities html_specialchars iconv_impl iconv_mime_decode_continue_on_error iconv_mime_decode_strict iconv_version imagetype_bmp imagetype_gif imagetype_iff imagetype_jb2 imagetype_jp2 imagetype_jpc imagetype_jpeg imagetype_jpeg2000 imagetype_jpx imagetype_png imagetype_psd imagetype_swf imagetype_tiff_ii imagetype_tiff_mm imagetype_wbmp imagetype_xbm imap_closetimeout imap_opentimeout imap_readtimeout imap_writetimeout img_arc_chord img_arc_edged img_arc_nofill img_arc_pie img_arc_rounded img_color_brushed img_color_styled img_color_styledbrushed img_color_tiled img_color_transparent img_effect_alphablend img_effect_normal img_effect_overlay img_effect_replace img_filter_brightness img_filter_colorize img_filter_contrast img_filter_edgedetect img_filter_emboss img_filter_gaussian_blur img_filter_grayscale img_filter_mean_removal img_filter_negate img_filter_selective_blur img_filter_smooth img_gd2_compressed img_gd2_raw img_gif img_jpeg img_jpg img_png img_wbmp img_xpm inf info_all info_configuration info_credits info_environment info_general info_license info_modules info_variables ini_all ini_perdir ini_system ini_user latt_haschildren latt_hasnochildren latt_marked latt_noinferiors latt_noselect latt_referral latt_unmarked lc_all lc_collate lc_ctype lc_messages lc_monetary lc_numeric lc_time ldap_deref_always ldap_deref_finding ldap_deref_never ldap_deref_searching ldap_opt_client_controls ldap_opt_debug_level ldap_opt_deref ldap_opt_error_number ldap_opt_error_string ldap_opt_host_name ldap_opt_matched_dn ldap_opt_protocol_version ldap_opt_referrals ldap_opt_restart ldap_opt_server_controls ldap_opt_sizelimit ldap_opt_timelimit libxml_compact libxml_dotted_version libxml_dtdattr libxml_dtdload libxml_dtdvalid libxml_err_error libxml_err_fatal libxml_err_none libxml_err_warning libxml_noblanks libxml_nocdata libxml_noemptytag libxml_noent libxml_noerror libxml_nonet libxml_nowarning libxml_noxmldecl libxml_nsclean libxml_version libxml_xinclude lock_ex lock_nb lock_sh lock_un log_alert log_auth log_authpriv log_cons log_crit log_cron log_daemon log_debug log_emerg log_err log_info log_kern log_local0 log_local1 log_local2 log_local3 log_local4 log_local5 log_local6 log_local7 log_lpr log_mail log_ndelay log_news log_notice log_nowait log_odelay log_perror log_pid log_syslog log_user log_uucp log_warning mb_case_lower mb_case_title mb_case_upper mb_overload_mail mb_overload_regex mb_overload_string mcrypt_3des mcrypt_arcfour mcrypt_arcfour_iv mcrypt_blowfish mcrypt_blowfish_compat mcrypt_cast_128 mcrypt_cast_256 mcrypt_crypt mcrypt_decrypt mcrypt_des mcrypt_dev_random mcrypt_dev_urandom mcrypt_encrypt mcrypt_enigna mcrypt_gost mcrypt_idea mcrypt_loki97 mcrypt_mars mcrypt_mode_cbc mcrypt_mode_cfb mcrypt_mode_ecb mcrypt_mode_nofb mcrypt_mode_ofb mcrypt_mode_stream mcrypt_panama mcrypt_rand mcrypt_rc2 mcrypt_rc6 mcrypt_rijndael_128 mcrypt_rijndael_192 mcrypt_rijndael_256 mcrypt_safer128 mcrypt_safer64 mcrypt_saferplus mcrypt_serpent mcrypt_skipjack mcrypt_threeway mcrypt_tripledes mcrypt_twofish mcrypt_wake mcrypt_xtea mhash_adler32 mhash_crc32 mhash_crc32b mhash_gost mhash_haval128 mhash_haval160 mhash_haval192 mhash_haval224 mhash_haval256 mhash_md2 mhash_md4 mhash_md5 mhash_ripemd128 mhash_ripemd160 mhash_ripemd256 mhash_ripemd320 mhash_sha1 mhash_sha224 mhash_sha256 mhash_sha384 mhash_sha512 mhash_snefru128 mhash_snefru256 mhash_tiger mhash_tiger128 mhash_tiger160 mhash_whirlpool mon_1 mon_10 mon_11 mon_12 mon_2 mon_3 mon_4 mon_5 mon_6 mon_7 mon_8 mon_9 msg_dontroute msg_except msg_ipc_nowait msg_noerror msg_oob msg_peek msg_waitall mysqli_assoc mysqli_auto_increment_flag mysqli_blob_flag mysqli_both mysqli_client_compress mysqli_client_found_rows mysqli_client_ignore_space mysqli_client_interactive mysqli_client_no_schema mysqli_client_ssl mysqli_group_flag mysqli_init_command mysqli_multiple_key_flag mysqli_not_null_flag mysqli_no_data mysqli_num mysqli_num_flag mysqli_opt_connect_timeout mysqli_opt_local_infile mysqli_part_key_flag mysqli_pri_key_flag mysqli_read_default_file mysqli_read_default_group mysqli_report_all mysqli_report_error mysqli_report_index mysqli_report_off mysqli_report_strict mysqli_rpl_admin mysqli_rpl_master mysqli_rpl_slave mysqli_set_flag mysqli_stmt_attr_update_max_length mysqli_store_result mysqli_timestamp_flag mysqli_type_blob mysqli_type_char mysqli_type_date mysqli_type_datetime mysqli_type_decimal mysqli_type_double mysqli_type_enum mysqli_type_float mysqli_type_geometry mysqli_type_int24 mysqli_type_interval mysqli_type_long mysqli_type_longlong mysqli_type_long_blob mysqli_type_medium_blob mysqli_type_newdate mysqli_type_null mysqli_type_set mysqli_type_short mysqli_type_string mysqli_type_time mysqli_type_timestamp mysqli_type_tiny mysqli_type_tiny_blob mysqli_type_var_string mysqli_type_year mysqli_unique_key_flag mysqli_unsigned_flag mysqli_use_result mysqli_zerofill_flag mysql_assoc mysql_both mysql_client_compress mysql_client_ignore_space mysql_client_interactive mysql_client_ssl mysql_num m_1_pi m_2_pi m_2_sqrtpi m_abstract m_e m_final m_ln10 m_ln2 m_log10e m_log2e m_pi m_pi_2 m_pi_4 m_private m_protected m_public m_sqrt1_2 m_sqrt2 m_static nan ncurses_all_mouse_events ncurses_a_altcharset ncurses_a_blink ncurses_a_bold ncurses_a_chartext ncurses_a_dim ncurses_a_invis ncurses_a_normal ncurses_a_protect ncurses_a_reverse ncurses_a_standout ncurses_a_underline ncurses_button1_clicked ncurses_button1_double_clicked ncurses_button1_pressed ncurses_button1_released ncurses_button1_triple_clicked ncurses_button2_clicked ncurses_button2_double_clicked ncurses_button2_pressed ncurses_button2_released ncurses_button2_triple_clicked ncurses_button3_clicked ncurses_button3_double_clicked ncurses_button3_pressed ncurses_button3_released ncurses_button3_triple_clicked ncurses_button4_clicked ncurses_button4_double_clicked ncurses_button4_pressed ncurses_button4_released ncurses_button4_triple_clicked ncurses_button_alt ncurses_button_ctrl ncurses_button_shift ncurses_color_black ncurses_color_blue ncurses_color_cyan ncurses_color_green ncurses_color_magenta ncurses_color_red ncurses_color_white ncurses_color_yellow ncurses_key_a1 ncurses_key_a3 ncurses_key_b2 ncurses_key_backspace ncurses_key_beg ncurses_key_btab ncurses_key_c1 ncurses_key_c3 ncurses_key_cancel ncurses_key_catab ncurses_key_clear ncurses_key_close ncurses_key_command ncurses_key_copy ncurses_key_create ncurses_key_ctab ncurses_key_dc ncurses_key_dl ncurses_key_down ncurses_key_eic ncurses_key_end ncurses_key_enter ncurses_key_eol ncurses_key_eos ncurses_key_exit ncurses_key_f0 ncurses_key_f1 ncurses_key_f10 ncurses_key_f11 ncurses_key_f12 ncurses_key_f2 ncurses_key_f3 ncurses_key_f4 ncurses_key_f5 ncurses_key_f6 ncurses_key_f7 ncurses_key_f8 ncurses_key_f9 ncurses_key_find ncurses_key_help ncurses_key_ic ncurses_key_il ncurses_key_left ncurses_key_ll ncurses_key_mark ncurses_key_message ncurses_key_mouse ncurses_key_move ncurses_key_next ncurses_key_npage ncurses_key_open ncurses_key_options ncurses_key_ppage ncurses_key_previous ncurses_key_print ncurses_key_redo ncurses_key_reference ncurses_key_refresh ncurses_key_replace ncurses_key_reset ncurses_key_resize ncurses_key_restart ncurses_key_resume ncurses_key_right ncurses_key_save ncurses_key_sbeg ncurses_key_scancel ncurses_key_scommand ncurses_key_scopy ncurses_key_screate ncurses_key_sdc ncurses_key_sdl ncurses_key_select ncurses_key_send ncurses_key_seol ncurses_key_sexit ncurses_key_sf ncurses_key_sfind ncurses_key_shelp ncurses_key_shome ncurses_key_sic ncurses_key_sleft ncurses_key_smessage ncurses_key_smove ncurses_key_snext ncurses_key_soptions ncurses_key_sprevious ncurses_key_sprint ncurses_key_sr ncurses_key_sredo ncurses_key_sreplace ncurses_key_sreset ncurses_key_sright ncurses_key_srsume ncurses_key_ssave ncurses_key_ssuspend ncurses_key_stab ncurses_key_sundo ncurses_key_suspend ncurses_key_undo ncurses_key_up ncurses_report_mouse_position nil noexpr null oci_assoc oci_both oci_b_bfile oci_b_bin oci_b_blob oci_b_cfilee oci_b_clob oci_b_cursor oci_b_int oci_b_nty oci_b_num oci_b_rowid oci_commit_on_success oci_cred_ext oci_default oci_describe_only oci_dtype_file oci_dtype_lob oci_dtype_rowid oci_fetchstatement_by_column oci_fetchstatement_by_row oci_lob_buffer_free oci_no_auto_commit oci_num oci_return_lobs oci_return_nulls oci_seek_cur oci_seek_end oci_seek_set oci_sysdba oci_sysoper oci_temp_blob oci_temp_clob odbc_binmode_convert odbc_binmode_passthru odbc_binmode_return odbc_type openssl_algo_md2 openssl_algo_md4 openssl_algo_md5 openssl_algo_sha1 openssl_cipher_3des openssl_cipher_des openssl_cipher_rc2_128 openssl_cipher_rc2_40 openssl_cipher_rc2_64 openssl_keytype_dh openssl_keytype_dsa openssl_keytype_rsa openssl_no_padding openssl_pkcs1_oaep_padding openssl_pkcs1_padding openssl_sslv23_padding op_anonymous op_debug op_expunge op_halfopen op_prototype op_readonly op_secure op_shortcache op_silent o_append o_async o_creat o_excl o_ndelay o_noctty o_nonblock o_rdonly o_rdwr o_sync o_trunc o_wronly pathinfo_basename pathinfo_dirname pathinfo_extension pathinfo_filename path_separator pear_extension_dir pear_install_dir pgsql_assoc pgsql_bad_response pgsql_both pgsql_command_ok pgsql_connection_bad pgsql_connection_ok pgsql_connect_force_new pgsql_conv_force_null pgsql_conv_ignore_default pgsql_conv_ignore_not_null pgsql_copy_in pgsql_copy_out pgsql_dml_async pgsql_dml_exec pgsql_dml_no_conv pgsql_dml_string pgsql_empty_query pgsql_fatal_error pgsql_nonfatal_error pgsql_num pgsql_seek_cur pgsql_seek_end pgsql_seek_set pgsql_status_long pgsql_status_string pgsql_tuples_ok php_binary_read php_bindir php_config_file_path php_config_file_scan_dir php_datadir php_eol php_extension_dir php_libdir php_localstatedir php_normal_read php_os php_output_handler_cont php_output_handler_end php_output_handler_start php_prefix php_sapi php_shlib_suffix php_sysconfdir php_url_fragment php_url_host php_url_pass php_url_path php_url_port php_url_query php_url_scheme php_url_user php_version pkcs7_binary pkcs7_detached pkcs7_noattr pkcs7_nocerts pkcs7_nochain pkcs7_nointern pkcs7_nosigs pkcs7_noverify pkcs7_text pm_str preg_grep_invert preg_offset_capture preg_pattern_order preg_set_order preg_split_delim_capture preg_split_no_empty preg_split_offset_capture prio_pgrp prio_process prio_user psfs_err_fatal psfs_feed_me psfs_flag_flush_close psfs_flag_flush_inc psfs_flag_normal psfs_pass_on p_private p_protected p_public p_static radixchar rit_child_first rit_leaves_only rit_self_first sa_all sa_messages sa_recent sa_uidnext sa_uidvalidity sa_unseen seek_cur seek_end seek_set se_free se_noprefetch se_uid sigabrt sigalrm sigbaby sigbus sigchld sigcld sigcont sigfpe sighup sigill sigint sigio sigiot sigkill sigpipe sigpoll sigprof sigpwr sigquit sigsegv sigstkflt sigstop sigsys sigterm sigtrap sigtstp sigttin sigttou sigurg sigusr1 sigusr2 sigvtalrm sigwinch sigxcpu sigxfsz sig_dfl sig_err sig_ign snmp_bit_str snmp_counter snmp_counter64 snmp_integer snmp_ipaddress snmp_null snmp_object_id snmp_octet_str snmp_opaque snmp_timeticks snmp_uinteger snmp_unsigned snmp_value_library snmp_value_object snmp_value_plain soap_1_1 soap_1_2 soap_actor_next soap_actor_none soap_actor_unlimatereceiver soap_compression_accept soap_compression_deflate soap_compression_gzip soap_document soap_encoded soap_enc_array soap_enc_object soap_functions_all soap_literal soap_persistence_request soap_persistence_session soap_rpc socket_e2big socket_eacces socket_eaddrinuse socket_eaddrnotavail socket_eadv socket_eafnosupport socket_eagain socket_ealready socket_ebade socket_ebadf socket_ebadfd socket_ebadmsg socket_ebadr socket_ebadrqc socket_ebadslt socket_ebusy socket_echrng socket_ecomm socket_econnaborted socket_econnrefused socket_econnreset socket_edestaddrreq socket_edquot socket_eexist socket_efault socket_ehostdown socket_ehostunreach socket_eidrm socket_einprogress socket_eintr socket_einval socket_eio socket_eisconn socket_eisdir socket_eisnam socket_el2hlt socket_el2nsync socket_el3hlt socket_el3rst socket_elnrng socket_eloop socket_emediumtype socket_emfile socket_emlink socket_emsgsize socket_emultihop socket_enametoolong socket_enetdown socket_enetreset socket_enetunreach socket_enfile socket_enoano socket_enobufs socket_enocsi socket_enodata socket_enodev socket_enoent socket_enolck socket_enolink socket_enomedium socket_enomem socket_enomsg socket_enonet socket_enoprotoopt socket_enospc socket_enosr socket_enostr socket_enosys socket_enotblk socket_enotconn socket_enotdir socket_enotempty socket_enotsock socket_enotty socket_enotuniq socket_enxio socket_eopnotsupp socket_eperm socket_epfnosupport socket_epipe socket_eproto socket_eprotonosupport socket_eprototype socket_eremchg socket_eremote socket_eremoteio socket_erestart socket_erofs socket_eshutdown socket_esocktnosupport socket_espipe socket_esrmnt socket_estrpipe socket_etime socket_etimedout socket_etoomanyrefs socket_eunatch socket_eusers socket_ewouldblock socket_exdev socket_exfull sock_dgram sock_raw sock_rdm sock_seqpacket sock_stream sol_socket sol_tcp sol_udp somaxconn sortarrival sortcc sortdate sortfrom sortsize sortsubject sortto sort_asc sort_desc sort_flag_case sort_locale_string sort_natural sort_numeric sort_regular sort_string so_broadcast so_debug so_dontroute so_error so_free so_keepalive so_linger so_noserver so_oobinline so_rcvbuf so_rcvlowat so_rcvtimeo so_reuseaddr so_sndbuf so_sndlowat so_sndtimeo so_type sqlite3_assoc sqlite3_blob sqlite3_both sqlite3_float sqlite3_integer sqlite3_null sqlite3_num sqlite3_open_create sqlite3_open_readonly sqlite3_open_readwrite sqlite3_text sqlite_abort sqlite_assoc sqlite_auth sqlite_both sqlite_busy sqlite_cantopen sqlite_constraint sqlite_corrupt sqlite_done sqlite_empty sqlite_error sqlite_format sqlite_full sqlite_internal sqlite_interrupt sqlite_ioerr sqlite_locked sqlite_mismatch sqlite_misuse sqlite_nolfs sqlite_nomem sqlite_notfound sqlite_num sqlite_ok sqlite_perm sqlite_protocol sqlite_readonly sqlite_row sqlite_schema sqlite_toobig sqlt_afc sqlt_avc sqlt_bdouble sqlt_bfilee sqlt_bfloat sqlt_bin sqlt_blob sqlt_cfilee sqlt_chr sqlt_clob sqlt_flt sqlt_int sqlt_lbi sqlt_lng sqlt_lvc sqlt_nty sqlt_num sqlt_odt sqlt_rdd sqlt_rset sqlt_str sqlt_uin sqlt_vcs sql_bigint sql_binary sql_bit sql_char sql_concurrency sql_concur_lock sql_concur_read_only sql_concur_rowver sql_concur_values sql_cursor_dynamic sql_cursor_forward_only sql_cursor_keyset_driven sql_cursor_static sql_cursor_type sql_cur_use_driver sql_cur_use_if_needed sql_cur_use_odbc sql_date sql_decimal sql_double sql_fetch_first sql_fetch_next sql_float sql_integer sql_keyset_size sql_longvarbinary sql_longvarchar sql_numeric sql_odbc_cursors sql_real sql_smallint sql_time sql_timestamp sql_tinyint sql_varbinary sql_varchar stderr stdin stdout stream_client_async_connect stream_client_connect stream_client_persistent stream_enforce_safe_mode stream_filter_all stream_filter_read stream_filter_write stream_ignore_url stream_mkdir_recursive stream_must_seek stream_notify_auth_required stream_notify_auth_result stream_notify_completed stream_notify_connect stream_notify_failure stream_notify_file_size_is stream_notify_mime_type_is stream_notify_progress stream_notify_redirected stream_notify_resolve stream_notify_severity_err stream_notify_severity_info stream_notify_severity_warn stream_oob stream_peek stream_report_errors stream_server_bind stream_server_listen stream_url_stat_link stream_url_stat_quiet stream_use_path str_pad_both str_pad_left str_pad_right st_set st_silent st_uid sunfuncs_ret_double sunfuncs_ret_string sunfuncs_ret_timestamp s_irgrp s_iroth s_irusr s_irwxg s_irwxo s_irwxu s_iwgrp s_iwoth s_iwusr s_ixgrp s_ixoth s_ixusr thousep true typeapplication typeaudio typeimage typemessage typemodel typemultipart typeother typetext typevideo t_abstract t_and_equal t_array t_array_cast t_as t_bad_character t_boolean_and t_boolean_or t_bool_cast t_break t_case t_catch t_character t_class t_class_c t_clone t_close_tag t_comment t_concat_equal t_const t_constant_encapsed_string t_continue t_curly_open t_dec t_declare t_default t_div_equal t_dnumber t_do t_doc_comment t_dollar_open_curly_braces t_double_arrow t_double_cast t_double_colon t_echo t_else t_elseif t_empty t_encapsed_and_whitespace t_enddeclare t_endfor t_endforeach t_endif t_endswitch t_endwhile t_end_heredoc t_eval t_exit t_extends t_file t_final t_fmt t_fmt_ampm t_for t_foreach t_function t_func_c t_global t_if t_implements t_inc t_include t_include_once t_inline_html t_instanceof t_interface t_int_cast t_isset t_is_equal t_is_greater_or_equal t_is_identical t_is_not_equal t_is_not_identical t_is_smaller_or_equal t_line t_list t_lnumber t_logical_and t_logical_or t_logical_xor t_method_c t_minus_equal t_mod_equal t_mul_equal t_new t_num_string t_object_cast t_object_operator t_open_tag t_open_tag_with_echo t_or_equal t_paamayim_nekudotayim t_plus_equal t_print t_private t_protected t_public t_require t_require_once t_return t_sl t_sl_equal t_sr t_sr_equal t_start_heredoc t_static t_string t_string_cast t_string_varname t_switch t_throw t_try t_unset t_unset_cast t_use t_var t_variable t_while t_whitespace t_xor_equal unknown_type upload_err_cant_write upload_err_form_size upload_err_ini_size upload_err_no_file upload_err_no_tmp_dir upload_err_ok upload_err_partial wnohang wuntraced x509_purpose_any x509_purpose_crl_sign x509_purpose_ns_ssl_server x509_purpose_smime_encrypt x509_purpose_smime_sign x509_purpose_ssl_client x509_purpose_ssl_server xml_attribute_cdata xml_attribute_decl_node xml_attribute_entity xml_attribute_enumeration xml_attribute_id xml_attribute_idref xml_attribute_idrefs xml_attribute_nmtoken xml_attribute_nmtokens xml_attribute_node xml_attribute_notation xml_cdata_section_node xml_comment_node xml_document_frag_node xml_document_node xml_document_type_node xml_dtd_node xml_element_decl_node xml_element_node xml_entity_decl_node xml_entity_node xml_entity_ref_node xml_error_async_entity xml_error_attribute_external_entity_ref xml_error_bad_char_ref xml_error_binary_entity_ref xml_error_duplicate_attribute xml_error_external_entity_handling xml_error_incorrect_encoding xml_error_invalid_token xml_error_junk_after_doc_element xml_error_misplaced_xml_pi xml_error_none xml_error_no_elements xml_error_no_memory xml_error_param_entity_ref xml_error_partial_char xml_error_recursive_entity_ref xml_error_syntax xml_error_tag_mismatch xml_error_unclosed_cdata_section xml_error_unclosed_token xml_error_undefined_entity xml_error_unknown_encoding xml_html_document_node xml_local_namespace xml_namespace_decl_node xml_notation_node xml_option_case_folding xml_option_skip_tagstart xml_option_skip_white xml_option_target_encoding xml_pi_node xml_sax_impl xml_text_node xsd_1999_namespace xsd_1999_timeinstant xsd_anytype xsd_anyuri xsd_base64binary xsd_boolean xsd_byte xsd_date xsd_datetime xsd_decimal xsd_double xsd_duration xsd_entities xsd_entity xsd_float xsd_gday xsd_gmonth xsd_gmonthday xsd_gyear xsd_gyearmonth xsd_hexbinary xsd_id xsd_idref xsd_idrefs xsd_int xsd_integer xsd_language xsd_long xsd_name xsd_namespace xsd_ncname xsd_negativeinteger xsd_nmtoken xsd_nmtokens xsd_nonnegativeinteger xsd_nonpositiveinteger xsd_normalizedstring xsd_notation xsd_positiveinteger xsd_qname xsd_short xsd_string xsd_time xsd_token xsd_unsignedbyte xsd_unsignedint xsd_unsignedlong xsd_unsignedshort xsl_clone_always xsl_clone_auto xsl_clone_never yesexpr yperr_badargs yperr_baddb yperr_busy yperr_domain yperr_key yperr_map yperr_nodom yperr_nomore yperr_pmap yperr_resrc yperr_rpc yperr_vers yperr_ypbind yperr_yperr yperr_ypserv zend_thread_safe false null true" list_special'5fmethods = Set.fromList $ words $ "__autoload __call __clone __construct __destruct __get __halt_compiler __isset __set __set_state __sleep __tostring __unset __wakeup" list_functions = Set.fromList $ words $ "_ abs acos acosh addcslashes addslashes apache_get_modules apache_get_version apache_getenv apache_lookup_uri apache_note apache_request_headers apache_response_headers apache_setenv array array_change_key_case array_chunk array_combine array_count_values array_diff array_diff_assoc array_diff_key array_diff_uassoc array_diff_ukey array_fill array_fill_keys array_filter array_flip array_intersect array_intersect_assoc array_intersect_key array_intersect_uassoc array_intersect_ukey array_key_exists array_keys array_map array_merge array_merge_recursive array_multisort array_pad array_pop array_product array_push array_rand array_reduce array_replace array_replace_recursive array_reverse array_search array_shift array_slice array_splice array_sum array_udiff array_udiff_assoc array_udiff_uassoc array_uintersect array_uintersect_assoc array_uintersect_uassoc array_unique array_unshift array_values array_walk array_walk_recursive arsort ascii2ebcdic asin asinh asort aspell_check aspell_check_raw aspell_new aspell_suggest assert assert_options atan atan2 atanh base64_decode base64_encode base_convert basename bcadd bccomp bcdiv bcmod bcmul bcpow bcpowmod bcscale bcsqrt bcsub bin2hex bind_textdomain_codeset bindec bindtextdomain bzclose bzcompress bzdecompress bzerrno bzerror bzerrstr bzflush bzopen bzread bzwrite cal_days_in_month cal_from_jd cal_info cal_to_jd call_user_func call_user_func_array ccvs_add ccvs_auth ccvs_command ccvs_count ccvs_delete ccvs_done ccvs_init ccvs_lookup ccvs_new ccvs_report ccvs_return ccvs_reverse ccvs_sale ccvs_status ccvs_textvalue ccvs_void ceil chdir checkdate checkdnsrr chgrp chmod chop chown chr chroot chunk_split class_exists class_implements class_parents clearstatcache closedir closelog com com_addref com_get com_invoke com_isenum com_load com_load_typelib com_propget com_propput com_propset com_release com_set compact connection_aborted connection_status connection_timeout constant convert_cyr_string convert_uudecode convert_uuencode copy cos cosh count count_chars cpdf_add_annotation cpdf_add_outline cpdf_arc cpdf_begin_text cpdf_circle cpdf_clip cpdf_close cpdf_closepath cpdf_closepath_fill_stroke cpdf_closepath_stroke cpdf_continue_text cpdf_curveto cpdf_end_text cpdf_fill cpdf_fill_stroke cpdf_finalize cpdf_finalize_page cpdf_global_set_document_limits cpdf_import_jpeg cpdf_lineto cpdf_moveto cpdf_newpath cpdf_open cpdf_output_buffer cpdf_page_init cpdf_place_inline_image cpdf_rect cpdf_restore cpdf_rlineto cpdf_rmoveto cpdf_rotate cpdf_rotate_text cpdf_save cpdf_save_to_file cpdf_scale cpdf_set_action_url cpdf_set_char_spacing cpdf_set_creator cpdf_set_current_page cpdf_set_font cpdf_set_font_directories cpdf_set_font_map_file cpdf_set_horiz_scaling cpdf_set_keywords cpdf_set_leading cpdf_set_page_animation cpdf_set_subject cpdf_set_text_matrix cpdf_set_text_pos cpdf_set_text_rendering cpdf_set_text_rise cpdf_set_title cpdf_set_viewer_preferences cpdf_set_word_spacing cpdf_setdash cpdf_setflat cpdf_setgray cpdf_setgray_fill cpdf_setgray_stroke cpdf_setlinecap cpdf_setlinejoin cpdf_setlinewidth cpdf_setmiterlimit cpdf_setrgbcolor cpdf_setrgbcolor_fill cpdf_setrgbcolor_stroke cpdf_show cpdf_show_xy cpdf_stringwidth cpdf_stroke cpdf_text cpdf_translate crack_check crack_closedict crack_getlastmessage crack_opendict crc32 create_function crypt ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_graph ctype_lower ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit curl_close curl_copy_handle curl_errno curl_error curl_exec curl_getinfo curl_init curl_multi_add_handle curl_multi_close curl_multi_exec curl_multi_getcontent curl_multi_info_read curl_multi_init curl_multi_remove_handle curl_multi_select curl_setopt curl_setopt_array curl_version current cybercash_base64_decode cybercash_base64_encode cybercash_decr cybercash_encr cybermut_creerformulairecm cybermut_creerreponsecm cybermut_testmac cyrus_authenticate cyrus_bind cyrus_close cyrus_connect cyrus_query cyrus_unbind date date_add date_create date_create_from_format date_date_set date_default_timezone_get date_default_timezone_set date_diff date_format date_get_last_errors date_interval_create_from_date_string date_interval_format date_isodate_set date_modify date_offset_get date_parse date_parse_from_format date_sub date_sun_info date_sunrise date_sunset date_time_ set date_timestamp_get date_timestamp_set date_timezone_get date_timezone_set dba_close dba_delete dba_exists dba_fetch dba_firstkey dba_handlers dba_insert dba_key_split dba_list dba_nextkey dba_open dba_optimize dba_popen dba_replace dba_sync dbase_add_record dbase_close dbase_create dbase_delete_record dbase_get_header_info dbase_get_record dbase_get_record_with_names dbase_numfields dbase_numrecords dbase_open dbase_pack dbase_replace_record dblist dbmclose dbmdelete dbmexists dbmfetch dbmfirstkey dbminsert dbmnextkey dbmopen dbmreplace dbplus_add dbplus_aql dbplus_chdir dbplus_close dbplus_curr dbplus_errcode dbplus_errno dbplus_find dbplus_first dbplus_flush dbplus_freealllocks dbplus_freelock dbplus_freerlocks dbplus_getlock dbplus_getunique dbplus_info dbplus_last dbplus_lockrel dbplus_next dbplus_open dbplus_prev dbplus_rchperm dbplus_rcreate dbplus_rcrtexact dbplus_rcrtlike dbplus_resolve dbplus_restorepos dbplus_rkeys dbplus_ropen dbplus_rquery dbplus_rrename dbplus_rsecindex dbplus_runlink dbplus_rzap dbplus_savepos dbplus_setindex dbplus_setindexbynumber dbplus_sql dbplus_tcl dbplus_tremove dbplus_undo dbplus_undoprepare dbplus_unlockrel dbplus_unselect dbplus_update dbplus_xlockrel dbplus_xunlockrel dbx_close dbx_compare dbx_connect dbx_error dbx_escape_string dbx_fetch_row dbx_query dbx_sort dcgettext dcngettext debug_backtrace debug_print_backtrace debug_zval_dump decbin dechex decoct define define_syslog_variables defined deg2rad dgettext die dio_close dio_fcntl dio_open dio_read dio_seek dio_stat dio_tcsetattr dio_truncate dio_write dir dirname disk_free_space disk_total_space diskfreespace dl dngettext dns_check_record dns_get_mx dns_get_record dom_import_simplexml domxml_add_root domxml_attributes domxml_children domxml_dumpmem domxml_get_attribute domxml_new_child domxml_new_xmldoc domxml_node domxml_node_set_content domxml_node_unlink_node domxml_root domxml_set_attribute domxml_version doubleval each easter_date easter_days ebcdic2ascii echo empty end error_get_last error_log error_reporting escapeshellarg escapeshellcmd eval exec exif_imagetype exif_read_data exif_tagname exif_thumbnail exit exp explode expm1 extension_loaded extract ezmlm_hash fam_cancel_monitor fam_close fam_monitor_collection fam_monitor_directory fam_monitor_file fam_next_event fam_open fam_pending fam_resume_monitor fam_suspend_monitor fbsql_affected_rows fbsql_autocommit fbsql_change_user fbsql_close fbsql_commit fbsql_connect fbsql_create_blob fbsql_create_clob fbsql_create_db fbsql_data_seek fbsql_database fbsql_database_password fbsql_db_query fbsql_db_status fbsql_drop_db fbsql_errno fbsql_error fbsql_fetch_array fbsql_fetch_assoc fbsql_fetch_field fbsql_fetch_lengths fbsql_fetch_object fbsql_fetch_row fbsql_field_flags fbsql_field_len fbsql_field_name fbsql_field_seek fbsql_field_table fbsql_field_type fbsql_free_result fbsql_get_autostart_info fbsql_hostname fbsql_insert_id fbsql_list_dbs fbsql_list_fields fbsql_list_tables fbsql_next_result fbsql_num_fields fbsql_num_rows fbsql_password fbsql_pconnect fbsql_query fbsql_read_blob fbsql_read_clob fbsql_result fbsql_rollback fbsql_select_db fbsql_set_lob_mode fbsql_set_transaction fbsql_start_db fbsql_stop_db fbsql_tablename fbsql_username fbsql_warnings fclose fdf_add_template fdf_close fdf_create fdf_get_file fdf_get_status fdf_get_value fdf_next_field_name fdf_open fdf_save fdf_set_ap fdf_set_encoding fdf_set_file fdf_set_flags fdf_set_javascript_action fdf_set_opt fdf_set_status fdf_set_submit_form_action fdf_set_value feof fflush fgetc fgetcsv fgets fgetss file file_exists file_get_contents file_put_contents fileatime filectime filegroup fileinode filemtime fileowner fileperms filepro filepro_fieldcount filepro_fieldname filepro_fieldtype filepro_fieldwidth filepro_retrieve filepro_rowcount filesize filetype filter_has_var filter_id filter_input filter_input_array filter_list filter_var filter_var_array floatval flock floor flush fmod fnmatch fopen forward_static_call forward_static_call_array fpassthru fprintf fputcsv fputs fread frenchtojd fribidi_log2vis fscanf fseek fsockopen fstat ftell ftok ftp_alloc ftp_cdup ftp_chdir ftp_chmod ftp_close ftp_connect ftp_delete ftp_exec ftp_fget ftp_fput ftp_get ftp_get_option ftp_login ftp_mdtm ftp_mkdir ftp_nb_continue ftp_nb_fget ftp_nb_fput ftp_nb_get ftp_nb_put ftp_nlist ftp_pasv ftp_put ftp_pwd ftp_quit ftp_raw ftp_rawlist ftp_rename ftp_rmdir ftp_set_option ftp_site ftp_size ftp_ssl_connect ftp_systype ftruncate func_get_arg func_get_args func_num_args function_exists fwrite gc_collect_cycles gc_disable gc_enable gc_enabled gd_info get_called_class get_browser get_cfg_var get_class get_class_methods get_class_vars get_current_user get_declared_classes get_declared_interfaces get_defined_constants get_defined_functions get_defined_vars get_extension_funcs get_headers get_html_translation_table get_include_path get_included_files get_loaded_extensions get_magic_quotes_gpc get_magic_quotes_runtime get_meta_tags get_object_vars get_parent_class get_required_files get_resource_type getallheaders getcwd getdate getenv gethostbyaddr gethostbyname gethostbynamel gethostname getimagesize getlastmod getmxrr getmygid getmyinode getmypid getmyuid getopt getprotobyname getprotobynumber getrandmax getrusage getservbyname getservbyport gettext gettimeofday gettype glob gmdate gmmktime gmp_abs gmp_add gmp_and gmp_clrbit gmp_cmp gmp_com gmp_div gmp_div_q gmp_div_qr gmp_div_r gmp_divexact gmp_fact gmp_gcd gmp_gcdext gmp_hamdist gmp_init gmp_intval gmp_invert gmp_jacobi gmp_legendre gmp_mod gmp_mul gmp_neg gmp_or gmp_perfect_square gmp_popcount gmp_pow gmp_powm gmp_prob_prime gmp_random gmp_scan0 gmp_scan1 gmp_setbit gmp_sign gmp_sqrt gmp_sqrtrem gmp_strval gmp_sub gmp_xor gmstrftime gregoriantojd gzclose gzcompress gzdeflate gzencode gzeof gzfile gzgetc gzgets gzgetss gzinflate gzopen gzpassthru gzputs gzread gzrewind gzseek gztell gzuncompress gzwrite hash hash_algos hash_copy hash_file hash_final hash_hmac hash_hmac_file hash_init hash_update hash_update_file hash_update_stream header header_remove headers_list headers_sent hebrev hebrevc hexdec highlight_file highlight_string html_entity_decode htmlentities htmlspecialchars htmlspecialchars_decode http_build_query hw_array2objrec hw_changeobject hw_children hw_childrenobj hw_close hw_connect hw_connection_info hw_cp hw_deleteobject hw_docbyanchor hw_docbyanchorobj hw_document_attributes hw_document_bodytag hw_document_content hw_document_setcontent hw_document_size hw_dummy hw_edittext hw_error hw_errormsg hw_free_document hw_getanchors hw_getanchorsobj hw_getandlock hw_getchildcoll hw_getchildcollobj hw_getchilddoccoll hw_getchilddoccollobj hw_getobject hw_getobjectbyquery hw_getobjectbyquerycoll hw_getobjectbyquerycollobj hw_getobjectbyqueryobj hw_getparents hw_getparentsobj hw_getrellink hw_getremote hw_getremotechildren hw_getsrcbydestobj hw_gettext hw_getusername hw_identify hw_incollections hw_info hw_inscoll hw_insdoc hw_insertanchors hw_insertdocument hw_insertobject hw_mapid hw_modifyobject hw_mv hw_new_document hw_objrec2array hw_output_document hw_pconnect hw_pipedocument hw_root hw_setlinkroot hw_stat hw_unlock hw_who hypot ibase_blob_add ibase_blob_cancel ibase_blob_close ibase_blob_create ibase_blob_echo ibase_blob_get ibase_blob_import ibase_blob_info ibase_blob_open ibase_close ibase_commit ibase_connect ibase_errmsg ibase_execute ibase_fetch_object ibase_fetch_row ibase_field_info ibase_free_query ibase_free_result ibase_num_fields ibase_pconnect ibase_prepare ibase_query ibase_rollback ibase_timefmt ibase_trans icap_close icap_create_calendar icap_delete_calendar icap_delete_event icap_fetch_event icap_list_alarms icap_list_events icap_open icap_rename_calendar icap_reopen icap_snooze icap_store_event iconv iconv_get_encoding iconv_mime_decode iconv_mime_decode_headers iconv_mime_encode iconv_set_encoding iconv_strlen iconv_strpos iconv_strrpos iconv_substr idate ifx_affected_rows ifx_blobinfile_mode ifx_byteasvarchar ifx_close ifx_connect ifx_copy_blob ifx_create_blob ifx_create_char ifx_do ifx_error ifx_errormsg ifx_fetch_row ifx_fieldproperties ifx_fieldtypes ifx_free_blob ifx_free_char ifx_free_result ifx_get_blob ifx_get_char ifx_getsqlca ifx_htmltbl_result ifx_nullformat ifx_num_fields ifx_num_rows ifx_pconnect ifx_prepare ifx_query ifx_textasvarchar ifx_update_blob ifx_update_char ifxus_close_slob ifxus_create_slob ifxus_free_slob ifxus_open_slob ifxus_read_slob ifxus_seek_slob ifxus_tell_slob ifxus_write_slob ignore_user_abort image2wbmp image_type_to_extension image_type_to_mime_type imagealphablending imageantialias imagearc imagechar imagecharup imagecolorallocate imagecolorallocatealpha imagecolorat imagecolorclosest imagecolorclosestalpha imagecolorclosesthwb imagecolordeallocate imagecolorexact imagecolorexactalpha imagecolormatch imagecolorresolve imagecolorresolvealpha imagecolorset imagecolorsforindex imagecolorstotal imagecolortransparent imageconvolution imagecopy imagecopymerge imagecopymergegray imagecopyresampled imagecopyresized imagecreate imagecreatefromgd imagecreatefromgd2 imagecreatefromgd2part imagecreatefromgif imagecreatefromjpeg imagecreatefrompng imagecreatefromstring imagecreatefromwbmp imagecreatefromxbm imagecreatefromxpm imagecreatetruecolor imagedashedline imagedestroy imageellipse imagefill imagefilledarc imagefilledellipse imagefilledpolygon imagefilledrectangle imagefilltoborder imagefilter imagefontheight imagefontwidth imageftbbox imagefttext imagegammacorrect imagegd imagegd2 imagegif imageinterlace imageistruecolor imagejpeg imagelayereffect imageline imageloadfont imagepalettecopy imagepng imagepolygon imagepsbbox imagepsencodefont imagepsextendfont imagepsfreefont imagepsloadfont imagepsslantfont imagepstext imagerectangle imagerotate imagesavealpha imagesetbrush imagesetpixel imagesetstyle imagesetthickness imagesettile imagestring imagestringup imagesx imagesy imagetruecolortopalette imagettfbbox imagettftext imagetypes imagewbmp imagexbm imap_8bit imap_alerts imap_append imap_base64 imap_binary imap_body imap_bodystruct imap_check imap_clearflag_full imap_close imap_create imap_createmailbox imap_delete imap_deletemailbox imap_errors imap_expunge imap_fetch_overview imap_fetchbody imap_fetchheader imap_fetchstructure imap_fetchtext imap_get_quota imap_get_quotaroot imap_getacl imap_getmailboxes imap_getsubscribed imap_header imap_headerinfo imap_headers imap_last_error imap_list imap_listmailbox imap_listsubscribed imap_lsub imap_mail imap_mail_compose imap_mail_copy imap_mail_move imap_mailboxmsginfo imap_mime_header_decode imap_msgno imap_num_msg imap_num_recent imap_open imap_ping imap_popen imap_qprint imap_rename imap_renamemailbox imap_reopen imap_rfc822_parse_adrlist imap_rfc822_parse_headers imap_rfc822_write_address imap_scan imap_scanmailbox imap_search imap_set_quota imap_setacl imap_setflag_full imap_sort imap_status imap_subscribe imap_thread imap_timeout imap_uid imap_undelete imap_unsubscribe imap_utf7_decode imap_utf7_encode imap_utf8 implode import_request_variables in_array include include_once inet_ntop inet_pton ingres_autocommit ingres_close ingres_commit ingres_connect ingres_fetch_array ingres_fetch_object ingres_fetch_row ingres_field_length ingres_field_name ingres_field_nullable ingres_field_precision ingres_field_scale ingres_field_type ingres_num_fields ingres_num_rows ingres_pconnect ingres_query ingres_rollback ini_alter ini_get ini_get_all ini_restore ini_set interface_exists intval ip2long iptcembed iptcparse ircg_channel_mode ircg_disconnect ircg_fetch_error_msg ircg_get_username ircg_html_encode ircg_ignore_add ircg_ignore_del ircg_is_conn_alive ircg_join ircg_kick ircg_lookup_format_messages ircg_msg ircg_nick ircg_nickname_escape ircg_nickname_unescape ircg_notice ircg_part ircg_pconnect ircg_register_format_messages ircg_set_current ircg_set_file ircg_set_on_die ircg_topic ircg_whois is_a is_array is_bool is_callable is_dir is_double is_executable is_file is_finite is_float is_infinite is_int is_integer is_link is_long is_nan is_null is_numeric is_object is_readable is_real is_resource is_scalar is_string is_subclass_of is_uploaded_file is_writable is_writeable isset iterator_apply iterator_count iterator_to_array java_last_exception_clear java_last_exception_get jddayofweek jdmonthname jdtofrench jdtogregorian jdtojewish jdtojulian jdtounix jewishtojd join jpeg2wbmp json_decode json_encode json_last_error juliantojd key key_exists krsort ksort lcfirst lcg_value lchgrp lchown ldap_8859_to_t61 ldap_add ldap_bind ldap_close ldap_compare ldap_connect ldap_count_entries ldap_delete ldap_dn2ufn ldap_err2str ldap_errno ldap_error ldap_explode_dn ldap_first_attribute ldap_first_entry ldap_first_reference ldap_free_result ldap_get_attributes ldap_get_dn ldap_get_entries ldap_get_option ldap_get_values ldap_get_values_len ldap_list ldap_mod_add ldap_mod_del ldap_mod_replace ldap_modify ldap_next_attribute ldap_next_entry ldap_next_reference ldap_parse_reference ldap_parse_result ldap_read ldap_rename ldap_search ldap_set_option ldap_set_rebind_proc ldap_sort ldap_start_tls ldap_t61_to_8859 ldap_unbind levenshtein libxml_clear_errors libxml_get_errors libxml_get_last_error libxml_set_streams_context libxml_set_streams_context libxml_use_internal_errors link linkinfo list localeconv localtime log log10 log1p long2ip lstat ltrim magic_quotes_runtime mail mailparse_determine_best_xfer_encoding mailparse_msg_create mailparse_msg_extract_part mailparse_msg_extract_part_file mailparse_msg_free mailparse_msg_get_part mailparse_msg_get_part_data mailparse_msg_get_structure mailparse_msg_parse mailparse_msg_parse_file mailparse_rfc822_parse_addresses mailparse_stream_encode mailparse_uudecode_all max mb_check_encoding mb_convert_case mb_convert_encoding mb_convert_kana mb_convert_variables mb_decode_mimeheader mb_decode_numericentity mb_detect_encoding mb_detect_order mb_encode_mimeheader mb_encode_numericentity mb_encoding_aliases mb_ereg mb_ereg_match mb_ereg_replace mb_ereg_search mb_ereg_search_getpos mb_ereg_search_getregs mb_ereg_search_init mb_ereg_search_pos mb_ereg_search_regs mb_ereg_search_setpos mb_eregi mb_eregi_replace mb_get_info mb_http_input mb_http_output mb_internal_encoding mb_language mb_list_encodings mb_output_handler mb_parse_str mb_preferred_mime_name mb_regex_encoding mb_regex_set_options mb_send_mail mb_split mb_strcut mb_strimwidth mb_stripos mb_stristr mb_strlen mb_strpos mb_strrchr mb_strrichr mb_strripos mb_strrpos mb_strstr mb_strtolower mb_strtoupper mb_strwidth mb_substitute_character mb_substr mb_substr_count mcal_append_event mcal_close mcal_create_calendar mcal_date_compare mcal_date_valid mcal_day_of_week mcal_day_of_year mcal_days_in_month mcal_delete_calendar mcal_delete_event mcal_event_add_attribute mcal_event_init mcal_event_set_alarm mcal_event_set_category mcal_event_set_class mcal_event_set_description mcal_event_set_end mcal_event_set_recur_daily mcal_event_set_recur_monthly_mday mcal_event_set_recur_monthly_wday mcal_event_set_recur_none mcal_event_set_recur_weekly mcal_event_set_recur_yearly mcal_event_set_start mcal_event_set_title mcal_expunge mcal_fetch_current_stream_event mcal_fetch_event mcal_is_leap_year mcal_list_alarms mcal_list_events mcal_next_recurrence mcal_open mcal_popen mcal_rename_calendar mcal_reopen mcal_snooze mcal_store_event mcal_time_valid mcal_week_of_year mcrypt_cbc mcrypt_cfb mcrypt_create_iv mcrypt_decrypt mcrypt_enc_get_algorithms_name mcrypt_enc_get_block_size mcrypt_enc_get_iv_size mcrypt_enc_get_key_size mcrypt_enc_get_modes_name mcrypt_enc_get_supported_key_sizes mcrypt_enc_is_block_algorithm mcrypt_enc_is_block_algorithm_mode mcrypt_enc_is_block_mode mcrypt_enc_self_test mcrypt_encrypt mcrypt_generic mcrypt_generic_deinit mcrypt_generic_end mcrypt_generic_init mcrypt_get_block_size mcrypt_get_cipher_name mcrypt_get_iv_size mcrypt_get_key_size mcrypt_list_algorithms mcrypt_list_modes mcrypt_module_close mcrypt_module_get_algo_block_size mcrypt_module_get_algo_key_size mcrypt_module_get_supported_key_sizes mcrypt_module_is_block_algorithm mcrypt_module_is_block_algorithm_mode mcrypt_module_is_block_mode mcrypt_module_open mcrypt_module_self_test mcrypt_ofb md5 md5_file mdecrypt_generic memory_get_peak_usage memory_get_usage metaphone method_exists mhash mhash_count mhash_get_block_size mhash_get_hash_name mhash_keygen_s2k microtime min ming_setcubicthreshold ming_setscale ming_useswfversion mkdir mktime money_format move_uploaded_file msession_connect msession_count msession_create msession_destroy msession_disconnect msession_find msession_get msession_get_array msession_getdata msession_inc msession_list msession_listvar msession_lock msession_plugin msession_randstr msession_set msession_set_array msession_setdata msession_timeout msession_uniq msession_unlock msg_get_queue msg_receive msg_remove_queue msg_send msg_set_queue msg_stat_queue msql msql_affected_rows msql_close msql_connect msql_create_db msql_createdb msql_data_seek msql_dbname msql_drop_db msql_dropdb msql_error msql_fetch_array msql_fetch_field msql_fetch_object msql_fetch_row msql_field_seek msql_fieldflags msql_fieldlen msql_fieldname msql_fieldtable msql_fieldtype msql_free_result msql_freeresult msql_list_dbs msql_list_fields msql_list_tables msql_listdbs msql_listfields msql_listtables msql_num_fields msql_num_rows msql_numfields msql_numrows msql_pconnect msql_query msql_regcase msql_result msql_select_db msql_selectdb msql_tablename mssql_bind mssql_close mssql_connect mssql_data_seek mssql_execute mssql_fetch_array mssql_fetch_assoc mssql_fetch_batch mssql_fetch_field mssql_fetch_object mssql_fetch_row mssql_field_length mssql_field_name mssql_field_seek mssql_field_type mssql_free_result mssql_get_last_message mssql_guid_string mssql_init mssql_min_error_severity mssql_min_message_severity mssql_next_result mssql_num_fields mssql_num_rows mssql_pconnect mssql_query mssql_result mssql_rows_affected mssql_select_db mt_getrandmax mt_rand mt_srand muscat_close muscat_get muscat_give muscat_setup muscat_setup_net mysql mysql_affected_rows mysql_client_encoding mysql_close mysql_connect mysql_data_seek mysql_db_name mysql_db_query mysql_errno mysql_error mysql_escape_string mysql_fetch_array mysql_fetch_assoc mysql_fetch_field mysql_fetch_lengths mysql_fetch_object mysql_fetch_row mysql_field_flags mysql_field_len mysql_field_name mysql_field_seek mysql_field_table mysql_field_type mysql_free_result mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql_insert_id mysql_list_dbs mysql_list_processes mysql_num_fields mysql_num_rows mysql_pconnect mysql_ping mysql_query mysql_real_escape_string mysql_result mysql_select_db mysql_set_charset mysql_stat mysql_table_name mysql_thread_id mysql_unbuffered_query mysqli_affected_rows mysqli_autocommit mysqli_bind_param mysqli_bind_result mysqli_change_user mysqli_character_set_name mysqli_client_encoding mysqli_close mysqli_commit mysqli_connect mysqli_connect_errno mysqli_connect_error mysqli_data_seek mysqli_debug mysqli_dump_debug_info mysqli_errno mysqli_error mysqli_escape_string mysqli_execute mysqli_fetch mysqli_fetch_array mysqli_fetch_assoc mysqli_fetch_field mysqli_fetch_field_direct mysqli_fetch_fields mysqli_fetch_lengths mysqli_fetch_object mysqli_fetch_row mysqli_field_count mysqli_field_seek mysqli_field_tell mysqli_free_result mysqli_get_cache_stats mysqli_get_client_info mysqli_get_client_stats mysqli_get_client_version mysqli_get_host_info mysqli_get_metadata mysqli_get_proto_info mysqli_get_server_info mysqli_get_server_version mysqli_info mysqli_init mysqli_insert_id mysqli_kill mysqli_more_results mysqli_multi_query mysqli_next_result mysqli_num_fields mysqli_num_rows mysqli_options mysqli_param_count mysqli_ping mysqli_prepare mysqli_query mysqli_real_connect mysqli_real_escape_string mysqli_real_query mysqli_refresh mysqli_report mysqli_rollback mysqli_select_db mysqli_send_long_data mysqli_set_charset mysqli_set_local_infile_default mysqli_set_local_infile_handler mysqli_set_opt mysqli_sqlstate mysqli_ssl_set mysqli_stat mysqli_stmt_affected_rows mysqli_stmt_attr_get mysqli_stmt_attr_set mysqli_stmt_bind_param mysqli_stmt_bind_result mysqli_stmt_close mysqli_stmt_data_seek mysqli_stmt_errno mysqli_stmt_error mysqli_stmt_execute mysqli_stmt_fetch mysqli_stmt_field_count mysqli_stmt_free_result mysqli_stmt_get_warnings mysqli_stmt_init mysqli_stmt_insert_id mysqli_stmt_num_rows mysqli_stmt_param_count mysqli_stmt_prepare mysqli_stmt_reset mysqli_stmt_result_metadata mysqli_stmt_send_long_data mysqli_stmt_sqlstate mysqli_stmt_store_result mysqli_store_result mysqli_thread_id mysqli_thread_safe mysqli_use_result mysqli_warning_count natcasesort natsort ncurses_addch ncurses_addchnstr ncurses_addchstr ncurses_addnstr ncurses_addstr ncurses_assume_default_colors ncurses_attroff ncurses_attron ncurses_attrset ncurses_baudrate ncurses_beep ncurses_bkgd ncurses_bkgdset ncurses_border ncurses_bottom_panel ncurses_can_change_color ncurses_cbreak ncurses_clear ncurses_clrtobot ncurses_clrtoeol ncurses_color_content ncurses_color_set ncurses_curs_set ncurses_def_prog_mode ncurses_def_shell_mode ncurses_define_key ncurses_del_panel ncurses_delay_output ncurses_delch ncurses_deleteln ncurses_delwin ncurses_doupdate ncurses_echo ncurses_echochar ncurses_end ncurses_erase ncurses_erasechar ncurses_filter ncurses_flash ncurses_flushinp ncurses_getch ncurses_getmaxyx ncurses_getmouse ncurses_getyx ncurses_halfdelay ncurses_has_colors ncurses_has_ic ncurses_has_il ncurses_has_key ncurses_hide_panel ncurses_hline ncurses_inch ncurses_init ncurses_init_color ncurses_init_pair ncurses_insch ncurses_insdelln ncurses_insertln ncurses_insstr ncurses_instr ncurses_isendwin ncurses_keyok ncurses_keypad ncurses_killchar ncurses_longname ncurses_meta ncurses_mouse_trafo ncurses_mouseinterval ncurses_mousemask ncurses_move ncurses_move_panel ncurses_mvaddch ncurses_mvaddchnstr ncurses_mvaddchstr ncurses_mvaddnstr ncurses_mvaddstr ncurses_mvcur ncurses_mvdelch ncurses_mvgetch ncurses_mvhline ncurses_mvinch ncurses_mvvline ncurses_mvwaddstr ncurses_napms ncurses_new_panel ncurses_newpad ncurses_newwin ncurses_nl ncurses_nocbreak ncurses_noecho ncurses_nonl ncurses_noqiflush ncurses_noraw ncurses_pair_content ncurses_panel_above ncurses_panel_below ncurses_panel_window ncurses_pnoutrefresh ncurses_prefresh ncurses_putp ncurses_qiflush ncurses_raw ncurses_refresh ncurses_replace_panel ncurses_reset_prog_mode ncurses_reset_shell_mode ncurses_resetty ncurses_savetty ncurses_scr_dump ncurses_scr_init ncurses_scr_restore ncurses_scr_set ncurses_scrl ncurses_show_panel ncurses_slk_attr ncurses_slk_attroff ncurses_slk_attron ncurses_slk_attrset ncurses_slk_clear ncurses_slk_color ncurses_slk_init ncurses_slk_noutrefresh ncurses_slk_refresh ncurses_slk_restore ncurses_slk_set ncurses_slk_touch ncurses_standend ncurses_standout ncurses_start_color ncurses_termattrs ncurses_termname ncurses_timeout ncurses_top_panel ncurses_typeahead ncurses_ungetch ncurses_ungetmouse ncurses_update_panels ncurses_use_default_colors ncurses_use_env ncurses_use_extended_names ncurses_vidattr ncurses_vline ncurses_waddch ncurses_waddstr ncurses_wattroff ncurses_wattron ncurses_wattrset ncurses_wborder ncurses_wclear ncurses_wcolor_set ncurses_werase ncurses_wgetch ncurses_whline ncurses_wmouse_trafo ncurses_wmove ncurses_wnoutrefresh ncurses_wrefresh ncurses_wstandend ncurses_wstandout ncurses_wvline next ngettext nl2br nl_langinfo notes_body notes_copy_db notes_create_db notes_create_note notes_drop_db notes_find_note notes_header_info notes_list_msgs notes_mark_read notes_mark_unread notes_nav_create notes_search notes_unread notes_version number_format ob_clean ob_end_clean ob_end_flush ob_flush ob_get_clean ob_get_contents ob_get_flush ob_get_length ob_get_level ob_get_status ob_gzhandler ob_iconv_handler ob_implicit_flush ob_list_handlers ob_start oci_bind_array_by_name oci_bind_by_name oci_cancel oci_close oci_commit oci_connect oci_define_by_name oci_error oci_execute oci_fetch oci_fetch_all oci_fetch_array oci_fetch_assoc oci_fetch_object oci_fetch_row oci_field_is_null oci_field_name oci_field_precision oci_field_scale oci_field_size oci_field_type oci_field_type_raw oci_free_statement oci_internal_debug oci_lob_copy oci_lob_is_equal oci_new_collection oci_new_connect oci_new_cursor oci_new_descriptor oci_num_fields oci_num_rows oci_parse oci_password_change oci_pconnect oci_result oci_rollback oci_server_version oci_set_action oci_set_client_identifier oci_set_client_info oci_set_edition oci_set_module_name oci_set_prefetch oci_statement_type ocibindbyname ocicancel ocicollappend ocicollassign ocicollassignelem ocicollgetelem ocicollmax ocicollsize ocicolltrim ocicolumnisnull ocicolumnname ocicolumnprecision ocicolumnscale ocicolumnsize ocicolumntype ocicolumntyperaw ocicommit ocidefinebyname ocierror ociexecute ocifetch ocifetchstatement ocifreecollection ocifreecursor ocifreedesc ocifreestatement ociinternaldebug ociloadlob ocilogoff ocilogon ocinewcollection ocinewcursor ocinewdescriptor ocinlogon ocinumcols ociparse ociplogon ociresult ocirollback ocirowcount ocisavelob ocisavelobfile ociserverversion ocisetprefetch ocistatementtype ociwritelobtofile octdec odbc_autocommit odbc_binmode odbc_close odbc_close_all odbc_columnprivileges odbc_columns odbc_commit odbc_connect odbc_cursor odbc_data_source odbc_do odbc_error odbc_errormsg odbc_exec odbc_execute odbc_fetch_array odbc_fetch_into odbc_fetch_object odbc_fetch_row odbc_field_len odbc_field_name odbc_field_num odbc_field_precision odbc_field_scale odbc_field_type odbc_foreignkeys odbc_free_result odbc_gettypeinfo odbc_longreadlen odbc_next_result odbc_num_fields odbc_num_rows odbc_pconnect odbc_prepare odbc_primarykeys odbc_procedurecolumns odbc_procedures odbc_result odbc_result_all odbc_rollback odbc_setoption odbc_specialcolumns odbc_statistics odbc_tableprivileges odbc_tables opendir openlog openssl_csr_export openssl_csr_export_to_file openssl_csr_new openssl_csr_sign openssl_error_string openssl_free_key openssl_get_privatekey openssl_get_publickey openssl_open openssl_pkcs7_decrypt openssl_pkcs7_encrypt openssl_pkcs7_sign openssl_pkcs7_verify openssl_pkey_export openssl_pkey_export_to_file openssl_pkey_free openssl_pkey_get_private openssl_pkey_get_public openssl_pkey_new openssl_private_decrypt openssl_private_encrypt openssl_public_decrypt openssl_public_encrypt openssl_seal openssl_sign openssl_verify openssl_x509_check_private_key openssl_x509_checkpurpose openssl_x509_export openssl_x509_export_to_file openssl_x509_free openssl_x509_parse openssl_x509_read ord output_add_rewrite_var output_reset_rewrite_vars overload ovrimos_close ovrimos_commit ovrimos_connect ovrimos_cursor ovrimos_exec ovrimos_execute ovrimos_fetch_into ovrimos_fetch_row ovrimos_field_len ovrimos_field_name ovrimos_field_num ovrimos_field_type ovrimos_free_result ovrimos_longreadlen ovrimos_num_fields ovrimos_num_rows ovrimos_prepare ovrimos_result ovrimos_result_all ovrimos_rollback pack parse_ini_file parse_ini_string parse_str parse_url passthru pathinfo pclose pcntl_alarm pcntl_exec pcntl_fork pcntl_getpriority pcntl_setpriority pcntl_signal pcntl_wait pcntl_waitpid pcntl_wexitstatus pcntl_wifexited pcntl_wifsignaled pcntl_wifstopped pcntl_wstopsig pcntl_wtermsig pdf_add_annotation pdf_add_bookmark pdf_add_launchlink pdf_add_locallink pdf_add_note pdf_add_outline pdf_add_pdflink pdf_add_thumbnail pdf_add_weblink pdf_arc pdf_arcn pdf_attach_file pdf_begin_page pdf_begin_pattern pdf_begin_template pdf_circle pdf_clip pdf_close pdf_close_image pdf_close_pdi pdf_close_pdi_page pdf_closepath pdf_closepath_fill_stroke pdf_closepath_stroke pdf_concat pdf_continue_text pdf_curveto pdf_delete pdf_end_page pdf_end_pattern pdf_end_template pdf_endpath pdf_fill pdf_fill_stroke pdf_findfont pdf_get_buffer pdf_get_font pdf_get_fontname pdf_get_fontsize pdf_get_image_height pdf_get_image_width pdf_get_majorversion pdf_get_minorversion pdf_get_parameter pdf_get_pdi_parameter pdf_get_pdi_value pdf_get_value pdf_initgraphics pdf_lineto pdf_makespotcolor pdf_moveto pdf_new pdf_open pdf_open_ccitt pdf_open_file pdf_open_gif pdf_open_image pdf_open_image_file pdf_open_jpeg pdf_open_memory_image pdf_open_pdi pdf_open_pdi_page pdf_open_png pdf_open_tiff pdf_place_image pdf_place_pdi_page pdf_rect pdf_restore pdf_rotate pdf_save pdf_scale pdf_set_border_color pdf_set_border_dash pdf_set_border_style pdf_set_char_spacing pdf_set_duration pdf_set_font pdf_set_horiz_scaling pdf_set_info pdf_set_info_author pdf_set_info_creator pdf_set_info_keywords pdf_set_info_subject pdf_set_info_title pdf_set_leading pdf_set_parameter pdf_set_text_pos pdf_set_text_rendering pdf_set_text_rise pdf_set_transition pdf_set_value pdf_set_word_spacing pdf_setcolor pdf_setdash pdf_setflat pdf_setfont pdf_setgray pdf_setgray_fill pdf_setgray_stroke pdf_setlinecap pdf_setlinejoin pdf_setlinewidth pdf_setmatrix pdf_setmiterlimit pdf_setpolydash pdf_setrgbcolor pdf_setrgbcolor_fill pdf_setrgbcolor_stroke pdf_show pdf_show_boxed pdf_show_xy pdf_skew pdf_stringwidth pdf_stroke pdf_translate pfpro_cleanup pfpro_init pfpro_process pfpro_process_raw pfpro_version pdo_drivers pfsockopen pg_affected_rows pg_cancel_query pg_client_encoding pg_clientencoding pg_close pg_cmdtuples pg_connect pg_connection_busy pg_connection_reset pg_connection_status pg_convert pg_copy_from pg_copy_to pg_dbname pg_delete pg_end_copy pg_errormessage pg_escape_bytea pg_escape_string pg_exec pg_fetch_all pg_fetch_array pg_fetch_assoc pg_fetch_object pg_fetch_result pg_fetch_row pg_field_is_null pg_field_name pg_field_num pg_field_prtlen pg_field_size pg_field_type pg_fieldisnull pg_fieldname pg_fieldnum pg_fieldprtlen pg_fieldsize pg_fieldtype pg_free_result pg_freeresult pg_get_notify pg_get_pid pg_get_result pg_getlastoid pg_host pg_insert pg_last_error pg_last_notice pg_last_oid pg_lo_close pg_lo_create pg_lo_export pg_lo_import pg_lo_open pg_lo_read pg_lo_read_all pg_lo_seek pg_lo_tell pg_lo_unlink pg_lo_write pg_loclose pg_locreate pg_loexport pg_loimport pg_loopen pg_loread pg_loreadall pg_lounlink pg_lowrite pg_meta_data pg_num_fields pg_num_rows pg_numfields pg_numrows pg_options pg_parameter_status pg_pconnect pg_ping pg_port pg_put_line pg_query pg_result pg_result_error pg_result_seek pg_result_status pg_select pg_send_query pg_set_client_encoding pg_setclientencoding pg_trace pg_tty pg_unescape_bytea pg_untrace pg_update pg_version php_egg_logo_guid php_ini_loaded_file php_ini_scanned_files php_logo_guid php_real_logo_guid php_sapi_name php_strip_whitespace php_uname phpcredits phpinfo phpversion pi png2wbmp popen pos posix_ctermid posix_errno posix_get_last_error posix_getcwd posix_getegid posix_geteuid posix_getgid posix_getgrgid posix_getgrnam posix_getgroups posix_getlogin posix_getpgid posix_getpgrp posix_getpid posix_getppid posix_getpwnam posix_getpwuid posix_getrlimit posix_getsid posix_getuid posix_isatty posix_kill posix_mkfifo posix_setegid posix_seteuid posix_setgid posix_setpgid posix_setsid posix_setuid posix_strerror posix_times posix_ttyname posix_uname pow preg_filter preg_grep preg_last_error preg_match preg_match_all preg_quote preg_replace preg_replace_callback preg_split prev print print_r printer_abort printer_close printer_create_brush printer_create_dc printer_create_font printer_create_pen printer_delete_brush printer_delete_dc printer_delete_font printer_delete_pen printer_draw_bmp printer_draw_chord printer_draw_elipse printer_draw_line printer_draw_pie printer_draw_rectangle printer_draw_roundrect printer_draw_text printer_end_doc printer_end_page printer_get_option printer_list printer_logical_fontheight printer_open printer_select_brush printer_select_font printer_select_pen printer_set_option printer_start_doc printer_start_page printer_write printf proc_close proc_get_status proc_nice proc_open proc_terminate property_exists pspell_add_to_personal pspell_add_to_session pspell_check pspell_clear_session pspell_config_create pspell_config_ignore pspell_config_mode pspell_config_personal pspell_config_repl pspell_config_runtogether pspell_config_save_repl pspell_new pspell_new_config pspell_new_personal pspell_save_wordlist pspell_store_replacement pspell_suggest putenv qdom_error qdom_tree quoted_printable_decode quoted_printable_encode quotemeta rad2deg rand range rawurldecode rawurlencode read_exif_data readdir readfile readgzfile readline readline_add_history readline_clear_history readline_completion_function readline_info readline_list_history readline_read_history readline_write_history readlink realpath realpath_cache_get realpath_cache_size recode recode_file recode_string register_shutdown_function register_tick_function rename require require_once reset restore_error_handler restore_exception_handler restore_include_path rewind rewinddir rmdir round rsort rtrim scandir sem_acquire sem_get sem_release sem_remove serialize sesam_affected_rows sesam_commit sesam_connect sesam_diagnostic sesam_disconnect sesam_errormsg sesam_execimm sesam_fetch_array sesam_fetch_result sesam_fetch_row sesam_field_array sesam_field_name sesam_free_result sesam_num_fields sesam_query sesam_rollback sesam_seek_row sesam_settransaction session_cache_expire session_cache_limiter session_commit session_decode session_destroy session_encode session_get_cookie_params session_id session_is_registered session_module_name session_name session_regenerate_id session_register session_save_path session_set_cookie_params session_set_save_handler session_start session_unregister session_unset session_write_close set_error_handler set_exception_handler set_file_buffer set_include_path set_magic_quotes_runtime set_socket_blocking set_time_limit setcookie setlocale setrawcookie settype sha1 sha1_file sha256 sha256_file shell_exec shm_attach shm_detach shm_get_var shm_put_var shm_remove shm_remove_var shmop_close shmop_delete shmop_open shmop_read shmop_size shmop_write show_source shuffle similar_text simplexml_import_dom simplexml_load_file simplexml_load_string sin sinh sizeof sleep snmp3_get snmp3_getnext snmp3_real_walk snmp3_set snmp3_walk snmp_get_quick_print snmp_get_valueretrieval snmp_read_mib snmp_set_enum_print snmp_set_oid_numeric_print snmp_set_quick_print snmp_set_valueretrieval snmpget snmpgetnext snmprealwalk snmpset snmpwalk snmpwalkoid socket_accept socket_bind socket_clear_error socket_close socket_connect socket_create socket_create_listen socket_create_pair socket_get_option socket_get_status socket_getopt socket_getpeername socket_getsockname socket_last_error socket_listen socket_read socket_recv socket_recvfrom socket_select socket_send socket_sendto socket_set_block socket_set_blocking socket_set_nonblock socket_set_option socket_set_timeout socket_setopt socket_shutdown socket_strerror socket_write sort soundex spl_autoload spl_autoload_call spl_autoload_extensions spl_autoload_functions spl_autoload_register spl_autoload_unregister spl_classes spl_object_hash sprintf sqlite_array_query sqlite_busy_timeout sqlite_changes sqlite_close sqlite_column sqlite_create_aggregate sqlite_create_function sqlite_current sqlite_error_string sqlite_escape_string sqlite_exec sqlite_factory sqlite_fetch_all sqlite_fetch_array sqlite_fetch_column_types sqlite_fetch_object sqlite_fetch_single sqlite_fetch_string sqlite_field_name sqlite_has_more sqlite_has_prev sqlite_last_error sqlite_last_insert_rowid sqlite_libencoding sqlite_libversion sqlite_next sqlite_num_fields sqlite_num_rows sqlite_open sqlite_popen sqlite_prev sqlite_query sqlite_rewind sqlite_seek sqlite_single_query sqlite_udf_decode_binary sqlite_udf_encode_binary sqlite_unbuffered_query sqlite_valid sqrt srand sscanf stat str_getcsv str_ireplace str_pad str_repeat str_replace str_rot13 str_shuffle str_split str_word_count strcasecmp strchr strcmp strcoll strcspn stream_bucket_append stream_bucket_make_writeable stream_bucket_new stream_bucket_prepend stream_context_create stream_context_get_default stream_context_get_options stream_context_get_params stream_context_set_default stream_context_set_option stream_context_set_params stream_copy_to_stream stream_filter_append stream_filter_prepend stream_filter_register stream_filter_remove stream_get_contents stream_get_filters stream_get_line stream_get_meta_data stream_get_transports stream_get_wrappers stream_is_local stream_register_wrapper stream_resolve_include_path stream_select stream_set_blocking stream_set_read_buffer stream_set_timeout stream_set_write_buffer stream_socket_accept stream_socket_client stream_socket_enable_crypto stream_socket_get_name stream_socket_pair stream_socket_recvfrom stream_socket_sendto stream_socket_server stream_socket_shutdown stream_supports_lock stream_wrapper_register stream_wrapper_restore stream_wrapper_unregister strftime strip_tags stripcslashes stripos stripslashes stristr strlen strnatcasecmp strnatcmp strncasecmp strncmp strpbrk strpos strptime strrchr strrev strripos strrpos strspn strstr strtok strtolower strtotime strtoupper strtr strval substr substr_compare substr_count substr_replace suhosin_encrypt_cookie suhosin_get_raw_cookies swf_actiongeturl swf_actiongotoframe swf_actiongotolabel swf_actionnextframe swf_actionplay swf_actionprevframe swf_actionsettarget swf_actionstop swf_actiontogglequality swf_actionwaitforframe swf_addbuttonrecord swf_addcolor swf_closefile swf_definebitmap swf_definefont swf_defineline swf_definepoly swf_definerect swf_definetext swf_endbutton swf_enddoaction swf_endshape swf_endsymbol swf_fontsize swf_fontslant swf_fonttracking swf_getbitmapinfo swf_getfontinfo swf_getframe swf_labelframe swf_lookat swf_modifyobject swf_mulcolor swf_nextid swf_oncondition swf_openfile swf_ortho swf_ortho2 swf_perspective swf_placeobject swf_polarview swf_popmatrix swf_posround swf_pushmatrix swf_removeobject swf_rotate swf_scale swf_setfont swf_setframe swf_shapearc swf_shapecurveto swf_shapecurveto3 swf_shapefillbitmapclip swf_shapefillbitmaptile swf_shapefilloff swf_shapefillsolid swf_shapelinesolid swf_shapelineto swf_shapemoveto swf_showframe swf_startbutton swf_startdoaction swf_startshape swf_startsymbol swf_textwidth swf_translate swf_viewport swfaction swfbitmap swfbitmap.getheight swfbitmap.getwidth swfbutton swfbutton.addaction swfbutton.addshape swfbutton.setaction swfbutton.setdown swfbutton.sethit swfbutton.setover swfbutton.setup swfbutton_keypress swfdisplayitem swfdisplayitem.addcolor swfdisplayitem.move swfdisplayitem.moveto swfdisplayitem.multcolor swfdisplayitem.remove swfdisplayitem.rotate swfdisplayitem.rotateto swfdisplayitem.scale swfdisplayitem.scaleto swfdisplayitem.setdepth swfdisplayitem.setname swfdisplayitem.setratio swfdisplayitem.skewx swfdisplayitem.skewxto swfdisplayitem.skewy swfdisplayitem.skewyto swffill swffill.moveto swffill.rotateto swffill.scaleto swffill.skewxto swffill.skewyto swffont swffont.getwidth swfgradient swfgradient.addentry swfmorph swfmorph.getshape1 swfmorph.getshape2 swfmovie swfmovie.add swfmovie.nextframe swfmovie.output swfmovie.remove swfmovie.save swfmovie.setbackground swfmovie.setdimension swfmovie.setframes swfmovie.setrate swfmovie.streammp3 swfshape swfshape.addfill swfshape.drawcurve swfshape.drawcurveto swfshape.drawline swfshape.drawlineto swfshape.movepen swfshape.movepento swfshape.setleftfill swfshape.setline swfshape.setrightfill swfsprite swfsprite.add swfsprite.nextframe swfsprite.remove swfsprite.setframes swftext swftext.addstring swftext.getwidth swftext.moveto swftext.setcolor swftext.setfont swftext.setheight swftext.setspacing swftextfield swftextfield.addstring swftextfield.align swftextfield.setbounds swftextfield.setcolor swftextfield.setfont swftextfield.setheight swftextfield.setindentation swftextfield.setleftmargin swftextfield.setlinespacing swftextfield.setmargins swftextfield.setname swftextfield.setrightmargin sybase_affected_rows sybase_close sybase_connect sybase_data_seek sybase_fetch_array sybase_fetch_field sybase_fetch_object sybase_fetch_row sybase_field_seek sybase_free_result sybase_get_last_message sybase_min_client_severity sybase_min_error_severity sybase_min_message_severity sybase_min_server_severity sybase_num_fields sybase_num_rows sybase_pconnect sybase_query sybase_result sybase_select_db symlink sys_get_temp_dir sys_getloadavg syslog system tan tanh tempnam textdomain time time_nanosleep time_sleep_until timezone_abbreviations_list timezone_identifiers_list timezone_location_get timezone_name_from_abbr timezone_name_get timezone_offset_get timezone_open timezone_transitions_get timezone_version_get tmpfile token_get_all token_name touch trigger_error trim uasort ucfirst ucwords udm_add_search_limit udm_alloc_agent udm_api_version udm_cat_list udm_cat_path udm_check_charset udm_check_stored udm_clear_search_limits udm_close_stored udm_crc32 udm_errno udm_error udm_find udm_free_agent udm_free_ispell_data udm_free_res udm_get_doc_count udm_get_res_field udm_get_res_param udm_load_ispell_data udm_open_stored udm_set_agent_param uksort umask uniqid unixtojd unlink unpack unregister_tick_function unserialize unset urldecode urlencode use_soap_error_handler user_error usleep usort utf8_decode utf8_encode var_dump var_export variant version_compare vfprintf virtual vpopmail_add_alias_domain vpopmail_add_alias_domain_ex vpopmail_add_domain vpopmail_add_domain_ex vpopmail_add_user vpopmail_alias_add vpopmail_alias_del vpopmail_alias_del_domain vpopmail_alias_get vpopmail_alias_get_all vpopmail_auth_user vpopmail_del_domain vpopmail_del_domain_ex vpopmail_del_user vpopmail_error vpopmail_passwd vpopmail_set_user_quota vprintf vsprintf w32api_deftype w32api_init_dtype w32api_invoke_function w32api_register_function w32api_set_call_method wddx_add_vars wddx_deserialize wddx_packet_end wddx_packet_start wddx_serialize_value wddx_serialize_vars wordwrap xdebug_break xdebug_call_class xdebug_call_file xdebug_call_function xdebug_call_line xdebug_clear_aggr_profiling_data xdebug_debug_zval xdebug_debug_zval_stdout xdebug_disable xdebug_dump_aggr_profiling_data xdebug_dump_superglobals xdebug_enable xdebug_get_code_coverage xdebug_get_collected_errors xdebug_get_declared_vars xdebug_get_formatted_function_stack xdebug_get_function_count xdebug_get_function_stack xdebug_get_headers xdebug_get_profiler_filename xdebug_get_stack_depth xdebug_get_tracefile_name xdebug_is_enabled xdebug_memory_usage xdebug_peak_memory_usage xdebug_print_function_stack xdebug_start_code_coverage xdebug_start_error_collection xdebug_start_trace xdebug_stop_code_coverage xdebug_stop_error_collection xdebug_stop_trace xdebug_time_index xdebug_var_dump xml_error_string xml_get_current_byte_index xml_get_current_column_number xml_get_current_line_number xml_get_error_code xml_parse xml_parse_into_struct xml_parser_create xml_parser_create_ns xml_parser_free xml_parser_get_option xml_parser_set_option xml_set_character_data_handler xml_set_default_handler xml_set_element_handler xml_set_end_namespace_decl_handler xml_set_external_entity_ref_handler xml_set_notation_decl_handler xml_set_object xml_set_processing_instruction_handler xml_set_start_namespace_decl_handler xml_set_unparsed_entity_decl_handler xmldoc xmldocfile xmlrpc_decode xmlrpc_decode_request xmlrpc_encode xmlrpc_encode_request xmlrpc_get_type xmlrpc_is_fault xmlrpc_parse_method_descriptions xmlrpc_server_add_introspection_data xmlrpc_server_call_method xmlrpc_server_create xmlrpc_server_destroy xmlrpc_server_register_introspection_callback xmlrpc_server_register_method xmlrpc_set_type xmltree xmlwriter_end_attribute xmlwriter_end_cdata xmlwriter_end_comment xmlwriter_end_document xmlwriter_end_dtd xmlwriter_end_dtd_attlist xmlwriter_end_dtd_element xmlwriter_end_dtd_entity xmlwriter_end_element xmlwriter_end_pi xmlwriter_flush xmlwriter_full_end_element xmlwriter_open_memory xmlwriter_open_uri xmlwriter_output_memory xmlwriter_set_indent xmlwriter_set_indent_string xmlwriter_start_attribute xmlwriter_start_attribute_ns xmlwriter_start_cdata xmlwriter_start_comment xmlwriter_start_document xmlwriter_start_dtd xmlwriter_start_dtd_attlist xmlwriter_start_dtd_element xmlwriter_start_dtd_entity xmlwriter_start_element xmlwriter_start_element_ns xmlwriter_start_pi xmlwriter_text xmlwriter_write_attribute xmlwriter_write_attribute_ns xmlwriter_write_cdata xmlwriter_write_comment xmlwriter_write_dtd xmlwriter_write_dtd_attlist xmlwriter_write_dtd_element xmlwriter_write_dtd_entity xmlwriter_write_element xmlwriter_write_element_ns xmlwriter_write_pi xmlwriter_write_raw xpath_eval xpath_eval_expression xpath_new_context xptr_eval xptr_new_context xslt_create xslt_errno xslt_error xslt_free xslt_process xslt_set_base xslt_set_encoding xslt_set_error_handler xslt_set_log xslt_set_sax_handler xslt_set_sax_handlers xslt_set_scheme_handler xslt_set_scheme_handlers yaz_addinfo yaz_ccl_conf yaz_ccl_parse yaz_close yaz_connect yaz_database yaz_element yaz_errno yaz_error yaz_hits yaz_itemorder yaz_present yaz_range yaz_record yaz_scan yaz_scan_result yaz_search yaz_sort yaz_syntax yaz_wait yp_all yp_cat yp_err_string yp_errno yp_first yp_get_default_domain yp_master yp_match yp_next yp_order zend_logo_guid zend_version zip_close zip_entry_close zip_entry_compressedsize zip_entry_compressionmethod zip_entry_filesize zip_entry_name zip_entry_open zip_entry_read zip_open zip_read zlib_get_coding_type"@@ -115,6 +115,7 @@ regex_'3c'3c'3c'27'28'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a'29'27 = compileRegex True "<<<'([A-Za-z_][A-Za-z0-9_]*)'" regex_'5c'24'2b'5ba'2dzA'2dZ'5f'5cx7f'2d'5cxff'5d'5ba'2dzA'2dZ0'2d9'5f'5cx7f'2d'5cxff'5d'2a = compileRegex True "\\$+[a-zA-Z_\\x7f-\\xff][a-zA-Z0-9_\\x7f-\\xff]*" regex_'5b0123456789'5d'2a'5c'2e'5c'2e'5c'2e'5b0123456789'5d'2a = compileRegex True "[0123456789]*\\.\\.\\.[0123456789]*"+regex_0'5bbB'5d'5b01'5d'2b = compileRegex True "0[bB][01]+" regex_'5c'5c'5b0'2d7'5d'7b1'2c3'7d = compileRegex True "\\\\[0-7]{1,3}" regex_'5c'5cx'5b0'2d9A'2dFa'2df'5d'7b1'2c2'7d = compileRegex True "\\\\x[0-9A-Fa-f]{1,2}" regex_'5c'24'5ba'2dzA'2dZ'5f'5cx7f'2d'5cxff'5d'5ba'2dzA'2dZ0'2d9'5f'5cx7f'2d'5cxff'5d'2a'28'5c'5b'5ba'2dzA'2dZ0'2d9'5f'5d'2a'5c'5d'29'2a = compileRegex True "\\$[a-zA-Z_\\x7f-\\xff][a-zA-Z0-9_\\x7f-\\xff]*(\\[[a-zA-Z0-9_]*\\])*"@@ -215,6 +216,8 @@    ((pRegExpr regex_'5c'24'2b'5ba'2dzA'2dZ'5f'5cx7f'2d'5cxff'5d'5ba'2dzA'2dZ0'2d9'5f'5cx7f'2d'5cxff'5d'2a >>= withAttribute KeywordTok))    <|>    ((pRegExpr regex_'5b0123456789'5d'2a'5c'2e'5c'2e'5c'2e'5b0123456789'5d'2a >>= withAttribute StringTok))+   <|>+   ((pRegExpr regex_0'5bbB'5d'5b01'5d'2b >>= withAttribute BaseNTok))    <|>    ((pHlCOct >>= withAttribute BaseNTok))    <|>
Text/Highlighting/Kate/Syntax/Pike.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file pike.xml, version 1.07, by Paul Pogonyshev -}+   highlighting file pike.xml, version 2, by Paul Pogonyshev -}  module Text.Highlighting.Kate.Syntax.Pike           (highlight, parseExpression, syntaxName, syntaxExtensions)
Text/Highlighting/Kate/Syntax/Postscript.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file postscript.xml, version 1.01, by  -}+   highlighting file postscript.xml, version 2, by  -}  module Text.Highlighting.Kate.Syntax.Postscript           (highlight, parseExpression, syntaxName, syntaxExtensions)
Text/Highlighting/Kate/Syntax/Prolog.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file prolog.xml, version 1.3, by Torsten Eichstädt (torsten.eichstaedt@web.de) -}+   highlighting file prolog.xml, version 2, by Torsten Eichstädt (torsten.eichstaedt@web.de) -}  module Text.Highlighting.Kate.Syntax.Prolog           (highlight, parseExpression, syntaxName, syntaxExtensions)
Text/Highlighting/Kate/Syntax/Python.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file python.xml, version 2.23, by Michael Bueker -}+   highlighting file python.xml, version 3, by Michael Bueker -}  module Text.Highlighting.Kate.Syntax.Python           (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -64,6 +64,7 @@       ("Python","Single A-comment") -> return ()       ("Python","Single Q-comment") -> return ()       ("Python","stringformat") -> return ()+      ("Python","stringescape") -> return ()       ("Python","Tripple A-string") -> return ()       ("Python","Raw Tripple A-string") -> return ()       ("Python","Tripple Q-string") -> return ()@@ -81,42 +82,46 @@                           , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) }   return (attr, txt) -list_prep = Set.fromList $ words $ "import from as"+list_import = Set.fromList $ words $ "import from as" list_defs = Set.fromList $ words $ "class def del global lambda nonlocal" list_operators = Set.fromList $ words $ "and in is not or"-list_flow = Set.fromList $ words $ "assert break continue elif else except finally for if pass raise return try while with yield"+list_flow = Set.fromList $ words $ "assert break continue elif else except finally for if pass raise return try while with yield async await" list_builtinfuncs = Set.fromList $ words $ "__import__ abs all any apply ascii basestring bin bool buffer bytearray bytes callable chr classmethod cmp coerce compile complex delattr dict dir divmod enumerate eval exec execfile file filter float format frozenset getattr globals hasattr hash help hex id input int intern isinstance issubclass iter len list locals long map max memoryview min next object oct open ord pow print property range raw_input reduce reload repr reversed round set setattr slice sorted staticmethod str sum super tuple type unichr unicode vars xrange zip" list_specialvars = Set.fromList $ words $ "None self True False NotImplemented Ellipsis __debug__ __file__ __name__" list_bindings = Set.fromList $ words $ "SIGNAL SLOT connect"-list_overloaders = Set.fromList $ words $ "__new__ __init__ __del__ __repr__ __str__ __lt__ __le__ __eq__ __ne__ __gt__ __ge__ __cmp__ __rcmp__ __hash__ __nonzero__ __unicode__ __getattr__ __setattr__ __delattr__ __getattribute__ __get__ __set__ __delete__ __call__ __len__ __getitem__ __setitem__ __delitem__ __iter__ __reversed__ __contains__ __getslice__ __setslice__ __delslice__ __add__ __sub__ __mul__ __floordiv__ __mod__ __divmod__ __pow__ __lshift__ __rshift__ __and__ __xor__ __or__ __div__ __truediv__ __radd__ __rsub__ __rmul__ __rdiv__ __rtruediv__ __rfloordiv__ __rmod__ __rdivmod__ __rpow__ __rlshift__ __rrshift__ __rand__ __rxor__ __ror__ __iadd__ __isub__ __imul__ __idiv__ __itruediv__ __ifloordiv__ __imod__ __ipow__ __ilshift__ __irshift__ __iand__ __ixor__ __ior__ __neg__ __pos__ __abs__ __invert__ __complex__ __int__ __long__ __float__ __oct__ __hex__ __index__ __coerce__ __enter__ __exit__ __bytes__ __format__ __next__ __dir__"+list_overloaders = Set.fromList $ words $ "__new__ __init__ __del__ __repr__ __str__ __lt__ __le__ __eq__ __ne__ __gt__ __ge__ __cmp__ __rcmp__ __hash__ __nonzero__ __unicode__ __getattr__ __setattr__ __delattr__ __getattribute__ __get__ __set__ __delete__ __call__ __len__ __getitem__ __setitem__ __delitem__ __iter__ __reversed__ __contains__ __getslice__ __setslice__ __delslice__ __add__ __sub__ __mul__ __floordiv__ __mod__ __divmod__ __pow__ __lshift__ __rshift__ __and__ __xor__ __or__ __div__ __truediv__ __radd__ __rsub__ __rmul__ __rdiv__ __rtruediv__ __rfloordiv__ __rmod__ __rdivmod__ __rpow__ __rlshift__ __rrshift__ __rand__ __rxor__ __ror__ __iadd__ __isub__ __imul__ __idiv__ __itruediv__ __ifloordiv__ __imod__ __ipow__ __ilshift__ __irshift__ __iand__ __ixor__ __ior__ __neg__ __pos__ __abs__ __invert__ __complex__ __int__ __long__ __float__ __oct__ __hex__ __index__ __coerce__ __enter__ __exit__ __bytes__ __format__ __next__ __dir__ __await__ __aiter__ __anext__ __aenter__ __aexit__" list_exceptions = Set.fromList $ words $ "ArithmeticError AssertionError AttributeError BaseException BlockingIOError BrokenPipeError BufferError BytesWarning ChildProcessError ConnectionAbortedError ConnectionError ConnectionRefusedError ConnectionResetError DeprecationWarning EnvironmentError EOFError Exception FileExistsError FileNotFoundError FloatingPointError FutureWarning GeneratorExit ImportError ImportWarning IndentationError IndexError InterruptedError IOError IsADirectoryError KeyboardInterrupt KeyError LookupError MemoryError NameError NotADirectoryError NotImplementedError OSError OverflowError PendingDeprecationWarning PermissionError ProcessLookupError ReferenceError ResourceWarning RuntimeError RuntimeWarning StandardError StopIteration SyntaxError SyntaxWarning SystemError SystemExit TabError TimeoutError TypeError UnboundLocalError UnicodeDecodeError UnicodeEncodeError UnicodeError UnicodeTranslateError UnicodeWarning UserWarning ValueError Warning WindowsError ZeroDivisionError"  regex_'5ba'2dzA'2dZ'5f'5d'5ba'2dzA'2dZ'5f0'2d9'5d'7b2'2c'7d = compileRegex True "[a-zA-Z_][a-zA-Z_0-9]{2,}" regex__'28'28'28'5b0'2d9'5d'2a'5c'2e'5b0'2d9'5d'2b'7c'5b0'2d9'5d'2b'5c'2e'29'7c'28'5b0'2d9'5d'2b'7c'28'5b0'2d9'5d'2a'5c'2e'5b0'2d9'5d'2b'7c'5b0'2d9'5d'2b'5c'2e'29'29'5beE'5d'28'5c'2b'7c'2d'29'3f'5b0'2d9'5d'2b'29'7c'5b0'2d9'5d'2b'29'5bjJ'5d = compileRegex True " ((([0-9]*\\.[0-9]+|[0-9]+\\.)|([0-9]+|([0-9]*\\.[0-9]+|[0-9]+\\.))[eE](\\+|-)?[0-9]+)|[0-9]+)[jJ]" regex_'40'5b'5fa'2dzA'2dZ'5d'5b'5c'2e'5fa'2dzA'2dZ0'2d9'5d'2a = compileRegex True "@[_a-zA-Z][\\._a-zA-Z0-9]*" regex_'25'28'28'5c'28'5ba'2dzA'2dZ0'2d9'5f'5d'2b'5c'29'29'3f'5b'230'5c'2d_'2b'5d'3f'28'5b1'2d9'5d'5b0'2d9'5d'2a'7c'5c'2a'29'3f'28'5c'2e'28'5b1'2d9'5d'5b0'2d9'5d'2a'7c'5c'2a'29'29'3f'5bhlL'5d'3f'5bcrsdiouxXeEfFgG'25'5d'7cprog'7cdefault'29 = compileRegex True "%((\\([a-zA-Z0-9_]+\\))?[#0\\- +]?([1-9][0-9]*|\\*)?(\\.([1-9][0-9]*|\\*))?[hlL]?[crsdiouxXeEfFgG%]|prog|default)"-regex_'5c'7b'28'5ba'2dzA'2dZ0'2d9'5f'5d'2b'7c'5b0'2d9'5d'2b'29'28'5c'2e'5ba'2dzA'2dZ0'2d9'5f'5d'2b'7c'5c'5b'5b'5e_'5c'5d'5d'2b'5c'5d'29'2a'28'21'5brs'5d'29'3f'28'3a'28'5b'5e'7d'5d'3f'5b'3c'3e'3d'5e'5d'29'3f'5b_'2b'2d'5d'3f'23'3f0'3f'5b0'2d9'5d'2a'28'5c'2e'5b0'2d9'5d'2b'29'3f'5bbcdeEfFgGnosxX'25'5d'3f'29'3f'5c'7d = compileRegex True "\\{([a-zA-Z0-9_]+|[0-9]+)(\\.[a-zA-Z0-9_]+|\\[[^ \\]]+\\])*(![rs])?(:([^}]?[<>=^])?[ +-]?#?0?[0-9]*(\\.[0-9]+)?[bcdeEfFgGnosxX%]?)?\\}"+regex_'5c'7b'28'28'5ba'2dzA'2dZ0'2d9'5f'5d'2b'7c'5b0'2d9'5d'2b'29'28'5c'2e'5ba'2dzA'2dZ0'2d9'5f'5d'2b'7c'5c'5b'5b'5e_'5c'5d'5d'2b'5c'5d'29'2a'29'3f'28'21'5brs'5d'29'3f'28'3a'28'5b'5e'7d'5d'3f'5b'3c'3e'3d'5e'5d'29'3f'5b_'2b'2d'5d'3f'23'3f0'3f'5b0'2d9'5d'2a'28'5c'2e'5b0'2d9'5d'2b'29'3f'5bbcdeEfFgGnosxX'25'5d'3f'29'3f'5c'7d = compileRegex True "\\{(([a-zA-Z0-9_]+|[0-9]+)(\\.[a-zA-Z0-9_]+|\\[[^ \\]]+\\])*)?(![rs])?(:([^}]?[<>=^])?[ +-]?#?0?[0-9]*(\\.[0-9]+)?[bcdeEfFgGnosxX%]?)?\\}"+regex_'5c'5c'5b'5c'5c'27'22abfnrtv'5d = compileRegex True "\\\\[\\\\'\"abfnrtv]"+regex_'5c'5c'5b0'2d7'5d'7b1'2c3'7d = compileRegex True "\\\\[0-7]{1,3}"+regex_'5c'5cx'5b0'2d9A'2dFa'2df'5d'7b2'7d = compileRegex True "\\\\x[0-9A-Fa-f]{2}"+regex_'5c'5cu'5b0'2d9A'2dFa'2df'5d'7b4'7d = compileRegex True "\\\\u[0-9A-Fa-f]{4}"+regex_'5c'5cU'5b0'2d9A'2dFa'2df'5d'7b8'7d = compileRegex True "\\\\U[0-9A-Fa-f]{8}"+regex_'5c'5cN'5c'7b'5ba'2dzA'2dZ0'2d9'5c'2d_'5d'2b'5c'7d = compileRegex True "\\\\N\\{[a-zA-Z0-9\\- ]+\\}"  parseRules ("Python","Normal") =-  (((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\#'" list_prep >>= withAttribute CharTok))+  (((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\#'" list_import >>= withAttribute ImportTok))    <|>    ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\#'" list_defs >>= withAttribute KeywordTok))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\#'" list_operators >>= withAttribute NormalTok))-   <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\#'" Set.empty >>= withAttribute KeywordTok))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\#'" list_operators >>= withAttribute KeywordTok))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\#'" list_flow >>= withAttribute KeywordTok))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\#'" list_flow >>= withAttribute ControlFlowTok))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\#'" list_builtinfuncs >>= withAttribute DataTypeTok))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\#'" list_builtinfuncs >>= withAttribute BuiltInTok))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\#'" list_specialvars >>= withAttribute OtherTok))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\#'" list_specialvars >>= withAttribute VariableTok))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\#'" list_bindings >>= withAttribute OtherTok))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\#'" list_bindings >>= withAttribute ExtensionTok))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\#'" list_exceptions >>= withAttribute OtherTok))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\#'" list_exceptions >>= withAttribute PreprocessorTok))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\#'" list_overloaders >>= withAttribute OtherTok))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\#'" list_overloaders >>= withAttribute FunctionTok))    <|>    ((pRegExpr regex_'5ba'2dzA'2dZ'5f'5d'5ba'2dzA'2dZ'5f0'2d9'5d'7b2'2c'7d >>= withAttribute NormalTok))    <|>@@ -142,9 +147,9 @@    <|>    ((parseRules ("Python","StringVariants")))    <|>-   ((pAnyChar "+*/%\\|=;\\!<>!^&~-" >>= withAttribute NormalTok))+   ((pFirstNonSpace >> pRegExpr regex_'40'5b'5fa'2dzA'2dZ'5d'5b'5c'2e'5fa'2dzA'2dZ0'2d9'5d'2a >>= withAttribute AttributeTok))    <|>-   ((pFirstNonSpace >> pRegExpr regex_'40'5b'5fa'2dzA'2dZ'5d'5b'5c'2e'5fa'2dzA'2dZ0'2d9'5d'2a >>= withAttribute OtherTok))+   ((pAnyChar "+*/%\\|=;\\!<>!^&~-@" >>= withAttribute OperatorTok))    <|>    (currentContext >>= \x -> guard (x == ("Python","Normal")) >> pDefault >>= withAttribute NormalTok)) @@ -183,21 +188,21 @@    <|>    ((pString False "u\"" >>= withAttribute StringTok) >>~ pushContext ("Python","Single Q-string"))    <|>-   ((pString False "r'''" >>= withAttribute StringTok) >>~ pushContext ("Python","Raw Tripple A-string"))+   ((pString False "r'''" >>= withAttribute VerbatimStringTok) >>~ pushContext ("Python","Raw Tripple A-string"))    <|>-   ((pString False "ur'''" >>= withAttribute StringTok) >>~ pushContext ("Python","Raw Tripple A-string"))+   ((pString False "ur'''" >>= withAttribute VerbatimStringTok) >>~ pushContext ("Python","Raw Tripple A-string"))    <|>-   ((pString False "r\"\"\"" >>= withAttribute StringTok) >>~ pushContext ("Python","Raw Tripple Q-string"))+   ((pString False "r\"\"\"" >>= withAttribute VerbatimStringTok) >>~ pushContext ("Python","Raw Tripple Q-string"))    <|>-   ((pString False "ur\"\"\"" >>= withAttribute StringTok) >>~ pushContext ("Python","Raw Tripple Q-string"))+   ((pString False "ur\"\"\"" >>= withAttribute VerbatimStringTok) >>~ pushContext ("Python","Raw Tripple Q-string"))    <|>-   ((pString False "r'" >>= withAttribute StringTok) >>~ pushContext ("Python","Raw A-string"))+   ((pString False "r'" >>= withAttribute VerbatimStringTok) >>~ pushContext ("Python","Raw A-string"))    <|>-   ((pString False "ur'" >>= withAttribute StringTok) >>~ pushContext ("Python","Raw A-string"))+   ((pString False "ur'" >>= withAttribute VerbatimStringTok) >>~ pushContext ("Python","Raw A-string"))    <|>-   ((pString False "r\"" >>= withAttribute StringTok) >>~ pushContext ("Python","Raw Q-string"))+   ((pString False "r\"" >>= withAttribute VerbatimStringTok) >>~ pushContext ("Python","Raw Q-string"))    <|>-   ((pString False "ur\"" >>= withAttribute StringTok) >>~ pushContext ("Python","Raw Q-string"))+   ((pString False "ur\"" >>= withAttribute VerbatimStringTok) >>~ pushContext ("Python","Raw Q-string"))    <|>    (currentContext >>= \x -> guard (x == ("Python","StringVariants")) >> pDefault >>= withAttribute NormalTok)) @@ -313,18 +318,33 @@    (currentContext >>= \x -> guard (x == ("Python","Single Q-comment")) >> pDefault >>= withAttribute CommentTok))  parseRules ("Python","stringformat") =-  (((pRegExpr regex_'25'28'28'5c'28'5ba'2dzA'2dZ0'2d9'5f'5d'2b'5c'29'29'3f'5b'230'5c'2d_'2b'5d'3f'28'5b1'2d9'5d'5b0'2d9'5d'2a'7c'5c'2a'29'3f'28'5c'2e'28'5b1'2d9'5d'5b0'2d9'5d'2a'7c'5c'2a'29'29'3f'5bhlL'5d'3f'5bcrsdiouxXeEfFgG'25'5d'7cprog'7cdefault'29 >>= withAttribute OtherTok))+  (((pRegExpr regex_'25'28'28'5c'28'5ba'2dzA'2dZ0'2d9'5f'5d'2b'5c'29'29'3f'5b'230'5c'2d_'2b'5d'3f'28'5b1'2d9'5d'5b0'2d9'5d'2a'7c'5c'2a'29'3f'28'5c'2e'28'5b1'2d9'5d'5b0'2d9'5d'2a'7c'5c'2a'29'29'3f'5bhlL'5d'3f'5bcrsdiouxXeEfFgG'25'5d'7cprog'7cdefault'29 >>= withAttribute SpecialCharTok))    <|>-   ((pRegExpr regex_'5c'7b'28'5ba'2dzA'2dZ0'2d9'5f'5d'2b'7c'5b0'2d9'5d'2b'29'28'5c'2e'5ba'2dzA'2dZ0'2d9'5f'5d'2b'7c'5c'5b'5b'5e_'5c'5d'5d'2b'5c'5d'29'2a'28'21'5brs'5d'29'3f'28'3a'28'5b'5e'7d'5d'3f'5b'3c'3e'3d'5e'5d'29'3f'5b_'2b'2d'5d'3f'23'3f0'3f'5b0'2d9'5d'2a'28'5c'2e'5b0'2d9'5d'2b'29'3f'5bbcdeEfFgGnosxX'25'5d'3f'29'3f'5c'7d >>= withAttribute OtherTok))+   ((pRegExpr regex_'5c'7b'28'28'5ba'2dzA'2dZ0'2d9'5f'5d'2b'7c'5b0'2d9'5d'2b'29'28'5c'2e'5ba'2dzA'2dZ0'2d9'5f'5d'2b'7c'5c'5b'5b'5e_'5c'5d'5d'2b'5c'5d'29'2a'29'3f'28'21'5brs'5d'29'3f'28'3a'28'5b'5e'7d'5d'3f'5b'3c'3e'3d'5e'5d'29'3f'5b_'2b'2d'5d'3f'23'3f0'3f'5b0'2d9'5d'2a'28'5c'2e'5b0'2d9'5d'2b'29'3f'5bbcdeEfFgGnosxX'25'5d'3f'29'3f'5c'7d >>= withAttribute SpecialCharTok))    <|>-   ((pDetect2Chars False '{' '{' >>= withAttribute OtherTok))+   ((pDetect2Chars False '{' '{' >>= withAttribute SpecialCharTok))    <|>-   ((pDetect2Chars False '}' '}' >>= withAttribute OtherTok))+   ((pDetect2Chars False '}' '}' >>= withAttribute SpecialCharTok))    <|>-   (currentContext >>= \x -> guard (x == ("Python","stringformat")) >> pDefault >>= withAttribute OtherTok))+   (currentContext >>= \x -> guard (x == ("Python","stringformat")) >> pDefault >>= withAttribute SpecialCharTok)) +parseRules ("Python","stringescape") =+  (((pRegExpr regex_'5c'5c'5b'5c'5c'27'22abfnrtv'5d >>= withAttribute CharTok))+   <|>+   ((pRegExpr regex_'5c'5c'5b0'2d7'5d'7b1'2c3'7d >>= withAttribute CharTok))+   <|>+   ((pRegExpr regex_'5c'5cx'5b0'2d9A'2dFa'2df'5d'7b2'7d >>= withAttribute CharTok))+   <|>+   ((pRegExpr regex_'5c'5cu'5b0'2d9A'2dFa'2df'5d'7b4'7d >>= withAttribute CharTok))+   <|>+   ((pRegExpr regex_'5c'5cU'5b0'2d9A'2dFa'2df'5d'7b8'7d >>= withAttribute CharTok))+   <|>+   ((pRegExpr regex_'5c'5cN'5c'7b'5ba'2dzA'2dZ0'2d9'5c'2d_'5d'2b'5c'7d >>= withAttribute CharTok))+   <|>+   (currentContext >>= \x -> guard (x == ("Python","stringescape")) >> pDefault >>= withAttribute CharTok))+ parseRules ("Python","Tripple A-string") =-  (((pHlCStringChar >>= withAttribute CharTok))+  (((parseRules ("Python","stringescape")))    <|>    ((parseRules ("Python","stringformat")))    <|>@@ -333,16 +353,16 @@    (currentContext >>= \x -> guard (x == ("Python","Tripple A-string")) >> pDefault >>= withAttribute StringTok))  parseRules ("Python","Raw Tripple A-string") =-  (((pHlCStringChar >>= withAttribute StringTok))+  (((pHlCStringChar >>= withAttribute VerbatimStringTok))    <|>    ((parseRules ("Python","stringformat")))    <|>    ((pString False "'''" >>= withAttribute StringTok) >>~ (popContext >> popContext))    <|>-   (currentContext >>= \x -> guard (x == ("Python","Raw Tripple A-string")) >> pDefault >>= withAttribute StringTok))+   (currentContext >>= \x -> guard (x == ("Python","Raw Tripple A-string")) >> pDefault >>= withAttribute VerbatimStringTok))  parseRules ("Python","Tripple Q-string") =-  (((pHlCStringChar >>= withAttribute CharTok))+  (((parseRules ("Python","stringescape")))    <|>    ((parseRules ("Python","stringformat")))    <|>@@ -351,16 +371,16 @@    (currentContext >>= \x -> guard (x == ("Python","Tripple Q-string")) >> pDefault >>= withAttribute StringTok))  parseRules ("Python","Raw Tripple Q-string") =-  (((pHlCStringChar >>= withAttribute StringTok))+  (((pHlCStringChar >>= withAttribute VerbatimStringTok))    <|>    ((parseRules ("Python","stringformat")))    <|>    ((pString False "\"\"\"" >>= withAttribute StringTok) >>~ (popContext >> popContext))    <|>-   (currentContext >>= \x -> guard (x == ("Python","Raw Tripple Q-string")) >> pDefault >>= withAttribute StringTok))+   (currentContext >>= \x -> guard (x == ("Python","Raw Tripple Q-string")) >> pDefault >>= withAttribute VerbatimStringTok))  parseRules ("Python","Single A-string") =-  (((pHlCStringChar >>= withAttribute CharTok))+  (((parseRules ("Python","stringescape")))    <|>    ((parseRules ("Python","stringformat")))    <|>@@ -369,7 +389,7 @@    (currentContext >>= \x -> guard (x == ("Python","Single A-string")) >> pDefault >>= withAttribute StringTok))  parseRules ("Python","Single Q-string") =-  (((pHlCStringChar >>= withAttribute CharTok))+  (((parseRules ("Python","stringescape")))    <|>    ((parseRules ("Python","stringformat")))    <|>@@ -378,22 +398,22 @@    (currentContext >>= \x -> guard (x == ("Python","Single Q-string")) >> pDefault >>= withAttribute StringTok))  parseRules ("Python","Raw A-string") =-  (((pHlCStringChar >>= withAttribute StringTok))+  (((pHlCStringChar >>= withAttribute VerbatimStringTok))    <|>    ((parseRules ("Python","stringformat")))    <|>-   ((pDetectChar False '\'' >>= withAttribute StringTok) >>~ (popContext >> popContext))+   ((pDetectChar False '\'' >>= withAttribute VerbatimStringTok) >>~ (popContext >> popContext))    <|>-   (currentContext >>= \x -> guard (x == ("Python","Raw A-string")) >> pDefault >>= withAttribute StringTok))+   (currentContext >>= \x -> guard (x == ("Python","Raw A-string")) >> pDefault >>= withAttribute VerbatimStringTok))  parseRules ("Python","Raw Q-string") =-  (((pHlCStringChar >>= withAttribute StringTok))+  (((pHlCStringChar >>= withAttribute VerbatimStringTok))    <|>    ((parseRules ("Python","stringformat")))    <|>-   ((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext >> popContext))+   ((pDetectChar False '"' >>= withAttribute VerbatimStringTok) >>~ (popContext >> popContext))    <|>-   (currentContext >>= \x -> guard (x == ("Python","Raw Q-string")) >> pDefault >>= withAttribute StringTok))+   (currentContext >>= \x -> guard (x == ("Python","Raw Q-string")) >> pDefault >>= withAttribute VerbatimStringTok))  parseRules ("Alerts", _) = Text.Highlighting.Kate.Syntax.Alert.parseExpression Nothing parseRules ("Modelines", _) = Text.Highlighting.Kate.Syntax.Modelines.parseExpression Nothing
Text/Highlighting/Kate/Syntax/R.hs view
@@ -1,11 +1,12 @@ {- This module was generated from data in the Kate syntax-   highlighting file r.xml, version 2.07, by  -}+   highlighting file r.xml, version 3, by  -}  module Text.Highlighting.Kate.Syntax.R           (highlight, parseExpression, syntaxName, syntaxExtensions) where import Text.Highlighting.Kate.Types import Text.Highlighting.Kate.Common+import qualified Text.Highlighting.Kate.Syntax.Alert import Text.ParserCombinators.Parsec hiding (State) import Control.Monad.State import Data.Char (isSpace)@@ -144,10 +145,14 @@    ((popContext) >> currentContext >>= parseRules))  parseRules ("R Script","Headline") =-  (currentContext >>= \x -> guard (x == ("R Script","Headline")) >> pDefault >>= withAttribute NormalTok)+  (((Text.Highlighting.Kate.Syntax.Alert.parseExpression (Just ("Alerts",""))))+   <|>+   (currentContext >>= \x -> guard (x == ("R Script","Headline")) >> pDefault >>= withAttribute NormalTok))  parseRules ("R Script","Comment") =-  (currentContext >>= \x -> guard (x == ("R Script","Comment")) >> pDefault >>= withAttribute CommentTok)+  (((Text.Highlighting.Kate.Syntax.Alert.parseExpression (Just ("Alerts","")) >>= ((withAttribute CommentTok) . snd)))+   <|>+   (currentContext >>= \x -> guard (x == ("R Script","Comment")) >> pDefault >>= withAttribute CommentTok))  parseRules ("R Script","CommonRules") =   (((pDetectChar False '"' >>= withAttribute StringTok) >>~ pushContext ("R Script","string"))@@ -192,5 +197,6 @@    <|>    (currentContext >>= \x -> guard (x == ("R Script","CommonRules")) >> pDefault >>= withAttribute NormalTok)) +parseRules ("Alerts", _) = Text.Highlighting.Kate.Syntax.Alert.parseExpression Nothing  parseRules x = parseRules ("R Script","level0") <|> fail ("Unknown context" ++ show x)
Text/Highlighting/Kate/Syntax/Relaxng.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file relaxng.xml, version 0.8, by Thomas Schraitle (tom_schr AT web DOT de) -}+   highlighting file relaxng.xml, version 1, by Thomas Schraitle (tom_schr AT web DOT de) -}  module Text.Highlighting.Kate.Syntax.Relaxng           (highlight, parseExpression, syntaxName, syntaxExtensions)
Text/Highlighting/Kate/Syntax/Relaxngcompact.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file relaxngcompact.xml, version 0.2, by Rintze Zelle -}+   highlighting file relaxngcompact.xml, version 1, by Rintze Zelle -}  module Text.Highlighting.Kate.Syntax.Relaxngcompact           (highlight, parseExpression, syntaxName, syntaxExtensions)
Text/Highlighting/Kate/Syntax/Rest.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file rest.xml, version 1.4, by  -}+   highlighting file rest.xml, version 2, by  -}  module Text.Highlighting.Kate.Syntax.Rest           (highlight, parseExpression, syntaxName, syntaxExtensions)
Text/Highlighting/Kate/Syntax/Rhtml.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file rhtml.xml, version 1.01, by Richard Dale rdale@foton.es -}+   highlighting file rhtml.xml, version 2, by Richard Dale rdale@foton.es -}  module Text.Highlighting.Kate.Syntax.Rhtml           (highlight, parseExpression, syntaxName, syntaxExtensions)
Text/Highlighting/Kate/Syntax/Roff.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file roff.xml, version 0.11, by Matthew Woehlke (mw_triad@users.sourceforge.net) -}+   highlighting file roff.xml, version 2, by Matthew Woehlke (mw_triad@users.sourceforge.net) -}  module Text.Highlighting.Kate.Syntax.Roff           (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -89,14 +89,14 @@ regex_'5c'5cf'28'5b0'2d9'5d'7c'5c'28'5b0'2d9'5d'5b0'2d9'5d'7c'5c'5b'5b0'2d9'5d'2b'5c'5d'29 = compileRegex True "\\\\f([0-9]|\\([0-9][0-9]|\\[[0-9]+\\])" regex_'5c'5cs'28'5c'5b'28'5b1'2d3'5d'5b0'2d9'5d'7c'5b04'2d9'5d'29'5c'5d'7c'5b04'2d9'5d'7c'5b'2b'2d'5d'5b0'2d9'5d'7c'28'5b'2b'2d'5d'3f'5c'28'7c'5c'28'5b'2b'2d'5d'29'5b0'2d9'5d'5b0'2d9'5d'29 = compileRegex True "\\\\s(\\[([1-3][0-9]|[04-9])\\]|[04-9]|[+-][0-9]|([+-]?\\(|\\([+-])[0-9][0-9])" regex_'5c'5c'28'5c'24'5b0'2d9'2a'40'5d'7c'5b'2e'3a'25_'7c'5e'7b'7d'5f'21'3f'40'29'2f'2c'26'3a'7e0acdeEprtu'5d'29 = compileRegex True "\\\\(\\$[0-9*@]|[.:% |^{}_!?@)/,&:~0acdeEprtu])"-regex_'5c'5c'5bAbBDowXZ'5d'28'5b'5e'5c'5c'5d'7c'5c'5c'5b'25_'7c'5e'7b'7d'27'60'2d'5f'21'3f'40'29'2f'2c'26'3a'7e0acdeEprtu'5d'29 = compileRegex True "\\\\[AbBDowXZ]([^\\\\]|\\\\[% |^{}'`-_!?@)/,&:~0acdeEprtu])"+regex_'5c'5c'5bABDXZbow'5d'28'5b'5e'5c'5c'5d'7c'5c'5c'5b'25_'7c'5c'5e'7b'7d'27'60'5c'2d'21'3f'40'29'2f'2c'26'3a'7e0E'5facdeprtu'5d'29 = compileRegex True "\\\\[ABDXZbow]([^\\\\]|\\\\[% |\\^{}'`\\-!?@)/,&:~0E_acdeprtu])" regex_'5c'5c'5bgkmMVYz'5d'28'5b'5e'5d'5cs'5d'7c'5c'28'5b'5e'5d'5cs'5d'7b2'7d'7c'5c'5b'5b'5e'5d'5cs'5d'2b'5c'5d'29 = compileRegex True "\\\\[gkmMVYz]([^]\\s]|\\([^]\\s]{2}|\\[[^]\\s]+\\])" regex_'5c'5cO'28'5b0'2d4'5d'7c'5c'5b5'5blrci'5d'5b'5e'5d'5d'5c'5d'29 = compileRegex True "\\\\O([0-4]|\\[5[lrci][^]]\\])"-regex_'5c'5c'5bhHSvx'5d'28'5b'5e'5c'5c'5d'7c'5c'5c'5b'25_'7c'5e'7b'7d'27'60'2d'5f'21'3f'40'29'2f'2c'26'3a'7e0acdeEprtu'5d'29 = compileRegex True "\\\\[hHSvx]([^\\\\]|\\\\[% |^{}'`-_!?@)/,&:~0acdeEprtu])"-regex_'5c'5c'5blL'5d'28'5b'5e'5c'5c'5d'7c'5c'5c'5b'25_'7c'5e'7b'7d'27'60'2d'5f'21'3f'40'29'2f'2c'26'3a'7e0acdeEprtu'5d'29'5c'7c'3f = compileRegex True "\\\\[lL]([^\\\\]|\\\\[% |^{}'`-_!?@)/,&:~0acdeEprtu])\\|?"-regex_'5c'5cR'28'5b'5e'5c'5c'5d'7c'5c'5c'5b'25_'7c'5e'7b'7d'27'60'2d'5f'21'3f'40'29'2f'2c'26'3a'7e0acdeEprtu'5d'29 = compileRegex True "\\\\R([^\\\\]|\\\\[% |^{}'`-_!?@)/,&:~0acdeEprtu])"-regex_'5c'5cC'28'5b'5e'5c'5c'5d'7c'5c'5c'5b'25_'7c'5e'7b'7d'27'60'2d'5f'21'3f'40'29'2f'2c'26'3a'7e0acdeEprtu'5d'29 = compileRegex True "\\\\C([^\\\\]|\\\\[% |^{}'`-_!?@)/,&:~0acdeEprtu])"-regex_'5c'5cN'28'5b'5e'5c'5c0'2d9'5d'7c'5c'5c'5b'25'3a'7b'7d'27'60'2d'5f'21'40'2fcep'5d'29'5b0'2d9'5d'2b'5c1 = compileRegex True "\\\\N([^\\\\0-9]|\\\\[%:{}'`-_!@/cep])[0-9]+\\1"+regex_'5c'5c'5bhHSvx'5d'28'5b'5e'5c'5c'5d'7c'5c'5c'5b'25_'7c'5c'5e'7b'7d'27'60'5c'2d'21'3f'40'29'2f'2c'26'3a'7e0E'5facdeprtu'5d'29 = compileRegex True "\\\\[hHSvx]([^\\\\]|\\\\[% |\\^{}'`\\-!?@)/,&:~0E_acdeprtu])"+regex_'5c'5c'5blL'5d'28'5b'5e'5c'5c'5d'7c'5c'5c'5b'25_'7c'5c'5e'7b'7d'27'60'5c'2d'21'3f'40'29'2f'2c'26'3a'7e0E'5facdeprtu'5d'29'5c'7c'3f = compileRegex True "\\\\[lL]([^\\\\]|\\\\[% |\\^{}'`\\-!?@)/,&:~0E_acdeprtu])\\|?"+regex_'5c'5cR'28'5b'5e'5c'5c'5d'7c'5c'5c'5b'25_'7c'5c'5e'7b'7d'27'60'5c'2d'21'3f'40'29'2f'2c'26'3a'7e0E'5facdeprtu'5d'29 = compileRegex True "\\\\R([^\\\\]|\\\\[% |\\^{}'`\\-!?@)/,&:~0E_acdeprtu])"+regex_'5c'5cC'28'5b'5e'5c'5c'5d'7c'5c'5c'5b'25_'7c'5c'5e'7b'7d'27'60'5c'2d'21'3f'40'29'2f'2c'26'3a'7e0E'5facdeprtu'5d'29 = compileRegex True "\\\\C([^\\\\]|\\\\[% |\\^{}'`\\-!?@)/,&:~0E_acdeprtu])"+regex_'5c'5cN'28'5b'5e'5c'5c0'2d9'5d'7c'5c'5c'5b'25'3a'7b'7d'27'60'5c'2d'5f'21'40'2fcep'5d'29'5b0'2d9'5d'2b'5c1 = compileRegex True "\\\\N([^\\\\0-9]|\\\\[%:{}'`\\-_!@/cep])[0-9]+\\1" regex_'5c'5c'28'5b'5e'5d'5cs'5d'7c'5c'28'5b'5e'5d'5cs'5d'7b2'7d'7c'5c'5b'5b'5e'5d'5cs'5d'2b'5c'5d'29 = compileRegex True "\\\\([^]\\s]|\\([^]\\s]{2}|\\[[^]\\s]+\\])" regex_'5c'5c'24 = compileRegex True "\\\\$" regex_'5cs'2ads'5cb = compileRegex True "\\s*ds\\b"@@ -147,21 +147,21 @@    <|>    ((pRegExpr regex_'5c'5c'28'5c'24'5b0'2d9'2a'40'5d'7c'5b'2e'3a'25_'7c'5e'7b'7d'5f'21'3f'40'29'2f'2c'26'3a'7e0acdeEprtu'5d'29 >>= withAttribute CharTok) >>~ (popContext))    <|>-   ((pRegExpr regex_'5c'5c'5bAbBDowXZ'5d'28'5b'5e'5c'5c'5d'7c'5c'5c'5b'25_'7c'5e'7b'7d'27'60'2d'5f'21'3f'40'29'2f'2c'26'3a'7e0acdeEprtu'5d'29 >>= withAttribute CharTok) >>~ pushContext ("Roff","Argument"))+   ((pRegExpr regex_'5c'5c'5bABDXZbow'5d'28'5b'5e'5c'5c'5d'7c'5c'5c'5b'25_'7c'5c'5e'7b'7d'27'60'5c'2d'21'3f'40'29'2f'2c'26'3a'7e0E'5facdeprtu'5d'29 >>= withAttribute CharTok) >>~ pushContext ("Roff","Argument"))    <|>    ((pRegExpr regex_'5c'5c'5bgkmMVYz'5d'28'5b'5e'5d'5cs'5d'7c'5c'28'5b'5e'5d'5cs'5d'7b2'7d'7c'5c'5b'5b'5e'5d'5cs'5d'2b'5c'5d'29 >>= withAttribute CharTok) >>~ (popContext))    <|>    ((pRegExpr regex_'5c'5cO'28'5b0'2d4'5d'7c'5c'5b5'5blrci'5d'5b'5e'5d'5d'5c'5d'29 >>= withAttribute CharTok) >>~ (popContext))    <|>-   ((pRegExpr regex_'5c'5c'5bhHSvx'5d'28'5b'5e'5c'5c'5d'7c'5c'5c'5b'25_'7c'5e'7b'7d'27'60'2d'5f'21'3f'40'29'2f'2c'26'3a'7e0acdeEprtu'5d'29 >>= withAttribute CharTok) >>~ pushContext ("Roff","Measurement"))+   ((pRegExpr regex_'5c'5c'5bhHSvx'5d'28'5b'5e'5c'5c'5d'7c'5c'5c'5b'25_'7c'5c'5e'7b'7d'27'60'5c'2d'21'3f'40'29'2f'2c'26'3a'7e0E'5facdeprtu'5d'29 >>= withAttribute CharTok) >>~ pushContext ("Roff","Measurement"))    <|>-   ((pRegExpr regex_'5c'5c'5blL'5d'28'5b'5e'5c'5c'5d'7c'5c'5c'5b'25_'7c'5e'7b'7d'27'60'2d'5f'21'3f'40'29'2f'2c'26'3a'7e0acdeEprtu'5d'29'5c'7c'3f >>= withAttribute CharTok) >>~ pushContext ("Roff","Measurement"))+   ((pRegExpr regex_'5c'5c'5blL'5d'28'5b'5e'5c'5c'5d'7c'5c'5c'5b'25_'7c'5c'5e'7b'7d'27'60'5c'2d'21'3f'40'29'2f'2c'26'3a'7e0E'5facdeprtu'5d'29'5c'7c'3f >>= withAttribute CharTok) >>~ pushContext ("Roff","Measurement"))    <|>-   ((pRegExpr regex_'5c'5cR'28'5b'5e'5c'5c'5d'7c'5c'5c'5b'25_'7c'5e'7b'7d'27'60'2d'5f'21'3f'40'29'2f'2c'26'3a'7e0acdeEprtu'5d'29 >>= withAttribute CharTok) >>~ pushContext ("Roff","Argument"))+   ((pRegExpr regex_'5c'5cR'28'5b'5e'5c'5c'5d'7c'5c'5c'5b'25_'7c'5c'5e'7b'7d'27'60'5c'2d'21'3f'40'29'2f'2c'26'3a'7e0E'5facdeprtu'5d'29 >>= withAttribute CharTok) >>~ pushContext ("Roff","Argument"))    <|>-   ((pRegExpr regex_'5c'5cC'28'5b'5e'5c'5c'5d'7c'5c'5c'5b'25_'7c'5e'7b'7d'27'60'2d'5f'21'3f'40'29'2f'2c'26'3a'7e0acdeEprtu'5d'29 >>= withAttribute OtherTok) >>~ pushContext ("Roff","GlyphArgument"))+   ((pRegExpr regex_'5c'5cC'28'5b'5e'5c'5c'5d'7c'5c'5c'5b'25_'7c'5c'5e'7b'7d'27'60'5c'2d'21'3f'40'29'2f'2c'26'3a'7e0E'5facdeprtu'5d'29 >>= withAttribute OtherTok) >>~ pushContext ("Roff","GlyphArgument"))    <|>-   ((pRegExpr regex_'5c'5cN'28'5b'5e'5c'5c0'2d9'5d'7c'5c'5c'5b'25'3a'7b'7d'27'60'2d'5f'21'40'2fcep'5d'29'5b0'2d9'5d'2b'5c1 >>= withAttribute OtherTok) >>~ (popContext))+   ((pRegExpr regex_'5c'5cN'28'5b'5e'5c'5c0'2d9'5d'7c'5c'5c'5b'25'3a'7b'7d'27'60'5c'2d'5f'21'40'2fcep'5d'29'5b0'2d9'5d'2b'5c1 >>= withAttribute OtherTok) >>~ (popContext))    <|>    ((pRegExpr regex_'5c'5c'28'5b'5e'5d'5cs'5d'7c'5c'28'5b'5e'5d'5cs'5d'7b2'7d'7c'5c'5b'5b'5e'5d'5cs'5d'2b'5c'5d'29 >>= withAttribute OtherTok) >>~ (popContext))    <|>
Text/Highlighting/Kate/Syntax/Ruby.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file ruby.xml, version 1.27, by Stefan Lang (langstefan@gmx.at), Sebastian Vuorinen (sebastian.vuorinen@helsinki.fi), Robin Pedersen (robinpeder@gmail.com), Miquel Sabaté (mikisabate@gmail.com) -}+   highlighting file ruby.xml, version 2, by Stefan Lang (langstefan@gmx.at), Sebastian Vuorinen (sebastian.vuorinen@helsinki.fi), Robin Pedersen (robinpeder@gmail.com), Miquel Sabaté (mikisabate@gmail.com) -}  module Text.Highlighting.Kate.Syntax.Ruby           (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -18,7 +18,7 @@  -- | Filename extensions for this language. syntaxExtensions :: String-syntaxExtensions = "*.rb;*.rjs;*.rxml;*.xml.erb;*.js.erb;*.rake;Rakefile;Gemfile;*.gemspec"+syntaxExtensions = "*.rb;*.rjs;*.rxml;*.xml.erb;*.js.erb;*.rake;Rakefile;Gemfile;*.gemspec;Vagrantfile"  -- | Highlight source code using this syntax definition. highlight :: String -> [SourceLine]@@ -182,6 +182,8 @@ regex_'2f'3d'5cs = compileRegex True "/=\\s" regex_'3a'28'40'7b1'2c2'7d'7c'5c'24'29'3f'5ba'2dzA'2dZ'5f'5d'5ba'2dzA'2dZ0'2d9'5f'5d'2a'5b'3d'3f'21'5d'3f = compileRegex True ":(@{1,2}|\\$)?[a-zA-Z_][a-zA-Z0-9_]*[=?!]?" regex_'3a'5c'5b'5c'5d'3d'3f = compileRegex True ":\\[\\]=?"+regex_'28'40'7b1'2c2'7d'7c'5c'24'29'3f'5ba'2dzA'2dZ'5f'5d'5ba'2dzA'2dZ0'2d9'5f'5d'2a'5b'3d'3f'21'5d'3f'3a_ = compileRegex True "(@{1,2}|\\$)?[a-zA-Z_][a-zA-Z0-9_]*[=?!]?: "+regex_'5c'5b'5c'5d'3d'3f'3a_ = compileRegex True "\\[\\]=?: " regex_'23'5cs'2aBEGIN'2e'2a'24 = compileRegex True "#\\s*BEGIN.*$" regex_'23'5cs'2aEND'2e'2a'24 = compileRegex True "#\\s*END.*$" regex_'40'5ba'2dzA'2dZ'5f0'2d9'5d'2b = compileRegex True "@[a-zA-Z_0-9]+"@@ -356,6 +358,10 @@    ((pRegExpr regex_'3a'28'40'7b1'2c2'7d'7c'5c'24'29'3f'5ba'2dzA'2dZ'5f'5d'5ba'2dzA'2dZ0'2d9'5f'5d'2a'5b'3d'3f'21'5d'3f >>= withAttribute StringTok) >>~ pushContext ("Ruby","check_div_1"))    <|>    ((pRegExpr regex_'3a'5c'5b'5c'5d'3d'3f >>= withAttribute StringTok) >>~ pushContext ("Ruby","check_div_1"))+   <|>+   ((pRegExpr regex_'28'40'7b1'2c2'7d'7c'5c'24'29'3f'5ba'2dzA'2dZ'5f'5d'5ba'2dzA'2dZ0'2d9'5f'5d'2a'5b'3d'3f'21'5d'3f'3a_ >>= withAttribute StringTok) >>~ pushContext ("Ruby","check_div_1"))+   <|>+   ((pRegExpr regex_'5c'5b'5c'5d'3d'3f'3a_ >>= withAttribute StringTok) >>~ pushContext ("Ruby","check_div_1"))    <|>    ((pDetectChar False '"' >>= withAttribute StringTok) >>~ pushContext ("Ruby","Quoted String"))    <|>
Text/Highlighting/Kate/Syntax/Rust.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file rust.xml, version 0.9, by  -}+   highlighting file rust.xml, version 2, by  -}  module Text.Highlighting.Kate.Syntax.Rust           (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -17,7 +17,7 @@  -- | Filename extensions for this language. syntaxExtensions :: String-syntaxExtensions = "*.rs;*.rc"+syntaxExtensions = "*.rs"  -- | Highlight source code using this syntax definition. highlight :: String -> [SourceLine]@@ -52,6 +52,9 @@       ("Rust","Function") -> return ()       ("Rust","Type") -> return ()       ("Rust","String") -> return ()+      ("Rust","RawString") -> return ()+      ("Rust","RawHashed1") -> return ()+      ("Rust","RawHashed2") -> return ()       ("Rust","Character") -> (popContext) >> pEndLine       ("Rust","CharEscape") -> (popContext) >> pEndLine       ("Rust","Commentar 1") -> (popContext) >> pEndLine@@ -67,12 +70,12 @@  list_fn = Set.fromList $ words $ "fn" list_type = Set.fromList $ words $ "type"-list_keywords = Set.fromList $ words $ "as break continue do drop else enum extern for if impl let loop match mod mut priv pub ref return static struct super trait unsafe use while"-list_traits = Set.fromList $ words $ "Const Copy Send Owned Sized Eq Ord Num Ptr Drop Add Sub Mul Quot Rem Neg BitAnd BitOr BitXor Shl Shr Index Not"-list_types = Set.fromList $ words $ "bool int uint i8 i16 i32 i64 u8 u16 u32 u64 f32 f64 float char str Either Option Result Self"+list_keywords = Set.fromList $ words $ "abstract alignof as become box break const continue crate do else enum extern final for if impl in let loop macro match mod move mut offsetof override priv proc pub pure ref return Self self sizeof static struct super trait type typeof unsafe unsized use virtual where while yield"+list_traits = Set.fromList $ words $ "AsSlice CharExt Clone Copy Debug Decodable Default Display DoubleEndedIterator Drop Encodable Eq Default Extend Fn FnMut FnOnce FromPrimitive Hash Iterator IteratorExt MutPtrExt Ord PartialEq PartialOrd PtrExt Rand Send Sized SliceConcatExt SliceExt Str StrExt Sync ToString"+list_types = Set.fromList $ words $ "bool int isize uint usize i8 i16 i32 i64 u8 u16 u32 u64 f32 f64 float char str Option Result Self Box Vec String" list_ctypes = Set.fromList $ words $ "c_float c_double c_void FILE fpos_t DIR dirent c_char c_schar c_uchar c_short c_ushort c_int c_uint c_long c_ulong size_t ptrdiff_t clock_t time_t c_longlong c_ulonglong intptr_t uintptr_t off_t dev_t ino_t pid_t mode_t ssize_t" list_self = Set.fromList $ words $ "self"-list_constants = Set.fromList $ words $ "true false Some None Left Right Ok Err Success Failure Cons Nil"+list_constants = Set.fromList $ words $ "true false Some None Ok Err Success Failure Cons Nil" list_cconstants = Set.fromList $ words $ "EXIT_FAILURE EXIT_SUCCESS RAND_MAX EOF SEEK_SET SEEK_CUR SEEK_END _IOFBF _IONBF _IOLBF BUFSIZ FOPEN_MAX FILENAME_MAX L_tmpnam TMP_MAX O_RDONLY O_WRONLY O_RDWR O_APPEND O_CREAT O_EXCL O_TRUNC S_IFIFO S_IFCHR S_IFBLK S_IFDIR S_IFREG S_IFMT S_IEXEC S_IWRITE S_IREAD S_IRWXU S_IXUSR S_IWUSR S_IRUSR F_OK R_OK W_OK X_OK STDIN_FILENO STDOUT_FILENO STDERR_FILENO"  regex_0x'5b0'2d9a'2dfA'2dF'5f'5d'2b'28'5biu'5d'288'7c16'7c32'7c64'29'3f'29'3f = compileRegex True "0x[0-9a-fA-F_]+([iu](8|16|32|64)?)?"@@ -84,6 +87,7 @@ regex_'5ba'2dzA'2dZ'5f'5d'5ba'2dzA'2dZ'5f0'2d9'5d'2a'21 = compileRegex True "[a-zA-Z_][a-zA-Z_0-9]*!" regex_'27'5ba'2dzA'2dZ'5f'5d'5ba'2dzA'2dZ'5f0'2d9'5d'2a'28'3f'21'27'29 = compileRegex True "'[a-zA-Z_][a-zA-Z_0-9]*(?!')" regex_x'5b0'2d9a'2dfA'2dF'5d'7b2'7d = compileRegex True "x[0-9a-fA-F]{2}"+regex_u'5c'7b'5b0'2d9a'2dfA'2dF'5d'7b1'2c6'7d'5c'7d = compileRegex True "u\\{[0-9a-fA-F]{1,6}\\}" regex_u'5b0'2d9a'2dfA'2dF'5d'7b4'7d = compileRegex True "u[0-9a-fA-F]{4}" regex_U'5b0'2d9a'2dfA'2dF'5d'7b8'7d = compileRegex True "U[0-9a-fA-F]{8}" regex_'2e = compileRegex True "."@@ -97,17 +101,17 @@    <|>    ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_keywords >>= withAttribute KeywordTok))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_types >>= withAttribute KeywordTok))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_types >>= withAttribute DataTypeTok))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_traits >>= withAttribute KeywordTok))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_traits >>= withAttribute BuiltInTok))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_ctypes >>= withAttribute NormalTok))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_ctypes >>= withAttribute DataTypeTok))    <|>    ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_self >>= withAttribute KeywordTok))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_constants >>= withAttribute KeywordTok))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_constants >>= withAttribute ConstantTok))    <|>-   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_cconstants >>= withAttribute NormalTok))+   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_cconstants >>= withAttribute ConstantTok))    <|>    ((pDetect2Chars False '/' '/' >>= withAttribute CommentTok) >>~ pushContext ("Rust","Commentar 1"))    <|>@@ -123,11 +127,13 @@    <|>    ((pRegExpr regex_'5b0'2d9'5d'5b0'2d9'5f'5d'2a'28'5biu'5d'288'7c16'7c32'7c64'29'3f'29'3f >>= withAttribute DecValTok))    <|>-   ((pDetect2Chars False '#' '[' >>= withAttribute OtherTok) >>~ pushContext ("Rust","Attribute"))+   ((pDetect2Chars False '#' '[' >>= withAttribute AttributeTok) >>~ pushContext ("Rust","Attribute"))    <|>+   ((pString False "#![" >>= withAttribute AttributeTok) >>~ pushContext ("Rust","Attribute"))+   <|>    ((pRegExpr regex_'5ba'2dzA'2dZ'5f'5d'5ba'2dzA'2dZ'5f0'2d9'5d'2a'3a'3a >>= withAttribute NormalTok))    <|>-   ((pRegExpr regex_'5ba'2dzA'2dZ'5f'5d'5ba'2dzA'2dZ'5f0'2d9'5d'2a'21 >>= withAttribute OtherTok))+   ((pRegExpr regex_'5ba'2dzA'2dZ'5f'5d'5ba'2dzA'2dZ'5f0'2d9'5d'2a'21 >>= withAttribute PreprocessorTok))    <|>    ((pRegExpr regex_'27'5ba'2dzA'2dZ'5f'5d'5ba'2dzA'2dZ'5f0'2d9'5d'2a'28'3f'21'27'29 >>= withAttribute OtherTok))    <|>@@ -135,6 +141,12 @@    <|>    ((pDetectChar False '}' >>= withAttribute NormalTok))    <|>+   ((pDetect2Chars False 'r' '"' >>= withAttribute StringTok) >>~ pushContext ("Rust","RawString"))+   <|>+   ((pString False "r##\"" >>= withAttribute StringTok) >>~ pushContext ("Rust","RawHashed2"))+   <|>+   ((pString False "r#\"" >>= withAttribute StringTok) >>~ pushContext ("Rust","RawHashed1"))+   <|>    ((pDetectChar False '"' >>= withAttribute StringTok) >>~ pushContext ("Rust","String"))    <|>    ((pDetectChar False '\'' >>= withAttribute CharTok) >>~ pushContext ("Rust","Character"))@@ -148,11 +160,11 @@    (currentContext >>= \x -> guard (x == ("Rust","Normal")) >> pDefault >>= withAttribute NormalTok))  parseRules ("Rust","Attribute") =-  (((pDetectChar False ']' >>= withAttribute OtherTok) >>~ (popContext))+  (((pDetectChar False ']' >>= withAttribute AttributeTok) >>~ (popContext))    <|>    ((parseRules ("Rust","Normal")))    <|>-   (currentContext >>= \x -> guard (x == ("Rust","Attribute")) >> pDefault >>= withAttribute OtherTok))+   (currentContext >>= \x -> guard (x == ("Rust","Attribute")) >> pDefault >>= withAttribute AttributeTok))  parseRules ("Rust","Function") =   (((pDetectSpaces >>= withAttribute NormalTok))@@ -170,42 +182,61 @@    <|>    ((pDetectChar False '<' >>= withAttribute NormalTok) >>~ (popContext))    <|>+   ((pDetectChar False ';' >>= withAttribute NormalTok) >>~ (popContext))+   <|>    (currentContext >>= \x -> guard (x == ("Rust","Type")) >> pDefault >>= withAttribute NormalTok))  parseRules ("Rust","String") =-  (((pLineContinue >>= withAttribute StringTok))-   <|>-   ((pDetectChar False '\\' >>= withAttribute CharTok) >>~ pushContext ("Rust","CharEscape"))+  (((pDetectChar False '\\' >>= withAttribute SpecialCharTok) >>~ pushContext ("Rust","CharEscape"))    <|>    ((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext))    <|>    (currentContext >>= \x -> guard (x == ("Rust","String")) >> pDefault >>= withAttribute StringTok)) +parseRules ("Rust","RawString") =+  (((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext))+   <|>+   (currentContext >>= \x -> guard (x == ("Rust","RawString")) >> pDefault >>= withAttribute StringTok))++parseRules ("Rust","RawHashed1") =+  (((pDetect2Chars False '"' '#' >>= withAttribute StringTok) >>~ (popContext))+   <|>+   (currentContext >>= \x -> guard (x == ("Rust","RawHashed1")) >> pDefault >>= withAttribute StringTok))++parseRules ("Rust","RawHashed2") =+  (((pString False "\"##" >>= withAttribute StringTok) >>~ (popContext))+   <|>+   (currentContext >>= \x -> guard (x == ("Rust","RawHashed2")) >> pDefault >>= withAttribute StringTok))+ parseRules ("Rust","Character") =-  (((pDetectChar False '\\' >>= withAttribute CharTok) >>~ pushContext ("Rust","CharEscape"))+  (((pDetectChar False '\\' >>= withAttribute SpecialCharTok) >>~ pushContext ("Rust","CharEscape"))    <|>    ((pDetectChar False '\'' >>= withAttribute CharTok) >>~ (popContext))    <|>    (currentContext >>= \x -> guard (x == ("Rust","Character")) >> pDefault >>= withAttribute CharTok))  parseRules ("Rust","CharEscape") =-  (((pAnyChar "nrt\\'\"" >>= withAttribute CharTok) >>~ (popContext))+  (((pAnyChar "nrt\\'\"" >>= withAttribute SpecialCharTok) >>~ (popContext))    <|>-   ((pRegExpr regex_x'5b0'2d9a'2dfA'2dF'5d'7b2'7d >>= withAttribute CharTok) >>~ (popContext))+   ((pRegExpr regex_x'5b0'2d9a'2dfA'2dF'5d'7b2'7d >>= withAttribute SpecialCharTok) >>~ (popContext))    <|>-   ((pRegExpr regex_u'5b0'2d9a'2dfA'2dF'5d'7b4'7d >>= withAttribute CharTok) >>~ (popContext))+   ((pRegExpr regex_u'5c'7b'5b0'2d9a'2dfA'2dF'5d'7b1'2c6'7d'5c'7d >>= withAttribute SpecialCharTok) >>~ (popContext))    <|>-   ((pRegExpr regex_U'5b0'2d9a'2dfA'2dF'5d'7b8'7d >>= withAttribute CharTok) >>~ (popContext))+   ((pRegExpr regex_u'5b0'2d9a'2dfA'2dF'5d'7b4'7d >>= withAttribute SpecialCharTok) >>~ (popContext))    <|>+   ((pRegExpr regex_U'5b0'2d9a'2dfA'2dF'5d'7b8'7d >>= withAttribute SpecialCharTok) >>~ (popContext))+   <|>    ((pRegExpr regex_'2e >>= withAttribute ErrorTok) >>~ (popContext))    <|>-   (currentContext >>= \x -> guard (x == ("Rust","CharEscape")) >> pDefault >>= withAttribute CharTok))+   (currentContext >>= \x -> guard (x == ("Rust","CharEscape")) >> pDefault >>= withAttribute SpecialCharTok))  parseRules ("Rust","Commentar 1") =   (currentContext >>= \x -> guard (x == ("Rust","Commentar 1")) >> pDefault >>= withAttribute CommentTok)  parseRules ("Rust","Commentar 2") =   (((pDetectSpaces >>= withAttribute CommentTok))+   <|>+   ((pDetect2Chars False '/' '*' >>= withAttribute CommentTok) >>~ pushContext ("Rust","Commentar 2"))    <|>    ((pDetect2Chars False '*' '/' >>= withAttribute CommentTok) >>~ (popContext))    <|>
Text/Highlighting/Kate/Syntax/Scala.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file scala.xml, version 1.0, by Stephane Micheloud (stephane.micheloud@epfl.ch) -}+   highlighting file scala.xml, version 2, by Stephane Micheloud (stephane.micheloud@epfl.ch) -}  module Text.Highlighting.Kate.Syntax.Scala           (highlight, parseExpression, syntaxName, syntaxExtensions)
Text/Highlighting/Kate/Syntax/Scheme.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file scheme.xml, version 1.13, by Dominik Haumann (dhdev@gmx.de) -}+   highlighting file scheme.xml, version 2, by Dominik Haumann (dhdev@gmx.de) -}  module Text.Highlighting.Kate.Syntax.Scheme           (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -131,7 +131,7 @@ parseRules ("Scheme","SpecialNumber") =   (((pRegExpr regex_'5cd'2a'28'5c'2e'5cd'2b'29'3f >>= withAttribute DecValTok) >>~ (popContext))    <|>-   (currentContext >>= parseRules))+   ((popContext) >> currentContext >>= parseRules))  parseRules ("Scheme","String") =   (((pKeyword " \n\t.(),%&;[]^{|}~" list_characters >>= withAttribute CharTok))
Text/Highlighting/Kate/Syntax/Sci.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file sci.xml, version 1.03, by  -}+   highlighting file sci.xml, version 2, by  -}  module Text.Highlighting.Kate.Syntax.Sci           (highlight, parseExpression, syntaxName, syntaxExtensions)
Text/Highlighting/Kate/Syntax/Sed.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file sed.xml, version 1.0, by Bart Sas (bart.sas@gmail.com) -}+   highlighting file sed.xml, version 2, by Bart Sas (bart.sas@gmail.com) -}  module Text.Highlighting.Kate.Syntax.Sed           (highlight, parseExpression, syntaxName, syntaxExtensions)
Text/Highlighting/Kate/Syntax/Sgml.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file sgml.xml, version 1.02, by  -}+   highlighting file sgml.xml, version 2, by  -}  module Text.Highlighting.Kate.Syntax.Sgml           (highlight, parseExpression, syntaxName, syntaxExtensions)
Text/Highlighting/Kate/Syntax/Sql.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file sql.xml, version 1.16, by Yury Lebedev (yurylebedev@mail.ru) -}+   highlighting file sql.xml, version 2, by Yury Lebedev (yurylebedev@mail.ru) -}  module Text.Highlighting.Kate.Syntax.Sql           (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -63,10 +63,10 @@                           , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) }   return (attr, txt) -list_keywords = Set.fromList $ words $ "access account add admin administer advise after agent all all_rows allocate alter analyze ancillary and any archive archivelog as asc assertion associate at attribute attributes audit authenticated authid authorization autoallocate autoextend automatic backup become before begin behalf between binding bitmap block block_range body bound both break broadcast btitle buffer_pool build bulk by cache cache_instances call cancel cascade case category chained change check checkpoint child choose chunk class clear clone close close_cached_open_cursors cluster coalesce column columns column_value comment commit committed compatibility compile complete composite_limit compress compute connect connect_time consider consistent constant constraint constraints container contents context continue controlfile copy cost cpu_per_call cpu_per_session create create_stored_outlines cross cube current cursor cycle dangling data database datafile datafiles dba ddl deallocate debug declare default deferrable deferred definer degree delete demand desc determines dictionary dimension directory disable disassociate disconnect diskgroup dismount distinct distributed domain drop dynamic each else elsif empty enable end enforce entry escape estimate events except exception exceptions exchange excluding exclusive exec execute exists expire explain explosion extends extent extents externally failed_login_attempts false fast file filter first_rows flagger flashback flush following for force foreign freelist freelists fresh from full function functions generated global globally global_name grant group groups hash hashkeys having header heap hierarchy hour id identified identifier idgenerators idle_time if immediate in including increment incremental index indexed indexes indextype indextypes indicator initial initialized initially initrans inner insert instance instances instead intermediate intersect into invalidate is isolation isolation_level java join keep key kill label layer leading left less level library like limit link list local locator lock locked logfile logging logical_reads_per_call logical_reads_per_session logoff logon loop manage managed management master materialized maxarchlogs maxdatafiles maxextents maxinstances maxlogfiles maxloghistory maxlogmembers maxsize maxtrans maxvalue method member merge minimize minimum minextents minus minute minvalue mode modify monitoring mount move movement mts_dispatchers multiset named natural needed nested nested_table_id network never new next nls_calendar nls_characterset nls_comp nls_currency nls_date_format nls_date_language nls_iso_currency nls_lang nls_language nls_numeric_characters nls_sort nls_special_chars nls_territory no noarchivelog noaudit nocache nocompress nocycle noforce nologging nomaxvalue nominimize nominvalue nomonitoring none noorder nooverride noparallel norely noresetlogs noreverse normal nosegment nosort not nothing novalidate nowait null nulls objno objno_reuse of off offline oid oidindex old on online only opcode open operator optimal optimizer_goal option or order organization out outer outline over overflow overlaps own package packages parallel parameters parent partition partitions partition_hash partition_range password password_grace_time password_life_time password_lock_time password_reuse_max password_reuse_time password_verify_function pctfree pctincrease pctthreshold pctused pctversion percent permanent plan plsql_debug post_transaction prebuilt preceding prepare present preserve previous primary prior private private_sga privilege privileges procedure profile public purge query queue quota random range rba read reads rebuild records_per_block recover recoverable recovery recycle reduced references referencing refresh rely rename replace reset resetlogs resize resolve resolver resource restrict restricted resume return returning reuse reverse revoke rewrite right role roles rollback rollup row rownum rows rule sample savepoint scan scan_instances schema scn scope sd_all sd_inhibit sd_show segment seg_block seg_file select selectivity sequence serializable servererror session session_cached_cursors sessions_per_user set share shared shared_pool shrink shutdown singletask size skip skip_unusable_indexes snapshot some sort source specification split sql_trace standby start startup statement_id statistics static stop storage store structure submultiset subpartition subpartitions successful summary supplemental suspend switch sys_op_bitvec sys_op_enforce_not_null$ sys_op_noexpand sys_op_ntcimg$ synonym sysdba sysoper system table tables tablespace tablespace_no tabno tempfile temporary than the then thread through timeout timezone_hour timezone_minute time_zone to toplevel trace tracing trailing transaction transitional trigger triggers true truncate type types unarchived unbound unbounded undo uniform union unique unlimited unlock unrecoverable until unusable unused upd_indexes updatable update uppper usage use use_stored_outlines user_defined using validate validation values view when whenever where while with without work write"+list_keywords = Set.fromList $ words $ "access account add admin administer advise after agent all allocate all_rows alter analyze ancillary and any archive archivelog as asc assertion associate at attribute attributes audit authenticated authid authorization autoallocate autoextend automatic backup become before begin behalf between binding bitmap block block_range body both bound break broadcast btitle buffer_pool build bulk by cache cache_instances call cancel cascade case category chained change check checkpoint child choose chunk class clear clone close close_cached_open_cursors cluster coalesce column columns column_value comment commit committed compatibility compile complete composite_limit compress compute connect connect_time consider consistent constant constraint constraints container contents context continue controlfile copy cost cpu_per_call cpu_per_session create create_stored_outlines cross cube current cursor cycle dangling data database datafile datafiles dba ddl deallocate debug declare default deferrable deferred definer degree delete demand desc determines dictionary dimension directory disable disassociate disconnect diskgroup dismount distinct distributed domain drop dynamic each else elsif empty enable end enforce entry escape estimate events except exception exceptions exchange excluding exclusive exec execute exists expire explain explosion extends extent extents externally failed_login_attempts false fast file filter first_rows flagger flashback flush following for force foreign freelist freelists fresh from full function functions generated global globally global_name grant group groups hash hashkeys having header heap hierarchy hour id identified identifier idgenerators idle_time if immediate in including increment incremental index indexed indexes indextype indextypes indicator initial initialized initially initrans inner insert instance instances instead intermediate intersect into invalidate is isolation isolation_level java join keep key kill label layer leading left less level library like limit link list local locator lock locked logfile logging logical_reads_per_call logical_reads_per_session logoff logon loop manage managed management master materialized maxarchlogs maxdatafiles maxextents maxinstances maxlogfiles maxloghistory maxlogmembers maxsize maxtrans maxvalue member merge method minextents minimize minimum minus minute minvalue mode modify monitoring mount move movement mts_dispatchers multiset named natural needed nested nested_table_id network never new next nls_calendar nls_characterset nls_comp nls_currency nls_date_format nls_date_language nls_iso_currency nls_lang nls_language nls_numeric_characters nls_sort nls_special_chars nls_territory no noarchivelog noaudit nocache nocompress nocycle noforce nologging nomaxvalue nominimize nominvalue nomonitoring none noorder nooverride noparallel norely noresetlogs noreverse normal nosegment nosort not nothing novalidate nowait null nulls objno objno_reuse of off offline oid oidindex old on online only opcode open operator optimal optimizer_goal option or order organization out outer outline over overflow overlaps own package packages parallel parameters parent partition partitions partition_hash partition_range password password_grace_time password_life_time password_lock_time password_reuse_max password_reuse_time password_verify_function pctfree pctincrease pctthreshold pctused pctversion percent permanent plan plsql_debug post_transaction prebuilt preceding prepare present preserve previous primary prior private private_sga privilege privileges procedure profile public purge query queue quota random range rba read reads rebuild records_per_block recover recoverable recovery recycle reduced references referencing refresh rely rename replace reset resetlogs resize resolve resolver resource restrict restricted resume return returning reuse reverse revoke rewrite right role roles rollback rollup row rownum rows rule sample savepoint scan scan_instances schema scn scope sd_all sd_inhibit sd_show segment seg_block seg_file select selectivity sequence serializable servererror session sessions_per_user session_cached_cursors set share shared shared_pool shrink shutdown singletask size skip skip_unusable_indexes snapshot some sort source specification split sql_trace standby start startup statement_id static statistics stop storage store structure submultiset subpartition subpartitions successful summary supplemental suspend switch synonym sysdba sysoper system sys_op_bitvec sys_op_enforce_not_null$ sys_op_noexpand sys_op_ntcimg$ table tables tablespace tablespace_no tabno tempfile temporary than the then thread through timeout timezone_hour timezone_minute time_zone to toplevel trace tracing trailing transaction transitional trigger triggers true truncate type types unarchived unbound unbounded undo uniform union unique unlimited unlock unrecoverable until unusable unused updatable update upd_indexes uppper usage use user_defined use_stored_outlines using validate validation values view when whenever where while with without work write" list_operators = Set.fromList $ words $ "+ - * / || = != <> < <= > >= ~= ^= := => ** .." list_functions = Set.fromList $ words $ "abs acos add_months ascii asciistr asin atan atan2 avg bfilename bin_to_num bitand cardinality cast ceil chartorowid chr coalesce collect compose concat convert corr corr_k corr_s cos cosh count covar_pop covar_samp cume_dist current_date current_timestamp cv dbtimezone decode decompose dense_rank depth deref dump empty_blob empty_clob existsnode exp extract extractvalue first first_value floor from_tz greatest group_id grouping grouping_id hextoraw initcap instr instrb lag last last_day last_value lead least length lengthb ln lnnvl localtimestamp log lower lpad ltrim make_ref max median min mod months_between nanvl nchr new_time next_day nls_charset_decl_len nls_charset_id nls_charset_name nls_initcap nls_lower nls_upper nlssort ntile nullif numtodsinterval numtoyminterval nvl nvl2 ora_hash ora_rowscn percent_rank percentile_cont percentile_disc power powermultiset powermultiset_by_cardinality presentnnv presentv rank ratio_to_report rawtohex rawtonhex ref reftohex regexp_instr regexp_like regexp_replace regexp_substr regr_slope regr_intercept regr_count regr_r2 regr_avgx regr_avgy regr_sxx regr_syy regr_sxy remainder round row_number rowidtochar rowidtonchar rpad rtrim scn_to_timestamp sessiontimezone sign sin sinh soundex sqrt stats_binomial_test stats_crosstab stats_f_test stats_ks_test stats_mode stats_mw_test stats_one_way_anova stats_t_test_one stats_t_test_paired stats_t_test_indep stats_t_test_indepu stats_wsr_test stddev stddev_pop stddev_samp substr substrb sum sys_connect_by_path sys_context sys_dburigen sys_extract_utc sys_guid sys_typeid sys_xmlagg sys_xmlgen sysdate systimestamp tan tanh timestamp_to_scn to_binary_double to_binary_float to_char to_clob to_date to_dsinterval to_lob to_multi_byte to_nchar to_nclob to_number to_single_byte to_timestamp to_timestamp_tz to_yminterval translate treat trim trunc tz_offset uid unistr updatexml upper user userenv value var_pop var_samp variance vsize width_bucket xmlagg xmlcolattval xmlconcat xmlelement xmlforest xmlsequence xmltransform"-list_types = Set.fromList $ words $ "anydata anydataset anytype array bfile binary_double binary_float binary_integer blob boolean cfile char character clob date day dburitype dec decimal double float flob httpuritype int integer interval lob long mlslabel month national nchar nclob number numeric nvarchar object pls_integer precision raw record real rowid second single smallint time timestamp urifactorytype uritype urowid varchar varchar2 varying varray xmltype year zone"+list_types = Set.fromList $ words $ "anydata anydataset anytype array bfile binary_double binary_float binary_integer blob boolean cfile char character clob date day dburitype dec decimal double float flob httpuritype int integer interval lob long mlslabel month national nchar nclob number numeric nvarchar object pls_integer precision raw real record rowid second single smallint time timestamp urifactorytype uritype urowid varchar varchar2 varray varying xmltype year zone"  regex_'25'28'3f'3abulk'5f'28'3f'3aexceptions'7crowcount'29'7cfound'7cisopen'7cnotfound'7crowcount'7crowtype'7ctype'29'5cb = compileRegex False "%(?:bulk_(?:exceptions|rowcount)|found|isopen|notfound|rowcount|rowtype|type)\\b" regex_rem'5cb = compileRegex False "rem\\b"
Text/Highlighting/Kate/Syntax/SqlMysql.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file sql-mysql.xml, version 1.15, by Shane Wright (me@shanewright.co.uk) -}+   highlighting file sql-mysql.xml, version 2, by Shane Wright (me@shanewright.co.uk) -}  module Text.Highlighting.Kate.Syntax.SqlMysql           (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -63,10 +63,10 @@                           , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) }   return (attr, txt) -list_keywords = Set.fromList $ words $ "access add all alter analyze and as asc auto_increment bdb berkeleydb between both by cascade case change charset column columns constraint create cross current_date current_time current_timestamp database databases day_hour day_minute day_second dec default delayed delete desc describe distinct distinctrow drop else enclosed escaped exists explain fields for foreign from fulltext function grant group having high_priority if ignore in index infile inner innodb insert interval into is join key keys kill leading left like limit lines load lock low_priority master_server_id match mrg_myisam natural national not null numeric on optimize option optionally or order outer outfile partial precision primary privileges procedure purge read references regexp rename replace require restrict returns revoke right rlike select set show soname sql_big_result sql_calc_found_rows sql_small_result ssl starting straight_join striped table tables terminated then to trailing truncate type union unique unlock unsigned update usage use user_resources using values varying when where while with write xor year_month zerofill"+list_keywords = Set.fromList $ words $ "access add all alter analyze and as asc auto_increment bdb berkeleydb between both by cascade case change charset column columns constraint create cross current_date current_time current_timestamp database databases day_hour day_minute day_second dec default delayed delete desc describe distinct distinctrow drop else enclosed escaped exists explain fields for foreign from fulltext function grant group having high_priority if ignore in index infile inner innodb insert interval into is join key keys kill leading left like limit lines load lock low_priority master_server_id match mrg_myisam national natural not null numeric on optimize option optionally or order outer outfile partial precision primary privileges procedure purge read references regexp rename replace require restrict returns revoke right rlike select set show soname sql_big_result sql_calc_found_rows sql_small_result ssl starting straight_join striped table tables terminated then to trailing truncate type union unique unlock unsigned update usage use user_resources using values varying when where while with write xor year_month zerofill" list_operators = Set.fromList $ words $ "+ - * / || = != <> < <= > >= ~= ^= := => ** .."-list_functions = Set.fromList $ words $ "ascii ord conv bin oct hex char concat concat_ws length octet_length char_length character_length bit_length locate position instr lpad rpad left right substring substring_index mid ltrim rtrim trim soundex space replace repeat reverse insert elt field find_in_set make_set export_set lcase lower ucase upper load_file quote abs sign mod floor ceiling round exp ln log log2 log10 pow power sqrt pi cos sin tan acos asin atan atan2 cot rand least greatest degrees radians dayofweek weekday dayofmonth dayofyear month dayname monthname quarter week year yearweek hour minute second period_add period_diff date_add date_sub adddate subdate extract to_days from_days date_format time_format curdate current_date curtime current_time now sysdate current_timestamp unix_timestamp from_unixtime sec_to_time time_to_sec cast convert bit_count database user system_user session_user password encrypt encode decode md5 sha1 sha aes_encrypt aes_decrypt des_encrypt des_decrypt last_insert_id format version connection_id get_lock release_lock is_free_lock benchmark inet_ntoa inet_aton master_pos_wait found_rows count avg min max sum std stddev bit_or bit_and"-list_types = Set.fromList $ words $ "char character varchar binary varbinary tinyblob mediumblob blob longblob tinytext mediumtext text longtext enum bit bool boolean tinyint smallint mediumint middleint int integer bigint float double real decimal dec fixed numeric long serial date datetime time timestamp year"+list_functions = Set.fromList $ words $ "ascii bin bit_length char character_length char_length concat concat_ws conv elt export_set field find_in_set hex insert instr lcase left length load_file locate lower lpad ltrim make_set mid oct octet_length ord position quote repeat replace reverse right rpad rtrim soundex space substring substring_index trim ucase upper abs acos asin atan atan2 ceiling cos cot degrees exp floor greatest least ln log log10 log2 mod pi pow power radians rand round sign sin sqrt tan adddate curdate current_date current_time current_timestamp curtime date_add date_format date_sub dayname dayofmonth dayofweek dayofyear extract from_days from_unixtime hour minute month monthname now period_add period_diff quarter second sec_to_time subdate sysdate time_format time_to_sec to_days unix_timestamp week weekday year yearweek cast convert aes_decrypt aes_encrypt benchmark bit_count connection_id database decode des_decrypt des_encrypt encode encrypt format found_rows get_lock inet_aton inet_ntoa is_free_lock last_insert_id master_pos_wait md5 password release_lock session_user sha sha1 system_user user version avg bit_and bit_or count max min std stddev sum"+list_types = Set.fromList $ words $ "binary blob char character enum longblob longtext mediumblob mediumtext text tinyblob tinytext varbinary varchar bigint bit bool boolean dec decimal double fixed float int integer long mediumint middleint numeric tinyint real serial smallint date datetime time timestamp year"  regex_SET'28'3f'3d'5cs'2a'5c'28'29 = compileRegex False "SET(?=\\s*\\()" regex_'5cbCHARACTER_SET'5cb = compileRegex False "\\bCHARACTER SET\\b"
Text/Highlighting/Kate/Syntax/SqlPostgresql.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file sql-postgresql.xml, version 1.12, by Shane Wright (me@shanewright.co.uk) -}+   highlighting file sql-postgresql.xml, version 2, by Shane Wright (me@shanewright.co.uk) -}  module Text.Highlighting.Kate.Syntax.SqlPostgresql           (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -65,11 +65,13 @@                           , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) }   return (attr, txt) -list_keywords = Set.fromList $ words $ "abort access action add admin after aggregate alias all allocate alter analyse analyze any are as asc asensitive assertion assignment asymmetric at atomic authorization backward before begin between binary both breadth by c cache call called cardinality cascade cascaded case cast catalog catalog_name chain char_length character_length character_set_catalog character_set_name character_set_schema characteristics check checked checkpoint class class_origin clob close cluster coalesce cobol collate collation collation_catalog collation_name collation_schema column column_name command_function command_function_code comment commit committed completion condition_number connect connection connection_name constraint constraint_catalog constraint_name constraint_schema constraints constructor contains continue convert copy corresponding count create createdb createuser cross cube current current_date current_path current_role current_time current_timestamp current_user cursor cursor_name cycle data database date datetime_interval_code datetime_interval_precision day deallocate dec decimal declare default deferrable deferred defined definer delete delimiters depth deref desc describe descriptor destroy destructor deterministic diagnostics dictionary disconnect dispatch distinct do domain double drop dynamic dynamic_function dynamic_function_code each else encoding encrypted end end-exec equals escape every except exception exclusive exec execute existing exists explain external fetch final first for force foreign fortran forward found free freeze from full function g general generated get global go goto grant granted group grouping handler having hierarchy hold host hour identity ignore ilike immediate immutable implementation in increment index indicator infix inherits initialize initially inner inout input insensitive insert instance instantiable instead intersect interval into invoker is isnull isolation iterate join k key key_member key_type lancompiler language large last lateral leading left length less level like limit listen load local localtime localtimestamp location locator lock lower m map match max maxvalue message_length message_octet_length message_text method min minute minvalue mod mode modifies modify module month more move mumps name names national natural new next no nocreatedb nocreateuser none not nothing notify notnull null nullable nullif number numeric object octet_length of off offset oids old on only open operation operator option options order ordinality out outer output overlaps overlay overriding owner pad parameter parameter_mode parameter_name parameter_ordinal_position parameter_specific_catalog parameter_specific_name parameter_specific_schema parameters partial pascal password path pendant pli position postfix precision prefix preorder prepare preserve primary prior privileges procedural procedure public read reads real recursive ref references referencing reindex relative rename repeatable replace reset restrict result return returned_length returned_octet_length returned_sqlstate returns revoke right role rollback rollup routine routine_catalog routine_name routine_schema row row_count rows rule savepoint scale schema schema_name scope scroll search second section security select self sensitive sequence serializable server_name session session_user set setof sets share show similar simple size some source space specific specific_name specifictype sql sqlcode sqlerror sqlexception sqlstate sqlwarning stable start state statement static statistics stdin stdout structure style subclass_origin sublist substring sum symmetric sysid system system_user table table_name temp template temporary terminate than then timezone_hour timezone_minute to toast trailing transaction transaction_active transactions_committed transactions_rolled_back transform transforms translate translation treat trigger trigger_catalog trigger_name trigger_schema trim truncate trusted type uncommitted under unencrypted union unique unknown unlisten unnamed unnest until update upper usage user user_defined_type_catalog user_defined_type_name user_defined_type_schema using vacuum valid value values variable varying verbose version view volatile when whenever where while with without work write year zone false true"+list_keywords = Set.fromList $ words $ "abort access action add admin after aggregate alias all allocate alter analyse analyze any are as asc asensitive assertion assignment asymmetric at atomic authorization backward before begin between binary both breadth by c cache call called cardinality cascade cascaded case cast catalog catalog_name chain characteristics character_length character_set_catalog character_set_name character_set_schema char_length check checked checkpoint class class_origin clob close cluster coalesce cobol collate collation collation_catalog collation_name collation_schema column column_name command_function command_function_code comment commit committed completion condition_number connect connection connection_name constraints constraint constraint_catalog constraint_name constraint_schema constructor contains continue convert copy corresponding count create createdb createuser cross cube current current_date current_path current_role current_time current_timestamp current_user cursor cursor_name cycle data database date datetime_interval_code datetime_interval_precision day deallocate dec decimal declare default deferrable deferred defined definer delete delimiters depth deref desc describe descriptor destroy destructor deterministic diagnostics dictionary disconnect dispatch distinct do domain double drop dynamic dynamic_function dynamic_function_code each else encoding encrypted end end-exec equals escape every except exception exclusive exec execute existing exists explain external false fetch final first for force foreign fortran forward found free freeze from full function g general generated get global go goto grant granted group grouping handler having hierarchy hold host hour identity ignore ilike immediate immutable implementation in increment index indicator infix inherits initialize initially inner inout input insensitive insert instance instantiable instead intersect interval into invoker is isnull isolation iterate join k key key_member key_type lancompiler language large last lateral leading left length less level like limit listen load local localtime localtimestamp location locator lock lower m map match max maxvalue message_length message_octet_length message_text method min minute minvalue mod mode modifies modify module month more move mumps name names national natural new next no nocreatedb nocreateuser none not nothing notify notnull null nullable nullif number numeric object octet_length of off offset oids old on only open operation operator option options order ordinality out outer output overlaps overlay overriding owner pad parameter parameters parameter_mode parameter_name parameter_ordinal_position parameter_specific_catalog parameter_specific_name parameter_specific_schema partial pascal password path pendant pli position postfix precision prefix preorder prepare preserve primary prior privileges procedural procedure public read reads real recursive ref references referencing reindex relative rename repeatable replace reset restrict result return returned_length returned_octet_length returned_sqlstate returns revoke right role rollback rollup routine routine_catalog routine_name routine_schema row rows row_count rule savepoint scale schema schema_name scope scroll search second section security select self sensitive sequence serializable server_name session session_user set setof sets share show similar simple size some source space specific specifictype specific_name sql sqlcode sqlerror sqlexception sqlstate sqlwarning stable start state statement static statistics stdin stdout structure style subclass_origin sublist substring sum symmetric sysid system system_user table table_name temp template temporary terminate than then timezone_hour timezone_minute to toast trailing transaction transactions_committed transactions_rolled_back transaction_active transform transforms translate translation treat trigger trigger_catalog trigger_name trigger_schema trim true truncate trusted type uncommitted under unencrypted union unique unknown unlisten unnamed unnest until update upper usage user user_defined_type_catalog user_defined_type_name user_defined_type_schema using vacuum valid value values variable varying verbose version view volatile when whenever where while with without work write year zone" list_operators = Set.fromList $ words $ "+ - * / || |/ ||/ ! !! @ & | # << >> % ^ = != <> < <= > >= ~ ~* !~ !~* ^= := => ** .. and or not ## && &< &> <-> <^ >^ ?# ?- ?-| @-@ ?| ?|| @@ ~= <<= >>=" list_functions = Set.fromList $ words $ "abs cbrt ceil degrees exp floor ln log mod pi pow radians random round sign sqrt trunc acos asin atan atan2 cos cot sin tan bit_length char_length character_length lower octet_length position substring trim upper ascii btrim chr convert initcap length lpad ltrim pg_client_encoding repeat rpad rtrim strpos substr to_ascii translate encode decode to_char to_date to_timestamp to_number age date_part date_trunc extract isfinite now timeofday timestamp extract area box center diameter height isclosed isopen pclose npoint popen radius width box circle lseg path point polygon broadcast host masklen set_masklen netmask network abbrev nextval currval setval coalesce nullif has_table_privilege pg_get_viewdef pg_get_ruledef pg_get_indexdef pg_get_userbyid obj_description col_description avg count max min stddev sum variance"-list_types = Set.fromList $ words $ "lztext bigint int2 int8 bigserial serial8 bit bit varying varbit boolean bool box bytea character char character varying varchar cidr circle date double precision float8 inet integer int int4 interval line lseg macaddr money numeric decimal oid path point polygon real smallint serial text time timetz timestamp timestamptz timestamp with timezone"+list_types = Set.fromList $ words $ "bigint bigserial bit bit varying bool boolean box bytea char character character varying cidr circle date decimal double precision float8 inet int int2 int4 int8 integer interval line lseg lztext macaddr money numeric oid path point polygon real serial serial8 smallint text time timestamp timestamp with timezone timestamptz timetz varbit varchar" +regex_create'5cs'2b'28or'5cs'2breplace'5cs'2b'29'3ffunction = compileRegex False "create\\s+(or\\s+replace\\s+)?function"+regex_do'5cs'2b'5c'24'28'5b'5e'5c'24'5cn'5cr'5d'2a'29'5c'24 = compileRegex False "do\\s+\\$([^\\$\\n\\r]*)\\$" regex_'25bulk'5fexceptions'5cb = compileRegex False "%bulk_exceptions\\b" regex_'25bulk'5frowcount'5cb = compileRegex False "%bulk_rowcount\\b" regex_'25found'5cb = compileRegex False "%found\\b"@@ -83,7 +85,9 @@ regex_'40'40'3f'5b'5e'40_'5ct'5cr'5cn'5d = compileRegex False "@@?[^@ \\t\\r\\n]"  parseRules ("SQL (PostgreSQL)","Normal") =-  (((pString False "CREATE FUNCTION" >>= withAttribute KeywordTok) >>~ pushContext ("SQL (PostgreSQL)","CreateFunction"))+  (((pRegExpr regex_create'5cs'2b'28or'5cs'2breplace'5cs'2b'29'3ffunction >>= withAttribute KeywordTok) >>~ pushContext ("SQL (PostgreSQL)","CreateFunction"))+   <|>+   ((pRegExpr regex_do'5cs'2b'5c'24'28'5b'5e'5c'24'5cn'5cr'5d'2a'29'5c'24 >>= withAttribute KeywordTok) >>~ pushContext ("SQL (PostgreSQL)","FunctionBody"))    <|>    ((pKeyword " \n\t(),;[]{}\\" list_keywords >>= withAttribute KeywordTok))    <|>
Text/Highlighting/Kate/Syntax/Tcl.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file tcl.xml, version 1.11, by  -}+   highlighting file tcl.xml, version 2, by  -}  module Text.Highlighting.Kate.Syntax.Tcl           (highlight, parseExpression, syntaxName, syntaxExtensions)
Text/Highlighting/Kate/Syntax/Tcsh.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file tcsh.xml, version 0.2, by Matthew Woehlke (mw_triad@users.sourceforge.net) -}+   highlighting file tcsh.xml, version 1, by Matthew Woehlke (mw_triad@users.sourceforge.net) -}  module Text.Highlighting.Kate.Syntax.Tcsh           (highlight, parseExpression, syntaxName, syntaxExtensions)
Text/Highlighting/Kate/Syntax/Texinfo.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file texinfo.xml, version 0.2, by Daniel Franke (franke.daniel@gmail.com) -}+   highlighting file texinfo.xml, version 1, by Daniel Franke (franke.daniel@gmail.com) -}  module Text.Highlighting.Kate.Syntax.Texinfo           (highlight, parseExpression, syntaxName, syntaxExtensions)
Text/Highlighting/Kate/Syntax/Verilog.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file verilog.xml, version 1.09, by Yevgen Voronenko (ysv22@drexel.edu), Ryan Dalzell (ryan@tullyroan.com) -}+   highlighting file verilog.xml, version 2, by Yevgen Voronenko (ysv22@drexel.edu), Ryan Dalzell (ryan@tullyroan.com) -}  module Text.Highlighting.Kate.Syntax.Verilog           (highlight, parseExpression, syntaxName, syntaxExtensions)
Text/Highlighting/Kate/Syntax/Vhdl.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file vhdl.xml, version 1.11, by Rocky Scaletta (rocky@purdue.edu), Stefan Endrullis (stefan@endrullis.de), Florent Ouchet (outchy@users.sourceforge.net), Chris Higgs (chiggs.99@gmail.com), Jan Michel (jan@mueschelsoft.de) -}+   highlighting file vhdl.xml, version 2, by Rocky Scaletta (rocky@purdue.edu), Stefan Endrullis (stefan@endrullis.de), Florent Ouchet (outchy@users.sourceforge.net), Chris Higgs (chiggs.99@gmail.com), Jan Michel (jan@mueschelsoft.de), Luigi Calligaris (luigi.calligaris@stfc.ac.uk) -}  module Text.Highlighting.Kate.Syntax.Vhdl           (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -58,6 +58,8 @@       ("VHDL","architecture_main") -> return ()       ("VHDL","arch_start") -> return ()       ("VHDL","arch_decl") -> return ()+      ("VHDL","archfunc1") -> return ()+      ("VHDL","archfunc2") -> return ()       ("VHDL","detect_arch_parts") -> return ()       ("VHDL","generate1") -> return ()       ("VHDL","generate2") -> return ()@@ -97,7 +99,7 @@   return (attr, txt)  list_keywordsToplevel = Set.fromList $ words $ "file library use"-list_keywords = Set.fromList $ words $ "access after alias all array assert assume assume_guarantee attribute begin block body bus component constant context cover default disconnect downto end exit fairness falling_edge file force function generate generic group guarded impure inertial is label linkage literal map new next null of on open others parameter port postponed procedure process property protected pure range record register reject release report return rising_edge select sequence severity signal shared strong subtype to transport type unaffected units until variable vmode vprop vunit wait when with note warning error failure in inout out buffer and abs or xor xnor not mod nand nor rem rol ror sla sra sll srl"+list_keywords = Set.fromList $ words $ "access after alias all array assert assume assume_guarantee attribute begin block body bus component constant context cover default disconnect downto end exit fairness falling_edge file for force function generate generic group guarded impure inertial is label linkage literal map new next null of on open others parameter port postponed procedure process property protected pure range record register reject release report return rising_edge select sequence severity signal shared strong subtype to transport type unaffected units until variable vmode vprop vunit wait when with note warning error failure in inout out buffer and abs or xor xnor not mod nand nor rem rol ror sla sra sll srl" list_if = Set.fromList $ words $ "if else elsif then" list_forOrWhile = Set.fromList $ words $ "loop" list_directions = Set.fromList $ words $ "in inout out buffer linkage"@@ -265,6 +267,8 @@    <|>    ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_signals >>= withAttribute OtherTok) >>~ pushContext ("VHDL","signal"))    <|>+   ((pString False "function" >>= withAttribute KeywordTok) >>~ pushContext ("VHDL","archfunc1"))+   <|>    ((pString False "component" >>= withAttribute KeywordTok) >>~ pushContext ("VHDL","entity"))    <|>    ((pString False "begin" >>= withAttribute KeywordTok) >>~ (popContext >> popContext))@@ -272,6 +276,30 @@    ((parseRules ("VHDL","generalDetection")))    <|>    (currentContext >>= \x -> guard (x == ("VHDL","arch_decl")) >> pDefault >>= withAttribute NormalTok))++parseRules ("VHDL","archfunc1") =+  (((parseRules ("VHDL","preDetection")))+   <|>+   ((pRegExpr regex_'28'5cb'29begin'5cb >>= withAttribute KeywordTok) >>~ pushContext ("VHDL","archfunc2"))+   <|>+   ((pRegExprDynamic "(\\b)end(\\s+function)?(\\s+%2)?\\b" >>= withAttribute KeywordTok) >>~ (popContext))+   <|>+   ((pRegExprDynamic "(\\b)%2\\b" >>= withAttribute KeywordTok))+   <|>+   ((parseRules ("VHDL","generalDetection")))+   <|>+   (currentContext >>= \x -> guard (x == ("VHDL","archfunc1")) >> pDefault >>= withAttribute NormalTok))++parseRules ("VHDL","archfunc2") =+  (((parseRules ("VHDL","preDetection")))+   <|>+   ((lookAhead (pRegExprDynamic "(\\b)end(\\s+function)?\\b") >> (popContext) >> currentContext >>= parseRules))+   <|>+   ((pRegExpr regex_'28'5cb'29begin'5cb >>= withAttribute KeywordTok))+   <|>+   ((parseRules ("VHDL","proc_rules")))+   <|>+   (currentContext >>= \x -> guard (x == ("VHDL","archfunc2")) >> pDefault >>= withAttribute NormalTok))  parseRules ("VHDL","detect_arch_parts") =   (((lookAhead (pRegExprDynamic "(\\b)(\\b(?!(?:process|constant|signal|variable))([A-Za-z_][A-Za-z0-9_]*)\\b\\s*:\\s*)(if|for).*\\s+generate\\b") >> pushContext ("VHDL","generate1") >> currentContext >>= parseRules))
Text/Highlighting/Kate/Syntax/Xml.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file xml.xml, version 2.03, by Wilbert Berendsen (wilbert@kde.nl) -}+   highlighting file xml.xml, version 3, by Wilbert Berendsen (wilbert@kde.nl) -}  module Text.Highlighting.Kate.Syntax.Xml           (highlight, parseExpression, syntaxName, syntaxExtensions)
Text/Highlighting/Kate/Syntax/Xorg.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file xorg.xml, version 1.01, by Jan Janssen (medhefgo@web.de) -}+   highlighting file xorg.xml, version 2, by Jan Janssen (medhefgo@web.de) -}  module Text.Highlighting.Kate.Syntax.Xorg           (highlight, parseExpression, syntaxName, syntaxExtensions)
Text/Highlighting/Kate/Syntax/Xslt.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file xslt.xml, version 1.03, by Peter Lammich (views@gmx.de) -}+   highlighting file xslt.xml, version 2, by Peter Lammich (views@gmx.de) -}  module Text.Highlighting.Kate.Syntax.Xslt           (highlight, parseExpression, syntaxName, syntaxExtensions)
Text/Highlighting/Kate/Syntax/Xul.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file xul.xml, version 0.11, by Wilbert Berendsen (wilbert@kde.nl), Anders Lund (anders@alweb.dk), Joseph Wenninger (jowenn@kde.org), Whitehawk Stormchaser (zerokode@gmx.net), Marc Dassonneville (marc.dassonneville@gmail.com) -}+   highlighting file xul.xml, version 1, by Wilbert Berendsen (wilbert@kde.nl), Anders Lund (anders@alweb.dk), Joseph Wenninger (jowenn@kde.org), Whitehawk Stormchaser (zerokode@gmx.net), Marc Dassonneville (marc.dassonneville@gmail.com) -}  module Text.Highlighting.Kate.Syntax.Xul           (highlight, parseExpression, syntaxName, syntaxExtensions)
Text/Highlighting/Kate/Syntax/Yacc.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file yacc.xml, version 1.04, by Jan Villat (jan.villat@net2000.ch) -}+   highlighting file yacc.xml, version 2, by Jan Villat (jan.villat@net2000.ch) -}  module Text.Highlighting.Kate.Syntax.Yacc           (highlight, parseExpression, syntaxName, syntaxExtensions)
Text/Highlighting/Kate/Syntax/Yaml.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file yaml.xml, version 1.2, by Dr Orlovsky MA (dr.orlovsky@gmail.com) -}+   highlighting file yaml.xml, version 2, by Dr Orlovsky MA (dr.orlovsky@gmail.com) -}  module Text.Highlighting.Kate.Syntax.Yaml           (highlight, parseExpression, syntaxName, syntaxExtensions)
Text/Highlighting/Kate/Syntax/Zsh.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax-   highlighting file zsh.xml, version 0.1, by Jonathan Kolberg (bulldog98@kubuntu-de.org) -}+   highlighting file zsh.xml, version 1, by Jonathan Kolberg (bulldog98@kubuntu-de.org) -}  module Text.Highlighting.Kate.Syntax.Zsh           (highlight, parseExpression, syntaxName, syntaxExtensions)
Text/Highlighting/Kate/Types.hs view
@@ -16,6 +16,7 @@ import Data.Word import Text.Printf import Data.Data (Data)+import Data.Bits import Data.Typeable (Typeable)  -- | A context: pair of syntax name and context name.@@ -59,13 +60,30 @@                | DecValTok                | BaseNTok                | FloatTok+               | ConstantTok                | CharTok+               | SpecialCharTok                | StringTok+               | VerbatimStringTok+               | SpecialStringTok+               | ImportTok                | CommentTok+               | DocumentationTok+               | AnnotationTok+               | CommentVarTok                | OtherTok-               | AlertTok                | FunctionTok+               | VariableTok+               | ControlFlowTok+               | OperatorTok+               | BuiltInTok+               | ExtensionTok+               | PreprocessorTok+               | AttributeTok                | RegionMarkerTok+               | InformationTok+               | WarningTok+               | AlertTok                | ErrorTok                | NormalTok                deriving (Read, Show, Eq, Enum, Data, Typeable)@@ -103,6 +121,14 @@            ((r,g,b),_) : _ -> Just $ RGB r g b            _                                         -> Nothing   toColor _        = Nothing++instance ToColor Int where+  toColor x = toColor (fromIntegral x1 :: Word8,+                       fromIntegral x2 :: Word8,+                       fromIntegral x3 :: Word8)+    where x1 = (shiftR x 16) .&. 0xFF+          x2 = (shiftR x 8 ) .&. 0xFF+          x3 = x             .&. 0xFF  instance ToColor (Word8, Word8, Word8) where   toColor (r,g,b) = Just $ RGB r g b
changelog view
@@ -1,3 +1,68 @@+highlighting-kate 0.6.4 (31 Jan 2017)++  * Add deprecation notice.+  * Extend bounds for blaze-html (Simon Jacobi).+  * Added syntax ats (Kiwamu Okabe).+  * Added xml/language.dtd to cabal file.+  * Update link to kate syntax highlighting documentation (Hadley Wickham).++highlighting-kate 0.6.3 (18 Sep 2016)++  * Updated kate syntax definitions and rebuilt parsers.++highlighting-kate 0.6.2.1 (01 Jul 2016)++  * Use `#pop` instead of `#stay` if `fallthrough` is true but+    no `fallthroughContext` is given (#89, fixing a hang on certain+    scheme inputs).+ * Use stack for default build (Makefile), document stack build+   procedure (#87).++highlighting-kate 0.6.2 (17 Mar 2016)++  * Added support for WordDetect (#86).+  * Added hamlet.+  * Added elixir (supernullset).+  * Fix typo in changelog (Matthias C. M. Troffaes).++highlighting-kate 0.6.1 (12 Dec 2015)++  * Fixed build on GHC 7.0 (Adam Bergmark).+  * Don't use auto-all in ghc-prof-options.+  * Removed splitBase flag and ability to compile on base < 4.4.+  * Add agda tests with unicode input (Matthias C. M. Troffaes).+  * Fix 'Text.Regex.PCRE.Light: Error in regex: invalid UTF-8 string'+    error message (Matthias C. M. Troffaes).+  * Reapplied isocpp.xml.patch (#57).+  * Added `languageByFullName` (API change).  Changed behavior of+    `highlightAs` so that languages can match on "full official name"+    as well as the canonical name (derived from the xml filename.+    Previously, only `cs` worked for C#.  Now you may use `C#` as+    well.+  * Allow `csharp` as a special-case alias for `cs` (jgm/pandoc#2117).+  * Added support for llvm (#79).++highlighting-kate 0.6 (26 May 2015)++  * Support new KF5 token attributes (#69).+    + Added to `TokenType`: `ConstantTok`, `SpecialCharTok`,+      `VerbatimStringTok`, `SpecialStringTok`, `ImportTok`,+      `DocumentationTok`, `AnnotationTok`, `CommentVarTok`,+      `VariableTok`, `ControlFlowTok`, `OperatorTok`, `BuiltInTok`,+      `ExtensionTok`, `PreprocessorTok`, `AttributeTok`,+      `InformationTok`, `WarningTok`.+    + Revised styles to add clauses for the new `TokenType`s.+    + Revised HTML formatter to produce CSS for all the new+      `TokenType`s, and to include comments naming each type.+    + Modified `ParseSyntaxFiles` to handle new types.+    + Updated tests.+  * Updated xml syntax definitions.  However, we retain an older+    version of haskell.xml, since the new one didn't work properly.+  * Added `ToColor` instance for `Int`.+  * Renamed `Highlight[.hs]` to `highlighting-kate[.hs]` (Geoff Nixon).+  * Allow `#` as an operator in Haskell (Ryan Yates).+  * Added support for Kotlin (kotlinlang.org) (Sebastien Soudan).+ highlighting-kate 0.5.15 (25 Apr 2015)    * Rename `Highlight` utility and `Highlight.hs` to `highlighting-kate` and
highlighting-kate.cabal view
@@ -1,5 +1,5 @@ Name:                highlighting-kate-Version:             0.5.15+Version:             0.6.4 Cabal-Version:       >= 1.10 Build-Type:          Simple Category:            Text@@ -13,6 +13,9 @@                      with a utility for generating new parsers from Kate                      XML syntax descriptions. +                     __This library has been deprecated.+                     Please use skylighting instead.__+ License:             GPL License-file:        LICENSE Author:              John MacFarlane@@ -27,10 +30,13 @@                      css/hk-kate.css                      css/hk-pyg.css                      css/hk-tango.css+                     xml/language.dtd                      xml/*.xml                      xml/*.xml.patch                      tests/abc.ada                      tests/abc.ada.html+                     tests/abc.agda+                     tests/abc.agda.html                      tests/abc.c                      tests/abc.c.html                      tests/abc.clojure@@ -53,6 +59,8 @@                      tests/abc.javascript.html                      tests/abc.julia                      tests/abc.julia.html+                     tests/abc.kotlin+                     tests/abc.kotlin.html                      tests/abc.lisp                      tests/abc.lisp.html                      tests/abc.matlab@@ -81,9 +89,6 @@                      tests/archive.rhtml.html                      tests/life.lua                      tests/life.lua.html-Flag splitBase-  Description:       Choose the new, smaller, split-up base package.-  Default:           True Flag executable   Description:       Build the highlighting-kate executable.   Default:           False@@ -96,16 +101,14 @@   location:      git://github.com/jgm/highlighting-kate.git  Library-  if flag(splitBase)-    Build-Depends:   base >= 3 && < 5, containers-  else-    Build-Depends:   base < 3+  Build-Depends:     base >= 4.4 && < 5, containers,+                     parsec, mtl, blaze-html >= 0.4.2 && < 0.10,+                     utf8-string   if flag(pcre-light)-    Build-depends:   pcre-light >= 0.4 && < 0.5+    Build-depends:   pcre-light >= 0.4 && < 0.5, bytestring     cpp-options:     -D_PCRE_LIGHT   else     Build-depends:   regex-pcre-builtin >= 0.94.4.8.8.35-  Build-Depends:     parsec, mtl, blaze-html >= 0.4.2 && < 0.9, utf8-string   Exposed-Modules:   Text.Highlighting.Kate                      Text.Highlighting.Kate.Syntax                      Text.Highlighting.Kate.Types@@ -123,6 +126,7 @@                      Text.Highlighting.Kate.Syntax.Apache                      Text.Highlighting.Kate.Syntax.Asn1                      Text.Highlighting.Kate.Syntax.Asp+                     Text.Highlighting.Kate.Syntax.Ats                      Text.Highlighting.Kate.Syntax.Awk                      Text.Highlighting.Kate.Syntax.Bash                      Text.Highlighting.Kate.Syntax.Bibtex@@ -147,6 +151,7 @@                      Text.Highlighting.Kate.Syntax.Doxygenlua                      Text.Highlighting.Kate.Syntax.Dtd                      Text.Highlighting.Kate.Syntax.Eiffel+                     Text.Highlighting.Kate.Syntax.Elixir                      Text.Highlighting.Kate.Syntax.Email                      Text.Highlighting.Kate.Syntax.Erlang                      Text.Highlighting.Kate.Syntax.Fasm@@ -156,6 +161,7 @@                      Text.Highlighting.Kate.Syntax.Glsl                      Text.Highlighting.Kate.Syntax.Gnuassembler                      Text.Highlighting.Kate.Syntax.Go+                     Text.Highlighting.Kate.Syntax.Hamlet                      Text.Highlighting.Kate.Syntax.Haskell                      Text.Highlighting.Kate.Syntax.Haxe                      Text.Highlighting.Kate.Syntax.Html@@ -168,11 +174,13 @@                      Text.Highlighting.Kate.Syntax.Json                      Text.Highlighting.Kate.Syntax.Jsp                      Text.Highlighting.Kate.Syntax.Julia+                     Text.Highlighting.Kate.Syntax.Kotlin                      Text.Highlighting.Kate.Syntax.Latex                      Text.Highlighting.Kate.Syntax.Lex                      Text.Highlighting.Kate.Syntax.Lilypond                      Text.Highlighting.Kate.Syntax.LiterateCurry                      Text.Highlighting.Kate.Syntax.LiterateHaskell+                     Text.Highlighting.Kate.Syntax.Llvm                      Text.Highlighting.Kate.Syntax.Lua                      Text.Highlighting.Kate.Syntax.M4                      Text.Highlighting.Kate.Syntax.Makefile@@ -235,21 +243,21 @@   -- massively improves compilation speed and memory usage   Default-Language:    Haskell98   Ghc-Options:       -W -O0-  Ghc-Prof-Options:  -auto-all -caf-all+  Ghc-Prof-Options:  -fprof-auto-exported   -- the following line is needed to prevent gcc from consuming huge amounts of   -- memory on platforms without a native code generator:   Cc-Options:       -O0  Executable highlighting-kate   Main-Is:          highlighting-kate.hs-  Build-Depends:    base, containers, blaze-html >= 0.4.2 && < 0.9, filepath,+  Build-Depends:    base, containers, blaze-html >= 0.4.2 && < 0.10, filepath,                     highlighting-kate   Hs-Source-Dirs:   extra   Default-Language:    Haskell98   if flag(pcre-light)     cpp-options:     -D_PCRE_LIGHT   Ghc-Options:      -W -O0 -rtsopts-  Ghc-Prof-Options: -auto-all -caf-all -rtsopts+  Ghc-Prof-Options:  -fprof-auto-exported   -- the following line is needed to prevent gcc from consuming huge amounts of   -- memory on platforms without a native code generator:   Cc-Options:       -O0@@ -264,5 +272,5 @@   Main-Is:        test-highlighting-kate.hs   Hs-Source-Dirs: tests   build-depends:  base >= 4, directory, highlighting-kate, filepath,-                  process, Diff, containers, blaze-html >= 0.4.2 && < 0.9+                  process, Diff, containers, blaze-html >= 0.4.2 && < 0.10   default-language: Haskell98
tests/abc.ada.html view
@@ -4,24 +4,41 @@ table.sourceCode { width: 100%; line-height: 100%; } td.lineNumbers { text-align: right; padding-right: 4px; padding-left: 4px; color: #aaaaaa; border-right: 1px solid #aaaaaa; } td.sourceCode { padding-left: 5px; }-code > span.kw { color: #007020; font-weight: bold; }-code > span.dt { color: #902000; }-code > span.dv { color: #40a070; }-code > span.bn { color: #40a070; }-code > span.fl { color: #40a070; }-code > span.ch { color: #4070a0; }-code > span.st { color: #4070a0; }-code > span.co { color: #60a0b0; font-style: italic; }-code > span.ot { color: #007020; }-code > span.al { color: #ff0000; font-weight: bold; }-code > span.fu { color: #06287e; }-code > span.er { color: #ff0000; font-weight: bold; }+code > span.kw { color: #007020; font-weight: bold; } /* Keyword */+code > span.dt { color: #902000; } /* DataType */+code > span.dv { color: #40a070; } /* DecVal */+code > span.bn { color: #40a070; } /* BaseN */+code > span.fl { color: #40a070; } /* Float */+code > span.ch { color: #4070a0; } /* Char */+code > span.st { color: #4070a0; } /* String */+code > span.co { color: #60a0b0; font-style: italic; } /* Comment */+code > span.ot { color: #007020; } /* Other */+code > span.al { color: #ff0000; font-weight: bold; } /* Alert */+code > span.fu { color: #06287e; } /* Function */+code > span.er { color: #ff0000; font-weight: bold; } /* Error */+code > span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */+code > span.cn { color: #880000; } /* Constant */+code > span.sc { color: #4070a0; } /* SpecialChar */+code > span.vs { color: #4070a0; } /* VerbatimString */+code > span.ss { color: #bb6688; } /* SpecialString */+code > span.im { } /* Import */+code > span.va { color: #19177c; } /* Variable */+code > span.cf { color: #007020; font-weight: bold; } /* ControlFlow */+code > span.op { color: #666666; } /* Operator */+code > span.bu { } /* BuiltIn */+code > span.ex { } /* Extension */+code > span.pp { color: #bc7a00; } /* Preprocessor */+code > span.at { color: #7d9029; } /* Attribute */+code > span.do { color: #ba2121; font-style: italic; } /* Documentation */+code > span.an { color: #60a0b0; font-weight: bold; font-style: italic; } /* Annotation */+code > span.cv { color: #60a0b0; font-weight: bold; font-style: italic; } /* CommentVar */+code > span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Information */ </style></head><body><div class="sourceCode"><pre class="sourceCode"><code class="sourceCode"><span class="kw" title="KeywordTok">with</span> Ada.Characters.Handling; <span class="kw" title="KeywordTok">use</span> Ada.Characters.Handling;   <span class="kw" title="KeywordTok">package</span> Abc <span class="kw" title="KeywordTok">is</span>-    <span class="kw" title="KeywordTok">type</span> Block_Faces <span class="kw" title="KeywordTok">is</span> <span class="kw" title="KeywordTok">array</span>(<span class="dv" title="DecValTok">1</span>..<span class="dv" title="DecValTok">2</span>) <span class="kw" title="KeywordTok">of</span> Character;+    <span class="kw" title="KeywordTok">type</span> Block_Faces <span class="kw" title="KeywordTok">is</span> <span class="kw" title="KeywordTok">array</span>(<span class="dv" title="DecValTok">1</span>..<span class="dv" title="DecValTok">2</span>) <span class="kw" title="KeywordTok">of</span> <span class="dt" title="DataTypeTok">Character</span>;     <span class="kw" title="KeywordTok">type</span> Block_List <span class="kw" title="KeywordTok">is</span> <span class="kw" title="KeywordTok">array</span>(positive <span class="kw" title="KeywordTok">range</span> &lt;&gt;) <span class="kw" title="KeywordTok">of</span> Block_Faces;     <span class="kw" title="KeywordTok">function</span> Can_Make_Word(W: <span class="dt" title="DataTypeTok">String</span>; Blocks: Block_List) <span class="kw" title="KeywordTok">return</span> <span class="dt" title="DataTypeTok">Boolean</span>; <span class="kw" title="KeywordTok">end</span> Abc;@@ -40,7 +57,7 @@     wPos := W&#39;First;     <span class="kw" title="KeywordTok">while</span> True <span class="kw" title="KeywordTok">loop</span>         <span class="kw" title="KeywordTok">declare</span>-            C : Character := To_Upper(W(wPos));+            C : <span class="dt" title="DataTypeTok">Character</span> := To_Upper(W(wPos));             X : <span class="kw" title="KeywordTok">constant</span> wIndex := wPos;         <span class="kw" title="KeywordTok">begin</span>             <span class="kw" title="KeywordTok">for</span> I <span class="kw" title="KeywordTok">in</span> Blocks&#39;Range <span class="kw" title="KeywordTok">loop</span>
+ tests/abc.agda view
@@ -0,0 +1,40 @@+module Reals where++  -- (a set with properties of) the reals+  data ℝ : Set where+    r0 : ℝ+    r1 : ℝ+    _+_ : ℝ → ℝ → ℝ++  -- equality+  data _==_ : ℝ → ℝ → Set where+    AXrefl== : ∀ {r} → r == r+    AXsymm== : ∀ {r s} → r == s → s == r+    AXtrans== : ∀ {r s t} → r == s → s == t → r == t+    AX+0 : ∀ {r} → (r + r0) == r+    AXsymm+ : ∀ {r s} → (r + s) == (s + r)+    AX+== : ∀ {r s t} → r == s → (r + t) == (s + t)++  THM0+ : {r : ℝ} → r == (r0 + r)+  THM0+ = AXsymm== (AXtrans== AXsymm+ AX+0)+  -- AXsymm+ AX+0   r0 + r == r + r0 and r + r0 == r+  -- AXtrans==      so r0 + r == r+  -- AXsymm==       so r == r0 + r++  THM0+alt : {r : ℝ} → r == (r0 + r)+  THM0+alt {r} = AXsymm== {r0 + r} {r} ((AXtrans== {r0 + r} {r + r0} {r}) (AXsymm+ {r0} {r}) (AX+0 {r}))++  -- strict partial ordering+  data _<_ : ℝ → ℝ → Set where+    AXtrans<<< : ∀ {r s t} → r < s → s < t → r < t+    AX<=< : ∀ {r s t} → r < s → s == t → r < t+    AX=<< : ∀ {r s t} → r == s → s < t → r < t+    AX0<1 : r0 < r1+    AX+<< : ∀ {r s t} → r < s → (r + t) < (s + t)++  THM<+1 : {r : ℝ} → r < (r + r1)+  THM<+1 = AX<=< (AX=<< THM0+ (AX+<< AX0<1)) AXsymm++  -- AX0<1              0 < 1+  -- AX<+ %             so 0 + r < 1 + r+  -- AX=<< lem0+ %      so r < 1 + r+  -- AX<=< % AXsymm+    so r < r + 1
+ tests/abc.agda.html view
@@ -0,0 +1,75 @@+<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><style type="text/css">div.sourceCode { overflow-x: auto; }+table.sourceCode, tr.sourceCode, td.lineNumbers, td.sourceCode {+  margin: 0; padding: 0; vertical-align: baseline; border: none; }+table.sourceCode { width: 100%; line-height: 100%; }+td.lineNumbers { text-align: right; padding-right: 4px; padding-left: 4px; color: #aaaaaa; border-right: 1px solid #aaaaaa; }+td.sourceCode { padding-left: 5px; }+code > span.kw { color: #007020; font-weight: bold; } /* Keyword */+code > span.dt { color: #902000; } /* DataType */+code > span.dv { color: #40a070; } /* DecVal */+code > span.bn { color: #40a070; } /* BaseN */+code > span.fl { color: #40a070; } /* Float */+code > span.ch { color: #4070a0; } /* Char */+code > span.st { color: #4070a0; } /* String */+code > span.co { color: #60a0b0; font-style: italic; } /* Comment */+code > span.ot { color: #007020; } /* Other */+code > span.al { color: #ff0000; font-weight: bold; } /* Alert */+code > span.fu { color: #06287e; } /* Function */+code > span.er { color: #ff0000; font-weight: bold; } /* Error */+code > span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */+code > span.cn { color: #880000; } /* Constant */+code > span.sc { color: #4070a0; } /* SpecialChar */+code > span.vs { color: #4070a0; } /* VerbatimString */+code > span.ss { color: #bb6688; } /* SpecialString */+code > span.im { } /* Import */+code > span.va { color: #19177c; } /* Variable */+code > span.cf { color: #007020; font-weight: bold; } /* ControlFlow */+code > span.op { color: #666666; } /* Operator */+code > span.bu { } /* BuiltIn */+code > span.ex { } /* Extension */+code > span.pp { color: #bc7a00; } /* Preprocessor */+code > span.at { color: #7d9029; } /* Attribute */+code > span.do { color: #ba2121; font-style: italic; } /* Documentation */+code > span.an { color: #60a0b0; font-weight: bold; font-style: italic; } /* Annotation */+code > span.cv { color: #60a0b0; font-weight: bold; font-style: italic; } /* CommentVar */+code > span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Information */+</style></head><body><div class="sourceCode"><pre class="sourceCode"><code class="sourceCode"><span class="kw" title="KeywordTok">module</span> Reals <span class="kw" title="KeywordTok">where</span>++  <span class="co" title="CommentTok">-- (a set with properties of) the reals</span>+  <span class="kw" title="KeywordTok">data</span> ℝ <span class="ot" title="OtherTok">:</span> <span class="dt" title="DataTypeTok">Set</span> <span class="kw" title="KeywordTok">where</span>+    r0 <span class="ot" title="OtherTok">:</span> ℝ+    r1 <span class="ot" title="OtherTok">:</span> ℝ+    <span class="ot" title="OtherTok">_</span>+<span class="ot" title="OtherTok">_</span> <span class="ot" title="OtherTok">:</span> ℝ <span class="ot" title="OtherTok">→</span> ℝ <span class="ot" title="OtherTok">→</span> ℝ++  <span class="co" title="CommentTok">-- equality</span>+  <span class="kw" title="KeywordTok">data</span> <span class="ot" title="OtherTok">_</span>==<span class="ot" title="OtherTok">_</span> <span class="ot" title="OtherTok">:</span> ℝ <span class="ot" title="OtherTok">→</span> ℝ <span class="ot" title="OtherTok">→</span> <span class="dt" title="DataTypeTok">Set</span> <span class="kw" title="KeywordTok">where</span>+    AXrefl== <span class="ot" title="OtherTok">:</span> <span class="ot" title="OtherTok">∀</span> <span class="ot" title="OtherTok">{</span>r<span class="ot" title="OtherTok">}</span> <span class="ot" title="OtherTok">→</span> r == r+    AXsymm== <span class="ot" title="OtherTok">:</span> <span class="ot" title="OtherTok">∀</span> <span class="ot" title="OtherTok">{</span>r s<span class="ot" title="OtherTok">}</span> <span class="ot" title="OtherTok">→</span> r == s <span class="ot" title="OtherTok">→</span> s == r+    AXtrans== <span class="ot" title="OtherTok">:</span> <span class="ot" title="OtherTok">∀</span> <span class="ot" title="OtherTok">{</span>r s t<span class="ot" title="OtherTok">}</span> <span class="ot" title="OtherTok">→</span> r == s <span class="ot" title="OtherTok">→</span> s == t <span class="ot" title="OtherTok">→</span> r == t+    AX+0 <span class="ot" title="OtherTok">:</span> <span class="ot" title="OtherTok">∀</span> <span class="ot" title="OtherTok">{</span>r<span class="ot" title="OtherTok">}</span> <span class="ot" title="OtherTok">→</span> <span class="ot" title="OtherTok">(</span>r + r0<span class="ot" title="OtherTok">)</span> == r+    AXsymm+ <span class="ot" title="OtherTok">:</span> <span class="ot" title="OtherTok">∀</span> <span class="ot" title="OtherTok">{</span>r s<span class="ot" title="OtherTok">}</span> <span class="ot" title="OtherTok">→</span> <span class="ot" title="OtherTok">(</span>r + s<span class="ot" title="OtherTok">)</span> == <span class="ot" title="OtherTok">(</span>s + r<span class="ot" title="OtherTok">)</span>+    AX+== <span class="ot" title="OtherTok">:</span> <span class="ot" title="OtherTok">∀</span> <span class="ot" title="OtherTok">{</span>r s t<span class="ot" title="OtherTok">}</span> <span class="ot" title="OtherTok">→</span> r == s <span class="ot" title="OtherTok">→</span> <span class="ot" title="OtherTok">(</span>r + t<span class="ot" title="OtherTok">)</span> == <span class="ot" title="OtherTok">(</span>s + t<span class="ot" title="OtherTok">)</span>++  THM0+ <span class="ot" title="OtherTok">:</span> <span class="ot" title="OtherTok">{</span>r <span class="ot" title="OtherTok">:</span> ℝ<span class="ot" title="OtherTok">}</span> <span class="ot" title="OtherTok">→</span> r == <span class="ot" title="OtherTok">(</span>r0 + r<span class="ot" title="OtherTok">)</span>+  THM0+ <span class="ot" title="OtherTok">=</span> AXsymm== <span class="ot" title="OtherTok">(</span>AXtrans== AXsymm+ AX+0<span class="ot" title="OtherTok">)</span>+  <span class="co" title="CommentTok">-- AXsymm+ AX+0   r0 + r == r + r0 and r + r0 == r</span>+  <span class="co" title="CommentTok">-- AXtrans==      so r0 + r == r</span>+  <span class="co" title="CommentTok">-- AXsymm==       so r == r0 + r</span>++  THM0+alt <span class="ot" title="OtherTok">:</span> <span class="ot" title="OtherTok">{</span>r <span class="ot" title="OtherTok">:</span> ℝ<span class="ot" title="OtherTok">}</span> <span class="ot" title="OtherTok">→</span> r == <span class="ot" title="OtherTok">(</span>r0 + r<span class="ot" title="OtherTok">)</span>+  THM0+alt <span class="ot" title="OtherTok">{</span>r<span class="ot" title="OtherTok">}</span> <span class="ot" title="OtherTok">=</span> AXsymm== <span class="ot" title="OtherTok">{</span>r0 + r<span class="ot" title="OtherTok">}</span> <span class="ot" title="OtherTok">{</span>r<span class="ot" title="OtherTok">}</span> <span class="ot" title="OtherTok">((</span>AXtrans== <span class="ot" title="OtherTok">{</span>r0 + r<span class="ot" title="OtherTok">}</span> <span class="ot" title="OtherTok">{</span>r + r0<span class="ot" title="OtherTok">}</span> <span class="ot" title="OtherTok">{</span>r<span class="ot" title="OtherTok">})</span> <span class="ot" title="OtherTok">(</span>AXsymm+ <span class="ot" title="OtherTok">{</span>r0<span class="ot" title="OtherTok">}</span> <span class="ot" title="OtherTok">{</span>r<span class="ot" title="OtherTok">})</span> <span class="ot" title="OtherTok">(</span>AX+0 <span class="ot" title="OtherTok">{</span>r<span class="ot" title="OtherTok">}))</span>++  <span class="co" title="CommentTok">-- strict partial ordering</span>+  <span class="kw" title="KeywordTok">data</span> <span class="ot" title="OtherTok">_</span>&lt;<span class="ot" title="OtherTok">_</span> <span class="ot" title="OtherTok">:</span> ℝ <span class="ot" title="OtherTok">→</span> ℝ <span class="ot" title="OtherTok">→</span> <span class="dt" title="DataTypeTok">Set</span> <span class="kw" title="KeywordTok">where</span>+    AXtrans&lt;&lt;&lt; <span class="ot" title="OtherTok">:</span> <span class="ot" title="OtherTok">∀</span> <span class="ot" title="OtherTok">{</span>r s t<span class="ot" title="OtherTok">}</span> <span class="ot" title="OtherTok">→</span> r &lt; s <span class="ot" title="OtherTok">→</span> s &lt; t <span class="ot" title="OtherTok">→</span> r &lt; t+    AX&lt;=&lt; <span class="ot" title="OtherTok">:</span> <span class="ot" title="OtherTok">∀</span> <span class="ot" title="OtherTok">{</span>r s t<span class="ot" title="OtherTok">}</span> <span class="ot" title="OtherTok">→</span> r &lt; s <span class="ot" title="OtherTok">→</span> s == t <span class="ot" title="OtherTok">→</span> r &lt; t+    AX=&lt;&lt; <span class="ot" title="OtherTok">:</span> <span class="ot" title="OtherTok">∀</span> <span class="ot" title="OtherTok">{</span>r s t<span class="ot" title="OtherTok">}</span> <span class="ot" title="OtherTok">→</span> r == s <span class="ot" title="OtherTok">→</span> s &lt; t <span class="ot" title="OtherTok">→</span> r &lt; t+    AX0&lt;1 <span class="ot" title="OtherTok">:</span> r0 &lt; r1+    AX+&lt;&lt; <span class="ot" title="OtherTok">:</span> <span class="ot" title="OtherTok">∀</span> <span class="ot" title="OtherTok">{</span>r s t<span class="ot" title="OtherTok">}</span> <span class="ot" title="OtherTok">→</span> r &lt; s <span class="ot" title="OtherTok">→</span> <span class="ot" title="OtherTok">(</span>r + t<span class="ot" title="OtherTok">)</span> &lt; <span class="ot" title="OtherTok">(</span>s + t<span class="ot" title="OtherTok">)</span>++  THM&lt;+1 <span class="ot" title="OtherTok">:</span> <span class="ot" title="OtherTok">{</span>r <span class="ot" title="OtherTok">:</span> ℝ<span class="ot" title="OtherTok">}</span> <span class="ot" title="OtherTok">→</span> r &lt; <span class="ot" title="OtherTok">(</span>r + r1<span class="ot" title="OtherTok">)</span>+  THM&lt;+1 <span class="ot" title="OtherTok">=</span> AX&lt;=&lt; <span class="ot" title="OtherTok">(</span>AX=&lt;&lt; THM0+ <span class="ot" title="OtherTok">(</span>AX+&lt;&lt; AX0&lt;1<span class="ot" title="OtherTok">))</span> AXsymm++  <span class="co" title="CommentTok">-- AX0&lt;1              0 &lt; 1</span>+  <span class="co" title="CommentTok">-- AX&lt;+ %             so 0 + r &lt; 1 + r</span>+  <span class="co" title="CommentTok">-- AX=&lt;&lt; lem0+ %      so r &lt; 1 + r</span>+  <span class="co" title="CommentTok">-- AX&lt;=&lt; % AXsymm+    so r &lt; r + 1</span></code></pre></div></body>
tests/abc.c.html view
@@ -4,38 +4,55 @@ table.sourceCode { width: 100%; line-height: 100%; } td.lineNumbers { text-align: right; padding-right: 4px; padding-left: 4px; color: #aaaaaa; border-right: 1px solid #aaaaaa; } td.sourceCode { padding-left: 5px; }-code > span.kw { color: #007020; font-weight: bold; }-code > span.dt { color: #902000; }-code > span.dv { color: #40a070; }-code > span.bn { color: #40a070; }-code > span.fl { color: #40a070; }-code > span.ch { color: #4070a0; }-code > span.st { color: #4070a0; }-code > span.co { color: #60a0b0; font-style: italic; }-code > span.ot { color: #007020; }-code > span.al { color: #ff0000; font-weight: bold; }-code > span.fu { color: #06287e; }-code > span.er { color: #ff0000; font-weight: bold; }-</style></head><body><div class="sourceCode"><pre class="sourceCode"><code class="sourceCode"><span class="ot" title="OtherTok">#include &lt;stdio.h&gt;</span>-<span class="ot" title="OtherTok">#include &lt;ctype.h&gt;</span>+code > span.kw { color: #007020; font-weight: bold; } /* Keyword */+code > span.dt { color: #902000; } /* DataType */+code > span.dv { color: #40a070; } /* DecVal */+code > span.bn { color: #40a070; } /* BaseN */+code > span.fl { color: #40a070; } /* Float */+code > span.ch { color: #4070a0; } /* Char */+code > span.st { color: #4070a0; } /* String */+code > span.co { color: #60a0b0; font-style: italic; } /* Comment */+code > span.ot { color: #007020; } /* Other */+code > span.al { color: #ff0000; font-weight: bold; } /* Alert */+code > span.fu { color: #06287e; } /* Function */+code > span.er { color: #ff0000; font-weight: bold; } /* Error */+code > span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */+code > span.cn { color: #880000; } /* Constant */+code > span.sc { color: #4070a0; } /* SpecialChar */+code > span.vs { color: #4070a0; } /* VerbatimString */+code > span.ss { color: #bb6688; } /* SpecialString */+code > span.im { } /* Import */+code > span.va { color: #19177c; } /* Variable */+code > span.cf { color: #007020; font-weight: bold; } /* ControlFlow */+code > span.op { color: #666666; } /* Operator */+code > span.bu { } /* BuiltIn */+code > span.ex { } /* Extension */+code > span.pp { color: #bc7a00; } /* Preprocessor */+code > span.at { color: #7d9029; } /* Attribute */+code > span.do { color: #ba2121; font-style: italic; } /* Documentation */+code > span.an { color: #60a0b0; font-weight: bold; font-style: italic; } /* Annotation */+code > span.cv { color: #60a0b0; font-weight: bold; font-style: italic; } /* CommentVar */+code > span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Information */+</style></head><body><div class="sourceCode"><pre class="sourceCode"><code class="sourceCode"><span class="pp" title="PreprocessorTok">#include </span><span class="im" title="ImportTok">&lt;stdio.h&gt;</span>+<span class="pp" title="PreprocessorTok">#include </span><span class="im" title="ImportTok">&lt;ctype.h&gt;</span>  <span class="dt" title="DataTypeTok">int</span> can_make_words(<span class="dt" title="DataTypeTok">char</span> **b, <span class="dt" title="DataTypeTok">char</span> *word) {         <span class="dt" title="DataTypeTok">int</span> i, ret = <span class="dv" title="DecValTok">0</span>, c = toupper(*word); -<span class="ot" title="OtherTok">#define SWAP(a, b) if (a != b) { char * tmp = a; a = b; b = tmp; }</span>+<span class="pp" title="PreprocessorTok">#define SWAP(a, b) if (a != b) { char * tmp = a; a = b; b = tmp; }</span> -        <span class="kw" title="KeywordTok">if</span> (!c) <span class="kw" title="KeywordTok">return</span> <span class="dv" title="DecValTok">1</span>;-        <span class="kw" title="KeywordTok">if</span> (!b[<span class="dv" title="DecValTok">0</span>]) <span class="kw" title="KeywordTok">return</span> <span class="dv" title="DecValTok">0</span>;+        <span class="cf" title="ControlFlowTok">if</span> (!c) <span class="cf" title="ControlFlowTok">return</span> <span class="dv" title="DecValTok">1</span>;+        <span class="cf" title="ControlFlowTok">if</span> (!b[<span class="dv" title="DecValTok">0</span>]) <span class="cf" title="ControlFlowTok">return</span> <span class="dv" title="DecValTok">0</span>; -        <span class="kw" title="KeywordTok">for</span> (i = <span class="dv" title="DecValTok">0</span>; b[i] &amp;&amp; !ret; i++) {-                <span class="kw" title="KeywordTok">if</span> (b[i][<span class="dv" title="DecValTok">0</span>] != c &amp;&amp; b[i][<span class="dv" title="DecValTok">1</span>] != c) <span class="kw" title="KeywordTok">continue</span>;+        <span class="cf" title="ControlFlowTok">for</span> (i = <span class="dv" title="DecValTok">0</span>; b[i] &amp;&amp; !ret; i++) {+                <span class="cf" title="ControlFlowTok">if</span> (b[i][<span class="dv" title="DecValTok">0</span>] != c &amp;&amp; b[i][<span class="dv" title="DecValTok">1</span>] != c) <span class="cf" title="ControlFlowTok">continue</span>;                 SWAP(b[i], b[<span class="dv" title="DecValTok">0</span>]);                 ret = can_make_words(b + <span class="dv" title="DecValTok">1</span>, word + <span class="dv" title="DecValTok">1</span>);                 SWAP(b[i], b[<span class="dv" title="DecValTok">0</span>]);         } -        <span class="kw" title="KeywordTok">return</span> ret;+        <span class="cf" title="ControlFlowTok">return</span> ret; }  <span class="dt" title="DataTypeTok">int</span> main(<span class="dt" title="DataTypeTok">void</span>)@@ -52,8 +69,8 @@         };          <span class="dt" title="DataTypeTok">char</span> **w;-        <span class="kw" title="KeywordTok">for</span> (w = words; *w; w++)-                printf(<span class="st" title="StringTok">&quot;%s</span><span class="ch" title="CharTok">\t</span><span class="st" title="StringTok">%d</span><span class="ch" title="CharTok">\n</span><span class="st" title="StringTok">&quot;</span>, *w, can_make_words(blocks, *w));+        <span class="cf" title="ControlFlowTok">for</span> (w = words; *w; w++)+                printf(<span class="st" title="StringTok">&quot;%s</span><span class="sc" title="SpecialCharTok">\t</span><span class="st" title="StringTok">%d</span><span class="sc" title="SpecialCharTok">\n</span><span class="st" title="StringTok">&quot;</span>, *w, can_make_words(blocks, *w)); -        <span class="kw" title="KeywordTok">return</span> <span class="dv" title="DecValTok">0</span>;+        <span class="cf" title="ControlFlowTok">return</span> <span class="dv" title="DecValTok">0</span>; }</code></pre></div></body>
tests/abc.clojure.html view
@@ -4,33 +4,50 @@ table.sourceCode { width: 100%; line-height: 100%; } td.lineNumbers { text-align: right; padding-right: 4px; padding-left: 4px; color: #aaaaaa; border-right: 1px solid #aaaaaa; } td.sourceCode { padding-left: 5px; }-code > span.kw { color: #007020; font-weight: bold; }-code > span.dt { color: #902000; }-code > span.dv { color: #40a070; }-code > span.bn { color: #40a070; }-code > span.fl { color: #40a070; }-code > span.ch { color: #4070a0; }-code > span.st { color: #4070a0; }-code > span.co { color: #60a0b0; font-style: italic; }-code > span.ot { color: #007020; }-code > span.al { color: #ff0000; font-weight: bold; }-code > span.fu { color: #06287e; }-code > span.er { color: #ff0000; font-weight: bold; }+code > span.kw { color: #007020; font-weight: bold; } /* Keyword */+code > span.dt { color: #902000; } /* DataType */+code > span.dv { color: #40a070; } /* DecVal */+code > span.bn { color: #40a070; } /* BaseN */+code > span.fl { color: #40a070; } /* Float */+code > span.ch { color: #4070a0; } /* Char */+code > span.st { color: #4070a0; } /* String */+code > span.co { color: #60a0b0; font-style: italic; } /* Comment */+code > span.ot { color: #007020; } /* Other */+code > span.al { color: #ff0000; font-weight: bold; } /* Alert */+code > span.fu { color: #06287e; } /* Function */+code > span.er { color: #ff0000; font-weight: bold; } /* Error */+code > span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */+code > span.cn { color: #880000; } /* Constant */+code > span.sc { color: #4070a0; } /* SpecialChar */+code > span.vs { color: #4070a0; } /* VerbatimString */+code > span.ss { color: #bb6688; } /* SpecialString */+code > span.im { } /* Import */+code > span.va { color: #19177c; } /* Variable */+code > span.cf { color: #007020; font-weight: bold; } /* ControlFlow */+code > span.op { color: #666666; } /* Operator */+code > span.bu { } /* BuiltIn */+code > span.ex { } /* Extension */+code > span.pp { color: #bc7a00; } /* Preprocessor */+code > span.at { color: #7d9029; } /* Attribute */+code > span.do { color: #ba2121; font-style: italic; } /* Documentation */+code > span.an { color: #60a0b0; font-weight: bold; font-style: italic; } /* Annotation */+code > span.cv { color: #60a0b0; font-weight: bold; font-style: italic; } /* CommentVar */+code > span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Information */ </style></head><body><div class="sourceCode"><pre class="sourceCode"><code class="sourceCode">-(<span class="kw" title="KeywordTok">def</span><span class="fu" title="FunctionTok"> blocks</span>+(<span class="bu" title="BuiltInTok">def</span><span class="fu" title="FunctionTok"> blocks</span>   (<span class="kw" title="KeywordTok">-&gt;</span> <span class="st" title="StringTok">&quot;BO XK DQ CP NA GT RE TG QD FS JW HU VI AN OB ER FS LY PC ZM&quot;</span> (.split <span class="st" title="StringTok">&quot; &quot;</span>) <span class="kw" title="KeywordTok">vec</span>)) -(<span class="kw" title="KeywordTok">defn</span><span class="fu" title="FunctionTok"> omit </span>+(<span class="bu" title="BuiltInTok">defn</span><span class="fu" title="FunctionTok"> omit </span>   <span class="st" title="StringTok">&quot;return bs with (one instance of) b omitted&quot;</span>   [bs b]    (<span class="kw" title="KeywordTok">let</span> [[before after] (<span class="kw" title="KeywordTok">split-with</span> #(<span class="kw" title="KeywordTok">not=</span> b %) bs)]     (<span class="kw" title="KeywordTok">concat</span> before (<span class="kw" title="KeywordTok">rest</span> after)))) -(<span class="kw" title="KeywordTok">defn</span><span class="fu" title="FunctionTok"> abc </span>+(<span class="bu" title="BuiltInTok">defn</span><span class="fu" title="FunctionTok"> abc </span>   <span class="st" title="StringTok">&quot;return lazy sequence of solutions (i.e. block lists)&quot;</span>   [blocks [c &amp; cs]]   (if-some c-    (<span class="kw" title="KeywordTok">for</span> [b blocks <span class="kw" title="KeywordTok">:when</span> (<span class="kw" title="KeywordTok">some</span> #(<span class="kw" title="KeywordTok">=</span> c %) b)+    (<span class="kw" title="KeywordTok">for</span> [b blocks <span class="at" title="AttributeTok">:when</span> (<span class="kw" title="KeywordTok">some</span> #(<span class="kw" title="KeywordTok">=</span> c %) b)           bs (abc (omit blocks b) cs)]       (<span class="kw" title="KeywordTok">cons</span> b bs))     [[]]))
tests/abc.cpp.html view
@@ -4,52 +4,69 @@ table.sourceCode { width: 100%; line-height: 100%; } td.lineNumbers { text-align: right; padding-right: 4px; padding-left: 4px; color: #aaaaaa; border-right: 1px solid #aaaaaa; } td.sourceCode { padding-left: 5px; }-code > span.kw { color: #007020; font-weight: bold; }-code > span.dt { color: #902000; }-code > span.dv { color: #40a070; }-code > span.bn { color: #40a070; }-code > span.fl { color: #40a070; }-code > span.ch { color: #4070a0; }-code > span.st { color: #4070a0; }-code > span.co { color: #60a0b0; font-style: italic; }-code > span.ot { color: #007020; }-code > span.al { color: #ff0000; font-weight: bold; }-code > span.fu { color: #06287e; }-code > span.er { color: #ff0000; font-weight: bold; }-</style></head><body><div class="sourceCode"><pre class="sourceCode"><code class="sourceCode"><span class="ot" title="OtherTok">#include &lt;iostream&gt;</span>-<span class="ot" title="OtherTok">#include &lt;vector&gt;</span>-<span class="ot" title="OtherTok">#include &lt;string&gt;</span>-<span class="ot" title="OtherTok">#include &lt;set&gt;</span>-<span class="ot" title="OtherTok">#include &lt;cctype&gt;</span>+code > span.kw { color: #007020; font-weight: bold; } /* Keyword */+code > span.dt { color: #902000; } /* DataType */+code > span.dv { color: #40a070; } /* DecVal */+code > span.bn { color: #40a070; } /* BaseN */+code > span.fl { color: #40a070; } /* Float */+code > span.ch { color: #4070a0; } /* Char */+code > span.st { color: #4070a0; } /* String */+code > span.co { color: #60a0b0; font-style: italic; } /* Comment */+code > span.ot { color: #007020; } /* Other */+code > span.al { color: #ff0000; font-weight: bold; } /* Alert */+code > span.fu { color: #06287e; } /* Function */+code > span.er { color: #ff0000; font-weight: bold; } /* Error */+code > span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */+code > span.cn { color: #880000; } /* Constant */+code > span.sc { color: #4070a0; } /* SpecialChar */+code > span.vs { color: #4070a0; } /* VerbatimString */+code > span.ss { color: #bb6688; } /* SpecialString */+code > span.im { } /* Import */+code > span.va { color: #19177c; } /* Variable */+code > span.cf { color: #007020; font-weight: bold; } /* ControlFlow */+code > span.op { color: #666666; } /* Operator */+code > span.bu { } /* BuiltIn */+code > span.ex { } /* Extension */+code > span.pp { color: #bc7a00; } /* Preprocessor */+code > span.at { color: #7d9029; } /* Attribute */+code > span.do { color: #ba2121; font-style: italic; } /* Documentation */+code > span.an { color: #60a0b0; font-weight: bold; font-style: italic; } /* Annotation */+code > span.cv { color: #60a0b0; font-weight: bold; font-style: italic; } /* CommentVar */+code > span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Information */+</style></head><body><div class="sourceCode"><pre class="sourceCode"><code class="sourceCode"><span class="pp" title="PreprocessorTok">#include </span><span class="im" title="ImportTok">&lt;iostream&gt;</span>+<span class="pp" title="PreprocessorTok">#include </span><span class="im" title="ImportTok">&lt;vector&gt;</span>+<span class="pp" title="PreprocessorTok">#include </span><span class="im" title="ImportTok">&lt;string&gt;</span>+<span class="pp" title="PreprocessorTok">#include </span><span class="im" title="ImportTok">&lt;set&gt;</span>+<span class="pp" title="PreprocessorTok">#include </span><span class="im" title="ImportTok">&lt;cctype&gt;</span>  -<span class="kw" title="KeywordTok">typedef</span> std::pair&lt;<span class="dt" title="DataTypeTok">char</span>,<span class="dt" title="DataTypeTok">char</span>&gt; item_t;-<span class="kw" title="KeywordTok">typedef</span> std::vector&lt;item_t&gt; list_t;+<span class="kw" title="KeywordTok">typedef</span> <span class="bu" title="BuiltInTok">std::</span>pair&lt;<span class="dt" title="DataTypeTok">char</span>,<span class="dt" title="DataTypeTok">char</span>&gt; <span class="dt" title="DataTypeTok">item_t</span>;+<span class="kw" title="KeywordTok">typedef</span> <span class="bu" title="BuiltInTok">std::</span>vector&lt;<span class="dt" title="DataTypeTok">item_t</span>&gt; <span class="dt" title="DataTypeTok">list_t</span>; -<span class="dt" title="DataTypeTok">bool</span> can_make_word(<span class="dt" title="DataTypeTok">const</span> std::string&amp; w, <span class="dt" title="DataTypeTok">const</span> list_t&amp; vals) {-    std::set&lt;<span class="dt" title="DataTypeTok">uint32_t</span>&gt; used;-    <span class="kw" title="KeywordTok">while</span> (used.size() &lt; w.size()) {-        <span class="dt" title="DataTypeTok">const</span> <span class="dt" title="DataTypeTok">char</span> c = toupper(w[used.size()]);+<span class="dt" title="DataTypeTok">bool</span> can_make_word(<span class="at" title="AttributeTok">const</span> <span class="bu" title="BuiltInTok">std::</span>string&amp; w, <span class="at" title="AttributeTok">const</span> <span class="dt" title="DataTypeTok">list_t</span>&amp; vals) {+    <span class="bu" title="BuiltInTok">std::</span>set&lt;<span class="dt" title="DataTypeTok">uint32_t</span>&gt; used;+    <span class="cf" title="ControlFlowTok">while</span> (used.size() &lt; w.size()) {+        <span class="at" title="AttributeTok">const</span> <span class="dt" title="DataTypeTok">char</span> c = toupper(w[used.size()]);         <span class="dt" title="DataTypeTok">uint32_t</span> x = used.size();-        <span class="kw" title="KeywordTok">for</span> (<span class="dt" title="DataTypeTok">uint32_t</span> i = <span class="dv" title="DecValTok">0</span>, ii = vals.size(); i &lt; ii; ++i) {-            <span class="kw" title="KeywordTok">if</span> (used.find(i) == used.end()) {-                <span class="kw" title="KeywordTok">if</span> (toupper(vals[i].first) == c || toupper(vals[i].second) == c) {+        <span class="cf" title="ControlFlowTok">for</span> (<span class="dt" title="DataTypeTok">uint32_t</span> i = <span class="dv" title="DecValTok">0</span>, ii = vals.size(); i &lt; ii; ++i) {+            <span class="cf" title="ControlFlowTok">if</span> (used.find(i) == used.end()) {+                <span class="cf" title="ControlFlowTok">if</span> (toupper(vals[i].first) == c || toupper(vals[i].second) == c) {                     used.insert(i);-                    <span class="kw" title="KeywordTok">break</span>;+                    <span class="cf" title="ControlFlowTok">break</span>;                 }             }         }-        <span class="kw" title="KeywordTok">if</span> (x == used.size()) <span class="kw" title="KeywordTok">break</span>;+        <span class="cf" title="ControlFlowTok">if</span> (x == used.size()) <span class="cf" title="ControlFlowTok">break</span>;     }-    <span class="kw" title="KeywordTok">return</span> used.size() == w.size();+    <span class="cf" title="ControlFlowTok">return</span> used.size() == w.size(); }   <span class="dt" title="DataTypeTok">int</span> main() {-    list_t vals{ {<span class="st" title="StringTok">&#39;B&#39;</span>,<span class="st" title="StringTok">&#39;O&#39;</span>}, {<span class="st" title="StringTok">&#39;X&#39;</span>,<span class="st" title="StringTok">&#39;K&#39;</span>}, {<span class="st" title="StringTok">&#39;D&#39;</span>,<span class="st" title="StringTok">&#39;Q&#39;</span>}, {<span class="st" title="StringTok">&#39;C&#39;</span>,<span class="st" title="StringTok">&#39;P&#39;</span>}, {<span class="st" title="StringTok">&#39;N&#39;</span>,<span class="st" title="StringTok">&#39;A&#39;</span>}, {<span class="st" title="StringTok">&#39;G&#39;</span>,<span class="st" title="StringTok">&#39;T&#39;</span>}, {<span class="st" title="StringTok">&#39;R&#39;</span>,<span class="st" title="StringTok">&#39;E&#39;</span>}, {<span class="st" title="StringTok">&#39;T&#39;</span>,<span class="st" title="StringTok">&#39;G&#39;</span>}, {<span class="st" title="StringTok">&#39;Q&#39;</span>,<span class="st" title="StringTok">&#39;D&#39;</span>}, {<span class="st" title="StringTok">&#39;F&#39;</span>,<span class="st" title="StringTok">&#39;S&#39;</span>}, {<span class="st" title="StringTok">&#39;J&#39;</span>,<span class="st" title="StringTok">&#39;W&#39;</span>}, {<span class="st" title="StringTok">&#39;H&#39;</span>,<span class="st" title="StringTok">&#39;U&#39;</span>}, {<span class="st" title="StringTok">&#39;V&#39;</span>,<span class="st" title="StringTok">&#39;I&#39;</span>}, {<span class="st" title="StringTok">&#39;A&#39;</span>,<span class="st" title="StringTok">&#39;N&#39;</span>}, {<span class="st" title="StringTok">&#39;O&#39;</span>,<span class="st" title="StringTok">&#39;B&#39;</span>}, {<span class="st" title="StringTok">&#39;E&#39;</span>,<span class="st" title="StringTok">&#39;R&#39;</span>}, {<span class="st" title="StringTok">&#39;F&#39;</span>,<span class="st" title="StringTok">&#39;S&#39;</span>}, {<span class="st" title="StringTok">&#39;L&#39;</span>,<span class="st" title="StringTok">&#39;Y&#39;</span>}, {<span class="st" title="StringTok">&#39;P&#39;</span>,<span class="st" title="StringTok">&#39;C&#39;</span>}, {<span class="st" title="StringTok">&#39;Z&#39;</span>,<span class="st" title="StringTok">&#39;M&#39;</span>} };-    std::vector&lt;std::string&gt; words{<span class="st" title="StringTok">&quot;A&quot;</span>,<span class="st" title="StringTok">&quot;BARK&quot;</span>,<span class="st" title="StringTok">&quot;BOOK&quot;</span>,<span class="st" title="StringTok">&quot;TREAT&quot;</span>,<span class="st" title="StringTok">&quot;COMMON&quot;</span>,<span class="st" title="StringTok">&quot;SQUAD&quot;</span>,<span class="st" title="StringTok">&quot;CONFUSE&quot;</span>};-    <span class="kw" title="KeywordTok">for</span> (<span class="dt" title="DataTypeTok">const</span> std::string&amp; w : words) {-        std::cout &lt;&lt; w &lt;&lt; <span class="st" title="StringTok">&quot;: &quot;</span> &lt;&lt; std::boolalpha &lt;&lt; can_make_word(w,vals) &lt;&lt; <span class="st" title="StringTok">&quot;.</span><span class="ch" title="CharTok">\n</span><span class="st" title="StringTok">&quot;</span>;+    <span class="dt" title="DataTypeTok">list_t</span> vals{ {<span class="st" title="StringTok">&#39;B&#39;</span>,<span class="st" title="StringTok">&#39;O&#39;</span>}, {<span class="st" title="StringTok">&#39;X&#39;</span>,<span class="st" title="StringTok">&#39;K&#39;</span>}, {<span class="st" title="StringTok">&#39;D&#39;</span>,<span class="st" title="StringTok">&#39;Q&#39;</span>}, {<span class="st" title="StringTok">&#39;C&#39;</span>,<span class="st" title="StringTok">&#39;P&#39;</span>}, {<span class="st" title="StringTok">&#39;N&#39;</span>,<span class="st" title="StringTok">&#39;A&#39;</span>}, {<span class="st" title="StringTok">&#39;G&#39;</span>,<span class="st" title="StringTok">&#39;T&#39;</span>}, {<span class="st" title="StringTok">&#39;R&#39;</span>,<span class="st" title="StringTok">&#39;E&#39;</span>}, {<span class="st" title="StringTok">&#39;T&#39;</span>,<span class="st" title="StringTok">&#39;G&#39;</span>}, {<span class="st" title="StringTok">&#39;Q&#39;</span>,<span class="st" title="StringTok">&#39;D&#39;</span>}, {<span class="st" title="StringTok">&#39;F&#39;</span>,<span class="st" title="StringTok">&#39;S&#39;</span>}, {<span class="st" title="StringTok">&#39;J&#39;</span>,<span class="st" title="StringTok">&#39;W&#39;</span>}, {<span class="st" title="StringTok">&#39;H&#39;</span>,<span class="st" title="StringTok">&#39;U&#39;</span>}, {<span class="st" title="StringTok">&#39;V&#39;</span>,<span class="st" title="StringTok">&#39;I&#39;</span>}, {<span class="st" title="StringTok">&#39;A&#39;</span>,<span class="st" title="StringTok">&#39;N&#39;</span>}, {<span class="st" title="StringTok">&#39;O&#39;</span>,<span class="st" title="StringTok">&#39;B&#39;</span>}, {<span class="st" title="StringTok">&#39;E&#39;</span>,<span class="st" title="StringTok">&#39;R&#39;</span>}, {<span class="st" title="StringTok">&#39;F&#39;</span>,<span class="st" title="StringTok">&#39;S&#39;</span>}, {<span class="st" title="StringTok">&#39;L&#39;</span>,<span class="st" title="StringTok">&#39;Y&#39;</span>}, {<span class="st" title="StringTok">&#39;P&#39;</span>,<span class="st" title="StringTok">&#39;C&#39;</span>}, {<span class="st" title="StringTok">&#39;Z&#39;</span>,<span class="st" title="StringTok">&#39;M&#39;</span>} };+    <span class="bu" title="BuiltInTok">std::</span>vector&lt;<span class="bu" title="BuiltInTok">std::</span>string&gt; words{<span class="st" title="StringTok">&quot;A&quot;</span>,<span class="st" title="StringTok">&quot;BARK&quot;</span>,<span class="st" title="StringTok">&quot;BOOK&quot;</span>,<span class="st" title="StringTok">&quot;TREAT&quot;</span>,<span class="st" title="StringTok">&quot;COMMON&quot;</span>,<span class="st" title="StringTok">&quot;SQUAD&quot;</span>,<span class="st" title="StringTok">&quot;CONFUSE&quot;</span>};+    <span class="cf" title="ControlFlowTok">for</span> (<span class="at" title="AttributeTok">const</span> <span class="bu" title="BuiltInTok">std::</span>string&amp; w : words) {+        <span class="bu" title="BuiltInTok">std::</span>cout &lt;&lt; w &lt;&lt; <span class="st" title="StringTok">&quot;: &quot;</span> &lt;&lt; <span class="bu" title="BuiltInTok">std::</span>boolalpha &lt;&lt; can_make_word(w,vals) &lt;&lt; <span class="st" title="StringTok">&quot;.</span><span class="sc" title="SpecialCharTok">\n</span><span class="st" title="StringTok">&quot;</span>;     }  }</code></pre></div></body>
tests/abc.cs.html view
@@ -4,18 +4,35 @@ table.sourceCode { width: 100%; line-height: 100%; } td.lineNumbers { text-align: right; padding-right: 4px; padding-left: 4px; color: #aaaaaa; border-right: 1px solid #aaaaaa; } td.sourceCode { padding-left: 5px; }-code > span.kw { color: #007020; font-weight: bold; }-code > span.dt { color: #902000; }-code > span.dv { color: #40a070; }-code > span.bn { color: #40a070; }-code > span.fl { color: #40a070; }-code > span.ch { color: #4070a0; }-code > span.st { color: #4070a0; }-code > span.co { color: #60a0b0; font-style: italic; }-code > span.ot { color: #007020; }-code > span.al { color: #ff0000; font-weight: bold; }-code > span.fu { color: #06287e; }-code > span.er { color: #ff0000; font-weight: bold; }+code > span.kw { color: #007020; font-weight: bold; } /* Keyword */+code > span.dt { color: #902000; } /* DataType */+code > span.dv { color: #40a070; } /* DecVal */+code > span.bn { color: #40a070; } /* BaseN */+code > span.fl { color: #40a070; } /* Float */+code > span.ch { color: #4070a0; } /* Char */+code > span.st { color: #4070a0; } /* String */+code > span.co { color: #60a0b0; font-style: italic; } /* Comment */+code > span.ot { color: #007020; } /* Other */+code > span.al { color: #ff0000; font-weight: bold; } /* Alert */+code > span.fu { color: #06287e; } /* Function */+code > span.er { color: #ff0000; font-weight: bold; } /* Error */+code > span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */+code > span.cn { color: #880000; } /* Constant */+code > span.sc { color: #4070a0; } /* SpecialChar */+code > span.vs { color: #4070a0; } /* VerbatimString */+code > span.ss { color: #bb6688; } /* SpecialString */+code > span.im { } /* Import */+code > span.va { color: #19177c; } /* Variable */+code > span.cf { color: #007020; font-weight: bold; } /* ControlFlow */+code > span.op { color: #666666; } /* Operator */+code > span.bu { } /* BuiltIn */+code > span.ex { } /* Extension */+code > span.pp { color: #bc7a00; } /* Preprocessor */+code > span.at { color: #7d9029; } /* Attribute */+code > span.do { color: #ba2121; font-style: italic; } /* Documentation */+code > span.an { color: #60a0b0; font-weight: bold; font-style: italic; } /* Annotation */+code > span.cv { color: #60a0b0; font-weight: bold; font-style: italic; } /* CommentVar */+code > span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Information */ </style></head><body><div class="sourceCode"><pre class="sourceCode"><code class="sourceCode"><span class="kw" title="KeywordTok">using</span> System.<span class="fu" title="FunctionTok">Collections</span>.<span class="fu" title="FunctionTok">Generic</span>; <span class="kw" title="KeywordTok">using</span> System.<span class="fu" title="FunctionTok">Linq</span>; 
tests/abc.d.html view
@@ -4,28 +4,45 @@ table.sourceCode { width: 100%; line-height: 100%; } td.lineNumbers { text-align: right; padding-right: 4px; padding-left: 4px; color: #aaaaaa; border-right: 1px solid #aaaaaa; } td.sourceCode { padding-left: 5px; }-code > span.kw { color: #007020; font-weight: bold; }-code > span.dt { color: #902000; }-code > span.dv { color: #40a070; }-code > span.bn { color: #40a070; }-code > span.fl { color: #40a070; }-code > span.ch { color: #4070a0; }-code > span.st { color: #4070a0; }-code > span.co { color: #60a0b0; font-style: italic; }-code > span.ot { color: #007020; }-code > span.al { color: #ff0000; font-weight: bold; }-code > span.fu { color: #06287e; }-code > span.er { color: #ff0000; font-weight: bold; }+code > span.kw { color: #007020; font-weight: bold; } /* Keyword */+code > span.dt { color: #902000; } /* DataType */+code > span.dv { color: #40a070; } /* DecVal */+code > span.bn { color: #40a070; } /* BaseN */+code > span.fl { color: #40a070; } /* Float */+code > span.ch { color: #4070a0; } /* Char */+code > span.st { color: #4070a0; } /* String */+code > span.co { color: #60a0b0; font-style: italic; } /* Comment */+code > span.ot { color: #007020; } /* Other */+code > span.al { color: #ff0000; font-weight: bold; } /* Alert */+code > span.fu { color: #06287e; } /* Function */+code > span.er { color: #ff0000; font-weight: bold; } /* Error */+code > span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */+code > span.cn { color: #880000; } /* Constant */+code > span.sc { color: #4070a0; } /* SpecialChar */+code > span.vs { color: #4070a0; } /* VerbatimString */+code > span.ss { color: #bb6688; } /* SpecialString */+code > span.im { } /* Import */+code > span.va { color: #19177c; } /* Variable */+code > span.cf { color: #007020; font-weight: bold; } /* ControlFlow */+code > span.op { color: #666666; } /* Operator */+code > span.bu { } /* BuiltIn */+code > span.ex { } /* Extension */+code > span.pp { color: #bc7a00; } /* Preprocessor */+code > span.at { color: #7d9029; } /* Attribute */+code > span.do { color: #ba2121; font-style: italic; } /* Documentation */+code > span.an { color: #60a0b0; font-weight: bold; font-style: italic; } /* Annotation */+code > span.cv { color: #60a0b0; font-weight: bold; font-style: italic; } /* CommentVar */+code > span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Information */ </style></head><body><div class="sourceCode"><pre class="sourceCode"><code class="sourceCode"><span class="kw" title="KeywordTok">import</span> std.stdio, std.ascii, std.algorithm, std.array, std.range;  <span class="kw" title="KeywordTok">alias</span> Block = <span class="dt" title="DataTypeTok">char</span>[<span class="dv" title="DecValTok">2</span>]; -<span class="dt" title="DataTypeTok">bool</span> canMakeWord(<span class="kw" title="KeywordTok">immutable</span> Block[] blocks, <span class="kw" title="KeywordTok">in</span> <span class="dt" title="DataTypeTok">string</span> word) <span class="kw" title="KeywordTok">pure</span> <span class="kw" title="KeywordTok">nothrow</span>+<span class="dt" title="DataTypeTok">bool</span> canMakeWord(<span class="kw" title="KeywordTok">immutable</span> Block[] blocks, <span class="kw" title="KeywordTok">in</span> <span class="bu" title="BuiltInTok">string</span> word) <span class="kw" title="KeywordTok">pure</span> <span class="kw" title="KeywordTok">nothrow</span> <span class="kw" title="KeywordTok">in </span>{     <span class="kw" title="KeywordTok">assert</span>(blocks.all!(w =&gt; w[].all!isAlpha));     <span class="kw" title="KeywordTok">assert</span>(word.all!isAlpha); } <span class="kw" title="KeywordTok">body</span> {-    <span class="dt" title="DataTypeTok">bool</span> inner(<span class="dt" title="DataTypeTok">size_t</span>[] indexes, <span class="kw" title="KeywordTok">in</span> <span class="dt" title="DataTypeTok">string</span> w) <span class="kw" title="KeywordTok">pure</span> <span class="kw" title="KeywordTok">nothrow</span> {+    <span class="dt" title="DataTypeTok">bool</span> inner(<span class="bu" title="BuiltInTok">size_t</span>[] indexes, <span class="kw" title="KeywordTok">in</span> <span class="bu" title="BuiltInTok">string</span> w) <span class="kw" title="KeywordTok">pure</span> <span class="kw" title="KeywordTok">nothrow</span> {         <span class="kw" title="KeywordTok">if</span> (w.empty)             <span class="kw" title="KeywordTok">return</span> <span class="kw" title="KeywordTok">true</span>; @@ -51,10 +68,10 @@ <span class="st" title="StringTok">                           JW HU VI AN OB ER FS LY PC ZM&quot;</span>.split;      <span class="kw" title="KeywordTok">foreach</span> (w; <span class="st" title="StringTok">&quot;&quot;</span> ~ <span class="st" title="StringTok">&quot;A BARK BoOK TrEAT COmMoN SQUAD conFUsE&quot;</span>.split)-        writefln(<span class="st" title="StringTok">`&quot;%s&quot; %s`</span>, w, blocks.canMakeWord(w));+        writefln(<span class="ss" title="SpecialStringTok">`&quot;%s&quot; %s`</span>, w, blocks.canMakeWord(w));      <span class="co" title="CommentTok">// Extra test.</span>     <span class="kw" title="KeywordTok">immutable</span> Block[] blocks2 = [<span class="st" title="StringTok">&quot;AB&quot;</span>, <span class="st" title="StringTok">&quot;AB&quot;</span>, <span class="st" title="StringTok">&quot;AC&quot;</span>, <span class="st" title="StringTok">&quot;AC&quot;</span>];     <span class="kw" title="KeywordTok">immutable</span> word = <span class="st" title="StringTok">&quot;abba&quot;</span>;-    writefln(<span class="st" title="StringTok">`&quot;%s&quot; %s`</span>, word, blocks2.canMakeWord(word));+    writefln(<span class="ss" title="SpecialStringTok">`&quot;%s&quot; %s`</span>, word, blocks2.canMakeWord(word)); }</code></pre></div></body>
tests/abc.fortran.html view
@@ -4,18 +4,35 @@ table.sourceCode { width: 100%; line-height: 100%; } td.lineNumbers { text-align: right; padding-right: 4px; padding-left: 4px; color: #aaaaaa; border-right: 1px solid #aaaaaa; } td.sourceCode { padding-left: 5px; }-code > span.kw { color: #007020; font-weight: bold; }-code > span.dt { color: #902000; }-code > span.dv { color: #40a070; }-code > span.bn { color: #40a070; }-code > span.fl { color: #40a070; }-code > span.ch { color: #4070a0; }-code > span.st { color: #4070a0; }-code > span.co { color: #60a0b0; font-style: italic; }-code > span.ot { color: #007020; }-code > span.al { color: #ff0000; font-weight: bold; }-code > span.fu { color: #06287e; }-code > span.er { color: #ff0000; font-weight: bold; }+code > span.kw { color: #007020; font-weight: bold; } /* Keyword */+code > span.dt { color: #902000; } /* DataType */+code > span.dv { color: #40a070; } /* DecVal */+code > span.bn { color: #40a070; } /* BaseN */+code > span.fl { color: #40a070; } /* Float */+code > span.ch { color: #4070a0; } /* Char */+code > span.st { color: #4070a0; } /* String */+code > span.co { color: #60a0b0; font-style: italic; } /* Comment */+code > span.ot { color: #007020; } /* Other */+code > span.al { color: #ff0000; font-weight: bold; } /* Alert */+code > span.fu { color: #06287e; } /* Function */+code > span.er { color: #ff0000; font-weight: bold; } /* Error */+code > span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */+code > span.cn { color: #880000; } /* Constant */+code > span.sc { color: #4070a0; } /* SpecialChar */+code > span.vs { color: #4070a0; } /* VerbatimString */+code > span.ss { color: #bb6688; } /* SpecialString */+code > span.im { } /* Import */+code > span.va { color: #19177c; } /* Variable */+code > span.cf { color: #007020; font-weight: bold; } /* ControlFlow */+code > span.op { color: #666666; } /* Operator */+code > span.bu { } /* BuiltIn */+code > span.ex { } /* Extension */+code > span.pp { color: #bc7a00; } /* Preprocessor */+code > span.at { color: #7d9029; } /* Attribute */+code > span.do { color: #ba2121; font-style: italic; } /* Documentation */+code > span.an { color: #60a0b0; font-weight: bold; font-style: italic; } /* Annotation */+code > span.cv { color: #60a0b0; font-weight: bold; font-style: italic; } /* CommentVar */+code > span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Information */ </style></head><body><div class="sourceCode"><pre class="sourceCode"><code class="sourceCode"><span class="co" title="CommentTok">!-*- mode: compilation; default-directory: &quot;/tmp/&quot; -*-</span> <span class="co" title="CommentTok">!Compilation started at Thu Jun  5 01:52:03</span> <span class="co" title="CommentTok">!</span>@@ -42,12 +59,12 @@   <span class="dt" title="DataTypeTok">logical</span> <span class="dt" title="DataTypeTok">::</span> valid   <span class="dt" title="DataTypeTok">integer</span> <span class="dt" title="DataTypeTok">::</span> i, iostat   <span class="fu" title="FunctionTok">read(</span><span class="dv" title="DecValTok">5</span>,<span class="fu" title="FunctionTok">*</span>,<span class="fu" title="FunctionTok">iostat</span><span class="kw" title="KeywordTok">=</span><span class="fu" title="FunctionTok">iostat)</span> goal-  <span class="kw" title="KeywordTok">if</span> (iostat <span class="kw" title="KeywordTok">.ne.</span> <span class="dv" title="DecValTok">0</span>) goal <span class="kw" title="KeywordTok">=</span> <span class="st" title="StringTok">&#39;&#39;</span>+  <span class="kw" title="KeywordTok">if</span> (iostat <span class="op" title="OperatorTok">.ne.</span> <span class="dv" title="DecValTok">0</span>) goal <span class="kw" title="KeywordTok">=</span> <span class="st" title="StringTok">&#39;&#39;</span>   <span class="kw" title="KeywordTok">call</span> ucase(goal)   solution <span class="kw" title="KeywordTok">=</span> <span class="dv" title="DecValTok">0</span>   blocks_copy <span class="kw" title="KeywordTok">=</span> blocks-  valid <span class="kw" title="KeywordTok">=</span> assign_block(goal(<span class="dv" title="DecValTok">1</span>:<span class="kw" title="KeywordTok">len_trim</span>(goal)), blocks, solution, <span class="dv" title="DecValTok">1</span>)-  <span class="fu" title="FunctionTok">write(</span><span class="dv" title="DecValTok">6</span>,<span class="fu" title="FunctionTok">*)</span> valid, <span class="st" title="StringTok">&#39; &#39;</span><span class="kw" title="KeywordTok">//</span>goal, (<span class="st" title="StringTok">&#39; &#39;</span><span class="kw" title="KeywordTok">//</span>blocks_copy(solution(i)), i<span class="kw" title="KeywordTok">=</span><span class="dv" title="DecValTok">1</span>,<span class="kw" title="KeywordTok">len_trim</span>(goal))+  valid <span class="kw" title="KeywordTok">=</span> assign_block(goal(<span class="dv" title="DecValTok">1</span>:<span class="bu" title="BuiltInTok">len_trim</span>(goal)), blocks, solution, <span class="dv" title="DecValTok">1</span>)+  <span class="fu" title="FunctionTok">write(</span><span class="dv" title="DecValTok">6</span>,<span class="fu" title="FunctionTok">*)</span> valid, <span class="st" title="StringTok">&#39; &#39;</span><span class="kw" title="KeywordTok">//</span>goal, (<span class="st" title="StringTok">&#39; &#39;</span><span class="kw" title="KeywordTok">//</span>blocks_copy(solution(i)), i<span class="kw" title="KeywordTok">=</span><span class="dv" title="DecValTok">1</span>,<span class="bu" title="BuiltInTok">len_trim</span>(goal))  <span class="co" title="CommentTok">contains</span> @@ -60,10 +77,10 @@     <span class="dt" title="DataTypeTok">integer</span>, <span class="dt" title="DataTypeTok">intent(in)</span> <span class="dt" title="DataTypeTok">::</span> n     <span class="dt" title="DataTypeTok">integer</span> <span class="dt" title="DataTypeTok">::</span> i     <span class="dt" title="DataTypeTok">character(len=2)</span> <span class="dt" title="DataTypeTok">::</span> backing_store-    valid <span class="kw" title="KeywordTok">=</span> <span class="ot" title="OtherTok">.true.</span>-    <span class="kw" title="KeywordTok">if</span> (<span class="fu" title="FunctionTok">len</span>(goal)<span class="kw" title="KeywordTok">+</span><span class="dv" title="DecValTok">1</span> <span class="kw" title="KeywordTok">.eq.</span> n) <span class="kw" title="KeywordTok">return</span>+    valid <span class="kw" title="KeywordTok">=</span> <span class="cn" title="ConstantTok">.true.</span>+    <span class="kw" title="KeywordTok">if</span> (<span class="fu" title="FunctionTok">len</span>(goal)<span class="kw" title="KeywordTok">+</span><span class="dv" title="DecValTok">1</span> <span class="op" title="OperatorTok">.eq.</span> n) <span class="kw" title="KeywordTok">return</span>     <span class="kw" title="KeywordTok">do</span> i<span class="kw" title="KeywordTok">=</span><span class="dv" title="DecValTok">1</span>, <span class="fu" title="FunctionTok">size</span>(blocks)-       <span class="kw" title="KeywordTok">if</span> (<span class="kw" title="KeywordTok">index</span>(blocks(i),goal(n:n)) <span class="kw" title="KeywordTok">.ne.</span> <span class="dv" title="DecValTok">0</span>) <span class="kw" title="KeywordTok">then</span>+       <span class="kw" title="KeywordTok">if</span> (<span class="bu" title="BuiltInTok">index</span>(blocks(i),goal(n:n)) <span class="op" title="OperatorTok">.ne.</span> <span class="dv" title="DecValTok">0</span>) <span class="kw" title="KeywordTok">then</span>           backing_store <span class="kw" title="KeywordTok">=</span> blocks(i)           blocks(i) <span class="kw" title="KeywordTok">=</span> <span class="st" title="StringTok">&#39;&#39;</span>           solution(n) <span class="kw" title="KeywordTok">=</span> i@@ -71,7 +88,7 @@           blocks(i) <span class="kw" title="KeywordTok">=</span> backing_store        <span class="kw" title="KeywordTok">end if</span>     <span class="kw" title="KeywordTok">end do</span>-    valid <span class="kw" title="KeywordTok">=</span> <span class="ot" title="OtherTok">.false.</span>+    valid <span class="kw" title="KeywordTok">=</span> <span class="cn" title="ConstantTok">.false.</span>     <span class="kw" title="KeywordTok">return</span>   <span class="kw" title="KeywordTok">end function</span> assign_block @@ -79,9 +96,9 @@     <span class="kw" title="KeywordTok">implicit</span> <span class="kw" title="KeywordTok">none</span>     <span class="dt" title="DataTypeTok">character(len=*)</span>, <span class="dt" title="DataTypeTok">intent(inout)</span> <span class="dt" title="DataTypeTok">::</span> a     <span class="dt" title="DataTypeTok">integer</span> <span class="dt" title="DataTypeTok">::</span> i, j-    <span class="kw" title="KeywordTok">do</span> i <span class="kw" title="KeywordTok">=</span> <span class="dv" title="DecValTok">1</span>, <span class="kw" title="KeywordTok">len_trim</span>(a)-       j <span class="kw" title="KeywordTok">=</span> <span class="kw" title="KeywordTok">index</span>(<span class="st" title="StringTok">&#39;abcdefghijklmnopqrstuvwxyz&#39;</span>,a(i:i))-       <span class="kw" title="KeywordTok">if</span> (j <span class="kw" title="KeywordTok">.ne.</span> <span class="dv" title="DecValTok">0</span>) a(i:i) <span class="kw" title="KeywordTok">=</span> <span class="st" title="StringTok">&#39;ABCDEFGHIJKLMNOPQRSTUVWXYZ&#39;</span>(j:j)+    <span class="kw" title="KeywordTok">do</span> i <span class="kw" title="KeywordTok">=</span> <span class="dv" title="DecValTok">1</span>, <span class="bu" title="BuiltInTok">len_trim</span>(a)+       j <span class="kw" title="KeywordTok">=</span> <span class="bu" title="BuiltInTok">index</span>(<span class="st" title="StringTok">&#39;abcdefghijklmnopqrstuvwxyz&#39;</span>,a(i:i))+       <span class="kw" title="KeywordTok">if</span> (j <span class="op" title="OperatorTok">.ne.</span> <span class="dv" title="DecValTok">0</span>) a(i:i) <span class="kw" title="KeywordTok">=</span> <span class="st" title="StringTok">&#39;ABCDEFGHIJKLMNOPQRSTUVWXYZ&#39;</span>(j:j)     <span class="kw" title="KeywordTok">end do</span>   <span class="kw" title="KeywordTok">end subroutine</span> ucase 
tests/abc.go.html view
@@ -4,18 +4,35 @@ table.sourceCode { width: 100%; line-height: 100%; } td.lineNumbers { text-align: right; padding-right: 4px; padding-left: 4px; color: #aaaaaa; border-right: 1px solid #aaaaaa; } td.sourceCode { padding-left: 5px; }-code > span.kw { color: #007020; font-weight: bold; }-code > span.dt { color: #902000; }-code > span.dv { color: #40a070; }-code > span.bn { color: #40a070; }-code > span.fl { color: #40a070; }-code > span.ch { color: #4070a0; }-code > span.st { color: #4070a0; }-code > span.co { color: #60a0b0; font-style: italic; }-code > span.ot { color: #007020; }-code > span.al { color: #ff0000; font-weight: bold; }-code > span.fu { color: #06287e; }-code > span.er { color: #ff0000; font-weight: bold; }+code > span.kw { color: #007020; font-weight: bold; } /* Keyword */+code > span.dt { color: #902000; } /* DataType */+code > span.dv { color: #40a070; } /* DecVal */+code > span.bn { color: #40a070; } /* BaseN */+code > span.fl { color: #40a070; } /* Float */+code > span.ch { color: #4070a0; } /* Char */+code > span.st { color: #4070a0; } /* String */+code > span.co { color: #60a0b0; font-style: italic; } /* Comment */+code > span.ot { color: #007020; } /* Other */+code > span.al { color: #ff0000; font-weight: bold; } /* Alert */+code > span.fu { color: #06287e; } /* Function */+code > span.er { color: #ff0000; font-weight: bold; } /* Error */+code > span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */+code > span.cn { color: #880000; } /* Constant */+code > span.sc { color: #4070a0; } /* SpecialChar */+code > span.vs { color: #4070a0; } /* VerbatimString */+code > span.ss { color: #bb6688; } /* SpecialString */+code > span.im { } /* Import */+code > span.va { color: #19177c; } /* Variable */+code > span.cf { color: #007020; font-weight: bold; } /* ControlFlow */+code > span.op { color: #666666; } /* Operator */+code > span.bu { } /* BuiltIn */+code > span.ex { } /* Extension */+code > span.pp { color: #bc7a00; } /* Preprocessor */+code > span.at { color: #7d9029; } /* Attribute */+code > span.do { color: #ba2121; font-style: italic; } /* Documentation */+code > span.an { color: #60a0b0; font-weight: bold; font-style: italic; } /* Annotation */+code > span.cv { color: #60a0b0; font-weight: bold; font-style: italic; } /* CommentVar */+code > span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Information */ </style></head><body><div class="sourceCode"><pre class="sourceCode"><code class="sourceCode"><span class="kw" title="KeywordTok">package</span> main  <span class="kw" title="KeywordTok">import</span> (
tests/abc.haskell.html view
@@ -4,18 +4,35 @@ table.sourceCode { width: 100%; line-height: 100%; } td.lineNumbers { text-align: right; padding-right: 4px; padding-left: 4px; color: #aaaaaa; border-right: 1px solid #aaaaaa; } td.sourceCode { padding-left: 5px; }-code > span.kw { color: #007020; font-weight: bold; }-code > span.dt { color: #902000; }-code > span.dv { color: #40a070; }-code > span.bn { color: #40a070; }-code > span.fl { color: #40a070; }-code > span.ch { color: #4070a0; }-code > span.st { color: #4070a0; }-code > span.co { color: #60a0b0; font-style: italic; }-code > span.ot { color: #007020; }-code > span.al { color: #ff0000; font-weight: bold; }-code > span.fu { color: #06287e; }-code > span.er { color: #ff0000; font-weight: bold; }+code > span.kw { color: #007020; font-weight: bold; } /* Keyword */+code > span.dt { color: #902000; } /* DataType */+code > span.dv { color: #40a070; } /* DecVal */+code > span.bn { color: #40a070; } /* BaseN */+code > span.fl { color: #40a070; } /* Float */+code > span.ch { color: #4070a0; } /* Char */+code > span.st { color: #4070a0; } /* String */+code > span.co { color: #60a0b0; font-style: italic; } /* Comment */+code > span.ot { color: #007020; } /* Other */+code > span.al { color: #ff0000; font-weight: bold; } /* Alert */+code > span.fu { color: #06287e; } /* Function */+code > span.er { color: #ff0000; font-weight: bold; } /* Error */+code > span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */+code > span.cn { color: #880000; } /* Constant */+code > span.sc { color: #4070a0; } /* SpecialChar */+code > span.vs { color: #4070a0; } /* VerbatimString */+code > span.ss { color: #bb6688; } /* SpecialString */+code > span.im { } /* Import */+code > span.va { color: #19177c; } /* Variable */+code > span.cf { color: #007020; font-weight: bold; } /* ControlFlow */+code > span.op { color: #666666; } /* Operator */+code > span.bu { } /* BuiltIn */+code > span.ex { } /* Extension */+code > span.pp { color: #bc7a00; } /* Preprocessor */+code > span.at { color: #7d9029; } /* Attribute */+code > span.do { color: #ba2121; font-style: italic; } /* Documentation */+code > span.an { color: #60a0b0; font-weight: bold; font-style: italic; } /* Annotation */+code > span.cv { color: #60a0b0; font-weight: bold; font-style: italic; } /* CommentVar */+code > span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Information */ </style></head><body><div class="sourceCode"><pre class="sourceCode"><code class="sourceCode"><span class="kw" title="KeywordTok">import </span><span class="dt" title="DataTypeTok">Data.List</span> (delete) <span class="kw" title="KeywordTok">import </span><span class="dt" title="DataTypeTok">Data.Char</span> (toUpper) 
tests/abc.java.html view
@@ -4,38 +4,55 @@ table.sourceCode { width: 100%; line-height: 100%; } td.lineNumbers { text-align: right; padding-right: 4px; padding-left: 4px; color: #aaaaaa; border-right: 1px solid #aaaaaa; } td.sourceCode { padding-left: 5px; }-code > span.kw { color: #007020; font-weight: bold; }-code > span.dt { color: #902000; }-code > span.dv { color: #40a070; }-code > span.bn { color: #40a070; }-code > span.fl { color: #40a070; }-code > span.ch { color: #4070a0; }-code > span.st { color: #4070a0; }-code > span.co { color: #60a0b0; font-style: italic; }-code > span.ot { color: #007020; }-code > span.al { color: #ff0000; font-weight: bold; }-code > span.fu { color: #06287e; }-code > span.er { color: #ff0000; font-weight: bold; }-</style></head><body><div class="sourceCode"><pre class="sourceCode"><code class="sourceCode"><span class="kw" title="KeywordTok">import java.util.Arrays;</span>+code > span.kw { color: #007020; font-weight: bold; } /* Keyword */+code > span.dt { color: #902000; } /* DataType */+code > span.dv { color: #40a070; } /* DecVal */+code > span.bn { color: #40a070; } /* BaseN */+code > span.fl { color: #40a070; } /* Float */+code > span.ch { color: #4070a0; } /* Char */+code > span.st { color: #4070a0; } /* String */+code > span.co { color: #60a0b0; font-style: italic; } /* Comment */+code > span.ot { color: #007020; } /* Other */+code > span.al { color: #ff0000; font-weight: bold; } /* Alert */+code > span.fu { color: #06287e; } /* Function */+code > span.er { color: #ff0000; font-weight: bold; } /* Error */+code > span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */+code > span.cn { color: #880000; } /* Constant */+code > span.sc { color: #4070a0; } /* SpecialChar */+code > span.vs { color: #4070a0; } /* VerbatimString */+code > span.ss { color: #bb6688; } /* SpecialString */+code > span.im { } /* Import */+code > span.va { color: #19177c; } /* Variable */+code > span.cf { color: #007020; font-weight: bold; } /* ControlFlow */+code > span.op { color: #666666; } /* Operator */+code > span.bu { } /* BuiltIn */+code > span.ex { } /* Extension */+code > span.pp { color: #bc7a00; } /* Preprocessor */+code > span.at { color: #7d9029; } /* Attribute */+code > span.do { color: #ba2121; font-style: italic; } /* Documentation */+code > span.an { color: #60a0b0; font-weight: bold; font-style: italic; } /* Annotation */+code > span.cv { color: #60a0b0; font-weight: bold; font-style: italic; } /* CommentVar */+code > span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Information */+</style></head><body><div class="sourceCode"><pre class="sourceCode"><code class="sourceCode"><span class="kw" title="KeywordTok">import</span><span class="im" title="ImportTok"> java.util.Arrays;</span>  <span class="kw" title="KeywordTok">public</span> <span class="kw" title="KeywordTok">class</span> ABC{-        <span class="kw" title="KeywordTok">private</span> <span class="dt" title="DataTypeTok">static</span> <span class="dt" title="DataTypeTok">void</span> <span class="fu" title="FunctionTok">swap</span>(<span class="dt" title="DataTypeTok">int</span> i, <span class="dt" title="DataTypeTok">int</span> j, Object<span class="kw" title="KeywordTok">... </span>arr){-                Object tmp = arr[i];+        <span class="kw" title="KeywordTok">private</span> <span class="dt" title="DataTypeTok">static</span> <span class="dt" title="DataTypeTok">void</span> <span class="fu" title="FunctionTok">swap</span>(<span class="dt" title="DataTypeTok">int</span> i, <span class="dt" title="DataTypeTok">int</span> j, <span class="bu" title="BuiltInTok">Object</span><span class="kw" title="KeywordTok">... </span>arr){+                <span class="bu" title="BuiltInTok">Object</span> tmp = arr[i];                 arr[i] = arr[j];                 arr[j] = tmp;         }         -        <span class="kw" title="KeywordTok">public</span> <span class="dt" title="DataTypeTok">static</span> <span class="dt" title="DataTypeTok">boolean</span> <span class="fu" title="FunctionTok">canMakeWord</span>(String word, String<span class="kw" title="KeywordTok">... </span>blocks) {+        <span class="kw" title="KeywordTok">public</span> <span class="dt" title="DataTypeTok">static</span> <span class="dt" title="DataTypeTok">boolean</span> <span class="fu" title="FunctionTok">canMakeWord</span>(<span class="bu" title="BuiltInTok">String</span> word, <span class="bu" title="BuiltInTok">String</span><span class="kw" title="KeywordTok">... </span>blocks) {             <span class="kw" title="KeywordTok">if</span>(word.<span class="fu" title="FunctionTok">length</span>() == <span class="dv" title="DecValTok">0</span>)                 <span class="kw" title="KeywordTok">return</span> <span class="kw" title="KeywordTok">true</span>;          -            <span class="dt" title="DataTypeTok">char</span> c = Character.<span class="fu" title="FunctionTok">toUpperCase</span>(word.<span class="fu" title="FunctionTok">charAt</span>(<span class="dv" title="DecValTok">0</span>));+            <span class="dt" title="DataTypeTok">char</span> c = <span class="bu" title="BuiltInTok">Character</span>.<span class="fu" title="FunctionTok">toUpperCase</span>(word.<span class="fu" title="FunctionTok">charAt</span>(<span class="dv" title="DecValTok">0</span>));             <span class="kw" title="KeywordTok">for</span>(<span class="dt" title="DataTypeTok">int</span> i = <span class="dv" title="DecValTok">0</span>; i &lt; blocks.<span class="fu" title="FunctionTok">length</span>; i++) {-                String b = blocks[i];-                <span class="kw" title="KeywordTok">if</span>(Character.<span class="fu" title="FunctionTok">toUpperCase</span>(b.<span class="fu" title="FunctionTok">charAt</span>(<span class="dv" title="DecValTok">0</span>)) != c &amp;&amp; Character.<span class="fu" title="FunctionTok">toUpperCase</span>(b.<span class="fu" title="FunctionTok">charAt</span>(<span class="dv" title="DecValTok">1</span>)) != c)+                <span class="bu" title="BuiltInTok">String</span> b = blocks[i];+                <span class="kw" title="KeywordTok">if</span>(<span class="bu" title="BuiltInTok">Character</span>.<span class="fu" title="FunctionTok">toUpperCase</span>(b.<span class="fu" title="FunctionTok">charAt</span>(<span class="dv" title="DecValTok">0</span>)) != c &amp;&amp; <span class="bu" title="BuiltInTok">Character</span>.<span class="fu" title="FunctionTok">toUpperCase</span>(b.<span class="fu" title="FunctionTok">charAt</span>(<span class="dv" title="DecValTok">1</span>)) != c)                     <span class="kw" title="KeywordTok">continue</span>;                 <span class="fu" title="FunctionTok">swap</span>(<span class="dv" title="DecValTok">0</span>, i, blocks);-                <span class="kw" title="KeywordTok">if</span>(<span class="fu" title="FunctionTok">canMakeWord</span>(word.<span class="fu" title="FunctionTok">substring</span>(<span class="dv" title="DecValTok">1</span>), Arrays.<span class="fu" title="FunctionTok">copyOfRange</span>(blocks, <span class="dv" title="DecValTok">1</span>, blocks.<span class="fu" title="FunctionTok">length</span>)))+                <span class="kw" title="KeywordTok">if</span>(<span class="fu" title="FunctionTok">canMakeWord</span>(word.<span class="fu" title="FunctionTok">substring</span>(<span class="dv" title="DecValTok">1</span>), <span class="bu" title="BuiltInTok">Arrays</span>.<span class="fu" title="FunctionTok">copyOfRange</span>(blocks, <span class="dv" title="DecValTok">1</span>, blocks.<span class="fu" title="FunctionTok">length</span>)))                     <span class="kw" title="KeywordTok">return</span> <span class="kw" title="KeywordTok">true</span>;                 <span class="fu" title="FunctionTok">swap</span>(<span class="dv" title="DecValTok">0</span>, i, blocks);             }@@ -43,20 +60,20 @@             <span class="kw" title="KeywordTok">return</span> <span class="kw" title="KeywordTok">false</span>;         }         -        <span class="kw" title="KeywordTok">public</span> <span class="dt" title="DataTypeTok">static</span> <span class="dt" title="DataTypeTok">void</span> <span class="fu" title="FunctionTok">main</span>(String[] args){-                String[] blocks = {<span class="st" title="StringTok">&quot;BO&quot;</span>, <span class="st" title="StringTok">&quot;XK&quot;</span>, <span class="st" title="StringTok">&quot;DQ&quot;</span>, <span class="st" title="StringTok">&quot;CP&quot;</span>, <span class="st" title="StringTok">&quot;NA&quot;</span>, +        <span class="kw" title="KeywordTok">public</span> <span class="dt" title="DataTypeTok">static</span> <span class="dt" title="DataTypeTok">void</span> <span class="fu" title="FunctionTok">main</span>(<span class="bu" title="BuiltInTok">String</span>[] args){+                <span class="bu" title="BuiltInTok">String</span>[] blocks = {<span class="st" title="StringTok">&quot;BO&quot;</span>, <span class="st" title="StringTok">&quot;XK&quot;</span>, <span class="st" title="StringTok">&quot;DQ&quot;</span>, <span class="st" title="StringTok">&quot;CP&quot;</span>, <span class="st" title="StringTok">&quot;NA&quot;</span>,                                  <span class="st" title="StringTok">&quot;GT&quot;</span>, <span class="st" title="StringTok">&quot;RE&quot;</span>, <span class="st" title="StringTok">&quot;TG&quot;</span>, <span class="st" title="StringTok">&quot;QD&quot;</span>, <span class="st" title="StringTok">&quot;FS&quot;</span>,                                  <span class="st" title="StringTok">&quot;JW&quot;</span>, <span class="st" title="StringTok">&quot;HU&quot;</span>, <span class="st" title="StringTok">&quot;VI&quot;</span>, <span class="st" title="StringTok">&quot;AN&quot;</span>, <span class="st" title="StringTok">&quot;OB&quot;</span>,                                  <span class="st" title="StringTok">&quot;ER&quot;</span>, <span class="st" title="StringTok">&quot;FS&quot;</span>, <span class="st" title="StringTok">&quot;LY&quot;</span>, <span class="st" title="StringTok">&quot;PC&quot;</span>, <span class="st" title="StringTok">&quot;ZM&quot;</span>}; -                System.<span class="fu" title="FunctionTok">out</span>.<span class="fu" title="FunctionTok">println</span>(<span class="st" title="StringTok">&quot;</span><span class="ch" title="CharTok">\&quot;\&quot;</span><span class="st" title="StringTok">: &quot;</span> + <span class="fu" title="FunctionTok">canMakeWord</span>(<span class="st" title="StringTok">&quot;&quot;</span>, blocks));-                System.<span class="fu" title="FunctionTok">out</span>.<span class="fu" title="FunctionTok">println</span>(<span class="st" title="StringTok">&quot;A: &quot;</span> + <span class="fu" title="FunctionTok">canMakeWord</span>(<span class="st" title="StringTok">&quot;A&quot;</span>, blocks));-                System.<span class="fu" title="FunctionTok">out</span>.<span class="fu" title="FunctionTok">println</span>(<span class="st" title="StringTok">&quot;BARK: &quot;</span> + <span class="fu" title="FunctionTok">canMakeWord</span>(<span class="st" title="StringTok">&quot;BARK&quot;</span>, blocks));-                System.<span class="fu" title="FunctionTok">out</span>.<span class="fu" title="FunctionTok">println</span>(<span class="st" title="StringTok">&quot;book: &quot;</span> + <span class="fu" title="FunctionTok">canMakeWord</span>(<span class="st" title="StringTok">&quot;book&quot;</span>, blocks));-                System.<span class="fu" title="FunctionTok">out</span>.<span class="fu" title="FunctionTok">println</span>(<span class="st" title="StringTok">&quot;treat: &quot;</span> + <span class="fu" title="FunctionTok">canMakeWord</span>(<span class="st" title="StringTok">&quot;treat&quot;</span>, blocks));-                System.<span class="fu" title="FunctionTok">out</span>.<span class="fu" title="FunctionTok">println</span>(<span class="st" title="StringTok">&quot;COMMON: &quot;</span> + <span class="fu" title="FunctionTok">canMakeWord</span>(<span class="st" title="StringTok">&quot;COMMON&quot;</span>, blocks));-                System.<span class="fu" title="FunctionTok">out</span>.<span class="fu" title="FunctionTok">println</span>(<span class="st" title="StringTok">&quot;SQuAd: &quot;</span> + <span class="fu" title="FunctionTok">canMakeWord</span>(<span class="st" title="StringTok">&quot;SQuAd&quot;</span>, blocks));-                System.<span class="fu" title="FunctionTok">out</span>.<span class="fu" title="FunctionTok">println</span>(<span class="st" title="StringTok">&quot;CONFUSE: &quot;</span> + <span class="fu" title="FunctionTok">canMakeWord</span>(<span class="st" title="StringTok">&quot;CONFUSE&quot;</span>, blocks));+                <span class="bu" title="BuiltInTok">System</span>.<span class="fu" title="FunctionTok">out</span>.<span class="fu" title="FunctionTok">println</span>(<span class="st" title="StringTok">&quot;</span><span class="sc" title="SpecialCharTok">\&quot;\&quot;</span><span class="st" title="StringTok">: &quot;</span> + <span class="fu" title="FunctionTok">canMakeWord</span>(<span class="st" title="StringTok">&quot;&quot;</span>, blocks));+                <span class="bu" title="BuiltInTok">System</span>.<span class="fu" title="FunctionTok">out</span>.<span class="fu" title="FunctionTok">println</span>(<span class="st" title="StringTok">&quot;A: &quot;</span> + <span class="fu" title="FunctionTok">canMakeWord</span>(<span class="st" title="StringTok">&quot;A&quot;</span>, blocks));+                <span class="bu" title="BuiltInTok">System</span>.<span class="fu" title="FunctionTok">out</span>.<span class="fu" title="FunctionTok">println</span>(<span class="st" title="StringTok">&quot;BARK: &quot;</span> + <span class="fu" title="FunctionTok">canMakeWord</span>(<span class="st" title="StringTok">&quot;BARK&quot;</span>, blocks));+                <span class="bu" title="BuiltInTok">System</span>.<span class="fu" title="FunctionTok">out</span>.<span class="fu" title="FunctionTok">println</span>(<span class="st" title="StringTok">&quot;book: &quot;</span> + <span class="fu" title="FunctionTok">canMakeWord</span>(<span class="st" title="StringTok">&quot;book&quot;</span>, blocks));+                <span class="bu" title="BuiltInTok">System</span>.<span class="fu" title="FunctionTok">out</span>.<span class="fu" title="FunctionTok">println</span>(<span class="st" title="StringTok">&quot;treat: &quot;</span> + <span class="fu" title="FunctionTok">canMakeWord</span>(<span class="st" title="StringTok">&quot;treat&quot;</span>, blocks));+                <span class="bu" title="BuiltInTok">System</span>.<span class="fu" title="FunctionTok">out</span>.<span class="fu" title="FunctionTok">println</span>(<span class="st" title="StringTok">&quot;COMMON: &quot;</span> + <span class="fu" title="FunctionTok">canMakeWord</span>(<span class="st" title="StringTok">&quot;COMMON&quot;</span>, blocks));+                <span class="bu" title="BuiltInTok">System</span>.<span class="fu" title="FunctionTok">out</span>.<span class="fu" title="FunctionTok">println</span>(<span class="st" title="StringTok">&quot;SQuAd: &quot;</span> + <span class="fu" title="FunctionTok">canMakeWord</span>(<span class="st" title="StringTok">&quot;SQuAd&quot;</span>, blocks));+                <span class="bu" title="BuiltInTok">System</span>.<span class="fu" title="FunctionTok">out</span>.<span class="fu" title="FunctionTok">println</span>(<span class="st" title="StringTok">&quot;CONFUSE: &quot;</span> + <span class="fu" title="FunctionTok">canMakeWord</span>(<span class="st" title="StringTok">&quot;CONFUSE&quot;</span>, blocks));                          } }</code></pre></div></body>
tests/abc.javascript.html view
@@ -4,48 +4,65 @@ table.sourceCode { width: 100%; line-height: 100%; } td.lineNumbers { text-align: right; padding-right: 4px; padding-left: 4px; color: #aaaaaa; border-right: 1px solid #aaaaaa; } td.sourceCode { padding-left: 5px; }-code > span.kw { color: #007020; font-weight: bold; }-code > span.dt { color: #902000; }-code > span.dv { color: #40a070; }-code > span.bn { color: #40a070; }-code > span.fl { color: #40a070; }-code > span.ch { color: #4070a0; }-code > span.st { color: #4070a0; }-code > span.co { color: #60a0b0; font-style: italic; }-code > span.ot { color: #007020; }-code > span.al { color: #ff0000; font-weight: bold; }-code > span.fu { color: #06287e; }-code > span.er { color: #ff0000; font-weight: bold; }-</style></head><body><div class="sourceCode"><pre class="sourceCode"><code class="sourceCode"><span class="kw" title="KeywordTok">let</span> characters = <span class="st" title="StringTok">&quot;BO XK DQ CP NA GT RE TG QD FS JW HU VI AN OB ER FS LY PC ZM&quot;</span>;-<span class="kw" title="KeywordTok">let</span> blocks = <span class="ot" title="OtherTok">characters</span>.<span class="fu" title="FunctionTok">split</span>(<span class="st" title="StringTok">&quot; &quot;</span>).<span class="fu" title="FunctionTok">map</span>(pair =&gt; <span class="ot" title="OtherTok">pair</span>.<span class="fu" title="FunctionTok">split</span>(<span class="st" title="StringTok">&quot;&quot;</span>));+code > span.kw { color: #007020; font-weight: bold; } /* Keyword */+code > span.dt { color: #902000; } /* DataType */+code > span.dv { color: #40a070; } /* DecVal */+code > span.bn { color: #40a070; } /* BaseN */+code > span.fl { color: #40a070; } /* Float */+code > span.ch { color: #4070a0; } /* Char */+code > span.st { color: #4070a0; } /* String */+code > span.co { color: #60a0b0; font-style: italic; } /* Comment */+code > span.ot { color: #007020; } /* Other */+code > span.al { color: #ff0000; font-weight: bold; } /* Alert */+code > span.fu { color: #06287e; } /* Function */+code > span.er { color: #ff0000; font-weight: bold; } /* Error */+code > span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */+code > span.cn { color: #880000; } /* Constant */+code > span.sc { color: #4070a0; } /* SpecialChar */+code > span.vs { color: #4070a0; } /* VerbatimString */+code > span.ss { color: #bb6688; } /* SpecialString */+code > span.im { } /* Import */+code > span.va { color: #19177c; } /* Variable */+code > span.cf { color: #007020; font-weight: bold; } /* ControlFlow */+code > span.op { color: #666666; } /* Operator */+code > span.bu { } /* BuiltIn */+code > span.ex { } /* Extension */+code > span.pp { color: #bc7a00; } /* Preprocessor */+code > span.at { color: #7d9029; } /* Attribute */+code > span.do { color: #ba2121; font-style: italic; } /* Documentation */+code > span.an { color: #60a0b0; font-weight: bold; font-style: italic; } /* Annotation */+code > span.cv { color: #60a0b0; font-weight: bold; font-style: italic; } /* CommentVar */+code > span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Information */+</style></head><body><div class="sourceCode"><pre class="sourceCode"><code class="sourceCode"><span class="kw" title="KeywordTok">let</span> characters <span class="op" title="OperatorTok">=</span> <span class="st" title="StringTok">&quot;BO XK DQ CP NA GT RE TG QD FS JW HU VI AN OB ER FS LY PC ZM&quot;</span><span class="op" title="OperatorTok">;</span>+<span class="kw" title="KeywordTok">let</span> blocks <span class="op" title="OperatorTok">=</span> <span class="va" title="VariableTok">characters</span>.<span class="at" title="AttributeTok">split</span>(<span class="st" title="StringTok">&quot; &quot;</span>).<span class="at" title="AttributeTok">map</span>(pair <span class="op" title="OperatorTok">=&gt;</span> <span class="va" title="VariableTok">pair</span>.<span class="at" title="AttributeTok">split</span>(<span class="st" title="StringTok">&quot;&quot;</span>))<span class="op" title="OperatorTok">;</span>  -<span class="kw" title="KeywordTok">function</span> <span class="fu" title="FunctionTok">isWordPossible</span>(word) {-  <span class="kw" title="KeywordTok">var</span> letters = [...<span class="ot" title="OtherTok">word</span>.<span class="fu" title="FunctionTok">toUpperCase</span>()];-  <span class="kw" title="KeywordTok">var</span> length = <span class="ot" title="OtherTok">letters</span>.<span class="fu" title="FunctionTok">length</span>;-  <span class="kw" title="KeywordTok">var</span> copy = <span class="kw" title="KeywordTok">new</span> <span class="fu" title="FunctionTok">Set</span>(blocks);+<span class="kw" title="KeywordTok">function</span> <span class="at" title="AttributeTok">isWordPossible</span>(word) <span class="op" title="OperatorTok">{</span>+  <span class="kw" title="KeywordTok">var</span> letters <span class="op" title="OperatorTok">=</span> [...<span class="va" title="VariableTok">word</span>.<span class="at" title="AttributeTok">toUpperCase</span>()]<span class="op" title="OperatorTok">;</span>+  <span class="kw" title="KeywordTok">var</span> length <span class="op" title="OperatorTok">=</span> <span class="va" title="VariableTok">letters</span>.<span class="at" title="AttributeTok">length</span><span class="op" title="OperatorTok">;</span>+  <span class="kw" title="KeywordTok">var</span> copy <span class="op" title="OperatorTok">=</span> <span class="kw" title="KeywordTok">new</span> <span class="at" title="AttributeTok">Set</span>(blocks)<span class="op" title="OperatorTok">;</span> -  <span class="kw" title="KeywordTok">for</span> (<span class="kw" title="KeywordTok">let</span> letter of letters) {-    <span class="kw" title="KeywordTok">for</span> (<span class="kw" title="KeywordTok">let</span> block of copy) {-      <span class="kw" title="KeywordTok">let</span> index = <span class="ot" title="OtherTok">block</span>.<span class="fu" title="FunctionTok">indexOf</span>(letter);+  <span class="cf" title="ControlFlowTok">for</span> (<span class="kw" title="KeywordTok">let</span> letter of letters) <span class="op" title="OperatorTok">{</span>+    <span class="cf" title="ControlFlowTok">for</span> (<span class="kw" title="KeywordTok">let</span> block of copy) <span class="op" title="OperatorTok">{</span>+      <span class="kw" title="KeywordTok">let</span> index <span class="op" title="OperatorTok">=</span> <span class="va" title="VariableTok">block</span>.<span class="at" title="AttributeTok">indexOf</span>(letter)<span class="op" title="OperatorTok">;</span>  -      <span class="kw" title="KeywordTok">if</span> (index !== -<span class="dv" title="DecValTok">1</span>) {-        length--;-        <span class="ot" title="OtherTok">copy</span>.<span class="fu" title="FunctionTok">delete</span>(block);-        <span class="kw" title="KeywordTok">break</span>;  -      }-    }+      <span class="cf" title="ControlFlowTok">if</span> (index <span class="op" title="OperatorTok">!==</span> <span class="op" title="OperatorTok">-</span><span class="dv" title="DecValTok">1</span>) <span class="op" title="OperatorTok">{</span>+        length<span class="op" title="OperatorTok">--;</span>+        <span class="va" title="VariableTok">copy</span>.<span class="at" title="AttributeTok">delete</span>(block)<span class="op" title="OperatorTok">;</span>+        <span class="cf" title="ControlFlowTok">break</span><span class="op" title="OperatorTok">;</span>  +      <span class="op" title="OperatorTok">}</span>+    <span class="op" title="OperatorTok">}</span> -  }-  <span class="kw" title="KeywordTok">return</span> !length;-}    +  <span class="op" title="OperatorTok">}</span>+  <span class="cf" title="ControlFlowTok">return</span> <span class="op" title="OperatorTok">!</span>length<span class="op" title="OperatorTok">;</span>+<span class="op" title="OperatorTok">}</span>       [ -  <span class="st" title="StringTok">&quot;A&quot;</span>, -  <span class="st" title="StringTok">&quot;BARK&quot;</span>, -  <span class="st" title="StringTok">&quot;BOOK&quot;</span>, -  <span class="st" title="StringTok">&quot;TREAT&quot;</span>, -  <span class="st" title="StringTok">&quot;COMMON&quot;</span>, -  <span class="st" title="StringTok">&quot;SQUAD&quot;</span>, +  <span class="st" title="StringTok">&quot;A&quot;</span><span class="op" title="OperatorTok">,</span> +  <span class="st" title="StringTok">&quot;BARK&quot;</span><span class="op" title="OperatorTok">,</span> +  <span class="st" title="StringTok">&quot;BOOK&quot;</span><span class="op" title="OperatorTok">,</span> +  <span class="st" title="StringTok">&quot;TREAT&quot;</span><span class="op" title="OperatorTok">,</span> +  <span class="st" title="StringTok">&quot;COMMON&quot;</span><span class="op" title="OperatorTok">,</span> +  <span class="st" title="StringTok">&quot;SQUAD&quot;</span><span class="op" title="OperatorTok">,</span>    <span class="st" title="StringTok">&quot;CONFUSE&quot;</span> -].<span class="fu" title="FunctionTok">forEach</span>(word =&gt; <span class="ot" title="OtherTok">console</span>.<span class="fu" title="FunctionTok">log</span>(`${word}: ${<span class="fu" title="FunctionTok">isWordPossible</span>(word)}`));+].<span class="at" title="AttributeTok">forEach</span>(word <span class="op" title="OperatorTok">=&gt;</span> <span class="va" title="VariableTok">console</span>.<span class="at" title="AttributeTok">log</span>(<span class="vs" title="VerbatimStringTok">`</span><span class="sc" title="SpecialCharTok">${</span>word<span class="sc" title="SpecialCharTok">}</span><span class="vs" title="VerbatimStringTok">: </span><span class="sc" title="SpecialCharTok">${</span><span class="at" title="AttributeTok">isWordPossible</span>(word)<span class="sc" title="SpecialCharTok">}</span><span class="vs" title="VerbatimStringTok">`</span>))<span class="op" title="OperatorTok">;</span> </code></pre></div></body>
tests/abc.julia.html view
@@ -4,18 +4,35 @@ table.sourceCode { width: 100%; line-height: 100%; } td.lineNumbers { text-align: right; padding-right: 4px; padding-left: 4px; color: #aaaaaa; border-right: 1px solid #aaaaaa; } td.sourceCode { padding-left: 5px; }-code > span.kw { color: #007020; font-weight: bold; }-code > span.dt { color: #902000; }-code > span.dv { color: #40a070; }-code > span.bn { color: #40a070; }-code > span.fl { color: #40a070; }-code > span.ch { color: #4070a0; }-code > span.st { color: #4070a0; }-code > span.co { color: #60a0b0; font-style: italic; }-code > span.ot { color: #007020; }-code > span.al { color: #ff0000; font-weight: bold; }-code > span.fu { color: #06287e; }-code > span.er { color: #ff0000; font-weight: bold; }+code > span.kw { color: #007020; font-weight: bold; } /* Keyword */+code > span.dt { color: #902000; } /* DataType */+code > span.dv { color: #40a070; } /* DecVal */+code > span.bn { color: #40a070; } /* BaseN */+code > span.fl { color: #40a070; } /* Float */+code > span.ch { color: #4070a0; } /* Char */+code > span.st { color: #4070a0; } /* String */+code > span.co { color: #60a0b0; font-style: italic; } /* Comment */+code > span.ot { color: #007020; } /* Other */+code > span.al { color: #ff0000; font-weight: bold; } /* Alert */+code > span.fu { color: #06287e; } /* Function */+code > span.er { color: #ff0000; font-weight: bold; } /* Error */+code > span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */+code > span.cn { color: #880000; } /* Constant */+code > span.sc { color: #4070a0; } /* SpecialChar */+code > span.vs { color: #4070a0; } /* VerbatimString */+code > span.ss { color: #bb6688; } /* SpecialString */+code > span.im { } /* Import */+code > span.va { color: #19177c; } /* Variable */+code > span.cf { color: #007020; font-weight: bold; } /* ControlFlow */+code > span.op { color: #666666; } /* Operator */+code > span.bu { } /* BuiltIn */+code > span.ex { } /* Extension */+code > span.pp { color: #bc7a00; } /* Preprocessor */+code > span.at { color: #7d9029; } /* Attribute */+code > span.do { color: #ba2121; font-style: italic; } /* Documentation */+code > span.an { color: #60a0b0; font-weight: bold; font-style: italic; } /* Annotation */+code > span.cv { color: #60a0b0; font-weight: bold; font-style: italic; } /* CommentVar */+code > span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Information */ </style></head><body><div class="sourceCode"><pre class="sourceCode"><code class="sourceCode"><span class="kw" title="KeywordTok">function</span> abc (str, list)   isempty(str) &amp;&amp; <span class="kw" title="KeywordTok">return</span> true   <span class="kw" title="KeywordTok">for</span> i = <span class="fl" title="FloatTok">1</span>:length(list)
+ tests/abc.kotlin view
@@ -0,0 +1,55 @@+import java.util.Arrays++/*+    Swap elements i and j of a Kotlin Array.+ */+fun <T> Array<T>.swap(i: Int, j: Int) {+    val tmp = this[i]+    this[i] = this[j]+    this[j] = tmp+}++data class Block(val block: String)++/*+ *  Not the most elegant way but interesting from an highlighting perspective ;)+ */+public class ABC() {+    class object {++        public fun canMakeWord(word: String, blocks: Array<Block>): Boolean {+            if (word.length() == 0)+                return true++            val c = Character.toUpperCase(word.charAt(0))+            for (i in 0..blocks.size - 1) {+                val b = blocks[i]+                if (Character.toUpperCase(b.block.charAt(0)) != c && Character.toUpperCase(b.block.charAt(1)) != c)+                    continue+                blocks.swap(0, i)+                if (canMakeWord(word.substring(1), Arrays.copyOfRange(blocks, 1, blocks.size)))+                    return true+                blocks.swap(0, i)+            }++            return false+        }++        public fun main(args: Array<String>) {++            val blocksString = array("BO", "XK", "DQ", "CP", "NA", "GT", "RE", "TG", "QD", "FS", "JW",+                                             "HU", "VI", "AN", "OB", "ER", "FS", "LY", "PC", "ZM");++            val blocks = Array(blocksString.size, { s -> Block(blocksString[s])})++            val words = array("", "A", "BARK", "book", "treat", "COMMON", "SQuAd", "CONFUSE");++            for (word in words) {+                System.out.println("${word}: " + canMakeWord("${word}", blocks))+            }++        }+    }+}++fun main(args: Array<String>) = ABC.main(args)
+ tests/abc.kotlin.html view
@@ -0,0 +1,90 @@+<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><style type="text/css">div.sourceCode { overflow-x: auto; }+table.sourceCode, tr.sourceCode, td.lineNumbers, td.sourceCode {+  margin: 0; padding: 0; vertical-align: baseline; border: none; }+table.sourceCode { width: 100%; line-height: 100%; }+td.lineNumbers { text-align: right; padding-right: 4px; padding-left: 4px; color: #aaaaaa; border-right: 1px solid #aaaaaa; }+td.sourceCode { padding-left: 5px; }+code > span.kw { color: #007020; font-weight: bold; } /* Keyword */+code > span.dt { color: #902000; } /* DataType */+code > span.dv { color: #40a070; } /* DecVal */+code > span.bn { color: #40a070; } /* BaseN */+code > span.fl { color: #40a070; } /* Float */+code > span.ch { color: #4070a0; } /* Char */+code > span.st { color: #4070a0; } /* String */+code > span.co { color: #60a0b0; font-style: italic; } /* Comment */+code > span.ot { color: #007020; } /* Other */+code > span.al { color: #ff0000; font-weight: bold; } /* Alert */+code > span.fu { color: #06287e; } /* Function */+code > span.er { color: #ff0000; font-weight: bold; } /* Error */+code > span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */+code > span.cn { color: #880000; } /* Constant */+code > span.sc { color: #4070a0; } /* SpecialChar */+code > span.vs { color: #4070a0; } /* VerbatimString */+code > span.ss { color: #bb6688; } /* SpecialString */+code > span.im { } /* Import */+code > span.va { color: #19177c; } /* Variable */+code > span.cf { color: #007020; font-weight: bold; } /* ControlFlow */+code > span.op { color: #666666; } /* Operator */+code > span.bu { } /* BuiltIn */+code > span.ex { } /* Extension */+code > span.pp { color: #bc7a00; } /* Preprocessor */+code > span.at { color: #7d9029; } /* Attribute */+code > span.do { color: #ba2121; font-style: italic; } /* Documentation */+code > span.an { color: #60a0b0; font-weight: bold; font-style: italic; } /* Annotation */+code > span.cv { color: #60a0b0; font-weight: bold; font-style: italic; } /* CommentVar */+code > span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Information */+</style></head><body><div class="sourceCode"><pre class="sourceCode"><code class="sourceCode"><span class="kw" title="KeywordTok">import</span> <span class="im" title="ImportTok">java.util.Arrays</span>++<span class="co" title="CommentTok">/*</span>+<span class="co" title="CommentTok">    Swap elements i and j of a Kotlin Array.</span>+<span class="co" title="CommentTok"> */</span>+<span class="kw" title="KeywordTok">fun</span> &lt;<span class="dt" title="DataTypeTok">T</span>&gt; <span class="fu" title="FunctionTok">Array</span>&lt;<span class="dt" title="DataTypeTok">T</span>&gt;.<span class="fu" title="FunctionTok">swap</span>(<span class="va" title="VariableTok">i</span>: <span class="dt" title="DataTypeTok">Int</span>, <span class="va" title="VariableTok">j</span>: <span class="dt" title="DataTypeTok">Int</span>) {+    <span class="kw" title="KeywordTok">val</span> <span class="va" title="VariableTok">tmp</span> = <span class="kw" title="KeywordTok">this</span>[i]+    <span class="kw" title="KeywordTok">this</span>[i] = <span class="kw" title="KeywordTok">this</span>[j]+    <span class="kw" title="KeywordTok">this</span>[j] = tmp+}++<span class="kw" title="KeywordTok">data</span> <span class="kw" title="KeywordTok">class</span> Block(<span class="kw" title="KeywordTok">val</span> <span class="va" title="VariableTok">block</span>: <span class="dt" title="DataTypeTok">String</span>)++/*+ *  Not the most elegant way but interesting from an highlighting perspective ;)+ */+<span class="kw" title="KeywordTok">public</span> <span class="kw" title="KeywordTok">class</span> ABC() {+    <span class="kw" title="KeywordTok">class</span> <span class="kw" title="KeywordTok">object</span> {++        <span class="kw" title="KeywordTok">public</span> <span class="kw" title="KeywordTok">fun</span> <span class="fu" title="FunctionTok">canMakeWord</span>(<span class="va" title="VariableTok">word</span>: <span class="dt" title="DataTypeTok">String</span>, <span class="va" title="VariableTok">blocks</span>: <span class="dt" title="DataTypeTok">Array</span>&lt;<span class="va" title="VariableTok">Block</span>&gt;): <span class="dt" title="DataTypeTok">Boolean</span> {+            <span class="cf" title="ControlFlowTok">if</span> (word.length() == <span class="dv" title="DecValTok">0</span>)+                <span class="kw" title="KeywordTok">return</span> <span class="kw" title="KeywordTok">true</span>++            <span class="kw" title="KeywordTok">val</span> <span class="va" title="VariableTok">c</span> = Character.toUpperCase(word.charAt(<span class="dv" title="DecValTok">0</span>))+            <span class="cf" title="ControlFlowTok">for</span> (i <span class="kw" title="KeywordTok">in</span> <span class="dv" title="DecValTok">0</span>..blocks.size - <span class="dv" title="DecValTok">1</span>) {+                <span class="kw" title="KeywordTok">val</span> <span class="va" title="VariableTok">b</span> = blocks[i]+                <span class="cf" title="ControlFlowTok">if</span> (Character.toUpperCase(b.block.charAt(<span class="dv" title="DecValTok">0</span>)) != c &amp;&amp; Character.toUpperCase(b.block.charAt(<span class="dv" title="DecValTok">1</span>)) != c)+                    <span class="cf" title="ControlFlowTok">continue</span>+                blocks.swap(<span class="dv" title="DecValTok">0</span>, i)+                <span class="cf" title="ControlFlowTok">if</span> (canMakeWord(word.substring(<span class="dv" title="DecValTok">1</span>), Arrays.copyOfRange(blocks, <span class="dv" title="DecValTok">1</span>, blocks.size)))+                    <span class="kw" title="KeywordTok">return</span> <span class="kw" title="KeywordTok">true</span>+                blocks.swap(<span class="dv" title="DecValTok">0</span>, i)+            }++            <span class="kw" title="KeywordTok">return</span> <span class="kw" title="KeywordTok">false</span>+        }++        <span class="kw" title="KeywordTok">public</span> <span class="kw" title="KeywordTok">fun</span> <span class="fu" title="FunctionTok">main</span>(<span class="va" title="VariableTok">args</span>: <span class="dt" title="DataTypeTok">Array</span>&lt;<span class="va" title="VariableTok">String</span>&gt;) {++            <span class="kw" title="KeywordTok">val</span> <span class="va" title="VariableTok">blocksString</span> = array(<span class="st" title="StringTok">&quot;BO&quot;</span>, <span class="st" title="StringTok">&quot;XK&quot;</span>, <span class="st" title="StringTok">&quot;DQ&quot;</span>, <span class="st" title="StringTok">&quot;CP&quot;</span>, <span class="st" title="StringTok">&quot;NA&quot;</span>, <span class="st" title="StringTok">&quot;GT&quot;</span>, <span class="st" title="StringTok">&quot;RE&quot;</span>, <span class="st" title="StringTok">&quot;TG&quot;</span>, <span class="st" title="StringTok">&quot;QD&quot;</span>, <span class="st" title="StringTok">&quot;FS&quot;</span>, <span class="st" title="StringTok">&quot;JW&quot;</span>,+                                             <span class="st" title="StringTok">&quot;HU&quot;</span>, <span class="st" title="StringTok">&quot;VI&quot;</span>, <span class="st" title="StringTok">&quot;AN&quot;</span>, <span class="st" title="StringTok">&quot;OB&quot;</span>, <span class="st" title="StringTok">&quot;ER&quot;</span>, <span class="st" title="StringTok">&quot;FS&quot;</span>, <span class="st" title="StringTok">&quot;LY&quot;</span>, <span class="st" title="StringTok">&quot;PC&quot;</span>, <span class="st" title="StringTok">&quot;ZM&quot;</span>);++            <span class="kw" title="KeywordTok">val</span> <span class="va" title="VariableTok">blocks</span> = Array(blocksString.size, { s -&gt; Block(blocksString[s])})++            <span class="kw" title="KeywordTok">val</span> <span class="va" title="VariableTok">words</span> = array(<span class="st" title="StringTok">&quot;&quot;</span>, <span class="st" title="StringTok">&quot;A&quot;</span>, <span class="st" title="StringTok">&quot;BARK&quot;</span>, <span class="st" title="StringTok">&quot;book&quot;</span>, <span class="st" title="StringTok">&quot;treat&quot;</span>, <span class="st" title="StringTok">&quot;COMMON&quot;</span>, <span class="st" title="StringTok">&quot;SQuAd&quot;</span>, <span class="st" title="StringTok">&quot;CONFUSE&quot;</span>);++            <span class="cf" title="ControlFlowTok">for</span> (word <span class="kw" title="KeywordTok">in</span> words) {+                System.<span class="kw" title="KeywordTok">out</span>.println(<span class="st" title="StringTok">&quot;${word}: &quot;</span> + canMakeWord(<span class="st" title="StringTok">&quot;${word}&quot;</span>, blocks))+            }++        }+    }+}++<span class="kw" title="KeywordTok">fun</span> <span class="fu" title="FunctionTok">main</span>(<span class="va" title="VariableTok">args</span>: <span class="dt" title="DataTypeTok">Array</span>&lt;<span class="va" title="VariableTok">String</span>&gt;) = ABC.main(args)</code></pre></div></body>
tests/abc.matlab.html view
@@ -4,18 +4,35 @@ table.sourceCode { width: 100%; line-height: 100%; } td.lineNumbers { text-align: right; padding-right: 4px; padding-left: 4px; color: #aaaaaa; border-right: 1px solid #aaaaaa; } td.sourceCode { padding-left: 5px; }-code > span.kw { color: #007020; font-weight: bold; }-code > span.dt { color: #902000; }-code > span.dv { color: #40a070; }-code > span.bn { color: #40a070; }-code > span.fl { color: #40a070; }-code > span.ch { color: #4070a0; }-code > span.st { color: #4070a0; }-code > span.co { color: #60a0b0; font-style: italic; }-code > span.ot { color: #007020; }-code > span.al { color: #ff0000; font-weight: bold; }-code > span.fu { color: #06287e; }-code > span.er { color: #ff0000; font-weight: bold; }+code > span.kw { color: #007020; font-weight: bold; } /* Keyword */+code > span.dt { color: #902000; } /* DataType */+code > span.dv { color: #40a070; } /* DecVal */+code > span.bn { color: #40a070; } /* BaseN */+code > span.fl { color: #40a070; } /* Float */+code > span.ch { color: #4070a0; } /* Char */+code > span.st { color: #4070a0; } /* String */+code > span.co { color: #60a0b0; font-style: italic; } /* Comment */+code > span.ot { color: #007020; } /* Other */+code > span.al { color: #ff0000; font-weight: bold; } /* Alert */+code > span.fu { color: #06287e; } /* Function */+code > span.er { color: #ff0000; font-weight: bold; } /* Error */+code > span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */+code > span.cn { color: #880000; } /* Constant */+code > span.sc { color: #4070a0; } /* SpecialChar */+code > span.vs { color: #4070a0; } /* VerbatimString */+code > span.ss { color: #bb6688; } /* SpecialString */+code > span.im { } /* Import */+code > span.va { color: #19177c; } /* Variable */+code > span.cf { color: #007020; font-weight: bold; } /* ControlFlow */+code > span.op { color: #666666; } /* Operator */+code > span.bu { } /* BuiltIn */+code > span.ex { } /* Extension */+code > span.pp { color: #bc7a00; } /* Preprocessor */+code > span.at { color: #7d9029; } /* Attribute */+code > span.do { color: #ba2121; font-style: italic; } /* Documentation */+code > span.an { color: #60a0b0; font-weight: bold; font-style: italic; } /* Annotation */+code > span.cv { color: #60a0b0; font-weight: bold; font-style: italic; } /* CommentVar */+code > span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Information */ </style></head><body><div class="sourceCode"><pre class="sourceCode"><code class="sourceCode">function testABC     combos = [<span class="st" title="StringTok">&#39;BO&#39;</span> ; <span class="st" title="StringTok">&#39;XK&#39;</span> ; <span class="st" title="StringTok">&#39;DQ&#39;</span> ; <span class="st" title="StringTok">&#39;CP&#39;</span> ; <span class="st" title="StringTok">&#39;NA&#39;</span> ; <span class="st" title="StringTok">&#39;GT&#39;</span> ; <span class="st" title="StringTok">&#39;RE&#39;</span> ; <span class="st" title="StringTok">&#39;TG&#39;</span> ; <span class="st" title="StringTok">&#39;QD&#39;</span> ; ...         <span class="st" title="StringTok">&#39;FS&#39;</span> ; <span class="st" title="StringTok">&#39;JW&#39;</span> ; <span class="st" title="StringTok">&#39;HU&#39;</span> ; <span class="st" title="StringTok">&#39;VI&#39;</span> ; <span class="st" title="StringTok">&#39;AN&#39;</span> ; <span class="st" title="StringTok">&#39;OB&#39;</span> ; <span class="st" title="StringTok">&#39;ER&#39;</span> ; <span class="st" title="StringTok">&#39;FS&#39;</span> ; <span class="st" title="StringTok">&#39;LY&#39;</span> ; ...
tests/abc.ocaml.html view
@@ -4,18 +4,35 @@ table.sourceCode { width: 100%; line-height: 100%; } td.lineNumbers { text-align: right; padding-right: 4px; padding-left: 4px; color: #aaaaaa; border-right: 1px solid #aaaaaa; } td.sourceCode { padding-left: 5px; }-code > span.kw { color: #007020; font-weight: bold; }-code > span.dt { color: #902000; }-code > span.dv { color: #40a070; }-code > span.bn { color: #40a070; }-code > span.fl { color: #40a070; }-code > span.ch { color: #4070a0; }-code > span.st { color: #4070a0; }-code > span.co { color: #60a0b0; font-style: italic; }-code > span.ot { color: #007020; }-code > span.al { color: #ff0000; font-weight: bold; }-code > span.fu { color: #06287e; }-code > span.er { color: #ff0000; font-weight: bold; }+code > span.kw { color: #007020; font-weight: bold; } /* Keyword */+code > span.dt { color: #902000; } /* DataType */+code > span.dv { color: #40a070; } /* DecVal */+code > span.bn { color: #40a070; } /* BaseN */+code > span.fl { color: #40a070; } /* Float */+code > span.ch { color: #4070a0; } /* Char */+code > span.st { color: #4070a0; } /* String */+code > span.co { color: #60a0b0; font-style: italic; } /* Comment */+code > span.ot { color: #007020; } /* Other */+code > span.al { color: #ff0000; font-weight: bold; } /* Alert */+code > span.fu { color: #06287e; } /* Function */+code > span.er { color: #ff0000; font-weight: bold; } /* Error */+code > span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */+code > span.cn { color: #880000; } /* Constant */+code > span.sc { color: #4070a0; } /* SpecialChar */+code > span.vs { color: #4070a0; } /* VerbatimString */+code > span.ss { color: #bb6688; } /* SpecialString */+code > span.im { } /* Import */+code > span.va { color: #19177c; } /* Variable */+code > span.cf { color: #007020; font-weight: bold; } /* ControlFlow */+code > span.op { color: #666666; } /* Operator */+code > span.bu { } /* BuiltIn */+code > span.ex { } /* Extension */+code > span.pp { color: #bc7a00; } /* Preprocessor */+code > span.at { color: #7d9029; } /* Attribute */+code > span.do { color: #ba2121; font-style: italic; } /* Documentation */+code > span.an { color: #60a0b0; font-weight: bold; font-style: italic; } /* Annotation */+code > span.cv { color: #60a0b0; font-weight: bold; font-style: italic; } /* CommentVar */+code > span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Information */ </style></head><body><div class="sourceCode"><pre class="sourceCode"><code class="sourceCode"><span class="kw" title="KeywordTok">let</span> blocks = [   (<span class="ch" title="CharTok">&#39;B&#39;</span>, <span class="ch" title="CharTok">&#39;O&#39;</span>);  (<span class="ch" title="CharTok">&#39;X&#39;</span>, <span class="ch" title="CharTok">&#39;K&#39;</span>);  (<span class="ch" title="CharTok">&#39;D&#39;</span>, <span class="ch" title="CharTok">&#39;Q&#39;</span>);  (<span class="ch" title="CharTok">&#39;C&#39;</span>, <span class="ch" title="CharTok">&#39;P&#39;</span>);   (<span class="ch" title="CharTok">&#39;N&#39;</span>, <span class="ch" title="CharTok">&#39;A&#39;</span>);  (<span class="ch" title="CharTok">&#39;G&#39;</span>, <span class="ch" title="CharTok">&#39;T&#39;</span>);  (<span class="ch" title="CharTok">&#39;R&#39;</span>, <span class="ch" title="CharTok">&#39;E&#39;</span>);  (<span class="ch" title="CharTok">&#39;T&#39;</span>, <span class="ch" title="CharTok">&#39;G&#39;</span>);@@ -26,28 +43,28 @@  <span class="kw" title="KeywordTok">let</span> find_letter blocks c =   <span class="kw" title="KeywordTok">let</span> found, remaining =-    List<span class="kw" title="KeywordTok">.</span>partition (<span class="kw" title="KeywordTok">fun</span> (c1, c2) -&gt; c1 = c || c2 = c) blocks+    <span class="dt" title="DataTypeTok">List</span>.partition (<span class="kw" title="KeywordTok">fun</span> (c1, c2) -&gt; c1 = c || c2 = c) blocks   <span class="kw" title="KeywordTok">in</span>   <span class="kw" title="KeywordTok">match</span> found <span class="kw" title="KeywordTok">with</span>   | _ :: res -&gt; <span class="dt" title="DataTypeTok">Some</span> (res @ remaining)   | _ -&gt; <span class="dt" title="DataTypeTok">None</span>  <span class="kw" title="KeywordTok">let</span> can_make_word w =-  <span class="kw" title="KeywordTok">let</span> n = String<span class="kw" title="KeywordTok">.</span>length w <span class="kw" title="KeywordTok">in</span>+  <span class="kw" title="KeywordTok">let</span> n = <span class="dt" title="DataTypeTok">String</span>.length w <span class="kw" title="KeywordTok">in</span>   <span class="kw" title="KeywordTok">let</span> <span class="kw" title="KeywordTok">rec</span> aux i _blocks =     <span class="kw" title="KeywordTok">if</span> i &gt;= n <span class="kw" title="KeywordTok">then</span> <span class="kw" title="KeywordTok">true</span> <span class="kw" title="KeywordTok">else</span>       <span class="kw" title="KeywordTok">match</span> find_letter _blocks w.[i] <span class="kw" title="KeywordTok">with</span>       | <span class="dt" title="DataTypeTok">None</span> -&gt; <span class="kw" title="KeywordTok">false</span>       | <span class="dt" title="DataTypeTok">Some</span> rem_blocks -&gt;-          aux (succ i) rem_blocks+          aux (<span class="dt" title="DataTypeTok">succ</span> i) rem_blocks   <span class="kw" title="KeywordTok">in</span>   aux <span class="dv" title="DecValTok">0</span> blocks  <span class="kw" title="KeywordTok">let</span> test label f (word, should) =-  Printf<span class="kw" title="KeywordTok">.</span>printf <span class="st" title="StringTok">&quot;- %s %S = %B  (should: %B)</span><span class="ch" title="CharTok">\n</span><span class="st" title="StringTok">&quot;</span> label word (f word) should+  <span class="dt" title="DataTypeTok">Printf</span>.printf <span class="st" title="StringTok">&quot;- %s %S = %B  (should: %B)</span><span class="ch" title="CharTok">\n</span><span class="st" title="StringTok">&quot;</span> label word (f word) should  <span class="kw" title="KeywordTok">let</span> () =-  List<span class="kw" title="KeywordTok">.</span>iter (test <span class="st" title="StringTok">&quot;can make word&quot;</span> can_make_word) [+  <span class="dt" title="DataTypeTok">List</span>.iter (test <span class="st" title="StringTok">&quot;can make word&quot;</span> can_make_word) [     <span class="st" title="StringTok">&quot;A&quot;</span>, <span class="kw" title="KeywordTok">true</span>;     <span class="st" title="StringTok">&quot;BARK&quot;</span>, <span class="kw" title="KeywordTok">true</span>;     <span class="st" title="StringTok">&quot;BOOK&quot;</span>, <span class="kw" title="KeywordTok">false</span>;
tests/abc.perl.html view
@@ -4,18 +4,35 @@ table.sourceCode { width: 100%; line-height: 100%; } td.lineNumbers { text-align: right; padding-right: 4px; padding-left: 4px; color: #aaaaaa; border-right: 1px solid #aaaaaa; } td.sourceCode { padding-left: 5px; }-code > span.kw { color: #007020; font-weight: bold; }-code > span.dt { color: #902000; }-code > span.dv { color: #40a070; }-code > span.bn { color: #40a070; }-code > span.fl { color: #40a070; }-code > span.ch { color: #4070a0; }-code > span.st { color: #4070a0; }-code > span.co { color: #60a0b0; font-style: italic; }-code > span.ot { color: #007020; }-code > span.al { color: #ff0000; font-weight: bold; }-code > span.fu { color: #06287e; }-code > span.er { color: #ff0000; font-weight: bold; }+code > span.kw { color: #007020; font-weight: bold; } /* Keyword */+code > span.dt { color: #902000; } /* DataType */+code > span.dv { color: #40a070; } /* DecVal */+code > span.bn { color: #40a070; } /* BaseN */+code > span.fl { color: #40a070; } /* Float */+code > span.ch { color: #4070a0; } /* Char */+code > span.st { color: #4070a0; } /* String */+code > span.co { color: #60a0b0; font-style: italic; } /* Comment */+code > span.ot { color: #007020; } /* Other */+code > span.al { color: #ff0000; font-weight: bold; } /* Alert */+code > span.fu { color: #06287e; } /* Function */+code > span.er { color: #ff0000; font-weight: bold; } /* Error */+code > span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */+code > span.cn { color: #880000; } /* Constant */+code > span.sc { color: #4070a0; } /* SpecialChar */+code > span.vs { color: #4070a0; } /* VerbatimString */+code > span.ss { color: #bb6688; } /* SpecialString */+code > span.im { } /* Import */+code > span.va { color: #19177c; } /* Variable */+code > span.cf { color: #007020; font-weight: bold; } /* ControlFlow */+code > span.op { color: #666666; } /* Operator */+code > span.bu { } /* BuiltIn */+code > span.ex { } /* Extension */+code > span.pp { color: #bc7a00; } /* Preprocessor */+code > span.at { color: #7d9029; } /* Attribute */+code > span.do { color: #ba2121; font-style: italic; } /* Documentation */+code > span.an { color: #60a0b0; font-weight: bold; font-style: italic; } /* Annotation */+code > span.cv { color: #60a0b0; font-weight: bold; font-style: italic; } /* CommentVar */+code > span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Information */ </style></head><body><div class="sourceCode"><pre class="sourceCode"><code class="sourceCode"><span class="fu" title="FunctionTok">use</span> <span class="fu" title="FunctionTok">Test::More</span> tests =&gt; <span class="dv" title="DecValTok">8</span>;  <span class="kw" title="KeywordTok">my</span> <span class="dt" title="DataTypeTok">@blocks1</span> = <span class="kw" title="KeywordTok">qw(</span>BO XK DQ CP NA GT RE TG QD FS JW HU VI AN OB ER FS LY PC ZM<span class="kw" title="KeywordTok">)</span>;
tests/abc.php.html view
@@ -4,18 +4,35 @@ table.sourceCode { width: 100%; line-height: 100%; } td.lineNumbers { text-align: right; padding-right: 4px; padding-left: 4px; color: #aaaaaa; border-right: 1px solid #aaaaaa; } td.sourceCode { padding-left: 5px; }-code > span.kw { color: #007020; font-weight: bold; }-code > span.dt { color: #902000; }-code > span.dv { color: #40a070; }-code > span.bn { color: #40a070; }-code > span.fl { color: #40a070; }-code > span.ch { color: #4070a0; }-code > span.st { color: #4070a0; }-code > span.co { color: #60a0b0; font-style: italic; }-code > span.ot { color: #007020; }-code > span.al { color: #ff0000; font-weight: bold; }-code > span.fu { color: #06287e; }-code > span.er { color: #ff0000; font-weight: bold; }+code > span.kw { color: #007020; font-weight: bold; } /* Keyword */+code > span.dt { color: #902000; } /* DataType */+code > span.dv { color: #40a070; } /* DecVal */+code > span.bn { color: #40a070; } /* BaseN */+code > span.fl { color: #40a070; } /* Float */+code > span.ch { color: #4070a0; } /* Char */+code > span.st { color: #4070a0; } /* String */+code > span.co { color: #60a0b0; font-style: italic; } /* Comment */+code > span.ot { color: #007020; } /* Other */+code > span.al { color: #ff0000; font-weight: bold; } /* Alert */+code > span.fu { color: #06287e; } /* Function */+code > span.er { color: #ff0000; font-weight: bold; } /* Error */+code > span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */+code > span.cn { color: #880000; } /* Constant */+code > span.sc { color: #4070a0; } /* SpecialChar */+code > span.vs { color: #4070a0; } /* VerbatimString */+code > span.ss { color: #bb6688; } /* SpecialString */+code > span.im { } /* Import */+code > span.va { color: #19177c; } /* Variable */+code > span.cf { color: #007020; font-weight: bold; } /* ControlFlow */+code > span.op { color: #666666; } /* Operator */+code > span.bu { } /* BuiltIn */+code > span.ex { } /* Extension */+code > span.pp { color: #bc7a00; } /* Preprocessor */+code > span.at { color: #7d9029; } /* Attribute */+code > span.do { color: #ba2121; font-style: italic; } /* Documentation */+code > span.an { color: #60a0b0; font-weight: bold; font-style: italic; } /* Annotation */+code > span.cv { color: #60a0b0; font-weight: bold; font-style: italic; } /* CommentVar */+code > span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Information */ </style></head><body><div class="sourceCode"><pre class="sourceCode"><code class="sourceCode"> <span class="kw" title="KeywordTok">&lt;?php</span> <span class="kw" title="KeywordTok">$words</span> = <span class="fu" title="FunctionTok">array</span><span class="ot" title="OtherTok">(</span><span class="st" title="StringTok">&quot;A&quot;</span><span class="ot" title="OtherTok">,</span> <span class="st" title="StringTok">&quot;BARK&quot;</span><span class="ot" title="OtherTok">,</span> <span class="st" title="StringTok">&quot;BOOK&quot;</span><span class="ot" title="OtherTok">,</span> <span class="st" title="StringTok">&quot;TREAT&quot;</span><span class="ot" title="OtherTok">,</span> <span class="st" title="StringTok">&quot;COMMON&quot;</span><span class="ot" title="OtherTok">,</span> <span class="st" title="StringTok">&quot;SQUAD&quot;</span><span class="ot" title="OtherTok">,</span> <span class="st" title="StringTok">&quot;Confuse&quot;</span><span class="ot" title="OtherTok">);</span>
tests/abc.prolog.html view
@@ -4,18 +4,35 @@ table.sourceCode { width: 100%; line-height: 100%; } td.lineNumbers { text-align: right; padding-right: 4px; padding-left: 4px; color: #aaaaaa; border-right: 1px solid #aaaaaa; } td.sourceCode { padding-left: 5px; }-code > span.kw { color: #007020; font-weight: bold; }-code > span.dt { color: #902000; }-code > span.dv { color: #40a070; }-code > span.bn { color: #40a070; }-code > span.fl { color: #40a070; }-code > span.ch { color: #4070a0; }-code > span.st { color: #4070a0; }-code > span.co { color: #60a0b0; font-style: italic; }-code > span.ot { color: #007020; }-code > span.al { color: #ff0000; font-weight: bold; }-code > span.fu { color: #06287e; }-code > span.er { color: #ff0000; font-weight: bold; }+code > span.kw { color: #007020; font-weight: bold; } /* Keyword */+code > span.dt { color: #902000; } /* DataType */+code > span.dv { color: #40a070; } /* DecVal */+code > span.bn { color: #40a070; } /* BaseN */+code > span.fl { color: #40a070; } /* Float */+code > span.ch { color: #4070a0; } /* Char */+code > span.st { color: #4070a0; } /* String */+code > span.co { color: #60a0b0; font-style: italic; } /* Comment */+code > span.ot { color: #007020; } /* Other */+code > span.al { color: #ff0000; font-weight: bold; } /* Alert */+code > span.fu { color: #06287e; } /* Function */+code > span.er { color: #ff0000; font-weight: bold; } /* Error */+code > span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */+code > span.cn { color: #880000; } /* Constant */+code > span.sc { color: #4070a0; } /* SpecialChar */+code > span.vs { color: #4070a0; } /* VerbatimString */+code > span.ss { color: #bb6688; } /* SpecialString */+code > span.im { } /* Import */+code > span.va { color: #19177c; } /* Variable */+code > span.cf { color: #007020; font-weight: bold; } /* ControlFlow */+code > span.op { color: #666666; } /* Operator */+code > span.bu { } /* BuiltIn */+code > span.ex { } /* Extension */+code > span.pp { color: #bc7a00; } /* Preprocessor */+code > span.at { color: #7d9029; } /* Attribute */+code > span.do { color: #ba2121; font-style: italic; } /* Documentation */+code > span.an { color: #60a0b0; font-weight: bold; font-style: italic; } /* Annotation */+code > span.cv { color: #60a0b0; font-weight: bold; font-style: italic; } /* CommentVar */+code > span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Information */ </style></head><body><div class="sourceCode"><pre class="sourceCode"><code class="sourceCode">abc_problem <span class="kw" title="KeywordTok">:-</span>         maplist(abc_problem<span class="kw" title="KeywordTok">,</span> [&#39;&#39;, &#39;<span class="er" title="ErrorTok">A</span>&#39;, bark, bOOk, treAT, &#39;<span class="er" title="ErrorTok">COmmon</span>&#39;, sQuaD, &#39;<span class="er" title="ErrorTok">CONFUSE</span>&#39;])<span class="kw" title="KeywordTok">.</span> 
tests/abc.python.html view
@@ -4,31 +4,48 @@ table.sourceCode { width: 100%; line-height: 100%; } td.lineNumbers { text-align: right; padding-right: 4px; padding-left: 4px; color: #aaaaaa; border-right: 1px solid #aaaaaa; } td.sourceCode { padding-left: 5px; }-code > span.kw { color: #007020; font-weight: bold; }-code > span.dt { color: #902000; }-code > span.dv { color: #40a070; }-code > span.bn { color: #40a070; }-code > span.fl { color: #40a070; }-code > span.ch { color: #4070a0; }-code > span.st { color: #4070a0; }-code > span.co { color: #60a0b0; font-style: italic; }-code > span.ot { color: #007020; }-code > span.al { color: #ff0000; font-weight: bold; }-code > span.fu { color: #06287e; }-code > span.er { color: #ff0000; font-weight: bold; }+code > span.kw { color: #007020; font-weight: bold; } /* Keyword */+code > span.dt { color: #902000; } /* DataType */+code > span.dv { color: #40a070; } /* DecVal */+code > span.bn { color: #40a070; } /* BaseN */+code > span.fl { color: #40a070; } /* Float */+code > span.ch { color: #4070a0; } /* Char */+code > span.st { color: #4070a0; } /* String */+code > span.co { color: #60a0b0; font-style: italic; } /* Comment */+code > span.ot { color: #007020; } /* Other */+code > span.al { color: #ff0000; font-weight: bold; } /* Alert */+code > span.fu { color: #06287e; } /* Function */+code > span.er { color: #ff0000; font-weight: bold; } /* Error */+code > span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */+code > span.cn { color: #880000; } /* Constant */+code > span.sc { color: #4070a0; } /* SpecialChar */+code > span.vs { color: #4070a0; } /* VerbatimString */+code > span.ss { color: #bb6688; } /* SpecialString */+code > span.im { } /* Import */+code > span.va { color: #19177c; } /* Variable */+code > span.cf { color: #007020; font-weight: bold; } /* ControlFlow */+code > span.op { color: #666666; } /* Operator */+code > span.bu { } /* BuiltIn */+code > span.ex { } /* Extension */+code > span.pp { color: #bc7a00; } /* Preprocessor */+code > span.at { color: #7d9029; } /* Attribute */+code > span.do { color: #ba2121; font-style: italic; } /* Documentation */+code > span.an { color: #60a0b0; font-weight: bold; font-style: italic; } /* Annotation */+code > span.cv { color: #60a0b0; font-weight: bold; font-style: italic; } /* CommentVar */+code > span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Information */ </style></head><body><div class="sourceCode"><pre class="sourceCode"><code class="sourceCode"><span class="kw" title="KeywordTok">def</span> mkword(w, b):-    <span class="kw" title="KeywordTok">if</span> not w: <span class="kw" title="KeywordTok">return</span> []+    <span class="cf" title="ControlFlowTok">if</span> <span class="kw" title="KeywordTok">not</span> w: <span class="cf" title="ControlFlowTok">return</span> [] -    c,w = w[<span class="dv" title="DecValTok">0</span>],w[<span class="dv" title="DecValTok">1</span>:]-    <span class="kw" title="KeywordTok">for</span> i in <span class="dt" title="DataTypeTok">range</span>(<span class="dt" title="DataTypeTok">len</span>(b)):-        <span class="kw" title="KeywordTok">if</span> c in b[i]:-            m = mkword(w, b[<span class="dv" title="DecValTok">0</span>:i] + b[i<span class="dv" title="DecValTok">+1</span>:])-            <span class="kw" title="KeywordTok">if</span> m != <span class="ot" title="OtherTok">None</span>: <span class="kw" title="KeywordTok">return</span> [b[i]] + m+    c,w <span class="op" title="OperatorTok">=</span> w[<span class="dv" title="DecValTok">0</span>],w[<span class="dv" title="DecValTok">1</span>:]+    <span class="cf" title="ControlFlowTok">for</span> i <span class="kw" title="KeywordTok">in</span> <span class="bu" title="BuiltInTok">range</span>(<span class="bu" title="BuiltInTok">len</span>(b)):+        <span class="cf" title="ControlFlowTok">if</span> c <span class="kw" title="KeywordTok">in</span> b[i]:+            m <span class="op" title="OperatorTok">=</span> mkword(w, b[<span class="dv" title="DecValTok">0</span>:i] <span class="op" title="OperatorTok">+</span> b[i<span class="dv" title="DecValTok">+1</span>:])+            <span class="cf" title="ControlFlowTok">if</span> m <span class="op" title="OperatorTok">!=</span> <span class="va" title="VariableTok">None</span>: <span class="cf" title="ControlFlowTok">return</span> [b[i]] <span class="op" title="OperatorTok">+</span> m  <span class="kw" title="KeywordTok">def</span> abc(w, blk):-    <span class="kw" title="KeywordTok">return</span> mkword(w.upper(), [a.upper() <span class="kw" title="KeywordTok">for</span> a in blk])+    <span class="cf" title="ControlFlowTok">return</span> mkword(w.upper(), [a.upper() <span class="cf" title="ControlFlowTok">for</span> a <span class="kw" title="KeywordTok">in</span> blk]) -blocks = <span class="st" title="StringTok">&#39;BO XK DQ CP NA GT RE TG QD FS JW HU VI AN OB ER FS LY PC ZM&#39;</span>.split()+blocks <span class="op" title="OperatorTok">=</span> <span class="st" title="StringTok">&#39;BO XK DQ CP NA GT RE TG QD FS JW HU VI AN OB ER FS LY PC ZM&#39;</span>.split() -<span class="kw" title="KeywordTok">for</span> w in <span class="st" title="StringTok">&quot;, A, bark, book, treat, common, SQUAD, conFUsEd&quot;</span>.split(<span class="st" title="StringTok">&#39;, &#39;</span>):-    <span class="dt" title="DataTypeTok">print</span> <span class="st" title="StringTok">&#39;</span><span class="ch" title="CharTok">\&#39;</span><span class="st" title="StringTok">&#39;</span> + w + <span class="st" title="StringTok">&#39;</span><span class="ch" title="CharTok">\&#39;</span><span class="st" title="StringTok">&#39;</span> + <span class="st" title="StringTok">&#39; -&gt;&#39;</span>, abc(w, blocks)</code></pre></div></body>+<span class="cf" title="ControlFlowTok">for</span> w <span class="kw" title="KeywordTok">in</span> <span class="st" title="StringTok">&quot;, A, bark, book, treat, common, SQUAD, conFUsEd&quot;</span>.split(<span class="st" title="StringTok">&#39;, &#39;</span>):+    <span class="bu" title="BuiltInTok">print</span> <span class="st" title="StringTok">&#39;</span><span class="ch" title="CharTok">\&#39;</span><span class="st" title="StringTok">&#39;</span> <span class="op" title="OperatorTok">+</span> w <span class="op" title="OperatorTok">+</span> <span class="st" title="StringTok">&#39;</span><span class="ch" title="CharTok">\&#39;</span><span class="st" title="StringTok">&#39;</span> <span class="op" title="OperatorTok">+</span> <span class="st" title="StringTok">&#39; -&gt;&#39;</span>, abc(w, blocks)</code></pre></div></body>
tests/abc.r.html view
@@ -4,18 +4,35 @@ table.sourceCode { width: 100%; line-height: 100%; } td.lineNumbers { text-align: right; padding-right: 4px; padding-left: 4px; color: #aaaaaa; border-right: 1px solid #aaaaaa; } td.sourceCode { padding-left: 5px; }-code > span.kw { color: #007020; font-weight: bold; }-code > span.dt { color: #902000; }-code > span.dv { color: #40a070; }-code > span.bn { color: #40a070; }-code > span.fl { color: #40a070; }-code > span.ch { color: #4070a0; }-code > span.st { color: #4070a0; }-code > span.co { color: #60a0b0; font-style: italic; }-code > span.ot { color: #007020; }-code > span.al { color: #ff0000; font-weight: bold; }-code > span.fu { color: #06287e; }-code > span.er { color: #ff0000; font-weight: bold; }+code > span.kw { color: #007020; font-weight: bold; } /* Keyword */+code > span.dt { color: #902000; } /* DataType */+code > span.dv { color: #40a070; } /* DecVal */+code > span.bn { color: #40a070; } /* BaseN */+code > span.fl { color: #40a070; } /* Float */+code > span.ch { color: #4070a0; } /* Char */+code > span.st { color: #4070a0; } /* String */+code > span.co { color: #60a0b0; font-style: italic; } /* Comment */+code > span.ot { color: #007020; } /* Other */+code > span.al { color: #ff0000; font-weight: bold; } /* Alert */+code > span.fu { color: #06287e; } /* Function */+code > span.er { color: #ff0000; font-weight: bold; } /* Error */+code > span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */+code > span.cn { color: #880000; } /* Constant */+code > span.sc { color: #4070a0; } /* SpecialChar */+code > span.vs { color: #4070a0; } /* VerbatimString */+code > span.ss { color: #bb6688; } /* SpecialString */+code > span.im { } /* Import */+code > span.va { color: #19177c; } /* Variable */+code > span.cf { color: #007020; font-weight: bold; } /* ControlFlow */+code > span.op { color: #666666; } /* Operator */+code > span.bu { } /* BuiltIn */+code > span.ex { } /* Extension */+code > span.pp { color: #bc7a00; } /* Preprocessor */+code > span.at { color: #7d9029; } /* Attribute */+code > span.do { color: #ba2121; font-style: italic; } /* Documentation */+code > span.an { color: #60a0b0; font-weight: bold; font-style: italic; } /* Annotation */+code > span.cv { color: #60a0b0; font-weight: bold; font-style: italic; } /* CommentVar */+code > span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Information */ </style></head><body><div class="sourceCode"><pre class="sourceCode"><code class="sourceCode">canMakeNoRecursion &lt;-<span class="st" title="StringTok"> </span>function(x) {   x &lt;-<span class="st" title="StringTok"> </span><span class="kw" title="KeywordTok">toupper</span>(x)   charList &lt;-<span class="st" title="StringTok"> </span><span class="kw" title="KeywordTok">strsplit</span>(x, <span class="kw" title="KeywordTok">character</span>(<span class="dv" title="DecValTok">0</span>))
tests/abc.ruby.html view
@@ -4,18 +4,35 @@ table.sourceCode { width: 100%; line-height: 100%; } td.lineNumbers { text-align: right; padding-right: 4px; padding-left: 4px; color: #aaaaaa; border-right: 1px solid #aaaaaa; } td.sourceCode { padding-left: 5px; }-code > span.kw { color: #007020; font-weight: bold; }-code > span.dt { color: #902000; }-code > span.dv { color: #40a070; }-code > span.bn { color: #40a070; }-code > span.fl { color: #40a070; }-code > span.ch { color: #4070a0; }-code > span.st { color: #4070a0; }-code > span.co { color: #60a0b0; font-style: italic; }-code > span.ot { color: #007020; }-code > span.al { color: #ff0000; font-weight: bold; }-code > span.fu { color: #06287e; }-code > span.er { color: #ff0000; font-weight: bold; }+code > span.kw { color: #007020; font-weight: bold; } /* Keyword */+code > span.dt { color: #902000; } /* DataType */+code > span.dv { color: #40a070; } /* DecVal */+code > span.bn { color: #40a070; } /* BaseN */+code > span.fl { color: #40a070; } /* Float */+code > span.ch { color: #4070a0; } /* Char */+code > span.st { color: #4070a0; } /* String */+code > span.co { color: #60a0b0; font-style: italic; } /* Comment */+code > span.ot { color: #007020; } /* Other */+code > span.al { color: #ff0000; font-weight: bold; } /* Alert */+code > span.fu { color: #06287e; } /* Function */+code > span.er { color: #ff0000; font-weight: bold; } /* Error */+code > span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */+code > span.cn { color: #880000; } /* Constant */+code > span.sc { color: #4070a0; } /* SpecialChar */+code > span.vs { color: #4070a0; } /* VerbatimString */+code > span.ss { color: #bb6688; } /* SpecialString */+code > span.im { } /* Import */+code > span.va { color: #19177c; } /* Variable */+code > span.cf { color: #007020; font-weight: bold; } /* ControlFlow */+code > span.op { color: #666666; } /* Operator */+code > span.bu { } /* BuiltIn */+code > span.ex { } /* Extension */+code > span.pp { color: #bc7a00; } /* Preprocessor */+code > span.at { color: #7d9029; } /* Attribute */+code > span.do { color: #ba2121; font-style: italic; } /* Documentation */+code > span.an { color: #60a0b0; font-weight: bold; font-style: italic; } /* Annotation */+code > span.cv { color: #60a0b0; font-weight: bold; font-style: italic; } /* CommentVar */+code > span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Information */ </style></head><body><div class="sourceCode"><pre class="sourceCode"><code class="sourceCode">words =<span class="ot" title="OtherTok"> %w(</span><span class="st" title="StringTok">A BaRK BOoK tREaT COmMOn SqUAD CoNfuSE</span><span class="ot" title="OtherTok">)</span> &lt;&lt; <span class="st" title="StringTok">&quot;&quot;</span>  words.each <span class="kw" title="KeywordTok">do</span> |word|
tests/abc.scala.html view
@@ -4,18 +4,35 @@ table.sourceCode { width: 100%; line-height: 100%; } td.lineNumbers { text-align: right; padding-right: 4px; padding-left: 4px; color: #aaaaaa; border-right: 1px solid #aaaaaa; } td.sourceCode { padding-left: 5px; }-code > span.kw { color: #007020; font-weight: bold; }-code > span.dt { color: #902000; }-code > span.dv { color: #40a070; }-code > span.bn { color: #40a070; }-code > span.fl { color: #40a070; }-code > span.ch { color: #4070a0; }-code > span.st { color: #4070a0; }-code > span.co { color: #60a0b0; font-style: italic; }-code > span.ot { color: #007020; }-code > span.al { color: #ff0000; font-weight: bold; }-code > span.fu { color: #06287e; }-code > span.er { color: #ff0000; font-weight: bold; }+code > span.kw { color: #007020; font-weight: bold; } /* Keyword */+code > span.dt { color: #902000; } /* DataType */+code > span.dv { color: #40a070; } /* DecVal */+code > span.bn { color: #40a070; } /* BaseN */+code > span.fl { color: #40a070; } /* Float */+code > span.ch { color: #4070a0; } /* Char */+code > span.st { color: #4070a0; } /* String */+code > span.co { color: #60a0b0; font-style: italic; } /* Comment */+code > span.ot { color: #007020; } /* Other */+code > span.al { color: #ff0000; font-weight: bold; } /* Alert */+code > span.fu { color: #06287e; } /* Function */+code > span.er { color: #ff0000; font-weight: bold; } /* Error */+code > span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */+code > span.cn { color: #880000; } /* Constant */+code > span.sc { color: #4070a0; } /* SpecialChar */+code > span.vs { color: #4070a0; } /* VerbatimString */+code > span.ss { color: #bb6688; } /* SpecialString */+code > span.im { } /* Import */+code > span.va { color: #19177c; } /* Variable */+code > span.cf { color: #007020; font-weight: bold; } /* ControlFlow */+code > span.op { color: #666666; } /* Operator */+code > span.bu { } /* BuiltIn */+code > span.ex { } /* Extension */+code > span.pp { color: #bc7a00; } /* Preprocessor */+code > span.at { color: #7d9029; } /* Attribute */+code > span.do { color: #ba2121; font-style: italic; } /* Documentation */+code > span.an { color: #60a0b0; font-weight: bold; font-style: italic; } /* Annotation */+code > span.cv { color: #60a0b0; font-weight: bold; font-style: italic; } /* CommentVar */+code > span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Information */ </style></head><body><div class="sourceCode"><pre class="sourceCode"><code class="sourceCode"><span class="kw" title="KeywordTok">object</span> AbcBlocks <span class="kw" title="KeywordTok">extends</span> App {    <span class="kw" title="KeywordTok">protected</span> <span class="kw" title="KeywordTok">class</span> <span class="fu" title="FunctionTok">Block</span>(face1: Char, face2: Char) {
tests/abc.scheme.html view
@@ -4,18 +4,35 @@ table.sourceCode { width: 100%; line-height: 100%; } td.lineNumbers { text-align: right; padding-right: 4px; padding-left: 4px; color: #aaaaaa; border-right: 1px solid #aaaaaa; } td.sourceCode { padding-left: 5px; }-code > span.kw { color: #007020; font-weight: bold; }-code > span.dt { color: #902000; }-code > span.dv { color: #40a070; }-code > span.bn { color: #40a070; }-code > span.fl { color: #40a070; }-code > span.ch { color: #4070a0; }-code > span.st { color: #4070a0; }-code > span.co { color: #60a0b0; font-style: italic; }-code > span.ot { color: #007020; }-code > span.al { color: #ff0000; font-weight: bold; }-code > span.fu { color: #06287e; }-code > span.er { color: #ff0000; font-weight: bold; }+code > span.kw { color: #007020; font-weight: bold; } /* Keyword */+code > span.dt { color: #902000; } /* DataType */+code > span.dv { color: #40a070; } /* DecVal */+code > span.bn { color: #40a070; } /* BaseN */+code > span.fl { color: #40a070; } /* Float */+code > span.ch { color: #4070a0; } /* Char */+code > span.st { color: #4070a0; } /* String */+code > span.co { color: #60a0b0; font-style: italic; } /* Comment */+code > span.ot { color: #007020; } /* Other */+code > span.al { color: #ff0000; font-weight: bold; } /* Alert */+code > span.fu { color: #06287e; } /* Function */+code > span.er { color: #ff0000; font-weight: bold; } /* Error */+code > span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */+code > span.cn { color: #880000; } /* Constant */+code > span.sc { color: #4070a0; } /* SpecialChar */+code > span.vs { color: #4070a0; } /* VerbatimString */+code > span.ss { color: #bb6688; } /* SpecialString */+code > span.im { } /* Import */+code > span.va { color: #19177c; } /* Variable */+code > span.cf { color: #007020; font-weight: bold; } /* ControlFlow */+code > span.op { color: #666666; } /* Operator */+code > span.bu { } /* BuiltIn */+code > span.ex { } /* Extension */+code > span.pp { color: #bc7a00; } /* Preprocessor */+code > span.at { color: #7d9029; } /* Attribute */+code > span.do { color: #ba2121; font-style: italic; } /* Documentation */+code > span.an { color: #60a0b0; font-weight: bold; font-style: italic; } /* Annotation */+code > span.cv { color: #60a0b0; font-weight: bold; font-style: italic; } /* CommentVar */+code > span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Information */ </style></head><body><div class="sourceCode"><pre class="sourceCode"><code class="sourceCode">#lang racket (<span class="kw" title="KeywordTok">define</span><span class="fu" title="FunctionTok"> block-strings</span>   (<span class="kw" title="KeywordTok">list</span> <span class="st" title="StringTok">&quot;BO&quot;</span> <span class="st" title="StringTok">&quot;XK&quot;</span> <span class="st" title="StringTok">&quot;DQ&quot;</span> <span class="st" title="StringTok">&quot;CP&quot;</span> <span class="st" title="StringTok">&quot;NA&quot;</span>
tests/abc.tcl.html view
@@ -4,18 +4,35 @@ table.sourceCode { width: 100%; line-height: 100%; } td.lineNumbers { text-align: right; padding-right: 4px; padding-left: 4px; color: #aaaaaa; border-right: 1px solid #aaaaaa; } td.sourceCode { padding-left: 5px; }-code > span.kw { color: #007020; font-weight: bold; }-code > span.dt { color: #902000; }-code > span.dv { color: #40a070; }-code > span.bn { color: #40a070; }-code > span.fl { color: #40a070; }-code > span.ch { color: #4070a0; }-code > span.st { color: #4070a0; }-code > span.co { color: #60a0b0; font-style: italic; }-code > span.ot { color: #007020; }-code > span.al { color: #ff0000; font-weight: bold; }-code > span.fu { color: #06287e; }-code > span.er { color: #ff0000; font-weight: bold; }+code > span.kw { color: #007020; font-weight: bold; } /* Keyword */+code > span.dt { color: #902000; } /* DataType */+code > span.dv { color: #40a070; } /* DecVal */+code > span.bn { color: #40a070; } /* BaseN */+code > span.fl { color: #40a070; } /* Float */+code > span.ch { color: #4070a0; } /* Char */+code > span.st { color: #4070a0; } /* String */+code > span.co { color: #60a0b0; font-style: italic; } /* Comment */+code > span.ot { color: #007020; } /* Other */+code > span.al { color: #ff0000; font-weight: bold; } /* Alert */+code > span.fu { color: #06287e; } /* Function */+code > span.er { color: #ff0000; font-weight: bold; } /* Error */+code > span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */+code > span.cn { color: #880000; } /* Constant */+code > span.sc { color: #4070a0; } /* SpecialChar */+code > span.vs { color: #4070a0; } /* VerbatimString */+code > span.ss { color: #bb6688; } /* SpecialString */+code > span.im { } /* Import */+code > span.va { color: #19177c; } /* Variable */+code > span.cf { color: #007020; font-weight: bold; } /* ControlFlow */+code > span.op { color: #666666; } /* Operator */+code > span.bu { } /* BuiltIn */+code > span.ex { } /* Extension */+code > span.pp { color: #bc7a00; } /* Preprocessor */+code > span.at { color: #7d9029; } /* Attribute */+code > span.do { color: #ba2121; font-style: italic; } /* Documentation */+code > span.an { color: #60a0b0; font-weight: bold; font-style: italic; } /* Annotation */+code > span.cv { color: #60a0b0; font-weight: bold; font-style: italic; } /* CommentVar */+code > span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Information */ </style></head><body><div class="sourceCode"><pre class="sourceCode"><code class="sourceCode"><span class="kw" title="KeywordTok">package</span> <span class="ot" title="OtherTok">require</span> Tcl <span class="fl" title="FloatTok">8.6</span>  <span class="kw" title="KeywordTok">proc</span> abc <span class="kw" title="KeywordTok">{</span>word <span class="kw" title="KeywordTok">{</span>blocks <span class="kw" title="KeywordTok">{</span>BO XK DQ CP NA GT RE TG QD FS JW HU VI AN OB ER FS LY PC ZM<span class="kw" title="KeywordTok">}}}</span> <span class="kw" title="KeywordTok">{</span>
tests/archive.rhtml.html view
@@ -4,18 +4,35 @@ table.sourceCode { width: 100%; line-height: 100%; } td.lineNumbers { text-align: right; padding-right: 4px; padding-left: 4px; color: #aaaaaa; border-right: 1px solid #aaaaaa; } td.sourceCode { padding-left: 5px; }-code > span.kw { color: #007020; font-weight: bold; }-code > span.dt { color: #902000; }-code > span.dv { color: #40a070; }-code > span.bn { color: #40a070; }-code > span.fl { color: #40a070; }-code > span.ch { color: #4070a0; }-code > span.st { color: #4070a0; }-code > span.co { color: #60a0b0; font-style: italic; }-code > span.ot { color: #007020; }-code > span.al { color: #ff0000; font-weight: bold; }-code > span.fu { color: #06287e; }-code > span.er { color: #ff0000; font-weight: bold; }+code > span.kw { color: #007020; font-weight: bold; } /* Keyword */+code > span.dt { color: #902000; } /* DataType */+code > span.dv { color: #40a070; } /* DecVal */+code > span.bn { color: #40a070; } /* BaseN */+code > span.fl { color: #40a070; } /* Float */+code > span.ch { color: #4070a0; } /* Char */+code > span.st { color: #4070a0; } /* String */+code > span.co { color: #60a0b0; font-style: italic; } /* Comment */+code > span.ot { color: #007020; } /* Other */+code > span.al { color: #ff0000; font-weight: bold; } /* Alert */+code > span.fu { color: #06287e; } /* Function */+code > span.er { color: #ff0000; font-weight: bold; } /* Error */+code > span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */+code > span.cn { color: #880000; } /* Constant */+code > span.sc { color: #4070a0; } /* SpecialChar */+code > span.vs { color: #4070a0; } /* VerbatimString */+code > span.ss { color: #bb6688; } /* SpecialString */+code > span.im { } /* Import */+code > span.va { color: #19177c; } /* Variable */+code > span.cf { color: #007020; font-weight: bold; } /* ControlFlow */+code > span.op { color: #666666; } /* Operator */+code > span.bu { } /* BuiltIn */+code > span.ex { } /* Extension */+code > span.pp { color: #bc7a00; } /* Preprocessor */+code > span.at { color: #7d9029; } /* Attribute */+code > span.do { color: #ba2121; font-style: italic; } /* Documentation */+code > span.an { color: #60a0b0; font-weight: bold; font-style: italic; } /* Annotation */+code > span.cv { color: #60a0b0; font-weight: bold; font-style: italic; } /* CommentVar */+code > span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Information */ </style></head><body><div class="sourceCode"><pre class="sourceCode"><code class="sourceCode"><span class="kw" title="KeywordTok">&lt;h1&gt;</span>Event Archive<span class="kw" title="KeywordTok">&lt;/h1&gt;</span>  
tests/life.lua.html view
@@ -4,31 +4,48 @@ table.sourceCode { width: 100%; line-height: 100%; } td.lineNumbers { text-align: right; padding-right: 4px; padding-left: 4px; color: #aaaaaa; border-right: 1px solid #aaaaaa; } td.sourceCode { padding-left: 5px; }-code > span.kw { color: #007020; font-weight: bold; }-code > span.dt { color: #902000; }-code > span.dv { color: #40a070; }-code > span.bn { color: #40a070; }-code > span.fl { color: #40a070; }-code > span.ch { color: #4070a0; }-code > span.st { color: #4070a0; }-code > span.co { color: #60a0b0; font-style: italic; }-code > span.ot { color: #007020; }-code > span.al { color: #ff0000; font-weight: bold; }-code > span.fu { color: #06287e; }-code > span.er { color: #ff0000; font-weight: bold; }-</style></head><body><div class="sourceCode"><pre class="sourceCode"><code class="sourceCode"><span class="co" title="CommentTok">-- life.lua</span>-<span class="co" title="CommentTok">-- original by Dave Bollinger </span><span class="kw" title="KeywordTok">&lt;DBollinger</span><span class="ot" title="OtherTok">@compuserve.com</span><span class="kw" title="KeywordTok">&gt;</span><span class="co" title="CommentTok"> posted to lua-l</span>-<span class="co" title="CommentTok">-- modified to use ANSI terminal escape sequences</span>-<span class="co" title="CommentTok">-- modified to use for instead of while</span>+code > span.kw { color: #007020; font-weight: bold; } /* Keyword */+code > span.dt { color: #902000; } /* DataType */+code > span.dv { color: #40a070; } /* DecVal */+code > span.bn { color: #40a070; } /* BaseN */+code > span.fl { color: #40a070; } /* Float */+code > span.ch { color: #4070a0; } /* Char */+code > span.st { color: #4070a0; } /* String */+code > span.co { color: #60a0b0; font-style: italic; } /* Comment */+code > span.ot { color: #007020; } /* Other */+code > span.al { color: #ff0000; font-weight: bold; } /* Alert */+code > span.fu { color: #06287e; } /* Function */+code > span.er { color: #ff0000; font-weight: bold; } /* Error */+code > span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */+code > span.cn { color: #880000; } /* Constant */+code > span.sc { color: #4070a0; } /* SpecialChar */+code > span.vs { color: #4070a0; } /* VerbatimString */+code > span.ss { color: #bb6688; } /* SpecialString */+code > span.im { } /* Import */+code > span.va { color: #19177c; } /* Variable */+code > span.cf { color: #007020; font-weight: bold; } /* ControlFlow */+code > span.op { color: #666666; } /* Operator */+code > span.bu { } /* BuiltIn */+code > span.ex { } /* Extension */+code > span.pp { color: #bc7a00; } /* Preprocessor */+code > span.at { color: #7d9029; } /* Attribute */+code > span.do { color: #ba2121; font-style: italic; } /* Documentation */+code > span.an { color: #60a0b0; font-weight: bold; font-style: italic; } /* Annotation */+code > span.cv { color: #60a0b0; font-weight: bold; font-style: italic; } /* CommentVar */+code > span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Information */+</style></head><body><div class="sourceCode"><pre class="sourceCode"><code class="sourceCode"><span class="do" title="DocumentationTok">-- life.lua</span>+<span class="do" title="DocumentationTok">-- original by Dave Bollinger </span><span class="kw" title="KeywordTok">&lt;DBollinger</span><span class="ot" title="OtherTok">@compuserve.com</span><span class="kw" title="KeywordTok">&gt;</span><span class="do" title="DocumentationTok"> posted to lua-l</span>+<span class="do" title="DocumentationTok">-- modified to use ANSI terminal escape sequences</span>+<span class="do" title="DocumentationTok">-- modified to use for instead of while</span>  <span class="kw" title="KeywordTok">local</span> <span class="fu" title="FunctionTok">write</span><span class="ot" title="OtherTok">=</span><span class="fu" title="FunctionTok">io.write</span>  ALIVE<span class="ot" title="OtherTok">=</span><span class="st" title="StringTok">&quot;¥&quot;</span>	DEAD<span class="ot" title="OtherTok">=</span><span class="st" title="StringTok">&quot;þ&quot;</span> ALIVE<span class="ot" title="OtherTok">=</span><span class="st" title="StringTok">&quot;O&quot;</span>	DEAD<span class="ot" title="OtherTok">=</span><span class="st" title="StringTok">&quot;-&quot;</span> -<span class="kw" title="KeywordTok">function</span> delay<span class="ot" title="OtherTok">()</span> <span class="co" title="CommentTok">-- NOTE: SYSTEM-DEPENDENT, adjust as necessary</span>+<span class="kw" title="KeywordTok">function</span> delay<span class="ot" title="OtherTok">()</span> <span class="do" title="DocumentationTok">-- NOTE: SYSTEM-DEPENDENT, adjust as necessary</span>   <span class="kw" title="KeywordTok">for</span> i<span class="ot" title="OtherTok">=</span><span class="dv" title="DecValTok">1</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">10000</span> <span class="kw" title="KeywordTok">do</span> <span class="kw" title="KeywordTok">end</span>-  <span class="co" title="CommentTok">-- local i=os.clock()+1 while(os.clock()</span><span class="kw" title="KeywordTok">&lt;i</span><span class="ot" title="OtherTok">) do end</span>+  <span class="do" title="DocumentationTok">-- local i=os.clock()+1 while(os.clock()</span><span class="kw" title="KeywordTok">&lt;i</span><span class="ot" title="OtherTok">) do end</span> <span class="kw" title="KeywordTok">end</span>  <span class="kw" title="KeywordTok">function</span> ARRAY2D<span class="ot" title="OtherTok">(</span>w<span class="ot" title="OtherTok">,</span>h<span class="ot" title="OtherTok">)</span>@@ -44,7 +61,7 @@  _CELLS <span class="ot" title="OtherTok">=</span> <span class="ot" title="OtherTok">{}</span> -<span class="co" title="CommentTok">-- give birth to a &quot;shape&quot; within the cell array</span>+<span class="do" title="DocumentationTok">-- give birth to a &quot;shape&quot; within the cell array</span> <span class="kw" title="KeywordTok">function</span> _CELLS:spawn<span class="ot" title="OtherTok">(</span>shape<span class="ot" title="OtherTok">,</span>left<span class="ot" title="OtherTok">,</span>top<span class="ot" title="OtherTok">)</span>   <span class="kw" title="KeywordTok">for</span> y<span class="ot" title="OtherTok">=</span><span class="dv" title="DecValTok">0</span><span class="ot" title="OtherTok">,</span>shape<span class="ot" title="OtherTok">.</span>h<span class="ot" title="OtherTok">-</span><span class="dv" title="DecValTok">1</span> <span class="kw" title="KeywordTok">do</span>     <span class="kw" title="KeywordTok">for</span> x<span class="ot" title="OtherTok">=</span><span class="dv" title="DecValTok">0</span><span class="ot" title="OtherTok">,</span>shape<span class="ot" title="OtherTok">.</span>w<span class="ot" title="OtherTok">-</span><span class="dv" title="DecValTok">1</span> <span class="kw" title="KeywordTok">do</span>@@ -53,7 +70,7 @@   <span class="kw" title="KeywordTok">end</span> <span class="kw" title="KeywordTok">end</span> -<span class="co" title="CommentTok">-- run the CA and produce the next generation</span>+<span class="do" title="DocumentationTok">-- run the CA and produce the next generation</span> <span class="kw" title="KeywordTok">function</span> _CELLS:evolve<span class="ot" title="OtherTok">(</span><span class="fu" title="FunctionTok">next</span><span class="ot" title="OtherTok">)</span>   <span class="kw" title="KeywordTok">local</span> ym1<span class="ot" title="OtherTok">,</span>y<span class="ot" title="OtherTok">,</span>yp1<span class="ot" title="OtherTok">,</span>yi<span class="ot" title="OtherTok">=</span>self<span class="ot" title="OtherTok">.</span>h<span class="ot" title="OtherTok">-</span><span class="dv" title="DecValTok">1</span><span class="ot" title="OtherTok">,</span>self<span class="ot" title="OtherTok">.</span>h<span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">1</span><span class="ot" title="OtherTok">,</span>self<span class="ot" title="OtherTok">.</span>h   <span class="kw" title="KeywordTok">while</span> yi <span class="ot" title="OtherTok">&gt;</span> <span class="dv" title="DecValTok">0</span> <span class="kw" title="KeywordTok">do</span>@@ -69,9 +86,9 @@   <span class="kw" title="KeywordTok">end</span> <span class="kw" title="KeywordTok">end</span> -<span class="co" title="CommentTok">-- output the array to screen</span>+<span class="do" title="DocumentationTok">-- output the array to screen</span> <span class="kw" title="KeywordTok">function</span> _CELLS:draw<span class="ot" title="OtherTok">()</span>-  <span class="kw" title="KeywordTok">local</span> out<span class="ot" title="OtherTok">=</span><span class="st" title="StringTok">&quot;&quot;</span> <span class="co" title="CommentTok">-- accumulate to reduce flicker</span>+  <span class="kw" title="KeywordTok">local</span> out<span class="ot" title="OtherTok">=</span><span class="st" title="StringTok">&quot;&quot;</span> <span class="do" title="DocumentationTok">-- accumulate to reduce flicker</span>   <span class="kw" title="KeywordTok">for</span> y<span class="ot" title="OtherTok">=</span><span class="dv" title="DecValTok">1</span><span class="ot" title="OtherTok">,</span>self<span class="ot" title="OtherTok">.</span>h <span class="kw" title="KeywordTok">do</span>    <span class="kw" title="KeywordTok">for</span> x<span class="ot" title="OtherTok">=</span><span class="dv" title="DecValTok">1</span><span class="ot" title="OtherTok">,</span>self<span class="ot" title="OtherTok">.</span>w <span class="kw" title="KeywordTok">do</span>       out<span class="ot" title="OtherTok">=</span>out<span class="ot" title="OtherTok">..(((</span>self<span class="ot" title="OtherTok">[</span>y<span class="ot" title="OtherTok">][</span>x<span class="ot" title="OtherTok">]&gt;</span><span class="dv" title="DecValTok">0</span><span class="ot" title="OtherTok">)</span> <span class="kw" title="KeywordTok">and</span> ALIVE<span class="ot" title="OtherTok">)</span> <span class="kw" title="KeywordTok">or</span> DEAD<span class="ot" title="OtherTok">)</span>@@ -81,7 +98,7 @@   <span class="fu" title="FunctionTok">write</span><span class="ot" title="OtherTok">(</span>out<span class="ot" title="OtherTok">)</span> <span class="kw" title="KeywordTok">end</span> -<span class="co" title="CommentTok">-- constructor</span>+<span class="do" title="DocumentationTok">-- constructor</span> <span class="kw" title="KeywordTok">function</span> CELLS<span class="ot" title="OtherTok">(</span>w<span class="ot" title="OtherTok">,</span>h<span class="ot" title="OtherTok">)</span>   <span class="kw" title="KeywordTok">local</span> c <span class="ot" title="OtherTok">=</span> ARRAY2D<span class="ot" title="OtherTok">(</span>w<span class="ot" title="OtherTok">,</span>h<span class="ot" title="OtherTok">)</span>   c<span class="ot" title="OtherTok">.</span>spawn <span class="ot" title="OtherTok">=</span> _CELLS<span class="ot" title="OtherTok">.</span>spawn@@ -90,39 +107,39 @@   <span class="kw" title="KeywordTok">return</span> c <span class="kw" title="KeywordTok">end</span> -<span class="co" title="CommentTok">--</span>-<span class="co" title="CommentTok">-- shapes suitable for use with spawn() above</span>-<span class="co" title="CommentTok">--</span>+<span class="do" title="DocumentationTok">--</span>+<span class="do" title="DocumentationTok">-- shapes suitable for use with spawn() above</span>+<span class="do" title="DocumentationTok">--</span> HEART <span class="ot" title="OtherTok">=</span> <span class="ot" title="OtherTok">{</span> <span class="dv" title="DecValTok">1</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">0</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">1</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">1</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">0</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">1</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">1</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">1</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">1</span><span class="ot" title="OtherTok">;</span> w<span class="ot" title="OtherTok">=</span><span class="dv" title="DecValTok">3</span><span class="ot" title="OtherTok">,</span>h<span class="ot" title="OtherTok">=</span><span class="dv" title="DecValTok">3</span> <span class="ot" title="OtherTok">}</span> GLIDER <span class="ot" title="OtherTok">=</span> <span class="ot" title="OtherTok">{</span> <span class="dv" title="DecValTok">0</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">0</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">1</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">1</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">0</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">1</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">0</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">1</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">1</span><span class="ot" title="OtherTok">;</span> w<span class="ot" title="OtherTok">=</span><span class="dv" title="DecValTok">3</span><span class="ot" title="OtherTok">,</span>h<span class="ot" title="OtherTok">=</span><span class="dv" title="DecValTok">3</span> <span class="ot" title="OtherTok">}</span> EXPLODE <span class="ot" title="OtherTok">=</span> <span class="ot" title="OtherTok">{</span> <span class="dv" title="DecValTok">0</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">1</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">0</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">1</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">1</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">1</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">1</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">0</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">1</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">0</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">1</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">0</span><span class="ot" title="OtherTok">;</span> w<span class="ot" title="OtherTok">=</span><span class="dv" title="DecValTok">3</span><span class="ot" title="OtherTok">,</span>h<span class="ot" title="OtherTok">=</span><span class="dv" title="DecValTok">4</span> <span class="ot" title="OtherTok">}</span> FISH <span class="ot" title="OtherTok">=</span> <span class="ot" title="OtherTok">{</span> <span class="dv" title="DecValTok">0</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">1</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">1</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">1</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">1</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">1</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">0</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">0</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">0</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">1</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">0</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">0</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">0</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">0</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">1</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">1</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">0</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">0</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">1</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">0</span><span class="ot" title="OtherTok">;</span> w<span class="ot" title="OtherTok">=</span><span class="dv" title="DecValTok">5</span><span class="ot" title="OtherTok">,</span>h<span class="ot" title="OtherTok">=</span><span class="dv" title="DecValTok">4</span> <span class="ot" title="OtherTok">}</span> BUTTERFLY <span class="ot" title="OtherTok">=</span> <span class="ot" title="OtherTok">{</span> <span class="dv" title="DecValTok">1</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">0</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">0</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">0</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">1</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">0</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">1</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">1</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">1</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">0</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">1</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">0</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">0</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">0</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">1</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">1</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">0</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">1</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">0</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">1</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">1</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">0</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">0</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">0</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">1</span><span class="ot" title="OtherTok">;</span> w<span class="ot" title="OtherTok">=</span><span class="dv" title="DecValTok">5</span><span class="ot" title="OtherTok">,</span>h<span class="ot" title="OtherTok">=</span><span class="dv" title="DecValTok">5</span> <span class="ot" title="OtherTok">}</span> -<span class="co" title="CommentTok">-- the main routine</span>+<span class="do" title="DocumentationTok">-- the main routine</span> <span class="kw" title="KeywordTok">function</span> LIFE<span class="ot" title="OtherTok">(</span>w<span class="ot" title="OtherTok">,</span>h<span class="ot" title="OtherTok">)</span>-  <span class="co" title="CommentTok">-- create two arrays</span>+  <span class="do" title="DocumentationTok">-- create two arrays</span>   <span class="kw" title="KeywordTok">local</span> thisgen <span class="ot" title="OtherTok">=</span> CELLS<span class="ot" title="OtherTok">(</span>w<span class="ot" title="OtherTok">,</span>h<span class="ot" title="OtherTok">)</span>   <span class="kw" title="KeywordTok">local</span> nextgen <span class="ot" title="OtherTok">=</span> CELLS<span class="ot" title="OtherTok">(</span>w<span class="ot" title="OtherTok">,</span>h<span class="ot" title="OtherTok">)</span> -  <span class="co" title="CommentTok">-- create some life</span>-  <span class="co" title="CommentTok">-- about 1000 generations of fun, then a glider steady-state</span>+  <span class="do" title="DocumentationTok">-- create some life</span>+  <span class="do" title="DocumentationTok">-- about 1000 generations of fun, then a glider steady-state</span>   thisgen:spawn<span class="ot" title="OtherTok">(</span>GLIDER<span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">5</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">4</span><span class="ot" title="OtherTok">)</span>   thisgen:spawn<span class="ot" title="OtherTok">(</span>EXPLODE<span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">25</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">10</span><span class="ot" title="OtherTok">)</span>   thisgen:spawn<span class="ot" title="OtherTok">(</span>FISH<span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">4</span><span class="ot" title="OtherTok">,</span><span class="dv" title="DecValTok">12</span><span class="ot" title="OtherTok">)</span> -  <span class="co" title="CommentTok">-- run until break</span>+  <span class="do" title="DocumentationTok">-- run until break</span>   <span class="kw" title="KeywordTok">local</span> gen<span class="ot" title="OtherTok">=</span><span class="dv" title="DecValTok">1</span>-  <span class="fu" title="FunctionTok">write</span><span class="ot" title="OtherTok">(</span><span class="st" title="StringTok">&quot;\027[2J&quot;</span><span class="ot" title="OtherTok">)</span>	<span class="co" title="CommentTok">-- ANSI clear screen</span>+  <span class="fu" title="FunctionTok">write</span><span class="ot" title="OtherTok">(</span><span class="st" title="StringTok">&quot;\027[2J&quot;</span><span class="ot" title="OtherTok">)</span>	<span class="do" title="DocumentationTok">-- ANSI clear screen</span>   <span class="kw" title="KeywordTok">while</span> <span class="dv" title="DecValTok">1</span> <span class="kw" title="KeywordTok">do</span>     thisgen:evolve<span class="ot" title="OtherTok">(</span>nextgen<span class="ot" title="OtherTok">)</span>     thisgen<span class="ot" title="OtherTok">,</span>nextgen <span class="ot" title="OtherTok">=</span> nextgen<span class="ot" title="OtherTok">,</span>thisgen-    <span class="fu" title="FunctionTok">write</span><span class="ot" title="OtherTok">(</span><span class="st" title="StringTok">&quot;\027[H&quot;</span><span class="ot" title="OtherTok">)</span>	<span class="co" title="CommentTok">-- ANSI home cursor</span>+    <span class="fu" title="FunctionTok">write</span><span class="ot" title="OtherTok">(</span><span class="st" title="StringTok">&quot;\027[H&quot;</span><span class="ot" title="OtherTok">)</span>	<span class="do" title="DocumentationTok">-- ANSI home cursor</span>     thisgen:draw<span class="ot" title="OtherTok">()</span>     <span class="fu" title="FunctionTok">write</span><span class="ot" title="OtherTok">(</span><span class="st" title="StringTok">&quot;Life - generation &quot;</span><span class="ot" title="OtherTok">,</span>gen<span class="ot" title="OtherTok">,</span><span class="st" title="StringTok">&quot;</span><span class="ot" title="OtherTok">\n</span><span class="st" title="StringTok">&quot;</span><span class="ot" title="OtherTok">)</span>     gen<span class="ot" title="OtherTok">=</span>gen<span class="ot" title="OtherTok">+</span><span class="dv" title="DecValTok">1</span>     <span class="kw" title="KeywordTok">if</span> gen<span class="ot" title="OtherTok">&gt;</span><span class="dv" title="DecValTok">2000</span> <span class="kw" title="KeywordTok">then</span> <span class="kw" title="KeywordTok">break</span> <span class="kw" title="KeywordTok">end</span>-    <span class="co" title="CommentTok">--delay()		-- no delay</span>+    <span class="do" title="DocumentationTok">--delay()		-- no delay</span>   <span class="kw" title="KeywordTok">end</span> <span class="kw" title="KeywordTok">end</span> 
xml/abc.xml view
@@ -2,7 +2,7 @@ <!DOCTYPE language SYSTEM "language.dtd"> <!-- Andrea Primiani - primiani at dag dot it  	version1.10 - 12 december 2005 -->-<language name="ABC" version="1.10" kateversion="2.4" section="Other" extensions="*.abc;*.ABC" mimetype="text/vnd.abc" casesensitive="1" author="Andrea Primiani (primiani@dag.it)" license="LGPL">+<language name="ABC" version="2" kateversion="2.4" section="Other" extensions="*.abc;*.ABC" mimetype="text/vnd.abc" casesensitive="1" author="Andrea Primiani (primiani@dag.it)" license="LGPL">     <highlighting>         <contexts>            <context name="Normal" attribute="Normal Text" lineEndContext="#stay">
xml/actionscript.xml view
@@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd">-<language name="ActionScript 2.0" version="1.0" kateversion="2.4" section="Sources" extensions="*.as" mimetype="text/x-actionscript" license="LGPL" author="Aaron Miller (armantic101@gmail.com)"> +<language name="ActionScript 2.0" version="2" kateversion="5.0" section="Sources" extensions="*.as" mimetype="text/x-actionscript" license="LGPL" author="Aaron Miller (armantic101@gmail.com)">   <highlighting>          <list name="properties">@@ -306,22 +306,22 @@       <itemData name="Normal Text"  defStyleNum="dsNormal"/>       <itemData name="Keyword"      defStyleNum="dsKeyword"/>       <itemData name="Function"     defStyleNum="dsFunction"/>-      <itemData name="StaticImports"      defStyleNum="dsKeyword" color="#800080" selColor="#FFFFFF" bold="0" italic="0"/>-      <itemData name="Imports" defStyleNum="dsKeyword" color="#808000" selColor="#FFFFFF" bold="0" italic="0"/>+      <itemData name="StaticImports" defStyleNum="dsImport"/>+      <itemData name="Imports"      defStyleNum="dsImport"/>       <itemData name="Data Type"    defStyleNum="dsDataType"/>-      <itemData name="Decimal" defStyleNum="dsDecVal"/>+      <itemData name="Decimal"      defStyleNum="dsDecVal"/>       <itemData name="Octal"        defStyleNum="dsBaseN"/>       <itemData name="Hex"          defStyleNum="dsBaseN"/>       <itemData name="Float"        defStyleNum="dsFloat"/>       <itemData name="Char"         defStyleNum="dsChar"/>       <itemData name="String"       defStyleNum="dsString"/>-      <itemData name="String Char"  defStyleNum="dsChar"/>+      <itemData name="String Char"  defStyleNum="dsSpecialString"/>       <itemData name="Comment"      defStyleNum="dsComment"/>       <itemData name="Symbol"       defStyleNum="dsNormal"/>-      <itemData name="Properties"   defStyleNum="dsNormal" color="#000033" selColor="#CCCCCC" bold="1" italic="0"/> -      <itemData name="Global Functions"   defStyleNum="dsNormal" color="#006666" selColor="#CCCCCC" bold="1" italic="0"/>-      <itemData name="Classes"   defStyleNum="dsNormal" color="#660066" selColor="#CCCCCC" bold="1" italic="0"/>-      <itemData name="Constants" defStyleNum="dsNormal" color="#003300" selColor="#CCCCCC" bold="1" italic="0"/>+      <itemData name="Properties"   defStyleNum="dsAttribute" bold="1"/>+      <itemData name="Global Functions"   defStyleNum="dsFunction" bold="1"/>+      <itemData name="Classes"   defStyleNum="dsBuiltIn" bold="1"/>+      <itemData name="Constants" defStyleNum="dsConstant" bold="1"/>     </itemDatas>   </highlighting>   <general>
xml/ada.xml view
@@ -1,8 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> <language name="Ada"-          version="1.08"-          kateversion="2.5"+          version="2"+          kateversion="5.0"           section="Sources"           extensions="*.adb;*.ads;*.ada;*.a"           indenter="ada"@@ -130,7 +130,7 @@     </list>     <list name="types">       <item> boolean </item>-      <item> char </item>+      <item> character </item>       <item> float </item>       <item> integer </item>       <item> long_float </item>@@ -141,8 +141,8 @@       <item> short_integer </item>       <item> string </item>       <item> wide_string </item>-      <item> wide_char </item>-      <item> wide_wide_char </item>+      <item> wide_character </item>+      <item> wide_wide_character </item>       <item> wide_wide_string </item>     </list>     <contexts>@@ -180,7 +180,7 @@     <itemDatas>       <itemData name="Normal Text" defStyleNum="dsNormal" />       <itemData name="Keyword"     defStyleNum="dsKeyword" />-      <itemData name="Pragmas"     defStyleNum="dsKeyword" color="#0095ff" selColor="#ffffff" bold="1" italic="0"/>+      <itemData name="Pragmas"     defStyleNum="dsExtension" bold="1" />       <itemData name="Data Type"   defStyleNum="dsDataType"/>       <itemData name="Decimal"     defStyleNum="dsDecVal" />       <itemData name="Base-N"      defStyleNum="dsBaseN" />
xml/agda.xml view
@@ -3,7 +3,7 @@   <!ENTITY charsdelim "_;.&#34;(){}@">   <!ENTITY wordsep "(?=([&charsdelim;]|\s|$))"> ]>-<language name="Agda" version="1.0" kateversion="3.4" section="Sources" extensions="*.agda" mimetype="text/x-agda" author="Matthias C. M. Troffaes" license="LGPL">+<language name="Agda" version="2" kateversion="5.0" section="Sources" extensions="*.agda" mimetype="text/x-agda" author="Matthias C. M. Troffaes" license="LGPL">   <highlighting>     <list name="reserved keywords">       <item> abstract </item>@@ -82,8 +82,8 @@     </contexts>     <itemDatas>       <itemData name="Normal"   defStyleNum="dsNormal"   spellChecking="false" />-      <itemData name="Comment"  defStyleNum="dsComment"  />-      <itemData name="Pragma"   defStyleNum="dsOthers"   spellChecking="false" />+      <itemData name="Comment"  defStyleNum="dsComment" />+      <itemData name="Pragma"   defStyleNum="dsPreprocessor" spellChecking="false" />       <itemData name="Hole"     defStyleNum="dsOthers"   spellChecking="false" />       <itemData name="Keyword"  defStyleNum="dsKeyword"  spellChecking="false" />       <itemData name="Type"     defStyleNum="dsDataType" spellChecking="false" />
xml/alert.xml view
@@ -30,7 +30,7 @@   Introduce 3 alert levels and sort keywords according importance.   Few more keywords has been added. -->-<language version="1.09" kateversion="2.3" name="Alerts" section="Other" extensions="" mimetype="" author="Dominik Haumann (dhdev@gmx.de)" license="LGPL" hidden="true">+<language version="2" kateversion="3.1" name="Alerts" section="Other" extensions="" mimetype="" author="Dominik Haumann (dhdev@gmx.de)" license="LGPL" hidden="true">   <highlighting>     <list name="alerts_hi">       <item> ALERT </item>@@ -59,6 +59,10 @@     </list>     <contexts>       <context attribute="Normal Text" lineEndContext="#pop" name="Normal Text" >+        <StringDetect attribute="Region Marker" context="#stay" String="{{{" beginRegion="AlertRegion1" />+        <StringDetect attribute="Region Marker" context="#stay" String="}}}" endRegion="AlertRegion1" />+        <StringDetect attribute="Region Marker" context="#stay" String="BEGIN" beginRegion="AlertRegion2" />+        <StringDetect attribute="Region Marker" context="#stay" String="END" endRegion="AlertRegion2" />         <keyword attribute="Alert Level 1" context="#stay" String="alerts_hi" />         <keyword attribute="Alert Level 2" context="#stay" String="alerts_mid" />         <keyword attribute="Alert Level 3" context="#stay" String="alerts_lo" />@@ -69,6 +73,7 @@       <itemData name="Alert Level 1" defStyleNum="dsAlert" color="#e85848" selColor="#e85848" backgroundColor="#451e1a" />       <itemData name="Alert Level 2" defStyleNum="dsAlert" color="#ca9219" selColor="#ca9219" backgroundColor="#451e1a" />       <itemData name="Alert Level 3" defStyleNum="dsAlert" color="#81ca2d" selColor="#81ca2d" />+      <itemData name="Region Marker" defStyleNum="dsRegionMarker"/>     </itemDatas>   </highlighting>   <general>
xml/alert_indent.xml view
@@ -26,7 +26,7 @@  This file is included in every file that highlights the "alerts" keywords.  That's why extensions and mimetype are empty. -->-<language version="1.10" kateversion="2.3" name="Alerts_indent" section="Other" extensions="" mimetype="" author="Dominik Haumann (dhdev@gmx.de)" license="LGPL" hidden="true">+<language version="2" kateversion="2.4" name="Alerts_indent" section="Other" extensions="" mimetype="" author="Dominik Haumann (dhdev@gmx.de)" license="LGPL" hidden="true">   <highlighting>     <contexts>       <context attribute="Normal Text" lineEndContext="#pop" name="Normal Text" >
xml/apache.xml view
@@ -13,7 +13,7 @@ -->  <language name="Apache Configuration" section="Configuration"-          version="1.11" kateversion="2.0"+          version="2" kateversion="5.0"           extensions="httpd.conf;httpd2.conf;apache.conf;apache2.conf;.htaccess*;.htpasswd*"           mimetype=""           author="Jan Janssen (medhefgo@googlemail.com)" license="LGPL">@@ -609,14 +609,14 @@ <itemDatas>  <itemData name="Normal Text" defStyleNum="dsNormal" />  <itemData name="Comment" defStyleNum="dsComment" />- <itemData name="Directives" defStyleNum="dsOthers" color="#0000FF" selColor="#0000FF" bold="true" italic="false" />+ <itemData name="Directives" defStyleNum="dsExtension" bold="true" />  <itemData name="String" defStyleNum="dsString" />  <itemData name="Float" defStyleNum="dsFloat" />  <itemData name="Int" defStyleNum="dsFloat" />  <itemData name="Alternates" defStyleNum="dsKeyword" />  <itemData name="Alert" defStyleNum="dsError" />  <itemData name="Container" defStyleNum="dsFunction" />- <itemData name="Attribute" defStyleNum="dsOthers" />+ <itemData name="Attribute" defStyleNum="dsAttribute" />  <itemData name="Other" defStyleNum="dsChar" /> </itemDatas> </highlighting>
xml/asn1.xml view
@@ -13,7 +13,7 @@          You'll find the "Writing a Kate Highlighting XML File HOWTO" at http://kate.kde.org/doc/hlhowto.php -->-<language name="ASN.1" section="Markup" version="1.01" kateversion="2.3" extensions="*.asn;*.asn1" mimetype="" author="Philippe Rigault" license="GPL">+<language name="ASN.1" section="Markup" version="2" kateversion="2.3" extensions="*.asn;*.asn1" mimetype="" author="Philippe Rigault" license="GPL">   <highlighting>     <list name="keywords">       <item> DEFINITIONS </item>
xml/asp.xml view
@@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE  language SYSTEM "language.dtd">-<language name="ASP" version="1.04" kateversion="2.1" section="Markup" extensions="*.asp;" mimetype="text/x-asp-src;text/x-asp-src" author="Antonio Salazar (savedfastcool@gmail.com)" license="LGPL">+<language name="ASP" version="2" kateversion="5.0" section="Markup" extensions="*.asp;" mimetype="text/x-asp-src;text/x-asp-src" author="Antonio Salazar (savedfastcool@gmail.com)" license="LGPL">     <highlighting>         <list name="control structures">             <item>select</item>@@ -365,15 +365,15 @@             <itemData name="Normal Text" defStyleNum="dsNormal" />             <itemData name="ASP Text" defStyleNum="dsNormal" />             <itemData name="Keyword" defStyleNum="dsKeyword" />-            <itemData name="Function" defStyleNum="dsKeyword" color="#0000FF" selColor="#00ffff" bold="0" italic="0"/>+            <itemData name="Function" defStyleNum="dsFunction" />             <itemData name="Decimal" defStyleNum="dsDecVal" />             <itemData name="Octal" defStyleNum="dsBaseN" />             <itemData name="Hex" defStyleNum="dsBaseN" />             <itemData name="Float" defStyleNum="dsFloat" />             <itemData name="String" defStyleNum="dsString" />             <itemData name="Comment" defStyleNum="dsComment" />-            <itemData name="Variable" defStyleNum="dsKeyword" color="#5555FF" selColor="#ffffff" bold="0" italic="0" />-            <itemData name="Control Structures" defStyleNum="dsKeyword" color="#A1A100" selColor="#ffffff" bold="0" italic="0" />+            <itemData name="Variable" defStyleNum="dsVariable" />+            <itemData name="Control Structures" defStyleNum="dsControlFlow" bold="0" />             <itemData name="Escape Code" defStyleNum="dsKeyword" color="#0F0F8F" selColor="#ffffff" bold="1" italic="0" />             <itemData name="Other" defStyleNum="dsOthers" /> 
+ xml/ats.xml view
@@ -0,0 +1,255 @@+<?xml version="1.0" encoding="UTF-8"?>+<!DOCTYPE language SYSTEM "language.dtd"+[+<!-- Regular expresion constants: -->+<!ENTITY LETTER "A-Za-z\0300-\0326\0330-\0366\0370-\0377">          <!-- Latin-1 letters. -->+<!ENTITY IDENT  "[&LETTER;_][&LETTER;0-9_']*">                      <!-- ATS identifiers. -->+<!ENTITY ESC    "(\\[ntbr'&quot;\\]|\\[0-9]{3}|\\x[0-9A-Fa-f]{2})"> <!-- ATS character code escapes. -->+<!ENTITY DEC    "[0-9][0-9_]*">                                     <!-- Decimal digits with underscores. -->+]>+<language name="ATS" version="0.01" kateversion="2.4" section="Sources" extensions="*.dats;*.sats;*.hats" mimetype="" author="Kiwamu Okabe (kiwamu@debian.or.jp)" license="LGPL">+  <highlighting>+    <list name="keywords">+      <item> abstype </item>+      <item> abst0ype </item>+      <item> absprop </item>+      <item> absview </item>+      <item> absvtype </item>+      <item> absviewtype </item>+      <item> absvt0ype </item>+      <item> absviewt0ype </item>+      <item> and </item>+      <item> as </item>+      <item> assume </item>+      <item> begin </item>+      <item> break </item>+      <item> continue </item>+      <item> classdec </item>+      <item> datasort </item>+      <item> datatype </item>+      <item> dataprop </item>+      <item> dataview </item>+      <item> datavtype </item>+      <item> dataviewtype </item>+      <item> do </item>+      <item> dynload </item>+      <item> else </item>+      <item> end </item>+      <item> exception </item>+      <item> extern </item>+      <item> extype </item>+      <item> extval </item>+      <item> if </item>+      <item> in </item>+      <item> infix </item>+      <item> infixl </item>+      <item> infixr </item>+      <item> prefix </item>+      <item> postfix </item>+      <item> let </item>+      <item> local </item>+      <item> macdef </item>+      <item> macrodef </item>+      <item> nonfix </item>+      <item> overload </item>+      <item> of </item>+      <item> op </item>+      <item> rec </item>+      <item> scase </item>+      <item> sif </item>+      <item> sortdef </item>+      <item> sta </item>+      <item> stacst </item>+      <item> stadef </item>+      <item> stavar </item>+      <item> staload </item>+      <item> symelim </item>+      <item> symintr </item>+      <item> then </item>+      <item> try </item>+      <item> tkindef </item>+      <item> type </item>+      <item> typedef </item>+      <item> propdef </item>+      <item> viewdef </item>+      <item> vtypedef </item>+      <item> viewtypedef </item>+      <item> val </item>+      <item> prval </item>+      <item> var </item>+      <item> prvar </item>+      <item> when </item>+      <item> where </item>+      <item> for </item>+      <item> while </item>+      <item> with </item>+      <item> withtype </item>+      <item> withprop </item>+      <item> withview </item>+      <item> withvtype </item>+      <item> withviewtype </item>+    </list>+    <list name="special keywords">+      <item> $arrpsz </item>+      <item> $arrptrsize </item>+      <item> $delay </item>+      <item> $ldelay </item>+      <item> $effmask </item>+      <item> $effmask_ntm </item>+      <item> $effmask_exn </item>+      <item> $effmask_ref </item>+      <item> $effmask_wrt </item>+      <item> $effmask_all </item>+      <item> $extern </item>+      <item> $extkind </item>+      <item> $extype </item>+      <item> $extype_struct </item>+      <item> $extval </item>+      <item> $lst </item>+      <item> $lst_t </item>+      <item> $lst_vt </item>+      <item> $list </item>+      <item> $list_t </item>+      <item> $list_vt </item>+      <item> $rec </item>+      <item> $rec_t </item>+      <item> $rec_vt </item>+      <item> $record </item>+      <item> $record_t </item>+      <item> $record_vt </item>+      <item> $tup </item>+      <item> $tup_t </item>+      <item> $tup_vt </item>+      <item> $tuple </item>+      <item> $tuple_t </item>+      <item> $tuple_vt </item>+      <item> $raise </item>+      <item> $showtype </item>+      <item> $myfilename </item>+      <item> $mylocation </item>+      <item> $myfunction </item>+      <item> #assert </item>+      <item> #define </item>+      <item> #elif </item>+      <item> #elifdef </item>+      <item> #elifndef </item>+      <item> #else </item>+      <item> #endif </item>+      <item> #error </item>+      <item> #if </item>+      <item> #ifdef </item>+      <item> #ifndef </item>+      <item> #include </item>+      <item> #print </item>+      <item> #then </item>+      <item> #undef </item>+    </list>+    <list name="function keywords">+      <item> fn </item>+      <item> fnx </item>+      <item> fun </item>+      <item> prfn </item>+      <item> prfun </item>+      <item> praxi </item>+      <item> castfn </item>+      <item> implmnt </item>+      <item> implement </item>+      <item> primplmnt </item>+      <item> primplement </item>+      <item> lam </item>+      <item> llam </item>+      <item> fix </item>+    </list>+    <contexts>+      <context attribute="Normal Text" lineEndContext="#stay" name="Normal">+        <StringDetect attribute="Comment" context="Rest-of-file Comment" String="////" beginRegion="comment" />+        <Detect2Chars attribute="Comment" context="Multiline Comment" char="(" char1="*" beginRegion="comment" />+        <Detect2Chars attribute="Comment" context="Multiline C-style Comment" char="/" char1="*" beginRegion="Comment"/>+        <Detect2Chars attribute="Comment" context="Singleline C++ style Comment" char="/" char1="/"/>++        <Detect2Chars attribute="Termination Metrics" context="Termination Metrics Context" char="." char1="&lt;" />++        <RegExpr attribute="Constructor" context="#stay" String="`\s*&IDENT;"/>++        <!-- Identifiers and keywords. -->+        <keyword attribute="Keyword" context="#stay" String="keywords" />+        <keyword attribute="Function Keyword" context="Function Keyword Context" String="function keywords" />+        <keyword attribute="Special Keyword" context="#stay" String="special keywords" />+        <RegExpr attribute="Identifier" context="#stay" String="&IDENT;" />++        <!-- Numeric constants. -->+        <!-- Note that they may contain underscores. -->+        <RegExpr attribute="Hexadecimal" context="#stay" String="~?0[xX][0-9A-Fa-f_]+" />+        <RegExpr attribute="Float" context="#stay" String="~?&DEC;((\.(&DEC;)?([eE][-+]?&DEC;)?)|([eE][-+]?&DEC;))" />+        <RegExpr attribute="Decimal" context="#stay" String="~?&DEC;" />+      </context>++      <context attribute="Comment" lineEndContext="#stay" name="Rest-of-file Comment"/>+      <context attribute="Comment" lineEndContext="#stay" name="Multiline Comment">+        <!-- Support for nested comments -->+        <Detect2Chars attribute="Comment" context="#pop" char="*" char1=")" endRegion="comment" />+        <Detect2Chars attribute="Comment" context="Multiline Comment" char="(" char1="*" beginRegion="comment" />+      </context>+      <context attribute="Comment" lineEndContext="#stay" name="Multiline C-style Comment">+        <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment"/>+      </context>+      <context attribute="Comment" lineEndContext="#pop" name="Singleline C++ style Comment"/>++      <context attribute="String" lineEndContext="#stay" name="String Context">+        <DetectChar attribute="String" context="#pop" char="&quot;" />+        <RegExpr attribute="Escaped characters" context="#stay" String="&ESC;" />+        <!-- An underscore at the end of a line in a string indicates  -->+        <!-- that the string will continue on the next line.           -->+        <RegExpr attribute="Escaped characters" context="#stay" String="\\$" />+      </context>++      <context attribute="Termination Metrics" lineEndContext="#stay" name="Termination Metrics Context">+        <Detect2Chars attribute="Termination Metrics" context="#pop" char="&gt;" char1="." />+      </context>++      <context attribute="Normal text" lineEndContext="#stay" name="Function Keyword Context">+        <DetectChar attribute="Normal text" context="#pop" char="=" />+	<DetectChar attribute="Universal" context="Universal Context" char="{" />+	<DetectChar attribute="Existential" context="Existential Context" char="[" />+        <IncludeRules context="Normal"/>+      </context>++      <context attribute="Universal" lineEndContext="#stay" name="Universal Context">+        <DetectChar attribute="Universal" context="#pop" char="}" />+      </context>++      <context attribute="Existential" lineEndContext="#stay" name="Existential Context">+        <DetectChar attribute="Existential" context="#pop" char="]" />+      </context>+</contexts>++    <itemDatas>+      <itemData name="Normal Text" defStyleNum="dsNormal"/>+      <itemData name="Identifier" defStyleNum="dsNormal"/>+      <itemData name="Keyword"  defStyleNum="dsKeyword"/>+      <itemData name="Function Keyword"  defStyleNum="dsKeyword"/>+      <itemData name="Special Keyword"  defStyleNum="dsDataType"/>+      <itemData name="Termination Metrics" defStyleNum="dsDataType"/>+      <itemData name="Universal" defStyleNum="dsDataType"/>+      <itemData name="Existential" defStyleNum="dsDataType"/>+      <itemData name="Decimal"  defStyleNum="dsDecVal"/>+      <itemData name="Hexadecimal"  defStyleNum="dsBaseN"/>+      <itemData name="Float"  defStyleNum="dsFloat"/>+      <itemData name="Character"  defStyleNum="dsChar"/>+      <itemData name="String"  defStyleNum="dsString"/>+      <itemData name="Comment"  defStyleNum="dsComment"/>+      <itemData name="Constructor" defStyleNum="dsDataType"/>+    </itemDatas>+  </highlighting>++  <general>+    <keywords casesensitive="1" />+    <comments>+      <comment name="singleLine" start="//" />+      <comment name="multiLine" start="(*" end="*)" />+      <comment name="multiLine" start="/*" end="*/" />+      <comment name="multiLine" start="////" end="" />+    </comments>+  </general>+</language>+<!-- kate: space-indent on; indent-width 2; replace-tabs on; -->
xml/awk.xml view
@@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd">-<language name="AWK" version="0.93" kateversion="2.3" section="Scripts"+<language name="AWK" version="1" kateversion="5.0" section="Scripts"   extensions="*.awk" mimetype="text/x-awk" indenter="cstyle"   license="LGPL"> <!-- patched by igli#kate@irc:chat.freenode.net -->@@ -183,21 +183,21 @@     <itemDatas>       <itemData name="Normal"   defStyleNum="dsNormal"/>       <itemData name="Keyword"  defStyleNum="dsKeyword"/>-      <itemData name="Builtin"  defStyleNum="dsNormal" color="#CC8822"/>+      <itemData name="Builtin"  defStyleNum="dsBuiltIn"/>       <itemData name="Function" defStyleNum="dsFunction"/>       <itemData name="Decimal"  defStyleNum="dsDecVal"/>       <itemData name="Float"    defStyleNum="dsFloat"/>       <itemData name="String"   defStyleNum="dsString"/>       <itemData name="Comment"  defStyleNum="dsComment"/>-	<itemData name="Escape"   defStyleNum="dsString" color="#4A5704"/>-   <itemData name="Field"    defStyleNum="dsDataType"/>-	<itemData name="Error"    defStyleNum="dsError"/>-	<itemData name="Special"  defStyleNum="dsKeyword" color="#FF9225" bold="0"/>-	<itemData name="Operator"    defStyleNum="dsNormal" color="#FF80E0"/>-	<itemData name="Regex"       defStyleNum="dsString" color="#4A5704"/>-	<itemData name="Regex Op"    defStyleNum="dsOthers" color="#FF80E0"/>-	<itemData name="CharClass"   defStyleNum="dsString" color="#008080"/>-	<itemData name="Custom"      defStyleNum="dsString" color="#449944"/>+      <itemData name="Escape"   defStyleNum="dsSpecialChar"/>+      <itemData name="Field"    defStyleNum="dsDataType"/>+      <itemData name="Error"    defStyleNum="dsError"/>+      <itemData name="Special"  defStyleNum="dsControlFlow" bold="0"/>+      <itemData name="Operator" defStyleNum="dsOperator"/>+      <itemData name="Regex"    defStyleNum="dsSpecialString"/>+      <itemData name="Regex Op" defStyleNum="dsOthers"/>+      <itemData name="CharClass" defStyleNum="dsExtension"/>+      <itemData name="Custom"   defStyleNum="dsOthers" />     </itemDatas>   </highlighting>   <general>
xml/bash.xml view
@@ -8,7 +8,7 @@         <!ENTITY noword   "(?![\w$+-])">                <!-- no word, $, + or - following -->         <!ENTITY pathpart "([\w_@.&#37;*?+-]|\\ )">     <!-- valid character in a file name --> ]>-<language name="Bash" version="2.17" kateversion="2.4" section="Scripts" extensions="*.sh;*.bash;*.ebuild;*.eclass;.bashrc;.bash_profile;.bash_login;.profile" mimetype="application/x-shellscript" casesensitive="1" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL">+<language name="Bash" version="3" kateversion="5.0" section="Scripts" extensions="*.sh;*.bash;*.ebuild;*.eclass;*.nix;.bashrc;.bash_profile;.bash_login;.profile" mimetype="application/x-shellscript" casesensitive="1" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL">  <!-- (c) 2004 by Wilbert Berendsen (wilbert@kde.nl)     Changes by Matthew Woehlke (mw_triad@users.sourceforge.net)@@ -312,6 +312,14 @@       <item> gawk </item>       <item> gc </item>       <item> gcc </item>+      <item> clang </item>+      <item> valgrind </item>+      <item> xdg-open </item>+      <item> cmake </item>+      <item> qmake </item>+      <item> svn </item>+      <item> git </item>+      <item> rsync </item>       <item> gdb </item>       <item> getent </item>       <item> getopt </item>@@ -550,7 +558,7 @@         <RegExpr attribute="Redirection" context="#stay" String="([0-9]*(&gt;{1,2}|&lt;)(&amp;[0-9]+-?)?|&amp;&gt;|&gt;&amp;|[0-9]*&lt;&gt;)" />         <!-- handle &, &&, | and || -->         <RegExpr attribute="Control" context="#stay" String="([|&amp;])\1?" />-      </context>      +      </context>       <context attribute="Normal Text" lineEndContext="#stay" name="FindNormalCommands">         <keyword attribute="Builtin" context="CommandArgs" String="builtins" />         <keyword attribute="Command" context="CommandArgs" String="unixcommands" />@@ -559,11 +567,11 @@         <RegExpr attribute="OtherCommand" context="#stay" String="/&pathpart;*(?=([/);$`'&quot;]|$))" />         <RegExpr attribute="OtherCommand" context="CommandArgs" String="/&pathpart;*(?=([\s);$`'&quot;]|$))" />         <!-- This list is not complete. ie, ":" is missing but as it is in bash completition. -->-        <RegExpr attribute="OtherCommand" context="CommandArgs" String="&pathpart;*" />        +        <RegExpr attribute="OtherCommand" context="CommandArgs" String="&pathpart;*" />       </context>-      +       <!-- CommandArgs matches the items after a command -->-      <context attribute="Normal Text" lineEndContext="#pop" name="CommandArgs">  +      <context attribute="Normal Text" lineEndContext="#pop" name="CommandArgs">         <LineContinue />         <IncludeRules context="FindMost" />         <RegExpr attribute="Keyword" context="#stay" String="\\$" />@@ -578,12 +586,12 @@         <!-- handle redirection -->         <RegExpr attribute="Redirection" context="#stay" String="([0-9]*(&gt;{1,2}|&lt;)(&amp;[0-9]+-?)?|&amp;&gt;|&gt;&amp;|[0-9]*&lt;&gt;)" />         <!-- handle &, &&, | and || -->-        <RegExpr attribute="Control" context="#pop" String="([|&amp;;])\1?" />        +        <RegExpr attribute="Control" context="#pop" String="([|&amp;;])\1?" />         <RegExpr attribute="Option" context="#stay" String="-?-[a-z][A-Za-z0-9_-]*" />         <keyword attribute="Option" context="#stay" String="keywords" />         <AnyChar String=")}" context="#pop" lookAhead="true"/>       </context>-      +       <!-- FindCommands matches many items that can be expected outside strings, substitutions etc, when inside a Backquote -->       <context attribute="Normal Text" lineEndContext="#stay" name="FindCommandsBackq">         <IncludeRules context="FindSpecialCommands" />@@ -598,12 +606,12 @@         <RegExpr attribute="OtherCommand" context="CommandArgsBackq" String="/&pathpart;*(?=([\s);$`'&quot;]|$))" />         <RegExpr attribute="OtherCommand" context="CommandArgsBackq" String="&pathpart;*" />       </context>-      <context attribute="Normal Text" lineEndContext="#pop" name="CommandArgsBackq"> +      <context attribute="Normal Text" lineEndContext="#pop" name="CommandArgsBackq">         <LineContinue />         <DetectChar attribute="Keyword" context="#pop" char="`" lookAhead="true"/>         <IncludeRules context="CommandArgs" />       </context>-          +       <!-- FindOthers contains various rules to mark different shell input -->       <context attribute="Normal Text" lineEndContext="#stay" name="FindOthers">         <RegExpr attribute="Escape" context="#stay" String="\\[][;\\$`{}()|&amp;&lt;&gt;* ]" />@@ -929,17 +937,17 @@       <itemData name="Comment"		defStyleNum="dsComment" />       <itemData name="Keyword"		defStyleNum="dsKeyword" />       <itemData name="Control"		defStyleNum="dsKeyword" />-      <itemData name="Builtin"		defStyleNum="dsKeyword" color="#808" />-      <itemData name="Command"		defStyleNum="dsKeyword" color="#c0c" />-      <itemData name="OtherCommand"	defStyleNum="dsKeyword" color="#303" />-      <itemData name="Redirection"	defStyleNum="dsKeyword" color="#238" />+      <itemData name="Builtin"		defStyleNum="dsBuiltIn" />+      <itemData name="Command"		defStyleNum="dsFunction" />+      <itemData name="OtherCommand"	defStyleNum="dsExtension" />+      <itemData name="Redirection"	defStyleNum="dsOperator" />       <itemData name="Escape"		defStyleNum="dsDataType" />       <itemData name="String SingleQ"	defStyleNum="dsString" />       <itemData name="String DoubleQ"	defStyleNum="dsString" />       <itemData name="Backquote"	defStyleNum="dsKeyword" />       <itemData name="String Transl."	defStyleNum="dsString" />       <itemData name="String Escape"	defStyleNum="dsDataType" />-      <itemData name="Variable" 	defStyleNum="dsOthers" />+      <itemData name="Variable" 	defStyleNum="dsVariable" />       <itemData name="Expression"	defStyleNum="dsOthers" />       <itemData name="Function" 	defStyleNum="dsFunction" />       <itemData name="Path"		defStyleNum="dsNormal" />
xml/bibtex.xml view
@@ -6,7 +6,7 @@ 	  <!ENTITY latexCmd	  	"\\([a-zA-Z@]+|[^ ])"> 	  <!ENTITY refKeyFormat  	"[a-zA-Z0-9_@\\-\\:]+"> <!--taken from kile 2.0.3--> 	  ]>-<language name="BibTeX" version="1.17" kateversion="2.3" extensions="*.bib" section="Markup" mimetype="text/x-bib" casesensitive="1" author="Jeroen Wijnhout (Jeroen.Wijnhout@kdemail.net)+Thomas Braun (thomas.braun@virtuell-zuhause.de)" license="LGPL">+<language name="BibTeX" version="2" kateversion="5.0" extensions="*.bib" section="Markup" mimetype="text/x-bib" casesensitive="1" author="Jeroen Wijnhout (Jeroen.Wijnhout@kdemail.net)+Thomas Braun (thomas.braun@virtuell-zuhause.de)" license="LGPL">   <highlighting>     <list name="kw_entry">       <item>@article</item> @@ -92,13 +92,13 @@      <itemDatas>       <itemData name="Normal Text" defStyleNum="dsNormal"/>-      <itemData name="Entry" defStyleNum="dsKeyword" color="#0000ff" spellChecking="false"/>+      <itemData name="Entry" defStyleNum="dsVariable" spellChecking="false"/>       <itemData name="Command" defStyleNum="dsFunction" spellChecking="false"/>       <itemData name="Field" defStyleNum="dsDataType" spellChecking="false"/>       <itemData name="Ref Key" defStyleNum="dsOthers" spellChecking="false"/>       <itemData name="LatexCommand" defStyleNum="dsChar" spellChecking="false"/>       <itemData name="Comment" defStyleNum="dsComment" spellChecking="false"/>-      <itemData name="Error" defStyleNum="dsAlert" spellChecking="false"/>+      <itemData name="Error" defStyleNum="dsError" spellChecking="false"/>       <itemData name="String" defStyleNum="dsString" spellChecking="true"/> </itemDatas>   </highlighting>
xml/boo.xml view
@@ -2,7 +2,7 @@ <!DOCTYPE language> <!-- Based on Python syntax highlighting v1.99 by Primoz Anzur, Paul Giannaros, Michael Bueker, Per Wigren --> <!-- Also based on boo.lang from gtksourceview -->-<language name="Boo" version="0.91" kateversion="3.2" section="Sources" extensions="*.boo" mimetype="text/x-boo" casesensitive="1" author="Marc Dassonneville" license="LGPL">+<language name="Boo" version="1" kateversion="5.0" section="Sources" extensions="*.boo" mimetype="text/x-boo" casesensitive="1" author="Marc Dassonneville" license="LGPL"> 	<highlighting> 		<list name="namespace"> 			<item>import</item>@@ -282,7 +282,7 @@ 			<itemData name="Normal Text" defStyleNum="dsNormal"/> 			<itemData name="Definition Keyword" defStyleNum="dsKeyword"/> 			<itemData name="Data Type" defStyleNum="dsDataType"/>-			<itemData name="Operator" defStyleNum="dsNormal" color="#000077"/>+			<itemData name="Operator" defStyleNum="dsOperator" /> 			<itemData name="String Substitution" defStyleNum="dsNormal"/> 			<itemData name="Flow Control Keyword" defStyleNum="dsKeyword"/> 			<itemData name="Builtin Function" defStyleNum="dsDataType"/>
xml/c.xml view
@@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> <language name="C" section="Sources"-          version="1.45" kateversion="2.4"+          version="2" kateversion="5.0"           indenter="cstyle"           extensions="*.c;*.C;*.h"           mimetype="text/x-csrc;text/x-c++src;text/x-chdr"@@ -14,26 +14,28 @@ ########################################################################## -->   <highlighting>-    <list name="keywords">+    <list name="controlflow">       <item> break </item>       <item> case </item>       <item> continue </item>       <item> default </item>       <item> do </item>       <item> else </item>-      <item> enum </item>-      <item> extern </item>       <item> for </item>       <item> goto </item>       <item> if </item>-      <item> inline </item>       <item> return </item>+      <item> switch </item>+      <item> while </item>+    </list>+    <list name="keywords">+      <item> enum </item>+      <item> extern </item>+      <item> inline </item>       <item> sizeof </item>       <item> struct </item>-      <item> switch </item>       <item> typedef </item>       <item> union </item>-      <item> while </item>     </list>     <list name="types">       <item> auto </item>@@ -59,7 +61,32 @@       <item> uint16_t </item>       <item> uint32_t </item>       <item> uint64_t </item>+      <item> int_least8_t </item>+      <item> int_least16_t </item>+      <item> int_least32_t </item>+      <item> int_least64_t </item>+      <item> uint_least8_t </item>+      <item> uint_least16_t </item>+      <item> uint_least32_t </item>+      <item> uint_least64_t </item>+      <item> int_fast8_t </item>+      <item> int_fast16_t </item>+      <item> int_fast32_t </item>+      <item> int_fast64_t </item>+      <item> uint_fast8_t </item>+      <item> uint_fast16_t </item>+      <item> uint_fast32_t </item>+      <item> uint_fast64_t </item>+      <item> size_t </item>+      <item> ssize_t </item>       <item> wchar_t </item>+      <item> intptr_t </item>+      <item> uintptr_t </item>+      <item> intmax_t </item>+      <item> uintmax_t </item>+      <item> ptrdiff_t </item>+      <item> sig_atomic_t </item>+      <item> wint_t </item>       <item> _Imaginary </item>       <item> _Complex </item>       <item> _Bool </item>@@ -71,6 +98,7 @@         <DetectChar context="AfterHash" char="#" firstNonSpace="true" lookAhead="true" />         <StringDetect attribute="Region Marker" context="Region Marker" String="//BEGIN" beginRegion="Region1" firstNonSpace="true" />         <StringDetect attribute="Region Marker" context="Region Marker" String="//END" endRegion="Region1" firstNonSpace="true" />+        <keyword attribute="Control Flow" context="#stay" String="controlflow"/>         <keyword attribute="Keyword" context="#stay" String="keywords"/>         <keyword attribute="Data Type" context="#stay" String="types"/>         <DetectIdentifier />@@ -120,7 +148,9 @@       </context>        <context attribute="Error" lineEndContext="#pop" name="AfterHash">-        <!-- define, elif, else, endif, error, if, ifdef, ifndef, include, include_next, line, pragma, undef, warning -->+        <RegExpr attribute="Preprocessor" context="Include" String="#\s*(?:include|include_next)" insensitive="true" firstNonSpace="true" />++        <!-- define, elif, else, endif, error, if, ifdef, ifndef, line, pragma, undef, warning -->         <RegExpr attribute="Preprocessor" context="Preprocessor" String="#\s*if(?:def|ndef)?(?=\s+\S)" insensitive="true" beginRegion="PP" firstNonSpace="true" />         <RegExpr attribute="Preprocessor" context="Preprocessor" String="#\s*endif" insensitive="true" endRegion="PP" firstNonSpace="true" />         <RegExpr attribute="Preprocessor" context="Define" String="#\s*define.*((?=\\))" insensitive="true" firstNonSpace="true" />@@ -128,15 +158,20 @@         <!-- folding for apple style #pragma mark - label -->         <RegExpr attribute="Preprocessor" context="Preprocessor" String="#\s*pragma\s+mark\s+-\s*$" insensitive="true" firstNonSpace="true" endRegion="pragma_mark" />         <RegExpr attribute="Preprocessor" context="Preprocessor" String="#\s*pragma\s+mark" insensitive="true" firstNonSpace="true" endRegion="pragma_mark" beginRegion="pragma_mark" />-        -        <RegExpr attribute="Preprocessor" context="Preprocessor" String="#\s*(?:el(?:se|if)|include(?:_next)?|define|undef|line|error|warning|pragma)" insensitive="true" firstNonSpace="true" />++        <RegExpr attribute="Preprocessor" context="Preprocessor" String="#\s*(?:el(?:se|if)|define|undef|line|error|warning|pragma)" insensitive="true" firstNonSpace="true" />         <RegExpr attribute="Preprocessor" context="Preprocessor" String="#\s+[0-9]+" insensitive="true" firstNonSpace="true" />       </context> -      <context attribute="Preprocessor" lineEndContext="#pop" name="Preprocessor">+      <context attribute="Preprocessor" lineEndContext="#pop" name="Include">         <LineContinue attribute="Preprocessor" context="#stay"/>         <RangeDetect attribute="Prep. Lib" context="#stay" char="&quot;" char1="&quot;"/>         <RangeDetect attribute="Prep. Lib" context="#stay" char="&lt;" char1="&gt;"/>+        <IncludeRules context="Preprocessor" />+      </context>++      <context attribute="Preprocessor" lineEndContext="#pop" name="Preprocessor">+        <LineContinue attribute="Preprocessor" context="#stay"/>         <IncludeRules context="##Doxygen" />         <Detect2Chars attribute="Comment" context="Commentar/Preprocessor" char="/" char1="*" beginRegion="Comment2" />         <Detect2Chars attribute="Comment" context="Commentar 1" char="/" char1="/" />@@ -177,6 +212,7 @@     </contexts>     <itemDatas>       <itemData name="Normal Text"  defStyleNum="dsNormal" spellChecking="false"/>+      <itemData name="Control Flow" defStyleNum="dsControlFlow" spellChecking="false"/>       <itemData name="Keyword"      defStyleNum="dsKeyword" spellChecking="false"/>       <itemData name="Data Type"    defStyleNum="dsDataType" spellChecking="false"/>       <itemData name="Decimal"      defStyleNum="dsDecVal" spellChecking="false"/>@@ -186,11 +222,11 @@       <itemData name="Float"        defStyleNum="dsFloat" spellChecking="false"/>       <itemData name="Char"         defStyleNum="dsChar" spellChecking="false"/>       <itemData name="String"       defStyleNum="dsString"/>-      <itemData name="String Char"  defStyleNum="dsChar"/>+      <itemData name="String Char"  defStyleNum="dsSpecialChar"/>       <itemData name="Comment"      defStyleNum="dsComment"/>       <itemData name="Symbol"       defStyleNum="dsNormal" spellChecking="false"/>-      <itemData name="Preprocessor" defStyleNum="dsOthers" spellChecking="false"/>-      <itemData name="Prep. Lib"    defStyleNum="dsOthers" spellChecking="false"/> <!--,Qt::darkYellow,Qt::yellow,false,false)); -->+      <itemData name="Preprocessor" defStyleNum="dsPreprocessor" spellChecking="false"/>+      <itemData name="Prep. Lib"    defStyleNum="dsImport" spellChecking="false"/>       <itemData name="Alert"        defStyleNum="dsAlert" spellChecking="false"/>       <itemData name="Region Marker" defStyleNum="dsRegionMarker" spellChecking="false"/>       <itemData name="Error"        defStyleNum="dsError" spellChecking="false"/>
xml/changelog.xml view
@@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd">-<language name="ChangeLog" version="1.04" kateversion="2.4" section="Other" extensions="ChangeLog" mimetype="" author="Dominik Haumann (dhdev@gmx.de)" license="LGPL">+<language name="ChangeLog" version="2" kateversion="2.4" section="Other" extensions="ChangeLog" mimetype="" author="Dominik Haumann (dhdev@gmx.de)" license="LGPL">   <highlighting>     <contexts>       <context attribute="Normal Text" lineEndContext="#stay" name="Normal">
xml/clojure.xml view
@@ -2,7 +2,7 @@ <!DOCTYPE language SYSTEM "language.dtd"> <!--   This file is part of KDE's kate project.-  +   copyright   : (C) 2004 by Dominik Haumann, (C) 2011 by Caspar Hasenclever   **********************************************************************@@ -18,11 +18,11 @@  *                                                                    *  * You should have received a copy of the GNU Library General Public  *  * License along with this library; if not, write to the              *- * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,       *+ * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,   *  * Boston, MA  02110-1301, USA.                                       *  **********************************************************************  -->-<language version="2" kateversion="2.3" name="Clojure" section="Sources" extensions="*.clj" mimetype="" author="Dominik Haumann [lisp] modified for clojure by Caspar Hasenclever" license="LGPL">+<language version="4" kateversion="5.0" name="Clojure" section="Sources" extensions="*.clj;*.cljs" mimetype="" author="Dominik Haumann [lisp] modified for clojure by Caspar Hasenclever" license="LGPL">   <highlighting>     <list name="definitions">       <item> def </item>@@ -763,11 +763,11 @@     <itemDatas>       <itemData name="Normal" defStyleNum="dsNormal"/>       <itemData name="Keyword" defStyleNum="dsKeyword"/>-      <itemData name="Operator" defStyleNum="dsKeyword" color="#d22811"/>-      <itemData name="Modifier" defStyleNum="dsKeyword" color="#800000"/>-      <itemData name="Modifier2" defStyleNum="dsKeyword" color="#555555"/>-      <itemData name="Variable" defStyleNum="dsKeyword" color="#b07e1f"/>-      <itemData name="Definition" defStyleNum="dsKeyword" color="#d22811"/>+      <itemData name="Operator" defStyleNum="dsOperator"/>+      <itemData name="Modifier" defStyleNum="dsAttribute"/>+      <itemData name="Modifier2" defStyleNum="dsAttribute"/>+      <itemData name="Variable" defStyleNum="dsVariable" />+      <itemData name="Definition" defStyleNum="dsBuiltIn"/>       <itemData name="Data" defStyleNum="dsDataType"/>       <itemData name="Decimal" defStyleNum="dsDecVal"/>       <itemData name="BaseN" defStyleNum="dsBaseN"/>
xml/cmake.xml view
@@ -6,7 +6,7 @@   Copyright 2004 Alexander Neundorf (neundorf@kde.org)   Copyright 2005 Dominik Haumann (dhdev@gmx.de)   Copyright 2007,2008,2013,2014 Matthew Woehlke (mw_triad@users.sourceforge.net)-  Copyright 2013,2014 Alex Turbov (i.zaufi@gmail.com)+  Copyright 2013,2014,2015 Alex Turbov (i.zaufi@gmail.com)   **********************************************************************  * This library is free software; you can redistribute it and/or      *@@ -25,11 +25,11 @@  * Boston, MA  02110-1301, USA.                                       *  **********************************************************************  -->-<!-- generated for "cmake version 2.8.12.1" -->+<!-- generated for "cmake version 2.8.12.1, 3.0.2, 3.1.2 and 3.3.0" --> <language     name="CMake"-    version="1.30"-    kateversion="2.4"+    version="2"+    kateversion="5.0"     section="Other"     extensions="CMakeLists.txt;*.cmake;*.cmake.in"     style="CMake"@@ -59,7 +59,21 @@       <item> cmake_minimum_required </item>       <item> cmake_policy </item>       <item> configure_file </item>+      <item> continue </item>       <item> create_test_sourcelist </item>+      <item> ctest_build </item>+      <item> ctest_configure </item>+      <item> ctest_coverage </item>+      <item> ctest_empty_binary_directory </item>+      <item> ctest_memcheck </item>+      <item> ctest_read_custom_files </item>+      <item> ctest_run_script </item>+      <item> ctest_sleep </item>+      <item> ctest_start </item>+      <item> ctest_submit </item>+      <item> ctest_test </item>+      <item> ctest_update </item>+      <item> ctest_upload </item>       <item> define_property </item>       <item> else </item>       <item> elseif </item>@@ -130,9 +144,11 @@       <item> subdir_depends </item>       <item> subdirs </item>       <item> target_compile_definitions </item>+      <item> target_compile_features </item>       <item> target_compile_options </item>       <item> target_include_directories </item>       <item> target_link_libraries </item>+      <item> target_sources </item>       <item> try_compile </item>       <item> try_run </item>       <item> unset </item>@@ -161,6 +177,7 @@       <item> ALPHABET </item>       <item> AND </item>       <item> APPEND </item>+      <item> APPENDNUMBER_ERRORS </item>       <item> APPEND_STRING </item>       <item> ARCHIVE </item>       <item> ARGS </item>@@ -168,9 +185,13 @@       <item> AUTHOR_WARNING </item>       <item> BEFORE </item>       <item> BRIEF_DOCS </item>+      <item> BUILD </item>       <item> BUNDLE </item>+      <item> BYPRODUCTS </item>       <item> CACHE </item>       <item> CACHED_VARIABLE </item>+      <item> CDASH_UPLOAD </item>+      <item> CDASH_UPLOAD_TYPE </item>       <item> CLEAR </item>       <item> CMAKE_FIND_ROOT_PATH_BOTH </item>       <item> CMAKE_FLAGS </item>@@ -184,6 +205,7 @@       <item> COMPILE_RESULT_VAR </item>       <item> COMPONENT </item>       <item> COMPONENTS </item>+      <item> CONCAT </item>       <item> CONDITION </item>       <item> CONFIG </item>       <item> CONFIGS </item>@@ -206,6 +228,7 @@       <item> DOS </item>       <item> DOWNLOAD </item>       <item> ENV </item>+      <item> END </item>       <item> EQUAL </item>       <item> ERROR_FILE </item>       <item> ERROR_QUIET </item>@@ -215,6 +238,7 @@       <item> EXACT </item>       <item> EXCLUDE </item>       <item> EXCLUDE_FROM_ALL </item>+      <item> EXCLUDE_LABEL </item>       <item> EXISTS </item>       <item> EXPECTED_HASH </item>       <item> EXPECTED_MD5 </item>@@ -228,12 +252,14 @@       <item> FILES_MATCHING </item>       <item> FILE_PERMISSIONS </item>       <item> FIND </item>+      <item> FLAGS </item>       <item> FOLLOW_SYMLINKS </item>       <item> FORCE </item>       <item> FRAMEWORK </item>       <item> FULL_DOCS </item>       <item> FUNCTION </item>       <item> GENERATE </item>+      <item> GENEX_STRIP </item>       <item> GET </item>       <item> GLOB </item>       <item> GLOBAL </item>@@ -241,6 +267,7 @@       <item> GREATER </item>       <item> GROUP_EXECUTE </item>       <item> GROUP_READ </item>+      <item> GUARD </item>       <item> GUID </item>       <item> HEX </item>       <item> HINTS </item>@@ -248,8 +275,10 @@       <item> IMPORTED </item>       <item> IN </item>       <item> INACTIVITY_TIMEOUT </item>+      <item> INCLUDE </item>       <item> INCLUDES </item>       <item> INCLUDE_INTERNALS </item>+      <item> INCLUDE_LABEL </item>       <item> INHERITED </item>       <item> INPUT </item>       <item> INPUT_FILE </item>@@ -261,6 +290,8 @@       <item> IS_NEWER_THAN </item>       <item> IS_SYMLINK </item>       <item> ITEMS </item>+      <item> LABELS </item>+      <item> LANGUAGES </item>       <item> LENGTH </item>       <item> LENGTH_MAXIMUM </item>       <item> LENGTH_MINIMUM </item>@@ -276,6 +307,8 @@       <item> LINK_PRIVATE </item>       <item> LINK_PUBLIC </item>       <item> LISTS </item>+      <item> LIST_DIRECTORIES </item>+      <item> LOCK </item>       <item> LOG </item>       <item> MACOSX_BUNDLE </item>       <item> MAIN_DEPENDENCY </item>@@ -285,6 +318,7 @@       <item> MATCHALL </item>       <item> MATCHES </item>       <item> MD5 </item>+      <item> MESSAGE_NEVER </item>       <item> MODULE </item>       <item> NAME </item>       <item> NAMELINK_ONLY </item>@@ -295,6 +329,7 @@       <item> NEW </item>       <item> NEWLINE_CONSUME </item>       <item> NEWLINE_STYLE </item>+      <item> NEW_PROCESS </item>       <item> NOT </item>       <item> NOTEQUAL </item>       <item> NO_CMAKE_BUILDS_PATH </item>@@ -310,12 +345,17 @@       <item> NO_POLICY_SCOPE </item>       <item> NO_SOURCE_PERMISSIONS </item>       <item> NO_SYSTEM_ENVIRONMENT_PATH </item>+      <item> NUMBER_ERRORS </item>+      <item> NUMBER_WARNINGS </item>       <item> OBJECT </item>+      <item> OFF </item>       <item> OFFSET </item>       <item> OLD </item>+      <item> ON </item>       <item> ONLY_CMAKE_FIND_ROOT_PATH </item>       <item> OPTIONAL </item>       <item> OPTIONAL_COMPONENTS </item>+      <item> OPTIONS </item>       <item> OR </item>       <item> OUTPUT </item>       <item> OUTPUT_DIRECTORY </item>@@ -327,7 +367,9 @@       <item> OWNER_READ </item>       <item> OWNER_WRITE </item>       <item> PACKAGE </item>+      <item> PARALLEL_LEVEL </item>       <item> PARENT_SCOPE </item>+      <item> PARTS </item>       <item> PATHS </item>       <item> PATH_SUFFIXES </item>       <item> PATH_TO_MESA </item>@@ -342,6 +384,7 @@       <item> PRE_LINK </item>       <item> PRIVATE </item>       <item> PRIVATE_HEADER </item>+      <item> PROCESS </item>       <item> PROGRAM </item>       <item> PROGRAMS </item>       <item> PROGRAM_ARGS </item>@@ -362,6 +405,7 @@       <item> REGULAR_EXPRESSION </item>       <item> RELATIVE </item>       <item> RELATIVE_PATH </item>+      <item> RELEASE </item>       <item> REMOVE </item>       <item> REMOVE_AT </item>       <item> REMOVE_DUPLICATES </item>@@ -376,12 +420,15 @@       <item> RESULT </item>       <item> RESULT_VAR </item>       <item> RESULT_VARIABLE </item>+      <item> RETRY_COUNT </item>+      <item> RETRY_DELAY </item>       <item> RETURN_VALUE </item>       <item> REVERSE </item>       <item> RUNTIME </item>       <item> RUNTIME_DIRECTORY </item>       <item> RUN_OUTPUT_VARIABLE </item>       <item> RUN_RESULT_VAR </item>+      <item> SCHEDULE_RANDOM </item>       <item> SCRIPT </item>       <item> SEND_ERROR </item>       <item> SET </item>@@ -395,10 +442,13 @@       <item> SORT </item>       <item> SOURCE </item>       <item> SOURCES </item>+      <item> START </item>       <item> STATIC </item>       <item> STATUS </item>       <item> STREQUAL </item>       <item> STRGREATER </item>+      <item> STOP_TIME </item>+      <item> STRIDE </item>       <item> STRINGS </item>       <item> STRIP </item>       <item> STRLESS </item>@@ -416,13 +466,17 @@       <item> TOUPPER </item>       <item> TO_CMAKE_PATH </item>       <item> TO_NATIVE_PATH </item>+      <item> TRACK </item>       <item> TYPE </item>       <item> UNIX </item>       <item> UNIX_COMMAND </item>       <item> UNKNOWN </item>       <item> UPLOAD </item>+      <item> UPPER </item>+      <item> USES_TERMINAL </item>       <item> USE_SOURCE_PERMISSIONS </item>       <item> UTC </item>+      <item> UUID </item>       <item> VALUE </item>       <item> VARIABLE </item>       <item> VERBATIM </item>@@ -461,6 +515,8 @@       <item> AVAILABLE_VIRTUAL_MEMORY </item>       <item> TOTAL_PHYSICAL_MEMORY </item>       <item> AVAILABLE_PHYSICAL_MEMORY </item>+      <!-- Since CMake 3.3 -->+      <item> IN_LIST </item>     </list>      <!-- ATTENTION Do not change the list name! Or change a generation script accordingly -->@@ -471,30 +527,61 @@       <item> ADVANCED </item>       <item> ALIASED_TARGET </item>       <item> ALLOW_DUPLICATE_CUSTOM_TARGETS </item>+      <item> ANDROID_API </item>+      <item> ANDROID_API_MIN </item>+      <item> ANDROID_GUI </item>       <item> ARCHIVE_OUTPUT_DIRECTORY </item>       <item> ARCHIVE_OUTPUT_NAME </item>       <item> ATTACHED_FILES </item>       <item> ATTACHED_FILES_ON_FAIL </item>+      <item> AUTOGEN_TARGETS_FOLDER </item>+      <item> AUTOGEN_TARGET_DEPENDS </item>       <item> AUTOMOC </item>       <item> AUTOMOC_MOC_OPTIONS </item>       <item> AUTOMOC_TARGETS_FOLDER </item>+      <item> AUTORCC </item>+      <item> AUTORCC_OPTIONS </item>+      <item> AUTOUIC </item>+      <item> AUTOUIC_OPTIONS </item>       <item> BUILD_WITH_INSTALL_RPATH </item>       <item> BUNDLE </item>       <item> BUNDLE_EXTENSION </item>       <item> CACHE_VARIABLES </item>       <item> CLEAN_NO_CUSTOM </item>+      <item> CMAKE_CONFIGURE_DEPENDS </item>+      <item> CMAKE_CXX_KNOWN_FEATURES </item>+      <item> CMAKE_C_KNOWN_FEATURES </item>       <item> COMPATIBLE_INTERFACE_BOOL </item>+      <item> COMPATIBLE_INTERFACE_NUMBER_MAX </item>+      <item> COMPATIBLE_INTERFACE_NUMBER_MIN </item>       <item> COMPATIBLE_INTERFACE_STRING </item>       <item> COMPILE_DEFINITIONS </item>+      <item> COMPILE_FEATURES </item>       <item> COMPILE_FLAGS </item>       <item> COMPILE_OPTIONS </item>+      <item> COMPILE_PDB_NAME </item>+      <item> COMPILE_PDB_OUTPUT_DIRECTORY </item>       <item> COST </item>+      <item> CPACK_DESKTOP_SHORTCUTS </item>+      <item> CPACK_NEVER_OVERWRITE </item>+      <item> CPACK_PERMANENT </item>+      <item> CPACK_STARTUP_SHORTCUTS </item>+      <item> CPACK_START_MENU_SHORTCUTS </item>+      <item> CPACK_WIX_ACL </item>+      <item> CROSSCOMPILING_EMULATOR </item>+      <item> CXX_EXTENSIONS </item>+      <item> CXX_STANDARD </item>+      <item> CXX_STANDARD_REQUIRED </item>+      <item> C_EXTENSIONS </item>+      <item> C_STANDARD </item>+      <item> C_STANDARD_REQUIRED </item>       <item> DEBUG_CONFIGURATIONS </item>       <item> DEBUG_POSTFIX </item>       <item> DEFINE_SYMBOL </item>       <item> DEFINITIONS </item>       <item> DEPENDS </item>       <item> DISABLED_FEATURES </item>+      <item> ECLIPSE_EXTRA_NATURES </item>       <item> ENABLED_FEATURES </item>       <item> ENABLED_LANGUAGES </item>       <item> ENABLE_EXPORTS </item>@@ -537,14 +624,20 @@       <item> INSTALL_NAME_DIR </item>       <item> INSTALL_RPATH </item>       <item> INSTALL_RPATH_USE_LINK_PATH </item>+      <item> INTERFACE_AUTOUIC_OPTIONS </item>       <item> INTERFACE_COMPILE_DEFINITIONS </item>+      <item> INTERFACE_COMPILE_FEATURES </item>       <item> INTERFACE_COMPILE_OPTIONS </item>       <item> INTERFACE_INCLUDE_DIRECTORIES </item>       <item> INTERFACE_LINK_LIBRARIES </item>       <item> INTERFACE_POSITION_INDEPENDENT_CODE </item>+      <item> INTERFACE_SOURCES </item>       <item> INTERFACE_SYSTEM_INCLUDE_DIRECTORIES </item>       <item> INTERPROCEDURAL_OPTIMIZATION </item>       <item> IN_TRY_COMPILE </item>+      <item> JOB_POOLS </item>+      <item> JOB_POOL_COMPILE </item>+      <item> JOB_POOL_LINK </item>       <item> KEEP_EXTENSION </item>       <item> LABELS </item>       <item> LANGUAGE </item>@@ -572,6 +665,7 @@       <item> MODIFIED </item>       <item> NAME </item>       <item> NO_SONAME </item>+      <item> NO_SYSTEM_FROM_IMPORTED </item>       <item> OBJECT_DEPENDS </item>       <item> OBJECT_OUTPUTS </item>       <item> OSX_ARCHITECTURES </item>@@ -603,6 +697,7 @@       <item> RUNTIME_OUTPUT_NAME </item>       <item> RUN_SERIAL </item>       <item> SKIP_BUILD_RPATH </item>+      <item> SKIP_RETURN_CODE </item>       <item> SOURCES </item>       <item> SOVERSION </item>       <item> STATIC_LIBRARY_FLAGS </item>@@ -619,6 +714,8 @@       <item> VARIABLES </item>       <item> VERSION </item>       <item> VISIBILITY_INLINES_HIDDEN </item>+      <item> VS_DEPLOYMENT_CONTENT </item>+      <item> VS_DEPLOYMENT_LOCATION </item>       <item> VS_DOTNET_REFERENCES </item>       <item> VS_DOTNET_TARGET_FRAMEWORK_VERSION </item>       <item> VS_GLOBAL_KEYWORD </item>@@ -629,13 +726,21 @@       <item> VS_SCC_LOCALPATH </item>       <item> VS_SCC_PROJECTNAME </item>       <item> VS_SCC_PROVIDER </item>+      <item> VS_SHADER_ENTRYPOINT </item>+      <item> VS_SHADER_FLAGS </item>+      <item> VS_SHADER_MODEL </item>+      <item> VS_SHADER_TYPE </item>+      <item> VS_WINRT_COMPONENT </item>       <item> VS_WINRT_EXTENSIONS </item>       <item> VS_WINRT_REFERENCES </item>+      <item> VS_XAML_TYPE </item>       <item> WILL_FAIL </item>       <item> WIN32_EXECUTABLE </item>       <item> WORKING_DIRECTORY </item>       <item> WRAP_EXCLUDE </item>-      <item> __CMAKE_DELETE_CACHE_CHANGE_VARS_ </item>+      <item> XCODE_EXPLICIT_FILE_TYPE </item>+      <item> XCODE_LAST_KNOWN_FILE_TYPE </item>+      <item> XCTEST </item>     </list>      <!-- these are "special" and don't show up in the generated lists -->@@ -651,6 +756,10 @@       <item> BORLAND </item>       <item> BUILD_SHARED_LIBS </item>       <item> CMAKE_ABSOLUTE_DESTINATION_FILES </item>+      <item> CMAKE_ANDROID_API </item>+      <item> CMAKE_ANDROID_API_MIN </item>+      <item> CMAKE_ANDROID_GUI </item>+      <item> CMAKE_APPBUNDLE_PATH </item>       <item> CMAKE_AR </item>       <item> CMAKE_ARCHIVE_OUTPUT_DIRECTORY </item>       <item> CMAKE_ARGC </item>@@ -658,6 +767,10 @@       <item> CMAKE_AUTOMOC </item>       <item> CMAKE_AUTOMOC_MOC_OPTIONS </item>       <item> CMAKE_AUTOMOC_RELAXED_MODE </item>+      <item> CMAKE_AUTORCC </item>+      <item> CMAKE_AUTORCC_OPTIONS </item>+      <item> CMAKE_AUTOUIC </item>+      <item> CMAKE_AUTOUIC_OPTIONS </item>       <item> CMAKE_BACKWARDS_COMPATIBILITY </item>       <item> CMAKE_BINARY_DIR </item>       <item> CMAKE_BUILD_TOOL </item>@@ -672,14 +785,24 @@       <item> CMAKE_COLOR_MAKEFILE </item>       <item> CMAKE_COMMAND </item>       <item> CMAKE_COMPILER_2005 </item>+      <item> CMAKE_COMPILE_PDB_OUTPUT_DIRECTORY </item>       <item> CMAKE_CONFIGURATION_TYPES </item>       <item> CMAKE_CROSSCOMPILING </item>+      <item> CMAKE_CROSSCOMPILING_EMULATOR </item>       <item> CMAKE_CTEST_COMMAND </item>       <item> CMAKE_CURRENT_BINARY_DIR </item>       <item> CMAKE_CURRENT_LIST_DIR </item>       <item> CMAKE_CURRENT_LIST_FILE </item>       <item> CMAKE_CURRENT_LIST_LINE </item>       <item> CMAKE_CURRENT_SOURCE_DIR </item>+      <item> CMAKE_CXX_COMPILE_FEATURES </item>+      <item> CMAKE_CXX_EXTENSIONS </item>+      <item> CMAKE_CXX_STANDARD </item>+      <item> CMAKE_CXX_STANDARD_REQUIRED </item>+      <item> CMAKE_C_COMPILE_FEATURES </item>+      <item> CMAKE_C_EXTENSIONS </item>+      <item> CMAKE_C_STANDARD </item>+      <item> CMAKE_C_STANDARD_REQUIRED </item>       <item> CMAKE_DEBUG_POSTFIX </item>       <item> CMAKE_DEBUG_TARGET_PROPERTIES </item>       <item> CMAKE_DL_LIBS </item>@@ -688,17 +811,29 @@       <item> CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION </item>       <item> CMAKE_EXECUTABLE_SUFFIX </item>       <item> CMAKE_EXE_LINKER_FLAGS </item>+      <item> CMAKE_EXPORT_NO_PACKAGE_REGISTRY </item>       <item> CMAKE_EXTRA_GENERATOR </item>       <item> CMAKE_EXTRA_SHARED_LIBRARY_SUFFIXES </item>       <item> CMAKE_FIND_LIBRARY_PREFIXES </item>       <item> CMAKE_FIND_LIBRARY_SUFFIXES </item>+      <item> CMAKE_FIND_NO_INSTALL_PREFIX </item>+      <item> CMAKE_FIND_PACKAGE_NAME </item>+      <item> CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY </item>+      <item> CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY </item>       <item> CMAKE_FIND_PACKAGE_WARN_NO_MODULE </item>+      <item> CMAKE_FIND_ROOT_PATH </item>+      <item> CMAKE_FIND_ROOT_PATH_MODE_INCLUDE </item>+      <item> CMAKE_FIND_ROOT_PATH_MODE_LIBRARY </item>+      <item> CMAKE_FIND_ROOT_PATH_MODE_PACKAGE </item>+      <item> CMAKE_FIND_ROOT_PATH_MODE_PROGRAM </item>+      <item> CMAKE_FRAMEWORK_PATH </item>       <item> CMAKE_Fortran_FORMAT </item>       <item> CMAKE_Fortran_MODDIR_DEFAULT </item>       <item> CMAKE_Fortran_MODDIR_FLAG </item>       <item> CMAKE_Fortran_MODOUT_FLAG </item>       <item> CMAKE_Fortran_MODULE_DIRECTORY </item>       <item> CMAKE_GENERATOR </item>+      <item> CMAKE_GENERATOR_PLATFORM </item>       <item> CMAKE_GENERATOR_TOOLSET </item>       <item> CMAKE_GNUtoMS </item>       <item> CMAKE_HOME_DIRECTORY </item>@@ -714,27 +849,34 @@       <item> CMAKE_IMPORT_LIBRARY_SUFFIX </item>       <item> CMAKE_INCLUDE_CURRENT_DIR </item>       <item> CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE </item>+      <item> CMAKE_INCLUDE_DIRECTORIES_BEFORE </item>+      <item> CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE </item>       <item> CMAKE_INCLUDE_PATH </item>       <item> CMAKE_INSTALL_DEFAULT_COMPONENT_NAME </item>+      <item> CMAKE_INSTALL_MESSAGE </item>       <item> CMAKE_INSTALL_NAME_DIR </item>       <item> CMAKE_INSTALL_PREFIX </item>       <item> CMAKE_INSTALL_RPATH </item>       <item> CMAKE_INSTALL_RPATH_USE_LINK_PATH </item>       <item> CMAKE_INTERNAL_PLATFORM_ABI </item>+      <item> CMAKE_JOB_POOL_COMPILE </item>+      <item> CMAKE_JOB_POOL_LINK </item>       <item> CMAKE_LIBRARY_ARCHITECTURE </item>       <item> CMAKE_LIBRARY_ARCHITECTURE_REGEX </item>       <item> CMAKE_LIBRARY_OUTPUT_DIRECTORY </item>       <item> CMAKE_LIBRARY_PATH </item>       <item> CMAKE_LIBRARY_PATH_FLAG </item>-      <item> CMAKE_LINK_DEF_FILE_FLAG   </item>+      <item> CMAKE_LINK_DEF_FILE_FLAG </item>       <item> CMAKE_LINK_DEPENDS_NO_SHARED </item>       <item> CMAKE_LINK_INTERFACE_LIBRARIES </item>       <item> CMAKE_LINK_LIBRARY_FILE_FLAG </item>       <item> CMAKE_LINK_LIBRARY_FLAG </item>       <item> CMAKE_LINK_LIBRARY_SUFFIX </item>       <item> CMAKE_MACOSX_BUNDLE </item>+      <item> CMAKE_MACOSX_RPATH </item>       <item> CMAKE_MAJOR_VERSION </item>       <item> CMAKE_MAKE_PROGRAM </item>+      <item> CMAKE_MATCH_COUNT </item>       <item> CMAKE_MFC_FLAG </item>       <item> CMAKE_MINIMUM_REQUIRED_VERSION </item>       <item> CMAKE_MINOR_VERSION </item>@@ -742,7 +884,11 @@       <item> CMAKE_MODULE_PATH </item>       <item> CMAKE_NOT_USING_CONFIG_FLAGS </item>       <item> CMAKE_NO_BUILTIN_CHRPATH </item>+      <item> CMAKE_NO_SYSTEM_FROM_IMPORTED </item>       <item> CMAKE_OBJECT_PATH_MAX </item>+      <item> CMAKE_OSX_ARCHITECTURES </item>+      <item> CMAKE_OSX_DEPLOYMENT_TARGET </item>+      <item> CMAKE_OSX_SYSROOT </item>       <item> CMAKE_PARENT_LIST_FILE </item>       <item> CMAKE_PATCH_VERSION </item>       <item> CMAKE_PDB_OUTPUT_DIRECTORY </item>@@ -763,12 +909,15 @@       <item> CMAKE_SKIP_BUILD_RPATH </item>       <item> CMAKE_SKIP_INSTALL_ALL_DEPENDENCY </item>       <item> CMAKE_SKIP_INSTALL_RPATH </item>+      <item> CMAKE_SKIP_INSTALL_RULES </item>       <item> CMAKE_SKIP_RPATH </item>       <item> CMAKE_SOURCE_DIR </item>+      <item> CMAKE_STAGING_PREFIX </item>       <item> CMAKE_STANDARD_LIBRARIES </item>       <item> CMAKE_STATIC_LIBRARY_PREFIX </item>       <item> CMAKE_STATIC_LIBRARY_SUFFIX </item>       <item> CMAKE_STATIC_LINKER_FLAGS </item>+      <item> CMAKE_SYSROOT </item>       <item> CMAKE_SYSTEM </item>       <item> CMAKE_SYSTEM_IGNORE_PATH </item>       <item> CMAKE_SYSTEM_INCLUDE_PATH </item>@@ -778,6 +927,7 @@       <item> CMAKE_SYSTEM_PROCESSOR </item>       <item> CMAKE_SYSTEM_PROGRAM_PATH </item>       <item> CMAKE_SYSTEM_VERSION </item>+      <item> CMAKE_TOOLCHAIN_FILE </item>       <item> CMAKE_TRY_COMPILE_CONFIGURATION </item>       <item> CMAKE_TWEAK_VERSION </item>       <item> CMAKE_USER_MAKE_RULES_OVERRIDE </item>@@ -785,19 +935,84 @@       <item> CMAKE_VERBOSE_MAKEFILE </item>       <item> CMAKE_VERSION </item>       <item> CMAKE_VISIBILITY_INLINES_HIDDEN </item>+      <item> CMAKE_VS_DEVENV_COMMAND </item>+      <item> CMAKE_VS_INCLUDE_INSTALL_TO_DEFAULT_BUILD </item>+      <item> CMAKE_VS_INTEL_Fortran_PROJECT_VERSION </item>+      <item> CMAKE_VS_MSBUILD_COMMAND </item>+      <item> CMAKE_VS_MSDEV_COMMAND </item>+      <item> CMAKE_VS_NsightTegra_VERSION </item>+      <item> CMAKE_VS_PLATFORM_NAME </item>       <item> CMAKE_VS_PLATFORM_TOOLSET </item>       <item> CMAKE_WARN_DEPRECATED </item>       <item> CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION </item>       <item> CMAKE_WIN32_EXECUTABLE </item>       <item> CMAKE_XCODE_PLATFORM_TOOLSET </item>+      <item> CPACK_ABSOLUTE_DESTINATION_FILES </item>+      <item> CPACK_COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY </item>+      <item> CPACK_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION </item>+      <item> CPACK_INCLUDE_TOPLEVEL_DIRECTORY </item>+      <item> CPACK_INSTALL_SCRIPT </item>+      <item> CPACK_PACKAGING_INSTALL_PREFIX </item>+      <item> CPACK_SET_DESTDIR </item>+      <item> CPACK_WARN_ON_ABSOLUTE_INSTALL_DESTINATION </item>+      <item> CTEST_BINARY_DIRECTORY </item>+      <item> CTEST_BUILD_COMMAND </item>+      <item> CTEST_BUILD_NAME </item>+      <item> CTEST_BZR_COMMAND </item>+      <item> CTEST_BZR_UPDATE_OPTIONS </item>+      <item> CTEST_CHECKOUT_COMMAND </item>+      <item> CTEST_CONFIGURATION_TYPE </item>+      <item> CTEST_CONFIGURE_COMMAND </item>+      <item> CTEST_COVERAGE_COMMAND </item>+      <item> CTEST_COVERAGE_EXTRA_FLAGS </item>+      <item> CTEST_CURL_OPTIONS </item>+      <item> CTEST_CVS_CHECKOUT </item>+      <item> CTEST_CVS_COMMAND </item>+      <item> CTEST_CVS_UPDATE_OPTIONS </item>+      <item> CTEST_DROP_LOCATION </item>+      <item> CTEST_DROP_METHOD </item>+      <item> CTEST_DROP_SITE </item>+      <item> CTEST_DROP_SITE_CDASH </item>+      <item> CTEST_DROP_SITE_PASSWORD </item>+      <item> CTEST_DROP_SITE_USER </item>+      <item> CTEST_GIT_COMMAND </item>+      <item> CTEST_GIT_UPDATE_CUSTOM </item>+      <item> CTEST_GIT_UPDATE_OPTIONS </item>+      <item> CTEST_HG_COMMAND </item>+      <item> CTEST_HG_UPDATE_OPTIONS </item>+      <item> CTEST_MEMORYCHECK_COMMAND </item>+      <item> CTEST_MEMORYCHECK_COMMAND_OPTIONS </item>+      <item> CTEST_MEMORYCHECK_SANITIZER_OPTIONS </item>+      <item> CTEST_MEMORYCHECK_SUPPRESSIONS_FILE </item>+      <item> CTEST_MEMORYCHECK_TYPE </item>+      <item> CTEST_NIGHTLY_START_TIME </item>+      <item> CTEST_P4_CLIENT </item>+      <item> CTEST_P4_COMMAND </item>+      <item> CTEST_P4_OPTIONS </item>+      <item> CTEST_P4_UPDATE_OPTIONS </item>+      <item> CTEST_SCP_COMMAND </item>+      <item> CTEST_SITE </item>+      <item> CTEST_SOURCE_DIRECTORY </item>+      <item> CTEST_SVN_COMMAND </item>+      <item> CTEST_SVN_OPTIONS </item>+      <item> CTEST_SVN_UPDATE_OPTIONS </item>+      <item> CTEST_TEST_TIMEOUT </item>+      <item> CTEST_TRIGGER_SITE </item>+      <item> CTEST_UPDATE_COMMAND </item>+      <item> CTEST_UPDATE_OPTIONS </item>+      <item> CTEST_UPDATE_VERSION_ONLY </item>+      <item> CTEST_USE_LAUNCHERS </item>       <item> CYGWIN </item>       <item> ENV </item>       <item> EXECUTABLE_OUTPUT_PATH </item>+      <item> GHS-MULTI </item>       <item> LIBRARY_OUTPUT_PATH </item>+      <item> MINGW </item>       <item> MSVC </item>       <item> MSVC10 </item>       <item> MSVC11 </item>       <item> MSVC12 </item>+      <item> MSVC14 </item>       <item> MSVC60 </item>       <item> MSVC70 </item>       <item> MSVC71 </item>@@ -808,8 +1023,16 @@       <item> PROJECT_BINARY_DIR </item>       <item> PROJECT_NAME </item>       <item> PROJECT_SOURCE_DIR </item>+      <item> PROJECT_VERSION </item>+      <item> PROJECT_VERSION_MAJOR </item>+      <item> PROJECT_VERSION_MINOR </item>+      <item> PROJECT_VERSION_PATCH </item>+      <item> PROJECT_VERSION_TWEAK </item>       <item> UNIX </item>       <item> WIN32 </item>+      <item> WINCE </item>+      <item> WINDOWS_PHONE </item>+      <item> WINDOWS_STORE </item>       <item> XCODE_VERSION </item>     </list> @@ -822,15 +1045,17 @@     </list>      <list name="generator_expr">+      <!-- Logical Expressions -->       <item> 0 </item>       <item> 1 </item>-      <item> CONFIG </item>       <item> BOOL </item>+      <item> AND </item>+      <item> OR </item>+      <item> NOT </item>       <item> STREQUAL </item>-      <item> JOIN </item>-      <item> TARGET_NAME </item>-      <item> INSTALL_INTERFACE </item>-      <item> BUILD_INTERFACE </item>+      <item> EQUAL </item>+      <item> CONFIG </item>+      <item> PLATFORM_ID </item>       <item> C_COMPILER_ID </item>       <item> CXX_COMPILER_ID </item>       <item> VERSION_GREATER </item>@@ -838,22 +1063,39 @@       <item> VERSION_EQUAL </item>       <item> C_COMPILER_VERSION </item>       <item> CXX_COMPILER_VERSION </item>+      <item> TARGET_POLICY </item>+      <item> COMPILER_FEATURES </item>+      <!-- Informational Expressions -->+      <item> CONFIGURATION </item>       <item> TARGET_FILE </item>-      <item> TARGET_LINKER_FILE </item>-      <item> TARGET_SONAME_FILE </item>-      <item> TARGET_FILE_DIR </item>       <item> TARGET_FILE_NAME </item>-      <item> TARGET_DIR </item>-      <item> TARGET_LINKER_FILE_DIR </item>+      <item> TARGET_FILE_DIR </item>+      <item> TARGET_LINKER_FILE </item>       <item> TARGET_LINKER_FILE_NAME </item>-      <item> TARGET_SONAME_FILE_DIR </item>+      <item> TARGET_LINKER_FILE_DIR </item>+      <item> TARGET_SONAME_FILE </item>       <item> TARGET_SONAME_FILE_NAME </item>+      <item> TARGET_SONAME_FILE_DIR </item>+      <item> TARGET_PDB_FILE </item>+      <item> TARGET_PDB_FILE_NAME </item>+      <item> TARGET_PDB_FILE_DIR </item>       <item> TARGET_PROPERTY </item>+      <item> INSTALL_PREFIX </item>+      <!-- Output Expressions -->+      <item> JOIN </item>+      <item> ANGLE-R </item>+      <item> COMMA </item>+      <item> SEMICOLON </item>+      <item> TARGET_NAME </item>+      <item> LINK_ONLY </item>+      <item> INSTALL_INTERFACE </item>+      <item> BUILD_INTERFACE </item>+      <item> LOWER_CASE </item>+      <item> UPPER_CASE </item>+      <item> MAKE_C_IDENTIFIER </item>       <item> TARGET_OBJECTS </item>-      <item> TARGET_POLICY </item>-      <item> AND </item>-      <item> OR </item>-      <item> NOT </item>+      <!-- TODO Is this from CMake 2.x? -->+      <item> TARGET_DIR </item>     </list>      <contexts>@@ -861,51 +1103,62 @@         <DetectSpaces/>          <!-- handle folding for if else elseif endif blocks -->-        <RegExpr String="\bif\b" attribute="Commands" context="Command Args" beginRegion="ifthenelse" insensitive="true" />-        <RegExpr String="\belse\b" attribute="Commands" context="Command Args" endRegion="ifthenelse" beginRegion="ifthenelse" insensitive="true" />-        <RegExpr String="\belseif\b" attribute="Commands" context="Command Args" endRegion="ifthenelse" beginRegion="ifthenelse" insensitive="true" />-        <RegExpr String="\bendif\b" attribute="Commands" context="Command Args" endRegion="ifthenelse" insensitive="true" />+        <WordDetect String="if" attribute="Commands" context="Command Args" beginRegion="ifthenelse" insensitive="true" />+        <WordDetect String="else" attribute="Commands" context="Command Args" endRegion="ifthenelse" beginRegion="ifthenelse" insensitive="true" />+        <WordDetect String="elseif" attribute="Commands" context="Command Args" endRegion="ifthenelse" beginRegion="ifthenelse" insensitive="true" />+        <WordDetect String="endif" attribute="Commands" context="Command Args" endRegion="ifthenelse" insensitive="true" />          <!-- handle folding for macro endmacro blocks -->-        <RegExpr String="\bmacro\b" attribute="Commands" context="Command Args" beginRegion="macro" insensitive="true" />-        <RegExpr String="\bendmacro\b" attribute="Commands" context="Command Args" endRegion="macro" insensitive="true" />+        <WordDetect String="macro" attribute="Commands" context="Command Args" beginRegion="macro" insensitive="true" />+        <WordDetect String="endmacro" attribute="Commands" context="Command Args" endRegion="macro" insensitive="true" />          <!-- handle folding for foreach endforeach blocks -->-        <RegExpr String="\bforeach\b" attribute="Commands" context="Command Args" beginRegion="foreach" insensitive="true" />-        <RegExpr String="\bendforeach\b" attribute="Commands" context="Command Args" endRegion="foreach" insensitive="true" />+        <WordDetect String="foreach" attribute="Commands" context="Command Args" beginRegion="foreach" insensitive="true" />+        <WordDetect String="endforeach" attribute="Commands" context="Command Args" endRegion="foreach" insensitive="true" />          <!-- handle folding for while endwhile blocks -->-        <RegExpr String="\bwhile\b" attribute="Commands" context="Command Args" beginRegion="while" insensitive="true" />-        <RegExpr String="\bendwhile\b" attribute="Commands" context="Command Args" endRegion="while" insensitive="true" />+        <WordDetect String="while" attribute="Commands" context="Command Args" beginRegion="while" insensitive="true" />+        <WordDetect String="endwhile" attribute="Commands" context="Command Args" endRegion="while" insensitive="true" /> -        <keyword attribute="Commands" context="Command Args" String="commands" insensitive="true"/>-        <keyword attribute="Third-Party Commands" context="#stay" String="itkvtk_commands" insensitive="true"/>-        <RegExpr attribute="Region Marker" context="#stay" String="#\s*BEGIN.*$" beginRegion="block" firstNonSpace="true"/>-        <RegExpr attribute="Region Marker" context="#stay" String="#\s*END.*$" endRegion="block" firstNonSpace="true"/>+        <keyword attribute="Commands" context="Command Args" String="commands" insensitive="true" />+        <keyword attribute="Third-Party Commands" context="#stay" String="itkvtk_commands" insensitive="true" />+        <RegExpr attribute="Region Marker" context="#stay" String="#\s*BEGIN.*$" beginRegion="block" firstNonSpace="true" />+        <RegExpr attribute="Region Marker" context="#stay" String="#\s*END.*$" endRegion="block" firstNonSpace="true" />         <RegExpr attribute="Region Marker" context="RST Documentation" String="^#\[(=*)\[\.rst:" column="0" />         <RegExpr attribute="Comment" context="Bracketed Comment" String="^#\[(=*)\[" column="0" />-        <DetectChar attribute="Comment" context="Comment" char="#"/>-        <IncludeRules context="Detect Variables"/>-        <RegExpr attribute="Macros" context="Macro Args" String="\w+\s*(?=\()"/>+        <DetectChar attribute="Comment" context="Comment" char="#" />+        <IncludeRules context="Detect Variables" />+        <RegExpr attribute="Macros" context="Macro Args" String="\w+\s*(?=\()" />       </context>       <!-- ATTENTION Do not change the context name! Or change a generation script accordingly -->       <context attribute="Normal Text" lineEndContext="#stay" name="Detect More Builtin Variables">         <!-- generated rules -->+        <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_ARCHIVE_OUTPUT_DIRECTORY_[A-Za-z_][A-Za-z_0-9]*\b" />         <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_COMPILER_IS_GNU[A-Za-z_][A-Za-z_0-9]*\b" />+        <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_COMPILE_PDB_OUTPUT_DIRECTORY_[A-Za-z_][A-Za-z_0-9]*\b" />         <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_DISABLE_FIND_PACKAGE_[A-Za-z_][A-Za-z_0-9]*\b" />         <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_EXE_LINKER_FLAGS_[A-Za-z_][A-Za-z_0-9]*\b" />+        <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_LIBRARY_OUTPUT_DIRECTORY_[A-Za-z_][A-Za-z_0-9]*\b" />+        <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_MAP_IMPORTED_CONFIG_[A-Za-z_][A-Za-z_0-9]*\b" />         <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_MODULE_LINKER_FLAGS_[A-Za-z_][A-Za-z_0-9]*\b" />+        <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_PDB_OUTPUT_DIRECTORY_[A-Za-z_][A-Za-z_0-9]*\b" />         <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_POLICY_DEFAULT_CMP[0-9]+\b" />+        <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_POLICY_WARNING_CMP[0-9]+\b" />+        <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_PROJECT_[A-Za-z_][A-Za-z_0-9]*_INCLUDE\b" />+        <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_RUNTIME_OUTPUT_DIRECTORY_[A-Za-z_][A-Za-z_0-9]*\b" />         <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_SHARED_LINKER_FLAGS_[A-Za-z_][A-Za-z_0-9]*\b" />         <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_STATIC_LINKER_FLAGS_[A-Za-z_][A-Za-z_0-9]*\b" />         <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_USER_MAKE_RULES_OVERRIDE_[A-Za-z_][A-Za-z_0-9]*\b" />+        <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_XCODE_ATTRIBUTE_[A-Za-z_][A-Za-z_0-9]*\b" />         <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_ARCHIVE_APPEND\b" />         <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_ARCHIVE_CREATE\b" />         <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_ARCHIVE_FINISH\b" />         <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_COMPILER\b" />         <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_COMPILER_ABI\b" />+        <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_COMPILER_EXTERNAL_TOOLCHAIN\b" />         <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_COMPILER_ID\b" />         <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_COMPILER_LOADED\b" />+        <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_COMPILER_TARGET\b" />         <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_COMPILER_VERSION\b" />         <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_COMPILE_OBJECT\b" />         <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_CREATE_SHARED_LIBRARY\b" />@@ -916,68 +1169,82 @@         <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_FLAGS_MINSIZEREL\b" />         <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_FLAGS_RELEASE\b" />         <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_FLAGS_RELWITHDEBINFO\b" />+        <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_GHS_KERNEL_FLAGS_DEBUG\b" />+        <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_GHS_KERNEL_FLAGS_MINSIZEREL\b" />+        <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_GHS_KERNEL_FLAGS_RELEASE\b" />+        <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_GHS_KERNEL_FLAGS_RELWITHDEBINFO\b" />         <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_IGNORE_EXTENSIONS\b" />         <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_IMPLICIT_INCLUDE_DIRECTORIES\b" />         <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_IMPLICIT_LINK_DIRECTORIES\b" />         <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES\b" />         <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_IMPLICIT_LINK_LIBRARIES\b" />+        <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_INCLUDE_WHAT_YOU_USE\b" />         <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_LIBRARY_ARCHITECTURE\b" />         <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_LINKER_PREFERENCE\b" />         <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_LINKER_PREFERENCE_PROPAGATES\b" />-        <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_LINK_EXECUTABLE \b" />+        <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_LINK_EXECUTABLE\b" />         <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_OUTPUT_EXTENSION\b" />         <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_PLATFORM_ID\b" />         <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_POSTFIX\b" />+        <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_SIMULATE_ID\b" />+        <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_SIMULATE_VERSION\b" />         <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_SIZEOF_DATA_PTR\b" />         <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_SOURCE_FILE_EXTENSIONS\b" />         <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_VISIBILITY_PRESET\b" />+        <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\b[A-Za-z_][A-Za-z_0-9]*_BINARY_DIR\b" />+        <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\b[A-Za-z_][A-Za-z_0-9]*_SOURCE_DIR\b" />+        <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\b[A-Za-z_][A-Za-z_0-9]*_VERSION\b" />+        <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\b[A-Za-z_][A-Za-z_0-9]*_VERSION_MAJOR\b" />+        <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\b[A-Za-z_][A-Za-z_0-9]*_VERSION_MINOR\b" />+        <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\b[A-Za-z_][A-Za-z_0-9]*_VERSION_PATCH\b" />+        <RegExpr attribute="Builtin CMake Variable" context="#stay" String="\b[A-Za-z_][A-Za-z_0-9]*_VERSION_TWEAK\b" />       </context>       <context attribute="Normal Text" lineEndContext="#stay" name="Detect Builtin Variables">-        <keyword attribute="Builtin CMake Variable" context="#stay" String="cmake_vars" insensitive="false"/>+        <keyword attribute="Builtin CMake Variable" context="#stay" String="cmake_vars" insensitive="false" />         <IncludeRules context="Detect More Builtin Variables" />       </context>       <context attribute="CMake Variable" lineEndContext="#pop" name="VarSubst">-        <IncludeRules context="Detect Builtin Variables"/>+        <IncludeRules context="Detect Builtin Variables" />         <DetectIdentifier />-        <DetectChar attribute="CMake Variable" context="#pop" char="}"/>-        <IncludeRules context="Detect Variables"/>+        <DetectChar attribute="CMake Variable" context="#pop" char="}" />+        <IncludeRules context="Detect Variables" />       </context>       <context attribute="Normal Text" lineEndContext="#stay" name="Detect Variables">-        <RegExpr attribute="Environment Variable" context="#stay" String="\$ENV\{\s*[\w-]+\s*\}"/>+        <RegExpr attribute="Environment Variable" context="#stay" String="\$ENV\{\s*[\w-]+\s*\}" />         <Detect2Chars attribute="CMake Variable" context="VarSubst" char="$" char1="{" />       </context>       <context attribute="Generator Expression" lineEndContext="#pop#pop" name="DetectSimpleGEEnd">-        <DetectChar attribute="Generator Expression" context="#pop#pop" char="&gt;"/>+        <DetectChar attribute="Generator Expression" context="#pop#pop" char="&gt;" />       </context>       <context attribute="Generator Expression" lineEndContext="#pop" name="Generator Expression">-        <IncludeRules context="Detect Generator Expressions"/>-        <DetectChar attribute="Generator Expression" context="#pop" char="&gt;"/>-        <keyword attribute="Generator Expression Keyword" context="DetectSimpleGEEnd" String="simple_generator_expr" insensitive="false"/>-        <keyword attribute="Generator Expression Keyword" context="#stay" String="generator_expr" insensitive="false"/>-        <IncludeRules context="Detect Variables"/>+        <IncludeRules context="Detect Generator Expressions" />+        <DetectChar attribute="Generator Expression" context="#pop" char="&gt;" />+        <keyword attribute="Generator Expression Keyword" context="DetectSimpleGEEnd" String="simple_generator_expr" insensitive="false" />+        <keyword attribute="Generator Expression Keyword" context="#stay" String="generator_expr" insensitive="false" />+        <IncludeRules context="Detect Variables" />       </context>       <context attribute="Normal Text" lineEndContext="#stay" name="Detect Generator Expressions">         <Detect2Chars attribute="Generator Expression" context="Generator Expression" char="$" char1="&lt;" />       </context>       <context attribute="Normal Text" lineEndContext="#stay" name="Command Args">-        <keyword attribute="Special Args" context="#stay" String="special_args"/>-        <keyword attribute="Special Args" context="#stay" String="extra_special_args"/>+        <keyword attribute="Special Args" context="#stay" String="special_args" />+        <keyword attribute="Special Args" context="#stay" String="extra_special_args" />         <!-- NOTE Handle CMP<NNN> as a special arg -->         <RegExpr attribute="Special Args" context="#stay" String="\bCMP[0-9]+\b" />-        <keyword attribute="Properties" context="#stay" String="properties"/>-        <keyword attribute="Properties" context="#stay" String="extra_properties"/>-        <IncludeRules context="Detect Builtin Variables"/>-        <IncludeRules context="Macro Args"/>+        <keyword attribute="Properties" context="#stay" String="properties" />+        <keyword attribute="Properties" context="#stay" String="extra_properties" />+        <IncludeRules context="Detect Builtin Variables" />+        <IncludeRules context="Macro Args" />       </context>       <context attribute="Normal Text" lineEndContext="#stay" name="Macro Args">-        <DetectChar attribute="Normal Text" context="#pop" char=")"/>-        <RegExpr attribute="Escapes" context="#stay" String="\\[&quot;$n\\]"/>-        <DetectChar attribute="Strings" context="String" char="&quot;"/>+        <DetectChar attribute="Normal Text" context="#pop" char=")" />+        <RegExpr attribute="Escapes" context="#stay" String="\\[&quot;$n\\]" />+        <DetectChar attribute="Strings" context="String" char="&quot;" />         <RegExpr attribute="Strings" context="Bracketed String" String="\[(=*)\[" />-        <DetectChar attribute="Comment" context="Comment" char="#"/>-        <IncludeRules context="Detect Builtin Variables"/>-        <IncludeRules context="Detect Variables"/>-        <IncludeRules context="Detect Generator Expressions"/>+        <DetectChar attribute="Comment" context="Comment" char="#" />+        <IncludeRules context="Detect Builtin Variables" />+        <IncludeRules context="Detect Variables" />+        <IncludeRules context="Detect Generator Expressions" />       </context>       <context attribute="Comment" lineEndContext="#pop" name="Comment">         <LineContinue attribute="Comment" context="#pop" />@@ -995,26 +1262,26 @@       <context attribute="Strings" lineEndContext="#stay" name="String">         <RegExpr attribute="Strings" context="#pop" String="&quot;(?=[ );]|$)" />         <RegExpr attribute="Escapes" context="#stay" String="\\[&quot;$nrt\\]" />-        <IncludeRules context="Detect Variables"/>-        <IncludeRules context="Detect Generator Expressions"/>+        <IncludeRules context="Detect Variables" />+        <IncludeRules context="Detect Generator Expressions" />       </context>       <context attribute="Strings" lineEndContext="#stay" name="Bracketed String" dynamic="true">         <RegExpr attribute="Strings" context="#pop" String="\]%1\]" dynamic="true" />       </context>-     </contexts>+     <itemDatas>       <itemData name="Normal Text" defStyleNum="dsNormal" spellChecking="false" />       <itemData name="Special Args" defStyleNum="dsOthers" spellChecking="false" />       <itemData name="Properties" defStyleNum="dsOthers" spellChecking="false" />       <itemData name="Commands" defStyleNum="dsKeyword" spellChecking="false" />-      <itemData name="Third-Party Commands" defStyleNum="dsFunction" spellChecking="false" />+      <itemData name="Third-Party Commands" defStyleNum="dsExtension" spellChecking="false" />       <itemData name="Macros"  defStyleNum="dsFunction" spellChecking="false" />       <itemData name="Strings" defStyleNum="dsString" spellChecking="true" />-      <itemData name="Escapes" defStyleNum="dsChar" spellChecking="false" />-      <itemData name="Builtin CMake Variable" defStyleNum="dsDecVal" color="#c09050" selColor="#c09050" spellChecking="false" />+      <itemData name="Escapes" defStyleNum="dsSpecialChar" spellChecking="false" />+      <itemData name="Builtin CMake Variable" defStyleNum="dsVariable" spellChecking="false" />       <!-- TODO Rename to "Variable Substitution" -->-      <itemData name="CMake Variable" defStyleNum="dsDecVal" spellChecking="false" />+      <itemData name="CMake Variable" defStyleNum="dsVariable" spellChecking="false" />       <!-- TODO Rename to "Environment Variable Substitution" -->       <itemData name="Environment Variable" defStyleNum="dsFloat" spellChecking="false" />       <itemData name="Generator Expression Keyword" defStyleNum="dsKeyword" color="#b84040" selColor="#b84040" spellChecking="false" />@@ -1022,12 +1289,13 @@       <itemData name="Comment" defStyleNum="dsComment" spellChecking="true" />       <itemData name="Region Marker" defStyleNum="dsRegionMarker" spellChecking="false" />     </itemDatas>+   </highlighting>    <general>     <comments>-      <comment name="singleLine" start="#"/>+      <comment name="singleLine" start="#" />     </comments>-    <keywords casesensitive="1"/>+    <keywords casesensitive="1" />   </general> </language>
xml/coffee.xml view
@@ -2,8 +2,8 @@ <!DOCTYPE language SYSTEM "language.dtd">  <language name="CoffeeScript"-          version="1.4"-          kateversion="2.4"+          version="2"+          kateversion="3.4"           section="Scripts"           extensions="Cakefile;*.coffee;*.coco"           mimetype="text/x-coffeescript;application/x-coffeescript"
xml/coldfusion.xml view
@@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd">-<language name="ColdFusion" version="1.04" kateversion="2.3" section="Markup" extensions="*.cfm;*.cfc;*.cfml;*.dbm" mimetype="text/x-coldfusion">+<language name="ColdFusion" version="2" kateversion="2.2" section="Markup" extensions="*.cfm;*.cfc;*.cfml;*.dbm" mimetype="text/x-coldfusion">  	<highlighting> @@ -684,7 +684,7 @@  		<itemDatas> -			<itemData name="Normal Text" defStyleNum="dsNormal"			color="#000000" selColor="#ffffff" bold="0" italic="0" />+			<itemData name="Normal Text" defStyleNum="dsNormal" /> 			<itemData name="Tags" defStyleNum="dsNormal"				color="#000080" selColor="#ffffff" bold="0" italic="0" /> 			<itemData name="Table Tags" defStyleNum="dsNormal"			color="#008080" selColor="#ffffff" bold="0" italic="0" /> 			<itemData name="Script Tags" defStyleNum="dsNormal"			color="#800000" selColor="#ffffff" bold="0" italic="0" />
xml/commonlisp.xml view
@@ -23,7 +23,7 @@  * Boston, MA  02110-1301, USA.                                       *  **********************************************************************  -->-<language version="1.05" kateversion="2.3" name="Common Lisp" section="Sources" extensions="*.lisp;*.cl;*.lsp" mimetype="" author="Dominik Haumann (dhdev@gmx.de)" license="LGPL">+<language version="2" kateversion="5.0" name="Common Lisp" section="Sources" extensions="*.lisp;*.cl;*.lsp" mimetype="" author="Dominik Haumann (dhdev@gmx.de)" license="LGPL">   <highlighting>     <list name="symbols">       <item> &lt; </item>@@ -1174,10 +1174,10 @@     <itemDatas>       <itemData name="Normal"      defStyleNum="dsNormal"/>       <itemData name="Keyword"     defStyleNum="dsKeyword"/>-      <itemData name="Operator"    defStyleNum="dsKeyword" color="#d22811"/>-      <itemData name="Modifier"    defStyleNum="dsKeyword" color="#800000"/>-      <itemData name="Variable"    defStyleNum="dsKeyword" color="#b07e1f"/>-      <itemData name="Definition"  defStyleNum="dsKeyword" color="#d22811"/>+      <itemData name="Operator"    defStyleNum="dsOperator"/>+      <itemData name="Modifier"    defStyleNum="dsBuiltIn"/>+      <itemData name="Variable"    defStyleNum="dsVariable"/>+      <itemData name="Definition"  defStyleNum="dsKeyword"/>       <itemData name="Data"        defStyleNum="dsDataType"/>       <itemData name="Decimal"     defStyleNum="dsDecVal"/>       <itemData name="BaseN"       defStyleNum="dsBaseN"/>
xml/cpp.xml view
@@ -11,8 +11,8 @@ <language     name="C++"     section="Sources"-    version="1.9"-    kateversion="2.4"+    version="3"+    kateversion="5.0"     indenter="cstyle"     style="C++"     mimetype="text/x-c++src;text/x-c++hdr;text/x-chdr"@@ -1592,10 +1592,10 @@   </contexts>    <itemDatas>-    <itemData name="Normal Text"    defStyleNum="dsNormal" spellChecking="false" />-    <itemData name="Qt4 Macros" defStyleNum="dsKeyword" color="#0095ff" selColor="#ffffff" bold="1" italic="0" spellChecking="false" />-    <itemData name="Qt4 Types" defStyleNum="dsDataType" spellChecking="false" />-    <itemData name="Qt4 Classes" defStyleNum="dsOthers" spellChecking="false" />+    <itemData name="Normal Text" defStyleNum="dsNormal" spellChecking="false" />+    <itemData name="Qt4 Macros" defStyleNum="dsExtension" spellChecking="false" bold="1" italic="0" />+    <itemData name="Qt4 Types" defStyleNum="dsExtension" spellChecking="false" />+    <itemData name="Qt4 Classes" defStyleNum="dsExtension" spellChecking="false" />     <itemData name="Qt4 Functions" defStyleNum="dsFunction" spellChecking="false" />   </itemDatas> </highlighting>
xml/cs.xml view
@@ -1,5 +1,5 @@ <!DOCTYPE language SYSTEM "language.dtd">-<language name="C#" version="1.15" kateversion="2.3" section="Sources" extensions="*.cs" mimetype="text/x-csharp-src;text/x-csharp-hde">+<language name="C#" version="2" kateversion="5.0" section="Sources" extensions="*.cs" mimetype="text/x-csharp-src;text/x-csharp-hde">   <highlighting>     <list name="keywords">       <item> abstract</item>@@ -151,7 +151,7 @@       <itemData name="Float"        defStyleNum="dsFloat"/>       <itemData name="Char"         defStyleNum="dsChar"/>       <itemData name="String"       defStyleNum="dsString"/>-      <itemData name="String Char"  defStyleNum="dsChar"/>+      <itemData name="String Char"  defStyleNum="dsSpecialChar"/>       <itemData name="Comment"      defStyleNum="dsComment"/>       <itemData name="Symbol"       defStyleNum="dsNormal"/>     </itemDatas>
xml/css.xml view
@@ -12,908 +12,1108 @@  Changelog: -- Version 2.06, by Mte90:-- CSS3 tag--- Version 2.03, by Milian Wolff:-- Make it spelling aware--- Version 2.08, Joseph Wenninger:-- CSS3 media queries ---->--<language name="CSS" version="2.09" kateversion="2.4" section="Markup" extensions="*.css" indenter="cstyle" mimetype="text/css" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL">--	<highlighting>-		<list name="properties">-			<!-- CSS2 -->-			<item> azimuth </item>-			<item> background </item>-			<item> background-attachment </item>-			<item> background-break </item>-			<item> background-clip </item>-			<item> background-color </item>-			<item> background-image </item>-			<item> background-position </item>-			<item> background-origin </item>-			<item> background-repeat </item>-			<item> border </item>-			<item> border-bottom </item>-			<item> border-bottom-color </item>-			<item> border-bottom-style </item>-			<item> border-bottom-width </item>-			<item> border-collapse </item>-			<item> border-color </item>-			<item> border-left </item>-			<item> border-left-color </item>-			<item> border-left-style </item>-			<item> border-left-width </item>-			<item> border-right </item>-			<item> border-right-color </item>-			<item> border-right-style </item>-			<item> border-right-width </item>-			<item> border-spacing </item>-			<item> border-style </item>-			<item> border-top </item>-			<item> border-top-color </item>-			<item> border-top-style </item>-			<item> border-top-width </item>-			<item> border-width </item>-			<item> bottom </item>-			<item> caption-side </item>-			<item> clear </item>-			<item> clip </item>-			<item> color </item>-			<item> content </item>-			<item> counter-increment </item>-			<item> counter-reset </item>-			<item> cue </item>-			<item> cue-after </item>-			<item> cue-before </item>-			<item> cursor </item>-			<item> direction </item>-			<item> display </item>-			<item> elevation </item>-			<item> empty-cells </item>-			<item> float </item>-			<item> font </item>-			<item> font-family </item>-			<item> font-size </item>-			<item> font-size-adjust </item>-			<item> font-stretch </item>-			<item> font-style </item>-			<item> font-variant </item>-			<item> font-weight </item>-			<item> font-stretch </item>-			<item> height </item>-			<item> left </item>-			<item> letter-spacing </item>-			<item> line-height </item>-			<item> list-style </item>-			<item> list-style-image </item>-			<item> list-style-keyword </item>-			<item> list-style-position </item>-			<item> list-style-type  </item>-			<item> margin </item>-			<item> margin-bottom </item>-			<item> margin-left </item>-			<item> margin-right </item>-			<item> margin-top </item>-			<item> marker-offset </item>-			<item> max-height </item>-			<item> max-width </item>-			<item> min-height </item>-			<item> min-width </item>-			<item> orphans </item>-			<item> outline </item>-			<item> outline-color </item>-			<item> outline-style </item>-			<item> outline-width </item>-			<item> overflow </item>-			<item> padding </item>-			<item> padding-bottom </item>-			<item> padding-left </item>-			<item> padding-right </item>-			<item> padding-top </item>-			<item> page </item>-			<item> page-break-after </item>-			<item> page-break-before </item>-			<item> page-break-inside </item>-			<item> pause </item>-			<item> pause-after </item>-			<item> pause-before </item>-			<item> pitch </item>-			<item> pitch-range </item>-			<item> play-during </item>-			<item> position </item>-			<item> quotes </item>-			<item> richness </item>-			<item> right </item>-			<item> size </item>-			<item> speak </item>-			<item> speak-header </item>-			<item> speak-numeral </item>-			<item> speak-punctuation </item>-			<item> speech-rate </item>-			<item> stress </item>-			<item> table-layout </item>-			<item> text-align </item>-			<item> text-decoration </item>-			<item> text-decoration-color </item>-			<item> text-indent </item>-			<item> text-shadow </item>-			<item> text-transform </item>-			<item> top </item>-			<item> unicode-bidi </item>-			<item> vertical-align </item>-			<item> visibility </item>-			<item> voice-family </item>-			<item> volume </item>-			<item> white-space </item>-			<item> widows </item>-			<item> width </item>-			<item> word-spacing </item>-			<item> z-index </item>--			<!-- CSS3 -->-			<item> animation-name </item>-			<item> animation-duration </item>-			<item> animation-iteration </item>-			<item> animation-direction </item>-			<item> animation-delay </item>-			<item> animation-play-state </item>-			<item> animation-fill-mode </item>-			<item> animation-timing-function </item>-			<item> background-size </item>-			<item> border-bottom-image </item>-			<item> border-bottom-left-image </item>-			<item> border-bottom-left-radius </item>-			<item> border-bottom-right-image </item>-			<item> border-bottom-right-radius </item>-			<item> border-collapse </item>-			<item> border-corner-image </item>-			<item> border-image </item>-			<item> border-left-image </item>-			<item> border-radius </item>-			<item> border-right-image </item>-			<item> border-top-image </item>-			<item> border-top-left-image </item>-			<item> border-top-left-radius </item>-			<item> border-top-right-image </item>-			<item> border-top-right-radius </item>-			<item> box-align </item>-			<item> box-direction </item>-			<item> box-flex </item>-			<item> box-shadow </item>-			<item> box-sizing </item>-			<item> column-count </item>-			<item> column-fill </item>-			<item> column-gap </item>-			<item> column-rule-color </item>-			<item> column-rule-style </item>-			<item> column-rule-width </item>-			<item> column-span </item>-			<item> column-wisth </item>-			<item> hyphens </item>-			<item> linear-gradient </item>-			<item> opacity </item>-			<item> outline </item>-			<item> outline-offset </item>-			<item> overflow-x </item>-			<item> overflow-y </item>-			<item> pointer-events </item>-			<item> resize </item>-			<item> rotation </item>-			<item> rotation-point </item>-			<item> table-layout </item>-			<item> text-overflow </item>-			<item> text-shadow </item>-			<item> text-wrap </item>-			<item> transform-origin </item>-			<item> transition </item>-			<item> transition-property </item>-			<item> transition-duration </item>-			<item> word-wrap </item>--			<!-- Gecko rendering engine CSS property extensions -->-			<item> -moz-animation-name </item>-			<item> -moz-animation-duration </item>-			<item> -moz-animation-iteration </item>-			<item> -moz-animation-direction </item>-			<item> -moz-animation-delay </item>-			<item> -moz-animation-play-state </item>-			<item> -moz-animation-fill-mode </item>-			<item> -moz-background-size </item>-			<item> -moz-border-image </item>-			<item> -moz-border-bottom-colors </item>-			<item> -moz-border-left-colors </item>-			<item> -moz-border-radius </item>-			<item> -moz-border-radius-topleft </item>-			<item> -moz-border-radius-topright </item>-			<item> -moz-border-radius-bottomleft </item>-			<item> -moz-border-radius-bottomright </item>-			<item> -moz-border-right-colors </item>-			<item> -moz-border-top-colors </item>-			<item> -moz-box </item>-			<item> -moz-box-flex </item>-			<item> -moz-box-shadow </item>-			<item> -moz-box-sizing </item>-			<item> -moz-column-count </item>-			<item> -moz-column-gap </item>-			<item> -moz-hyphens </item>-			<item> -moz-linear-gradient </item>-			<item> -moz-opacity </item>-			<item> -moz-outline-style </item>-			<item> -moz-perspective </item>-			<item> -moz-radial-gradient </item>-			<item> -moz-resize </item>-			<item> -moz-transform </item>-			<item> -moz-transform-origin </item>-			<item> -moz-transform-style </item>-			<item> -moz-transition </item>-			<item> -moz-transition-property </item>-			<item> -moz-transition-duration </item>--			<!-- Opera rendering engine CSS property extensions -->-			<item> -o-background-size </item>-			<item> -o-linear-gradient </item>-			<item> -o-text-overflow </item>-			<item> -o-transition </item>-			<item> -o-transform-origin </item>--			<!-- konq specific -->-			<item> konq_bgpos_x </item>-			<item> konq_bgpos_y </item>-			<item> -khtml-background-size </item>-			<item> -khtml-border-top-left-radius </item>-			<item> -khtml-border-top-right-radius </item>-			<item> -khtml-border-bottom-left-radius </item>-			<item> -khtml-border-bottom-right-radius </item>-			<item> -khtml-border-radius </item>-			<item> -khtml-box-shadow </item>-			<item> -khtml-opacity </item>--			<!-- Webkit rendering engine CSS property extensions -->-			<item> -webkit-appearance </item>-			<item> -webkit-animation-name </item>-			<item> -webkit-animation-duration </item>-			<item> -webkit-animation-iteration </item>-			<item> -webkit-animation-direction </item>-			<item> -webkit-animation-delay </item>-			<item> -webkit-animation-play-state </item>-			<item> -webkit-animation-fill-mode </item>-			<item> -webkit-background-size </item>-			<item> -webkit-border-image </item>-			<item> -webkit-border-bottom-colors </item>-			<item> -webkit-border-left-colors </item>-			<item> -webkit-border-radius </item>-			<item> -webkit-border-right-colors </item>-			<item> -webkit-border-top-colors </item>-			<item> -webkit-border-top-left-radius </item>-			<item> -webkit-border-top-right-radius </item>-			<item> -webkit-border-bottom-left-radius </item>-			<item> -webkit-border-bottom-right-radius </item>-			<item> -webkit-border-radius-bottomleft </item>-			<item> -webkit-border-radius-bottomright </item>-			<item> -webkit-box-flex </item>-			<item> -webkit-box-reflect</item>-			<item> -webkit-box-shadow </item>-			<item> -webkit-box-sizing </item>-			<item> -webkit-column-count </item>-			<item> -webkit-column-gap </item>-			<item> -webkit-hyphens </item>-			<item> -webkit-linear-gradient </item>-			<item> -webkit-gradient </item>-			<item> -webkit-perspective </item>-			<item> -webkit-text-fill-color </item>-			<item> -webkit-text-stroke-color </item>-			<item> -webkit-text-stroke-width </item>-			<item> -webkit-text-size-adjust </item>-			<item> -webkit-transform </item>-			<item> -webkit-transform-origin </item>-			<item> -webkit-transform-style </item>-			<item> -webkit-transition </item>-			<item> -webkit-transition-property </item>-			<item> -webkit-transition-duration </item>--			<!-- Trident (a.k.a., MSHTML) CSS property extensions -->-			<item> filter </item>-			<item> zoom </item>-			<item> -ms-animation-name </item>-			<item> -ms-animation-duration </item>-			<item> -ms-animation-iteration </item>-			<item> -ms-animation-direction </item>-			<item> -ms-animation-delay </item>-			<item> -ms-animation-play-state </item>-			<item> -ms-animation-fill-mode </item>-			<item> -ms-box-sizing </item>-			<item> -ms-filter </item>-			<item> -ms-interpolation-mode </item>-			<item> -ms-linear-gradient </item>-			<item> -ms-text-size-adjust </item>-			<item> -ms-transform </item>-			<item> -ms-transition </item>--			<!-- font properties in @font-face -->-			<item> font-family </item>-			<item> font-size </item>-			<item> font-stretch </item>-			<item> font-style </item>-			<item> font-variant </item>-			<item> font-weight </item>-			<item> unicode-range </item>-			<item> units-per-em </item>-			<item> src </item>-			<item> panose-1 </item>-			<item> stemv </item>-			<item> stemh </item>-			<item> slope </item>-			<item> cap-height </item>-			<item> x-height </item>-			<item> ascent </item>-			<item> descent </item>-			<item> widths </item>-			<item> bbox </item>-			<item> definition-src </item>-			<item> baseline </item>-			<item> centerline </item>-			<item> mathline </item>-			<item> topline </item>-		</list>--		<list name="types">-			<item> inherit </item>-			<item> none </item>-			<item> hidden </item>-			<item> dotted </item>-			<item> dashed </item>-			<item> solid </item>-			<item> double </item>-			<item> groove </item>-			<item> ridge </item>-			<item> inset </item>-			<item> outset </item>-			<item> xx-small </item>-			<item> x-small </item>-			<item> small </item>-			<item> medium </item>-			<item> large </item>-			<item> x-large </item>-			<item> xx-large </item>-			<item> smaller </item>-			<item> larger </item>-			<item> italic </item>-			<item> oblique </item>-			<item> small-caps </item>-			<item> normal </item>-			<item> bold </item>-			<item> bolder </item>-			<item> lighter </item>-			<item> light </item>-			<item> 100 </item>-			<item> 200 </item>-			<item> 300 </item>-			<item> 400 </item>-			<item> 500 </item>-			<item> 600 </item>-			<item> 700 </item>-			<item> 800 </item>-			<item> 900 </item>-			<item> transparent </item>-			<item> repeat </item>-			<item> repeat-x </item>-			<item> repeat-y </item>-			<item> no-repeat </item>-			<item> baseline </item>-			<item> sub </item>-			<item> super </item>-			<item> top </item>-			<item> text-top </item>-			<item> middle </item>-			<item> bottom </item>-			<item> text-bottom </item>-			<item> left </item>-			<item> right </item>-			<item> center </item>-			<item> justify </item>-			<item> konq-center </item>-			<item> disc </item>-			<item> circle </item>-			<item> square </item>-			<item> box </item>-			<item> decimal </item>-			<item> decimal-leading-zero </item>-			<item> lower-roman </item>-			<item> upper-roman </item>-			<item> lower-greek </item>-			<item> lower-alpha </item>-			<item> lower-latin </item>-			<item> upper-alpha </item>-			<item> upper-latin </item>-			<item> hebrew </item>-			<item> armenian </item>-			<item> georgian </item>-			<item> cjk-ideographic </item>-			<item> hiragana </item>-			<item> katakana </item>-			<item> hiragana-iroha </item>-			<item> katakana-iroha </item>-			<item> inline </item>-			<item> inline-block </item>-			<item> block </item>-			<item> list-item </item>-			<item> run-in </item>-			<item> compact </item>-			<item> marker </item>-			<item> table </item>-			<item> inline-table </item>-			<item> table-row-group </item>-			<item> table-header-group </item>-			<item> table-footer-group </item>-			<item> table-row </item>-			<item> table-column-group </item>-			<item> table-column </item>-			<item> table-cell </item>-			<item> table-caption </item>-			<item> auto </item>-			<item> crosshair </item>-			<item> default </item>-			<item> pointer </item>-			<item> move </item>-			<item> e-resize </item>-			<item> ne-resize </item>-			<item> nw-resize </item>-			<item> n-resize </item>-			<item> se-resize </item>-			<item> sw-resize </item>-			<item> s-resize </item>-			<item> w-resize </item>-			<item> text </item>-			<item> wait </item>-			<item> help </item>-			<item> above </item>-			<item> absolute </item>-			<item> always </item>-			<item> avoid </item>-			<item> below </item>-			<item> bidi-override </item>-			<item> blink </item>-			<item> both </item>-			<item> capitalize </item>-			<item> caption </item>-			<item> clip </item>-			<item> close-quote </item>-			<item> collapse </item>-			<item> condensed </item>-			<item> crop </item>-			<item> cross </item>-			<item> ellipsis </item>-			<item> ellipsis-word </item>-			<item> embed </item>-			<item> expanded </item>-			<item> extra-condensed </item>-			<item> extra-expanded </item>-			<item> fixed </item>-			<item> hand </item>-			<item> hide </item>-			<item> higher </item>-			<item> icon </item>-			<item> inside </item>-			<item> invert </item>-			<item> landscape </item>-			<item> level </item>-			<item> line-through </item>-			<item> loud </item>-			<item> lower </item>-			<item> lowercase </item>-			<item> ltr </item>-			<item> menu </item>-			<item> message-box </item>-			<item> mix </item>-			<item> narrower </item>-			<item> no-close-quote </item>-			<item> no-open-quote </item>-			<item> nowrap </item>-			<item> open-quote </item>-			<item> outside </item>-			<item> overline </item>-			<item> portrait </item>-			<item> pre </item>-			<item> pre-line </item>-			<item> pre-wrap </item>-			<item> relative </item>-			<item> rtl </item>-			<item> scroll </item>-			<item> semi-condensed </item>-			<item> semi-expanded </item>-			<item> separate </item>-			<item> show </item>-			<item> small-caption </item>-			<item> static </item>-			<item> static-position </item>-			<item> status-bar </item>-			<item> thick </item>-			<item> thin </item>-			<item> ultra-condensed </item>-			<item> ultra-expanded </item>-			<item> underline </item>-			<item> uppercase </item>-			<item> visible </item>-			<item> wider </item>-			<item> break </item>-			<item> serif </item>-			<item> sans-serif </item>-			<item> cursive </item>-			<item> fantasy </item>-			<item> monospace </item>-			<item> border-box </item>-			<item> content-box </item>-			<item> -epub-hyphens </item>-		</list>---		<list name="colors">-			<item> aqua </item>-			<item> black </item>-			<item> blue </item>-			<item> cyan </item>-			<item> fuchsia </item>-			<item> gray </item>-			<item> green </item>-			<item> lime </item>-			<item> maroon </item>-			<item> navy </item>-			<item> olive </item>-			<item> purple </item>-			<item> red </item>-			<item> silver </item>-			<item> teal </item>-			<item> white </item>-			<item> yellow </item>-			<item> ActiveBorder  </item>-			<item> ActiveCaption  </item>-			<item> AppWorkspace  </item>-			<item> Background  </item>-			<item> ButtonFace  </item>-			<item> ButtonHighlight  </item>-			<item> ButtonShadow  </item>-			<item> ButtonText  </item>-			<item> CaptionText  </item>-			<item> GrayText  </item>-			<item> Highlight  </item>-			<item> HighlightText  </item>-			<item> InactiveBorder  </item>-			<item> InactiveCaption  </item>-			<item> InactiveCaptionText  </item>-			<item> InfoBackground  </item>-			<item> InfoText  </item>-			<item> Menu  </item>-			<item> MenuText  </item>-			<item> Scrollbar  </item>-			<item> ThreeDDarkShadow  </item>-			<item> ThreeDFace  </item>-			<item> ThreeDHighlight  </item>-			<item> ThreeDLightShadow  </item>-			<item> ThreeDShadow  </item>-			<item> Window  </item>-			<item> WindowFrame  </item>-			<item> WindowText  </item>-		</list>--		<list name="paren">-			<item> url </item>-			<item> attr </item>-			<item> rect </item>-			<item> rgb </item>-			<item> rgba </item>-			<item> hsl </item>-			<item> hsla </item>-			<item> counter </item>-			<item> counters </item>--			<!-- in @font-face -->-			<item> local </item>-			<item> format </item>--			<!-- Trident (a.k.a., MSHTML) rendering engine functional notation extensions -->-			<item> expression </item>--		</list>--		<list name="mediatypes">-			<item> all </item>-			<item> aural </item>-			<item> braille </item>-			<item> embossed </item>-			<item> handheld </item>-			<item> print </item>-			<item> projection </item>-			<item> screen </item>-			<item> speech </item>-			<item> tty </item>-			<item> tv </item>-		</list>--		<list name="mediatypes_op">-                    <item> not </item>-                    <item> only </item>-		</list>-		-		<list name="media_features">-                    <item> width </item>-                    <item> min-width </item>-                    <item> max-width</item>-                    <item> height </item>-                    <item> min-height </item>-                    <item> max-height </item>-                    <item> device-width </item>-                    <item> min-device-width </item>-                    <item> max-device-width </item>-                    <item> device-height </item>-                    <item> min-device-height </item>-                    <item> max-device-height </item>-                    <item> orientation </item>-                    <item> aspect-ratio </item>-                    <item> min-aspect-ratio </item>-                    <item> max-aspect-ratio </item>-                    <item> device-aspect-ratio </item>-                    <item> min-device-aspect-ratio </item>-                    <item> max-device-aspect-ratio </item>-                    <item> color </item>-                    <item> min-color </item>-                    <item> max-color </item>-                    <item> color-index </item>-                    <item> min-color-index </item>-                    <item> max-color-index </item>-                    <item> monochrome </item>-                    <item> min-monochrome </item>-                    <item> max-monochrome </item>-                    <item> resolution </item>-                    <item> min-resolution </item>-                    <item> max-resolution </item>-                    <item> scan </item>-                    <item> grid </item>-		</list>-		-		<list name="pseudoclasses">-			<item> hover </item>-			<item> link </item>-			<item> visited </item>-			<item> active </item>-			<item> focus </item>-			<item> first-child </item>-			<item> last-child </item>-			<item> only-child </item>-			<item> first-of-type </item>-			<item> last-of-type </item>-			<item> only-of-type </item>-			<item> first-letter </item>-			<item> first-line </item>-			<item> before </item>-			<item> after </item>-			<item> selection </item>-			<item> root </item>-			<item> empty </item>-			<item> target </item>-			<item> enabled </item>-			<item> disabled </item>-			<item> checked </item>-			<item> indeterminate </item>-			<item> nth-child </item>-			<item> nth-last-child </item>-			<item> nth-of-type </item>-			<item> nth-last-of-type </item>-			<item> not </item>-		</list>--		<contexts>-			<context attribute="Normal Text" lineEndContext="#stay" name="Base">-				<LineContinue/>-				<DetectSpaces/>-				<IncludeRules context="FindRuleSets" />-			</context>--			<!-- to be included -->-			<!-- finds rules and detects nesting -->-			<context attribute="Normal Text" lineEndContext="#stay" name="FindRuleSets">-				<RegExpr attribute="Media" context="Media" String="@media\b" />-				<RegExpr attribute="At Rule" context="Import" String="@import\b" />-				<RegExpr attribute="At Rule" context="#stay" String="@(font-face|charset)\b" />-				<DetectChar attribute="Property" context="RuleSet" char="{" beginRegion="ruleset" />-				<!--parse selectors-->-				<DetectChar attribute="Selector Attr" context="SelAttr" char="[" />-				<RegExpr attribute="Selector Id" context="#stay" String="#(-)?(&nmstart;)(&nmchar;)*" />-				<RegExpr attribute="Selector Class" context="#stay" String="\.([a-zA-Z0-9\-_]|[\x80-\xFF]|\\[0-9A-Fa-f]{1,6})*" />-				<RegExpr attribute="Selector Pseudo" context="#stay" String=":lang\([\w_-]+\)" />-				<DetectChar attribute="Selector Pseudo" context="SelPseudo" char=":" />-				<IncludeRules context="FindStrings" />-				<IncludeRules context="FindComments" />-			</context>--			<!-- finds arguments to properties -->-			<context attribute="Normal Text" lineEndContext="#stay" name="FindValues">-				<RegExpr attribute="Value" context="#stay" String="[-+]?[0-9.]+(em|ex|ch|rem|vw|vh|vm|px|in|cm|mm|pt|pc|deg|rad|grad|turn|ms|s|Hz|kHz)\b" />-				<RegExpr attribute="Value" context="#stay" String="[-+]?[0-9.]+[%]?" />-				<RegExpr attribute="Normal Text" context="#stay" String="[\w\-]+" />-			</context>--			<!-- finds strings -->-			<context attribute="Normal Text" lineEndContext="#stay" name="FindStrings">-				<DetectChar attribute="String" context="StringDQ" char="&quot;" />-				<DetectChar attribute="String" context="StringSQ" char="'" />-			</context>--			<!-- finds comments -->-			<context attribute="Normal Text" lineEndContext="#stay" name="FindComments">-				<RegExpr attribute="Region Marker" context="#stay" String="/\*BEGIN.*\*/" beginRegion="UserDefined" />-				<RegExpr attribute="Region Marker" context="#stay" String="/\*END.*\*/" endRegion="UserDefined" />-				<Detect2Chars attribute="Comment" context="Comment" char="/" char1="*" beginRegion="comment" />-			</context>--			<!-- other contexts -->-			<context attribute="Normal Text" lineEndContext="#stay" name="Media">-				<DetectChar attribute="Media" context="Media2" char="{" beginRegion="media" />-                                <DetectChar attribute="Media" context="MediaQueryExpression" char="(" />-				<keyword attribute="Media" context="MediaQueries" String="mediatypes"/>-				<keyword attribute="Media" context="MediaTypes" String="mediatypes_op" />-				<DetectChar attribute="Media" context="#stay" char="," />-				<IncludeRules context="FindComments" />-				<RegExpr attribute="Error" context="#stay" String="\S+" />-			</context>-			-			<context attribute="Media" lineEndContext="#stay" name="MediaTypes">-                            <keyword attribute="Media" context="MediaQueries" String="mediatypes"/>-                            <DetectChar attribute="Media" context="#pop" char= "{" lookAhead="true"/>-                            <DetectChar attribute="Media" context="#pop" char= "," lookAhead="true"/>-                            <DetectSpaces/>-                            <IncludeRules context="FindComments"/>-                            <RegExpr attribute="Error" context="#stay" String="\S+"/> -			</context>-			-			<context attribute="Media" lineEndContext="#stay" name="MediaQueries">-			    <RegExpr attribute="Media" context="MediaQueryExpression" String="\s+and\s+\("/>-			    <DetectChar attribute="Media" context="#pop" char= "{" lookAhead="true"/>-                            <DetectChar attribute="Media" context="#pop" char= "," lookAhead="true"/>-                            <DetectSpaces/>-                            <IncludeRules context="FindComments"/>-                            <RegExpr attribute="Error" context="#stay" String="\S+"/>-			</context>-			-                        <context attribute="Media" lineEndContext="#stay" name="MediaQueryExpression">-                            <DetectSpaces/>-                            <keyword attribute="Media" context="MQEE" String="media_features"/>-                            <IncludeRules context="FindComments"/>-                            <RegExpr attribute="Error" context="#stay" String="\S+"/>-                        </context>-                        -                        <context attribute="Media" lineEndContext="#stay" name="MQEE" fallthrough="true" fallthroughContext="#pop">-                            <DetectSpaces/>-                            <IncludeRules context="FindComments"/>-                            <DetectChar attribute="Media" context="MQEV" char=":"/>-                            <RegExpr attribute="Media" context="#pop" String="\)\s+and\s+\("/>-                            <DetectChar attribute="Media" context="#pop#pop" char=")"/>-                        </context>-                        -                        <context attribute="Media" lineEndContext="#stay" name="MQEV">-                        <!-- this should be seperate for different features, for now it is all the same -->-                            <DetectSpaces/>-                            <RegExpr attribute="Value" context="#pop" String="[1-9][0-9.]*\s*/\s*[1-9][0-9.]*" />-                            <RegExpr attribute="Value" context="#pop" String="[0-9.]+(em|ex|ch|rem|vw|vh|vm|px|in|cm|mm|pt|pc|deg|rad|grad|turn|ms|s|Hz|kHz|dpi|dpcm)\b" />-                            <RegExpr attribute="Value" context="#pop" String="[0-9.]+[%]?" />-                            <RegExpr attribute="Value" context="#pop" String="(portrait|landscape)" />-                            <RegExpr attribute="Error" context="#stay" String=".*"/>-                        </context>--			<context attribute="Normal Text" lineEndContext="#stay" name="Media2">-				<DetectChar attribute="Media" context="#pop#pop" char="}" endRegion="media" />-				<IncludeRules context="FindRuleSets" />-			</context>--			<context attribute="Selector Attr" lineEndContext="#stay" name="SelAttr">-				<DetectChar attribute="Selector Attr" context="#pop" char="]" />-				<IncludeRules context="FindStrings" />-			</context>--			<context attribute="Selector Pseudo" lineEndContext="#pop" name="SelPseudo"-					fallthrough="true" fallthroughContext="#pop">-					<keyword attribute="Selector Pseudo" context="#pop" String="pseudoclasses" />-				</context>--				<context attribute="Normal Text" lineEndContext="#stay" name="Import">-					<DetectChar attribute="At Rule" context="#pop" char=";" />-					<keyword attribute="Media" context="#stay" String="mediatypes" />-					<IncludeRules context="FindValues" />-					<IncludeRules context="FindStrings" />-					<IncludeRules context="FindComments" />-				</context>--				<context attribute="Comment" lineEndContext="#stay" name="Comment">-					<DetectSpaces/>-					<Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="comment" />-					<IncludeRules context="##Alerts" />-					<DetectIdentifier/>-				</context>--				<context attribute="Normal Text" lineEndContext="#stay" name="RuleSet">-					<DetectChar attribute="Property" context="#pop" char="}" endRegion="ruleset" />-					<keyword attribute="Property" context="Rule" String="properties" />-					<RegExpr attribute="Unknown Property" context="Rule" String="-?[A-Za-z_-]+(?=\s*:)" />-					<IncludeRules context="FindComments" />-					<RegExpr attribute="Error" context="#stay" String="\S" />-				</context>--				<context attribute="Normal Text" lineEndContext="#stay" name="Rule">-					<DetectChar attribute="Property" context="Rule2" char=":" />-					<RegExpr attribute="Error" context="#stay" String="\S" />-				</context>--				<context attribute="Normal Text" lineEndContext="#stay" name="Rule2">-					<DetectChar attribute="Property" context="#pop#pop" char=";" />-					<DetectChar attribute="Property" context="#pop#pop#pop" char="}" endRegion="ruleset" />-					<!-- parse property values -->-					<keyword attribute="Value" context="#stay" String="types" />-					<keyword attribute="Value" context="#stay" String="colors" />-					<RegExpr attribute="Value" context="#stay" String="#([0-9A-Fa-f]{3}){1,4}\b" />-					<keyword attribute="Value" context="PropParen" String="paren" />-					<RegExpr attribute="Important" context="#stay" String="!important\b" />-					<IncludeRules context="FindValues" />-					<IncludeRules context="FindStrings" />-					<IncludeRules context="FindComments" />-				</context>--				<context attribute="Normal Text" lineEndContext="#stay" name="PropParen">-					<DetectChar attribute="Value" context="PropParen2" char="(" />-					<IncludeRules context="FindComments" />-					<RegExpr attribute="Error" context="#stay" String="\S" />-				</context>--				<context attribute="Normal Text" lineEndContext="#stay" name="PropParen2">-					<DetectChar attribute="Value" context="#pop#pop" char=")" />-					<IncludeRules context="FindValues" />-					<IncludeRules context="FindStrings" />-					<IncludeRules context="FindComments" />-				</context>--				<!-- string contexts -->-				<context attribute="String" lineEndContext="#stay" name="StringDQ">-					<DetectChar attribute="String" context="#pop" char="&quot;" />-					<IncludeRules context="InsideString" />-				</context>--				<context attribute="String" lineEndContext="#stay" name="StringSQ">-					<DetectChar attribute="String" context="#pop" char="'" />-					<IncludeRules context="InsideString" />-				</context>--				<context attribute="String" lineEndContext="#stay" name="InsideString">-					<RegExpr attribute="String" context="#stay" String="\\[&quot;']" />-					<DetectIdentifier/>-				</context>--			</contexts>-			<itemDatas>-				<itemData name="Normal Text" defStyleNum="dsNormal" spellChecking="false"/>-				<itemData name="Property"  defStyleNum="dsKeyword" spellChecking="false"/>-				<itemData name="Unknown Property"  defStyleNum="dsKeyword" italic="1" spellChecking="false"/>-				<itemData name="Media"  defStyleNum="dsDecVal" bold="1" spellChecking="false"/>-				<itemData name="At Rule"  defStyleNum="dsDecVal" spellChecking="false"/>-				<itemData name="String"  defStyleNum="dsString"/>-				<itemData name="Value"  defStyleNum="dsDataType" spellChecking="false"/>-				<itemData name="Important" defStyleNum="dsKeyword" spellChecking="false"/>-				<itemData name="Selector Attr" defStyleNum="dsChar" spellChecking="false"/>-				<itemData name="Selector Id"  defStyleNum="dsFloat" bold="1" spellChecking="false"/>-				<itemData name="Selector Class"  defStyleNum="dsFloat" spellChecking="false"/>-				<itemData name="Selector Pseudo"  defStyleNum="dsDecVal" spellChecking="false"/>-				<itemData name="Comment" defStyleNum="dsComment" />-				<itemData name="Region Marker" defStyleNum="dsRegionMarker" spellChecking="false"/>-				<itemData name="Error" defStyleNum="dsError" spellChecking="false"/>-			</itemDatas>-		</highlighting>-		<general>-			<keywords casesensitive="0" weakDeliminator="-%"/>-			<comments>-				<comment name="multiLine" start="/*" end="*/" />-			</comments>-		</general>-	</language>+- Version 2.13, by Guo Yunhe+- Add all W3C Work Draft properties++- Version 2.06, by Mte90:+- CSS3 tag++- Version 2.03, by Milian Wolff:+- Make it spelling aware++- Version 2.08, Joseph Wenninger:+- CSS3 media queries++-->++<language name="CSS" version="3" kateversion="5.0" section="Markup" extensions="*.css" indenter="cstyle" mimetype="text/css" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL">++    <highlighting>+        <list name="properties">+            <!-- W3C > Work Draft, from https://www.w3.org/Style/CSS/all-properties -->+            <item> azimuth </item>+            <item> align-content </item>+            <item> align-items </item>+            <item> align-self </item>+            <item> alignment-baseline </item>+            <item> all </item>+            <item> animation-name </item>+            <item> animation-duration </item>+            <item> animation-iteration-count </item>+            <item> animation-direction </item>+            <item> animation-delay </item>+            <item> animation-play-state </item>+            <item> animation-fill-mode </item>+            <item> animation-timing-function </item>+            <item> backface-visibility </item>+            <item> background </item>+            <item> background-attachment </item>+            <item> background-blend-mode </item>+            <item> background-break </item>+            <item> background-clip </item>+            <item> background-color </item>+            <item> background-image </item>+            <item> background-origin </item>+            <item> background-position </item>+            <item> background-repeat </item>+            <item> background-size </item>+            <item> baseline-shift </item>+            <item> bookmark-label </item>+            <item> bookmark-level </item>+            <item> bookmark-level </item>+            <item> border </item>+            <item> border-bottom </item>+            <item> border-bottom-color </item>+            <item> border-bottom-image </item>+            <item> border-bottom-style </item>+            <item> border-bottom-width </item>+            <item> border-bottom-left-image </item>+            <item> border-bottom-left-radius </item>+            <item> border-bottom-right-image </item>+            <item> border-bottom-right-radius </item>+            <item> border-boundary </item>+            <item> border-collapse </item>+            <item> border-color </item>+            <item> border-corner-image </item>+            <item> border-image </item>+            <item> border-image-outset </item>+            <item> border-image-repeat </item>+            <item> border-image-slice </item>+            <item> border-image-source </item>+            <item> border-image-width </item>+            <item> border-left </item>+            <item> border-left-color </item>+            <item> border-left-image </item>+            <item> border-left-style </item>+            <item> border-left-width </item>+            <item> border-radius </item>+            <item> border-right </item>+            <item> border-right-color </item>+            <item> border-right-image </item>+            <item> border-right-style </item>+            <item> border-right-width </item>+            <item> border-spacing </item>+            <item> border-style </item>+            <item> border-top </item>+            <item> border-top-color </item>+            <item> border-top-image </item>+            <item> border-top-style </item>+            <item> border-top-width </item>+            <item> border-top-left-image </item>+            <item> border-top-left-radius </item>+            <item> border-top-right-image </item>+            <item> border-top-right-radius </item>+            <item> border-width </item>+            <item> bottom </item>+            <item> box-align </item>+            <item> box-decoration-break </item>+            <item> box-direction </item>+            <item> box-flex </item>+            <item> box-shadow </item>+            <item> box-sizing </item>+            <item> box-snap </item>+            <item> box-suppress </item>+            <item> break-after </item>+            <item> break-before </item>+            <item> break-inside </item>+            <item> caret-color </item>+            <item> caption-side </item>+            <item> chains </item>+            <item> clear </item>+            <item> clip </item>+            <item> clip-path </item>+            <item> clip-rule </item>+            <item> color </item>+            <item> color-interpolation-filters </item>+            <item> column-count </item>+            <item> column-fill </item>+            <item> column-gap </item>+            <item> column-rule </item>+            <item> column-rule-color </item>+            <item> column-rule-style </item>+            <item> column-rule-width </item>+            <item> column-span </item>+            <item> column-width </item>+            <item> columns </item>+            <item> content </item>+            <item> counter-increment </item>+            <item> counter-reset </item>+            <item> counter-set </item>+            <item> cue </item>+            <item> cue-after </item>+            <item> cue-before </item>+            <item> cursor </item>+            <item> direction </item>+            <item> display </item>+            <item> dominant-baseline </item>+            <item> elevation </item>+            <item> empty-cells </item>+            <item> filter </item>+            <item> flex </item>+            <item> flex-basis </item>+            <item> flex-direction </item>+            <item> flex-flow </item>+            <item> flex-grow </item>+            <item> flex-shrink </item>+            <item> flex-wrap </item>+            <item> float </item>+            <item> flood-color </item>+            <item> flood-opacity </item>+            <item> flow </item>+            <item> flow-from </item>+            <item> flow-into </item>+            <item> font </item>+            <item> font-family </item>+            <item> font-size </item>+            <item> font-size-adjust </item>+            <item> font-stretch </item>+            <item> font-style </item>+            <item> font-variant </item>+            <item> font-weight </item>+            <item> font-stretch </item>+            <item> font-feature-settings </item>+            <item> font-kerning </item>+            <item> font-language-override </item>+            <item> font-synthesis </item>+            <item> font-variant-alternates </item>+            <item> font-variant-caps </item>+            <item> font-variant-east-asian </item>+            <item> font-variant-ligatures </item>+            <item> font-variant-numeric </item>+            <item> font-variant-position </item>+            <item> footnote-display </item>+            <item> footnote-policy </item>+            <item> glyph-orientation-vertical </item>+            <item> grid </item>+            <item> grid-area </item>+            <item> grid-auto-columns </item>+            <item> grid-auto-flow </item>+            <item> grid-auto-rows </item>+            <item> grid-column </item>+            <item> grid-column-end </item>+            <item> grid-column-gap </item>+            <item> grid-column-start </item>+            <item> grid-gap </item>+            <item> grid-row </item>+            <item> grid-row-end </item>+            <item> grid-row-gap </item>+            <item> grid-row-start </item>+            <item> grid-template </item>+            <item> grid-template-areas </item>+            <item> grid-template-columns </item>+            <item> grid-template-rows </item>+            <item> hanging-punctuation </item>+            <item> height </item>+            <item> hyphens </item>+            <item> image-orientation </item>+            <item> image-rendering </item>+            <item> image-resolution </item>+            <item> initial-letter </item>+            <item> initial-letter-align </item>+            <item> initial-letter-wrap </item>+            <item> isolation </item>+            <item> justify-content </item>+            <item> justify-items </item>+            <item> justify-self </item>+            <item> left </item>+            <item> letter-spacing </item>+            <item> lighting-color </item>+            <item> linear-gradient </item>+            <item> line-grid </item>+            <item> line-height </item>+            <item> line-snap </item>+            <item> list-style </item>+            <item> list-style-image </item>+            <item> list-style-keyword </item>+            <item> list-style-position </item>+            <item> list-style-type  </item>+            <item> margin </item>+            <item> margin-bottom </item>+            <item> margin-left </item>+            <item> margin-right </item>+            <item> margin-top </item>+            <item> marker-offset </item>+            <item> marker-side </item>+            <item> marquee-direction </item>+            <item> marquee-loop </item>+            <item> marquee-speed </item>+            <item> marquee-style </item>+            <item> mask </item>+            <item> mask-border </item>+            <item> mask-border-mode </item>+            <item> mask-border-outset </item>+            <item> mask-border-repeat </item>+            <item> mask-border-slice </item>+            <item> mask-border-source </item>+            <item> mask-border-width </item>+            <item> mask-clip </item>+            <item> mask-composite </item>+            <item> mask-image </item>+            <item> mask-mode </item>+            <item> mask-origin </item>+            <item> mask-position </item>+            <item> mask-repeat </item>+            <item> mask-size </item>+            <item> mask-type </item>+            <item> max-height </item>+            <item> max-lines </item>+            <item> max-width </item>+            <item> min-height </item>+            <item> min-width </item>+            <item> mix-blend-mode </item>+            <item> nav-down </item>+            <item> nav-left </item>+            <item> nav-right </item>+            <item> nav-up </item>+            <item> object-fit </item>+            <item> object-position </item>+            <item> offset-after </item>+            <item> offset-before </item>+            <item> offset-end </item>+            <item> offset-start </item>+            <item> opacity </item>+            <item> order </item>+            <item> orphans </item>+            <item> outline </item>+            <item> outline-color </item>+            <item> outline-offset </item>+            <item> outline-style </item>+            <item> outline-width </item>+            <item> overflow </item>+            <item> overflow-style </item>+            <item> overflow-wrap </item>+            <item> overflow-x </item>+            <item> overflow-y </item>+            <item> padding </item>+            <item> padding-bottom </item>+            <item> padding-left </item>+            <item> padding-right </item>+            <item> padding-top </item>+            <item> page </item>+            <item> page-break-after </item>+            <item> page-break-before </item>+            <item> page-break-inside </item>+            <item> pause </item>+            <item> pause-after </item>+            <item> pause-before </item>+            <item> perspective </item>+            <item> perspective-origin </item>+            <item> pitch </item>+            <item> pitch-range </item>+            <item> play-during </item>+            <item> pointer-events </item>+            <item> polar-anchor </item>+            <item> polar-angle </item>+            <item> polar-distance </item>+            <item> polar-origin </item>+            <item> position </item>+            <item> presentation-level </item>+            <item> quotes </item>+            <item> resize </item>+            <item> rest </item>+            <item> rest-after </item>+            <item> rest-before </item>+            <item> richness </item>+            <item> right </item>+            <item> rotation </item>+            <item> rotation-point </item>+            <item> ruby-align </item>+            <item> ruby-merge </item>+            <item> ruby-position </item>+            <item> running </item>+            <item> scroll-behavior </item>+            <item> scroll-snap-align </item>+            <item> scroll-snap-margin </item>+            <item> scroll-snap-margin-block </item>+            <item> scroll-snap-margin-block-end </item>+            <item> scroll-snap-margin-block-start </item>+            <item> scroll-snap-margin-bottom </item>+            <item> scroll-snap-margin-inline </item>+            <item> scroll-snap-margin-inline-end </item>+            <item> scroll-snap-margin-inline-start </item>+            <item> scroll-snap-margin-left </item>+            <item> scroll-snap-margin-right </item>+            <item> scroll-snap-margin-top </item>+            <item> scroll-snap-padding </item>+            <item> scroll-snap-padding-block </item>+            <item> scroll-snap-padding-block-end </item>+            <item> scroll-snap-padding-block-start </item>+            <item> scroll-snap-padding-bottom </item>+            <item> scroll-snap-padding-inline </item>+            <item> scroll-snap-padding-inline-end </item>+            <item> scroll-snap-padding-inline-start </item>+            <item> scroll-snap-padding-left </item>+            <item> scroll-snap-padding-right </item>+            <item> scroll-snap-padding-top </item>+            <item> scroll-snap-stop </item>+            <item> scroll-snap-type </item>+            <item> shape-image-threshold </item>+            <item> shape-inside </item>+            <item> shape-margin </item>+            <item> shape-outside </item>+            <item> size </item>+            <item> speak </item>+            <item> speak-as </item>+            <item> speak-header </item>+            <item> speak-numeral </item>+            <item> speak-punctuation </item>+            <item> speech-rate </item>+            <item> stress </item>+            <item> string-set </item>+            <item> tab-size </item>+            <item> table-layout </item>+            <item> text-align </item>+            <item> text-align-last </item>+            <item> text-combine-upright </item>+            <item> text-decoration </item>+            <item> text-decoration-color </item>+            <item> text-decoration-line </item>+            <item> text-decoration-skip </item>+            <item> text-decoration-style </item>+            <item> text-emphasis </item>+            <item> text-emphasis-color </item>+            <item> text-emphasis-position </item>+            <item> text-emphasis-style </item>+            <item> text-indent </item>+            <item> text-justify </item>+            <item> text-orientation </item>+            <item> text-overflow </item>+            <item> text-shadow </item>+            <item> text-transform </item>+            <item> text-underline-position </item>+            <item> text-wrap </item>+            <item> top </item>+            <item> transform </item>+            <item> transform-origin </item>+            <item> transform-style </item>+            <item> transition </item>+            <item> transition-delay </item>+            <item> transition-property </item>+            <item> transition-duration </item>+            <item> transition-timing-function </item>+            <item> unicode-bidi </item>+            <item> vertical-align </item>+            <item> visibility </item>+            <item> voice-balance </item>+            <item> voice-duration </item>+            <item> voice-family </item>+            <item> voice-pitch </item>+            <item> voice-range </item>+            <item> voice-rate </item>+            <item> voice-stress </item>+            <item> voice-volume </item>+            <item> volume </item>+            <item> white-space </item>+            <item> widows </item>+            <item> width </item>+            <item> will-change </item>+            <item> word-break </item>+            <item> word-spacing </item>+            <item> word-wrap </item>+            <item> wrap-flow </item>+            <item> wrap-through </item>+            <item> writing-mode </item>+            <item> z-index </item>++            <!-- Gecko rendering engine CSS property extensions -->+            <item> -moz-animation-name </item>+            <item> -moz-animation-duration </item>+            <item> -moz-animation-iteration </item>+            <item> -moz-animation-direction </item>+            <item> -moz-animation-delay </item>+            <item> -moz-animation-play-state </item>+            <item> -moz-animation-fill-mode </item>+            <item> -moz-background-size </item>+            <item> -moz-border-image </item>+            <item> -moz-border-bottom-colors </item>+            <item> -moz-border-left-colors </item>+            <item> -moz-border-radius </item>+            <item> -moz-border-radius-topleft </item>+            <item> -moz-border-radius-topright </item>+            <item> -moz-border-radius-bottomleft </item>+            <item> -moz-border-radius-bottomright </item>+            <item> -moz-border-right-colors </item>+            <item> -moz-border-top-colors </item>+            <item> -moz-box </item>+            <item> -moz-box-flex </item>+            <item> -moz-box-shadow </item>+            <item> -moz-box-sizing </item>+            <item> -moz-column-count </item>+            <item> -moz-column-gap </item>+            <item> -moz-hyphens </item>+            <item> -moz-linear-gradient </item>+            <item> -moz-opacity </item>+            <item> -moz-outline-style </item>+            <item> -moz-perspective </item>+            <item> -moz-radial-gradient </item>+            <item> -moz-resize </item>+            <item> -moz-transform </item>+            <item> -moz-transform-origin </item>+            <item> -moz-transform-style </item>+            <item> -moz-transition </item>+            <item> -moz-transition-property </item>+            <item> -moz-transition-duration </item>++            <!-- Opera rendering engine CSS property extensions -->+            <item> -o-background-size </item>+            <item> -o-linear-gradient </item>+            <item> -o-text-overflow </item>+            <item> -o-transition </item>+            <item> -o-transform-origin </item>++            <!-- konq specific -->+            <item> konq_bgpos_x </item>+            <item> konq_bgpos_y </item>+            <item> -khtml-background-size </item>+            <item> -khtml-border-top-left-radius </item>+            <item> -khtml-border-top-right-radius </item>+            <item> -khtml-border-bottom-left-radius </item>+            <item> -khtml-border-bottom-right-radius </item>+            <item> -khtml-border-radius </item>+            <item> -khtml-box-shadow </item>+            <item> -khtml-opacity </item>++            <!-- Webkit rendering engine CSS property extensions -->+            <item> -webkit-appearance </item>+            <item> -webkit-animation-name </item>+            <item> -webkit-animation-duration </item>+            <item> -webkit-animation-iteration </item>+            <item> -webkit-animation-direction </item>+            <item> -webkit-animation-delay </item>+            <item> -webkit-animation-play-state </item>+            <item> -webkit-animation-fill-mode </item>+            <item> -webkit-background-size </item>+            <item> -webkit-border-image </item>+            <item> -webkit-border-bottom-colors </item>+            <item> -webkit-border-left-colors </item>+            <item> -webkit-border-radius </item>+            <item> -webkit-border-right-colors </item>+            <item> -webkit-border-top-colors </item>+            <item> -webkit-border-top-left-radius </item>+            <item> -webkit-border-top-right-radius </item>+            <item> -webkit-border-bottom-left-radius </item>+            <item> -webkit-border-bottom-right-radius </item>+            <item> -webkit-border-radius-bottomleft </item>+            <item> -webkit-border-radius-bottomright </item>+            <item> -webkit-box-flex </item>+            <item> -webkit-box-reflect</item>+            <item> -webkit-box-shadow </item>+            <item> -webkit-box-sizing </item>+            <item> -webkit-column-count </item>+            <item> -webkit-column-gap </item>+            <item> -webkit-hyphens </item>+            <item> -webkit-linear-gradient </item>+            <item> -webkit-gradient </item>+            <item> -webkit-perspective </item>+            <item> -webkit-text-fill-color </item>+            <item> -webkit-text-stroke-color </item>+            <item> -webkit-text-stroke-width </item>+            <item> -webkit-text-size-adjust </item>+            <item> -webkit-transform </item>+            <item> -webkit-transform-origin </item>+            <item> -webkit-transform-style </item>+            <item> -webkit-transition </item>+            <item> -webkit-transition-property </item>+            <item> -webkit-transition-duration </item>++            <!-- Trident (a.k.a., MSHTML) CSS property extensions -->+            <item> zoom </item>+            <item> -ms-animation-name </item>+            <item> -ms-animation-duration </item>+            <item> -ms-animation-iteration </item>+            <item> -ms-animation-direction </item>+            <item> -ms-animation-delay </item>+            <item> -ms-animation-play-state </item>+            <item> -ms-animation-fill-mode </item>+            <item> -ms-box-sizing </item>+            <item> -ms-filter </item>+            <item> -ms-interpolation-mode </item>+            <item> -ms-linear-gradient </item>+            <item> -ms-text-size-adjust </item>+            <item> -ms-transform </item>+            <item> -ms-transition </item>++            <!-- font properties in @font-face -->+            <item> font-family </item>+            <item> font-size </item>+            <item> font-stretch </item>+            <item> font-style </item>+            <item> font-variant </item>+            <item> font-weight </item>+            <item> unicode-range </item>+            <item> units-per-em </item>+            <item> src </item>+            <item> panose-1 </item>+            <item> stemv </item>+            <item> stemh </item>+            <item> slope </item>+            <item> cap-height </item>+            <item> x-height </item>+            <item> ascent </item>+            <item> descent </item>+            <item> widths </item>+            <item> bbox </item>+            <item> definition-src </item>+            <item> baseline </item>+            <item> centerline </item>+            <item> mathline </item>+            <item> topline </item>+        </list>++        <list name="types">+            <item> inherit </item>+            <item> none </item>+            <item> hidden </item>+            <item> dotted </item>+            <item> dashed </item>+            <item> solid </item>+            <item> double </item>+            <item> groove </item>+            <item> ridge </item>+            <item> inset </item>+            <item> outset </item>+            <item> xx-small </item>+            <item> x-small </item>+            <item> small </item>+            <item> medium </item>+            <item> large </item>+            <item> x-large </item>+            <item> xx-large </item>+            <item> smaller </item>+            <item> larger </item>+            <item> italic </item>+            <item> oblique </item>+            <item> small-caps </item>+            <item> normal </item>+            <item> bold </item>+            <item> bolder </item>+            <item> lighter </item>+            <item> light </item>+            <item> 100 </item>+            <item> 200 </item>+            <item> 300 </item>+            <item> 400 </item>+            <item> 500 </item>+            <item> 600 </item>+            <item> 700 </item>+            <item> 800 </item>+            <item> 900 </item>+            <item> transparent </item>+            <item> repeat </item>+            <item> repeat-x </item>+            <item> repeat-y </item>+            <item> no-repeat </item>+            <item> baseline </item>+            <item> sub </item>+            <item> super </item>+            <item> top </item>+            <item> text-top </item>+            <item> middle </item>+            <item> bottom </item>+            <item> text-bottom </item>+            <item> left </item>+            <item> right </item>+            <item> center </item>+            <item> justify </item>+            <item> konq-center </item>+            <item> disc </item>+            <item> circle </item>+            <item> square </item>+            <item> box </item>+            <item> decimal </item>+            <item> decimal-leading-zero </item>+            <item> lower-roman </item>+            <item> upper-roman </item>+            <item> lower-greek </item>+            <item> lower-alpha </item>+            <item> lower-latin </item>+            <item> upper-alpha </item>+            <item> upper-latin </item>+            <item> hebrew </item>+            <item> armenian </item>+            <item> georgian </item>+            <item> cjk-ideographic </item>+            <item> hiragana </item>+            <item> katakana </item>+            <item> hiragana-iroha </item>+            <item> katakana-iroha </item>+            <item> inline </item>+            <item> inline-block </item>+            <item> block </item>+            <item> list-item </item>+            <item> run-in </item>+            <item> compact </item>+            <item> marker </item>+            <item> table </item>+            <item> inline-table </item>+            <item> table-row-group </item>+            <item> table-header-group </item>+            <item> table-footer-group </item>+            <item> table-row </item>+            <item> table-column-group </item>+            <item> table-column </item>+            <item> table-cell </item>+            <item> table-caption </item>+            <item> auto </item>+            <item> crosshair </item>+            <item> default </item>+            <item> pointer </item>+            <item> move </item>+            <item> e-resize </item>+            <item> ne-resize </item>+            <item> nw-resize </item>+            <item> n-resize </item>+            <item> se-resize </item>+            <item> sw-resize </item>+            <item> s-resize </item>+            <item> w-resize </item>+            <item> text </item>+            <item> wait </item>+            <item> help </item>+            <item> above </item>+            <item> absolute </item>+            <item> always </item>+            <item> avoid </item>+            <item> below </item>+            <item> bidi-override </item>+            <item> blink </item>+            <item> both </item>+            <item> capitalize </item>+            <item> caption </item>+            <item> clip </item>+            <item> close-quote </item>+            <item> collapse </item>+            <item> condensed </item>+            <item> crop </item>+            <item> cross </item>+            <item> ellipsis </item>+            <item> ellipsis-word </item>+            <item> embed </item>+            <item> expanded </item>+            <item> extra-condensed </item>+            <item> extra-expanded </item>+            <item> fixed </item>+            <item> hand </item>+            <item> hide </item>+            <item> higher </item>+            <item> icon </item>+            <item> inside </item>+            <item> invert </item>+            <item> landscape </item>+            <item> level </item>+            <item> line-through </item>+            <item> loud </item>+            <item> lower </item>+            <item> lowercase </item>+            <item> ltr </item>+            <item> menu </item>+            <item> message-box </item>+            <item> mix </item>+            <item> narrower </item>+            <item> no-close-quote </item>+            <item> no-open-quote </item>+            <item> nowrap </item>+            <item> open-quote </item>+            <item> outside </item>+            <item> overline </item>+            <item> portrait </item>+            <item> pre </item>+            <item> pre-line </item>+            <item> pre-wrap </item>+            <item> relative </item>+            <item> rtl </item>+            <item> scroll </item>+            <item> semi-condensed </item>+            <item> semi-expanded </item>+            <item> separate </item>+            <item> show </item>+            <item> small-caption </item>+            <item> static </item>+            <item> static-position </item>+            <item> status-bar </item>+            <item> thick </item>+            <item> thin </item>+            <item> ultra-condensed </item>+            <item> ultra-expanded </item>+            <item> underline </item>+            <item> uppercase </item>+            <item> visible </item>+            <item> wider </item>+            <item> break </item>+            <item> serif </item>+            <item> sans-serif </item>+            <item> cursive </item>+            <item> fantasy </item>+            <item> monospace </item>+            <item> border-box </item>+            <item> content-box </item>+            <item> -epub-hyphens </item>+        </list>++        <list name="colors">+            <item> aqua </item>+            <item> black </item>+            <item> blue </item>+            <item> cyan </item>+            <item> fuchsia </item>+            <item> gray </item>+            <item> green </item>+            <item> lime </item>+            <item> maroon </item>+            <item> navy </item>+            <item> olive </item>+            <item> purple </item>+            <item> red </item>+            <item> silver </item>+            <item> teal </item>+            <item> white </item>+            <item> yellow </item>+            <item> ActiveBorder  </item>+            <item> ActiveCaption  </item>+            <item> AppWorkspace  </item>+            <item> Background  </item>+            <item> ButtonFace  </item>+            <item> ButtonHighlight  </item>+            <item> ButtonShadow  </item>+            <item> ButtonText  </item>+            <item> CaptionText  </item>+            <item> GrayText  </item>+            <item> Highlight  </item>+            <item> HighlightText  </item>+            <item> InactiveBorder  </item>+            <item> InactiveCaption  </item>+            <item> InactiveCaptionText  </item>+            <item> InfoBackground  </item>+            <item> InfoText  </item>+            <item> Menu  </item>+            <item> MenuText  </item>+            <item> Scrollbar  </item>+            <item> ThreeDDarkShadow  </item>+            <item> ThreeDFace  </item>+            <item> ThreeDHighlight  </item>+            <item> ThreeDLightShadow  </item>+            <item> ThreeDShadow  </item>+            <item> Window  </item>+            <item> WindowFrame  </item>+            <item> WindowText  </item>+        </list>++        <list name="paren">+            <item> url </item>+            <item> attr </item>+            <item> rect </item>+            <item> rgb </item>+            <item> rgba </item>+            <item> hsl </item>+            <item> hsla </item>+            <item> counter </item>+            <item> counters </item>++            <!-- in @font-face -->+            <item> local </item>+            <item> format </item>++            <!-- Trident (a.k.a., MSHTML) rendering engine functional notation extensions -->+            <item> expression </item>++        </list>++        <list name="mediatypes">+            <item> all </item>+            <item> aural </item>+            <item> braille </item>+            <item> embossed </item>+            <item> handheld </item>+            <item> print </item>+            <item> projection </item>+            <item> screen </item>+            <item> speech </item>+            <item> tty </item>+            <item> tv </item>+        </list>++        <list name="mediatypes_op">+            <item> not </item>+            <item> only </item>+        </list>++        <list name="media_features">+            <item> width </item>+            <item> min-width </item>+            <item> max-width</item>+            <item> height </item>+            <item> min-height </item>+            <item> max-height </item>+            <item> device-width </item>+            <item> min-device-width </item>+            <item> max-device-width </item>+            <item> device-height </item>+            <item> min-device-height </item>+            <item> max-device-height </item>+            <item> orientation </item>+            <item> aspect-ratio </item>+            <item> min-aspect-ratio </item>+            <item> max-aspect-ratio </item>+            <item> device-aspect-ratio </item>+            <item> min-device-aspect-ratio </item>+            <item> max-device-aspect-ratio </item>+            <item> color </item>+            <item> min-color </item>+            <item> max-color </item>+            <item> color-index </item>+            <item> min-color-index </item>+            <item> max-color-index </item>+            <item> monochrome </item>+            <item> min-monochrome </item>+            <item> max-monochrome </item>+            <item> resolution </item>+            <item> min-resolution </item>+            <item> max-resolution </item>+            <item> scan </item>+            <item> grid </item>+        </list>++        <list name="pseudoclasses">+            <item> hover </item>+            <item> link </item>+            <item> visited </item>+            <item> active </item>+            <item> focus </item>+            <item> first-child </item>+            <item> last-child </item>+            <item> only-child </item>+            <item> first-of-type </item>+            <item> last-of-type </item>+            <item> only-of-type </item>+            <item> first-letter </item>+            <item> first-line </item>+            <item> before </item>+            <item> after </item>+            <item> selection </item>+            <item> root </item>+            <item> empty </item>+            <item> target </item>+            <item> enabled </item>+            <item> disabled </item>+            <item> checked </item>+            <item> indeterminate </item>+            <item> nth-child </item>+            <item> nth-last-child </item>+            <item> nth-of-type </item>+            <item> nth-last-of-type </item>+            <item> not </item>+        </list>++        <contexts>+            <context attribute="Normal Text" lineEndContext="#stay" name="Base">+                <LineContinue/>+                <DetectSpaces/>+                <IncludeRules context="FindRuleSets" />+            </context>++            <!-- to be included -->+            <!-- finds rules and detects nesting -->+            <context attribute="Normal Text" lineEndContext="#stay" name="FindRuleSets">+                <RegExpr attribute="Media" context="Media" String="@media\b" />+                <RegExpr attribute="At Rule" context="Import" String="@import\b" />+                <RegExpr attribute="At Rule" context="#stay" String="@(font-face|charset)\b" />+                <DetectChar attribute="Property" context="RuleSet" char="{" beginRegion="ruleset" />+                <!--parse selectors-->+                <DetectChar attribute="Selector Attr" context="SelAttr" char="[" />+                <RegExpr attribute="Selector Id" context="#stay" String="#(-)?(&nmstart;)(&nmchar;)*" />+                <RegExpr attribute="Selector Class" context="#stay" String="\.([a-zA-Z0-9\-_]|[\x80-\xFF]|\\[0-9A-Fa-f]{1,6})*" />+                <RegExpr attribute="Selector Pseudo" context="#stay" String=":lang\([\w_-]+\)" />+                <DetectChar attribute="Selector Pseudo" context="SelPseudo" char=":" />+                <IncludeRules context="FindStrings" />+                <IncludeRules context="FindComments" />+            </context>++            <!-- finds arguments to properties -->+            <context attribute="Normal Text" lineEndContext="#stay" name="FindValues">+                <RegExpr attribute="Value" context="#stay" String="[-+]?[0-9.]+(em|ex|ch|rem|vw|vh|vm|px|in|cm|mm|pt|pc|deg|rad|grad|turn|ms|s|Hz|kHz)\b" />+                <RegExpr attribute="Value" context="#stay" String="[-+]?[0-9.]+[%]?" />+                <RegExpr attribute="Normal Text" context="#stay" String="[\w\-]+" />+            </context>++            <!-- finds strings -->+            <context attribute="Normal Text" lineEndContext="#stay" name="FindStrings">+                <DetectChar attribute="String" context="StringDQ" char="&quot;" />+                <DetectChar attribute="String" context="StringSQ" char="'" />+            </context>++            <!-- finds comments -->+            <context attribute="Normal Text" lineEndContext="#stay" name="FindComments">+                <RegExpr attribute="Region Marker" context="#stay" String="/\*BEGIN.*\*/" beginRegion="UserDefined" />+                <RegExpr attribute="Region Marker" context="#stay" String="/\*END.*\*/" endRegion="UserDefined" />+                <Detect2Chars attribute="Comment" context="Comment" char="/" char1="*" beginRegion="comment" />+            </context>++            <!-- other contexts -->+            <context attribute="Normal Text" lineEndContext="#stay" name="Media">+                <DetectChar attribute="Media" context="Media2" char="{" beginRegion="media" />+                <DetectChar attribute="Media" context="MediaQueryExpression" char="(" />+                <keyword attribute="Media" context="MediaQueries" String="mediatypes"/>+                <keyword attribute="Media" context="MediaTypes" String="mediatypes_op" />+                <DetectChar attribute="Media" context="#stay" char="," />+                <IncludeRules context="FindComments" />+                <RegExpr attribute="Error" context="#stay" String="\S+" />+            </context>++            <context attribute="Media" lineEndContext="#stay" name="MediaTypes">+                <keyword attribute="Media" context="MediaQueries" String="mediatypes"/>+                <DetectChar attribute="Media" context="#pop" char= "{" lookAhead="true"/>+                <DetectChar attribute="Media" context="#pop" char= "," lookAhead="true"/>+                <DetectSpaces/>+                <IncludeRules context="FindComments"/>+                <RegExpr attribute="Error" context="#stay" String="\S+"/>+            </context>++            <context attribute="Media" lineEndContext="#stay" name="MediaQueries">+                <RegExpr attribute="Media" context="MediaQueryExpression" String="\s+and\s+\("/>+                <DetectChar attribute="Media" context="#pop" char= "{" lookAhead="true"/>+                <DetectChar attribute="Media" context="#pop" char= "," lookAhead="true"/>+                <DetectSpaces/>+                <IncludeRules context="FindComments"/>+                <RegExpr attribute="Error" context="#stay" String="\S+"/>+            </context>++            <context attribute="Media" lineEndContext="#stay" name="MediaQueryExpression">+                <DetectSpaces/>+                <keyword attribute="Media" context="MQEE" String="media_features"/>+                <IncludeRules context="FindComments"/>+                <RegExpr attribute="Error" context="#stay" String="\S+"/>+            </context>++            <context attribute="Media" lineEndContext="#stay" name="MQEE" fallthrough="true" fallthroughContext="#pop">+                <DetectSpaces/>+                <IncludeRules context="FindComments"/>+                <DetectChar attribute="Media" context="MQEV" char=":"/>+                <RegExpr attribute="Media" context="#pop" String="\)\s+and\s+\("/>+                <DetectChar attribute="Media" context="#pop#pop" char=")"/>+            </context>++            <context attribute="Media" lineEndContext="#stay" name="MQEV">+                <!-- this should be seperate for different features, for now it is all the same -->+                <DetectSpaces/>+                <RegExpr attribute="Value" context="#pop" String="[1-9][0-9.]*\s*/\s*[1-9][0-9.]*" />+                <RegExpr attribute="Value" context="#pop" String="[0-9.]+(em|ex|ch|rem|vw|vh|vm|px|in|cm|mm|pt|pc|deg|rad|grad|turn|ms|s|Hz|kHz|dpi|dpcm)\b" />+                <RegExpr attribute="Value" context="#pop" String="[0-9.]+[%]?" />+                <RegExpr attribute="Value" context="#pop" String="(portrait|landscape)" />+                <RegExpr attribute="Error" context="#stay" String=".*"/>+            </context>++            <context attribute="Normal Text" lineEndContext="#stay" name="Media2">+                <DetectChar attribute="Media" context="#pop#pop" char="}" endRegion="media" />+                <IncludeRules context="FindRuleSets" />+            </context>++            <context attribute="Selector Attr" lineEndContext="#stay" name="SelAttr">+                <DetectChar attribute="Selector Attr" context="#pop" char="]" />+                <IncludeRules context="FindStrings" />+            </context>++            <context attribute="Selector Pseudo" lineEndContext="#pop" name="SelPseudo"+                     fallthrough="true" fallthroughContext="#pop">+                <keyword attribute="Selector Pseudo" context="#pop" String="pseudoclasses" />+            </context>++            <context attribute="Normal Text" lineEndContext="#stay" name="Import">+                <DetectChar attribute="At Rule" context="#pop" char=";" />+                <keyword attribute="Media" context="#stay" String="mediatypes" />+                <IncludeRules context="FindValues" />+                <IncludeRules context="FindStrings" />+                <IncludeRules context="FindComments" />+            </context>++            <context attribute="Comment" lineEndContext="#stay" name="Comment">+                <DetectSpaces/>+                <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="comment" />+                <IncludeRules context="##Alerts" />+                <DetectIdentifier/>+            </context>++            <context attribute="Normal Text" lineEndContext="#stay" name="RuleSet">+                <DetectChar attribute="Property" context="#pop" char="}" endRegion="ruleset" />+                <keyword attribute="Property" context="Rule" String="properties" />+                <RegExpr attribute="Unknown Property" context="Rule" String="-?[A-Za-z_-]+(?=\s*:)" />+                <IncludeRules context="FindComments" />+                <RegExpr attribute="Error" context="#stay" String="\S" />+            </context>++            <context attribute="Normal Text" lineEndContext="#stay" name="Rule">+                <DetectChar attribute="Property" context="Rule2" char=":" />+                <RegExpr attribute="Error" context="#stay" String="\S" />+            </context>++            <context attribute="Normal Text" lineEndContext="#stay" name="Rule2">+                <DetectChar attribute="Property" context="#pop#pop" char=";" />+                <DetectChar attribute="Property" context="#pop#pop#pop" char="}" endRegion="ruleset" />+                <!-- parse property values -->+                <keyword attribute="Value" context="#stay" String="types" />+                <keyword attribute="Value" context="#stay" String="colors" />+                <RegExpr attribute="Value" context="#stay" String="#([0-9A-Fa-f]{3}){1,4}\b" />+                <keyword attribute="Value" context="PropParen" String="paren" />+                <RegExpr attribute="Important" context="#stay" String="!important\b" />+                <IncludeRules context="FindValues" />+                <IncludeRules context="FindStrings" />+                <IncludeRules context="FindComments" />+            </context>++            <context attribute="Normal Text" lineEndContext="#stay" name="PropParen">+                <DetectChar attribute="Value" context="PropParen2" char="(" />+                <IncludeRules context="FindComments" />+                <RegExpr attribute="Error" context="#stay" String="\S" />+            </context>++            <context attribute="Normal Text" lineEndContext="#stay" name="PropParen2">+                <DetectChar attribute="Value" context="#pop#pop" char=")" />+                <IncludeRules context="FindValues" />+                <IncludeRules context="FindStrings" />+                <IncludeRules context="FindComments" />+            </context>++            <!-- string contexts -->+            <context attribute="String" lineEndContext="#stay" name="StringDQ">+                <DetectChar attribute="String" context="#pop" char="&quot;" />+                <IncludeRules context="InsideString" />+            </context>++            <context attribute="String" lineEndContext="#stay" name="StringSQ">+                <DetectChar attribute="String" context="#pop" char="'" />+                <IncludeRules context="InsideString" />+            </context>++            <context attribute="String" lineEndContext="#stay" name="InsideString">+                <RegExpr attribute="String" context="#stay" String="\\[&quot;']" />+                <DetectIdentifier/>+            </context>++        </contexts>++        <itemDatas>+            <itemData name="Normal Text" defStyleNum="dsNormal" spellChecking="false"/>+            <itemData name="Property"  defStyleNum="dsKeyword" spellChecking="false"/>+            <itemData name="Unknown Property"  defStyleNum="dsKeyword" italic="1" spellChecking="false"/>+            <itemData name="Media"  defStyleNum="dsDecVal" bold="1" spellChecking="false"/>+            <itemData name="At Rule"  defStyleNum="dsDecVal" spellChecking="false"/>+            <itemData name="String"  defStyleNum="dsString"/>+            <itemData name="Value"  defStyleNum="dsDataType" spellChecking="false"/>+            <itemData name="Important" defStyleNum="dsKeyword" spellChecking="false"/>+            <itemData name="Selector Attr" defStyleNum="dsAttribute" spellChecking="false"/>+            <itemData name="Selector Id"  defStyleNum="dsFloat" bold="1" spellChecking="false"/>+            <itemData name="Selector Class"  defStyleNum="dsFloat" spellChecking="false"/>+            <itemData name="Selector Pseudo"  defStyleNum="dsDecVal" spellChecking="false"/>+            <itemData name="Comment" defStyleNum="dsComment" />+            <itemData name="Region Marker" defStyleNum="dsRegionMarker" spellChecking="false"/>+            <itemData name="Error" defStyleNum="dsError" spellChecking="false"/>+        </itemDatas>+    </highlighting>++    <general>+        <keywords casesensitive="0" weakDeliminator="-%"/>+        <comments>+            <comment name="multiLine" start="/*" end="*/" />+        </comments>+    </general>++</language>
xml/curry.xml view
@@ -30,7 +30,7 @@   <!-- dashes introducing a currydoc comment -->   <!ENTITY currydoc    "---" > ]>-<language name="Curry" version="0.3" kateversion="2.3"+<language name="Curry" version="1" kateversion="5.0"           section="Sources" extensions="*.curry" mimetype="text/x-curry"           author="Björn Peemöller (bjp@informatik.uni-kiel.de)" license="LGPL"           indenter="haskell">@@ -325,7 +325,7 @@     <!-- Comments -->     <itemData name="Pragma"              defStyleNum="dsOthers"   spellChecking="false" />     <itemData name="Comment"             defStyleNum="dsComment"  />-    <itemData name="Currydoc"            defStyleNum="dsComment"  color="#008000" selColor="#FFFFFF"/>+    <itemData name="Currydoc"            defStyleNum="dsDocumentation" />      <!-- Keywords, predefined entities -->     <itemData name="Keyword"             defStyleNum="dsKeyword"  spellChecking="false" />
xml/d.xml view
@@ -101,7 +101,7 @@    ======================================================================== --> -<language name="D" version="1.62" kateversion="2.5" section="Sources" extensions="*.d;*.D;*.di;*.DI;" mimetype="text/x-dsrc" casesensitive="true" author="Diggory Hardy (diggory.hardy@gmail.com), Aziz Köksal (aziz.koeksal@gmail.com), Jari-Matti Mäkelä (jmjm@iki.fi), Simon J Mackenzie (project.katedxml@smackoz.fastmail.fm)" license="LGPL">+<language name="D" version="2" kateversion="5.0" section="Sources" extensions="*.d;*.D;*.di;*.DI;" mimetype="text/x-dsrc" casesensitive="true" author="Diggory Hardy (diggory.hardy@gmail.com), Aziz Köksal (aziz.koeksal@gmail.com), Jari-Matti Mäkelä (jmjm@iki.fi), Simon J Mackenzie (project.katedxml@smackoz.fastmail.fm)" license="LGPL">   <highlighting>     <!-- User-defined keywords (add identifiers you'd like highlighted here) -->     <list name="userkeywords">@@ -762,24 +762,24 @@       <itemData name="Property"       defStyleNum="dsDataType" color="#000080"/>              <itemData name="Type"           defStyleNum="dsDataType"/>-      <itemData name="LibrarySymbols" defStyleNum="dsDataType" italic="1"/>-      +      <itemData name="LibrarySymbols" defStyleNum="dsBuiltIn" italic="1"/>+       <itemData name="UserKeywords"   defStyleNum="dsDataType" italic="1"/>-      +       <!-- module, import -->       <itemData name="Module"         defStyleNum="dsKeyword"  color="#008000"/>       <itemData name="Module Name"    defStyleNum="dsNormal"   color="#008000"/>-      +       <!-- pragma, special tokens -->       <itemData name="SpecialTokens"  defStyleNum="dsNormal"   color="#00aa00"/>       <itemData name="Pragma"         defStyleNum="dsKeyword"  color="#00aa00"/>-      +       <!-- version, extern -->       <itemData name="Version"        defStyleNum="dsKeyword"  color="#808000"/>       <itemData name="Version Type"   defStyleNum="dsNormal"   bold="1"/>       <itemData name="Linkage"        defStyleNum="dsKeyword"  color="#808000"/>       <itemData name="Linkage Type"   defStyleNum="dsNormal"   bold="1"/>-      +       <itemData name="Tests"        defStyleNum="dsKeyword"    color="#ff00ff"/>        <itemData name="Comment"        defStyleNum="dsComment"/>@@ -794,12 +794,12 @@       <itemData name="Hex"            defStyleNum="dsBaseN"/>       <itemData name="Float"          defStyleNum="dsFloat"/>       -      <itemData name="EscapeSequence" defStyleNum="dsString"   color="#00aa88" selColor="#ff0000"/>+      <itemData name="EscapeSequence" defStyleNum="dsSpecialChar"/>       <itemData name="String"         defStyleNum="dsString"/>       <itemData name="Char"           defStyleNum="dsChar"/>-      <itemData name="RawString"      defStyleNum="dsString"   color="#a100a1" selColor="#ff00ff"/>-      <itemData name="BQString"       defStyleNum="dsString"   color="#a100a1" selColor="#ff00ff"/>-      <itemData name="HexString"      defStyleNum="dsString"   color="#a10022" selColor="#ff0055"/>+      <itemData name="RawString"      defStyleNum="dsVerbatimString"/>+      <itemData name="BQString"       defStyleNum="dsSpecialString"/>+      <itemData name="HexString"      defStyleNum="dsSpecialString"/>              <!-- Ddoc specific -->       <itemData name="Macros"      defStyleNum="dsOthers" color="#bf5fbf" selColor="#ffffff" bold="1" italic="0" />
xml/diff.xml view
@@ -15,7 +15,7 @@     2008-02-13: 1.11 Eduardo Robles Elvira <edulix AT gmail DOT com>      Fixed folding. -->-<language name="Diff" version="1.12" kateversion="2.1" section="Other" extensions="*.diff;*patch" mimetype="text/x-patch">+<language name="Diff" version="2" kateversion="5.0" section="Other" extensions="*.diff;*patch" mimetype="text/x-patch">    <highlighting> @@ -108,10 +108,10 @@       <itemData name="Normal Text" defStyleNum="dsNormal"/>       <itemData name="File"  defStyleNum="dsKeyword"/>       <itemData name="Header"  defStyleNum="dsDataType"/>-      <itemData name="Removed line"  defStyleNum="dsString" color="#FF0000"/>-      <itemData name="Added line"  defStyleNum="dsOthers" color="#0000FF"/>-      <itemData name="Changed line (old)"  defStyleNum="dsString" color="#FF0000"/>-      <itemData name="Changed line (new)"  defStyleNum="dsOthers" color="#0000FF"/>+      <itemData name="Removed line"  defStyleNum="dsString" />+      <itemData name="Added line"  defStyleNum="dsVariable"/>+      <itemData name="Changed line (old)"  defStyleNum="dsString"/>+      <itemData name="Changed line (new)"  defStyleNum="dsVariable"/>     </itemDatas>    </highlighting>
xml/djangotemplate.xml view
@@ -4,7 +4,7 @@ 	<!ENTITY name    "[A-Za-z_:][\w.:_-]*"> 	<!ENTITY entref  "&amp;(#[0-9]+|#[xX][0-9A-Fa-f]+|&name;);"> ]>-<language name="Django HTML Template" version="1.3" kateversion="2.4" section="Markup" extensions="*.htm;*.html" mimetype="text/html"  author="Matthew Marshall (matthew@matthewmarshall.org)" license="LGPL" priority="9">+<language name="Django HTML Template" version="2" kateversion="2.4" section="Markup" extensions="*.htm;*.html" mimetype="text/html"  author="Matthew Marshall (matthew@matthewmarshall.org)" license="LGPL" priority="9">  <!--     Based off of the katepart html syntax highlighting by Wilbert Berendsen.
xml/dockerfile.xml view
@@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> <!-- Dockerfile syntaxfile v1.0 by James Turnbull <james@lovedthanlost.net> -->-<language name="Dockerfile" section="Other" version="1.1" kateversion="3.4" extensions="Dockerfile" author="James Turnbull (james@lovedthanlost.net)" license="LGPLv2+">+<language name="Dockerfile" section="Other" version="2" kateversion="3.4" extensions="Dockerfile" author="James Turnbull (james@lovedthanlost.net)" license="LGPLv2+">   <highlighting>     <list name="keywords">       <item> FROM </item>
xml/dot.xml view
@@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> <!-- Adapted from the VIM highlighter, by Markus Mottl (markus@oefai.at) -->-<language name="dot" version="1.1" kateversion="2.4" section="Scientific" extensions="*.dot" mimetype="text/x-dot" author="Postula Loïs (lois.postula@live.be)" priority="0">+<language name="dot" version="2" kateversion="5.0" section="Scientific" extensions="*.dot" mimetype="text/x-dot" author="Postula Loïs (lois.postula@live.be)" priority="0">    <highlighting> @@ -146,12 +146,12 @@     <itemDatas>       <itemData name="Normal Text"  defStyleNum="dsNormal"/>       <itemData name="Keyword"      defStyleNum="dsKeyword"/>-      <itemData name="Attribute"    defStyleNum="dsDataType"/>+      <itemData name="Attribute"    defStyleNum="dsAttribute"/>       <itemData name="Symbol"       defStyleNum="dsOthers"/>       <itemData name="Number"       defStyleNum="dsDecVal"/>-      <itemData name="Identifier"   defStyleNum="dsFunction"/>+      <itemData name="Identifier"   defStyleNum="dsVariable"/>       <itemData name="String"       defStyleNum="dsString"/>-      <itemData name="String Char"  defStyleNum="dsChar"/>+      <itemData name="String Char"  defStyleNum="dsSpecialChar"/>       <itemData name="Comment"      defStyleNum="dsComment"/>       <itemData name="Error"        defStyleNum="dsError"/>     </itemDatas>
xml/doxygen.xml view
@@ -29,8 +29,8 @@  -->  <language name="Doxygen"-          version="1.37"-          kateversion="2.5"+          version="2"+          kateversion="5.0"           section="Markup"           extensions="*.dox;*.doxygen"           mimetype="text/x-doxygen"@@ -278,7 +278,7 @@         <DetectIdentifier />         <StringDetect attribute="HTML Comment" context="SL_htmlcomment" String="&lt;!--" />         <Detect2Chars attribute="Comment" context="#stay" char="&lt;" char1="&lt;" />-        <RegExpr attribute="HTML Tag" context="SL_htmltag" String="&lt;\/?[a-zA-Z_:][a-zA-Z0-9._:-]*" />+        <RegExpr attribute="HTML Tag" context="SL_htmltag" String="&lt;\/?[\w0-9._:-@]+" />       </context>       <context attribute="Comment" lineEndContext="#stay" name="BlockComment">         <DetectSpaces />@@ -293,11 +293,11 @@         <keyword attribute="Tags" context="ML_TagWordWord" String="TagWordWord" />         <keyword attribute="Tags" context="ML_TagString" String="TagString" />         <keyword attribute="Tags" context="ML_TagWordString" String="TagWordString" />-        <RegExpr attribute="Custom Tags" context="#stay" String="[@\\][^@\\ \t]+" />+        <RegExpr attribute="Custom Tags" context="#stay" String="[@\\]([^@\\ \t\*]|\*(?!/))+" />         <DetectIdentifier />         <RegExpr attribute="Tags" context="#stay" String="\\(&lt;|&gt;)" />         <Detect2Chars attribute="Comment" context="#stay" char="&lt;" char1="&lt;" />-        <RegExpr attribute="HTML Tag" context="ML_htmltag" String="&lt;\/?[a-zA-Z_:][a-zA-Z0-9._:-]*" />+        <RegExpr attribute="HTML Tag" context="ML_htmltag" String="&lt;\/?[\w0-9._:-@]+" />         <StringDetect attribute="HTML Comment" context="ML_htmlcomment" String="&lt;!--" />       </context> @@ -339,7 +339,7 @@         <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" lookAhead="true" />         <StringDetect attribute="HTML Comment" context="ML_htmlcomment" String="&lt;!--" />         <Detect2Chars attribute="Comment" context="#stay" char="&lt;" char1="&lt;" />-        <RegExpr attribute="HTML Tag" context="ML_htmltag" String="&lt;\/?[a-zA-Z_:][a-zA-Z0-9._:-]*" />+        <RegExpr attribute="HTML Tag" context="ML_htmltag" String="&lt;\/?[\w0-9._:-@]+" />         <RegExpr attribute="Description" context="#stay" String="." />       </context>       <context attribute="Comment" lineEndContext="#pop" name="ML_TagWordString">@@ -405,7 +405,7 @@         <DetectSpaces />         <StringDetect attribute="HTML Comment" context="SL_htmlcomment" String="&lt;!--" />         <Detect2Chars attribute="Comment" context="#stay" char="&lt;" char1="&lt;" />-        <RegExpr attribute="HTML Tag" context="SL_htmltag" String="&lt;\/?[a-zA-Z_:][a-zA-Z0-9._:-]*" />+        <RegExpr attribute="HTML Tag" context="SL_htmltag" String="&lt;\/?[\w0-9._:-@]+" />         <RegExpr attribute="Description" context="#stay" String="." />       </context>       <context attribute="Comment" lineEndContext="#pop" name="SL_TagWordString">@@ -485,12 +485,12 @@   </contexts>     <itemDatas>       <itemData name="Normal Text"  defStyleNum="dsNormal" />-      <itemData name="Tags"         defStyleNum="dsKeyword" color="#ca60ca" bold="1" italic="0" />-      <itemData name="Custom Tags"  defStyleNum="dsNormal"  color="#458C61" bold="1" italic="0" />-      <itemData name="Word"         defStyleNum="dsKeyword" color="#0095ff" bold="1" italic="0" />+      <itemData name="Tags"         defStyleNum="dsAnnotation" bold="1" />+      <itemData name="Custom Tags"  defStyleNum="dsAnnotation" />+      <itemData name="Word"         defStyleNum="dsCommentVar" bold="1" italic="0" />       <itemData name="HTML Tag"     defStyleNum="dsKeyword" color="#000000" bold="1" italic="0" />       <itemData name="Entities"     defStyleNum="dsOthers" color="#4086C0" bold="1" italic="1" />-      <itemData name="Description"  defStyleNum="dsString"  color="#ff0000" />+      <itemData name="Description"  defStyleNum="dsDocumentation" />       <itemData name="Comment"      defStyleNum="dsComment" />       <itemData name="Region"       defStyleNum="dsRegionMarker" />       <itemData name="Identifier"   defStyleNum="dsOthers" />@@ -501,10 +501,10 @@       <itemData name="Formulas"     defStyleNum="dsComment" color="#00A000" selColor="#ffffff" italic="1" />       <itemData name="Message Sequence Chart" defStyleNum="dsComment" color="#00A000" selColor="#ffffff" italic="1" />       <itemData name="Verbatim"     defStyleNum="dsComment" />-      <itemData name="Note"         defStyleNum="dsKeyword" color="#81ca2d" selColor="#81ca2d" bold="1" italic="0" />-      <itemData name="Warning"      defStyleNum="dsKeyword" color="#ca9219" selColor="#ca9219" bold="1" italic="0" />-      <itemData name="Attention"    defStyleNum="dsKeyword" color="#e85848" selColor="#e85848" bold="1" italic="0" />-      <itemData name="Todo"         defStyleNum="dsKeyword" color="#ca60ca" selColor="#ffffff" bold="1" italic="0" />+      <itemData name="Note"         defStyleNum="dsInformation" bold="1" italic="0" />+      <itemData name="Warning"      defStyleNum="dsWarning" bold="1" italic="0" />+      <itemData name="Attention"    defStyleNum="dsAnnotation" bold="1" italic="0" />+      <itemData name="Todo"         defStyleNum="dsAnnotation" bold="1" italic="0" />     </itemDatas>   </highlighting>   <general>
xml/doxygenlua.xml view
@@ -27,7 +27,7 @@  * Boston, MA  02110-1301, USA.                                       *  **********************************************************************  -->-<language name="DoxygenLua" version="1.01" kateversion="2.4" section="Markup" extensions="*.dox;*.doxygen" mimetype="text/x-doxygen" author="Bruno Massa (brmassa@gmail.com)" license="LGPL">+<language name="DoxygenLua" version="2" kateversion="5.0" section="Markup" extensions="*.dox;*.doxygen" mimetype="text/x-doxygen" author="Bruno Massa (brmassa@gmail.com)" license="LGPL">   <highlighting>     <!-- note: all tags may begin with a \ or @ char          so if you add/change tags you have to do it twice -->@@ -460,11 +460,11 @@     </contexts>     <itemDatas>       <itemData name="Normal Text" defStyleNum="dsNormal" />-      <itemData name="Tags"        defStyleNum="dsKeyword" color="#ca60ca" selColor="#ffffff" bold="1" italic="0" />-      <itemData name="Word"        defStyleNum="dsKeyword" color="#0095ff" selColor="#ffffff" bold="1" italic="0" />+      <itemData name="Tags"        defStyleNum="dsAnnotation" bold="1" italic="0" />+      <itemData name="Word"        defStyleNum="dsCommentVar" bold="1" italic="0" />       <itemData name="HTML Tag"    defStyleNum="dsKeyword"/>       <itemData name="Description" defStyleNum="dsString" />-      <itemData name="Comment"     defStyleNum="dsComment"/>+      <itemData name="Comment"     defStyleNum="dsDocumentation"/>       <itemData name="Region"      defStyleNum="dsRegionMarker" />       <itemData name="Identifier"  defStyleNum="dsOthers" />       <itemData name="HTML Comment" defStyleNum="dsComment" />
xml/dtd.xml view
@@ -3,7 +3,7 @@   <!ENTITY nmtoken "[\-\w\d\.:_]+">   <!ENTITY entref  "(#[0-9]+|#[xX][0-9A-Fa-f]+|&nmtoken;);"> ]>-<language name="DTD" version="1.02" kateversion="2.4" section="Markup" extensions="*.dtd" mimetype="application/xml-dtd" author="Andriy Lesyuk (s-andy@in.if.ua)" license="LGPL">+<language name="DTD" version="2" kateversion="3.4" section="Markup" extensions="*.dtd" mimetype="application/xml-dtd" author="Andriy Lesyuk (s-andy@in.if.ua)" license="LGPL">   <highlighting>      <list name="Category">
xml/eiffel.xml view
@@ -10,7 +10,7 @@  Author of version 1.02: Sebastian Vuorinen -->-<language name="Eiffel" version="1.02" kateversion="2.1" section="Sources" extensions="*.e" mimetype="text/x-eiffel-src" author="Sebastian Vuorinen" license="">+<language name="Eiffel" version="2" kateversion="5.0" section="Sources" extensions="*.e" mimetype="text/x-eiffel-src" author="Sebastian Vuorinen" license=""> 	<highlighting> 		<list name="keywords"> 			<item> agent </item>@@ -104,7 +104,7 @@ 			<itemData name="Normal Text" defStyleNum="dsNormal" />  			<itemData name="Keyword"     defStyleNum="dsKeyword" />-			<itemData name="Predefined entities" defStyleNum="dsOthers" />+			<itemData name="Predefined entities" defStyleNum="dsConstant" /> 			<itemData name="Assertions"  defStyleNum="dsOthers" />  			<itemData name="Decimal"     defStyleNum="dsDecVal" />
+ xml/elixir.xml view
@@ -0,0 +1,240 @@+<?xml version="1.0" encoding="UTF-8"?>+<!DOCTYPE language+  SYSTEM 'language.dtd'>+<!--+  Elixir syntax highlighting definition for Kate.++  Copyright (C) 2014  by Rubén Caro (ruben.caro.estevez@gmail.com)+  Copyright (C) 2016  by Boris Egorov (egorov@linux.com)++  This library is free software; you can redistribute it and/or+  modify it under the terms of the GNU Library General Public+  License as published by the Free Software Foundation; either+  version 2 of the License, or (at your option) any later version.+  This library is distributed in the hope that it will be useful,+  but WITHOUT ANY WARRANTY; without even the implied warranty of+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU+  Library General Public License for more details.+  You should have received a copy of the GNU Library General Public+  License along with this library; if not, write to the+  Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,+  Boston, MA  02110-1301, USA.+-->+<!-- Hold the "language" opening tag on a single line, as mentioned in "language.dtd". -->+<language author="Rubén Caro (ruben.caro.estevez@gmail.com), Boris Egorov (egorov@linux.com)"+          extensions="*.ex;*.exs;*.eex;*.xml.eex;*.js.eex"+          indenter="elixir"+          kateversion="5.0"+          license="GPL"+          mimetype="text/x-elixir"+          name="Elixir"+          section="Sources"+          style="elixir"+          version="1">+  <highlighting>+    <list name="control-flow">+      <item>catch</item>+      <item>cond</item>+      <item>else</item>+      <item>if</item>+      <item>raise</item>+      <item>rescue</item>+      <item>throw</item>+      <item>try</item>+      <item>unless</item>+    </list>+    <list name="keywords">+      <item>do</item>+      <item>end</item>+      <item>case</item>+      <item>bc</item>+      <item>lc</item>+      <item>for</item>+      <item>receive</item>+      <item>exit</item>+      <item>after</item>+      <item>quote</item>+      <item>unquote</item>+      <item>super</item>+      <item>and</item>+      <item>not</item>+      <item>or</item>+      <item>when</item>+      <item>xor</item>+      <item>in</item>+      <item>inlist</item>+      <item>inbits</item>+    </list>+    <list name="pseudo-variables">+      <item>nil</item>+      <item>true</item>+      <item>false</item>+    </list>+    <list name="definitions">+      <item>fn</item>+      <item>defmodule</item>+      <item>def</item>+      <item>defp</item>+      <item>defprotocol</item>+      <item>defimpl</item>+      <item>defrecord</item>+      <item>defstruct</item>+      <item>defmacro</item>+      <item>defmacrop</item>+      <item>defdelegate</item>+      <item>defcallback</item>+      <item>defmacrocallback</item>+      <item>defexception</item>+      <item>defoverridable</item>+    </list>+    <list name="mixin-macros">+      <item>import</item>+      <item>require</item>+      <item>alias</item>+      <item>use</item>+    </list>+    <contexts>+      <context attribute="Normal Text" lineEndContext="#stay" name="Normal">+        <!-- "shebang" line -->+        <RegExpr String="#!\/.*" attribute="Keyword" column="0" context="#stay"/>++        <!-- Defined words -->+        <keyword String="keywords" attribute="Keyword" context="#stay"/>+        <keyword String="control-flow" attribute="Control Flow" context="#stay"/>+        <keyword String="definitions" attribute="Definition" context="#stay"/>+        <keyword String="pseudo-variables" attribute="Pseudo variable" context="#stay"/>+        <keyword String="mixin-macros" attribute="Mixin macros" context="#stay"/>++        <!-- special-character globals -->+        <RegExpr String="\b[_A-Z]+[A-Z_0-9]+\b" attribute="Global Constant" context="#stay"/>++        <!-- Generally a module or class name like "File", "MyModule_1", .. -->+        <RegExpr String="\b[A-Z]+_*([0-9]|[a-z])[_a-zA-Z0-9]*\b" attribute="Constant" context="#stay"/>++        <!-- Numeric values. Note that we have to allow underscores between two digits (thus the creepy regular expressions). -->+        <RegExpr String="\b\-?0[xX]([0-9a-fA-F]|_[0-9a-fA-F])+" attribute="Hex" context="#stay"/>+        <RegExpr String="\b\-?0[bB]([01]|_[01])+" attribute="Bin" context="#stay"/>+        <RegExpr String="\b\-?0[1-7]([0-7]|_[0-7])*" attribute="Octal" context="#stay"/>+        <RegExpr String="\b\-?[0-9]([0-9]|_[0-9])*\.[0-9]([0-9]|_[0-9])*([eE]\-?[1-9]([0-9]|_[0-9])*(\.[0-9]*)?)?" attribute="Float" context="#stay"/>+        <RegExpr String="\b\-?[1-9]([0-9]|_[0-9])*\b" attribute="Dec" context="#stay"/>+        <Int attribute="Dec" context="#stay"/>+        <HlCChar attribute="Char" context="#stay"/>+        <DetectChar attribute="Operator" char="." context="#stay"/>+        <Detect2Chars attribute="Operator" char="&amp;" char1="&amp;" context="#stay"/>+        <Detect2Chars attribute="Operator" char="|" char1="|" context="#stay"/>+        <RegExpr String="\s[\?\:\%]\s" attribute="Operator" context="#stay"/>+        <RegExpr String="[|&amp;&lt;&gt;\^\+*~\-=/]+" attribute="Operator" context="#stay"/>+        <!-- regexp hack -->+        <RegExpr String="\s!" attribute="Operator" context="#stay"/>+        <RegExpr String="/=\s" attribute="Operator" context="#stay" insensitive="0"/>+        <StringDetect String="%=" attribute="Operator" context="#stay" insensitive="0"/>+        <RegExpr String=":(@{1,2}|\$)?[a-zA-Z_][a-zA-Z0-9_]*[=?!]?" attribute="Symbol" context="#stay"/>+        <RegExpr String="\b(@{1,2}|\$)?[a-zA-Z_][a-zA-Z0-9_]*[=?!]?:" attribute="Symbol" context="#stay"/>+        <RegExpr String=":\[\]=?" attribute="Symbol" context="#stay"/>+        <RegExpr String="@(module)?doc\s+&quot;&quot;&quot;" attribute="Attribute" context="Documentation"/>+        <StringDetect String="&quot;&quot;&quot;" attribute="String" context="Triple Quoted String"/>+        <DetectChar attribute="String" char="&quot;" context="Quoted String"/>+        <DetectChar attribute="Raw String" char="'" context="Apostrophed String"/>+        <StringDetect String="?#" attribute="Normal Text" context="#stay"/>+        <DetectChar attribute="Comment" char="#" context="General Comment"/>+        <DetectChar attribute="Delimiter" char="[" context="#stay"/>+        <DetectChar attribute="Delimiter" char="]" context="#stay"/>+        <RegExpr String="@[a-zA-Z_0-9]+" attribute="Attribute" context="#stay"/>+        <!-- handle the different regular expression formats -->+        <DetectChar attribute="Normal Text" char=")" context="#stay"/>+        <DetectIdentifier attribute="Normal Text" context="#stay"/>+      </context>+      <context attribute="Normal Text" lineEndContext="#stay" name="Find closing block brace">+        <DetectChar attribute="Operator" char="}" context="#pop" endRegion="def bracketed block"/>+        <IncludeRules context="Normal"/>+      </context>+      <context attribute="DocComment" lineEndContext="#stay" name="Documentation">+        <StringDetect String="&quot;&quot;&quot;" attribute="Attribute" context="#pop"/>+        <RegExpr attribute="MarkdownHead" String="^\s*#+\s.*[#]?$"/>+        <RegExpr attribute="MarkdownBullet" String="^\s*[\*\+\-]\s"/>+        <RegExpr attribute="MarkdownNumlist" String="^\s*[\d]+\.\s"/>+        <RegExpr attribute="MarkdownCode" context="Markdown Code" String="^\s*\`\`\`\s*$"/>+        <DetectSpaces />+        <IncludeRules context="Normal Text##Markdown"/>+      </context>+      <context attribute="String" lineEndContext="#stay" name="Triple Quoted String">+        <StringDetect String="&quot;&quot;&quot;" attribute="String" context="#pop"/>+      </context>+      <context attribute="String" lineEndContext="#stay" name="Quoted String">+        <StringDetect String="\\" attribute="String" context="#stay"/>+        <RegExpr String="\\\&quot;" attribute="String" context="#stay"/>+        <RegExpr String="#@{1,2}" attribute="Substitution" context="Short Subst"/>+        <Detect2Chars attribute="Substitution" char="#" char1="{" context="Subst"/>+        <DetectChar attribute="String" char="&quot;" context="#pop"/>+      </context>+      <context attribute="Raw String" lineEndContext="#stay" name="Apostrophed String">+        <StringDetect String="\\" attribute="String" context="#stay"/>+        <RegExpr String="\\\'" attribute="String" context="#stay"/>+        <DetectChar attribute="Raw String" char="'" context="#pop"/>+      </context>+      <!-- Substitutions can be nested -->+      <context attribute="Normal Text" lineEndContext="#stay" name="Subst">+        <DetectChar attribute="Substitution" char="}" context="#pop"/>+        <!-- Highlight substitution as code. -->+        <IncludeRules context="Normal"/>+      </context>+      <context attribute="Substitution" lineEndContext="#pop" name="Short Subst">+        <!-- Check for e.g.: "#@var#@@xy" -->+        <RegExpr String="#@{1,2}" attribute="Substitution" context="#stay"/>+        <RegExpr String="\w(?!\w)" attribute="Substitution" context="#pop"/>+      </context>+      <context attribute="Comment" lineEndContext="#pop" name="Comment Line">+      </context>+      <context attribute="Comment" lineEndContext="#pop" name="General Comment">+      </context>+      <!-- rules to be included in all regexpr contexts -->+      <context attribute="Regular Expression" lineEndContext="#stay" name="regexpr_rules">+        <Detect2Chars attribute="Regular Expression" char="\" char1="\" context="#stay"/>+        <RegExpr String="#@{1,2}" attribute="Substitution" context="Short Subst"/>+        <Detect2Chars attribute="Substitution" char="#" char1="{" context="Subst"/>+      </context>+      <context attribute="MarkdownCode" lineEndContext="#stay" name="Markdown Code">+        <RegExpr String="^\s*\`\`\`\s*$" attribute="MarkdownCode" context="#pop"/>+      </context>+    </contexts>+    <itemDatas>+      <itemData name="Global Constant" defStyleNum="dsConstant"/>+      <itemData name="Constant" defStyleNum="dsConstant"/>+      <itemData defStyleNum="dsNormal" name="Normal Text"/>+      <itemData defStyleNum="dsKeyword" name="Keyword"/>+      <itemData defStyleNum="dsControlFlow" name="Control Flow"/>+      <itemData defStyleNum="dsKeyword" name="Definition"/>+      <itemData defStyleNum="dsImport" name="Mixin macros"/>+      <itemData defStyleNum="dsConstant" name="Pseudo variable"/>+      <itemData defStyleNum="dsDecVal" name="Dec"/>+      <itemData defStyleNum="dsFloat" name="Float"/>+      <itemData defStyleNum="dsChar" name="Char"/>+      <itemData defStyleNum="dsBaseN" name="Octal"/>+      <itemData defStyleNum="dsBaseN" name="Hex"/>+      <itemData defStyleNum="dsBaseN" name="Bin"/>+      <itemData defStyleNum="dsVariable" name="Symbol"/>+      <itemData defStyleNum="dsString" name="String"/>+      <itemData defStyleNum="dsVerbatimString" name="Raw String"/>+      <itemData defStyleNum="dsSpecialString" name="Regular Expression"/>+      <itemData defStyleNum="dsOthers" name="Substitution"/>+      <itemData defStyleNum="dsNormal" name="Data"/>+      <itemData defStyleNum="dsOthers" name="Attribute"/>+      <itemData defStyleNum="dsComment" name="Comment"/>+      <itemData defStyleNum="dsComment" name="DocComment"/>+      <!-- use these to mark errors and alerts things -->+      <itemData defStyleNum="dsError" name="Error"/>+      <itemData color="#FF9FEC" defStyleNum="dsNormal" name="Delimiter"/>+      <itemData defStyleNum="dsOperator" name="Operator"/>+      <itemData name="MarkdownHead" defStyleNum="dsFunction" bold="true"/>+      <itemData name="MarkdownBullet" defStyleNum="dsFunction"/>+      <itemData name="MarkdownNumlist" defStyleNum="dsFunction"/>+      <itemData name="MarkdownCode" defStyleNum="dsFunction"/>+    </itemDatas>+  </highlighting>+  <general>+    <comments>+      <comment name="singleLine" start="#"/>+    </comments>+    <keywords casesensitive="1" weakDeliminator="!?"/>+  </general>+</language>
xml/email.xml view
@@ -3,7 +3,7 @@ <!--   Copyright (C) 2005 Carl A Joslin <carl.joslin@joslin.dyndns.org> -->-<language name="Email" version="1.01" kateversion="2.4" extensions="*.eml" section="Other" mimetype="message/rfc822" casesensitive="0" author="Carl A Joslin (carl.joslin@joslin.dyndns.org)" license="GPL">+<language name="Email" version="2" kateversion="2.3" extensions="*.eml" section="Other" mimetype="message/rfc822" casesensitive="0" author="Carl A Joslin (carl.joslin@joslin.dyndns.org)" license="GPL">   <highlighting>     <contexts>             <context name="headder" attribute="Normal Text" lineEndContext="#stay">
xml/erlang.xml view
@@ -36,7 +36,7 @@                                    - fixed highlighting problem when '@' at end of atom/variable --> -<language name="Erlang" version="1.03" kateversion="2.5" section="Scripts" extensions="*.erl" mimetype="" author="Bill Ross (bill@emailme.net.au)" license="LGPL">+<language name="Erlang" version="2" kateversion="5.0" section="Scripts" extensions="*.erl" mimetype="" author="Bill Ross (bill@emailme.net.au)" license="LGPL">   <highlighting>     <list name="keywords">       <!-- ====== s3.8 p 24 of erlang spec ===== -->@@ -230,8 +230,8 @@       <itemData name="Pragma"                    defStyleNum="dsKeyword" />       <itemData name="Function"                  defStyleNum="dsFunction" />       <itemData name="Separator"                 defStyleNum="dsFunction" />-      <itemData name="Operator"                  defStyleNum="dsKeyword"  />-      <itemData name="Variable"                  defStyleNum="dsDataType" />+      <itemData name="Operator"                  defStyleNum="dsOperator"  />+      <itemData name="Variable"                  defStyleNum="dsVariable" />       <itemData name="Integer"                   defStyleNum="dsDecVal" />       <itemData name="Number"                    defStyleNum="dsBaseN" />       <itemData name="Float"                     defStyleNum="dsFloat" />
xml/fasm.xml view
@@ -13,7 +13,7 @@ * "used" and "defined" are treated opperators and are not highlighted. --> -<language name="Intel x86 (FASM)" section="Assembler" version="0.2" kateversion="4.5" extensions="*.asm;*.inc;*.fasm" mimetype="" author="rCX (rCX12@yahoo.com)" license="GPL">+<language name="Intel x86 (FASM)" section="Assembler" version="1" kateversion="5.0" extensions="*.asm;*.inc;*.fasm" mimetype="" author="rCX (rCX12@yahoo.com)" license="GPL">   <highlighting>     <list name="registers">       <!-- General purpose registers -->@@ -877,7 +877,7 @@     <itemDatas>       <itemData name="Normal Text" defStyleNum="dsNormal"/>       <itemData name="Registers" defStyleNum="dsKeyword"/>-      <itemData name="Instructions" defStyleNum="dsKeyword"/>+      <itemData name="Instructions" defStyleNum="dsBuiltIn"/>       <itemData name="Comment" defStyleNum="dsComment"/>       <itemData name="Label" defStyleNum="dsFunction"/>       <itemData name="Data" defStyleNum="dsDataType"/>@@ -886,7 +886,7 @@       <itemData name="Number" defStyleNum="dsDecVal"/>       <itemData name="Char" defStyleNum="dsChar"/>       <itemData name="String" defStyleNum="dsString"/>-      <itemData name="Preprocessor" defStyleNum="dsOthers"/>+      <itemData name="Preprocessor" defStyleNum="dsPreprocessor"/>     </itemDatas>   </highlighting>   <general>
xml/fortran.xml view
@@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd">-<language name="Fortran" version="1.13" kateversion="2.4" section="Sources" extensions="*.f;*.F;*.for;*.FOR;*.f90;*.F90;*.fpp;*.FPP;*.f95;*.F95;" mimetype="text/x-fortran-src" casesensitive="0" author="Franchin Matteo (fnch@libero.it)" license="LGPL" priority="9">+<language name="Fortran" version="2" kateversion="5.0" section="Sources" extensions="*.f;*.F;*.for;*.FOR;*.f90;*.F90;*.fpp;*.FPP;*.f95;*.F95;" mimetype="text/x-fortran-src" casesensitive="0" author="Franchin Matteo (fnch@libero.it)" license="LGPL" priority="9"> <!-- by Franchin Matteo, fnch@libero.it -->   <highlighting> @@ -561,13 +561,13 @@       <itemData name="Comment" defStyleNum="dsComment"/>       <itemData name="Symbol" defStyleNum="dsNormal"/>       <itemData name="Preprocessor" defStyleNum="dsOthers"/>-      <itemData name="Operator" defStyleNum="dsKeyword" color="#008000" selColor="#ff00ff" bold="1" italic="0"/>-      <itemData name="Logical" defStyleNum="dsOthers" color="#800080" selColor="#ffa0a0" bold="1" italic="0"/>-      <itemData name="IO Function" defStyleNum="dsFunction" color="#006060" selColor="#ffffff" bold="0" italic="0"/>-      <itemData name="Elemental Procedure" defStyleNum="dsKeyword" color="#600060" selColor="#ffa0ff" bold="1" italic="0"/>-      <itemData name="Inquiry Function" defStyleNum="dsFunction" color="#000060" selColor="#a0a0ff" bold="1" italic="1"/>-      <itemData name="Transformational Function" defStyleNum="dsFunction" color="#600060" selColor="#ffa0ff" bold="1" italic="0"/>-      <itemData name="Non elemental subroutine" defStyleNum="dsKeyword" color="#600060" selColor="#ffa0ff" bold="1" italic="0"/>+      <itemData name="Operator" defStyleNum="dsOperator" bold="1" italic="0"/>+      <itemData name="Logical" defStyleNum="dsConstant" bold="1" italic="0"/>+      <itemData name="IO Function" defStyleNum="dsFunction" bold="0" italic="0"/>+      <itemData name="Elemental Procedure" defStyleNum="dsBuiltIn" bold="1" italic="0"/>+      <itemData name="Inquiry Function" defStyleNum="dsFunction" bold="1" italic="1"/>+      <itemData name="Transformational Function" defStyleNum="dsFunction" bold="1" italic="0"/>+      <itemData name="Non elemental subroutine" defStyleNum="dsFunction" bold="1" italic="0"/>     </itemDatas>   </highlighting>   <general>
xml/fsharp.xml view
@@ -3,13 +3,13 @@ <!DOCTYPE language SYSTEM "language.dtd" [ <!-- Regular expresion constants: -->-<!ENTITY LETTER "A-Za-z\0300-\0326\0330-\0366\0370-\0377">          <!-- Latin-1 letters. -->+<!ENTITY LETTER "A-Za-z\300-\326\330-\366\370-\377">                <!-- Latin-1 letters. --> <!ENTITY IDENT  "[&LETTER;_][&LETTER;0-9_']*">                      <!-- OCaml identifiers. --> <!ENTITY MIDENT "[A-Z][&LETTER;0-9_']*">                            <!-- OCaml uppercase identifiers. --> <!ENTITY ESC    "(\\[ntbr'&quot;\\]|\\[0-9]{3}|\\x[0-9A-Fa-f]{2})"> <!-- OCaml character code escapes. --> <!ENTITY DEC    "[0-9][0-9_]*">                                     <!-- Decimal digits with underscores. --> ]>-<language name="FSharp" version="0.1" kateversion="2.4" section="Sources" extensions="*.fs;*.fsi;*.fsx" mimetype="" priority="10" author="Bas Bossink (bas.bossink@gmail.com)" license="LGPL">+<language name="FSharp" version="2" kateversion="5.0" section="Sources" extensions="*.fs;*.fsi;*.fsx" mimetype="" priority="10" author="Bas Bossink (bas.bossink@gmail.com)" license="LGPL">    <highlighting>     <list name="keywords">@@ -165,13 +165,13 @@         <RegExpr attribute="Module" lookAhead="true" context="ModuleEnv2" String="&MIDENT;\s*\."/>         <RegExpr attribute="Constructor" context="#stay" String="&MIDENT;"/> -        <!-- Interpreter directives. --> +        <!-- Interpreter directives. -->         <!-- (These are lines where the first symbol is a '#' followed by an identifier. -->-        <!-- Such lines could also be part of a method call split over two lines but     --> +        <!-- Such lines could also be part of a method call split over two lines but     -->         <!-- it's unlikey anyone would code like that.)                                  -->         <RegExpr attribute="Directive" context="#stay" String="#&IDENT;.*$" firstNonSpace="true"/> -        <!-- String, character and Camlp4 "quotation" constants.              --> +        <!-- String, character and Camlp4 "quotation" constants.              -->         <!-- Note: If you must modify the pattern for characters be precise:  -->         <!-- single quotes have several meanings in Ocaml.                    -->         <DetectChar attribute="String" context="String Constant" char="&quot;" />@@ -179,13 +179,13 @@         <Detect2Chars attribute="Camlp4 Quotation" context="Camlp4 Quotation Constant" char="&lt;" char1="&lt;" />         <RegExpr attribute="Camlp4 Quotation" context="Camlp4 Quotation Constant" String="&lt;:&IDENT;&lt;" /> -        <!-- Identifiers and keywords. --> +        <!-- Identifiers and keywords. -->         <keyword attribute="Keyword" context="#stay" String="keywords" />         <keyword attribute="Core Data Type" context="#stay" String="core types" />         <RegExpr attribute="Identifier" context="#stay" String="&IDENT;" />          <!-- Numeric constants. -->-        <!-- Note that they may contain underscores. --> +        <!-- Note that they may contain underscores. -->         <RegExpr attribute="Hexadecimal" context="#stay" String="-?0[xX][0-9A-Fa-f_]+" />         <RegExpr attribute="Octal" context="#stay" String="-?0[oO][0-7_]+" />         <RegExpr attribute="Binary" context="#stay" String="-?0[bB][01_]+" />@@ -222,24 +222,24 @@         <keyword attribute="Region Marker" context="#pop" String="end" endRegion="struct"/>         <IncludeRules context="Normal"/>       </context>-      +       <context attribute="Normal text" lineEndContext="#stay" name="Object">         <keyword attribute="Region Marker" context="#pop" String="end" endRegion="object"/>         <IncludeRules context="Normal"/>       </context>-      +       <context attribute="Normal text" lineEndContext="#stay" name="ModuleEnv" fallthrough="true" fallthroughContext="#pop">         <DetectSpaces attribute="Normal text" context="#stay"/>         <RegExpr attribute="Module" lookAhead="true" context="ModuleEnv2" String="&MIDENT;\s*\."/>         <RegExpr attribute="Module" context="#pop" String="&MIDENT;"/>       </context>-      +       <context attribute="Normal text" lineEndContext="#stay" name="ModuleEnv2">         <RegExpr attribute="Module" context="#stay" String="&MIDENT;"/>         <DetectSpaces attribute="Normal text" context="#stay"/>         <StringDetect attribute="Keyword" context="#pop" String="."/>       </context>-      +       <!-- Camlp4 Quotations. These are source code literals used by the Campl4 preprocessor.           -->       <!-- The only escapes allowed in a Camlp4 quotation are for the quotation start and stop symbols. -->       <context attribute="Camlp4 Quotation" lineEndContext="#stay" name="Camlp4 Quotation Constant">@@ -265,7 +265,7 @@       <itemData name="Float"  defStyleNum="dsFloat"/>       <itemData name="Character"  defStyleNum="dsChar"/>       <itemData name="String"  defStyleNum="dsString"/>-      <itemData name="Escaped characters"  defStyleNum="dsChar"/>+      <itemData name="Escaped characters"  defStyleNum="dsSpecialChar"/>       <itemData name="Comment"  defStyleNum="dsComment"/>       <itemData name="Camlp4 Quotation"  defStyleNum="dsString"/>       <itemData name="Directive"  defStyleNum="dsOthers"/>
xml/gcc.xml view
@@ -13,8 +13,8 @@   --> <language     name="GCCExtensions"-    version="0.4"-    kateversion="2.4"+    version="1"+    kateversion="5.0"     section="Sources"     extensions="*.c++;*.cxx;*.cpp;*.cc;*.C;*.h;*.hh;*.H;*.h++;*.hxx;*.hpp;*.hcc;"     mimetype="text/x-c++src;text/x-c++hdr;text/x-chdr;text/x-csrc"@@ -563,10 +563,10 @@    <itemDatas>     <itemData name="Normal Text"    defStyleNum="dsNormal" spellChecking="false" />-    <itemData name="GNU Extensions" defStyleNum="dsOthers" spellChecking="false" italic="1" />-    <itemData name="GNU Functions"  defStyleNum="dsOthers" spellChecking="false" />+    <itemData name="GNU Extensions" defStyleNum="dsExtension" spellChecking="false" italic="1" />+    <itemData name="GNU Functions"  defStyleNum="dsFunction" spellChecking="false" />     <itemData name="GNU Macros"     defStyleNum="dsOthers" spellChecking="false" />-    <itemData name="GNU Types"      defStyleNum="dsOthers" spellChecking="false" />+    <itemData name="GNU Types"      defStyleNum="dsDataType" spellChecking="false" />     <itemData name="String"         defStyleNum="dsString" spellChecking="false" />   </itemDatas> </highlighting>
xml/glsl.xml view
@@ -1,314 +1,1208 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd">-<language name="GLSL" section="Sources" extensions="*.glsl;*.vert;*.frag;*.geom" mimetype="text/x-glslsrc" version="1.03" kateversion="2.4" author="Oliver Richers (o.richers@tu-bs.de)" license="LGPL">-	<highlighting>-		<list name="keywords">-			<item>break</item>-			<item>continue</item>-			<item>do</item>-			<item>for</item>-			<item>while</item>-			-			<item>if</item>-			<item>else</item>-			-			<item>true</item>-			<item>false</item>-			-			<item>discard</item>-			<item>return</item>-			-			<item>struct</item>-		</list>-		<list name="types">-			<item>float</item>-			<item>int</item>-			<item>void</item>-			<item>bool</item>--			<item>mat2</item>-			<item>mat3</item>-			<item>mat4</item>-			-			<item>vec2</item>-			<item>vec3</item>-			<item>vec4</item>-			<item>ivec2</item>-			<item>ivec3</item>-			<item>ivec4</item>-			<item>bvec2</item>-			<item>bvec3</item>-			<item>bvec4</item>-			-			<item>sampler1D</item>-			<item>sampler2D</item>-			<item>sampler3D</item>-			<item>samplerCube</item>-			<item>sampler1DShadow</item>-			<item>sampler2DShadow</item>-		</list>-		<list name="typequal">-			<item>attribute</item>-			<item>const</item>-			<item>uniform</item>-			<item>varying</item>-			-			<item>in</item>-			<item>out</item>-			<item>inout</item>-		</list>-		<list name="attention">-			<item>FIXME</item>-			<item>TODO</item>-			<item>BUG</item>-		</list>-		<list name="stdlib">-			<!-- Angle and Trigonometry Functions -->-			<item>radians</item>-			<item>degrees</item>-			<item>sin</item>-			<item>cos</item>-			<item>tan</item>-			<item>asin</item>-			<item>acos</item>-			<item>atan</item>--			<!-- Exponential Functions -->-			<item>pow</item>-			<item>exp</item>-			<item>log</item>-			<item>exp2</item>-			<item>log2</item>-			<item>sqrt</item>-			<item>inversesqrt</item>--			<!-- Common Functions -->-			<item>abs</item>-			<item>sign</item>-			<item>floor</item>-			<item>ceil</item>-			<item>fract</item>-			<item>mod</item>-			<item>min</item>-			<item>max</item>-			<item>clamp</item>-			<item>mix</item>-			<item>step</item>-			<item>smoothstep</item>--			<!-- Geometric Functions -->-			<item>length</item>-			<item>distance</item>-			<item>dot</item>-			<item>cross</item>-			<item>normalize</item>-			<item>ftransform</item>-			<item>faceforward</item>-			<item>reflect</item>-			<item>refract</item>--			<!-- Matrix Functions -->-			<item>matrixCompMult</item>--			<!-- Vector Relational Functions -->-			<item>lessThan</item>-			<item>lessThenEqual</item>-			<item>greaterThan</item>-			<item>greaterThanEqual</item>-			<item>equal</item>-			<item>notEqual</item>-			<item>any</item>-			<item>all</item>-			<item>not</item>--			<!-- Texture Lookup Functions -->-			<item>texture1D</item>-			<item>texture1DProj</item>-			<item>texture1DLod</item>-			<item>texture1DProjLod</item>-			<item>texture2D</item>-			<item>texture2DProj</item>-			<item>texture2DLod</item>-			<item>texture2DProjLod</item>-			<item>texture3D</item>-			<item>texture3DProj</item>-			<item>texture3DLod</item>-			<item>texture3DProjLod</item>-			<item>textureCube</item>-			<item>textureCubeLod</item>-			<item>shadow1D</item>-			<item>shadow2D</item>-			<item>shadow1DProj</item>-			<item>shadow2DProj</item>-			<item>shadow1DLod</item>-			<item>shadow2DLod</item>-			<item>shadow1DProjLod</item>-			<item>shadow2DProjLod</item>--			<!-- Fragment Processing Functions -->-			<item>dFdx</item>-			<item>dFdy</item>-			<item>fwidth</item>--			<!-- Noise Functions -->-			<item>noise1</item>-			<item>noise2</item>-			<item>noise3</item>-			<item>noise4</item>-		</list>-		<list name="stdvar">-			<!-- Vertex Shader Special Variables -->-			<item>gl_Position</item>-			<item>gl_PointSize</item>-			<item>gl_ClipVertex</item>--			<!-- Fragment Shader Special Variables -->-			<item>gl_FragCoord</item>-			<item>gl_FragFacing</item>-			<item>gl_FragColor</item>-			<item>gl_FragData</item>-			<item>gl_FragDepth</item>--			<!-- Vertex Shader Built-in Attributes -->-			<item>gl_Color</item>-			<item>gl_SecondaryColor</item>-			<item>gl_Normal</item>-			<item>gl_Vertex</item>-			<item>gl_MultiTexCoord0</item>-			<item>gl_MultiTexCoord1</item>-			<item>gl_MultiTexCoord2</item>-			<item>gl_MultiTexCoord2</item>-			<item>gl_MultiTexCoord3</item>-			<item>gl_MultiTexCoord4</item>-			<item>gl_MultiTexCoord5</item>-			<item>gl_MultiTexCoord6</item>-			<item>gl_MultiTexCoord7</item>-			<item>gl_FogColor</item>--			<!-- Built-in Constants -->-			<item>gl_MaxLights</item>-			<item>gl_MaxClipPlanes</item>-			<item>gl_MaxTextureUnits</item>-			<item>gl_MaxTextureCoords</item>-			<item>gl_MaxVertexAttributes</item>-			<item>gl_MaxVertexUniformComponents</item>-			<item>gl_MaxVaryingFloats</item>-			<item>gl_MaxVertexTextureImageUnits</item>-			<item>gl_MaxCombinedTextureImageUnits</item>-			<item>gl_MaxTextureImageUnits</item>-			<item>gl_MaxFragmentUniformComponents</item>-			<item>gl_MaxDrawBuffers</item>--			<!-- Built-in Uniform State -->-			<item>gl_ModelViewMatrix</item>-			<item>gl_ProjectionMatrix</item>-			<item>gl_ModelViewProjectionMatrix</item>-			<item>gl_TextureMatrix</item>-			<item>gl_NormalMatrix</item>-			<item>gl_ModelViewMatrixInverse</item>-			<item>gl_ProjectionMatrixInverse</item>-			<item>gl_ModelViewProjectionMatrixInverse</item>-			<item>gl_TextureMatrixInverse</item>-			<item>gl_ModelViewMatrixTranspose</item>-			<item>gl_ProjectionMatrixTranspose</item>-			<item>gl_ModelViewProjectionMatrixTranspose</item>-			<item>gl_TextureMatrixTranspose</item>-			<item>gl_ModelViewMatrixInverseTranspose</item>-			<item>gl_ProjectionMatrixInverseTranspose</item>-			<item>gl_ModelViewProjectionMatrixInverseTranspose</item>-			<item>gl_TextureMatrixInverseTranspose</item>-			<item>gl_NormScale</item>-			<item>gl_DepthRangeParameters</item>-			<item>gl_DepthRange</item>-			<item>gl_ClipPlane</item>-			<item>gl_PointParameters</item>-			<item>gl_Point</item>-			<item>gl_MaterialParameters</item>-			<item>gl_FrontMaterial</item>-			<item>gl_BackMaterial</item>-			<item>gl_LightSourceParameters</item>-			<item>gl_LightSource</item>-			<item>gl_LightModelParameters</item>-			<item>gl_LightModel</item>-			<item>gl_LightModelProducts</item>-			<item>gl_FrontLightModelProduct</item>-			<item>gl_BackLightModelProduct</item>-			<item>gl_LightProducts</item>-			<item>gl_FrontLightProduct</item>-			<item>gl_BackLightProduct</item>-			<item>gl_TextureEnvColor</item>-			<item>gl_EyePlaneS</item>-			<item>gl_EyePlaneT</item>-			<item>gl_EyePlaneR</item>-			<item>gl_EyePlaneQ</item>-			<item>gl_ObjectPlaneS</item>-			<item>gl_ObjectPlaneT</item>-			<item>gl_ObjectPlaneR</item>-			<item>gl_ObjectPlaneQ</item>-			<item>gl_FogParameters</item>-			<item>gl_Fog</item>--			<!-- Varying Variables -->-			<item>gl_FrontColor</item>-			<item>gl_BackColor</item>-			<item>gl_FrontSecondaryColor</item>-			<item>gl_BackSecondaryColor</item>-			<item>gl_TexCoord</item>-			<item>gl_FogFragCoord</item>-			<item>gl_Color</item>-			<item>gl_SecondaryColor</item>-		</list>-		<contexts>-			<context attribute="Normal Text" lineEndContext="#stay" name="Normal">-				<keyword attribute="Keyword" String="keywords" context="#stay" />-				<keyword attribute="Data Type" String="types" context="#stay" />-				<keyword attribute="Type Qualifier" String="typequal" context="#stay" />-				<keyword attribute="StdFunction" String="stdlib" context="#stay" />-				<keyword attribute="StdVariable" String="stdvar" context="#stay" />-				-				<Float attribute="Float" context="#stay" />-				<HlCOct attribute="Octal" context="#stay"/>-				<HlCHex attribute="Hex" context="#stay"/>-				<Int attribute="Decimal" context="#stay" />-				-				<Detect2Chars attribute="Comment" context="Commentar 1" char="/" char1="/"/>-				<Detect2Chars attribute="Comment" context="Commentar 2" char="/" char1="*" beginRegion="Comment"/>-				<DetectChar attribute="Symbol" context="#stay" char="{" beginRegion="Brace1" />-				<DetectChar attribute="Symbol" context="#stay" char="}" endRegion="Brace1" />-				-				<DetectChar attribute="Preprocessor" context="Preprocessor" char="#" firstNonSpace="true"/>-				<RegExpr attribute="Function" context="#stay" String="\b[_\w][_\w\d]*(?=[\s]*[(])" />-				-				<RegExpr attribute="Symbol" context="Member" String="[.]{1,1}" />-				<AnyChar attribute="Symbol" context="#stay" String=".+-/*%&lt;&gt;[]()^|&amp;~=!:;,?&#59;" />-			</context>-			<context name="Member" attribute="Normal Text" lineEndContext="#pop" fallthrough="true" fallthroughContext="#pop">-				<RegExpr attribute="Function" context="#pop" String="\b[_\w][_\w\d]*(?=[\s]*)" />-			</context>-			<context name="Commentar 1" attribute="Comment" lineEndContext="#pop">-				<keyword attribute="Alert" context="#stay" String="attention" />-			</context>-			<context name="Commentar 2" attribute="Comment" lineEndContext="#stay">-				<Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment"/>-				<keyword attribute="Alert" context="#stay" String="attention" />-			</context>-			<context name="Preprocessor" attribute="Preprocessor" lineEndContext="#pop">-			</context>-	        </contexts>-		<itemDatas>-			<itemData name="Normal Text"    defStyleNum="dsNormal"/>-			<itemData name="Keyword"        defStyleNum="dsKeyword"/>-			<itemData name="Function"       defStyleNum="dsFunction" bold="0"/>-			<itemData name="StdFunction"    defStyleNum="dsFunction" bold="1"/>-			<itemData name="StdVariable"    defStyleNum="dsFunction" bold="0"/>-			<itemData name="Data Type"      defStyleNum="dsDataType"/>-			<itemData name="Type Qualifier" defStyleNum="dsDataType"/>-			<itemData name="Decimal"        defStyleNum="dsDecVal"/>-			<itemData name="Octal"          defStyleNum="dsBaseN"/>-			<itemData name="Hex"            defStyleNum="dsBaseN"/>-			<itemData name="Float"          defStyleNum="dsFloat"/>-			<itemData name="Symbol"         defStyleNum="dsNormal"/>-			<itemData name="Preprocessor"   defStyleNum="dsOthers"/>+<language name="GLSL" section="Sources" extensions="*.glsl;*.vert;*.frag;*.geom;*.tcs;*.tes" mimetype="text/x-glslsrc" version="2" kateversion="5.0" author="Oliver Richers (o.richers@tu-bs.de)" license="LGPL">+	<highlighting>+		<list name="keywords">+			<item>break</item>+			<item>continue</item>+			<item>do</item>+			<item>for</item>+			<item>while</item>+			+			<item>if</item>+			<item>else</item>+			+			<item>true</item>+			<item>false</item>+			+			<item>discard</item>+			<item>return</item>+			+			<item>struct</item>+			<item>subroutine</item>+			<item>layout</item>+			<item>uniform</item>+			<item>buffer</item>+			<item>invariant</item>+		</list>+		<list name="types">+			<item>float</item>+			<item>int</item>+			<item>void</item>+			<item>bool</item>++			<item>mat2</item>+			<item>mat3</item>+			<item>mat4</item>+			+			<item>vec2</item>+			<item>vec3</item>+			<item>vec4</item>+			<item>ivec2</item>+			<item>ivec3</item>+			<item>ivec4</item>+			<item>bvec2</item>+			<item>bvec3</item>+			<item>bvec4</item>+			+			<item>sampler1D</item>+			<item>sampler2D</item>+			<item>sampler3D</item>+			<item>samplerCube</item>+			<item>sampler2DRect</item>+			<item>sampler1DArray</item>+			<item>sampler2DArray</item>+			<item>samplerCubeArray</item>+			<item>samplerBuffer</item>+			<item>sampler2DMS</item>+			<item>sampler2DMSArray</item>++			<item>sampler1DShadow</item>+			<item>sampler2DShadow</item>+			<item>samplerCubeShadow</item>+			<item>sampler2DRectShadow</item>+			<item>sampler1DArrayShadow</item>+			<item>sampler2DArrayShadow</item>+			<item>samplerCubeArrayShadow</item>++			<item>isampler1D</item>+			<item>isampler2D</item>+			<item>isampler3D</item>+			<item>isamplerCube</item>+			<item>isampler2DRect</item>+			<item>isampler1DArray</item>+			<item>isampler2DArray</item>+			<item>isamplerCubeArray</item>+			<item>isamplerBuffer</item>+			<item>isampler2DMS</item>+			<item>isampler2DMSArray</item>++			<item>isampler1DShadow</item>+			<item>isampler2DShadow</item>+			<item>isamplerCubeShadow</item>+			<item>isampler2DRectShadow</item>+			<item>isampler1DArrayShadow</item>+			<item>isampler2DArrayShadow</item>+			<item>isamplerCubeArrayShadow</item>++			<item>usampler1D</item>+			<item>usampler2D</item>+			<item>usampler3D</item>+			<item>usamplerCube</item>+			<item>usampler2DRect</item>+			<item>usampler1DArray</item>+			<item>usampler2DArray</item>+			<item>usamplerCubeArray</item>+			<item>usamplerBuffer</item>+			<item>usampler2DMS</item>+			<item>usampler2DMSArray</item>++			<item>usampler1DShadow</item>+			<item>usampler2DShadow</item>+			<item>usamplerCubeShadow</item>+			<item>usampler2DRectShadow</item>+			<item>usampler1DArrayShadow</item>+			<item>usampler2DArrayShadow</item>+			<item>usamplerCubeArrayShadow</item>++			<item>atomic_uint</item>+		</list>+		<list name="typequal">+			<item>attribute</item>+			<item>const</item>+			<item>varying</item>+			+			<item>in</item>+			<item>out</item>+			<item>inout</item>++			<!-- interpolation qualifiers -->+			<item>flat</item>+			<item>noperspective</item>+			<item>smooth</item>++			<!-- layout qualifiers -->+			<item>location</item>+			<item>component</item>+			<item>binding</item>+			<item>index</item>+			<item>offset</item>++			<!-- interface block -->+			<item>row_major</item>+			<item>packed</item>+			<item>shared</item>+			<item>std140</item>+			<item>std430</item>++			<!-- force feedback -->+			<item>xfb_buffer</item>+			<item>xfb_offset</item>+			<item>xfb_stride</item>++			<!-- fragment shader -->+			<item>origin_upper_left</item>+			<item>pixel_center_integer</item>+			<item>early_fragment_tests</item>++			<!-- geometry shader-->+			<item>points</item>+			<item>lines</item>+			<item>lines_adjacency</item>+			<item>triangles</item>+			<item>triangles_adjacency</item>+			<item>line_strip</item>+			<item>triangle_strip</item>+			<item>max_vertices</item>+			<item>invocations</item>+			<item>stream</item>++			<!-- tesselation -->+			<item>isolines</item>+			<item>triangles</item>+			<item>quads</item>+			<item>point_mode</item>+			<item>equal_spacing</item>+			<item>fractional_even_spacing</item>+			<item>fractional_odd_spacing</item>+			<item>cw</item>+			<item>ccw</item>+			<item>vertices</item>++			<!-- memory qualifiers -->+			<item>coherent</item>+			<item>volatile</item>+			<item>restrict</item>+			<item>readonly</item>+			<item>writeonly</item>+		</list>+		<list name="attention">+			<item>FIXME</item>+			<item>TODO</item>+			<item>BUG</item>+		</list>+		<list name="stdlib">+			<!-- see also: https://www.opengl.org/sdk/docs/man4/ -->+			<item>abs</item>+			<item>acos</item>+			<item>acosh</item>+			<item>glActiveShaderProgram</item>+			<item>glActiveTexture</item>+			<item>all</item>+			<item>any</item>+			<item>asin</item>+			<item>asinh</item>+			<item>atan</item>+			<item>atanh</item>+			<item>atomicAdd</item>+			<item>atomicAnd</item>+			<item>atomicCompSwap</item>+			<item>atomicCounter</item>+			<item>atomicCounterDecrement</item>+			<item>atomicCounterIncrement</item>+			<item>atomicExchange</item>+			<item>atomicMax</item>+			<item>atomicMin</item>+			<item>atomicOr</item>+			<item>atomicXor</item>+			<item>glAttachShader</item>+			<item>barrier</item>+			<item>glBeginConditionalRender</item>+			<item>glBeginQuery</item>+			<item>glBeginQueryIndexed</item>+			<item>glBeginTransformFeedback</item>+			<item>glBindAttribLocation</item>+			<item>glBindBuffer</item>+			<item>glBindBufferBase</item>+			<item>glBindBufferRange</item>+			<item>glBindBuffersBase</item>+			<item>glBindBuffersRange</item>+			<item>glBindFragDataLocation</item>+			<item>glBindFragDataLocationIndexed</item>+			<item>glBindFramebuffer</item>+			<item>glBindImageTexture</item>+			<item>glBindImageTextures</item>+			<item>glBindProgramPipeline</item>+			<item>glBindRenderbuffer</item>+			<item>glBindSampler</item>+			<item>glBindSamplers</item>+			<item>glBindTexture</item>+			<item>glBindTextures</item>+			<item>glBindTextureUnit</item>+			<item>glBindTransformFeedback</item>+			<item>glBindVertexArray</item>+			<item>glBindVertexBuffer</item>+			<item>glBindVertexBuffers</item>+			<item>bitCount</item>+			<item>bitfieldExtract</item>+			<item>bitfieldInsert</item>+			<item>bitfieldReverse</item>+			<item>glBlendColor</item>+			<item>glBlendEquation</item>+			<item>glBlendEquationi</item>+			<item>glBlendEquationSeparate</item>+			<item>glBlendEquationSeparatei</item>+			<item>glBlendFunc</item>+			<item>glBlendFunci</item>+			<item>glBlendFuncSeparate</item>+			<item>glBlendFuncSeparatei</item>+			<item>glBlitFramebuffer</item>+			<item>glBlitNamedFramebuffer</item>+			<item>glBufferData</item>+			<item>glBufferStorage</item>+			<item>glBufferSubData</item>+			<item>ceil</item>+			<item>glCheckFramebufferStatus</item>+			<item>glCheckNamedFramebufferStatus</item>+			<item>clamp</item>+			<item>glClampColor</item>+			<item>glClear</item>+			<item>glClearBuffer</item>+			<item>glClearBufferData</item>+			<item>glClearBufferfi</item>+			<item>glClearBufferfv</item>+			<item>glClearBufferiv</item>+			<item>glClearBufferSubData</item>+			<item>glClearBufferuiv</item>+			<item>glClearColor</item>+			<item>glClearDepth</item>+			<item>glClearDepthf</item>+			<item>glClearNamedBufferData</item>+			<item>glClearNamedBufferSubData</item>+			<item>glClearNamedFramebufferfi</item>+			<item>glClearNamedFramebufferfv</item>+			<item>glClearNamedFramebufferiv</item>+			<item>glClearNamedFramebufferuiv</item>+			<item>glClearStencil</item>+			<item>glClearTexImage</item>+			<item>glClearTexSubImage</item>+			<item>glClientWaitSync</item>+			<item>glClipControl</item>+			<item>glColorMask</item>+			<item>glColorMaski</item>+			<item>glCompileShader</item>+			<item>glCompressedTexImage1D</item>+			<item>glCompressedTexImage2D</item>+			<item>glCompressedTexImage3D</item>+			<item>glCompressedTexSubImage1D</item>+			<item>glCompressedTexSubImage2D</item>+			<item>glCompressedTexSubImage3D</item>+			<item>glCompressedTextureSubImage1D</item>+			<item>glCompressedTextureSubImage2D</item>+			<item>glCompressedTextureSubImage3D</item>+			<item>glCopyBufferSubData</item>+			<item>glCopyImageSubData</item>+			<item>glCopyNamedBufferSubData</item>+			<item>glCopyTexImage1D</item>+			<item>glCopyTexImage2D</item>+			<item>glCopyTexSubImage1D</item>+			<item>glCopyTexSubImage2D</item>+			<item>glCopyTexSubImage3D</item>+			<item>glCopyTextureSubImage1D</item>+			<item>glCopyTextureSubImage2D</item>+			<item>glCopyTextureSubImage3D</item>+			<item>cos</item>+			<item>cosh</item>+			<item>glCreateBuffers</item>+			<item>glCreateFramebuffers</item>+			<item>glCreateProgram</item>+			<item>glCreateProgramPipelines</item>+			<item>glCreateQueries</item>+			<item>glCreateRenderbuffers</item>+			<item>glCreateSamplers</item>+			<item>glCreateShader</item>+			<item>glCreateShaderProgram</item>+			<item>glCreateShaderProgramv</item>+			<item>glCreateTextures</item>+			<item>glCreateTransformFeedbacks</item>+			<item>glCreateVertexArrays</item>+			<item>cross</item>+			<item>glCullFace</item>+			<item>glDebugMessageCallback</item>+			<item>glDebugMessageControl</item>+			<item>glDebugMessageInsert</item>+			<item>degrees</item>+			<item>glDeleteBuffers</item>+			<item>glDeleteFramebuffers</item>+			<item>glDeleteProgram</item>+			<item>glDeleteProgramPipelines</item>+			<item>glDeleteQueries</item>+			<item>glDeleteRenderbuffers</item>+			<item>glDeleteSamplers</item>+			<item>glDeleteShader</item>+			<item>glDeleteSync</item>+			<item>glDeleteTextures</item>+			<item>glDeleteTransformFeedbacks</item>+			<item>glDeleteVertexArrays</item>+			<item>glDepthFunc</item>+			<item>glDepthMask</item>+			<item>glDepthRange</item>+			<item>glDepthRangeArray</item>+			<item>glDepthRangeArrayv</item>+			<item>glDepthRangef</item>+			<item>glDepthRangeIndexed</item>+			<item>glDetachShader</item>+			<item>determinant</item>+			<item>dFdx</item>+			<item>dFdxCoarse</item>+			<item>dFdxFine</item>+			<item>dFdy</item>+			<item>dFdyCoarse</item>+			<item>dFdyFine</item>+			<item>glDisable</item>+			<item>glDisablei</item>+			<item>glDisableVertexArrayAttrib</item>+			<item>glDisableVertexAttribArray</item>+			<item>glDispatchCompute</item>+			<item>glDispatchComputeIndirect</item>+			<item>distance</item>+			<item>dot</item>+			<item>glDrawArrays</item>+			<item>glDrawArraysIndirect</item>+			<item>glDrawArraysInstanced</item>+			<item>glDrawArraysInstancedBaseInstance</item>+			<item>glDrawBuffer</item>+			<item>glDrawBuffers</item>+			<item>glDrawElements</item>+			<item>glDrawElementsBaseVertex</item>+			<item>glDrawElementsIndirect</item>+			<item>glDrawElementsInstanced</item>+			<item>glDrawElementsInstancedBaseInstance</item>+			<item>glDrawElementsInstancedBaseVertex</item>+			<item>glDrawElementsInstancedBaseVertexBaseInstance</item>+			<item>glDrawRangeElements</item>+			<item>glDrawRangeElementsBaseVertex</item>+			<item>glDrawTransformFeedback</item>+			<item>glDrawTransformFeedbackInstanced</item>+			<item>glDrawTransformFeedbackStream</item>+			<item>glDrawTransformFeedbackStreamInstanced</item>+			<item>EmitStreamVertex</item>+			<item>EmitVertex</item>+			<item>glEnable</item>+			<item>glEnablei</item>+			<item>glEnableVertexArrayAttrib</item>+			<item>glEnableVertexAttribArray</item>+			<item>glEndConditionalRender</item>+			<item>EndPrimitive</item>+			<item>glEndQuery</item>+			<item>glEndQueryIndexed</item>+			<item>EndStreamPrimitive</item>+			<item>glEndTransformFeedback</item>+			<item>equal</item>+			<item>exp</item>+			<item>exp2</item>+			<item>faceforward</item>+			<item>glFenceSync</item>+			<item>findLSB</item>+			<item>findMSB</item>+			<item>glFinish</item>+			<item>floatBitsToInt</item>+			<item>floatBitsToUint</item>+			<item>floor</item>+			<item>glFlush</item>+			<item>glFlushMappedBufferRange</item>+			<item>glFlushMappedNamedBufferRange</item>+			<item>fma</item>+			<item>fract</item>+			<item>glFramebufferParameteri</item>+			<item>glFramebufferRenderbuffer</item>+			<item>glFramebufferTexture</item>+			<item>glFramebufferTexture1D</item>+			<item>glFramebufferTexture2D</item>+			<item>glFramebufferTexture3D</item>+			<item>glFramebufferTextureLayer</item>+			<item>frexp</item>+			<item>glFrontFace</item>+			<item>fwidth</item>+			<item>fwidthCoarse</item>+			<item>fwidthFine</item>+			<item>glGenBuffers</item>+			<item>glGenerateMipmap</item>+			<item>glGenerateTextureMipmap</item>+			<item>glGenFramebuffers</item>+			<item>glGenProgramPipelines</item>+			<item>glGenQueries</item>+			<item>glGenRenderbuffers</item>+			<item>glGenSamplers</item>+			<item>glGenTextures</item>+			<item>glGenTransformFeedbacks</item>+			<item>glGenVertexArrays</item>+			<item>glGet</item>+			<item>glGetActiveAtomicCounterBufferiv</item>+			<item>glGetActiveAttrib</item>+			<item>glGetActiveSubroutineName</item>+			<item>glGetActiveSubroutineUniform</item>+			<item>glGetActiveSubroutineUniformiv</item>+			<item>glGetActiveSubroutineUniformName</item>+			<item>glGetActiveUniform</item>+			<item>glGetActiveUniformBlock</item>+			<item>glGetActiveUniformBlockiv</item>+			<item>glGetActiveUniformBlockName</item>+			<item>glGetActiveUniformName</item>+			<item>glGetActiveUniformsiv</item>+			<item>glGetAttachedShaders</item>+			<item>glGetAttribLocation</item>+			<item>glGetBooleani_v</item>+			<item>glGetBooleanv</item>+			<item>glGetBufferParameter</item>+			<item>glGetBufferParameteri64v</item>+			<item>glGetBufferParameteriv</item>+			<item>glGetBufferPointerv</item>+			<item>glGetBufferSubData</item>+			<item>glGetCompressedTexImage</item>+			<item>glGetCompressedTextureImage</item>+			<item>glGetCompressedTextureSubImage</item>+			<item>glGetDebugMessageLog</item>+			<item>glGetDoublei_v</item>+			<item>glGetDoublev</item>+			<item>glGetError</item>+			<item>glGetFloati_v</item>+			<item>glGetFloatv</item>+			<item>glGetFragDataIndex</item>+			<item>glGetFragDataLocation</item>+			<item>glGetFramebufferAttachmentParameter</item>+			<item>glGetFramebufferAttachmentParameteriv</item>+			<item>glGetFramebufferParameter</item>+			<item>glGetFramebufferParameteriv</item>+			<item>glGetGraphicsResetStatus</item>+			<item>glGetInteger64i_v</item>+			<item>glGetInteger64v</item>+			<item>glGetIntegeri_v</item>+			<item>glGetIntegerv</item>+			<item>glGetInternalformat</item>+			<item>glGetInternalformati64v</item>+			<item>glGetInternalformativ</item>+			<item>glGetMultisample</item>+			<item>glGetMultisamplefv</item>+			<item>glGetNamedBufferParameteri64v</item>+			<item>glGetNamedBufferParameteriv</item>+			<item>glGetNamedBufferPointerv</item>+			<item>glGetNamedBufferSubData</item>+			<item>glGetNamedFramebufferAttachmentParameteriv</item>+			<item>glGetNamedFramebufferParameteriv</item>+			<item>glGetNamedRenderbufferParameteriv</item>+			<item>glGetnCompressedTexImage</item>+			<item>glGetnTexImage</item>+			<item>glGetnUniformdv</item>+			<item>glGetnUniformfv</item>+			<item>glGetnUniformiv</item>+			<item>glGetnUniformuiv</item>+			<item>glGetObjectLabel</item>+			<item>glGetObjectPtrLabel</item>+			<item>glGetPointerv</item>+			<item>glGetProgram</item>+			<item>glGetProgramBinary</item>+			<item>glGetProgramInfoLog</item>+			<item>glGetProgramInterface</item>+			<item>glGetProgramInterfaceiv</item>+			<item>glGetProgramiv</item>+			<item>glGetProgramPipeline</item>+			<item>glGetProgramPipelineInfoLog</item>+			<item>glGetProgramPipelineiv</item>+			<item>glGetProgramResource</item>+			<item>glGetProgramResourceIndex</item>+			<item>glGetProgramResourceiv</item>+			<item>glGetProgramResourceLocation</item>+			<item>glGetProgramResourceLocationIndex</item>+			<item>glGetProgramResourceName</item>+			<item>glGetProgramStage</item>+			<item>glGetProgramStageiv</item>+			<item>glGetQueryIndexed</item>+			<item>glGetQueryIndexediv</item>+			<item>glGetQueryiv</item>+			<item>glGetQueryObject</item>+			<item>glGetQueryObjecti64v</item>+			<item>glGetQueryObjectiv</item>+			<item>glGetQueryObjectui64v</item>+			<item>glGetQueryObjectuiv</item>+			<item>glGetRenderbufferParameter</item>+			<item>glGetRenderbufferParameteriv</item>+			<item>glGetSamplerParameter</item>+			<item>glGetSamplerParameterfv</item>+			<item>glGetSamplerParameterIiv</item>+			<item>glGetSamplerParameterIuiv</item>+			<item>glGetSamplerParameteriv</item>+			<item>glGetShader</item>+			<item>glGetShaderInfoLog</item>+			<item>glGetShaderiv</item>+			<item>glGetShaderPrecisionFormat</item>+			<item>glGetShaderSource</item>+			<item>glGetString</item>+			<item>glGetStringi</item>+			<item>glGetSubroutineIndex</item>+			<item>glGetSubroutineUniformLocation</item>+			<item>glGetSync</item>+			<item>glGetSynciv</item>+			<item>glGetTexImage</item>+			<item>glGetTexLevelParameter</item>+			<item>glGetTexLevelParameterfv</item>+			<item>glGetTexLevelParameteriv</item>+			<item>glGetTexParameter</item>+			<item>glGetTexParameterfv</item>+			<item>glGetTexParameterIiv</item>+			<item>glGetTexParameterIuiv</item>+			<item>glGetTexParameteriv</item>+			<item>glGetTextureImage</item>+			<item>glGetTextureLevelParameterfv</item>+			<item>glGetTextureLevelParameteriv</item>+			<item>glGetTextureParameterfv</item>+			<item>glGetTextureParameterIiv</item>+			<item>glGetTextureParameterIuiv</item>+			<item>glGetTextureParameteriv</item>+			<item>glGetTextureSubImage</item>+			<item>glGetTransformFeedback</item>+			<item>glGetTransformFeedbacki64_v</item>+			<item>glGetTransformFeedbacki_v</item>+			<item>glGetTransformFeedbackiv</item>+			<item>glGetTransformFeedbackVarying</item>+			<item>glGetUniform</item>+			<item>glGetUniformBlockIndex</item>+			<item>glGetUniformdv</item>+			<item>glGetUniformfv</item>+			<item>glGetUniformIndices</item>+			<item>glGetUniformiv</item>+			<item>glGetUniformLocation</item>+			<item>glGetUniformSubroutine</item>+			<item>glGetUniformSubroutineuiv</item>+			<item>glGetUniformuiv</item>+			<item>glGetVertexArrayIndexed</item>+			<item>glGetVertexArrayIndexed64iv</item>+			<item>glGetVertexArrayIndexediv</item>+			<item>glGetVertexArrayiv</item>+			<item>glGetVertexAttrib</item>+			<item>glGetVertexAttribdv</item>+			<item>glGetVertexAttribfv</item>+			<item>glGetVertexAttribIiv</item>+			<item>glGetVertexAttribIuiv</item>+			<item>glGetVertexAttribiv</item>+			<item>glGetVertexAttribLdv</item>+			<item>glGetVertexAttribPointerv</item>+			<item>gl_ClipDistance</item>+			<item>gl_CullDistance</item>+			<item>gl_FragCoord</item>+			<item>gl_FragDepth</item>+			<item>gl_FrontFacing</item>+			<item>gl_GlobalInvocationID</item>+			<item>gl_HelperInvocation</item>+			<item>gl_InstanceID</item>+			<item>gl_InvocationID</item>+			<item>gl_Layer</item>+			<item>gl_LocalInvocationID</item>+			<item>gl_LocalInvocationIndex</item>+			<item>gl_NumSamples</item>+			<item>gl_NumWorkGroups</item>+			<item>gl_PatchVerticesIn</item>+			<item>gl_PointCoord</item>+			<item>gl_PointSize</item>+			<item>gl_Position</item>+			<item>gl_PrimitiveID</item>+			<item>gl_PrimitiveIDIn</item>+			<item>gl_SampleID</item>+			<item>gl_SampleMask</item>+			<item>gl_SampleMaskIn</item>+			<item>gl_SamplePosition</item>+			<item>gl_TessCoord</item>+			<item>gl_TessLevelInner</item>+			<item>gl_TessLevelOuter</item>+			<item>gl_VertexID</item>+			<item>gl_ViewportIndex</item>+			<item>gl_WorkGroupID</item>+			<item>gl_WorkGroupSize</item>+			<item>greaterThan</item>+			<item>greaterThanEqual</item>+			<item>groupMemoryBarrier</item>+			<item>glHint</item>+			<item>imageAtomicAdd</item>+			<item>imageAtomicAnd</item>+			<item>imageAtomicCompSwap</item>+			<item>imageAtomicExchange</item>+			<item>imageAtomicMax</item>+			<item>imageAtomicMin</item>+			<item>imageAtomicOr</item>+			<item>imageAtomicXor</item>+			<item>imageLoad</item>+			<item>imageSamples</item>+			<item>imageSize</item>+			<item>imageStore</item>+			<item>imulExtended</item>+			<item>intBitsToFloat</item>+			<item>interpolateAtCentroid</item>+			<item>interpolateAtOffset</item>+			<item>interpolateAtSample</item>+			<item>glInvalidateBufferData</item>+			<item>glInvalidateBufferSubData</item>+			<item>glInvalidateFramebuffer</item>+			<item>glInvalidateNamedFramebufferData</item>+			<item>glInvalidateNamedFramebufferSubData</item>+			<item>glInvalidateSubFramebuffer</item>+			<item>glInvalidateTexImage</item>+			<item>glInvalidateTexSubImage</item>+			<item>inverse</item>+			<item>inversesqrt</item>+			<item>glIsBuffer</item>+			<item>glIsEnabled</item>+			<item>glIsEnabledi</item>+			<item>glIsFramebuffer</item>+			<item>isinf</item>+			<item>isnan</item>+			<item>glIsProgram</item>+			<item>glIsProgramPipeline</item>+			<item>glIsQuery</item>+			<item>glIsRenderbuffer</item>+			<item>glIsSampler</item>+			<item>glIsShader</item>+			<item>glIsSync</item>+			<item>glIsTexture</item>+			<item>glIsTransformFeedback</item>+			<item>glIsVertexArray</item>+			<item>ldexp</item>+			<item>length</item>+			<item>lessThan</item>+			<item>lessThanEqual</item>+			<item>glLineWidth</item>+			<item>glLinkProgram</item>+			<item>log</item>+			<item>log2</item>+			<item>glLogicOp</item>+			<item>glMapBuffer</item>+			<item>glMapBufferRange</item>+			<item>glMapNamedBuffer</item>+			<item>glMapNamedBufferRange</item>+			<item>matrixCompMult</item>+			<item>max</item>+			<item>memoryBarrier</item>+			<item>glMemoryBarrier</item>+			<item>memoryBarrierAtomicCounter</item>+			<item>memoryBarrierBuffer</item>+			<item>glMemoryBarrierByRegion</item>+			<item>memoryBarrierImage</item>+			<item>memoryBarrierShared</item>+			<item>min</item>+			<item>glMinSampleShading</item>+			<item>mix</item>+			<item>mod</item>+			<item>modf</item>+			<item>glMultiDrawArrays</item>+			<item>glMultiDrawArraysIndirect</item>+			<item>glMultiDrawElements</item>+			<item>glMultiDrawElementsBaseVertex</item>+			<item>glMultiDrawElementsIndirect</item>+			<item>glNamedBufferData</item>+			<item>glNamedBufferStorage</item>+			<item>glNamedBufferSubData</item>+			<item>glNamedFramebufferDrawBuffer</item>+			<item>glNamedFramebufferDrawBuffers</item>+			<item>glNamedFramebufferParameteri</item>+			<item>glNamedFramebufferReadBuffer</item>+			<item>glNamedFramebufferRenderbuffer</item>+			<item>glNamedFramebufferTexture</item>+			<item>glNamedFramebufferTextureLayer</item>+			<item>glNamedRenderbufferStorage</item>+			<item>glNamedRenderbufferStorageMultisample</item>+			<item>noise</item>+			<item>noise1</item>+			<item>noise2</item>+			<item>noise3</item>+			<item>noise4</item>+			<item>normalize</item>+			<item>not</item>+			<item>notEqual</item>+			<item>glObjectLabel</item>+			<item>glObjectPtrLabel</item>+			<item>outerProduct</item>+			<item>packDouble2x32</item>+			<item>packHalf2x16</item>+			<item>packSnorm2x16</item>+			<item>packSnorm4x8</item>+			<item>packUnorm</item>+			<item>packUnorm2x16</item>+			<item>packUnorm4x8</item>+			<item>glPatchParameter</item>+			<item>glPatchParameterfv</item>+			<item>glPatchParameteri</item>+			<item>glPauseTransformFeedback</item>+			<item>glPixelStore</item>+			<item>glPixelStoref</item>+			<item>glPixelStorei</item>+			<item>glPointParameter</item>+			<item>glPointParameterf</item>+			<item>glPointParameterfv</item>+			<item>glPointParameteri</item>+			<item>glPointParameteriv</item>+			<item>glPointSize</item>+			<item>glPolygonMode</item>+			<item>glPolygonOffset</item>+			<item>glPopDebugGroup</item>+			<item>pow</item>+			<item>glPrimitiveRestartIndex</item>+			<item>glProgramBinary</item>+			<item>glProgramParameter</item>+			<item>glProgramParameteri</item>+			<item>glProgramUniform</item>+			<item>glProgramUniform1f</item>+			<item>glProgramUniform1fv</item>+			<item>glProgramUniform1i</item>+			<item>glProgramUniform1iv</item>+			<item>glProgramUniform1ui</item>+			<item>glProgramUniform1uiv</item>+			<item>glProgramUniform2f</item>+			<item>glProgramUniform2fv</item>+			<item>glProgramUniform2i</item>+			<item>glProgramUniform2iv</item>+			<item>glProgramUniform2ui</item>+			<item>glProgramUniform2uiv</item>+			<item>glProgramUniform3f</item>+			<item>glProgramUniform3fv</item>+			<item>glProgramUniform3i</item>+			<item>glProgramUniform3iv</item>+			<item>glProgramUniform3ui</item>+			<item>glProgramUniform3uiv</item>+			<item>glProgramUniform4f</item>+			<item>glProgramUniform4fv</item>+			<item>glProgramUniform4i</item>+			<item>glProgramUniform4iv</item>+			<item>glProgramUniform4ui</item>+			<item>glProgramUniform4uiv</item>+			<item>glProgramUniformMatrix2fv</item>+			<item>glProgramUniformMatrix2x3fv</item>+			<item>glProgramUniformMatrix2x4fv</item>+			<item>glProgramUniformMatrix3fv</item>+			<item>glProgramUniformMatrix3x2fv</item>+			<item>glProgramUniformMatrix3x4fv</item>+			<item>glProgramUniformMatrix4fv</item>+			<item>glProgramUniformMatrix4x2fv</item>+			<item>glProgramUniformMatrix4x3fv</item>+			<item>glProvokingVertex</item>+			<item>glPushDebugGroup</item>+			<item>glQueryCounter</item>+			<item>radians</item>+			<item>glReadBuffer</item>+			<item>glReadnPixels</item>+			<item>glReadPixels</item>+			<item>reflect</item>+			<item>refract</item>+			<item>glReleaseShaderCompiler</item>+			<item>removedTypes</item>+			<item>glRenderbufferStorage</item>+			<item>glRenderbufferStorageMultisample</item>+			<item>glResumeTransformFeedback</item>+			<item>round</item>+			<item>roundEven</item>+			<item>glSampleCoverage</item>+			<item>glSampleMaski</item>+			<item>glSamplerParameter</item>+			<item>glSamplerParameterf</item>+			<item>glSamplerParameterfv</item>+			<item>glSamplerParameteri</item>+			<item>glSamplerParameterIiv</item>+			<item>glSamplerParameterIuiv</item>+			<item>glSamplerParameteriv</item>+			<item>glScissor</item>+			<item>glScissorArray</item>+			<item>glScissorArrayv</item>+			<item>glScissorIndexed</item>+			<item>glScissorIndexedv</item>+			<item>glShaderBinary</item>+			<item>glShaderSource</item>+			<item>glShaderStorageBlockBinding</item>+			<item>sign</item>+			<item>sin</item>+			<item>sinh</item>+			<item>smoothstep</item>+			<item>sqrt</item>+			<item>glStencilFunc</item>+			<item>glStencilFuncSeparate</item>+			<item>glStencilMask</item>+			<item>glStencilMaskSeparate</item>+			<item>glStencilOp</item>+			<item>glStencilOpSeparate</item>+			<item>step</item>+			<item>tan</item>+			<item>tanh</item>+			<item>glTexBuffer</item>+			<item>glTexBufferRange</item>+			<item>texelFetch</item>+			<item>texelFetchOffset</item>+			<item>glTexImage1D</item>+			<item>glTexImage2D</item>+			<item>glTexImage2DMultisample</item>+			<item>glTexImage3D</item>+			<item>glTexImage3DMultisample</item>+			<item>glTexParameter</item>+			<item>glTexParameterf</item>+			<item>glTexParameterfv</item>+			<item>glTexParameteri</item>+			<item>glTexParameterIiv</item>+			<item>glTexParameterIuiv</item>+			<item>glTexParameteriv</item>+			<item>glTexStorage1D</item>+			<item>glTexStorage2D</item>+			<item>glTexStorage2DMultisample</item>+			<item>glTexStorage3D</item>+			<item>glTexStorage3DMultisample</item>+			<item>glTexSubImage1D</item>+			<item>glTexSubImage2D</item>+			<item>glTexSubImage3D</item>+			<item>texture</item>+			<item>glTextureBarrier</item>+			<item>glTextureBuffer</item>+			<item>glTextureBufferRange</item>+			<item>textureGather</item>+			<item>textureGatherOffset</item>+			<item>textureGatherOffsets</item>+			<item>textureGrad</item>+			<item>textureGradOffset</item>+			<item>textureLod</item>+			<item>textureLodOffset</item>+			<item>textureOffset</item>+			<item>glTextureParameterf</item>+			<item>glTextureParameterfv</item>+			<item>glTextureParameteri</item>+			<item>glTextureParameterIiv</item>+			<item>glTextureParameterIuiv</item>+			<item>glTextureParameteriv</item>+			<item>textureProj</item>+			<item>textureProjGrad</item>+			<item>textureProjGradOffset</item>+			<item>textureProjLod</item>+			<item>textureProjLodOffset</item>+			<item>textureProjOffset</item>+			<item>textureQueryLevels</item>+			<item>textureQueryLod</item>+			<item>textureSamples</item>+			<item>textureSize</item>+			<item>glTextureStorage1D</item>+			<item>glTextureStorage2D</item>+			<item>glTextureStorage2DMultisample</item>+			<item>glTextureStorage3D</item>+			<item>glTextureStorage3DMultisample</item>+			<item>glTextureSubImage1D</item>+			<item>glTextureSubImage2D</item>+			<item>glTextureSubImage3D</item>+			<item>glTextureView</item>+			<item>glTransformFeedbackBufferBase</item>+			<item>glTransformFeedbackBufferRange</item>+			<item>glTransformFeedbackVaryings</item>+			<item>transpose</item>+			<item>trunc</item>+			<item>uaddCarry</item>+			<item>uintBitsToFloat</item>+			<item>umulExtended</item>+			<item>glUniform</item>+			<item>glUniform1f</item>+			<item>glUniform1fv</item>+			<item>glUniform1i</item>+			<item>glUniform1iv</item>+			<item>glUniform1ui</item>+			<item>glUniform1uiv</item>+			<item>glUniform2f</item>+			<item>glUniform2fv</item>+			<item>glUniform2i</item>+			<item>glUniform2iv</item>+			<item>glUniform2ui</item>+			<item>glUniform2uiv</item>+			<item>glUniform3f</item>+			<item>glUniform3fv</item>+			<item>glUniform3i</item>+			<item>glUniform3iv</item>+			<item>glUniform3ui</item>+			<item>glUniform3uiv</item>+			<item>glUniform4f</item>+			<item>glUniform4fv</item>+			<item>glUniform4i</item>+			<item>glUniform4iv</item>+			<item>glUniform4ui</item>+			<item>glUniform4uiv</item>+			<item>glUniformBlockBinding</item>+			<item>glUniformMatrix2fv</item>+			<item>glUniformMatrix2x3fv</item>+			<item>glUniformMatrix2x4fv</item>+			<item>glUniformMatrix3fv</item>+			<item>glUniformMatrix3x2fv</item>+			<item>glUniformMatrix3x4fv</item>+			<item>glUniformMatrix4fv</item>+			<item>glUniformMatrix4x2fv</item>+			<item>glUniformMatrix4x3fv</item>+			<item>glUniformSubroutines</item>+			<item>glUniformSubroutinesuiv</item>+			<item>glUnmapBuffer</item>+			<item>glUnmapNamedBuffer</item>+			<item>unpackDouble2x32</item>+			<item>unpackHalf2x16</item>+			<item>unpackSnorm2x16</item>+			<item>unpackSnorm4x8</item>+			<item>unpackUnorm</item>+			<item>unpackUnorm2x16</item>+			<item>unpackUnorm4x8</item>+			<item>glUseProgram</item>+			<item>glUseProgramStages</item>+			<item>usubBorrow</item>+			<item>glValidateProgram</item>+			<item>glValidateProgramPipeline</item>+			<item>glVertexArrayAttribBinding</item>+			<item>glVertexArrayAttribFormat</item>+			<item>glVertexArrayAttribIFormat</item>+			<item>glVertexArrayAttribLFormat</item>+			<item>glVertexArrayBindingDivisor</item>+			<item>glVertexArrayElementBuffer</item>+			<item>glVertexArrayVertexBuffer</item>+			<item>glVertexArrayVertexBuffers</item>+			<item>glVertexAttrib</item>+			<item>glVertexAttrib1d</item>+			<item>glVertexAttrib1dv</item>+			<item>glVertexAttrib1f</item>+			<item>glVertexAttrib1fv</item>+			<item>glVertexAttrib1s</item>+			<item>glVertexAttrib1sv</item>+			<item>glVertexAttrib2d</item>+			<item>glVertexAttrib2dv</item>+			<item>glVertexAttrib2f</item>+			<item>glVertexAttrib2fv</item>+			<item>glVertexAttrib2s</item>+			<item>glVertexAttrib2sv</item>+			<item>glVertexAttrib3d</item>+			<item>glVertexAttrib3dv</item>+			<item>glVertexAttrib3f</item>+			<item>glVertexAttrib3fv</item>+			<item>glVertexAttrib3s</item>+			<item>glVertexAttrib3sv</item>+			<item>glVertexAttrib4bv</item>+			<item>glVertexAttrib4d</item>+			<item>glVertexAttrib4dv</item>+			<item>glVertexAttrib4f</item>+			<item>glVertexAttrib4fv</item>+			<item>glVertexAttrib4iv</item>+			<item>glVertexAttrib4Nbv</item>+			<item>glVertexAttrib4Niv</item>+			<item>glVertexAttrib4Nsv</item>+			<item>glVertexAttrib4Nub</item>+			<item>glVertexAttrib4Nubv</item>+			<item>glVertexAttrib4Nuiv</item>+			<item>glVertexAttrib4Nusv</item>+			<item>glVertexAttrib4s</item>+			<item>glVertexAttrib4sv</item>+			<item>glVertexAttrib4ubv</item>+			<item>glVertexAttrib4uiv</item>+			<item>glVertexAttrib4usv</item>+			<item>glVertexAttribBinding</item>+			<item>glVertexAttribDivisor</item>+			<item>glVertexAttribFormat</item>+			<item>glVertexAttribI1i</item>+			<item>glVertexAttribI1iv</item>+			<item>glVertexAttribI1ui</item>+			<item>glVertexAttribI1uiv</item>+			<item>glVertexAttribI2i</item>+			<item>glVertexAttribI2iv</item>+			<item>glVertexAttribI2ui</item>+			<item>glVertexAttribI2uiv</item>+			<item>glVertexAttribI3i</item>+			<item>glVertexAttribI3iv</item>+			<item>glVertexAttribI3ui</item>+			<item>glVertexAttribI3uiv</item>+			<item>glVertexAttribI4bv</item>+			<item>glVertexAttribI4i</item>+			<item>glVertexAttribI4iv</item>+			<item>glVertexAttribI4sv</item>+			<item>glVertexAttribI4ubv</item>+			<item>glVertexAttribI4ui</item>+			<item>glVertexAttribI4uiv</item>+			<item>glVertexAttribI4usv</item>+			<item>glVertexAttribIFormat</item>+			<item>glVertexAttribIPointer</item>+			<item>glVertexAttribL1d</item>+			<item>glVertexAttribL1dv</item>+			<item>glVertexAttribL2d</item>+			<item>glVertexAttribL2dv</item>+			<item>glVertexAttribL3d</item>+			<item>glVertexAttribL3dv</item>+			<item>glVertexAttribL4d</item>+			<item>glVertexAttribL4dv</item>+			<item>glVertexAttribLFormat</item>+			<item>glVertexAttribLPointer</item>+			<item>glVertexAttribP1ui</item>+			<item>glVertexAttribP2ui</item>+			<item>glVertexAttribP3ui</item>+			<item>glVertexAttribP4ui</item>+			<item>glVertexAttribPointer</item>+			<item>glVertexBindingDivisor</item>+			<item>glViewport</item>+			<item>glViewportArray</item>+			<item>glViewportArrayv</item>+			<item>glViewportIndexed</item>+			<item>glViewportIndexedf</item>+			<item>glViewportIndexedfv</item>+			<item>glWaitSync</item>+		</list>+		<list name="stdvar">+			<!-- Vertex Shader Special Variables -->+			<item>gl_Position</item>+			<item>gl_PointSize</item>+			<item>gl_ClipVertex</item>++			<!-- Fragment Shader Special Variables -->+			<item>gl_FragCoord</item>+			<item>gl_FragFacing</item>+			<item>gl_FragColor</item>+			<item>gl_FragData</item>+			<item>gl_FragDepth</item>++			<!-- Vertex Shader Built-in Attributes -->+			<item>gl_Color</item>+			<item>gl_SecondaryColor</item>+			<item>gl_Normal</item>+			<item>gl_Vertex</item>+			<item>gl_MultiTexCoord0</item>+			<item>gl_MultiTexCoord1</item>+			<item>gl_MultiTexCoord2</item>+			<item>gl_MultiTexCoord2</item>+			<item>gl_MultiTexCoord3</item>+			<item>gl_MultiTexCoord4</item>+			<item>gl_MultiTexCoord5</item>+			<item>gl_MultiTexCoord6</item>+			<item>gl_MultiTexCoord7</item>+			<item>gl_FogColor</item>++			<!-- Geometry Shader Built-in Attributes -->+			<item>gl_ClipDistance</item>+			<item>gl_PrimitiveIDIn</item>+			<item>gl_InvocationID</item>+			<item>gl_PrimitiveID</item>+			<item>gl_Layer</item>+			<item>gl_ViewportIndex</item>++			<!-- Tesselation Shader Built-In Attributes -->+			<item>gl_TessCoord</item>+			<item>gl_PatchVerticesIn</item>+			<item>gl_TessLevelOuter</item>+			<item>gl_TessLevelInner</item>+			<item>gl_MaxPatchVertices</item>+			<item>gl_in</item>+			<item>gl_out</item>++			<!-- Built-in Constants -->+			<item>gl_MaxLights</item>+			<item>gl_MaxClipPlanes</item>+			<item>gl_MaxTextureUnits</item>+			<item>gl_MaxTextureCoords</item>+			<item>gl_MaxVertexAttributes</item>+			<item>gl_MaxVertexUniformComponents</item>+			<item>gl_MaxVaryingFloats</item>+			<item>gl_MaxVertexTextureImageUnits</item>+			<item>gl_MaxCombinedTextureImageUnits</item>+			<item>gl_MaxTextureImageUnits</item>+			<item>gl_MaxFragmentUniformComponents</item>+			<item>gl_MaxDrawBuffers</item>++			<!-- Built-in Uniform State -->+			<item>gl_ModelViewMatrix</item>+			<item>gl_ProjectionMatrix</item>+			<item>gl_ModelViewProjectionMatrix</item>+			<item>gl_TextureMatrix</item>+			<item>gl_NormalMatrix</item>+			<item>gl_ModelViewMatrixInverse</item>+			<item>gl_ProjectionMatrixInverse</item>+			<item>gl_ModelViewProjectionMatrixInverse</item>+			<item>gl_TextureMatrixInverse</item>+			<item>gl_ModelViewMatrixTranspose</item>+			<item>gl_ProjectionMatrixTranspose</item>+			<item>gl_ModelViewProjectionMatrixTranspose</item>+			<item>gl_TextureMatrixTranspose</item>+			<item>gl_ModelViewMatrixInverseTranspose</item>+			<item>gl_ProjectionMatrixInverseTranspose</item>+			<item>gl_ModelViewProjectionMatrixInverseTranspose</item>+			<item>gl_TextureMatrixInverseTranspose</item>+			<item>gl_NormScale</item>+			<item>gl_DepthRangeParameters</item>+			<item>gl_DepthRange</item>+			<item>gl_ClipPlane</item>+			<item>gl_PointParameters</item>+			<item>gl_Point</item>+			<item>gl_MaterialParameters</item>+			<item>gl_FrontMaterial</item>+			<item>gl_BackMaterial</item>+			<item>gl_LightSourceParameters</item>+			<item>gl_LightSource</item>+			<item>gl_LightModelParameters</item>+			<item>gl_LightModel</item>+			<item>gl_LightModelProducts</item>+			<item>gl_FrontLightModelProduct</item>+			<item>gl_BackLightModelProduct</item>+			<item>gl_LightProducts</item>+			<item>gl_FrontLightProduct</item>+			<item>gl_BackLightProduct</item>+			<item>gl_TextureEnvColor</item>+			<item>gl_EyePlaneS</item>+			<item>gl_EyePlaneT</item>+			<item>gl_EyePlaneR</item>+			<item>gl_EyePlaneQ</item>+			<item>gl_ObjectPlaneS</item>+			<item>gl_ObjectPlaneT</item>+			<item>gl_ObjectPlaneR</item>+			<item>gl_ObjectPlaneQ</item>+			<item>gl_FogParameters</item>+			<item>gl_Fog</item>++			<!-- Varying Variables -->+			<item>gl_FrontColor</item>+			<item>gl_BackColor</item>+			<item>gl_FrontSecondaryColor</item>+			<item>gl_BackSecondaryColor</item>+			<item>gl_TexCoord</item>+			<item>gl_FogFragCoord</item>+			<item>gl_Color</item>+			<item>gl_SecondaryColor</item>+		</list>+		<contexts>+			<context attribute="Normal Text" lineEndContext="#stay" name="Normal">+				<keyword attribute="Keyword" String="keywords" context="#stay" />+				<keyword attribute="Data Type" String="types" context="#stay" />+				<keyword attribute="Type Qualifier" String="typequal" context="#stay" />+				<keyword attribute="StdFunction" String="stdlib" context="#stay" />+				<keyword attribute="StdVariable" String="stdvar" context="#stay" />+				+				<Float attribute="Float" context="#stay" />+				<HlCOct attribute="Octal" context="#stay"/>+				<HlCHex attribute="Hex" context="#stay"/>+				<Int attribute="Decimal" context="#stay" />+				+				<Detect2Chars attribute="Comment" context="Commentar 1" char="/" char1="/"/>+				<Detect2Chars attribute="Comment" context="Commentar 2" char="/" char1="*" beginRegion="Comment"/>+				<DetectChar attribute="Symbol" context="#stay" char="{" beginRegion="Brace1" />+				<DetectChar attribute="Symbol" context="#stay" char="}" endRegion="Brace1" />+				+				<DetectChar attribute="Preprocessor" context="Preprocessor" char="#" firstNonSpace="true"/>+				<RegExpr attribute="Function" context="#stay" String="\b[_\w][_\w\d]*(?=[\s]*[(])" />+				+				<RegExpr attribute="Symbol" context="Member" String="[.]{1,1}" />+				<AnyChar attribute="Symbol" context="#stay" String=".+-/*%&lt;&gt;[]()^|&amp;~=!:;,?&#59;" />+			</context>+			<context name="Member" attribute="Normal Text" lineEndContext="#pop" fallthrough="true" fallthroughContext="#pop">+				<RegExpr attribute="Function" context="#pop" String="\b[_\w][_\w\d]*(?=[\s]*)" />+			</context>+			<context name="Commentar 1" attribute="Comment" lineEndContext="#pop">+				<keyword attribute="Alert" context="#stay" String="attention" />+			</context>+			<context name="Commentar 2" attribute="Comment" lineEndContext="#stay">+				<Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment"/>+				<keyword attribute="Alert" context="#stay" String="attention" />+			</context>+			<context name="Preprocessor" attribute="Preprocessor" lineEndContext="#pop">+			</context>+	        </contexts>+		<itemDatas>+			<itemData name="Normal Text"    defStyleNum="dsNormal"/>+			<itemData name="Keyword"        defStyleNum="dsKeyword"/>+			<itemData name="Function"       defStyleNum="dsFunction" bold="0"/>+			<itemData name="StdFunction"    defStyleNum="dsBuiltIn" bold="1"/>+			<itemData name="StdVariable"    defStyleNum="dsVariable" bold="0"/>+			<itemData name="Data Type"      defStyleNum="dsDataType"/>+			<itemData name="Type Qualifier" defStyleNum="dsDataType"/>+			<itemData name="Decimal"        defStyleNum="dsDecVal"/>+			<itemData name="Octal"          defStyleNum="dsBaseN"/>+			<itemData name="Hex"            defStyleNum="dsBaseN"/>+			<itemData name="Float"          defStyleNum="dsFloat"/>+			<itemData name="Symbol"         defStyleNum="dsNormal"/>+			<itemData name="Preprocessor"   defStyleNum="dsPreprocessor"/> 			<itemData name="Comment"        defStyleNum="dsComment"/> 			<itemData name="Alert"          defStyleNum="dsAlert" /> 		</itemDatas>
xml/gnuassembler.xml view
@@ -43,7 +43,7 @@  --> -<language name="GNU Assembler" version="1.10" kateversion="2.4" section="Assembler" extensions="*.s;*.S" mimetype="text/x-asm" author="John Zaitseff (J.Zaitseff@zap.org.au), Roland Pabel (roland@pabel.name), Miquel Sabaté (mikisabate@gmail.com)" license="GPL">+<language name="GNU Assembler" version="2" kateversion="5.0" section="Assembler" extensions="*.s;*.S" mimetype="text/x-asm" author="John Zaitseff (J.Zaitseff@zap.org.au), Roland Pabel (roland@pabel.name), Miquel Sabaté (mikisabate@gmail.com)" license="GPL">   <highlighting>     <list name="keywords">       <item>.abort</item>@@ -284,10 +284,10 @@       <itemData name="Float"        defStyleNum="dsFloat"    />       <itemData name="Char"         defStyleNum="dsChar"     />       <itemData name="String"       defStyleNum="dsString"   />-      <itemData name="String Char"  defStyleNum="dsChar"     />+      <itemData name="String Char"  defStyleNum="dsSpecialChar" />       <itemData name="Symbol"       defStyleNum="dsNormal"   />       <itemData name="Comment"      defStyleNum="dsComment"  />-      <itemData name="Preprocessor" defStyleNum="dsOthers"   />+      <itemData name="Preprocessor" defStyleNum="dsPreprocessor" />     </itemDatas>   </highlighting> 
xml/go.xml view
@@ -26,7 +26,7 @@ -->  -<language name="Go" version="1.05" kateversion="2.4" section="Sources" indenter="cstyle" extensions="*.go" author="Miquel Sabaté (mikisabate@gmail.com)" license="GPL">+<language name="Go" version="2" kateversion="5.0" section="Sources" indenter="cstyle" extensions="*.go" author="Miquel Sabaté (mikisabate@gmail.com)" license="GPL">     <highlighting>     <list name="keywords"> <!-- Keywords have been taken from The Go Programming Language Specification -> Keywords section -->@@ -152,7 +152,7 @@       <itemData name="Normal Text"  defStyleNum="dsNormal"   spellChecking="false"/>       <itemData name="Keyword"      defStyleNum="dsKeyword"  spellChecking="false"/>       <itemData name="Predeclared Identifier" defStyleNum="dsOthers"   spellChecking="false" />-      <itemData name="Builtin Function"       defStyleNum="dsFunction" spellChecking="false" />+      <itemData name="Builtin Function"       defStyleNum="dsBuiltIn" spellChecking="false" />       <itemData name="Data Type"    defStyleNum="dsDataType" spellChecking="false"/>       <itemData name="String Char"  defStyleNum="dsChar"    />       <itemData name="String"       defStyleNum="dsString"  />
+ xml/hamlet.xml view
@@ -0,0 +1,104 @@+<?xml version="1.0" encoding="UTF-8"?>+<!DOCTYPE language SYSTEM "language.dtd"+[+  <!-- names must start with a letter, ideogram or underscore. \w matches any+  word character *or* a number, hence the lookahead -->+  <!ENTITY name    "(?![0-9])[\w_:][\w.:_-]*">+]>+<language name="Hamlet" version="1" kateversion="2.4" section="Markup" extensions="*.hamlet" author="Bastian Holst (bastianholst@gmx.de)" license="LGPL" indenter="haskell">+<highlighting>+<contexts>+  <context attribute="Normal Text" lineEndContext="#pop" name="Normal Text" >+    <RegExpr attribute="Element" context="element" String="&lt;&name;\b" />+    <!-- A widget -->+    <StringDetect attribute="Code" context="Code" String="^{"/>+    <!-- Something implementing ToHtml -->+    <StringDetect attribute="Code" context="Code" String="#{"/>+    <!-- An URL -->+    <StringDetect attribute="Code" context="Code" String="@{"/>+    <!-- A Message -->+    <StringDetect attribute="Code" context="Code" String="_{"/>+    <DetectChar attribute="Logic" context="Logic" firstNonSpace="true" char="$"/>+  </context>++  <context attribute="Element" lineEndContext="#stay" name="element" >+    <Detect2Chars attribute="Element" context="#pop" char="/" char1="&gt;" />+    <DetectChar attribute="Element" context="#pop" char="&gt;" />+    <RegExpr attribute="Attribute" context="Attribute" String="&name;" column="0"/>+    <RegExpr attribute="Attribute" context="Attribute" String="\s+&name;" />+    <RegExpr attribute="Class" context="#stay" String="\.&name;"/>+    <RegExpr attribute="Error" context="#stay" String="\S" />+  </context>++  <context name="Logic" lineEndContext="#pop" attribute="Normal Text">+    <WordDetect attribute="Logic" context="Codeline" String="if"/>+    <WordDetect attribute="Logic" context="Codeline" String="elseif"/>+    <WordDetect attribute="Logic" context="Assignment" String="forall"/>+    <WordDetect attribute="Logic" context="Assignment" String="maybe"/>+    <WordDetect attribute="Logic" context="#stay" String="else"/>+    <WordDetect attribute="Logic" context="#stay" String="nothing"/>+    <RegExpr attribute="Error" context="#stay" String="\S" />+  </context>++  <context name="Code" attribute="Normal Text" lineEndContext="#stay">+    <DetectChar attribute="Code" context="#pop" char="}"/>+    <IncludeRules context="##Haskell" />+  </context>++  <context name="Codeline" attribute="Normal Text" lineEndContext="#pop">+    <IncludeRules context="##Haskell" />+  </context>++  <context name="Assignment" attribute="Normal Text" lineEndContext="#pop">+    <StringDetect attribute="Assignment" context="Codeline" String="&lt;-"/>+    <IncludeRules context="##Haskell" />+  </context>++  <context name="Attribute" attribute="Other Text" lineEndContext="#stay">+    <DetectChar attribute="Attribute" context="Value" char="=" />+    <DetectChar attribute="Element" context="#pop#pop" char="&gt;"/>+    <RegExpr attribute="Error" context="#stay" String="\S" />+  </context>++  <context attribute="Value" lineEndContext="#stay" name="Value">+    <DetectChar attribute="Value" context="Value DQ" char="&quot;" />+    <DetectChar attribute="Value" context="Value SQ" char="&apos;" />+    <StringDetect attribute="Code" context="Value Code" String="@{"/>+    <StringDetect attribute="Code" context="Value Code" String="#{"/>+    <RegExpr attribute="Value" context="#pop#pop" String="[^&quot;&apos;&gt;\s]+"/>+    <RegExpr attribute="Error" context="#stay" String="\S" />+  </context>++  <context name="Value DQ" attribute="Value" lineEndContext="#stay">+    <DetectChar attribute="Value" context="#pop#pop#pop" char="&quot;" />+  </context>++  <context name="Value SQ" attribute="Value" lineEndContext="#stay">+    <DetectChar attribute="Value" context="#pop#pop#pop" char="&apos;" />+  </context>+  +  <context name="Value Code" attribute="Normal Text" lineEndContext="#stay">+    <DetectChar attribute="Code" context="#pop#pop#pop" char="}"/>+    <IncludeRules context="##Haskell" />+  </context>++</contexts>+<itemDatas>+  <itemData name="Normal Text" defStyleNum="dsNormal" />+  <itemData name="Element" defStyleNum="dsKeyword" />+  <itemData name="Attribute" defStyleNum="dsOthers" spellChecking="false" />+  <itemData name="Class" defStyleNum="dsString" color="#a00" spellChecking="false" />+  <itemData name="Value" defStyleNum="dsString" color="#a00" spellChecking="false" />+  <itemData name="Logic" defStyleNum="dsKeyword" spellChecking="false" />+  <itemData name="Code"  defStyleNum="dsKeyword" spellChecking="false" />+  <itemData name="Error" defStyleNum="dsError" spellChecking="false" />+  <itemData name="Assignment" defStyleNum="dsOthers"  spellChecking="false" />+</itemDatas>+</highlighting> +<general>+  <comments>+    <comment name="singleLine" start="#"/>+  </comments>+  <keywords casesensitive="1"/>+</general> +</language>
xml/haskell.xml view
@@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd">-<language name="Haskell" version="2.4" kateversion="2.3" section="Sources" extensions="*.hs;*.chs" mimetype="text/x-haskell" author="Nicolas Wu (zenzike@gmail.com)" license="LGPL" indenter="haskell" style="haskell">+<language name="Haskell" version="4" kateversion="3.4" section="Sources" extensions="*.hs;*.chs" mimetype="text/x-haskell" author="Nicolas Wu (zenzike@gmail.com)" license="LGPL" indenter="haskell" style="haskell">   <highlighting>   <list name="keywords">     <item> case </item>@@ -81,6 +81,7 @@     <item> fmap </item>     <item> foldl </item>     <item> foldl1 </item>+    <item> foldMap </item>     <item> foldr </item>     <item> foldr1 </item>     <item> fromDouble </item>@@ -131,12 +132,15 @@     <item> logBase </item>     <item> lookup </item>     <item> map </item>+    <item> mappend </item>     <item> mapM </item>     <item> mapM_ </item>     <item> max </item>     <item> maxBound </item>     <item> maximum </item>     <item> maybe </item>+    <item> mconcat </item>+    <item> mempty </item>     <item> min </item>     <item> minBound </item>     <item> minimum </item>@@ -157,6 +161,7 @@     <item> print </item>     <item> product </item>     <item> properFraction </item>+    <item> pure </item>     <item> putChar </item>     <item> putStr </item>     <item> putStrLn </item>@@ -194,6 +199,7 @@     <item> scanr1 </item>     <item> seq </item>     <item> sequence </item>+    <item> sequenceA </item>     <item> sequence_ </item>     <item> show </item>     <item> showChar </item>@@ -229,6 +235,7 @@     <item> toLower </item>     <item> toRational </item>     <item> toUpper </item>+    <item> traverse </item>     <item> truncate </item>     <item> uncurry </item>     <item> undefined </item>@@ -246,15 +253,18 @@     <item> zipWith3 </item>   </list>   <list name="prelude class">+    <item> Applicative </item>     <item> Bounded </item>     <item> Enum </item>     <item> Eq </item>     <item> Floating </item>+    <item> Foldable </item>     <item> Fractional </item>     <item> Functor </item>     <item> Integral </item>     <item> Ix </item>     <item> Monad </item>+    <item> Monoid </item>     <item> Num </item>     <item> Ord </item>     <item> Read </item>@@ -262,9 +272,11 @@     <item> RealFloat </item>     <item> RealFrac </item>     <item> Show </item>+    <item> Traversable </item>   </list>   <list name="prelude type">     <item> Bool </item>+    <item> ByteString </item>     <item> Char </item>     <item> Double </item>     <item> Either </item>@@ -281,7 +293,7 @@     <item> ReadS </item>     <item> ShowS </item>     <item> String </item>-    <item> ByteString </item>+    <item> Word </item>   </list>   <list name="prelude data">     <item> False </item>@@ -294,10 +306,13 @@     <item> LT </item>     <item> GT </item>   </list>-  <list name="class">-    <item> Applicative </item>-    <item> Foldable </item>-    <item> Traversable </item>+  <list name="cpp_keywords">+    <item> defined </item>+    <item> if </item>+    <item> ifdef </item>+    <item> ifndef </item>+    <item> include </item>+    <item> undef </item>   </list>   <list name="c2hs_keywords">     <item> qualified </item>@@ -322,24 +337,24 @@   <contexts>     <context attribute="Normal" lineEndContext="#stay" name="code">       <RegExpr attribute="Pragma"  context="#stay" String="\{-#.*#-\}"/>+      <StringDetect attribute="Comment" context="#stay" String="{--}"/>       <RegExpr attribute="Comment" context="comments" String="\{-[^#]?" />-      <RegExpr attribute="Comment" context="comment"  String="--[^\-!#\$%&amp;\*\+/&lt;=&gt;\?&#92;@\^\|~\.:].*$" />+      <RegExpr attribute="Comment" context="comment"  String="--[\-]*([^!#\$%&amp;\*\+\./&lt;=&gt;\?@&#92;\^\|\-~:]|$)" />       <RegExpr attribute="Keyword" context="import"   String="import\s+" />-      <RegExpr attribute="C2HS Directive"  context="c2hs directive" String="\{#"/>-      <RegExpr attribute="C2HS Directive"  context="c2hs include" String="#"/>+      <Detect2Chars attribute="C2HS Directive" context="c2hs directive" char="{" char1="#"/>+      <DetectChar attribute="C Preprocessor" context="C Preprocessor" char="#" column="0"/>        <keyword attribute="Keyword"          context="#stay" String="keywords" />       <keyword attribute="Function Prelude" context="#stay" String="prelude function" />       <keyword attribute="Type Prelude"     context="#stay" String="prelude type" />       <keyword attribute="Data Prelude"     context="#stay" String="prelude data" />       <keyword attribute="Class Prelude"    context="#stay" String="prelude class" />-      <keyword attribute="Class Prelude"    context="#stay" String="class" />        <RegExpr attribute="Special"          context="#stay" String="(::|=&gt;|\-&gt;|&lt;\-)" />       <AnyChar attribute="Special"          context="#stay" String="∷⇒→←∀∃" />-      <RegExpr attribute="Signature"        context="#stay" String="\s*[a-z][a-zA-Z0-9_']*\s*(?=::[^\-!#\$%&amp;\*\+/&lt;=&gt;\?&#92;@\^\|~\.:])" />+      <RegExpr attribute="Signature"        context="#stay" String="\s*[a-z_][a-zA-Z0-9_']*\s*(?=::([^\-!#\$%&amp;\*\+/&lt;=&gt;\?&#92;@\^\|~\.:]|$))" />       <RegExpr attribute="Signature"        context="#stay" String="\s*(\([\-!#\$%&amp;\*\+/&lt;=&gt;\?&#92;@\^\|~\.:]*\))*\s*(?=::[^\-!#\$%&amp;\*\+/&lt;=&gt;\?&#92;@\^\|~\.:])" />-      <RegExpr attribute="Function"         context="#stay" String="([A-Z][a-zA-Z0-9_']*\.)*[a-z][a-zA-Z0-9_']*" />+      <RegExpr attribute="Function"         context="#stay" String="([A-Z][a-zA-Z0-9_']*\.)*[a-z_][a-zA-Z0-9_']*" />       <RegExpr attribute="Operator"         context="#stay" String="([A-Z][a-zA-Z0-0_']*\.)*[\-!#\$%&amp;\*\+/&lt;=&gt;\?&#92;@\^\|~\.:]+" />       <RegExpr attribute="Type"             context="#stay" String="([A-Z][a-zA-Z0-9_']*\.)*[A-Z][a-zA-Z0-9_']*" /> @@ -353,10 +368,19 @@       <DetectChar attribute="Function Infix" context="infix" char="`"/>       <Detect2Chars attribute="EnumFromTo" context="#stay" char ="." char1="." />       <AnyChar      attribute="EnumFromTo" context="#stay" String="‥" />++      <RegExpr attribute="Normal" context="QuasiQuote" String="\[[a-zA-Z_'](\w|[_'])*\|" />     </context>-    <context attribute="Comment" lineEndContext="#pop" name="comment" />+    <context attribute="Normal" lineEndContext="#stay" name="QuasiQuote">+      <Detect2Chars attribute="Normal" context="#pop" char="|" char1="]"/>+    </context>+    <context attribute="Comment" lineEndContext="#pop" name="comment">+      <IncludeRules context="Haddock" />+    </context>     <context attribute="Comment" lineEndContext="#stay" name="comments">+      <Detect2Chars attribute="Comment" context="comment" char="{" char1="-" />       <Detect2Chars attribute="Comment" context="#pop" char="-" char1="}" />+      <IncludeRules context="Haddock" />     </context>     <context attribute="Char" lineEndContext="#pop" name="char">       <RegExpr attribute="Char" context="#stay" String="\\." />@@ -378,7 +402,36 @@       <RegExpr attribute="Comment" context="comments" String="\{-[^#]?" />       <RegExpr attribute="Comment" context="comment"  String="--[^\-!#\$%&amp;\*\+/&lt;=&gt;\?&#92;@\^\|~\.:].*$" />     </context>-    ++    <!-- Haddock -->+    <context attribute="Comment" lineEndContext="#stay" name="Haddock">+      <RegExpr attribute="Haddock Hyperlink" context="#stay" String="'([A-Z][a-zA-Z0-9_']*\.)*[a-z_][a-zA-Z0-9_']*'" />+      <RegExpr attribute="Haddock Module" context="#stay" String="&quot;([A-Z][a-zA-Z0-9_']*\.)*[A-Z][a-zA-Z0-9_']*&quot;" />+      <RegExpr attribute="Haddock Emphasis" context="Start Haddock Emphasis" lookAhead="true" String="/.*/" />+      <RegExpr attribute="Haddock Bold" context="Start Haddock Bold" lookAhead="true" String="__.*__" />+    </context>+    <context attribute="Haddock Emphasis" lineEndContext="#pop" name="Start Haddock Emphasis">+      <DetectChar attribute="Haddock Emphasis" context="Haddock Emphasis" char="/" />+    </context>+    <context attribute="Haddock Emphasis" lineEndContext="#pop" name="Haddock Emphasis">+      <DetectChar attribute="Haddock Emphasis" context="#pop#pop" char="/" />+      <IncludeRules context="Haddock"/>+    </context>+    <context attribute="Haddock Bold" lineEndContext="#pop" name="Start Haddock Bold">+      <Detect2Chars attribute="Haddock Bold" context="Haddock Bold" char="_" char1="_" />+    </context>+    <context attribute="Haddock Bold" lineEndContext="#pop" name="Haddock Bold">+      <Detect2Chars attribute="Haddock Bold" context="#pop#pop" char="_" char1="_" />+      <IncludeRules context="Haddock"/>+    </context>++    <!-- C Preprocessor -->+    <context attribute="C Preprocessor" lineEndContext="#pop" name="C Preprocessor">+      <keyword attribute="C Preprocessor Keyword" context="#stay" String="cpp_keywords" />+      <RegExpr                          context="#stay" String=".*>$" />+    </context>++    <!-- C2Hs -->     <context attribute="C2HS Directive" lineEndContext="#stay" name="c2hs directive">       <Detect2Chars attribute="C2HS Directive" context="#pop" char="#" char1="}" />       <keyword attribute="Keyword" context="#stay"          String="c2hs_keywords" />@@ -395,10 +448,6 @@       <RegExpr attribute="Type"    context="#stay" String="([A-Z][a-zA-Z0-9_']*\.)*[A-Z][a-zA-Z0-9_']*" />       <Detect2Chars attribute="C2HS Directive" context="#pop#pop" char="#" char1="}" />     </context>-    <context attribute="C2HS Directive" lineEndContext="#pop" name="c2hs include">-      <RegExpr attribute="Keyword" context="#stay" String="include" />-      <RegExpr                     context="#stay" String="*.>$" />-    </context>     <context attribute="C2HS Directive" lineEndContext="#stay" name="c2hs pointer">       <keyword attribute="Keyword" context="#stay" String="c2hs_keywords" />       <RegExpr attribute="Keyword" context="#stay" String="newtype" />@@ -441,7 +490,15 @@      <itemData name="Function Infix"   defStyleNum="dsOthers"   spellChecking="false" />     <itemData name="EnumFromTo"       defStyleNum="dsOthers"   spellChecking="false" />-    ++    <itemData name="C Preprocessor"   defStyleNum="dsOthers"   spellChecking="false" />+    <itemData name="C Preprocessor Keyword" defStyleNum="dsOthers"   spellChecking="false" />++    <itemData name="Haddock Hyperlink" defStyleNum="dsComment" spellChecking="false" underline="true" />+    <itemData name="Haddock Module" defStyleNum="dsComment" spellChecking="false" underline="true" />+    <itemData name="Haddock Emphasis" defStyleNum="dsComment" italic="true"/>+    <itemData name="Haddock Bold" defStyleNum="dsComment" bold="true"/>+     <itemData name="C2HS Directive"   defStyleNum="dsString"   spellChecking="false" />   </itemDatas>   </highlighting>
xml/haskell.xml.patch view
@@ -1,7 +1,24 @@---- a/haskell.xml-+++ b/haskell.xml-@@ -422,9 +418,9 @@-+--- ../kate-xml/haskell.xml	2016-09-17 12:49:18.000000000 +0200++++ haskell.xml	2016-09-18 18:05:14.000000000 +0200+@@ -369,16 +369,11 @@+       <Detect2Chars attribute="EnumFromTo" context="#stay" char ="." char1="." />+       <AnyChar      attribute="EnumFromTo" context="#stay" String="‥" />+ +-      <RegExpr attribute="Normal" context="Hamlet" String="\[[wx]?hamlet\|" />+       <RegExpr attribute="Normal" context="QuasiQuote" String="\[[a-zA-Z_'](\w|[_'])*\|" />+     </context>+     <context attribute="Normal" lineEndContext="#stay" name="QuasiQuote">+       <Detect2Chars attribute="Normal" context="#pop" char="|" char1="]"/>+     </context>+-    <context attribute="Normal" lineEndContext="#stay" name="Hamlet">+-      <IncludeRules context="QuasiQuote"/>+-      <IncludeRules context="##Hamlet" />+-    </context>+     <context attribute="Comment" lineEndContext="#pop" name="comment">+       <IncludeRules context="Haddock" />+     </context>+@@ -476,9 +471,9 @@+       <itemData name="Keyword"          defStyleNum="dsKeyword"  spellChecking="false" />      <itemData name="Type Prelude"     defStyleNum="dsDataType" spellChecking="false" /> -    <itemData name="Function Prelude" defStyleNum="dsFunction" spellChecking="false" />@@ -10,6 +27,6 @@ +    <itemData name="Function Prelude" defStyleNum="dsNormal" spellChecking="false" /> +    <itemData name="Data Prelude"     defStyleNum="dsDataType"  spellChecking="false" /> +    <itemData name="Class Prelude"    defStyleNum="dsDataType"  spellChecking="false" />-+       <itemData name="Signature"        defStyleNum="dsOthers"  spellChecking="false" />      <itemData name="Function"         defStyleNum="dsNormal"   spellChecking="false" />
xml/haxe.xml view
@@ -12,7 +12,7 @@   ======================================================================== --> -<language name="Haxe" section="Sources" extensions="*.hx;*.Hx;*.hX;*.HX;" mimetype="text/x-hxsrc" version="0.1" kateversion="3.1" casesensitive="true" author="Chad Joan" license="MIT">+<language name="Haxe" section="Sources" extensions="*.hx;*.Hx;*.hX;*.HX;" mimetype="text/x-hxsrc" version="1" kateversion="2.4" casesensitive="true" author="Chad Joan" license="MIT">   <highlighting>     <list name="keywords">     
xml/html.xml view
@@ -4,7 +4,7 @@ 	<!ENTITY name    "[A-Za-z_:][\w.:_-]*"> 	<!ENTITY entref  "&amp;(#[0-9]+|#[xX][0-9A-Fa-f]+|&name;);"> ]>-<language name="HTML" version="2.1" kateversion="2.4" section="Markup" extensions="*.htm;*.html;*.shtml;*.shtm" mimetype="text/html"  author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL" priority="10">+<language name="HTML" version="3" kateversion="3.4" section="Markup" extensions="*.htm;*.html;*.shtml;*.shtm" mimetype="text/html"  author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL" priority="10">  <highlighting> <contexts>@@ -17,8 +17,7 @@     <DetectIdentifier/>     <StringDetect attribute="Comment" context="Comment" String="&lt;!--" beginRegion="comment" />     <StringDetect attribute="CDATA" context="CDATA" String="&lt;![CDATA[" beginRegion="cdata" />-    <!-- NOTE: the kate source had insensitive="true", but "false" is correct -->-    <RegExpr attribute="Doctype" context="Doctype" String="&lt;!DOCTYPE\s+" insensitive="false" beginRegion="doctype"  />+    <RegExpr attribute="Doctype" context="Doctype" String="&lt;!DOCTYPE\s+" insensitive="true" beginRegion="doctype"  />     <RegExpr attribute="Processing Instruction" context="PI" String="&lt;\?[\w:-]*" beginRegion="pi" />     <RegExpr attribute="Element" context="CSS" String="&lt;style\b" insensitive="true" beginRegion="style" />     <RegExpr attribute="Element" context="JS" String="&lt;script\b" insensitive="true" beginRegion="script" />
xml/ini.xml view
@@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd">-<language name="INI Files" section="Configuration" extensions="*.ini;*.pls;*.kcfgc" mimetype="" version="1.1" kateversion="2.0" author="Jan Janssen (medhefgo@web.de)" license="LGPL">+<language name="INI Files" section="Configuration" extensions="*.ini;*.pls;*.kcfgc" mimetype="" version="2" kateversion="2.4" author="Jan Janssen (medhefgo@web.de)" license="LGPL">  <highlighting> <list name="keywords">@@ -34,7 +34,7 @@  <contexts>  <context name="ini" attribute="Normal Text" lineEndContext="#stay">-  <RangeDetect attribute="Section" context="#pop" char="["  char1="]" beginRegion="Section" endRegion="Section" />+  <RangeDetect attribute="Section" context="#stay" char="["  char1="]" beginRegion="Section" endRegion="Section" />   <DetectChar attribute="Assignment" context="Value" char="=" />   <DetectChar char=";" attribute="Comment" context="Comment" firstNonSpace="true" />   <DetectChar char="#" attribute="Comment" context="Comment" firstNonSpace="true" />
xml/isocpp.xml view
@@ -11,8 +11,8 @@ <language     name="ISO C++"     section="Sources"-    version="2.4"-    kateversion="2.4"+    version="6"+    kateversion="5.0"     indenter="cstyle"     style="C++"     mimetype="text/x-c++src;text/x-c++hdr;text/x-chdr"@@ -27,33 +27,40 @@     http://kde-files.org/content/show.php?content=90660   -->   <highlighting>+    <list name="controlflow">+      <item> break </item>+      <item> case </item>+      <item> catch </item>+      <item> continue </item>+      <item> default </item>+      <item> do </item>+      <item> else </item>+      <item> for </item>+      <item> goto </item>+      <item> if </item>+      <item> return </item>+      <item> switch </item>+      <item> throw </item>+      <item> try </item>+      <item> while </item>+    </list>     <list name="keywords">       <item> alignof </item>       <item> alignas </item>       <item> asm </item>       <item> auto </item>-      <item> break </item>-      <item> case </item>-      <item> catch </item>       <item> class </item>       <item> constexpr </item>       <item> const_cast </item>-      <item> continue </item>       <item> decltype </item>-      <item> default </item>       <item> delete </item>-      <item> do </item>       <item> dynamic_cast</item>-      <item> else </item>       <item> enum </item>       <item> explicit </item>       <item> export </item> <!-- Unused but reserved for future use -->       <item> false </item>       <item> final </item> <!-- According N3272 -->       <item> friend </item>-      <item> for </item>-      <item> goto </item>-      <item> if </item>       <item> inline </item>       <item> namespace </item>       <item> new </item>@@ -65,24 +72,19 @@       <item> protected </item>       <item> public </item>       <item> reinterpret_cast </item>-      <item> return </item>       <item> sizeof </item>       <item> static_assert </item>       <item> static_cast </item>       <item> struct </item>-      <item> switch </item>       <item> template </item>       <item> this </item>-      <item> throw </item>       <item> true </item>-      <item> try </item>       <item> typedef </item>       <item> typeid </item>       <item> typename </item>       <item> union </item>       <item> using </item>       <item> virtual </item>-      <item> while </item>       <!-- Alternative operators (see 2.12) -->       <item> and </item>       <item> and_eq </item>@@ -134,7 +136,32 @@       <item> uint16_t </item>       <item> uint32_t </item>       <item> uint64_t </item>+      <item> int_least8_t </item>+      <item> int_least16_t </item>+      <item> int_least32_t </item>+      <item> int_least64_t </item>+      <item> uint_least8_t </item>+      <item> uint_least16_t </item>+      <item> uint_least32_t </item>+      <item> uint_least64_t </item>+      <item> int_fast8_t </item>+      <item> int_fast16_t </item>+      <item> int_fast32_t </item>+      <item> int_fast64_t </item>+      <item> uint_fast8_t </item>+      <item> uint_fast16_t </item>+      <item> uint_fast32_t </item>+      <item> uint_fast64_t </item>+      <item> size_t </item>+      <item> ssize_t </item>       <item> wchar_t </item>+      <item> intptr_t </item>+      <item> uintptr_t </item>+      <item> intmax_t </item>+      <item> uintmax_t </item>+      <item> ptrdiff_t </item>+      <item> sig_atomic_t </item>+      <item> wint_t </item>     </list>     <list name="modifiers">       <item> const </item>@@ -183,6 +210,7 @@         <RegExpr attribute="Normal Text" context="UDLOperator" String="operator\s*&quot;&quot; _[_0-9A-Za-z]*\b" lookAhead="true" />         <RegExpr attribute="Error" context="#stay" String="operator\s*&quot;&quot; [_0-9A-Za-z]*\b" />         <!-- Match keywords -->+        <keyword attribute="Control Flow" context="#stay" String="controlflow" />         <keyword attribute="Keyword" context="#stay" String="keywords" />         <!-- Detect attributes -->         <Detect2Chars attribute="Symbol" context="Attribute" char="[" char1="[" />@@ -191,7 +219,9 @@         <!-- NOTE Order is important! -->         <RegExpr attribute="Hex" context="#stay" String="[\+\-]?0x[0-9A-Fa-f]('?[0-9A-Fa-f]+)*([Uu][Ll]{0,2}|[Ll]{0,2}[Uu]?|_[_0-9A-Za-z]*)?\b" />         <RegExpr attribute="Binary" context="#stay" String="0[Bb][01]('?[01]+)*([Uu][Ll]{0,2}|[Ll]{0,2}[Uu]?|_[_0-9A-Za-z]*)?\b" />-        <RegExpr attribute="Float" context="#stay" String="[\+\-]?([0-9]+[Ee][\+\-]?[0-9]+|([0-9]*\.[0-9]+|[0-9]+\.[0-9]*)([Ee][\+\-]?[0-9]+)?)[FfLl]?" />+        <Float attribute="Float" context="#stay">+          <AnyChar String="FfLl" attribute="Float" context="#stay"/>+        </Float>         <RegExpr attribute="Octal" context="#stay" String="[\+\-]?0'?[0-7]('?[0-7]+)*([Uu][Ll]{0,2}|[Ll]{0,2}[Uu]?|_[_0-9A-Za-z]*)?\b" />         <RegExpr attribute="Decimal" context="#stay" String="[\+\-]?(0|[1-9]('?[0-9]+)*)([Uu][Ll]{0,2}|[Ll]{0,2}[Uu]?|_[_0-9A-Za-z]*)?\b" />         <RegExpr attribute="Error" context="#stay" String="[\+\-]?(0x?|[1-9][0-9]*)[0-9A-Za-z][_0-9A-Za-z]*\b" />@@ -352,21 +382,28 @@       </context>        <context name="AfterHash" attribute="Error" lineEndContext="#pop">-        <!-- define, elif, else, endif, error, if, ifdef, ifndef, include, include_next, line, pragma, undef, warning -->+        <RegExpr attribute="Preprocessor" context="Include" String="#\s*(?:include|include_next)" insensitive="true" firstNonSpace="true" />++        <!-- define, elif, else, endif, error, if, ifdef, ifndef, line, pragma, undef, warning -->         <RegExpr attribute="Preprocessor" context="Preprocessor" String="(#|%\:|\?\?=)\s*if(?:def|ndef)?(?=(?:\(|\s+)\S)" beginRegion="PP" firstNonSpace="true" insensitive="false" />         <RegExpr attribute="Preprocessor" context="Preprocessor" String="(#|%\:|\?\?=)\s*endif" endRegion="PP" firstNonSpace="true" insensitive="false" />         <!-- Switch to seperate context for multiline #defines -->         <RegExpr attribute="Preprocessor" context="Define" String="(#|%\:|\?\?=)\s*(cmake)?define.*((?=\\))" firstNonSpace="true" lookAhead="true" insensitive="false" />-        <RegExpr attribute="Preprocessor" context="Preprocessor" String="(#|%\:|\?\?=)\s*(?:el(?:se|if)|include(?:_next)?|(cmake)?define|undef|line|error|warning|pragma)" insensitive="false" firstNonSpace="true" />+        <RegExpr attribute="Preprocessor" context="Preprocessor" String="(#|%\:|\?\?=)\s*(?:el(?:se|if)|(cmake)?define|undef|line|error|warning|pragma)" insensitive="false" firstNonSpace="true" />         <RegExpr attribute="Preprocessor" context="Preprocessor" String="(#|%\:|\?\?=)\s+[0-9]+" firstNonSpace="true" insensitive="false" />       </context> +      <context attribute="Preprocessor" lineEndContext="#pop" name="Include">+        <LineContinue attribute="Preprocessor" context="#stay"/>+        <RangeDetect attribute="Prep. Lib" context="#stay" char="&quot;" char1="&quot;"/>+        <RangeDetect attribute="Prep. Lib" context="#stay" char="&lt;" char1="&gt;"/>+        <IncludeRules context="Preprocessor" />+      </context>+       <context name="Preprocessor" attribute="Preprocessor" lineEndContext="#pop">         <LineContinue attribute="Preprocessor" context="#stay" />         <keyword attribute="Standard Macros" context="#stay" String="StdMacros" />         <IncludeRules context="GNUMacros##GCCExtensions" />-        <RangeDetect attribute="Prep. Lib" context="#stay" char="&quot;" char1="&quot;" />-        <RangeDetect attribute="Prep. Lib" context="#stay" char="&lt;" char1="&gt;" />         <IncludeRules context="##Doxygen" />         <Detect2Chars attribute="Comment" context="Comment/Preprocessor" char="/" char1="*" beginRegion="Comment2" />         <Detect2Chars attribute="Comment" context="Comment 1" char="/" char1="/" />@@ -417,6 +454,7 @@         <DetectSpaces />         <RegExpr attribute="Preprocessor" context="Outscoped" String="(#|%\:|\?\?=)\s*if\s+(0|false)\s*" beginRegion="PP" firstNonSpace="true" insensitive="false" />         <RegExpr attribute="Preprocessor" context="Outscoped 2" String="(#|%\:|\?\?=)\s*el(?:se|if)" firstNonSpace="true" insensitive="false" />+        <RegExpr attribute="Preprocessor" context="#pop" String="(#|%\:|\?\?=)\s*endif" endRegion="PP" firstNonSpace="true" insensitive="false" />         <IncludeRules context="Main" />       </context> @@ -435,11 +473,12 @@      <itemDatas>       <itemData name="Normal Text"        defStyleNum="dsNormal"   spellChecking="false" />+      <itemData name="Control Flow"       defStyleNum="dsControlFlow" spellChecking="false" />       <itemData name="Keyword"            defStyleNum="dsKeyword"  spellChecking="false" />       <itemData name="Data Type"          defStyleNum="dsDataType" spellChecking="false" />-      <itemData name="Type Modifiers"     defStyleNum="dsDataType" spellChecking="false" />-      <itemData name="Attribute"          defStyleNum="dsKeyword"  spellChecking="false" bold="false" italic="true" />-      <itemData name="Standard Attribute" defStyleNum="dsKeyword"  spellChecking="false" bold="false" italic="true" />+      <itemData name="Type Modifiers"     defStyleNum="dsAttribute" spellChecking="false" />+      <itemData name="Attribute"          defStyleNum="dsAttribute" spellChecking="false" bold="false" italic="true" />+      <itemData name="Standard Attribute" defStyleNum="dsAttribute" spellChecking="false" bold="false" italic="true" />       <itemData name="Decimal"            defStyleNum="dsDecVal"   spellChecking="false" />       <itemData name="Octal"              defStyleNum="dsBaseN"    spellChecking="false" />       <itemData name="Hex"                defStyleNum="dsBaseN"    spellChecking="false" />@@ -447,20 +486,20 @@       <itemData name="Float"              defStyleNum="dsFloat"    spellChecking="false" />       <itemData name="Char"               defStyleNum="dsChar"     spellChecking="false" />       <itemData name="String"             defStyleNum="dsString"   spellChecking="true"  />-      <itemData name="String Char"        defStyleNum="dsChar"     spellChecking="false" />+      <itemData name="String Char"        defStyleNum="dsSpecialChar" spellChecking="false" />       <itemData name="Comment"            defStyleNum="dsComment"  spellChecking="true"  />       <itemData name="Symbol"             defStyleNum="dsNormal"   spellChecking="false" />       <itemData name="Separator Symbol"   defStyleNum="dsNormal"   spellChecking="false" />-      <itemData name="Data Members (m_*)" defStyleNum="dsNormal"   spellChecking="false" />-      <itemData name="Globals (g_*)"      defStyleNum="dsNormal"   spellChecking="false" />-      <itemData name="Statics (s_*)"      defStyleNum="dsNormal"   spellChecking="false" />-      <itemData name="Types (*_t/*_type)" defStyleNum="dsNormal"   spellChecking="false" />+      <itemData name="Data Members (m_*)" defStyleNum="dsVariable" spellChecking="false" />+      <itemData name="Globals (g_*)"      defStyleNum="dsVariable" spellChecking="false" />+      <itemData name="Statics (s_*)"      defStyleNum="dsVariable" spellChecking="false" />+      <itemData name="Types (*_t/*_type)" defStyleNum="dsDataType" spellChecking="false" />       <itemData name="CONSTS/MACROS"      defStyleNum="dsNormal"   spellChecking="false" />-      <itemData name="Preprocessor"       defStyleNum="dsOthers"   spellChecking="false" />-      <itemData name="Prep. Lib"          defStyleNum="dsOthers"   spellChecking="false" />+      <itemData name="Preprocessor"       defStyleNum="dsPreprocessor" spellChecking="false" />+      <itemData name="Prep. Lib"          defStyleNum="dsImport"   spellChecking="false" />       <itemData name="Standard Macros"    defStyleNum="dsOthers"   spellChecking="false" />-      <itemData name="Standard Classes"   defStyleNum="dsNormal"   spellChecking="false" color="#59ff00" selColor="#59ff00" />-      <itemData name="Boost Stuff"        defStyleNum="dsNormal"   spellChecking="false" color="#23a45b" selColor="#23a45b" />+      <itemData name="Standard Classes"   defStyleNum="dsBuiltIn"  spellChecking="false" />+      <itemData name="Boost Stuff"        defStyleNum="dsExtension" spellChecking="false" />       <itemData name="Internals"          defStyleNum="dsNormal"   spellChecking="false" color="#808080" selColor="#808080" />       <itemData name="Region Marker"      defStyleNum="dsRegionMarker" spellChecking="false" />       <itemData name="Error"              defStyleNum="dsError"    spellChecking="false" />
− xml/isocpp.xml.patch
@@ -1,13 +0,0 @@-diff --git a/xml/isocpp.xml b/xml/isocpp.xml-index 88e7b88..2d2da8a 100644---- a/xml/isocpp.xml-+++ b/xml/isocpp.xml-@@ -191,7 +191,7 @@-         <!-- NOTE Order is important! -->-         <RegExpr attribute="Hex" context="#stay" String="[\+\-]?0x[0-9A-Fa-f]('?[0-9A-Fa-f]+)*([Uu][Ll]{0,2}|[Ll]{0,2}[Uu]?|_[_0-9A-Za-z]*)?\b" />-         <RegExpr attribute="Binary" context="#stay" String="0[Bb][01]('?[01]+)*([Uu][Ll]{0,2}|[Ll]{0,2}[Uu]?|_[_0-9A-Za-z]*)?\b" />--        <RegExpr attribute="Float" context="#stay" String="[\+\-]?([0-9]+[Ee][\+\-]?[0-9]+|([0-9]+\.|\.[0-9]+|[0-9]+\.[0-9]+)([Ee][\+\-]?[0-9]+)?)[FfLl]?" />-+        <RegExpr attribute="Float" context="#stay" String="[\+\-]?([0-9]+[Ee][\+\-]?[0-9]+|([0-9]*\.[0-9]+|[0-9]+\.[0-9]*)([Ee][\+\-]?[0-9]+)?)[FfLl]?" />-         <RegExpr attribute="Octal" context="#stay" String="[\+\-]?0'?[0-7]('?[0-7]+)*([Uu][Ll]{0,2}|[Ll]{0,2}[Uu]?|_[_0-9A-Za-z]*)?\b" />-         <RegExpr attribute="Decimal" context="#stay" String="[\+\-]?(0|[1-9]('?[0-9]+)*)([Uu][Ll]{0,2}|[Ll]{0,2}[Uu]?|_[_0-9A-Za-z]*)?\b" />-         <RegExpr attribute="Error" context="#stay" String="[\+\-]?(0x?|[1-9][0-9]*)[0-9A-Za-z][_0-9A-Za-z]*\b" />
xml/java.xml view
@@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd">-<language name="Java" version="1.21" kateversion="2.4" section="Sources" extensions="*.java" mimetype="text/x-java" license="LGPL" author="Alfredo Luiz Foltran Fialho (alfoltran@ig.com.br)">+<language name="Java" version="2" kateversion="5.0" section="Sources" extensions="*.java" mimetype="text/x-java" license="LGPL" author="Alfredo Luiz Foltran Fialho (alfoltran@ig.com.br)"> 	<highlighting> 		<list name="java15"> 			<item> ACTIVE </item>@@ -3828,24 +3828,24 @@ 			</context> 		</contexts> 		<itemDatas>-			<itemData name="Normal Text"  defStyleNum="dsNormal"/>-			<itemData name="Keyword"      defStyleNum="dsKeyword"/>-			<itemData name="Annotation"   defStyleNum="dsFunction"/>-			<itemData name="Function"     defStyleNum="dsFunction"/>-			<itemData name="StaticImports"      defStyleNum="dsKeyword" color="#800080" selColor="#FFFFFF" bold="0" italic="0"/>-			<itemData name="Imports"      defStyleNum="dsKeyword" color="#808000" selColor="#FFFFFF" bold="0" italic="0"/>-			<itemData name="Data Type"    defStyleNum="dsDataType"/>-			<itemData name="Decimal"      defStyleNum="dsDecVal"/>-			<itemData name="Octal"        defStyleNum="dsBaseN"/>-			<itemData name="Hex"          defStyleNum="dsBaseN"/>-			<itemData name="Float"        defStyleNum="dsFloat"/>-			<itemData name="Char"         defStyleNum="dsChar"/>+			<itemData name="Normal Text"  defStyleNum="dsNormal" spellChecking="false"/>+			<itemData name="Keyword"      defStyleNum="dsKeyword" spellChecking="false"/>+			<itemData name="Annotation"   defStyleNum="dsAttribute" spellChecking="false"/>+			<itemData name="Function"     defStyleNum="dsFunction" spellChecking="false"/>+			<itemData name="StaticImports" defStyleNum="dsImport" spellChecking="false"/>+			<itemData name="Imports"      defStyleNum="dsImport" spellChecking="false"/>+			<itemData name="Data Type"    defStyleNum="dsDataType" spellChecking="false"/>+			<itemData name="Decimal"      defStyleNum="dsDecVal" spellChecking="false"/>+			<itemData name="Octal"        defStyleNum="dsBaseN" spellChecking="false"/>+			<itemData name="Hex"          defStyleNum="dsBaseN" spellChecking="false"/>+			<itemData name="Float"        defStyleNum="dsFloat" spellChecking="false"/>+			<itemData name="Char"         defStyleNum="dsChar" spellChecking="false"/> 			<itemData name="String"       defStyleNum="dsString"/>-			<itemData name="String Char"  defStyleNum="dsChar"/>+			<itemData name="String Char"  defStyleNum="dsSpecialChar" spellChecking="false"/> 			<itemData name="PrintfString" defStyleNum="dsString"/> 			<itemData name="Comment"      defStyleNum="dsComment"/>-			<itemData name="Symbol"       defStyleNum="dsNormal"/>-			<itemData name="Java15"       defStyleNum="dsNormal" color="#0095FF" selColor="#FFFFFF" bold="1" italic="0"/>+			<itemData name="Symbol"       defStyleNum="dsNormal" spellChecking="false"/>+			<itemData name="Java15"       defStyleNum="dsBuiltIn" spellChecking="false"/> 		</itemDatas> 	</highlighting> 	<general>
xml/javadoc.xml view
@@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd">-<language name="Javadoc" version="1.05" kateversion="2.4" section="Markup" extensions="" license="LGPL" author="Alfredo Luiz Foltran Fialho (alfoltran@ig.com.br)">+<language name="Javadoc" version="2" kateversion="2.4" section="Markup" extensions="" license="LGPL" author="Alfredo Luiz Foltran Fialho (alfoltran@ig.com.br)"> 	<highlighting> 		<contexts> 			<context name="Start" attribute="Normal Text" lineEndContext="#stay">
xml/javascript.xml view
@@ -3,58 +3,64 @@ <!-- Author: Anders Lund <anders@alweb.dk> //--> <!-- Minor changes: Joseph Wenninger <jowenn@kde.org> //--> <!-- Full JavaScript 1.0 support by Whitehawk Stormchaser //-->-<language name="JavaScript" version="1.22" kateversion="2.4" section="Scripts" extensions="*.js;*.kwinscript"+<language name="JavaScript" version="2" kateversion="5.0" section="Scripts" extensions="*.js;*.kwinscript"           mimetype="text/x-javascript;application/x-javascript" indenter="cstyle"           author="Anders Lund (anders@alweb.dk), Joseph Wenninger (jowenn@kde.org), Whitehawk Stormchaser (zerokode@gmx.net)" license="">   <highlighting>-    <list name="keywords">+    <list name="controlflow">       <item> break </item>       <item> case </item>       <item> catch </item>-      <item> const </item>       <item> continue </item>       <item> debugger </item>-      <item> default </item>-      <item> delete </item>       <item> do </item>       <item> else </item>       <item> finally </item>       <item> for </item>-      <item> function </item>       <item> if </item>-      <item> in </item>-      <item> instanceof </item>-      <item> new </item>       <item> return </item>       <item> switch </item>-      <item> this </item>       <item> throw </item>       <item> try </item>+      <item> while </item>+      <item> with </item>+    </list>+    <list name="keywords">+      <item> const </item>+      <item> delete </item>+      <item> function </item>+      <item> in </item>+      <item> instanceof </item>+      <item> new </item>+      <item> this </item>       <item> typeof </item>       <item> var </item>       <item> void </item>-      <item> while </item>-      <item> with </item>     </list>     <list name="reserved">       <item> class </item>       <item> enum </item>-      <item> export </item>       <item> extends </item>-      <item> import </item>       <item> super </item>        <!-- The following keywords are reserved only in strict-mode -->       <item> implements </item>       <item> interface </item>       <item> let </item>-      <item> package </item>       <item> private </item>       <item> protected </item>       <item> public </item>       <item> static </item>       <item> yield </item>     </list>+    <list name="module">+      <item> import </item>+      <item> from </item>+      <item> as </item>+      <item> default </item>+      <item> export </item>+      <item> package </item>+    </list>     <list name="primitives">       <item> Infinity </item>       <item> NaN </item>@@ -86,10 +92,15 @@         <Int attribute="Decimal" context="NoRegExp" />         <AnyChar context="NoRegExp" String="])" /> +        <keyword attribute="ControlFlow" String="controlflow" />         <keyword attribute="Keyword" String="keywords" />         <keyword attribute="Reserved" String="reserved" />         <keyword attribute="Keyword" context="NoRegExp" String="primitives" />+        <keyword attribute="Module" String="module" /> +        <DetectChar attribute="Template" context="Template" char="`" />+        <StringDetect attribute="Template" context="RawTemplate" String="String.raw`" />+         <!--DetectIdentifier-->         <RegExpr attribute="Objects" context="Object Member" String="[a-zA-Z_$][\w$]*(?=\s*\.)" />         <!--DetectIdentifier-->@@ -144,16 +155,32 @@       </context>        <context attribute="String" lineEndContext="#pop" name="String">-        <HlCStringChar attribute="Char" />+        <HlCStringChar attribute="Escape" />+        <RegExpr attribute="Escape" String="\\u[0-9a-fA-F]{4}" />         <LineContinue/>         <DetectChar attribute="String" context="#pop" char="&quot;" />       </context>       <context attribute="String" lineEndContext="#pop" name="String SQ">-        <HlCStringChar attribute="Char" />+        <HlCStringChar attribute="Escape" />+        <RegExpr attribute="Escape" String="\\u[0-9a-fA-F]{4}" />         <LineContinue/>         <DetectChar attribute="String" context="#pop" char="'" />       </context> +      <context attribute="Template" lineEndContext="#stay" name="Template">+        <HlCStringChar attribute="Escape" />+        <Detect2Chars attribute="Escape" char="\" char1="`" />+        <Detect2Chars attribute="Substitution" context="Substitution" char="$" char1="{" />+        <DetectChar attribute="Template" context="#pop" char="`" />+      </context>+      <context attribute="Template" lineEndContext="#stay" name="RawTemplate">+        <DetectChar attribute="Template" context="#pop" char="`" />+      </context>+      <context name="Substitution" attribute="Normal Text" lineEndContext="#stay">+          <DetectChar attribute="Substitution" char="}" context="#pop"/>+          <IncludeRules context="Normal"/>+      </context>+       <context attribute="Comment" lineEndContext="#pop" name="Comment">         <IncludeRules context="##Alerts" />         <IncludeRules context="##Modelines" />@@ -194,23 +221,27 @@     <itemDatas>       <itemData name="Normal Text"  defStyleNum="dsNormal"  spellChecking="false" />       <itemData name="Keyword"      defStyleNum="dsKeyword" spellChecking="false" />+      <itemData name="ControlFlow"  defStyleNum="dsControlFlow" spellChecking="false" />       <itemData name="Reserved"     defStyleNum="dsKeyword" italic="true" spellChecking="false" />+      <itemData name="Module"       defStyleNum="dsImport" spellChecking="false" />       <itemData name="Function"     defStyleNum="dsFunction" spellChecking="false" />-      <itemData name="Objects"      defStyleNum="dsOthers" spellChecking="false" />-      <itemData name="Object Member" defStyleNum="dsFunction" spellChecking="false" />+      <itemData name="Objects"      defStyleNum="dsVariable" spellChecking="false" />+      <itemData name="Object Member" defStyleNum="dsAttribute" spellChecking="false" />        <itemData name="Decimal"      defStyleNum="dsDecVal" spellChecking="false" />       <itemData name="Octal"        defStyleNum="dsBaseN" spellChecking="false" />       <itemData name="Hex"          defStyleNum="dsBaseN" spellChecking="false" />       <itemData name="Float"        defStyleNum="dsFloat" spellChecking="false" />-      <itemData name="Char"         defStyleNum="dsChar" spellChecking="false" />+      <itemData name="Escape"       defStyleNum="dsSpecialChar" spellChecking="false" />       <itemData name="String"       defStyleNum="dsString" />+      <itemData name="Template"     defStyleNum="dsVerbatimString" />+      <itemData name="Substitution" defStyleNum="dsSpecialChar" spellChecking="false" />        <itemData name="Comment"      defStyleNum="dsComment" />-      <itemData name="Symbol"       defStyleNum="dsNormal" spellChecking="false" />-      <itemData name="Regular Expression" defStyleNum="dsOthers" spellChecking="false" />-      <itemData name="Pattern Internal Operator" defStyleNum="dsFloat" spellChecking="false" />-      <itemData name="Pattern Character Class" defStyleNum="dsBaseN" spellChecking="false" />+      <itemData name="Symbol"       defStyleNum="dsOperator" spellChecking="false" />+      <itemData name="Regular Expression" defStyleNum="dsSpecialString" spellChecking="false" />+      <itemData name="Pattern Internal Operator" defStyleNum="dsSpecialChar" spellChecking="false" />+      <itemData name="Pattern Character Class" defStyleNum="dsSpecialChar" spellChecking="false" />       <itemData name="Region Marker" defStyleNum="dsRegionMarker" spellChecking="false" />       <itemData name="JSON"         defStyleNum="dsDataType" spellChecking="false" />     </itemDatas>@@ -223,3 +254,5 @@     <keywords casesensitive="1" />   </general> </language>++<!-- kate: space-indent on; indent-width 2; -->
xml/json.xml view
@@ -12,7 +12,7 @@  ** http://tools.ietf.org/html/rfc4627  *************************************************************************** -->-<language name="JSON" section="Markup" version="1.3" kateversion="2.3" extensions="*.json" mimetype="application/json" author="Sebastian Pipping (sebastian@pipping.org)" license="GPL">+<language name="JSON" section="Markup" version="2" kateversion="2.4" extensions="*.json;.kateproject;.arcconfig" mimetype="application/json" author="Sebastian Pipping (sebastian@pipping.org)" license="GPL">   <highlighting>     <list name="Constants">       <item>null</item>
xml/jsp.xml view
@@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd">-<language version="1.02" kateversion="2.4" name="JSP" section="Markup" extensions="*.jsp;*.JSP" mimetype="text/html" casesensitive="false" author="Rob Martin (rob@gamepimp.com)" license="LGPL">+<language version="2" kateversion="2.4" name="JSP" section="Markup" extensions="*.jsp;*.JSP" mimetype="text/html" casesensitive="false" author="Rob Martin (rob@gamepimp.com)" license="LGPL">   <highlighting>      <list name="java-1.4.2-classes">
xml/julia.xml view
@@ -29,7 +29,7 @@  <!DOCTYPE language SYSTEM "language.dtd"> -<language name="Julia" section="Sources" version="0.2" kateversion="2.2" extensions="*.jl" casesensitive="1" priority="5" license="MIT">+<language name="Julia" section="Sources" version="1" kateversion="2.4" extensions="*.jl" casesensitive="1" priority="5" license="MIT">    <highlighting>     <list name="block_begin">
+ xml/kotlin.xml view
@@ -0,0 +1,298 @@+<?xml version="1.0" encoding="UTF-8"?>+<!DOCTYPE language SYSTEM "language.dtd">+<!-- kotlin language syntax http://kotlinlang.org -->+<language name="Kotlin" version="2" kateversion="5.0" section="Sources" extensions="*.kt;*.kts" license="LGPLv2+" author="Sergey Mashkov (sergey.mashkov@jetbrains.com)" style="cstyle" indenter="cstyle">+    <highlighting>+        <list name="keywords">+            <item>package</item>+            <item>import</item>++            <item>sealed</item>+            <item>data</item>+            <item>class</item>+            <item>enum</item>+            <item>interface</item>+            <item>companion</item>+            <item>object</item>++            <item>private</item>+            <item>public</item>+            <item>protected</item>+            <item>internal</item>+            <item>open</item>+            <item>final</item>++            <item>get</item>+            <item>set</item>+            <item>fun</item>+            <item>var</item>+            <item>val</item>+            <item>constructor</item>++            <item>inline</item>+            <item>reified</item>+            <item>crossinline</item>+            <item>tailrec</item>++            <item>in</item>+            <item>out</item>+            <item>is</item>+            <item>as</item>+            <item>by</item>+            <item>where</item>++            <item>vararg</item>+            <item>get</item>+            <item>set</item>++            <item>return</item>+            <item>throw</item>++            <item>typealias</item>+            <item>typeof</item>+            <item>override</item>+            <item>infix</item>+            <item>operator</item>+        </list>+        <list name="controlFlowKeyword">+            <item>if</item>+            <item>else</item>+            <item>when</item>++            <item>for</item>+            <item>while</item>+            <item>do</item>++            <item>try</item>+            <item>catch</item>+            <item>finally</item>++            <item>continue</item>+            <item>break</item>+            <item>yield</item>+        </list>+        <list name="predeclared">+            <item>this</item>+            <item>super</item>+            <item>null</item>+            <item>true</item>+            <item>false</item>+        </list>+        <list name="types">+            <item>Unit</item>+            <item>Nothing</item>++            <item>String</item>+            <item>Char</item>++            <item>Int</item>+            <item>Long</item>+            <item>Byte</item>+            <item>Short</item>+            <item>Float</item>+            <item>Double</item>++            <item>Boolean</item>+        </list>++        <contexts>+            <context attribute="Normal Text" lineEndContext="#stay" name="Normal">+                <RegExpr attribute="Keyword" context="Imports" String="\b(package|import)\b"/>+                <RegExpr attribute="Keyword" context="FunctionDeclaration" String="\bfun\b"/>+                <RegExpr attribute="Keyword" context="TypeDeclaration" String="\b(object|class|interface)\b"/>+                <RegExpr attribute="Keyword" context="VariableDeclaration" String="\b(val|var)\b"/>++                <keyword attribute="Keyword" context="#stay" String="predeclared"/>+                <keyword attribute="Keyword" context="#stay" String="keywords"/>+                <keyword attribute="ControlFlowKeyword" context="#stay" String="controlFlowKeyword"/>+                <keyword attribute="Keyword" context="#stay" String="types"/>++                <StringDetect attribute="String" String="&quot;&quot;&quot;" context="MultiLineDoubleString" beginRegion="MultiLineString"/>+                <DetectChar attribute="String" context="String" char="&quot;"/>+                <DetectChar attribute="Char" context="Char" char="'"/>++                <Detect2Chars attribute="Comment" context="CommentSingleLine" char="/" char1="/"/>+                <Detect2Chars attribute="Comment" context="CommentMultiline" char="/" char1="*" beginRegion="Comment"/>++                <Float attribute="Float" context="#stay">+                    <AnyChar String="fF" attribute="Float" context="#stay"/>+                </Float>+                <Int attribute="Decimal" context="#stay">+                    <StringDetect attribute="Decimal" context="#stay" String="L" insensitive="true"/>+                </Int>++                <RegExpr attribute="Annotation" context="#stay" String="@[_\w][_\w\d]*"/>+                <RegExpr attribute="TODO" context="#stay" String="TODO\s*\([^)]*\)" />+                <DetectChar attribute="Symbol" context="#stay" char="{" beginRegion="Brace1" />+                <DetectChar attribute="Symbol" context="#stay" char="}" endRegion="Brace1" />+                <Detect2Chars attribute="Comment" context="CommentSingleLine" char="#" char1="!" />+            </context>++            <context attribute="Normal Text" lineEndContext="#pop" name="Imports">+                <DetectChar attribute="Symbol" context="#pop" char=";" />+                <StringDetect attribute="Keyword" context="TypeName" String="as" />++                <RegExpr attribute="Imports" context="#stay" String="\b[_\w][_\w\d]*(\.[_\w][_\w\d]*)*(\.\*)?"/>+            </context>++            <context name="VariableDeclaration" lineEndContext="#stay" attribute="Normal Text">+                <DetectIdentifier attribute="Variable" context="#pop" />+            </context>++            <context name="TypeDeclaration" lineEndContext="#stay" attribute="Normal Text">+                <keyword attribute="Keyword" context="#stay" String="keywords"/>++                <DetectChar attribute="Symbol" context="TypeParameters" char="&lt;" />+                <DetectChar attribute="Symbol" context="Parameters" char="(" />+                <DetectChar attribute="Symbol" context="SuperTypes" char=":" />+                <DetectChar attribute="Symbol" context="#pop" char="{" lookAhead="true" />+            </context>++            <context name="SuperTypes" lineEndContext="#stay" attribute="Normal Text">+                <keyword attribute="Keyword" context="#pop#pop" String="keywords" lookAhead="true" />++                <DetectChar attribute="Symbol" context="#stay" char="," />+                <DetectChar attribute="Symbol" context="#pop" char="{" lookAhead="true" />+                <DetectChar attribute="Symbol" context="Parameters" char="(" />+                <DetectChar attribute="Symbol" context="TypeParameters" char="&lt;" />++                <RegExpr attribute="Data Type" context="#stay" String="[_\w][_\w\d]*" />+            </context>++            <context name="FunctionDeclaration" lineEndContext="#stay" attribute="Normal Text">+                <keyword attribute="Keyword" context="#stay" String="keywords"/>+                <DetectChar attribute="Symbol" context="#stay" char="." />+                <DetectChar attribute="Symbol" context="Parameters" char="(" />+                <DetectChar attribute="Symbol" context="TypeParameters" char="&lt;" />+                <DetectChar attribute="Symbol" context="TypeName" char=":" />++                <AnyChar attribute="Symbol" context="#pop" String="{=" lookAhead="true" />++                <RegExpr attribute="Function" context="#stay" String="[_\w][_\w\d]*" />+            </context>++            <context name="TypeParameters" lineEndContext="#stay" attribute="Normal Text">+                <keyword attribute="Keyword" context="#stay" String="keywords"/>++                <DetectChar attribute="Symbol" context="TypeName" char=":" />+                <DetectChar attribute="Symbol" context="#stay" char="*" />++                <DetectChar attribute="Symbol" context="#pop" char="&gt;" />+                <DetectChar attribute="Symbol" context="TypeParameters" char="&lt;" />++                <RegExpr attribute="Data Type" context="#stay" String="[_\w][_\w\d]*[?]?" />+            </context>++            <context name="Parameters" lineEndContext="#stay" attribute="Normal Text">+                <keyword attribute="Keyword" context="#stay" String="keywords" />+                <DetectChar attribute="Symbol" context="#pop" char=")" />+                <DetectChar attribute="Symbol" context="TypeName" char=":" />+                <DetectChar attribute="Symbol" context="Expression" char="=" />+                <RegExpr attribute="Variable" context="#stay" String="[_\w][_\w\d]*" />+            </context>++            <context name="TypeName" lineEndContext="#stay" attribute="Normal Text">+                <DetectChar attribute="Symbol" context="#pop" char="*" />+                <DetectChar attribute="Symbol" context="FunctionType" char="(" />+                <StringDetect attribute="Symbol" context="#stay" String="-&gt;" />+                <RegExpr attribute="Data Type" context="#pop" String="[_\w][_\w\d]*[?]?" />+            </context>++            <context name="FunctionType" lineEndContext="#stay" attribute="Normal Text">+                <DetectChar attribute="Symbol" context="#pop" char=")" />+                <RegExpr attribute="Data Type" context="#stay" String="[_\w][_\w\d]*[?]?" />+                <StringDetect attribute="Symbol" context="#stay" String="-&gt;" />+                <StringDetect attribute="Symbol" context="#stay" String="," />+            </context>++            <context name="Expression" lineEndContext="#stay" attribute="Normal Text">+                <DetectChar attribute="Symbol" context="ExpressionInner" char="(" />+                <DetectChar attribute="Symbol" context="#pop" char=")" lookAhead="true" />++                <DetectChar attribute="Symbol" context="ExpressionInner" char="{" />+                <DetectChar attribute="Symbol" context="#pop" char="}" lookAhead="true" />++                <RegExpr attribute="Symbol" context="TypeParameters" String="&lt;\w+" lookAhead="true" />++                <DetectChar attribute="Char" context="Char" char="'"/>+                <StringDetect attribute="String" String="&quot;&quot;&quot;" context="MultiLineDoubleString" beginRegion="MultiLineString"/>+                <DetectChar attribute="String" context="String" char="&quot;"/>++                <Detect2Chars attribute="Comment" context="CommentSingleLine" char="/" char1="/"/>+                <Detect2Chars attribute="Comment" context="CommentMultiline" char="/" char1="*" beginRegion="Comment"/>++                <DetectChar attribute="Symbol" context="#pop" char=","/>+            </context>++            <context name="ExpressionInner" lineEndContext="#stay" attribute="Normal Text">+                <DetectChar attribute="Symbol" context="ExpressionInner" char="(" />+                <DetectChar attribute="Symbol" context="#pop" char=")" />++                <DetectChar attribute="Symbol" context="ExpressionInner" char="{" />+                <DetectChar attribute="Symbol" context="#pop" char="}" />++                <RegExpr attribute="Symbol" context="TypeParameters" String="&lt;\w+" lookAhead="true" />++                <DetectChar attribute="Char" context="Char" char="'"/>+                <StringDetect attribute="String" String="&quot;&quot;&quot;" context="MultiLineDoubleString" beginRegion="MultiLineString"/>+                <DetectChar attribute="String" context="String" char="&quot;"/>++                <Detect2Chars attribute="Comment" context="CommentSingleLine" char="/" char1="/"/>+                <Detect2Chars attribute="Comment" context="CommentMultiline" char="/" char1="*" beginRegion="Comment"/>+            </context>++            <context attribute="Char" lineEndContext="#pop" name="Char">+                <RegExpr attribute="String Char" context="#stay" String="\\u[0-9a-fA-F]{4}"/>+                <DetectChar attribute="Char" context="#pop" char="'"/>+            </context>+            <context attribute="String" lineEndContext="#pop" name="String">+                <LineContinue attribute="String" context="#stay"/>+                <HlCStringChar attribute="String Char" context="#stay"/>+                <RegExpr attribute="String Char" context="#stay" String="\\u[0-9a-fA-F]{4}"/>+                <DetectChar attribute="String" context="#pop" char="&quot;"/>+            </context>+            <context attribute="String" lineEndContext="#stay" name="MultiLineDoubleString">+                <StringDetect attribute="String" context="#pop" String="&quot;&quot;&quot;" endRegion="MultiLineString"/>+            </context>++            <context attribute="Comment" lineEndContext="#pop" name="CommentSingleLine">+                <StringDetect attribute="TODO" context="#stay" String="TODO" />+            </context>+            <context attribute="Comment" lineEndContext="#stay" name="CommentMultiline">+                <StringDetect attribute="TODO" context="#stay" String="TODO" />+                <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment"/>+            </context>++            <context attribute="Symbol" lineEndContext="#stay" name="symbols">+                <AnyChar attribute="Symbol" context="#stay" String=":!%&amp;+,-/.*&lt;=&gt;?[]|~^&#59;" />+            </context>+        </contexts>++        <itemDatas>+            <itemData name="Normal Text"  defStyleNum="dsNormal"/>+            <itemData name="Keyword"      defStyleNum="dsKeyword"/>+            <itemData name="ControlFlowKeyword" defStyleNum="dsControlFlow" />+            <itemData name="Function"     defStyleNum="dsFunction"/>+            <itemData name="Variable"     defStyleNum="dsVariable"/>+            <itemData name="Imports"      defStyleNum="dsImport"/>+            <itemData name="Annotation"   defStyleNum="dsAttribute"/>+            <itemData name="Data Type"    defStyleNum="dsDataType" bold="true" />+            <itemData name="Decimal"      defStyleNum="dsDecVal"/>+            <itemData name="Hex"          defStyleNum="dsBaseN"/>+            <itemData name="Float"        defStyleNum="dsFloat"/>+            <itemData name="Char"         defStyleNum="dsChar"/>+            <itemData name="String"       defStyleNum="dsString"/>+            <itemData name="String Char"  defStyleNum="dsSpecialChar"/>+            <itemData name="Comment"      defStyleNum="dsComment"/>+            <itemData name="Symbol"       defStyleNum="dsNormal"/>+            <itemData name="TODO"         defStyleNum="dsAlert" />+    </itemDatas>+    </highlighting>+    <general>+        <comments>+            <comment name="singleLine" start="//"/>+            <comment name="multiLine" start="/*" end="*/"/>+        </comments>+        <keywords casesensitive="1"/>+    </general>+</language>
+ xml/language.dtd view
@@ -0,0 +1,556 @@+<!--+        Copyright (c) 2001 Joseph Wenninger <jowenn@kde.org>+        modified (c) 2002 Anders Lund <anders@alweb.dk>+        modified (c) 2003 Simon Huerlimann <simon.huerlimann@access.unizh.ch>+        modified (c) 2005 Dominik Haumann <dhdev@gmx.de>+        modified (c) 2008 Wilbert Berendsen <info@wilbertberendsen.nl>++        This file describes the XML format used for syntax highlight descriptions+        for the Kate text editor (http://kate.kde.org), which is part of the KDE+        desktop environment (http://www.kde.org).+        You'll find the "Writing a Kate Highlighting XML File HOWTO" at+        http://kate.kde.org/doc/hlhowto.php++        This format is identified using the SYSTEM identifier+        SYSTEM "language.dtd"++        Files using this format should include a DOCTYPE declaration like this:+        <!DOCTYPE language SYSTEM "language.dtd">++        You can validate your syntax files using checkXML from the development+        package of kdelibs:+         checkXML yourSyntax.xml+        If you see any 'validity error' lines, you should fix them. If you get+        a lot of 'No template matches' lines, everything's just fine. You've+        produced a valid syntax file!++        It's also possible to use the (much faster) xmllint which comes with the+        GNOME (oops:-) XML Library libxml2:++         xmllint - -dtdvalid language.dtd yourSyntax.xml+	 (don't use a space between the two - That's just because XML+         comments don't allow that:-(++        To use your syntax file, copy it to .kde/share/apps/katepart/syntax/ in+        your home directory. You have to open a new instance of kwrite/kate to use+        the new syntax file.++TODO+  - find a more readable way for the - -dtdvalid stuff, it's just annoying+    xml comments don't allow it.+-->++<!-- Entity declarations+  You can use '&per;' instead of '.'. This seems to be useful in <item> elements.++TODO+  - Are there any more such pre-defined entities?+-->+<!ENTITY per "." >++<!-- Boolean type+  Attributes that are of type boolean allow the following values:+  'true', 'TRUE' and '1' all meaning true,+  'false', FALSE' and '0' all meaning false.++  It is encouraged to use 'true' and 'false' instead of the alternatives.+-->+<!ENTITY % boolean "true|false|TRUE|FALSE|0|1">++<!-- Default Styles+  Allowed predefined default styles for itemData, available are:+    - dsNormal,   used for normal text+    - dsKeyword,  used for keywords+    - dsDataType, used for data types+    - dsDecVal,   used for decimal values+    - dsBaseN,    used for values with a base other than 10+    - dsFloat,    used for float values+    - dsChar,     used for a character+    - dsString,   used for strings+    - dsComment,  used for comments+    - dsOthers,   used for 'other' things+    - dsAlert,    used for warning messages+    - dsFunction, used for function calls+    - dsRegionMarker, used for region markers+    - dsError,    used for error highlighting.+-->+<!ENTITY % defStyles "dsNormal|dsKeyword|dsDataType|dsDecVal|dsBaseN|dsFloat|dsChar|dsString|dsComment|dsOthers|dsAlert|dsFunction|dsRegionMarker|dsError">++<!-- Language specification+  name:        The name of this syntax description. Used in the Highlightning Mode menu+  section:     The logical group to which this syntax description belongs. Used for sub menus+  extensions:  A file glob or pattern to decide for which documents to use this syntax description+  style:       Attribute style that this highlighter provides to kate scripts [optional]+  mimetype:    A list of mimetypes to decide for which documents to use this syntax description [optional]+  version:     Version number of this syntax description [optional]+  kateversion: Kate version required for using this file [optional]+  casesensitive: Whether text is matched case sensitive. [boolean, optional, default=true] FIXME: This is not implemented yet+  priority:    Priority of this language, if more than one are usable for the file [optional]+  author:      Name of author of this hl file [optional]+  license:     License for this hl file [optional]+  indenter:    Name of the Indenter to use for this highlighting mode per default, like "cstyle" [optional]+  hidden:      Should it be hidden in menu [boolean, optional, default=false]++TODO+  - Which matches are affected by casesensitive? keyword, RegExpr, StringDetect, WordDetect...?++WARNING: due to helper scripts, the language opening tag must be on a+*single line* and *cannot* be split in multiple lines.++-->+<!ELEMENT language (highlighting, general?, spellchecking?)>+<!ATTLIST language+  name          CDATA       #REQUIRED+  section       NMTOKEN     #REQUIRED+  extensions    CDATA       #REQUIRED+  version       CDATA       #REQUIRED+  kateversion   CDATA       #REQUIRED+  style         CDATA       #IMPLIED+  mimetype      CDATA       #IMPLIED+  casesensitive (%boolean;) #IMPLIED+  priority      CDATA       #IMPLIED+  author        CDATA       #IMPLIED+  license       CDATA       #IMPLIED+  indenter      CDATA       #IMPLIED+  hidden        (%boolean;) #IMPLIED+>++<!-- General options -->+<!ELEMENT general (folding|comments|keywords|indentation|emptyLines)*>++<!-- List of folding+  indentationsensitive: If true, the code folding is indentation based.+-->+<!ELEMENT folding EMPTY>+<!ATTLIST folding+  indentationsensitive (%boolean;) #IMPLIED+>++<!-- List of comments -->+<!ELEMENT comments (comment)+>++<!-- Comment specification+  name:         Type of this comment. Allowed are 'singleLine' and 'multiLine'+  start:        The comment starts with this string+  end:          The comment ends with this string [optional]+  region:       The region name of the foldable multiline comment. If you have+                beginRegion="Comment" ... endRegion="Comment" you should use+                region="Comment". This way uncomment works even if you do not+                select all the text of the multiline comment.+  position:     only availalbe for type singleLine. Default is column0, to insert+                the single line comment characters after the whitespaces+                (= before the first non space) set position to "afterwhitespace"+-->+<!ELEMENT comment EMPTY>+<!ATTLIST comment+  name      (singleLine|multiLine)  #REQUIRED+  start     CDATA                   #REQUIRED+  end       CDATA                   #IMPLIED+  region    CDATA                   #IMPLIED+  position  (afterwhitespace)       #IMPLIED+>++<!-- Keyword options+  casesensitive:        Whether keywords are matched case sensitive. [boolean, optional, default=true]+  weakDeliminator:      Add weak deliminators [optional, default: ""]+  additionalDeliminator: Add deliminators [optional]+  wordWrapDeliminator:  characters that are used to wrap long lines [optional]++-->+<!ELEMENT keywords EMPTY>+<!ATTLIST keywords+  casesensitive         (%boolean;) #IMPLIED+  weakDeliminator       CDATA       #IMPLIED+  additionalDeliminator CDATA       #IMPLIED+  wordWrapDeliminator   CDATA       #IMPLIED+>++<!-- Indentation options+  mode:        indentation mode to use++TODO+  - Explain (weak) deliminators+-->+<!ELEMENT indentation EMPTY>+<!ATTLIST indentation+  mode         CDATA   #IMPLIED+>++<!-- Treat lines that match a given regular expression as empty line. This is+  needed for example in Python for comments (#...), as then the indentation+  based folding should ignore the line.+  This is only implemented for indentation based folding. If the folding+  is not indentation based, the emptyLines are not used.+-->+<!ELEMENT emptyLines (emptyLine*)>++<!-- One empty line regular expression.+  regexpr:       The regular expression, example from python: ^\s*#.*$+  casesensitive: Sets, whether the regular expression match is performed case sesitive+-->+<!ELEMENT emptyLine EMPTY>+<!ATTLIST emptyLine+  regexpr       CDATA       #REQUIRED+  casesensitive (%boolean;) #IMPLIED+>+++<!-- Highlighting specification -->+<!ELEMENT highlighting (list*, contexts, itemDatas)>+<!ATTLIST highlighting+>++<!-- List of items+  name:     Name of this list+-->+<!ELEMENT list (item)*>+<!ATTLIST list+  name  CDATA   #REQUIRED+>++<!-- List item+  contains string used in <keyword>+-->+<!ELEMENT item (#PCDATA)>++<!-- List of contexts -->+<!ELEMENT contexts (context)+>++<!-- context specification+  name:             The name of this context specification. Used in '*Context' attributes [optional]+  attribute:        The name of the ItemData to be used for matching text+  lineEndContext:   Next context if end of line is encountered+  lineBeginContext: Next context if begin of line is encountered [optional]+  fallthrough:      Use a fallthrough context [optional]+  fallthroughContext: Fall through to this context [optional]+  dynamic:          Dynamic context [boolean, optional]+  noIndentationBasedFolding: Python uses indentation based folding. However, Python has parts where+                    it does not use indentation based folding (e.g. for """ strings). In this case+		    switch to an own context and set this attribute to true. Then the indentation+		    based folding will ignore this parts and not change folding markers. [optional]++TODO:+  - Explain fallthrough.+  - Do we need fallthrough at all? It could be true, if fallthroughContext is set, false otherwise.+  - Make lineEndContext optional, defaults to '#stay'. Reasonable?+-->+<!ELEMENT context (keyword | Float | HlCOct | HlCHex | HlCFloat | Int | DetectChar | Detect2Chars | AnyChar | StringDetect | WordDetect | RegExpr | LineContinue | HlCStringChar | RangeDetect | HlCChar | IncludeRules | DetectSpaces | DetectIdentifier)*>+<!ATTLIST context+  name              CDATA       #IMPLIED+  attribute         CDATA       #REQUIRED+  lineEndContext    CDATA       #REQUIRED+  lineBeginContext  CDATA       #IMPLIED+  fallthrough       (%boolean;) #IMPLIED+  fallthroughContext CDATA      #IMPLIED+  dynamic           (%boolean;) #IMPLIED+  noIndentationBasedFolding (%boolean;) #IMPLIED+>++<!-- Common attributes+  attribute:    The name of the ItemData to be used for matching text+  context:      The name of the context to go to when this rule matches+  beginRegion:  Begin a region of type beginRegion [optional]+  endRegion:    End a region of type endRegion [optional]+  firstNonSpace: should this rule only match at first non-space char in line?+  column: should this rule only match at given column in line (column == count of chars in front)+-->+<!ENTITY % commonAttributes+ "attribute     CDATA       #IMPLIED+  context       CDATA       #IMPLIED+  beginRegion   CDATA       #IMPLIED+  endRegion     CDATA       #IMPLIED+  lookAhead     (%boolean;) #IMPLIED+  firstNonSpace (%boolean;) #IMPLIED+  column        CDATA       #IMPLIED"+>++<!-- Detect members of a keyword list+  commonAttributes: Common attributes+  insensitive:      Is this list case-insensitive? [boolean, optional, see note]+  String:           Name of the list+  weakDelimiter:    Use weak deliminator++  By default, case sensitivity is determined from <keywords casesensitive> in+  <general> (default=true), but can be overridden per-list with 'insensitive'.++TODO:+  - Should be weakDeliminator+  - Explain deliminator+  - Doesn't seem to be supported in highligh.cpp+-->+<!ELEMENT keyword EMPTY>+<!ATTLIST keyword+  %commonAttributes;+  insensitive   CDATA #IMPLIED+  String        CDATA #REQUIRED+  weakDelimiter CDATA #IMPLIED+>++<!-- Detect a floating point number+  commonAttributes: Common attributes+  AnyChar is allowed as a child rule. TODO: The source code allows+  *all* rules to be child rules, shall we change the DTD in some way?+-->+<!ELEMENT Float (AnyChar)*>+<!ATTLIST Float+  %commonAttributes;+>++<!-- Detect an octal number+  commonAttributes: Common attributes+-->+<!ELEMENT HlCOct EMPTY>+<!ATTLIST HlCOct+  %commonAttributes;+>++<!-- Detect a hexadecimal number+  commonAttributes: Common attributes+-->+<!ELEMENT HlCHex EMPTY>+<!ATTLIST HlCHex+  %commonAttributes;+>++<!-- Detect a C-style floating point number+  commonAttributes: Common attributes+-->+<!ELEMENT HlCFloat EMPTY>+<!ATTLIST HlCFloat+  %commonAttributes;+>++<!-- Detect C-style character+  commonAttributes: Common attributes++TODO+  - Did I get this right?+-->+<!ELEMENT HlCChar EMPTY>+<!ATTLIST HlCChar+  %commonAttributes;+>++<!-- Detect an integer number+  commonAttributes: Common attributes+  StringDetect is allowed as a child rule. TODO: The source code allows+  *all* rules to be child rules, shall we change the DTD in some way?+-->+<!ELEMENT Int (StringDetect)*>+<!ATTLIST Int+  %commonAttributes;+>++<!-- Detect a single character+  commonAttributes: Common attributes+  char:             The character to look for+  dynamic:          Uses 0 ... 9 as placeholders for dynamic arguments (in fact, first char of arg...) [boolean, optional, default=false]+-->+<!ELEMENT DetectChar EMPTY>+<!ATTLIST DetectChar+  %commonAttributes;+  char          CDATA   #REQUIRED+  dynamic       (%boolean;) #IMPLIED+>++<!-- Detect two characters+  commonAttributes: Common attributes+  char:             The first character+  char1:            The second character+  dynamic:          Uses 0 ... 9 as placeholders for dynamic arguments (in fact, first char of arg...) [boolean, optional, default=false]+-->+<!ELEMENT Detect2Chars EMPTY>+<!ATTLIST Detect2Chars+  %commonAttributes;+  char          CDATA   #REQUIRED+  char1         CDATA   #REQUIRED+  dynamic       (%boolean;) #IMPLIED+>++<!-- Detect any group of characters+  commonAttributes: Common attributes+  String:           A string representing the characters to look for++TODO+  - Description is not descriptive enough, I'm not sure what it exactly does:-(+-->+<!ELEMENT AnyChar EMPTY>+<!ATTLIST AnyChar+  %commonAttributes;+  String        CDATA   #REQUIRED+>++<!-- Detect a string+  commonAttributes: Common attributes+  String:           The string to look for+  insensitive:      Whether the string is matched case INsensitive. [boolean, optional, default=false]+  dynamic:          Uses %0 ... %9 as placeholders for dynamic arguments [boolean, optional, default=false]++TODO+  - What's default of insensitive? I'm not sure...+-->+<!ELEMENT StringDetect EMPTY>+<!ATTLIST StringDetect+  %commonAttributes;+  String        CDATA       #REQUIRED+  insensitive   (%boolean;)  #IMPLIED+  dynamic       (%boolean;) #IMPLIED+>++<!-- Detect a word, i.e. a string at word boundaries+  commonAttributes: Common attributes+  String:           The string to look for+  insensitive:      Whether the string is matched case INsensitive. [boolean, optional, default=false]+  dynamic:          Uses %0 ... %9 as placeholders for dynamic arguments [boolean, optional, default=false]++TODO+  - What's default of insensitive? I'm not sure...+-->+<!ELEMENT WordDetect EMPTY>+<!ATTLIST WordDetect+  %commonAttributes;+  String        CDATA       #REQUIRED+  insensitive   (%boolean;)  #IMPLIED+  dynamic       (%boolean;) #IMPLIED+>++<!-- Detect a match of a regular expression+  commonAttributes: Common attributes+  String:           The regular expression pattern+  insensitive:      Whether the text is matched case INsensitive. [boolean, optional, default=false]+  minimal:          Wheather to use minimal matching for wild cards in the pattern [boolean, optional, default='false']+  dynamic:          Uses %0 ... %9 as placeholders for dynamic arguments [boolean, optional, default=false]+-->+<!ELEMENT RegExpr EMPTY>+<!ATTLIST RegExpr+  %commonAttributes;+  String        CDATA       #REQUIRED+  insensitive   (%boolean;) #IMPLIED+  minimal       (%boolean;) #IMPLIED+  dynamic       (%boolean;) #IMPLIED+>++<!-- Detect a line continuation+  commonAttributes: Common attributes+-->+<!ELEMENT LineContinue EMPTY>+<!ATTLIST LineContinue+  %commonAttributes;+>++<!-- Detect a C-style escaped character+  commonAttributes: Common attributes++TODO:+  - Did I get this right? Only one character, or a string?+-->+<!ELEMENT HlCStringChar EMPTY>+<!ATTLIST HlCStringChar+  %commonAttributes;+>++<!-- Detect a range of characters+  commonAttributes: Common attributes+  char:             The character starting the range+  char1:            The character terminating the range+-->+<!ELEMENT RangeDetect EMPTY>+<!ATTLIST RangeDetect+  %commonAttributes;+  char          CDATA   #REQUIRED+  char1         CDATA   #REQUIRED+>++<!-- Include Rules of another context+  context:             The name of the context to include+  includeAttrib:       If this is true, the host context of the IncludeRules+                       will be given the attribute of the source context+-->+<!ELEMENT IncludeRules EMPTY>+<!ATTLIST IncludeRules+  context       CDATA   #REQUIRED+  includeAttrib (%boolean;) #IMPLIED+>++<!-- Detect all following Spaces+-->+<!ELEMENT DetectSpaces EMPTY>+<!ATTLIST DetectSpaces+          %commonAttributes;+>++<!-- Detect an Identifier ( == LETTER(LETTER|NUMBER|_)*)+     -->+<!ELEMENT DetectIdentifier EMPTY>+<!ATTLIST DetectIdentifier+          %commonAttributes;+>++<!-- List of attributes -->+<!ELEMENT itemDatas (itemData)+>+<!ATTLIST itemDatas+>++<!-- Attribute specification+  name          CDATA   #REQUIRED       The name of this attribute+  defStyleNum   CDATA   #REQUIRED       The index of the default style to use+  color         CDATA   #IMPLIED        Color for this style, either a hex triplet, a name or some other format recognized by Qt [optional]+  selColor      CDATA   #IMPLIED        The color for this style when text is selected [optional]+  italic        CDATA   #IMPLIED        Whether this attribute should be rendered using an italic typeface [optional, boolean, default=false]+  bold          CDATA   #IMPLIED        Whether this attribute should be renederd using a bold typeface [optional, boolean, default=false]+  underline     CDATA   #IMPLIED        Whether this attribute should be underlined [optional, boolean, default=false]+  strikeOut     CDATA   #IMPLIED        Whether this attribute should be striked out [optional, boolean, default=false]+  backgroundColor    CDATA #IMPLIED     The background color for this style [optional]+  selBackgroundColor CDATA #IMPLIED     The background color for this style when text is selected [optional]+  spellChecking      CDATA #IMPLIED     Whether this attribute should be spell checked [optional, boolean, default=true]+-->+<!ELEMENT itemData EMPTY>+<!ATTLIST itemData+  name          CDATA   #REQUIRED+  defStyleNum   (%defStyles;) #REQUIRED+  color         CDATA   #IMPLIED+  selColor      CDATA   #IMPLIED+  italic        (%boolean;) #IMPLIED+  bold          (%boolean;) #IMPLIED+  underline     (%boolean;) #IMPLIED+  strikeOut     (%boolean;) #IMPLIED+  backgroundColor    CDATA  #IMPLIED+  selBackgroundColor CDATA  #IMPLIED+  spellChecking (%boolean;) #IMPLIED+>++<!-- encodingPolicy type+  Attributes that are of type 'encodingPolicy' allow the following values:+  'EncodeAlways', 'EncodeWhenPresent' and 'EncodeNever'+-->+<!ENTITY % encodingPolicy "EncodeAlways|EncodeWhenPresent|EncodeNever">++<!-- Spellchecking specification -->+<!ELEMENT spellchecking (configuration?, encodings?)>+<!ATTLIST spellchecking+>++<!-- List of character encodings -->+<!ELEMENT encodings (encoding)+>+<!ATTLIST encodings+>++<!-- Encoding specification+  sequence       CDATA        #REQUIRED  Character sequence of the encoding; must not contain new-line characters, i.e. \n or \r+  character      CDATA        #IMPLIED   Encoded character; must be of length 1+  ignored        (%boolean;)  #IMPLIED   If true, then the encoding sequence is ignored for spellchecking+-->+<!ELEMENT encoding EMPTY>+<!ATTLIST encoding+  string         CDATA        #REQUIRED+  char           CDATA        #IMPLIED+  ignored        (%boolean;)  #IMPLIED+>++<!-- Spellchecking configuration+  encodingReplacementPolicy       (%encodingPolicy;)     #IMPLIED  Policy for replacing encoded characters in replacements for misspelled words+-->+<!ELEMENT configuration EMPTY>+<!ATTLIST configuration+  encodingReplacementPolicy   (%encodingPolicy;)   #IMPLIED+>
xml/latex.xml view
@@ -1,28 +1,28 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd">-<language name="LaTeX" version="1.55" section="Markup" kateversion="2.3" priority="10" extensions="*.tex;*.ltx;*.dtx;*.sty;*.cls;*.bbx;*.cbx;*.lbx;*.tikz" mimetype="text/x-tex" casesensitive="1" author="Jeroen Wijnhout (Jeroen.Wijnhout@kdemail.net)+Holger Danielsson (holger.danielsson@versanet.de)+Michel Ludwig (michel.ludwig@kdemail.net)+Thomas Braun (thomas.braun@virtuell-zuhause.de)" license="LGPL" >+<language name="LaTeX" version="2" section="Markup" kateversion="5.0" priority="10" extensions="*.tex;*.ltx;*.dtx;*.sty;*.cls;*.bbx;*.cbx;*.lbx;*.tikz" mimetype="text/x-tex" casesensitive="1" author="Jeroen Wijnhout (Jeroen.Wijnhout@kdemail.net)+Holger Danielsson (holger.danielsson@versanet.de)+Michel Ludwig (michel.ludwig@kdemail.net)+Thomas Braun (thomas.braun@virtuell-zuhause.de)" license="LGPL" >   <highlighting>     <contexts>       <!-- Normal text -->       <context name="Normal Text" attribute="Normal Text" lineEndContext="#stay">         <RegExpr String="\\begin(?=[^a-zA-Z])" attribute="Structure" context="FindBeginEnvironment" beginRegion="block" />         <RegExpr String="\\end(?=[^a-zA-Z])" attribute="Structure" context="FindEndEnvironment" />-	<RegExpr String="\\(cite|citet|citep|parencite|autocite|Autocite|citetitle)\*(?=[^a-zA-Z])" attribute="Structure" context="Label"/>-	<RegExpr String="\\(documentclass|includegraphics|include|usepackage|bibliography|bibliographystyle)(?=[^a-zA-Z])" attribute="Structure Keyword" context="FancyLabel"/>-	<RegExpr String="\\(cites|Cites|parencites|Parencites|autocites|Autocites|supercites|footcites|Footcites)(?=[^a-zA-Z])" attribute="Structure" context="FancyLabel"/>-	<RegExpr String="\\(cite|citet|citep|nocite|Cite|parencite|Parencite|footcite|Footcite|textcite|Textcite|supercite|autocite|Autocite|citeauthor|Citeauthor|citetitle|citeyear|citeurl|nocite|fullcite|footfullcite)(?=[^a-zA-Z])" attribute="Structure" context="Label"/>-	<RegExpr String="\\(subref\*?|cref\*?|label|pageref|autoref|ref|vpageref|vref|pagecite|eqref)(?=[^a-zA-Z])" attribute="Structure" context="Label"/>+        <RegExpr String="\\(cite|citet|citep|parencite|autocite|Autocite|citetitle)\*(?=[^a-zA-Z])" attribute="Structure" context="Label"/>+        <RegExpr String="\\(documentclass|includegraphics|include|usepackage|bibliography|bibliographystyle)(?=[^a-zA-Z])" attribute="Builtin Macro" context="FancyLabel"/>+        <RegExpr String="\\(cites|Cites|parencites|Parencites|autocites|Autocites|supercites|footcites|Footcites)(?=[^a-zA-Z])" attribute="Structure" context="FancyLabel"/>+        <RegExpr String="\\(cite|citet|citep|nocite|Cite|parencite|Parencite|footcite|Footcite|textcite|Textcite|supercite|autocite|Autocite|citeauthor|Citeauthor|citetitle|citeyear|citeurl|nocite|fullcite|footfullcite)(?=[^a-zA-Z])" attribute="Structure" context="Label"/>+        <RegExpr String="\\(subref\*?|cref\*?|label|pageref|autoref|ref|vpageref|vref|pagecite|eqref)(?=[^a-zA-Z])" attribute="Structure" context="Label"/>         <RegExpr String="\\(part|chapter|section|subsection|subsubsection|paragraph|subparagraph)\*?\s*(?=[\{\[])" attribute="Structure" context="Sectioning"/>-	<RegExpr String="\\(input|hspace|hspace\*|vspace|vspace\*|rule|special|setlength|newboolean|setboolean|setcounter|geometry|textcolor|definecolor|column)(?=[^a-zA-Z])" attribute="Keyword" context="SpecialCommand"/>-        <RegExpr String="\\(footnote)\*?\s*(?=[\{\[])" attribute="Keyword" context="Footnoting"/>-	<RegExpr String="\\(renewcommand|providenewcommand|newcommand)\*?(?=[^a-zA-Z])" attribute="Keyword" context="NewCommand"/>-        <RegExpr String="\\(e|g|x)?def(?=[^a-zA-Z])" attribute="Keyword" context="DefCommand"/>-	<RegExpr String="&lt;&lt;.*&gt;&gt;=" attribute="Normal Text" context="NoWeb" />+        <RegExpr String="\\(input|hspace|hspace\*|vspace|vspace\*|rule|special|setlength|newboolean|setboolean|setcounter|geometry|textcolor|definecolor|column)(?=[^a-zA-Z])" attribute="Macro" context="SpecialCommand"/>+        <RegExpr String="\\(footnote)\*?\s*(?=[\{\[])" attribute="Macro" context="Footnoting"/>+        <RegExpr String="\\(renewcommand|providenewcommand|newcommand)\*?(?=[^a-zA-Z])" attribute="Macro" context="NewCommand"/>+        <RegExpr String="\\(e|g|x)?def(?=[^a-zA-Z])" attribute="Macro" context="DefCommand"/>+        <RegExpr String="&lt;&lt;.*&gt;&gt;=" attribute="Normal Text" context="NoWeb" />         <StringDetect String="\(" attribute="Math" context="MathMode" />         <StringDetect String="\[" attribute="Math" context="MathModeEquation" beginRegion="mathMode" />-	<StringDetect String="\iffalse" attribute="Comment" context="Multiline Comment"/>-	<StringDetect String="\ensuremath{" attribute="Math" context="MathModeEnsure"/>-        <DetectChar char="\" attribute="Keyword" context="ContrSeq"/>+        <StringDetect String="\iffalse" attribute="Comment" context="Multiline Comment"/>+        <StringDetect String="\ensuremath{" attribute="Math" context="MathModeEnsure"/>+        <DetectChar char="\" attribute="Macro" context="ContrSeq"/>         <StringDetect String="$$" attribute="Math" context="MathModeDisplay" beginRegion="mathMode" />         <DetectChar char="$" attribute="Math" context="MathMode" />         <RegExpr String="%\s*BEGIN.*$" attribute="Region Marker" context="#stay" beginRegion="regionMarker" firstNonSpace="true" />@@ -31,9 +31,9 @@         <DetectChar char="&#xd7;" attribute="Bullet" context="#stay"/>       </context> -	<!-- NoWeb -->+        <!-- NoWeb -->       <context name="NoWeb" attribute="Normal Text" lineEndContext="#stay" >-	<RegExpr String="^\s*@\s*" attribute="Normal Text" context="#pop" />+        <RegExpr String="^\s*@\s*" attribute="Normal Text" context="#pop" />       </context>        <!-- LaTeX sectioning commands -->@@ -44,33 +44,33 @@         <DetectChar char="}" attribute="Normal Text" context="#pop"/>         <DetectChar char="%" attribute="Comment" context="Comment"/>       </context>-      <context name="SectioningInside" attribute="Structure Text" lineEndContext="#stay">+      <context name="SectioningInside" attribute="Sectioning Text" lineEndContext="#stay">         <DetectChar char="{" attribute="Normal Text" context="SectioningInside"/>         <DetectChar char="}" attribute="Normal Text" context="#pop"/>-        <StringDetect String="\(" attribute="Structure Math" context="SectioningMathMode" />-        <DetectChar char="\" attribute="Structure Keyword" context="SectioningContrSeq"/>-        <DetectChar char="$" attribute="Structure Math" context="SectioningMathMode" />+        <StringDetect String="\(" attribute="Sectioning Math" context="SectioningMathMode" />+        <DetectChar char="\" attribute="Sectioning Macro" context="SectioningContrSeq"/>+        <DetectChar char="$" attribute="Sectioning Math" context="SectioningMathMode" />         <DetectChar char="%" attribute="Comment" context="Comment"/>         <DetectChar char="&#xd7;" attribute="Bullet" context="#stay"/>       </context>-      <context name="SectioningContrSeq" attribute="Keyword" lineEndContext="#pop">-         <DetectChar char="&#xd7;" attribute="Bullet" context="#stay"/>-        <RegExpr String="[a-zA-Z]+(\+?|\*{0,3})" attribute="Structure Keyword" context="#pop"/>-        <RegExpr String="[^a-zA-Z]" attribute="Structure Keyword" context="#pop" />+      <context name="SectioningContrSeq" attribute="Macro" lineEndContext="#pop">+        <DetectChar char="&#xd7;" attribute="Bullet" context="#stay"/>+        <RegExpr String="[a-zA-Z]+(\+?|\*{0,3})" attribute="Sectioning Macro" context="#pop"/>+        <RegExpr String="[^a-zA-Z]" attribute="Sectioning Macro" context="#pop" />       </context>-      <context name="SectioningMathMode" attribute="Structure Math" lineEndContext="#stay">+      <context name="SectioningMathMode" attribute="Sectioning Math" lineEndContext="#stay">         <StringDetect String="$$" attribute="Error" context="#stay" />-        <DetectChar char="$" attribute="Structure Math" context="#pop" />-        <Detect2Chars char="\" char1=")" attribute="Structure Math" context="#pop" />+        <DetectChar char="$" attribute="Sectioning Math" context="#pop" />+        <Detect2Chars char="\" char1=")" attribute="Sectioning Math" context="#pop" />         <Detect2Chars char="\" char1="]" attribute="Error" context="#stay" />-        <DetectChar char="\" attribute="Structure Keyword Mathmode" context="SectioningMathContrSeq"/>+        <DetectChar char="\" attribute="Sectioning Macro Mathmode" context="SectioningMathContrSeq"/>         <DetectChar char="%" attribute="Comment" context="Comment"/>         <DetectChar char="&#xd7;" attribute="Bullet" context="#stay"/>       </context>-      <context name="SectioningMathContrSeq" attribute="Structure Keyword Mathmode" lineEndContext="#pop">+      <context name="SectioningMathContrSeq" attribute="Sectioning Macro Mathmode" lineEndContext="#pop">         <DetectChar char="&#xd7;" attribute="Bullet" context="#stay"/>-        <RegExpr String="[a-zA-Z]+\*?" attribute="Structure Keyword Mathmode" context="#pop"/>-        <RegExpr String="[^a-zA-Z]" attribute="Structure Keyword Mathmode" context="#pop" />+        <RegExpr String="[a-zA-Z]+\*?" attribute="Sectioning Macro Mathmode" context="#pop"/>+        <RegExpr String="[^a-zA-Z]" attribute="Sectioning Macro Mathmode" context="#pop" />       </context>        <!-- LaTeX Footnote commands -->@@ -124,14 +124,14 @@       </context>        <!-- LaTeX command in text mode -->-      <context name="ContrSeq" attribute="Keyword" lineEndContext="#pop">-        <StringDetect String="verb*" attribute="Keyword" context="Verb"/>-        <RegExpr String="(Verb|verb)(?=[^a-zA-Z])" attribute="Keyword" context="Verb"/>-        <RegExpr String="(lstinline)(?=[^a-zA-Z])" attribute="Keyword" context="Lstinline"/>-        <RegExpr String="mint(?=[^a-zA-Z])" attribute="Keyword" context="MintParam"/>+      <context name="ContrSeq" attribute="Macro" lineEndContext="#pop">+        <StringDetect String="verb*" attribute="Macro" context="Verb"/>+        <RegExpr String="(Verb|verb)(?=[^a-zA-Z])" attribute="Macro" context="Verb"/>+        <RegExpr String="(lstinline)(?=[^a-zA-Z])" attribute="Macro" context="Lstinline"/>+        <RegExpr String="mint(?=[^a-zA-Z])" attribute="Macro" context="MintParam"/>         <DetectChar char="&#xd7;" attribute="Bullet" context="#stay"/>-        <RegExpr String="[a-zA-Z@]+(\+?|\*{0,3})" attribute="Keyword" context="#pop"/>-        <RegExpr String="[^a-zA-Z]" attribute="Keyword" context="#pop" />+        <RegExpr String="[a-zA-Z@]+(\+?|\*{0,3})" attribute="Macro" context="#pop"/>+        <RegExpr String="[^a-zA-Z]" attribute="Macro" context="#pop" />       </context>       <context name="ToEndOfLine" attribute="Normal Text" lineEndContext="#pop">       </context>@@ -177,7 +177,7 @@        <context name="LabelOption" attribute="Normal Text" lineEndContext="#stay">         <StringDetect String="\(" attribute="Math" context="MathMode" />-        <DetectChar char="\" attribute="Keyword" context="ContrSeq"/>+        <DetectChar char="\" attribute="Macro" context="ContrSeq"/>         <DetectChar char="$" attribute="Math" context="MathMode" />         <DetectChar char="%" attribute="Comment" context="Comment"/>         <DetectChar char="&#xd7;" attribute="Bullet" context="#stay"/>@@ -191,14 +191,14 @@        <!-- labels from biblatex commands -->       <context name="FancyLabel" attribute="Normal Text" lineEndContext="#stay" fallthrough="true" fallthroughContext="#pop">-	      <RegExpr String="\s*\{\s*" attribute="Normal Text" context="FancyLabelParameter"/>-	      <RegExpr String="\s*\[\s*" attribute="Normal Text" context="FancyLabelOption"/>-	      <RegExpr String="\s*\(\s*" attribute="Normal Text" context="FancyLabelRoundBrackets"/>+              <RegExpr String="\s*\{\s*" attribute="Normal Text" context="FancyLabelParameter"/>+              <RegExpr String="\s*\[\s*" attribute="Normal Text" context="FancyLabelOption"/>+              <RegExpr String="\s*\(\s*" attribute="Normal Text" context="FancyLabelRoundBrackets"/>       </context>        <context name="FancyLabelParameter" attribute="Environment" lineEndContext="#stay">         <StringDetect String="\(" attribute="Math" context="MathMode" />-        <DetectChar char="\" attribute="Keyword" context="ContrSeq"/>+        <DetectChar char="\" attribute="Macro" context="ContrSeq"/>         <DetectChar char="$" attribute="Math" context="MathMode" />         <DetectChar char="%" attribute="Comment" context="Comment"/>         <DetectChar char="&#xd7;" attribute="Bullet" context="#stay"/>@@ -207,30 +207,30 @@        <context name="FancyLabelOption" attribute="Option Text" lineEndContext="#stay">         <StringDetect String="\(" attribute="Math" context="MathMode" />-        <DetectChar char="\" attribute="Keyword" context="ContrSeq"/>+        <DetectChar char="\" attribute="Macro" context="ContrSeq"/>         <DetectChar char="$" attribute="Math" context="MathMode" />         <DetectChar char="%" attribute="Comment" context="Comment"/>         <DetectChar char="&#xd7;" attribute="Bullet" context="#stay"/>         <RegExpr String="\s*\]\s*" attribute="Normal Text" context="#pop"/>       </context>-      +       <context name="FancyLabelRoundBrackets" attribute="Normal Text" lineEndContext="#stay">-	      <StringDetect String="\(" attribute="Math" context="MathMode" />-	      <DetectChar char="\" attribute="Keyword" context="ContrSeq"/>-	      <DetectChar char="$" attribute="Math" context="MathMode" />-	      <DetectChar char="%" attribute="Comment" context="Comment"/>-	      <DetectChar char="&#xd7;" attribute="Bullet" context="#stay"/>-	      <RegExpr String="\s*\)\s*" attribute="Normal Text" context="#pop"/>+              <StringDetect String="\(" attribute="Math" context="MathMode" />+              <DetectChar char="\" attribute="Macro" context="ContrSeq"/>+              <DetectChar char="$" attribute="Math" context="MathMode" />+              <DetectChar char="%" attribute="Comment" context="Comment"/>+              <DetectChar char="&#xd7;" attribute="Bullet" context="#stay"/>+              <RegExpr String="\s*\)\s*" attribute="Normal Text" context="#pop"/>       </context>        <!-- Special commands -->       <context name="SpecialCommand" attribute="Normal Text" lineEndContext="#stay" fallthrough="true" fallthroughContext="#pop">-	      <RegExpr String="\s*\{\s*" attribute="Normal Text" context="SpecialCommandParameterOption"/>+              <RegExpr String="\s*\{\s*" attribute="Normal Text" context="SpecialCommandParameterOption"/>       </context>        <context name="SpecialCommandParameterOption" attribute="Option Text" lineEndContext="#stay">         <StringDetect String="\(" attribute="Math" context="MathMode" />-        <DetectChar char="\" attribute="Keyword" context="ContrSeq"/>+        <DetectChar char="\" attribute="Macro" context="ContrSeq"/>         <DetectChar char="$" attribute="Math" context="MathMode" />         <DetectChar char="%" attribute="Comment" context="Comment"/>         <DetectChar char="&#xd7;" attribute="Bullet" context="#stay"/>@@ -404,18 +404,18 @@        <!-- parse math environment -->       <context name="MathModeEnv" attribute="Math" lineEndContext="#stay">-	<RegExpr String="\\begin(?=[^a-zA-Z])" attribute="Structure" context="FindBeginEnvironment" beginRegion="block"/>-	<RegExpr String="\\end(?=[^a-zA-Z])" attribute="Structure" context="MathFindEnd"/>+        <RegExpr String="\\begin(?=[^a-zA-Z])" attribute="Structure" context="FindBeginEnvironment" beginRegion="block"/>+        <RegExpr String="\\end(?=[^a-zA-Z])" attribute="Structure" context="MathFindEnd" endRegion="block"/>         <StringDetect String="\(" attribute="Error" context="#stay" />         <StringDetect String="\[" attribute="Error" context="#stay" />         <StringDetect String="\)" attribute="Error" context="#stay" />         <StringDetect String="\]" attribute="Error" context="#stay" />-        <RegExpr String="\\(text|intertext|mbox)\s*(?=\{)" attribute="Keyword Mathmode" context="MathModeText" />-        <DetectChar char="\" attribute="Keyword Mathmode" context="MathContrSeq"/>+        <RegExpr String="\\(text|intertext|mbox)\s*(?=\{)" attribute="Macro Mathmode" context="MathModeText" />+        <DetectChar char="\" attribute="Macro Mathmode" context="MathContrSeq"/>         <StringDetect String="$$" attribute="Error" context="#stay" />         <DetectChar char="$" attribute="Error" context="#stay" />         <DetectChar char="%" attribute="Comment" context="Comment"/>-	<DetectChar char="&#xd7;" attribute="Bullet" context="#stay"/>+        <DetectChar char="&#xd7;" attribute="Bullet" context="#stay"/>         <RegExpr String="%\s*BEGIN.*$" attribute="Region Marker" context="#stay" beginRegion="regionMarker" firstNonSpace="true"/>         <RegExpr String="%\s*END.*$" attribute="Region Marker" context="#stay" endRegion="regionMarker" firstNonSpace="true"/>       </context>@@ -436,17 +436,17 @@        <!-- parse tabular text -->       <context name="Tab" attribute="Tab" lineEndContext="#stay">-	<DetectChar char="&amp;" attribute="Ampersand" context="#stay"/>-	<StringDetect String="@{" attribute="Column Separator" context="Column Separator"/>+        <DetectChar char="&amp;" attribute="Ampersand" context="#stay"/>+        <StringDetect String="@{" attribute="Column Separator" context="Column Separator"/>         <RegExpr String="\\end(?=\s*\{(tabularx|tabular|supertabular|mpsupertabular|xtabular|mpxtabular|longtable)\*?\})" attribute="Structure"  context="TabFindEnd"/>-	<IncludeRules context="Normal Text" />+        <IncludeRules context="Normal Text" />       </context>        <context name="Column Separator" attribute="Column Separator" lineEndContext="#stay">-	      <DetectChar char="{" attribute="Column Separator" context="Column Separator"/>-	      <DetectChar char="}" attribute="Column Separator" context="#pop"/>-	      <RegExpr String="." attribute="Column Separator"  context="#stay"/>-<!-- 	 the last regexp is very stupid. Suggestions are welcome! Fallthrough did not help-->+              <DetectChar char="{" attribute="Column Separator" context="Column Separator"/>+              <DetectChar char="}" attribute="Column Separator" context="#pop"/>+              <RegExpr String="." attribute="Column Separator"  context="#stay"/>+<!--          the last regexp is very stupid. Suggestions are welcome! Fallthrough did not help-->       </context>        <!-- end of tabular environment -->@@ -485,18 +485,18 @@        <!-- math mode: \ensuremath{...} !-->       <context name="MathModeEnsure" attribute="Math" lineEndContext="#stay">-	      <DetectChar char="{" attribute="Math" context="MathModeEnsure" />-	      <DetectChar char="}" attribute="Math" context="#pop" />-	      <IncludeRules context="MathModeCommon" />+              <DetectChar char="{" attribute="Math" context="MathModeEnsure" />+              <DetectChar char="}" attribute="Math" context="#pop" />+              <IncludeRules context="MathModeCommon" />       </context>        <!-- math mode common -->       <context name="MathModeCommon" attribute="Math" lineEndContext="#stay">         <RegExpr String="\\(begin|end)\s*\{(equation|displaymath|eqnarray|subeqnarray|math|multline|gather|align|flalign|alignat|xalignat|xxalignat|IEEEeqnarray)\*?\}" attribute="Error" context="#stay"/>-	<RegExpr String="\\begin(?=[^a-zA-Z])" attribute="Keyword Mathmode" context="#stay" beginRegion="block" />-	<RegExpr String="\\end(?=[^a-zA-Z])" attribute="Keyword Mathmode" context="#stay" endRegion="block" />-        <RegExpr String="\\(text|intertext|mbox)\s*(?=\{)" attribute="Keyword Mathmode" context="MathModeText" />-        <DetectChar char="\" attribute="Keyword Mathmode" context="MathContrSeq"/>+        <RegExpr String="\\begin(?=[^a-zA-Z])" attribute="Macro Mathmode" context="#stay" beginRegion="block" />+        <RegExpr String="\\end(?=[^a-zA-Z])" attribute="Macro Mathmode" context="#stay" endRegion="block" />+        <RegExpr String="\\(text|intertext|mbox)\s*(?=\{)" attribute="Macro Mathmode" context="MathModeText" />+        <DetectChar char="\" attribute="Macro Mathmode" context="MathContrSeq"/>         <DetectChar char="%" attribute="Comment" context="Comment"/>         <RegExpr String="%\s*BEGIN.*$" attribute="Region Marker" context="#stay" beginRegion="regionMarker" firstNonSpace="true"/>         <RegExpr String="%\s*END.*$" attribute="Region Marker" context="#stay" endRegion="regionMarker" firstNonSpace="true"/>@@ -504,10 +504,10 @@       </context>        <!-- command in mathmode -->-      <context name="MathContrSeq" attribute="Keyword Mathmode" lineEndContext="#pop">+      <context name="MathContrSeq" attribute="Macro Mathmode" lineEndContext="#pop">         <DetectChar char="&#xd7;" attribute="Bullet" context="#stay"/>-        <RegExpr String="[a-zA-Z]+\*?" attribute="Keyword Mathmode" context="#pop"/>-        <RegExpr String="[^a-zA-Z]" attribute="Keyword Mathmode" context="#pop" />+        <RegExpr String="[a-zA-Z]+\*?" attribute="Macro Mathmode" context="#pop"/>+        <RegExpr String="[^a-zA-Z]" attribute="Macro Mathmode" context="#pop" />       </context>        <!-- text in mathmode -->@@ -518,7 +518,7 @@       <context name="MathModeTextParameterStart" attribute="Normal Text" lineEndContext="#stay" >         <RegExpr String="\\." attribute="Normal Text" context="#stay"/>         <DetectChar char="&#xd7;" attribute="Bullet" context="#stay"/>-	<RegExpr String="\$.*\$" minimal="true" attribute="Math" context="#stay"/>+        <RegExpr String="\$.*\$" minimal="true" attribute="Math" context="#stay"/>         <DetectChar char="{" attribute="Normal Text" context="MathModeTextParameter"/>         <DetectChar char="}" attribute="Normal Text" context="#pop#pop"/>         <DetectChar char="%" attribute="Comment" context="Comment"/>@@ -533,39 +533,42 @@       </context>       <!--    iffalse aka multiline comment    -->-	<context name="Multiline Comment" attribute="Comment" lineEndContext="#stay">-		<StringDetect String="\fi" attribute="Comment" context="#pop"/>-		<StringDetect String="\else" attribute="Comment" context="#pop"/>-	</context>+        <context name="Multiline Comment" attribute="Comment" lineEndContext="#stay">+                <StringDetect String="\fi" attribute="Comment" context="#pop"/>+                <StringDetect String="\else" attribute="Comment" context="#pop"/>+        </context>       <!-- comment -->       <context name="Comment" attribute="Comment" lineEndContext="#pop">-      	<RegExpr String="(FIXME|TODO):?" attribute="Alert" context="#stay"/>-	<StringDetect String="\KileResetHL" attribute="Comment" context="Normal Text"/>-	<StringDetect String="\KateResetHL" attribute="Comment" context="Normal Text"/>+              <RegExpr String="(FIXME|TODO):?" attribute="Alert" context="#stay"/>+        <StringDetect String="\KileResetHL" attribute="Comment" context="Normal Text"/>+        <StringDetect String="\KateResetHL" attribute="Comment" context="Normal Text"/>       </context>     </contexts>      <itemDatas>       <itemData name="Normal Text" defStyleNum="dsNormal"/>       <itemData name="Option Text" defStyleNum="dsNormal" spellChecking="false"/>-      <itemData name="Keyword" defStyleNum="dsNormal" color="#800000" selColor="#60FFFF" bold="0" italic="0" spellChecking="false"/>+      <itemData name="Macro" defStyleNum="dsFunction" spellChecking="false"/>       <itemData name="Comment" defStyleNum="dsComment" spellChecking="false"/>-      <itemData name="Error" defStyleNum="dsAlert" spellChecking="false"/>-      <itemData name="Math" defStyleNum="dsNormal" color="#00A000" selColor="#FF40FF"  bold="0" italic="0" spellChecking="false"/>-      <itemData name="Structure" defStyleNum="dsNormal" color="#F00000" selColor="#80FFD0" bold="0" italic="0" spellChecking="false"/>-      <itemData name="Keyword Mathmode" defStyleNum="dsNormal" color="#606000" selColor="#FFD0FF" bold="0" italic="0" spellChecking="false"/>-      <itemData name="Environment" defStyleNum="dsNormal" color="#0000D0" selColor="#FFFF90" bold="0" italic="0" spellChecking="false"/>-      <itemData name="Verbatim" defStyleNum="dsNormal" color="#a08000" selColor="#80D0FF" bold="0" italic="0" spellChecking="false"/>+      <itemData name="Error" defStyleNum="dsError" spellChecking="false"/>+      <itemData name="Math" defStyleNum="dsSpecialString" spellChecking="false"/>+      <!-- begin/end -->+      <itemData name="Structure" defStyleNum="dsKeyword" spellChecking="false"/>+      <itemData name="Builtin Macro" defStyleNum="dsBuiltIn" spellChecking="false"/>+      <itemData name="Macro Mathmode" defStyleNum="dsSpecialChar" spellChecking="false"/>+      <itemData name="Environment" defStyleNum="dsExtension" spellChecking="false"/>+      <itemData name="Verbatim" defStyleNum="dsVerbatimString" spellChecking="false"/>       <itemData name="Region Marker" defStyleNum="dsRegionMarker" spellChecking="false"/>-      <itemData name="Bullet" defStyleNum="dsNormal" color="#FF00C4" bold="1" underline="1" spellChecking="false"/>-      <itemData name="Ampersand" defStyleNum="dsNormal" color="#002793" bold="1" spellChecking="false"/>-      <itemData name="Column Separator" defStyleNum="dsNormal" color="#002793" spellChecking="false"/>+      <itemData name="Bullet" defStyleNum="dsInformation" spellChecking="false"/>+      <itemData name="Ampersand" defStyleNum="dsOperator" bold="1" spellChecking="false"/>+      <itemData name="Column Separator" defStyleNum="dsChar" spellChecking="false"/>       <itemData name="Alert" defStyleNum="dsAlert" spellChecking="false"/>-      <itemData name="Structure Text" defStyleNum="dsNormal" color="#000000" selColor="#FFFFFF" bold="1" italic="0"/>-      <itemData name="Structure Keyword" defStyleNum="dsNormal" color="#800000" selColor="#60FFFF" bold="1" italic="0" spellChecking="false"/>-      <itemData name="Structure Math" defStyleNum="dsNormal" color="#00A000" selColor="#FF40FF"  bold="1" italic="0"/>-      <itemData name="Structure Keyword Mathmode" defStyleNum="dsNormal" color="#606000" selColor="#FFD0FF" bold="1" italic="0" spellChecking="false"/>+      <!-- in section headers -->+      <itemData name="Sectioning Text" defStyleNum="dsNormal" bold="1"/>+      <itemData name="Sectioning Macro" defStyleNum="dsFunction" bold="1" spellChecking="false"/>+      <itemData name="Sectioning Math" defStyleNum="dsSpecialString" bold="1"/>+      <itemData name="Sectioning Macro Mathmode" defStyleNum="dsSpecialChar" bold="1" spellChecking="false"/>     </itemDatas>   </highlighting> 
xml/lex.xml view
@@ -20,7 +20,7 @@      ======================================================================== -->-<language name="Lex/Flex" version="1.01" kateversion="2.4" section="Sources" extensions="*.l;*.lex;*.flex" author="Jan Villat (jan.villat@net2000.ch)" license="LGPL">+<language name="Lex/Flex" version="2" kateversion="2.4" section="Sources" extensions="*.l;*.lex;*.flex" author="Jan Villat (jan.villat@net2000.ch)" license="LGPL">  <highlighting> <contexts>
xml/lilypond.xml view
@@ -56,7 +56,7 @@ ]> <language name="LilyPond" section="Other"           style="lilypond" indenter="lilypond"-          version="3.07" kateversion="3.0"+          version="4" kateversion="3.3"           extensions="*.ly;*.LY;*.ily;*.ILY;*.lyi;*.LYI"           mimetype="text/x-lilypond"           author="Wilbert Berendsen (info@wilbertberendsen.nl)" license="LGPL">
xml/literate-curry.xml view
@@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd">-<language name="Literate Curry" version="0.2" kateversion="2.3"+<language name="Literate Curry" version="1" kateversion="3.4"           section="Sources" extensions="*.lcurry" mimetype="text/x-curry"           author="Björn Peemöller (bjp@informatik.uni-kiel.de)" license="LGPL"           indenter="haskell">
xml/literate-haskell.xml view
@@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd">-<language name="Literate Haskell" version="2.1" kateversion="2.3" section="Sources" extensions="*.lhs" mimetype="text/x-haskell" author="Nicolas Wu (zenzike@gmail.com)" license="LGPL">+<language name="Literate Haskell" version="3" kateversion="3.4" section="Sources" extensions="*.lhs" mimetype="text/x-haskell" author="Nicolas Wu (zenzike@gmail.com)" license="LGPL">   <highlighting>   <contexts>     <context attribute="Text" lineEndContext="#stay" name="text">
+ xml/llvm.xml view
@@ -0,0 +1,255 @@+<?xml version="1.0" encoding="UTF-8"?>+<!DOCTYPE language SYSTEM "language.dtd">+<language name="LLVM" section="Sources"+          version="1.00" kateversion="3.4.4"+          extensions="*.ll"+          mimetype=""+          author="LLVM Team"+          license="LLVM Release License">+  <highlighting>+    <list name="keywords">+      <item> begin </item>+      <item> end </item>+      <item> true </item>+      <item> false </item>+      <item> declare </item>+      <item> define </item>+      <item> global </item>+      <item> constant </item>+      <item> gc </item>+      <item> module </item>+      <item> asm </item>+      <item> target </item>+      <item> datalayout </item>+      <item> null </item>+      <item> undef </item>+      <item> blockaddress </item>+      <item> sideeffect </item>+      <item> alignstack </item>+      <item> to </item>+      <item> unwind </item>+      <item> nuw </item>+      <item> nsw </item>+      <item> inbounds </item>+      <item> tail </item>+      <item> triple </item>+      <item> type </item>+      <item> align </item>+      <item> alias </item>+    </list>+    <list name="linkage-types">+      <item> private </item>+      <item> internal </item>+      <item> available_externally </item>+      <item> linkonce </item>+      <item> weak </item>+      <item> common </item>+      <item> appending </item>+      <item> extern_weak </item>+      <item> linkonce_odr </item>+      <item> weak_odr </item>+      <item> dllimport </item>+      <item> dllexport </item>+    </list>+    <list name="calling-conventions">+      <item> ccc </item>+      <item> fastcc </item>+      <item> coldcc </item>+      <item> cc </item>+    </list>+    <list name="visibility-styles">+      <item> default </item>+      <item> hidden </item>+      <item> protected </item>+    </list>+    <list name="parameter-attributes">+      <item> zeroext </item>+      <item> signext </item>+      <item> inreg </item>+      <item> byval </item>+      <item> sret </item>+      <item> noalias </item>+      <item> nocapture </item>+      <item> nest </item>+    </list>+    <list name="function-attributes">+      <item> alignstack </item>+      <item> alwaysinline </item>+      <item> inlinehint </item>+      <item> naked </item>+      <item> noimplicitfloat </item>+      <item> noinline </item>+      <item> noredzone </item>+      <item> noreturn </item>+      <item> nounwind </item>+      <item> optnone </item>+      <item> optsize </item>+      <item> readnone </item>+      <item> readonly </item>+      <item> ssp </item>+      <item> sspreq </item>+      <item> sspstrong </item>+    </list>+    <list name="types">+      <item> float </item>+      <item> double </item>+      <item> fp128 </item>+      <item> x86_fp80 </item>+      <item> ppc_fp128 </item>+      <item> x86mmx </item>+      <item> void </item>+      <item> label </item>+      <item> metadata </item>+      <item> opaque </item>+    </list>+    <list name="intrinsic-global-variables">+      <item> llvm.used </item>+      <item> llvm.compiler.used </item>+      <item> llvm.global_ctors </item>+      <item> llvm.global_dtors </item>+    </list>+    <list name="instructions">+      <item> ret </item>+      <item> br </item>+      <item> switch </item>+      <item> indirectbr </item>+      <item> invoke </item>+      <item> unwind </item>+      <item> unreachable </item>+      <item> add </item>+      <item> fadd </item>+      <item> sub </item>+      <item> fsub </item>+      <item> mul </item>+      <item> fmul </item>+      <item> udiv </item>+      <item> sdiv </item>+      <item> fdiv </item>+      <item> urem </item>+      <item> srem </item>+      <item> frem </item>+      <item> shl </item>+      <item> lshr </item>+      <item> ashr </item>+      <item> and </item>+      <item> or </item>+      <item> xor </item>+      <item> extractelement </item>+      <item> insertelement </item>+      <item> shufflevector </item>+      <item> extractvalue </item>+      <item> insertvalue </item>+      <item> alloca </item>+      <item> load </item>+      <item> store </item>+      <item> getelementptr </item>+      <item> trunc </item>+      <item> zext </item>+      <item> sext </item>+      <item> fptrunc </item>+      <item> fpext </item>+      <item> fptoui </item>+      <item> fptosi </item>+      <item> uitofp </item>+      <item> sitofp </item>+      <item> ptrtoint </item>+      <item> inttoptr </item>+      <item> bitcast </item>+      <item> addrspacecast </item>+      <item> icmp </item>+      <item> fcmp </item>+      <item> phi </item>+      <item> select </item>+      <item> call </item>+      <item> va_arg </item>+    </list>+    <list name="conditions">+      <item> eq </item>+      <item> ne </item>+      <item> ugt </item>+      <item> uge </item>+      <item> ult </item>+      <item> ule </item>+      <item> sgt </item>+      <item> sge </item>+      <item> slt </item>+      <item> sle </item>+      <item> oeq </item>+      <item> ogt </item>+      <item> oge </item>+      <item> olt </item>+      <item> ole </item>+      <item> one </item>+      <item> ord </item>+      <item> ueq </item>+      <item> une </item>+      <item> uno </item>+    </list>+    <contexts>+      <context name="llvm" attribute="Normal Text" lineEndContext="#stay">+        <DetectSpaces />+        <AnyChar String="@%" attribute="Symbol" context="symbol" />++        <DetectChar char="{" beginRegion="Brace1" />+        <DetectChar char="}" endRegion="Brace1" />+        <DetectChar char=";" attribute="Comment" context="comment" />+        <DetectChar attribute="String" context="string" char="&quot;" />+        <RegExpr String="i[0-9]+" attribute="Data Type" context="#stay" />+        <RegExpr attribute="Symbol" String="[-a-zA-Z$._][-a-zA-Z$._0-9]*:" context="#stay" />+        <Int attribute="Int" context="#stay" />++        <keyword attribute="Keyword"   String="keywords" />+        <keyword attribute="Keyword"   String="linkage-types" />+        <keyword attribute="Keyword"   String="calling-conventions" />+        <keyword attribute="Keyword"   String="visibility-styles" />+        <keyword attribute="Keyword"   String="parameter-attributes" />+        <keyword attribute="Keyword"   String="function-attributes" />+        <keyword attribute="Data Type" String="types" />+        <keyword attribute="Keyword"   String="intrinsic-global-variables" />+        <keyword attribute="Keyword"   String="instructions" />+        <keyword attribute="Keyword"   String="conditions" />+      </context>++      <context name="symbol" attribute="Symbol" lineEndContext="#pop">+        <DetectChar attribute="Symbol" context="symbol-string" char="&quot;" />+        <RegExpr attribute="Symbol" String="([-a-zA-Z$._][-a-zA-Z$._0-9]*|[0-9]+)" context="#pop" />+      </context>++      <context name="symbol-string" attribute="Symbol" lineEndContext="#stay">+        <DetectChar attribute="Symbol" context="#pop#pop" char="&quot;" />+      </context>++      <context name="string" attribute="String" lineEndContext="#stay">+        <DetectChar attribute="String" context="#pop" char="&quot;" />+      </context>++      <context name="comment" attribute="Comment" lineEndContext="#pop">+        <DetectSpaces />+        <!-- TODO: Add FileCheck syntax highlighting -->+        <IncludeRules context="##Alerts" />+        <DetectIdentifier />+      </context>+    </contexts>+    <itemDatas>+      <itemData name="Normal Text" defStyleNum="dsNormal" />+      <itemData name="Keyword" defStyleNum="dsKeyword" />+      <itemData name="Data Type" defStyleNum="dsDataType" />+      <itemData name="Int" defStyleNum="dsDecVal" />+      <itemData name="Hex" defStyleNum="dsBaseN" />+      <itemData name="Float" defStyleNum="dsFloat" />+      <itemData name="String" defStyleNum="dsString" />+      <itemData name="Comment" defStyleNum="dsComment" />+      <itemData name="Function" defStyleNum="dsFunction" />+      <itemData name="Symbol" defStyleNum="dsFunction" />+    </itemDatas>+  </highlighting>+  <general>+    <comments>+      <comment name="singleLine" start=";" />+    </comments>+    <keywords casesensitive="1" weakDeliminator="." />+  </general>+</language>+<!--+// kate: space-indent on; indent-width 2; replace-tabs on;+-->
xml/lua.xml view
@@ -35,7 +35,7 @@     - improved highlighting      -->-<language name="Lua" version="1.06" indenter="lua" kateversion="2.4" section="Scripts" extensions="*.lua" mimetype="text/x-lua">+<language name="Lua" version="2" indenter="lua" kateversion="3.4" section="Scripts" extensions="*.lua" mimetype="text/x-lua">   <highlighting>     <list name="keywords">       <item> and </item>
xml/m4.xml view
@@ -38,7 +38,7 @@   SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  -->-<language name="GNU M4" version="1.1" section="Sources" kateversion="2.5" extensions="*.m4;" author="Jaak Ristioja" license="New BSD License">+<language name="GNU M4" version="2" section="Sources" kateversion="3.0" extensions="*.m4;" author="Jaak Ristioja" license="New BSD License">   <highlighting>     <list name="optbuiltins">       <item> __gnu__ </item>
xml/makefile.xml view
@@ -8,7 +8,7 @@ <!-- v2.1 by Alex Turbov <i.zaufi@gmail.com>      improve comments handling --> <language name="Makefile" section="Other"-          version="2.1" kateversion="2.4"+          version="3" kateversion="3.4"           extensions="GNUmakefile;Makefile;makefile;GNUmakefile.*;Makefile.*;makefile.*;*.mk"           mimetype="text/x-makefile"           author="Per Wigren (wigren@home.se)" license="">
xml/mandoc.xml view
@@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd">-<language name="Troff Mandoc" section="Markup" version="0.11" kateversion="2.9" extensions="*.1;*.2;*.3;*.4;*.5;*.6;*.7;*.8;*.1m;*.3x;*.tmac" mimetype="" author="Matthew Woehlke (mw_triad@users.sourceforge.net)" license="GPL">+<language name="Troff Mandoc" section="Markup" version="1" kateversion="2.4" extensions="*.1;*.2;*.3;*.4;*.5;*.6;*.7;*.8;*.1m;*.3x;*.tmac" mimetype="" author="Matthew Woehlke (mw_triad@users.sourceforge.net)" license="GPL">    <highlighting> 
xml/markdown.xml view
@@ -35,7 +35,7 @@ <!ENTITY strikeoutregex "[~]{2}[^~].*[^~][~]{2}"> <!-- pandoc style --> ]>-<language name="Markdown" version="1.4" kateversion="3.7" section="Markup" extensions="*.md;*.mmd;*.markdown" priority="15" author="Darrin Yeager, Claes Holmerson" license="GPL,BSD">+<language name="Markdown" version="2" kateversion="3.8" section="Markup" extensions="*.md;*.mmd;*.markdown" priority="15" author="Darrin Yeager, Claes Holmerson" license="GPL,BSD">   <highlighting>     <contexts>       <context attribute="Normal Text" lineEndContext="#stay" name="Normal Text">
xml/mathematica.xml view
@@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd">-<language name="Mathematica" version="8.1" kateversion="2.4" section="Scientific" extensions="*.nb" indenter="cstyle"+<language name="Mathematica" version="9" kateversion="3.4" section="Scientific" extensions="*.nb" indenter="cstyle"           author="Sven Brauch (svenbrauch@gmail.com)" license="LGPL" priority="3">   <highlighting>     <list name="functions">
xml/matlab.xml view
@@ -57,7 +57,7 @@  <!DOCTYPE language SYSTEM "language.dtd"> -<language name="Matlab" version="1.31" kateversion="2.2" section="Scientific" extensions="*.m;*.M" mimetype="text/mfile" casesensitive="1">+<language name="Matlab" version="2" kateversion="2.2" section="Scientific" extensions="*.m;*.M" mimetype="text/mfile" casesensitive="1">   <highlighting>      <!-- Reserved keywords in MATLAB -->
xml/maxima.xml view
@@ -21,7 +21,7 @@  <!DOCTYPE language SYSTEM "language.dtd"> -<language name="Maxima" version="0.17" kateversion="2.0" section="Scientific" extensions="*.mac;*.MAC;*.dem;*.DEM" casesensitive="1" author="Alexey Beshenov &lt;al@beshenov.ru>" license="LGPL">+<language name="Maxima" version="1" kateversion="5.2" section="Scientific" extensions="*.mac;*.MAC;*.dem;*.DEM" casesensitive="1" author="Alexey Beshenov &lt;al@beshenov.ru>" license="LGPL">     <highlighting>          <list name="MaximaKeyword">
xml/mediawiki.xml view
@@ -6,7 +6,7 @@   <!ENTITY wikiLinkWithDescription "\[\[[^]|]*\|[^]]*\]\]">   <!ENTITY wikiLinkWithoutDescription "\[\[[^]|]*\]\]"> ]>-<language name="MediaWiki" section="Markup" version="1.11" kateversion="3.10" extensions="*.mediawiki" mimetype="" license="FDL" >+<language name="MediaWiki" section="Markup" version="2" kateversion="3.4" extensions="*.mediawiki" mimetype="" license="FDL" >   <highlighting>     <contexts>       <context attribute="Normal" lineEndContext="#stay" name="normal" >
xml/metafont.xml view
@@ -6,7 +6,7 @@ -->  <!DOCTYPE language SYSTEM "language.dtd">-<language name="Metapost/Metafont" section="Markup" version="0.9" kateversion="3.3" +<language name="Metapost/Metafont" section="Markup" version="1" kateversion="2.4" extensions="*.mp;*.mps;*.mpost;*.mf" mimetype="text/x-metapost"  author="Yedvilun (yedvilun@gmail.com)" license="LGPL">   <highlighting>
xml/mips.xml view
@@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd">-<language name="MIPS Assembler" version="1.03" kateversion="2.4" section="Assembler" extensions="*.s;" mimetype="text/x-mips" author="Dominik Haumann (dhdev@gmx.de)" license="LGPL" priority="-1">+<language name="MIPS Assembler" version="2" kateversion="2.4" section="Assembler" extensions="*.s;" mimetype="text/x-mips" author="Dominik Haumann (dhdev@gmx.de)" license="LGPL" priority="-1">   <highlighting>     <list name="type">       <item> .align </item>
xml/modelines.xml view
@@ -8,8 +8,8 @@   Copyright (c) 2012-2014 by Alex Turbov (i.zaufi@gmail.com)   --> <language name="Modelines"-          version="1.2"-          kateversion="2.4"+          version="2"+          kateversion="3.4"           section="Other"           extensions=""           mimetype=""@@ -42,6 +42,7 @@     <item> byte-order-marker </item>     <item> dynamic-word-wrap </item>     <item> folding-markers </item>+    <item> folding-preview </item>                          <!-- Since KTextEditor 5.24 -->     <item> icon-border </item>     <item> indent-pasted-text </item>                       <!-- Since KDE 4.11 -->     <item> keep-extra-spaces </item>@@ -55,6 +56,8 @@     <item> replace-tabs </item>     <item> replace-trailing-space-save </item>     <item> smart-home </item>+    <item> scrollbar-minimap</item>                         <!-- Since KTextEditor 5.24 -->+    <item> scrollbar-preview</item>                         <!-- Since KTextEditor 5.24 -->     <item> space-indent </item>     <item> show-tabs </item>     <item> show-trailing-spaces </item>                     <!-- NOTE Since KDE 4.?? -->
xml/modula-2.xml view
@@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd">-<language name="Modula-2" version="1.03" kateversion="2.1" section="Sources" extensions="*.mod;*.def;*.mi;*.md" mimetype="text/x-modula-2">+<language name="Modula-2" version="2" kateversion="2.2" section="Sources" extensions="*.mod;*.def;*.mi;*.md" mimetype="text/x-modula-2">   <highlighting>     <list name="directives">       <item> ASSEMBLER </item>
xml/monobasic.xml view
@@ -10,7 +10,7 @@     License: GNU General Public License --> -<language name="MonoBasic" section="Sources" version="1.01" kateversion="2.3" extensions="*.vb" mimetype="" author="Davide Bettio (davide.bettio@kdemail.net)" license="GPL">+<language name="MonoBasic" section="Sources" version="2" kateversion="2.3" extensions="*.vb" mimetype="" author="Davide Bettio (davide.bettio@kdemail.net)" license="GPL">   <highlighting>      <list name="keywords">         <item> Option </item>
xml/nasm.xml view
@@ -40,7 +40,7 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -->-<language name="Intel x86 (NASM)" section="Assembler" version="1.40" kateversion="2.3" extensions="*.asm" mimetype="" author="Nicola Gigante (nicola.gigante@gmail.com)" license="GPL">+<language name="Intel x86 (NASM)" section="Assembler" version="2" kateversion="2.3" extensions="*.asm" mimetype="" author="Nicola Gigante (nicola.gigante@gmail.com)" license="GPL">   <highlighting>     <list name="registers">       <!-- General purpose registers -->
xml/noweb.xml view
@@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE language SYSTEM "language.dtd">-<language name="noweb" version="1.0" kateversion="2.4" section="Sources" extensions="*.w;*.nw" author="Scott Collins (scc@scottcollins.net)">+<language name="noweb" version="2" kateversion="2.4" section="Sources" extensions="*.w;*.nw" author="Scott Collins (scc@scottcollins.net)"> <!--  ######################################################################### # First version added to repository was 0.4, added as 1.0 .
xml/objectivec.xml view
@@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd">-<language name="Objective-C" version="1.07" kateversion="2.3" section="Sources" extensions="*.m;*.h" mimetype="text/x-objc-src;text/x-c-hdr">+<language name="Objective-C" version="2" kateversion="5.0" section="Sources" extensions="*.m;*.h" mimetype="text/x-objc-src;text/x-c-hdr">   <highlighting>     <list name="keywords">       <item> break </item>@@ -102,20 +102,20 @@       </context>     </contexts>     <itemDatas>-      <itemData name="Normal Text" defStyleNum="dsNormal"/>-      <itemData name="Keyword"  defStyleNum="dsKeyword"/>-      <itemData name="Data Type"  defStyleNum="dsDataType"/>-      <itemData name="Decimal"  defStyleNum="dsDecVal"/>-      <itemData name="Octal"  defStyleNum="dsBaseN"/>-      <itemData name="Hex"  defStyleNum="dsBaseN"/>-      <itemData name="Float"  defStyleNum="dsFloat"/>-      <itemData name="Char"  defStyleNum="dsChar"/>+      <itemData name="Normal Text" defStyleNum="dsNormal" spellChecking="false"/>+      <itemData name="Keyword"  defStyleNum="dsKeyword" spellChecking="false"/>+      <itemData name="Data Type"  defStyleNum="dsDataType" spellChecking="false"/>+      <itemData name="Decimal"  defStyleNum="dsDecVal" spellChecking="false"/>+      <itemData name="Octal"  defStyleNum="dsBaseN" spellChecking="false"/>+      <itemData name="Hex"  defStyleNum="dsBaseN" spellChecking="false"/>+      <itemData name="Float"  defStyleNum="dsFloat" spellChecking="false"/>+      <itemData name="Char"  defStyleNum="dsChar" spellChecking="false"/>       <itemData name="String"  defStyleNum="dsString"/>-      <itemData name="String Char"  defStyleNum="dsChar"/>+      <itemData name="String Char"  defStyleNum="dsSpecialChar" spellChecking="false"/>       <itemData name="Comment"  defStyleNum="dsComment"/>-      <itemData name="Symbol"  defStyleNum="dsNormal"/>-      <itemData name="Preprocessor"  defStyleNum="dsOthers"/>-      <itemData name="Prep. Lib"  defStyleNum="dsOthers"/> <!--,Qt::darkYellow,Qt::yellow,false,false)); -->+      <itemData name="Symbol"  defStyleNum="dsNormal" spellChecking="false"/>+      <itemData name="Preprocessor"  defStyleNum="dsPreprocessor" spellChecking="false"/>+      <itemData name="Prep. Lib"  defStyleNum="dsImport" spellChecking="false"/>     </itemDatas>   </highlighting>   <general>
xml/objectivecpp.xml view
@@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd">-<language name="Objective-C++" version="1.01" kateversion="2.4" section="Sources" extensions="*.mm;*.M;*.h" mimetype="text/x-objcpp-src;text/x-c-hdr" author="Gennady Telegin (gepo@lvk.cs.msu.su">+<language name="Objective-C++" version="2" kateversion="5.0" section="Sources" extensions="*.mm;*.M;*.h" mimetype="text/x-objcpp-src;text/x-c-hdr" author="Gennady Telegin (gepo@lvk.cs.msu.su">   <highlighting>     <list name="keywords">       <item> break </item>@@ -289,22 +289,22 @@      </contexts>     <itemDatas>-      <itemData name="Normal Text"   defStyleNum="dsNormal"/>-      <itemData name="Keyword"       defStyleNum="dsKeyword"/>-      <itemData name="Extensions"    defStyleNum="dsKeyword" color="#0095ff" selColor="#ffffff" bold="1" italic="0"/>-      <itemData name="Data Type"     defStyleNum="dsDataType"/>-      <itemData name="Decimal"       defStyleNum="dsDecVal"/>-      <itemData name="Octal"         defStyleNum="dsBaseN"/>-      <itemData name="Hex"           defStyleNum="dsBaseN"/>-      <itemData name="Float"         defStyleNum="dsFloat"/>-      <itemData name="Char"          defStyleNum="dsChar"/>+      <itemData name="Normal Text"   defStyleNum="dsNormal" spellChecking="false"/>+      <itemData name="Keyword"       defStyleNum="dsKeyword" spellChecking="false"/>+      <itemData name="Extensions"    defStyleNum="dsExtension" spellChecking="false"/>+      <itemData name="Data Type"     defStyleNum="dsDataType" spellChecking="false"/>+      <itemData name="Decimal"       defStyleNum="dsDecVal" spellChecking="false"/>+      <itemData name="Octal"         defStyleNum="dsBaseN" spellChecking="false"/>+      <itemData name="Hex"           defStyleNum="dsBaseN" spellChecking="false"/>+      <itemData name="Float"         defStyleNum="dsFloat" spellChecking="false"/>+      <itemData name="Char"          defStyleNum="dsChar" spellChecking="false"/>       <itemData name="String"        defStyleNum="dsString"/>-      <itemData name="String Char"   defStyleNum="dsChar"/>+      <itemData name="String Char"   defStyleNum="dsSpecialChar" spellChecking="false"/>       <itemData name="Comment"       defStyleNum="dsComment"/>-      <itemData name="Symbol"        defStyleNum="dsNormal"/>-      <itemData name="Preprocessor"  defStyleNum="dsOthers"/>-      <itemData name="Prep. Lib"     defStyleNum="dsOthers"/>-      <itemData name="Region Marker" defStyleNum="dsRegionMarker" />+      <itemData name="Symbol"        defStyleNum="dsNormal" spellChecking="false"/>+      <itemData name="Preprocessor"  defStyleNum="dsPreprocessor" spellChecking="false"/>+      <itemData name="Prep. Lib"     defStyleNum="dsImport" spellChecking="false"/>+      <itemData name="Region Marker" defStyleNum="dsRegionMarker"/>     </itemDatas>   </highlighting>   
xml/ocaml.xml view
@@ -1,39 +1,48 @@ <?xml version="1.0" encoding="UTF-8"?>-<!-- Kate syntax highlighting for Objective Caml version 3.07 in the standard and revised syntaxes. -->+<!-- Kate syntax highlighting for Objective Caml version 3.08 in the standard and revised syntaxes, with Ocamldoc comments. -->+ <!DOCTYPE language SYSTEM "language.dtd" [ <!-- Regular expresion constants: -->-<!ENTITY LETTER "A-Za-z\0300-\0326\0330-\0366\0370-\0377">          <!-- Latin-1 letters. -->-<!ENTITY IDENT  "[&LETTER;_][&LETTER;0-9_']*">                      <!-- OCaml identifiers. -->-<!ENTITY MIDENT "[A-Z][&LETTER;0-9_']*">                            <!-- OCaml uppercase identifiers. -->+<!ENTITY LOWER  "a-z\300-\326\330-\337">         <!-- Lowercase Latin-1 letters. -->+<!ENTITY UPPER  "A-Z\340-\366\370-\377">         <!-- Uppercase Latin-1 letters. -->+<!ENTITY LETTER "&LOWER;&UPPER;">                <!-- All Latin-1 letters. -->+<!ENTITY LIDENT "[&LOWER;_][&LETTER;0-9_']*">    <!-- Lowercase OCaml identifiers. -->+<!ENTITY UIDENT "`?[&UPPER;][&LETTER;0-9_']*">   <!-- Uppercase OCaml identifiers. -->+<!ENTITY IDENT  "`?[&LETTER;][&LETTER;0-9_']*">  <!-- All OCaml identifiers. --> <!ENTITY ESC    "(\\[ntbr'&quot;\\]|\\[0-9]{3}|\\x[0-9A-Fa-f]{2})"> <!-- OCaml character code escapes. --> <!ENTITY DEC    "[0-9][0-9_]*">                                     <!-- Decimal digits with underscores. --> ]>-<language name="Objective Caml" version="1.05" kateversion="2.4" section="Sources" extensions="*.ml;*.mli" mimetype="" priority="10" author="Glyn Webster (glyn@wave.co.nz)" license="LGPL">+<language name="Objective Caml"+          extensions="*.ml;*.mli"+          mimetype=""+          section="Sources"+          version="3"+          priority="10"+          kateversion="2.4"+          author="Glyn Webster (glynwebster@orcon.net.nz) and Vincent Hugot (vincent.hugot@gmail.com)"+          license="LGPL" >    <highlighting>-    <!-- Revised Syntax keywords are highlighted as identifiers by default. -->-    <!-- Change their highlighting colour to match the standard keywords    -->-    <!-- if you intend to use the Camlp4 Revised Syntax.                    -->-    <list name="revised syntax keywords">  -      <item> declare </item>-      <item> value </item>-      <item> where </item>+    <list name="qtest keywords">+      <item> in </item>+      <item> as </item>+      <item> forall </item>     </list>-    <list name="keywords">+    <list name="Keywords">       <item> and </item>       <item> as </item>       <item> assert </item>       <item> asr </item>-<!--       <item> begin </item> -->+      <item> begin </item>       <item> class </item>       <item> closed </item>       <item> constraint </item>-<!--       <item> do </item> -->-<!--       <item> done </item> -->+      <item> do </item>+      <item> done </item>       <item> downto </item>       <item> else </item>-<!--       <item> end </item> -->+      <item> end </item>       <item> exception </item>       <item> external </item>       <item> false </item>@@ -43,9 +52,8 @@       <item> functor </item>       <item> if </item>       <item> in </item>-<!--       <item> include </item> -->+      <item> include </item>       <item> inherit </item>-      <item> initializer </item>       <item> land </item>       <item> lazy </item>       <item> let </item>@@ -56,18 +64,18 @@       <item> match </item>       <item> method </item>       <item> mod </item>-<!--       <item> module </item> -->+      <item> module </item>       <item> mutable </item>       <item> new </item>-<!--       <item> object </item> -->+      <item> object </item>       <item> of </item>-<!--       <item> open </item> -->+      <item> open </item>       <item> or </item>       <item> parser </item>       <item> private </item>       <item> rec </item>-<!--       <item> sig </item> -->-<!--       <item> struct </item> -->+      <item> sig </item>+      <item> struct </item>       <item> then </item>       <item> to </item>       <item> true </item>@@ -79,193 +87,528 @@       <item> while </item>       <item> with </item>     </list>-    <list name="core types">-      <item> exn </item>-      <item> lazy_t </item>-      <item> format </item>-      <item> unit </item>-      <item> int </item>-      <item> real </item>-      <item> char </item>-      <item> string </item>++    <!-- Revised Syntax keywords are highlighted as identifiers by default. -->+    <!-- Change their highlighting colour to match the standard keywords    -->+    <!-- if you intend to use the Camlp4 Revised Syntax.                    -->+    <list name="Revised Syntax Keywords">+      <item> declare </item>+      <item> value </item>+      <item> where </item>+    </list>++    <list name="Pervasive Functions">+      <item> abs </item>+      <item> abs_float </item>+      <item> acos </item>+      <item> asin </item>+      <item> at_exit </item>+      <item> atan </item>+      <item> atan2 </item>+      <item> bool_of_string </item>+      <item> ceil </item>+      <item> char_of_int </item>+      <item> classify_float </item>+      <item> close_in </item>+      <item> close_in_noerr </item>+      <item> close_out </item>+      <item> close_out_noerr </item>+      <item> compare </item>+      <item> cos </item>+      <item> cosh </item>+      <item> decr </item>+      <item> do_at_exit </item>+      <item> epsilon_float </item>+      <item> exp </item>+      <item> float </item>+      <item> float_of_int </item>+      <item> float_of_string </item>+      <item> floor </item>+      <item> flush </item>+      <item> flush_all </item>+      <item> format_of_string </item>+      <item> frexp </item>+      <item> fst </item>+      <item> ignore </item>+      <item> in_channel_length </item>+      <item> incr </item>+      <item> infinity </item>+      <item> input </item>+      <item> input_binary_int </item>+      <item> input_byte </item>+      <item> input_char </item>+      <item> input_line </item>+      <item> input_value </item>+      <item> int_of_char </item>+      <item> int_of_float </item>+      <item> int_of_string </item>+      <item> ldexp </item>+      <item> lnot </item>+      <item> log </item>+      <item> log10 </item>+      <item> max </item>+      <item> max_float </item>+      <item> max_int </item>+      <item> min </item>+      <item> min_float </item>+      <item> min_int </item>+      <item> mod_float </item>+      <item> modf </item>+      <item> nan </item>+      <item> neg_infinity </item>+      <item> not </item>+      <item> open_in </item>+      <item> open_in_bin </item>+      <item> open_in_gen </item>+      <item> open_out </item>+      <item> open_out_bin </item>+      <item> open_out_gen </item>+      <item> out_channel_length </item>+      <item> output </item>+      <item> output_binary_int </item>+      <item> output_byte </item>+      <item> output_char </item>+      <item> output_string </item>+      <item> output_value </item>+      <item> pos_in </item>+      <item> pos_out </item>+      <item> pred </item>+      <item> prerr_char </item>+      <item> prerr_endline </item>+      <item> prerr_float </item>+      <item> prerr_int </item>+      <item> prerr_newline </item>+      <item> prerr_string </item>+      <item> print_char </item>+      <item> print_endline </item>+      <item> print_float </item>+      <item> print_int </item>+      <item> print_newline </item>+      <item> print_string </item>+      <item> read_float </item>+      <item> read_int </item>+      <item> read_line </item>+      <item> really_input </item>       <item> ref </item>+      <item> seek_in </item>+      <item> seek_out </item>+      <item> set_binary_mode_in </item>+      <item> set_binary_mode_out </item>+      <item> sin </item>+      <item> sinh </item>+      <item> snd </item>+      <item> sqrt </item>+      <item> stderr </item>+      <item> stdin </item>+      <item> stdout </item>+      <item> string_of_bool </item>+      <item> string_of_float </item>+      <item> string_of_format </item>+      <item> string_of_int </item>+      <item> succ </item>+      <item> tan </item>+      <item> tanh </item>+      <item> truncate </item>+      <item> unsafe_really_input </item>+      <item> valid_float_lexem </item>+    </list>++    <!-- These pervasive functions control program flow,    -->+    <!-- so some people like to highlight them as keywords: -->+    <list name="Flow Control Functions">+      <item> exit </item>+      <item> failwith </item>+      <item> invalid_arg </item>+      <item> raise </item>+    </list>++    <list name="Pervasive Types">       <item> array </item>       <item> bool </item>+      <item> char </item>+      <item> exn </item>+      <item> format4 </item>+      <item> fpclass </item>+      <item> in_channel </item>+      <item> int </item>+      <item> int32 </item>+      <item> int64 </item>+      <item> lazy_t </item>       <item> list </item>+      <item> nativeint </item>+      <item> open_flag </item>       <item> option </item>-    </list>-    <list name="symbols">-      <item> ? </item>-    </list>-    <list name="end">-      <item> end </item>-    </list>-    <list name="sig">-      <item> sig </item>-    </list>-    <list name="struct">-      <item> struct </item>-    </list>-    <list name="object">-      <item> object </item>-    </list>-    <list name="begin">-      <item> begin </item>-    </list>-    <list name="do">-      <item> do </item>-    </list>-    <list name="done">-      <item> done </item>-    </list>-    <list name="module_environment">-      <item> module </item>-      <item> open </item>-      <item> include </item>+      <item> out_channel </item>+      <item> real </item>+      <item> ref </item>+      <item> string </item>+      <item> unit </item>     </list>-    <contexts> -      <context attribute="Normal Text" lineEndContext="#stay" name="Normal">+    <list name="Pervasive Variant Tags">+      <item> FP_infinite </item>+      <item> FP_nan </item>+      <item> FP_normal </item>+      <item> FP_subnormal </item>+      <item> FP_zero </item>+      <item> None </item>+      <item> Open_append </item>+      <item> Open_append </item>+      <item> Open_binary </item>+      <item> Open_binary </item>+      <item> Open_creat </item>+      <item> Open_creat </item>+      <item> Open_excl </item>+      <item> Open_excl </item>+      <item> Open_nonblock </item>+      <item> Open_nonblock </item>+      <item> Open_rdonly </item>+      <item> Open_rdonly </item>+      <item> Open_text </item>+      <item> Open_text </item>+      <item> Open_trunc </item>+      <item> Open_trunc </item>+      <item> Open_wronly </item>+      <item> Open_wronly </item>+      <item> Some </item>+    </list> -        <Detect2Chars attribute="Comment" context="Multiline Comment" char="(" char1="*" beginRegion="comment" />+    <list name="Pervasive Exceptions">+      <item> Assert_failure </item>+      <item> Division_by_zero </item>+      <item> End_of_file </item>+      <item> Exit </item>+      <item> Failure </item>+      <item> Invalid_argument </item>+      <item> Match_failure </item>+      <item> Not_found </item>+      <item> Out_of_memory </item>+      <item> Stack_overflow </item>+      <item> Sys_blocked_io </item>+      <item> Sys_error </item>+      <item> Undefined_recursive_module </item>+    </list> -        <DetectChar attribute="Symbol" context="#stay" char="(" beginRegion="paren"/>-        <DetectChar attribute="Symbol" context="#stay" char=")" endRegion="paren"/>+    <list name="Standard Library Modules">+      <item> Arg </item>+      <item> Array </item>+      <item> ArrayLabels </item>+      <item> Buffer </item>+      <item> Callback </item>+      <item> Char </item>+      <item> Complex </item>+      <item> Digest </item>+      <item> Filename </item>+      <item> Format </item>+      <item> Gc </item>+      <item> Genlex </item>+      <item> Hashtbl </item>+      <item> Int32 </item>+      <item> Int64 </item>+      <item> Lazy </item>+      <item> Lexing </item>+      <item> List </item>+      <item> ListLabels </item>+      <item> Map </item>+      <item> Marshal </item>+      <item> MoreLabels </item>+      <item> Nativeint </item>+      <item> Oo </item>+      <item> Parsing </item>+      <item> Printexc </item>+      <item> Printf </item>+      <item> Queue </item>+      <item> Random </item>+      <item> Scanf </item>+      <item> Set </item>+      <item> Sort </item>+      <item> Stack </item>+      <item> StdLabels </item>+      <item> Stream </item>+      <item> String </item>+      <item> StringLabels </item>+      <item> Sys </item>+      <item> Weak </item>+    </list> -        <DetectChar attribute="Symbol" context="#stay" char="{" beginRegion="record"/>-        <DetectChar attribute="Symbol" context="#stay" char="}" endRegion="record"/>+    <contexts> -        <Detect2Chars attribute="Symbol" context="#stay" char="[" char1="|" beginRegion="array"/>-        <Detect2Chars attribute="Symbol" context="#stay" char="|" char1="]" endRegion="array"/>-        <DetectChar attribute="Symbol" context="#stay" char="[" beginRegion="list"/>-        <DetectChar attribute="Symbol" context="#stay" char="]" endRegion="list"/>+      <context name="Code" lineEndContext="#stay" attribute="Operator"> -        <keyword attribute="Keyword" context="#stay" String="do" beginRegion="loop"/>-        <keyword attribute="Keyword" context="#stay" String="done" endRegion="loop"/>-        <keyword attribute="Directive" context="ModuleEnv" String="module_environment"/>-        <keyword attribute="Region Marker" context="Block" String="begin" beginRegion="block"/>-        <keyword attribute="Region Marker" context="Object" String="object" beginRegion="object"/>-        <keyword attribute="Region Marker" context="Sig" String="sig" beginRegion="sig"/>-        <keyword attribute="Region Marker" context="Struct" String="struct" beginRegion="struct"/>+        <!-- ] and ]} close code samples in Ocamldoc, so -->+        <!-- nested [ ] and { } brackets have to be allowed for: -->+        <DetectChar char="[" context="Nested Code 1" attribute="Operator" />+        <DetectChar char="{" context="Nested Code 2" attribute="Operator" /> -        <RegExpr attribute="Constructor" context="#stay" String="`\s*&IDENT;"/>-        <RegExpr attribute="Module" lookAhead="true" context="ModuleEnv2" String="&MIDENT;\s*\."/>-        <RegExpr attribute="Constructor" context="#stay" String="&MIDENT;"/>+        <!-- Comments. -->+        <!-- A (** begins a special comment with Ocamldoc documentation markup. -->+        <StringDetect String="(**)"      context="#stay"    attribute="Comment" />+        <StringDetect String="(**"       context="Ocamldoc" attribute="Comment" beginRegion="comment" />+        <RegExpr String="\(\*\$(T|Q|R|=)"       context="qtest header" attribute="qtest body style" beginRegion="comment" />+        <Detect2Chars char="(" char1="*" context="Comment"  attribute="Comment" beginRegion="comment" /> -        <!-- Interpreter directives. --> +        <!-- Interpreter directives. -->         <!-- (These are lines where the first symbol is a '#' followed by an identifier. -->-        <!-- Such lines could also be part of a method call split over two lines but     --> +        <!-- Such lines could also be part of a method call split over two lines but     -->         <!-- it's unlikey anyone would code like that.)                                  -->-        <RegExpr attribute="Directive" context="#stay" String="#&IDENT;.*$" firstNonSpace="true"/>+        <RegExpr String="#&IDENT;.*$" context="#stay" firstNonSpace="true" attribute="Directive"/> -        <!-- String, character and Camlp4 "quotation" constants.              --> +        <!-- String, character and Camlp4 "quotation" constants.              -->         <!-- Note: If you must modify the pattern for characters be precise:  -->         <!-- single quotes have several meanings in Ocaml.                    -->-        <DetectChar attribute="String" context="String Constant" char="&quot;" />-        <RegExpr attribute="Character" context="#stay" String="'(&ESC;|[^'])'" />-        <Detect2Chars attribute="Camlp4 Quotation" context="Camlp4 Quotation Constant" char="&lt;" char1="&lt;" />-        <RegExpr attribute="Camlp4 Quotation" context="Camlp4 Quotation Constant" String="&lt;:&IDENT;&lt;" />+        <DetectChar char="&quot;" context="String" attribute="String" />+        <RegExpr String="'(&ESC;|[^'])'" context="#stay" attribute="Character" />+        <Detect2Chars char="&lt;" char1="&lt;" context="Camlp4 Quotation" attribute="Camlp4 Quotation" />+        <RegExpr String="&lt;:&IDENT;&lt;" context="Camlp4 Quotation" attribute="Camlp4 Quotation" /> -        <!-- Identifiers and keywords. --> -        <keyword attribute="Keyword" context="#stay" String="keywords" />-        <keyword attribute="Revised Syntax Keyword" context="#stay" String="revised syntax keywords" />-        <keyword attribute="Core Data Type" context="#stay" String="core types" />-        <RegExpr attribute="Identifier" context="#stay" String="&IDENT;" />+        <!-- Identifiers and keywords. -->+        <keyword String="Keywords"                 context="#stay" attribute="Keyword" />+        <keyword String="Revised Syntax Keywords"  context="#stay" attribute="Revised Syntax Keyword" />+        <keyword String="Flow Control Functions"      context="#stay" attribute="Flow Control Functions" />+        <keyword String="Pervasive Functions"      context="#stay" attribute="Pervasive Functions" />+        <keyword String="Pervasive Types"          context="#stay" attribute="Pervasive Types" />+        <keyword String="Pervasive Exceptions"     context="#stay" attribute="Pervasive Exceptions" />+        <keyword String="Pervasive Variant Tags"   context="#stay" attribute="Pervasive Variant Tags" />+        <keyword String="Standard Library Modules" context="#stay" attribute="Standard Library Modules" />+        <RegExpr String="&LIDENT;"                 context="#stay" attribute="Lowercase Identifier" />+        <RegExpr String="&UIDENT;"                 context="#stay" attribute="Uppercase Identifier" />          <!-- Numeric constants. -->-        <!-- Note that they may contain underscores. --> -        <RegExpr attribute="Hexadecimal" context="#stay" String="-?0[xX][0-9A-Fa-f_]+" />-        <RegExpr attribute="Octal" context="#stay" String="-?0[oO][0-7_]+" />-        <RegExpr attribute="Binary" context="#stay" String="-?0[bB][01_]+" />-        <RegExpr attribute="Float" context="#stay" String="-?&DEC;((\.(&DEC;)?([eE][-+]?&DEC;)?)|([eE][-+]?&DEC;))" />-        <RegExpr attribute="Decimal" context="#stay" String="-?&DEC;" />+        <!-- Note that they may contain underscores. -->+        <RegExpr String="-?0[xX][0-9A-Fa-f_]+" context="#stay" attribute="Hexadecimal" />+        <RegExpr String="-?0[oO][0-7_]+" context="#stay" attribute="Octal" />+        <RegExpr String="-?0[bB][01_]+" context="#stay" attribute="Binary" />+        <RegExpr String="-?&DEC;(\.&DEC;([eE][-+]?&DEC;)?|[eE][-+]?&DEC;)" context="#stay" attribute="Float" />+        <RegExpr String="-?&DEC;" context="#stay" attribute="Decimal" />++        <IncludeRules context="Unmatched Closing Brackets" />       </context> -      <context attribute="Comment" lineEndContext="#stay" name="Multiline Comment">-        <!-- Support for nested comments -->-        <Detect2Chars attribute="Comment" context="#pop" char="*" char1=")" endRegion="comment" />-        <Detect2Chars attribute="Comment" context="Multiline Comment" char="(" char1="*" beginRegion="comment" />+      <context name="Nested Code 1" lineEndContext="#stay" attribute="Operator">+        <DetectChar char="]" context="#pop" attribute="Operator" />+        <IncludeRules context="Code" includeAttrib="true" />       </context> -      <context attribute="String" lineEndContext="#stay" name="String Constant">-        <DetectChar attribute="String" context="#pop" char="&quot;" />-        <RegExpr attribute="Escaped characters" context="#stay" String="&ESC;" />-        <!-- An underscore at the end of a line in a string indicates  -->-        <!-- that the string will continue on the next line.           -->-        <RegExpr attribute="Escaped characters" context="#stay" String="\\$" />+      <context name="Nested Code 2" lineEndContext="#stay" attribute="Operator">+        <DetectChar char="}" context="#pop" attribute="Operator" />+        <IncludeRules context="Code" includeAttrib="true" />       </context> -      <context attribute="Normal text" lineEndContext="#stay" name="Block">-        <keyword attribute="Region Marker" context="#pop" String="end" endRegion="block"/>-        <IncludeRules context="Normal"/>+      <context name="String" lineEndContext="#stay" attribute="String">+        <DetectChar char="&quot;" context="#pop" attribute="String" />+        <RegExpr String="&ESC;" context="#stay" attribute="Escaped Characters" />+        <!-- A backslash at the end of a line in a string indicates  -->+        <!-- that the string will continue on the next line:         -->+        <RegExpr String="\\$" context="#stay" attribute="Escaped Characters" />       </context> -      <context attribute="Normal text" lineEndContext="#stay" name="Sig">-        <keyword attribute="Region Marker" context="#pop" String="end" endRegion="sig"/>-        <IncludeRules context="Normal"/>+      <context name="qtest header" lineEndContext="qtest" attribute="Operator">+        <keyword String="qtest keywords"  attribute="Keyword" />+        <DetectChar char="&amp;" context="qtest param" attribute="qtest param style" />+        <RegExpr String="&LIDENT;" context="#stay" attribute="qtest header style"/>       </context> -      <context attribute="Normal text" lineEndContext="#stay" name="Struct">-        <keyword attribute="Region Marker" context="#pop" String="end" endRegion="struct"/>-        <IncludeRules context="Normal"/>+      <context name="qtest param" lineEndContext="qtest" attribute="qtest param style">       </context>-      -      <context attribute="Normal text" lineEndContext="#stay" name="Object">-        <keyword attribute="Region Marker" context="#pop" String="end" endRegion="object"/>-        <IncludeRules context="Normal"/>++      <context name="qtest" lineEndContext="#stay" attribute="qtest body style">+        <Detect2Chars char="*" char1=')' context="#pop" attribute="qtest body style" endRegion="comment" />+        <IncludeRules context="Code" includeAttrib="true" />       </context>-      -      <context attribute="Normal text" lineEndContext="#stay" name="ModuleEnv" fallthrough="true" fallthroughContext="#pop">-        <DetectSpaces attribute="Normal text" context="#stay"/>-        <RegExpr attribute="Module" lookAhead="true" context="ModuleEnv2" String="&MIDENT;\s*\."/>-        <RegExpr attribute="Module" context="#pop" String="&MIDENT;"/>++      <context name="Comment" lineEndContext="#stay" attribute="Comment">+        <Detect2Chars char="*" char1=")" context="#pop" attribute="Comment" endRegion="comment"  />+        <!-- Support for nested comments: -->+        <Detect2Chars char="(" char1="*" context="Comment" attribute="Comment" beginRegion="comment" />+        <!-- Strings in Ocaml comments must be well-formed: -->+        <DetectChar char="&quot;" context="String in Comment" attribute="String in Comment" />       </context>-      -      <context attribute="Normal text" lineEndContext="#stay" name="ModuleEnv2">-        <RegExpr attribute="Module" context="#stay" String="&MIDENT;"/>-        <DetectSpaces attribute="Normal text" context="#stay"/>-        <StringDetect attribute="Keyword" context="#pop" String="."/>++      <context name="String in Comment" lineEndContext="#stay" attribute="String in Comment">+        <DetectChar char="&quot;" context="#pop" attribute="String in Comment" />+        <IncludeRules context="String" />       </context>-      +       <!-- Camlp4 Quotations. These are source code literals used by the Campl4 preprocessor.           -->       <!-- The only escapes allowed in a Camlp4 quotation are for the quotation start and stop symbols. -->-      <context attribute="Camlp4 Quotation" lineEndContext="#stay" name="Camlp4 Quotation Constant">-        <Detect2Chars attribute="Camlp4 Quotation" context="#pop" char="&gt;" char1="&gt;" />-        <Detect2Chars attribute="Camlp4 Quotation" context="Camlp4 Quotation Constant" char="&lt;" char1="&lt;" />-        <RegExpr attribute="Camlp4 Quotation" context="Camlp4 Quotation Constant" String="&lt;:&IDENT;&lt;" />-        <RegExpr attribute="Escaped characters" context="#stay" String="\\(\\|&gt;&gt;|&lt;&lt;)" />-        <RegExpr attribute="Escaped characters" context="#stay" String="\\&lt;:&IDENT;&lt;" />+      <context name="Camlp4 Quotation" lineEndContext="#stay" attribute="Camlp4 Quotation">+        <Detect2Chars char="&gt;" char1="&gt;"     context="#pop"             attribute="Camlp4 Quotation" />+        <Detect2Chars char="&lt;" char1="&lt;"     context="Camlp4 Quotation" attribute="Camlp4 Quotation" />+        <RegExpr String="&lt;:&IDENT;&lt;"         context="Camlp4 Quotation" attribute="Camlp4 Quotation" />+        <RegExpr String="\\(\\|&gt;&gt;|&lt;&lt;)" context="#stay"            attribute="Escaped Characters" />+        <RegExpr String="\\&lt;:&IDENT;&lt;"       context="#stay"            attribute="Escaped Characters" />       </context>++    <!-- Ocamldoc - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->++      <context name="Ocamldoc" lineEndContext="#stay" attribute="Ocamldoc Text">+        <Detect2Chars char="*" char1=")" context="#pop" attribute="Comment" endRegion="comment" />++        <!-- A backslash escapes markup characters: -->+        <RegExpr String="\\." context="#stay" attribute="Escaped Characters" />++        <!-- Support for nested comments and strings: -->+        <StringDetect String="(**)"      context="#stay"    attribute="Comment" />+        <StringDetect String="(**"       context="Ocamldoc" attribute="Comment" beginRegion="comment" />+        <Detect2Chars char="(" char1="*" context="Comment"  attribute="Comment" beginRegion="comment" />++        <!-- Strings in Ocaml comments must be well-formed: -->+        <DetectChar char="&quot;" context="String in Comment" attribute="String in Comment" />++        <!-- Nested Markup: -->+        <DetectChar   char="["                   context="Ocamldoc Code"         attribute="Ocamldoc Markup" />+        <Detect2Chars char="{" char1="["         context="Ocamldoc Preformatted" attribute="Ocamldoc Markup" />+        <Detect2Chars char="{" char1="%"         context="Ocamldoc LaTeX"        attribute="Ocamldoc Markup" />+        <Detect2Chars char="{" char1="^"         context="Nested Ocamldoc"       attribute="Ocamldoc Markup" />+        <RegExpr String="[{]v(\s|$)"             context="Ocamldoc Verbatim"     attribute="Ocamldoc Markup" />+        <RegExpr String="[{]b(\s|$)"             context="Ocamldoc Bold"         attribute="Ocamldoc Markup" />+        <RegExpr String="[{]i(\s|$)"             context="Ocamldoc Italic"       attribute="Ocamldoc Markup" />+        <RegExpr String="[{]e(\s|$)"             context="Ocamldoc Emphasised"   attribute="Ocamldoc Markup" />+        <RegExpr String="[{][0-9]+(:&IDENT;)?\s" context="Ocamldoc Heading"      attribute="Ocamldoc Markup" />+        <RegExpr String="[{][{]:&IDENT;[}]"      context="Ocamldoc Link"         attribute="Ocamldoc Markup" />+        <RegExpr String="[{]!([a-z]+:)?"         context="Ocamldoc References"   attribute="Ocamldoc Markup" />+        <RegExpr String="[{]&IDENT;(\s|$)"       context="Nested Ocamldoc"       attribute="Ocamldoc Markup" />++        <RegExpr String="@see\s*(&lt;[^&gt;]*&gt;|&quot;[^&quot;]*&quot;|'[^']*')" context="#stay" attribute="Ocamldoc Markup" />+        <RegExpr String="@(param|raise)\s*" context="Ocamldoc Identifier" attribute="Ocamldoc Markup" />+        <RegExpr String="@(author|deprecated|return|since|version)" context="#stay" attribute="Ocamldoc Markup" />+        <RegExpr String="@&IDENT;" context="#stay" attribute="Ocamldoc Custom Tag" />++++        <!-- A dash at the start of a line is a bullet point. -->+        <RegExpr String="^[ &#009;]*-\s" context="#stay"  attribute="Ocamldoc Markup" />++        <IncludeRules context="Unmatched Closing Brackets" />+      </context>++      <context name="Ocamldoc Code" lineEndContext="#stay" attribute="Operator">+        <DetectChar char="]" context="#pop" attribute="Ocamldoc Markup" />+        <IncludeRules context="Code" includeAttrib="true" />+      </context>++      <context name="Ocamldoc Preformatted" lineEndContext="#stay" attribute="Operator">+        <Detect2Chars char="]" char1="}" context="#pop" attribute="Ocamldoc Markup" />+        <IncludeRules context="Code" includeAttrib="true" />+      </context>++      <context name="Ocamldoc Verbatim" lineEndContext="#stay" attribute="Ocamldoc Text">+        <Detect2Chars char="v" char1="}" context="#pop" attribute="Ocamldoc Markup" />+      </context>++      <context name="Ocamldoc LaTeX" lineEndContext="#stay" attribute="Ocamldoc LaTeX">+        <Detect2Chars char="%" char1="}" context="#pop" attribute="Ocamldoc Markup" />+        <IncludeRules context="##LaTeX" />+      </context>++      <!-- A single qualified Ocaml identifier, perhaps preceeded by whitespace. } -->+      <context name="Ocamldoc Identifier" lineEndContext="#stay" attribute="Mismatched Brackets">+        <RegExpr      String="&IDENT;(\.&IDENT;)*" context="#pop" attribute="Identifier"  />+        <Detect2Chars char="*" char1=")"           context="#pop" attribute="Mismatched Brackets" />+        <DetectSpaces />+      </context>++      <context name="Nested Ocamldoc" lineEndContext="#stay" attribute="Operator">+        <DetectChar   char="}"           context="#pop" attribute="Ocamldoc Markup" />+        <Detect2Chars char="*" char1=")" context="#pop" attribute="Mismatched Brackets" />+        <IncludeRules context="Ocamldoc" includeAttrib="true" />+      </context>++      <context name="Ocamldoc Bold" lineEndContext="#stay" attribute="Ocamldoc Bold">+        <IncludeRules context="Nested Ocamldoc" />+      </context>++      <context name="Ocamldoc Italic" lineEndContext="#stay" attribute="Ocamldoc Italic">+        <IncludeRules context="Nested Ocamldoc" />+      </context>++      <context name="Ocamldoc Emphasised" lineEndContext="#stay" attribute="Ocamldoc Emphasised">+        <IncludeRules context="Nested Ocamldoc" />+      </context>++      <context name="Ocamldoc Heading" lineEndContext="#stay" attribute="Ocamldoc Heading">+        <IncludeRules context="Nested Ocamldoc" />+      </context>++      <context name="Ocamldoc Link" lineEndContext="#stay" attribute="Ocamldoc Link">+        <IncludeRules context="Nested Ocamldoc" />+      </context>++      <!-- A list of qualified Ocaml identifiers, seperated by whitespace and ending with a } -->+      <context name="Ocamldoc References" lineEndContext="#stay" attribute="Mismatched Brackets">+        <DetectChar   char="}"                     context="#pop"  attribute="Ocamldoc Markup"  />+        <Detect2Chars char="*" char1=")"           context="#pop"  attribute="Mismatched Brackets" />+        <RegExpr      String="&IDENT;(\.&IDENT;)*" context="#stay" attribute="Ocamldoc Link"  />+        <DetectSpaces                              context="#stay" attribute="Ocamldoc Markup" />+      </context>++      <!-- Unmatched closing brackets- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->++      <context name="Unmatched Closing Brackets"  lineEndContext="#stay" attribute="Operator">+        <Detect2Chars char="*" char1=")" context="#pop"  attribute="Mismatched Brackets" />+        <Detect2Chars char="v" char1="}" context="#stay" attribute="Mismatched Brackets" />+        <Detect2Chars char="]" char1="}" context="#stay" attribute="Mismatched Brackets" />+        <Detect2Chars char="%" char1="}" context="#stay" attribute="Mismatched Brackets" />+        <DetectChar   char="]"           context="#stay" attribute="Mismatched Brackets" />+        <DetectChar   char="}"           context="#stay" attribute="Mismatched Brackets" />+      </context>     </contexts>      <itemDatas>-      <itemData name="Normal Text" defStyleNum="dsNormal"/>-      <itemData name="Identifier" defStyleNum="dsNormal"/>-      <itemData name="Symbol" defStyleNum="dsNormal"/>-      <itemData name="Keyword"  defStyleNum="dsKeyword"/>-      <itemData name="Revised Syntax Keyword"  defStyleNum="dsNormal"/>-      <itemData name="Core Data Type"  defStyleNum="dsDataType"/>-      <itemData name="Decimal"  defStyleNum="dsDecVal"/>-      <itemData name="Hexadecimal"  defStyleNum="dsBaseN"/>-      <itemData name="Octal"  defStyleNum="dsBaseN"/>-      <itemData name="Binary"  defStyleNum="dsBaseN"/>-      <itemData name="Float"  defStyleNum="dsFloat"/>-      <itemData name="Character"  defStyleNum="dsChar"/>-      <itemData name="String"  defStyleNum="dsString"/>-      <itemData name="Escaped characters"  defStyleNum="dsChar"/>-      <itemData name="Comment"  defStyleNum="dsComment"/>-      <itemData name="Camlp4 Quotation"  defStyleNum="dsString"/>-      <itemData name="Directive"  defStyleNum="dsOthers"/>-      <itemData name="Constructor" defStyleNum="dsDataType"/>-      <itemData name="Module" defStyleNum="dsNormal"/>-      <itemData name="Region Marker" defStyleNum="dsKeyword"/>+      <itemData name="Operator"                defStyleNum="dsNormal"   />+      <itemData name="Keyword"                 defStyleNum="dsKeyword"  />+      <itemData name="Revised Syntax Keyword"  defStyleNum="dsNormal"   />+      <itemData name="Lowercase Identifier"    defStyleNum="dsNormal"   />+      <itemData name="Uppercase Identifier"    defStyleNum="dsNormal"   italic="true" />++      <!-- Lowercase pervasive identifiers: -->+      <itemData name="Flow Control Functions"   defStyleNum="dsDataType" />+      <itemData name="Pervasive Functions"      defStyleNum="dsDataType" />+      <itemData name="Pervasive Types"          defStyleNum="dsDataType" />++      <!-- Uppercase pervasive identifiers: -->+      <itemData name="Pervasive Exceptions"     defStyleNum="dsDataType" italic="true" />+      <itemData name="Pervasive Variant Tags"   defStyleNum="dsDataType" italic="true" />+      <itemData name="Standard Library Modules" defStyleNum="dsDataType" italic="true" />++      <itemData name="Decimal"                 defStyleNum="dsDecVal"   />+      <itemData name="Hexadecimal"             defStyleNum="dsBaseN"    />+      <itemData name="Octal"                   defStyleNum="dsBaseN"    />+      <itemData name="Binary"                  defStyleNum="dsBaseN"    />+      <itemData name="Float"                   defStyleNum="dsFloat"    />++      <itemData name="Character"               defStyleNum="dsChar"     />+      <itemData name="String"                  defStyleNum="dsString"   />+      <itemData name="Camlp4 Quotation"        defStyleNum="dsString"   />+      <itemData name="Escaped Characters"      defStyleNum="dsChar"     />++      <itemData name="Directive"               defStyleNum="dsOthers"   />++      <itemData name="Comment"                 defStyleNum="dsComment"  />+      <itemData name="String in Comment"       defStyleNum="dsComment"  bold="true" />+      <itemData name="Mismatched Brackets"     defStyleNum="dsError"    />++      <itemData name="Ocamldoc Markup"         defStyleNum="dsOthers"   />+      <itemData name="Ocamldoc Text"           defStyleNum="dsComment"  italic="false" />+      <itemData name="Ocamldoc Bold"           defStyleNum="dsComment"  italic="false" bold="true" />+      <itemData name="Ocamldoc Italic"         defStyleNum="dsComment"  italic="true"  bold="false" />+      <itemData name="Ocamldoc Emphasised"     defStyleNum="dsComment"  italic="true"  bold="true" />+      <itemData name="Ocamldoc Heading"        defStyleNum="dsComment"  italic="false" bold="true" underline="true" />+      <itemData name="Ocamldoc Link"           defStyleNum="dsComment"  italic="false" underline="true" color="#0000ff" />+      <itemData name="Ocamldoc LaTeX"          defStyleNum="dsComment"  italic="false" />+      <itemData name="Ocamldoc Custom Tag"     defStyleNum="dsOthers"   italic="true"  />++      <itemData name="qtest header style"     defStyleNum="dsNormal"  backgroundColor="#FFEBE0" />+      <itemData name="qtest param style"      defStyleNum="dsNormal"  italic="true" color="#7788FF" />+      <!-- backgroundColor="#EEEEFF" -->+      <itemData name="qtest body style"       defStyleNum="dsNormal"  bold="true" backgroundColor="#D6FFEB" />     </itemDatas>   </highlighting>    <general>-    <keywords casesensitive="1" />+    <keywords casesensitive="true" />     <comments>-      <comment name="multiLine" start="(*" end="*)" />+      <comment name="multiLine" start="(*" end="*)" region ="comment" />     </comments>   </general> </language>
xml/octave.xml view
@@ -15,7 +15,7 @@ -->  -<language name="Octave" version="1.02" kateversion="2.3" section="Scientific" extensions="*.octave;*.m;*.M" mimetype="text/octave" casesensitive="1" license="GPL" author="Luis Silvestre and Federico Zenith">+<language name="Octave" version="2" kateversion="3.4" section="Scientific" extensions="*.octave;*.m;*.M" mimetype="text/octave" casesensitive="1" license="GPL" author="Luis Silvestre and Federico Zenith">    <highlighting> 
xml/opencl.xml view
@@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> <language name="OpenCL" section="Sources"-          version="1.44" kateversion="2.4"+          version="2" kateversion="3.4"           indenter="cstyle"           extensions="*.cl"           mimetype="text/x-clsrc"
xml/pascal.xml view
@@ -2,8 +2,8 @@ <!DOCTYPE language SYSTEM "language.dtd"> <language name="Pascal"           section="Sources" -          version="1.23"-          kateversion="2.5" +          version="2"+          kateversion="3.3"           extensions="*.p;*.pas;*.pp"           mimetype="text/x-pascal"            priority="8"
xml/perl.xml view
@@ -39,7 +39,7 @@     Enhance tr/// and y/// support. -->-<language name="Perl" version="1.30" kateversion="2.4" section="Scripts" extensions="*.pl;*.PL;*.pm" mimetype="application/x-perl;text/x-perl" priority="5" author="Anders Lund (anders@alweb.dk)" license="LGPL">+<language name="Perl" version="2" kateversion="2.4" section="Scripts" extensions="*.pl;*.PL;*.pm" mimetype="application/x-perl;text/x-perl" priority="5" author="Anders Lund (anders@alweb.dk)" license="LGPL">   <highlighting>     <list name="keywords">       <item> if </item>@@ -346,7 +346,7 @@         <keyword attribute="Operator" context="#stay" String="operators" />         <keyword attribute="Function" context="#stay" String="functions" />         <keyword attribute="Pragma" context="#stay" String="pragmas" />-        <RegExpr attribute="Pod" context="pod" String="\=(?:head[1-6]|over|back|item|for|begin|end|pod)(\s|$)" column="0" beginRegion="POD"/>+        <RegExpr attribute="Pod" context="pod" String="\=\w+(\s|$)" column="0" beginRegion="POD"/>         <DetectSpaces />         <DetectChar attribute="Comment" context="comment" char="#" /> @@ -658,7 +658,6 @@         <DetectChar attribute="Pattern Internal Operator" context="#stay" char="^" />         <Detect2Chars attribute="Pattern Character Class" context="#stay" char="\" char1="\" />         <Detect2Chars attribute="Pattern Character Class" context="#stay" char="\" char1="]" />-        <!-- JGM:  added \ before ^ in the following regex -->         <RegExpr attribute="Pattern Character Class" context="#stay" String="\[:\^?[a-z]+:\]" />         <DetectChar attribute="Pattern Internal Operator" context="#pop" char="]" />       </context>
− xml/perl.xml.patch
@@ -1,10 +0,0 @@-diff --git a/perl.xml b/perl.xml-index fc2fd41..21e24e1 100644---- a/perl.xml-+++ b/perl.xml-@@ -660,3 +660,4 @@-         <Detect2Chars attribute="Pattern Character Class" context="#stay" char="\" char1="]" />--        <RegExpr attribute="Pattern Character Class" context="#stay" String="\[:^?[a-z]+:\]" />-+        <!-- JGM:  added \ before ^ in the following regex -->-+        <RegExpr attribute="Pattern Character Class" context="#stay" String="\[:\^?[a-z]+:\]" />-         <DetectChar attribute="Pattern Internal Operator" context="#pop" char="]" />
xml/php.xml view
@@ -2,6 +2,12 @@ <!--  Changes:+[ Version 1.47 (2015-03-24) ]+- added support for binary integer literals++[ Version 1.46 (2015-03-02) ]+- added yield keyword+ [ Version 1.43 (2013-10-11) ] - added missing constants for sorting @@ -64,7 +70,7 @@   <!ENTITY types "int|integer|bool|boolean|float|double|real|string|array|object"> ]> -<language name="PHP/PHP" indenter="cstyle" version="1.44" kateversion="2.4" section="Scripts" extensions="" priority="5" mimetype="" hidden="true">+<language name="PHP/PHP" indenter="cstyle" version="2" kateversion="3.4" section="Scripts" extensions="" priority="5" mimetype="" hidden="true">   <highlighting>     <list name="control structures">       <item>as</item>@@ -102,6 +108,7 @@       <item> exception </item>       <item> extends </item>       <item> final </item>+      <item> finally </item>       <item> function </item>       <item> global </item>       <item> implements </item>@@ -124,6 +131,7 @@       <item> var </item>       <item> namespace </item>       <item> use </item>+      <item> yield </item>     </list>       <!-- magic constants, see http://php.net/manual/en/language.constants.predefined.php -->     <list name="constants">@@ -5401,7 +5409,7 @@        <!-- Keywords -->       <item> var </item>-     +       <!-- Constants -->       <item>OCI_DEFAULT</item>       <item>OCI_D_FILE</item>@@ -5483,6 +5491,7 @@         <keyword attribute="Special Variable" context="#stay" String="special-variables"/>         <RegExpr attribute="Variable" context="#stay" String="\$+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*" />         <RegExpr attribute="String" context="#stay" String="[0123456789]*\.\.\.[0123456789]*" />+        <RegExpr attribute="Binary" context="#stay" String="0[bB][01]+" />         <HlCOct attribute="Octal" context="#stay" />         <HlCHex attribute="Hex" context="#stay" />         <Float attribute="Float" context="#stay" />@@ -5572,27 +5581,27 @@         <RegExpr attribute="Variable" context="#stay" String="\{\$[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*(\[([0-9]*|&quot;[a-zA-Z_]*&quot;)|'[a-zA-Z_]*'|\])*(-&gt;[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*(\[[a-zA-Z0-9_]*\])*(\[([0-9]*|&quot;[a-zA-Z_]*&quot;)|'[a-zA-Z_]*'|\])*)*\}" />       </context>       <context name="htmlnowdoc" attribute="Normal Text" lineEndContext="#stay" dynamic="true">-        <RegExpr attribute="Backslash Code" context="#pop" String="^%1;?$" dynamic="true" endRegion="Heredoc" />+        <RegExpr attribute="Backslash Code" context="#pop" String="^%1;?$" dynamic="true" endRegion="Nowdoc" />         <IncludeRules context="commonnowdoc" />         <IncludeRules context="##HTML" />       </context>       <context name="cssnowdoc" attribute="Normal Text" lineEndContext="#stay" dynamic="true">-        <RegExpr attribute="Backslash Code" context="#pop" String="^%1;?$" dynamic="true" endRegion="Heredoc" />+        <RegExpr attribute="Backslash Code" context="#pop" String="^%1;?$" dynamic="true" endRegion="Nowdoc" />         <IncludeRules context="commonnowdoc" />         <IncludeRules context="##CSS" />       </context>       <context name="mysqlnowdoc" attribute="Normal Text" lineEndContext="#stay" dynamic="true">-        <RegExpr attribute="Backslash Code" context="#pop" String="^%1;?$" dynamic="true" endRegion="Heredoc" />+        <RegExpr attribute="Backslash Code" context="#pop" String="^%1;?$" dynamic="true" endRegion="Nowdoc" />         <IncludeRules context="commonnowdoc" />         <IncludeRules context="##SQL (MySQL)" />       </context>       <context name="javascriptnowdoc" attribute="Normal Text" lineEndContext="#stay" dynamic="true">-        <RegExpr attribute="Backslash Code" context="#pop" String="^%1;?$" dynamic="true" endRegion="Heredoc" />+        <RegExpr attribute="Backslash Code" context="#pop" String="^%1;?$" dynamic="true" endRegion="Nowdoc" />         <IncludeRules context="commonnowdoc" />         <IncludeRules context="Normal##JavaScript" />       </context>       <context name="nowdoc" attribute="String" lineEndContext="#stay" dynamic="true">-        <RegExpr attribute="Backslash Code" context="#pop" String="^%1;?$" dynamic="true" endRegion="Heredoc" />+        <RegExpr attribute="Backslash Code" context="#pop" String="^%1;?$" dynamic="true" endRegion="Nowdoc" />         <IncludeRules context="commonnowdoc" />       </context>       <context name="commonnowdoc" attribute="String" lineEndContext="#stay">@@ -5606,6 +5615,7 @@       <itemData name="Function" defStyleNum="dsFunction" spellChecking="false" />       <itemData name="Special method" defStyleNum="dsFunction" spellChecking="false" />       <itemData name="Decimal" defStyleNum="dsDecVal" spellChecking="false" />+      <itemData name="Binary" defStyleNum="dsBaseN" spellChecking="false" />       <itemData name="Octal" defStyleNum="dsBaseN" spellChecking="false" />       <itemData name="Hex" defStyleNum="dsBaseN" spellChecking="false" />       <itemData name="Float" defStyleNum="dsFloat" spellChecking="false" />
xml/pike.xml view
@@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> <!-- FIXME: Find a way to prevent ranges (e.g. [1..] or [0..99]) from matching as floats. -pp -->-<language name="Pike" version="1.07" kateversion="2.4" section="Scripts" extensions="*.pike" mimetype="application/x-pike;text/x-pike" casesensitive="1" author="Paul Pogonyshev" license="">+<language name="Pike" version="2" kateversion="2.4" section="Scripts" extensions="*.pike" mimetype="application/x-pike;text/x-pike" casesensitive="1" author="Paul Pogonyshev" license="">   <highlighting>     <list name="keywords">       <item> break </item>
xml/postscript.xml view
@@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd">-<language name="PostScript" version="1.01" kateversion="2.1" section="Markup" extensions="*.ps;*.ai;*.eps" mimetype="application/postscript">+<language name="PostScript" version="2" kateversion="2.2" section="Markup" extensions="*.ps;*.ai;*.eps" mimetype="application/postscript"> <highlighting> 	<list name="keywords"> 		<item> abs </item>
xml/prolog.xml view
@@ -105,7 +105,7 @@     <!ENTITY bs         "\"> ]> <language name="Prolog" section="Sources"-	  version="1.3" kateversion="2.3"+	  version="2" kateversion="3.4" 	  mimetype="text/x-prolog" 	  extensions="*.prolog;*.dcg;*.pro" 	  author="Torsten Eichstädt (torsten.eichstaedt@web.de)"
xml/python.xml view
@@ -13,9 +13,10 @@ <!-- v2.06 decorator names can (and often do) contain periods --> <!-- v2.07 add support for %prog and co, see bug 142832 --> <!-- v2.08 add missing overloaders, new Python 3 statements, builtins, and keywords -->-<language name="Python" version="2.23" style="python" kateversion="2.4" section="Scripts" extensions="*.py;*.pyw;SConstruct;SConscript" mimetype="application/x-python;text/x-python" casesensitive="1" author="Michael Bueker" license="">+<!-- v2.29 recognize escape sequenzes correctly -->+<language name="Python" version="3" style="python" kateversion="5.0" section="Scripts" extensions="*.py;*.pyw;SConstruct;SConscript" mimetype="application/x-python;text/x-python" casesensitive="1" author="Michael Bueker" license=""> 	<highlighting>-		<list name="prep">+		<list name="import"> 			<item> import </item> 			<item> from </item> 			<item> as </item>@@ -52,6 +53,8 @@ 			<item> while </item> 			<item> with </item> 			<item> yield </item>+			<item> async </item>+			<item> await </item> 		</list> 		<list name="builtinfuncs"> 			<item> __import__ </item>@@ -248,6 +251,11 @@ 			<item>__format__</item> 			<item>__next__</item> 			<item>__dir__</item>+			<item>__await__</item>+			<item>__aiter__</item>+			<item>__anext__</item>+			<item>__aenter__</item>+			<item>__aexit__</item> 		</list> 		<list name="exceptions"> 			<!--@@ -323,17 +331,16 @@ 		</list> 		<contexts> 			<context name="Normal" attribute="Normal Text" lineEndContext="#stay">-				<keyword attribute="Preprocessor" String="prep" context="#stay"/>+				<keyword attribute="Import" String="import" context="#stay"/> 				<keyword attribute="Definition Keyword" String="defs" context="#stay"/>-				<keyword attribute="Operator" String="operators" context="#stay"/>-				<keyword attribute="Command Keyword" String="commands" context="#stay"/>+				<keyword attribute="Operator Keyword" String="operators" context="#stay"/> 				<keyword attribute="Flow Control Keyword" String="flow" context="#stay"/> 				<keyword attribute="Builtin Function" String="builtinfuncs" context="#stay"/> 				<keyword attribute="Special Variable" String="specialvars" context="#stay"/> 				<keyword attribute="Extensions" String="bindings" context="#stay"/> 				<keyword attribute="Exceptions" String="exceptions" context="#stay"/> 				<keyword attribute="Overloaders" String="overloaders" context="#stay"/>-				<RegExpr attribute="Normal" String="[a-zA-Z_][a-zA-Z_0-9]{2,}" context="#stay"/>+				<RegExpr attribute="Normal Text" String="[a-zA-Z_][a-zA-Z_0-9]{2,}" context="#stay"/>  				<RegExpr attribute="Complex" String=" ((([0-9]*\.[0-9]+|[0-9]+\.)|([0-9]+|([0-9]*\.[0-9]+|[0-9]+\.))[eE](\+|-)?[0-9]+)|[0-9]+)[jJ]" context="#stay"/> 				<Float attribute="Float" context="#stay" />@@ -353,15 +360,15 @@  				<IncludeRules context="StringVariants" /> -				<AnyChar attribute="Operator" String="+*/%\|=;\!&lt;&gt;!^&amp;~-" context="#stay"/> 				<RegExpr attribute="Decorator" String="@[_a-zA-Z][\._a-zA-Z0-9]*" firstNonSpace="true"/>+				<AnyChar attribute="Operator" String="+*/%\|=;\!&lt;&gt;!^&amp;~-@" context="#stay"/> 			</context>  			<context name="#CheckForString" attribute="Normal Text" lineEndContext="#pop" fallthrough="true" fallthroughContext="#pop"> 				<DetectSpaces/> 				<LineContinue attribute="Normal Text" context="CheckForStringNext"/> 			</context>-			+ 			<context name="CheckForStringNext" attribute="Normal Text" lineEndContext="#pop" fallthrough="true" fallthroughContext="#pop"> 				<DetectSpaces/> 				<LineContinue attribute="Normal Text" context="CheckForStringNext"/>@@ -432,14 +439,14 @@ 				<IncludeRules context="StringVariants" /> 				<IncludeRules context="Normal" /> 			</context>-			+ 			<context name="List" attribute="Normal Text" lineEndContext="#stay" noIndentationBasedFolding="true"> 				<DetectSpaces/> 				<DetectChar attribute="Normal Text" char="]" context="#pop" endRegion="List"/> 				<IncludeRules context="StringVariants" /> 				<IncludeRules context="Normal" /> 			</context>-			+ 			<context name="Tuple" attribute="Normal Text" lineEndContext="#stay" noIndentationBasedFolding="true"> 				<DetectSpaces/> 				<DetectChar attribute="Normal Text" char=")" context="#pop" endRegion="Tuple"/>@@ -493,27 +500,41 @@ 				--> 				<RegExpr attribute="String Substitution" String="%((\([a-zA-Z0-9_]+\))?[#0\- +]?([1-9][0-9]*|\*)?(\.([1-9][0-9]*|\*))?[hlL]?[crsdiouxXeEfFgG%]|prog|default)" context="#stay"/> 				<!-- http://docs.python.org/2/library/string.html#format-string-syntax:-				     replacement_field ::= "{" field_name ["!" conversion] [":" format_spec] "}"-				     field_name ::= (identifier | integer) ("." attribute_name | "[" element_index "]")*-				     attribute_name ::= identifier-				     element_index ::= integer | index_string-				     index_string ::= <any source character except "]"> +-				     conversion ::= "r" | "s"-				     format_spec ::= [[fill]align][sign][#][0][width][.precision][type]-				     fill ::= <a character other than '}'>-				     align ::= "<" | ">" | "=" | "^"-				     sign ::= "+" | "-" | " "-				     width ::= integer-				     precision ::= integer-				     type ::= "b" | "c" | "d" | "e" | "E" | "f" | "F" | "g" | "G" | "n" | "o" | "s" | "x" | "X" | "%"+				     replacement_field ::=  "{" [field_name] ["!" conversion] [":" format_spec] "}"+				     field_name        ::=  arg_name ("." attribute_name | "[" element_index "]")*+				     arg_name          ::=  [identifier | integer]+				     attribute_name    ::=  identifier+				     element_index     ::=  integer | index_string+				     index_string      ::=  <any source character except "]"> ++				     conversion        ::=  "r" | "s"+				     format_spec       ::=  [[fill]align][sign][#][0][width][,][.precision][type]+				     fill              ::=  <any character>+				     align             ::=  "<" | ">" | "=" | "^"+				     sign              ::=  "+" | "-" | " "+				     width             ::=  integer+				     precision         ::=  integer+				     type              ::=  "b" | "c" | "d" | "e" | "E" | "f" | "F" | "g" | "G" | "n" | "o" | "s" | "x" | "X" | "%" 				-->-				<RegExpr attribute="String Substitution" String="\{([a-zA-Z0-9_]+|[0-9]+)(\.[a-zA-Z0-9_]+|\[[^ \]]+\])*(![rs])?(:([^}]?[&lt;&gt;=^])?[ +-]?#?0?[0-9]*(\.[0-9]+)?[bcdeEfFgGnosxX%]?)?\}" context="#stay"/>+				<RegExpr attribute="String Substitution" String="\{(([a-zA-Z0-9_]+|[0-9]+)(\.[a-zA-Z0-9_]+|\[[^ \]]+\])*)?(![rs])?(:([^}]?[&lt;&gt;=^])?[ +-]?#?0?[0-9]*(\.[0-9]+)?[bcdeEfFgGnosxX%]?)?\}" context="#stay"/> 				<Detect2Chars attribute="String Substitution" char="{" char1="{" context="#stay" /> 				<Detect2Chars attribute="String Substitution" char="}" char1="}" context="#stay" /> 			</context> +			<!-- escape characters -->+			<context name="stringescape" attribute="String Char" lineEndContext="#stay">+				<!-- As this highlighting style is for both, Python 2 and 3,+				we do not know if a normal string is “unicode” or not. So we+				-->+				<RegExpr attribute="String Char" String="\\[\\'&quot;abfnrtv]" context="#stay"/>+				<RegExpr attribute="String Char" String="\\[0-7]{1,3}" context="#stay"/>+				<RegExpr attribute="String Char" String="\\x[0-9A-Fa-f]{2}" context="#stay"/>+				<RegExpr attribute="String Char" String="\\u[0-9A-Fa-f]{4}" context="#stay"/>+				<RegExpr attribute="String Char" String="\\U[0-9A-Fa-f]{8}" context="#stay"/>+				<RegExpr attribute="String Char" String="\\N\{[a-zA-Z0-9\- ]+\}" context="#stay"/>+			</context>+ 			<context name="Tripple A-string" attribute="String" lineEndContext="#stay" noIndentationBasedFolding="true">-				<HlCStringChar attribute="String Char" context="#stay"/>+				<IncludeRules context="stringescape"/> 				<IncludeRules context="stringformat"/> 				<StringDetect attribute="String" String="'''" context="#pop#CheckForString" endRegion="Tripple A-region"/> 			</context>@@ -525,7 +546,7 @@ 			</context>  			<context name="Tripple Q-string" attribute="String" lineEndContext="#stay" noIndentationBasedFolding="true">-				<HlCStringChar attribute="String Char" context="#stay"/>+				<IncludeRules context="stringescape"/> 				<IncludeRules context="stringformat"/> 				<StringDetect attribute="String" String="&quot;&quot;&quot;" context="#pop#CheckForString" endRegion="Tripple Q-region"/> 			</context>@@ -538,13 +559,13 @@   			<context name="Single A-string" attribute="String" lineEndContext="#stay">-				<HlCStringChar attribute="String Char" context="#stay"/>+				<IncludeRules context="stringescape"/> 				<IncludeRules context="stringformat"/> 				<DetectChar attribute="String" char="'" context="#pop#CheckForString"/> 			</context>  			<context name="Single Q-string" attribute="String" lineEndContext="#stay">-				<HlCStringChar attribute="String Char" context="#stay"/>+				<IncludeRules context="stringescape"/> 				<IncludeRules context="stringformat"/> 				<DetectChar attribute="String" char="&quot;" context="#pop#CheckForString"/> 			</context>@@ -565,16 +586,16 @@ 		<itemDatas> 			<itemData name="Normal Text" defStyleNum="dsNormal" spellChecking="false"/> 			<itemData name="Definition Keyword" defStyleNum="dsKeyword" spellChecking="false"/>-			<itemData name="Operator" defStyleNum="dsNormal" bold="1" spellChecking="false"/>-			<itemData name="String Substitution" defStyleNum="dsOthers" color="#0057ae" selColor="#0057ae"  spellChecking="false"/>-			<itemData name="Command Keyword" defStyleNum="dsKeyword" spellChecking="false"/>-			<itemData name="Flow Control Keyword" defStyleNum="dsKeyword" spellChecking="false"/>-			<itemData name="Builtin Function" defStyleNum="dsDataType" spellChecking="false"/>-			<itemData name="Special Variable" defStyleNum="dsOthers" spellChecking="false"/>-			<itemData name="Extensions" defStyleNum="dsOthers" color="#0095ff" selColor="#0095ff" bold="1" italic="0" spellChecking="false"/>-			<itemData name="Exceptions" defStyleNum="dsOthers" color="#054d00" selColor="#054d00" bold="1" italic="0" spellChecking="false"/>-			<itemData name="Overloaders" defStyleNum="dsOthers" color="#000e52" selColor="#000e52" bold="1" italic="0" spellChecking="false"/>-			<itemData name="Preprocessor" defStyleNum="dsChar" spellChecking="false"/>+			<itemData name="Operator" defStyleNum="dsOperator" spellChecking="false"/>+			<itemData name="Operator Keyword" defStyleNum="dsKeyword" spellChecking="false"/>+			<itemData name="String Substitution" defStyleNum="dsSpecialChar" spellChecking="false"/>+			<itemData name="Flow Control Keyword" defStyleNum="dsControlFlow" spellChecking="false"/>+			<itemData name="Builtin Function" defStyleNum="dsBuiltIn" spellChecking="false"/>+			<itemData name="Special Variable" defStyleNum="dsVariable" spellChecking="false"/>+			<itemData name="Extensions" defStyleNum="dsExtension" spellChecking="false"/>+			<itemData name="Exceptions" defStyleNum="dsPreprocessor" spellChecking="false"/>+			<itemData name="Overloaders" defStyleNum="dsFunction" spellChecking="false"/>+			<itemData name="Import" defStyleNum="dsImport" spellChecking="false"/> 			<itemData name="String Char" defStyleNum="dsChar" spellChecking="false"/> 			<itemData name="Float" defStyleNum="dsFloat" spellChecking="false"/> 			<itemData name="Int" defStyleNum="dsDecVal" spellChecking="false"/>@@ -583,8 +604,8 @@ 			<itemData name="Complex" defStyleNum="dsOthers" spellChecking="false"/> 			<itemData name="Comment" defStyleNum="dsComment"/> 			<itemData name="String" defStyleNum="dsString"/>-			<itemData name="Raw String" defStyleNum="dsString"/>-			<itemData name="Decorator" defStyleNum="dsOthers" color="#8f6b32" selColor="#8f6b32" italic="0" spellChecking="false"/>+			<itemData name="Raw String" defStyleNum="dsVerbatimString"/>+			<itemData name="Decorator" defStyleNum="dsAttribute" spellChecking="false"/> 		</itemDatas> 	</highlighting> 	<general>
xml/r.xml view
@@ -8,7 +8,7 @@ 	R      : http://www.r-project.org/ 	RKWard : http://rkward.sourceforge.net/ 	-->-<language version="2.07" kateversion="2.5" name="R Script" section="Scripts" extensions="*.R;*.r;*.S;*.s;*.q" mimetype="" license="GPL">+<language version="3" kateversion="2.3" name="R Script" section="Scripts" extensions="*.R;*.r;*.S;*.s;*.q" mimetype="" license="GPL"> <highlighting>  	<list name="controls">@@ -44,7 +44,7 @@ 			<DetectChar attribute="Error" context="#stay" char="}" /> 			<DetectChar attribute="Error" context="#stay" char=")"/> 		</context>-		+ 		<context attribute="Normal Text" lineEndContext="#stay" name="ctx0"> 			<IncludeRules context="CommonRules"/> @@ -66,12 +66,12 @@ 			<DetectChar attribute="String" context="#pop" char="&quot;"/> 			<HlCStringChar attribute="String Char" context="#stay"/> 		</context>-		+ 		<context attribute="String" lineEndContext="#stay" name="string2"> 			<DetectChar attribute="String" context="#pop" char="'"/> 			<HlCStringChar attribute="String Char" context="#stay"/> 		</context>-		+ 		<context attribute="Identifier" lineEndContext="#stay" name="backquotedsymbol"> 			<DetectChar attribute="String" context="#pop" char="`"/> 			<HlCStringChar attribute="String Char" context="#stay"/>@@ -86,8 +86,12 @@ 			<RegExpr attribute="Error" context="#stay" String="(\*|/|&lt;|&gt;|\!=|=|\||&amp;|:|\^|@|\$|~)"/> 		</context> -		<context attribute="Headline" lineEndContext="#pop" name="Headline"/>-		<context attribute="Comment" lineEndContext="#pop" name="Comment"/>+		<context attribute="Headline" lineEndContext="#pop" name="Headline">+			<IncludeRules context="##Alerts" />+		</context>+		<context attribute="Comment" lineEndContext="#pop" name="Comment">+			<IncludeRules context="##Alerts" />+		</context>  		<!-- This context is not really used, but contains the common rules --> 		<context name="CommonRules" lineEndContext="#stay" attribute="Normal Text" >@@ -110,7 +114,7 @@ 			<RegExpr attribute="Assign" context="operator_rhs" String="=(?!=)"/> 			<RegExpr attribute="Operator" context="operator_rhs" String="(\+|\-|\*{1,2}|/|&lt;=?|&gt;=?|={1,2}|\!=?|\|{1,2}|&amp;{1,2}|:{1,3}|\^|@|\$|~)"/> 			<RegExpr attribute="Operator" context="operator_rhs" String="%[^%]*%"/>-			+ 			<DetectChar attribute="Symbol" context="ctx0" char="{" beginRegion="Brace1" />  			<!-- This is needed only to assist variable based indentation -->
xml/relaxng.xml view
@@ -16,8 +16,8 @@    - Namespace rules --> -<language version="0.8"-          kateversion="2.1"+<language version="1"+          kateversion="2.4"           name="RELAX NG"           section="Markup"           extensions="*.rng;*.RNG"
xml/relaxngcompact.xml view
@@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd">-<language name="RelaxNG-Compact" version="0.2" kateversion="2.4" section="Markup" extensions="*.rnc" casesensitive="1" author="Rintze Zelle" license="LGPL">+<language name="RelaxNG-Compact" version="1" kateversion="2.4" section="Markup" extensions="*.rnc" casesensitive="1" author="Rintze Zelle" license="LGPL">   <highlighting>     <list name="Keywords">       <item> default </item>
xml/rest.xml view
@@ -11,7 +11,7 @@   Copyright 2010 Matt Williams (matt@milliams.com)   Copyright 2014 Matthew Woehlke (mw_triad@users.sourceforge.net)   -->-<language name="reStructuredText" extensions="*.rst" section="Markup" mimetype="text/x-rst" version="1.4" kateversion="2.4" casesensitive="1">+<language name="reStructuredText" extensions="*.rst" section="Markup" mimetype="text/x-rst" version="2" kateversion="2.4" casesensitive="1">    <highlighting> 
− xml/rest.xml.patch
@@ -1,13 +0,0 @@-diff --git a/xml/rest.xml b/xml/rest.xml-index 1c86f00..a61b16b 100644---- a/xml/rest.xml-+++ b/xml/rest.xml-@@ -3,7 +3,7 @@- [-         <!ENTITY inlinestart "(^|[-\s&apos;&quot;\(\[{&lt;/:‘“’«¡¿‐‑‒–— ])">-         <!ENTITY inlineend "(?=[-\s’”»‐‑‒–— &apos;&quot;\)\]}&gt;/:\.,;!\?\\]|$--        <!ENTITY SimpleReferenceNameChars "\w_\.:\+-">-+        <!ENTITY SimpleReferenceNameChars "\w_\.:\+\-">- ]>- <!---   This file is part of KDE's kate project.
xml/rhtml.xml view
@@ -44,7 +44,7 @@ --> 	 <!-- Hold the "language" opening tag on a single line, as mentioned in "language.dtd". -->-<language name="Ruby/Rails/RHTML" version="1.01" kateversion="2.4" section="Markup" extensions="*.rhtml;*.html.erb" mimetype="" author="Richard Dale rdale@foton.es" license="LGPL">+<language name="Ruby/Rails/RHTML" version="2" kateversion="2.4" section="Markup" extensions="*.rhtml;*.html.erb" mimetype="" author="Richard Dale rdale@foton.es" license="LGPL"> 	 	<highlighting> 	
xml/roff.xml view
@@ -4,10 +4,10 @@   <!ENTITY roffidc "[^]\s]">   <!ENTITY roffid  "(&roffidc;|\(&roffidc;{2}|\[&roffidc;+\])">   <!ENTITY roffnum "([0-9]+)">-  <!ENTITY argsep1 "([^\\]|\\[&#37; |^{}'`-_!?@)/,&amp;:~0acdeEprtu])">-  <!ENTITY argsep2 "([^\\0-9]|\\[&#37;:{}'`-_!@/cep])">+  <!ENTITY argsep1 "([^\\]|\\[&#37; |\^{}'`\-!?@)/,&amp;:~0E_acdeprtu])">+  <!ENTITY argsep2 "([^\\0-9]|\\[&#37;:{}'`\-_!@/cep])"> ]>-<language name="Roff" section="Markup" version="0.11" kateversion="2.9" extensions="" author="Matthew Woehlke (mw_triad@users.sourceforge.net)" license="GPL">+<language name="Roff" section="Markup" version="2" kateversion="2.4" extensions="" author="Matthew Woehlke (mw_triad@users.sourceforge.net)" license="GPL">    <highlighting> @@ -52,7 +52,7 @@         <RegExpr attribute="Font" context="#pop" String="\\s(\[([1-3][0-9]|[04-9])\]|[04-9]|[+-][0-9]|([+-]?\(|\([+-])[0-9][0-9])"/>         <Detect2Chars attribute="Escape" context="#pop" char="\\" char1="\\"/>         <RegExpr attribute="Escape" context="#pop" String="\\(\$[0-9*@]|[.:&#37; |^{}_!?@)/,&amp;:~0acdeEprtu])"/>-        <RegExpr attribute="Escape" context="Argument" String="\\[AbBDowXZ]&argsep1;"/>+        <RegExpr attribute="Escape" context="Argument" String="\\[ABDXZbow]&argsep1;"/>         <RegExpr attribute="Escape" context="#pop" String="\\[gkmMVYz]&roffid;"/>         <RegExpr attribute="Escape" context="#pop" String="\\O([0-4]|\[5[lrci][^]]\])"/>         <RegExpr attribute="Escape" context="Measurement" String="\\[hHSvx]&argsep1;"/>
xml/ruby.xml view
@@ -31,8 +31,8 @@  <!-- Hold the "language" opening tag on a single line, as mentioned in "language.dtd". --> <language name="Ruby" section="Scripts"-	  version="1.27" kateversion="2.4"-	  extensions="*.rb;*.rjs;*.rxml;*.xml.erb;*.js.erb;*.rake;Rakefile;Gemfile;*.gemspec"+	  version="2" kateversion="3.3"+	  extensions="*.rb;*.rjs;*.rxml;*.xml.erb;*.js.erb;*.rake;Rakefile;Gemfile;*.gemspec;Vagrantfile" 	  mimetype="application/x-ruby" 	  style="ruby" indenter="ruby" 	  author="Stefan Lang (langstefan@gmx.at), Sebastian Vuorinen (sebastian.vuorinen@helsinki.fi), Robin Pedersen (robinpeder@gmail.com), Miquel Sabaté (mikisabate@gmail.com)" license="LGPL">@@ -279,6 +279,9 @@  				<RegExpr attribute="Symbol" String=":(@{1,2}|\$)?[a-zA-Z_][a-zA-Z0-9_]*[=?!]?" context="check_div_1"/> 				<RegExpr attribute="Symbol" String=":\[\]=?" context="check_div_1"/>++				<RegExpr attribute="Symbol" String="(@{1,2}|\$)?[a-zA-Z_][a-zA-Z0-9_]*[=?!]?: " context="check_div_1"/>+				<RegExpr attribute="Symbol" String="\[\]=?: " context="check_div_1"/>  				<DetectChar attribute="String" char="&quot;" context="Quoted String"/> 				<DetectChar attribute="Raw String" char="'" context="Apostrophed String"/>
xml/rust.xml view
@@ -1,13 +1,40 @@ <?xml version="1.0" encoding="UTF-8"?>+<!--+    Copyright (c) 2015 The Rust Project Developers++    Permission is hereby granted, free of charge, to any+    person obtaining a copy of this software and associated+    documentation files (the "Software"), to deal in the+    Software without restriction, including without+    limitation the rights to use, copy, modify, merge,+    publish, distribute, sublicense, and/or sell copies of+    the Software, and to permit persons to whom the Software+    is furnished to do so, subject to the following+    conditions:++    The above copyright notice and this permission notice+    shall be included in all copies or substantial portions+    of the Software.++    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF+    ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED+    TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A+    PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT+    SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY+    CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION+    OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR+    IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER+    DEALINGS IN THE SOFTWARE.+--> <!DOCTYPE language SYSTEM "language.dtd" [-	<!-- TODO: Kate's regex engine has very limited support for+	<!-- FIXME: Kate's regex engine has very limited support for 	predefined char classes, so making rustIdent consistent with actual 	Rust identifiers will be a bit difficult --> 	<!ENTITY rustIdent "[a-zA-Z_][a-zA-Z_0-9]*"> 	<!ENTITY rustIntSuf "([iu](8|16|32|64)?)?"> ]>-<language name="Rust" version="0.9" kateversion="2.4" section="Sources" extensions="*.rs;*.rc" mimetype="text/x-rust" priority="15">+<language name="Rust" version="2" kateversion="5.0" section="Sources" extensions="*.rs" mimetype="text/rust" priority="15"> <highlighting> 	<list name="fn"> 		<item> fn </item>@@ -16,63 +43,99 @@ 		<item> type </item> 	</list> 	<list name="keywords">+		<item> abstract </item>+		<item> alignof </item> 		<item> as </item>+		<item> become </item>+		<item> box </item> 		<item> break </item>+		<item> const </item> 		<item> continue </item>+		<item> crate </item> 		<item> do </item>-		<item> drop </item> 		<item> else </item> 		<item> enum </item> 		<item> extern </item>+		<item> final </item> 		<item> for </item> 		<item> if </item> 		<item> impl </item>+		<item> in </item> 		<item> let </item> 		<item> loop </item>+		<item> macro </item> 		<item> match </item> 		<item> mod </item>+		<item> move </item> 		<item> mut </item>+		<item> offsetof </item>+		<item> override </item> 		<item> priv </item>+		<item> proc </item> 		<item> pub </item>+		<item> pure </item> 		<item> ref </item> 		<item> return </item>+		<item> Self </item>+		<item> self </item>+		<item> sizeof </item> 		<item> static </item> 		<item> struct </item> 		<item> super </item> 		<item> trait </item>+		<item> type </item>+		<item> typeof </item> 		<item> unsafe </item>+		<item> unsized </item> 		<item> use </item>+		<item> virtual </item>+		<item> where </item> 		<item> while </item>+		<item> yield </item> 	</list> 	<list name="traits">-		<item> Const </item>+		<item> AsSlice </item>+		<item> CharExt </item>+		<item> Clone </item> 		<item> Copy </item>-		<item> Send </item>-		<item> Owned </item>-		<item> Sized </item>+		<item> Debug </item>+		<item> Decodable </item>+		<item> Default </item>+		<item> Display </item>+		<item> DoubleEndedIterator </item>+		<item> Drop </item>+		<item> Encodable </item> 		<item> Eq </item>+		<item> Default </item>+		<item> Extend </item>+		<item> Fn </item>+		<item> FnMut </item>+		<item> FnOnce </item>+		<item> FromPrimitive </item>+		<item> Hash </item>+		<item> Iterator </item>+		<item> IteratorExt </item>+		<item> MutPtrExt </item> 		<item> Ord </item>-		<item> Num </item>-		<item> Ptr </item>-		<item> Drop </item>-		<item> Add </item>-		<item> Sub </item>-		<item> Mul </item>-		<item> Quot </item>-		<item> Rem </item>-		<item> Neg </item>-		<item> BitAnd </item>-		<item> BitOr </item>-		<item> BitXor </item>-		<item> Shl </item>-		<item> Shr </item>-		<item> Index </item>-		<item> Not </item>+		<item> PartialEq </item>+		<item> PartialOrd </item>+		<item> PtrExt </item>+		<item> Rand </item>+		<item> Send </item>+		<item> Sized </item>+		<item> SliceConcatExt </item>+		<item> SliceExt </item>+		<item> Str </item>+		<item> StrExt </item>+		<item> Sync </item>+		<item> ToString </item> 	</list> 	<list name="types"> 		<item> bool </item> 		<item> int </item>+		<item> isize </item> 		<item> uint </item>+		<item> usize </item> 		<item> i8 </item> 		<item> i16 </item> 		<item> i32 </item>@@ -86,10 +149,12 @@ 		<item> float </item> 		<item> char </item> 		<item> str </item>-		<item> Either </item> 		<item> Option </item> 		<item> Result </item> 		<item> Self </item>+		<item> Box </item>+		<item> Vec </item>+		<item> String </item> 	</list> 	<list name="ctypes"> 		<item> c_float </item>@@ -131,8 +196,6 @@ 		<item> false </item> 		<item> Some </item> 		<item> None </item>-		<item> Left </item>-		<item> Right </item> 		<item> Ok </item> 		<item> Err </item> 		<item> Success </item>@@ -204,11 +267,15 @@ 			<RegExpr String="[0-9][0-9_]*\.[0-9_]*([eE][+-]?[0-9_]+)?(f32|f64|f)?" attribute="Number" context="#stay"/> 			<RegExpr String="[0-9][0-9_]*&rustIntSuf;" attribute="Number" context="#stay"/> 			<Detect2Chars char="#" char1="[" attribute="Attribute" context="Attribute" beginRegion="Attribute"/>+			<StringDetect String="#![" attribute="Attribute" context="Attribute" beginRegion="Attribute"/> 			<RegExpr String="&rustIdent;::" attribute="Scope"/> 			<RegExpr String="&rustIdent;!" attribute="Macro"/> 			<RegExpr String="&apos;&rustIdent;(?!&apos;)" attribute="Lifetime"/> 			<DetectChar char="{" attribute="Symbol" context="#stay" beginRegion="Brace" /> 			<DetectChar char="}" attribute="Symbol" context="#stay" endRegion="Brace" />+                        <Detect2Chars char="r" char1="&quot;" attribute="String" context="RawString"/>+                        <StringDetect String="r##&quot;" attribute="String" context="RawHashed2"/>+                        <StringDetect String="r#&quot;" attribute="String" context="RawHashed1"/> 			<DetectChar char="&quot;" attribute="String" context="String"/> 			<DetectChar char="&apos;" attribute="Character" context="Character"/> 			<DetectChar char="[" attribute="Symbol" context="#stay" beginRegion="Bracket" />@@ -228,12 +295,24 @@ 			<DetectSpaces/> 			<DetectChar char="=" attribute="Normal Text" context="#pop"/> 			<DetectChar char="&lt;" attribute="Normal Text" context="#pop"/>+			<DetectChar char=";" attribute="Normal Text" context="#pop"/> 		</context>-		<context attribute="String" lineEndContext="#stay" name="String">-			<LineContinue attribute="String" context="#stay"/>-			<DetectChar char="\" attribute="CharEscape" context="CharEscape"/>+                <!-- Rustc allows strings to extend over multiple lines, and the+                only thing a backshash at end-of-line does is remove the whitespace. -->+                <context attribute="String" lineEndContext="#stay" name="String">+                        <DetectChar char="\" attribute="CharEscape" context="CharEscape"/>+                        <DetectChar attribute="String" context="#pop" char="&quot;"/>+                </context>+		<context attribute="String" lineEndContext="#stay" name="RawString"> 			<DetectChar attribute="String" context="#pop" char="&quot;"/> 		</context>+                <!-- These rules are't complete: they won't match r###"abc"### -->+                <context attribute="String" lineEndContext="#stay" name="RawHashed1">+                        <Detect2Chars attribute="String" context="#pop" char="&quot;" char1="#"/>+                </context>+                <context attribute="String" lineEndContext="#stay" name="RawHashed2">+                        <StringDetect attribute="String" context="#pop" String="&quot;##"/>+                </context> 		<context attribute="Character" lineEndContext="#pop" name="Character"> 			<DetectChar char="\" attribute="CharEscape" context="CharEscape"/> 			<DetectChar attribute="Character" context="#pop" char="&apos;"/>@@ -241,6 +320,7 @@ 		<context attribute="CharEscape" lineEndContext="#pop" name="CharEscape"> 			<AnyChar String="nrt\&apos;&quot;" attribute="CharEscape" context="#pop"/> 			<RegExpr String="x[0-9a-fA-F]{2}" attribute="CharEscape" context="#pop"/>+			<RegExpr String="u\{[0-9a-fA-F]{1,6}\}" attribute="CharEscape" context="#pop"/> 			<RegExpr String="u[0-9a-fA-F]{4}" attribute="CharEscape" context="#pop"/> 			<RegExpr String="U[0-9a-fA-F]{8}" attribute="CharEscape" context="#pop"/> 			<RegExpr String="." attribute="Error" context="#pop"/>@@ -248,28 +328,29 @@ 		<context attribute="Comment" lineEndContext="#pop" name="Commentar 1"/> 		<context attribute="Comment" lineEndContext="#stay" name="Commentar 2"> 			<DetectSpaces/>+			<Detect2Chars char="/" char1="*" attribute="Comment" context="Commentar 2" beginRegion="Comment"/> 			<Detect2Chars char="*" char1="/" attribute="Comment" context="#pop" endRegion="Comment"/> 		</context> 	</contexts>-    <itemDatas>+	<itemDatas> 		<itemData name="Normal Text"  defStyleNum="dsNormal"/>-		<itemData name="Keyword"      defStyleNum="dsKeyword" color="#770088" bold="1"/>-		<itemData name="Self"         defStyleNum="dsKeyword" color="#FF0000" bold="1"/>-		<itemData name="Type"         defStyleNum="dsKeyword" color="#4e9a06" bold="1"/>-		<itemData name="Trait"        defStyleNum="dsKeyword" color="#4e9a06" bold="1"/>-		<itemData name="CType"        defStyleNum="dsNormal" color="#4e9a06"/>-		<itemData name="Constant"     defStyleNum="dsKeyword" color="#116644"/>-		<itemData name="CConstant"    defStyleNum="dsNormal" color="#116644"/>-		<itemData name="Definition"   defStyleNum="dsNormal" color="#0000FF"/>-		<itemData name="Comment"      defStyleNum="dsComment" color="#AA5500"/>-		<itemData name="Scope"        defStyleNum="dsNormal" color="#0055AA"/>-		<itemData name="Number"       defStyleNum="dsDecVal" color="#116644"/>-		<itemData name="String"       defStyleNum="dsString" color="#FF0000"/>-		<itemData name="CharEscape"   defStyleNum="dsChar" color="#FF0000" bold="1"/>-		<itemData name="Character"    defStyleNum="dsChar" color="#FF0000"/>-		<itemData name="Macro"        defStyleNum="dsOthers"/>-		<itemData name="Attribute"    defStyleNum="dsOthers"/>-		<itemData name="Lifetime"     defStyleNum="dsOthers" bold="1"/>+		<itemData name="Keyword"      defStyleNum="dsKeyword" spellChecking="0"/>+		<itemData name="Self"         defStyleNum="dsKeyword" spellChecking="0"/>+		<itemData name="Type"         defStyleNum="dsDataType" spellChecking="0"/>+		<itemData name="Trait"        defStyleNum="dsBuiltIn" spellChecking="0"/>+		<itemData name="CType"        defStyleNum="dsDataType" spellChecking="0"/>+		<itemData name="Constant"     defStyleNum="dsConstant" spellChecking="0"/>+		<itemData name="CConstant"    defStyleNum="dsConstant" spellChecking="0"/>+		<itemData name="Definition"   defStyleNum="dsNormal"/>+		<itemData name="Comment"      defStyleNum="dsComment"/>+		<itemData name="Scope"        defStyleNum="dsNormal"/>+		<itemData name="Number"       defStyleNum="dsDecVal"/>+		<itemData name="String"       defStyleNum="dsString"/>+		<itemData name="CharEscape"   defStyleNum="dsSpecialChar"/>+		<itemData name="Character"    defStyleNum="dsChar"/>+		<itemData name="Macro"        defStyleNum="dsPreprocessor"/>+		<itemData name="Attribute"    defStyleNum="dsAttribute"/>+		<itemData name="Lifetime"     defStyleNum="dsOthers" spellChecking="0"/> 		<itemData name="Error"        defStyleNum="dsError"/> 	</itemDatas> </highlighting>@@ -281,3 +362,4 @@ 	<keywords casesensitive="1" /> </general> </language>+
xml/scala.xml view
@@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd">-<language name="Scala" version="1.0" kateversion="2.4" section="Sources"+<language name="Scala" version="2" kateversion="2.3" section="Sources"           extensions="*.scala" mimetype="text/x-scala" license="LGPL"           author="Stephane Micheloud (stephane.micheloud@epfl.ch)"> <!--
xml/scheme.xml view
@@ -40,7 +40,7 @@    guile procedures (cause then almost everything would be highlighted) I    removed some to have a rather small but "senseful" list of highlighted words. -->-<language version="1.13" kateversion="2.4" name="Scheme" section="Scripts" extensions="*.scm;*.ss;*.scheme;*.guile" mimetype="text/x-scheme" author="Dominik Haumann (dhdev@gmx.de)" license="LGPL" priority="9">+<language version="2" kateversion="2.4" name="Scheme" section="Scripts" extensions="*.scm;*.ss;*.scheme;*.guile" mimetype="text/x-scheme" author="Dominik Haumann (dhdev@gmx.de)" license="LGPL" priority="9">   <highlighting>     <list name="operators">       <item> &lt;= </item>
xml/sci.xml view
@@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd">-<language name="scilab" version="1.03" kateversion="2.3" section="Scientific" extensions="*.sci;*.sce" mimetype="text/x-sci">+<language name="scilab" version="2" kateversion="2.2" section="Scientific" extensions="*.sci;*.sce" mimetype="text/x-sci">   <highlighting>     <list name="Structure-keywords">       <item> do </item>
xml/sed.xml view
@@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd">-<language name="sed" section="Scripts" version="1.0" kateversion="2.4" extensions="*.sed" mimetype="text/x-sed" author="Bart Sas (bart.sas@gmail.com)" license="GPL">+<language name="sed" section="Scripts" version="2" kateversion="2.4" extensions="*.sed" mimetype="text/x-sed" author="Bart Sas (bart.sas@gmail.com)" license="GPL">         <highlighting>                 <contexts>                         <context name="BeginningOfLine" attribute="Normal" lineEndContext="#stay">
xml/sgml.xml view
@@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd">-<language name="SGML" version="1.02" kateversion="2.1" section="Markup" extensions="*.sgml" mimetype="text/sgml">+<language name="SGML" version="2" kateversion="2.2" section="Markup" extensions="*.sgml" mimetype="text/sgml">   <highlighting>     <contexts>        <context attribute="Normal Text" lineEndContext="#stay" name="Normal Text" >
xml/sql-mysql.xml view
@@ -5,7 +5,7 @@   original by Shane Wright (me@shanewright.co.uk)   modifications by Milian Wolff (mail@milianw.de) -->-<language name="SQL (MySQL)" version="1.15" kateversion="2.5" section="Database" extensions="*.sql;*.SQL;*.ddl;*.DDL" mimetype="text/x-sql" casesensitive="0" author="Shane Wright (me@shanewright.co.uk)" license="">+<language name="SQL (MySQL)" version="2" kateversion="3.4" section="Database" extensions="*.sql;*.SQL;*.ddl;*.DDL" mimetype="text/x-sql" casesensitive="0" author="Shane Wright (me@shanewright.co.uk)" license="">   <highlighting>     <list name="keywords">       <item> ACCESS </item>@@ -91,8 +91,8 @@       <item> MASTER_SERVER_ID </item>       <item> MATCH </item>       <item> MRG_MYISAM </item>-      <item> NATURAL </item>       <item> NATIONAL </item>+      <item> NATURAL </item>       <item> NOT </item>       <item> NULL </item>       <item> NUMERIC </item>@@ -183,196 +183,196 @@     <list name="functions">       <!-- string functions -->       <item> ASCII </item>-      <item> ORD </item>-      <item> CONV </item>       <item> BIN </item>-      <item> OCT </item>-      <item> HEX </item>+      <item> BIT_LENGTH </item>       <item> CHAR </item>+      <item> CHARACTER_LENGTH </item>+      <item> CHAR_LENGTH </item>       <item> CONCAT </item>       <item> CONCAT_WS </item>+      <item> CONV </item>+      <item> ELT </item>+      <item> EXPORT_SET </item>+      <item> FIELD </item>+      <item> FIND_IN_SET </item>+      <item> HEX </item>+      <item> INSERT </item>+      <item> INSTR </item>+      <item> LCASE </item>+      <item> LEFT </item>       <item> LENGTH </item>-      <item> OCTET_LENGTH </item>-      <item> CHAR_LENGTH </item>-      <item> CHARACTER_LENGTH </item>-      <item> BIT_LENGTH </item>+      <item> LOAD_FILE </item>       <item> LOCATE </item>-      <item> POSITION </item>-      <item> INSTR </item>+      <item> LOWER </item>       <item> LPAD </item>-      <item> RPAD </item>-      <item> LEFT </item>-      <item> RIGHT </item>-      <item> SUBSTRING </item>-      <item> SUBSTRING_INDEX </item>-      <item> MID </item>       <item> LTRIM </item>+      <item> MAKE_SET </item>+      <item> MID </item>+      <item> OCT </item>+      <item> OCTET_LENGTH </item>+      <item> ORD </item>+      <item> POSITION </item>+      <item> QUOTE </item>+      <item> REPEAT </item>+      <item> REPLACE </item>+      <item> REVERSE </item>+      <item> RIGHT </item>+      <item> RPAD </item>       <item> RTRIM </item>-      <item> TRIM </item>       <item> SOUNDEX </item>       <item> SPACE </item>-      <item> REPLACE </item>-      <item> REPEAT </item>-      <item> REVERSE </item>-      <item> INSERT </item>-      <item> ELT </item>-      <item> FIELD </item>-      <item> FIND_IN_SET </item>-      <item> MAKE_SET </item>-      <item> EXPORT_SET </item>-      <item> LCASE </item>-      <item> LOWER </item>+      <item> SUBSTRING </item>+      <item> SUBSTRING_INDEX </item>+      <item> TRIM </item>       <item> UCASE </item>       <item> UPPER </item>-      <item> LOAD_FILE </item>-      <item> QUOTE </item>       <!-- math functions -->       <item> ABS </item>-      <item> SIGN </item>-      <item> MOD </item>-      <item> FLOOR </item>+      <item> ACOS </item>+      <item> ASIN </item>+      <item> ATAN </item>+      <item> ATAN2 </item>       <item> CEILING </item>-      <item> ROUND </item>+      <item> COS </item>+      <item> COT </item>+      <item> DEGREES </item>       <item> EXP </item>+      <item> FLOOR </item>+      <item> GREATEST </item>+      <item> LEAST </item>       <item> LN </item>       <item> LOG </item>-      <item> LOG2 </item>       <item> LOG10 </item>+      <item> LOG2 </item>+      <item> MOD </item>+      <item> PI </item>       <item> POW </item>       <item> POWER </item>-      <item> SQRT </item>-      <item> PI </item>-      <item> COS </item>+      <item> RADIANS </item>+      <item> RAND </item>+      <item> ROUND </item>+      <item> SIGN </item>       <item> SIN </item>+      <item> SQRT </item>       <item> TAN </item>-      <item> ACOS </item>-      <item> ASIN </item>-      <item> ATAN </item>-      <item> ATAN2 </item>-      <item> COT </item>-      <item> RAND </item>-      <item> LEAST </item>-      <item> GREATEST </item>-      <item> DEGREES </item>-      <item> RADIANS </item>       <!-- date/time functions -->-      <item> DAYOFWEEK </item>-      <item> WEEKDAY </item>+      <item> ADDDATE </item>+      <item> CURDATE </item>+      <item> CURRENT_DATE </item>+      <item> CURRENT_TIME </item>+      <item> CURRENT_TIMESTAMP </item>+      <item> CURTIME </item>+      <item> DATE_ADD </item>+      <item> DATE_FORMAT </item>+      <item> DATE_SUB </item>+      <item> DAYNAME </item>       <item> DAYOFMONTH </item>+      <item> DAYOFWEEK </item>       <item> DAYOFYEAR </item>-      <item> MONTH </item>-      <item> DAYNAME </item>-      <item> MONTHNAME </item>-      <item> QUARTER </item>-      <item> WEEK </item>-      <item> YEAR </item>-      <item> YEARWEEK </item>+      <item> EXTRACT </item>+      <item> FROM_DAYS </item>+      <item> FROM_UNIXTIME </item>       <item> HOUR </item>       <item> MINUTE </item>-      <item> SECOND </item>+      <item> MONTH </item>+      <item> MONTHNAME </item>+      <item> NOW </item>       <item> PERIOD_ADD </item>       <item> PERIOD_DIFF </item>-      <item> DATE_ADD </item>-      <item> DATE_SUB </item>-      <item> ADDDATE </item>+      <item> QUARTER </item>+      <item> SECOND </item>+      <item> SEC_TO_TIME </item>       <item> SUBDATE </item>-      <item> EXTRACT </item>-      <item> TO_DAYS </item>-      <item> FROM_DAYS </item>-      <item> DATE_FORMAT </item>-      <item> TIME_FORMAT </item>-      <item> CURDATE </item>-      <item> CURRENT_DATE </item>-      <item> CURTIME </item>-      <item> CURRENT_TIME </item>-      <item> NOW </item>       <item> SYSDATE </item>-      <item> CURRENT_TIMESTAMP </item>-      <item> UNIX_TIMESTAMP </item>-      <item> FROM_UNIXTIME </item>-      <item> SEC_TO_TIME </item>+      <item> TIME_FORMAT </item>       <item> TIME_TO_SEC </item>+      <item> TO_DAYS </item>+      <item> UNIX_TIMESTAMP </item>+      <item> WEEK </item>+      <item> WEEKDAY </item>+      <item> YEAR </item>+      <item> YEARWEEK </item>       <!-- cast functions -->       <item> CAST </item>       <item> CONVERT </item>       <!-- misc -->+      <item> AES_DECRYPT </item>+      <item> AES_ENCRYPT </item>+      <item> BENCHMARK </item>       <item> BIT_COUNT </item>+      <item> CONNECTION_ID </item>       <item> DATABASE </item>-      <item> USER </item>-      <item> SYSTEM_USER </item>-      <item> SESSION_USER </item>-      <item> PASSWORD </item>-      <item> ENCRYPT </item>-      <item> ENCODE </item>       <item> DECODE </item>-      <item> MD5 </item>-      <item> SHA1 </item>-      <item> SHA </item>-      <item> AES_ENCRYPT </item>-      <item> AES_DECRYPT </item>-      <item> DES_ENCRYPT </item>       <item> DES_DECRYPT </item>-      <item> LAST_INSERT_ID </item>+      <item> DES_ENCRYPT </item>+      <item> ENCODE </item>+      <item> ENCRYPT </item>       <item> FORMAT </item>-      <item> VERSION </item>-      <item> CONNECTION_ID </item>+      <item> FOUND_ROWS </item>       <item> GET_LOCK </item>-      <item> RELEASE_LOCK </item>-      <item> IS_FREE_LOCK </item>-      <item> BENCHMARK </item>-      <item> INET_NTOA </item>       <item> INET_ATON </item>+      <item> INET_NTOA </item>+      <item> IS_FREE_LOCK </item>+      <item> LAST_INSERT_ID </item>       <item> MASTER_POS_WAIT </item>-      <item> FOUND_ROWS </item>+      <item> MD5 </item>+      <item> PASSWORD </item>+      <item> RELEASE_LOCK </item>+      <item> SESSION_USER </item>+      <item> SHA </item>+      <item> SHA1 </item>+      <item> SYSTEM_USER </item>+      <item> USER </item>+      <item> VERSION </item>       <!-- GROUP BY -->-      <item> COUNT </item>       <item> AVG </item>-      <item> MIN </item>+      <item> BIT_AND </item>+      <item> BIT_OR </item>+      <item> COUNT </item>       <item> MAX </item>-      <item> SUM </item>+      <item> MIN </item>       <item> STD </item>       <item> STDDEV </item>-      <item> BIT_OR </item>-      <item> BIT_AND </item>+      <item> SUM </item>     </list>     <list name="types">       <!-- strings -->-      <item> CHAR </item>-      <item> CHARACTER </item>-      <item> VARCHAR </item>       <item> BINARY </item>-      <item> VARBINARY </item>-      <item> TINYBLOB </item>-      <item> MEDIUMBLOB </item>       <item> BLOB </item>+      <item> CHAR </item>+      <item> CHARACTER </item>+      <item> ENUM </item>       <item> LONGBLOB </item>-      <item> TINYTEXT </item>+      <item> LONGTEXT </item>+      <item> MEDIUMBLOB </item>       <item> MEDIUMTEXT </item>       <item> TEXT </item>-      <item> LONGTEXT </item>-      <item> ENUM </item>+      <item> TINYBLOB </item>+      <item> TINYTEXT </item>+      <item> VARBINARY </item>+      <item> VARCHAR </item>       <!-- <item> SET </item>         needs special regexp (see below) -->       <!-- numeric -->+      <item> BIGINT </item>       <item> BIT </item>       <item> BOOL </item>       <item> BOOLEAN </item>-      <item> TINYINT </item>-      <item> SMALLINT </item>-      <item> MEDIUMINT </item>-      <item> MIDDLEINT </item>-      <item> INT </item>-      <item> INTEGER </item>-      <item> BIGINT </item>-      <item> FLOAT </item>-      <item> DOUBLE </item>-      <item> REAL </item>-      <item> DECIMAL </item>       <item> DEC </item>+      <item> DECIMAL </item>+      <item> DOUBLE </item>       <item> FIXED </item>-      <item> NUMERIC </item>+      <item> FLOAT </item>+      <item> INT </item>+      <item> INTEGER </item>       <item> LONG </item>+      <item> MEDIUMINT </item>+      <item> MIDDLEINT </item>+      <item> NUMERIC </item>+      <item> TINYINT </item>+      <item> REAL </item>       <item> SERIAL </item>+      <item> SMALLINT </item>       <!-- date and time -->       <item> DATE </item>       <item> DATETIME </item>@@ -382,7 +382,7 @@     </list>     <contexts>       <context name="Normal" attribute="Normal Text" lineEndContext="#stay">-        <DetectSpaces />+        <DetectSpaces/>         <!-- problematic special cases -->         <!-- SET type -->         <RegExpr attribute="Data Type" context="#stay" insensitive="true" String="SET(?=\s*\()"/>@@ -394,7 +394,7 @@         <keyword attribute="Function" context="#stay" String="functions"/>         <keyword attribute="Data Type" context="#stay" String="types"/> -        <DetectIdentifier />+        <DetectIdentifier/>         <!-- extra data types -->         <RegExpr attribute="Data Type" context="#stay" String="%(?:bulk_(?:exceptions|rowcount)|found|isopen|notfound|rowcount|rowtype|type)\b" insensitive="true"/>         <!-- numbers -->@@ -447,20 +447,20 @@       <context name="Preprocessor" attribute="Preprocessor" lineEndContext="#pop"/>     </contexts>     <itemDatas>-      <itemData name="Normal Text" defStyleNum="dsNormal" spellChecking="false"/>-      <itemData name="Keyword" defStyleNum="dsKeyword" spellChecking="false"/>-      <itemData name="Operator" defStyleNum="dsNormal" spellChecking="false"/>-      <itemData name="Function" defStyleNum="dsFunction" spellChecking="false"/>-      <itemData name="Data Type" defStyleNum="dsDataType" spellChecking="false"/>-      <itemData name="Decimal"  defStyleNum="dsDecVal" spellChecking="false"/>-      <itemData name="Float"  defStyleNum="dsFloat" spellChecking="false"/>-      <itemData name="Hex" defStyleNum="dsBaseN" spellChecking="false"/>-      <itemData name="String" defStyleNum="dsString"/>+      <itemData name="Normal Text"       defStyleNum="dsNormal" spellChecking="false"/>+      <itemData name="Keyword"           defStyleNum="dsKeyword" spellChecking="false"/>+      <itemData name="Operator"          defStyleNum="dsNormal" spellChecking="false"/>+      <itemData name="Function"          defStyleNum="dsFunction" spellChecking="false"/>+      <itemData name="Data Type"         defStyleNum="dsDataType" spellChecking="false"/>+      <itemData name="Decimal"           defStyleNum="dsDecVal" spellChecking="false"/>+      <itemData name="Hex"               defStyleNum="dsBaseN" spellChecking="false"/>+      <itemData name="Float"             defStyleNum="dsFloat" spellChecking="false"/>       <itemData name="Name" color="#080" defStyleNum="dsString" spellChecking="false"/>-      <itemData name="String Char" defStyleNum="dsChar" spellChecking="false"/>-      <itemData name="Comment" defStyleNum="dsComment"/>-      <itemData name="Symbol"  defStyleNum="dsChar" spellChecking="false"/>-      <itemData name="Preprocessor" defStyleNum="dsOthers" spellChecking="false"/>+      <itemData name="String"            defStyleNum="dsString"/>+      <itemData name="String Char"       defStyleNum="dsChar" spellChecking="false"/>+      <itemData name="Comment"           defStyleNum="dsComment"/>+      <itemData name="Symbol"            defStyleNum="dsChar" spellChecking="false"/>+      <itemData name="Preprocessor"      defStyleNum="dsOthers" spellChecking="false"/>     </itemDatas>   </highlighting>   <general>@@ -472,4 +472,3 @@     <folding indentationsensitive="true"/>   </general> </language>-
xml/sql-postgresql.xml view
@@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> <!-- PostgreSQL SQL, syntax definition based on sql.xml by Yury Lebedev -->-<language name="SQL (PostgreSQL)" version="1.12" kateversion="2.4" section="Database" extensions="*.sql;*.SQL;*.ddl;*.DDL" mimetype="text/x-sql" casesensitive="0" author="Shane Wright (me@shanewright.co.uk)" license="">+<language name="SQL (PostgreSQL)" version="2" kateversion="2.4" section="Database" extensions="*.sql;*.SQL;*.ddl;*.DDL" mimetype="text/x-sql" casesensitive="0" author="Shane Wright (me@shanewright.co.uk)" license="">   <highlighting>     <list name="keywords">       <item> ABORT </item>@@ -48,12 +48,12 @@       <item> CATALOG </item>       <item> CATALOG_NAME </item>       <item> CHAIN </item>-      <item> CHAR_LENGTH </item>+      <item> CHARACTERISTICS </item>       <item> CHARACTER_LENGTH </item>       <item> CHARACTER_SET_CATALOG </item>       <item> CHARACTER_SET_NAME </item>       <item> CHARACTER_SET_SCHEMA </item>-      <item> CHARACTERISTICS </item>+      <item> CHAR_LENGTH </item>       <item> CHECK </item>       <item> CHECKED </item>       <item> CHECKPOINT </item>@@ -81,11 +81,11 @@       <item> CONNECT </item>       <item> CONNECTION </item>       <item> CONNECTION_NAME </item>+      <item> CONSTRAINTS </item>       <item> CONSTRAINT </item>       <item> CONSTRAINT_CATALOG </item>       <item> CONSTRAINT_NAME </item>       <item> CONSTRAINT_SCHEMA </item>-      <item> CONSTRAINTS </item>       <item> CONSTRUCTOR </item>       <item> CONTAINS </item>       <item> CONTINUE </item>@@ -163,6 +163,7 @@       <item> EXISTS </item>       <item> EXPLAIN </item>       <item> EXTERNAL </item>+      <item> FALSE </item>       <item> FETCH </item>       <item> FINAL </item>       <item> FIRST </item>@@ -315,13 +316,13 @@       <item> OWNER </item>       <item> PAD </item>       <item> PARAMETER </item>+      <item> PARAMETERS </item>       <item> PARAMETER_MODE </item>       <item> PARAMETER_NAME </item>       <item> PARAMETER_ORDINAL_POSITION </item>       <item> PARAMETER_SPECIFIC_CATALOG </item>       <item> PARAMETER_SPECIFIC_NAME </item>       <item> PARAMETER_SPECIFIC_SCHEMA </item>-      <item> PARAMETERS </item>       <item> PARTIAL </item>       <item> PASCAL </item>       <item> PASSWORD </item>@@ -371,8 +372,8 @@       <item> ROUTINE_NAME </item>       <item> ROUTINE_SCHEMA </item>       <item> ROW </item>-      <item> ROW_COUNT </item>       <item> ROWS </item>+      <item> ROW_COUNT </item>       <item> RULE </item>       <item> SAVEPOINT </item>       <item> SCALE </item>@@ -404,8 +405,8 @@       <item> SOURCE </item>       <item> SPACE </item>       <item> SPECIFIC </item>-      <item> SPECIFIC_NAME </item>       <item> SPECIFICTYPE </item>+      <item> SPECIFIC_NAME </item>       <item> SQL </item>       <item> SQLCODE </item>       <item> SQLERROR </item>@@ -444,9 +445,9 @@       <item> TOAST </item>       <item> TRAILING </item>       <item> TRANSACTION </item>-      <item> TRANSACTION_ACTIVE </item>       <item> TRANSACTIONS_COMMITTED </item>       <item> TRANSACTIONS_ROLLED_BACK </item>+      <item> TRANSACTION_ACTIVE </item>       <item> TRANSFORM </item>       <item> TRANSFORMS </item>       <item> TRANSLATE </item>@@ -457,6 +458,7 @@       <item> TRIGGER_NAME </item>       <item> TRIGGER_SCHEMA </item>       <item> TRIM </item>+      <item> TRUE </item>       <item> TRUNCATE </item>       <item> TRUSTED </item>       <item> TYPE </item>@@ -498,10 +500,8 @@       <item> WRITE </item>       <item> YEAR </item>       <item> ZONE </item>-      <item> FALSE </item>-      <item> TRUE </item>     </list>-  <list name="operators">+    <list name="operators">       <item> + </item>       <item> - </item>       <item> * </item>@@ -557,8 +557,8 @@       <!-- network address type -->       <item> &lt;&lt;= </item>       <item> &gt;&gt;= </item>-   </list>-     <list name="functions">+    </list>+    <list name="functions">       <!-- math -->       <item> ABS </item>       <item> CBRT </item>@@ -683,57 +683,58 @@       <item> VARIANCE </item>     </list>     <list name="types">-      <item> LZTEXT </item>       <item> BIGINT </item>-      <item> INT2 </item>-      <item> INT8 </item>       <item> BIGSERIAL </item>-      <item> SERIAL8 </item>       <item> BIT </item>       <item> BIT VARYING </item>-      <item> VARBIT </item>-      <item> BOOLEAN </item>       <item> BOOL </item>+      <item> BOOLEAN </item>       <item> BOX </item>       <item> BYTEA </item>-      <item> CHARACTER </item>       <item> CHAR </item>+      <item> CHARACTER </item>       <item> CHARACTER VARYING </item>-      <item> VARCHAR </item>       <item> CIDR </item>       <item> CIRCLE </item>       <item> DATE </item>+      <item> DECIMAL </item>       <item> DOUBLE PRECISION </item>       <item> FLOAT8 </item>       <item> INET </item>-      <item> INTEGER </item>       <item> INT </item>+      <item> INT2 </item>       <item> INT4 </item>+      <item> INT8 </item>+      <item> INTEGER </item>       <item> INTERVAL </item>       <item> LINE </item>       <item> LSEG </item>+      <item> LZTEXT </item>       <item> MACADDR </item>       <item> MONEY </item>       <item> NUMERIC </item>-      <item> DECIMAL </item>       <item> OID </item>       <item> PATH </item>       <item> POINT </item>       <item> POLYGON </item>       <item> REAL </item>-      <item> SMALLINT </item>       <item> SERIAL </item>+      <item> SERIAL8 </item>+      <item> SMALLINT </item>       <item> TEXT </item>       <item> TIME </item>-      <item> TIMETZ </item>       <item> TIMESTAMP </item>-      <item> TIMESTAMPTZ </item>       <item> TIMESTAMP WITH TIMEZONE </item>+      <item> TIMESTAMPTZ </item>+      <item> TIMETZ </item>+      <item> VARBIT </item>+      <item> VARCHAR </item>     </list>     <contexts>       <context name="Normal" attribute="Normal Text" lineEndContext="#stay">         <!-- HACK: don't jump into MultiLineString for CREATE FUNCTION $funcName$...$funcName$ -->-        <StringDetect String="CREATE FUNCTION" context="CreateFunction" attribute="Keyword" />+        <RegExpr String="create\s+(or\s+replace\s+)?function" insensitive="true" context="CreateFunction" attribute="Keyword"/>+        <RegExpr String="do\s+\$([^\$\n\r]*)\$" insensitive="true" context="FunctionBody" attribute="Keyword"/>         <keyword attribute="Keyword" context="#stay" String="keywords"/>         <keyword attribute="Operator" context="#stay" String="operators"/>         <keyword attribute="Function" context="#stay" String="functions"/>@@ -760,15 +761,15 @@         <RegExpr attribute="Operator" context="MultiLineString" String="\$([^\$\n\r]*)\$" dynamic="true"/>       </context>       <context name="CreateFunction" attribute="Normal Text" lineEndContext="#stay">-          <RegExpr attribute="Function" context="FunctionBody" String="\$([^\$\n\r]*)\$" dynamic="true"/>-          <IncludeRules context="Normal" />+        <RegExpr attribute="Function" context="FunctionBody" String="\$([^\$\n\r]*)\$" dynamic="true"/>+        <IncludeRules context="Normal"/>       </context>       <context name="FunctionBody" attribute="Normal Text" lineEndContext="#stay" dynamic="true">-          <RegExpr attribute="Function" context="#pop#pop" String="\$%1\$" dynamic="true"/>-          <IncludeRules context="Normal" />+        <RegExpr attribute="Function" context="#pop#pop" String="\$%1\$" dynamic="true"/>+        <IncludeRules context="Normal"/>       </context>       <context name="MultiLineString" attribute="String" lineEndContext="#stay" dynamic="true">-          <RegExpr attribute="Operator" context="#pop" String="\$%1\$" dynamic="true"/>+        <RegExpr attribute="Operator" context="#pop" String="\$%1\$" dynamic="true"/>       </context>       <context name="String" attribute="String" lineEndContext="#stay">         <LineContinue attribute="String" context="#pop"/>@@ -787,19 +788,19 @@       <context name="Preprocessor" attribute="Preprocessor" lineEndContext="#pop"/>     </contexts>     <itemDatas>-      <itemData name="Normal Text" defStyleNum="dsNormal"/>-      <itemData name="Keyword" defStyleNum="dsKeyword"/>-      <itemData name="Operator" defStyleNum="dsNormal"/>-      <itemData name="Function" defStyleNum="dsFunction"/>-      <itemData name="Data Type" defStyleNum="dsDataType"/>-      <itemData name="Decimal"  defStyleNum="dsDecVal"/>-      <itemData name="Float"  defStyleNum="dsFloat"/>-      <itemData name="String" defStyleNum="dsString"/>-      <itemData name="String Char" defStyleNum="dsChar"/>-      <itemData name="Comment" defStyleNum="dsComment"/>-      <itemData name="Identifier" defStyleNum="dsOthers"/>-      <itemData name="Symbol"  defStyleNum="dsChar"/>-      <itemData name="Preprocessor" defStyleNum="dsOthers"/>+      <itemData name="Normal Text"       defStyleNum="dsNormal"/>+      <itemData name="Keyword"           defStyleNum="dsKeyword"/>+      <itemData name="Operator"          defStyleNum="dsNormal"/>+      <itemData name="Function"          defStyleNum="dsFunction"/>+      <itemData name="Data Type"         defStyleNum="dsDataType"/>+      <itemData name="Decimal"           defStyleNum="dsDecVal"/>+      <itemData name="Float"             defStyleNum="dsFloat"/>+      <itemData name="String"            defStyleNum="dsString"/>+      <itemData name="String Char"       defStyleNum="dsChar"/>+      <itemData name="Comment"           defStyleNum="dsComment"/>+      <itemData name="Identifier"        defStyleNum="dsOthers"/>+      <itemData name="Symbol"            defStyleNum="dsChar"/>+      <itemData name="Preprocessor"      defStyleNum="dsOthers"/>     </itemDatas>   </highlighting>   <general>@@ -807,6 +808,6 @@       <comment name="singleLine" start="--"/>       <comment name="multiLine" start="/*" end="*/"/>     </comments>-    <keywords casesensitive="0" weakDeliminator="+-*/|!@&amp;#&lt;&gt;%^=~:.?"/>+    <keywords casesensitive="0" weakDeliminator="+-*/|=!&lt;&gt;~^:.@&amp;#%?"/>   </general> </language>
xml/sql.xml view
@@ -3,7 +3,7 @@ <!-- Oracle10g SQL and PL/SQL syntax - ANSI SQL 2003 superset --> <!-- This file is maintained by Anders Lund <anders@alweb.dk> since 2005-11-06 --> <!-- kate: space-indent on; indent-width 2; replace-tabs on; -->-<language name="SQL" version="1.16" kateversion="2.4" section="Database" extensions="*.sql;*.SQL;*.ddl;*.DDL" mimetype="text/x-sql" casesensitive="0" author="Yury Lebedev (yurylebedev@mail.ru)" license="LGPL">+<language name="SQL" version="2" kateversion="2.4" section="Database" extensions="*.sql;*.SQL;*.ddl;*.DDL" mimetype="text/x-sql" casesensitive="0" author="Yury Lebedev (yurylebedev@mail.ru)" license="LGPL">   <highlighting>     <list name="keywords">       <item> ACCESS </item>@@ -15,8 +15,8 @@       <item> AFTER </item>       <item> AGENT </item>       <item> ALL </item>-      <item> ALL_ROWS </item>       <item> ALLOCATE </item>+      <item> ALL_ROWS </item>       <item> ALTER </item>       <item> ANALYZE </item>       <item> ANCILLARY </item>@@ -49,8 +49,8 @@       <item> BLOCK </item>       <item> BLOCK_RANGE </item>       <item> BODY </item>-      <item> BOUND </item>       <item> BOTH </item>+      <item> BOUND </item>       <item> BREAK </item>       <item> BROADCAST </item>       <item> BTITLE </item>@@ -282,12 +282,12 @@       <item> MAXSIZE </item>       <item> MAXTRANS </item>       <item> MAXVALUE </item>-      <item> METHOD </item>       <item> MEMBER </item>       <item> MERGE </item>+      <item> METHOD </item>+      <item> MINEXTENTS </item>       <item> MINIMIZE </item>       <item> MINIMUM </item>-      <item> MINEXTENTS </item>       <item> MINUS </item>       <item> MINUTE </item>       <item> MINVALUE </item>@@ -482,8 +482,8 @@       <item> SERIALIZABLE </item>       <item> SERVERERROR </item>       <item> SESSION </item>-      <item> SESSION_CACHED_CURSORS </item>       <item> SESSIONS_PER_USER </item>+      <item> SESSION_CACHED_CURSORS </item>       <item> SET </item>       <item> SHARE </item>       <item> SHARED </item>@@ -505,8 +505,8 @@       <item> START </item>       <item> STARTUP </item>       <item> STATEMENT_ID </item>-      <item> STATISTICS </item>       <item> STATIC </item>+      <item> STATISTICS </item>       <item> STOP </item>       <item> STORAGE </item>       <item> STORE </item>@@ -519,14 +519,14 @@       <item> SUPPLEMENTAL </item>       <item> SUSPEND </item>       <item> SWITCH </item>-      <item> SYS_OP_BITVEC </item>-      <item> SYS_OP_ENFORCE_NOT_NULL$ </item>-      <item> SYS_OP_NOEXPAND </item>-      <item> SYS_OP_NTCIMG$ </item>       <item> SYNONYM </item>       <item> SYSDBA </item>       <item> SYSOPER </item>       <item> SYSTEM </item>+      <item> SYS_OP_BITVEC </item>+      <item> SYS_OP_ENFORCE_NOT_NULL$ </item>+      <item> SYS_OP_NOEXPAND </item>+      <item> SYS_OP_NTCIMG$ </item>       <item> TABLE </item>       <item> TABLES </item>       <item> TABLESPACE </item>@@ -569,14 +569,14 @@       <item> UNTIL </item>       <item> UNUSABLE </item>       <item> UNUSED </item>-      <item> UPD_INDEXES </item>       <item> UPDATABLE </item>       <item> UPDATE </item>+      <item> UPD_INDEXES </item>       <item> UPPPER </item>       <item> USAGE </item>       <item> USE </item>-      <item> USE_STORED_OUTLINES </item>       <item> USER_DEFINED </item>+      <item> USE_STORED_OUTLINES </item>       <item> USING </item>       <item> VALIDATE </item>       <item> VALIDATION </item>@@ -864,8 +864,8 @@       <item> PLS_INTEGER </item>       <item> PRECISION </item>       <item> RAW </item>-      <item> RECORD </item>       <item> REAL </item>+      <item> RECORD </item>       <item> ROWID </item>       <item> SECOND </item>       <item> SINGLE </item>@@ -877,48 +877,50 @@       <item> UROWID </item>       <item> VARCHAR </item>       <item> VARCHAR2 </item>-      <item> VARYING </item>       <item> VARRAY </item>+      <item> VARYING </item>       <item> XMLTYPE </item>       <item> YEAR </item>       <item> ZONE </item>     </list>     <contexts>       <context name="Normal" attribute="Normal Text" lineEndContext="#stay">-        <DetectSpaces />+        <DetectSpaces/>          <keyword attribute="Keyword" String="keywords" context="#stay"/>         <keyword attribute="Operator" String="operators" context="#stay"/>         <keyword attribute="Function" String="functions" context="#stay"/>         <keyword attribute="Data Type" String="types" context="#stay"/> -        <DetectIdentifier />-+        <DetectIdentifier/>+        <!-- extra data types -->         <RegExpr attribute="Data Type" context="#stay" String="%(?:bulk_(?:exceptions|rowcount)|found|isopen|notfound|rowcount|rowtype|type)\b" insensitive="true"/>-+        <!-- numbers -->         <HlCHex attribute="Hex" context="#stay"/>         <Float attribute="Float" context="#stay"/>         <Int attribute="Decimal" context="#stay"/>-+        <!-- strings -->         <DetectChar attribute="String" context="String literal" char="'"/>+        <!-- comments -->         <Detect2Chars attribute="Comment" context="Singleline PL/SQL-style comment" char="-" char1="-"/>-        <Detect2Chars attribute="Comment" context="Multiline C-style comment" char="/" char1="*"/>+        <Detect2Chars attribute="Comment" context="Multiline C-style comment" char="/" char1="*" beginRegion="Comment"/>         <RegExpr attribute="Comment" context="SQL*Plus remark directive" String="^rem\b" insensitive="true" column="0"/>+         <DetectChar attribute="Identifier" context="User-defined identifier" char="&quot;"/>         <RegExpr attribute="External Variable" context="#stay" String="(:|&amp;&amp;?)\w+"/>         <RegExpr attribute="Symbol" context="#stay" String="^/$" column="0"/>         <RegExpr attribute="Preprocessor" context="SQL*Plus directive to include file" String="^@@?[^@ \t\r\n]" column="0"/>       </context>       <context name="String literal" attribute="String" lineEndContext="#stay">-        <Detect2Chars attribute="String" context="#pop" char="\" char1="'" />+        <Detect2Chars attribute="String" context="#pop" char="\" char1="'"/>         <HlCStringChar attribute="String Char" context="#stay"/>         <RegExpr attribute="External Variable" context="#stay" String="&amp;&amp;?\w+"/>-        <Detect2Chars attribute="String Char" context="#stay" char="'" char1="'" />+        <Detect2Chars attribute="String Char" context="#stay" char="'" char1="'"/>         <DetectChar attribute="String" context="#pop" char="'"/>       </context>       <context name="Singleline PL/SQL-style comment" attribute="Comment" lineEndContext="#pop"/>       <context name="Multiline C-style comment" attribute="Comment" lineEndContext="#stay">-        <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/"/>+        <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment"/>       </context>       <context name="SQL*Plus remark directive" attribute="Comment" lineEndContext="#pop"/>       <context name="User-defined identifier" attribute="Identifier" lineEndContext="#pop">@@ -933,7 +935,7 @@       <itemData name="Function"          defStyleNum="dsFunction"/>       <itemData name="Data Type"         defStyleNum="dsDataType"/>       <itemData name="Decimal"           defStyleNum="dsDecVal"/>-      <itemData name="Hex"             defStyleNum="dsBaseN"/>+      <itemData name="Hex"               defStyleNum="dsBaseN"/>       <itemData name="Float"             defStyleNum="dsFloat"/>       <itemData name="String"            defStyleNum="dsString"/>       <itemData name="String Char"       defStyleNum="dsChar"/>
xml/tcl.xml view
@@ -28,7 +28,7 @@ 	    - Fixed detection of varaibles with names containing serval namespace delimiters (::) --> -<language name="Tcl/Tk" version="1.11" kateversion="2.4" section="Scripts" extensions="*.tcl;*.tk" mimetype="text/x-tcl">+<language name="Tcl/Tk" version="2" kateversion="2.4" section="Scripts" extensions="*.tcl;*.tk" mimetype="text/x-tcl">   <highlighting>     <list name="keywords">       <item> after </item>
xml/tcsh.xml view
@@ -8,7 +8,7 @@         <!ENTITY noword   "(?![\w$+-])">		<!-- no word, $, + or - following -->         <!ENTITY pathpart "([\w_@.&#37;*?+-]|\\ )">     <!-- valid character in a file name --> ]>-<language name="Tcsh" version="0.2" kateversion="2.4" section="Scripts" extensions="*.csh;*.tcsh;csh.cshrc;csh.login;.tcshrc;.cshrc;.login" mimetype="application/x-csh" casesensitive="1" author="Matthew Woehlke (mw_triad@users.sourceforge.net)" license="LGPL">+<language name="Tcsh" version="1" kateversion="2.4" section="Scripts" extensions="*.csh;*.tcsh;csh.cshrc;csh.login;.tcshrc;.cshrc;.login" mimetype="application/x-csh" casesensitive="1" author="Matthew Woehlke (mw_triad@users.sourceforge.net)" license="LGPL">  <!-- (c) 2006 Matthew Woehlke (mw_triad@users.sourceforge.net)     Based on the bash highlighter by Wilbert Berendsen (wilbert@kde.nl)
xml/texinfo.xml view
@@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd">-<language name="Texinfo" extensions="*.texi" section="Markup" mimetype="application/x-texinfo" author="Daniel Franke (franke.daniel@gmail.com)" license="LGPL" version="0.2" kateversion="2.3">+<language name="Texinfo" extensions="*.texi" section="Markup" mimetype="application/x-texinfo" author="Daniel Franke (franke.daniel@gmail.com)" license="LGPL" version="1" kateversion="2.4">    <highlighting>     <!--
xml/verilog.xml view
@@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd">-<language name="Verilog" version="1.09" kateversion="2.4" section="Hardware" extensions="*.v;*.V;*.vl" mimetype="text/x-verilog-src" author="Yevgen Voronenko (ysv22@drexel.edu), Ryan Dalzell (ryan@tullyroan.com)" license="">+<language name="Verilog" version="2" kateversion="2.4" section="Hardware" extensions="*.v;*.V;*.vl" mimetype="text/x-verilog-src" author="Yevgen Voronenko (ysv22@drexel.edu), Ryan Dalzell (ryan@tullyroan.com)" license="">   <highlighting>     <list name="keywords">       <item> macromodule </item>
xml/vhdl.xml view
@@ -8,7 +8,7 @@   <!ENTITY label     "((&varname;)\s*:\s*)?">  ]>-<language name="VHDL" version="1.11" kateversion="3.5" section="Hardware" extensions="*.vhdl;*.vhd" mimetype="text/x-vhdl" author="Rocky Scaletta (rocky@purdue.edu), Stefan Endrullis (stefan@endrullis.de), Florent Ouchet (outchy@users.sourceforge.net), Chris Higgs (chiggs.99@gmail.com), Jan Michel (jan@mueschelsoft.de)">+<language name="VHDL" version="2" kateversion="3.0" section="Hardware" extensions="*.vhdl;*.vhd" mimetype="text/x-vhdl" author="Rocky Scaletta (rocky@purdue.edu), Stefan Endrullis (stefan@endrullis.de), Florent Ouchet (outchy@users.sourceforge.net), Chris Higgs (chiggs.99@gmail.com), Jan Michel (jan@mueschelsoft.de), Luigi Calligaris (luigi.calligaris@stfc.ac.uk)">   <highlighting>     <list name="keywordsToplevel">       <item> file </item>@@ -42,6 +42,7 @@       <item> fairness </item>       <item> falling_edge </item>       <item> file </item>+      <item> for </item>       <item> force </item>       <item> function </item>       <item> generate </item>@@ -173,7 +174,7 @@       <item>hr</item>     </list> -    +     <list name="types">       <item> bit </item>       <item> bit_vector </item>@@ -231,12 +232,12 @@          <RegExpr attribute="Control" context="architecture_main" insensitive="true" dynamic="true" lookAhead="true"                  String="&bos;architecture\s+(&varname;)&eos;"/>-        <StringDetect attribute="Control" context="entity" +        <StringDetect attribute="Control" context="entity"                  String="entity"/>         <RegExpr attribute="Control" context="package" insensitive="true" lookAhead="true" dynamic="true" beginRegion="PackageRegion1"                  String="&bos;package\s+(&varname;)\s+is&eos;"/>-        <RegExpr attribute="Control" context="packagebody" lookAhead="true" insensitive="true" dynamic="true" beginRegion="PackageBodyRegion1" -                 String="&bos;package\s+body\s+(&varname;)\s+is&eos;"/>            +        <RegExpr attribute="Control" context="packagebody" lookAhead="true" insensitive="true" dynamic="true" beginRegion="PackageBodyRegion1"+                 String="&bos;package\s+body\s+(&varname;)\s+is&eos;"/>        <!-- <StringDetect  attribute="Control"  context="arch_decl"      String="package"     />temporary-->         <RegExpr attribute="Control" context="configuration" insensitive="true" dynamic="true" lookAhead="true"                  String="&bos;configuration\s+(&varname;)&eos;"/>@@ -248,30 +249,30 @@         <IncludeRules context="preDetection"/>         <RegExpr attribute="Control"   context="#stay" insensitive="true" String="&bos;package&eos;" />         <RegExpr attribute="Keyword"   context="packagemain" insensitive="true" String="&bos;is&eos;" />-        <RegExpr attribute="Name"      context="#stay"     insensitive="true" String="&bos;%2&eos;" dynamic="true"/>        +        <RegExpr attribute="Name"      context="#stay"     insensitive="true" String="&bos;%2&eos;" dynamic="true"/>         <RegExpr attribute="Redirection" context="#pop"  dynamic="true" endRegion="PackageRegion1" insensitive="true"                  String="&bos;end(\s+package)?(\s+%2)?\s*;" />         <IncludeRules context="generalDetection"/>       </context>-      +       <context name="packagemain" attribute="Normal Text" lineEndContext="#stay" dynamic="true">         <IncludeRules context="preDetection"/>         <RegExpr attribute="Keyword"   context="#pop" lookAhead="true" insensitive="true" String="&bos;end&eos;" />         <RegExpr attribute="Keyword"   context="packagefunction" insensitive="true" String="&bos;function&eos;" />         <IncludeRules context="generalDetection"/>       </context>-  +       <context name="packagefunction" attribute="Normal Text" lineEndContext="#stay">         <RegExpr attribute="Name" context="#pop" insensitive="true" String="&bos;&varname;&eos;" />       </context>-  +       <!-- package body environment -->        <context name="packagebody" attribute="Normal Text" lineEndContext="#stay" dynamic="true">         <IncludeRules context="preDetection"/>         <RegExpr attribute="Control"   context="#stay" insensitive="true" String="&bos;package&eos;" />         <RegExpr attribute="Keyword"   context="packagebodymain" insensitive="true" String="&bos;is&eos;" />-        <RegExpr attribute="Name"      context="#stay"     insensitive="true" String="&bos;%2&eos;" dynamic="true"/>  +        <RegExpr attribute="Name"      context="#stay"     insensitive="true" String="&bos;%2&eos;" dynamic="true"/>         <RegExpr attribute="Redirection" context="#pop" dynamic="true" endRegion="PackageBodyRegion1" insensitive="true"                  String="&bos;end(\s+package)?(\s+%2)?\s*;" />         <IncludeRules context="generalDetection"/>@@ -283,27 +284,27 @@         <RegExpr attribute="Keyword"   context="packagebodyfunc1" beginRegion="PackBodyFunc" insensitive="true" dynamic="true" lookAhead="true" String="&bos;function\s+(&varname;)&eos;" />         <IncludeRules context="generalDetection"/>       </context>-  +       <context name="packagebodyfunc1" attribute="Normal Text" lineEndContext="#stay" dynamic="true">         <IncludeRules context="preDetection"/>         <RegExpr attribute="Redirection" context="packagebodyfunc2" beginRegion="RegionFunction" insensitive="true" String="&bos;begin&eos;" />         <RegExpr attribute="Keyword"   context="#pop" insensitive="true" endRegion="PackBodyFunc" dynamic="true" String="&bos;end(\s+function)?(\s+%2)?&eos;" />         <RegExpr attribute="Name" context="#stay" insensitive="true" String="&bos;%2&eos;"  dynamic="true"/>         <IncludeRules context="generalDetection"/>-      </context>    -      +      </context>+       <context name="packagebodyfunc2" attribute="Normal Text" lineEndContext="#stay" dynamic="true">         <IncludeRules context="preDetection"/>         <RegExpr attribute="Redirection" context="#pop" insensitive="true" dynamic="true" lookAhead="true" endRegion="RegionFunction"                  String="&bos;end(\s+function)?&eos;"/>         <!--<RegExpr attribute="Error" context="#pop" insensitive="true" dynamic="true" lookAhead="true" endRegion="RegionFunction"                  String="&bos;end\s+function(\s+&varname;)?&eos;"/>-->-        <RegExpr attribute="Process" context="#stay" insensitive="true" +        <RegExpr attribute="Process" context="#stay" insensitive="true"                  String="&bos;begin&eos;"/>         <IncludeRules context="proc_rules"/>-      </context>      -      -      +      </context>++ <!--====ARCHITECTURE ===============-->       <context name="architecture_main" attribute="Normal Text" lineEndContext="#stay" dynamic="true">         <IncludeRules context="preDetection"/>@@ -324,22 +325,43 @@         <RegExpr attribute="Reference" context="#stay"     insensitive="true" String="&bos;%4&eos;" dynamic="true"/>         <IncludeRules context="generalDetection"/>       </context>-      +       <context name="arch_decl" attribute="Normal Text" lineEndContext="#stay">         <IncludeRules context="preDetection"/>-        <keyword attribute="Signal" context="signal"         insensitive="true" String="signals"/>-        <StringDetect attribute="Control" context="entity"   insensitive="true" String="component"/>-        <StringDetect attribute="Control" context="#pop#pop" insensitive="true" String="begin"/>+        <keyword attribute="Signal" context="signal"          insensitive="true" String="signals"/>+        <StringDetect attribute="Control" context="archfunc1" insensitive="true" String="function" beginRegion="ArchFunctionRegion1"/>+        <StringDetect attribute="Control" context="entity"    insensitive="true" String="component"/>+        <StringDetect attribute="Control" context="#pop#pop"  insensitive="true" String="begin"/>         <IncludeRules context="generalDetection"/>       </context> +      <context name="archfunc1" attribute="Normal Text" lineEndContext="#stay" dynamic="true">+        <IncludeRules context="preDetection"/>+        <RegExpr attribute="Redirection" context="archfunc2" beginRegion="RegionFunction" insensitive="true" String="&bos;begin&eos;" />+        <RegExpr attribute="Keyword"   context="#pop" insensitive="true" endRegion="ArchFunctionRegion1" dynamic="true" String="&bos;end(\s+function)?(\s+%2)?&eos;" />+        <RegExpr attribute="Name" context="#stay" insensitive="true" String="&bos;%2&eos;"  dynamic="true"/>+        <IncludeRules context="generalDetection"/>+      </context>++      <context name="archfunc2" attribute="Normal Text" lineEndContext="#stay" dynamic="true">+        <IncludeRules context="preDetection"/>+        <RegExpr attribute="Redirection" context="#pop" insensitive="true" dynamic="true" lookAhead="true" endRegion="RegionFunction"+                 String="&bos;end(\s+function)?&eos;"/>+        <!--<RegExpr attribute="Error" context="#pop" insensitive="true" dynamic="true" lookAhead="true" endRegion="RegionFunction"+                 String="&bos;end\s+function(\s+&varname;)?&eos;"/>-->+        <RegExpr attribute="Process" context="#stay" insensitive="true"+                 String="&bos;begin&eos;"/>+        <IncludeRules context="proc_rules"/>+      </context>++ <!-- parts of architecture body -->       <context name="detect_arch_parts" attribute="Normal Text" lineEndContext="#stay" dynamic="true">-        <RegExpr attribute="Normal Text" context="generate1" lookAhead="true" insensitive="true" dynamic="true" +        <RegExpr attribute="Normal Text" context="generate1" lookAhead="true" insensitive="true" dynamic="true"                  String="&bos;(&varname;\s*:\s*)(if|for).*\s+generate&eos;"/>-        <RegExpr attribute="Normal Text" context="process1" lookAhead="true" insensitive="true" dynamic="true" +        <RegExpr attribute="Normal Text" context="process1" lookAhead="true" insensitive="true" dynamic="true"                  String="&bos;(&varname;\s*:\s*)?process&eos;"/>-        <RegExpr attribute="Normal Text" context="instance" lookAhead="true" insensitive="true" dynamic="true" beginRegion="InstanceRegion1" +        <RegExpr attribute="Normal Text" context="instance" lookAhead="true" insensitive="true" dynamic="true" beginRegion="InstanceRegion1"                  String="&bos;(&varname;)\s*:\s*((entity\s+)?(&varname;)(\.&varname;)?)"/>          <IncludeRules context="generalDetection"/>@@ -348,18 +370,18 @@ <!--====generate ===============-->       <context name="generate1" attribute="Normal Text" lineEndContext="#stay" dynamic="true">         <IncludeRules context="preDetection"/>-        <RegExpr attribute="Control" context="generate2" insensitive="true" beginRegion="GenerateRegion" +        <RegExpr attribute="Control" context="generate2" insensitive="true" beginRegion="GenerateRegion"                  String="&bos;(generate|loop)&eos;"/>-        <RegExpr attribute="Name"      context="#stay" dynamic="true" insensitive="true" +        <RegExpr attribute="Name"      context="#stay" dynamic="true" insensitive="true"                  String="&bos;%3&eos;"/>-        <RegExpr attribute="Control" context="#stay"                insensitive="true" +        <RegExpr attribute="Control" context="#stay"                insensitive="true"                  String="&bos;(for|if|while)&eos;"/>         <IncludeRules context="generalDetection"/>       </context>        <context name="generate2" attribute="Normal Text" lineEndContext="#stay" dynamic="true">         <IncludeRules context="preDetection"/>-        <RegExpr attribute="Control" context="#stay" insensitive="true" +        <RegExpr attribute="Control" context="#stay" insensitive="true"                  String="&bos;begin&eos;"/>         <RegExpr attribute="Control" context="#pop#pop" insensitive="true" endRegion="GenerateRegion"                  String="&bos;end\s+(generate|loop)(\s+&varname;)?"/>@@ -376,17 +398,17 @@                  String="&bos;end\s+process(\s+%3)?"/>         <RegExpr attribute="Error" context="#pop" insensitive="true" dynamic="true" endRegion="RegionProcess"                  String="&bos;end\s+process(\s+&varname;)?"/>-        <RegExpr attribute="Process" context="#stay" insensitive="true" beginRegion="RegionProcess" +        <RegExpr attribute="Process" context="#stay" insensitive="true" beginRegion="RegionProcess"                  String="&bos;process&eos;"/>-        <RegExpr attribute="Process" context="#stay" insensitive="true" +        <RegExpr attribute="Process" context="#stay" insensitive="true"                  String="&bos;begin&eos;"/>         <IncludeRules context="proc_rules"/>       </context>        <context name="proc_rules" attribute="Normal Text" lineEndContext="#stay" dynamic="true">-         <RegExpr attribute="Name" context="#stay" insensitive="true" +         <RegExpr attribute="Name" context="#stay" insensitive="true"                   String="&bos;&varname;(?=\s*:(?!=))"/>-         <RegExpr attribute="Control" context="if_start" insensitive="true" +         <RegExpr attribute="Control" context="if_start" insensitive="true"                   String="&bos;if&eos;"/>          <RegExpr attribute="Control" context="case1" lookAhead="true" insensitive="true"                   String="&bos;case&eos;"/>@@ -418,7 +440,7 @@         <DetectChar attribute="Normal Text" context="#pop" char=")" endRegion="InstanceMapRegion"/>         <DetectChar attribute="Normal Text" context="instanceInnerPar" char="("/>         <IncludeRules context="generalDetection"/>-      </context>      +      </context>        <!-- Inside parantheses inside a map-->       <context name="instanceInnerPar" attribute="Normal Text" lineEndContext="#stay" dynamic="true">@@ -427,23 +449,23 @@         <DetectChar attribute="Normal Text" context="instanceInnerPar" char="("/>         <DetectChar attribute="Error" context="#stay" char=";"/>         <IncludeRules context="generalDetection"/>-      </context>       -      +      </context>+ <!--====loop ===============-->       <context name="forwhile1" attribute="Normal Text" lineEndContext="#stay" dynamic="true">         <IncludeRules context="preDetection"/>-        <RegExpr attribute="Control" context="forwhile2" insensitive="true" beginRegion="ForWhileRegion" +        <RegExpr attribute="Control" context="forwhile2" insensitive="true" beginRegion="ForWhileRegion"                  String="&bos;loop&eos;"/>-        <RegExpr attribute="Name"      context="#stay" dynamic="true" insensitive="true" +        <RegExpr attribute="Name"      context="#stay" dynamic="true" insensitive="true"                  String="&bos;%3&eos;"/>-        <RegExpr attribute="Control" context="#stay"                insensitive="true" +        <RegExpr attribute="Control" context="#stay"                insensitive="true"                  String="&bos;(for|while)&eos;"/>         <IncludeRules context="generalDetection"/>       </context>        <context name="forwhile2" attribute="Normal Text" lineEndContext="#stay" dynamic="true">         <IncludeRules context="preDetection"/>-        <RegExpr attribute="Control" context="#stay" insensitive="true" +        <RegExpr attribute="Control" context="#stay" insensitive="true"                  String="&bos;begin&eos;"/>         <RegExpr attribute="Control" context="#pop#pop" insensitive="true" endRegion="ForWhileRegion"                  String="&bos;end\s+loop(\s+&varname;)?"/>@@ -453,14 +475,14 @@ <!--====if ===============-->       <context name="if_start" attribute="Normal Text" lineEndContext="#stay" dynamic="true">         <IncludeRules context="preDetection"/>-        <RegExpr attribute="Control" context="if" insensitive="true" beginRegion="IfRegion1" +        <RegExpr attribute="Control" context="if" insensitive="true" beginRegion="IfRegion1"                  String="&bos;then&eos;"/>         <IncludeRules context="generalDetection"/>       </context>        <context name="if" attribute="Normal Text" lineEndContext="#stay" dynamic="true">         <IncludeRules context="preDetection"/>-        <RegExpr attribute="Control" context="#pop#pop" insensitive="true" endRegion="IfRegion1" +        <RegExpr attribute="Control" context="#pop#pop" insensitive="true" endRegion="IfRegion1"                  String="&bos;end\s+if(\s+&varname;)?\s*;"/>         <IncludeRules context="proc_rules"/>         <keyword attribute="Control" context="#stay" insensitive="true" String="if"/>@@ -471,17 +493,17 @@        <context name="case1" attribute="Normal Text" lineEndContext="#stay">         <IncludeRules context="preDetection"/>-        <RegExpr attribute="Keyword" context="case2" insensitive="true" +        <RegExpr attribute="Keyword" context="case2" insensitive="true"                  String="&bos;is&eos;"/>         <keyword attribute="Control" context="#stay" insensitive="true" beginRegion="CaseRegion1" String="case"/>         <IncludeRules context="generalDetection"/>       </context>-      +       <context name="case2" attribute="Normal Text" lineEndContext="#stay">         <IncludeRules context="preDetection"/>-        <RegExpr attribute="Control" context="#pop#pop" insensitive="true" endRegion="CaseRegion1" +        <RegExpr attribute="Control" context="#pop#pop" insensitive="true" endRegion="CaseRegion1"                  String="&bos;end\s+case(&varname;)?\s*;"/>-        <RegExpr attribute="Control" context="caseWhen" lookAhead="true" dynamic="true" insensitive="true" +        <RegExpr attribute="Control" context="caseWhen" lookAhead="true" dynamic="true" insensitive="true"                  String="&bos;when(\s+&varname;)?&eos;"/>         <IncludeRules context="proc_rules"/>       </context>@@ -489,18 +511,18 @@       <context name="caseWhen" attribute="Normal Text" lineEndContext="#stay" dynamic="true">         <Detect2Chars char="=" char1="&gt;" attribute="Operator" context="caseWhen2" beginRegion="CaseWhenRegion1"/>         <IncludeRules context="preDetection"/>-        <RegExpr attribute="Control" insensitive="true" +        <RegExpr attribute="Control" insensitive="true"                  String="&bos;when&eos;"/>-        <RegExpr attribute="Name" insensitive="true" dynamic="true" +        <RegExpr attribute="Name" insensitive="true" dynamic="true"                  String="&bos;%2&eos;"/>         <IncludeRules context="proc_rules"/>-      </context>       +      </context>        <context name="caseWhen2" attribute="Normal Text" lineEndContext="#stay" dynamic="true">         <IncludeRules context="preDetection"/>         <RegExpr attribute="Control" context="#pop#pop" lookAhead="true" insensitive="true" endRegion="CaseWhenRegion1"                  String="^\s*when&eos;"/>-        <RegExpr attribute="Control" context="#pop#pop" lookAhead="true" insensitive="true" endRegion="CaseWhenRegion1" +        <RegExpr attribute="Control" context="#pop#pop" lookAhead="true" insensitive="true" endRegion="CaseWhenRegion1"                  String="^\s*end\s+case&eos;"/>         <IncludeRules context="proc_rules"/>       </context>@@ -514,7 +536,7 @@        <context name="entity" attribute="Normal Text" lineEndContext="#stay" dynamic="true">         <IncludeRules context="preDetection"/>-        <RegExpr attribute="Name" context="entity_main" beginRegion="EntityRegion1" insensitive="true" +        <RegExpr attribute="Name" context="entity_main" beginRegion="EntityRegion1" insensitive="true"                  String="(&varname;)"/>         <IncludeRules context="generalDetection"/>       </context>@@ -550,22 +572,22 @@         <RegExpr attribute="Reference" context="#stay"     insensitive="true" String="&bos;%4&eos;" dynamic="true"/>         <IncludeRules context="generalDetection"/>       </context>-      +       <context name="conf_decl" attribute="Normal Text" lineEndContext="#stay">         <IncludeRules context="preDetection"/>         <StringDetect attribute="Control" context="conf_for" insensitive="true" String="for"/>         <StringDetect attribute="Control" context="#pop#pop" insensitive="true" lookAhead="true"  String="end"/>         <IncludeRules context="generalDetection"/>-      </context>      -      -      <context name="conf_for" attribute="Normal Text" lineEndContext="#stay">      +      </context>++      <context name="conf_for" attribute="Normal Text" lineEndContext="#stay">         <IncludeRules context="preDetection"/>         <StringDetect attribute="Control" context="conf_for" insensitive="true" String="for"/>         <RegExpr attribute="Control" context="#pop" insensitive="true"  String="end(\s+&varname;)?"/>-        <IncludeRules context="generalDetection"/>        +        <IncludeRules context="generalDetection"/>       </context>-      -      ++ <!--====Basic Stuff ===============--> <!-- basic rules -->       <context name="preDetection" attribute="Normal Text" lineEndContext="#stay">@@ -575,8 +597,8 @@         <DetectChar attribute="Attribute" context="attribute" char="'"/>       </context> -      -      ++ <!-- general detection -->       <context name="generalDetection" attribute="Normal Text" lineEndContext="#stay">         <keyword attribute="Data Type" context="#stay" String="types"/>@@ -613,8 +635,6 @@         <DetectChar attribute="Normal Text" lookAhead="true" context="#pop" char=";" endRegion="sig"/>         <IncludeRules context="generalDetection"/>       </context>--     </contexts>     <itemDatas>       <itemData name="Normal Text" defStyleNum="dsNormal"/>
xml/xml.xml view
@@ -6,7 +6,7 @@ 	<!ENTITY name    "(?![0-9])[\w_:][\w.:_-]*"> 	<!ENTITY entref  "&amp;(#[0-9]+|#[xX][0-9A-Fa-f]+|&name;);"> ]>-<language name="XML" version="2.03" kateversion="2.4" section="Markup" extensions="*.docbook;*.xml;*.rc;*.daml;*.rdf;*.rss;*.xspf;*.xsd;*.svg;*.ui;*.kcfg;*.qrc;*.wsdl" mimetype="text/xml;text/book;text/daml;text/rdf;application/rss+xml;application/xspf+xml;image/svg+xml;application/x-designer;application/xml" casesensitive="1" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL">+<language name="XML" version="3" kateversion="3.4" section="Markup" extensions="*.docbook;*.xml;*.rc;*.daml;*.rdf;*.rss;*.xspf;*.xsd;*.svg;*.ui;*.kcfg;*.qrc;*.wsdl" mimetype="text/xml;text/book;text/daml;text/rdf;application/rss+xml;application/xspf+xml;image/svg+xml;application/x-designer;application/xml" casesensitive="1" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL">  <highlighting> <contexts>
xml/xorg.xml view
@@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd">-<language name="x.org Configuration" section="Configuration" extensions="xorg.conf" mimetype="" version="1.01" kateversion="2.0" author="Jan Janssen (medhefgo@web.de)" license="LGPL">+<language name="x.org Configuration" section="Configuration" extensions="xorg.conf" mimetype="" version="2" kateversion="2.4" author="Jan Janssen (medhefgo@web.de)" license="LGPL">  <highlighting> <contexts>
xml/xslt.xml view
@@ -52,7 +52,7 @@  --> -<language version="1.03" kateversion="2.1" name="xslt" section="Markup" extensions="*.xsl;*.xslt" license="LGPL" author="Peter Lammich (views@gmx.de)">+<language version="2" kateversion="2.4" name="xslt" section="Markup" extensions="*.xsl;*.xslt" license="LGPL" author="Peter Lammich (views@gmx.de)">   <highlighting>     <list name="keytags">       <item> xsl:value-of </item>
xml/xul.xml view
@@ -4,7 +4,7 @@ 	<!ENTITY name    "[A-Za-z_:][\w.:_-]*"> 	<!ENTITY entref  "&amp;(#[0-9]+|#[xX][0-9A-Fa-f]+|&name;);"> ]>-        <language name="XUL" version="0.11" kateversion="2.5" section="Markup" extensions="*.xul;*.xbl" mimetype="text/xul" casesensitive="1" author="Wilbert Berendsen (wilbert@kde.nl), Anders Lund (anders@alweb.dk), Joseph Wenninger (jowenn@kde.org), Whitehawk Stormchaser (zerokode@gmx.net), Marc Dassonneville (marc.dassonneville@gmail.com)" license="LGPL">+        <language name="XUL" version="1" kateversion="2.4" section="Markup" extensions="*.xul;*.xbl" mimetype="text/xul" casesensitive="1" author="Wilbert Berendsen (wilbert@kde.nl), Anders Lund (anders@alweb.dk), Joseph Wenninger (jowenn@kde.org), Whitehawk Stormchaser (zerokode@gmx.net), Marc Dassonneville (marc.dassonneville@gmail.com)" license="LGPL">  <highlighting>    <list name="keywords">
xml/yacc.xml view
@@ -25,7 +25,7 @@  ======================================================================== -->-<language name="Yacc/Bison" version="1.04" kateversion="2.4" section="Sources" extensions="*.y;*.yy" author="Jan Villat (jan.villat@net2000.ch)" license="LGPL">+<language name="Yacc/Bison" version="2" kateversion="2.4" section="Sources" extensions="*.y;*.yy" author="Jan Villat (jan.villat@net2000.ch)" license="LGPL">  <highlighting> <contexts>
xml/yaml.xml view
@@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> <!-- Author: Dr Orlovsky MA <maxim@orlovsky.info> //-->-<language name="YAML" version="1.2" kateversion="2.3" section="Markup"+<language name="YAML" version="2" kateversion="2.5" section="Markup"           extensions="*.yaml;*.yml" mimetype="text/yaml"           author="Dr Orlovsky MA (dr.orlovsky@gmail.com)" license="LGPL">   <highlighting>
xml/zsh.xml view
@@ -8,7 +8,7 @@         <!ENTITY noword   "(?![\w$+-])">                <!-- no word, $, + or - following -->         <!ENTITY pathpart "([\w_@.&#37;*?+-]|\\ )">     <!-- valid character in a file name --> ]>-<language name="Zsh" version="0.1" kateversion="2.4" section="Scripts" extensions="*.sh;*.zsh;.zshrc;.zprofile;.zlogin;.zlogout;.profile" mimetype="application/x-shellscript" casesensitive="1" author="Jonathan Kolberg (bulldog98@kubuntu-de.org)" license="LGPL">+<language name="Zsh" version="1" kateversion="2.4" section="Scripts" extensions="*.sh;*.zsh;.zshrc;.zprofile;.zlogin;.zlogout;.profile" mimetype="application/x-shellscript" casesensitive="1" author="Jonathan Kolberg (bulldog98@kubuntu-de.org)" license="LGPL">  <!-- (c) 2011 by Jonathan Kolberg (bulldog98@kubuntu-de.org)   modified for zsh -->