From bf94fa1cd02da4ac25a710440fc62170b5609e75 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Fri, 19 Oct 2012 22:31:56 -0500 Subject: Update kate syntax highlighting files. The cpp.xml now contains some TQ highlighting. --- kate/data/alert.xml | 2 +- kate/data/ansic89.xml | 2 +- kate/data/clojure.xml | 69 +++- kate/data/cmake.xml | 2 +- kate/data/coffee.xml | 6 +- kate/data/commonlisp.xml | 2 +- kate/data/cpp.xml | 57 +++- kate/data/ddoc.xml | 2 +- kate/data/debianchangelog.xml | 12 +- kate/data/dosbat.xml | 4 +- kate/data/dot.xml | 172 ++++++++++ kate/data/doxygen.xml | 637 ++++++++++++++----------------------- kate/data/fortran.xml | 2 +- kate/data/gettext.xml | 2 +- kate/data/go.xml | 60 ++-- kate/data/latex.xml | 15 +- kate/data/lua.xml | 6 +- kate/data/m4.xml | 2 +- kate/data/mason.xml | 6 +- kate/data/modelines.xml | 155 +++++++++ kate/data/objectivecpp.xml | 2 +- kate/data/perl.xml | 20 +- kate/data/pig.xml | 202 ++++++++++++ kate/data/prolog.xml | 4 +- kate/data/qmake.xml | 8 +- kate/data/scss.xml | 714 ++++++++++++++++++++++++++++++++++++++++++ 26 files changed, 1688 insertions(+), 477 deletions(-) create mode 100644 kate/data/dot.xml create mode 100644 kate/data/modelines.xml create mode 100644 kate/data/pig.xml create mode 100644 kate/data/scss.xml (limited to 'kate/data') diff --git a/kate/data/alert.xml b/kate/data/alert.xml index f18d94dbc..3a023d72d 100644 --- a/kate/data/alert.xml +++ b/kate/data/alert.xml @@ -1,7 +1,7 @@ - + def @@ -638,6 +638,7 @@ with-test with-test-out xml-seq + zero? *1 @@ -681,20 +682,22 @@ *warn-on-reflection* - + + + + + + - - - - + - - - - + + + + @@ -704,6 +707,7 @@ + @@ -719,12 +723,49 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -737,6 +778,14 @@ + + + + + + + + diff --git a/kate/data/cmake.xml b/kate/data/cmake.xml index 9201933a0..600caf3df 100644 --- a/kate/data/cmake.xml +++ b/kate/data/cmake.xml @@ -1,7 +1,7 @@ - + - + diff --git a/kate/data/commonlisp.xml b/kate/data/commonlisp.xml index 563e56002..f183f956b 100644 --- a/kate/data/commonlisp.xml +++ b/kate/data/commonlisp.xml @@ -1,7 +1,7 @@ ]> - + @@ -109,7 +109,7 @@ - + diff --git a/kate/data/dot.xml b/kate/data/dot.xml new file mode 100644 index 000000000..5b0e66389 --- /dev/null +++ b/kate/data/dot.xml @@ -0,0 +1,172 @@ + + + + + + + + + digraph + node + edge + subgraph + + + + + center + layers + margin + mclimit + name + nodesep + nslimit + ordering + page + pagedir + rank + rankdir + ranksep + ratio + rotate + size + + distortion + fillcolor + fontcolor + fontname + fontsize + height + layer + orientation + peripheries + regular + shape + shapefile + sides + skew + width + + arrowhead + arrowsize + arrowtail + constraint + decorateP + dir + headclip + headlabel + labelangle + labeldistance + labelfontcolor + labelfontname + labelfontsize + minlen + port_label_distance + samehead + sametail + tailclip + taillabel + weight + + color + + bgcolor + label + URL + + fontcolor + fontname + fontsize + layer + style + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/kate/data/doxygen.xml b/kate/data/doxygen.xml index bb3818b33..37b95877c 100644 --- a/kate/data/doxygen.xml +++ b/kate/data/doxygen.xml @@ -1,14 +1,14 @@ + ]> - - - + - + - \arg - - \attention - \author - \callgraph - \callergraph - - - \details - \dot - \else - - \endcond - - \enddot - \endhtmlonly - \endif - \endlatexonly - \endlink - - \endmanonly - \endmsc - \endverbatim - \endxmlonly - \f[ - - \f] - \f$ - \hideinitializer - \htmlonly - \interface - - \internal - \invariant - \~ - \@ - \$ - - \\ - \# - \latexonly - \li - \manonly - - \msc - \n - \nosubgrouping - \note - \only - - \post - \pre - \private - \privatesection - \protected - - \protectedsection - \public - \publicsection - \remarks - \return - - \returns - - - \showinitializer - \since - \test - - \todo - \verbatim - \warning - \xmlonly - - @arg - @attention - @author - @callgraph - @callergraph - - - @details - @dot - @else - - @endcond - - @enddot - @endhtmlonly - @endif - @endlatexonly - @endlink - - @endmanonly - @endmsc - @endverbatim - @endxmlonly - @f[ - - @f] - @f$ - @hideinitializer - @htmlonly - @interface - - @internal - @invariant - @~ - @@ - @$ - - @\ - @# - @latexonly - @li - @manonly - - @msc - @n - @nosubgrouping - @note - @only - - @post - @pre - @pivate - @pivatesection - @protected - - @protectedsection - @public - @publicsection - @remarks - @return - - @returns - - - @showinitializer - @since - @test - - @todo - @verbatim - @warning - @xmlonly + \arg @arg + \author @author + \authors @authors + \brief @brief + \bug @bug + \callgraph @callgraph + \callergraph @callergraph + \date @date + \deprecated @deprecated + \details @details + \else @else + \endcond @endcond + \endhtmlonly @endhtmlonly + \endif @endif + \enditernal @enditernal + \endlatexonly @endlatexonly + \endlink @endlink + \endmanonly @endmanonly + \endrtfonly @endrtfonly + \endxmlonly @endxmlonly + \f[ @f[ + \f] @f] + \f$ @f$ + + \hideinitializer @hideinitializer + \htmlonly @htmlonly + + \internal @internal + \invariant @invariant + \latexonly @latexonly + \li @li + \manonly @manonly + \n @n + \nosubgrouping @nosubgrouping + \only @only + \post @post + \pre @pre + \private @pivate + \privatesection @pivatesection + \protected @protected + \protectedsection @protectedsection + \public @public + \publicsection @publicsection + \remarks @remarks + \return @return + \returns @returns + \result @result + \rtfonly @rtfonly + \sa @sa + \see @see + \short @short + \showinitializer @showinitializer + \since @since + \tableofcontents @tableofcontents + \test @test + \version @version + \xmlonly @xmlonly + + \# @# + \$ @$ + \% @% + \& @& + \> @> + \< @< + \" @" + \:: @:: + \@ @@ + \\ @\ + \~ @~ - \addtogroup - \a - \anchor - \b - - \c - \class - \cond - \copybrief - \copydetails - - \copydoc - \def - \dir - \dontinclude - \dotfile - - \e - \elseif - \em - \enum - \example - - \exception - \exceptions - \extends - \file - \htmlinclude - - \if - \ifnot - \implements - \include - \includelineno - - \link - \memberof - \namespace - \p - \package - - \property - \protocol - \ref - \relatesalso - \relates - - \retval - \throw - \throws - \verbinclude - \version - - \xrefitem - - @addtogroup - @a - @anchor - - @b - @c - @class - @cond - @copybrief - - @copydetails - @copydoc - @def - @dir - @dontinclude - - @dotfile - @e - @elseif - @em - @enum - - @example - @exception - @exceptions - @extends - @file - - @htmlinclude - @if - @ifnot - @implements - @include - - @includelineno - @link - @memberof - @namespace - @p - - @package - @property - @prtocol - @ref - @relatesalso - - @relates - @retval - @throw - @throws - @verbinclude - - @version - @xrefitem + \a @a + \anchor @anchor + \b @b + \c @c + \cond @cond + \copybrief @copybrief + \copydetails @copydetails + \copydoc @copydoc + \def @def + \dir @dir + \dontinclude @dontinclude + \e @e + \elseif @elseif + \em @em + \enum @enum + \example @example + \exception @exception + \exceptions @exceptions + \extends @extends + \file @file + \htmlinclude @htmlinclude + \if @if + \ifnot @ifnot + \implements @implements + \include @include + \includelineno @includelineno + \link @link + \memberof @memberof + \namespace @namespace + \p @p + \package @package + \property @property + \relatedalso @relatedalso + \relatesalso @relatesalso + \related @related + \relates @relates + \retval @retval + \throw @throw + \throws @throws + \verbinclude @verbinclude + \version @version + + \xrefitem @xrefitem - \param - \tparam - - @param - @tparam + \param @param + + \tparam @tparam + - \image - - @image + \image @image + + - \category - \defgroup - - \headerfile - \page - \paragraph - \section - \struct - - \subpage - \subsection - \subsubsection - \union - \weakgroup - - @category - @defgroup - @headerfile - @page - - @paragraph - @section - @struct - @subpage - @subsection - - @subsubsection - @union - @weakgroup + \addtogroup @addtogroup + \category @category + \class @class + \dotfile @dotfile + \defgroup @defgroup + \interface @interface + \headerfile @headerfile + \mscfile @mscfile + \page @page + \paragraph @paragraph + \protocol @prtocol + \ref @ref + \section @section + \snippet @snippet + \struct @struct + \subpage @subpage + \subsection @subsection + \subsubsection @subsubsection + \union @union + \weakgroup @weakgroup - \addindex - - \brief - \bug - \date - \deprecated - \fn - - \ingroup - \line - \mainpage - \name - \overload - - \par - \sa - \see - \short - \skip - - \skipline - \typedef - \until - \var - - @addindex - @brief - @bug - @date - @deprecated - - @fn - @ingroup - @line - @mainpage - @name - - @overload - @par - @sa - @see - @short - - @skip - @skipline - @typedef - @until - @var - + \addindex @addindex + \copyright @copyright + \fn @fn + \ingroup @ingroup + \line @line + \mainpage @mainpage + \name @name + \overload @overload + \par @par + \skip @skip + \skipline @skipline + \typedef @typedef + \until @until + \var @var + + + \note @note + + + \warning @warning + + + \attention @attention + + + \todo @todo + - @@ -404,7 +244,6 @@ - @@ -414,17 +253,16 @@ - + - @@ -434,31 +272,32 @@ - + - - - - + - @@ -468,7 +307,6 @@ - @@ -478,7 +316,6 @@ - @@ -488,7 +325,6 @@ - @@ -498,7 +334,6 @@ - @@ -508,7 +343,6 @@ - @@ -518,18 +352,16 @@ - - + - @@ -539,7 +371,6 @@ - @@ -549,7 +380,6 @@ - @@ -559,7 +389,6 @@ - @@ -569,7 +398,6 @@ - @@ -579,7 +407,6 @@ - @@ -589,36 +416,39 @@ - - - - + + + - - - + + + + + + + - + + + - - + - + - @@ -627,38 +457,41 @@ - - + - + - - - - + + + + + - + - + + + + - + diff --git a/kate/data/fortran.xml b/kate/data/fortran.xml index 4a83a703a..43817994b 100644 --- a/kate/data/fortran.xml +++ b/kate/data/fortran.xml @@ -1,6 +1,6 @@ - + diff --git a/kate/data/gettext.xml b/kate/data/gettext.xml index 3bfe298fe..827468a16 100644 --- a/kate/data/gettext.xml +++ b/kate/data/gettext.xml @@ -1,7 +1,7 @@ - + @@ -47,7 +47,7 @@ with this program; if not, write to the Free Software Foundation, Inc., import interface map - + package range return select @@ -61,6 +61,7 @@ with this program; if not, write to the Free Software Foundation, Inc., byte complex64 complex128 + error float float32 float64 @@ -69,6 +70,7 @@ with this program; if not, write to the Free Software Foundation, Inc., int16 int32 int64 + rune string uint uint8 @@ -77,31 +79,43 @@ with this program; if not, write to the Free Software Foundation, Inc., uint64 - cap - len - make - new - panic - recover + append + cap + close + complex + copy + imag + len + make + new + panic + print + println + real + recover - + false nil true + iota - - - - + + + + + + + @@ -118,26 +132,32 @@ with this program; if not, write to the Free Software Foundation, Inc., - - + + + + + + - - - + + + + + - + @@ -145,6 +165,6 @@ with this program; if not, write to the Free Software Foundation, Inc., - + diff --git a/kate/data/latex.xml b/kate/data/latex.xml index f138b53d9..d15e8e429 100644 --- a/kate/data/latex.xml +++ b/kate/data/latex.xml @@ -1,6 +1,6 @@ - + @@ -68,7 +68,7 @@ - + @@ -339,11 +339,11 @@ - + - + @@ -405,7 +405,7 @@ - + @@ -414,7 +414,7 @@ - + @@ -423,7 +423,7 @@ - + @@ -588,6 +588,7 @@ + diff --git a/kate/data/lua.xml b/kate/data/lua.xml index 52442de05..0c3bb1a99 100644 --- a/kate/data/lua.xml +++ b/kate/data/lua.xml @@ -35,7 +35,7 @@ - improved highlighting --> - + and @@ -213,10 +213,6 @@ - - - - diff --git a/kate/data/m4.xml b/kate/data/m4.xml index 23e3f3576..e39c6e696 100644 --- a/kate/data/m4.xml +++ b/kate/data/m4.xml @@ -6,7 +6,7 @@ Corresponds to GNU M4 version 1.4.16. For KatePart (Kate, KWrite etc) copy this file to - ~/.tde/share/apps/katepart/syntax/ + $TDEHOME/share/apps/katepart/syntax/ For Qt Creator copy this file to ~/.config/Nokia/qtcreator/generic-highlighter/ diff --git a/kate/data/mason.xml b/kate/data/mason.xml index 3fd1b4992..d369fb0ee 100644 --- a/kate/data/mason.xml +++ b/kate/data/mason.xml @@ -1,6 +1,6 @@ - + sub @@ -72,6 +72,8 @@ + + @@ -81,6 +83,8 @@ + + diff --git a/kate/data/modelines.xml b/kate/data/modelines.xml new file mode 100644 index 000000000..eb72e6be1 --- /dev/null +++ b/kate/data/modelines.xml @@ -0,0 +1,155 @@ + + + +]> + + + diff --git a/kate/data/objectivecpp.xml b/kate/data/objectivecpp.xml index 1552d264a..bf038d4a2 100644 --- a/kate/data/objectivecpp.xml +++ b/kate/data/objectivecpp.xml @@ -109,7 +109,7 @@ Q_DECLARE_PUBLIC Q_D Q_Q - TQ_DISABLE_COPY + Q_DISABLE_COPY Q_INTERFACES Q_FLAGS Q_SCRIPTABLE diff --git a/kate/data/perl.xml b/kate/data/perl.xml index 71b04ad9f..b92b52dff 100644 --- a/kate/data/perl.xml +++ b/kate/data/perl.xml @@ -39,7 +39,7 @@ Enhance tr/// and y/// support. --> - + if @@ -56,18 +56,18 @@ break continue return - use - no - require my our local + state BEGIN END - require package sub do + given + when + default __END__ __DATA__ __FILE__ @@ -221,6 +221,7 @@ msgget msgrcv msgsnd + no oct open opendir @@ -244,6 +245,7 @@ redo ref rename + require reset return reverse @@ -307,6 +309,7 @@ unpack unshift untie + use utime values vec @@ -366,7 +369,7 @@ - + @@ -765,9 +768,8 @@ - - - + + diff --git a/kate/data/pig.xml b/kate/data/pig.xml new file mode 100644 index 000000000..a3dc318fa --- /dev/null +++ b/kate/data/pig.xml @@ -0,0 +1,202 @@ + + + + + + + load + store + filter + foreach + order + arrange + distinct + cogroup + join + cross + union + onschema + split + into + if + all + any + as + by + using + inner + outer + parallel + group + continuously + window + tuples + generate + eval + define + returns + input + output + ship + cache + stream + through + seconds + minutes + hours + asc + desc + null + left + right + full + + + cat + cd + cp + copyFromLocal + copyToLocal + define + dump + illustrate + describe + explain + exec + help + kill + ls + mv + mkdir + pwd + quit + register + import + rm + set + + + chararray + bytearray + int + long + float + double + tuple + bag + map + + + and + is + not + or + eq + neq + gt + lt + gte + lte + matches + + + flatten + sum + count + min + max + avg + arity + tokenize + diff + size + concat + BinStorage + PigStorage + TextLoader + PigDump + IsEmpty + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/kate/data/prolog.xml b/kate/data/prolog.xml index 2f6e468bf..732048845 100644 --- a/kate/data/prolog.xml +++ b/kate/data/prolog.xml @@ -1,6 +1,6 @@ - + abstract @@ -195,9 +195,11 @@ + + diff --git a/kate/data/qmake.xml b/kate/data/qmake.xml index d267033c4..821213a14 100644 --- a/kate/data/qmake.xml +++ b/kate/data/qmake.xml @@ -1,6 +1,6 @@ - + @@ -38,6 +38,10 @@ UI_DIR MOC_DIR OBJECTS_DIR + VPATH + contains @@ -120,4 +124,4 @@ - \ No newline at end of file + diff --git a/kate/data/scss.xml b/kate/data/scss.xml new file mode 100644 index 000000000..918f5c0b3 --- /dev/null +++ b/kate/data/scss.xml @@ -0,0 +1,714 @@ + + + + + + + + + + + azimuth + background + background-attachment + background-color + background-image + background-position + 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 + 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 + + + border-bottom-image + border-bottom-left-image + border-bottom-left-radius + border-bottom-right-image + border-bottom-right-radius + 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-shadow + box-sizing + opacity + outline-offset + overflow-x + overflow-y + text-overflow + text-shadow + + + -moz-border-bottom-colors + -moz-border-left-colors + -moz-border-radius + -moz-border-right-colors + -moz-border-top-colors + -moz-box-flex + + + -o-background-size + -o-text-overflow + + + -khtml-background-size + konq_bgpos_x + konq_bgpos_y + + + -webkit-background-size + + + 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 + + + + 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 + + + -moz-box + + + + + + 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 + + + + url + attr + rect + rgb + rgba + hsl + hsla + counter + counters + + + local + format + + + expression + + + + + all + aural + braille + embossed + handheld + print + projection + screen + tty + tv + + + + hover + link + visited + active + focus + first-child + last-child + only-child + first-of-type + last-of-type + only-of-type + first-letter + first-line + before + after + selection + root + empty + target + enabled + disabled + checked + indeterminate + nth-child + nth-last-child + nth-of-type + nth-last-of-type + not + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.1