diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | ce4a32fe52ef09d8f5ff1dd22c001110902b60a2 (patch) | |
tree | 5ac38a06f3dde268dc7927dc155896926aaf7012 /kate/data | |
download | tdelibs-ce4a32fe52ef09d8f5ff1dd22c001110902b60a2.tar.gz tdelibs-ce4a32fe52ef09d8f5ff1dd22c001110902b60a2.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kate/data')
134 files changed, 57423 insertions, 0 deletions
diff --git a/kate/data/Makefile.am b/kate/data/Makefile.am new file mode 100644 index 000000000..da5febd95 --- /dev/null +++ b/kate/data/Makefile.am @@ -0,0 +1,34 @@ +kde_services_DATA = katepart.desktop + +rckatedir = $(kde_datadir)/katepart +rckate_DATA = katepartui.rc katepartreadonlyui.rc + +syntaxkatedir = $(kde_datadir)/katepart/syntax +syntaxkate_DATA = language.dtd syntax.template cpp.xml c.xml html.xml kbasic.xml objectivec.xml \ + changelog.xml ada.xml css.xml perl.xml php.xml xml.xml java.xml rpmspec.xml \ + sql.xml sql-mysql.xml sql-postgresql.xml vhdl.xml diff.xml bash.xml latex.xml postscript.xml ruby.xml rhtml.xml \ + desktop.xml eiffel.xml pascal.xml sather.xml python.xml makefile.xml \ + ferite.xml scheme.xml matlab.xml tcl.xml ilerpg.xml verilog.xml javascript.xml \ + sml.xml winehq.xml cs.xml sgml.xml idconsole.xml xmldebug.xml fortran.xml haskell.xml \ + literate-haskell.xml r.xml gnuassembler.xml mab.xml mason.xml idl.xml prolog.xml \ + rsiidl.xml coldfusion.xml picsrc.xml uscript.xml lpc.xml velocity.xml sci.xml ldif.xml \ + inform.xml xharbour.xml yacas.xml component-pascal.xml asm6502.xml gdl.xml bibtex.xml d.xml \ + vrml.xml rexx.xml cue.xml progress.xml e.xml sieve.xml modula-2.xml awk.xml cisco.xml \ + doxygen.xml lua.xml pike.xml debianchangelog.xml debiancontrol.xml fgl-4gl.xml fgl-per.xml alert.xml \ + gettext.xml commonlisp.xml clipper.xml povray.xml euphoria.xml mup.xml jsp.xml ocaml.xml lex.xml yacc.xml \ + cg.xml html-php.xml css-php.xml javascript-php.xml ahdl.xml ansic89.xml tibasic.xml \ + purebasic.xml mips.xml logtalk.xml txt2tags.xml xslt.xml stata.xml glsl.xml \ + lilypond.xml abc.xml asp.xml asm-avr.xml rib.xml cmake.xml octave.xml javadoc.xml cgis.xml \ + spice.xml nasm.xml mediawiki.xml apache.xml m3u.xml ini.xml fstab.xml actionscript.xml + +partrcdir = $(kde_confdir) +partrc_DATA = katesyntaxhighlightingrc katefiletyperc + +html-php.xml: $(srcdir)/html.xml $(srcdir)/generate-php.pl + $(PERL) $(srcdir)/generate-php.pl < $(srcdir)/html.xml > $@ + +css-php.xml: $(srcdir)/css.xml $(srcdir)/generate-php.pl + $(PERL) $(srcdir)/generate-php.pl < $(srcdir)/css.xml > $@ + +javascript-php.xml: $(srcdir)/javascript.xml $(srcdir)/generate-php.pl + $(PERL) $(srcdir)/generate-php.pl < $(srcdir)/javascript.xml > $@ diff --git a/kate/data/abc.xml b/kate/data/abc.xml new file mode 100644 index 000000000..8d5ff163b --- /dev/null +++ b/kate/data/abc.xml @@ -0,0 +1,88 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!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"> + <highlighting> + <contexts> + <context name="Normal" attribute="Normal Text" lineEndContext="#stay"> +<!-- detects tuplet symbols e.g. (3 or (3:2:2--> + <RegExpr attribute="Tuplet" context="#stay" String="\([23456789]:?[23456789]?:?[23456789]?" /> +<!-- detects quoted strings --> + <RangeDetect attribute="String" context="#stay" char=""" char1="""/> +<!-- detects decorations delimited by ! ! symbols --> + <RangeDetect attribute="Decoration" context="#stay" char="!" char1="!" /> +<!-- detects single header command delimited by [ and sends to Header context --> + <RegExpr attribute="Header" context="Header" String="\[[ABCGHILMNOQRSTUVZ]:" /> +<!-- detects single header line inside a song without [] - ends at EOL--> + <RegExpr attribute="Header" context="Header2" String="[ABCGHILMNOPQRSTUVZ]:" /> +<!-- detect beginning of header zone with X: and sends to Header context --> + <Detect2Chars attribute="Header" context="Header" char="X" char1=":" beginRegion="header" column="0"/> +<!-- detects bar beginning (or chord) symbols and sends to Bar context --> + <AnyChar attribute="Bar" context="Bar" String="|:[" /> +<!-- detects ] if used to close chords --> + <DetectChar attribute="Bar" context="#stay" char="]" /> +<!-- detects () for slurs --> + <AnyChar attribute="Slur" context="#stay" String="()" /> +<!-- detects {} for gracings --> + <AnyChar attribute="Slur" context="#stay" String="{}" /> +<!-- detects W: and w: lyric lines --> + <Detect2Chars attribute="Lyrics" context="Lyrics" char="W" char1=":" /> + <Detect2Chars attribute="Lyrics" context="Lyrics" char="w" char1=":" /> +<!-- detects %% preprocessor lines and % comment lines--> + <Detect2Chars attribute="Preprocessor" context="Preprocessor" char="%" char1="%"/> + <DetectChar attribute="Comment" context="Comment" char="%" /> +<!-- detects ^ _ = symbols before a note --> + <RegExpr attribute="Sharp" context="#stay" String="[_|\^]?[_|=|\^][A-Ga-g]" /> + </context> +<!-- returns to Normal context at the end of line --> + <context name="Preprocessor" attribute="Preprocessor" lineEndContext="#pop" /> + <context name="Lyrics" attribute="Lyrics" lineEndContext="#pop" /> + <context name="Part" attribute="Header" lineEndContext="#pop" /> + <context name="Comment" attribute="Comment" lineEndContext="#pop" /> +<!-- returns to Normal context after the end of bar symbols or at EOL --> + <context name="Bar" attribute="Bar" lineEndContext="#pop" > + <DetectChar attribute="Normal" context="#pop" char=""" /> +<!-- the bar symbol ends when a note letter follows --> + <RegExpr attribute="Normal" context="#pop" String="[A-Ga-gZz]" /> +<!-- the bar symbol ends after a white space --> + <DetectChar attribute="Normal" context="#pop" char=" " /> +<!-- detects decorations delimited by ! ! symbols --> + <RangeDetect attribute="Decoration" context="#stay" char="!" char1="!" /> +<!-- detects () for slurs --> + <AnyChar attribute="Slur" context="#stay" String="()" /> +<!-- chomps all other bar symbols --> + <RegExpr attribute="Bar" context="#pop" String=":*\|*[1-9]|/*\|" /> + </context> +<!-- returns to Normal context at the end of header --> + <context name="Header" attribute="Header" lineEndContext="#stay"> +<!-- the header ends after K: line --> + <RegExpr attribute="Header" context="#pop" String="K:.+" endRegion="header" column="0"/> +<!-- the single header command ends at the ] char --> + <DetectChar attribute="Header" context="#pop" char="]" /> + </context> +<!-- the single header line ends at EOL --> + <context name="Header2" attribute="Header" lineEndContext="#pop" /> + </contexts> + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Notes" defStyleNum="dsKeyword" bold="true"/> + <itemData name="Comment" defStyleNum="dsComment"/> + <itemData name="Decoration" defStyleNum="dsFloat" color="#00bbaa" /> + <itemData name="String" defStyleNum="dsString" bold="true"/> + <itemData name="Preprocessor" defStyleNum="dsString" italic="true"/> + <itemData name="Header" defStyleNum="dsFloat"/> + <itemData name="Slur" defStyleNum="dsDataType" bold="true"/> + <itemData name="Tuplet" defStyleNum="dsDataType" color="#bb00bb"/> + <itemData name="Lyrics" defStyleNum="dsDataType" color="#00bb00"/> + <itemData name="Bar" defStyleNum="dsChar" color="#0000ff"/> + <itemData name="Sharp" defStyleNum="dsNormal" color="#22bb66" bold="true"/> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="singleLine" start="%" /> + </comments> + <keywords casesensitive="1" /> + </general> +</language> diff --git a/kate/data/actionscript.xml b/kate/data/actionscript.xml new file mode 100644 index 000000000..c2656a3e2 --- /dev/null +++ b/kate/data/actionscript.xml @@ -0,0 +1,334 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="ActionScript 2.0" version="1.00" kateversion="2.4" section="Sources" extensions="*.as" mimetype="text/x-actionscript" license="LGPL" author="Aaron Miller (armantic101@gmail.com)"> + <highlighting> + + <list name="properties"> + <item> _accProps </item> + <item> _focusrect </item> + <item> _global </item> + <item> _highquality </item> + <item> _level </item> + <item> _parent </item> + <item> _quality </item> + <item> _root </item> + <item> _soundbuftime </item> + <item> maxscroll </item> + <item> scroll </item> + <item> this </item> + </list> + + <list name="global_functions"> + <item> asfunction </item> + <item> call </item> + <item> chr </item> + <item> clearInterval </item> + <item> duplicateMovieClip </item> + <item> escape </item> + <item> eval </item> + <item> fscommand </item> + <item> getProperty </item> + <item> getTimer </item> + <item> getURL </item> + <item> getVersion </item> + <item> gotoAndPlay </item> + <item> gotoAndStop </item> + <item> ifFrameLoaded </item> + <item> int </item> + <item> isFinite </item> + <item> isNaN </item> + <item> length </item> + <item> loadMovie </item> + <item> loadMovieNum </item> + <item> loadVariables </item> + <item> loadVariablesNum </item> + <item> mbchr </item> + <item> mblength </item> + <item> mbord </item> + <item> mbsubstring </item> + <item> nextFrame </item> + <item> nextScene </item> + <item> on </item> + <item> onClipEvent </item> + <item> ord </item> + <item> parseFloat </item> + <item> parseInt </item> + <item> play </item> + <item> prevFrame </item> + <item> prevScene </item> + <item> print </item> + <item> printAsBitmap </item> + <item> printAsBitmapNum </item> + <item> printNum </item> + <item> random </item> + <item> removeMovieClip </item> + <item> setInterval </item> + <item> setProperty </item> + <item> showRedrawRegions </item> + <item> startDrag </item> + <item> stop </item> + <item> stopAllSounds </item> + <item> stopDrag </item> + <item> substring </item> + <item> targetPath </item> + <item> tellTarget </item> + <item> toggleHighQuality </item> + <item> trace </item> + <item> typeof </item> + <item> unescape </item> + <item> unloadMovie </item> + <item> unloadMovieNum </item> + <item> updateAfterEvent </item> + </list> + + <list name="classes"> + <item> Accessibility </item> + <item> Accordion </item> + <item> Alert </item> + <item> Binding </item> + <item> Button </item> + <item> Camera </item> + <item> CellRenderer </item> + <item> CheckBox </item> + <item> Collection </item> + <item> Color </item> + <item> ComboBox </item> + <item> ComponentMixins </item> + <item> ContextMenu </item> + <item> ContextMenuItem </item> + <item> CustomActions </item> + <item> CustomFormatter </item> + <item> CustomValidator </item> + <item> DataGrid </item> + <item> DataHolder </item> + <item> DataProvider </item> + <item> DataSet </item> + <item> DataType </item> + <item> Date </item> + <item> DateChooser </item> + <item> DateField </item> + <item> Delta </item> + <item> DeltaItem </item> + <item> DeltaPacket </item> + <item> DepthManager </item> + <item> EndPoint </item> + <item> Error </item> + <item> FaultEvent </item> + <item> FocusManager </item> + <item> Form </item> + <item> Function </item> + <item> Iterator </item> + <item> Key </item> + <item> Label </item> + <item> List </item> + <item> LoadVars </item> + <item> Loader </item> + <item> LocalConnection </item> + <item> Log </item> + <item> Math </item> + <item> Media </item> + <item> Menu </item> + <item> MenuBar </item> + <item> Microphone </item> + <item> Mouse </item> + <item> MovieClip </item> + <item> MovieClipLoader </item> + <item> NetConnection </item> + <item> NetStream </item> + <item> Number </item> + <item> NumericStepper </item> + <item> PendingCall </item> + <item> PopUpManager </item> + <item> PrintJob </item> + <item> ProgressBar </item> + <item> RDBMSResolver </item> + <item> RadioButton </item> + <item> RelayResponder </item> + <item> SOAPCall </item> + <item> Screen </item> + <item> ScrollPane </item> + <item> Selection </item> + <item> SharedObject </item> + <item> Slide </item> + <item> Sound </item> + <item> Stage </item> + <item> StyleManager </item> + <item> System </item> + <item> TextArea </item> + <item> TextField </item> + <item> TextFormat </item> + <item> TextInput </item> + <item> TextSnapshot </item> + <item> TransferObject </item> + <item> Tree </item> + <item> TreeDataProvider </item> + <item> TypedValue </item> + <item> UIComponent </item> + <item> UIEventDispatcher </item> + <item> UIObject </item> + <item> Video </item> + <item> WebService </item> + <item> WebServiceConnector </item> + <item> Window </item> + <item> XML </item> + <item> XMLConnector </item> + <item> XUpdateResolver </item> + </list> + + <list name="keywords"> + <item> add </item> + <item> and </item> + <item> break </item> + <item> case </item> + <item> catch </item> + <item> class </item> + <item> continue </item> + <item> default </item> + <item> delete </item> + <item> do </item> + <item> dynamic </item> + <item> else </item> + <item> eq </item> + <item> extends </item> + <item> finally </item> + <item> for </item> + <item> function </item> + <item> ge </item> + <item> get </item> + <item> gt </item> + <item> if </item> + <item> implements </item> + <item> import </item> + <item> in </item> + <item> instanceof </item> + <item> interface </item> + <item> intrinsic </item> + <item> le </item> + <item> lt </item> + <item> ne </item> + <item> new </item> + <item> not </item> + <item> or </item> + <item> private </item> + <item> public </item> + <item> return </item> + <item> set </item> + <item> static </item> + <item> switch </item> + <item> throw </item> + <item> try </item> + <item> var </item> + <item> void </item> + <item> while </item> + <item> with </item> + </list> + + <list name="const"> + <item> false </item> + <item> Infinity </item> + <item> -Infinity </item> + <item> NaN </item> + <item> newline </item> + <item> null </item> + <item> true </item> + <item> undefined </item> + </list> + + <list name="types"> + <item> Array </item> + <item> Boolean </item> + <item> Number </item> + <item> Object </item> + <item> String </item> + <item> Void </item> + </list> + + <contexts> + <context attribute="Normal Text" lineEndContext="#stay" name="Normal"> + <!-- Comment next line if you don't use Javadoc tool --> + <IncludeRules context="##Javadoc"/> + <keyword attribute="Properties" context="#stay" String="properties"/> + <keyword attribute="Global Functions" context="#stay" String="global_functions"/> + <keyword attribute="Classes" context="#stay" String="classes"/> + <keyword attribute="Keyword" context="#stay" String="keywords"/> + <keyword attribute="Constants" context="#stay" String="const"/> + <keyword attribute="Data Type" context="#stay" String="types"/> + <Float attribute="Float" context="#stay"> + <AnyChar String="fF" attribute="Float" context="#stay"/> + </Float> + <HlCOct attribute="Octal" context="#stay"/> + <HlCHex attribute="Hex" context="#stay"/> + <Int attribute="Decimal" context="#stay"> + <StringDetect attribute="Decimal" context="#stay" String="ULL" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="LUL" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="LLU" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="UL" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="LU" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="LL" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="U" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="L" insensitive="TRUE"/> + </Int> + <HlCChar attribute="Char" context="#stay"/> + <RegExpr attribute="Decimal" context="#stay" String="//\s*BEGIN.*$" beginRegion="Region1"/> + <RegExpr attribute="Decimal" context="#stay" String="//\s*END.*$" endRegion="Region1"/> + <DetectChar attribute="String" context="String" char="""/> + <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"/> + <RegExpr attribute="Keyword" context="#stay" String="\.{3,3}\s+" /> + <RegExpr attribute="Keyword" context="StaticImports" String="\b(import\s+static)\b" /> + <RegExpr attribute="Keyword" context="Imports" String="\b(package|import)\b" /> + <RegExpr attribute="Function" context="#stay" String="\b[_\w][_\w\d]*(?=[\s]*(/\*\s*\d+\s*\*/\s*)?[(])" /> + <RegExpr attribute="Symbol" context="Member" String="[.]{1,1}" /> + <AnyChar attribute="Symbol" context="#stay" String=":!%&()+,-/.*<=>?[]|~^;"/> + </context> + <context attribute="String" lineEndContext="#pop" name="String"> + <LineContinue attribute="String" context="#stay"/> + <HlCStringChar attribute="String Char" context="#stay"/> + <DetectChar attribute="String" context="#pop" char="""/> + </context> + <context attribute="Normal Text" lineEndContext="#pop" name="Member" fallthrough="true" fallthroughContext="#pop"> + <RegExpr attribute="Function" context="#pop" String="\b[_a-zA-Z]\w*(?=[\s]*)" /> + </context> + <context attribute="Normal Text" lineEndContext="#pop" name="StaticImports"> + <RegExpr attribute="StaticImports" context="#pop" String="\s*.*$" /> + </context> + <context attribute="Normal Text" lineEndContext="#pop" name="Imports"> + <RegExpr attribute="Imports" context="#pop" String="\s*.*$" /> + </context> + <context attribute="Comment" lineEndContext="#pop" name="Commentar 1"/> + <context attribute="Comment" lineEndContext="#stay" name="Commentar 2"> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment"/> + </context> + </contexts> + <itemDatas> + <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="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="String" defStyleNum="dsString"/> + <itemData name="String Char" defStyleNum="dsChar"/> + <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"/> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="singleLine" start="//"/> + <comment name="multiLine" start="/*" end="*/"/> + </comments> + <keywords casesensitive="1"/> + </general> +</language> diff --git a/kate/data/ada.xml b/kate/data/ada.xml new file mode 100644 index 000000000..830c5cbd2 --- /dev/null +++ b/kate/data/ada.xml @@ -0,0 +1,194 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="Ada" version="1.06" kateversion="2.4" section="Sources" extensions="*.adb;*.ads;*.ada;*.a" mimetype="text/x-adasrc"> + <highlighting> + <list name="keywords"> + <item> abort </item> + <item> abs </item> + <item> abstract </item> + <item> accept </item> + <item> access </item> + <item> aliased </item> + <item> all </item> + <item> and </item> + <item> array </item> + <item> at </item> + <item> begin </item> + <item> body </item> + <item> constant </item> + <item> declare </item> + <item> delay </item> + <item> delta </item> + <item> digits </item> + <item> do </item> + <item> else </item> + <item> elsif </item> + <item> end </item> + <item> entry </item> + <item> exception </item> + <item> exit </item> + <item> for </item> + <item> function </item> + <item> generic </item> + <item> goto </item> + <item> in </item> + <item> interface </item> + <item> is </item> + <item> limited </item> + <item> mod </item> + <item> new </item> + <item> not </item> + <item> null </item> + <item> of </item> + <item> or </item> + <item> others </item> + <item> out </item> + <item> overriding </item> + <item> package </item> + <item> pragma </item> + <item> private </item> + <item> procedure </item> + <item> protected </item> + <item> raise </item> + <item> range </item> + <item> rem </item> + <item> record </item> + <item> renames </item> + <item> requeue </item> + <item> return </item> + <item> reverse </item> + <item> separate </item> + <item> subtype </item> + <item> tagged </item> + <item> task </item> + <item> terminate </item> + <item> then </item> + <item> type </item> + <item> until </item> + <item> use </item> + <item> when </item> + <item> while </item> + <item> with </item> + <item> xor </item> + </list> + <list name="pragmas"> + <item> all_calls_remote </item> + <item> assert </item> + <item> assertion_policy </item> + <item> asynchronous </item> + <item> atomic </item> + <item> atomic_components </item> + <item> attach_handler </item> + <item> controlled </item> + <item> convention </item> + <item> detect_blocking </item> + <item> discard_names </item> + <item> elaborate </item> + <item> elaborate_all </item> + <item> elaborate_body </item> + <item> export </item> + <item> import </item> + <item> inline </item> + <item> inspection_point </item> + <item> interrupt_handler </item> + <item> interrupt_priority </item> + <item> linker_options </item> + <item> list </item> + <item> locking_policy </item> + <item> no_return </item> + <item> normalize_scalars </item> + <item> optimize </item> + <item> pack </item> + <item> page </item> + <item> partition_elaboration_policy </item> + <item> preelaborable_initialization </item> + <item> preelaborate </item> + <item> priority </item> + <item> priority_specific_dispatching </item> + <item> profile </item> + <item> pure </item> + <item> queuing_policy </item> + <item> relative_deadline </item> + <item> remote_call_interface </item> + <item> remote_types </item> + <item> restrictions </item> + <item> reviewable </item> + <item> shared_passive </item> + <item> storage_size </item> + <item> suppress </item> + <item> task_dispatching_policy </item> + <item> unchecked_union </item> + <item> unsuppress </item> + <item> volatile </item> + <item> volatile_components </item> + </list> + <list name="types"> + <item> boolean </item> + <item> char </item> + <item> float </item> + <item> integer </item> + <item> long_float </item> + <item> long_integer </item> + <item> long_long_float </item> + <item> long_long_integer </item> + <item> short_float </item> + <item> short_integer </item> + <item> string </item> + <item> wide_string </item> + <item> wide_char </item> + <item> wide_wide_char </item> + <item> wide_wide_string </item> + </list> + <contexts> + <context attribute="Normal Text" lineEndContext="#stay" name="Default"> + <RegExpr attribute="Keyword" context="#stay" String="if " insensitive="TRUE" beginRegion="Region1" firstNonSpace="true"/> + <StringDetect attribute="Keyword" context="#stay" String="end if" insensitive="TRUE" endRegion="Region1"/> + <RegExpr attribute="Keyword" context="#stay" String="\sloop\s+" insensitive="TRUE" beginRegion="Region3"/> + <RegExpr attribute="Keyword" context="#stay" String="\sloop$" insensitive="TRUE" beginRegion="Region3"/> + <StringDetect attribute="Keyword" context="#stay" String="end loop;" insensitive="TRUE" endRegion="Region3"/> + <RegExpr attribute="Keyword" context="#stay" String="\sselect\s+" insensitive="TRUE" beginRegion="Region4"/> + <RegExpr attribute="Keyword" context="#stay" String="\sselect$" insensitive="TRUE" beginRegion="Region4"/> + <StringDetect attribute="Keyword" context="#stay" String="end select;" insensitive="TRUE" endRegion="Region4"/> + <RegExpr attribute="Keyword" context="#stay" String="\b(begin|case|record)\b" insensitive="true" beginRegion="Region5"/> + <RegExpr attribute="Keyword" context="#stay" String="\bend(?=((\{[^}]*(\}|$)|\(\*.*(\*\)|$))*)([.;\s]|$)|//|$)" insensitive="true" endRegion="Region5"/> + <StringDetect attribute="Region Marker" context="Region Marker" String="-- BEGIN" beginRegion="RegionMarker" firstNonSpace="true" /> + <StringDetect attribute="Region Marker" context="Region Marker" String="-- END" endRegion="RegionMarker" firstNonSpace="true" /> + <keyword attribute="Keyword" context="#stay" String="keywords"/> + <keyword attribute="Pragmas" context="#stay" String="pragmas" /> + <keyword attribute="Data Type" context="#stay" String="types" /> + <Float attribute="Float" context="#stay"/> + <Int attribute="Decimal" context="#stay"/> + <RegExpr attribute="Char" context="#stay" String="'.'"/> + <DetectChar attribute="String" context="String" char="""/> + <Detect2Chars attribute="Comment" context="Comment" char="-" char1="-"/> + <AnyChar attribute="Symbol" context="#stay" String=":!%&()+,-/.*<=>|"/> + </context> + <context attribute="Region Marker" lineEndContext="#pop" name="Region Marker"/> + <context attribute="String" lineEndContext="#pop" name="String"> + <DetectChar attribute="String" context="#pop" char="""/> + </context> + <context attribute="Comment" lineEndContext="#pop" name="Comment"/> + </contexts> + <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="Data Type" defStyleNum="dsDataType"/> + <itemData name="Decimal" defStyleNum="dsDecVal" /> + <itemData name="Base-N" defStyleNum="dsBaseN" /> + <itemData name="Float" defStyleNum="dsFloat" /> + <itemData name="Char" defStyleNum="dsChar" /> + <itemData name="String" defStyleNum="dsString" /> + <itemData name="Comment" defStyleNum="dsComment" /> + <itemData name="Symbol" defStyleNum="dsNormal"/> + <itemData name="Region Marker" defStyleNum="dsRegionMarker" /> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="singleLine" start="--" /> + </comments> + <keywords casesensitive="0" /> + </general> +</language> +<!-- kate: space-indent on; indent-width 2; replace-tabs on; --> diff --git a/kate/data/ahdl.xml b/kate/data/ahdl.xml new file mode 100644 index 000000000..cf0ab4652 --- /dev/null +++ b/kate/data/ahdl.xml @@ -0,0 +1,145 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="AHDL" version="1.04" kateversion="2.4" section="Hardware" extensions="*.ahdl;*.tdf" mimetype="text/x-ahdl" author="Dominik Haumann (dhdev@gmx.de)" license="LGPL"> + <highlighting> + <list name="keywords"> + <item> assert </item> + <item> bidir </item> + <item> bits </item> + <item> buried </item> + <item> case </item> + <item> clique </item> + <item> connected_pins </item> + <item> constant </item> + <item> defaults </item> + <item> define </item> + <item> design </item> + <item> device </item> + <item> else </item> + <item> elsif </item> + <item> for </item> + <item> function </item> + <item> generate </item> + <item> gnd </item> + <item> help_id </item> + <item> in </item> + <item> include </item> + <item> input </item> + <item> is </item> + <item> machine </item> + <item> node </item> + <item> of </item> + <item> options </item> + <item> others </item> + <item> output </item> + <item> parameters </item> + <item> returns </item> + <item> states </item> + <item> subdesign </item> + <item> then </item> + <item> title </item> + <item> to </item> + <item> tri_state_node </item> + <item> variable </item> + <item> vcc </item> + <item> when </item> + <item> with </item> + </list> + <list name="types"> + <item> carry </item> + <item> cascade </item> + <item> dffe </item> + <item> dff </item> + <item> exp </item> + <item> global </item> + <item> jkffe </item> + <item> jkff </item> + <item> latch </item> + <item> lcell </item> + <item> mcell </item> + <item> memory </item> + <item> opendrn </item> + <item> soft </item> + <item> srffe </item> + <item> srff </item> + <item> tffe </item> + <item> tff </item> + <item> tri </item> + <item> wire </item> + <item> x </item> + </list> + <list name="operator"> + <item> not </item> + <item> and </item> + <item> nand </item> + <item> or </item> + <item> nor </item> + <item> xor </item> + <item> xnor </item> + <item> mod </item> + <item> div </item> + <item> log2 </item> + <item> used </item> + <item> ceil </item> + <item> floor </item> + </list> + <contexts> + <context name="normal" attribute="Normal Text" lineEndContext="#stay"> + <RegExpr attribute="Keyword" context="#stay" String="\bdefaults\b" insensitive="true" beginRegion="def"/> + <RegExpr attribute="Keyword" context="#stay" String="\bend\s+defaults\b" insensitive="true" endRegion="def"/> + <RegExpr attribute="Keyword" context="#stay" String="\bif\b" insensitive="true" beginRegion="if"/> + <RegExpr attribute="Keyword" context="#stay" String="\bend\s+if\b" insensitive="true" endRegion="if"/> + <RegExpr attribute="Keyword" context="#stay" String="\btable\b" insensitive="true" beginRegion="table"/> + <RegExpr attribute="Keyword" context="#stay" String="\bend\s+table\b" insensitive="true" endRegion="table"/> + <RegExpr attribute="Keyword" context="#stay" String="\bcase\b" insensitive="true" beginRegion="case"/> + <RegExpr attribute="Keyword" context="#stay" String="\bend\s+case\b" insensitive="true" endRegion="case"/> + <RegExpr attribute="Keyword" context="#stay" String="\bbegin\b" insensitive="true" beginRegion="block"/> + <RegExpr attribute="Keyword" context="#stay" String="\bend\b" insensitive="true" endRegion="block"/> + <DetectChar attribute="Normal Text" context="#stay" char="(" beginRegion="bracket"/> + <DetectChar attribute="Normal Text" context="#stay" char=")" endRegion="bracket"/> + <keyword attribute="Keyword" context="#stay" String="keywords"/> + <keyword attribute="Data Type" context="#stay" String="types"/> + <keyword attribute="Operator" context="#stay" String="operator"/> + <RegExpr attribute="Decimal" context="#stay" String="\b(\d+)\b" /> + <RegExpr attribute="Bit" context="#stay" String="\bb"(0|1|x)+"" insensitive="true"/> + <RegExpr attribute="Octal" context="#stay" String="\b(o|q)"[0-7*]"" insensitive="true"/> + <RegExpr attribute="Hex" context="#stay" String="\b(h|x)"[0-9a-f]*"" insensitive="true"/> + <DetectChar attribute="String" context="string" char=""" /> + <RegExpr attribute="Region Marker" context="#stay" String="--\s*BEGIN.*$" beginRegion="region" firstNonSpace="true"/> + <RegExpr attribute="Region Marker" context="#stay" String="--\s*END.*$" endRegion="region" firstNonSpace="true"/> + <RegExpr attribute="Comment" context="#stay" String="--.*$" /> + <DetectChar attribute="Comment" context="comment" char="%" /> + <HlCChar attribute="Char" context="#stay"/> + </context> + <context name="string" attribute="String" lineEndContext="#stay" > + <Detect2Chars attribute="Char" context="#stay" char="\" char1=""" /> + <DetectChar attribute="String" context="#pop" char=""" /> + </context> + <context name="comment" attribute="Comment" lineEndContext="#stay" > + <DetectChar attribute="Comment" context="#pop" char="%" /> + </context> + </contexts> + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal" /> + <itemData name="Keyword" defStyleNum="dsKeyword" /> + <itemData name="Data Type" defStyleNum="dsDataType" /> + <itemData name="Comment" defStyleNum="dsComment" /> + <itemData name="String" defStyleNum="dsString" /> + <itemData name="Operator" defStyleNum="dsOthers" /> + <itemData name="Char" defStyleNum="dsChar"/> + <itemData name="Bit" defStyleNum="dsDecVal"/> + <itemData name="Decimal" defStyleNum="dsDecVal"/> + <itemData name="Octal" defStyleNum="dsBaseN"/> + <itemData name="Hex" defStyleNum="dsBaseN"/> + <itemData name="Region Marker" defStyleNum="dsRegionMarker"/> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="singleLine" start="--" /> + <comment name="multiLine" start="%" end="%" /> + </comments> + <keywords casesensitive="0" /> + </general> +</language> +<!-- kate: space-indent on; indent-width 2; replace-tabs on; --> diff --git a/kate/data/alert.xml b/kate/data/alert.xml new file mode 100644 index 000000000..551509662 --- /dev/null +++ b/kate/data/alert.xml @@ -0,0 +1,53 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<!-- + This file is part of KDE's kate project. + + copyright : (C) 2004 by Dominik Haumann + email : dhdev at gmx dot de + + ********************************************************************** + * 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. * + ********************************************************************** + + This file is included in every file that highlights the "alerts" keywords. + That's why extensions and mimetype are empty. +--> +<language version="1.06" kateversion="2.3" name="Alerts" section="Other" extensions="" mimetype="" author="Dominik Haumann (dhdev@gmx.de)" license="LGPL" hidden="true"> + <highlighting> + <list name="alerts"> + <item> FIXME </item> + <item> HACK </item> + <item> NOTE </item> + <item> NOTICE </item> + <item> TASK </item> + <item> TODO </item> + <item> ### </item> + </list> + <contexts> + <context attribute="Normal Text" lineEndContext="#pop" name="Normal Text" > + <keyword attribute="Alert" context="#stay" String="alerts" /> + </context> + </contexts> + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Alert" defStyleNum="dsAlert"/> + </itemDatas> + </highlighting> + <general> + <keywords casesensitive="1"/> + </general> +</language> diff --git a/kate/data/ansic89.xml b/kate/data/ansic89.xml new file mode 100644 index 000000000..2fb3b2d1e --- /dev/null +++ b/kate/data/ansic89.xml @@ -0,0 +1,150 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<!-- + This file is part of KDE's kate project. + + copyright : (C) 2004 by Dominik Haumann + email : dhdev at gmx dot de + + last change : 2004-03-26 + + 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. + + --> +<language name="ANSI C89" version="1.09" kateversion="2.4" section="Sources" extensions="*.c;*.C;*.h" mimetype="text/x-csrc;text/x-c++src;text/x-chdr" priority="2" author="Dominik Haumann (dhdev@gmx.de)" license="LGPL"> + <highlighting> + <list name="keywords"> + <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> return </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> + <item> char </item> + <item> const </item> + <item> double </item> + <item> float </item> + <item> int </item> + <item> long </item> + <item> register </item> + <item> short </item> + <item> signed </item> + <item> static </item> + <item> unsigned </item> + <item> void </item> + <item> volatile </item> + </list> + <contexts> + <context attribute="Normal Text" lineEndContext="#stay" name="Normal"> + <DetectSpaces /> + <RegExpr attribute="Preprocessor" context="Outscoped" String="#\s*if\s+0" beginRegion="Outscoped" firstNonSpace="true" /> + <DetectChar attribute="Preprocessor" context="Preprocessor" char="#" firstNonSpace="true" /> + <keyword attribute="Keyword" context="#stay" String="keywords"/> + <keyword attribute="Data Type" context="#stay" String="types"/> + <DetectIdentifier /> + <DetectChar attribute="Symbol" context="#stay" char="{" beginRegion="Brace1" /> + <DetectChar attribute="Symbol" context="#stay" char="}" endRegion="Brace1" /> + <Float attribute="Float" context="#stay"> + <AnyChar String="fF" attribute="Float" context="#stay"/> + </Float> + <HlCOct attribute="Octal" context="#stay"/> + <HlCHex attribute="Hex" context="#stay"/> + <Int attribute="Decimal" context="#stay" > + <StringDetect attribute="Decimal" context="#stay" String="ULL" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="LUL" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="LLU" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="UL" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="LU" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="LL" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="U" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="L" insensitive="TRUE"/> + </Int> + <HlCChar attribute="Char" context="#stay"/> + <DetectChar attribute="String" context="String" char="""/> + <Detect2Chars attribute="Comment" context="comment" char="/" char1="*" beginRegion="blockcomment"/> + <AnyChar attribute="Symbol" context="#stay" String=":!%&()+,-/.*<=>?[]|~^;"/> + </context> + <context attribute="String" lineEndContext="#pop" name="String"> + <LineContinue attribute="String" context="#stay"/> + <HlCStringChar attribute="String Char" context="#stay"/> + <DetectChar attribute="String" context="#pop" char="""/> + </context> + <context attribute="Comment" lineEndContext="#stay" name="comment"> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="blockcomment"/> + <IncludeRules context="##Alerts" /> + </context> + <context attribute="Preprocessor" lineEndContext="#pop" name="Preprocessor"> + <LineContinue attribute="Preprocessor" context="#stay"/> + <RegExpr attribute="Preprocessor" context="Define" String="define.*((?=\\))"/> + <RegExpr attribute="Preprocessor" context="#stay" String="define.*"/> + <RangeDetect attribute="Prep. Lib" context="#stay" char=""" char1="""/> + <RangeDetect attribute="Prep. Lib" context="#stay" char="<" char1=">"/> + <Detect2Chars attribute="Comment" context="comment" char="/" char1="*" beginRegion="blockcomment"/> + </context> + <context attribute="Preprocessor" lineEndContext="#pop" name="Define"> + <LineContinue attribute="Preprocessor" context="#stay"/> + </context> + <context attribute="Comment" lineEndContext="#stay" name="Outscoped" > + <Detect2Chars attribute="Comment" context="comment" char="/" char1="*" beginRegion="Comment"/> + <IncludeRules context="##Alerts" /> + <RegExpr attribute="Comment" context="Outscoped intern" String="#\s*if" beginRegion="Outscoped" firstNonSpace="true" /> + <RegExpr attribute="Preprocessor" context="#pop" String="#\s*(endif|else|elif)" endRegion="Outscoped" firstNonSpace="true" /> + </context> + <context attribute="Comment" lineEndContext="#stay" name="Outscoped intern"> + <Detect2Chars attribute="Comment" context="comment" char="/" char1="*" beginRegion="Comment"/> + <RegExpr attribute="Comment" context="Outscoped intern" String="#\s*if" beginRegion="Outscoped" firstNonSpace="true" /> + <RegExpr attribute="Comment" context="#pop" String="#\s*endif" endRegion="Outscoped" firstNonSpace="true" /> + </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="String" defStyleNum="dsString"/> + <itemData name="String Char" defStyleNum="dsChar"/> + <itemData name="Comment" defStyleNum="dsComment"/> + <itemData name="Symbol" defStyleNum="dsNormal"/> + <itemData name="Preprocessor" defStyleNum="dsOthers"/> + <itemData name="Prep. Lib" defStyleNum="dsOthers"/> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="multiLine" start="/*" end="*/" /> + </comments> + <keywords casesensitive="1" /> + </general> +</language> diff --git a/kate/data/apache.xml b/kate/data/apache.xml new file mode 100644 index 000000000..2441f1abf --- /dev/null +++ b/kate/data/apache.xml @@ -0,0 +1,630 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> + +<!-- Changelog: + +v1.1: +- improved Syntax +- added support for Apache 2.2 Directives +- .ht* files may now automaticaly be highlighted + +v1.0: +- first Release +--> + +<language name="Apache Configuration" section="Configuration" extensions="httpd.conf;httpd2.conf;apache.conf;apache2.conf;.ht*" mimetype="" version="1.10" author="Jan Janssen (medhefgo@googlemail.com)" license="LGPL"> + +<highlighting> +<list name="String Directives"> +<item>AcceptFilter</item> +<item>AccessFileName</item> +<item>Action</item> +<item>AddAlt</item> +<item>AddAltByEncoding</item> +<item>AddAltByType</item> +<item>AddCharset</item> +<item>AddDefaultCharset</item> +<item>AddDescription</item> +<item>AddEncoding</item> +<item>AddHandler</item> +<item>AddIcon</item> +<item>AddIconByEncoding</item> +<item>AddIconByType</item> +<item>AddInputFilter</item> +<item>AddLanguage</item> +<item>AddModuleInfo</item> +<item>AddOutputFilter</item> +<item>AddOutputFilterByType</item> +<item>AddType</item> +<item>Alias</item> +<item>AliasMatch</item> +<item>Allow</item> +<item>Anonymous</item> +<item>AuthBasicProvider</item> +<item>AuthDBMGroupFile</item> +<item>AuthDBMUserFile</item> +<item>AuthDigestDomain</item> +<item>AuthDigestFile</item> +<item>AuthDigestGroupFile</item> +<item>AuthDigestNonceFormat</item> +<item>AuthDigestProvider</item> +<item>AuthGroupFile</item> +<item>AuthLDAPBindDN</item> +<item>AuthLDAPBindPassword</item> +<item>AuthLDAPCharsetConfig</item> +<item>AuthLDAPGroupAttribute</item> +<item>AuthLDAPUrl</item> +<item>AuthName</item> +<item>AuthUserFile</item> +<item>BrowserMatch</item> +<item>BrowserMatchNoCase</item> +<item>BS2000Account</item> +<item>CacheDisable</item> +<item>CacheEnable</item> +<item>CacheFile</item> +<item>CacheGcClean</item> +<item>CacheGcUnused</item> +<item>CacheRoot</item> +<item>CGIMapExtension</item> +<item>CharsetDefault</item> +<item>CharsetOptions</item> +<item>CharsetSourceEnc</item> +<item>CookieDomain</item> +<item>CookieLog</item> +<item>CookieName</item> +<item>CoreDumpDirectory</item> +<item>CustomLog</item> +<item>Dav</item> +<item>DavGenericLockDB</item> +<item>DavLockDB</item> +<item>DBDParams</item> +<item>DBDPrepareSQL</item> +<item>DBDriver</item> +<item>DefaultIcon</item> +<item>DefaultLanguage</item> +<item>DefaultType</item> +<item>DeflateFilterNote</item> +<item>Deny</item> +<item>DirectoryIndex</item> +<item>DocumentRoot</item> +<item>ErrorDocument</item> +<item>ErrorLog</item> +<item>Example</item> +<item>ExpiresByType</item> +<item>ExpiresDefault</item> +<item>ExtFilterDefine</item> +<item>ExtFilterOptions</item> +<item>FilterChain</item> +<item>FilterDeclare</item> +<item>FilterProtocol</item> +<item>FilterProvider</item> +<item>FilterTrace</item> +<item>ForceType</item> +<item>ForensicLog</item> +<item>Group</item> +<item>Header</item> +<item>HeaderName</item> +<item>ImapBase</item> +<item>Include</item> +<item>IndexIgnore</item> +<item>IndexOptions</item> +<item>IndexStyleSheet</item> +<item>ISAPICacheFile</item> +<item>LanguagePriority</item> +<item>LDAPSharedCacheFile</item> +<item>LDAPTrustedCA</item> +<item>LDAPTrustedCAType</item> +<item>LDAPTrustedClientCert</item> +<item>LDAPTrustedGlobalCert</item> +<item>Listen</item> +<item>LoadFile</item> +<item>LoadModule</item> +<item>LockFile</item> +<item>LogFormat</item> +<item>MetaDir</item> +<item>MetaSuffix</item> +<item>MimeMagicFile</item> +<item>MMapFile</item> +<item>NameVirtualHost</item> +<item>NoProxy</item> +<item>NWSSLTrustedCerts</item> +<item>NWSSLUpgradeable</item> +<item>PassEnv</item> +<item>PidFile</item> +<item>ProxyBlock</item> +<item>ProxyDomain</item> +<item>ProxyPass</item> +<item>ProxyPassReverse</item> +<item>ProxyPassReverseCookieDomain</item> +<item>ProxyPassReverseCookiePath</item> +<item>ProxyRemote</item> +<item>ProxyRemoteMatch</item> +<item>ReadmeName</item> +<item>Redirect</item> +<item>RedirectMatch</item> +<item>RedirectPermanent</item> +<item>RedirectTemp</item> +<item>RemoveCharset</item> +<item>RemoveEncoding</item> +<item>RemoveHandler</item> +<item>RemoveInputFilter</item> +<item>RemoveLanguage</item> +<item>RemoveOutputFilter</item> +<item>RemoveType</item> +<item>RequestHeader</item> +<item>Require</item> +<item>RewriteBase</item> +<item>RewriteCond</item> +<item>RewriteLock</item> +<item>RewriteLog</item> +<item>RewriteMap</item> +<item>RewriteRule</item> +<item>ScoreBoardFile</item> +<item>Script</item> +<item>ScriptAlias</item> +<item>ScriptAliasMatch</item> +<item>ScriptLog</item> +<item>ScriptSock</item> +<item>SecureListen</item> +<item>ServerAdmin</item> +<item>ServerAlias</item> +<item>ServerName</item> +<item>ServerPath</item> +<item>ServerRoot</item> +<item>SetEnv</item> +<item>SetEnvIf</item> +<item>SetEnvIfNoCase</item> +<item>SetHandler</item> +<item>SetInputFilter</item> +<item>SetOutputFilter</item> +<item>SSIEndTag</item> +<item>SSIErrorMsg</item> +<item>SSIStartTag</item> +<item>SSITimeFormat</item> +<item>SSIUndefinedEcho</item> +<item>SSLCACertificateFile</item> +<item>SSLCACertificatePath</item> +<item>SSLCADNRequestFile</item> +<item>SSLCADNRequestPath</item> +<item>SSLCARevocationFile</item> +<item>SSLCARevocationPath</item> +<item>SSLCertificateChainFile</item> +<item>SSLCertificateFile</item> +<item>SSLCertificateKeyFile</item> +<item>SSLCipherSuite</item> +<item>SSLCryptoDevice</item> +<item>SSLHonorCiperOrder</item> +<item>SSLPassPhraseDialog</item> +<item>SSLProxyCACertificateFile</item> +<item>SSLProxyCACertificatePath</item> +<item>SSLProxyCARevocationFile</item> +<item>SSLProxyCARevocationPath</item> +<item>SSLProxyCipherSuite</item> +<item>SSLProxyMachineCertificateFile</item> +<item>SSLProxyMachineCertificatePath</item> +<item>SSLProxyProtocol</item> +<item>SSLRandomSeed</item> +<item>SSLRequire</item> +<item>SSLRequireSSL</item> +<item>SSLUserName</item> +<item>SuexecUserGroup</item> +<item>TransferLog</item> +<item>TypesConfig</item> +<item>UnsetEnv</item> +<item>User</item> +<item>UserDir</item> +<item>VirtualDocumentRoot</item> +<item>VirtualDocumentRootIP</item> +<item>VirtualScriptAlias</item> +<item>VirtualScriptAliasIP</item> +<item>Win32DisableAcceptEx</item> +</list> + +<list name="Integer Directives"> +<item>AllowCONNECT</item> +<item>AssignUserID</item> +<item>AuthDigestNonceLifetime</item> +<item>AuthDigestShmemSize</item> +<item>CacheDefaultExpire</item> +<item>CacheDirLength</item> +<item>CacheDirLevels</item> +<item>CacheForceCompletion</item> +<item>CacheGcDaily</item> +<item>CacheGcInterval</item> +<item>CacheGcMemUsage</item> +<item>CacheLastModifiedFactor</item> +<item>CacheMaxExpire</item> +<item>CacheMaxFileSize</item> +<item>CacheMinFileSize</item> +<item>CacheSize</item> +<item>CacheTimeMargin</item> +<item>ChildPerUserID</item> +<item>CookieExpires</item> +<item>DavMinTimeout</item> +<item>DBDExptime</item> +<item>DBDKeep</item> +<item>DBDMax</item> +<item>DBDMin</item> +<item>DBDPersist</item> +<item>DeflateBufferSize</item> +<item>DeflateCompressionLevel</item> +<item>DeflateMemLevel</item> +<item>DeflateWindowSize</item> +<item>IdentityCheckTimeout</item> +<item>ISAPIReadAheadBuffer</item> +<item>KeepAliveTimeout</item> +<item>LDAPCacheEntries</item> +<item>LDAPCacheTTL</item> +<item>LDAPConnectionTimeout</item> +<item>LDAPOpCacheEntries</item> +<item>LDAPOpCacheTTL</item> +<item>LDAPSharedCacheSize</item> +<item>LimitInternalRecursion</item> +<item>LimitRequestBody</item> +<item>LimitRequestFields</item> +<item>LimitRequestFieldsize</item> +<item>LimitRequestLine</item> +<item>LimitXMLRequestBody</item> +<item>ListenBacklog</item> +<item>MaxClients</item> +<item>MaxKeepAliveRequests</item> +<item>MaxMemFree</item> +<item>MaxRequestsPerChild</item> +<item>MaxRequestsPerThread</item> +<item>MaxSpareServers</item> +<item>MaxSpareThreads</item> +<item>MaxThreads</item> +<item>MaxThreadsPerChild</item> +<item>MCacheMaxObjectCount</item> +<item>MCacheMaxObjectSize</item> +<item>MCacheMaxStreamingBuffer</item> +<item>MCacheMinObjectSize</item> +<item>MCacheSize</item> +<item>MinSpareServers</item> +<item>MinSpareThreads</item> +<item>NumServers</item> +<item>ProxyIOBufferSize</item> +<item>ProxyMaxForwards</item> +<item>ProxyReceiveBufferSize</item> +<item>ProxyTimeout</item> +<item>RewriteLogLevel</item> +<item>RLimitCPU</item> +<item>RLimitMEM</item> +<item>RLimitNPROC</item> +<item>ScriptLogBuffer</item> +<item>ScriptLogLength</item> +<item>SendBufferSize</item> +<item>ServerLimit</item> +<item>SSLProxyVerifyDepth</item> +<item>SSLSessionCacheTimeout</item> +<item>SSLVerifyDepth</item> +<item>StartServers</item> +<item>StartThreads</item> +<item>ThreadLimit</item> +<item>ThreadsPerChild</item> +<item>ThreadStackSize</item> +<item>TimeOut</item> +</list> + +<list name="Alternative Directives"> +<item>AcceptMutex</item> +<item>AcceptPathInfo</item> +<item>AllowEncodedSlashes</item> +<item>AllowOverride</item> +<item>Anonymous_Authoritative</item> +<item>Anonymous_LogEmail</item> +<item>Anonymous_MustGiveEmail</item> +<item>Anonymous_NoUserID</item> +<item>Anonymous_VerifyEmail</item> +<item>AuthAuthoritative</item> +<item>AuthBasicAuthoritative</item> +<item>AuthBasicProvider</item> +<item>AuthDBMAuthoritative</item> +<item>AuthDBMType</item> +<item>AuthDefaultAuthoritative</item> +<item>AuthDigestAlgorithm</item> +<item>AuthDigestNcCheck</item> +<item>AuthDigestQop</item> +<item>AuthLDAPAuthoritative</item> +<item>AuthLDAPCompareDNOnServer</item> +<item>AuthLDAPDereferenceAliases</item> +<item>AuthLDAPEnabled</item> +<item>AuthLDAPFrontPageHack</item> +<item>AuthLDAPGroupAttributeIsDN</item> +<item>AuthLDAPRemoteUserIsDN</item> +<item>AuthType</item> +<item>AuthzDBMAuthoritative</item> +<item>AuthzDBMType</item> +<item>AuthzDefaultAuthoritative</item> +<item>AuthzGroupFileAuthoritative</item> +<item>AuthzLDAPAuthoritative</item> +<item>AuthzOwnerAuthoritative</item> +<item>AuthzUserAuthoritative</item> +<item>BufferedLogs</item> +<item>CacheExpiryCheck</item> +<item>CacheIgnoreCacheControl</item> +<item>CacheIgnoreHeaders</item> +<item>CacheIgnoreNoLastMod</item> +<item>CacheNegotiatedDocs</item> +<item>CacheStoreNoStore</item> +<item>CacheStorePrivate</item> +<item>CheckSpelling</item> +<item>ContentDigest</item> +<item>CookieStyle</item> +<item>CookieTracking</item> +<item>CoreDumpDirectory</item> +<item>CustomLog</item> +<item>DavDepthInfinity</item> +<item>DirectorySlash</item> +<item>DumpIOInput</item> +<item>DumpIOOutput</item> +<item>EnableExceptionHook</item> +<item>EnableMMAP</item> +<item>EnableSendfile</item> +<item>ExpiresActive</item> +<item>ExtendedStatus</item> +<item>FileETag</item> +<item>ForceLanguagePriority</item> +<item>HostnameLookups</item> +<item>IdentityCheck</item> +<item>ImapDefault</item> +<item>ImapMenu</item> +<item>IndexOrderDefault</item> +<item>ISAPIAppendLogToErrors</item> +<item>ISAPIAppendLogToQuery</item> +<item>ISAPIFakeAsync</item> +<item>ISAPILogNotSupported</item> +<item>KeepAlive</item> +<item>LDAPTrustedMode</item> +<item>LDAPVerifyServerCert</item> +<item>LogLevel</item> +<item>MCacheRemovalAlgorithm</item> +<item>MetaFiles</item> +<item>ModMimeUsePathInfo</item> +<item>MultiviewsMatch</item> +<item>Options</item> +<item>Order</item> +<item>ProtocolEcho</item> +<item>ProxyBadHeader</item> +<item>ProxyErrorOverride</item> +<item>ProxyPreserveHost</item> +<item>ProxyRequests</item> +<item>ProxyVia</item> +<item>RewriteEngine</item> +<item>RewriteOptions</item> +<item>Satisfy</item> +<item>ScriptInterpreterSource</item> +<item>ServerSignature</item> +<item>ServerTokens</item> +<item>SSLEngine</item> +<item>SSLMutex</item> +<item>SSLOptions</item> +<item>SSLProtocol</item> +<item>SSLProxyEngine</item> +<item>SSLProxyVerify</item> +<item>SSLSessionCache</item> +<item>SSLVerifyClient</item> +<item>UseCanonicalName</item> +<item>XBitHack</item> +</list> + +<list name="Alternates"> +<item>On</item> +<item>Off</item> +<item>Default</item> +<item>flock</item> +<item>fcntl</item> +<item>posixsem</item> +<item>pthread</item> +<item>sysvsem</item> +<item>All</item> +<item>None</item> +<item>AuthConfig</item> +<item>FileInfo</item> +<item>Indexes</item> +<item>Limit</item> +<item>Options</item> + +<item>ExecCGI</item> +<item>FollowSymLinks</item> +<item>Includes</item> +<item>IncludesNOEXEC</item> +<item>Indexes</item> +<item>MultiViews</item> +<item>SymLinksIfOwnerMatch</item> +<item>StdEnvVars</item> +<item>CompatEnvVars</item> +<item>ExportCertData</item> +<item>FakeBasicAuth</item> +<item>StrictRequire</item> +<item>OptRenegotiate</item> + +<item>SDBM</item> +<item>GDBM</item> +<item>NDBM</item> +<item>DB</item> +<item>MD5</item> +<item>MD5-sess</item> +<item>auth</item> +<item>auth-int</item> +<item>never</item> +<item>searching</item> +<item>finding</item> +<item>always</item> +<item>Basic</item> +<item>Digest</item> +<item>Connection</item> +<item>Keep-Alive</item> +<item>Proxy-Authenticate</item> +<item>Proxy-Authorization</item> +<item>TE</item> +<item>Trailers</item> +<item>Transfer-Encoding</item> +<item>Upgrade</item> +<item>Netscape</item> +<item>Cookie</item> +<item>Cookie2</item> +<item>RFC2109</item> +<item>RFC2965</item> +<item>INode</item> +<item>MTime</item> +<item>Size</item> +<item>Prefer</item> +<item>Fallback</item> +<item>Double</item> +<item>error</item> +<item>nocontent</item> +<item>map</item> +<item>referer</item> +<item>formatted</item> +<item>semiformatted</item> +<item>unformatted</item> +<item>Ascending</item> +<item>Descending</item> +<item>Name</item> +<item>Date</item> +<item>Size</item> +<item>Description</item> +<item>SSL</item> +<item>TLS</item> +<item>STARTTLS</item> +<item>emerg</item> +<item>alert</item> +<item>crit</item> +<item>error</item> +<item>warn</item> +<item>notice</item> +<item>info</item> +<item>debug</item> +<item>LRU</item> +<item>GDSF</item> +<item>Any</item> +<item>NegotiatedOnly</item> +<item>Filters</item> +<item>Handlers</item> +<item>Deny,Allow</item> +<item>Allow,Deny</item> +<item>Mutual-failure</item> +<item>IsError</item> +<item>Ignore</item> +<item>StartBody</item> +<item>Full</item> +<item>Block</item> +<item>inherit</item> +<item>Registry</item> +<item>Registry-Strict</item> +<item>Script</item> +<item>EMail</item> +<item>Major</item> +<item>Minor</item> +<item>Min</item> +<item>Minimal</item> +<item>Prod</item> +<item>ProductOnly</item> +<item>OS</item> +<item>Full</item> +<item>optional</item> +<item>posixsem</item> +<item>sysvsem</item> +<item>sem</item> +<item>pthread</item> +<item>fcntl:</item> +<item>flock:</item> +<item>file:</item> +<item>yes</item> +<item>no</item> +<item>SSLv2</item> +<item>SSLv3</item> +<item>TLSv1</item> +<item>require</item> +<item>optional_no_ca</item> +<item>nonenotnull</item> +<item>dbm:</item> +<item>shm:</item> +<item>dc:</item> +<item>DNS</item> +</list> + + +<contexts> + <context name="apache" attribute="Normal Text" lineEndContext="#stay"> + <keyword context="String Directives" String="String Directives" /> + <keyword attribute="Directives" context="Integer Directives" String="Integer Directives" /> + <keyword attribute="Directives" context="Alternative Directives" String="Alternative Directives" /> + + <RegExpr attribute="Container" context="Container Open" String="<\w+" beginRegion="Container" /> + <RegExpr attribute="Container" context="Container Close" String="</\w+" endRegion="Container" /> + <DetectChar attribute="Comment" context="Comment" char="#" firstNonSpace="true" /> + </context> + + <!-- Directives - separated after String, Integer and Alternatives --> + <context name="String Directives" attribute="Directives" lineEndContext="#pop"> + <RegExpr attribute="String" context="#stay" String="[^#]*" /> + <IncludeRules context="Comment Alert" /> + </context> + + <context name="Integer Directives" attribute="Other" lineEndContext="#pop"> + <Float attribute="Float" context="Integer Directives" /> + <Int attribute="Int" context="Integer Directives" /> + <IncludeRules context="Comment Alert" /> + </context> + + <context name="Alternative Directives" attribute="Other" lineEndContext="#pop"> + <keyword attribute="Alternates" context="#stay" String="Alternates" /> + <DetectChar attribute="Alternates" context="#stay" char="-" /> + <DetectChar attribute="Alternates" context="#stay" char="+" /> + <IncludeRules context="Comment Alert" /> + </context> + +<!-- Other --> + <context name="Comment" attribute="Comment" lineEndContext="#pop"> + <DetectSpaces /> + <IncludeRules context="##Alerts" /> + <DetectIdentifier /> + </context> + +<!-- Container --> + <context name="Container Open" attribute="Container" lineEndContext="#pop"> + <DetectChar attribute="Container" context="Alert" char=">" /> + <RegExpr attribute="Attribute" context="#stay" String="[^#>]*" /> + <IncludeRules context="Comment Alert" /> + </context> + + <context name="Container Close" attribute="Container" lineEndContext="#pop"> + <DetectChar attribute="Container" context="Alert" char=">" /> + </context> + +<!-- Alerts --> + <context name="Comment Alert" attribute="Normal Text" lineEndContext="#pop"> + <DetectChar attribute="Alert" context="Alert" char="#" /> + </context> + + <context name="Alert" attribute="Alert" lineEndContext="#pop" /> +</contexts> + +<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="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="Other" defStyleNum="dsChar" /> +</itemDatas> +</highlighting> + + +<general> + <comments> + <comment name="singleLine" start="#" /> + </comments> + <keywords casesensitive="0" weakDeliminator="," /> +</general> + +</language> + + diff --git a/kate/data/asm-avr.xml b/kate/data/asm-avr.xml new file mode 100644 index 000000000..b9c377191 --- /dev/null +++ b/kate/data/asm-avr.xml @@ -0,0 +1,208 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<!-- + +************************************************************************* +* * +* Syntax highlighting for the AVR Assembler * +* Copyright (C) 2004, Roland Nagy * +* * +************************************************************************* + +Author: Rolanf Nagy <R.Nagy@pknc.com> +Date: 18th May, 2004 +Version: 1.0 + +This file contains the XML syntax highlighting description for the AVR +Assembler, for KATE, the KDE Advanced Editor. Keywords have been taken +directly from the AVR Assembler source code. + +This program, including associated files, is free software. You may +distribute it and/or modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either Version 2 of +the license, or (at your option) any later version. + +This program 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 General Public License +for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +--> + +<language name="AVR Assembler" version="1.03" kateversion="2.4" section="Assembler" extensions="*.asm;*.ASM;*.asm-avr" mimetype="text/x-asm;text/x-asm-avr" author="Roland Nagy" license="GPL"> + <highlighting> + <list name="keywords"> + <item> adc</item> + <item> add</item> + <item> adiw</item> + <item> and</item> + <item> andi</item> + <item> asr</item> + <item> bclr</item> + <item> bld</item> + <item> brbc</item> + <item> brbs</item> + <item> break</item> + <item> breq</item> + <item> brge</item> + <item> brhc</item> + <item> brhs</item> + <item> brid</item> + <item> brie</item> + <item> brlo</item> + <item> brlt</item> + <item> brmi</item> + <item> brne</item> + <item> brpl</item> + <item> brsh</item> + <item> brtc</item> + <item> brts</item> + <item> brvc</item> + <item> brvs</item> + <item> bset</item> + <item> bst</item> + <item> call</item> + <item> cbi</item> + <item> cbr</item> + <item> clc</item> + <item> clh</item> + <item> cli</item> + <item> cln</item> + <item> clr</item> + <item> cls</item> + <item> clt</item> + <item> clv</item> + <item> clz</item> + <item> com</item> + <item> cp</item> + <item> cpc</item> + <item> cpi</item> + <item> cpse</item> + <item> dec</item> + <item> eicall</item> + <item> eijmp</item> + <item> elpm</item> + <item> eor</item> + <item> fmul</item> + <item> fmuls</item> + <item> fmulsu</item> + <item> icall</item> + <item> ijmp</item> + <item> in</item> + <item> inc</item> + <item> jmp</item> + <item> ld</item> + <item> ldi</item> + <item> lds</item> + <item> lpm</item> + <item> lsl</item> + <item> lsr</item> + <item> mov</item> + <item> movw</item> + <item> mul</item> + <item> muls</item> + <item> mulsu</item> + <item> neg</item> + <item> nop</item> + <item> or</item> + <item> ori</item> + <item> out</item> + <item> pop</item> + <item> push</item> + <item> rcall</item> + <item> ret</item> + <item> reti</item> + <item> rjmp</item> + <item> rol</item> + <item> ror</item> + <item> sbc</item> + <item> sbr</item> + <item> sbrc</item> + <item> sbrs</item> + <item> sec</item> + <item> seh</item> + <item> sbi</item> + <item> sbci</item> + <item> sbic</item> + <item> sbis</item> + <item> sbiw</item> + <item> sei</item> + <item> sen</item> + <item> ser</item> + <item> ses</item> + <item> set</item> + <item> sev</item> + <item> sez</item> + <item> sleep</item> + <item> spm</item> + <item> st</item> + <item> sts</item> + <item> sub</item> + <item> subi</item> + <item> swap</item> + <item> tst</item> + <item> wdr</item> + </list> + + <contexts> + <context attribute="Normal Text" lineEndContext="#stay" name="Normal"> + <RegExpr attribute="Label" context="#stay" String="[A-Za-z0-9_.$]+:" firstNonSpace="true"/> + <keyword attribute="Keyword" context="#stay" String="keywords"/> + <HlCOct attribute="Octal" context="#stay" /> + <HlCHex attribute="Hex" context="#stay" /> + <RegExpr attribute="Binary" context="#stay" String="0[bB][01]+" /> + <Int attribute="Decimal" context="#stay" /> + <RegExpr attribute="Float" context="#stay" String="0[fFeEdD][-+]?[0-9]*\.?[0-9]*[eE]?[-+]?[0-9]+" /> + <RegExpr attribute="Normal Text" context="#stay" String="[A-Za-z_.$][A-Za-z0-9_.$]*" /> + <RegExpr attribute="Char" context="#stay" String="'(\\x[0-9a-fA-F][0-9a-fA-F]?|\\[0-7]?[0-7]?[0-7]?|\\.|.)" /> + <DetectChar attribute="String" context="String" char=""" /> + <Detect2Chars attribute="Comment" context="Commentar 1" char="/" char1="*" /> + <DetectChar attribute="Comment" context="Commentar 2" char="@" /> + <DetectChar attribute="Comment" context="Commentar 2" char=";" /> + <AnyChar attribute="Symbol" context="#stay" String="!#%&*()+,-<=>?/:[]^{|}~" /> + <RegExpr attribute="Preprocessor" context="Preprocessor" String="^#" /> + </context> + <context attribute="Comment" lineEndContext="#stay" name="Commentar 1"> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" /> + </context> + <context attribute="Comment" lineEndContext="#pop" name="Commentar 2" /> + <context attribute="Preprocessor" lineEndContext="#pop" name="Preprocessor" /> + <context attribute="String" lineEndContext="#pop" name="String"> + <LineContinue attribute="String" context="Some Context" /> + <HlCStringChar attribute="String Char" context="#stay" /> + <DetectChar attribute="String" context="#pop" char=""" /> + </context> + <context attribute="Normal Text" lineEndContext="#pop" name="Some Context" /> + </contexts> + + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal" /> + <itemData name="Label" defStyleNum="dsFunction" /> + <itemData name="Keyword" defStyleNum="dsKeyword" /> + <itemData name="Decimal" defStyleNum="dsDecVal" /> + <itemData name="Octal" defStyleNum="dsBaseN" /> + <itemData name="Hex" defStyleNum="dsBaseN" /> + <itemData name="Binary" 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="Symbol" defStyleNum="dsNormal" /> + <itemData name="Comment" defStyleNum="dsComment" /> + <itemData name="Preprocessor" defStyleNum="dsOthers" /> + </itemDatas> + </highlighting> + + <general> + <comments> + <comment name="singleLine" start=";" /> + <comment name="singleLine" start="@" /> + <comment name="multiLine" start="/*" end="*/" /> + </comments> + <keywords casesensitive="1" weakDeliminator="_.$" /> + </general> +</language> diff --git a/kate/data/asm6502.xml b/kate/data/asm6502.xml new file mode 100644 index 000000000..8d3e7261c --- /dev/null +++ b/kate/data/asm6502.xml @@ -0,0 +1,120 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="Asm6502" version="1.04" kateversion="2.1" section="Assembler" extensions="*.asm" mimetype="text/x-asm6502"> + <highlighting> + + <contexts> + <context name = "Base" attribute = "Normal Text" lineEndContext = "#stay"> + + + <RegExpr String= "#define.*$" attribute = "Preprocessor" context="#stay"/> + <RegExpr String= "#include .*$" attribute = "Preprocessor" context="#stay"/> + <RegExpr String= ";.*$" attribute = "Comment" context="#stay"/> + <RegExpr String= "\.byte" attribute = "Data Type" context="#stay"/> + <RegExpr String= "\.byt" attribute = "Data Type" context="#stay"/> + <RegExpr String= "\.word" attribute = "Data Type" context="#stay"/> + <RegExpr String= "\.asc" attribute = "Data Type" context="#stay"/> + <RegExpr String= "\.dsb" attribute = "Data Type" context="#stay"/> + <RegExpr String= "\.fopt" attribute = "Data Type" context="#stay"/> + <RegExpr String= "\.text" attribute = "Data Type" context="#stay"/> + <RegExpr String= "\.data" attribute = "Data Type" context="#stay"/> + <RegExpr String= "\.bss" attribute = "Data Type" context="#stay"/> + <RegExpr String= "\.zero" attribute = "Data Type" context="#stay"/> + <RegExpr String= "\.align" attribute = "Data Type" context="#stay"/> + <RegExpr String= "\$[A-Za-z0-9]*" attribute = "Hex" context="#stay"/> + <RegExpr String= ",x$" attribute = "Keyword" context="#stay" insensitive="TRUE"/> + <RegExpr String= ",y$" attribute = "Keyword" context="#stay" insensitive="TRUE"/> + <RegExpr String= "#" attribute = "Keyword" context="#stay" insensitive="TRUE"/> + <StringDetect attribute="Keyword" context="#stay" String="TAX" insensitive="TRUE"/> + <StringDetect attribute="Keyword" context="#stay" String="ADC" insensitive="TRUE"/> + <StringDetect attribute="Keyword" context="#stay" String="AND" insensitive="TRUE"/> + <StringDetect attribute="Keyword" context="#stay" String="ASL" insensitive="TRUE"/> + <StringDetect attribute="Keyword" context="#stay" String="BCC" insensitive="TRUE"/> + <StringDetect attribute="Keyword" context="#stay" String="BCS" insensitive="TRUE"/> + <StringDetect attribute="Keyword" context="#stay" String="BEQ" insensitive="TRUE"/> + <StringDetect attribute="Keyword" context="#stay" String="BIT" insensitive="TRUE"/> + <StringDetect attribute="Keyword" context="#stay" String="BMI" insensitive="TRUE"/> + <StringDetect attribute="Keyword" context="#stay" String="BNE" insensitive="TRUE"/> + <StringDetect attribute="Keyword" context="#stay" String="BPL" insensitive="TRUE"/> + <StringDetect attribute="Keyword" context="#stay" String="BRK" insensitive="TRUE"/> + <StringDetect attribute="Keyword" context="#stay" String="BVC" insensitive="TRUE"/> + <StringDetect attribute="Keyword" context="#stay" String="BVS" insensitive="TRUE"/> + <StringDetect attribute="Keyword" context="#stay" String="CLC" insensitive="TRUE"/> + <StringDetect attribute="Keyword" context="#stay" String="CLD" insensitive="TRUE"/> + <StringDetect attribute="Keyword" context="#stay" String="CLI" insensitive="TRUE"/> + <StringDetect attribute="Keyword" context="#stay" String="CLV" insensitive="TRUE"/> + <StringDetect attribute="Keyword" context="#stay" String="CMP" insensitive="TRUE"/> + <StringDetect attribute="Keyword" context="#stay" String="CPX" insensitive="TRUE"/> + <StringDetect attribute="Keyword" context="#stay" String="CPY" insensitive="TRUE"/> + <StringDetect attribute="Keyword" context="#stay" String="DEC" insensitive="TRUE"/> + <StringDetect attribute="Keyword" context="#stay" String="DEX" insensitive="TRUE"/> + <StringDetect attribute="Keyword" context="#stay" String="DEY" insensitive="TRUE"/> + <StringDetect attribute="Keyword" context="#stay" String="EOR" insensitive="TRUE"/> + <StringDetect attribute="Keyword" context="#stay" String="INC" insensitive="TRUE"/> + <StringDetect attribute="Keyword" context="#stay" String="INX" insensitive="TRUE"/> + <StringDetect attribute="Keyword" context="#stay" String="INY" insensitive="TRUE"/> + <StringDetect attribute="Keyword" context="#stay" String="JMP" insensitive="TRUE"/> + <StringDetect attribute="Keyword" context="#stay" String="JSR" insensitive="TRUE"/> + <StringDetect attribute="Keyword" context="#stay" String="LDA" insensitive="TRUE"/> + <StringDetect attribute="Keyword" context="#stay" String="LDX" insensitive="TRUE"/> + <StringDetect attribute="Keyword" context="#stay" String="LDY" insensitive="TRUE"/> + <StringDetect attribute="Keyword" context="#stay" String="LSR" insensitive="TRUE"/> + <StringDetect attribute="Keyword" context="#stay" String="NOP" insensitive="TRUE"/> + <StringDetect attribute="Keyword" context="#stay" String="ORA" insensitive="TRUE"/> + <StringDetect attribute="Keyword" context="#stay" String="PHA" insensitive="TRUE"/> + <StringDetect attribute="Keyword" context="#stay" String="PHP" insensitive="TRUE"/> + <StringDetect attribute="Keyword" context="#stay" String="PLA" insensitive="TRUE"/> + <StringDetect attribute="Keyword" context="#stay" String="PLP" insensitive="TRUE"/> + <StringDetect attribute="Keyword" context="#stay" String="ROL" insensitive="TRUE"/> + <StringDetect attribute="Keyword" context="#stay" String="ROR" insensitive="TRUE"/> + <StringDetect attribute="Keyword" context="#stay" String="RTI" insensitive="TRUE"/> + <StringDetect attribute="Keyword" context="#stay" String="RTS" insensitive="TRUE"/> + <StringDetect attribute="Keyword" context="#stay" String="SBC" insensitive="TRUE"/> + <StringDetect attribute="Keyword" context="#stay" String="SEC" insensitive="TRUE"/> + <StringDetect attribute="Keyword" context="#stay" String="SED" insensitive="TRUE"/> + <StringDetect attribute="Keyword" context="#stay" String="SEI" insensitive="TRUE"/> + <StringDetect attribute="Keyword" context="#stay" String="STA" insensitive="TRUE"/> + <StringDetect attribute="Keyword" context="#stay" String="STX" insensitive="TRUE"/> + <StringDetect attribute="Keyword" context="#stay" String="STY" insensitive="TRUE"/> + <StringDetect attribute="Keyword" context="#stay" String="TAY" insensitive="TRUE"/> + <StringDetect attribute="Keyword" context="#stay" String="TSX" insensitive="TRUE"/> + <StringDetect attribute="Keyword" context="#stay" String="TXA" insensitive="TRUE"/> + <StringDetect attribute="Keyword" context="#stay" String="TXS" insensitive="TRUE"/> + <StringDetect attribute="Keyword" context="#stay" String="TYA" insensitive="TRUE"/> + + <RegExpr String= "\*=" attribute = "Decimal" context="#stay"/> + <RangeDetect char = """ char1 = """ attribute = "String" context = "#stay"/> + <AnyChar String = "-+<>=;" attribute = "Operator" context = "#stay"/> + <Detect2Chars attribute="Comment" context="Commentar 2" char="/" char1="*" beginRegion="Comment"/> + + + </context> + <context attribute="Comment" lineEndContext="#stay" name="Commentar 2"> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment"/> + </context> + </contexts> + + <itemDatas> + <itemData name = "Normal Text" defStyleNum = "dsNormal"/> + <itemData name = "Keyword" defStyleNum = "dsKeyword"/> + <itemData name="Decimal" defStyleNum="dsDecVal"/> + <itemData name="Data Type" defStyleNum="dsDataType"/> + <itemData name="Hex" defStyleNum="dsBaseN"/> + <itemData name = "String" defStyleNum = "dsString"/> + <itemData name = "Comment" defStyleNum = "dsComment"/> + <itemData name = "Substitution" defStyleNum = "dsOthers"/> + <itemData name="Preprocessor" defStyleNum="dsOthers"/> + <itemData name = "Parameter" defStyleNum = "dsOthers"/> + <itemData name = "Operator" defStyleNum = "dsOthers"/> + <itemData name = "Command" defStyleNum = "dsNormal"/> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="singleLine" start=";"/> + <comment name="multiLine" start="/*" end="*/"/> + </comments> + <keywords casesensitive="1"/> + </general> +</language> + diff --git a/kate/data/asp.xml b/kate/data/asp.xml new file mode 100644 index 000000000..1aa4f92d7 --- /dev/null +++ b/kate/data/asp.xml @@ -0,0 +1,393 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="ASP" version="1.03" kateversion="2.1" 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> + <item>case</item> + <item>end select</item> + + <item>if</item> + <item>then</item> + <item>else</item> + <item>elseif</item> + <item>end if</item> + + + <item>while</item> + <item>do</item> + <item>until</item> + <item>loop</item> + <item>wend</item> + + <item>for</item> + <item>each</item> + <item>to</item> + <item>in</item> + <item>next</item> + + <item>exit</item> + <item>continue</item> + </list> + <list name="keywords"> + <item>dim</item> + <item>redim</item> + <item>preserve</item> + + <item>const</item> + <item>erase</item> + <item>nothing</item> + <item>set</item> + + <item>new</item> + <item>me</item> + + + <item>function</item> + <item>sub</item> + <item>call</item> + + <item>class</item> + <item>private</item> + <item>public</item> + <item>with</item> + + <item>randomize</item> + + <item>open</item> + <item>close</item> + <item>movenext</item> + <item>execute</item> + <item>eof</item> + + <item>not</item> + <item>true</item> + <item>false</item> + <item>or</item> + <item>and</item> + <item>xor</item> + </list> + <list name="functions"> + <item>response</item> + <item>write</item> + <item>redirect</item> + <item>end</item> + + <item>request</item> + <item>form</item> + <item>querystring</item> + <item>servervariables</item> + <item>cookies</item> + + <item>session</item> + + <item>server</item> + <item>createobject</item> + + <item>abs</item> + <item>array</item> + <item>asc</item> + <item>atn</item> + <item>cbool</item> + <item>cbyte</item> + <item>ccur</item> + <item>cdate</item> + <item>cdbl</item> + <item>chr</item> + <item>cint</item> + <item>clng</item> + <item>cos</item> + <item>csng</item> + <item>cstr</item> + <item>date</item> + <item>dateadd</item> + + <item>DateDiff</item> + <item>DatePart</item> + <item>DateSerial</item> + <item>DateValue</item> + <item>Date</item> + <item>Day</item> + <item>Exp</item> + <item>Filter</item> + <item>Fix</item> + <item>FormatCurrency</item> + <item>FormatDateTime</item> + <item>FormatNumber</item> + <item>FormatPercent</item> + + <item>GetObject</item> + <item>Hex</item> + <item>Hour</item> + <item>InputBox</item> + <item>InStr</item> + <item>InStrRev</item> + <item>Int</item> + <item>IsArray</item> + <item>IsDate</item> + <item>IsEmpty</item> + <item>IsNull</item> + <item>IsNumeric</item> + <item>IsObject</item> + <item>Join</item> + <item>LBound</item> + <item>LCase</item> + + <item>Left</item> + <item>Len</item> + <item>LoadPicture</item> + <item>Log</item> + <item>LTrim</item> + <item>Mid</item> + <item>Minute</item> + <item>Month</item> + <item>MonthName</item> + <item>MsgBox</item> + <item>Now</item> + <item>Oct</item> + <item>Replace</item> + + <item>RGB</item> + <item>Right</item> + <item>Rnd</item> + <item>Round</item> + <item>RTrim</item> + + <item>ScriptEngine</item> + <item>ScriptEngineBuildVersion</item> + <item>ScriptEngineMajorVersion</item> + <item>ScriptEngineMinorVersion</item> + <item>Second</item> + <item>Sgn</item> + <item>Sin</item> + <item>Space</item> + <item>Split</item> + <item>Sqr</item> + <item>StrComp</item> + <item>StrReverse</item> + <item>String</item> + <item>Tan</item> + <item>Time</item> + <item>Timer</item> + <item>TimeSerial</item> + <item>TimeValue</item> + <item>Trim</item> + <item>TypeName</item> + <item>UBound</item> + <item>UCase</item> + <item>VarType</item> + <item>Weekday</item> + <item>WeekdayName</item> + <item>Year</item> + + <item>Add</item> + <item>AddFolders</item> + <item>BuildPath</item> + <item>Clear</item> + <item>Close</item> + <item>Copy</item> + <item>CopyFile</item> + <item>CopyFolder</item> + <item>CreateFolder</item> + <item>CreateTextFile</item> + <item>Delete</item> + <item>DeleteFile</item> + <item>DeleteFolder</item> + <item>DriveExists</item> + <item>Exists</item> + <item>FileExists</item> + <item>FolderExists</item> + <item>GetAbsolutePathName</item> + <item>GetBaseName</item> + <item>GetDrive</item> + <item>GetDriveName</item> + <item>GetExtensionName</item> + <item>GetFile</item> + <item>GetFileName</item> + <item>GetFolder</item> + <item>GetParentFolderName</item> + + <item>GetSpecialFolder</item> + <item>GetTempName</item> + <item>Items</item> + <item>item</item> + <item>Keys</item> + <item>Move</item> + <item>MoveFile</item> + <item>MoveFolder</item> + <item>OpenAsTextStream</item> + <item>OpenTextFile</item> + <item>Raise</item> + <item>Read</item> + <item>ReadAll</item> + <item>ReadLine</item> + <item>Remove</item> + <item>RemoveAll</item> + <item>Skip</item> + <item>SkipLine</item> + <item>Write</item> + <item>WriteBlankLines</item> + <item>WriteLine</item> + </list> + <contexts> + <context name="nosource" attribute="Normal Text" lineEndContext="#stay"> + <StringDetect attribute="Keyword" context="aspsource" String="<%" /> + <RegExpr attribute="HTML Tag" context="aspsource" String="<\s*script\s*language="VBScript"[^>]*>" insensitive="TRUE" /> + <RegExpr attribute="HTML Tag" context="scripts" String="<\s*script(\s|>)" insensitive="TRUE" /> + <RegExpr attribute="HTML Tag" context="htmltag" String="<\s*\/?\s*[a-zA-Z_:][a-zA-Z0-9._:-]*" /> + <StringDetect attribute="HTML Comment" context="htmlcomment" String="<!--" /> + </context> + + <context name="aspsource" attribute="ASP Text" lineEndContext="#stay"> + <StringDetect attribute="Keyword" context="#pop" String="%>" /> + <RegExpr attribute="HTML Tag" context="#pop" String="<\s*\/\s*script\s*>" insensitive="TRUE" /> + <DetectChar attribute="Comment" context="asp_onelinecomment" char="'" /> + <DetectChar attribute="String" context="doublequotestring" char=""" /> + <DetectChar attribute="String" context="singlequotestring" char="'" /> + <DetectChar attribute="Keyword" context="#stay" char="&" /> + <RegExpr attribute="String" context="" String="" /> + <RegExpr attribute="String" context="#stay" String="[0123456789]*\.\.\.[0123456789]*" /> + <HlCOct attribute="Octal" context="#stay" /> + <HlCHex attribute="Hex" context="#stay" /> + <Float attribute="Float" context="#stay" /> + <Int attribute="Decimal" context="#stay" /> + <AnyChar attribute="Other" context="#stay" String=";()}{:,[]" /> + <keyword attribute="Other" context="#stay" String="Others" /> + + <RegExpr attribute="Control Structures" context="#stay" String="\belseif\b" insensitive="TRUE" beginRegion="iffi1" endRegion="iffi1"/> + <RegExpr attribute="Control Structures" context="#stay" String="\belse\b" insensitive="TRUE" beginRegion="iffi1" endRegion="iffi1"/> + <RegExpr attribute="Control Structures" context="#stay" String="\bif\b" insensitive="TRUE" beginRegion="iffi1"/> + <RegExpr attribute="Control Structures" context="#stay" String="\bend if\b" insensitive="TRUE" endRegion="iffi1"/> + + <RegExpr attribute="Keyword" context="#stay" String="\bexit function\b" insensitive="TRUE" /> + <RegExpr attribute="Keyword" context="#stay" String="\bfunction\b" insensitive="TRUE" beginRegion="funendfun1"/> + <RegExpr attribute="Keyword" context="#stay" String="\bend function\b" insensitive="TRUE" endRegion="funendfun1"/> + + <RegExpr attribute="Keyword" context="#stay" String="\bexit sub\b" insensitive="TRUE" /> + <RegExpr attribute="Keyword" context="#stay" String="\bsub\b" insensitive="TRUE" beginRegion="subendsub1"/> + <RegExpr attribute="Keyword" context="#stay" String="\bend sub\b" insensitive="TRUE" endRegion="subendsub1"/> + + <RegExpr attribute="Keyword" context="#stay" String="\bclass\b" insensitive="TRUE" beginRegion="classendclass1"/> + <RegExpr attribute="Keyword" context="#stay" String="\bend class\b" insensitive="TRUE" endRegion="classendclass1"/> + + <RegExpr attribute="Control Structures" context="#stay" String="\bexit do\b" insensitive="TRUE" /> + <RegExpr attribute="Control Structures" context="#stay" String="\bdo\b" insensitive="TRUE" beginRegion="doloop1"/> + <RegExpr attribute="Control Structures" context="#stay" String="\bloop\b" insensitive="TRUE" endRegion="doloop1"/> + + <RegExpr attribute="Control Structures" context="#stay" String="\bexit while\b" insensitive="TRUE" /> + <RegExpr attribute="Control Structures" context="#stay" String="\bwhile\b" insensitive="TRUE" beginRegion="whilewend1"/> + <RegExpr attribute="Control Structures" context="#stay" String="\bwend\b" insensitive="TRUE" endRegion="whilewend1"/> + + <RegExpr attribute="Control Structures" context="#stay" String="\bexit for\b" insensitive="TRUE" /> + <RegExpr attribute="Control Structures" context="#stay" String="\bfor\b" insensitive="TRUE" beginRegion="fornext1"/> + <RegExpr attribute="Control Structures" context="#stay" String="\bnext\b" insensitive="TRUE" endRegion="fornext1"/> + + <RegExpr attribute="Control Structures" context="#stay" String="\bselect case\b" insensitive="TRUE" beginRegion="selcase1"/> + <RegExpr attribute="Control Structures" context="#stay" String="\bend select\b" insensitive="TRUE" endRegion="selcase1"/> + + <keyword attribute="Keyword" context="#stay" String="keywords" /> + <keyword attribute="Control Structures" context="#stay" String="control structures" /> + <keyword attribute="Function" context="#stay" String="functions" /> + </context> + <context name="asp_onelinecomment" attribute="Comment" lineEndContext="#pop"> + <StringDetect attribute="Keyword" context="#pop#pop" String="%>" /> + </context> + <context name="doublequotestring" attribute="String" lineEndContext="#stay"> + <Detect2Chars attribute="Escape Code" context="#stay" char=""" char1=""" /> + <RegExpr attribute="Escape Code" context="#stay" String="\\[0-7]{1,3}" /> + <RegExpr attribute="Escape Code" context="#stay" String="\\x[0-9A-Fa-f]{1,2}" /> + <DetectChar attribute="String" context="#pop" char=""" /> + </context> + <context name="singlequotestring" attribute="String" lineEndContext="#stay"> + <Detect2Chars attribute="Escape Code" context="#stay" char="'" char1="'"/> + <DetectChar attribute="String" context="#pop" char="'" /> + </context> + <context name="htmltag" attribute="Identifier" lineEndContext="#stay"> + <Detect2Chars attribute="HTML Tag" context="#pop" char="/" char1=">" /> + <DetectChar attribute="HTML Tag" context="#pop" char=">"/> + <StringDetect attribute="Keyword" context="aspsource" String="<%" /> + <StringDetect attribute="Keyword" context="aspsource" String="<%" /> + <RegExpr attribute="Identifier" context="identifiers" String="\s*=\s*"/> + </context> + <context name="htmlcomment" attribute="HTML Comment" lineEndContext="#stay"> + <StringDetect attribute="Keyword" context="aspsource" String="<%" /> + <StringDetect attribute="Keyword" context="aspsource" String="<%" /> + <StringDetect attribute="HTML Comment" context="#pop" String="-->" /> + <RegExpr attribute="Normal Text" context="identifiers" String="\s*=\s*"/> + </context> + <context name="identifiers" attribute="Identifier" lineEndContext="#stay"> + <RegExpr attribute="String" context="#pop" String="\s*#?[a-zA-Z0-9]*" /> + <DetectChar attribute="Types" context="types1" char="'" /> + <DetectChar attribute="Types" context="types2" char=""" /> + </context> + + <context name="types1" attribute="Types" lineEndContext="#stay"> + <StringDetect attribute="Keyword" context="aspsource" String="<%" /> + <StringDetect attribute="Keyword" context="aspsource" String="<%" /> + <DetectChar attribute="Types" context="#pop#pop" char="'" /> + </context> + + <context name="types2" attribute="Types" lineEndContext="#stay"> + <StringDetect attribute="Keyword" context="aspsource" String="<%" /> + <StringDetect attribute="Keyword" context="aspsource" String="<%" /> + <DetectChar attribute="Types" context="#pop#pop" char=""" /> + </context> + + <context name="scripts" attribute="Normal Text" lineEndContext="#stay"> + <Detect2Chars attribute="Comment" context="scripts_onelinecomment" char="/" char1="/" /> + <Detect2Chars attribute="Comment" context="twolinecomment" char="/" char1="*" /> + <keyword attribute="Control Structures" context="#stay" String="control structures" /> + <keyword attribute="Keyword" context="#stay" String="keywords" /> + <keyword attribute="Function" context="#stay" String="functions" /> + <StringDetect attribute="Keyword" context="aspsource" String="<%"/> + <RegExpr attribute="HTML Tag" context="#pop" String="<\s*\/\s*script\s*>" insensitive="TRUE" /> + + <DetectChar attribute="String" context="doublequotestring" char=""" /> + <DetectChar attribute="String" context="singlequotestring" char="'" /> + <HlCOct attribute="Octal" context="#stay" /> + <HlCHex attribute="Hex" context="#stay" /> + <Float attribute="Float" context="#stay" /> + <Int attribute="Decimal" context="#stay" /> + <DetectChar attribute="Normal Text" context="#stay" char="{" beginRegion="Brace1" /> + <DetectChar attribute="Normal Text" context="#stay" char="}" endRegion="Brace1" /> + <AnyChar attribute="Other" context="#stay" String=";()}{:,[]" /> + <keyword attribute="Other" context="#stay" String="Others" /> + </context> + <context name="scripts_onelinecomment" attribute="Comment" lineEndContext="#pop"> + <RegExpr attribute="HTML Tag" context="#pop#pop" String="<\s*\/\s*script\s*>" insensitive="TRUE" /> + </context> + <context name="twolinecomment" attribute="Comment" lineEndContext="#stay"> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment" /> + </context> + + </contexts> + <itemDatas> + <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="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="Escape Code" defStyleNum="dsKeyword" color="#0F0F8F" selColor="#ffffff" bold="1" italic="0" /> + <itemData name="Other" defStyleNum="dsOthers" /> + + <itemData name="HTML Tag" defStyleNum="dsKeyword" color="#0F0000" selColor="#ffffff" bold="1" italic="0" /> + <itemData name="HTML Comment" defStyleNum="dsComment" /> + <itemData name="Identifier" defStyleNum="dsOthers" /> + <itemData name="Types" defStyleNum="dsDataType" /> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="singleLine" start="'" /> + <comment name="multiLine" start="/*" end="*/" /> + </comments> + <keywords casesensitive="0" weakDeliminator=""/> + </general> +</language> diff --git a/kate/data/awk.xml b/kate/data/awk.xml new file mode 100644 index 000000000..0f16ca4cc --- /dev/null +++ b/kate/data/awk.xml @@ -0,0 +1,112 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="AWK" version="0.90" kateversion="2.3" section="Scripts" extensions="*.awk" mimetype="text/x-awk"> + <highlighting> + <list name="keywords"> + <item>if</item> + <item>else</item> + <item>while</item> + <item>do</item> + <item>for</item> + <item>in</item> + <item>continue</item> + <item>break</item> + <item>print</item> + <item>printf</item> + <item>getline</item> + <item>function</item> + <item>return</item> + <item>next</item> + <item>exit</item> + </list> + <list name="builtins"> + <item>ARGC</item> + <item>ARGV</item> + <item>CONVFMT</item> + <item>ENVIRON</item> + <item>FILENAME</item> + <item>FNR</item> + <item>FS</item> + <item>NF</item> + <item>NR</item> + <item>OFMT</item> + <item>OFS</item> + <item>ORS</item> + <item>RS</item> + <item>RSTART</item> + <item>RLENGTH</item> + <item>SUBSEP</item> + </list> + <list name="functions"> + <item>gsub</item> + <item>gensub</item> + <item>index</item> + <item>length</item> + <item>match</item> + <item>split</item> + <item>sprintf</item> + <item>sub</item> + <item>substr</item> + <item>tolower</item> + <item>toupper</item> + <item>atan2</item> + <item>cos</item> + <item>exp</item> + <item>int</item> + <item>log</item> + <item>rand</item> + <item>sin</item> + <item>sqrt</item> + <item>srand</item> + <item>close</item> + <item>fflush</item> + <item>system</item> + </list> + + <contexts> + + <context name="Base" attribute="Normal" lineEndContext="#stay"> + <RegExpr String="\b(BEGIN|END)\b" attribute="Pattern" context="#stay" /> + <RegExpr String="/([^\/[]|\\.|\[\]?(\[[^]]+\]|.)+\])+/" attribute="Pattern" context="#stay" /> + <DetectChar char="{" attribute="Keyword" context="#stay" beginRegion="block" /> + <DetectChar char="}" attribute="Keyword" context="#stay" endRegion="block" /> + <DetectChar char="#" attribute="Comment" context="Comment" /> + <DetectChar char=""" attribute="String" context="String"/> + <keyword String="keywords" attribute="Keyword" context="#stay"/> + <keyword String="builtins" attribute="Builtin" context="#stay"/> + <keyword String="functions" attribute="Function" context="#stay"/> + <Float attribute="Float" context="#stay"/> + <Int attribute="Decimal" context="#stay"/> + <RegExpr String="\$[A-Za-z0-9_]+" attribute="Field" context="#stay"/> + </context> + + <context name="String" attribute="String" lineEndContext="#stay"> + <DetectChar char=""" attribute="String" context="#pop"/> + <HlCStringChar attribute="String" context="#stay"/> + </context> + + <context name="Comment" attribute="Comment" lineEndContext="#pop"> + <IncludeRules context="##Alerts" /> + </context> + + </contexts> + <itemDatas> + <itemData name="Normal" defStyleNum="dsNormal"/> + <itemData name="Keyword" defStyleNum="dsKeyword"/> + <itemData name="Builtin" defStyleNum="dsDataType"/> + <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="Pattern" defStyleNum="dsString"/> + <itemData name="Field" defStyleNum="dsOthers"/> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="singleLine" start="#"/> + </comments> + <keywords casesensitive="1" /> + </general> +</language> diff --git a/kate/data/bash.xml b/kate/data/bash.xml new file mode 100644 index 000000000..7fe38d3a4 --- /dev/null +++ b/kate/data/bash.xml @@ -0,0 +1,829 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd" +[ + <!ENTITY funcname "[A-Za-z_:][A-Za-z0-9_:#%@-]*"> + <!ENTITY varname "[A-Za-z_][A-Za-z0-9_]*"> + <!ENTITY word "[^|&;()<>\s]+"> <!-- see man bash --> + <!ENTITY eos "(?=($|\s))"> <!-- eol or space following --> + <!ENTITY noword "(?![\w$+-])"> <!-- no word, $, + or - following --> +]> +<language name="Bash" version="2.06" kateversion="2.4" section="Scripts" extensions="*.sh;*.bash;*.ebuild;*.eclass" mimetype="application/x-shellscript" casesensitive="1" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL"> + +<!-- (c) 2004 by Wilbert Berendsen, wilbert@kde.nl + Released under the LGPL, part of kdelibs/kate --> + + <highlighting> + <list name="keywords"> + <item> else </item> + <item> for </item> + <item> function </item> + <item> in </item> + <item> select </item> + <item> until </item> + <item> while </item> + <item> . </item> + <item> elif </item> + <item> then </item> + <item> set </item> + </list> + + <list name="builtins"> + <item> : </item> + <item> . </item> + <item> source </item> + <item> alias </item> + <item> bg </item> + <item> bind </item> + <item> break </item> + <item> builtin </item> + <item> cd </item> + <item> command </item> + <item> compgen </item> + <item> complete </item> + <item> continue </item> + <item> dirs </item> + <item> disown </item> + <item> echo </item> + <item> enable </item> + <item> eval </item> + <item> exec </item> + <item> exit </item> + <item> fc </item> + <item> fg </item> + <item> getopts </item> + <item> hash </item> + <item> help </item> + <item> history </item> + <item> jobs </item> + <item> kill </item> + <item> let </item> + <item> logout </item> + <item> popd </item> + <item> printf </item> + <item> pushd </item> + <item> pwd </item> + <item> return </item> + <item> set </item> + <item> shift </item> + <item> shopt </item> + <item> suspend </item> + <item> test </item> + <item> times </item> + <item> trap </item> + <item> type </item> + <item> ulimit </item> + <item> umask </item> + <item> unalias </item> + <item> wait </item> + </list> + + <list name="builtins_var"> + <item> export </item> + <item> unset </item> + <item> declare </item> + <item> typeset </item> + <item> local </item> + <item> read </item> + <item> readonly </item> + </list> + + <list name="unixcommands"> + <!-- /bin --> + <item> arch </item> + <item> awk </item> + <item> bash </item> + <item> bunzip2 </item> + <item> bzcat </item> + <item> bzcmp </item> + <item> bzdiff </item> + <item> bzegrep </item> + <item> bzfgrep </item> + <item> bzgrep </item> + <item> bzip2 </item> + <item> bzip2recover </item> + <item> bzless </item> + <item> bzmore </item> + <item> cat </item> + <item> chattr </item> + <item> chgrp </item> + <item> chmod </item> + <item> chown </item> + <item> chvt </item> + <item> cp </item> + <item> date </item> + <item> dd </item> + <item> deallocvt </item> + <item> df </item> + <item> dir </item> + <item> dircolors </item> + <item> dmesg </item> + <item> dnsdomainname </item> + <item> domainname </item> + <item> du </item> + <item> dumpkeys </item> + <item> echo </item> + <item> ed </item> + <item> egrep </item> + <item> false </item> + <item> fgconsole </item> + <item> fgrep </item> + <item> fuser </item> + <item> gawk </item> + <item> getkeycodes </item> + <item> gocr </item> + <item> grep </item> + <item> groups </item> + <item> gunzip </item> + <item> gzexe </item> + <item> gzip </item> + <item> hostname </item> + <item> igawk </item> + <item> install </item> + <item> kbd_mode </item> + <item> kbdrate </item> + <item> killall </item> + <item> last </item> + <item> lastb </item> + <item> link </item> + <item> ln </item> + <item> loadkeys </item> + <item> loadunimap </item> + <item> login </item> + <item> ls </item> + <item> lsattr </item> + <item> lsmod </item> + <item> lsmod.old </item> + <item> mapscrn </item> + <item> mesg </item> + <item> mkdir </item> + <item> mkfifo </item> + <item> mknod </item> + <item> mktemp </item> + <item> more </item> + <item> mount </item> + <item> mv </item> + <item> nano </item> + <item> netstat </item> + <item> nisdomainname </item> + <item> openvt </item> + <item> pgawk </item> + <item> pidof </item> + <item> ping </item> + <item> ps </item> + <item> pstree </item> + <item> pwd </item> + <item> rbash </item> + <item> readlink </item> + <item> red </item> + <item> resizecons </item> + <item> rm </item> + <item> rmdir </item> + <item> run-parts </item> + <item> sash </item> + <item> sed </item> + <item> setfont </item> + <item> setkeycodes </item> + <item> setleds </item> + <item> setmetamode </item> + <item> setserial </item> + <item> sh </item> + <item> showkey </item> + <item> shred </item> + <item> sleep </item> + <item> ssed </item> + <item> stat </item> + <item> stty </item> + <item> su </item> + <item> sync </item> + <item> tar </item> + <item> tempfile </item> + <item> touch </item> + <item> true </item> + <item> umount </item> + <item> uname </item> + <item> unicode_start </item> + <item> unicode_stop </item> + <item> unlink </item> + <item> utmpdump </item> + <item> uuidgen </item> + <item> vdir </item> + <item> wall </item> + <item> wc </item> + <item> ypdomainname </item> + <item> zcat </item> + <item> zcmp </item> + <item> zdiff </item> + <item> zegrep </item> + <item> zfgrep </item> + <item> zforce </item> + <item> zgrep </item> + <item> zless </item> + <item> zmore </item> + <item> znew </item> + <item> zsh </item> + + <!-- some from /usr/bin --> + <item> aclocal </item> + <item> aconnect </item> + <item> aplay </item> + <item> apm </item> + <item> apmsleep </item> + <item> apropos </item> + <item> ar </item> + <item> arecord </item> + <item> as </item> + <item> as86 </item> + <item> autoconf </item> + <item> autoheader </item> + <item> automake </item> + <item> awk </item> + <item> basename </item> + <item> bc </item> + <item> bison </item> + <item> c++ </item> + <item> cal </item> + <item> cat </item> + <item> cc </item> + <item> cdda2wav </item> + <item> cdparanoia </item> + <item> cdrdao </item> + <item> cd-read </item> + <item> cdrecord </item> + <item> chfn </item> + <item> chgrp </item> + <item> chmod </item> + <item> chown </item> + <item> chroot </item> + <item> chsh </item> + <item> clear </item> + <item> cmp </item> + <item> co </item> + <item> col </item> + <item> comm </item> + <item> cp </item> + <item> cpio </item> + <item> cpp </item> + <item> cut </item> + <item> dc </item> + <item> dd </item> + <item> df </item> + <item> diff </item> + <item> diff3 </item> + <item> dir </item> + <item> dircolors </item> + <item> directomatic </item> + <item> dirname </item> + <item> du </item> + <item> env </item> + <item> expr </item> + <item> fbset </item> + <item> file </item> + <item> find </item> + <item> flex </item> + <item> flex++ </item> + <item> fmt </item> + <item> free </item> + <item> ftp </item> + <item> funzip </item> + <item> fuser </item> + <item> g++ </item> + <item> gawk </item> + <item> gc </item> + <item> gcc </item> + <item> gdb </item> + <item> getent </item> + <item> getopt </item> + <item> gettext </item> + <item> gettextize </item> + <item> gimp </item> + <item> gimp-remote </item> + <item> gimptool </item> + <item> gmake </item> + <item> gs </item> + <item> head </item> + <item> hexdump </item> + <item> id </item> + <item> install </item> + <item> join </item> + <item> kill </item> + <item> killall </item> + <item> ld </item> + <item> ld86 </item> + <item> ldd </item> + <item> less </item> + <item> lex </item> + <item> ln </item> + <item> locate </item> + <item> lockfile </item> + <item> logname </item> + <item> lp </item> + <item> lpr </item> + <item> ls </item> + <item> lynx </item> + <item> m4 </item> + <item> make </item> + <item> man </item> + <item> mkdir </item> + <item> mknod </item> + <item> msgfmt </item> + <item> mv </item> + <item> namei </item> + <item> nasm </item> + <item> nawk </item> + <item> nice </item> + <item> nl </item> + <item> nm </item> + <item> nm86 </item> + <item> nmap </item> + <item> nohup </item> + <item> nop </item> + <item> od </item> + <item> passwd </item> + <item> patch </item> + <item> pcregrep </item> + <item> pcretest </item> + <item> perl </item> + <item> perror </item> + <item> pidof </item> + <item> pr </item> + <item> printf </item> + <item> procmail </item> + <item> prune </item> + <item> ps2ascii </item> + <item> ps2epsi </item> + <item> ps2frag </item> + <item> ps2pdf </item> + <item> ps2ps </item> + <item> psbook </item> + <item> psmerge </item> + <item> psnup </item> + <item> psresize </item> + <item> psselect </item> + <item> pstops </item> + <item> rcs </item> + <item> rev </item> + <item> rm </item> + <item> scp </item> + <item> sed </item> + <item> seq </item> + <item> setterm </item> + <item> shred </item> + <item> size </item> + <item> size86 </item> + <item> skill </item> + <item> slogin </item> + <item> snice </item> + <item> sort </item> + <item> sox </item> + <item> split </item> + <item> ssh </item> + <item> ssh-add </item> + <item> ssh-agent </item> + <item> ssh-keygen </item> + <item> ssh-keyscan </item> + <item> stat </item> + <item> strings </item> + <item> strip </item> + <item> sudo </item> + <item> suidperl </item> + <item> sum </item> + <item> tac </item> + <item> tail </item> + <item> tee </item> + <item> test </item> + <item> tr </item> + <item> uniq </item> + <item> unlink </item> + <item> unzip </item> + <item> updatedb </item> + <item> updmap </item> + <item> uptime </item> + <item> users </item> + <item> vmstat </item> + <item> w </item> + <item> wc </item> + <item> wget </item> + <item> whatis </item> + <item> whereis </item> + <item> which </item> + <item> who </item> + <item> whoami </item> + <item> write </item> + <item> xargs </item> + <item> yacc </item> + <item> yes </item> + <item> zip </item> + <item> zsoelim </item> + + <!-- others --> + <item> dcop </item> + <item> kdialog </item> + <item> kfile </item> + <item> xhost </item> + <item> xmodmap </item> + <item> xset </item> + </list> + + + <contexts> + <context attribute="Normal Text" lineEndContext="#stay" name="Start"> + <IncludeRules context="FindAll" /> + </context> + +<!-- ====== The following rulessets are meant to be included ======== --> + <!-- FindAll tries to interpret everything --> + <context attribute="Normal Text" lineEndContext="#stay" name="FindAll"> + <IncludeRules context="FindComments" /> + <IncludeRules context="FindCommands" /> + <IncludeRules context="FindStrings" /> + <IncludeRules context="FindSubstitutions" /> + <IncludeRules context="FindOthers" /> + </context> + + <!-- FindMost tries to interpret anything except commands --> + <context attribute="Normal Text" lineEndContext="#stay" name="FindMost"> + <IncludeRules context="FindComments" /> + <IncludeRules context="FindStrings" /> + <IncludeRules context="FindSubstitutions" /> + <IncludeRules context="FindOthers" /> + </context> + + + <!-- FindComments consumes shell comments till EOL --> + <context attribute="Normal Text" lineEndContext="#pop" name="FindComments"> + <DetectChar attribute="Comment" context="Comment" char="#" firstNonSpace="true"/> + <RegExpr attribute="Normal Text" context="Comment" String="[\s;](?=#)" /> + </context> + <context attribute="Comment" lineEndContext="#pop" name="Comment"> + <IncludeRules context="##Alerts" /> + </context> + + <!-- FindCommentsParen consumes shell comments till EOL or a closing parenthese --> + <context attribute="Normal Text" lineEndContext="#pop" name="FindCommentsParen"> + <DetectChar attribute="Comment" context="CommentParen" char="#" firstNonSpace="true"/> + <RegExpr attribute="Normal Text" context="CommentParen" String="[\s;](?=#)" /> + </context> + <context attribute="Comment" lineEndContext="#pop" name="CommentParen"> + <RegExpr attribute="Comment" context="#pop" String="[^)](?=\))" /> + <IncludeRules context="##Alerts" /> + </context> + + <!-- FindCommentsBackq consumes shell comments till EOL or a backquote --> + <context attribute="Normal Text" lineEndContext="#pop" name="FindCommentsBackq"> + <DetectChar attribute="Comment" context="CommentBackq" char="#" firstNonSpace="true"/> + <RegExpr attribute="Normal Text" context="CommentBackq" String="[\s;](?=#)" /> + </context> + <context attribute="Comment" lineEndContext="#pop" name="CommentBackq"> + <RegExpr attribute="Comment" context="#pop" String="[^`](?=`)" /> + <IncludeRules context="##Alerts" /> + </context> + + + <!-- FindCommands matches many items that can be expected outside strings, substitutions etc. --> + <context attribute="Normal Text" lineEndContext="#stay" name="FindCommands"> + <!-- start expression in double parentheses --> + <Detect2Chars attribute="Keyword" context="ExprDblParen" char="(" char1="(" beginRegion="expression" /> + <!-- start expression in double brackets --> + <RegExpr attribute="Keyword" context="ExprDblBracket" String="\[\[&eos;" beginRegion="expression" column="0"/> + <RegExpr attribute="Keyword" context="ExprDblBracket" String="\s\[\[&eos;" beginRegion="expression" /> + <!-- start expression in single brackets --> + <RegExpr attribute="Builtin" context="ExprBracket" String="\[&eos;" beginRegion="expression" column="0"/> + <RegExpr attribute="Builtin" context="ExprBracket" String="\s\[&eos;" beginRegion="expression" /> + <!-- start a group command with { --> + <RegExpr attribute="Keyword" context="Group" String="\{&eos;" beginRegion="group" /> + <!-- start a subshell --> + <DetectChar attribute="Keyword" context="SubShell" char="(" beginRegion="subshell" /> + <!-- match do and if blocks --> + <RegExpr attribute="Keyword" context="#stay" String="\bdo&noword;" beginRegion="do" /> + <RegExpr attribute="Keyword" context="#stay" String="\bdone&noword;" endRegion="do" /> + <RegExpr attribute="Keyword" context="#stay" String="\bif&noword;" beginRegion="if" /> + <RegExpr attribute="Keyword" context="#stay" String="\bfi&noword;" endRegion="if" /> + <!-- handle case as a special case --> + <RegExpr attribute="Keyword" context="Case" String="\bcase&noword;" beginRegion="case" /> + <!-- handle command line options --> + <RegExpr attribute="Option" context="#stay" String="-[A-Za-z0-9]+" /> + <RegExpr attribute="Option" context="#stay" String="--[a-z][A-Za-z0-9_-]*" /> + <!-- handle variable assignments --> + <RegExpr attribute="Variable" context="Assign" String="\b&varname;\+?=" /> + <RegExpr attribute="Variable" context="AssignSubscr" String="\b&varname;(?=\[[^]]+\]=)" /> + <!-- handle functions with function keyword before keywords --> + <StringDetect attribute="Function" context="#stay" String=":()" /> + <RegExpr attribute="Keyword" context="FunctionDef" String="\bfunction\b" /> + <!-- handle keywords --> + <keyword attribute="Keyword" context="#stay" String="keywords" /> + <keyword attribute="Builtin" context="#stay" String="builtins" /> + <keyword attribute="Command" context="#stay" String="unixcommands" /> + <!-- handle commands that have variable names as argument --> + <keyword attribute="Builtin" context="VarName" String="builtins_var" /> + <!-- handle here-string --> + <StringDetect attribute="Redirection" context="#stay" String="<<<" /> + <!-- handle here document --> + <StringDetect attribute="Redirection" context="HereDoc" String="<<" lookAhead="true" /> + <!-- handle process subst --> + <RegExpr attribute="Redirection" context="ProcessSubst" String="[<>]\(" /> + <!-- handle redirection --> + <RegExpr attribute="Redirection" context="#stay" String="([0-9]*(>{1,2}|<)(&[0-9]+-?)?|&>|>&|[0-9]*<>)" /> + <!-- handle &, &&, | and || --> + <RegExpr attribute="Control" context="#stay" String="([|&])\1?" /> + <!-- mark function definitions without function keyword --> + <RegExpr attribute="Function" context="#stay" String="&funcname;\s*\(\)" /> + </context> + + <!-- FindOthers contains various rules to mark different shell input --> + <context attribute="Normal Text" lineEndContext="#stay" name="FindOthers"> + <RegExpr attribute="Escape" context="#stay" String="\\[][;"\\'$`{}()|&<>* ]" /> + <RegExpr attribute="Keyword" context="#stay" String="\\$" /> + <RegExpr attribute="Escape" context="#stay" String="\{(?!(\s|$))\S*\}" /> + <RegExpr attribute="Path" context="#stay" String="\.?/[\w_@.+-]+(?=([\s/):]|$))" /> + <!-- TODO: shell globs --> + </context> + + <!-- FindStrings looks for single and double quoted strings, also with $-prefix --> + <context attribute="Normal Text" lineEndContext="#stay" name="FindStrings"> + <DetectChar attribute="String SingleQ" context="StringSQ" char="'" /> + <DetectChar attribute="String DoubleQ" context="StringDQ" char=""" /> + <Detect2Chars attribute="String SingleQ" context="StringEsc" char="$" char1="'" /> + <Detect2Chars attribute="String Transl." context="StringDQ" char="$" char1=""" /> + </context> + + <!-- FindSubstitutions goes after anything starting with $ and ` and their escapes --> + <context attribute="Normal Text" lineEndContext="#stay" name="FindSubstitutions"> + <RegExpr attribute="Variable" context="#stay" String="\$[*@#?$!_0-9-]" /> + <RegExpr attribute="Variable" context="Subscript" String="\$&varname;\[" /> + <RegExpr attribute="Variable" context="#stay" String="\$&varname;" /> + <RegExpr attribute="Variable" context="#stay" String="\$\{[*@#?$!_0-9-]\}" /> + <RegExpr attribute="Variable" context="#stay" String="\$\{#&varname;\}" /> + <RegExpr attribute="Variable" context="#stay" String="\$\{!&varname;\*?\}" /> + <RegExpr attribute="Variable" context="VarBrace" String="\$\{&varname;" /> + <RegExpr attribute="Variable" context="VarBrace" String="\$\{[*@#?$!_0-9-](?=[:#%/])" /> + <StringDetect attribute="Variable" context="ExprDblParenSubst" String="$((" beginRegion="expression" /> + <StringDetect attribute="Redirection" context="SubstFile" String="$(<" /> + <StringDetect attribute="Variable" context="SubstCommand" String="$(" /> + <DetectChar attribute="Backquote" context="SubstBackq" char="`" /> + <RegExpr attribute="Escape" context="#stay" String="\\[`$\\]" /> + </context> + + + + + +<!-- ====== These are the contexts that can be branched to ======= --> + + <!-- ExprDblParen consumes an expression started in command mode till )) --> + <context attribute="Normal Text" lineEndContext="#stay" name="ExprDblParen"> + <Detect2Chars attribute="Keyword" context="#pop" char=")" char1=")" endRegion="expression" /> + <DetectChar attribute="Normal Text" context="ExprSubParen" char="(" /> + <IncludeRules context="FindMost" /> + </context> + + <!-- ExprDblParenSubst like ExprDblParen but matches )) as Variable --> + <context attribute="Normal Text" lineEndContext="#stay" name="ExprDblParenSubst"> + <Detect2Chars attribute="Variable" context="#pop" char=")" char1=")" endRegion="expression" /> + <DetectChar attribute="Normal Text" context="ExprSubParen" char="(" /> + <IncludeRules context="FindMost" /> + </context> + + <!-- ExprSubParen consumes an expression till ) --> + <context attribute="Normal Text" lineEndContext="#stay" name="ExprSubParen"> + <DetectChar attribute="Normal Text" context="#pop" char=")" /> + <DetectChar attribute="Normal Text" context="ExprSubParen" char="(" /> + <IncludeRules context="FindMost" /> + </context> + + <!-- ExprBracket consumes an expression till ] --> + <context attribute="Normal Text" lineEndContext="#stay" name="ExprBracket"> + <RegExpr attribute="Builtin" context="#pop" String="\s\](?=($|[\s;|&]))" endRegion="expression" /> + <RegExpr attribute="Builtin" context="#pop" String="\](?=($|[\s;|&]))" endRegion="expression" column="0"/> + <DetectChar attribute="Normal Text" context="ExprSubParen" char="(" /> + <IncludeRules context="FindMost" /> + </context> + + <!-- ExprDblBracket consumes an expression till ]] --> + <context attribute="Normal Text" lineEndContext="#stay" name="ExprDblBracket"> + <RegExpr attribute="Keyword" context="#pop" String="\s\]\](?=($|[\s;|&]))" endRegion="expression" /> + <RegExpr attribute="Keyword" context="#pop" String="\]\](?=($|[\s;|&]))" endRegion="expression" column="0"/> + <DetectChar attribute="Normal Text" context="ExprSubParen" char="(" /> + <IncludeRules context="FindMost" /> + </context> + + <!-- Group consumes shell input till } --> + <context attribute="Normal Text" lineEndContext="#stay" name="Group"> + <DetectChar attribute="Keyword" context="#pop" char="}" endRegion="group" /> + <IncludeRules context="FindAll" /> + </context> + + <!-- SubShell consumes shell input till ) --> + <context attribute="Normal Text" lineEndContext="#stay" name="SubShell"> + <DetectChar attribute="Keyword" context="#pop" char=")" endRegion="subshell" /> + <IncludeRules context="FindAll" /> + </context> + + <!-- Assign consumes an expression till EOL or whitespace --> + <context attribute="Normal Text" lineEndContext="#pop" name="Assign" fallthrough="true" fallthroughContext="#pop"> + <DetectChar attribute="Variable" context="AssignArray" char="(" /> + <IncludeRules context="FindStrings" /> + <IncludeRules context="FindSubstitutions" /> + <IncludeRules context="FindOthers" /> + <RegExpr attribute="Normal Text" context="#stay" String="[\w:,+_./-]+" /> + </context> + + <!-- AssignArray consumes everything till ), marking assignments --> + <context attribute="Normal Text" lineEndContext="#pop" name="AssignArray"> + <DetectChar attribute="Variable" context="#pop" char=")" /> + <DetectChar attribute="Variable" context="Subscript" char="[" /> + <DetectChar attribute="Variable" context="Assign" char="=" /> + <IncludeRules context="FindMost" /> + </context> + + <!-- AssignSubscr first expects a [ then parses subscript and continues with '=value' --> + <context attribute="Normal Text" lineEndContext="#pop" name="AssignSubscr" fallthrough="true" fallthroughContext="#pop"> + <DetectChar attribute="Variable" context="Subscript" char="[" /> + <DetectChar attribute="Variable" context="Assign" char="=" /> + <IncludeRules context="FindStrings" /> + <IncludeRules context="FindSubstitutions" /> + <IncludeRules context="FindOthers" /> + </context> + + <!-- Subscript consumes anything till ], marks as Variable --> + <context attribute="Variable" lineEndContext="#stay" name="Subscript"> + <DetectChar attribute="Variable" context="#pop" char="]" /> + <IncludeRules context="FindStrings" /> + <IncludeRules context="FindSubstitutions" /> + <IncludeRules context="FindOthers" /> + </context> + + <!-- FunctionDef consumes a name, possibly with (), marks as Function --> + <context attribute="Function" lineEndContext="#pop" name="FunctionDef" fallthrough="true" fallthroughContext="#pop"> + <RegExpr attribute="Function" context="#pop" String="\s+&funcname;(\s*\(\))?" /> + </context> + + <!-- VarName consumes spare variable names and assignments --> + <context attribute="Normal Text" lineEndContext="#pop" name="VarName" fallthrough="true" fallthroughContext="#pop"> + <!-- handle command line options --> + <RegExpr attribute="Option" context="#stay" String="-[A-Za-z0-9]+" /> + <RegExpr attribute="Option" context="#stay" String="--[a-z][A-Za-z0-9_-]*" /> + <RegExpr attribute="Variable" context="#stay" String="\b&varname;" /> + <DetectChar attribute="Variable" context="Subscript" char="[" /> + <DetectChar attribute="Variable" context="Assign" char="=" /> + <IncludeRules context="FindMost" /> + <!-- stay here in spaces and other safe characters --> + <RegExpr attribute="Normal Text" context="#stay" String="[^]})|;`&><]" /> + </context> + + <!-- ProcessSubst handles <(command) and >(command) --> + <context attribute="Normal Text" lineEndContext="#stay" name="ProcessSubst"> + <DetectChar attribute="Redirection" context="#pop" char=")" /> + <IncludeRules context="FindCommentsParen" /> + <IncludeRules context="FindCommands" /> + <IncludeRules context="FindStrings" /> + <IncludeRules context="FindSubstitutions" /> + <IncludeRules context="FindOthers" /> + </context> + + <!-- StringSQ consumes anything till ' --> + <context attribute="String SingleQ" lineEndContext="#stay" name="StringSQ"> + <DetectChar attribute="String SingleQ" context="#pop" char="'" /> + </context> + + <!-- StringDQ consumes anything till ", substitutes vars and expressions --> + <context attribute="String DoubleQ" lineEndContext="#stay" name="StringDQ"> + <DetectChar attribute="String DoubleQ" context="#pop" char=""" /> + <RegExpr attribute="String Escape" context="#stay" String="\\[`"\\$\n]" /> + <IncludeRules context="FindSubstitutions" /> + </context> + + <!-- StringEsc eats till ', but escaping many characters --> + <context attribute="String SingleQ" lineEndContext="#stay" name="StringEsc"> + <DetectChar attribute="String SingleQ" context="#pop" char="'" /> + <RegExpr attribute="String Escape" context="#stay" String="\\[abefnrtv\\']" /> + <RegExpr attribute="String Escape" context="#stay" String="\\([0-7]{1,3}|x[A-Fa-f0-9]{1,2}|c.)" /> + </context> + + <!-- VarBrace is called as soon as ${xxx is encoutered --> + <context attribute="Variable" lineEndContext="#stay" name="VarBrace"> + <DetectChar attribute="Variable" context="#pop" char="}" /> + <DetectChar attribute="Variable" context="Subscript" char="[" /> + <IncludeRules context="FindStrings" /> + <IncludeRules context="FindSubstitutions" /> + <!-- TODO: highlight various special parameter expansions } --> + </context> + + <!-- SubstFile is called after a <( or >( is encoutered --> + <context attribute="Normal Text" lineEndContext="#stay" name="SubstFile"> + <DetectChar attribute="Redirection" context="#pop" char=")" /> + <IncludeRules context="FindCommentsParen" /> + <IncludeRules context="FindStrings" /> + <IncludeRules context="FindSubstitutions" /> + <IncludeRules context="FindOthers" /> + </context> + + <!-- SubstCommand is called after a $( is encountered --> + <context attribute="Normal Text" lineEndContext="#stay" name="SubstCommand"> + <DetectChar attribute="Variable" context="#pop" char=")" /> + <IncludeRules context="FindCommentsParen" /> + <IncludeRules context="FindCommands" /> + <IncludeRules context="FindStrings" /> + <IncludeRules context="FindSubstitutions" /> + <IncludeRules context="FindOthers" /> + </context> + + <!-- SubstBackq is called when a backquote is encountered --> + <context attribute="Normal Text" lineEndContext="#stay" name="SubstBackq"> + <DetectChar attribute="Keyword" context="#pop" char="`" /> + <IncludeRules context="FindCommentsBackq" /> + <IncludeRules context="FindCommands" /> + <IncludeRules context="FindStrings" /> + <IncludeRules context="FindSubstitutions" /> + <IncludeRules context="FindOthers" /> + </context> + + <!-- Case is called after the case keyword is encoutered. We handle this because of + the lonely closing parentheses that would otherwise disturb the expr matching --> + <context attribute="Normal Text" lineEndContext="#stay" name="Case"> + <RegExpr attribute="Keyword" context="CaseIn" String="\sin\b" /> + <IncludeRules context="FindMost" /> + </context> + + <!-- CaseIn is called when the construct 'case ... in' has been found. --> + <context attribute="Normal Text" lineEndContext="#stay" name="CaseIn"> + <RegExpr attribute="Keyword" context="#pop#pop" String="\besac(?=$|[\s;)])" endRegion="case" /> + <DetectChar attribute="Keyword" context="CaseExpr" char=")" beginRegion="caseexpr" /> + <AnyChar attribute="Keyword" context="#stay" String="(|" /> + <IncludeRules context="FindMost" /> + </context> + + <!-- CaseExpr eats shell input till ;; --> + <context attribute="Normal Text" lineEndContext="#stay" name="CaseExpr"> + <Detect2Chars attribute="Keyword" context="#pop" char=";" char1=";" endRegion="caseexpr" /> + <IncludeRules context="FindAll" /> + </context> + + <!-- HereDoc consumes Here-documents. It is called at the beginning of the "<<" construct. --> + <context attribute="Normal Text" lineEndContext="#stay" name="HereDoc"> + <RegExpr attribute="Redirection" context="HereDocQ" String="(<<\s*"(&word;)")" lookAhead="true" /> + <RegExpr attribute="Redirection" context="HereDocQ" String="(<<\s*'(&word;)')" lookAhead="true" /> + <RegExpr attribute="Redirection" context="HereDocQ" String="(<<\s*\\(&word;))" lookAhead="true" /> + <RegExpr attribute="Redirection" context="HereDocNQ" String="(<<(?!-)\s*(&word;))" lookAhead="true" /> + <RegExpr attribute="Redirection" context="HereDocIQ" String="(<<-\s*"(&word;)")" lookAhead="true" /> + <RegExpr attribute="Redirection" context="HereDocIQ" String="(<<-\s*'(&word;)')" lookAhead="true" /> + <RegExpr attribute="Redirection" context="HereDocIQ" String="(<<-\s*\\(&word;))" lookAhead="true" /> + <RegExpr attribute="Redirection" context="HereDocINQ" String="(<<-\s*(&word;))" lookAhead="true" /> + <StringDetect attribute="Redirection" context="#pop" String="<<" /><!-- always met --> + </context> + + <context attribute="Normal Text" lineEndContext="#pop" name="HereDocRemainder"> + <IncludeRules context="FindAll" /> + </context> + + <context attribute="Normal Text" lineEndContext="#stay" name="HereDocQ" dynamic="true"> + <RegExpr attribute="Redirection" context="HereDocRemainder" String="%1" dynamic="true" /> + <RegExpr attribute="Redirection" context="#pop#pop" String="%2[\s;]*$" dynamic="true" column="0"/> + </context> + + <context attribute="Normal Text" lineEndContext="#stay" name="HereDocNQ" dynamic="true"> + <RegExpr attribute="Redirection" context="HereDocRemainder" String="%1" dynamic="true" /> + <RegExpr attribute="Redirection" context="#pop#pop" String="%2[\s;]*$" dynamic="true" column="0"/> + <IncludeRules context="FindSubstitutions" /> + </context> + + <context attribute="Normal Text" lineEndContext="#stay" name="HereDocIQ" dynamic="true"> + <RegExpr attribute="Redirection" context="HereDocRemainder" String="%1" dynamic="true" /> + <RegExpr attribute="Redirection" context="#pop#pop" String="\s*%2[\s;]*$" dynamic="true" column="0"/> + </context> + + <context attribute="Normal Text" lineEndContext="#stay" name="HereDocINQ" dynamic="true"> + <RegExpr attribute="Redirection" context="HereDocRemainder" String="%1" dynamic="true" /> + <RegExpr attribute="Redirection" context="#pop#pop" String="\s*%2[\s;]*$" dynamic="true" column="0"/> + <IncludeRules context="FindSubstitutions" /> + </context> + + </contexts> + + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal" /> + <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="Redirection" defStyleNum="dsKeyword" color="#238" /> + <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="Expression" defStyleNum="dsOthers" /> + <itemData name="Function" defStyleNum="dsChar" bold="1" /> + <itemData name="Path" defStyleNum="dsNormal" /> + <itemData name="Option" defStyleNum="dsNormal" /> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="singleLine" start="#"/> + </comments> + <keywords casesensitive="1" weakDeliminator="^%#[]$._{}:-" additionalDeliminator="`"/> + </general> +</language> diff --git a/kate/data/bibtex.xml b/kate/data/bibtex.xml new file mode 100644 index 000000000..b1c225521 --- /dev/null +++ b/kate/data/bibtex.xml @@ -0,0 +1,65 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="BibTeX" version="1.13" kateversion="2.4" extensions="*.bib" section="Markup" mimetype="text/x-bib" casesensitive="1" author="Jeroen Wijnhout (Jeroen.Wijnhout@kdemail.net)" license="LGPL"> + <highlighting> + <list name="kw_entry"> + <item>@article</item> + <item>@book</item> + <item>@booklet</item> + <item>@conference</item> + <item>@inbook</item> + <item>@incollection</item> + <item>@inproceedings</item> + <item>@manual</item> + <item>@mastersthesis</item> + <item>@misc</item> + <item>@phdthesis</item> + <item>@proceedings</item> + <item>@techreport</item> + <item>@unpublished</item> + <item>@collection</item> + <item>@patent</item> + </list> + <list name="kw_command"> + <item>@string</item> + <item>@preamble</item> + <item>@comment</item> + </list> + <contexts> + <context name="Normal" attribute="Normal Text" lineEndContext="#stay"> + <RegExpr String="([a-zA-Z]+)\s*=" attribute="Field" context="#stay" firstNonSpace="true" /> + <keyword String="kw_entry" attribute="Entry" context="Entry"/> + <keyword String="kw_command" attribute="Command" context="#stay"/> + <DetectChar char="{" attribute="Normal Text" context="#stay" beginRegion="block" /> + <DetectChar char="}" attribute="Normal Text" context="#stay" endRegion="block" /> + <RegExpr String="\\([a-zA-Z]+|.)" attribute="Char" context="#stay"/> + <DetectChar char=""" attribute="String" context="String"/> + </context> + + <context name="Entry" attribute="Ref Key" lineEndContext="#stay"> + <DetectChar char="," attribute="Normal Text" context="#pop"/> + <DetectChar char="{" attribute="Normal Text" context="#stay" beginRegion="block" /> + <DetectChar char="}" attribute="Normal Text" context="#stay" endRegion="block" /> + <RegExpr String="\\([a-zA-Z]+|.)" attribute="Char" context="#stay"/> + <DetectChar char=""" attribute="String" context="#pop"/> + </context> + + <context name="String" attribute="String" lineEndContext="#stay"> + <RegExpr String="\\([a-zA-Z]+|.)" attribute="Char" context="#stay"/> + <DetectChar char=""" attribute="String" context="#pop"/> + </context> + </contexts> + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Entry" defStyleNum="dsKeyword" color="#0000ff"/> + <itemData name="Command" defStyleNum="dsFunction"/> + <itemData name="Field" defStyleNum="dsDataType"/> + <itemData name="Ref Key" defStyleNum="dsOthers"/> + <itemData name="String" defStyleNum="dsString"/> + <itemData name="Char" defStyleNum="dsChar"/> + </itemDatas> + </highlighting> + <general> + <keywords casesensitive="0" weakDeliminator="\" wordWrapDeliminator=",{}[]"/> + </general> +</language> diff --git a/kate/data/c.xml b/kate/data/c.xml new file mode 100644 index 000000000..d4e8f1dd4 --- /dev/null +++ b/kate/data/c.xml @@ -0,0 +1,167 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="C" version="1.25" kateversion="2.4" section="Sources" extensions="*.c;*.C;*.h" mimetype="text/x-csrc;text/x-c++src;text/x-chdr" priority="5"> + <highlighting> + <list name="keywords"> + <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> sizeof </item> + <item> struct </item> + <item> switch </item> + <item> typedef </item> + <item> union </item> + <item> while </item> + </list> + <list name="types"> + <item> auto </item> + <item> char </item> + <item> const </item> + <item> double </item> + <item> float </item> + <item> int </item> + <item> long </item> + <item> register </item> + <item> restrict </item> + <item> short </item> + <item> signed </item> + <item> static </item> + <item> unsigned </item> + <item> void </item> + <item> volatile </item> + <item> int8_t </item> + <item> int16_t </item> + <item> int32_t </item> + <item> int64_t </item> + <item> uint8_t </item> + <item> uint16_t </item> + <item> uint32_t </item> + <item> uint64_t </item> + <item> wchar_t </item> + <item> _Imaginary </item> + <item> _Complex </item> + <item> _Bool </item> + </list> + <contexts> + <context attribute="Normal Text" lineEndContext="#stay" name="Normal"> + <DetectSpaces /> + <RegExpr attribute="Preprocessor" context="Outscoped" String="#\s*if\s+0" beginRegion="Outscoped" firstNonSpace="true" /> + <DetectChar attribute="Preprocessor" context="Preprocessor" char="#" firstNonSpace="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="Keyword" context="#stay" String="keywords"/> + <keyword attribute="Data Type" context="#stay" String="types"/> + <DetectIdentifier /> + <DetectChar attribute="Symbol" context="#stay" char="{" beginRegion="Brace1" /> + <DetectChar attribute="Symbol" context="#stay" char="}" endRegion="Brace1" /> + <Float attribute="Float" context="#stay"> + <AnyChar String="fF" attribute="Float" context="#stay"/> + </Float> + <HlCOct attribute="Octal" context="#stay"/> + <HlCHex attribute="Hex" context="#stay"/> + <Int attribute="Decimal" context="#stay" > + <StringDetect attribute="Decimal" context="#stay" String="ULL" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="LUL" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="LLU" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="UL" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="LU" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="LL" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="U" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="L" insensitive="TRUE"/> + </Int> + <HlCChar attribute="Char" context="#stay"/> + <DetectChar attribute="String" context="String" char="""/> + <IncludeRules context="##Doxygen" /> + <Detect2Chars attribute="Comment" context="Commentar 1" char="/" char1="/"/> + <Detect2Chars attribute="Comment" context="Commentar 2" char="/" char1="*" beginRegion="Comment"/> + <AnyChar attribute="Symbol" context="#stay" String=":!%&()+,-/.*<=>?[]|~^;"/> + </context> + <context attribute="String" lineEndContext="#pop" name="String"> + <LineContinue attribute="String" context="#stay"/> + <HlCStringChar attribute="String Char" context="#stay"/> + <DetectChar attribute="String" context="#pop" char="""/> + </context> + <context attribute="Region Marker" lineEndContext="#pop" name="Region Marker"> + </context> + <context attribute="Comment" lineEndContext="#pop" name="Commentar 1"> + <IncludeRules context="##Alerts" /> + </context> + <context attribute="Comment" lineEndContext="#stay" name="Commentar 2"> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment"/> + <IncludeRules context="##Alerts" /> + </context> + <context attribute="Preprocessor" lineEndContext="#pop" name="Preprocessor"> + <LineContinue attribute="Preprocessor" context="#stay"/> + <RegExpr attribute="Preprocessor" context="Define" String="define.*((?=\\))"/> + <RegExpr attribute="Preprocessor" context="#stay" String="define.*"/> + <RangeDetect attribute="Prep. Lib" context="#stay" char=""" char1="""/> + <RangeDetect attribute="Prep. Lib" context="#stay" char="<" char1=">"/> + <IncludeRules context="##Doxygen" /> + <Detect2Chars attribute="Comment" context="Commentar/Preprocessor" char="/" char1="*" beginRegion="Comment2"/> + </context> + <context attribute="Preprocessor" lineEndContext="#pop" name="Define"> + <LineContinue attribute="Preprocessor" context="#stay"/> + </context> + <context attribute="Comment" lineEndContext="#stay" name="Commentar/Preprocessor"> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment2" /> + </context> + <context attribute="Comment" lineEndContext="#stay" name="Outscoped" > + <DetectSpaces /> + <IncludeRules context="##Alerts" /> + <DetectIdentifier /> + <DetectChar attribute="String" context="String" char="""/> + <IncludeRules context="##Doxygen" /> + <Detect2Chars attribute="Comment" context="Commentar 1" char="/" char1="/"/> + <Detect2Chars attribute="Comment" context="Commentar 2" char="/" char1="*" beginRegion="Comment"/> + <RegExpr attribute="Comment" context="Outscoped intern" String="#\s*if" beginRegion="Outscoped" firstNonSpace="true" /> + <RegExpr attribute="Preprocessor" context="#pop" String="#\s*(endif|else|elif)" endRegion="Outscoped" firstNonSpace="true" /> + </context> + <context attribute="Comment" lineEndContext="#stay" name="Outscoped intern"> + <DetectSpaces /> + <IncludeRules context="##Alerts" /> + <DetectIdentifier /> + <DetectChar attribute="String" context="String" char="""/> + <IncludeRules context="##Doxygen" /> + <Detect2Chars attribute="Comment" context="Commentar 1" char="/" char1="/"/> + <Detect2Chars attribute="Comment" context="Commentar 2" char="/" char1="*" beginRegion="Comment"/> + <RegExpr attribute="Comment" context="Outscoped intern" String="#\s*if" beginRegion="Outscoped" firstNonSpace="true" /> + <RegExpr attribute="Comment" context="#pop" String="#\s*endif" endRegion="Outscoped" firstNonSpace="true" /> + </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="String" defStyleNum="dsString"/> + <itemData name="String Char" defStyleNum="dsChar"/> + <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="Alert" defStyleNum="dsAlert" /> + <itemData name="Region Marker" defStyleNum="dsRegionMarker" /> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="singleLine" start="//" /> + <comment name="multiLine" start="/*" end="*/" /> + </comments> + <keywords casesensitive="1" additionalDeliminator="'"" /> + </general> +</language> diff --git a/kate/data/cg.xml b/kate/data/cg.xml new file mode 100644 index 000000000..338d0d23a --- /dev/null +++ b/kate/data/cg.xml @@ -0,0 +1,288 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> + +<!-- + ** Cg Syntax Rules ** + + NOTES: + - some stuff stolen from c.xml + + TODO: + - some exotic keywords are missing, find out which; the spec is a bloody mess + +2004-05-25 + * Initial release +2004-05-27 + * Added swizzle highlighting + * Added stdlib function highlighting +2004-12-07 (julien.antille at kdemail.net) + * Added COLOR1 through COLOR3 output sementics, for Multiple Render Targets (MRTs). + * Added FACE sementic for the new fp40 profile +--> + +<language name="Cg" section="Sources" extensions="*.cg" mimetype="text/x-cgsrc" version="1.11" kateversion="2.4" author="Florian Schanda (florian.schanda@schanda.de)" license="LGPL"> + <highlighting> + <list name="binding"> + <item>POSITION</item> + <item>COLOR</item> + <item>COLOR0</item> + <item>COLOR1</item> + <item>COLOR2</item> + <item>COLOR3</item> + <item>TEXCOORD0</item> + <item>TEXCOORD1</item> + <item>TEXCOORD2</item> + <item>TEXCOORD3</item> + <item>TEXCOORD4</item> + <item>TEXCOORD5</item> + <item>TEXCOORD6</item> + <item>TEXCOORD7</item> + <item>TEXCOORD8</item> + <item>TEXCOORD9</item> + <item>TEXCOORD10</item> + <item>TEXCOORD11</item> + <item>TEXCOORD12</item> + <item>TEXCOORD13</item> + <item>TEXCOORD14</item> + <item>TEXCOORD15</item> + <item>TEXUNIT0</item> + <item>TEXUNIT1</item> + <item>TEXUNIT2</item> + <item>TEXUNIT3</item> + <item>TEXUNIT4</item> + <item>TEXUNIT5</item> + <item>TEXUNIT6</item> + <item>TEXUNIT7</item> + <item>TEXUNIT8</item> + <item>TEXUNIT9</item> + <item>TEXUNIT10</item> + <item>TEXUNIT11</item> + <item>TEXUNIT12</item> + <item>TEXUNIT13</item> + <item>TEXUNIT14</item> + <item>TEXUNIT15</item> + <item>WPOS</item> + <item>DEPTH</item> + <item>BLENDWEIGHT</item> + <item>NORMAL</item> + <item>TESSFACTOR</item> + <item>FOGCOORD</item> + <item>PSIZE</item> + <item>BLENDINDICES</item> + <item>TANGENT</item> + <item>BINORMAL</item> + <item>FOG</item> + <item>BCOL0</item> + <item>BCOL1</item> + <item>FACE</item> + </list> + <list name="keywords"> + <item>do</item> + <item>while</item> + <item>if</item> + <item>else</item> + <item>for</item> + <item>struct</item> + <item>return</item> + <item>static</item> + <item>typedef</item> + <item>discard</item> + <item>true</item> + <item>false</item> + </list> + <list name="types"> + <item>bool</item> + <item>int</item> + <item>fixed</item> + <item>half</item> + <item>float</item> + + <item>void</item> + <item>sampler</item> + <item>sampler1D</item> + <item>sampler2D</item> + <item>sampler3D</item> + <item>samplerCUBE</item> + <item>samplerRECT</item> + + <item>packed</item> + <item>const</item> + <item>uniform</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"> + <item>abs</item> + <item>acos</item> + <item>all</item> + <item>any</item> + <item>asin</item> + <item>atan</item> + <item>atan2</item> + <item>ceil</item> + <item>clamp</item> + <item>cos</item> + <item>cosh</item> + <item>cross</item> + <item>degrees</item> <!-- the spec got this wrong... --> + <item>determinant</item> + <item>dot</item> + <item>exp</item> + <item>exp2</item> + <item>floor</item> + <item>fmod</item> + <item>frac</item> + <item>frexp</item> + <item>isfinite</item> + <item>isinf</item> + <item>isnan</item> + <item>ldexp</item> + <item>lerp</item> + <item>lit</item> + <item>log</item> + <item>log2</item> + <item>log10</item> + <item>max</item> + <item>min</item> + <item>modf</item> + <item>mul</item> + <item>noise</item> + <item>pow</item> + <item>radians</item> + <item>round</item> + <item>rsqrt</item> + <item>saturate</item> + <item>sign</item> + <item>sin</item> + <item>sincos</item> + <item>sinh</item> + <item>smoothstep</item> + <item>step</item> + <item>sqrt</item> + <item>tan</item> + <item>tanh</item> + <item>transpose</item> + <item>distance</item> + <item>faceforward</item> + <item>length</item> + <item>normalize</item> + <item>reflect</item> + <item>refract</item> + <item>tex1D</item> + <item>tex1Dproj</item> + <item>tex2D</item> + <item>tex2Dproj</item> + <item>texRECT</item> + <item>texRECTproj</item> + <item>tex3D</item> + <item>tex3Dproj</item> + <item>texCUBE</item> + <item>texCUBEproj</item> + <item>ddx</item> + <item>ddy</item> + <item>debug</item> + <item>pack_2half</item> + <item>unpack_2half</item> + <item>pack_2ushort</item> + <item>unpack_2ushort</item> + <item>pack_4byte</item> + <item>unpack_4byte</item> + <item>pack_4ubyte</item> + <item>unpack_4ubyte</item> + </list> + <list name="stdstruct"> + <item>fragout</item> + <item>fragout_float</item> + </list> + <contexts> + <context attribute="Normal Text" lineEndContext="#stay" name="Normal"> + <keyword String="keywords" attribute="Keyword" context="#stay" /> + <keyword String="binding" attribute="Binding" context="#stay" /> + <keyword String="attention" attribute="Alert" context="#stay" /> + + <DetectChar attribute="Symbol" context="#stay" char="{" beginRegion="Brace1" /> + <DetectChar attribute="Symbol" context="#stay" char="}" endRegion="Brace1" /> + + <RegExpr String="float[1234](x[1234])?" attribute="Data Type" context="#stay" /> + <RegExpr String="half[1234](x[1234])?" attribute="Data Type" context="#stay" /> + <RegExpr String="fixed[1234](x[1234])?" attribute="Data Type" context="#stay" /> + <RegExpr String="bool[1234](x[1234])?" attribute="Data Type" context="#stay" /> + <RegExpr String="int[1234](x[1234])?" attribute="Data Type" context="#stay" /> + <keyword String="types" attribute="Data Type" context="#stay" /> + <keyword String="stdstruct" attribute="Data Type" context="#stay" /> + + <RegExpr String="[0123456789]*[.][0123456789]+f" attribute="Float" context="#stay" /> + <RegExpr String="[0123456789]*[.][0123456789]+h" attribute="Half" context="#stay" /> + <RegExpr String="[0123456789]*[.][0123456789]+x" attribute="Fixed" context="#stay" /> + <RegExpr String="[0123456789]*[.][0123456789]+" attribute="Float" 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"/> + + <keyword String="stdlib" attribute="StdFunction" context="#stay" /> + + <RegExpr attribute="Function" context="#stay" String="\b[_\w][_\w\d]*(?=[\s]*[(])" /> + + <RegExpr attribute="Swizzle" context="#stay" String="[.]{1,1}[rgbaxyzw]+(?=[\s/*-+<>])" /> + + <RegExpr attribute="Symbol" context="Member" String="[.]{1,1}" /> + <AnyChar attribute="Symbol" context="#stay" String=":!%&()+,-/.*<=>?[]|~^;"/> + </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="Commentar/Preprocessor" attribute="Comment" lineEndContext="#stay"> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment2" /> + </context> + <context name="Outscoped" attribute="Comment" lineEndContext="#stay"> + <Detect2Chars attribute="Comment" context="Commentar 2" char="/" char1="*" beginRegion="Comment"/> + <keyword attribute="Alert" context="#stay" String="attention" /> + <RegExpr attribute="Comment" context="Outscoped intern" String="#\s*if" beginRegion="Outscoped" firstNonSpace="true"/> + <RegExpr attribute="Preprocessor" context="#pop" String="#\s*(endif|else|elif)" endRegion="Outscoped" firstNonSpace="true"/> + </context> + <context name="Outscoped intern" attribute="Comment" lineEndContext="#stay"> + <Detect2Chars attribute="Comment" context="Commentar 2" char="/" char1="*" beginRegion="Comment"/> + <RegExpr attribute="Comment" context="Outscoped intern" String="#\s*if" beginRegion="Outscoped" firstNonSpace="true"/> + <RegExpr attribute="Comment" context="#pop" String="#\s*endif" endRegion="Outscoped" firstNonSpace="true"/> + </context> + </contexts> + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Binding" defStyleNum="dsKeyword"/> + <itemData name="Keyword" defStyleNum="dsKeyword"/> + <itemData name="Function" defStyleNum="dsFunction" bold="0"/> + <itemData name="StdFunction" defStyleNum="dsFunction" bold="1"/> + <itemData name="Data Type" defStyleNum="dsDataType"/> + <itemData name="Decimal" defStyleNum="dsDecVal"/> + <itemData name="Float" defStyleNum="dsFloat"/> + <itemData name="Half" defStyleNum="dsFloat"/> + <itemData name="Fixed" defStyleNum="dsFloat"/> + <itemData name="Symbol" defStyleNum="dsNormal"/> + <itemData name="Swizzle" defStyleNum="dsNormal" bold="1"/> + <itemData name="Comment" defStyleNum="dsComment"/> + <itemData name="Alert" defStyleNum="dsAlert" /> + <itemData name="Error" defStyleNum="dsError" /> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="singleLine" start="//" /> + <comment name="multiLine" start="/*" end="*/" /> + </comments> + <keywords casesensitive="1" /> + </general> +</language> diff --git a/kate/data/cgis.xml b/kate/data/cgis.xml new file mode 100644 index 000000000..dda121fe7 --- /dev/null +++ b/kate/data/cgis.xml @@ -0,0 +1,146 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="CGiS" version="1.02" kateversion="2.4" section="Sources" extensions="*.cgis" mimetype=""> + <highlighting> + <list name="keywords"> + <item> 1D </item> + <item> 2D </item> + <item> break </item> + <item> continue </item> + <item> do </item> + <item> else </item> + <item> extern </item> + <item> for </item> + <item> forall </item> + <item> foreach </item> + <item> function </item> + <item> if </item> + <item> in </item> + <item> inout </item> + <item> internal </item> + <item> out </item> + <item> reduction </item> + <item> return </item> + <item> struct </item> + <item> typedef </item> + <item> while </item> + </list> + <list name="types"> + <item> bool </item> + <item> bool2 </item> + <item> bool3 </item> + <item> bool4 </item> + <item> int </item> + <item> int2 </item> + <item> int3 </item> + <item> int4 </item> + <item> half </item> + <item> half2 </item> + <item> half3 </item> + <item> half4 </item> + <item> float </item> + <item> float2 </item> + <item> float3 </item> + <item> float4 </item> + </list> + <contexts> + <context attribute="Normal Text" lineEndContext="#stay" name="Normal"> + <DetectSpaces /> + <StringDetect attribute="Keyword" context="#stay" String="PROGRAM" /> + <StringDetect attribute="Keyword" context="Interface" String="INTERFACE" /> + </context> + + <context attribute="Normal Text" lineEndContext="#stay" name="Interface"> + <DetectSpaces /> + <StringDetect attribute="Keyword" context="Control" String="CONTROL" /> + <StringDetect attribute="Keyword" context="Code" String="CODE" /> + + <IncludeRules context="Common" /> + </context> + + <context attribute="Normal Text" lineEndContext="#stay" name="Code"> + <DetectSpaces /> + <StringDetect attribute="Keyword" context="Control" String="CONTROL" /> + + <StringDetect attribute="Hint" context="Hint" String="#HINT" /> + + <IncludeRules context="Common" /> + </context> + + <context attribute="Normal Text" lineEndContext="#stay" name="Control"> + <DetectSpaces /> + <StringDetect attribute="Keyword" context="Code" String="CODE" /> + + <IncludeRules context="Common" /> + </context> + + <context attribute="Normal Text" lineEndContext="#stay" name="Common"> + <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="Keyword" context="#stay" String="keywords"/> + <keyword attribute="Data Type" context="#stay" String="types"/> + <DetectIdentifier /> + <DetectChar attribute="Symbol" context="#stay" char="{" beginRegion="Brace1" /> + <DetectChar attribute="Symbol" context="#stay" char="}" endRegion="Brace1" /> + <Float attribute="Float" context="#stay"> + <AnyChar String="fF" attribute="Float" context="#stay"/> + </Float> + <HlCOct attribute="Octal" context="#stay"/> + <HlCHex attribute="Hex" context="#stay"/> + <Int attribute="Decimal" context="#stay"/> + <IncludeRules context="##Doxygen" /> + <Detect2Chars attribute="Comment" context="Commentar 1" char="/" char1="/"/> + <Detect2Chars attribute="Comment" context="Commentar 2" char="/" char1="*" beginRegion="Comment"/> + </context> + + <context attribute="Hint" lineEndContext="#stay" name="Hint"> + <DetectSpaces /> + <DetectChar attribute="Hint" context="#pop" char=")" /> + <DetectIdentifier /> + </context> + + <context attribute="Region Marker" lineEndContext="#pop" name="Region Marker"> + </context> + <context attribute="Comment" lineEndContext="#pop" name="Commentar 1"> + <IncludeRules context="##Alerts" /> + </context> + <context attribute="Comment" lineEndContext="#stay" name="Commentar 2"> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment"/> + <IncludeRules context="##Alerts" /> + </context> + <context attribute="Region Marker" lineEndContext="#pop" name="Region Marker"> + </context> + <context attribute="Comment" lineEndContext="#pop" name="Commentar 1"> + <IncludeRules context="##Alerts" /> + </context> + <context attribute="Comment" lineEndContext="#stay" name="Commentar 2"> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment"/> + <IncludeRules context="##Alerts" /> + </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="String" defStyleNum="dsString"/> + <itemData name="String Char" defStyleNum="dsChar"/> + <itemData name="Comment" defStyleNum="dsComment"/> + <itemData name="Symbol" defStyleNum="dsNormal"/> + <itemData name="Alert" defStyleNum="dsAlert" /> + <itemData name="Region Marker" defStyleNum="dsRegionMarker" /> + <itemData name="Hint " defStyleNum="dsOthers"/> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="singleLine" start="//" /> + <comment name="multiLine" start="/*" end="*/" /> + </comments> + <keywords casesensitive="1" /> + </general> +</language> diff --git a/kate/data/changelog.xml b/kate/data/changelog.xml new file mode 100644 index 000000000..aec339214 --- /dev/null +++ b/kate/data/changelog.xml @@ -0,0 +1,29 @@ +<?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"> + <highlighting> + <contexts> + <context attribute="Normal Text" lineEndContext="#stay" name="Normal"> + <DetectChar attribute="Entry" context="entry" char="*" firstNonSpace="true" /> + <RegExpr attribute="Date" context="line" String="\d\d\d\d\s*-\s*\d\d\s*-\s*\d\d\s*" column="0"/> + </context> + <context attribute="Normal Text" lineEndContext="#pop" name="line"> + <RegExpr attribute="Name" context="#stay" String="(\w\s*)+"/> + <RegExpr attribute="E-Mail" context="#pop" String="<.*>\s*$"/> + </context> + <context attribute="Normal Text" lineEndContext="#pop" name="entry"> + <RegExpr attribute="Entry" context="#pop" String=".*:" minimal="true"/> + </context> + </contexts> + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Name" defStyleNum="dsKeyword"/> + <itemData name="E-Mail" defStyleNum="dsOthers"/> + <itemData name="Date" defStyleNum="dsDataType"/> + <itemData name="Entry" defStyleNum="dsDecVal"/> + </itemDatas> + </highlighting> + <general> + <keywords casesensitive="1" /> + </general> +</language> diff --git a/kate/data/cisco.xml b/kate/data/cisco.xml new file mode 100644 index 000000000..47c788807 --- /dev/null +++ b/kate/data/cisco.xml @@ -0,0 +1,312 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="Cisco" version="1.10" kateversion="2.4" section="Configuration" extensions="*.cis" mimetype="text/cisco" author="Raphaël GRAPINET" license="LGPL"> + <highlighting> + <list name = "commands"> + <item> aaa </item> + <item> access-list </item> + <item> address </item> + <item> alias </item> + <item> arp </item> + <item> async-bootp </item> + <item> banner </item> + <item> boot </item> + <item> bridge </item> + <item> buffers </item> + <item> busy-message </item> + <item> call-history-mib </item> + <item> cdp </item> + <item> chat-script </item> + <item> class-map </item> + <item> clock </item> + <item> cns </item> + <item> config-register </item> + <item> controller </item> + <item> crypto </item> + <item> default </item> + <item> default-value </item> + <item> dialer </item> + <item> dialer-list </item> + <item> dnsix-dmdp </item> + <item> dnsix-nat </item> + <item> downward-compatible-config </item> + <item> enable </item> + <item> end </item> + <item> exception </item> + <item> exit </item> + <item> file </item> + <item> frame-relay </item> + <item> help </item> + <item> hostname </item> + <item> interface </item> + <item> ip </item> + <item> isdn </item> + <item> isdn-mib </item> + <item> kerberos </item> + <item> key </item> + <item> line </item> + <item> logging </item> + <item> login-string </item> + <item> map-class </item> + <item> map-list </item> + <item> memory-size </item> + <item> menu </item> + <item> modemcap </item> + <item> multilink </item> + <item> netbios </item> + <item> no </item> + <item> ntp </item> + <item> partition </item> + <item> policy-map </item> + <item> priority-list </item> + <item> privilege </item> + <item> process-max-time </item> + <item> prompt </item> + <item> queue-list </item> + <item> resume-string </item> + <item> rlogin </item> + <item> rmon </item> + <item> route-map </item> + <item> router </item> + <item> rtr </item> + <item> scheduler </item> + <item> service </item> + <item> snmp-server </item> + <item> sntp </item> + <item> stackmaker </item> + <item> state-machine </item> + <item> subscriber-policy </item> + <item> tacacs-server </item> + <item> template </item> + <item> terminal-queue </item> + <item> tftp-server </item> + <item> time-range </item> + <item> username </item> + <item> virtual-profile </item> + <item> virtual-template </item> + <item> vpdn </item> + <item> vpdn-group </item> + <item> x25 </item> + <item> x29 </item> + </list> + <list name = "parameters"> + <item> accounting </item> + <item> accounting-list </item> + <item> accounting-threshold </item> + <item> accounting-transits </item> + <item> address-pool </item> + <item> as-path </item> + <item> audit </item> + <item> auth-proxy </item> + <item> authentication </item> + <item> authorization </item> + <item> bgp-community </item> + <item> bootp </item> + <item> cef </item> + <item> classless </item> + <item> community-list </item> + <item> default-gateway </item> + <item> default-network </item> + <item> dhcp </item> + <item> dhcp-server </item> + <item> domain-list </item> + <item> domain-lookup </item> + <item> domain-name </item> + <item> dvmrp </item> + <item> exec-callback </item> + <item> extcommunity-list </item> + <item> finger </item> + <item> flow-aggregation </item> + <item> flow-cache </item> + <item> flow-export </item> + <item> forward-protocol </item> + <item> ftp </item> + <item> gratuitous-arps </item> + <item> host </item> + <item> host-routing </item> + <item> hp-host </item> + <item> http </item> + <item> icmp </item> + <item> inspect </item> + <item> local </item> + <item> mrm </item> + <item> mroute </item> + <item> msdp </item> + <item> multicast </item> + <item> multicast-routing </item> + <item> name-server </item> + <item> nat </item> + <item> new-model </item> + <item> ospf </item> + <item> password </item> + <item> password-encryption </item> + <item> pgm </item> + <item> pim </item> + <item> port-map </item> + <item> prefix-list </item> + <item> radius </item> + <item> rcmd </item> + <item> reflexive-list </item> + <item> route </item> + <item> routing </item> + <item> rsvp </item> + <item> rtcp </item> + <item> sap </item> + <item> sdr </item> + <item> security </item> + <item> source-route </item> + <item> subnet-zero </item> + <item> tacacs </item> + <item> tcp </item> + <item> tcp-small-servers </item> + <item> telnet </item> + <item> tftp </item> + <item> timestamps </item> + <item> udp-small-servers </item> + <item> vrf </item> + <item> wccp </item> + </list> + <list name = "options"> + <item> accounting </item> + <item> accounting-list </item> + <item> accounting-threshold </item> + <item> accounting-transits </item> + <item> address-pool </item> + <item> as-path </item> + <item> audit </item> + <item> auth-proxy </item> + <item> authentication </item> + <item> authorization </item> + <item> bgp-community </item> + <item> bootp </item> + <item> cef </item> + <item> classless </item> + <item> community-list </item> + <item> default-gateway </item> + <item> default-network </item> + <item> dhcp </item> + <item> dhcp-server </item> + <item> domain-list </item> + <item> domain-lookup </item> + <item> domain-name </item> + <item> dvmrp </item> + <item> exec-callback </item> + <item> extcommunity-list </item> + <item> finger </item> + <item> flow-aggregation </item> + <item> flow-cache </item> + <item> flow-export </item> + <item> forward-protocol </item> + <item> ftp </item> + <item> gratuitous-arps </item> + <item> host </item> + <item> host-routing </item> + <item> hp-host </item> + <item> http </item> + <item> icmp </item> + <item> inspect </item> + <item> local </item> + <item> mrm </item> + <item> mroute </item> + <item> msdp </item> + <item> multicast </item> + <item> multicast-routing </item> + <item> name-server </item> + <item> nat </item> + <item> new-model </item> + <item> ospf </item> + <item> password </item> + <item> password-encryption </item> + <item> pgm </item> + <item> pim </item> + <item> port-map </item> + <item> prefix-list </item> + <item> radius </item> + <item> rcmd </item> + <item> reflexive-list </item> + <item> route </item> + <item> routing </item> + <item> rsvp </item> + <item> rtcp </item> + <item> sap </item> + <item> sdr </item> + <item> security </item> + <item> source-route </item> + <item> subnet-zero </item> + <item> tacacs </item> + <item> tcp </item> + <item> tcp-small-servers </item> + <item> telnet </item> + <item> tftp </item> + <item> timestamps </item> + <item> udp-small-servers </item> + <item> vrf </item> + <item> wccp </item> + </list> + <contexts> + <context name = "Base" attribute = "Normal Text" lineEndContext = "#stay"> + <RegExpr attribute="Keyword" context="#stay" String="\bdone\b" insensitive="TRUE" endRegion="dodone1"/> + <RegExpr attribute="Keyword" context="#stay" String="\bdo\b" insensitive="TRUE" beginRegion="dodone1"/> + <RegExpr attribute="Keyword" context="#stay" String="\belif\b" insensitive="TRUE" beginRegion="iffi1" endRegion="iffi1"/> + <RegExpr attribute="Keyword" context="#stay" String="\bif\b" insensitive="TRUE" beginRegion="iffi1"/> + <RegExpr attribute="Keyword" context="#stay" String="\bfi\b" insensitive="TRUE" endRegion="iffi1"/> + <RegExpr attribute="Keyword" context="#stay" String="\bcase\b" insensitive="TRUE" beginRegion="case1"/> + <RegExpr attribute="Keyword" context="#stay" String="\besac\b" insensitive="TRUE" endRegion="case1"/> + <RegExpr attribute="Keyword" context="#stay" String="[^()]+\)" insensitive="TRUE" beginRegion="subcase1" column="0"/> + <Detect2Chars attribute="Keyword" context="#stay" char=";" char1=";" endRegion="subcase1"/> + <DetectChar attribute="Keyword" context="#stay" char="{" beginRegion="func1"/> + <DetectChar attribute="Keyword" context="#stay" char="}" endRegion="func1"/> + + <keyword String = "commands" attribute = "Command" context = "#stay"/> + <keyword String = "parameters" attribute = "Parameter" context = "#stay"/> + <keyword String = "options" attribute = "Keyword" context = "#stay"/> + <Int attribute = "Decimal" context = "#stay"/> + <RegExpr String = "\$[A-Za-z0-9_?{}!]+" attribute = "Parameter" context = "#stay"/> + <RangeDetect char = """ char1 = """ attribute = "String" context = "#stay"/> + <AnyChar String = "|<>=;" attribute = "Operator" context = "#stay"/> + <DetectChar char="'" attribute = "String" context = "Single Quote"/> + <DetectChar char="`" attribute = "Substitution" context = "Substitution"/> + <Detect2Chars attribute = "Normal Text" context = "#stay" char = "\" char1 = "#"/> + <RegExpr String= "#.*$" attribute = "Comment" context="#stay"/> + + </context> + <context name = "String" attribute = "String" lineEndContext="#stay"> + <Detect2Chars char = "\" char1 = "\" attribute = "String" context = "#stay"/> + <Detect2Chars char = "\" char1 = """ attribute = "String" context = "#stay"/> + <DetectChar char = """ attribute = "String" context = "#pop"/> + </context> + <context name = "Single Quote" attribute = "String" lineEndContext="#stay"> + <Detect2Chars char = "\" char1 = "\" attribute = "String" context = "#stay"/> + <Detect2Chars char = "\" char1 = "'" attribute = "String" context = "#stay"/> + <DetectChar char = "'" attribute = "String" context = "#pop"/> + </context> + <context name = "Substitution" attribute = "Substitution" lineEndContext="#stay"> + <Detect2Chars char = "\" char1 = "\" attribute = "String" context = "#stay"/> + <Detect2Chars char = "\" char1 = "`" attribute = "String" context = "#stay"/> + <DetectChar char = "`" attribute = "Substitution" context = "#pop"/> + </context> + <context name = "Parameter" attribute = "Parameter" lineEndContext="#stay"> + <RegExpr String = "\$[A-Za-z0-9_?]+" attribute = "Parameter" context="#pop"/> + </context> + </contexts> + <itemDatas> + <itemData name = "Normal Text" defStyleNum = "dsNormal"/> + <itemData name = "Keyword" defStyleNum = "dsKeyword"/> + <itemData name = "Decimal" defStyleNum = "dsDecVal"/> + <itemData name = "Float" defStyleNum = "dsFloat"/> + <itemData name = "Char" defStyleNum = "dsChar"/> + <itemData name = "String" defStyleNum = "dsString"/> + <itemData name = "Comment" defStyleNum = "dsComment"/> + <itemData name = "Substitution" defStyleNum = "dsOthers"/> + <itemData name = "Parameter" defStyleNum = "dsOthers"/> + <itemData name = "Operator" defStyleNum = "dsOthers"/> + <itemData name = "Command" defStyleNum = "dsNormal"/> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="singleLine" start="!"/> + </comments> + <keywords casesensitive="0"/> + </general> +</language> diff --git a/kate/data/clipper.xml b/kate/data/clipper.xml new file mode 100644 index 000000000..11bba638a --- /dev/null +++ b/kate/data/clipper.xml @@ -0,0 +1,501 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="Clipper" version="1.05" kateversion="2.3" section="Sources" extensions="*.prg;*.PRG;*.ch" mimetype="text/x-clipper-src" priority="2" author="Andrey Cherepanov (sibskull@mail.ru)" license="GPL"> + <highlighting> + + <list name="keywords"> + <!-- compiler directives and structures --> + <item> .and. </item> + <item> announce </item> + <item> begin </item> + <item> case </item> + <item> command </item> + <item> define </item> + <item> do </item> + <item> elseif </item> + <item> else </item> + <item> endcase </item> + <item> enddo </item> + <item> endif </item> + <item> error </item> + <item> exit </item> + <item> field </item> + <item> .f. </item> + <item> for </item> + <item> function </item> + <item> ifdef </item> + <item> if </item> + <item> include </item> + <item> init </item> + <item> inndef </item> + <item> local </item> + <item> memvar </item> + <item> next </item> + <item> nil </item> + <item> .not. </item> + <item> .or. </item> + <item> other </item> + <item> parameters </item> + <item> private </item> + <item> procedure </item> + <item> public </item> + <item> request </item> + <item> return </item> + <item> sequence </item> + <item> static </item> + <item> stdout </item> + <item> .t. </item> + <item> traslate </item> + <item> undef </item> + <item> while </item> + <item> xcommand </item> + <item> xtranslate </item> + </list> + + <list name="commands"> + <!-- Commands --> + <item> accept </item> + <item> all </item> + <item> alternate </item> + <item> append </item> + <item> ascending </item> + <item> average </item> + <item> bell </item> + <item> blank </item> + <item> box </item> + <item> century </item> + <item> clear </item> + <item> close </item> + <item> coclor </item> + <item> color </item> + <item> commit </item> + <item> confirm </item> + <item> console </item> + <item> continue </item> + <item> copy </item> + <item> count </item> + <item> create </item> + <item> cursor </item> + <item> date </item> + <item> decimals </item> + <item> default </item> + <item> deleted </item> + <item> delete </item> + <item> delimiters </item> + <item> descending </item> + <item> device </item> + <item> display </item> + <item> do </item> + <item> eject </item> + <item> epoch </item> + <item> erase </item> + <item> escape </item> + <item> eval </item> + <item> every </item> + <item> exact </item> + <item> extended </item> + <item> file </item> + <item> filter </item> + <item> fixed </item> + <item> form </item> + <item> from </item> + <item> get </item> + <item> gets </item> + <item> go </item> + <item> goto </item> + <item> index </item> + <item> input </item> + <item> intensity </item> + <item> ? </item> + <item> ?? </item> + <item> @ </item> + <item> join </item> + <item> keyboard </item> + <item> key </item> + <item> label </item> + <item> list </item> + <item> locate </item> + <item> margin </item> + <item> memory </item> + <item> menu </item> + <item> message </item> + <item> new </item> + <item> on </item> + <item> order </item> + <item> pack </item> + <item> path </item> + <item> pict </item> + <item> printer </item> + <item> prompt </item> + <item> quit </item> + <item> range </item> + <item> read </item> + <item> recall </item> + <item> record </item> + <item> reindex </item> + <item> relation </item> + <item> release </item> + <item> rename </item> + <item> replace </item> + <item> report </item> + <item> rest </item> + <item> restore </item> + <item> run </item> + <item> save </item> + <item> say </item> + <item> scoreboard </item> + <item> seek </item> + <item> select </item> + <item> set </item> + <item> skip </item> + <item> softseek </item> + <item> sort </item> + <item> structure </item> + <item> sum </item> + <item> tag </item> + <item> to </item> + <item> total </item> + <item> typeahead </item> + <item> type </item> + <item> unique </item> + <item> unlock </item> + <item> update </item> + <item> use </item> + <item> valid </item> + <item> wait </item> + <item> when </item> + <item> with </item> + <item> wrap </item> + <item> zap </item> + </list> + + <list name="functions"> + <!-- Functions --> + <item> aadd </item> + <item> abs </item> + <item> achoice </item> + <item> aclone </item> + <item> acopy </item> + <item> adel </item> + <item> aeval </item> + <item> afill </item> + <item> ains </item> + <item> alert </item> + <item> alias </item> + <item> alltrim </item> + <item> altd </item> + <item> array </item> + <item> ascan </item> + <item> asize </item> + <item> asort </item> + <item> atail </item> + <item> at </item> + <item> bin2i </item> + <item> bin2l </item> + <item> bin2w </item> + <item> bof </item> + <item> break </item> + <item> browse </item> + <item> cdowchr </item> + <item> chr </item> + <item> cmonth </item> + <item> col </item> + <item> colorselect </item> + <item> ctod </item> + <item> curdir </item> + <item> date </item> + <item> day </item> + <item> dbappend </item> + <item> dbclearall </item> + <item> dbclearfilter </item> + <item> dbclearindex </item> + <item> dbclearrelation </item> + <item> dbcloseall </item> + <item> dbclosearea </item> + <item> dbcommitall </item> + <item> dbcommit </item> + <item> dbcreateindex </item> + <item> dbcreate </item> + <item> dbdelete </item> + <item> dbedit </item> + <item> dbeval </item> + <item> dbfilter </item> + <item> dbf </item> + <item> dbgobottom </item> + <item> dbgoto </item> + <item> dbgotop </item> + <item> dbrecall </item> + <item> dbreindex </item> + <item> dbrelation </item> + <item> dbrlock </item> + <item> dbrlocklist </item> + <item> dbrselect </item> + <item> dbrunlock </item> + <item> dbseek </item> + <item> dbselectarea </item> + <item> dbsetfilter </item> + <item> dbsetindex </item> + <item> dbsetorder </item> + <item> dbsetrelation </item> + <item> dbskip </item> + <item> dbstruct </item> + <item> dbunlockall </item> + <item> dbunlock </item> + <item> dbusearea </item> + <item> deleted </item> + <item> descend </item> + <item> devout </item> + <item> devpos </item> + <item> directory </item> + <item> dispbegin </item> + <item> dispbox </item> + <item> dispcount </item> + <item> dispend </item> + <item> dispout </item> + <item> dispspace </item> + <item> doserror </item> + <item> dow </item> + <item> dtoc </item> + <item> dtos </item> + <item> empty </item> + <item> eof </item> + <item> errorblock </item> + <item> errorinhandler </item> + <item> errorlevel </item> + <item> eval </item> + <item> exp </item> + <item> fclose </item> + <item> fcount </item> + <item> fcreate </item> + <item> ferase </item> + <item> ferror </item> + <item> fieldblock </item> + <item> fieldget </item> + <item> field </item> + <item> fieldname </item> + <item> fieldpos </item> + <item> fieldput </item> + <item> fieldwblock </item> + <item> file </item> + <item> flock </item> + <item> fopen </item> + <item> found </item> + <item> fread </item> + <item> freadstr </item> + <item> frename </item> + <item> fseek </item> + <item> fwrite </item> + <item> getactive </item> + <item> getenv </item> + <item> hardcr </item> + <item> header </item> + <item> i2bin </item> + <item> iif </item> + <item> indexext </item> + <item> indexkey </item> + <item> indexord </item> + <item> inkey </item> + <item> int </item> + <item> isalpha </item> + <item> iscolor </item> + <item> isdigit </item> + <item> islower </item> + <item> isprinter </item> + <item> isupper </item> + <item> l2bin </item> + <item> lastkey </item> + <item> lastrec </item> + <item> left </item> + <item> len </item> + <item> lock </item> + <item> log </item> + <item> lower </item> + <item> ltrim </item> + <item> lupdate </item> + <item> maxcol </item> + <item> max </item> + <item> maxrow </item> + <item> memoedit </item> + <item> memoline </item> + <item> memoread </item> + <item> memory </item> + <item> memotran </item> + <item> memowrit </item> + <item> memvarblock </item> + <item> min </item> + <item> mlcount </item> + <item> mlctopos </item> + <item> mlpos </item> + <item> mod </item> + <item> month </item> + <item> mpostolc </item> + <item> neterr </item> + <item> netname </item> + <item> nextkey </item> + <item> nosnow </item> + <item> ordbagext </item> + <item> ordbagname </item> + <item> ordcreate </item> + <item> orddestroy </item> + <item> ordfor </item> + <item> ordkey </item> + <item> ordlistadd </item> + <item> ordlistclear </item> + <item> ordlistrebuild </item> + <item> ordname </item> + <item> ordnumber </item> + <item> ordsetfocus </item> + <item> os </item> + <item> outerr </item> + <item> outstd </item> + <item> padc </item> + <item> padl </item> + <item> padr </item> + <item> pcol </item> + <item> pcount </item> + <item> proclineprocname </item> + <item> prow </item> + <item> qout </item> + <item> qqout </item> + <item> rat </item> + <item> rddlist </item> + <item> rddname </item> + <item> rddsetdefault </item> + <item> readexit </item> + <item> readinsert </item> + <item> readmodal </item> + <item> readvar </item> + <item> reccount </item> + <item> recno </item> + <item> recsize </item> + <item> replicate </item> + <item> restscreen </item> + <item> right </item> + <item> rlock </item> + <item> round </item> + <item> row </item> + <item> rtrim </item> + <item> savesreen </item> + <item> scroll </item> + <item> seconds </item> + <item> select </item> + <item> setblink </item> + <item> setcancel </item> + <item> setcolor </item> + <item> setcursor </item> + <item> setkey </item> + <item> setmode </item> + <item> setpos </item> + <item> setprc </item> + <item> soundex </item> + <item> space </item> + <item> sqrt </item> + <item> str </item> + <item> strtran </item> + <item> stuff </item> + <item> substr </item> + <item> time </item> + <item> tone </item> + <item> transform </item> + <item> trim </item> + <item> updated </item> + <item> upper </item> + <item> used </item> + <item> val </item> + <item> valtype </item> + <item> version </item> + </list> + + <contexts> + <context attribute="Normal Text" lineEndContext="#stay" name="Normal"> + <RegExpr attribute="Keyword" context="#stay" String="\bfunction\b" insensitive="TRUE" beginRegion="regFunction" /> + <RegExpr attribute="Keyword" context="#stay" String="^return\b" insensitive="TRUE" endRegion="regFunction" /> + <RegExpr attribute="Keyword" context="#stay" String="\bbegin\s+sequence\b" insensitive="TRUE" beginRegion="regSequence" /> + <RegExpr attribute="Keyword" context="#stay" String="\bend\s+sequence\b" insensitive="TRUE" endRegion="regSequence" /> + <RegExpr attribute="Keyword" context="#stay" String="\bdo\s+case\b" insensitive="TRUE" beginRegion="regDoCase" /> + <RegExpr attribute="Keyword" context="#stay" String="\bendcase\b" insensitive="TRUE" endRegion="regDoCase" /> + <RegExpr attribute="Keyword" context="#stay" String="\bdo\s+while\b" insensitive="TRUE" beginRegion="regDoWhile" /> + <RegExpr attribute="Keyword" context="#stay" String="\benddo\b" insensitive="TRUE" endRegion="regDoWhile" /> + <RegExpr attribute="Keyword" context="#stay" String="\bfor\b" insensitive="TRUE" beginRegion="regFor" /> + <RegExpr attribute="Keyword" context="#stay" String="\bnext\b" insensitive="TRUE" endRegion="regFor" /> + <RegExpr attribute="Keyword" context="#stay" String="\bif\b" insensitive="TRUE" beginRegion="regIf" /> + <RegExpr attribute="Keyword" context="#stay" String="\belseif\b" insensitive="TRUE" endRegion="regIf" beginRegion="regIf" /> + <RegExpr attribute="Keyword" context="#stay" String="\belse\b" insensitive="TRUE" endRegion="regIf" beginRegion="regIf" /> + <RegExpr attribute="Keyword" context="#stay" String="\bendif\b" insensitive="TRUE" endRegion="regIf" /> + <RegExpr attribute="Keyword" context="#stay" String="\bswitch\b" insensitive="TRUE" beginRegion="regSwitch" /> + <RegExpr attribute="Keyword" context="#stay" String="\bendswitch\b" insensitive="TRUE" endRegion="regSwitch" /> + + <keyword attribute="Keyword" context="#stay" String="keywords"/> + <keyword attribute="Command" context="#stay" String="commands"/> + <keyword attribute="Function" context="#stay" String="functions"/> + <HlCHex attribute="StringChar" context="#stay"/> + <DetectChar attribute="String" context="String" char="""/> + <RegExpr attribute="Region Marker" context="#stay" String="//\s*BEGIN.*$" beginRegion="regMarker"/> + <RegExpr attribute="Region Marker" context="#stay" String="//\s*END.*$" endRegion="regMarker"/> + <Detect2Chars attribute="Comment" context="LineComment" char="/" char1="/"/> + <RegExpr attribute="Comment" context="LineComment" String="^\s*\*.*$"/> + <Detect2Chars attribute="Comment" context="BlockComment" char="/" char1="*" beginRegion="Comment2" /> + <AnyChar attribute="Symbol" context="#stay" String="!%&()+,-<:=>[]^~"/> + <RegExpr attribute="Preprocessor" context="Preprocessor" String="#"/> + <Detect2Chars attribute="Eval Block" context="EvalBlock" char="{" char1="|"/> + <DetectChar attribute="String" context="String2" char="'"/> + + </context> + <context attribute="String" lineEndContext="#pop" name="String"> + <LineContinue attribute="String" context="#stay"/> + <HlCStringChar attribute="String Char" context="#stay"/> + <DetectChar attribute="String" context="#pop" char="""/> + </context> + <context attribute="Comment" lineEndContext="#pop" name="LineComment"> + <RegExpr attribute="Command" context="#stay" String="(FIXME|TODO|NOT(IC)?E)" /> + </context> + <context attribute="Comment" lineEndContext="#stay" name="BlockComment"> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment2" /> + <RegExpr attribute="Command" context="#stay" String="(FIXME|TODO|NOT(IC)?E)" /> + </context> + <context attribute="Preprocessor" lineEndContext="#pop" name="Preprocessor"> + <LineContinue attribute="Preprocessor" context="#stay"/> + <RangeDetect attribute="Prep. Lib" context="#stay" char=""" char1="""/> + <RangeDetect attribute="Prep. Lib" context="#stay" char="<" char1=">"/> + <RegExpr attribute="Region Marker" context="#stay" String="//\s*BEGIN.*$" beginRegion="regMarker"/> + <RegExpr attribute="Region Marker" context="#stay" String="//\s*END.*$" endRegion="regMarker"/> + <Detect2Chars attribute="Comment" context="LineComment" char="/" char1="/"/> + <Detect2Chars attribute="Comment" context="BlockComment" char="/" char1="*" beginRegion="Comment2" /> + </context> + <context attribute="Eval Block" lineEndContext="#stay" name="EvalBlock"> + <LineContinue attribute="Eval Block" context="#stay"/> + <DetectChar attribute="Eval Block" context="#pop" char="}" /> + </context> + <context attribute="String" lineEndContext="#pop" name="String2"> + <LineContinue attribute="String" context="#stay"/> + <HlCStringChar attribute="String Char" context="#stay"/> + <DetectChar attribute="String" context="#pop" char="'"/> + </context> + </contexts> + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Keyword" defStyleNum="dsKeyword"/> + <itemData name="Command" defStyleNum="dsDataType"/> + <itemData name="Function" defStyleNum="dsFunction"/> + <itemData name="Decimal" defStyleNum="dsDecVal"/> + <itemData name="Hex" defStyleNum="dsBaseN"/> + <itemData name="String" defStyleNum="dsString"/> + <itemData name="String Char" defStyleNum="dsChar"/> + <itemData name="Comment" defStyleNum="dsComment"/> + <itemData name="Symbol" defStyleNum="dsNormal"/> + <itemData name="Preprocessor" defStyleNum="dsOthers"/> + <itemData name="Prep. Lib" defStyleNum="dsOthers"/> + <itemData name="Eval Block" defStyleNum="dsOthers"/> +<!-- <itemData name="Region Marker" defStyleNum="dsNormal" color="#0000ff"/>--> + <itemData name="Region Marker" defStyleNum="dsRegionMarker"/> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="singleLine" start="*" /> + <comment name="singleLine" start="//" /> + <comment name="multiLine" start="/*" end="*/" /> + </comments> + <keywords casesensitive="0" weakDeliminator="?." /> + </general> +</language> diff --git a/kate/data/cmake.xml b/kate/data/cmake.xml new file mode 100644 index 000000000..0fa775860 --- /dev/null +++ b/kate/data/cmake.xml @@ -0,0 +1,352 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<!-- + This file is part of KDE's kate project. + + Copyright 2004 Alexander Neundorf (neundorf@kde.org) + Copyright 2005 Dominik Haumann (dhdev@gmx.de) + Copyright 2007,2008 Matthew Woehlke (mw_triad@users.sourceforge.net) + + ********************************************************************** + * This library is free software; you can redistribute it and/or * + * modify it under the terms of the GNU Lesser 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 * + * Lesser General Public License for more details. * + * * + * You should have received a copy of the GNU Lesser 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. * + ********************************************************************** + --> +<!-- generated for "cmake version 2.6-patch 2" --> +<language name="CMake" version="1.06" kateversion="2.4" section="Other" extensions="CMakeLists.txt;*.cmake;" mimetype="" author="Alexander Neundorf (neundorf@kde.org)" license="LGPL"> + <highlighting> + + <list name = "commands"> + <item> ADD_CUSTOM_COMMAND </item> + <item> ADD_CUSTOM_TARGET </item> + <item> ADD_DEFINITIONS </item> + <item> ADD_DEPENDENCIES </item> + <item> ADD_EXECUTABLE </item> + <item> ADD_LIBRARY </item> + <item> ADD_SUBDIRECTORY </item> + <item> ADD_TEST </item> + <item> AUX_SOURCE_DIRECTORY </item> + <item> BREAK </item> + <item> BUILD_COMMAND </item> + <item> BUILD_NAME </item> + <item> CMAKE_MINIMUM_REQUIRED </item> + <item> CMAKE_POLICY </item> + <item> CONFIGURE_FILE </item> + <item> CREATE_TEST_SOURCELIST </item> + <item> DEFINE_PROPERTY </item> + <item> ELSE </item> + <item> ELSEIF </item> + <item> ENABLE_LANGUAGE </item> + <item> ENABLE_TESTING </item> + <item> ENDFOREACH </item> + <item> ENDFUNCTION </item> + <item> ENDIF </item> + <item> ENDMACRO </item> + <item> ENDWHILE </item> + <item> EXECUTE_PROCESS </item> + <item> EXEC_PROGRAM </item> + <item> EXPORT </item> + <item> EXPORT_LIBRARY_DEPENDENCIES </item> + <item> FILE </item> + <item> FIND_FILE </item> + <item> FIND_LIBRARY </item> + <item> FIND_PACKAGE </item> + <item> FIND_PATH </item> + <item> FIND_PROGRAM </item> + <item> FLTK_WRAP_UI </item> + <item> FOREACH </item> + <item> FUNCTION </item> + <item> GET_CMAKE_PROPERTY </item> + <item> GET_DIRECTORY_PROPERTY </item> + <item> GET_FILENAME_COMPONENT </item> + <item> GET_PROPERTY </item> + <item> GET_SOURCE_FILE_PROPERTY </item> + <item> GET_TARGET_PROPERTY </item> + <item> GET_TEST_PROPERTY </item> + <item> IF </item> + <item> INCLUDE </item> + <item> INCLUDE_DIRECTORIES </item> + <item> INCLUDE_EXTERNAL_MSPROJECT </item> + <item> INCLUDE_REGULAR_EXPRESSION </item> + <item> INSTALL </item> + <item> INSTALL_FILES </item> + <item> INSTALL_PROGRAMS </item> + <item> INSTALL_TARGETS </item> + <item> ITK_WRAP_TCL </item> + <item> LINK_DIRECTORIES </item> + <item> LINK_LIBRARIES </item> + <item> LIST </item> + <item> LOAD_CACHE </item> + <item> LOAD_COMMAND </item> + <item> MACRO </item> + <item> MAKE_DIRECTORY </item> + <item> MARK_AS_ADVANCED </item> + <item> MATH </item> + <item> MESSAGE </item> + <item> OPTION </item> + <item> OUTPUT_REQUIRED_FILES </item> + <item> PROJECT </item> + <item> QT_WRAP_CPP </item> + <item> QT_WRAP_UI </item> + <item> REMOVE </item> + <item> REMOVE_DEFINITIONS </item> + <item> RETURN </item> + <item> SEPARATE_ARGUMENTS </item> + <item> SET </item> + <item> SET_DIRECTORY_PROPERTIES </item> + <item> SET_PROPERTY </item> + <item> SET_SOURCE_FILES_PROPERTIES </item> + <item> SET_TARGET_PROPERTIES </item> + <item> SITE_NAME </item> + <item> SOURCE_GROUP </item> + <item> STRING </item> + <item> SUBDIRS </item> + <item> SUBDIR_DEPENDS </item> + <item> TARGET_LINK_LIBRARIES </item> + <item> TRY_COMPILE </item> + <item> TRY_RUN </item> + <item> UNSET </item> + <item> UTILITY_SOURCE </item> + <item> VARIABLE_REQUIRES </item> + <item> VARIABLE_WATCH </item> + <item> VTK_MAKE_INSTANTIATOR </item> + <item> VTK_WRAP_JAVA </item> + <item> VTK_WRAP_PYTHON </item> + <item> VTK_WRAP_TCL </item> + <item> WRITE_FILE </item> + </list> + + <list name="special_args"> + <item> ABSOLUTE </item> + <item> ABSTRACT </item> + <item> ADDITIONAL_MAKE_CLEAN_FILES </item> + <item> ALL </item> + <item> AND </item> + <item> APPEND </item> + <item> ARCHIVE </item> + <item> ARGS </item> + <item> ASCII </item> + <item> BEFORE </item> + <item> BRIEF_DOCS </item> + <item> BUNDLE </item> + <item> CACHE </item> + <item> CACHE_VARIABLES </item> + <item> CLEAR </item> + <item> CMAKE_FLAGS </item> + <item> CMAKE_FIND_ROOT_PATH_BOTH </item> + <item> CODE </item> + <item> COMMAND </item> + <item> COMMANDS </item> + <item> COMMAND_NAME </item> + <item> COMMENT </item> + <item> COMPARE </item> + <item> COMPILE_FLAGS </item> + <item> COMPONENT </item> + <item> COMPONENTS </item> + <item> CONFIGURATIONS </item> + <item> CONFIGURE </item> + <item> COPYONLY </item> + <item> DEFINED </item> + <item> DEFINE_SYMBOL </item> + <item> DEFINITION </item> + <item> DEPENDS </item> + <item> DESTINATION </item> + <item> DIRECTORY </item> + <item> DIRECTORY_PERMISSIONS </item> + <item> DOC </item> + <item> DOWNLOAD </item> + <item> EQUAL </item> + <item> ESCAPE_QUOTES </item> + <item> EXACT </item> + <item> EXCLUDE </item> + <item> EXCLUDE_FROM_ALL </item> + <item> EXISTS </item> + <item> EXPORT </item> + <item> EXPR </item> + <item> EXT </item> + <item> EXTRA_INCLUDE </item> + <item> FATAL_ERROR </item> + <item> FILE </item> + <item> FILES </item> + <item> FILE_PERMISSIONS </item> + <item> FILES_MATCHING </item> + <item> FORCE </item> + <item> FRAMEWORK </item> + <item> FULL_DOCS </item> + <item> GENERATED </item> + <item> GET </item> + <item> GLOB </item> + <item> GLOB_RECURSE </item> + <item> GLOBAL </item> + <item> GREATER </item> + <item> GROUP_SIZE </item> + <item> HEADER_FILE_ONLY </item> + <item> HEADER_LOCATION </item> + <item> HINTS </item> + <item> IMMEDIATE </item> + <item> INCLUDES </item> + <item> INCLUDE_DIRECTORIES </item> + <item> INCLUDE_INTERNALS </item> + <item> INCLUDE_REGULAR_EXPRESSION </item> + <item> INHERITED </item> + <item> INTERNAL </item> + <item> IS_ABSOLUTE </item> + <item> IS_NEWER_THAN </item> + <item> LENGTH </item> + <item> LESS </item> + <item> LIBRARY </item> + <item> LINK_DIRECTORIES </item> + <item> LINK_FLAGS </item> + <item> LINK_INTERFACE_LIBRARIES </item> + <item> LOCATION </item> + <item> MACOSX_BUNDLE </item> + <item> MACROS </item> + <item> MAIN_DEPENDENCY </item> + <item> MAKE_DIRECTORY </item> + <item> MATCH </item> + <item> MATCHALL </item> + <item> MATCHES </item> + <item> MODULE </item> + <item> NAME </item> + <item> NAMELINK_ONLY </item> + <item> NAMELINK_SKIP </item> + <item> NAMES </item> + <item> NAME_WE </item> + <item> NOT </item> + <item> NOTEQUAL </item> + <item> NO_CMAKE_PATH </item> + <item> NO_CMAKE_ENVIRONMENT_PATH </item> + <item> NO_CMAKE_FIND_ROOT_PATH </item> + <item> NO_DEFAULT_PATH </item> + <item> NO_MODULE </item> + <item> NO_SYSTEM_PATH </item> + <item> NO_SYSTEM_ENVIRONMENT_PATH </item> + <item> OBJECT_DEPENDS </item> + <item> ONLY_CMAKE_FIND_ROOT_PATH </item> + <item> OPTIONAL </item> + <item> OR </item> + <item> OUTPUT </item> + <item> OUTPUT_VARIABLE </item> + <item> PARENT_SCOPE </item> + <item> PATH </item> + <item> PATHS </item> + <item> PATH_SUFFIXES </item> + <item> PATTERN </item> + <item> PERMISSIONS </item> + <item> POLICY </item> + <item> POP </item> + <item> POST_BUILD </item> + <item> POST_INSTALL_SCRIPT </item> + <item> PREFIX </item> + <item> PREORDER </item> + <item> PRE_BUILD </item> + <item> PRE_INSTALL_SCRIPT </item> + <item> PRE_LINK </item> + <item> PRIVATE_HEADER </item> + <item> PROGRAM </item> + <item> PROGRAMS </item> + <item> PROGRAM_ARGS </item> + <item> PROPERTIES </item> + <item> PUBLIC_HEADER </item> + <item> PUSH </item> + <item> QUIET </item> + <item> RANDOM </item> + <item> RANGE </item> + <item> READ </item> + <item> REGEX </item> + <item> REGULAR_EXPRESSION </item> + <item> RELATIVE_PATH </item> + <item> REMOVE </item> + <item> REMOVE_RECURSE </item> + <item> RENAME </item> + <item> REPLACE </item> + <item> REQUIRED </item> + <item> RESOURCE </item> + <item> RETURN_VALUE </item> + <item> RUNTIME </item> + <item> RUNTIME_DIRECTORY </item> + <item> SCRIPT </item> + <item> SEND_ERROR </item> + <item> SHARED </item> + <item> SOURCE </item> + <item> SOURCES </item> + <item> STATIC </item> + <item> STATUS </item> + <item> STRIP </item> + <item> STRINGS </item> + <item> STREQUAL </item> + <item> STRGREATER </item> + <item> STRLESS </item> + <item> SUFFIX </item> + <item> SUBSTRING </item> + <item> TARGET </item> + <item> TARGETS </item> + <item> TIMEOUT </item> + <item> TOLOWER </item> + <item> TOUPPER </item> + <item> TO_CMAKE_PATH </item> + <item> TO_NATIVE_PATH </item> + <item> USE_SOURCE_PERMISSIONS </item> + <item> VAR </item> + <item> VARIABLE </item> + <item> VARIABLES </item> + <item> VERSION </item> + <item> VERSION_LESS </item> + <item> VERSION_EQUAL </item> + <item> VERSION_GREATER </item> + <item> WIN32 </item> + <item> WORKING_DIRECTORY </item> + <item> WRAP_EXCLUDE </item> + <item> WRITE </item> + </list> + <contexts> + <context attribute="Normal Text" lineEndContext="#stay" name="Normal Text"> + <DetectSpaces/> + <keyword attribute="Commands" context="Function Args" String="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"/> + <DetectChar attribute="Comment" context="Comment" char="#"/> + <RegExpr attribute="Variable" context="#stay" String="\$\{\s*\w+\s*\}"/> + <RegExpr attribute="Macros" context="#stay" String="\w+\s*(?=\()"/> + </context> + <context attribute="Normal Text" lineEndContext="#stay" name="Function Args"> + <DetectChar attribute="Normal Text" context="#pop" char=")"/> + <keyword attribute="Special Args" context="#stay" String="special_args"/> + <RegExpr attribute="Comment" context="#stay" String="#.*$"/> + <RegExpr attribute="Variable" context="#stay" String="\$\{\s*\w+\s*\}"/> + </context> + <context attribute="Comment" lineEndContext="#pop" name="Comment"> + <IncludeRules context="##Alerts" /> + </context> + + </contexts> + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Special Args" defStyleNum="dsOthers" color="#000000" bold="0" italic="1"/> + <itemData name="Commands" defStyleNum="dsKeyword"/> + <itemData name="Macros" defStyleNum="dsKeyword"/> + <itemData name="Variable" defStyleNum="dsDecVal"/> + <itemData name="Comment" defStyleNum="dsComment"/> + <itemData name="Region Marker" defStyleNum="dsRegionMarker"/> + </itemDatas> + </highlighting> + + <general> + <comments> + <comment name="singleLine" start="#"/> + </comments> + <keywords casesensitive="1"/> + </general> +</language> diff --git a/kate/data/coldfusion.xml b/kate/data/coldfusion.xml new file mode 100644 index 000000000..9e49e4af6 --- /dev/null +++ b/kate/data/coldfusion.xml @@ -0,0 +1,732 @@ +<?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"> + + <highlighting> + + <list name="Script Keywords"> + + <item> if </item> + <item> else </item> + <item> for </item> + <item> in </item> + <item> while </item> + <item> do </item> + <item> continue </item> + <item> break </item> + <item> with </item> + <item> try </item> + <item> catch </item> + <item> switch </item> + <item> case </item> + <item> new </item> + <item> var </item> + <item> function </item> + <item> return </item> + <item> this </item> + <item> delete </item> + <item> true </item> + <item> false </item> + <item> void </item> + <item> throw </item> + <item> typeof </item> + <item> const </item> + <item> default </item> + + </list> + + <list name="Script Objects"> + + <item> Anchor </item> + <item> Applet </item> + <item> Area </item> + <item> Array </item> + <item> Boolean </item> + <item> Button </item> + <item> Checkbox </item> + <item> Date </item> + <item> Document </item> + <item> Event </item> + <item> FileUpload </item> + <item> Form </item> + <item> Frame </item> + <item> Function </item> + <item> Hidden </item> + <item> History </item> + <item> Image </item> + <item> Layer </item> + <item> Linke </item> + <item> Location </item> + <item> Math </item> + <item> Navigator </item> + <item> Number </item> + <item> Object </item> + <item> Option </item> + <item> Password </item> + <item> Radio </item> + <item> RegExp </item> + <item> Reset </item> + <item> Screen </item> + <item> Select </item> + <item> String </item> + <item> Submit </item> + <item> Text </item> + <item> Textarea </item> + <item> Window </item> + + </list> + + <list name="Script Methods"> + + <item> abs </item> + <item> acos </item> + <item> alert </item> + <item> anchor </item> + <item> apply </item> + <item> asin </item> + <item> atan </item> + <item> atan2 </item> + <item> back </item> + <item> blur </item> + <item> call </item> + <item> captureEvents </item> + <item> ceil </item> + <item> charAt </item> + <item> charCodeAt </item> + <item> clearInterval </item> + <item> clearTimeout </item> + <item> click </item> + <item> close </item> + <item> compile </item> + <item> concat </item> + <item> confirm </item> + <item> cos </item> + <item> disableExternalCapture </item> + <item> enableExternalCapture </item> + <item> eval </item> + <item> exec </item> + <item> exp </item> + <item> find </item> + <item> floor </item> + <item> focus </item> + <item> forward </item> + <item> fromCharCode </item> + <item> getDate </item> + <item> getDay </item> + <item> getFullYear </item> + <item> getHours </item> + <item> getMilliseconds </item> + <item> getMinutes </item> + <item> getMonth </item> + <item> getSeconds </item> + <item> getSelection </item> + <item> getTime </item> + <item> getTimezoneOffset </item> + <item> getUTCDate </item> + <item> getUTCDay </item> + <item> getUTCFullYear </item> + <item> getUTCHours </item> + <item> getUTCMilliseconds </item> + <item> getUTCMinutes </item> + <item> getUTCMonth </item> + <item> getUTCSeconds </item> + <item> go </item> + <item> handleEvent </item> + <item> home </item> + <item> indexOf </item> + <item> javaEnabled </item> + <item> join </item> + <item> lastIndexOf </item> + <item> link </item> + <item> load </item> + <item> log </item> + <item> match </item> + <item> max </item> + <item> min </item> + <item> moveAbove </item> + <item> moveBelow </item> + <item> moveBy </item> + <item> moveTo </item> + <item> moveToAbsolute </item> + <item> open </item> + <item> parse </item> + <item> plugins.refresh </item> + <item> pop </item> + <item> pow </item> + <item> preference </item> + <item> print </item> + <item> prompt </item> + <item> push </item> + <item> random </item> + <item> releaseEvents </item> + <item> reload </item> + <item> replace </item> + <item> reset </item> + <item> resizeBy </item> + <item> resizeTo </item> + <item> reverse </item> + <item> round </item> + <item> routeEvent </item> + <item> scrollBy </item> + <item> scrollTo </item> + <item> search </item> + <item> select </item> + <item> setDate </item> + <item> setFullYear </item> + <item> setHours </item> + <item> setInterval </item> + <item> setMilliseconds </item> + <item> setMinutes </item> + <item> setMonth </item> + <item> setSeconds </item> + <item> setTime </item> + <item> setTimeout </item> + <item> setUTCDate </item> + <item> setUTCFullYear </item> + <item> setUTCHours </item> + <item> setUTCMilliseconds </item> + <item> setUTCMinutes </item> + <item> setUTCMonth </item> + <item> setUTCSeconds </item> + <item> shift </item> + <item> sin </item> + <item> slice </item> + <item> sort </item> + <item> splice </item> + <item> split </item> + <item> sqrt </item> + <item> stop </item> + <item> String formatting </item> + <item> submit </item> + <item> substr </item> + <item> substring </item> + <item> taintEnabled </item> + <item> tan </item> + <item> test </item> + <item> toLocaleString </item> + <item> toLowerCase </item> + <item> toSource </item> + <item> toString </item> + <item> toUpperCase </item> + <item> toUTCString </item> + <item> unshift </item> + <item> unwatch </item> + <item> UTC </item> + <item> valueOf </item> + <item> watch </item> + <item> write </item> + <item> writeln </item> + + </list> + + <list name="CFSCRIPT Keywords"> + + <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> function </item> + <item> if </item> + <item> in </item> + <item> return </item> + <item> switch </item> + <item> try </item> + <item> var </item> + <item> while </item> + + </list> + + <list name="CFSCRIPT Functions"> + + <item> Abs </item> + <item> ACos </item> + <item> ArrayAppend </item> + <item> ArrayAvg </item> + <item> ArrayClear </item> + <item> ArrayDeleteAt </item> + <item> ArrayInsertAt </item> + <item> ArrayIsEmpty </item> + <item> ArrayLen </item> + <item> ArrayMax </item> + <item> ArrayMin </item> + <item> ArrayNew </item> + <item> ArrayPrepend </item> + <item> ArrayResize </item> + <item> ArraySet </item> + <item> ArraySort </item> + <item> ArraySum </item> + <item> ArraySwap </item> + <item> ArrayToList </item> + <item> Asc </item> + <item> ASin </item> + <item> Atn </item> + <item> BitAnd </item> + <item> BitMaskClear </item> + <item> BitMaskRead </item> + <item> BitMaskSet </item> + <item> BitNot </item> + <item> BitOr </item> + <item> BitSHLN </item> + <item> BitSHRN </item> + <item> BitXor </item> + <item> Ceiling </item> + <item> Chr </item> + <item> CJustify </item> + <item> Compare </item> + <item> CompareNoCase </item> + <item> Cos </item> + <item> CreateDate </item> + <item> CreateDateTime </item> + <item> CreateObject </item> + <item> CreateODBCDate </item> + <item> CreateODBCDateTime </item> + <item> CreateODBCTime </item> + <item> CreateTime </item> + <item> CreateTimeSpan </item> + <item> CreateUUID </item> + <item> DateAdd </item> + <item> DateCompare </item> + <item> DateConvert </item> + <item> DateDiff </item> + <item> DateFormat </item> + <item> DatePart </item> + <item> Day </item> + <item> DayOfWeek </item> + <item> DayOfWeekAsString </item> + <item> DayOfYear </item> + <item> DaysInMonth </item> + <item> DaysInYear </item> + <item> DE </item> + <item> DecimalFormat </item> + <item> DecrementValue </item> + <item> Decrypt </item> + <item> DeleteClientVariable </item> + <item> DirectoryExists </item> + <item> DollarFormat </item> + <item> Duplicate </item> + <item> Encrypt </item> + <item> Evaluate </item> + <item> Exp </item> + <item> ExpandPath </item> + <item> FileExists </item> + <item> Find </item> + <item> FindNoCase </item> + <item> FindOneOf </item> + <item> FirstDayOfMonth </item> + <item> Fix </item> + <item> FormatBaseN </item> + <item> GetAuthUser </item> + <item> GetBaseTagData </item> + <item> GetBaseTagList </item> + <item> GetBaseTemplatePath </item> + <item> GetClientVariablesList </item> + <item> GetCurrentTemplatePath </item> + <item> GetDirectoryFromPath </item> + <item> GetException </item> + <item> GetFileFromPath </item> + <item> GetFunctionList </item> + <item> GetHttpRequestData </item> + <item> GetHttpTimeString </item> + <item> GetK2ServerDocCount </item> + <item> GetK2ServerDocCountLimit </item> + <item> GetLocale </item> + <item> GetMetaData </item> + <item> GetMetricData </item> + <item> GetPageContext </item> + <item> GetProfileSections </item> + <item> GetProfileString </item> + <item> GetServiceSettings </item> + <item> GetTempDirectory </item> + <item> GetTempFile </item> + <item> GetTemplatePath </item> + <item> GetTickCount </item> + <item> GetTimeZoneInfo </item> + <item> GetToken </item> + <item> Hash </item> + <item> Hour </item> + <item> HTMLCodeFormat </item> + <item> HTMLEditFormat </item> + <item> IIf </item> + <item> IncrementValue </item> + <item> InputBaseN </item> + <item> Insert </item> + <item> Int </item> + <item> IsArray </item> + <item> IsBinary </item> + <item> IsBoolean </item> + <item> IsCustomFunction </item> + <item> IsDate </item> + <item> IsDebugMode </item> + <item> IsDefined </item> + <item> IsK2ServerABroker </item> + <item> IsK2ServerDocCountExceeded </item> + <item> IsK2ServerOnline </item> + <item> IsLeapYear </item> + <item> IsNumeric </item> + <item> IsNumericDate </item> + <item> IsObject </item> + <item> IsQuery </item> + <item> IsSimpleValue </item> + <item> IsStruct </item> + <item> IsUserInRole </item> + <item> IsWDDX </item> + <item> IsXmlDoc </item> + <item> IsXmlElement </item> + <item> IsXmlRoot </item> + <item> JavaCast </item> + <item> JSStringFormat </item> + <item> LCase </item> + <item> Left </item> + <item> Len </item> + <item> ListAppend </item> + <item> ListChangeDelims </item> + <item> ListContains </item> + <item> ListContainsNoCase </item> + <item> ListDeleteAt </item> + <item> ListFind </item> + <item> ListFindNoCase </item> + <item> ListFirst </item> + <item> ListGetAt </item> + <item> ListInsertAt </item> + <item> ListLast </item> + <item> ListLen </item> + <item> ListPrepend </item> + <item> ListQualify </item> + <item> ListRest </item> + <item> ListSetAt </item> + <item> ListSort </item> + <item> ListToArray </item> + <item> ListValueCount </item> + <item> ListValueCountNoCase </item> + <item> LJustify </item> + <item> Log </item> + <item> Log10 </item> + <item> LSCurrencyFormat </item> + <item> LSDateFormat </item> + <item> LSEuroCurrencyFormat </item> + <item> LSIsCurrency </item> + <item> LSIsDate </item> + <item> LSIsNumeric </item> + <item> LSNumberFormat </item> + <item> LSParseCurrency </item> + <item> LSParseDateTime </item> + <item> LSParseEuroCurrency </item> + <item> LSParseNumber </item> + <item> LSTimeFormat </item> + <item> LTrim </item> + <item> Max </item> + <item> Mid </item> + <item> Min </item> + <item> Minute </item> + <item> Month </item> + <item> MonthAsString </item> + <item> Now </item> + <item> NumberFormat </item> + <item> ParagraphFormat </item> + <item> ParameterExists </item> + <item> ParseDateTime </item> + <item> Pi </item> + <item> PreserveSingleQuotes </item> + <item> Quarter </item> + <item> QueryAddColumn </item> + <item> QueryAddRow </item> + <item> QueryNew </item> + <item> QuerySetCell </item> + <item> QuotedValueList </item> + <item> Rand </item> + <item> Randomize </item> + <item> RandRange </item> + <item> REFind </item> + <item> REFindNoCase </item> + <item> RemoveChars </item> + <item> RepeatString </item> + <item> Replace </item> + <item> ReplaceList </item> + <item> ReplaceNoCase </item> + <item> REReplace </item> + <item> REReplaceNoCase </item> + <item> Reverse </item> + <item> Right </item> + <item> RJustify </item> + <item> Round </item> + <item> RTrim </item> + <item> Second </item> + <item> SetEncoding </item> + <item> SetLocale </item> + <item> SetProfileString </item> + <item> SetVariable </item> + <item> Sgn </item> + <item> Sin </item> + <item> SpanExcluding </item> + <item> SpanIncluding </item> + <item> Sqr </item> + <item> StripCR </item> + <item> StructAppend </item> + <item> StructClear </item> + <item> StructCopy </item> + <item> StructCount </item> + <item> StructDelete </item> + <item> StructFind </item> + <item> StructFindKey </item> + <item> StructFindValue </item> + <item> StructGet </item> + <item> StructInsert </item> + <item> StructIsEmpty </item> + <item> StructKeyArray </item> + <item> StructKeyExists </item> + <item> StructKeyList </item> + <item> StructNew </item> + <item> StructSort </item> + <item> StructUpdate </item> + <item> Tan </item> + <item> TimeFormat </item> + <item> ToBase64 </item> + <item> ToBinary </item> + <item> ToString </item> + <item> Trim </item> + <item> UCase </item> + <item> URLDecode </item> + <item> URLEncodedFormat </item> + <item> URLSessionFormat </item> + <item> Val </item> + <item> ValueList </item> + <item> Week </item> + <item> WriteOutput </item> + <item> XmlChildPos </item> + <item> XmlElemNew </item> + <item> XmlFormat </item> + <item> XmlNew </item> + <item> XmlParse </item> + <item> XmlSearch </item> + <item> XmlTransform </item> + <item> Year </item> + <item> YesNoFormat </item> + + </list> + + <contexts> + + <context attribute="Normal Text" lineEndContext="#stay" name="Normal Text"> + <StringDetect attribute="CF Comment" context="ctxCF Comment" String="<!---" /> + <StringDetect attribute="HTML Comment" context="ctxHTML Comment" String="<!--" /> + <RegExpr attribute="Script Tags" context="ctxCFSCRIPT Tag" String="<[cC][fF][sS][cC][rR][iI][pP][tT]" /> + <RegExpr attribute="Script Tags" context="ctxSCRIPT Tag" String="<[sS][cC][rR][iI][pP][tT]" /> + <RegExpr attribute="Style Tags" context="ctxSTYLE Tag" String="<[sS][tT][yY][lL][eE]" /> + <DetectChar attribute="HTML Entities" context="ctxHTML Entities" char="&" /> + <RegExpr attribute="Custom Tags" context="ctxCustom Tag" String="<\/?[cC][fF]_" /> + <RegExpr attribute="CFX Tags" context="ctxCFX Tag" String="<\/?[cC][fF][xX]_" /> + <RegExpr attribute="CF Tags" context="ctxCF Tag" String="<\/?[cC][fF]" /> + <RegExpr attribute="Table Tags" context="ctxTable Tag" String="<\/?([tT][aAhHbBfFrRdD])|([cC][aA][pP][tT])" /> + <RegExpr attribute="Anchor Tags" context="ctxAnchor Tag" String="<\/?[aA] " /> + <RegExpr attribute="Image Tags" context="ctxImage Tag" String="<\/?[iI][mM][gG] " /> + <RegExpr attribute="Tags" context="ctxTag" String="<!?\/?[a-zA-Z0-9_]+" /> + </context> + + + + <context name="ctxCFSCRIPT Tag" attribute="Script Tags" lineEndContext="#stay"> + <DetectChar attribute="Script Tags" context="ctxCFSCRIPT Block" char=">" /> + <DetectChar attribute="Normal Text" context="#stay" char="=" /> + <RegExpr attribute="Attribute Values" context="#stay" String=""[^"]*"" /> + <RegExpr attribute="Attribute Values" context="#stay" String="'[^']*'" /> + </context> + + <context name="ctxSCRIPT Tag" attribute="Script Tags" lineEndContext="#stay"> + <DetectChar attribute="Script Tags" context="ctxSCRIPT Block" char=">" /> + <DetectChar attribute="Normal Text" context="#stay" char="=" /> + <RegExpr attribute="Attribute Values" context="#stay" String=""[^"]*"" /> + <RegExpr attribute="Attribute Values" context="#stay" String="'[^']*'" /> + </context> + + <context name="ctxSTYLE Tag" attribute="Style Tags" lineEndContext="#stay"> + <DetectChar attribute="Style Tags" context="ctxSTYLE Block" char=">" /> + <DetectChar attribute="Normal Text" context="#stay" char="=" /> + <RegExpr attribute="Attribute Values" context="#stay" String=""[^"]*"" /> + <RegExpr attribute="Attribute Values" context="#stay" String="'[^']*'" /> + </context> + + + + <context name="ctxTag" attribute="Tags" lineEndContext="#stay"> + <DetectChar attribute="Tags" context="#pop" char=">" /> + <DetectChar attribute="Normal Text" context="#stay" char="=" /> + <RegExpr attribute="Attribute Values" context="#stay" String=""[^"]*"" /> + <RegExpr attribute="Attribute Values" context="#stay" String="'[^']*'" /> + </context> + + <context name="ctxTable Tag" attribute="Table Tags" lineEndContext="#stay"> + <DetectChar attribute="Table Tags" context="#pop" char=">" /> + <DetectChar attribute="Normal Text" context="#stay" char="=" /> + <RegExpr attribute="Attribute Values" context="#stay" String=""[^"]*"" /> + <RegExpr attribute="Attribute Values" context="#stay" String="'[^']*'" /> + </context> + + <context name="ctxAnchor Tag" attribute="Anchor Tags" lineEndContext="#stay"> + <DetectChar attribute="Anchor Tags" context="#pop" char=">" /> + <DetectChar attribute="Normal Text" context="#stay" char="=" /> + <RegExpr attribute="Attribute Values" context="#stay" String=""[^"]*"" /> + <RegExpr attribute="Attribute Values" context="#stay" String="'[^']*'" /> + </context> + + <context name="ctxImage Tag" attribute="Image Tags" lineEndContext="#stay"> + <DetectChar attribute="Image Tags" context="#pop" char=">" /> + <DetectChar attribute="Normal Text" context="#stay" char="=" /> + <RegExpr attribute="Attribute Values" context="#stay" String=""[^"]*"" /> + <RegExpr attribute="Attribute Values" context="#stay" String="'[^']*'" /> + </context> + + <context name="ctxCF Tag" attribute="CF Tags" lineEndContext="#stay"> + <DetectChar attribute="CF Tags" context="#pop" char=">" /> + <DetectChar attribute="Normal Text" context="#stay" char="=" /> + <RegExpr attribute="Attribute Values" context="#stay" String=""[^"]*"" /> + <RegExpr attribute="Attribute Values" context="#stay" String="'[^']*'" /> + </context> + + <context name="ctxCustom Tag" attribute="Custom Tags" lineEndContext="#stay"> + <DetectChar attribute="Custom Tags" context="#pop" char=">" /> + <DetectChar attribute="Normal Text" context="#stay" char="=" /> + <RegExpr attribute="Attribute Values" context="#stay" String=""[^"]*"" /> + <RegExpr attribute="Attribute Values" context="#stay" String="'[^']*'" /> + </context> + + <context name="ctxCFX Tag" attribute="CFX Tags" lineEndContext="#stay"> + <DetectChar attribute="CFX Tags" context="#pop" char=">" /> + <DetectChar attribute="Normal Text" context="#stay" char="=" /> + <RegExpr attribute="Attribute Values" context="#stay" String=""[^"]*"" /> + <RegExpr attribute="Attribute Values" context="#stay" String="'[^']*'" /> + </context> + + + + <context name="ctxHTML Comment" attribute="HTML Comment" lineEndContext="#stay"> + <StringDetect attribute="CF Comment" context="ctxCF Comment" String="<!---" /> + <StringDetect attribute="HTML Comment" context="#pop" String="-->" /> + </context> + + <context name="ctxCF Comment" attribute="CF Comment" lineEndContext="#stay"> + <StringDetect attribute="CF Comment" context="#pop" String="--->" /> + </context> + + <context name="ctxC Style Comment" attribute="Script Comment" lineEndContext="#stay"> + <Detect2Chars attribute="Script Comment" context="#pop" char="*" char1="/" /> + </context> + + <context name="ctxOne Line Comment" attribute="Script Comment" lineEndContext="#pop" /> + + <context name="ctxHTML Entities" attribute="HTML Entities" lineEndContext="#pop"> + <DetectChar attribute="HTML Entities" context="#pop" char=";" /> + </context> + + + + <context name="ctxCFSCRIPT Block" attribute="Normal Text" lineEndContext="#stay"> + <Detect2Chars attribute="Script Comment" context="ctxC Style Comment" char="/" char1="*" /> + <Detect2Chars attribute="Script Comment" context="ctxOne Line Comment" char="/" char1="/" /> + <RegExpr attribute="Script Strings" context="#stay" String=""[^"]*"" /> + <RegExpr attribute="Script Strings" context="#stay" String="'[^']*'" /> + <Int attribute="Script Numbers" context="#stay" /> + <Float attribute="Script Numbers" context="#stay" /> + <AnyChar attribute="Script Operators" context="#stay" String="[()[\]=+-*/]+" /> + <AnyChar attribute="Brackets" context="#stay" String="{}" /> + + <keyword attribute="Script Keywords" context="#stay" String="CFSCRIPT Keywords" /> + <keyword attribute="Script Functions" context="#stay" String="CFSCRIPT Functions" /> + <RegExpr attribute="Script Tags" context="#pop#pop" String="</[cC][fF][sS][cC][rR][iI][pP][tT]>" /> + </context> + + + + <context name="ctxSCRIPT Block" attribute="Normal Text" lineEndContext="#stay"> + <Detect2Chars attribute="Script Comment" context="ctxC Style Comment" char="/" char1="*" /> + <Detect2Chars attribute="Script Comment" context="ctxOne Line Comment" char="/" char1="/" /> + <RegExpr attribute="Script Strings" context="#stay" String=""[^"]*"" /> + <RegExpr attribute="Script Strings" context="#stay" String="'[^']*'" /> + <Int attribute="Script Numbers" context="#stay" /> + <Float attribute="Script Numbers" context="#stay" /> + <AnyChar attribute="Script Operators" context="#stay" String="[()[\]=+-*/]+" /> + <AnyChar attribute="Brackets" context="#stay" String="{}" /> + + <keyword attribute="Script Keywords" context="#stay" String="Script Keywords" /> + <keyword attribute="Script Objects" context="#stay" String="Script Objects" /> + <keyword attribute="Script Functions" context="#stay" String="Script Methods" /> + <RegExpr attribute="Script Tags" context="#pop#pop" String="</[sS][cC][rR][iI][pP][tT]>" /> + </context> + + + + <context name="ctxSTYLE Block" attribute="Style Selectors" lineEndContext="#stay"> + <Detect2Chars attribute="Script Comment" context="ctxC Style Comment" char="/" char1="*" /> + <DetectChar attribute="Brackets" context="ctxStyle Properties" char="{" /> + <RegExpr attribute="Style Tags" context="#pop#pop" String="</[sS][tT][yY][lL][eE]>" /> + </context> + + <context name="ctxStyle Properties" attribute="Style Properties" lineEndContext="#stay"> + <DetectChar attribute="Brackets" context="#pop" char="}" /> + <Detect2Chars attribute="Script Comment" context="ctxC Style Comment" char="/" char1="*" /> + <DetectChar attribute="Normal Text" context="ctxStyle Values" char=":" /> + </context> + + <context name="ctxStyle Values" attribute="Style Values" lineEndContext="#pop"> + <DetectChar attribute="Normal Text" context="#pop" char=";" /> + <DetectChar attribute="Normal Text" context="#stay" char="," /> + <Int attribute="Numbers" context="#stay" /> + <Float attribute="Numbers" context="#stay" /> + <RegExpr attribute="Numbers" context="#stay" String="#([0-9a-fA-F]{3})|([0-9a-fA-F]{6})" /> + <RegExpr attribute="Attribute Values" context="#stay" String=""[^"]*"" /> + <RegExpr attribute="Attribute Values" context="#stay" String="'[^']*'" /> + </context> + + </contexts> + + <itemDatas> + + <itemData name="Normal Text" defStyleNum="dsNormal" color="#000000" selColor="#ffffff" bold="0" italic="0" /> + <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" /> + <itemData name="Image Tags" defStyleNum="dsNormal" color="#800080" selColor="#ffffff" bold="0" italic="0" /> + <itemData name="Style Tags" defStyleNum="dsNormal" color="#800080" selColor="#ffffff" bold="0" italic="0" /> + <itemData name="Anchor Tags" defStyleNum="dsNormal" color="#008000" selColor="#ffffff" bold="0" italic="0" /> + <itemData name="Attribute Values" defStyleNum="dsNormal" color="#0000ff" selColor="#ffffff" bold="0" italic="0" /> + <itemData name="HTML Comment" defStyleNum="dsComment" color="#008000" selColor="#999999" bold="0" italic="0" /> + <itemData name="CF Comment" defStyleNum="dsComment" color="#ff9900" selColor="#999999" bold="0" italic="0" /> + <itemData name="Script Comment" defStyleNum="dsComment" color="#ff9900" selColor="#999999" bold="0" italic="0" /> + <itemData name="CF Tags" defStyleNum="dsNormal" color="#800000" selColor="#ffffff" bold="0" italic="0" /> + <itemData name="Custom Tags" defStyleNum="dsNormal" color="#cc6666" selColor="#ffffff" bold="0" italic="0" /> + <itemData name="CFX Tags" defStyleNum="dsNormal" color="#008000" selColor="#ffffff" bold="0" italic="0" /> + <itemData name="Numbers" defStyleNum="dsNormal" color="#0000ff" selColor="#ffffff" bold="0" italic="0" /> + <itemData name="HTML Entities" defStyleNum="dsNormal" color="#000000" selColor="#ffffff" bold="1" italic="0" /> + <itemData name="Style Selectors" defStyleNum="dsNormal" color="#ff00ff" selColor="#ffffff" bold="0" italic="0" /> + <itemData name="Style Properties" defStyleNum="dsNormal" color="#000080" selColor="#ffffff" bold="0" italic="0" /> + <itemData name="Style Values" defStyleNum="dsNormal" color="#ff0000" selColor="#ffffff" bold="0" italic="0" /> + <itemData name="Brackets" defStyleNum="dsNormal" color="#000080" selColor="#ffffff" bold="1" italic="0" /> + <itemData name="Script Numbers" defStyleNum="dsNormal" color="#ff00ff" selColor="#ffffff" bold="0" italic="0" /> + <itemData name="Script Strings" defStyleNum="dsNormal" color="#008080" selColor="#ffffff" bold="0" italic="0" /> + <itemData name="Script Operators" defStyleNum="dsNormal" color="#0000ff" selColor="#ffffff" bold="0" italic="0" /> + <itemData name="Script Keywords" defStyleNum="dsNormal" color="#0000cc" selColor="#ffffff" bold="1" italic="0" /> + <itemData name="Script Functions" defStyleNum="dsFunction" bold="1" /> + <itemData name="Script Objects" defStyleNum="dsNormal" color="#0000cc" selColor="#ffffff" bold="1" italic="0" /> + + </itemDatas> + + </highlighting> + + <general> + + <comments> + + <comment name="multiLine" start="<!--" end="-->" /> + <comment name="multiLine" start="/*" end="*/" /> + <comment name="singleLine" start="//" /> + + </comments> + + <keywords casesensitive="0" weakDeliminator="-" /> + + </general> + +</language> diff --git a/kate/data/commonlisp.xml b/kate/data/commonlisp.xml new file mode 100644 index 000000000..880929c81 --- /dev/null +++ b/kate/data/commonlisp.xml @@ -0,0 +1,1173 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<!-- + This file is part of KDE's kate project. + + copyright : (C) 2004 by Dominik Haumann + email : dhdev at gmx dot de + + last change : 2004-03-16 + + ********************************************************************** + * 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. * + ********************************************************************** + --> +<language version="1.02" kateversion="2.3" name="Common Lisp" section="Scripts" extensions="*.lisp;*.cl;*.lsp" mimetype="" author="Dominik Haumann (dhdev@gmx.de)" license="LGPL"> + <highlighting> + <list name="symbols"> + <item> < </item> + <item> <= </item> + <item> = </item> + <item> > </item> + <item> >= </item> + <item> => </item> + <item> - </item> + <item> / </item> + <item> /= </item> + <item> // </item> + <item> /// </item> + <item> * </item> + <item> ** </item> + <item> *** </item> + <item> + </item> + <item> ++ </item> + <item> +++ </item> + <item> 1- </item> + <item> 1+ </item> + </list> + <list name="definitions"> + <item> defclass </item> + <item> defconstant </item> + <item> defgeneric </item> + <item> define-compiler-macro </item> + <item> define-condition </item> + <item> define-method-combination </item> + <item> define-modify-macro </item> + <item> define-setf-expander </item> + <item> define-setf-method </item> + <item> define-symbol-macro </item> + <item> defmacro </item> + <item> defmethod </item> + <item> defpackage </item> + <item> defparameter </item> + <item> defsetf </item> + <item> deftype </item> + <item> defvar </item> + <item> defun </item> + <item> defstruct </item> + </list> + <list name="keywords"> + <item> abort </item> + <item> abs </item> + <item> access </item> + <item> acons </item> + <item> acos </item> + <item> acosh </item> + <item> add-method </item> + <item> adjoin </item> + <item> adjustable-array-p </item> + <item> adjust-array </item> + <item> allocate-instance </item> + <item> alpha-char-p </item> + <item> alphanumericp </item> + <item> and </item> + <item> append </item> + <item> apply </item> + <item> applyhook </item> + <item> apropos </item> + <item> apropos-list </item> + <item> aref </item> + <item> arithmetic-error </item> + <item> arithmetic-error-operands </item> + <item> arithmetic-error-operation </item> + <item> array </item> + <item> array-dimension </item> + <item> array-dimension-limit </item> + <item> array-dimensions </item> + <item> array-displacement </item> + <item> array-element-type </item> + <item> array-has-fill-pointer-p </item> + <item> array-in-bounds-p </item> + <item> arrayp </item> + <item> array-rank </item> + <item> array-rank-limit </item> + <item> array-row-major-index </item> + <item> array-total-size </item> + <item> array-total-size-limit </item> + <item> ash </item> + <item> asin </item> + <item> asinh </item> + <item> assert </item> + <item> assoc </item> + <item> assoc-if </item> + <item> assoc-if-not </item> + <item> atan </item> + <item> atanh </item> + <item> atom </item> + <item> base-char </item> + <item> base-string </item> + <item> bignum </item> + <item> bit </item> + <item> bit-and </item> + <item> bit-andc1 </item> + <item> bit-andc2 </item> + <item> bit-eqv </item> + <item> bit-ior </item> + <item> bit-nand </item> + <item> bit-nor </item> + <item> bit-not </item> + <item> bit-orc1 </item> + <item> bit-orc2 </item> + <item> bit-vector </item> + <item> bit-vector-p </item> + <item> bit-xor </item> + <item> block </item> + <item> boole </item> + <item> boole-1 </item> + <item> boole-2 </item> + <item> boolean </item> + <item> boole-and </item> + <item> boole-andc1 </item> + <item> boole-andc2 </item> + <item> boole-c1 </item> + <item> boole-c2 </item> + <item> boole-clr </item> + <item> boole-eqv </item> + <item> boole-ior </item> + <item> boole-nand </item> + <item> boole-nor </item> + <item> boole-orc1 </item> + <item> boole-orc2 </item> + <item> boole-set </item> + <item> boole-xor </item> + <item> both-case-p </item> + <item> boundp </item> + <item> break </item> + <item> broadcast-stream </item> + <item> broadcast-stream-streams </item> + <item> built-in-class </item> + <item> butlast </item> + <item> byte </item> + <item> byte-position </item> + <item> byte-size </item> + <item> call-arguments-limit </item> + <item> call-method </item> + <item> call-next-method </item> + <item> capitalize </item> + <item> car </item> + <item> case </item> + <item> catch </item> + <item> ccase </item> + <item> cdr </item> + <item> ceiling </item> + <item> cell-error </item> + <item> cell-error-name </item> + <item> cerror </item> + <item> change-class </item> + <item> char </item> + <item> char< </item> + <item> char<= </item> + <item> char= </item> + <item> char> </item> + <item> char>= </item> + <item> char/= </item> + <item> character </item> + <item> characterp </item> + <item> char-bit </item> + <item> char-bits </item> + <item> char-bits-limit </item> + <item> char-code </item> + <item> char-code-limit </item> + <item> char-control-bit </item> + <item> char-downcase </item> + <item> char-equal </item> + <item> char-font </item> + <item> char-font-limit </item> + <item> char-greaterp </item> + <item> char-hyper-bit </item> + <item> char-int </item> + <item> char-lessp </item> + <item> char-meta-bit </item> + <item> char-name </item> + <item> char-not-equal </item> + <item> char-not-greaterp </item> + <item> char-not-lessp </item> + <item> char-super-bit </item> + <item> char-upcase </item> + <item> check-type </item> + <item> cis </item> + <item> class </item> + <item> class-name </item> + <item> class-of </item> + <item> clear-input </item> + <item> clear-output </item> + <item> close </item> + <item> clrhash </item> + <item> code-char </item> + <item> coerce </item> + <item> commonp </item> + <item> compilation-speed </item> + <item> compile </item> + <item> compiled-function </item> + <item> compiled-function-p </item> + <item> compile-file </item> + <item> compile-file-pathname </item> + <item> compiler-let </item> + <item> compiler-macro </item> + <item> compiler-macro-function </item> + <item> complement </item> + <item> complex </item> + <item> complexp </item> + <item> compute-applicable-methods </item> + <item> compute-restarts </item> + <item> concatenate </item> + <item> concatenated-stream </item> + <item> concatenated-stream-streams </item> + <item> cond </item> + <item> condition </item> + <item> conjugate </item> + <item> cons </item> + <item> consp </item> + <item> constantly </item> + <item> constantp </item> + <item> continue </item> + <item> control-error </item> + <item> copy-alist </item> + <item> copy-list </item> + <item> copy-pprint-dispatch </item> + <item> copy-readtable </item> + <item> copy-seq </item> + <item> copy-structure </item> + <item> copy-symbol </item> + <item> copy-tree </item> + <item> cos </item> + <item> cosh </item> + <item> count </item> + <item> count-if </item> + <item> count-if-not </item> + <item> ctypecase </item> + <item> debug </item> + <item> decf </item> + <item> declaim </item> + <item> declaration </item> + <item> declare </item> + <item> decode-float </item> + <item> decode-universal-time </item> + <item> delete </item> + <item> delete-duplicates </item> + <item> delete-file </item> + <item> delete-if </item> + <item> delete-if-not </item> + <item> delete-package </item> + <item> denominator </item> + <item> deposit-field </item> + <item> describe </item> + <item> describe-object </item> + <item> destructuring-bind </item> + <item> digit-char </item> + <item> digit-char-p </item> + <item> directory </item> + <item> directory-namestring </item> + <item> disassemble </item> + <item> division-by-zero </item> + <item> do </item> + <item> do* </item> + <item> do-all-symbols </item> + <item> documentation </item> + <item> do-exeternal-symbols </item> + <item> do-external-symbols </item> + <item> dolist </item> + <item> do-symbols </item> + <item> dotimes </item> + <item> double-float </item> + <item> double-float-epsilon </item> + <item> double-float-negative-epsilon </item> + <item> dpb </item> + <item> dribble </item> + <item> dynamic-extent </item> + <item> ecase </item> + <item> echo-stream </item> + <item> echo-stream-input-stream </item> + <item> echo-stream-output-stream </item> + <item> ed </item> + <item> eighth </item> + <item> elt </item> + <item> encode-universal-time </item> + <item> end-of-file </item> + <item> endp </item> + <item> enough-namestring </item> + <item> ensure-directories-exist </item> + <item> ensure-generic-function </item> + <item> eq </item> + <item> eql </item> + <item> equal </item> + <item> equalp </item> + <item> error </item> + <item> etypecase </item> + <item> eval </item> + <item> evalhook </item> + <item> eval-when </item> + <item> evenp </item> + <item> every </item> + <item> exp </item> + <item> export </item> + <item> expt </item> + <item> extended-char </item> + <item> fboundp </item> + <item> fceiling </item> + <item> fdefinition </item> + <item> ffloor </item> + <item> fifth </item> + <item> file-author </item> + <item> file-error </item> + <item> file-error-pathname </item> + <item> file-length </item> + <item> file-namestring </item> + <item> file-position </item> + <item> file-stream </item> + <item> file-string-length </item> + <item> file-write-date </item> + <item> fill </item> + <item> fill-pointer </item> + <item> find </item> + <item> find-all-symbols </item> + <item> find-class </item> + <item> find-if </item> + <item> find-if-not </item> + <item> find-method </item> + <item> find-package </item> + <item> find-restart </item> + <item> find-symbol </item> + <item> finish-output </item> + <item> first </item> + <item> fixnum </item> + <item> flet </item> + <item> float </item> + <item> float-digits </item> + <item> floating-point-inexact </item> + <item> floating-point-invalid-operation </item> + <item> floating-point-overflow </item> + <item> floating-point-underflow </item> + <item> floatp </item> + <item> float-precision </item> + <item> float-radix </item> + <item> float-sign </item> + <item> floor </item> + <item> fmakunbound </item> + <item> force-output </item> + <item> format </item> + <item> formatter </item> + <item> fourth </item> + <item> fresh-line </item> + <item> fround </item> + <item> ftruncate </item> + <item> ftype </item> + <item> funcall </item> + <item> function </item> + <item> function-keywords </item> + <item> function-lambda-expression </item> + <item> functionp </item> + <item> gbitp </item> + <item> gcd </item> + <item> generic-function </item> + <item> gensym </item> + <item> gentemp </item> + <item> get </item> + <item> get-decoded-time </item> + <item> get-dispatch-macro-character </item> + <item> getf </item> + <item> gethash </item> + <item> get-internal-real-time </item> + <item> get-internal-run-time </item> + <item> get-macro-character </item> + <item> get-output-stream-string </item> + <item> get-properties </item> + <item> get-setf-expansion </item> + <item> get-setf-method </item> + <item> get-universal-time </item> + <item> go </item> + <item> graphic-char-p </item> + <item> handler-bind </item> + <item> handler-case </item> + <item> hash-table </item> + <item> hash-table-count </item> + <item> hash-table-p </item> + <item> hash-table-rehash-size </item> + <item> hash-table-rehash-threshold </item> + <item> hash-table-size </item> + <item> hash-table-test </item> + <item> host-namestring </item> + <item> identity </item> + <item> if </item> + <item> if-exists </item> + <item> ignorable </item> + <item> ignore </item> + <item> ignore-errors </item> + <item> imagpart </item> + <item> import </item> + <item> incf </item> + <item> initialize-instance </item> + <item> inline </item> + <item> in-package </item> + <item> in-package </item> + <item> input-stream-p </item> + <item> inspect </item> + <item> int-char </item> + <item> integer </item> + <item> integer-decode-float </item> + <item> integer-length </item> + <item> integerp </item> + <item> interactive-stream-p </item> + <item> intern </item> + <item> internal-time-units-per-second </item> + <item> intersection </item> + <item> invalid-method-error </item> + <item> invoke-debugger </item> + <item> invoke-restart </item> + <item> invoke-restart-interactively </item> + <item> isqrt </item> + <item> keyword </item> + <item> keywordp </item> + <item> labels </item> + <item> lambda </item> + <item> lambda-list-keywords </item> + <item> lambda-parameters-limit </item> + <item> last </item> + <item> lcm </item> + <item> ldb </item> + <item> ldb-test </item> + <item> ldiff </item> + <item> least-negative-double-float </item> + <item> least-negative-long-float </item> + <item> least-negative-normalized-double-float </item> + <item> least-negative-normalized-long-float </item> + <item> least-negative-normalized-short-float </item> + <item> least-negative-normalized-single-float </item> + <item> least-negative-short-float </item> + <item> least-negative-single-float </item> + <item> least-positive-double-float </item> + <item> least-positive-long-float </item> + <item> least-positive-normalized-double-float </item> + <item> least-positive-normalized-long-float </item> + <item> least-positive-normalized-short-float </item> + <item> least-positive-normalized-single-float </item> + <item> least-positive-short-float </item> + <item> least-positive-single-float </item> + <item> length </item> + <item> let </item> + <item> let* </item> + <item> lisp </item> + <item> lisp-implementation-type </item> + <item> lisp-implementation-version </item> + <item> list </item> + <item> list* </item> + <item> list-all-packages </item> + <item> listen </item> + <item> list-length </item> + <item> listp </item> + <item> load </item> + <item> load-logical-pathname-translations </item> + <item> load-time-value </item> + <item> locally </item> + <item> log </item> + <item> logand </item> + <item> logandc1 </item> + <item> logandc2 </item> + <item> logbitp </item> + <item> logcount </item> + <item> logeqv </item> + <item> logical-pathname </item> + <item> logical-pathname-translations </item> + <item> logior </item> + <item> lognand </item> + <item> lognor </item> + <item> lognot </item> + <item> logorc1 </item> + <item> logorc2 </item> + <item> logtest </item> + <item> logxor </item> + <item> long-float </item> + <item> long-float-epsilon </item> + <item> long-float-negative-epsilon </item> + <item> long-site-name </item> + <item> loop </item> + <item> loop-finish </item> + <item> lower-case-p </item> + <item> machine-instance </item> + <item> machine-type </item> + <item> machine-version </item> + <item> macroexpand </item> + <item> macroexpand-1 </item> + <item> macroexpand-l </item> + <item> macro-function </item> + <item> macrolet </item> + <item> make-array </item> + <item> make-array </item> + <item> make-broadcast-stream </item> + <item> make-char </item> + <item> make-concatenated-stream </item> + <item> make-condition </item> + <item> make-dispatch-macro-character </item> + <item> make-echo-stream </item> + <item> make-hash-table </item> + <item> make-instance </item> + <item> make-instances-obsolete </item> + <item> make-list </item> + <item> make-load-form </item> + <item> make-load-form-saving-slots </item> + <item> make-method </item> + <item> make-package </item> + <item> make-pathname </item> + <item> make-random-state </item> + <item> make-sequence </item> + <item> make-string </item> + <item> make-string-input-stream </item> + <item> make-string-output-stream </item> + <item> make-symbol </item> + <item> make-synonym-stream </item> + <item> make-two-way-stream </item> + <item> makunbound </item> + <item> map </item> + <item> mapc </item> + <item> mapcan </item> + <item> mapcar </item> + <item> mapcon </item> + <item> maphash </item> + <item> map-into </item> + <item> mapl </item> + <item> maplist </item> + <item> mask-field </item> + <item> max </item> + <item> member </item> + <item> member-if </item> + <item> member-if-not </item> + <item> merge </item> + <item> merge-pathname </item> + <item> merge-pathnames </item> + <item> method </item> + <item> method-combination </item> + <item> method-combination-error </item> + <item> method-qualifiers </item> + <item> min </item> + <item> minusp </item> + <item> mismatch </item> + <item> mod </item> + <item> most-negative-double-float </item> + <item> most-negative-fixnum </item> + <item> most-negative-long-float </item> + <item> most-negative-short-float </item> + <item> most-negative-single-float </item> + <item> most-positive-double-float </item> + <item> most-positive-fixnum </item> + <item> most-positive-long-float </item> + <item> most-positive-short-float </item> + <item> most-positive-single-float </item> + <item> muffle-warning </item> + <item> multiple-value-bind </item> + <item> multiple-value-call </item> + <item> multiple-value-list </item> + <item> multiple-value-prog1 </item> + <item> multiple-value-seteq </item> + <item> multiple-value-setq </item> + <item> multiple-values-limit </item> + <item> name-char </item> + <item> namestring </item> + <item> nbutlast </item> + <item> nconc </item> + <item> next-method-p </item> + <item> nil </item> + <item> nintersection </item> + <item> ninth </item> + <item> no-applicable-method </item> + <item> no-next-method </item> + <item> not </item> + <item> notany </item> + <item> notevery </item> + <item> notinline </item> + <item> nreconc </item> + <item> nreverse </item> + <item> nset-difference </item> + <item> nset-exclusive-or </item> + <item> nstring </item> + <item> nstring-capitalize </item> + <item> nstring-downcase </item> + <item> nstring-upcase </item> + <item> nsublis </item> + <item> nsubst </item> + <item> nsubst-if </item> + <item> nsubst-if-not </item> + <item> nsubstitute </item> + <item> nsubstitute-if </item> + <item> nsubstitute-if-not </item> + <item> nth </item> + <item> nthcdr </item> + <item> nth-value </item> + <item> null </item> + <item> number </item> + <item> numberp </item> + <item> numerator </item> + <item> nunion </item> + <item> oddp </item> + <item> open </item> + <item> open-stream-p </item> + <item> optimize </item> + <item> or </item> + <item> otherwise </item> + <item> output-stream-p </item> + <item> package </item> + <item> package-error </item> + <item> package-error-package </item> + <item> package-name </item> + <item> package-nicknames </item> + <item> packagep </item> + <item> package-shadowing-symbols </item> + <item> package-used-by-list </item> + <item> package-use-list </item> + <item> pairlis </item> + <item> parse-error </item> + <item> parse-integer </item> + <item> parse-namestring </item> + <item> pathname </item> + <item> pathname-device </item> + <item> pathname-directory </item> + <item> pathname-host </item> + <item> pathname-match-p </item> + <item> pathname-name </item> + <item> pathnamep </item> + <item> pathname-type </item> + <item> pathname-version </item> + <item> peek-char </item> + <item> phase </item> + <item> pi </item> + <item> plusp </item> + <item> pop </item> + <item> position </item> + <item> position-if </item> + <item> position-if-not </item> + <item> pprint </item> + <item> pprint-dispatch </item> + <item> pprint-exit-if-list-exhausted </item> + <item> pprint-fill </item> + <item> pprint-indent </item> + <item> pprint-linear </item> + <item> pprint-logical-block </item> + <item> pprint-newline </item> + <item> pprint-pop </item> + <item> pprint-tab </item> + <item> pprint-tabular </item> + <item> prin1 </item> + <item> prin1-to-string </item> + <item> princ </item> + <item> princ-to-string </item> + <item> print </item> + <item> print-not-readable </item> + <item> print-not-readable-object </item> + <item> print-object </item> + <item> print-unreadable-object </item> + <item> probe-file </item> + <item> proclaim </item> + <item> prog </item> + <item> prog* </item> + <item> prog1 </item> + <item> prog2 </item> + <item> progn </item> + <item> program-error </item> + <item> progv </item> + <item> provide </item> + <item> psetf </item> + <item> psetq </item> + <item> push </item> + <item> pushnew </item> + <item> putprop </item> + <item> quote </item> + <item> random </item> + <item> random-state </item> + <item> random-state-p </item> + <item> rassoc </item> + <item> rassoc-if </item> + <item> rassoc-if-not </item> + <item> ratio </item> + <item> rational </item> + <item> rationalize </item> + <item> rationalp </item> + <item> read </item> + <item> read-byte </item> + <item> read-char </item> + <item> read-char-no-hang </item> + <item> read-delimited-list </item> + <item> reader-error </item> + <item> read-eval-print </item> + <item> read-from-string </item> + <item> read-line </item> + <item> read-preserving-whitespace </item> + <item> read-sequence </item> + <item> readtable </item> + <item> readtable-case </item> + <item> readtablep </item> + <item> real </item> + <item> realp </item> + <item> realpart </item> + <item> reduce </item> + <item> reinitialize-instance </item> + <item> rem </item> + <item> remf </item> + <item> remhash </item> + <item> remove </item> + <item> remove-duplicates </item> + <item> remove-if </item> + <item> remove-if-not </item> + <item> remove-method </item> + <item> remprop </item> + <item> rename-file </item> + <item> rename-package </item> + <item> replace </item> + <item> require </item> + <item> rest </item> + <item> restart </item> + <item> restart-bind </item> + <item> restart-case </item> + <item> restart-name </item> + <item> return </item> + <item> return-from </item> + <item> revappend </item> + <item> reverse </item> + <item> room </item> + <item> rotatef </item> + <item> round </item> + <item> row-major-aref </item> + <item> rplaca </item> + <item> rplacd </item> + <item> safety </item> + <item> satisfies </item> + <item> sbit </item> + <item> scale-float </item> + <item> schar </item> + <item> search </item> + <item> second </item> + <item> sequence </item> + <item> serious-condition </item> + <item> set </item> + <item> set-char-bit </item> + <item> set-difference </item> + <item> set-dispatch-macro-character </item> + <item> set-exclusive-or </item> + <item> setf </item> + <item> set-macro-character </item> + <item> set-pprint-dispatch </item> + <item> setq </item> + <item> set-syntax-from-char </item> + <item> seventh </item> + <item> shadow </item> + <item> shadowing-import </item> + <item> shared-initialize </item> + <item> shiftf </item> + <item> short-float </item> + <item> short-float-epsilon </item> + <item> short-float-negative-epsilon </item> + <item> short-site-name </item> + <item> signal </item> + <item> signed-byte </item> + <item> signum </item> + <item> simle-condition </item> + <item> simple-array </item> + <item> simple-base-string </item> + <item> simple-bit-vector </item> + <item> simple-bit-vector-p </item> + <item> simple-condition-format-arguments </item> + <item> simple-condition-format-control </item> + <item> simple-error </item> + <item> simple-string </item> + <item> simple-string-p </item> + <item> simple-type-error </item> + <item> simple-vector </item> + <item> simple-vector-p </item> + <item> simple-warning </item> + <item> sin </item> + <item> single-flaot-epsilon </item> + <item> single-float </item> + <item> single-float-epsilon </item> + <item> single-float-negative-epsilon </item> + <item> sinh </item> + <item> sixth </item> + <item> sleep </item> + <item> slot-boundp </item> + <item> slot-exists-p </item> + <item> slot-makunbound </item> + <item> slot-missing </item> + <item> slot-unbound </item> + <item> slot-value </item> + <item> software-type </item> + <item> software-version </item> + <item> some </item> + <item> sort </item> + <item> space </item> + <item> special </item> + <item> special-form-p </item> + <item> special-operator-p </item> + <item> speed </item> + <item> sqrt </item> + <item> stable-sort </item> + <item> standard </item> + <item> standard-char </item> + <item> standard-char-p </item> + <item> standard-class </item> + <item> standard-generic-function </item> + <item> standard-method </item> + <item> standard-object </item> + <item> step </item> + <item> storage-condition </item> + <item> store-value </item> + <item> stream </item> + <item> stream-element-type </item> + <item> stream-error </item> + <item> stream-error-stream </item> + <item> stream-external-format </item> + <item> streamp </item> + <item> streamup </item> + <item> string </item> + <item> string< </item> + <item> string<= </item> + <item> string= </item> + <item> string> </item> + <item> string>= </item> + <item> string/= </item> + <item> string-capitalize </item> + <item> string-char </item> + <item> string-char-p </item> + <item> string-downcase </item> + <item> string-equal </item> + <item> string-greaterp </item> + <item> string-left-trim </item> + <item> string-lessp </item> + <item> string-not-equal </item> + <item> string-not-greaterp </item> + <item> string-not-lessp </item> + <item> stringp </item> + <item> string-right-strim </item> + <item> string-right-trim </item> + <item> string-stream </item> + <item> string-trim </item> + <item> string-upcase </item> + <item> structure </item> + <item> structure-class </item> + <item> structure-object </item> + <item> style-warning </item> + <item> sublim </item> + <item> sublis </item> + <item> subseq </item> + <item> subsetp </item> + <item> subst </item> + <item> subst-if </item> + <item> subst-if-not </item> + <item> substitute </item> + <item> substitute-if </item> + <item> substitute-if-not </item> + <item> subtypep </item> + <item> svref </item> + <item> sxhash </item> + <item> symbol </item> + <item> symbol-function </item> + <item> symbol-macrolet </item> + <item> symbol-name </item> + <item> symbolp </item> + <item> symbol-package </item> + <item> symbol-plist </item> + <item> symbol-value </item> + <item> synonym-stream </item> + <item> synonym-stream-symbol </item> + <item> sys </item> + <item> system </item> + <item> t </item> + <item> tagbody </item> + <item> tailp </item> + <item> tan </item> + <item> tanh </item> + <item> tenth </item> + <item> terpri </item> + <item> the </item> + <item> third </item> + <item> throw </item> + <item> time </item> + <item> trace </item> + <item> translate-logical-pathname </item> + <item> translate-pathname </item> + <item> tree-equal </item> + <item> truename </item> + <item> truncase </item> + <item> truncate </item> + <item> two-way-stream </item> + <item> two-way-stream-input-stream </item> + <item> two-way-stream-output-stream </item> + <item> type </item> + <item> typecase </item> + <item> type-error </item> + <item> type-error-datum </item> + <item> type-error-expected-type </item> + <item> type-of </item> + <item> typep </item> + <item> unbound-slot </item> + <item> unbound-slot-instance </item> + <item> unbound-variable </item> + <item> undefined-function </item> + <item> unexport </item> + <item> unintern </item> + <item> union </item> + <item> unless </item> + <item> unread </item> + <item> unread-char </item> + <item> unsigned-byte </item> + <item> untrace </item> + <item> unuse-package </item> + <item> unwind-protect </item> + <item> update-instance-for-different-class </item> + <item> update-instance-for-redefined-class </item> + <item> upgraded-array-element-type </item> + <item> upgraded-complex-part-type </item> + <item> upper-case-p </item> + <item> use-package </item> + <item> user </item> + <item> user-homedir-pathname </item> + <item> use-value </item> + <item> values </item> + <item> values-list </item> + <item> vector </item> + <item> vectorp </item> + <item> vector-pop </item> + <item> vector-push </item> + <item> vector-push-extend </item> + <item> warn </item> + <item> warning </item> + <item> when </item> + <item> wild-pathname-p </item> + <item> with-accessors </item> + <item> with-compilation-unit </item> + <item> with-condition-restarts </item> + <item> with-hash-table-iterator </item> + <item> with-input-from-string </item> + <item> with-open-file </item> + <item> with-open-stream </item> + <item> with-output-to-string </item> + <item> with-package-iterator </item> + <item> with-simple-restart </item> + <item> with-slots </item> + <item> with-standard-io-syntax </item> + <item> write </item> + <item> write-byte </item> + <item> write-char </item> + <item> write-line </item> + <item> write-sequence </item> + <item> write-string </item> + <item> write-to-string </item> + <item> yes-or-no-p </item> + <item> y-or-n-p </item> + <item> zerop </item> + </list> + + <list name="modifiers"> + <item> :abort </item> + <item> :adjustable </item> + <item> :append </item> + <item> :array </item> + <item> :base </item> + <item> :case </item> + <item> :circle </item> + <item> :conc-name </item> + <item> :constructor </item> + <item> :copier </item> + <item> :count </item> + <item> :create </item> + <item> :default </item> + <item> :defaults </item> + <item> :device </item> + <item> :direction </item> + <item> :directory </item> + <item> :displaced-index-offset </item> + <item> :displaced-to </item> + <item> :element-type </item> + <item> :end1 </item> + <item> :end2 </item> + <item> :end </item> + <item> :error </item> + <item> :escape </item> + <item> :external </item> + <item> :from-end </item> + <item> :gensym </item> + <item> :host </item> + <item> :if-does-not-exist:pretty </item> + <item> :if-exists:print </item> + <item> :include:print-function </item> + <item> :index </item> + <item> :inherited </item> + <item> :initial-contents </item> + <item> :initial-element </item> + <item> :initial-offset </item> + <item> :initial-value </item> + <item> :input </item> + <item> :internal:size </item> + <item> :io </item> + <item> :junk-allowed </item> + <item> :key </item> + <item> :length </item> + <item> :level </item> + <item> :named </item> + <item> :name </item> + <item> :new-version </item> + <item> :nicknames </item> + <item> :output-file </item> + <item> :output </item> + <item> :overwrite </item> + <item> :predicate </item> + <item> :preserve-whitespace </item> + <item> :probe </item> + <item> :radix </item> + <item> :read-only </item> + <item> :rehash-size </item> + <item> :rehash-threshold </item> + <item> :rename-and-delete </item> + <item> :rename </item> + <item> :start1 </item> + <item> :start2 </item> + <item> :start </item> + <item> :stream </item> + <item> :supersede </item> + <item> :test </item> + <item> :test-not </item> + <item> :type </item> + <item> :use </item> + <item> :verbose </item> + <item> :version </item> + </list> + <list name="variables"> + <item> *applyhook* </item> + <item> *break-on-signals* </item> + <item> *break-on-signals* </item> + <item> *break-on-warnings* </item> + <item> *compile-file-pathname* </item> + <item> *compile-file-pathname* </item> + <item> *compile-file-truename* </item> + <item> *compile-file-truename* </item> + <item> *compile-print* </item> + <item> *compile-verbose* </item> + <item> *compile-verbose* </item> + <item> *debugger-hook* </item> + <item> *debug-io* </item> + <item> *default-pathname-defaults* </item> + <item> *error-output* </item> + <item> *evalhook* </item> + <item> *features* </item> + <item> *gensym-counter* </item> + <item> *load-pathname* </item> + <item> *load-print* </item> + <item> *load-truename* </item> + <item> *load-verbose* </item> + <item> *macroexpand-hook* </item> + <item> *modules* </item> + <item> *package* </item> + <item> *print-array* </item> + <item> *print-base* </item> + <item> *print-case* </item> + <item> *print-circle* </item> + <item> *print-escape* </item> + <item> *print-gensym* </item> + <item> *print-length* </item> + <item> *print-level* </item> + <item> *print-lines* </item> + <item> *print-miser-width* </item> + <item> *print-miser-width* </item> + <item> *print-pprint-dispatch* </item> + <item> *print-pprint-dispatch* </item> + <item> *print-pretty* </item> + <item> *print-radix* </item> + <item> *print-readably* </item> + <item> *print-right-margin* </item> + <item> *print-right-margin* </item> + <item> *query-io* </item> + <item> *random-state* </item> + <item> *read-base* </item> + <item> *read-default-float-format* </item> + <item> *read-eval* </item> + <item> *read-suppress* </item> + <item> *readtable* </item> + <item> *standard-input* </item> + <item> *standard-output* </item> + <item> *terminal-io* </item> + <item> *trace-output* </item> + </list> + + <contexts> + <context name="Normal" attribute="Normal" lineEndContext="#stay"> + <RegExpr attribute="Region Marker" context="#stay" String=";+\s*BEGIN.*$" beginRegion="region"/> + <RegExpr attribute="Region Marker" context="#stay" String=";+\s*END.*$" endRegion="region"/> + <RegExpr attribute="Comment" context="#stay" String=";.*$"/> + <Detect2Chars attribute="Comment" context="MultiLineComment" char="#" char1="|" beginRegion="region"/> + <DetectChar attribute="Brackets" context="#stay" char="("/> + <DetectChar attribute="Brackets" context="#stay" char=")"/> + <keyword attribute="Keyword" context="#stay" String="keywords"/> + <keyword attribute="Operator" context="#stay" String="symbols"/> + <keyword attribute="Modifier" context="#stay" String="modifiers"/> + <keyword attribute="Variable" context="#stay" String="variables"/> + <keyword attribute="Definition" context="function_decl" String="definitions"/> + <RegExpr attribute="Char" context="#stay" String="#\\."/> + <DetectChar attribute="String" context="String" char="""/> + <RegExpr attribute="Char" context="SpecialNumber" String="#[bodxei]"/> + <RegExpr attribute="Decimal" context="#stay" String="#[tf]"/> + <Float attribute="Float" context="#stay"/> + <Int attribute="Decimal" context="#stay"/> + </context> + <context name="MultiLineComment" attribute="Comment" lineEndContext="#stay"> + <Detect2Chars attribute="Comment" context="#pop" char="|" char1="#" endRegion="region"/> + </context> + <context name="function_decl" attribute="Function" lineEndContext="#stay"> + <RegExpr attribute="Function" context="#pop" String="\s*[A-Za-z0-9-+\<\>//\*]*\s*" /> + </context> + <context name="SpecialNumber" attribute="Normal" lineEndContext="#pop"> + <Float attribute="Float" context="#pop"/> + <Int attribute="Decimal" context="#pop"/> + <HlCOct attribute="BaseN" context="#pop"/> + <HlCHex attribute="Float" context="#pop"/> + </context> + <context name="String" attribute="String" lineEndContext="#stay"> + <RegExpr attribute="Char" context="#stay" String="#\\."/> + <DetectChar attribute="String" context="#pop" char="""/> + </context> + </contexts> + <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="Data" defStyleNum="dsDataType"/> + <itemData name="Decimal" defStyleNum="dsDecVal"/> + <itemData name="BaseN" defStyleNum="dsBaseN"/> + <itemData name="Float" defStyleNum="dsFloat"/> + <itemData name="Function" defStyleNum="dsFunction"/> + <itemData name="Char" defStyleNum="dsChar"/> + <itemData name="String" defStyleNum="dsString"/> + <itemData name="Comment" defStyleNum="dsComment"/> + <itemData name="Region Marker" defStyleNum="dsRegionMarker"/> + <itemData name="Brackets" defStyleNum="dsNormal" color="#0000ff" selColor="#00ff00" bold="1" italic="0"/> + </itemDatas> + </highlighting> + <general> + <keywords casesensitive="1" weakDeliminator="-+*?!<>=/:#\"/> + <comments> + <comment name="singleLine" start=";;" /> + <comment name="multiLine" start="#|" end="|#" /> + </comments> + </general> +</language> diff --git a/kate/data/component-pascal.xml b/kate/data/component-pascal.xml new file mode 100644 index 000000000..09e70011b --- /dev/null +++ b/kate/data/component-pascal.xml @@ -0,0 +1,172 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<!-- Author: Werner Braun <wb@o3-software.de> --> +<!-- 29.05.2003 wb mailed to the kate-team (cullmann) --> +<!-- 23.05.2003 wb added *.bro File-Type for GPCP Browser output--> +<!-- 09.05.2003 wb nested comments allowed (maximum two level nesting) --> +<!-- 07.04.2003 wb IN Problem solved --> +<!-- 06.05.2003 wb NEW without ( --> +<!-- 22.04.2003 wb Minor bugfixes --> +<!-- 19.04.2003 wb Some more Enhancements --> +<!-- 18.04.2003 wb Enhancenment for Maior / Minor Comments and Full / ReadOnly Exports, Folds for Procedures, Records, Comments --> +<!-- 17.04.2003 wb Enhancements for Relation and Operators --> +<language name="Component-Pascal" version="1.05" kateversion="2.1" section="Sources" extensions="*.cp;*.bro" mimetype="text/x-component-pascal" author="Werner Braun (wb@o3-software.de)" license=""> + <highlighting> + <list name="keywords"> + <item> BEGIN </item> + <item> BY </item> + <item> CASE </item> + <item> CLOSE </item> + <item> CONST </item> + <item> DO </item> + <item> ELSE </item> + <item> ELSIF </item> + <item> END </item> + <item> FOR </item> + <item> IF </item> + <item> IMPORT </item> + <item> LOOP </item> + <item> MODULE </item> + <item> NEW </item> + <item> OF </item> + <item> OUT </item> + <item> PROCEDURE </item> + <item> REPEAT </item> + <item> THEN </item> + <item> TO </item> + <item> TYPE </item> + <item> UNTIL </item> + <item> VAR </item> + <item> WHILE </item> + <item> WITH </item> + </list> + <list name="exits"> + <item> ASSERT </item> + <item> EXIT </item> + <item> HALT </item> + <item> RETURN </item> + </list> + <list name="types"> + <item> ANYPTR </item> + <item> ANYREC </item> + <item> ARRAY </item> + <item> BOOLEAN </item> + <item> SHORTCHAR </item> + <item> CHAR </item> + <item> BYTE </item> + <item> SHORTINT </item> + <item> INTEGER </item> + <item> LONGINT </item> + <item> POINTER </item> + <item> RECORD </item> + <item> SHORTREAL </item> + <item> REAL </item> + <item> SET </item> + </list> + <list name="attributes"> + <item> ABSTRACT </item> + <item> EMPTY </item> + <item> EXTENSIBLE </item> + <item> LIMITED </item> + </list> + <list name="builtins"> + <item> ABS </item> + <item> ASH </item> + <item> BITS </item> + <item> CAP </item> + <item> CHR </item> + <item> DEC </item> + <item> ENTIER </item> + <item> EXCL </item> + <item> INC </item> + <item> INCL </item> + <item> LEN </item> + <item> LONG </item> + <item> MAX </item> + <item> MIN </item> + <item> ODD </item> + <item> ORD </item> + <item> SHORT </item> + <item> SIZE </item> + </list> + <list name="specials"> + <item> FALSE </item> + <item> INF </item> + <item> NIL </item> + <item> TRUE </item> + </list> + <contexts> + <context attribute="Normal Text" lineEndContext="#stay" name="Normal"> + <StringDetect attribute="CommentMaior" context="Comment1" String="(**" beginRegion="Comment"/> + <Detect2Chars attribute="CommentMinor" context="Comment2" char="(" char1="*" beginRegion="Comment"/> + <DetectChar attribute="String" context="String1" char=""" /> + <DetectChar attribute="String" context="String2" char="'" /> + <RegExpr attribute="Keyword" context="#stay" String="PROCEDURE\s" beginRegion="Proc"/> + <RegExpr attribute="Normal Text" context="#stay" String="ABSTRACT;|EMPTY;|END\s*[A-Za-z][A-Za-z0-9_]*\;" endRegion="Proc"/> + <RegExpr attribute="Type" context="#stay" String="RECORD" beginRegion="Rec"/> + <RegExpr attribute="Keyword" context="#stay" String="END" endRegion="Rec"/> + <StringDetect attribute="MemAlloc" context="#stay" String="NEW"/> + <keyword attribute="Keyword" context="#stay" String="keywords"/> + <keyword attribute="Exit" context="#stay" String="exits"/> + <keyword attribute="Type" context="#stay" String="types"/> + <keyword attribute="Attribute" context="#stay" String="attributes"/> + <keyword attribute="Builtin" context="#stay" String="builtins"/> + <keyword attribute="SpecialValues" context="#stay" String="specials"/> + <RegExpr attribute="Integer" context="#stay" String="\s[\+|\-]{0,1}[0-9]([0-9]*|[0-9A-F]*(H|L))"/> + <Float attribute="Float" context="#stay"/> + <RegExpr attribute="Char" context="#stay" String="\s[0-9][0-9A-F]*X"/> + <RegExpr attribute="ExportFull" context="#stay" String="[A-Za-z][A-Za-z0-9_]*\*"/> + <RegExpr attribute="ExportReadOnly" context="#stay" String="[A-Za-z][A-Za-z0-9_]*\-"/> + <RegExpr attribute="Relation" context="#stay" String="\s(=|#|<|<=|>|>=|IN\s|IS)"/> + <RegExpr attribute="Operator" context="#stay" String="\s(\+|\-|OR|\*|/|DIV|MOD|\&)"/> + </context> + <context attribute="CommentMaior" lineEndContext="#stay" name="Comment1"> + <Detect2Chars attribute="CommentMaior" context="#pop" char="*" char1=")" endRegion="Comment"/> + <Detect2Chars attribute="CommentMinor" context="CommentN" char="(" char1="*"/> + </context> + <context attribute="CommentMinor" lineEndContext="#stay" name="Comment2"> + <Detect2Chars attribute="CommentMinor" context="#pop" char="*" char1=")" endRegion="Comment"/> + <Detect2Chars attribute="CommentMinor" context="CommentN" char="(" char1="*"/> + </context> + <context attribute="CommentMinor" lineEndContext="#stay" name="CommentN"> + <Detect2Chars attribute="CommentMinor" context="#pop" char="*" char1=")"/> + <Detect2Chars attribute="CommentMinor" context="CommentN2" char="(" char1="*"/> + </context> + <context attribute="CommentMinor" lineEndContext="#stay" name="CommentN2"> + <Detect2Chars attribute="CommentMinor" context="#pop" char="*" char1=")"/> + </context> + <context attribute="String" lineEndContext="#stay" name="String1"> + <DetectChar attribute="String" context="#pop" char="""/> + </context> + <context attribute="String" lineEndContext="#stay" name="String2"> + <DetectChar attribute="String" context="#pop" char="'"/> + </context> + </contexts> + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal" /> + <itemData name="CommentMaior" defStyleNum="dsComment" /> + <itemData name="CommentMinor" defStyleNum="dsComment" /> + <itemData name="String" defStyleNum="dsString" /> + <itemData name="Keyword" defStyleNum="dsKeyword" /> + <itemData name="MemAlloc" defStyleNum="dsKeyword" /> + <itemData name="Exit" defStyleNum="dsKeyword"/> + <itemData name="Type" defStyleNum="dsDataType"/> + <itemData name="Attribute" defStyleNum="dsOthers"/> + <itemData name="Builtin" defStyleNum="dsNormal"/> + <itemData name="Integer" defStyleNum="dsBaseN"/> + <itemData name="Float" defStyleNum="dsFloat" /> + <itemData name="Char" defStyleNum="dsChar" /> + <itemData name="SpecialValues" defStyleNum="dsDecVal"/> + <itemData name="ExportFull" defStyleNum="dsOthers"/> + <itemData name="ExportReadOnly" defStyleNum="dsOthers"/> + <itemData name="Relation" defStyleNum="dsNormal"/> + <itemData name="Operator" defStyleNum="dsNormal"/> + </itemDatas> + </highlighting> + <general> + <keywords casesensitive="1" /> + <comments> + <comment name="multiLine" start="(*" end="*)" /> + </comments> + </general> +</language> diff --git a/kate/data/cpp.xml b/kate/data/cpp.xml new file mode 100644 index 000000000..790c0d8f9 --- /dev/null +++ b/kate/data/cpp.xml @@ -0,0 +1,273 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="C++" version="1.38" kateversion="2.4" section="Sources" extensions="*.c++;*.cxx;*.cpp;*.cc;*.C;*.h;*.hh;*.H;*.h++;*.hxx;*.hpp;*.hcc;*.moc" mimetype="text/x-c++src;text/x-c++hdr;text/x-chdr" priority="9"> + <highlighting> + <list name="keywords"> + <item> asm </item> + <item> break </item> + <item> case </item> + <item> catch </item> + <item> class </item> + <item> const_cast </item> + <item> continue </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> + <item> extern </item> + <item> false </item> + <item> friend </item> + <item> for </item> + <item> goto </item> + <item> if </item> + <item> inline </item> + <item> namespace </item> + <item> new </item> + <item> operator </item> + <item> private </item> + <item> protected </item> + <item> public </item> + <item> qobject_cast </item> + <item> reinterpret_cast </item> + <item> return </item> + <item> sizeof </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> type_info </item> + <item> typename </item> + <item> union </item> + <item> using </item> + <item> virtual </item> + <item> while </item> + + <item> and </item> + <item> and_eq </item> + <item> bad_cast </item> + <item> bad_typeid </item> + <item> bitand </item> + <item> bitor </item> + <item> compl </item> + <item> not </item> + <item> not_eq </item> + <item> or </item> + <item> or_eq </item> + <item> xor </item> + <item> xor_eq </item> + <item> except </item> + <item> finally </item> + <item> xalloc </item> + </list> + <list name="extensions"> + <item> K_DCOP </item> + <item> SLOT </item> + <item> SIGNAL </item> + <item> Q_CLASSINFO </item> + <item> Q_ENUMS </item> + <item> Q_EXPORT </item> + <item> Q_OBJECT </item> + <item> Q_OVERRIDE </item> + <item> Q_PROPERTY </item> + <item> Q_SETS </item> + <item> Q_SIGNALS </item> + <item> Q_SLOTS </item> + <item> Q_FOREACH </item> + <item> Q_DECLARE_FLAGS </item> + <item> Q_INIT_RESOURCE </item> + <item> Q_CLEANUP_RESOURCE </item> + <item> Q_GLOBAL_STATIC </item> + <item> Q_GLOBAL_STATIC_WITH_ARGS </item> + <item> Q_DECLARE_INTERFACE </item> + <item> Q_DECLARE_TYPEINFO </item> + <item> Q_DECLARE_SHARED </item> + <item> Q_DECLARE_FLAGS </item> + <item> Q_DECLARE_OPERATORS_FOR_FLAGS </item> + <item> Q_FOREVER </item> + <item> Q_DECLARE_PRIVATE </item> + <item> Q_DECLARE_PUBLIC </item> + <item> Q_D </item> + <item> Q_Q </item> + <item> Q_DISABLE_COPY </item> + <item> Q_INTERFACES </item> + <item> Q_FLAGS </item> + <item> Q_SCRIPTABLE </item> + <item> Q_INVOKABLE </item> + <item> Q_GADGET </item> + <item> Q_ARG </item> + <item> Q_RETURN_ARG </item> + <item> Q_ASSERT </item> + <item> Q_ASSERT_X </item> + <item> Q_PRIVATE_SLOT </item> + <item> Q_DECLARE_METATYPE </item> + <item> Q_NOREPLY </item> + <item> TRUE </item> + <item> FALSE </item> + <item> connect </item> + <item> disconnect </item> + <item> emit </item> + <item> signals </item> + <item> slots </item> + <item> foreach </item> + <item> forever </item> + </list> + <list name="types"> + <item> auto </item> + <item> bool </item> + <item> char </item> + <item> const </item> + <item> double </item> + <item> float </item> + <item> int </item> + <item> long </item> + <item> mutable </item> + <item> register </item> + <item> short </item> + <item> signed </item> + <item> static </item> + <item> unsigned </item> + <item> void </item> + <item> volatile </item> + <item> uchar </item> + <item> uint </item> + <item> int8_t </item> + <item> int16_t </item> + <item> int32_t </item> + <item> int64_t </item> + <item> uint8_t </item> + <item> uint16_t </item> + <item> uint32_t </item> + <item> uint64_t </item> + <item> wchar_t </item> + </list> + <contexts> + <context attribute="Normal Text" lineEndContext="#stay" name="Normal"> + <DetectSpaces /> + <RegExpr attribute="Preprocessor" context="Outscoped" String="#\s*if\s+0" beginRegion="Outscoped" firstNonSpace="true" /> + <DetectChar attribute="Preprocessor" context="Preprocessor" char="#" firstNonSpace="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="Keyword" context="#stay" String="keywords" /> + <keyword attribute="Extensions" context="#stay" String="extensions" /> + <keyword attribute="Data Type" context="#stay" String="types" /> + <HlCChar attribute="Char" context="#stay"/> + <DetectChar attribute="String" context="String" char="""/> + <DetectIdentifier /> + <Float attribute="Float" context="#stay"> + <AnyChar String="fF" attribute="Float" context="#stay"/> + </Float> + <HlCOct attribute="Octal" context="#stay"/> + <HlCHex attribute="Hex" context="#stay"/> + <Int attribute="Decimal" context="#stay"> + <StringDetect attribute="Decimal" context="#stay" String="ULL" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="LUL" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="LLU" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="UL" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="LU" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="LL" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="U" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="L" insensitive="TRUE"/> + </Int> + <IncludeRules context="##Doxygen" /> + <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" /> + <AnyChar attribute="Symbol" context="#stay" String=":!%&()+,-/.*<=>?[]{|}~^;"/> + </context> + <context attribute="String" lineEndContext="#pop" name="String"> + <LineContinue attribute="String" context="#stay"/> + <HlCStringChar attribute="String Char" context="#stay"/> + <DetectChar attribute="String" context="#pop" char="""/> + </context> + <context attribute="Region Marker" lineEndContext="#pop" name="Region Marker"> + </context> + <context attribute="Comment" lineEndContext="#pop" name="Commentar 1"> + <DetectSpaces /> + <IncludeRules context="##Alerts" /> + <DetectIdentifier /> + </context> + <context attribute="Comment" lineEndContext="#stay" name="Commentar 2"> + <DetectSpaces /> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment"/> + <IncludeRules context="##Alerts" /> + <DetectIdentifier /> + </context> + <context attribute="Preprocessor" lineEndContext="#pop" name="Preprocessor"> + <LineContinue attribute="Preprocessor" context="#stay"/> + <RegExpr attribute="Preprocessor" context="Define" String="define.*((?=\\))"/> + <RegExpr attribute="Preprocessor" context="#stay" String="define.*"/> + <RangeDetect attribute="Prep. Lib" context="#stay" char=""" char1="""/> + <RangeDetect attribute="Prep. Lib" context="#stay" char="<" char1=">"/> + <IncludeRules context="##Doxygen" /> + <Detect2Chars attribute="Comment" context="Commentar 1" char="/" char1="/"/> + <Detect2Chars attribute="Comment" context="Commentar/Preprocessor" char="/" char1="*"/> + </context> + <context attribute="Preprocessor" lineEndContext="#pop" name="Define"> + <LineContinue attribute="Preprocessor" context="#stay"/> + </context> + <context attribute="Comment" lineEndContext="#stay" name="Commentar/Preprocessor"> + <DetectSpaces /> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" /> + <DetectIdentifier /> + </context> + <context attribute="Comment" lineEndContext="#stay" name="Outscoped" > + <DetectSpaces /> + <IncludeRules context="##Alerts" /> + <DetectIdentifier /> + <DetectChar attribute="String" context="String" char="""/> + <IncludeRules context="##Doxygen" /> + <Detect2Chars attribute="Comment" context="Commentar 1" char="/" char1="/"/> + <Detect2Chars attribute="Comment" context="Commentar 2" char="/" char1="*" beginRegion="Comment"/> + <RegExpr attribute="Comment" context="Outscoped intern" String="#\s*if" beginRegion="Outscoped" firstNonSpace="true" /> + <RegExpr attribute="Preprocessor" context="#pop" String="#\s*(endif|else|elif)" endRegion="Outscoped" firstNonSpace="true" /> + </context> + <context attribute="Comment" lineEndContext="#stay" name="Outscoped intern"> + <DetectSpaces /> + <IncludeRules context="##Alerts" /> + <DetectIdentifier /> + <DetectChar attribute="String" context="String" char="""/> + <IncludeRules context="##Doxygen" /> + <Detect2Chars attribute="Comment" context="Commentar 1" char="/" char1="/"/> + <Detect2Chars attribute="Comment" context="Commentar 2" char="/" char1="*" beginRegion="Comment"/> + <RegExpr attribute="Comment" context="Outscoped intern" String="#\s*if" beginRegion="Outscoped" firstNonSpace="true"/> + <RegExpr attribute="Comment" context="#pop" String="#\s*endif" endRegion="Outscoped" firstNonSpace="true"/> + </context> + </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="String" defStyleNum="dsString"/> + <itemData name="String Char" defStyleNum="dsChar"/> + <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" /> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="singleLine" start="//" /> + <comment name="multiLine" start="/*" end="*/" region="Comment"/> + </comments> + <keywords casesensitive="1" /> + </general> +</language> diff --git a/kate/data/cs.xml b/kate/data/cs.xml new file mode 100644 index 000000000..3393aa204 --- /dev/null +++ b/kate/data/cs.xml @@ -0,0 +1,161 @@ +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="C#" version="1.14" kateversion="2.3" section="Sources" extensions="*.cs" mimetype="text/x-csharp-src;text/x-csharp-hde"> + <highlighting> + <list name="keywords"> + <item> abstract</item> + <item> as</item> + <item> base</item> + <item> break</item> + <item> case</item> + <item> catch</item> + <item> class</item> + <item> checked</item> + <item> continue</item> + <item> default</item> + <item> delegate</item> + <item> do</item> + <item> else</item> + <item> enum</item> + <item> event</item> + <item> explicit</item> + <item> extern</item> + <item> false</item> + <item> for</item> + <item> foreach</item> + <item> finally</item> + <item> fixed</item> + <item> goto</item> + <item> if</item> + <item> implicit</item> + <item> in</item> + <item> interface</item> + <item> internal</item> + <item> is</item> + <item> lock</item> + <item> namespace</item> + <item> new</item> + <item> null</item> + <item> operator</item> + <item> out</item> + <item> override</item> + <item> params</item> + <item> private</item> + <item> protected</item> + <item> public</item> + <item> readonly</item> + <item> ref</item> + <item> return</item> + <item> sealed</item> + <item> sizeof</item> + <item> stackalloc</item> + <item> static</item> + <item> struct</item> + <item> switch</item> + <item> this</item> + <item> throw</item> + <item> true</item> + <item> try</item> + <item> typeof</item> + <item> unchecked</item> + <item> unsafe</item> + <item> using</item> + <item> virtual</item> + <item> while</item> + <item> #if</item> + <item> #else</item> + <item> #elif</item> + <item> #endif</item> + <item> #define</item> + <item> #undef</item> + <item> #warning</item> + <item> #error</item> + <item> #line</item> + </list> + <list name="types"> + <item> bool</item> + <item> byte</item> + <item> char</item> + <item> const</item> + <item> decimal</item> + <item> double</item> + <item> float</item> + <item> int</item> + <item> long</item> + <item> object</item> + <item> uint</item> + <item> ushort</item> + <item> ulong</item> + <item> sbyte</item> + <item> short</item> + <item> string</item> + <item> void</item> + </list> + <contexts> + <context attribute="Normal Text" lineEndContext="#stay" name="Normal"> + <keyword attribute="Keyword" context="#stay" String="keywords"/> + <keyword attribute="Data Type" context="#stay" String="types" /> + <Float attribute="Float" context="#stay"> + <AnyChar String="fF" attribute="Float" context="#stay"/> + </Float> + <HlCOct attribute="Octal" context="#stay"/> + <HlCHex attribute="Hex" context="#stay"/> + <Int attribute="Decimal" context="#stay" > + <StringDetect attribute="Decimal" context="#stay" String="ULL" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="LUL" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="LLU" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="UL" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="LU" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="LL" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="U" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="L" insensitive="TRUE"/> + </Int> + <HlCChar attribute="Char" context="#stay"/> + <DetectChar attribute="String" context="String" char="""/> + <IncludeRules context="##Doxygen" /> + <Detect2Chars attribute="Comment" context="Commentar 1" char="/" char1="/"/> + <Detect2Chars attribute="Comment" context="Commentar 2" char="/" char1="*"/> + <DetectChar attribute="Symbol" context="#stay" char="{" beginRegion="block1"/> + <DetectChar attribute="Symbol" context="#stay" char="}" endRegion="block1"/> + <RegExpr attribute="Decimal" context="#stay" String="#region.*$" beginRegion="Region1"/> + <RegExpr attribute="Decimal" context="#stay" String="#endregion.*$" endRegion="Region1"/> + <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=":!%&()+,-/.*<=>?[]|~^;"/> + </context> + <context attribute="String" lineEndContext="#pop" name="String"> + <LineContinue attribute="String" context="#pop"/> + <HlCStringChar attribute="String Char" context="#stay"/> + <DetectChar attribute="String" context="#pop" char="""/> + </context> + <context attribute="Normal Text" lineEndContext="#pop" name="Member" fallthrough="true" fallthroughContext="#pop"> + <RegExpr attribute="Function" context="#pop" String="\b[_\w][_\w\d]*(?=[\s]*)" /> + </context> + <context attribute="Comment" lineEndContext="#pop" name="Commentar 1"/> + <context attribute="Comment" lineEndContext="#stay" name="Commentar 2"> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/"/> + </context> + </contexts> + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Keyword" defStyleNum="dsKeyword"/> + <itemData name="Function" defStyleNum="dsFunction"/> + <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="String" defStyleNum="dsString"/> + <itemData name="String Char" defStyleNum="dsChar"/> + <itemData name="Comment" defStyleNum="dsComment"/> + <itemData name="Symbol" defStyleNum="dsNormal"/> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="singleLine" start="//" /> + <comment name="multiLine" start="/*" end="*/" /> + </comments> + <keywords casesensitive="1" /> + </general> +</language> diff --git a/kate/data/css.xml b/kate/data/css.xml new file mode 100644 index 000000000..0e9188382 --- /dev/null +++ b/kate/data/css.xml @@ -0,0 +1,624 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="CSS" version="2.00" kateversion="2.4" section="Markup" extensions="*.css" 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-color </item> + <item> background-image </item> + <item> background-position </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> 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> box-sizing </item> + <item> opacity </item> + <item> text-shadow </item> + + <!-- konq specific --> + <item> konq_bgpos_x </item> + <item> konq_bgpos_y </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> close-quote </item> + <item> collapse </item> + <item> condensed </item> + <item> crop </item> + <item> cross </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> + </list> + + + <list name="colors"> + <item> aqua </item> + <item> black </item> + <item> blue </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> counter </item> + <item> counters </item> + + <!-- in @font-face --> + <item> local </item> + <item> format </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> tty </item> + <item> tv </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="#[A-Za-z0-9][\w\-]*" /> + <RegExpr attribute="Selector Class" context="#stay" String="\.[A-Za-z0-9][\w\-]*" /> + <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|px|in|cm|mm|pt|pc|deg|rad|grad|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=""" /> + <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" /> + <keyword attribute="Media" context="#stay" String="mediatypes" /> + <DetectChar attribute="Media" context="#stay" char="," /> + <IncludeRules context="FindComments" /> + <RegExpr attribute="Error" context="#stay" String="\S+" /> + </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=""" /> + <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="\\["']" /> + <DetectIdentifier/> + </context> + + </contexts> + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Property" defStyleNum="dsKeyword"/> + <itemData name="Unknown Property" defStyleNum="dsKeyword" italic="1"/> + <itemData name="Media" defStyleNum="dsDecVal" bold="1"/> + <itemData name="At Rule" defStyleNum="dsDecVal" /> + <itemData name="String" defStyleNum="dsString" /> + <itemData name="Value" defStyleNum="dsDataType" /> + <itemData name="Important" defStyleNum="dsKeyword" /> + <itemData name="Selector Attr" defStyleNum="dsChar" /> + <itemData name="Selector Id" defStyleNum="dsFloat" bold="1"/> + <itemData name="Selector Class" defStyleNum="dsFloat" /> + <itemData name="Selector Pseudo" defStyleNum="dsDecVal" /> + <itemData name="Comment" defStyleNum="dsComment" /> + <itemData name="Region Marker" defStyleNum="dsRegionMarker"/> + <itemData name="Alert" defStyleNum="dsAlert"/> + <itemData name="Error" defStyleNum="dsError"/> + </itemDatas> + </highlighting> + <general> + <keywords casesensitive="0" weakDeliminator="-%"/> + <comments> + <comment name="multiLine" start="/*" end="*/" /> + </comments> + </general> +</language> diff --git a/kate/data/cue.xml b/kate/data/cue.xml new file mode 100644 index 000000000..6044aae7b --- /dev/null +++ b/kate/data/cue.xml @@ -0,0 +1,74 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="CUE Sheet" version="0.91" kateversion="2.1" section="Other" extensions="*.cue" mimetype="application/x-cue"> + <highlighting> + <list name="keywords"> + <item> CATALOG </item> + <item> CDTEXTFILE </item> + <item> FILE </item> + <item> FLAGS </item> + <item> INDEX </item> + <item> ISRC </item> + <item> PERFORMER </item> + <item> PREGAP </item> + <item> POSTGAP </item> + <item> REM </item> + <item> SONGWRITER </item> + <item> TITLE </item> + <item> TRACK </item> + </list> + <list name="format"> + <item> AIFF </item> + <item> WAVE </item> + <item> MP3 </item> + <item> BINARY </item> + <item> MOTOTOLA </item> + </list> + <list name="mode"> + <item> AUDIO </item> + <item> CDG </item> + <item> CDI </item> + <item> MODE1 </item> + <item> MODE2 </item> + <item> RAW </item> + </list> + <list name="flags"> + <item> 4CH </item> + <item> DCP </item> + <item> PRE </item> + <item> SCMS </item> + </list> + <contexts> + <context attribute="Normal Text" lineEndContext="#stay" name="Normal"> + <keyword attribute="Keyword" context="#stay" String="keywords" /> + <keyword attribute="Format" context="#stay" String="format" /> + <keyword attribute="Mode" context="#stay" String="mode" /> + <keyword attribute="Flags" context="#stay" String="flags" /> + <Int attribute="Decimal" context="#stay" /> + <DetectChar attribute="String" context="String" char="""/> + <DetectChar attribute="Comment" context="Comment" char=";"/> + </context> + <context attribute="String" lineEndContext="#pop" name="String"> + <LineContinue attribute="String" context="#stay"/> + <DetectChar attribute="String" context="#pop" char="""/> + </context> + <context attribute="Comment" lineEndContext="#pop" name="Comment" /> + </contexts> + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Keyword" defStyleNum="dsKeyword"/> + <itemData name="Format" defStyleNum="dsNormal" color="#800000"/> + <itemData name="Mode" defStyleNum="dsNormal" color="#000080"/> + <itemData name="Flags" defStyleNum="dsNormal" color="#008000"/> + <itemData name="Decimal" defStyleNum="dsDecVal"/> + <itemData name="String" defStyleNum="dsString"/> + <itemData name="Comment" defStyleNum="dsComment"/> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="singleLine" start=";" /> + </comments> + <keywords casesensitive="0" /> + </general> +</language> diff --git a/kate/data/d.xml b/kate/data/d.xml new file mode 100644 index 000000000..e53a3174c --- /dev/null +++ b/kate/data/d.xml @@ -0,0 +1,348 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<!-- + ======================================================================== + + D.XML supports syntax highlighting for the D programming language under Kate. + + Copyright (C) 2004 - Simon J Mackenzie <project.katedxml@smackoz.fastmail.fm> + This code is released under the LGPL as part of kdelibs/kate. + + ======================================================================== + + D is a next generation language written by Walter Bright of Digital Mars fame. + Digital Mars C, C++ and D Compilers can be obtained from http://www.digitalmars.com/ + + ======================================================================== + + Updates for D.XML can be obtained from http://kate.kde.org/hl/ + + UPDATE HISTORY:- + 2004.08.15 - D.XML 1.36 - D 0.98 - Current release of D. + - package, writef(strictly speaking writyef isn't a keyword) - keywords are now supported. + 2004.??.?? - D.XML 1.35 - D 0.?? - Not sure how this release got posted! + 2004.05.23 - D.XML 1.34 - D 0.90 - updated. + 2004.05.19 - D.XML 1.33 - D 0.89 - mixin - keyword is now supported. + 2004.05.19 - D.XML 1.32 - D 0.77 - pragma, typeof - keywords are now supported. + 2004.05.19 - D.XML 1.31 - D 0.76 - is - keyword is now supported. + 2003.09.06 - D.XML 1.30 - D 0.71 - foreach - keyword is now supported. + 2003.08.18 - D.XML 1.20 - D 0.69 - floats are now supported. + - embedded underscores in integer and float literals are now supported. + 2003.08.11 - D.XML 1.10 - updated. + 2003.07.18 - D.XML 1.00 - First released. + + TODO:- + - Kate string translation cannot handle \" as a literal within a D string. The " will be interpreted as an end of string marker + when it should be ignored because of the preceding back-slash. + + ======================================================================== +--> + +<language name="D" section="Sources" extensions="*.d;*.D" mimetype="text/x-dsrc" version="1.36" kateversion="2.2" casesensitive="true" author="Simon J Mackenzie (project.katedxml@smackoz.fastmail.fm)" license="LGPL"> + <highlighting> + <list name="keywords"> + <item> abstract </item> + <item> alias </item> + <item> align </item> + <item> asm </item> + <item> auto </item> + + <item> body </item> + <item> break </item> + + <item> case </item> + <item> cast </item> + <item> catch </item> + <item> class </item> + <item> const </item> + <item> continue </item> + + <item> default </item> + <item> delegate </item> + <item> delete </item> + <item> deprecated </item> + <item> do </item> + + <item> else </item> + <item> enum </item> + <item> export </item> + + <item> false </item> + <item> final </item> + <item> finally </item> + <item> for </item> + <item> foreach </item> + <item> function </item> + + <item> goto </item> + + <item> if </item> + <item> in </item> + <item> inout </item> + <item> interface </item> + <item> invariant </item> + <item> is </item> + + <item> mixin </item> + + <item> new </item> + <item> null </item> + + <item> out </item> + <item> override </item> + + <item> package </item> + <item> private </item> + <item> protected </item> + <item> public </item> + + <item> return </item> + + <item> static </item> + <item> struct </item> + <item> super </item> + <item> switch </item> + <item> synchronized </item> + + <item> template </item> + <item> this </item> + <item> throw </item> + <item> true </item> + <item> try </item> + <item> typedef </item> + <item> typeof </item> + + <item> union </item> + + <item> volatile </item> + + <item> while </item> + <item> with </item> + </list> + <list name="modules"> + <item> module </item> + <item> import </item> + </list> + <list name="types"> + <item> void </item> + <item> bit </item> + <item> byte </item> + <item> ubyte </item> + <item> short </item> + <item> ushort </item> + <item> int </item> + <item> uint </item> + <item> long </item> + <item> ulong </item> + <item> cent </item> + <item> ucent </item> + <item> float </item> + <item> double </item> + <item> real </item> + <item> ireal </item> + <item> ifloat </item> + <item> idouble </item> + <item> creal </item> + <item> cfloat </item> + <item> cdouble </item> + <item> char </item> + <item> wchar </item> + <item> dchar </item> + </list> + <list name="phobos"> + <item> printf </item> + <item> writef </item> + </list> + + <list name="linkage"> + <item> extern </item> + </list> + <list name="ltypes"> + <item> C </item> + <item> D </item> + <item> Windows </item> + <item> Pascal </item> + </list> + + <list name="debug"> + <item> debug </item> + </list> + <list name="assert"> + <item> assert </item> + </list> + + <list name="pragma"> + <item> pragma </item> + </list> + <list name="ptypes"> + <item> msg </item> + </list> + + <list name="version"> + <item> version </item> + </list> + <list name="vtypes"> + <item> DigitalMars </item> + <item> X86 </item> + <item> AMD64 </item> + <item> Windows </item> + <item> Win32 </item> + <item> Win64 </item> + <item> linux </item> + <item> LittleEndian </item> + <item> BigEndian </item> + <item> D_InlineAsm </item> + <item> none </item> + </list> + + <list name="unittest"> + <item> unittest </item> + </list> + + <contexts> + <context attribute="Normal Text" lineEndContext="#stay" name="normal"> + <keyword attribute="Keyword" context="#stay" String="keywords"/> + <keyword attribute="Module" context="ModuleName" String="modules"/> + <keyword attribute="Type" context="#stay" String="types"/> + <keyword attribute="Phobos Library" context="#stay" String="phobos"/> + <keyword attribute="Linkage" context="Linkage" String="linkage"/> + <keyword attribute="Debug" context="#stay" String="debug"/> + <keyword attribute="Assert" context="#stay" String="assert"/> + <keyword attribute="Pragma" context="Pragmas" String="pragma"/> + <keyword attribute="Version" context="Version" String="version"/> + <keyword attribute="Unit Test" context="#stay" String="unittest"/> + + <Detect2Chars attribute="Wysiwyg" context="Wysiwyg" char="r" char1="""/> + <Detect2Chars attribute="Hex" context="Hex" char="x" char1="""/> + + <RegExpr attribute="Normal Text" context="#pop" String="[_a-z][\w]*" insensitive="true"/> + + <RegExpr attribute="Pragma" context="#pop" String="\#[ ]*line"/> + + <RegExpr attribute="Escape String" context="#pop" String="\\[n|t|"]"/> + <RegExpr attribute="Escape String" context="#pop" String="(\\r\\n)"/> + <RegExpr attribute="Escape String" context="#pop" String="\\0[0-7]+"/> + <RegExpr attribute="Escape String" context="#pop" String="\\u[\d]+" insensitive="true"/> + <RegExpr attribute="Escape String" context="#pop" String="\\x[\da-fA-F]+"/> + + <RegExpr attribute="Binary" context="#pop" String="0b[01]+[_01]*[ ]*\.\.[ ]*0b[01]+[_01]*(UL|LU|U|L)?" insensitive="true"/> + <RegExpr attribute="Octal" context="#pop" String="0[0-7]+[_0-7]*[ ]*\.\.[ ]*0[0-7]+[_0-7]*(UL|LU|U|L)?" insensitive="true"/> + <RegExpr attribute="Hex" context="#pop" String="0x[\da-f]+[_\da-f]*[ ]*\.\.[ ]*0x[\da-f]+[_\da-f]*(UL|LU|U|L)?" insensitive="true"/> + <RegExpr attribute="Integer" context="#pop" String="[\d]+[_\d]*(UL|LU|U|L)?[ ]*\.\.[ ]*[\d]+[_\d]*(UL|LU|U|L)?" insensitive="true"/> + + <RegExpr attribute="Float" context="#pop" String="[\d]*[_\d]*\.[_\d]*(e-|e|e\+)?[\d]+[_\d]*(F|L|I|FI|LI|)?" insensitive="true"/> + <RegExpr attribute="Float" context="#pop" String="[\d]*[_\d]*\.?[_\d]*(e-|e|e\+)[\d]+[_\d]*(F|L|I|FI|LI|)?" insensitive="true"/> + <RegExpr attribute="Float" context="#pop" String="0x[\da-f]+[_\da-f]*\.[_\da-f]*(p-|p|p\+)?[\da-f]+[_\da-f]*(F|L|I|FI|LI)?" insensitive="true"/> + <RegExpr attribute="Float" context="#pop" String="0x[\da-f]+[_\da-f]*\.?[_\da-f]*(p-|p|p\+)[\da-f]+[_\da-f]*(F|L|I|FI|LI)?" insensitive="true"/> + + <RegExpr attribute="Binary" context="#pop" String="0B[01]+[_01]*(UL|LU|U|L)?" insensitive="true"/> + <RegExpr attribute="Octal" context="#pop" String="0[0-7]+[_0-7]*(UL|LU|U|L)?" insensitive="true"/> + <RegExpr attribute="Hex" context="#pop" String="0x[\da-f]+[_\da-f]*(UL|LU|U|L)?" insensitive="true"/> + <RegExpr attribute="Integer" context="#pop" String="[\d]+[_\d]*(UL|LU|U|L)?" insensitive="true"/> + + <DetectChar attribute="Char" context="Char" char="'"/> + <DetectChar attribute="String" context="String" char="""/> + <DetectChar attribute="Wysiwyg" context="Wysiwyg" char="`"/> + + <Detect2Chars attribute="Comment" context="CommentLine" char="/" char1="/"/> + <Detect2Chars attribute="Comment" context="CommentBlockA" char="/" char1="*" beginRegion="CommentA"/> + <Detect2Chars attribute="Comment" context="CommentBlockB" char="/" char1="+" beginRegion="CommentB"/> + + <DetectChar attribute="Normal Text" context="#stay" char="{" beginRegion="BraceA" /> + <DetectChar attribute="Normal Text" context="#stay" char="}" endRegion="BraceA" /> + </context> + + <context attribute="Module Name" lineEndContext="#stay" name="ModuleName"> + <DetectChar attribute="Normal Text" context="#stay" char=","/> + <DetectChar attribute="Normal Text" context="#pop" char=";"/> + <Detect2Chars attribute="Comment" context="CommentLine" char="/" char1="/"/> + <Detect2Chars attribute="Comment" context="CommentBlockA" char="/" char1="*" beginRegion="CommentA"/> + <Detect2Chars attribute="Comment" context="CommentBlockB" char="/" char1="+" beginRegion="CommentB"/> + </context> + + <context attribute="Linkage" lineEndContext="#pop" name="Linkage"> + <keyword attribute="Type" context="#pop" String="types"/> + <DetectChar attribute="Normal Text" context="#stay" char="("/> + <keyword attribute="Linkage Type" context="#stay" String="ltypes"/> + <DetectChar attribute="Normal Text" context="#pop" char=")"/> + <DetectChar attribute="Normal Text" context="#pop" char=";"/> + </context> + <context attribute="Version" lineEndContext="#pop" name="Version"> + <DetectChar attribute="Normal Text" context="#pop" char="="/> + <DetectChar attribute="Normal Text" context="#stay" char="("/> + <keyword attribute="Version Type" context="#stay" String="vtypes"/> + <RegExpr attribute="Normal Text" context="#pop" String="\w" insensitive="true"/> + <DetectChar attribute="Normal Text" context="#pop" char=")"/> + </context> + <context attribute="Pragma" lineEndContext="#pop" name="Pragmas"> + <DetectChar attribute="Normal Text" context="#stay" char="("/> + <keyword attribute="Version Type" context="#stay" String="ptypes"/> + <keyword attribute="Version Type" context="#stay" String="vtypes"/> + <RegExpr attribute="Keyword" context="#pop" String="[_a-z][\w]*" insensitive="true"/> + <DetectChar attribute="Normal Text" context="#pop" char=","/> + <DetectChar attribute="Normal Text" context="#pop" char=")"/> + </context> + + <context attribute="Wysiwyg" lineEndContext="#stay" name="Wysiwyg"> + <DetectChar attribute="Wysiwyg" context="#pop" char="""/> + <DetectChar attribute="Wysiwyg" context="#pop" char="`"/> + </context> + <context attribute="Hex" lineEndContext="#stay" name="Hex"> + <DetectChar attribute="Hex" context="#pop" char="""/> + </context> + <context attribute="Char" lineEndContext="#stay" name="Char"> + <Detect2Chars attribute="Char" context="#stay" char="\" char1="'"/> + <Detect2Chars attribute="Char" context="#stay" char="\" char1="\"/> + <DetectChar attribute="Char" context="#pop" char="'"/> + </context> + <context attribute="String" lineEndContext="#stay" name="String"> + <DetectChar attribute="String" context="#pop" char="""/> + </context> + + <context attribute="Comment" lineEndContext="#pop" name="CommentLine"> + </context> + <context attribute="Comment" lineEndContext="#stay" name="CommentBlockA"> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="CommentA"/> + </context> + <context attribute="Comment" lineEndContext="#stay" name="CommentBlockB"> + <Detect2Chars attribute="Comment" context="#pop" char="+" char1="/" endRegion="CommentB"/> + </context> + </contexts> + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Keyword" defStyleNum="dsKeyword" color="#000000" selColor="#ffffff" bold="1" italic="0"/> + <itemData name="Module" defStyleNum="dsKeyword" color="#0000ff" selColor="#ffffff" bold="0" italic="0"/> + <itemData name="Module Name" defStyleNum="dsKeyword" color="#0000ff" selColor="#ffffff" bold="1" italic="1"/> + <itemData name="Type" defStyleNum="dsDataType"/> + <itemData name="Phobos Library" defStyleNum="dsKeyword" color="#000000" selColor="#ffffff" bold="1" italic="1"/> + <itemData name="Linkage" defStyleNum="dsKeyword" color="#ff0000" selColor="#ffffff" bold="0" italic="0"/> + <itemData name="Linkage Type" defStyleNum="dsDataType" color="#ff0000" selColor="#ffffff" bold="1" italic="1"/> + <itemData name="Debug" defStyleNum="dsKeyword" color="#ff00ff" selColor="#ffffff" bold="0" italic="0"/> + <itemData name="Assert" defStyleNum="dsKeyword" color="#0000ff" selColor="#ffffff" bold="0" italic="0"/> + <itemData name="Version" defStyleNum="dsKeyword" color="#ff0000" selColor="#ffffff" bold="0" italic="0"/> + <itemData name="Version Type" defStyleNum="dsDataType" color="#ff0000" selColor="#ffffff" bold="1" italic="1"/> + <itemData name="Unit Test" defStyleNum="dsKeyword" color="#ff00ff" selColor="#ffffff" bold="1" italic="0"/> + <itemData name="Pragma" defStyleNum="dsKeyword" color="#00aa00" selColor="#ffffff" bold="1" italic="0"/> + + <itemData name="Integer" defStyleNum="dsDecVal"/> + <itemData name="Binary" defStyleNum="dsBaseN" color="#00dddd" selColor="#00ffff" bold="0" italic="0"/> + <itemData name="Octal" defStyleNum="dsBaseN" color="#00aaaa" selColor="#00ffff" bold="0" italic="0"/> + <itemData name="Hex" defStyleNum="dsBaseN" color="#006666" selColor="#00ffff" bold="0" italic="0"/> + <itemData name="Float" defStyleNum="dsFloat"/> + + <itemData name="Escape String" defStyleNum="dsString" color="#00aa00" selColor="#ff0000" bold="0" italic="0"/> + <itemData name="String" defStyleNum="dsString" color="#00aa00" selColor="#ff0000" bold="0" italic="0"/> + <itemData name="Char" defStyleNum="dsChar" color="#ff00ff" selColor="#ff00ff" bold="0" italic="0"/> + <itemData name="Wysiwyg" defStyleNum="dsChar" color="#a100a1" selColor="#ff00ff" bold="0" italic="0"/> + + <itemData name="Comment" defStyleNum="dsComment"/> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="singleLine" start="//"/> + <comment name="multiLine" start="/+" end="+/"/> + </comments> + <keywords casesensitive="true"/> + </general> +</language> diff --git a/kate/data/debianchangelog.xml b/kate/data/debianchangelog.xml new file mode 100644 index 000000000..b752f229c --- /dev/null +++ b/kate/data/debianchangelog.xml @@ -0,0 +1,60 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="Debian Changelog" version="0.62" kateversion="2.4" section="Other" extensions="" mimetype=""> + <highlighting> + <list name="keywords"> + <item>urgency</item> + </list> + + <list name="distributions"> + <item>stable</item> + <item>testing</item> + <item>frozen</item> + <item>unstable</item> + <item>experimental</item> + </list> + + <list name="urgencies"> + <item>low</item> + <item>medium</item> + <item>high</item> + <item>emergency</item> + <item>bug</item> + </list> + + <contexts> + <context attribute="Normal Text" lineEndContext="#stay" name="INIT"> + <RegExpr attribute="Keyword" context="Head" String="[^ ]*" column="0"/> + <RegExpr attribute="Email" context="#stay" String="<.*@.*>"/> + <RegExpr attribute="Keyword" context="#stay" String=" \-\-" column="0"/> + <RegExpr attribute="Keyword" context="#stay" String=" \*" column="0"/> + <RegExpr attribute="Bug" context="#stay" String="[Cc][Ll][Oo][Ss][Ee][Ss]:[\s]*(([Bb][Uu][Gg]\s*)?#\s*\d+)(\s*, *([Bb[Uu][Gg]\s*)?#\s*\d+)*"/> + </context> + + <context attribute="Normal Text" lineEndContext="#pop" name="Head"> + <DetectChar attribute="Keyword" context="Version" char="("/> + <RegExpr attribute="Keyword" context="#stay" String="[,;=]"/> + <keyword attribute="Keyword" context="#stay" String="keywords"/> + <keyword attribute="Data" context="#stay" String="distributions"/> + <keyword attribute="Data" context="#stay" String="urgencies"/> + </context> + + <context attribute="Version" lineEndContext="#pop" name="Version"> + <DetectChar attribute="Keyword" context="#pop" char=")"/> + </context> + </contexts> + + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Keyword" defStyleNum="dsKeyword"/> + <itemData name="Version" defStyleNum="dsDataType"/> + <itemData name="Data" defStyleNum="dsDataType"/> + <itemData name="Bug" defStyleNum="dsDataType"/> + <itemData name="Email" defStyleNum="dsOthers"/> + </itemDatas> + </highlighting> + + <general> + <keywords casesensitive="1" /> + </general> +</language> diff --git a/kate/data/debiancontrol.xml b/kate/data/debiancontrol.xml new file mode 100644 index 000000000..76b761863 --- /dev/null +++ b/kate/data/debiancontrol.xml @@ -0,0 +1,61 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="Debian Control" version="0.82" kateversion="2.4" section="Other" extensions="" mimetype=""> + <highlighting> + <contexts> + <context attribute="Normal Text" lineEndContext="#stay" name="INIT"> + <StringDetect attribute="Keyword" context="DependencyField" String="Depends:"/> + <StringDetect attribute="Keyword" context="DependencyField" String="Recommends:"/> + <StringDetect attribute="Keyword" context="DependencyField" String="Suggests:"/> + <StringDetect attribute="Keyword" context="DependencyField" String="Conflicts:"/> + <StringDetect attribute="Keyword" context="DependencyField" String="Provides:"/> + <StringDetect attribute="Keyword" context="DependencyField" String="Replaces:"/> + <StringDetect attribute="Keyword" context="DependencyField" String="Enhances:"/> + <StringDetect attribute="Keyword" context="DependencyField" String="Pre-Depends:"/> + <StringDetect attribute="Keyword" context="DependencyField" String="Build-Depends:"/> + <StringDetect attribute="Keyword" context="DependencyField" String="Build-Depends-Indep:"/> + <StringDetect attribute="Keyword" context="DependencyField" String="Build-Conflicts:"/> + <StringDetect attribute="Keyword" context="DependencyField" String="Build-Conflicts-Indep:"/> + <RegExpr attribute="Keyword" context="Field" minimal="true" String="[^ ]*:" column="0"/> + <DetectChar attribute="Value" context="Field" char=" " column="0"/> + </context> + + <context attribute="Value" lineEndContext="#pop" name="Field"> + <RegExpr attribute="Email" context="#stay" String="<.*@.*>" minimal="true"/> + <Detect2Chars attribute="Keyword" context="Variable" char="$" char1="{"/> + </context> + + <context attribute="Variable" lineEndContext="#pop" name="Variable"> + <DetectChar attribute="Keyword" context="#pop" char="}"/> + </context> + + <context attribute="Value" lineEndContext="#pop" name="DependencyField"> + <RegExpr attribute="Email" context="#stay" String="<.*@.*>" minimal="true"/> + <Detect2Chars attribute="Keyword" context="Variable" char="$" char1="{"/> + <RegExpr attribute="Keyword" context="#stay" String="[,\|]"/> + <DetectChar attribute="Keyword" context="Constrain" char="("/> + <DetectChar attribute="Keyword" context="Constrain" char="["/> + </context> + + <context attribute="Version" lineEndContext="#stay" name="Constrain"> + <Detect2Chars attribute="Keyword" context="Variable" char="$" char1="{"/> + <RegExpr attribute="Keyword" context="#stay" String="[!<=>]"/> + <DetectChar attribute="Keyword" context="#pop" char=")"/> + <DetectChar attribute="Keyword" context="#pop" char="]"/> + </context> + </contexts> + + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Keyword" defStyleNum="dsKeyword"/> + <itemData name="Version" defStyleNum="dsDecVal"/> + <itemData name="Value" defStyleNum="dsDataType"/> + <itemData name="Variable" defStyleNum="dsOthers"/> + <itemData name="Email" defStyleNum="dsOthers"/> + </itemDatas> + </highlighting> + + <general> + <keywords casesensitive="1" /> + </general> +</language> diff --git a/kate/data/desktop.xml b/kate/data/desktop.xml new file mode 100644 index 000000000..c91e6273f --- /dev/null +++ b/kate/data/desktop.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name=".desktop" version="1.04" kateversion="2.4" section="Configuration" extensions="*.desktop;*.kdelnk" mimetype="application/x-desktop"> + <highlighting> + <contexts> + <context attribute="Key" lineEndContext="#stay" name="Normal"> + <RegExpr String="\[.*\]$" attribute="Section" context="#stay" beginRegion="Section" endRegion="Section" column="0"/> + <RegExpr String="\[.*\]" attribute="Language" context="Value"/> + <DetectChar char="#" attribute="Comment" context="Comment" firstNonSpace="true"/> + <DetectChar char="=" attribute="Normal Text" context="Value"/> + </context> + <context attribute="Normal Text" lineEndContext="#pop" name="Value"/> + <context attribute="Comment" lineEndContext="#pop" name="Comment"/> + </contexts> + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Section" defStyleNum="dsKeyword"/> + <itemData name="Key" defStyleNum="dsDataType"/> + <itemData name="Language" defStyleNum="dsDecVal" bold="1"/> + <itemData name="Comment" defStyleNum="dsComment"/> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="singleLine" start="#"/> + </comments> + </general> +</language> diff --git a/kate/data/diff.xml b/kate/data/diff.xml new file mode 100644 index 000000000..e9d2ccf05 --- /dev/null +++ b/kate/data/diff.xml @@ -0,0 +1,113 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd" +[ + <!ENTITY file "(====|\*\*\*|\-\-\-|diff|Only in .*:).*$"> + <!ENTITY chunk "(\@\@|\d).*$"> + <!ENTITY csep "(\+\+\+|\-\-\-).*$"> +]> +<!-- + 2006-08-02: 1.10 Matthew Woehlke <mw_triad@sourceforge.net> + Added folding. Context diff changes are now identified as old/new (using + seperate attributes). Recognize 'Only in' from 'diff -r' output. + There is currently a bug (KATE limitation?) where regions may sometimes + pick up one line too many. +--> +<language name="Diff" version="1.10" kateversion="2.1" section="Other" extensions="*.diff;*patch" mimetype="text/x-diff"> + + <highlighting> + + <contexts> + + <context attribute="Normal Text" lineEndContext="#stay" name="Normal"> + <RegExpr attribute="Header" context="Chunk" String="&chunk;" beginRegion="chunk" column="0"/> + <RegExpr attribute="Header" context="RChunk" String="\*+$" beginRegion="chunk" column="0"/> + <RegExpr attribute="File" context="#stay" String="Only in .*:.*$" column="0"/> + <RegExpr attribute="File" context="RFile" String="diff.*$" beginRegion="file" column="0"/> + <RegExpr attribute="File" context="File" String="(====|\*\*\*|\-\-\-).*$" beginRegion="file" column="0"/> + <IncludeRules context="FindDiff"/> + <DetectChar attribute="Changed line" context="ChangedOld" char="!" column="0"/> + </context> + + <context attribute="Normal Text" lineEndContext="#stay" name="FindDiff"> + <RegExpr attribute="Header" context="#stay" String="&csep;" column="0"/> + <AnyChar attribute="Added line" context="Added" String="+>" column="0"/> + <AnyChar attribute="Removed line" context="Removed" String="-<" column="0"/> + </context> + + <!-- block contexts --> + <context attribute="Normal Text" lineEndContext="#stay" name="File"> + <RegExpr attribute="Header" context="ChunkInFile" String="&chunk;" beginRegion="chunk" column="0"/> + <RegExpr attribute="Header" context="RChunkInFile" String="\*+$" beginRegion="block" column="0"/> + <RegExpr attribute="File" context="#pop" String="&file;" endRegion="block" lookAhead="true" column="0"/> + <DetectChar attribute="Changed line (old)" context="ChangedOld" char="!" column="0"/> + <IncludeRules context="FindDiff"/> + </context> + + <context attribute="Normal Text" lineEndContext="#stay" name="Chunk"> + <RegExpr attribute="Header" context="#pop" String="&chunk;" endRegion="block" lookAhead="true" column="0"/> + <DetectChar attribute="Changed line (old)" context="ChangedOld" char="!" column="0"/> + <IncludeRules context="FindDiff"/> + </context> + + <context attribute="Normal Text" lineEndContext="#stay" name="ChunkInFile"> + <RegExpr attribute="Header" context="#pop" String="&chunk;" endRegion="block" lookAhead="true" column="0"/> + <RegExpr attribute="File" context="#pop" String="&file;" endRegion="block" lookAhead="true" column="0"/> + <DetectChar attribute="Changed line (old)" context="ChangedOld" char="!" column="0"/> + <IncludeRules context="FindDiff"/> + </context> + + <!-- block contexts (diff -r) --> + <context attribute="Normal Text" lineEndContext="#stay" name="RFile"> + <RegExpr attribute="File" context="#pop" String="(diff|Only in .*:).*$" endRegion="block" lookAhead="true" column="0"/> + <RegExpr attribute="Header" context="#stay" String="&file;" column="0"/> + <RegExpr attribute="Header" context="RChunkInFile" String="\*+$" beginRegion="block" column="0"/> + <IncludeRules context="File"/> + </context> + + <context attribute="Normal Text" lineEndContext="#stay" name="RChunk"> + <RegExpr attribute="Header" context="#stay" String="\*\*\* .* \*\*\*\*$" column="0"/> + <RegExpr attribute="Header" context="RChunkNew" String="\-\-\- .* \-\-\-\-$" column="0"/> + <IncludeRules context="Chunk"/> + </context> + + <context attribute="Normal Text" lineEndContext="#stay" name="RChunkInFile"> + <RegExpr attribute="Header" context="#stay" String="\*\*\* .* \*\*\*\*$" column="0"/> + <RegExpr attribute="Header" context="RChunkInFileNew" String="\-\-\- .* \-\-\-\-$" column="0"/> + <IncludeRules context="ChunkInFile"/> + </context> + + <context attribute="Normal Text" lineEndContext="#stay" name="RChunkNew"> + <RegExpr attribute="Header" context="#pop#pop" String="&chunk;" lookAhead="true" column="0"/> + <DetectChar attribute="Changed line (new)" context="ChangedNew" char="!" column="0"/> + <IncludeRules context="FindDiff"/> + </context> + + <context attribute="Normal Text" lineEndContext="#stay" name="RChunkInFileNew"> + <RegExpr attribute="Header" context="#pop#pop" String="&chunk;" lookAhead="true" column="0"/> + <RegExpr attribute="File" context="#pop#pop" String="&file;" endRegion="block" lookAhead="true" column="0"/> + <DetectChar attribute="Changed line (new)" context="ChangedNew" char="!" column="0"/> + <IncludeRules context="FindDiff"/> + </context> + + <!-- line contexts --> + <context attribute="File" lineEndContext="#pop" name="File"/> + <context attribute="Removed line" lineEndContext="#pop" name="Removed"/> + <context attribute="Added line" lineEndContext="#pop" name="Added"/> + <context attribute="Changed line (old)" lineEndContext="#pop" name="ChangedOld"/> + <context attribute="Changed line (new)" lineEndContext="#pop" name="ChangedNew"/> + + </contexts> + + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="File" defStyleNum="dsKeyword"/> + <itemData name="Header" defStyleNum="dsDataType"/> + <itemData name="Removed line" defStyleNum="dsOthers" color="#FF0000"/> + <itemData name="Added line" defStyleNum="dsString" color="#0000FF"/> + <itemData name="Changed line (old)" defStyleNum="dsOthers" color="#FF0000"/> + <itemData name="Changed line (new)" defStyleNum="dsString" color="#0000FF"/> + </itemDatas> + + </highlighting> + +</language> diff --git a/kate/data/doxygen.xml b/kate/data/doxygen.xml new file mode 100644 index 000000000..a464c98d0 --- /dev/null +++ b/kate/data/doxygen.xml @@ -0,0 +1,447 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<!-- + This file is part of KDE's kate project. + + copyright : (C) 2004 by Dominik Haumann + email : dhdev at gmx dot de + + ********************************************************************** + * 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. * + ********************************************************************** + --> +<language name="Doxygen" version="1.25" kateversion="2.4" section="Markup" extensions="*.dox;*.doxygen" mimetype="text/x-doxygen" author="Dominik Haumann (dhdev@gmx.de)" license="LGPL"> + <highlighting> + <!-- note: all tags may begin with a \ or @ char + so if you add/change tags you have to do it twice --> + <list name="TagOnly"> + <item> \arg </item> + <item> \attention </item> + <item> \author </item> + <item> \callgraph </item> + <item> \code </item> + <item> \dot </item> + <item> \else </item> + <item> \endcode </item> + <item> \enddot </item> + <item> \endhtmlonly </item> + <item> \endif </item> + <item> \endlatexonly </item> + <item> \endlink </item> + <item> \endmanonly </item> + <item> \endverbatim </item> + <item> \endxmlonly </item> + <item> \f[ </item> + <item> \f] </item> + <item> \f$ </item> + <item> \hideinitializer </item> + <item> \htmlonly </item> + <item> \interface </item> + <item> \internal </item> + <item> \invariant </item> + <item> \~ </item> + <item> \@ </item> + <item> \$ </item> + <item> \\ </item> + <item> \# </item> + <item> \latexonly </item> + <item> \li </item> + <item> \manonly </item> + <item> \n </item> + <item> \nosubgrouping </item> + <item> \note </item> + <item> \only </item> + <item> \par </item> + <item> \post </item> + <item> \pre </item> + <item> \remarks </item> + <item> \return </item> + <item> \returns </item> + <item> \sa </item> + <item> \see </item> + <item> \showinitializer </item> + <item> \since </item> + <item> \test </item> + <item> \todo </item> + <item> \verbatim </item> + <item> \warning </item> + <item> \xmlonly </item> + + <item> @arg </item> + <item> @attention </item> + <item> @author </item> + <item> @callgraph </item> + <item> @code </item> + <item> @dot </item> + <item> @else </item> + <item> @endcode </item> + <item> @enddot </item> + <item> @endhtmlonly </item> + <item> @endif </item> + <item> @endlatexonly </item> + <item> @endlink </item> + <item> @endmanonly </item> + <item> @endverbatim </item> + <item> @endxmlonly </item> + <item> @f[ </item> + <item> @f] </item> + <item> @f$ </item> + <item> @hideinitializer </item> + <item> @htmlonly </item> + <item> @interface </item> + <item> @internal </item> + <item> @invariant </item> + <item> @~ </item> + <item> @@ </item> + <item> @$ </item> + <item> @\ </item> + <item> @# </item> + <item> @latexonly </item> + <item> @li </item> + <item> @manonly </item> + <item> @n </item> + <item> @nosubgrouping </item> + <item> @note </item> + <item> @only </item> + <item> @par </item> + <item> @post </item> + <item> @pre </item> + <item> @remarks </item> + <item> @return </item> + <item> @returns </item> + <item> @sa </item> + <item> @see </item> + <item> @showinitializer </item> + <item> @since </item> + <item> @test </item> + <item> @todo </item> + <item> @verbatim </item> + <item> @warning </item> + <item> @xmlonly </item> + </list> + + <list name="TagWord"> + <item> \addtogroup </item> + <item> \a </item> + <item> \anchor </item> + <item> \b </item> + <item> \c </item> + <item> \class </item> + <item> \copydoc </item> + <item> \def </item> + <item> \dontinclude </item> + <item> \dotfile </item> + <item> \e </item> + <item> \elseif </item> + <item> \em </item> + <item> \enum </item> + <item> \example </item> + <item> \exception </item> + <item> \exceptions </item> + <item> \file </item> + <item> \htmlinclude </item> + <item> \if </item> + <item> \ifnot </item> + <item> \include </item> + <item> \link </item> + <item> \namespace </item> + <item> \p </item> + <item> \package </item> + <item> \param </item> + <item> \ref </item> + <item> \relatesalso </item> + <item> \relates </item> + <item> \retval </item> + <item> \throw </item> + <item> \throws </item> + <item> \verbinclude </item> + <item> \version </item> + <item> \xrefitem </item> + + <item> @addtogroup </item> + <item> @a </item> + <item> @anchor </item> + <item> @b </item> + <item> @c </item> + <item> @class </item> + <item> @copydoc </item> + <item> @def </item> + <item> @dontinclude </item> + <item> @dotfile </item> + <item> @e </item> + <item> @elseif </item> + <item> @em </item> + <item> @enum </item> + <item> @example </item> + <item> @exception </item> + <item> @exceptions </item> + <item> @file </item> + <item> @htmlinclude </item> + <item> @if </item> + <item> @ifnot </item> + <item> @include </item> + <item> @link </item> + <item> @namespace </item> + <item> @p </item> + <item> @package </item> + <item> @param </item> + <item> @ref </item> + <item> @relatesalso </item> + <item> @relates </item> + <item> @retval </item> + <item> @throw </item> + <item> @throws </item> + <item> @verbinclude </item> + <item> @version </item> + <item> @xrefitem </item> + </list> + <list name="TagWordWord"> + <item> \image </item> + + <item> @image </item> + </list> + <list name="TagWordString"> + <item> \defgroup </item> + <item> \page </item> + <item> \paragraph </item> + <item> \section </item> + <item> \struct </item> + <item> \subsection </item> + <item> \subsubsection </item> + <item> \union </item> + <item> \weakgroup </item> + + <item> @defgroup </item> + <item> @page </item> + <item> @paragraph </item> + <item> @section </item> + <item> @struct </item> + <item> @subsection </item> + <item> @subsubsection </item> + <item> @union </item> + <item> @weakgroup </item> + </list> + <list name="TagString"> + <item> \addindex </item> + <item> \brief </item> + <item> \bug </item> + <item> \date </item> + <item> \deprecated </item> + <item> \fn </item> + <item> \ingroup </item> + <item> \line </item> + <item> \mainpage </item> + <item> \name </item> + <item> \overload </item> + <item> \short </item> + <item> \skip </item> + <item> \skipline </item> + <item> \typedef </item> + <item> \until </item> + <item> \var </item> + + <item> @addindex </item> + <item> @brief </item> + <item> @bug </item> + <item> @date </item> + <item> @deprecated </item> + <item> @fn </item> + <item> @ingroup </item> + <item> @line </item> + <item> @mainpage </item> + <item> @name </item> + <item> @overload </item> + <item> @short </item> + <item> @skip </item> + <item> @skipline </item> + <item> @typedef </item> + <item> @until </item> + <item> @var </item> + </list> + <contexts> + <!-- different formats: + @tag : TagOnly + @tag rest_of_line : TagString + @tag <word> : TagWord + @tag <word> <word> : TagWordWord + @tag <word> rest_of_line : TagWordString + --> + <context attribute="Normal Text" lineEndContext="#stay" name="Normal"> + <RegExpr attribute="Comment" context="LineComment" String="//(!|(/(?=[^/]|$)))<?"/> + <RegExpr attribute="Comment" context="BlockComment" String="/\*(\*[^*/]|!|\*$)<?" beginRegion="BlockComment"/> + </context> + <context attribute="Comment" lineEndContext="#pop" name="LineComment"> + <DetectSpaces /> + <IncludeRules context="##Alerts" /> + <keyword attribute="Tags" context="#stay" String="TagOnly" /> + <keyword attribute="Tags" context="SL_TagWord" String="TagWord" /> + <keyword attribute="Tags" context="SL_TagWordWord" String="TagWordWord" /> + <keyword attribute="Tags" context="SL_TagString" String="TagString" /> + <keyword attribute="Tags" context="SL_TagWordString" String="TagWordString" /> + <DetectIdentifier /> + <StringDetect attribute="HTML Comment" context="SL_htmlcomment" String="<!--" /> + <Detect2Chars attribute="Comment" context="#stay" char="<" char1="<" /> + <RegExpr attribute="HTML Tag" context="SL_htmltag" String="<\s*\/?\s*[a-zA-Z_:][a-zA-Z0-9._:-]*" /> + </context> + <context attribute="Comment" lineEndContext="#stay" name="BlockComment"> + <DetectSpaces /> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="BlockComment"/> + <IncludeRules context="##Alerts" /> + <keyword attribute="Tags" context="#stay" String="TagOnly" /> + <keyword attribute="Tags" context="ML_TagWord" String="TagWord" /> + <keyword attribute="Tags" context="ML_TagWordWord" String="TagWordWord" /> + <keyword attribute="Tags" context="ML_TagString" String="TagString" /> + <keyword attribute="Tags" context="ML_TagWordString" String="TagWordString" /> + <DetectIdentifier /> + <RegExpr attribute="Tags" context="#stay" String="\\(<|>)" /> + <Detect2Chars attribute="Comment" context="#stay" char="<" char1="<" /> + <RegExpr attribute="HTML Tag" context="ML_htmltag" String="<\s*\/?\s*[a-zA-Z_:][a-zA-Z0-9._:-]*" /> + <StringDetect attribute="HTML Comment" context="ML_htmlcomment" String="<!--" /> + </context> + +<!-- NOTE: all contexts beginning with ML_ are for multiline comments + The following contexts contain a Detect2Chars that looks for a */ sequence to end multiline comments. Singleline comments do not have this limitation - that's why all contexts are copy&pasted and the line <Detect2Chars ... */> is removed. <IncludeRules context="acontext"> could be used instead but it would make context switching much more complex and very hard to understand! +--> + <!-- tag contexts --> + <context attribute="Comment" lineEndContext="#pop" name="ML_TagWord"> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" lookAhead="true"/> + <DetectSpaces /> + <RegExpr attribute="Word" context="#pop" String="\S\s" /> + <RegExpr attribute="Word" context="#stay" String="\S" /> + </context> + <context attribute="Comment" lineEndContext="#pop" name="ML_TagWordWord"> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" lookAhead="true"/> + <DetectSpaces /> + <RegExpr attribute="Word" context="#pop" String="\S\s" /> + <RegExpr attribute="Word" context="#stay" String="\S" /> + </context> + <context attribute="Comment" lineEndContext="#pop" name="ML_Tag2ndWord"> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" lookAhead="true"/> + <DetectSpaces /> + <RegExpr attribute="Word" context="#pop" String="\S\s" /> + <RegExpr attribute="Word" context="#stay" String="\S" /> + </context> + <context attribute="Comment" lineEndContext="#pop" name="ML_TagString"> + <DetectSpaces /> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" lookAhead="true"/> + <StringDetect attribute="HTML Comment" context="ML_htmlcomment" String="<!--" /> + <Detect2Chars attribute="Comment" context="#stay" char="<" char1="<" /> + <RegExpr attribute="HTML Tag" context="ML_htmltag" String="<\s*\/?\s*[a-zA-Z_:][a-zA-Z0-9._:-]*" /> + <RegExpr attribute="Description" context="#stay" String="." /> + </context> + <context attribute="Comment" lineEndContext="#pop" name="ML_TagWordString"> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" lookAhead="true"/> + <DetectSpaces /> + <RegExpr attribute="Word" context="#pop" String="\S\s" /> + <RegExpr attribute="Word" context="#stay" String="\S" /> + </context> + + <!-- html contexts --> + <context name="ML_htmltag" attribute="Identifier" lineEndContext="#stay"> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" lookAhead="true"/> + <Detect2Chars attribute="HTML Tag" context="#pop" char="/" char1=">" /> + <DetectChar attribute="HTML Tag" context="#pop" char=">"/> + <RegExpr attribute="Identifier" context="ML_identifiers" String="\s*=\s*"/> + </context> + <context name="ML_htmlcomment" attribute="HTML Comment" lineEndContext="#stay"> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" lookAhead="true"/> + <IncludeRules context="##Alerts" /> + <StringDetect attribute="HTML Comment" context="#pop" String="-->" /> + </context> + <context name="ML_identifiers" attribute="Identifier" lineEndContext="#stay"> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" lookAhead="true"/> + <RegExpr attribute="String" context="#pop" String="\s*#?[a-zA-Z0-9]*" /> + <DetectChar attribute="Types" context="ML_types1" char="'" /> + <DetectChar attribute="Types" context="ML_types2" char=""" /> + </context> + <context name="ML_types1" attribute="Types" lineEndContext="#stay"> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" lookAhead="true"/> + <DetectChar attribute="Types" context="#pop#pop" char="'" /> + </context> + <context name="ML_types2" attribute="Types" lineEndContext="#stay"> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" lookAhead="true"/> + <DetectChar attribute="Types" context="#pop#pop" char=""" /> + </context> + +<!-- NOTE: all contexts beginning with SL_ are for singleline comments --> + <!-- tag contexts --> + <context attribute="Comment" lineEndContext="#pop" name="SL_TagWord"> + <DetectSpaces /> + <RegExpr attribute="Word" context="#pop" String="\S\s" /> + <RegExpr attribute="Word" context="#stay" String="\S" /> + </context> + <context attribute="Comment" lineEndContext="#pop" name="SL_TagWordWord"> + <DetectSpaces /> + <RegExpr attribute="Word" context="#pop" String="\S\s" /> + <RegExpr attribute="Word" context="#stay" String="\S" /> + </context> + <context attribute="Comment" lineEndContext="#pop" name="SL_Tag2ndWord"> + <DetectSpaces /> + <RegExpr attribute="Word" context="#pop" String="\S\s" /> + <RegExpr attribute="Word" context="#stay" String="\S" /> + </context> + <context attribute="Comment" lineEndContext="#pop" name="SL_TagString"> + <DetectSpaces /> + <StringDetect attribute="HTML Comment" context="SL_htmlcomment" String="<!--" /> + <Detect2Chars attribute="Comment" context="#stay" char="<" char1="<" /> + <RegExpr attribute="HTML Tag" context="SL_htmltag" String="<\s*\/?\s*[a-zA-Z_:][a-zA-Z0-9._:-]*" /> + <RegExpr attribute="Description" context="#stay" String="." /> + </context> + <context attribute="Comment" lineEndContext="#pop" name="SL_TagWordString"> + <DetectSpaces /> + <RegExpr attribute="Word" context="#pop" String="\S\s" /> + <RegExpr attribute="Word" context="#stay" String="\S" /> + </context> + + <!-- html contexts --> + <context name="SL_htmltag" attribute="Identifier" lineEndContext="#pop"> + <Detect2Chars attribute="HTML Tag" context="#pop" char="/" char1=">" /> + <DetectChar attribute="HTML Tag" context="#pop" char=">"/> + <RegExpr attribute="Identifier" context="SL_identifiers" String="\s*=\s*"/> + </context> + <context name="SL_htmlcomment" attribute="HTML Comment" lineEndContext="#pop"> + <IncludeRules context="##Alerts" /> + <StringDetect attribute="HTML Comment" context="#pop" String="-->" /> + </context> + <context name="SL_identifiers" attribute="Identifier" lineEndContext="#pop"> + <RegExpr attribute="String" context="#pop" String="\s*#?[a-zA-Z0-9]*" /> + <DetectChar attribute="Types" context="SL_types1" char="'" /> + <DetectChar attribute="Types" context="SL_types2" char=""" /> + </context> + <context name="SL_types1" attribute="Types" lineEndContext="#pop"> + <DetectChar attribute="Types" context="#pop#pop" char="'" /> + </context> + <context name="SL_types2" attribute="Types" lineEndContext="#pop"> + <DetectChar attribute="Types" context="#pop#pop" char=""" /> + </context> + + </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="HTML Tag" defStyleNum="dsKeyword" color="#000000" selColor="#ffffff" bold="1" italic="0" /> + <itemData name="Description" defStyleNum="dsString" color="#ff0000" /> + <itemData name="Comment" defStyleNum="dsComment" color="#0000ff" selColor="#ffffff" italic="1" /> + <itemData name="Identifier" defStyleNum="dsOthers" /> + <itemData name="HTML Comment" defStyleNum="dsComment" /> + <itemData name="Types" defStyleNum="dsDataType" /> + </itemDatas> + </highlighting> + <general> + <keywords casesensitive="0" weakDeliminator="\$~" /> + </general> +</language> diff --git a/kate/data/e.xml b/kate/data/e.xml new file mode 100644 index 000000000..a1fa75f6d --- /dev/null +++ b/kate/data/e.xml @@ -0,0 +1,258 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="E Language" version="0.21" kateversion="2.3" section="Sources" extensions="*.e" mimetype="text/x-e-src"> + <highlighting> + <list name="Type"> + <item> FALSE </item> + <item> MAX_INT </item> + <item> MIN_INT </item> + <item> NULL </item> + <item> TRUE </item> + <item> UNDEF </item> + <item> bit </item> + <item> bits </item> + <item> body </item> + <item> bool </item> + <item> byte </item> + <item> byte_array </item> + <item> continue </item> + <item> copy </item> + <item> default </item> + <item> external_pointer </item> + <item> files </item> + <item> file </item> + <item> form </item> + <item> global </item> + <item> index </item> + <item> init </item> + <item> int </item> + <item> it </item> + <item> list </item> + <item> load </item> + <item> long </item> + <item> me </item> + <item> method </item> + <item> module </item> + <item> ntv </item> + <item> of </item> + <item> pat </item> + <item> print </item> + <item> result </item> + <item> source_ref </item> + <item> string </item> + <item> symtab </item> + <item> sys </item> + <item> test </item> + <item> uint </item> + <item> untyped </item> + <item> vec </item> + </list> + <list name="Function"> + <item> run </item> + <item> init </item> + <item> pre_generate </item> + <item> dut_error </item> + <item> pack </item> + <item> unpack </item> + <item> post_generate </item> + <item> pre_generate </item> + <item> set_config </item> + <item> hex </item> + <item> stop_run </item> + <item> append </item> + <item> size </item> + <item> delete </item> + <item> is_empty </item> + <item> deep_compare </item> + <item> deep_compare_physical </item> + <item> clear </item> + <item> pop0 </item> + <item> setup </item> + <item> crc_32 </item> + </list> + <list name="Statement"> + <item> chars </item> + <item> define </item> + <item> extend </item> + <item> event </item> + <item> ECHO </item> + <item> DOECHO </item> + <item> import </item> + <item> initialize </item> + <item> non_terminal </item> + <item> struct </item> + <item> unit </item> + <item> script </item> + <item> testgroup </item> + <item> type </item> + </list> + <list name="Action"> + <item> C </item> + <item> add </item> + <item> also </item> + <item> and </item> + <item> as </item> + <item> as_a </item> + <item> break </item> + <item> code </item> + <item> compute </item> + <item> computed </item> + <item> delayed </item> + <item> do </item> + <item> else </item> + <item> each </item> + <item> emit </item> + <item> empty </item> + <item> end </item> + <item> exit </item> + <item> finish </item> + <item> for </item> + <item> from </item> + <item> if </item> + <item> in </item> + <item> is </item> + <item> like </item> + <item> log </item> + <item> new </item> + <item> no </item> + <item> not </item> + <item> only </item> + <item> or </item> + <item> out </item> + <item> read </item> + <item> repeat </item> + <item> return </item> + <item> reverse </item> + <item> routine </item> + <item> step </item> + <item> then </item> + <item> to </item> + <item> traceable </item> + <item> untraceable </item> + <item> var </item> + <item> when </item> + <item> while </item> + <item> with </item> + <item> write </item> + <item> xor </item> + </list> + <list name="Generation"> + <item> before </item> + <item> by </item> + <item> choose </item> + <item> gen </item> + <item> keep </item> + <item> keeping </item> + <item> matches </item> + <item> next </item> + <item> select </item> + <item> sequence </item> + <item> soft </item> + <item> using </item> + </list> + <list name="Cover"> + <item> address </item> + <item> cover </item> + <item> error </item> + <item> events </item> + <item> event </item> + <item> length </item> + <item> kind </item> + <item> ranges </item> + <item> range </item> + <item> sample </item> + <item> text </item> + <item> value </item> + <item> item </item> + <item> transition </item> + <item> illegal </item> + </list> + <list name="Simulator"> + <item> always </item> + <item> all </item> + <item> basic </item> + <item> call </item> + <item> cycles </item> + <item> cycle </item> + <item> clock </item> + <item> change </item> + <item> check </item> + <item> expect </item> + <item> fall </item> + <item> first </item> + <item> forever </item> + <item> idle </item> + <item> initial </item> + <item> negedge </item> + <item> others </item> + <item> on </item> + <item> posedge </item> + <item> rise </item> + <item> start </item> + <item> that </item> + <item> time </item> + <item> task </item> + <item> until </item> + <item> verilog </item> + <item> vhdl </item> + <item> wait </item> + <item> within </item> + </list> + <contexts> + + <context name="out_comment" attribute="OutSide E code" lineEndContext="#stay"> + <Detect2Chars attribute="code_begin" context="normal" char="<" char1="'" /> + </context> + + <context name="normal" attribute="Normal Text" lineEndContext="#stay"> + <DetectChar attribute="Operators" context="#stay" char="{" beginRegion="Region1"/> + <DetectChar attribute="Operators" context="#stay" char="}" endRegion="Region1"/> + <HlCHex attribute="Integer" context="#stay" /> + <HlCOct attribute="Integer" context="#stay" /> + <Int attribute="Integer" context="#stay" /> + <Detect2Chars attribute="code_end" context="out_comment" char="'" char1=">" /> + <Detect2Chars attribute="Comment" context="comment" char="-" char1="-" /> + <Detect2Chars attribute="Comment" context="comment" char="/" char1="/" /> + <DetectChar attribute="Vector" context="string" char=""" /> + <AnyChar attribute="Operators" context="#stay" String="'[&><=:+\-*\|].,;" /> + <keyword attribute="Data Type" context="#stay" String="Type"/> + <keyword attribute="Function" context="#stay" String="Function"/> + <keyword attribute="Statement" context="#stay" String="Statement"/> + <keyword attribute="Action" context="#stay" String="Action"/> + <keyword attribute="Keyword" context="#stay" String="Generation"/> + <keyword attribute="Keyword" context="#stay" String="Cover"/> + <keyword attribute="Keyword" context="#stay" String="Simulator"/> + + </context> + + + <context name="comment" attribute="Comment" lineEndContext="#pop" /> + + <context name="string" attribute="Vector" lineEndContext="#stay" > + <DetectChar attribute="Vector" context="#pop" char=""" /> + </context> + + </contexts> + + <itemDatas> + <itemData name="OutSide E code" defStyleNum="dsComment"/> + <itemData name="Normal Text" defStyleNum="dsNormal" /> + <itemData name="Keyword" defStyleNum="dsKeyword" /> + <itemData name="Function" defStyleNum="dsFunction" bold="1"/> + <itemData name="Statement" defStyleNum="dsNormal" color="#8080FF" selColor="#00ff00" bold="1" italic="0" /> + <itemData name="Action" defStyleNum="dsNormal" color="#FF8080" selColor="#00ff00" bold="1" italic="0" /> + <itemData name="Data Type" defStyleNum="dsDataType" /> + <itemData name="Comment" defStyleNum="dsComment" /> + <itemData name="Integer" defStyleNum="dsDecVal" /> + <itemData name="Bit" defStyleNum="dsDecVal" /> + <itemData name="Vector" defStyleNum="dsString" /> + <itemData name="Operators" defStyleNum="dsNormal" color="#404000" selColor="#00ff00" bold="0" italic="0" /> + </itemDatas> + + </highlighting> + <general> + <keywords casesensitive="1" /> + </general> +</language> + + diff --git a/kate/data/eiffel.xml b/kate/data/eiffel.xml new file mode 100644 index 000000000..9998fd824 --- /dev/null +++ b/kate/data/eiffel.xml @@ -0,0 +1,125 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<!-- +Eiffel syntax highlighting for Kate and Kwrite editors + +Change log: +2003-12-16 Revised existing version by adding several missing keywords. Added predefined + entities as a separate word list. Moved from numeric to named contexts. + Changed version to 1.02. + +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=""> + <highlighting> + <list name="keywords"> + <item> agent </item> + <item> alias </item> + <item> all </item> + <item> and </item> + <item> as </item> + <item> assign </item> + <item> class </item> + <item> convert </item> + <item> create </item> + <item> creation </item> + <item> debug </item> + <item> deferred </item> + <item> do </item> + <item> else </item> + <item> elseif </item> + <item> end </item> + <item> expanded </item> + <item> export </item> + <item> external </item> + <item> feature </item> + <item> from </item> + <item> frozen </item> + <item> if </item> + <item> implies </item> + <item> indexing </item> + <item> infix </item> + <item> inherit </item> + <item> inspect </item> + <item> is </item> + <item> like </item> + <item> local </item> + <item> loop </item> + <item> not </item> + <item> obsolete </item> + <item> old </item> + <item> once </item> + <item> or </item> + <item> prefix </item> + <item> pure </item> + <item> redefine </item> + <item> reference </item> + <item> rename </item> + <item> rescue </item> + <item> retry </item> + <item> separate </item> + <item> then </item> + <item> undefine </item> + </list> + + <list name="predefined-entities"> + <item> Current </item> + <item> False </item> + <item> Precursor </item> + <item> Result </item> + <item> True </item> + <item> TUPLE </item> + </list> + + <list name="assertions"> + <item> check </item> + <item> ensure </item> + <item> require </item> + <item> variant </item> + <item> invariant </item> + </list> + + <contexts> + <context name = "Normal" attribute = "Normal Text" lineEndContext="#stay"> + <keyword attribute = "Keyword" String = "keywords" context="#stay" /> + <keyword attribute = "Predefined entities" String = "predefined-entities" context="#stay" /> + <keyword attribute = "Assertions" String = "assertions" context="#stay" /> + + <Int attribute = "Decimal" context="#stay" /> + <Float attribute = "Float" context="#stay" /> + <HlCChar attribute = "Char" context="#stay" /> + <DetectChar attribute = "String" char = """ context="Quoted String" /> + + <Detect2Chars attribute = "Comment" char = "-" char1 = "-" context="Documentation" /> + </context> + + <context name = "Quoted String" attribute = "String" lineEndContext="#pop"> + <DetectChar attribute = "String" char = """ context="#pop" /> + </context> + + <context name = "Documentation" attribute="Comment" lineEndContext="#pop" /> + </contexts> + + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal" /> + + <itemData name="Keyword" defStyleNum="dsKeyword" /> + <itemData name="Predefined entities" defStyleNum="dsOthers" /> + <itemData name="Assertions" defStyleNum="dsOthers" /> + + <itemData name="Decimal" defStyleNum="dsDecVal" /> + <itemData name="Float" defStyleNum="dsFloat" /> + <itemData name="Char" defStyleNum="dsChar" /> + <itemData name="String" defStyleNum="dsString" /> + + <itemData name="Comment" defStyleNum="dsComment" /> + </itemDatas> + </highlighting> + + <general> + <comments> + <comment name="singleLine" start="--" /> + </comments> + <keywords casesensitive="1" /> + </general> +</language> diff --git a/kate/data/email.xml b/kate/data/email.xml new file mode 100644 index 000000000..a3ef294f2 --- /dev/null +++ b/kate/data/email.xml @@ -0,0 +1,106 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<!-- + Copyright (C) 2005 Carl A Joslin <carl.joslin@joslin.dyndns.org> +--> +<language name="Email" version="1.00" kateversion="2.4" 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" casesensitive="0"> + <RegExpr attribute="rfc-main" context="#stay" String="^[Tt]o:.*$"/> + <RegExpr attribute="rfc-main" context="#stay" String="^[Ff]rom:.*$"/> + <RegExpr attribute="rfc-main" context="#stay" String="^[Cc][Cc]:.*$"/> + <RegExpr attribute="rfc-main" context="#stay" String="^[Bb][Cc][Cc]:.*$"/> + <RegExpr attribute="rfc-main" context="#stay" String="^[Ss]ubject:.*$"/> + <RegExpr attribute="rfc-main" context="#stay" String="^[Dd]ate:.*$"/> + + <RegExpr attribute="rfc" context="#stay" String="^[Ss]ender:"/> + <RegExpr attribute="rfc" context="#stay" String="^[Rr]eply-[Tt]o:"/> + <RegExpr attribute="rfc" context="#stay" String="^[Mm]essage-[Ii][Dd]:"/> + <RegExpr attribute="rfc" context="#stay" String="^[Ii]n-[Rr]eply-[Tt]o:"/> + <RegExpr attribute="rfc" context="#stay" String="^[Rr]eferences:"/> + <RegExpr attribute="rfc" context="#stay" String="^[Cc]omments:"/> + <RegExpr attribute="rfc" context="#stay" String="^[Kk]eywors:"/> + <RegExpr attribute="rfc" context="#stay" String="^[Rr]esent-[Dd]ate:"/> + <RegExpr attribute="rfc" context="#stay" String="^[Rr]esent-[Ff]rom:"/> + <RegExpr attribute="rfc" context="#stay" String="^[Rr]esent-[Ss]ender:"/> + <RegExpr attribute="rfc" context="#stay" String="^[Rr]esent-[Tt]o:"/> + <RegExpr attribute="rfc" context="#stay" String="^[Rr]esent-[Cc][Cc]:"/> + <RegExpr attribute="rfc" context="#stay" String="^[Rr]esent-[Bb][Cc][Cc]:"/> + <RegExpr attribute="rfc" context="#stay" String="^[Rr]esent-[Mm]essage-[Ii][Dd]:"/> + <RegExpr attribute="rfc" context="#stay" String="^[Rr]esent-[Rr]eply-[Tt]o:"/> + <RegExpr attribute="rfc" context="#stay" String="^[Rr]eturn-[Pp]ath:"/> + <RegExpr attribute="rfc" context="#stay" String="^[Rr]eceived:"/> + + <RegExpr attribute="common" context="#stay" String="^[Xx]-[Mm]ozilla-[Ss]tatus:"/> + <RegExpr attribute="common" context="#stay" String="^[Xx]-[Mm]ozilla-[Ss]tatus2:"/> + <RegExpr attribute="common" context="#stay" String="^[Ee]nverlope-[Tt]o:"/> + <RegExpr attribute="common" context="#stay" String="^[Dd]elivery-[Dd]ate:"/> + <RegExpr attribute="common" context="#stay" String="^[Xx]-[Oo]riginating-[Ii][Pp]:"/> + <RegExpr attribute="common" context="#stay" String="^[Xx]-[Oo]riginating-[Ee]mail:"/> + <RegExpr attribute="common" context="#stay" String="^[Xx]-[Ss]ender:"/> + <RegExpr attribute="common" context="#stay" String="^[Mm]ime-[Vv]ersion:"/> + <RegExpr attribute="common" context="#stay" String="^[Cc]ontent-[Tt]ype:"/> + <RegExpr attribute="common" context="#stay" String="^[Xx]-[Mm]ailing-[Ll]ist:"/> + <RegExpr attribute="common" context="#stay" String="^[Xx]-[Ll]oop:"/> + <RegExpr attribute="common" context="#stay" String="^[Ll]ist-[Pp]ost:"/> + <RegExpr attribute="common" context="#stay" String="^[Ll]ist-[Hh]elp:"/> + <RegExpr attribute="common" context="#stay" String="^[Ll]ist-[Uu]nsubscribe:"/> + <RegExpr attribute="common" context="#stay" String="^[Pp]recedence:"/> + <RegExpr attribute="common" context="#stay" String="^[Cc]ontent-[Tt]ransfer-[Ee]ncoding:"/> + <RegExpr attribute="common" context="#stay" String="^[Cc]ontent-[Tt]ype:"/> + <RegExpr attribute="common" context="#stay" String="^[Xx]-[Bb]ulkmail:"/> + <RegExpr attribute="common" context="#stay" String="^[Pp]recedence:"/> + <RegExpr attribute="common" context="#stay" String="^[Cc]ontent-[Dd]isposition:"/> + + <RegExpr attribute="other" context="#stay" String="^[0-9a-zA-Z-.]+:"/> + + <RegExpr attribute="email" context="#stay" String='[a-zA-Z0-9.\-]+\@[a-zA-Z0-9.\-]+'/> + <RegExpr attribute="email" context="#stay" String='[a-zA-Z0-9.\-]*\s*<[a-zA-Z0-9.\-]+\@[a-zA-Z0-9.\-]+>'/> + <RegExpr attribute="email" context="#stay" String='"[a-zA-Z0-9. \-]+"\s*<[a-zA-Z0-9.\-]+\@[a-zA-Z0-9.\-]+>'/> + + <RegExpr attribute="string" context="#stay" String='".*"'/> + <RegExpr attribute="string" context="#stay" String="'.*'"/> + + <!--<RegExpr attribute="sign" context="sign" String="^[|>]*[\s_-]*[_-][_-][\s_-]*$"/>--> + + <RegExpr attribute="indent6" context="#stay" String="^[|>]\s*[|>]\s*[|>]\s*[|>]\s*[|>]\s*[|>].*"/> + <RegExpr attribute="indent5" context="#stay" String="^[|>]\s*[|>]\s*[|>]\s*[|>]\s*[|>].*"/> + <RegExpr attribute="indent4" context="#stay" String="^[|>]\s*[|>]\s*[|>]\s*[|>].*"/> + <RegExpr attribute="indent3" context="#stay" String="^[|>]\s*[|>]\s*[|>].*"/> + <RegExpr attribute="indent2" context="#stay" String="^[|>]\s*[|>].*"/> + <RegExpr attribute="indent1" context="#stay" String="^[|>].*"/> + + <RegExpr attribute="base64" context="#stay" String="^([A-Za-z0-9+/][A-Za-z0-9+/][A-Za-z0-9+/][A-Za-z0-9+/]){10,20}$"/> + <RegExpr attribute="base64" context="#stay" String="^[A-Za-z0-9+=/]+=$"/> + + <RegExpr attribute="marker" context="#stay" String="^(- )?--(--.*)?"/> + </context> + </contexts> + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="rfc" color="darkgreen"/> + <itemData name="rfc-main" bold="1" color="darkgreen" defStyleNum="dsAlert"/> + <itemData name="common" color="gold"/> + <itemData name="other" color="red"/> + <itemData name="email" color="blue"/> + <itemData name="string" defStyleNum="dsString"/> + + <itemData name="base64" defStyleNum="dsRegionMarker"/> + <itemData name="marker" defStyleNum="dsAlert"/> + + <itemData name="indent1" bold="1" color="red"/> + <itemData name="indent2" bold="1" color="green"/> + <itemData name="indent3" bold="1" color="blue"/> + <itemData name="indent4" bold="1" color="cyan"/> + <itemData name="indent5" bold="1" color="magenta"/> + <itemData name="indent6" bold="1" color="yellow"/> + + + <itemData name="sign" defStyleNum="dsComment"/> + </itemDatas> + </highlighting> + <general> + <keywords casesensitive="0" /> + </general> +</language> diff --git a/kate/data/euphoria.xml b/kate/data/euphoria.xml new file mode 100644 index 000000000..a1ca19994 --- /dev/null +++ b/kate/data/euphoria.xml @@ -0,0 +1,376 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<!-- + + This file is part of KDE's kate project. + + copyright : (C) 2004 by Irv Mullins + email : irvm at ellijay dot com + + last change : 2004-04-24 + + + 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. + +--> + +<!-- Store this in /usr/share/apps/katepart/syntax --> + +<language name="Euphoria" version="2.08" kateversion="2.4" section="Scripts" extensions="*.e;*.ex;*.exw;*.exu" mimetype="text/x-euphoria" author="Irv Mullins (irvm@ellijay.com)" license="LGPL"> + <highlighting> + <list name="keywords"> + <item> abort </item> + <item> allocate </item> + <item> allocate_string </item> + <item> allow_break </item> + <item> and </item> + <item> and_bits </item> + <item> append </item> + <item> arccos </item> + <item> arcsin </item> + <item> arctan </item> + <item> atom_to_float32 </item> + <item> atom_to_float64 </item> + <item> as </item> + <item> begin </item> + <item> bits_to_int </item> + <item> bytes_to_int </item> + <item> c_func </item> + <item> c_proc </item> + <item> call </item> + <item> call_back </item> + <item> call_func </item> + <item> call_proc </item> + <item> check_break </item> + <item> chdir </item> + <item> clear_screen </item> + <item> close </item> + <item> command_line </item> + <item> compare </item> + <item> cos </item> + <item> crash_file </item> + <item> crash_message </item> + <item> current_dir </item> + <item> custom_sort </item> + <item> date </item> + <item> define_c_func </item> + <item> define_c_proc </item> + <item> define_c_var </item> + <item> dir </item> + <item> display_text_image </item> + <item> do </item> + <item> else </item> + <item> elsif </item> + <item> end </item> + <item> equal </item> + <item> exit </item> + <item> find </item> + <item> float32_to_atom </item> + <item> float64_to_atom </item> + <item> floor </item> + <item> flush </item> + <item> for </item> + <item> free </item> + <item> free_console </item> + <item> function </item> + <item> get_bytes </item> + <item> get_key </item> + <item> get_mouse </item> + <item> get_position </item> + <item> get_screen_char </item> + <item> getc </item> + <item> getenv </item> + <item> gets </item> + <item> if </item> + <item> include </item> + <item> int_to_bits </item> + <item> int_to_bytes </item> + <item> length </item> + <item> lock_file </item> + <item> log </item> + <item> lower </item> + <item> machine_func </item> + <item> machine_proc </item> + <item> match </item> + <item> mem_copy </item> + <item> mem_set </item> + <item> mouse_events </item> + <item> mouse_pointer </item> + <item> not </item> + <item> not_bits </item> + <item> of </item> + <item> open </item> + <item> open_dll </item> + <item> or </item> + <item> or_bits </item> + <item> peek </item> + <item> peek4 </item> + <item> peek4s </item> + <item> peek4u </item> + <item> platform </item> + <item> poke </item> + <item> poke4 </item> + <item> position </item> + <item> power </item> + <item> prepend </item> + <item> print </item> + <item> printf </item> + <item> procedure </item> + <item> profile </item> + <item> prompt_number </item> + <item> prompt_string </item> + <item> put_screen_char </item> + <item> puts </item> + <item> rand </item> + <item> read_bitmap </item> + <item> register_block </item> + <item> remainder </item> + <item> repeat </item> + <item> return </item> + <item> reverse </item> + <item> routine_id </item> + <item> save_bitmap </item> + <item> save_text_image </item> + <item> scroll </item> + <item> seek </item> + <item> set_rand </item> + <item> sin </item> + <item> sleep </item> + <item> sort </item> + <item> sprint </item> + <item> sprintf </item> + <item> sqrt </item> + <item> system </item> + <item> system_exec </item> + <item> tan </item> + <item> text_color </item> + <item> then </item> + <item> time </item> + <item> to </item> + <item> trace </item> + <item> type </item> + <item> unlock_file </item> + <item> unregister_block </item> + <item> upper </item> + <item> value </item> + <item> video_config </item> + <item> wait_key </item> + <item> walk_dir </item> + <item> where </item> + <item> while </item> + <item> wildcard_file </item> + <item> wildcard_match </item> + <item> with </item> + <item> without </item> + <item> wrap </item> + <item> xor </item> + <item> xor_bits </item> + <item> ? </item> + </list> + + <list name="types"> + <item> atom </item> + <item> constant </item> + <item> global </item> + <item> integer </item> + <item> object </item> + <item> sequence </item> + <item> type </item> + </list> + + <list name="constants"> + <item> PI </item> + <item> GET_SUCCESS </item> + </list> + + <list name="GtkKeywords"> + <item> addto </item> + <item> adjustment </item> + <item> alignment </item> + <item> appendto </item> + <item> append_page </item> + <item> arrow </item> + <item> aspect_frame </item> + <item> button </item> + <item> calendar </item> + <item> cell_renderer_text </item> + <item> cell_renderer_toggle </item> + <item> check </item> + <item> checkbutton </item> + <item> check_menu_item </item> + <item> choice </item> + <item> combo </item> + <item> connect </item> + <item> drawingarea </item> + <item> draw_arc </item> + <item> draw_image </item> + <item> draw_line </item> + <item> draw_polygon </item> + <item> draw_point </item> + <item> draw_rectangle </item> + <item> end_submenu </item> + <item> entry </item> + <item> euget </item> + <item> event_box </item> + <item> flatten </item> + <item> font </item> + <item> frame </item> + <item> get </item> + <item> getImage </item> + <item> getSize </item> + <item> g_list </item> + <item> g_list_to_sequence </item> + <item> deallocate_strings </item> + <item> draw_line </item> + <item> hbox </item> + <item> hbuttonbox </item> + <item> hpaned </item> + <item> hscrollbar </item> + <item> hseparator </item> + <item> hscale </item> + <item> idle_add </item> + <item> image </item> + <item> image_menu_item </item> + <item> init </item> + <item> label </item> + <item> limit </item> + <item> list_store </item> + <item> list_view </item> + <item> list_view_column </item> + <item> main </item> + <item> mark_day </item> + <item> menu </item> + <item> menubar </item> + <item> menu_item </item> + <item> mouse_button </item> + <item> new_gc </item> + <item> new_group </item> + <item> new_menu_group </item> + <item> notebook </item> + <item> option </item> + <item> option_menu </item> + <item> pack </item> + <item> path </item> + <item> pop </item> + <item> progress_bar </item> + <item> push </item> + <item> quit </item> + <item> radio </item> + <item> radiobutton </item> + <item> radio_menu_item </item> + <item> rc_parse </item> + <item> run </item> + <item> separator_menu_item </item> + <item> set </item> + <item> set_submenu </item> + <item> str </item> + <item> scrolled_window </item> + <item> seq_to_str </item> + <item> setfg </item> + <item> setProperty </item> + <item> show </item> + <item> spinbutton </item> + <item> statusbar </item> + <item> table </item> + <item> textbox </item> + <item> timer </item> + <item> togglebutton </item> + <item> toolbar </item> + <item> tooltip </item> + <item> tree_store </item> + <item> tree_view </item> + <item> tree_view_column </item> + <item> vbox </item> + <item> vbuttonbox </item> + <item> vpaned </item> + <item> vscale </item> + <item> vscrollbar </item> + <item> vseparator </item> + <item> when </item> + <item> window </item> + <item> NULL </item> + <item> TRUE </item> + <item> FALSE </item> + <item> color_selection </item> + <item> file_selection </item> + <item> font_selection_dialog </item> + <item> Error </item> + <item> Info </item> + <item> Question </item> + <item> Warn </item> + <item> YesNo </item> + </list> + + <contexts> + <context attribute="Normal Text" lineEndContext="#stay" name="Normal"> + <RegExpr attribute="Keyword" context="#stay" String="\bend\s+for\b" endRegion="regFor"/> + <RegExpr attribute="Keyword" context="#stay" String="\bfor\b" beginRegion="regFor"/> + + <RegExpr attribute="Keyword" context="#stay" String="\bend\s+if\b" endRegion="regIf"/> + <RegExpr attribute="Keyword" context="#stay" String="\bif\b" beginRegion="regIf"/> + + <RegExpr attribute="Keyword" context="#stay" String="\bend\s+function\b" endRegion="regFunction"/> + <RegExpr attribute="Keyword" context="#stay" String="\bfunction\b" beginRegion="regFunction"/> + + <RegExpr attribute="Keyword" context="#stay" String="\bend\s+procedure\b" endRegion="regProcedure"/> + <RegExpr attribute="Keyword" context="#stay" String="\bprocedure\b" beginRegion="regProcedure"/> + + <RegExpr attribute="Keyword" context="#stay" String="\bend\s+while\b" endRegion="regWhile"/> + <RegExpr attribute="Keyword" context="#stay" String="\bwhile\b" beginRegion="regWhile"/> + + <RegExpr attribute="Keyword" context="#stay" String="\bend\s+type\b" endRegion="regType"/> + <RegExpr attribute="Keyword" context="#stay" String="\btype\b" beginRegion="regType"/> + + <keyword attribute="Keyword" context="#stay" String="keywords"/> + <keyword attribute="GtkKeyword" context="#stay" String="GtkKeywords"/> + <keyword attribute="Type" context="#stay" String="types"/> + <Float attribute="Number" context="#stay"/> + <Int attribute="Number" context="#stay"/> + <DetectChar attribute="String" context="String" char=""" /> + <RegExpr attribute="Region Marker" context="#stay" String="--\s*BEGIN.*" beginRegion="regMarker" firstNonSpace="true"/> + <RegExpr attribute="Region Marker" context="#stay" String="--\s*END.*" endRegion="regMarker" firstNonSpace="true"/> + <Detect2Chars attribute="Comment" context="Comment" char="-" char1="-"/> + </context> + + <context attribute="String" lineEndContext="#pop" name="String"> + <DetectChar attribute="String" context="#pop" char="""/> + </context> + + <context attribute="Comment" lineEndContext="#pop" name="Comment"> + <keyword attribute="Number" context="#stay" String="attention" /> + </context> + </contexts> + + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal" /> + <itemData name="Keyword" defStyleNum="dsKeyword" /> + <itemData name="GtkKeyword" defStyleNum="dsKeyword" /> + <itemData name="Type" defStyleNum="dsDataType"/> + <itemData name="Number" defStyleNum="dsDecVal" /> + <itemData name="String" defStyleNum="dsString" /> + <itemData name="Directive" defStyleNum="dsOthers" /> + <itemData name="Comment" defStyleNum="dsComment" /> + <itemData name="Region Marker" defStyleNum="dsRegionMarker" /> + </itemDatas> + + </highlighting> + <general> + <keywords casesensitive="1" /> + <comments> + <comment name="singleLine" start="--" /> + </comments> + </general> +</language> diff --git a/kate/data/ferite.xml b/kate/data/ferite.xml new file mode 100644 index 000000000..7d1548275 --- /dev/null +++ b/kate/data/ferite.xml @@ -0,0 +1,117 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="ferite" version="1.04" kateversion="2.4" section="Scripts" extensions="*.fe;*.feh" mimetype="text/x-ferite-src"> + <highlighting> + <list name="keywords"> + <item> break </item> + <item> case </item> + <item> continue </item> + <item> else </item> + <item> for </item> + <item> if </item> + <item> do </item> + <item> function </item> + <item> namespace </item> + <item> while </item> + <item> class </item> + <item> new </item> + <item> uses </item> + <item> global </item> + <item> return </item> + <item> self </item> + <item> super </item> + <item> null </item> + <item> iferr </item> + <item> fix </item> + </list> + <list name="types"> + <item> number </item> + <item> void </item> + <item> string </item> + <item> array </item> + <item> object </item> + <item> final </item> + <item> static </item> + </list> + <contexts> + <context attribute="Normal Text" lineEndContext="#stay" name="Default" > + <keyword attribute="Keyword" context="#stay" String="keywords"/> + <keyword attribute="Data Type" context="#stay" String="types"/> + <Float attribute="Float" context="#stay"> + <AnyChar String="fF" attribute="Float" context="#stay"/> + </Float> + <HlCOct attribute="Octal" context="#stay" /> + <HlCHex attribute="Hex" context="#stay" /> + <Int attribute="Decimal" context="#stay" > + <StringDetect attribute="Decimal" context="#stay" String="ULL" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="LUL" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="LLU" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="UL" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="LU" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="LL" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="U" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="L" insensitive="TRUE"/> + </Int> + <HlCChar attribute="Char" context="#stay"/> + <DetectChar attribute="String" context="String" char="""/> + <Detect2Chars attribute="Comment" context="Comment" char="/" char1="/"/> + <Detect2Chars attribute="Comment" context="Multiline Comment" char="/" char1="*"/> + <AnyChar attribute="Symbol" context="#stay" String="!%&()+,-<=>?[]^{|}~"/> + <StringDetect attribute="Comment" context="Undeffed" String="#if 0" insensitive="FALSE"/> + <DetectChar attribute="Preprocessor" context="Preprocessor" char="#" column="0"/> + </context> + <context attribute="String" lineEndContext="#pop" name="String"> + <LineContinue attribute="String" context="#stay"/> + <HlCStringChar attribute="String Char" context="#stay"/> + <DetectChar attribute="String" context="#pop" char="""/> + </context> + <context attribute="Comment" lineEndContext="#pop" name="Comment"> + <RegExpr attribute="Alert" context="#stay" String="(FIXME|TODO)" /> + </context> + <context attribute="Comment" lineEndContext="#stay" name="Multiline Comment"> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/"/> + <RegExpr attribute="Alert" context="#stay" String="(FIXME|TODO)" /> + </context> + <context attribute="Preprocessor" lineEndContext="#pop" name="Preprocessor"> + <LineContinue attribute="Preprocessor" context="#stay"/> + <RangeDetect attribute="Prep. Lib" context="#stay" char=""" char1="""/> + <RangeDetect attribute="Prep. Lib" context="#stay" char="<" char1=">"/> + <Detect2Chars attribute="Comment" context="Comment" char="/" char1="/"/> + <Detect2Chars attribute="Comment" context="Multiline Comment 2" char="/" char1="*"/> + </context> + <context attribute="Comment" lineEndContext="#stay" name="Multiline Comment 2"> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" /> + </context> + <context attribute="Normal Text" lineEndContext="#pop" name="unknown" /> + <context attribute="Normal Text" lineEndContext="#pop" name ="unknown 2" /> + <context attribute="Comment" lineEndContext="#stay" name="Undeffed"> + <RegExpr attribute="Alert" context="#stay" String="(FIXME|TODO)" /> + <StringDetect attribute="Comment" context="#pop" String="#endif" column="0"/> + </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="String" defStyleNum="dsString"/> + <itemData name="String Char" defStyleNum="dsChar"/> + <itemData name="Comment" defStyleNum="dsComment"/> + <itemData name="Symbol" defStyleNum="dsNormal"/> + <itemData name="Preprocessor" defStyleNum="dsOthers"/> + <itemData name="Prep. Lib" defStyleNum="dsOthers"/> + <itemData name="Alert" defStyleNum="dsAlert" /> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="singleLine" start="//" /> + <comment name="multiLine" start="/*" end="*/" /> + </comments> + <keywords casesensitive="1" /> + </general> +</language> diff --git a/kate/data/fgl-4gl.xml b/kate/data/fgl-4gl.xml new file mode 100644 index 000000000..2acbe8ff2 --- /dev/null +++ b/kate/data/fgl-4gl.xml @@ -0,0 +1,363 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="4GL" version="1.02" kateversion="2.5" section="Database" extensions="*.4gl;*.4GL;*.err" mimetype="text/x-4glsrc;text/x-4glerr" author="Andrej Falout (andrej@falout.org)" license="LGPL"> + <highlighting> + <list name="keywords"> + <item> at </item> + <item> by </item> + <item> go </item> + <item> if </item> + <item> in </item> + <item> is </item> + <item> no </item> + <item> of </item> + <item> on </item> + <item> or </item> + <item> to </item> + <item> up </item> + + <item> add </item> + <item> ALL </item> + <item> and </item> + <item> ANY </item> + <item> avg </item> + <item> day </item> + <item> end </item> + <item> ESC </item> + <item> for </item> + <item> key </item> + <item> let </item> + <item> log </item> + <item> max </item> + <item> mdy </item> + <item> min </item> + <item> not </item> + <item> put </item> + <item> red </item> + <item> row </item> + <item> run </item> + <item> set </item> + <item> sum </item> + <item> top </item> + + <item> blue </item> + <item> BOLD </item> + <item> call </item> + <item> case </item> + <item> cyan </item> + <item> desc </item> + <item> DROP </item> + <item> else </item> + <item> exit </item> + <item> file </item> + <item> form </item> + <item> FREE </item> + <item> from </item> + <item> goto </item> + <item> help </item> + <item> HIDE </item> + <item> HOLD </item> + <item> HOUR </item> + <item> into </item> + <item> last </item> + <item> left </item> + <item> like </item> + <item> line </item> + <item> load </item> + <item> LOCK </item> + <item> main </item> + <item> menu </item> + <item> MODE </item> + <item> name </item> + <item> NEED </item> + <item> next </item> + <item> null </item> + <item> open </item> + <item> page </item> + <item> PIPE </item> + <item> quit </item> + <item> READ </item> + <item> rows </item> + <item> show </item> + <item> skip </item> + <item> sort </item> + <item> STEP </item> + <item> STOP </item> + <item> TEMP </item> + <item> text </item> + <item> then </item> + <item> thru </item> + <item> true </item> + <item> user </item> + <item> WAIT </item> + <item> when </item> + <item> with </item> + <item> WORK </item> + <item> WRAP </item> + <item> year </item> + + <item> after </item> + <item> alter </item> + <item> ascii </item> + <item> BEGIN </item> + <item> blink </item> + <item> clear </item> + <item> close </item> + <item> count </item> + <item> DEFER </item> + <item> DIRTY </item> + <item> error </item> + <item> every </item> + <item> false </item> + <item> fetch </item> + <item> field </item> + <item> first </item> + <item> flush </item> + <item> green </item> + <item> GROUP </item> + <item> index </item> + <item> input </item> + <item> label </item> + <item> lines </item> + <item> month </item> + <item> order </item> + <item> outer </item> + <item> pause </item> + <item> print </item> + <item> right </item> + <item> share </item> + <item> sleep </item> + <item> space </item> + <item> start </item> + <item> TABLE </item> + <item> today </item> + <item> union </item> + <item> UNITS </item> + <item> using </item> + <item> where </item> + <item> WHILE </item> + <item> white </item> + + <item> ACCEPT </item> + <item> before </item> + <item> border </item> + <item> bottom </item> + <item> column </item> + <item> commit </item> + <item> create </item> + <item> cursor </item> + <item> define </item> + <item> delete </item> + <item> enable </item> + <item> ESCAPE </item> + <item> exists </item> + <item> finish </item> + <item> format </item> + <item> HAVING </item> + <item> header </item> + <item> insert </item> + <item> length </item> + <item> locate </item> + <item> margin </item> + <item> MINUTE </item> + <item> MODIFY </item> + <item> normal </item> + <item> option </item> + <item> output </item> + <item> PAGENO </item> + <item> prompt </item> + <item> record </item> + <item> report </item> + <item> return </item> + <item> revoke </item> + <item> SCREEN </item> + <item> scroll </item> + <item> SECOND </item> + <item> select </item> + <item> spaces </item> + <item> status </item> + <item> UNIQUE </item> + <item> UNLOAD </item> + <item> update </item> + <item> values </item> + <item> window </item> + <item> yellow </item> + + <item> between </item> + <item> clipped </item> + <item> cluster </item> + <item> columns </item> + <item> command </item> + <item> comment </item> + <item> connect </item> + <item> CURRENT </item> + <item> declare </item> + <item> display </item> + <item> execute </item> + <item> foreach </item> + <item> globals </item> + <item> infield </item> + <item> MAGENTA </item> + <item> matches </item> + <item> message </item> + <item> options </item> + <item> prepare </item> + <item> printer </item> + <item> program </item> + <item> reverse </item> + <item> trailer </item> + <item> upshift </item> + <item> waiting </item> + <item> without </item> + + <item> ABSOLUTE </item> + <item> continue </item> + <item> database </item> + <item> defaults </item> + <item> DISTINCT </item> + <item> EXTERNAL </item> + <item> function </item> + <item> INT_FLAG </item> + <item> NOTFOUND </item> + <item> previous </item> + <item> ROLLBACK </item> + <item> whenever </item> + <item> wordwrap </item> + + <item> attribute </item> + <item> committed </item> + <item> construct </item> + <item> delimiter </item> + <item> downshift </item> + <item> exclusive </item> + <item> INTERRUPT </item> + <item> ISOLATION </item> + <item> otherwise </item> + <item> quit_flag </item> + <item> returning </item> + + <item> attributes </item> + <item> CONSTRAINT </item> + <item> initialize </item> + <item> statistics </item> + + <item> fgl_lastkey </item> + <item> formhandler </item> + + <item> fgl_lastkey() </item> + + + </list> + <list name="types"> + <item> char </item> + <item> date </item> + <item> array </item> + <item> float </item> + <item> money </item> + <item> serial </item> + <item> DECIMAL </item> + <item> integer </item> + <item> NUMERIC </item> + <item> VARCHAR </item> + <item> DATETIME </item> + <item> FRACTION </item> + <item> INTERVAL </item> + <item> smallint </item> + </list> + <contexts> + <context attribute="Normal Text" lineEndContext="#stay" name="Normal Text 1"> + <keyword attribute="Keyword" context="#stay" String="keywords"/> + <keyword attribute="Data Type" context="#stay" String="types"/> + <Float attribute="Float" context="#stay"> + <AnyChar String="fF" attribute="Float" context="#stay"/> + </Float> + <HlCOct attribute="Octal" context="#stay"/> + <HlCHex attribute="Hex" context="#stay"/> + <Int attribute="Decimal" context="#stay" > + <StringDetect attribute="Decimal" context="#stay" String="ULL" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="LUL" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="LLU" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="UL" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="LU" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="LL" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="U" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="L" insensitive="TRUE"/> + </Int> + <HlCChar attribute="Char" context="#stay"/> + <DetectChar attribute="String" context="String" char="""/> + <DetectChar attribute="Comment" context="Comment 1" char="#"/> + <DetectChar attribute="Comment" context="Comment 2" char="{"/> + <Detect2Chars attribute="Comment" context="Comment 1" char="-" char1="-"/> +<!-- <Detect2Chars attribute="Comment" context="Comment 1" char="/" char1="/"/> + <Detect2Chars attribute="Comment" context="Comment 2" char="/" char1="*"/>//--> + <AnyChar attribute="Symbol" context="#stay" String="!%&()+,-<=>?[]^|~"/> + <StringDetect attribute="Preprocessor" context="Comment 4" String="#if 0" insensitive="FALSE"/> + <RegExpr attribute="Preprocessor" context="Preprocessor" String="#"/> + </context> + <context attribute="String" lineEndContext="#pop" name="String"> + <LineContinue attribute="String" context="#stay"/> + <HlCStringChar attribute="String Char" context="#stay"/> + <DetectChar attribute="String" context="#pop" char="""/> + </context> + <context attribute="Comment" lineEndContext="#pop" name="Comment 1"> + <RegExpr attribute="Alert" context="#stay" String="(FIXME|TODO)" /> + </context> + <context attribute="Comment" lineEndContext="#stay" name="Comment 2"> + <DetectChar attribute="Comment" context="#pop" char="}"/> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/"/> + <RegExpr attribute="Alert" context="#stay" String="(FIXME|TODO)" /> + </context> + <context attribute="Preprocessor" lineEndContext="#pop" name="Preprocessor"> + <LineContinue attribute="Preprocessor" context="#stay"/> + <RangeDetect attribute="Prep. Lib" context="#stay" char=""" char1="""/> + <RangeDetect attribute="Prep. Lib" context="#stay" char="<" char1=">"/> + <DetectChar attribute="Comment" context="Comment 1" char="#"/> + <DetectChar attribute="Comment" context="Comment 2" char="{"/> + <Detect2Chars attribute="Comment" context="Comment 1" char="/" char1="/"/> + <Detect2Chars attribute="Comment" context="Comment 3" char="/" char1="*"/> + </context> + <context attribute="Comment" lineEndContext="#stay" name="Comment 3"> + <DetectChar attribute="Comment" context="#pop" char="}"/> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" /> + </context> + <context attribute="Normal Text" lineEndContext="#pop" name="Normal Text 2" /> + <context attribute="Normal Text" lineEndContext="#pop" name="Normal Text 3" /> + <context attribute="Comment" lineEndContext="#stay" name="Comment 4"> + <RegExpr attribute="Alert" context="#stay" String="(FIXME|TODO)" /> + <RegExpr attribute="Comment" context="Comment 5" String="#if" /> + <RegExpr attribute="Preprocessor" context="#pop" String="#endif" /> + <RegExpr attribute="Preprocessor" context="#pop" String="#else" /> + </context> + <context attribute="Comment" lineEndContext="#stay" name="Comment 5"> + <RegExpr attribute="Comment" context="Comment 5" String="#if" /> + <RegExpr attribute="Comment" context="#pop" String="#endif" /> + </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="String" defStyleNum="dsString"/> + <itemData name="String Char" defStyleNum="dsChar"/> + <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="Alert" defStyleNum="dsAlert" /> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="multiLine" start="{" end="}" /> + </comments> + <keywords casesensitive="0" /> + </general> +</language> + + + diff --git a/kate/data/fgl-per.xml b/kate/data/fgl-per.xml new file mode 100644 index 000000000..9b3461ad8 --- /dev/null +++ b/kate/data/fgl-per.xml @@ -0,0 +1,172 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="4GL-PER" version="1.02" kateversion="2.5" section="Database" extensions="*.per;*.PER;*.per.err" mimetype="text/x-4glper;text/x-4glpererr" author="Andrej Falout (andrej@falout.org)" license="LGPL"> + <highlighting> + <list name="keywords"> + <item> by </item> + <item> to </item> + + <item> end </item> + <item> not </item> + <item> red </item> + + <item> blue </item> + <item> cyan </item> + <item> keys </item> + <item> like </item> + <item> null </item> + <item> size </item> + <item> type </item> + + <item> black </item> + <item> color </item> + <item> green </item> + <item> input </item> + <item> today </item> + <item> white </item> + + <item> format </item> + <item> record </item> + <item> screen </item> + <item> tables </item> + <item> yellow </item> + + <item> default </item> + <item> display </item> + <item> include </item> + <item> magenta </item> + <item> noentry </item> + <item> picture </item> + <item> reverse </item> + <item> through </item> + <item> UPSHIFT </item> + <item> without </item> + + <item> autonext </item> + <item> comments </item> + <item> COMPRESS </item> + <item> database </item> + <item> formonly </item> + <item> noupdate </item> + <item> required </item> + <item> WORDWRAP </item> + + <item> character </item> + <item> downshift </item> + <item> invisible </item> + <item> underline </item> + + <item> attributes </item> + <item> delimiters </item> + + <item> instructions </item> + </list> + <list name="types"> + <item> char </item> + <item> date </item> + <item> array </item> + <item> float </item> + <item> money </item> + <item> serial </item> + <item> DECIMAL </item> + <item> integer </item> + <item> NUMERIC </item> + <item> VARCHAR </item> + <item> DATETIME </item> + <item> FRACTION </item> + <item> INTERVAL </item> + <item> smallint </item> + </list> + <contexts> + <context attribute="Normal Text" lineEndContext="#stay" name="Normal Text 1"> + <keyword attribute="Keyword" context="#stay" String="keywords"/> + <keyword attribute="Data Type" context="#stay" String="types"/> + <Float attribute="Float" context="#stay"> + <AnyChar String="fF" attribute="Float" context="#stay"/> + </Float> + <HlCOct attribute="Octal" context="#stay"/> + <HlCHex attribute="Hex" context="#stay"/> + <Int attribute="Decimal" context="#stay" > + <StringDetect attribute="Decimal" context="#stay" String="ULL" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="LUL" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="LLU" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="UL" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="LU" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="LL" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="U" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="L" insensitive="TRUE"/> + </Int> + <HlCChar attribute="Char" context="#stay"/> + <DetectChar attribute="String" context="String" char="""/> + <DetectChar attribute="Comment" context="Comment 1" char="#"/> + <DetectChar attribute="Comment" context="Comment 2" char="{"/> + <Detect2Chars attribute="Comment" context="Comment 1" char="/" char1="/"/> + <Detect2Chars attribute="Comment" context="Comment 2" char="/" char1="*"/> + <AnyChar attribute="Symbol" context="#stay" String="!%&()+,-<=>?[]^|~"/> + <StringDetect attribute="Preprocessor" context="Comment 4" String="#if 0" insensitive="FALSE"/> + <RegExpr attribute="Preprocessor" context="Preprocessor" String="#"/> + </context> + <context attribute="String" lineEndContext="#pop" name="String"> + <LineContinue attribute="String" context="#stay"/> + <HlCStringChar attribute="String Char" context="#stay"/> + <DetectChar attribute="String" context="#pop" char="""/> + </context> + <context attribute="Comment" lineEndContext="#pop" name="Comment 1"> + <RegExpr attribute="Alert" context="#stay" String="(FIXME|TODO)" /> + </context> + <context attribute="Comment" lineEndContext="#stay" name="Comment 2"> + <DetectChar attribute="Comment" context="#pop" char="}"/> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/"/> + <RegExpr attribute="Alert" context="#stay" String="(FIXME|TODO)" /> + </context> + <context attribute="Preprocessor" lineEndContext="#pop" name="Preprocessor"> + <LineContinue attribute="Preprocessor" context="#stay"/> + <RangeDetect attribute="Prep. Lib" context="#stay" char=""" char1="""/> + <RangeDetect attribute="Prep. Lib" context="#stay" char="<" char1=">"/> + <DetectChar attribute="Comment" context="Comment 1" char="#"/> + <DetectChar attribute="Comment" context="Comment 2" char="{"/> + <Detect2Chars attribute="Comment" context="Comment 1" char="/" char1="/"/> + <Detect2Chars attribute="Comment" context="Comment 3" char="/" char1="*"/> + </context> + <context attribute="Comment" lineEndContext="#stay" name="Comment 3"> + <DetectChar attribute="Comment" context="#pop" char="}"/> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" /> + </context> + <context attribute="Normal Text" lineEndContext="#pop" name="Normal Text 2" /> + <context attribute="Normal Text" lineEndContext="#pop" name="Normal Text 3" /> + <context attribute="Comment" lineEndContext="#stay" name="Comment 4"> + <RegExpr attribute="Alert" context="#stay" String="(FIXME|TODO)" /> + <RegExpr attribute="Comment" context="Comment 5" String="#if" /> + <RegExpr attribute="Preprocessor" context="#pop" String="#endif" /> + <RegExpr attribute="Preprocessor" context="#pop" String="#else" /> + </context> + <context attribute="Comment" lineEndContext="#stay" name="Comment 5"> + <RegExpr attribute="Comment" context="Comment 5" String="#if" /> + <RegExpr attribute="Comment" context="#pop" String="#endif" /> + </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="String" defStyleNum="dsString"/> + <itemData name="String Char" defStyleNum="dsChar"/> + <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="Alert" defStyleNum="dsAlert" /> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="multiLine" start="{" end="}" /> + </comments> + <keywords casesensitive="0" /> + </general> +</language> diff --git a/kate/data/fortran.xml b/kate/data/fortran.xml new file mode 100644 index 000000000..948267fc9 --- /dev/null +++ b/kate/data/fortran.xml @@ -0,0 +1,569 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="Fortran" version="1.11" 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"> +<!-- by Franchin Matteo, fnch@libero.it --> + <highlighting> + +<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * --> +<!-- * L I S T S * --> +<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * --> + <list name="keywords"> + <item> allocate </item> + <item> break </item> + <item> call </item> + <item> case </item> + <item> common </item> + <item> contains </item> + <item> continue </item> + <item> cycle </item> + <item> deallocate </item> + <item> default </item> + <item> do </item> + <item> forall </item> + <item> where </item> + <item> elsewhere </item> + <item> elseif </item> + <item> else </item> + <item> equivalence </item> + <item> exit </item> + <item> external </item> + <item> for </item> + <item> go </item> + <item> goto </item> + <item> if </item> + <item> implicit </item> + <item> include </item> + <item> interface </item> + <item> intrinsic </item> + <item> namelist </item> + <item> none </item> + <item> nullify </item> + <item> operator </item> + <item> assignment </item> + <item> pause </item> + <item> procedure </item> + <item> pure </item> + <item> elemental </item> + <item> record </item> + <item> recursive </item> + <item> result </item> + <item> return </item> + <item> select </item> + <item> selectcase </item> + <item> stop </item> + <item> then </item> + <item> to </item> + <item> use </item> + <item> only </item> + <item> entry </item> + <item> while </item> + </list> + <list name="io_functions"> + <item> access </item> + <item> backspace </item> + <item> close </item> + <item> inquire </item> + <item> open </item> + <item> print </item> + <item> read </item> + <item> rewind </item> + <item> write </item> + <item> format </item> + </list> + <!-- Keywords inside read(...), write(...), backspace(...), + rewind(...), endfile(...), close(...) --> + <list name="io_keywords"> + <item> unit </item> + <item> end </item> + <item> err </item> + <item> fmt </item> + <item> iostat </item> + <item> status </item> + <item> advance </item> + <item> size </item> + <item> eor </item> + </list> + <!-- Keywords inside open(...) --> + <list name="open_keywords"> + <item> unit </item> + <item> iostat </item> + <item> err </item> + <item> file </item> + <item> status </item> + <item> access </item> + <item> form </item> + <item> recl </item> + <item> blank </item> + <item> position </item> + <item> action </item> + <item> delim </item> + <item> pad </item> + </list> + <!-- Keywords inside inquire(...) --> + <list name="inquire_keywords"> + <item> unit </item> + <item> iostat </item> + <item> err </item> + <item> file </item> + <item> exist </item> + <item> opened </item> + <item> number </item> + <item> named </item> + <item> name </item> + <item> access </item> + <item> sequential </item> + <item> direct </item> + <item> form </item> + <item> formatted </item> + <item> unformatted </item> + <item> recl </item> + <item> nextrec </item> + <item> blank </item> + <item> position </item> + <item> action </item> + <item> read </item> + <item> write </item> + <item> readwrite </item> + <item> delim </item> + <item> pad </item> + </list> + <list name="types"> + <item> double </item> + <item> precision </item> + <item> parameter </item> + <item> save </item> + <item> pointer </item> + <item> public </item> + <item> private </item> + <item> target </item> + <item> allocatable </item> + <item> optional </item> + <item> sequence </item> + </list> + +<!-- There are 4 types of intrinsic procedures in Fortran 90: + 1) Elemental procedures (elemental_procs); + 2) Inquiry functions (inquiry_fn); + 3) Transformational functions (transform_fn); + 4) Non elemental subroutines (non_elem_subr); + Often mathematical functions have one generic form and many specific names! + If you use the generic form, the compiler will select the right function + to use depending on the type of the arguments. + But you can use also the specific names! + --> + +<!-- E L E M E N T A L P R O C E D U R E S --> + <list name="elemental_procs"> + <!-- Elemental functions that may convert --> + <item> abs </item> <!-- Generic form: abs --> + <item> cabs </item> <!-- Specific names for abs --> + <item> dabs </item> + <item> iabs </item> + <item> aimag </item> + <item> aint </item> <!-- Generic form: aint --> + <item> dint </item> <!-- Specific name for aint --> + <item> anint </item> <!-- Generic form: anint --> + <item> dnint </item> <!-- Specific name for anint --> + <item> ceiling </item> + <item> cmplx </item> + <item> dcmplx </item> <!-- (non standard) --> + <item> dimag </item> <!-- (non standard) --> + <item> floor </item> + <item> nint </item> <!-- Generic form: nint --> + <item> idnint </item><!-- Specific name for nint --> + <item> int </item> <!-- Generic form: int --> + <item> idint </item> <!-- Specific names for int --> + <item> ifix </item> + <item> real </item> <!-- Generic form: real --> + <item> float </item> <!-- Specific names for real --> + <item> sngl </item> + <item> dble </item> + <item> dreal </item> <!-- (non standard) --> + <item> aprime </item> <!-- 5 functions from fortran.xml --> + <item> dconjg </item> <!-- I don't know if they really belong to --> + <item> dfloat </item> <!-- the fortran 90/95 standard! --> + <item> ddmim </item> + <item> rand </item> + <!-- Elemental functions that do not convert --> + <item> modulo </item> + <item> conjg </item> + <item> dprod </item> <!-- dprod(x, y) is the specific name for x*y --> + <item> dim </item> <!-- Generic form: dim --> + <item> ddim </item> <!-- Specific names for dim --> + <item> idim </item> + <item> max </item> <!-- Generic form: max --> + <item> amax0 </item> <!-- Specific names for max --> + <item> amax1 </item> + <item> max0 </item> + <item> max1 </item> + <item> dmax1 </item> + <item> min </item> <!-- Generic form: min --> + <item> amin0 </item> <!-- Specific names for min --> + <item> amin1 </item> + <item> min0 </item> + <item> min1 </item> + <item> dmin1 </item> + <item> mod </item> <!-- Generic form: mod --> + <item> amod </item> <!-- Specific names for mod --> + <item> dmod </item> + <item> sign </item> <!-- Generic form: sign --> + <item> dsign </item> <!-- Specific names for sign --> + <item> isign </item> + <!-- Elemental mathematical functions --> + <item> acos </item> <!-- Generic form: acos --> + <item> dacos </item> <!-- Specific names for acos --> + <item> asin </item> <!-- Generic form: asin --> + <item> dasin </item> <!-- Specific names for asin --> + <item> atan </item> <!-- Generic form: atan --> + <item> datan </item> <!-- Specific names for atan --> + <item> atan2 </item> <!-- Generic form: atan2 --> + <item> datan2 </item> <!-- Specific names for atan2 --> + <item> cos </item> <!-- Generic form: cos --> + <item> ccos </item> <!-- Specific names for cos --> + <item> dcos </item> + <item> cosh </item> <!-- Generic form: cosh --> + <item> dcosh </item> <!-- Specific names for cosh --> + <item> exp </item> <!-- Generic form: exp --> + <item> cexp </item> <!-- Specific names for exp --> + <item> dexp </item> + <item> log </item> <!-- Generic form: log --> + <item> alog </item> <!-- Specific names for log --> + <item> dlog </item> + <item> clog </item> + <item> log10 </item> <!-- Generic form: log10 --> + <item> alog10 </item> <!-- Specific names for log10 --> + <item> dlog10 </item> + <item> sin </item> <!-- Generic form: sin --> + <item> csin </item> <!-- Specific names for sin --> + <item> dsin </item> + <item> sinh </item> <!-- Generic form: sinh --> + <item> dsinh </item> <!-- Specific name for sinh --> + <item> sqrt </item> <!-- Generic form: sqrt --> + <item> csqrt </item> <!-- Specific names for sqrt --> + <item> dsqrt </item> + <item> tan </item> <!-- Generic form: tan --> + <item> dtan </item> <!-- Generic form: dtan --> + <item> tanh </item> <!-- Generic form: tanh --> + <item> dtanh </item> <!-- Specific names for tanh --> + <!-- Elemental character and logical functions --> + <!-- Character-integer conversions --> + <item> achar </item> + <item> char </item> + <item> iachar </item> + <item> ichar </item> + <!-- Lexical comparison functions --> + <item> lge </item> + <item> lgt </item> + <item> lle </item> + <item> llt </item> + <!-- String-handling elemental functions --> + <item> adjustl </item> + <item> adjustr </item> + <item> index </item> + <item> len_trim </item> + <item> scan </item> + <item> verify </item> + <!-- Logical conversion --> + <item> logical </item> + <!-- Elemental functions to manipulate reals --> + <item> exponent </item> + <item> fraction </item> + <item> nearest </item> + <item> rrspacing </item> + <item> scale </item> + <item> set_exponent </item> + <item> spacing </item> + <!-- Bit manipulation elemental functions --> + <item> btest </item> + <item> iand </item> + <item> ibclr </item> + <item> ibits </item> + <item> ibset </item> + <item> ieor </item> + <item> ior </item> + <item> ishft </item> + <item> ishftc </item> + <item> not </item> + <!-- Bit manipulation elemental subroutine --> + <item> mvbits </item> + <!-- Merge elemental function --> + <item> merge </item> + </list> + +<!-- I N Q U I R Y F U N C T I O N S --> + <list name="inquiry_fn"> + <!-- Inquiry functions for any type --> + <item> associated </item> + <item> present </item> + <item> kind </item> + <!-- String-handling inquiry function --> + <item> len </item> + <!-- Numeric inquiry functions --> + <item> digits </item> + <item> epsilon </item> + <item> huge </item> + <item> maxexponent </item> + <item> minexponent </item> + <item> precision </item> + <item> radix </item> + <item> range </item> + <item> tiny </item> + <!-- Bit inquiry function --> + <item> bit_size </item> + <!-- Array inquiry functions --> + <item> allocated </item> + <item> lbound </item> + <item> ubound </item> + <item> shape </item> + <item> size </item> + </list> + +<!-- T R A N S F O R M A T I O N A L F U N C T I O N S --> + <list name="transform_fn"> + <!-- String-handling transformational functions --> + <item> repeat </item> + <item> trim </item> + <!-- Transformational functions for kind values --> + <item> selected_int_kind </item> + <item> selected_real_kind </item> + <!-- Transfer function --> + <item> transfer </item> + <!-- Vector and matrix multiplication functions --> + <item> dot_product </item> + <item> matmul </item> + <!-- Transformational functions that reduce arrays --> + <item> all </item> + <item> any </item> + <item> count </item> + <item> maxval </item> + <item> minval </item> + <item> product </item> + <item> sum </item> + <!-- Packing and unpacking arrays --> + <item> pack </item> + <item> unpack </item> + <!-- Transformational function for reshaping an array --> + <item> reshape </item> + <!-- Transformational function for replication --> + <item> spread </item> + <!-- Array shifting functions --> + <item> cshift </item> + <item> eoshift </item> + <!-- Matrix transpose --> + <item> transpose </item> + <!-- Transformational functions for geometric location --> + <item> maxloc </item> + <item> minloc </item> + </list> + +<!-- N O N E L E M E N T A L S U B R O U T I N E S --> + <list name="non_elem_subr"> + <!-- Real time clock --> + <item> date_and_time </item> + <item> system_clock </item> + <!-- Random numbers --> + <item> random_number </item> + <item> random_seed </item> + </list> + +<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * --> +<!-- * C O N T E X T S * --> +<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * --> + <contexts> + <context attribute="Normal Text" lineEndContext="#stay" name="default" > + <IncludeRules context="find_strings" /> + <IncludeRules context="find_decls" /> + <IncludeRules context="find_intrinsics" /> + <IncludeRules context="find_io_stmnts" /> + <IncludeRules context="find_op_and_log" /> + <IncludeRules context="find_numbers" /> + <IncludeRules context="find_preprocessor" /> + <IncludeRules context="find_comments" /> + <IncludeRules context="find_symbols" /> + <IncludeRules context="find_end_stmnts" /> + <IncludeRules context="find_begin_stmnts" /> + </context> +<!--************************END OF THE MAIN CONTEXT*************************--> + + + +<!-- This context highlights preprocessor lines --> + <context attribute="Normal Text" lineEndContext="#stay" name="find_preprocessor"> + <RegExpr attribute="Preprocessor" context="#stay" String="(#|cDEC\$|CDEC\$).*$" column="0"/> + </context> + +<!-- This context highlights operators and the logical values .true. .false. --> + <context attribute="Normal Text" lineEndContext="#stay" name="find_op_and_log"> + <RegExpr attribute="Logical" context="#stay" String="\.(true|false)\." insensitive="TRUE"/> + <RegExpr attribute="Operator" context="#stay" String="\.[A-Za-z]+\."/> + <RegExpr attribute="Operator" context="#stay" String="(==|/=|<|<=|>|>=)"/> + </context> + +<!-- This context highlights comments --> + <context attribute="Normal Text" lineEndContext="#stay" name="find_comments"> + <RegExpr attribute="Comment" context="#stay" String="[cC\*].*$" column="0"/> + <RegExpr attribute="Comment" context="#stay" String="!.*$"/> + </context> + +<!-- This context highlights symbols --> + <context attribute="Normal Text" lineEndContext="#stay" name="find_symbols"> + <Detect2Chars attribute="Keyword" context="#stay" char="*" char1="*"/> + <Detect2Chars attribute="Keyword" context="#stay" char="(" char1="/"/> + <Detect2Chars attribute="Keyword" context="#stay" char="/" char1=")"/> + <AnyChar attribute="Keyword" context="#stay" String="&+-*/=?[]^{|}~"/> + <AnyChar attribute="Symbol" context="#stay" String="(),"/> + </context> + +<!-- This context highlights items inside the parentesis of a function --> + <context attribute="Normal Text" lineEndContext="#stay" name="inside_func_paren"> + <DetectChar attribute="Normal Text" context="inside_func_paren" char="("/> + <DetectChar attribute="Normal Text" context="#pop" char=")"/> + <IncludeRules context="find_strings" /> + <IncludeRules context="find_intrinsics" /> + <IncludeRules context="find_numbers" /> + </context> + +<!-- The following two contexts match input/output statements --> + <context attribute="Normal Text" lineEndContext="#stay" name="find_io_stmnts"> + <RegExpr attribute="IO Function" context="find_io_paren" String="\b(read|write|backspace|rewind|end\s*file|close)\s*[(]" insensitive="TRUE"/> + <RegExpr attribute="IO Function" context="find_io_paren" String="\bopen\s*[(]" insensitive="TRUE"/> + <RegExpr attribute="IO Function" context="find_io_paren" String="\binquire\s*[(]" insensitive="TRUE"/> + <RegExpr attribute="IO Function" context="format_stmnt" String="\bformat\s*[(]" insensitive="TRUE"/> + <RegExpr attribute="IO Function" context="#stay" String="\bend\s*file\b" insensitive="TRUE"/> + <keyword attribute="IO Function" context="#stay" String="io_functions"/> + </context> +<!-- This context matches parenthesis for the read, write, ... statements --> + <context attribute="Normal Text" lineEndContext="#stay" name="find_io_paren"> + <DetectChar attribute="IO Function" context="#stay" char="*"/> + <DetectChar attribute="Normal Text" context="inside_func_paren" char="("/> + <DetectChar attribute="IO Function" context="#pop" char=")"/> + <keyword attribute="IO Function" context="#stay" String="io_keywords"/> + <keyword attribute="IO Function" context="#stay" String="inquire_keywords"/> + <keyword attribute="IO Function" context="#stay" String="open_keywords"/> + <IncludeRules context="find_strings" /> + <IncludeRules context="find_intrinsics" /> + <IncludeRules context="find_numbers" /> + <IncludeRules context="find_symbols" /> + </context> +<!-- This context highlights the text inside the parenthesis of fortran statement --> + <context attribute="Normal Text" lineEndContext="#stay" name="format_stmnt"> + <DetectChar attribute="IO Function" context="format_stmnt" char="("/> + <DetectChar attribute="IO Function" context="#pop" char=")"/> + <RegExpr attribute="IO Function" context="#stay" String="[0-9]*/" insensitive="TRUE"/> + <AnyChar attribute="IO Function" context="#stay" String=":"/> + <IncludeRules context="find_strings" /> + <IncludeRules context="find_symbols" /> + </context> + +<!-- The following context matches the begin of program units --> + <context attribute="Normal Text" lineEndContext="#stay" name="find_begin_stmnts"> + <RegExpr attribute="Keyword" context="#stay" String="\bmodule\s+procedure\b" insensitive="TRUE"/> + <RegExpr attribute="Keyword" context="#stay" String="\b(program|subroutine|function|module|block\s*data)\b" insensitive="TRUE" beginRegion="Unit"/> + </context> +<!-- The following context matches the end of program units --> + <context attribute="Normal Text" lineEndContext="#stay" name="find_end_stmnts"> + <RegExpr attribute="Keyword" context="#stay" String="\bend\s*(program|subroutine|function|module|block\s*data)\b" insensitive="TRUE" endRegion="Unit"/> + <RegExpr attribute="Keyword" context="#stay" String="\bend\s*(do|if|select|where|forall|interface)\b" insensitive="TRUE"/> + <RegExpr attribute="Keyword" context="#stay" String="\bend\b" insensitive="TRUE" endRegion="Unit"/> + </context> + +<!-- The following two contexts match declarations --> + <context attribute="Normal Text" lineEndContext="#stay" name="find_decls"> + <RegExpr attribute="Data Type" context="#stay" String="\binteger[\*]\d{1,2}" insensitive="TRUE"/> + <RegExpr attribute="Data Type" context="#stay" String="\breal[\*]\d{1,2}" insensitive="TRUE"/> + <RegExpr attribute="Data Type" context="#stay" String="\bcomplex[\*]\d{1,2}" insensitive="TRUE"/> + <RegExpr attribute="Data Type" context="#stay" String="\bend\s*type\b" insensitive="TRUE"/> + <keyword attribute="Data Type" context="#stay" String="types"/> + <RegExpr attribute="Data Type" context="#stay" String="^\s*data\b" insensitive="TRUE"/> + <RegExpr attribute="Data Type" context="find_paren" String="^\s*real\s*[(]" insensitive="TRUE"/> + <RegExpr attribute="Data Type" context="#stay" String="^\s*real(?![\w\*])" insensitive="TRUE"/> + <RegExpr attribute="Data Type" context="#stay" String="\bcharacter[*][0-9]+\b" insensitive="TRUE"/> + <RegExpr attribute="Data Type" context="find_paren" String="\b(type|integer|complex|character|logical|intent|dimension)\b\s*[(]" insensitive="TRUE"/> + <RegExpr attribute="Data Type" context="#stay" String="\b(type|integer|complex|character|logical|intent|dimension)\b" insensitive="TRUE"/> + <Detect2Chars attribute="Data Type" context="#stay" char=":" char1=":"/> + </context> +<!-- This context matches parenthesis in data type declarations, such as in 'real(...)'--> + <context attribute="Data Type" lineEndContext="#pop" name="find_paren"> + <DetectChar attribute="Data Type" context="find_paren" char="("/> + <DetectChar attribute="Data Type" context="#pop" char=")"/> + </context> + +<!-- The following context matches intrinsic procedures --> + <context attribute="Normal Text" lineEndContext="#stay" name="find_intrinsics"> + <keyword attribute="Keyword" context="#stay" String="keywords"/> + <!-- INTRINSIC PROCEDURES --> + <keyword attribute="Elemental Procedure" context="#stay" String="elemental_procs"/> + <keyword attribute="Inquiry Function" context="#stay" String="inquiry_fn"/> + <keyword attribute="Transformational Function" context="#stay" String="transform_fn"/> + <keyword attribute="Non elemental subroutine" context="#stay" String="non_elem_subr"/> + </context> + +<!-- The following context matches integer and real numbers --> + <context attribute="Normal Text" lineEndContext="#stay" name="find_numbers"> + <!-- Floating-point numbers with optional kind --> + <RegExpr attribute="Float" context="#stay" String="[0-9]*\.[0-9]+([de][+-]?[0-9]+)?([_]([0-9]+|[a-z][\w_]*))?" insensitive="TRUE"/> + <RegExpr attribute="Float" context="#stay" String="\b[0-9]+\.[0-9]*([de][+-]?[0-9]+)?([_]([0-9]+|[a-z][\w_]*))?(?![a-z])" insensitive="TRUE"/> + <RegExpr attribute="Float" context="#stay" String="\b[0-9]+[de][+-]?[0-9]+([_]([0-9]+|[a-z][\w_]*))?" insensitive="TRUE"/> + <!-- Integers with optional kind specifier --> + <RegExpr attribute="Decimal" context="#stay" String="\b[0-9]+([_]([0-9]+|[a-zA-Z][\w_]*))?"/> + <!-- Integers in binary, octal and hexadecimal notations --> + <RegExpr attribute="Decimal" context="#stay" String="\b[bozx](['][0-9a-f]+[']|["][0-9a-f]+["])" insensitive="TRUE"/> + </context> + +<!-- The following four contexts implement the complex string multi-line declarations --> + <!-- Matches STRINGS (there are 2 types of strings: '...' and "...") --> + <context attribute="String" lineEndContext="#stay" name="find_strings"> + <DetectChar attribute="String" context="string_1" char="'"/> + <DetectChar attribute="String" context="string_2" char="""/> + </context> + + <context attribute="String" lineEndContext="#stay" name="string_1" fallthrough="true" fallthroughContext="#pop"> + <RegExpr attribute="String" context="#pop" String="[^']*'"/> + <RegExpr attribute="Keyword" context="end_of_string" String="&\s*$"/> + <RegExpr attribute="String" context="end_of_string" String=".*(?=&\s*$)"/> + </context> + + <context attribute="String" lineEndContext="#stay" name="string_2" fallthrough="true" fallthroughContext="#pop"> + <RegExpr attribute="String" context="#pop" String="[^"]*""/> + <RegExpr attribute="Keyword" context="end_of_string" String="&\s*$"/> + <RegExpr attribute="String" context="end_of_string" String=".*(?=&\s*$)"/> + </context> + + <context attribute="String" lineEndContext="#stay" name="end_of_string" fallthrough="true" fallthroughContext="#pop#pop"> + <DetectSpaces /> + <RegExpr attribute="Keyword" context="#stay" String="&\s*$"/> + <DetectChar attribute="Keyword" context="#pop" char="&" firstNonSpace="true"/> + <RegExpr attribute="Comment" context="#stay" String="(!.*)?$" firstNonSpace="true"/> + </context> + </contexts> + +<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * --> +<!-- * S T Y L E I T E M D E F I N I T I O N S * --> +<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * --> + <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="Float" defStyleNum="dsFloat"/> + <itemData name="String" defStyleNum="dsString"/> + <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"/> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="singleLine" start="c"/> + <comment name="singleLine" start="!"/> + </comments> + <keywords casesensitive="0"/> + </general> +</language> diff --git a/kate/data/fstab.xml b/kate/data/fstab.xml new file mode 100644 index 000000000..c2e1b21c6 --- /dev/null +++ b/kate/data/fstab.xml @@ -0,0 +1,96 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> + +<language name="fstab" version="1.00" kateversion="2.4" section="Configuration" extensions="fstab;mtab" author="Diego Iastrubni (elcuco@kde.org)" license="Public Domain" > + <highlighting> + <list name="valid_fs"> + <item> ext2 </item> + <item> ext3 </item> + <item> fat </item> + <item> vfat </item> + <item> reiser </item> + <item> proc </item> + <item> none </item> + <item> sysfs </item> + <item> ntfs </item> + <item> umsdos </item> + <item> swap </item> + <item> minix </item> + <item> iso9660 </item> + </list> + + <contexts> + <!-- <file system> <mount point> <type> <options> <dump> <pass> --> + <context name="device" attribute="Device" lineEndContext="#stay"> + <DetectChar context="comment" char="#" firstNonSpace="1" /> + <RegExpr context="mount_point" String="[\s]*" /> + </context> + + <context name="mount_point" attribute="Mount Point" lineEndContext="device" > + <DetectChar context="comment" char="#" firstNonSpace="1" /> + <RegExpr context="_type" String="[\s]*" /> + </context> + + <context name="_type" attribute="Normal" lineEndContext="device" > + <DetectChar context="comment" char="#" firstNonSpace="1" /> + <RegExpr context="type" String="[\S]*" /> + </context> + + <context name="type" attribute="Type" lineEndContext="device" > + <DetectChar context="comment" char="#" firstNonSpace="1" /> + <keyword context="#stay" attribute="Valid FileSystem" String="Valid FileSystem" /> + <RegExpr context="options" String="[\s]*"/> + </context> + + <context name="options" attribute="Options" lineEndContext="device" > + <DetectChar context="comment" char="#" firstNonSpace="1" /> + <RegExpr context="dump" String="[\s]*"/> + </context> + + <context name="dump" attribute="Dump" lineEndContext="device" > + <DetectChar context="comment" char="#" firstNonSpace="1" /> + <RegExpr context="pass" String="[\s]*"/> + </context> + + <context name="pass" attribute="Pass" lineEndContext="device" > + <DetectChar context="comment" char="#" firstNonSpace="1" /> + <RegExpr context="__error" String="[\s]*"/> + </context> + + <context name="__error" attribute="Pass" lineEndContext="device" > + <DetectChar context="comment" char="#" /> + <RegExpr context="error" String="[\S]*"/> + </context> + + <!-- error --> + <context name="error" attribute="Error" lineEndContext="device" > + </context> + + <!-- comment --> + <context name="comment" attribute="Comment" lineEndContext="#pop" > + </context> + </contexts> + + <itemDatas> + <itemData name="Device" defStyleNum="dsKeyword" /> + <itemData name="Mount Point" defStyleNum="dsDataType" /> + <itemData name="Type" defStyleNum="dsFunction" /> + <itemData name="Options" defStyleNum="dsKeyword" /> + <itemData name="Dump" defStyleNum="dsDecVal" /> + <itemData name="Pass" defStyleNum="dsDecVal" /> + + <itemData name="Valid FileSystem" defStyleNum="dsDataType" italic="1"/> + + <itemData name="Normal" defStyleNum="dsNormal" /> + <itemData name="Comment" defStyleNum="dsComment" /> + <itemData name="Error" defStyleNum="dsError" /> + </itemDatas> + </highlighting> + + <general> + <comments> + <comment name="singleLine" start="#" /> + </comments> + </general> +</language> + diff --git a/kate/data/gdl.xml b/kate/data/gdl.xml new file mode 100644 index 000000000..a41af14c4 --- /dev/null +++ b/kate/data/gdl.xml @@ -0,0 +1,313 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="GDL" version="1.01" kateversion="2.0" section="Scientific" extensions="*.gdl;*.vcg;*.GDL;*.VCG" mimetype=""> + <highlighting> + <list name="colors"> + <item> white </item> + <item> blue </item> + <item> red </item> + <item> green </item> + <item> yellow </item> + <item> magenta </item> + <item> cyan </item> + <item> darkgrey </item> + <item> darkgray </item> + <item> darkblue </item> + <item> darkred </item> + <item> darkgreen </item> + <item> darkyellow </item> + <item> darkmagenta </item> + <item> darkcyan </item> + <item> gold </item> + <item> lightgrey </item> + <item> lightgray </item> + <item> lightblue </item> + <item> lightred </item> + <item> lightgreen </item> + <item> lightyellow </item> + <item> lightmagenta </item> + <item> lightcyan </item> + <item> lilac </item> + <item> turquoise </item> + <item> aquamarine </item> + <item> khaki </item> + <item> purple </item> + <item> yellowgreen </item> + <item> pink </item> + <item> orange </item> + <item> orchid </item> + <item> black </item> + </list> + <list name="shapes"> + <item> box </item> + <item> triangle </item> + <item> circle </item> + <item> ellipse </item> + <item> hexagon </item> + <item> rhomb </item> + <item> rhomboid </item> + <item> trapeze </item> + <item> uptrapeze </item> + <item> trapezoid </item> + <item> uptrapezoid </item> + <item> lparallelogram </item> + <item> rparallelogram </item> + </list> + <list name="states"> + <item> unfolded </item> + <item> folded </item> + <item> boxed </item> + <item> clustered </item> + <item> wrapped </item> + <item> exclusive </item> + <item> white </item> + </list> + <list name="algorithms"> + <item> normal </item> + <item> tree </item> + <item> forcedir </item> + <item> dfs </item> + <item> minbackward </item> + <item> maxdepth </item> + <item> maxdepthslow </item> + <item> mindepth </item> + <item> mindepthslow </item> + <item> minindegree </item> + <item> minoutdegree </item> + <item> maxindegree </item> + <item> maxoutdegree </item> + <item> maxdegree </item> + <item> mindegree </item> + </list> + <list name="forcedir"> + <item> attraction </item> + <item> repulsion </item> + <item> randomfactor </item> + <item> randomimpulse </item> + <item> randomrounds </item> + <item> tempscheme </item> + <item> temptreshold </item> + <item> tempmin </item> + <item> tempmax </item> + </list> + <list name="magnetic"> + <item> no </item> + <item> polar </item> + <item> circular </item> + <item> polcircular </item> + <item> orthogonal </item> + </list> + <list name="orientation"> + <item> toptobottom </item> + <item> bottomtotop </item> + <item> lefttoright </item> + <item> righttoleft </item> + <item> top_to_bottom </item> + <item> bottom_to_top </item> + <item> left_to_right </item> + <item> right_to_left </item> + </list> + <list name="lines"> + <item> solid </item> + <item> continuous </item> + <item> dashed </item> + <item> dotted </item> + <item> double </item> + <item> triple </item> + <item> invisible </item> + </list> + <list name="fisheye"> + <item> pfish </item> + <item> cfish </item> + <item> fpfish </item> + <item> fcfish </item> + <item> dpfish </item> + <item> dcfish </item> + </list> + <contexts> + <context name="default" attribute="Normal" lineEndContext="#stay"> + <Detect2Chars attribute="Comment" context="ccomment" char="/" char1="/"/> + <Detect2Chars attribute="Comment" context="cppcomment" char="/" char1="*"/> + <StringDetect attribute="Keyword" context="#stay" String="focus"/> + <RegExpr attribute="Keyword" context="#stay" String="(graph|edge|node|region|backedge|(left|right|)(bent|)nearedge):"/> + <RegExpr attribute="Value" context="#stay" String="loc *:"/> + <StringDetect attribute="Value" context="centry" String="colorentry"/> + <RegExpr attribute="Value" context="arrowmode" String="arrow_?mode *:"/> + <RegExpr attribute="Value" context="colorid" String="(foldnode.|node.|)(text|border|)color *:"/> + <RegExpr attribute="Value" context="colorid" String="(foldedge.|edge.|)(arrow|backarrow|)color *:"/> + <RegExpr attribute="Value" context="arrow" String="(foldedge.|edge.|)(arrow|backarrow)style *:"/> + <RegExpr attribute="Value" context="lineid" String="(foldedge.|edge.|)linestyle *:"/> + <RegExpr attribute="Value" context="lineid" String="(foldnode.|node.|)borderstyle *:"/> + <RegExpr attribute="Value" context="fishid" String="view *:"/> + <RegExpr attribute="Value" context="shapeid" String="(foldnode.|node.|)shape"/> + <RegExpr attribute="Value" context="lquote" String="(source|target)(name|)"/> + <RegExpr attribute="Value" context="lquote" String="title *:"/> + <RegExpr attribute="Value" context="lquote" String="(foldnode.|node.|foldedge.|edge.|)label *:"/> + <RegExpr attribute="Value" context="fontlq" String="(foldnode.|node.|foldedge.|edge.|)fontname *:"/> + <RegExpr attribute="Value" context="lquote" String="infoname(1|2|3) *:"/> + <RegExpr attribute="Value" context="lquote" String="(foldnode.|node.|)info(1|2|3) *:"/> + <RegExpr attribute="Value" context="intval" String="spreadlevel *:"/> + <RegExpr attribute="Value" context="nodelevel" String="(foldnode.|node.|)(level|vertical_?order) *:"/> + <RegExpr attribute="Value" context="intval" String="(foldnode.|node.|foldedge.|edge.|)horizontal_?order *:"/> + <RegExpr attribute="Value" context="stateid" String="stat(e|us) *:"/> + <RegExpr attribute="Value" context="algid" String="layout_?algorithm *:"/> + <RegExpr attribute="Value" context="boolean" String="crossing_?optimization *:"/> + <RegExpr attribute="Value" context="boolean" String="crossing_?phase2 *:"/> + <RegExpr attribute="Value" context="boolean" String="(dirty_edge_|display_edge_|displayedge|late_edge_|subgraph_?)labels *:"/> + <RegExpr attribute="Value" context="boolean" String="s?manhatt(a|e)n_?edges *:"/> + <RegExpr attribute="Value" context="boolean" String="(nodes|near_?edges|edges|splines) *:"/> + <RegExpr attribute="Value" context="classname" String="classname"/> + <RegExpr attribute="Value" context="orient" String="orientation *:"/> + <RegExpr attribute="Value" context="nodealign" String="node_alignment *:"/> + <RegExpr attribute="Value" context="textmode" String="(foldnode.|node.|)textmode *:"/> + <RegExpr attribute="Value" context="boolean" String="equal_y_dist *:"/> + <RegExpr attribute="Value" context="boolean" String="equal_?ydist *:"/> + <RegExpr attribute="Value" context="weight" String="crossing_?weight *:"/> + <RegExpr attribute="Value" context="boolean" String="(fast_?|)icons *:"/> + <RegExpr attribute="Value" context="boolean" String="fine_?tuning *:"/> + <RegExpr attribute="Value" context="boolean" String="(f?straight_?|priority_)phase *:"/> + <RegExpr attribute="Value" context="boolean" String="ignore_?singles *:"/> + <RegExpr attribute="Value" context="boolean" String="(in|out|)port_?sharing *:"/> + <RegExpr attribute="Value" context="boolean" String="linear_?segments *:"/> + <RegExpr attribute="Value" context="intval" String="(foldnode.|node.|)(height|width|borderwidth|stretch|shrink) *:"/> + <RegExpr attribute="Value" context="intval" String="(foldedge.|edge.|)(arrowsize|backarrowsize|thickness|class|priority) *:"/> + <RegExpr attribute="Value" context="intval" String="anchor *:"/> + <RegExpr attribute="Value" context="intval" String="iconcolors *:"/> + <RegExpr attribute="Value" context="intval" String="hidden *:"/> + <RegExpr attribute="Value" context="boolean" String="energetic *:"/> + <RegExpr attribute="Value" context="intval" String="layout_(up|down|near|spline)factor *:"/> + <RegExpr attribute="Value" context="intval" String="border +(x|y) *:"/> + <RegExpr attribute="Value" context="intval" String="splinefactor *:"/> + <RegExpr attribute="Value" context="floatval" String="(gravity|tempfactor|treefactor) *:"/> + <RegExpr attribute="Value" context="intval" String="(xspace|xbase|xmax|xraster|x) *:"/> + <RegExpr attribute="Value" context="intval" String="(yspace|ybase|ymax|yraster|y) *:"/> + <RegExpr attribute="Value" context="intval" String="(xlraster|xlspace) *:"/> + <RegExpr attribute="Value" context="intval" String="magnetic_force(1|2) *:"/> + <RegExpr attribute="Value" context="magnor" String="magnetic_field(1|2) *:"/> + <RegExpr attribute="Value" context="intval" String="(a|b|c|fd|p|r|s)(max) *:"/> + <RegExpr attribute="Value" context="intval" String="(c|p|r)(min) *:"/> + <keyword attribute="Value" context="intval" String="forcedir"/> + <RegExpr attribute="Value" context="scaling" String="scaling *:"/> + <RegExpr attribute="Value" context="lquote" String="useraction(name|cmd)(1|2|3|4) *:"/> + </context> + <context name="string" attribute="String" lineEndContext="#stay"> + <DetectChar attribute="String" context="default" char="""/> + <Detect2Chars attribute="Char" context="#stay" char="\" char1="""/> + <RegExpr attribute="Char" context="#stay" String="\\(n|a|t|b)"/> + <RegExpr attribute="Char" context="#stay" String="\\fi(0|1|2)[0-9][0-9]"/> + <RegExpr attribute="Char" context="#stay" String="\\f(u|I|b|B|n|[0-9][0-9])"/> + </context> + <context name="scaling" attribute="Normal" lineEndContext="#stay"> + <StringDetect attribute="Datatype" context="default" String="maxspect"/> + <Float attribute="Float" context="default"/> + </context> + <context name="ccomment" attribute="Comment" lineEndContext="default"> + </context> + <context name="cppcomment" attribute="Comment" lineEndContext="#stay"> + <Detect2Chars attribute="Comment" context="default" char="*" char1="/"/> + </context> + <context name="colorid" attribute="Normal" lineEndContext="#stay"> + <keyword attribute="Datatype" context="default" String="colors"/> + <RegExpr attribute="Datatype" context="default" String="[0-9][0-9]?"/> + </context> + <context name="shapeid" attribute="Normal" lineEndContext="#stay"> + <keyword attribute="Datatype" context="default" String="shapes"/> + </context> + <context name="lquote" attribute="Normal" lineEndContext="#stay"> + <DetectChar attribute="String" context="string" char="""/> + </context> + <context name="stateid" attribute="Normal" lineEndContext="#stay"> + <keyword attribute="Datatype" context="default" String="states"/> + </context> + <context name="algid" attribute="Normal" lineEndContext="#stay"> + <keyword attribute="Datatype" context="default" String="algorithms"/> + </context> + <context name="fishid" attribute="Normal" lineEndContext="#stay"> + <keyword attribute="Datatype" context="default" String="fisheye"/> + </context> + <context name="boolean" attribute="Normal" lineEndContext="#stay"> + <RegExpr attribute="Datatype" context="default" String="(yes|no)"/> + </context> + <context name="lineid" attribute="Normal" lineEndContext="#stay"> + <keyword attribute="Datatype" context="default" String="lines"/> + </context> + <context name="intval" attribute="Normal" lineEndContext="#stay"> + <Int attribute="Integer" context="longint"/> + </context> + <context name="longint" attribute="Normal" lineEndContext="default"> + <Int attribute="Integer" context="longint"/> + <RegExpr attribute="Normal" context="default" String="\ "/> + </context> + <context name="centry" attribute="Normal" lineEndContext="default"> + <RegExpr attribute="Value" context="cecolon" String="[0-9][0-9]?"/> + </context> + <context name="rgb" attribute="Normal" lineEndContext="#stay"> + <RegExpr attribute="Integer" context="default" String="[0-9][0-9]?[0-9]? +[0-9][0-9]?[0-9]? +[0-9][0-9]?[0-9]?"/> + </context> + <context name="floatval" attribute="Normal" lineEndContext="#stay"> + <Float attribute="Float" context="default"/> + </context> + <context name="fontlq" attribute="Normal" lineEndContext="#stay"> + <DetectChar attribute="Datatype" context="fontbase" char="""/> + </context> + <context name="fontbase" attribute="Normal" lineEndContext="#stay"> + <RegExpr attribute="Datatype" context="fontsize" String="((tim|ncen)(R|B|I|BI)|(cour|helv)(R|B|O|BO)|symb)"/> + </context> + <context name="fontsize" attribute="Normal" lineEndContext="#stay"> + <RegExpr attribute="Datatype" context="#stay" String="(08|10|12|14|18|24)(.vcf|)"/> + <DetectChar attribute="Datatype" context="default" char="""/> + </context> + <context name="arrow" attribute="Normal" lineEndContext="#stay"> + <RegExpr attribute="Datatype" context="default" String="(solid|line|none)"/> + </context> + <context name="arrowmode" attribute="Normal" lineEndContext="#stay"> + <RegExpr attribute="Datatype" context="default" String="(free|fixed)"/> + </context> + <context name="magnor" attribute="Normal" lineEndContext="#stay"> + <keyword attribute="Datatype" context="default" String="magnetic"/> + <keyword attribute="Datatype" context="default" String="orientation"/> + </context> + <context name="orient" attribute="Normal" lineEndContext="#stay"> + <keyword attribute="Datatype" context="default" String="orientation"/> + </context> + <context name="nodealign" attribute="Normal" lineEndContext="#stay"> + <RegExpr attribute="Datatype" context="default" String="(top|center|bottom)"/> + </context> + <context name="nodelevel" attribute="Normal" lineEndContext="#stay"> + <StringDetect attribute="Datatype" context="default" String="maxlevel"/> + <Int attribute="Integer" context="longint"/> + </context> + <context name="classname" attribute="Normal" lineEndContext="#stay"> + <RegExpr attribute="Value" context="#stay" String="[0-9]+"/> + <DetectChar attribute="Value" context="lquote" char=":"/> + </context> + <context name="cecolon" attribute="Normal" lineEndContext="#stay"> + <DetectChar attribute="Value" context="rgb" char=":"/> + </context> + <context name="weight" attribute="Normal" lineEndContext="#stay"> + <RegExpr attribute="Datatype" context="default" String="(medianbary|barymedian|bary|median)"/> + </context> + <context name="textmode" attribute="Normal" lineEndContext="#stay"> + <RegExpr attribute="Datatype" context="default" String="(center|left_justify|right_justify)"/> + </context> + </contexts> + <itemDatas> + <itemData name="Normal" defStyleNum="dsNormal"/> + <itemData name="String" defStyleNum="dsString"/> + <itemData name="Char" defStyleNum="dsChar"/> + <itemData name="Keyword" defStyleNum="dsKeyword"/> + <itemData name="Integer" defStyleNum="dsDecVal"/> + <itemData name="Datatype" defStyleNum="dsDataType"/> + <itemData name="Comment" defStyleNum="dsComment"/> + <itemData name="Value" defStyleNum="dsOthers"/> + <itemData name="Float" defStyleNum="dsFloat"/> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="singleLine" start="//" /> + <comment name="multiLine" start="/*" end="*/"/> + </comments> + <keywords casesensitive="1"/> + </general> +</language> diff --git a/kate/data/generate-php.pl b/kate/data/generate-php.pl new file mode 100644 index 000000000..c6bb3a50c --- /dev/null +++ b/kate/data/generate-php.pl @@ -0,0 +1,56 @@ +# This perl script read stdin and write on stdout. It shall be an XML language file. +# +# * If the name of the language is 'HTML', then it creates the language 'PHP (HTML)' +# which shall be used for PHP hl. +# +# * If the name of the language is something else (say '*'), it creates the language '*/PHP'. +# This new language is the same as the old one, but is able to detect PHP everywhere. +# +# This script will correctly set extensions & mimetype, and will replace +# <IncludeRules context="##*"> by <IncludeRules context="##*/PHP"> +# +# Generated languages need a language named 'PHP/PHP', which shall take care of PHP hl itself +# and which will be called every time something like <?php is encountred. +# +# Author: Jan Villat <jan.villat@net2000.ch> +# License: LGPL + +my $file = ""; + +while (<>) +{ + $file .= $_; +} + +$warning = "\n\n<!-- ***** THIS FILE WAS GENERATED BY A SCRIPT - DO NOT EDIT ***** -->\n"; + +$file =~ s/(?=<language)/$warning\n\n\n/; + +if ($file =~ /<language[^>]+name="HTML"/) +{ + $root = 1; +} + +if ($root == 1) +{ + $file =~ s/<language([^>]+)name="[^"]*"/<language$1name="PHP (HTML)"/s; + $file =~ s/<language([^>]+)section="[^"]*"/<language$1section="Scripts"/s; + $file =~ s/<language([^>]+)extensions="[^"]*"/<language$1extensions="*.php;*.php3;*.wml;*.phtml;*.phtm;*.inc"/s; + $file =~ s/<language([^>]+)mimetype="[^"]*"/<language$1mimetype="text\/x-php4-src;text\/x-php3-src;text\/vnd.wap.wml;application\/x-php"/s; +} +else +{ + $file =~ s/<language([^>]+)name="([^"]*)"/<language$1name="$2\/PHP" hidden="true"/s; + $file =~ s/<language([^>]+)section="[^"]*"/<language$1section="Other"/s; + $file =~ s/<language([^>]+)extensions="[^"]*"/<language$1extensions=""/s; + $file =~ s/<language([^>]+)mimetype="[^"]*"/<language$1mimetype=""/s; +} + +$findphp = "<context name=\"FindPHP\">\n<RegExpr context=\"##PHP/PHP\" String=\"<\\?(?:=|php)?\" lookAhead=\"true\" />\n</context>\n"; + +$file =~ s/<IncludeRules\s([^>]*)context="##(?!Alerts)([^"]+)"/<IncludeRules $1context="##$2\/PHP"/g; +$file =~ s/(<context\s[^>]*>)/$1\n<IncludeRules context="FindPHP" \/>/g; +$file =~ s/(?=<\/contexts\s*>)/$findphp/; + +print $file; +print $warning; diff --git a/kate/data/gettext.xml b/kate/data/gettext.xml new file mode 100644 index 000000000..f659eda9f --- /dev/null +++ b/kate/data/gettext.xml @@ -0,0 +1,63 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<!-- + This file is part of KDE's kate project. + + copyright : (C) 2004 by Dominik Haumann + email : dhdev at gmx dot de + + 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. + --> +<language name="GNU Gettext" version="1.03" kateversion="2.4" section="Markup" extensions="*.po;*.pot" mimetype="application/x-gettext" author="Dominik Haumann (dhdev@gmx.de)" license="LGPL"> + <highlighting> + + <contexts> + <context name = "Normal" attribute = "Normal Text" lineEndContext="#stay"> + <RegExpr attribute = "Keyword" String = "^(msgid_plural|msgid|msgstr|msgctxt)" context="#stay"/> + <RegExpr attribute = "Automatic Comment" String = "#\..*$" context="#stay" firstNonSpace="true"/> + <RegExpr attribute = "Reference" String = "#:.*$" context="#stay" firstNonSpace="true"/> + <RegExpr attribute = "Flag" String = "#,.*$" context="#stay" firstNonSpace="true"/> + <RegExpr attribute = "Translator Comment" String = "#.*$" context="#stay" firstNonSpace="true"/> + <RegExpr attribute = "Char" String="\\." context="#stay"/> + <DetectChar attribute = "String" char=""" context="String"/> + <RegExpr attribute = "Index" String="\[\d+\]" context="#stay"/> + </context> + <context name = "String" attribute = "String" lineEndContext="#stay"> + <RegExpr attribute = "Char" String="\\." context="#stay"/> + <DetectChar attribute = "String" char=""" context="#pop"/> + </context> + </contexts> + + <itemDatas> + <itemData name = "Normal Text" defStyleNum ="dsNormal"/> + <itemData name = "Keyword" defStyleNum ="dsKeyword"/> + <itemData name = "String" defStyleNum ="dsString"/> + <itemData name = "Translator Comment" defStyleNum ="dsComment"/> + <itemData name = "Automatic Comment" defStyleNum ="dsComment" color="#0000ff"/> + <itemData name = "Reference" defStyleNum ="dsComment" color="#0000ff"/> + <itemData name = "Flag" defStyleNum ="dsComment" color="#0000ff"/> + <itemData name = "Char" defStyleNum ="dsChar"/> + + <itemData name = "Index" defStyleNum ="dsDecVal"/> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="singleLine" start="#" /> + </comments> + <keywords casesensitive="1" /> + </general> +</language> diff --git a/kate/data/glsl.xml b/kate/data/glsl.xml new file mode 100644 index 000000000..21ef312a0 --- /dev/null +++ b/kate/data/glsl.xml @@ -0,0 +1,323 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="GLSL" section="Sources" extensions="*.glsl;*.vert;*.frag" mimetype="text/x-glslsrc" version="1.02" 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=".+-/*%<>[]()^|&~=!:;,?;" /> + </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"/> + <itemData name="Comment" defStyleNum="dsComment"/> + <itemData name="Alert" defStyleNum="dsAlert" /> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="singleLine" start="//" /> + <comment name="multiLine" start="/*" end="*/" /> + </comments> + <keywords casesensitive="1" /> + </general> +</language> diff --git a/kate/data/gnuassembler.xml b/kate/data/gnuassembler.xml new file mode 100644 index 000000000..754e4fa02 --- /dev/null +++ b/kate/data/gnuassembler.xml @@ -0,0 +1,282 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<!-- + +************************************************************************* +* * +* Syntax highlighting for the GNU Assembler * +* Copyright (C) 2002, John Zaitseff * +* * +************************************************************************* + +Updated: Roland Pabel <roland@pabel.name> +Date: 15th August, 2002 +Version: 1.01 + +Author: John Zaitseff <J.Zaitseff@zap.org.au> +Date: 15th April, 2002 +Version: 1.0 + +This file contains the XML syntax highlighting description for the GNU +Assembler, for KATE, the KDE Advanced Editor. Keywords have been taken +directly from the GNU Assembler source code (read.c). + +Known problems: Floating point highlighting does not work correctly. + +This program, including associated files, is free software. You may +distribute it and/or modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either Version 2 of +the license, or (at your option) any later version. + +This program 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 General Public License +for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +--> + +<language name="GNU Assembler" version="1.05" 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)" license="GPL"> + <highlighting> + <list name="keywords"> + <item>.abort</item> + <item>.align</item> + <item>.appfile</item> + <item>.appline</item> + <item>.ascii</item> + <item>.asciz</item> + <item>.balign</item> + <item>.balignl</item> + <item>.balignw</item> + <item>.byte</item> + <item>.comm</item> + <item>.common.s</item> + <item>.common</item> + <item>.data</item> + <item>.dc.b</item> + <item>.dc.d</item> + <item>.dc.l</item> + <item>.dc.s</item> + <item>.dc.w</item> + <item>.dc.x</item> + <item>.dc</item> + <item>.dcb.b</item> + <item>.dcb.d</item> + <item>.dcb.l</item> + <item>.dcb.s</item> + <item>.dcb.w</item> + <item>.dcb.x</item> + <item>.dcb</item> + <item>.debug</item> + <item>.def</item> + <item>.desc</item> + <item>.dim</item> + <item>.double</item> + <item>.ds.b</item> + <item>.ds.d</item> + <item>.ds.l</item> + <item>.ds.p</item> + <item>.ds.s</item> + <item>.ds.w</item> + <item>.ds.x</item> + <item>.ds</item> + <item>.dsect</item> + <item>.eject</item> + <item>.else</item> + <item>.elsec</item> + <item>.elseif</item> + <item>.end</item> + <item>.endc</item> + <item>.endef</item> + <item>.endfunc</item> + <item>.endif</item> + <item>.endm</item> + <item>.endr</item> + <item>.equ</item> + <item>.equiv</item> + <item>.err</item> + <item>.exitm</item> + <item>.extend</item> + <item>.extern</item> + <item>.fail</item> + <item>.file</item> + <item>.fill</item> + <item>.float</item> + <item>.format</item> + <item>.func</item> + <item>.global</item> + <item>.globl</item> + <item>.hidden</item> + <item>.hword</item> + <item>.ident</item> + <item>.if</item> + <item>.ifc</item> + <item>.ifdef</item> + <item>.ifeq</item> + <item>.ifeqs</item> + <item>.ifge</item> + <item>.ifgt</item> + <item>.ifle</item> + <item>.iflt</item> + <item>.ifnc</item> + <item>.ifndef</item> + <item>.ifne</item> + <item>.ifnes</item> + <item>.ifnotdef</item> + <item>.include</item> + <item>.int</item> + <item>.internal</item> + <item>.irep</item> + <item>.irepc</item> + <item>.irp</item> + <item>.irpc</item> + <item>.lcomm</item> + <item>.lflags</item> + <item>.line</item> + <item>.linkonce</item> + <item>.list</item> + <item>.llen</item> + <item>.ln</item> + <item>.long</item> + <item>.lsym</item> + <item>.macro</item> + <item>.mexit</item> + <item>.name</item> + <item>.noformat</item> + <item>.nolist</item> + <item>.nopage</item> + <item>.octa</item> + <item>.offset</item> + <item>.org</item> + <item>.p2align</item> + <item>.p2alignl</item> + <item>.p2alignw</item> + <item>.page</item> + <item>.plen</item> + <item>.popsection</item> + <item>.previous</item> + <item>.print</item> + <item>.protected</item> + <item>.psize</item> + <item>.purgem</item> + <item>.pushsection</item> + <item>.quad</item> + <item>.rep</item> + <item>.rept</item> + <item>.rva</item> + <item>.sbttl</item> + <item>.scl</item> + <item>.sect.s</item> + <item>.sect</item> + <item>.section.s</item> + <item>.section</item> + <item>.set</item> + <item>.short</item> + <item>.single</item> + <item>.size</item> + <item>.skip</item> + <item>.sleb128</item> + <item>.space</item> + <item>.spc</item> + <item>.stabd</item> + <item>.stabn</item> + <item>.stabs</item> + <item>.string</item> + <item>.struct</item> + <item>.subsection</item> + <item>.symver</item> + <item>.tag</item> + <item>.text</item> + <item>.title</item> + <item>.ttl</item> + <item>.type</item> + <item>.uleb128</item> + <item>.use</item> + <item>.val</item> + <item>.version</item> + <item>.vtable_entry</item> + <item>.vtable_inherit</item> + <item>.weak</item> + <item>.word</item> + <item>.xcom</item> + <item>.xdef</item> + <item>.xref</item> + <item>.xstabs</item> + <item>.zero</item> + <!-- Directives specific to ARM --> + <item>.arm</item> + <item>.bss</item> + <item>.code</item> + <item>.even</item> + <item>.force_thumb</item> + <item>.ldouble</item> + <item>.loc</item> + <item>.ltorg</item> + <item>.packed</item> + <item>.pool</item> + <item>.req</item> + <item>.thumb</item> + <item>.thumb_func</item> + <item>.thumb_set</item> + </list> + + <contexts> + <context attribute="Normal Text" lineEndContext="#stay" name="Normal"> + <RegExpr attribute="Label" context="#stay" String="[A-Za-z0-9_.$]+:" firstNonSpace="true"/> + <keyword attribute="Keyword" context="#stay" String="keywords"/> + <HlCOct attribute="Octal" context="#stay" /> + <HlCHex attribute="Hex" context="#stay" /> + <RegExpr attribute="Binary" context="#stay" String="0[bB][01]+" /> + <Int attribute="Decimal" context="#stay" /> + <RegExpr attribute="Float" context="#stay" String="0[fFeEdD][-+]?[0-9]*\.?[0-9]*[eE]?[-+]?[0-9]+" /> + <RegExpr attribute="Normal Text" context="#stay" String="[A-Za-z_.$][A-Za-z0-9_.$]*" /> + <RegExpr attribute="Char" context="#stay" String="'(\\x[0-9a-fA-F][0-9a-fA-F]?|\\[0-7]?[0-7]?[0-7]?|\\.|.)" /> + <DetectChar attribute="String" context="String" char=""" /> + <Detect2Chars attribute="Comment" context="Commentar 1" char="/" char1="*" /> + <AnyChar attribute="Comment" context="Commentar 2" String="@;" /> + <AnyChar attribute="Symbol" context="#stay" String="!#%&*()+,-<=>?/:[]^{|}~" /> + <RegExpr attribute="Preprocessor" context="Preprocessor" String="^#" /> + </context> + <context attribute="Comment" lineEndContext="#stay" name="Commentar 1"> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" /> + </context> + <context attribute="Comment" lineEndContext="#pop" name="Commentar 2" /> + <context attribute="Preprocessor" lineEndContext="#pop" name="Preprocessor" /> + <context attribute="String" lineEndContext="#pop" name="String"> + <LineContinue attribute="String" context="Some Context" /> + <HlCStringChar attribute="String Char" context="#stay" /> + <DetectChar attribute="String" context="#pop" char=""" /> + </context> + <context attribute="Normal Text" lineEndContext="#pop" name="Some Context" /> + </contexts> + + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal" /> + <itemData name="Label" defStyleNum="dsNormal" /> + <itemData name="Keyword" defStyleNum="dsKeyword" /> + <itemData name="Decimal" defStyleNum="dsDecVal" /> + <itemData name="Octal" defStyleNum="dsBaseN" /> + <itemData name="Hex" defStyleNum="dsBaseN" /> + <itemData name="Binary" 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="Symbol" defStyleNum="dsNormal" /> + <itemData name="Comment" defStyleNum="dsComment" /> + <itemData name="Preprocessor" defStyleNum="dsOthers" /> + </itemDatas> + </highlighting> + + <general> + <comments> + <comment name="singleLine" start=";" /> + <comment name="singleLine" start="@" /> + <comment name="multiLine" start="/*" end="*/" /> + </comments> + <keywords casesensitive="1" weakDeliminator="_.$" /> + </general> +</language> diff --git a/kate/data/haskell.xml b/kate/data/haskell.xml new file mode 100644 index 000000000..81b09e76f --- /dev/null +++ b/kate/data/haskell.xml @@ -0,0 +1,388 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<!-- Haskell syntax highlighting by Marcel Martin <mmar@freenet.de> --> +<language name="Haskell" version="1.05" kateversion="2.3" section="Sources" extensions="*.hs" author="Marcel Martin (mmar@freenet.de)" license=""> + <highlighting> + <list name="keywords"> + <item> case </item> + <item> class </item> + <item> data </item> + <item> deriving </item> + <item> do </item> + <item> else </item> + <item> if </item> + <item> import </item> + <item> in </item> + <item> infixl </item> + <item> infixr </item> + <item> instance </item> + <item> let </item> + <item> module </item> + <item> of </item> + <item> primitive </item> + <item> then </item> + <item> type </item> + <item> where </item> + </list> + <list name="infix operators"> + <item> quot </item> + <item> rem </item> + <item> div </item> + <item> mod </item> + <item> elem </item> + <item> notElem </item> + <item> seq </item> + </list> + <list name="functions"> + <!-- + These operators are not handled yet. + <item> !! </item> + <item> % </item> + <item> && </item> + <item> $! </item> + <item> $ </item> + <item> * </item> + <item> ** </item> + <item> - </item> + <item> . </item> + <item> /= </item> + <item> < </item> + <item> <= </item> + <item> =<< </item> + <item> == </item> + <item> > </item> + <item> >= </item> + <item> >> </item> + <item> >>= </item> + <item> ^ </item> + <item> ^^ </item> + <item> ++ </item> + <item> || </item> + //--> + + <item> FilePath </item> + <item> IOError </item> + <item> abs </item> + <item> acos </item> + <item> acosh </item> + <item> all </item> + <item> and </item> + <item> any </item> + <item> appendFile </item> + <item> approxRational </item> + <item> asTypeOf </item> + <item> asin </item> + <item> asinh </item> + <item> atan </item> + <item> atan2 </item> + <item> atanh </item> + <item> basicIORun </item> + <item> break </item> + <item> catch </item> + <item> ceiling </item> + <item> chr </item> + <item> compare </item> + <item> concat </item> + <item> concatMap </item> + <item> const </item> + <item> cos </item> + <item> cosh </item> + <item> curry </item> + <item> cycle </item> + <item> decodeFloat </item> + <item> denominator </item> + <item> digitToInt </item> + <item> div </item> + <item> divMod </item> + <item> drop </item> + <item> dropWhile </item> + <item> either </item> + <item> elem </item> + <item> encodeFloat </item> + <item> enumFrom </item> + <item> enumFromThen </item> + <item> enumFromThenTo </item> + <item> enumFromTo </item> + <item> error </item> + <item> even </item> + <item> exp </item> + <item> exponent </item> + <item> fail </item> + <item> filter </item> + <item> flip </item> + <item> floatDigits </item> + <item> floatRadix </item> + <item> floatRange </item> + <item> floor </item> + <item> fmap </item> + <item> foldl </item> + <item> foldl1 </item> + <item> foldr </item> + <item> foldr1 </item> + <item> fromDouble </item> + <item> fromEnum </item> + <item> fromInt </item> + <item> fromInteger </item> + <item> fromIntegral </item> + <item> fromRational </item> + <item> fst </item> + <item> gcd </item> + <item> getChar </item> + <item> getContents </item> + <item> getLine </item> + <item> head </item> + <item> id </item> + <item> inRange </item> + <item> index </item> + <item> init </item> + <item> intToDigit </item> + <item> interact </item> + <item> ioError </item> + <item> isAlpha </item> + <item> isAlphaNum </item> + <item> isAscii </item> + <item> isControl </item> + <item> isDenormalized </item> + <item> isDigit </item> + <item> isHexDigit </item> + <item> isIEEE </item> + <item> isInfinite </item> + <item> isLower </item> + <item> isNaN </item> + <item> isNegativeZero </item> + <item> isOctDigit </item> + <item> isPrint </item> + <item> isSpace </item> + <item> isUpper </item> + <item> iterate </item> + <item> last </item> + <item> lcm </item> + <item> length </item> + <item> lex </item> + <item> lexDigits </item> + <item> lexLitChar </item> + <item> lines </item> + <item> log </item> + <item> logBase </item> + <item> lookup </item> + <item> map </item> + <item> mapM </item> + <item> mapM_ </item> + <item> max </item> + <item> maxBound </item> + <item> maximum </item> + <item> maybe </item> + <item> min </item> + <item> minBound </item> + <item> minimum </item> + <item> mod </item> + <item> negate </item> + <item> not </item> + <item> notElem </item> + <item> null </item> + <item> numerator </item> + <item> odd </item> + <item> or </item> + <item> ord </item> + <item> otherwise </item> + <item> pi </item> + <item> pred </item> + <item> primExitWith </item> + <item> print </item> + <item> product </item> + <item> properFraction </item> + <item> putChar </item> + <item> putStr </item> + <item> putStrLn </item> + <item> quot </item> + <item> quotRem </item> + <item> range </item> + <item> rangeSize </item> + <item> read </item> + <item> readDec </item> + <item> readFile </item> + <item> readFloat </item> + <item> readHex </item> + <item> readIO </item> + <item> readInt </item> + <item> readList </item> + <item> readLitChar </item> + <item> readLn </item> + <item> readOct </item> + <item> readParen </item> + <item> readSigned </item> + <item> reads </item> + <item> readsPrec </item> + <item> realToFrac </item> + <item> recip </item> + <item> rem </item> + <item> repeat </item> + <item> replicate </item> + <item> return </item> + <item> reverse </item> + <item> round </item> + <item> scaleFloat </item> + <item> scanl </item> + <item> scanl1 </item> + <item> scanr </item> + <item> scanr1 </item> + <item> seq </item> + <item> sequence </item> + <item> sequence_ </item> + <item> show </item> + <item> showChar </item> + <item> showInt </item> + <item> showList </item> + <item> showLitChar </item> + <item> showParen </item> + <item> showSigned </item> + <item> showString </item> + <item> shows </item> + <item> showsPrec </item> + <item> significand </item> + <item> signum </item> + <item> sin </item> + <item> sinh </item> + <item> snd </item> + <item> span </item> + <item> splitAt </item> + <item> sqrt </item> + <item> subtract </item> + <item> succ </item> + <item> sum </item> + <item> tail </item> + <item> take </item> + <item> takeWhile </item> + <item> tan </item> + <item> tanh </item> + <item> threadToIOResult </item> + <item> toEnum </item> + <item> toInt </item> + <item> toInteger </item> + <item> toLower </item> + <item> toRational </item> + <item> toUpper </item> + <item> truncate </item> + <item> uncurry </item> + <item> undefined </item> + <item> unlines </item> + <item> until </item> + <item> unwords </item> + <item> unzip </item> + <item> unzip3 </item> + <item> userError </item> + <item> words </item> + <item> writeFile </item> + <item> zip </item> + <item> zip3 </item> + <item> zipWith </item> + <item> zipWith3 </item> + </list> + <list name="type constructors"> + <item> Bool </item> + <item> Char </item> + <item> Double </item> + <item> Either </item> + <item> Float </item> + <item> IO </item> + <item> Integer </item> + <item> Int </item> + <item> Maybe </item> + <item> Ordering </item> + <item> Rational </item> + <item> Ratio </item> + <item> ReadS </item> + <item> ShowS </item> + <item> String </item> + + </list> + <list name="classes"> + <item> Bounded </item> + <item> Enum </item> + <item> Eq </item> + <item> Floating </item> + <item> Fractional </item> + <item> Functor </item> + <item> Integral </item> + <item> Ix </item> + <item> Monad </item> + <item> Num </item> + <item> Ord </item> + <item> Read </item> + <item> RealFloat </item> + <item> RealFrac </item> + <item> Real </item> + <item> Show </item> + </list> + <list name="data constructors"> + <item> EQ </item> + <item> False </item> + <item> GT </item> + <item> Just </item> + <item> LT </item> + <item> Left </item> + <item> Nothing </item> + <item> Right </item> + <item> True </item> + </list> + <contexts> + <context attribute="Normal Text" lineEndContext="#stay" name="normal"> + <Detect2Chars attribute="Comment" context="comment_multi_line" char="{" char1="-" /> + <Detect2Chars attribute="Comment" context="comment_single_line" char="-" char1="-" /> + <keyword attribute="Keyword" context="#stay" String="keywords" /> + <keyword attribute="Class" context="#stay" String="classes" /> + <keyword attribute="Type Constructor" context="#stay" String="type constructors" /> + <keyword attribute="Function" context="#stay" String="functions" /> + <keyword attribute="Data Constructor" context="#stay" String="data constructors" /> + <DetectChar attribute="String" context="string" char=""" /> + <DetectChar attribute="Infix Operator" context="infix" char="`"/> + <RegExpr attribute="Normal Text" context="#stay" String="\w[']+" /> + <DetectChar attribute="Char" context="single_char" char="'" /> + <RegExpr attribute="Function Definition" context="#stay" String="[a-z_]+\w*'*\s*::" /> + <Float attribute="Float" context="#stay" /> + <Int attribute="Decimal" context="#stay" /> + </context> + <context attribute="Comment" lineEndContext="#pop" name="comment_single_line" /> + <context attribute="Comment" lineEndContext="#stay" name="comment_multi_line"> + <Detect2Chars attribute="Comment" context="#pop" char="-" char1="}" /> + </context> + <context attribute="String" lineEndContext="#stay" name="string"> + <RegExpr attribute="String" context="#stay" String="\\." /> + <DetectChar attribute="String" context="#pop" char=""" /> + </context> + <context attribute="Infix Operator" lineEndContext="#stay" name="infix"> + <DetectChar attribute="Infix Operator" context="#pop" char="`"/> + </context> + <context attribute="Char" lineEndContext="#pop" name="single_char"> + <RegExpr attribute="Char" context="#stay" String="\\." /> + <DetectChar attribute="Char" context="#pop" char="'" /> + </context> + <context attribute="Function Definition" lineEndContext="#pop" name="function_definition"> + <DetectChar attribute="Function Definition" context="#pop" char=";" /> + </context> + </contexts> + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Keyword" defStyleNum="dsKeyword"/> + <itemData name="Function" defStyleNum="dsFunction"/> + <itemData name="Function Definition" defStyleNum="dsFunction"/> + <itemData name="Class" defStyleNum="dsKeyword"/> + <itemData name="Decimal" defStyleNum="dsDecVal"/> + <itemData name="Float" defStyleNum="dsFloat"/> + <itemData name="Char" defStyleNum="dsChar"/> + <itemData name="String" defStyleNum="dsString"/> + <itemData name="Constructor" defStyleNum="dsOthers"/> + <itemData name="Comment" defStyleNum="dsComment"/> + <itemData name="Data Constructor" defStyleNum="dsKeyword"/> + <itemData name="Type Constructor" defStyleNum="dsDataType"/> + <itemData name="Infix Operator" defStyleNum="dsOthers"/> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="singleLine" start="--" /> + <comment name="multiLine" start="{-" end="-}" /> + </comments> + <keywords casesensitive="1" /> + </general> +</language> diff --git a/kate/data/html.xml b/kate/data/html.xml new file mode 100644 index 000000000..f7477e8e0 --- /dev/null +++ b/kate/data/html.xml @@ -0,0 +1,201 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd" +[ + <!ENTITY name "[A-Za-z_:][\w.:_-]*"> + <!ENTITY entref "&(#[0-9]+|#[xX][0-9A-Fa-f]+|&name;);"> +]> +<language name="HTML" version="1.98" kateversion="2.4" section="Markup" extensions="*.htm;*.html;*.shtml;*.shtm" mimetype="text/html" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL" priority="10"> + +<highlighting> +<contexts> + <context name="Start" attribute="Normal Text" lineEndContext="#stay"> + <IncludeRules context="FindHTML" /> + </context> + + <context name="FindHTML" attribute="Normal Text" lineEndContext="#stay"> + <DetectSpaces/> + <DetectIdentifier/> + <StringDetect attribute="Comment" context="Comment" String="<!--" beginRegion="comment" /> + <StringDetect attribute="CDATA" context="CDATA" String="<![CDATA[" beginRegion="cdata" /> + <RegExpr attribute="Doctype" context="Doctype" String="<!DOCTYPE\s+" beginRegion="doctype" /> + <RegExpr attribute="Processing Instruction" context="PI" String="<\?[\w:-]*" beginRegion="pi" /> + <RegExpr attribute="Element" context="CSS" String="<style\b" insensitive="TRUE" beginRegion="style" /> + <RegExpr attribute="Element" context="JS" String="<script\b" insensitive="TRUE" beginRegion="script" /> + <RegExpr attribute="Element" context="El Open" String="<pre\b" insensitive="TRUE" beginRegion="pre" /> + <RegExpr attribute="Element" context="El Open" String="<div\b" insensitive="TRUE" beginRegion="div" /> + <RegExpr attribute="Element" context="El Open" String="<table\b" insensitive="TRUE" beginRegion="table" /> + <RegExpr attribute="Element" context="El Open" String="<&name;" /> + <RegExpr attribute="Element" context="El Close" String="</pre\b" insensitive="TRUE" endRegion="pre" /> + <RegExpr attribute="Element" context="El Close" String="</div\b" insensitive="TRUE" endRegion="div" /> + <RegExpr attribute="Element" context="El Close" String="</table\b" insensitive="TRUE" endRegion="table" /> + <RegExpr attribute="Element" context="El Close" String="</&name;" /> + <!-- as long as kde gives DTDs the text/html mimetype--><IncludeRules context="FindDTDRules" /> + <IncludeRules context="FindEntityRefs" /> + </context> + + <context name="FindEntityRefs" attribute="Normal Text" lineEndContext="#stay"> + <RegExpr attribute="EntityRef" context="#stay" String="&entref;" /> + <AnyChar attribute="Error" context="#stay" String="&<" /> + </context> + + <context name="FindPEntityRefs" attribute="Normal Text" lineEndContext="#stay"> + <RegExpr attribute="EntityRef" context="#stay" String="&entref;" /> + <RegExpr attribute="PEntityRef" context="#stay" String="%&name;;" /> + <AnyChar attribute="Error" context="#stay" String="&%" /> + </context> + + <context name="FindAttributes" attribute="Normal Text" lineEndContext="#stay"> + <RegExpr attribute="Attribute" context="#stay" String="&name;" column="0"/> + <RegExpr attribute="Attribute" context="#stay" String="\s+&name;" /> + <DetectChar attribute="Attribute" context="Value" char="=" /> + </context> + + <context name="FindDTDRules" attribute="Normal Text" lineEndContext="#stay"> + <RegExpr attribute="Doctype" context="Doctype Markupdecl" String="<!(ELEMENT|ENTITY|ATTLIST|NOTATION)\b" /> + </context> + + + <context name="Comment" attribute="Comment" lineEndContext="#stay"> + <DetectSpaces/> + <IncludeRules context="##Alerts" /> + <DetectIdentifier/> + <StringDetect attribute="Comment" context="#pop" String="-->" endRegion="comment" /> + <RegExpr attribute="Error" context="#stay" String="-(-(?!->))+" /> + </context> + + <context name="CDATA" attribute="Normal Text" lineEndContext="#stay"> + <DetectSpaces/> + <DetectIdentifier/> + <StringDetect attribute="CDATA" context="#pop" String="]]>" endRegion="cdata" /> + <StringDetect attribute="EntityRef" context="#stay" String="]]&gt;" /> + </context> + + <context name="PI" attribute="Normal Text" lineEndContext="#stay"> + <Detect2Chars attribute="Processing Instruction" context="#pop" char="?" char1=">" endRegion="pi" /> + </context> + + <context name="Doctype" attribute="Normal Text" lineEndContext="#stay"> + <DetectChar attribute="Doctype" context="#pop" char=">" endRegion="doctype" /> + <DetectChar attribute="Doctype" context="Doctype Internal Subset" char="[" beginRegion="int_subset" /> + </context> + + <context name="Doctype Internal Subset" attribute="Normal Text" lineEndContext="#stay"> + <DetectChar attribute="Doctype" context="#pop" char="]" endRegion="int_subset" /> + <IncludeRules context="FindDTDRules" /> + <StringDetect attribute="Comment" context="Comment" String="<!--" beginRegion="comment" /> + <RegExpr attribute="Processing Instruction" context="PI" String="<\?[\w:-]*" beginRegion="pi" /> + <IncludeRules context="FindPEntityRefs" /> + </context> + + <context name="Doctype Markupdecl" attribute="Normal Text" lineEndContext="#stay"> + <DetectChar attribute="Doctype" context="#pop" char=">" /> + <DetectChar attribute="Value" context="Doctype Markupdecl DQ" char=""" /> + <DetectChar attribute="Value" context="Doctype Markupdecl SQ" char="'" /> + </context> + + <context name="Doctype Markupdecl DQ" attribute="Value" lineEndContext="#stay"> + <DetectChar attribute="Value" context="#pop" char=""" /> + <IncludeRules context="FindPEntityRefs" /> + </context> + + <context name="Doctype Markupdecl SQ" attribute="Value" lineEndContext="#stay"> + <DetectChar attribute="Value" context="#pop" char="'" /> + <IncludeRules context="FindPEntityRefs" /> + </context> + + <context name="El Open" attribute="Normal Text" lineEndContext="#stay"> + <Detect2Chars attribute="Element" context="#pop" char="/" char1=">" /> + <DetectChar attribute="Element" context="#pop" char=">" /> + <IncludeRules context="FindAttributes" /> + <RegExpr attribute="Error" context="#stay" String="\S" /> + </context> + + <context name="El Close" attribute="Normal Text" lineEndContext="#stay"> + <DetectChar attribute="Element" context="#pop" char=">" /> + <RegExpr attribute="Error" context="#stay" String="\S" /> + </context> + + <context name="El Close 2" attribute="Normal Text" lineEndContext="#stay"> + <DetectChar attribute="Element" context="#pop#pop#pop" char=">" /> + <RegExpr attribute="Error" context="#stay" String="\S" /> + </context> + + <context name="El Close 3" attribute="Normal Text" lineEndContext="#stay"> + <DetectChar attribute="Element" context="#pop#pop#pop#pop" char=">" /> + <RegExpr attribute="Error" context="#stay" String="\S" /> + </context> + + <context name="CSS" attribute="Normal Text" lineEndContext="#stay"> + <Detect2Chars attribute="Element" context="#pop" char="/" char1=">" endRegion="style" /> + <DetectChar attribute="Element" context="CSS content" char=">" /> + <IncludeRules context="FindAttributes" /> + <RegExpr attribute="Error" context="#stay" String="\S" /> + </context> + + <context name="CSS content" attribute="Normal Text" lineEndContext="#stay"> + <RegExpr attribute="Element" context="El Close 2" String="</style\b" insensitive="TRUE" endRegion="style" /> + <IncludeRules context="##CSS" includeAttrib="true"/> + </context> + + <context name="JS" attribute="Normal Text" lineEndContext="#stay"> + <Detect2Chars attribute="Element" context="#pop" char="/" char1=">" endRegion="script" /> + <DetectChar attribute="Element" context="JS content" char=">" /> + <IncludeRules context="FindAttributes" /> + <RegExpr attribute="Error" context="#stay" String="\S" /> + </context> + + <context name="JS content" attribute="Normal Text" lineEndContext="#stay"> + <RegExpr attribute="Element" context="El Close 2" String="</script\b" insensitive="TRUE" endRegion="script" /> + <RegExpr attribute="Comment" context="JS comment close" String="//(?=.*</script\b)" insensitive="TRUE" /> + <IncludeRules context="##JavaScript" includeAttrib="true"/> + </context> + + <context name="JS comment close" attribute="Comment" lineEndContext="#pop"> + <RegExpr attribute="Element" context="El Close 3" String="</script\b" insensitive="TRUE" endRegion="script" /> + <IncludeRules context="##Alerts" /> + </context> + + <context name="Value" attribute="Normal Text" lineEndContext="#stay" fallthrough="true" fallthroughContext="Value NQ"> + <DetectChar attribute="Value" context="Value DQ" char=""" /> + <DetectChar attribute="Value" context="Value SQ" char="'" /> + <DetectSpaces /> + </context> + + <context name="Value NQ" attribute="Normal Text" lineEndContext="#pop#pop" fallthrough="true" fallthroughContext="#pop#pop"> + <IncludeRules context="FindEntityRefs" /> + <RegExpr attribute="Value" context="#stay" String="/(?!>)" /> + <RegExpr attribute="Value" context="#stay" String="[^/><"'\s]" /> + </context> + + <context name="Value DQ" attribute="Value" lineEndContext="#stay"> + <DetectChar attribute="Value" context="#pop#pop" char=""" /> + <IncludeRules context="FindEntityRefs" /> + </context> + + <context name="Value SQ" attribute="Value" lineEndContext="#stay"> + <DetectChar attribute="Value" context="#pop#pop" char="'" /> + <IncludeRules context="FindEntityRefs" /> + </context> + +</contexts> +<itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal" /> + <itemData name="Comment" defStyleNum="dsComment" /> + <itemData name="CDATA" defStyleNum="dsBaseN" bold="1" /> + <itemData name="Processing Instruction" defStyleNum="dsKeyword" /> + <itemData name="Doctype" defStyleNum="dsDataType" bold="1" /> + <itemData name="Element" defStyleNum="dsKeyword" /> + <itemData name="Attribute" defStyleNum="dsOthers" /> + <itemData name="Value" defStyleNum="dsString" color="#a00" /> + <itemData name="EntityRef" defStyleNum="dsDecVal" /> + <itemData name="PEntityRef" defStyleNum="dsDecVal" /> + <itemData name="Error" defStyleNum="dsError" /> +</itemDatas> + +</highlighting> +<general> + <comments> + <comment name="multiLine" start="<!--" end="-->" /> + </comments> +</general> +</language> diff --git a/kate/data/idconsole.xml b/kate/data/idconsole.xml new file mode 100644 index 000000000..fa2a5cffd --- /dev/null +++ b/kate/data/idconsole.xml @@ -0,0 +1,2146 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="Quake Script" version="1.02" kateversion="2.1" section="Scripts" extensions="*.cfg" mimetype=""> + +<highlighting> +<list name="Commands"> +<item> ForceCloseComman </item> +<item> _config_com_baud </item> +<item> _config_com_modem </item> +<item> _vid_default_mode </item> +<item> _vid_default_mode_win </item> +<item> _vid_wait_override </item> +<item> _windowed_mouse </item> +<item> addip </item> +<item> addressbook </item> +<item> adjust_crosshair </item> +<item> advancedupdate </item> +<item> allow_download </item> +<item> allow_download_maps </item> +<item> allow_download_models </item> +<item> allow_download_skins </item> +<item> allow_download_sounds </item> +<item> allskins </item> +<item> appenddemo </item> +<item> autosave </item> +<item> ban </item> +<item> banClient </item> +<item> banUser </item> +<item> banid </item> +<item> baseskin </item> +<item> begin </item> +<item> bf </item> +<item> bgetmod </item> +<item> bindlist </item> +<item> block_switch </item> +<item> bottomcolor </item> +<item> buyNow </item> +<item> buyequip </item> +<item> cache_endgather </item> +<item> cache_flush </item> +<item> cache_mapchange </item> +<item> cache_print </item> +<item> cache_profile </item> +<item> cache_setindex </item> +<item> cache_startgather </item> +<item> cache_usedfile </item> +<item> cancelselect </item> +<item> cd </item> +<item> centerview </item> +<item> changeVectors </item> +<item> changelevel </item> +<item> changelevel2 </item> +<item> changing </item> +<item> chase_active </item> +<item> cinematic </item> +<item> cl_deadbodyfilter </item> +<item> cl_gibfilter </item> +<item> cl_hightrack </item> +<item> cl_hudswap </item> +<item> cl_messages </item> +<item> cl_nodelta </item> +<item> cl_nolerp </item> +<item> cl_nopred </item> +<item> cl_predict_players </item> +<item> cl_rate </item> +<item> cl_sbar </item> +<item> cl_sbar_separator </item> +<item> cl_shownet </item> +<item> cl_sidespeed </item> +<item> cl_solid_players </item> +<item> cl_warncmd </item> +<item> cl_writecfg </item> +<item> clear </item> +<item> clearplayers </item> +<item> clientinfo </item> +<item> clientkick </item> +<item> cmd </item> +<item> cmdline </item> +<item> cmdlist </item> +<item> color </item> +<item> commands </item> +<item> condebug </item> +<item> condump </item> +<item> configstrings </item> +<item> confirm_quit </item> +<item> connect </item> +<item> contimes </item> +<item> coop </item> +<item> crash </item> +<item> credits </item> +<item> cropimages </item> +<item> crosshair </item> +<item> cvar_restart </item> +<item> cvarlist </item> +<item> d_mipcap </item> +<item> d_subdiv16 </item> +<item> deathmatch </item> +<item> delta_clear </item> +<item> delta_stats </item> +<item> demo </item> +<item> demolist </item> +<item> demomap </item> +<item> demos </item> +<item> developer </item> +<item> devmap </item> +<item> dir </item> +<item> disconnect </item> +<item> dlfile </item> +<item> dmoptions </item> +<item> download </item> +<item> drawradar </item> +<item> drop </item> +<item> dropclient </item> +<item> dumpuser </item> +<item> edict </item> +<item> edictcount </item> +<item> edicts </item> +<item> endmovie </item> +<item> entities </item> +<item> envmap </item> +<item> error </item> +<item> escape </item> +<item> exec </item> +<item> exit </item> +<item> fastsprites </item> +<item> fdir </item> +<item> filterban </item> +<item> firstperson </item> +<item> floodprot </item> +<item> floodprotmsg </item> +<item> flush </item> +<item> fly </item> +<item> force_centerview </item> +<item> fov </item> +<item> fraglogfile </item> +<item> freelook </item> +<item> freeze </item> +<item> front </item> +<item> fs_openedList </item> +<item> fs_referencedList </item> +<item> fullinfo </item> +<item> fullserverinfo </item> +<item> game </item> +<item> gameCompleteStatus </item> +<item> gamedir </item> +<item> gamemap </item> +<item> gameversion </item> +<item> getcertificate </item> +<item> gfxinfo </item> +<item> gg </item> +<item> gib </item> +<item> gibload </item> +<item> gibstats </item> +<item> give </item> +<item> gl_affinemodels </item> +<item> gl_clear </item> +<item> gl_colorlights </item> +<item> gl_constretch </item> +<item> gl_cull </item> +<item> gl_dlight_lightmap </item> +<item> gl_dlight_polyblend </item> +<item> gl_dlight_smooth </item> +<item> gl_fb_bmodels </item> +<item> gl_fb_models </item> +<item> gl_finish </item> +<item> gl_fires </item> +<item> gl_flashblend </item> +<item> gl_keeptjunctions </item> +<item> gl_lerp_anim </item> +<item> gl_lightmode </item> +<item> gl_max_size </item> +<item> gl_multitexture </item> +<item> gl_nobind </item> +<item> gl_nocolors </item> +<item> gl_picmip </item> +<item> gl_playermip </item> +<item> gl_polyblend </item> +<item> gl_reportjunctions </item> +<item> gl_sky_clip </item> +<item> gl_skymultipass </item> +<item> gl_smoothmodels </item> +<item> gl_texsort </item> +<item> gl_texturemode </item> +<item> gl_triplebuffer </item> +<item> gl_ztrick </item> +<item> globalservers </item> +<item> god </item> +<item> gun </item> +<item> gun_model </item> +<item> gun_next </item> +<item> gun_prev </item> +<item> gunsmoke </item> +<item> heartbeat </item> +<item> help </item> +<item> hideconsole </item> +<item> hideradar </item> +<item> host_speeds </item> +<item> hostname </item> +<item> hpkextract </item> +<item> hpklist </item> +<item> hpkremove </item> +<item> hpkval </item> +<item> hud_centerid </item> +<item> imagelist </item> +<item> impulse </item> +<item> imt </item> +<item> in_bind </item> +<item> in_paste_buffer </item> +<item> in_restart </item> +<item> in_unbind </item> +<item> info </item> +<item> interp </item> +<item> invdrop </item> +<item> inven </item> +<item> invnext </item> +<item> invnextp </item> +<item> invnextw </item> +<item> invprev </item> +<item> invprevp </item> +<item> invprevw </item> +<item> invuse </item> +<item> joinserver </item> +<item> joy </item> +<item> joy_advancedupdate </item> +<item> joy_enable </item> +<item> joyadvanced </item> +<item> joyadvancedupdat </item> +<item> joyadvancedupdate </item> +<item> joyname </item> +<item> joystick </item> +<item> keys </item> +<item> kick </item> +<item> kill </item> +<item> killserver </item> +<item> lefthand </item> +<item> link </item> +<item> list </item> +<item> listdemo </item> +<item> listen </item> +<item> listid </item> +<item> listip </item> +<item> listmaps </item> +<item> load </item> +<item> loadas8bit </item> +<item> loadgame </item> +<item> loading </item> +<item> loadsky </item> +<item> loadtranslations </item> +<item> loc </item> +<item> localinfo </item> +<item> localservers </item> +<item> log </item> +<item> logaddress </item> +<item> logfile </item> +<item> lookspring </item> +<item> lookstrafe </item> +<item> m_filter </item> +<item> main </item> +<item> map </item> +<item> map_restart </item> +<item> maplist </item> +<item> maps </item> +<item> maxplayers </item> +<item> max_smokepuffs </item> +<item> max_shells </item> +<item> mcache </item> +<item> meminfo </item> +<item> menu </item> +<item> menu_addressbook </item> +<item> menu_credits </item> +<item> menu_help </item> +<item> menu_keys </item> +<item> menu_load </item> +<item> menu_loadgame </item> +<item> menu_main </item> +<item> menu_multiplayer </item> +<item> menu_options </item> +<item> menu_playerconfig </item> +<item> menu_quit </item> +<item> menu_save </item> +<item> menu_savegame </item> +<item> menu_setup </item> +<item> menu_select </item> +<item> menu_singleplayer </item> +<item> menu_startserver </item> +<item> menu_video </item> +<item> menu_dmoptions </item> +<item> menu_game </item> +<item> menu_joinserver </item> +<item> messagemode </item> +<item> messagemode2 </item> +<item> messagemode3 </item> +<item> messagemode4 </item> +<item> model </item> +<item> modelist </item> +<item> modellist </item> +<item> msg </item> +<item> multiplayer </item> +<item> music </item> +<item> name </item> +<item> net_stats </item> +<item> new </item> +<item> next </item> +<item> nextul </item> +<item> nightvision </item> +<item> no_pogo_stick </item> +<item> noaim </item> +<item> noclip </item> +<item> noexit </item> +<item> nomonsters </item> +<item> noskins </item> +<item> nosound </item> +<item> notarget </item> +<item> options </item> +<item> packet </item> +<item> password </item> +<item> path </item> +<item> pausable </item> +<item> pause </item> +<item> paused </item> +<item> ping </item> +<item> pingservers </item> +<item> play </item> +<item> playdemo </item> +<item> playerconfig </item> +<item> players </item> +<item> playvol </item> +<item> pushlatency </item> +<item> pointfile </item> +<item> ppdemostart </item> +<item> pr_boundscheck </item> +<item> precache </item> +<item> prespawn </item> +<item> prev </item> +<item> profile </item> +<item> profilequit </item> +<item> prog </item> +<item> quit </item> +<item> r_drawentities </item> +<item> r_drawflat </item> +<item> r_draworder </item> +<item> r_drawviewmodel </item> +<item> r_dspeeds </item> +<item> r_dynamic </item> +<item> r_fullbright </item> +<item> r_lightmap </item> +<item> r_netgraph </item> +<item> r_netgraph_box </item> +<item> r_norefresh </item> +<item> r_novis </item> +<item> r_numedges </item> +<item> r_numsurfs </item> +<item> r_particles </item> +<item> r_polymodelstats </item> +<item> r_reportsurfout </item> +<item> r_shadows </item> +<item> r_speeds </item> +<item> r_timegraph </item> +<item> r_wateralpha </item> +<item> r_waterripple </item> +<item> r_waterwarp </item> +<item> r_zgraph </item> +<item> rcon </item> +<item> rcon_password </item> +<item> reconnect </item> +<item> record </item> +<item> registered </item> +<item> reload </item> +<item> removedemo </item> +<item> removeid </item> +<item> removeip </item> +<item> rerecord </item> +<item> reset </item> +<item> resetrcon </item> +<item> restart </item> +<item> retry </item> +<item> s_disable_a3d </item> +<item> s_enable_a3d </item> +<item> s_info </item> +<item> s_list </item> +<item> s_stop </item> +<item> samelevel </item> +<item> save </item> +<item> savegame </item> +<item> savetranslations </item> +<item> score </item> +<item> screenshot </item> +<item> screenshotJPEG </item> +<item> sectorlist </item> +<item> sendents </item> +<item> serverinfo </item> +<item> serverprofile </item> +<item> serverrecord </item> +<item> serverstatus </item> +<item> serverstop </item> +<item> setRecommended </item> +<item> setdemoinfo </item> +<item> setenv </item> +<item> setinfo </item> +<item> setmaster </item> +<item> setrom </item> +<item> shaderlist </item> +<item> show_fps </item> +<item> show_time </item> +<item> showdrop </item> +<item> showinfo </item> +<item> showip </item> +<item> showpackets </item> +<item> showpause </item> +<item> showram </item> +<item> showturtle </item> +<item> shutdownserver </item> +<item> singlePlayLink </item> +<item> sizedown </item> +<item> sizeup </item> +<item> skill </item> +<item> skin </item> +<item> skinlist </item> +<item> skins </item> +<item> sky </item> +<item> skyboxlist </item> +<item> slist </item> +<item> slot1 </item> +<item> slot10 </item> +<item> slot2 </item> +<item> slot3 </item> +<item> slot4 </item> +<item> slot5 </item> +<item> slot6 </item> +<item> slot7 </item> +<item> slot8 </item> +<item> slot9 </item> +<item> snap </item> +<item> snapall </item> +<item> snapshot </item> +<item> snapto </item> +<item> snd </item> +<item> snd_noextraupdate </item> +<item> snd_restart </item> +<item> snd_show </item> +<item> soundfade </item> +<item> soundinfo </item> +<item> soundlist </item> +<item> spawn </item> +<item> spdevmap </item> +<item> speak </item> +<item> special </item> +<item> specmode </item> +<item> spectator </item> +<item> spectator_password </item> +<item> spk </item> +<item> spmap </item> +<item> startLimboMode </item> +<item> startSingleplayer </item> +<item> startdemos </item> +<item> startmovie </item> +<item> startserver </item> +<item> stat </item> +<item> stats </item> +<item> status </item> +<item> stop </item> +<item> stopLimboMode </item> +<item> stopdemo </item> +<item> stoprecord </item> +<item> stopsound </item> +<item> stopul </item> +<item> streamingsound </item> +<item> stuffcmd </item> +<item> stuffcmds </item> +<item> sv </item> +<item> sv_allow_log </item> +<item> sv_allow_pings </item> +<item> sv_allow_status </item> +<item> sv_gamedir </item> +<item> sv_highchars </item> +<item> sv_mapcheck </item> +<item> sv_nostep </item> +<item> sv_spectatormaxspeed </item> +<item> sv_spetalk </item> +<item> sv_maplist </item> +<item> swapdemo </item> +<item> sys_cpuid </item> +<item> sys_dead_sleep </item> +<item> sys_extrasleep </item> +<item> sys_nostdout </item> +<item> systeminfo </item> +<item> taginfo </item> +<item> team </item> +<item> teamplay </item> +<item> tell </item> +<item> test </item> +<item> test2 </item> +<item> time </item> +<item> thirdperson </item> +<item> timedemo </item> +<item> timeleft </item> +<item> timerefresh </item> +<item> toggle </item> +<item> togglebrowser </item> +<item> togglechat </item> +<item> toggleconsole </item> +<item> togglemenu </item> +<item> topcolor </item> +<item> touchFile </item> +<item> trackplayer </item> +<item> ui_restart </item> +<item> unalias </item> +<item> unbindall </item> +<item> updatehunkusage </item> +<item> updatescreen </item> +<item> upload </item> +<item> use </item> +<item> user </item> +<item> userinfo </item> +<item> users </item> +<item> v_centerspeed </item> +<item> v_cshift </item> +<item> v_idlescale </item> +<item> version </item> +<item> vid </item> +<item> vid_center </item> +<item> vid_config_x </item> +<item> vid_describecurrentmode </item> +<item> vid_describemode </item> +<item> vid_describemodes </item> +<item> vid_forcemode </item> +<item> vid_fullscreen </item> +<item> vid_fullscreen_mode </item> +<item> vid_minimize </item> +<item> vid_nopageflip </item> +<item> vid_nummodes </item> +<item> vid_restart </item> +<item> vid_stretch_by_2 </item> +<item> vid_testmode </item> +<item> vid_windowed </item> +<item> vid_windowed_mode </item> +<item> vid_front </item> +<item> video </item> +<item> viewframe </item> +<item> viewmodel </item> +<item> viewnext </item> +<item> viewpos </item> +<item> viewprev </item> +<item> vminfo </item> +<item> vmprofile </item> +<item> voice_showbanned </item> +<item> votemap </item> +<item> vstr </item> +<item> wait </item> +<item> watervis </item> +<item> wave </item> +<item> weapon </item> +<item> weapon_knife </item> +<item> weaplast </item> +<item> weapnext </item> +<item> weapprev </item> +<item> windowsr_drawentities </item> +<item> writecfg </item> +<item> writeconfig </item> +<item> writeid </item> +<item> writeip </item> +<item> z_stats </item> +</list> + + +<list name="Variables"> +<item> ah </item> +<item> ActiveAction </item> +<item> _cl_color </item> +<item> _cl_name </item> +<item> _config_com_baud </item> +<item> _config_com_irq </item> +<item> _config_com_modem </item> +<item> _config_com_port </item> +<item> _config_modem_clear </item> +<item> _config_modem_dialtype </item> +<item> _config_modem_hangup </item> +<item> _config_modem_init </item> +<item> _snd_mixahead </item> +<item> _vid_default_mode </item> +<item> _vid_default_mode_win </item> +<item> _vid_wait_override </item> +<item> _windowed_mouse </item> +<item> address </item> +<item> adr </item> +<item> adr0 </item> +<item> adr1 </item> +<item> adr2 </item> +<item> adr3 </item> +<item> adr4 </item> +<item> adr5 </item> +<item> adr6 </item> +<item> adr7 </item> +<item> adr8 </item> +<item> advanced </item> +<item> advaxisr </item> +<item> advaxisu </item> +<item> advaxisv </item> +<item> advaxisx </item> +<item> advaxisy </item> +<item> advaxisz </item> +<item> airaccelerate </item> +<item> allow </item> +<item> allow_download_players </item> +<item> ambient_fade </item> +<item> ambient_level </item> +<item> anglespeedkey </item> +<item> arch </item> +<item> array </item> +<item> arrays </item> +<item> att </item> +<item> auto </item> +<item> autoskins </item> +<item> b </item> +<item> bgmbuffer </item> +<item> bgmvolume </item> +<item> bit </item> +<item> bitdepth </item> +<item> blend </item> +<item> bob </item> +<item> bob_pitch </item> +<item> bob_roll </item> +<item> bob_up </item> +<item> bot_aasoptimize </item> +<item> bot_challenge </item> +<item> bot_debug </item> +<item> bot_developer </item> +<item> bot_enable </item> +<item> bot_fastchat </item> +<item> bot_forceclustering </item> +<item> bot_forcereachability </item> +<item> bot_forcewrite </item> +<item> bot_grapple </item> +<item> bot_groundonly </item> +<item> bot_interbreedbots </item> +<item> bot_interbreedchar </item> +<item> bot_interbreedcycle </item> +<item> bot_interbreedwrite </item> +<item> bot_maxdebugpolys </item> +<item> bot_miniplayers </item> +<item> bot_minplayers </item> +<item> bot_nochat </item> +<item> bot_pause </item> +<item> bot_reachability </item> +<item> bot_reloadcharacters </item> +<item> bot_report </item> +<item> bot_rocketjump </item> +<item> bot_saveroutingcache </item> +<item> bot_testclusters </item> +<item> bot_testichat </item> +<item> bot_testrchat </item> +<item> bot_testsolid </item> +<item> bot_thinktime </item> +<item> bot_visualizejumppads </item> +<item> brighten </item> +<item> brightness </item> +<item> broken </item> +<item> cd </item> +<item> cd_loopcount </item> +<item> cd_looptrack </item> +<item> cd_nocd </item> +<item> cd_plugin </item> +<item> centermove </item> +<item> centerspeed </item> +<item> centertime </item> +<item> cg_autoactivate </item> +<item> cg_autoswitch </item> +<item> cg_blinktime </item> +<item> cg_bloodTime </item> +<item> cg_bobpitch </item> +<item> cg_bobroll </item> +<item> cg_bobup </item> +<item> cg_brassTime </item> +<item> cg_cameraOrbitDelay </item> +<item> cg_clipboardName </item> +<item> cg_coronafardist </item> +<item> cg_coronas </item> +<item> cg_crosshairAlpha </item> +<item> cg_crosshairHealth </item> +<item> cg_crosshairSize </item> +<item> cg_crosshairX </item> +<item> cg_crosshairY </item> +<item> cg_currentSelectedPlayer </item> +<item> cg_currentSelectedPlayerName </item> +<item> cg_cursorHints </item> +<item> cg_cycleAllWeaps </item> +<item> cg_deferPlayers </item> +<item> cg_descriptiveText </item> +<item> cg_draw2D </item> +<item> cg_draw3dIcons </item> +<item> cg_drawAllWeaps </item> +<item> cg_drawAmmoWarning </item> +<item> cg_drawAttacker </item> +<item> cg_drawCompass </item> +<item> cg_drawCrosshair </item> +<item> cg_drawCrosshairNames </item> +<item> cg_drawCrosshairPickups </item> +<item> cg_drawFPGun </item> +<item> cg_drawFPS </item> +<item> cg_drawFrags </item> +<item> cg_drawGun </item> +<item> cg_drawIcons </item> +<item> cg_drawNotifyText </item> +<item> cg_drawRewards </item> +<item> cg_drawSnapshot </item> +<item> cg_drawSpreadScale </item> +<item> cg_drawStatus </item> +<item> cg_drawTeamOverlay </item> +<item> cg_drawTimer </item> +<item> cg_emptyswitch </item> +<item> cg_fov </item> +<item> cg_forcemodel </item> +<item> cg_gibs </item> +<item> cg_hudAlpha </item> +<item> cg_hudFiles </item> +<item> cg_lagometer </item> +<item> cg_marks </item> +<item> cg_marktime </item> +<item> cg_noplayeranims </item> +<item> cg_nopredict </item> +<item> cg_noTaunt </item> +<item> cg_noVoiceChats </item> +<item> cg_noVoiceText </item> +<item> cg_particleDist </item> +<item> cg_particleLOD </item> +<item> cg_popupLimboMenu </item> +<item> cg_predictItems </item> +<item> cg_quickMessageAlt </item> +<item> cg_railTrailTime </item> +<item> cg_recoilPitch </item> +<item> cg_reticleBrightness </item> +<item> cg_reticleType </item> +<item> cg_runpitch </item> +<item> cg_runroll </item> +<item> cg_scorePlums </item> +<item> cg_selectedPlayer </item> +<item> cg_selectedPlayerName </item> +<item> cg_shadows </item> +<item> cg_showblood </item> +<item> cg_simpleItems </item> +<item> cg_skybox </item> +<item> cg_stereoSeparation </item> +<item> cg_teamChatHeight </item> +<item> cg_teamChatTime </item> +<item> cg_teamChatsOnly </item> +<item> cg_thirdperson </item> +<item> cg_thirdpersonrange </item> +<item> cg_thirdPersonAngle </item> +<item> cg_useWeapsForZoom </item> +<item> cg_uselessNostalgia </item> +<item> cg_viewsize </item> +<item> cg_voiceSpriteTime </item> +<item> cg_weaponCycleDelay </item> +<item> cg_wolfparticles </item> +<item> cg_zoomDefaultBinoc </item> +<item> cg_zoomDefaultFG </item> +<item> cg_zoomDefaultSniper </item> +<item> cg_zoomDefaultSnooper </item> +<item> cg_zoomStepBinoc </item> +<item> cg_zoomStepFG </item> +<item> cg_zoomStepSnooper </item> +<item> cg_zoomfov </item> +<item> cg_zoomstepsniper </item> +<item> chase_active </item> +<item> chase_back </item> +<item> chase_right </item> +<item> chase_up </item> +<item> cheats </item> +<item> cl </item> +<item> cl_allowDownload </item> +<item> cl_anglespeedkey </item> +<item> cl_anonymous </item> +<item> cl_autoexec </item> +<item> cl_autoskins </item> +<item> cl_avidemo </item> +<item> cl_backspeed </item> +<item> cl_blend </item> +<item> cl_bob </item> +<item> cl_bobcycle </item> +<item> cl_bobup </item> +<item> cl_bypassMouseInput </item> +<item> cl_cacheGathering </item> +<item> cl_camera_maxpitch </item> +<item> cl_camera_maxyaw </item> +<item> cl_chasecam </item> +<item> cl_chatmode </item> +<item> cl_conXOffset </item> +<item> cl_crossx </item> +<item> cl_crossy </item> +<item> cl_cshift_bonus </item> +<item> cl_cshift_content </item> +<item> cl_cshift_damage </item> +<item> cl_cshift_powerup </item> +<item> cl_debugMove </item> +<item> cl_debugTranslation </item> +<item> cl_demospeed </item> +<item> cl_entities </item> +<item> cl_footsteps </item> +<item> cl_forceavidemo </item> +<item> cl_forwardspeed </item> +<item> cl_freelook </item> +<item> cl_freezeDemo </item> +<item> cl_gun </item> +<item> cl_hidefrags </item> +<item> cl_hightrack </item> +<item> cl_hudswap </item> +<item> cl_language </item> +<item> cl_lights </item> +<item> cl_maxPing </item> +<item> cl_maxfps </item> +<item> cl_maxpackets </item> +<item> cl_motd </item> +<item> cl_motdString </item> +<item> cl_mouseAccel </item> +<item> cl_movespeedkey </item> +<item> cl_nodelta </item> +<item> cl_nofake </item> +<item> cl_nolerp </item> +<item> cl_nopred </item> +<item> cl_noprint </item> +<item> cl_noskins </item> +<item> cl_packetdup </item> +<item> cl_parsesay </item> +<item> cl_particles </item> +<item> cl_paused </item> +<item> cl_pitchspeed </item> +<item> cl_predict </item> +<item> cl_predict_players </item> +<item> cl_predict_players2 </item> +<item> cl_observercrosshair </item> +<item> cl_quakerc </item> +<item> cl_rollangle </item> +<item> cl_rollspeed </item> +<item> cl_run </item> +<item> cl_running </item> +<item> cl_serverStatusResendTime </item> +<item> cl_showfps </item> +<item> cl_showSend </item> +<item> cl_showServerCommands </item> +<item> cl_showTimeDelta </item> +<item> cl_showmiss </item> +<item> cl_showmouserate </item> +<item> cl_shownet </item> +<item> cl_shownuments </item> +<item> cl_sidespeed </item> +<item> cl_stats </item> +<item> cl_stereo </item> +<item> cl_stereo_separation </item> +<item> cl_testblend </item> +<item> cl_testentities </item> +<item> cl_testlights </item> +<item> cl_testparticles </item> +<item> cl_timeNudge </item> +<item> cl_timeout </item> +<item> cl_upspeed </item> +<item> cl_verstring </item> +<item> cl_visibleClients </item> +<item> cl_vwep </item> +<item> cl_waitForFire </item> +<item> cl_wavefilerecord </item> +<item> cl_yawspeed </item> +<item> clear </item> +<item> clearcolor </item> +<item> clientport </item> +<item> cm_playerCurveClip </item> +<item> cmd_highchars </item> +<item> cmd_warncmd </item> +<item> cmdlist </item> +<item> color </item> +<item> color1 </item> +<item> color2 </item> +<item> com_blood </item> +<item> com_buildScript </item> +<item> com_cameraMode </item> +<item> com_dropsim </item> +<item> com_hunkMegs </item> +<item> com_hunkused </item> +<item> com_introplayed </item> +<item> com_maxfps </item> +<item> com_recommendedSet </item> +<item> com_showtrace </item> +<item> com_soundMegs </item> +<item> com_speeds </item> +<item> com_zoneMegs </item> +<item> compiled </item> +<item> con_debug </item> +<item> con_notifytime </item> +<item> con_restricted </item> +<item> conspeed </item> +<item> contrast </item> +<item> coop </item> +<item> crosshair </item> +<item> crosshaircolor </item> +<item> cull </item> +<item> d_mipcap </item> +<item> d_mipscale </item> +<item> deathmatch </item> +<item> debug_protocol </item> +<item> debuggraph </item> +<item> dedicated </item> +<item> devdll </item> +<item> developer </item> +<item> dlabs </item> +<item> dmflags </item> +<item> dm </item> +<item> down </item> +<item> download </item> +<item> drawall </item> +<item> drawbuffer </item> +<item> drawentities </item> +<item> drawflat </item> +<item> draworder </item> +<item> drawworld </item> +<item> driver </item> +<item> dspeeds </item> +<item> dynamic </item> +<item> easter_eggs </item> +<item> edgefriction </item> +<item> empty </item> +<item> enforcetime </item> +<item> entities </item> +<item> entlatency </item> +<item> ext </item> +<item> filter </item> +<item> filterban </item> +<item> finish </item> +<item> fixedtime </item> +<item> flashblend </item> +<item> flood </item> +<item> flood_msgs </item> +<item> flood_persecond </item> +<item> flood_waitdelay </item> +<item> flushmap </item> +<item> footsteps </item> +<item> forward </item> +<item> forwardsensitivity </item> +<item> forwardspeed </item> +<item> forwardthreshold </item> +<item> fov </item> +<item> fraglimit </item> +<item> freelook </item> +<item> fs_basegame </item> +<item> fs_basepath </item> +<item> fs_cdpath </item> +<item> fs_copyfiles </item> +<item> fs_debug </item> +<item> fs_game </item> +<item> fs_globalcfg </item> +<item> fs_homepath </item> +<item> fs_pluginpath </item> +<item> fs_restrict </item> +<item> fs_sharepath </item> +<item> fs_skinbase </item> +<item> fs_usercfg </item> +<item> fs_userpath </item> +<item> fullbright </item> +<item> fullscreen </item> +<item> g_allowvote </item> +<item> g_altStopwatchMode </item> +<item> g_arenasFile </item> +<item> g_blueTeam </item> +<item> g_botsFile </item> +<item> g_complaintlimit </item> +<item> g_currentRound </item> +<item> g_friendlyFire </item> +<item> g_gameskill </item> +<item> g_gametype </item> +<item> g_maxlives </item> +<item> g_minGameClients </item> +<item> g_missionStats </item> +<item> g_nextTimeLimit </item> +<item> g_noTeamSwitching </item> +<item> g_redTeam </item> +<item> g_select_empty </item> +<item> g_spAwards </item> +<item> g_spScores1 </item> +<item> g_spScores2 </item> +<item> g_spScores3 </item> +<item> g_spScores4 </item> +<item> g_spScores5 </item> +<item> g_spSkill </item> +<item> g_spVideos </item> +<item> g_userAlliedRespawnTime </item> +<item> g_userAxisRespawnTime </item> +<item> g_userTimeLimit </item> +<item> game </item> +<item> gamecfg </item> +<item> gamedate </item> +<item> gamedir </item> +<item> gamename </item> +<item> gamestate </item> +<item> gamma </item> +<item> gender </item> +<item> gender_auto </item> +<item> gl_3dlabs_broken </item> +<item> gl_allow_software </item> +<item> gl_bitdepth </item> +<item> gl_clear </item> +<item> gl_conalpha </item> +<item> gl_conspin </item> +<item> gl_cshiftpercent </item> +<item> gl_cull </item> +<item> gl_drawbuffer </item> +<item> gl_driver </item> +<item> gl_dynamic </item> +<item> gl_ext_compiled_vertex_array </item> +<item> gl_ext_multitexture </item> +<item> gl_ext_palettedtexture </item> +<item> gl_ext_pointparameters </item> +<item> gl_ext_swapinterval </item> +<item> gl_finish </item> +<item> gl_flashblend </item> +<item> gl_keeptjunctions </item> +<item> gl_lightmap </item> +<item> gl_lightmap_align </item> +<item> gl_lightmap_subimage </item> +<item> gl_lockpvs </item> +<item> gl_log </item> +<item> gl_max_size </item> +<item> gl_mesh_cache </item> +<item> gl_mode </item> +<item> gl_modulate </item> +<item> gl_monolightmap </item> +<item> gl_nobind </item> +<item> gl_nocolors </item> +<item> gl_nosubimage </item> +<item> gl_occlusion </item> +<item> gl_particle_att_a </item> +<item> gl_particle_att_b </item> +<item> gl_particle_att_c </item> +<item> gl_particle_max_size </item> +<item> gl_particle_min_size </item> +<item> gl_particle_mip </item> +<item> gl_particle_size </item> +<item> gl_picmip </item> +<item> gl_playermip </item> +<item> gl_polyblend </item> +<item> gl_reporttjunctions </item> +<item> gl_round_down </item> +<item> gl_saturatelighting </item> +<item> gl_screenshot_byte_swap </item> +<item> gl_shadows </item> +<item> gl_showtris </item> +<item> gl_sky_debug </item> +<item> gl_sky_divide </item> +<item> gl_skymip </item> +<item> gl_smoothmodels </item> +<item> gl_subdivide_size </item> +<item> gl_swapinterval </item> +<item> gl_texsort </item> +<item> gl_texturealphamode </item> +<item> gl_texturemode </item> +<item> gl_texturesolidmode </item> +<item> gl_triplebuffer </item> +<item> gl_vertex_arrays </item> +<item> gl_ztrick </item> +<item> graphheight </item> +<item> graphscale </item> +<item> graphshift </item> +<item> gravity </item> +<item> gun </item> +<item> gun_x </item> +<item> gun_y </item> +<item> gun_z </item> +<item> hand </item> +<item> handicap </item> +<item> head </item> +<item> headModel </item> +<item> headmodel </item> +<item> host </item> +<item> host_framerate </item> +<item> host_speeds </item> +<item> hostname </item> +<item> hostport </item> +<item> hud_fastswitch </item> +<item> in </item> +<item> in_amp </item> +<item> in_bind_imt </item> +<item> in_debugjoystick </item> +<item> in_dga </item> +<item> in_dga_mouseaccel </item> +<item> in_dgamouse </item> +<item> in_grab </item> +<item> in_joystick </item> +<item> in_midi </item> +<item> in_mouse </item> +<item> in_mouse_amp </item> +<item> in_mouse_filter </item> +<item> in_mouse_pre_amp </item> +<item> in_pre_amp </item> +<item> initsound </item> +<item> intensity </item> +<item> ip </item> +<item> ip_clientport </item> +<item> ip_hostport </item> +<item> ipx </item> +<item> ipx_clientport </item> +<item> ipx_hostport </item> +<item> journal </item> +<item> joy </item> +<item> joy_advanced </item> +<item> joy_advaxisr </item> +<item> joy_advaxisu </item> +<item> joy_advaxisv </item> +<item> joy_advaxisx </item> +<item> joy_advaxisy </item> +<item> joy_advaxisz </item> +<item> joy_amp </item> +<item> joy_device </item> +<item> joy_forwardsensitivity </item> +<item> joy_forwardthreshold </item> +<item> joy_name </item> +<item> joy_pitchsensitivity </item> +<item> joy_pitchthreshold </item> +<item> joy_pre_amp </item> +<item> joy_sensitivity </item> +<item> joy_sidesensitivity </item> +<item> joy_sidethreshold </item> +<item> joy_threshold </item> +<item> joy_upsensitivity </item> +<item> joy_upthreshold </item> +<item> joy_yawsensitivity </item> +<item> joy_yawthreshold </item> +<item> joyadvanced </item> +<item> joyadvaxisr </item> +<item> joyadvaxisu </item> +<item> joyadvaxisv </item> +<item> joyadvaxisx </item> +<item> joyadvaxisy </item> +<item> joyadvaxisz </item> +<item> joyaxis1 </item> +<item> joyaxis2 </item> +<item> joyaxis3 </item> +<item> joyaxis4 </item> +<item> joyaxis5 </item> +<item> joyaxis6 </item> +<item> joyaxis7 </item> +<item> joyaxis8 </item> +<item> joyforwardsensitivity </item> +<item> joyforwardthreshold </item> +<item> joyname </item> +<item> joypitchsensitivity </item> +<item> joypitchthreshold </item> +<item> joysidesensitivity </item> +<item> joysidethreshold </item> +<item> joystick </item> +<item> joywwhack1 </item> +<item> joywwhack2 </item> +<item> joyyawsensitivity </item> +<item> joyyawthreshold </item> +<item> khz </item> +<item> lcd_x </item> +<item> lcd_yaw </item> +<item> lerpmodels </item> +<item> lightmap </item> +<item> lights </item> +<item> limit </item> +<item> listen </item> +<item> loadas </item> +<item> loadas8bit </item> +<item> localid </item> +<item> lockpvs </item> +<item> log </item> +<item> log_stats </item> +<item> logfile </item> +<item> lookspring </item> +<item> lookstrafe </item> +<item> loopcount </item> +<item> looptrack </item> +<item> m_filter </item> +<item> m_forward </item> +<item> m_pitch </item> +<item> m_side </item> +<item> m_yaw </item> +<item> mapname </item> +<item> maps </item> +<item> max </item> +<item> maxclients </item> +<item> maxedges </item> +<item> maxentities </item> +<item> maxfps </item> +<item> maxplayers </item> +<item> maxspectators </item> +<item> maxsurfs </item> +<item> maxvelocity </item> +<item> min </item> +<item> mipcap </item> +<item> mipscale </item> +<item> mixahead </item> +<item> mode </item> +<item> model </item> +<item> models </item> +<item> modex </item> +<item> modulate </item> +<item> monolightmap </item> +<item> mouse </item> +<item> mp_currentPlayerType </item> +<item> mp_currentTeam </item> +<item> mp_playerType </item> +<item> mp_team </item> +<item> mp_weapon </item> +<item> mp_autokick </item> +<item> mp_autoteambalance </item> +<item> mp_c4timer </item> +<item> mp_flashlight </item> +<item> mp_footsteps </item> +<item> mp_forcechasecam </item> +<item> mp_freezetime </item> +<item> mp_friendlyfire </item> +<item> mp_hostagepenalty </item> +<item> mp_limitteams </item> +<item> mp_logmessages </item> +<item> mp_mapvoteration </item> +<item> mp_roundtime </item> +<item> mp_timelimit </item> +<item> mp_tkpunish </item> +<item> msg </item> +<item> msgs </item> +<item> multitexture </item> +<item> name </item> +<item> net_graph </item> +<item> net_ip </item> +<item> net_messagetimeout </item> +<item> net_noudp </item> +<item> net_port </item> +<item> net_qport </item> +<item> net_restart </item> +<item> netdosexpire </item> +<item> netdosvalues </item> +<item> netgraph </item> +<item> nextdemo </item> +<item> nextmap </item> +<item> nextserver </item> +<item> noalttab </item> +<item> nobind </item> +<item> nocd </item> +<item> nocull </item> +<item> nodelta </item> +<item> noexit </item> +<item> nomonsters </item> +<item> norefresh </item> +<item> noreload </item> +<item> noskins </item> +<item> nosound </item> +<item> nosubimage </item> +<item> novis </item> +<item> palettedtexture </item> +<item> particle </item> +<item> particles </item> +<item> password </item> +<item> pausable </item> +<item> persecond </item> +<item> picmip </item> +<item> pitch </item> +<item> pitchsensitivity </item> +<item> pitchspeed </item> +<item> pitchthreshold </item> +<item> playermip </item> +<item> players </item> +<item> pointparameters </item> +<item> polyblend </item> +<item> polymodelstats </item> +<item> port </item> +<item> pr_checkextensions </item> +<item> pr_deadbeef_ents </item> +<item> pr_deadbeef_locals </item> +<item> pr_debug </item> +<item> pr_source_path </item> +<item> precache </item> +<item> predict </item> +<item> primary </item> +<item> printspeed </item> +<item> protocol </item> +<item> public </item> +<item> pushlatency </item> +<item> qport </item> +<item> r_aliastransadj </item> +<item> r_aliastransbase </item> +<item> r_allowExtensions </item> +<item> r_allowSoftwareGL </item> +<item> r_ambient </item> +<item> r_ambientScale </item> +<item> r_bonesDebug </item> +<item> r_cache </item> +<item> r_cacheModels </item> +<item> r_cacheShaders </item> +<item> r_clear </item> +<item> r_clearcolor </item> +<item> r_colorMipLevels </item> +<item> r_colorbits </item> +<item> r_compressModels </item> +<item> r_customaspect </item> +<item> r_customheight </item> +<item> r_customwidth </item> +<item> r_debugSort </item> +<item> r_debugSurface </item> +<item> r_debuglight </item> +<item> r_depthbits </item> +<item> r_detailtextures </item> +<item> r_directedScale </item> +<item> r_displayRefresh </item> +<item> r_dlightBacks </item> +<item> r_dlight_lightmap </item> +<item> r_dlight_max </item> +<item> r_drawBuffer </item> +<item> r_drawSun </item> +<item> r_drawentities </item> +<item> r_drawexplosions </item> +<item> r_drawflat </item> +<item> r_draworder </item> +<item> r_drawviewmodel </item> +<item> r_drawworld </item> +<item> r_dspeeds </item> +<item> r_dynamic </item> +<item> r_dynamiclight </item> +<item> r_explosionclip </item> +<item> r_exportCompressedModels </item> +<item> r_ext_compiled_vertex_array </item> +<item> r_ext_compress_textures </item> +<item> r_ext_compressed_textures </item> +<item> r_ext_gamma_control </item> +<item> r_ext_multitexture </item> +<item> r_ext_texture_env_add </item> +<item> r_facePlaneCull </item> +<item> r_fastsky </item> +<item> r_finish </item> +<item> r_firecolor </item> +<item> r_flareFade </item> +<item> r_flareSize </item> +<item> r_flares </item> +<item> r_fullbright </item> +<item> r_fullscreen </item> +<item> r_gamma </item> +<item> r_glDriver </item> +<item> r_glIgnoreWicked3D </item> +<item> r_graphheight </item> +<item> r_highQualit </item> +<item> r_highQualityVideo </item> +<item> r_ignore </item> +<item> r_ignoreFastPath </item> +<item> r_ignoreGLErrors </item> +<item> r_ignorehwgamma </item> +<item> r_inGameVideo </item> +<item> r_intensity </item> +<item> r_lastValidRenderer </item> +<item> r_lerpmodels </item> +<item> r_lightmap </item> +<item> r_lightmap_components </item> +<item> r_lockpvs </item> +<item> r_lodCurveError </item> +<item> r_lodbias </item> +<item> r_lodscale </item> +<item> r_logFile </item> +<item> r_lowMemTextureSize </item> +<item> r_lowMemTextureThreshold </item> +<item> r_mapOverBrightBits </item> +<item> r_maxedges </item> +<item> r_maxpolys </item> +<item> r_maxpolyverts </item> +<item> r_maxsurfs </item> +<item> r_measureOverdraw </item> +<item> r_mirroralpha </item> +<item> r_mode </item> +<item> r_netgraph </item> +<item> r_netgraph_alpha </item> +<item> r_nobind </item> +<item> r_nocull </item> +<item> r_nocurves </item> +<item> r_noportals </item> +<item> r_norefresh </item> +<item> r_novis </item> +<item> r_numedges </item> +<item> r_numsurfs </item> +<item> r_offsetfactor </item> +<item> r_offsetunits </item> +<item> r_overBrightBits </item> +<item> r_particles_max </item> +<item> r_particles_style </item> +<item> r_picmip </item> +<item> r_picmip2 </item> +<item> r_polymodelstats </item> +<item> r_portalOnly </item> +<item> r_preloadTextures </item> +<item> r_previousglDriver </item> +<item> r_primitives </item> +<item> r_printShaders </item> +<item> r_railCoreWidth </item> +<item> r_railSegmentLength </item> +<item> r_railWidth </item> +<item> r_reportedgeout </item> +<item> r_reportsurfout </item> +<item> r_rmse </item> +<item> r_roundImagesDown </item> +<item> r_saveFontData </item> +<item> r_shadows </item> +<item> r_showImages </item> +<item> r_showSmp </item> +<item> r_showcluster </item> +<item> r_shownormals </item> +<item> r_showsky </item> +<item> r_showtris </item> +<item> r_simpleMipMaps </item> +<item> r_singleShader </item> +<item> r_skipBackEnd </item> +<item> r_skyname </item> +<item> r_smp </item> +<item> r_speeds </item> +<item> r_stencilbits </item> +<item> r_stereo </item> +<item> r_subdivisions </item> +<item> r_swapInterval </item> +<item> r_textureMode </item> +<item> r_texturebits </item> +<item> r_timegraph </item> +<item> r_uiFullScreen </item> +<item> r_verbose </item> +<item> r_vertexLight </item> +<item> r_wateralpha </item> +<item> r_waterwarp </item> +<item> r_wolffog </item> +<item> r_zfar </item> +<item> r_znear </item> +<item> rate </item> +<item> rcon </item> +<item> rconAddress </item> +<item> rconPassword </item> +<item> rcon_address </item> +<item> rcon_password </item> +<item> reconnect </item> +<item> ref </item> +<item> registered </item> +<item> reportedgeout </item> +<item> reportsurfout </item> +<item> roll </item> +<item> rollangle </item> +<item> rollspeed </item> +<item> round </item> +<item> run </item> +<item> run_pitch </item> +<item> run_roll </item> +<item> s_compression </item> +<item> s_defaultsound </item> +<item> s_doppler </item> +<item> s_initsound </item> +<item> s_khz </item> +<item> s_loadas8bit </item> +<item> s_mixPreStep </item> +<item> s_mixahead </item> +<item> s_musicvolume </item> +<item> s_mute </item> +<item> s_nocompressed </item> +<item> s_usingA3D </item> +<item> s_primary </item> +<item> s_separation </item> +<item> s_show </item> +<item> s_testsound </item> +<item> s_volume </item> +<item> s_wavonly </item> +<item> samelevel </item> +<item> saturatelighting </item> +<item> saved1 </item> +<item> saved2 </item> +<item> saved3 </item> +<item> saved4 </item> +<item> savedgamecfg </item> +<item> scr </item> +<item> scr_centertime </item> +<item> scr_consize </item> +<item> scr_conspeed </item> +<item> scr_drawall </item> +<item> scr_ofsx </item> +<item> scr_ofsy </item> +<item> scr_ofsz </item> +<item> scr_printspeed </item> +<item> scr_showpause </item> +<item> scr_showturtle </item> +<item> scratch1 </item> +<item> scratch2 </item> +<item> scratch3 </item> +<item> scratch4 </item> +<item> screenshot </item> +<item> select </item> +<item> sensitivity </item> +<item> separation </item> +<item> server1 </item> +<item> server10 </item> +<item> server11 </item> +<item> server12 </item> +<item> server13 </item> +<item> server14 </item> +<item> server15 </item> +<item> server16 </item> +<item> server2 </item> +<item> server3 </item> +<item> server4 </item> +<item> server5 </item> +<item> server6 </item> +<item> server7 </item> +<item> server8 </item> +<item> server9 </item> +<item> serverprofile </item> +<item> sex </item> +<item> shadows </item> +<item> show </item> +<item> showclamp </item> +<item> showdrop </item> +<item> showmiss </item> +<item> shownet </item> +<item> showpackets </item> +<item> showpause </item> +<item> showram </item> +<item> showtrace </item> +<item> showtris </item> +<item> showturtle </item> +<item> side </item> +<item> sidesensitivity </item> +<item> sidespeed </item> +<item> sidethreshold </item> +<item> size </item> +<item> skill </item> +<item> skin </item> +<item> skymip </item> +<item> snaps </item> +<item> snd_bits </item> +<item> snd_device </item> +<item> snd_interp </item> +<item> snd_loadas8bit </item> +<item> snd_mixahead </item> +<item> snd_noextraupdate </item> +<item> snd_oss_mmaped </item> +<item> snd_output </item> +<item> snd_phasesep </item> +<item> snd_rate </item> +<item> snd_render </item> +<item> snd_show </item> +<item> snd_stereo </item> +<item> snd_volumesep </item> +<item> sndbits </item> +<item> sndchannels </item> +<item> snddevice </item> +<item> sndspeed </item> +<item> software </item> +<item> sounds </item> +<item> spectator </item> +<item> spectator_password </item> +<item> speeds </item> +<item> stats </item> +<item> stereo </item> +<item> stipplealpha </item> +<item> surfcacheoverride </item> +<item> sv </item> +<item> sv_accelerate </item> +<item> sv_aim </item> +<item> sv_airaccelerate </item> +<item> sv_allowAnonymous </item> +<item> sv_allowDownload </item> +<item> sv_cheats </item> +<item> sv_enforcetime </item> +<item> sv_floodProtect </item> +<item> sv_fps </item> +<item> sv_friction </item> +<item> sv_gravity </item> +<item> sv_hostname </item> +<item> sv_idealpitchscale </item> +<item> sv_keywords </item> +<item> sv_killserver </item> +<item> sv_mapChecksum </item> +<item> sv_master1 </item> +<item> sv_master2 </item> +<item> sv_master3 </item> +<item> sv_master4 </item> +<item> sv_master5 </item> +<item> sv_maxPing </item> +<item> sv_maxRate </item> +<item> sv_maxclients </item> +<item> sv_maxrate </item> +<item> sv_maxspeed </item> +<item> sv_maxtic </item> +<item> sv_maxvelocity </item> +<item> sv_minPing </item> +<item> sv_minqfversion </item> +<item> sv_mintic </item> +<item> sv_netdosprotect </item> +<item> sv_noreload </item> +<item> sv_nostep </item> +<item> sv_onlyVisibleClients </item> +<item> sv_padPackets </item> +<item> sv_pakNames </item> +<item> sv_paks </item> +<item> sv_paused </item> +<item> sv_phs </item> +<item> sv_privateClients </item> +<item> sv_privatePassword </item> +<item> sv_progs </item> +<item> sv_pure </item> +<item> sv_reconnect_limit </item> +<item> sv_reconnectlimit </item> +<item> sv_referencedPakNames </item> +<item> sv_referencedPaks </item> +<item> sv_restartround </item> +<item> sv_rollangle </item> +<item> sv_rollspeed </item> +<item> sv_running </item> +<item> sv_serverid </item> +<item> sv_showAverageBPS </item> +<item> sv_showloss </item> +<item> sv_spectalk </item> +<item> sv_stopspeed </item> +<item> sv_timefmt </item> +<item> sv_timekick </item> +<item> sv_timekick_fuzz </item> +<item> sv_timekick_interval </item> +<item> sv_timeout </item> +<item> sv_timestamps </item> +<item> sv_wateraccelerate </item> +<item> sv_waterfriction </item> +<item> sv_zombietime </item> +<item> sw </item> +<item> sw_allow_modex </item> +<item> sw_clearcolor </item> +<item> sw_drawflat </item> +<item> sw_draworder </item> +<item> sw_maxedges </item> +<item> sw_maxsurfs </item> +<item> sw_mipcap </item> +<item> sw_mipscale </item> +<item> sw_mode </item> +<item> sw_polymodelstats </item> +<item> sw_reportedgeout </item> +<item> sw_reportsurfout </item> +<item> sw_stipplealpha </item> +<item> sw_surfcacheoverride </item> +<item> sw_waterwarp </item> +<item> swapinterval </item> +<item> sys_cpustring </item> +<item> sys_nostdout </item> +<item> sys_sleep </item> +<item> sys_ticrate </item> +<item> team </item> +<item> team_headmodel </item> +<item> team_model </item> +<item> teamplay </item> +<item> teamtask </item> +<item> temp1 </item> +<item> testblend </item> +<item> testentities </item> +<item> testlights </item> +<item> testparticles </item> +<item> testsound </item> +<item> texturealphamode </item> +<item> texturemode </item> +<item> texturesolidmode </item> +<item> timedemo </item> +<item> timegraph </item> +<item> timelimit </item> +<item> timeout </item> +<item> timescale </item> +<item> topcolor </item> +<item> triplebuffer </item> +<item> ttycon </item> +<item> ui_Q3Model </item> +<item> ui_actualNetGametype </item> +<item> ui_bigFont </item> +<item> ui_browserGameType </item> +<item> ui_browserMaster </item> +<item> ui_browserShowEmpty </item> +<item> ui_browserShowFriendlyFire </item> +<item> ui_browserShowFull </item> +<item> ui_browserShowMaxlives </item> +<item> ui_browserShowTourney </item> +<item> ui_browserSortKey </item> +<item> ui_cdkeychecked </item> +<item> ui_class </item> +<item> ui_cmd </item> +<item> ui_ctf_capturelimit </item> +<item> ui_ctf_friendly </item> +<item> ui_ctf_timelimit </item> +<item> ui_currentMap </item> +<item> ui_currentNetMap </item> +<item> ui_dedicated </item> +<item> ui_ffa_fraglimit </item> +<item> ui_ffa_timelimit </item> +<item> ui_gametype </item> +<item> ui_glCustom </item> +<item> ui_isSpectator </item> +<item> ui_joinGametype </item> +<item> ui_limboMode </item> +<item> ui_limboObjective </item> +<item> ui_limboOptions </item> +<item> ui_limboPrevOptions </item> +<item> ui_mapIndex </item> +<item> ui_master </item> +<item> ui_menuFiles </item> +<item> ui_mousePitch </item> +<item> ui_netGametype </item> +<item> ui_netSource </item> +<item> ui_notebookCurrentPage </item> +<item> ui_objective </item> +<item> ui_prevClass </item> +<item> ui_prevTeam </item> +<item> ui_prevWeapon </item> +<item> ui_serverStatusTimeOut </item> +<item> ui_singlePlayerActive </item> +<item> ui_smallFont </item> +<item> ui_spSelection </item> +<item> ui_team </item> +<item> ui_teamArenaFirstRun </item> +<item> ui_team_fraglimit </item> +<item> ui_team_friendly </item> +<item> ui_team_timelimit </item> +<item> ui_tourney_fraglimit </item> +<item> ui_tourney_timelimit </item> +<item> ui_userAlliedRespawnTime </item> +<item> ui_userAxisRespawnTime </item> +<item> ui_userTimeLimit </item> +<item> ui_weapon </item> +<item> up </item> +<item> upsensitivity </item> +<item> upspeed </item> +<item> upthreshold </item> +<item> username </item> +<item> v_centermove </item> +<item> v_centerspeed </item> +<item> v_idlescale </item> +<item> v_ipitch_cycle </item> +<item> v_ipitch_level </item> +<item> v_iroll_cycle </item> +<item> v_iroll_level </item> +<item> v_iuaw_cycle </item> +<item> v_iyaw_cycle </item> +<item> v_iyaw_level </item> +<item> v_kickpitch </item> +<item> v_kickroll </item> +<item> v_kicktime </item> +<item> version </item> +<item> vertex </item> +<item> vid </item> +<item> vid_config_x </item> +<item> vid_config_y </item> +<item> vid_fullscreen </item> +<item> vid_fullscreen_mode </item> +<item> vid_gamma </item> +<item> vid_height </item> +<item> vid_mode </item> +<item> vid_nopageflip </item> +<item> vid_ref </item> +<item> vid_system_gamma </item> +<item> vid_use8bit </item> +<item> vid_wait </item> +<item> vid_width </item> +<item> vid_window_x </item> +<item> vid_window_y </item> +<item> vid_windowed_mode </item> +<item> vid_xpos </item> +<item> vid_ypos </item> +<item> viewlog </item> +<item> viewsize </item> +<item> vm_cgame </item> +<item> vm_game </item> +<item> vm_ui </item> +<item> volume </item> +<item> vwep </item> +<item> waitdelay </item> +<item> waterwarp </item> +<item> wavonly </item> +<item> win </item> +<item> win_noalttab </item> +<item> win_hinstance </item> +<item> win_wndproc </item> +<item> xpos </item> +<item> yaw </item> +<item> yawsensitivity </item> +<item> yawspeed </item> +<item> yawthreshold </item> +<item> ypos </item> +<item> zombietime </item> +<item> ztrick </item> +</list> + + +<list name="Actions"> +<item> +attack </item> +<item> +ttack2 </item> +<item> +alt1 </item> +<item> +activate </item> +<item> +back </item> +<item> +break </item> +<item> +button0 </item> +<item> +button1 </item> +<item> +button10 </item> +<item> +button11 </item> +<item> +button12 </item> +<item> +button13 </item> +<item> +button14 </item> +<item> +button2 </item> +<item> +button3 </item> +<item> +button4 </item> +<item> +button5 </item> +<item> +button6 </item> +<item> +button7 </item> +<item> +button8 </item> +<item> +button9 </item> +<item> +camdistance </item> +<item> +camin </item> +<item> +cammousemove </item> +<item> +camout </item> +<item> +campitchdown </item> +<item> +campitchup </item> +<item> +camyawleft </item> +<item> +camyawright </item> +<item> +commandmenu </item> +<item> +dropweapon </item> +<item> +duck </item> +<item> +forward </item> +<item> +graph </item> +<item> +jlook </item> +<item> +jump </item> +<item> +kick </item> +<item> +klook </item> +<item> +leanleft </item> +<item> +leanright </item> +<item> +left </item> +<item> +lookdown </item> +<item> +lookup </item> +<item> +mlook </item> +<item> +movedown </item> +<item> +moveleft </item> +<item> +moveright </item> +<item> +moveup </item> +<item> +nvgadjust </item> +<item> +quickgren </item> +<item> +reload </item> +<item> +right </item> +<item> +salute </item> +<item> +score </item> +<item> +showscores </item> +<item> +speed </item> +<item> +sprint </item> +<item> +strafe </item> +<item> +use </item> +<item> +useitem </item> +<item> +voicerecord </item> +<item> +wbutton7 </item> +<item> +zoom </item> +<item> -activate </item> +<item> -alt1 </item> +<item> -attack </item> +<item> -attack2 </item> +<item> -back </item> +<item> -break </item> +<item> -button0 </item> +<item> -button1 </item> +<item> -button10 </item> +<item> -button11 </item> +<item> -button12 </item> +<item> -button13 </item> +<item> -button14 </item> +<item> -button2 </item> +<item> -button3 </item> +<item> -button4 </item> +<item> -button5 </item> +<item> -button6 </item> +<item> -button7 </item> +<item> -button8 </item> +<item> -button9 </item> +<item> -camdistance </item> +<item> -camin </item> +<item> -cammousemove </item> +<item> -camout </item> +<item> -campitchdown </item> +<item> -campitchup </item> +<item> -camyawleft </item> +<item> -camyawright </item> +<item> -commandmenu </item> +<item> -dropweapon </item> +<item> -duck </item> +<item> -forward </item> +<item> -graph </item> +<item> -jlook </item> +<item> -jump </item> +<item> -kick </item> +<item> -klook </item> +<item> -leanleft </item> +<item> -leanright </item> +<item> -left </item> +<item> -lookdown </item> +<item> -lookup </item> +<item> -mlook </item> +<item> -movedown </item> +<item> -moveleft </item> +<item> -moveright </item> +<item> -moveup </item> +<item> -nvgadjust </item> +<item> -quickgren </item> +<item> -reload </item> +<item> -right </item> +<item> -salute </item> +<item> -score </item> +<item> -showscores </item> +<item> -speed </item> +<item> -sprint </item> +<item> -strafe </item> +<item> -use </item> +<item> -useitem </item> +<item> -voicerecord </item> +<item> -wbutton7 </item> +<item> -zoom </item> +</list> + + +<list name="KeyTypes"> +<item> * </item> +<item> [ </item> +<item> ] </item> +<item> \ </item> +<item> / </item> +<item> ' </item> +<item> = </item> +<item> - </item> +<item> + </item> +<item> , </item> +<item> . </item> +<item> ` </item> +<item> ~ </item> +<item> 1 </item> +<item> 2 </item> +<item> 3 </item> +<item> 4 </item> +<item> 5 </item> +<item> 6 </item> +<item> 7 </item> +<item> 8 </item> +<item> 9 </item> +<item> 0 </item> +<item> a </item> +<item> b </item> +<item> c </item> +<item> d </item> +<item> e </item> +<item> f </item> +<item> g </item> +<item> h </item> +<item> i </item> +<item> j </item> +<item> k </item> +<item> l </item> +<item> m </item> +<item> n </item> +<item> o </item> +<item> p </item> +<item> q </item> +<item> r </item> +<item> s </item> +<item> t </item> +<item> u </item> +<item> v </item> +<item> x </item> +<item> w </item> +<item> y </item> +<item> z </item> +<item> ALT </item> +<item> AUX1 </item> +<item> AUX10 </item> +<item> AUX11 </item> +<item> AUX12 </item> +<item> AUX13 </item> +<item> AUX14 </item> +<item> AUX15 </item> +<item> AUX16 </item> +<item> AUX17 </item> +<item> AUX18 </item> +<item> AUX2 </item> +<item> AUX20 </item> +<item> AUX21 </item> +<item> AUX22 </item> +<item> AUX23 </item> +<item> AUX24 </item> +<item> AUX25 </item> +<item> AUX26 </item> +<item> AUX27 </item> +<item> AUX28 </item> +<item> AUX29 </item> +<item> AUX3 </item> +<item> AUX30 </item> +<item> AUX31 </item> +<item> AUX32 </item> +<item> AUX4 </item> +<item> AUX5 </item> +<item> AUX6 </item> +<item> AUX7 </item> +<item> AUX8 </item> +<item> AUX9 </item> +<item> BACKSPACE </item> +<item> CTRL </item> +<item> DEL </item> +<item> DOWNARROW </item> +<item> END </item> +<item> ENTER </item> +<item> ESCAPE </item> +<item> F1 </item> +<item> F10 </item> +<item> F11 </item> +<item> F12 </item> +<item> F2 </item> +<item> F3 </item> +<item> F4 </item> +<item> F5 </item> +<item> F6 </item> +<item> F7 </item> +<item> F8 </item> +<item> F9 </item> +<item> HOME </item> +<item> INS </item> +<item> JOY1 </item> +<item> JOY2 </item> +<item> JOY3 </item> +<item> JOY4 </item> +<item> KP_SLASH </item> +<item> KP_5 </item> +<item> KP_UPARROW </item> +<item> KP_LEFTARROW </item> +<item> KP_RIGHTARROW </item> +<item> KP_DOWNARROW </item> +<item> KP_HOME </item> +<item> KP_END </item> +<item> KP_PGUP </item> +<item> KP_PGDN </item> +<item> KP_INS </item> +<item> KP_DEL </item> +<item> LEFTARROW </item> +<item> MOUSE1 </item> +<item> MOUSE2 </item> +<item> MOUSE3 </item> +<item> MWHEELDOWN </item> +<item> MWHEELUP </item> +<item> PAUSE </item> +<item> PGDN </item> +<item> PGUP </item> +<item> RIGHTARROW </item> +<item> SEMICOLON </item> +<item> CAPSLOCK </item> +<item> SHIFT </item> +<item> SPACE </item> +<item> TAB </item> +<item> UPARROW </item> +</list> + + <list name="Symbols"> + <item> ; </item> + <item> $ </item> + </list> + <list name="BindFamily"> + <item> bind </item> + <item> unbind </item> + </list> + <list name="setFamily"> + <item> set </item> + <item> seta </item> + <item> setu </item> + <item> sets </item> + </list> + <list name="PrintsString"> + <item> echo </item> + <item> say_team </item> + <item> say </item> + </list> + + <contexts> + <context attribute="Normal Text" lineEndContext="#stay" name="Normal Text"> + <keyword attribute="Command" context="Arg area" String="Commands"/> + <keyword attribute="Variable" context="Arg area" String="Variables"/> + <keyword attribute="Action" context="#stay" String="Actions"/> + <keyword attribute="Symbol" context="#stay" String="Symbols"/> + <keyword attribute="Command" context="Bind phrase" String="BindFamily"/> + <keyword attribute="Command" context="Alias phrase" String="setFamily"/> + <keyword attribute="Command" context="Echo" String="PrintsString"/> + <StringDetect attribute="Command" context="Alias phrase" String="alias" insensitive="TRUE"/> + <keyword attribute="Command" context="Echo" String="PrintsString"/> + <DetectChar attribute="Symbol" context="#stay" char="$"/> + <Detect2Chars attribute="Comment" context="Comment" char="/" char1="/"/> + </context> + <context attribute="Comment" lineEndContext="Normal Text" name="Comment"/> + <context attribute="String" lineEndContext="Normal Text" name="String"> + <DetectChar attribute="String" context="#pop" char="""/> + </context> + <context attribute="Normal Text" lineEndContext="Normal Text" name="Arg area"> + <DetectChar attribute="String" context="String" char="""/> + <Float attribute="Float" context="#stay"/> + <Int attribute="Int" context="#stay"/> + <DetectChar attribute="Symbol" context="#pop" char=";"/> + <Detect2Chars attribute="Comment" context="Comment" char="/" char1="/"/> + <DetectChar attribute="Symbol" context="Normal Text" char="$"/> + </context> + <context attribute="Normal Text" lineEndContext="Normal Text" name="Arg area in sub phrase"> + <Float attribute="Float" context="#stay"/> + <Int attribute="Int" context="#stay"/> + <Detect2Chars attribute="Comment" context="Comment" char="/" char1="/"/> + <DetectChar attribute="Symbol" context="#pop" char=";"/> + </context> + <context attribute="Normal Text" lineEndContext="Normal Text" name="Sub phrase"> + <keyword attribute="Command" context="Arg area in sub phrase" String="Commands"/> + <keyword attribute="Variable" context="Arg area in sub phrase" String="Variables"/> + <keyword attribute="Action" context="#stay" String="Actions"/> + <keyword attribute="Symbol" context="#stay" String="Symbols"/> + <keyword attribute="Command" context="Bind phrase" String="BindFamily"/> + <keyword attribute="Command" context="Normal Text" String="setFamily"/> + <keyword attribute="Command" context="Echo" String="PrintsString"/> + <StringDetect attribute="Command" context="Alias phrase" String="alias"/> + <Detect2Chars attribute="Comment" context="Comment" char="/" char1="/"/> + <DetectChar attribute="Symbol" context="#stay" char=";"/> + <Int attribute="Int" context="#stay"/> + <DetectChar attribute="Symbol" context="#pop" char=";"/> + </context> + <context attribute="Normal Text" lineEndContext="Normal Text" name="Bind phrase"> + <keyword attribute="Hex" context="Sub phrase" String="KeyTypes"/> + </context> + <context attribute="Identifier" lineEndContext="Normal Text" name="Alias phrase"> + <DetectChar attribute="Identifier" context="Sub phrase" char=" "/> + </context> + <context attribute="String" lineEndContext="Normal Text" name="Echo"> + <DetectChar attribute="Symbol" context="#pop" char=";"/> + <Detect2Chars attribute="Comment" context="Comment" char="/" char1="/"/> + </context> + </contexts> + <itemDatas> + <itemData name="Command" defStyleNum="dsKeyword" /> + <itemData name="Action" defStyleNum="dsNormal" color="#ffcc00" italic="1" selColor="#00ff00" bold="1" /> + <itemData name="Variable" defStyleNum="dsNormal" color="#0000ff" italic="1" selColor="#00ff00" bold="1" /> + <itemData name="Normal Text" defStyleNum="dsNormal" /> + <itemData name="Comment" defStyleNum="dsComment" /> + <itemData name="Float" defStyleNum="dsFloat" /> + <itemData name="Int" defStyleNum="dsFloat" /> + <itemData name="String" defStyleNum="dsNormal" color="#ff0000" italic="1" selColor="#00ff00" bold="0" /> + <itemData name="String Char" defStyleNum="dsChar" /> + <itemData name="Hex" defStyleNum="dsBaseN" /> + <itemData name="Symbol" defStyleNum="dsOthers" /> + <itemData name="Identifier" defStyleNum="dsDataType" /> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="singleLine" start="//"/> + </comments> + <keywords weakDeliminator=",+~-=/\.[]$" additionalDeliminator="";$" casesensitive="0"/> + </general> +</language> diff --git a/kate/data/idl.xml b/kate/data/idl.xml new file mode 100644 index 000000000..d75f6713a --- /dev/null +++ b/kate/data/idl.xml @@ -0,0 +1,116 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="IDL" version="1.07" kateversion="2.4" section="Sources" extensions="*.idl" mimetype="text/x-idl-src"> + <highlighting> + <list name="keywords"> + <item> any </item> + <item> attribute </item> + <item> case </item> + <item> const </item> + <item> context </item> + <item> default </item> + <item> enum </item> + <item> exception </item> + <item> FALSE </item> + <item> fixed </item> + <item> public </item> + <item> in </item> + <item> inout </item> + <item> interface </item> + <item> module </item> + <item> Object </item> + <item> oneway </item> + <item> out </item> + <item> raises </item> + <item> readonly </item> + <item> sequence </item> + <item> struct </item> + <item> switch </item> + <item> TRUE </item> + <item> typedef </item> + <item> unsigned </item> + <item> union </item> + </list> + <list name="types"> + <item> boolean </item> + <item> char </item> + <item> double </item> + <item> float </item> + <item> long </item> + <item> octet </item> + <item> short </item> + <item> string </item> + <item> void </item> + <item> wchar </item> + <item> wstring </item> + </list> + <contexts> + <context attribute="Normal Text" lineEndContext="#stay" name="Normal"> + <keyword attribute="Keyword" context="#stay" String="keywords" /> + <keyword attribute="Data Type" context="#stay" String="types" /> + <HlCOct attribute="Octal" context="#stay"/> + <HlCHex attribute="Hex" context="#stay"/> + <HlCChar attribute="Char" context="#stay"/> + <DetectChar attribute="String" context="String" char="""/> + <IncludeRules context="##Doxygen" /> + <Detect2Chars attribute="Comment" context="Commentar 1" char="/" char1="/"/> + <Detect2Chars attribute="Comment" context="Commentar 2" char="/" char1="*"/> + <AnyChar attribute="Symbol" context="#stay" String="!%&()+,-<=>?[]^{|}~"/> + <StringDetect attribute="Comment" context="Some Context3" String="#if 0" insensitive="FALSE"/> + <DetectChar attribute="Preprocessor" context="Preprocessor" char="#" column="0"/> + </context> + <context attribute="String" lineEndContext="#stay" name="String"> + <LineContinue attribute="String" context="Some Context"/> + <HlCStringChar attribute="String Char" context="#stay"/> + <DetectChar attribute="String" context="#pop" char="""/> + </context> + <context attribute="Comment" lineEndContext="#pop" name="Commentar 1"> + <RegExpr attribute="Alert" context="#stay" String="(FIXME|TODO)" /> + </context> + <context attribute="Comment" lineEndContext="#stay" name="Commentar 2"> + <RegExpr attribute="Alert" context="#stay" String="(FIXME|TODO)" /> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/"/> + </context> + <context attribute="Preprocessor" lineEndContext="#pop" name="Preprocessor"> + <LineContinue attribute="Preprocessor" context="Some Context2"/> + <RangeDetect attribute="Prep. Lib" context="#stay" char=""" char1="""/> + <RangeDetect attribute="Prep. Lib" context="#stay" char="<" char1=">"/> + <Detect2Chars attribute="Comment" context="Commentar 1" char="/" char1="/"/> + <Detect2Chars attribute="Comment" context="Commentar/Preprocessor" char="/" char1="*"/> + </context> + <context attribute="Comment" lineEndContext="#stay" name="Commentar/Preprocessor"> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" /> + </context> + <context attribute="Normal Text" lineEndContext="#pop" name="Some Context"/> + <context attribute="Normal Text" lineEndContext="#pop" name="Some Context2"/> + <context attribute="Normal Text" lineEndContext="#stay" name="Some Context3"> + <RegExpr attribute="Alert" context="#stay" String="(FIXME|TODO)" /> + <StringDetect attribute="Comment" context="#pop" String="#endif" column="0"/> + </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="String" defStyleNum="dsString"/> + <itemData name="String Char" defStyleNum="dsChar"/> + <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="Alert" defStyleNum="dsAlert" /> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="singleLine" start="//" /> + <comment name="multiLine" start="/*" end="*/" /> + </comments> + <keywords casesensitive="1" /> + </general> +</language> diff --git a/kate/data/ilerpg.xml b/kate/data/ilerpg.xml new file mode 100644 index 000000000..a7060f609 --- /dev/null +++ b/kate/data/ilerpg.xml @@ -0,0 +1,725 @@ +<!DOCTYPE language SYSTEM "language.dtd"> +<!-- + ************************************************************************* + * * + * Syntax highlighting for IBM iSeries ILE RPG * + * Copyright (C) 2003, Nick Roux * + * * + ************************************************************************* + + Updated: Nick Roux <nick@sundown.homeip.net> + Date: 2006/04/12 + Version: 1.05 + Added support for compiler directives and especially /free + Added positional check for opcodes and validation of conditioning indicators + + Author: Nick Roux <nick@sundown.homeip.net> + Date: Sometime during 2003 + Version: 1.0 + + This file contains the XML syntax highlighting description for the IBM + iSeries ILE RPG, for KATE, the KDE Advanced Editor. + Based on information from IBM publication SC09-2508-05 + + Known problems: + 1) Calculation Specification Factor1 does not get highlighted + 2) Calculation Specification Extended Factor2 Continuation Line does not work correctly + 3) Everything from the start of Factor2 is assumed free format + 4) Will make a total mess of compile time array data, but that seems rather fitting + 5) Operation Code Extenders are not check/highlighted + 6) It is slow + + This program, including associated files, is free software. You may + distribute it and/or modify it under the terms of the GNU General Public + License as published by the Free Software Foundation; either Version 2 of + the license, or (at your option) any later version. + + This program 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 General Public License + for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +--> + +<language name="ILERPG" version="1.05" kateversion="2.1" section="Sources" extensions="QRPG*.*;qrpg*.*" mimetype="text/x-ilerpg-src" casesensitive="0"> + <highlighting> + <list name="dkeywords"> + <item> EXTPROC </item> + <item> EXTPGM </item> + <item> OPDESC </item> + <item> DATFMT </item> + <item> DIM </item> + <item> LIKEDS </item> + <item> LIKEREC </item> + <item> LIKE </item> + <item> PROCPTR </item> + <item> TIMFMT </item> + <item> VARYING </item> + <item> ASCEND </item> + <item> CONST </item> + <item> NOOPT </item> + <item> OPTIONS </item> + <item> VALUE </item> + <item> QUALIFIED </item> + <item> INZ </item> + <item> BASED </item> + </list> + <list name="pkeywords"> + <item> DATFMT </item> + <item> DIM </item> + <item> LIKE </item> + <item> LIKEDS </item> + <item> LIKEREC </item> + <item> PROCPTR </item> + <item> TIMFMT </item> + </list> + <list name="directives"> + <item> FREE </item> + <item> END-FREE </item> + <item> TITLE </item> + <item> EJECT </item> + <item> SPACE </item> + <item> COPY </item> + <item> INCLUDE </item> + <item> DEFINE </item> + <item> UNDEFINE </item> + <item> IF </item> + <item> ELSE </item> + <item> EXEC </item> + <item> END-EXEC </item> + <item> ELSEIF </item> + <item> ENDIF </item> + <item> EOF </item> + </list> + <list name="directives2"> + <item> NOT </item> + <item> DEFINED </item> + </list> + <list name="directives3"> + <item> DEFINED </item> + </list> + <list name="biffs"> + <item> ABS </item> + <item> ADDR </item> + <item> ALLOC </item> + <item> BITAND </item> + <item> BITNOT </item> + <item> BITOR </item> + <item> BITXOR </item> + <item> CHAR </item> + <item> CHECK </item> + <item> CHECKR </item> + <item> DATE </item> + <item> DAYS </item> + <item> DEC </item> + <item> DECH </item> + <item> DECPOS </item> + <item> DIFF </item> + <item> DIV </item> + <item> EDITC </item> + <item> EDITFLT </item> + <item> EDITW </item> + <item> ELEM </item> + <item> EOF </item> + <item> EQUAL </item> + <item> ERROR </item> + <item> FIELDS </item> + <item> FLOAT </item> + <item> FOUND </item> + <item> GRAPH </item> + <item> HOURS </item> + <item> INT </item> + <item> INTH </item> + <item> KDS </item> + <item> LEN </item> + <item> LOOKUP </item> + <item> LOOKUPLT </item> + <item> LOOKUPLE </item> + <item> LOOKUPGT </item> + <item> LOOKUPGE </item> + <item> MINUTES </item> + <item> MONTHS </item> + <item> MSECONDS </item> + <item> NULLIND </item> + <item> OCCUR </item> + <item> OPEN </item> + <item> PADDR </item> + <item> PARMS </item> + <item> REALLOC </item> + <item> REM </item> + <item> REPLACE </item> + <item> SCAN </item> + <item> SECONDS </item> + <item> SHTDN </item> + <item> SIZE </item> + <item> SQRT </item> + <item> STATUS </item> + <item> STR </item> + <item> SUBARR </item> + <item> SUBDT </item> + <item> SUBST </item> + <item> THIS </item> + <item> TIME </item> + <item> TIMESTAMP </item> + <item> TLOOKUP </item> + <item> TLOOKUPLT </item> + <item> TLOOKUPLE </item> + <item> TLOOKUPGT </item> + <item> TLOOKUPGE </item> + <item> TRIM </item> + <item> TRIML </item> + <item> TRIMR </item> + <item> UCS2 </item> + <item> UNS </item> + <item> UNSH </item> + <item> XFOOT </item> + <item> XLATE </item> + <item> YEARS </item> + </list> + <list name="evalopcodes2"> + <item> IF </item> + </list> + <list name="evalopcodes3"> + <item> DOW </item> + <item> DOU </item> + <item> FOR </item> + </list> + <list name="evalopcodes4"> + <item> WHEN </item> + <item> EVAL </item> + </list> + <list name="evalopcodes5"> + <item> EVALR </item> + </list> + <list name="evalopcodes6"> + <item> RETURN </item> + </list> + <list name="evalopcodes8"> + <item> ON-ERROR </item> + </list> + <list name="nonevalopcodes2"> + <item> DO </item> + <item> IN </item> + <item> OR </item> + </list> + <list name="nonevalopcodes3"> + <item> ACQ </item> + <item> ADD </item> + <item> AND </item> + <item> CAB </item> + <item> CAS </item> + <item> CAT </item> + <item> DIV </item> + <item> DOU </item> + <item> END </item> + <item> MVR </item> + <item> OUT </item> + <item> REL </item> + <item> SUB </item> + <item> TAG </item> + </list> + <list name="nonevalopcodes4"> + <item> CALL </item> + <item> COMP </item> + <item> DUMP </item> + <item> ELSE </item> + <item> EXSR </item> + <item> FEOD </item> + <item> GOTO </item> + <item> IFGT </item> + <item> IFLT </item> + <item> IFEQ </item> + <item> IFNE </item> + <item> IFGE </item> + <item> IFLE </item> + <item> ITER </item> + <item> KFLD </item> + <item> MOVE </item> + <item> MULT </item> + <item> NEXT </item> + <item> OPEN </item> + <item> ORGT </item> + <item> ORLT </item> + <item> OREQ </item> + <item> ORNE </item> + <item> ORGE </item> + <item> ORLE </item> + <item> PARM </item> + <item> POST </item> + <item> READ </item> + <item> SCAN </item> + <item> SQRT </item> + <item> TEST </item> + <item> TIME </item> + </list> + <list name="nonevalopcodes5"> + <item> ALLOC </item> + <item> ANDGT </item> + <item> ANDLT </item> + <item> ANDEQ </item> + <item> ANDNE </item> + <item> ANDGE </item> + <item> ANDLE </item> + <item> BEGSR </item> + <item> BITON </item> + <item> CABGT </item> + <item> CABLT </item> + <item> CABEQ </item> + <item> CABNE </item> + <item> CABGE </item> + <item> CABLE </item> + <item> CALLB </item> + <item> CALLP </item> + <item> CASGT </item> + <item> CASLT </item> + <item> CASEQ </item> + <item> CASNE </item> + <item> CASGE </item> + <item> CASLE </item> + <item> CHAIN </item> + <item> CHECK </item> + <item> CLEAR </item> + <item> CLOSE </item> + <item> CHECK </item> + <item> CLEAR </item> + <item> CLOSE </item> + <item> DOWGT </item> + <item> DOWLT </item> + <item> DOWEQ </item> + <item> DOWNE </item> + <item> DOWGE </item> + <item> DOWLE </item> + <item> DOUGT </item> + <item> DOULT </item> + <item> DOUEQ </item> + <item> DOUNE </item> + <item> DOUGE </item> + <item> DOULE </item> + <item> DSPLY </item> + <item> ENDCS </item> + <item> ENDDO </item> + <item> ENDIF </item> + <item> ENDSL </item> + <item> ENDSR </item> + <item> EXFMT </item> + <item> FORCE </item> + <item> KLIST </item> + <item> LEAVE </item> + <item> MHHZO </item> + <item> MHLZO </item> + <item> MLHZO </item> + <item> MLLZO </item> + <item> MOVEA </item> + <item> MOVEL </item> + <item> OCCUR </item> + <item> OTHER </item> + <item> PLIST </item> + <item> READC </item> + <item> READE </item> + <item> READP </item> + <item> RESET </item> + <item> ROLBK </item> + <item> SETGT </item> + <item> SETLL </item> + <item> SETON </item> + <item> SHTDN </item> + <item> SORTA </item> + <item> SUBST </item> + <item> TESTB </item> + <item> TESTN </item> + <item> TESTZ </item> + <item> WRITE </item> + <item> XFOOT </item> + <item> XLATE </item> + </list> + <list name="nonevalopcodes6"> + <item> ADDDUR </item> + <item> BITOFF </item> + <item> CHECKR </item> + <item> COMMIT </item> + <item> DEFINE </item> + <item> DELETE </item> + <item> EXCEPT </item> + <item> EXTRCT </item> + <item> LOOKUP </item> + <item> READPE </item> + <item> RETURN </item> + <item> SELECT </item> + <item> SETOFF </item> + <item> SUBDUR </item> + <item> UNLOCK </item> + <item> UPDATE </item> + <item> WHENGT </item> + <item> WHENLT </item> + <item> WHENEQ </item> + <item> WHENNR </item> + <item> WHENGE </item> + <item> WHENLE </item> + </list> + <list name="nonevalopcodes7"> + <item> DEALLOC </item> + <item> REALLOC </item> + </list> + <list name="freeopcodes"> + <item> ACQ </item> + <item> BEGSR </item> + <item> CALLP </item> + <item> CHAIN </item> + <item> CLEAR </item> + <item> CLOSE </item> + <item> COMMIT </item> + <item> DEALLOC </item> + <item> DELETE </item> + <item> DOU </item> + <item> DOW </item> + <item> DSPLY </item> + <item> DUMP </item> + <item> ELSE </item> + <item> ELSEIF</item> + <item> ENDDO </item> + <item> ENDFOR </item> + <item> ENDIF </item> + <item> ENDMON </item> + <item> ENDSL </item> + <item> ENDSR </item> + <item> EVAL </item> + <item> EVALR </item> + <item> EXCEPT </item> + <item> EXFMT </item> + <item> EXSR </item> + <item> FEOD </item> + <item> FOR </item> + <item> FORCE </item> + <item> IF </item> + <item> IN </item> + <item> ITER </item> + <item> LEAVE </item> + <item> LEAVESR</item> + <item> MONITOR </item> + <item> NEXT </item> + <item> ON-ERROR </item> + <item> OPEN </item> + <item> OTHER </item> + <item> OUT </item> + <item> POST </item> + <item> READ </item> + <item> READC </item> + <item> READE </item> + <item> READP </item> + <item> READPE </item> + <item> REL </item> + <item> RESET </item> + <item> RETURN </item> + <item> ROLBK </item> + <item> SELECT </item> + <item> SETGT </item> + <item> SETLL </item> + <item> SORTA </item> + <item> TEST </item> + <item> UNLOCK </item> + <item> UPDATE </item> + <item> WHEN </item> + <item> WRITE </item> + </list> + + <contexts> + +<!-- Start here --> + <!-- Form Type --> + <context name="Default" attribute="Normal Text" lineEndContext="#stay"> + <RegExpr attribute="Comment" context="Comments" String="[PpOoIiHhFfDdCc ]?\*"/> + <RegExpr attribute="Directive" context="Directives" String="[PpOoIiHhFfDdCc ]?/"/> + <AnyChar attribute="Keyword" context="AnyCode" String="OoIiHhFf"/> + <AnyChar attribute="Keyword" context="D" String="Dd"/> + <AnyChar attribute="Keyword" context="P" String="Pp"/> + <AnyChar attribute="Keyword" context="CControlLevel" String="Cc"/> + </context> + +<!-- Calculation Specifications --> + <!-- Control Level --> + <context name="CControlLevel" attribute="Normal Text" lineEndContext="#pop"> + <RegExpr attribute="Indicator" context="CIndicators" String="\ {2}"/> + <RegExpr attribute="Indicator" context="CIndicators" String="[L|l][0-9]"/> + <RegExpr attribute="Indicator" context="CIndicators" String="[O|o|L|l|S|s][R|r]"/> + <RegExpr attribute="Indicator" context="CIndicators" String="[A|a][N|n]"/> + <RegExpr attribute="Indicator" context="CIndicators" String="[L|l|S|s][R|r]"/> + <RegExpr attribute="Alert" context="CIndicators" String=".{2}"/> + </context> + + <!-- Indicators --> + <context name="CIndicators" attribute="Normal Text" lineEndContext="#pop#pop"> + <RegExpr attribute="Indicator" context="CFactor1" String="\ {3}"/> + <RegExpr attribute="Indicator" context="CFactor1" String="[\ |N|n][0-9]{2}"/> + <RegExpr attribute="Indicator" context="CFactor1" String="[\ |N|n][K|k][A-N|p-y]"/> + <RegExpr attribute="Indicator" context="CFactor1" String="[\ |N|n][K|k][P-Y|p-y]}"/> + <RegExpr attribute="Indicator" context="CFactor1" String="[\ |N|n][L|l][1-9]"/> + <RegExpr attribute="Indicator" context="CFactor1" String="[\ |N|n][L|l|M|m][R|r]"/> + <RegExpr attribute="Indicator" context="CFactor1" String="[\ |N|n][R|r][T|t]"/> + <RegExpr attribute="Indicator" context="CFactor1" String="[\ |N|n][U|u][1-8]"/> + <RegExpr attribute="Indicator" context="CFactor1" String="[\ |N|n][O|o][A-G|a-g]"/> + <RegExpr attribute="Indicator" context="CFactor1" String="[\ |N|n][O|o][V|v]"/> + <RegExpr attribute="Indicator" context="CFactor1" String="[\ |N|n][H|h][1-9]"/> + <RegExpr attribute="Alert" context="CFactor1" String=".{3}"/> + </context> + + <!-- Factor1 --> + <context name="CFactor1" attribute="Normal Text" lineEndContext="#pop#pop#pop"> + <!-- TODO --> + <RegExpr attribute="Normal Text" context="FindOC" String=".{14}"/> + </context> + + <!-- FindOpcode --> + <context name="FindOC" attribute="Normal Text" lineEndContext="#pop#pop#pop#pop"> + <keyword attribute="Keyword" context="NonEvalOC2" String="nonevalopcodes2"/> + <keyword attribute="Keyword" context="NonEvalOC3" String="nonevalopcodes3"/> + <keyword attribute="Keyword" context="NonEvalOC4" String="nonevalopcodes4"/> + <keyword attribute="Keyword" context="NonEvalOC5" String="nonevalopcodes5"/> + <keyword attribute="Keyword" context="NonEvalOC6" String="nonevalopcodes6"/> + <keyword attribute="Keyword" context="NonEvalOC7" String="nonevalopcodes7"/> + <RegExpr attribute="Keyword" context="NonEvalOC5" String="[Z|z]-([A|a][D|d]{2}|[S|s][U|u][B|b])"/> + <keyword attribute="Keyword" context="EvalOC2" String="evalopcodes2"/> + <keyword attribute="Keyword" context="EvalOC3" String="evalopcodes3"/> + <keyword attribute="Keyword" context="EvalOC4" String="evalopcodes4"/> + <keyword attribute="Keyword" context="EvalOC5" String="evalopcodes5"/> + <keyword attribute="Keyword" context="EvalOC6" String="evalopcodes6"/> + <RegExpr attribute="Keyword" context="EvalOC8" String="[O|o][N|n]-([E|e][R|r]{2}|[O|o][R|r])"/> + <RegExpr attribute="Normal Text" context="CFactor2" String="\ {10}"/> + <RegExpr attribute="Alert" context="CFactor2" String=".{10}"/> + </context> + + <!-- Opcodes that can NOT be followed by evaluation expressions --> + <context name="NonEvalOC2" attribute="Normal Text" lineEndContext="Default"> + <RegExpr attribute="Normal Text" context="CFactor2" String="\ {8}"/> + </context> + <context name="NonEvalOC3" attribute="Normal Text" lineEndContext="Default"> + <RegExpr attribute="Normal Text" context="CFactor2" String="\ {7}"/> + </context> + <context name="NonEvalOC4" attribute="Normal Text" lineEndContext="Default"> + <RegExpr attribute="Normal Text" context="CFactor2" String="\ {6}"/> + </context> + <context name="NonEvalOC5" attribute="Normal Text" lineEndContext="Default"> + <RegExpr attribute="Normal Text" context="CFactor2" String="\ {5}"/> + </context> + <context name="NonEvalOC6" attribute="Normal Text" lineEndContext="Default"> + <RegExpr attribute="Normal Text" context="CFactor2" String="\ {4}"/> + </context> + <context name="NonEvalOC7" attribute="Normal Text" lineEndContext="Default"> + <RegExpr attribute="Normal Text" context="CFactor2" String="\ {3}"/> + </context> + + <context name="CFactor2" attribute="Normal Text" lineEndContext="Default"> + <DetectChar attribute="Biff" context="Biffs" char="%"/> + <IncludeRules context="CommonCode" /> + </context> + + <!-- Opcodes that can be followed by evaluation expressions --> + <context name="EvalOC2" attribute="Normal Text" lineEndContext="Default"> + <RegExpr attribute="Normal Text" context="CExFactor2" String="\ {8}"/> + </context> + <context name="EvalOC3" attribute="Normal Text" lineEndContext="Default"> + <RegExpr attribute="Normal Text" context="CExFactor2" String="\ {7}"/> + </context> + <context name="EvalOC4" attribute="Normal Text" lineEndContext="Default"> + <RegExpr attribute="Normal Text" context="CExFactor2" String="\ {6}"/> + </context> + <context name="EvalOC5" attribute="Normal Text" lineEndContext="Default"> + <RegExpr attribute="Normal Text" context="CExFactor2" String="\ {5}"/> + </context> + <context name="EvalOC6" attribute="Normal Text" lineEndContext="Default"> + <RegExpr attribute="Normal Text" context="CExFactor2" String="\ {4}"/> + </context> + <context name="EvalOC8" attribute="Normal Text" lineEndContext="Default"> + <RegExpr attribute="Normal Text" context="CExFactor2" String="\ {2}"/> + </context> + + <context name="CExFactor2" attribute="Normal Text" lineEndContext="Default"> + <DetectChar attribute="Biff" context="Biffs" char="%"/> + <IncludeRules context="CommonCode" /> + </context> + + <!-- Check for continuation of eval --> + <context name="EvalOCCont" attribute="Normal Text" lineEndContext="#stay"> + <DetectChar attribute="Biff" context="Biffs" char="%"/> + <IncludeRules context="CommonCode" /> + </context> + + <!-- Comments --> + <context name="Comments" attribute="Comment" lineEndContext="#pop"> + <RegExpr attribute="BoldComment" context="#stay" String="\(*(FIXME|TODO)\)*" /> + <RegExpr attribute="BoldComment" context="#stay" String="\(*(NOTE:)\)*" /> + <RegExpr attribute="DivideComment" context="#stay" String="-|="/> + </context> + + <!-- String Constants --> + <context name="StringConstants" attribute="ConstantChar" lineEndContext="#pop"> + <DetectChar attribute="ConstantChar" context="#pop" char="'"/> + </context> + + <!-- Compiler Directives --> + <context name="Directives" attribute="Normal Text" lineEndContext="Default"> + <RegExpr attribute="Directive" context="Free" String="[F|f][R|r][E|e][E|e]"/> + <RegExpr attribute="Directive" context="Exec" String="[E|e][X|x][E|e][C|c]"/> + <keyword attribute="Directive" context="Directives2" String="directives"/> + </context> + <context name="Directives2" attribute="Normal Text" lineEndContext="Default"> + <keyword attribute="Directive" context="Directives3" String="directives2"/> + </context> + <context name="Directives3" attribute="Normal Text" lineEndContext="Default"> + <keyword attribute="Directive" context="#stay" String="directives3"/> + </context> + + <!-- Free --> + <context name="Free" attribute="Normal Text" lineEndContext="#stay"> + <RegExpr attribute="Directive" context="#pop" String="[POIHFDC ]?/[E|e][N|n][D|d]-[F|f][R|r][E|e][E|e]"/> + <IncludeRules context="CommonCode" /> + <DetectChar attribute="Biff" context="Biffs" char="%"/> + <RegExpr attribute="Comment" context="Comments" String="//"/> + <keyword attribute="Keyword" context="#stay" String="freeopcodes"/> + </context> + + <!-- Exec --> + <context name="Exec" attribute="Normal Text" lineEndContext="#stay"> + <RegExpr attribute="Directive" context="#pop" String="[POIHFDC ]?/[E|e][N|n][D|d]-[E|e][X|x][E|e][C|c]"/> + </context> + + <context name="Biffs" attribute="Biff" lineEndContext="#pop"> + <keyword attribute="Biff" context="#pop" String="biffs"/> + <RegExpr attribute="Normal Text" context="#pop" String="."/> + </context> + + <!-- Stuff common to all code Use as Include --> + <context name="CommonCode" attribute="Normal Text" lineEndContext="#stay"> + <IncludeRules context="ReservedWords" /> + <IncludeRules context="Indicators" /> + <DetectChar attribute="ConstantChar" context="StringConstants" char="'"/> + <Float attribute="Float" context="#stay"/> + <RegExpr attribute="Hex" context="#stay" String="[Xx]'[0-9a-fA-F]{2,}'"/> + <Int attribute="Decimal" context="#stay"> + <StringDetect attribute="Decimal" context="#stay" String="ULL" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="LUL" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="LLU" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="UL" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="LU" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="LL" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="U" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="L" insensitive="TRUE"/> + </Int> + </context> + + <!-- Reserved words - Use as include --> + <context name="Indicators" attribute="Normal Text" lineEndContext="#stay"> + <RegExpr attribute="Indicator" context="#stay" String="\*[I|i][N|n]\(?[0-9][0-9]\)?"/> + <RegExpr attribute="Indicator" context="#stay" String="\*[I|i][N|n]\(?1[P|p]\)?"/> + <RegExpr attribute="Indicator" context="#stay" String="\*[I|i][N|n]\(?[H|h|L|l][1-9]\)?"/> + <RegExpr attribute="Indicator" context="#stay" String="\*[I|i][N|n]\(?[L|l|M|m][R|r]\)?"/> + <RegExpr attribute="Indicator" context="#stay" String="\*[I|i][N|n]\(?[O|o][A-G|a-g|V|v]\)?"/> + <RegExpr attribute="Indicator" context="#stay" String="\*[I|i][N|n]\(?[U|u][1-8]\)?"/> + <RegExpr attribute="Indicator" context="#stay" String="\*[I|i][N|n]\(?[K|k][A-N|a-n|P-Y|p-y]\)?"/> + <RegExpr attribute="Indicator" context="#stay" String="\*[I|i][N|n]\(?[R|r][T|t]\)?"/> + </context> + + <!-- Reserved words - Use as include --> + <context name="ReservedWords" attribute="Normal Text" lineEndContext="#stay"> + <RegExpr attribute="Reserved" context="#stay" String="[\*|U|u][D|d][A|a][T|t][E|e]"/> + <RegExpr attribute="Reserved" context="#stay" String="[\*|U|u][M|m][O|o][N|n][T|t][H|h]"/> + <RegExpr attribute="Reserved" context="#stay" String="[\*|U|u][Y|y][E|e][A|a][R|r]"/> + <RegExpr attribute="Reserved" context="#stay" String="[\*|U|u][D|d][A|a][Y|y]"/> + <RegExpr attribute="Reserved" context="#stay" String="\ [P|p][A|a][G|g][E|e][1-7]?"/> + <!-- *ALL(X/G) *BLANKS *ON *OFF *NULL *ZERO(s) *HIVAL *LOVAL *PSSR *END *START--> + <RegExpr attribute="Constant" context="#stay" String="\*([A|a][A|l]{2}[X|x|G|g]?|[B|b][L|l][A|a][N|n][K|k][S|s]?|[O|o][N|n]|[O|o][F|f]{2}|[N|n][U|u][L|l]{2}|[Z|z][E|e][R|r][O|o][S|s]?|[H|h][I|i][V|v][A|a][L|l]|[L|l][O|o][V|v][A|a][L|l]|[P|p][S|s]{2}[R|r]|[E|e][N|n][D|d]|[S|s][T|t][A|a][R|r][T|t])"/> + <!-- Date stuff --> + <RegExpr attribute="Reserved" context="#stay" String="\*[C|c][D|d][M|m][Y|y]"/> + <RegExpr attribute="Reserved" context="#stay" String="\*[C|c][M|m][D|d][Y|y]"/> + <RegExpr attribute="Reserved" context="#stay" String="\*[C|c][Y|y][M|m][D|d]"/> + <RegExpr attribute="Reserved" context="#stay" String="\*[D|d][M|m][Y|y]"/> + <RegExpr attribute="Reserved" context="#stay" String="\*[E|e][U|u][R|r]"/> + <RegExpr attribute="Reserved" context="#stay" String="\*[H|h][M|m][S|s]"/> + <RegExpr attribute="Reserved" context="#stay" String="\*[I|i][S|s][O|o]"/> + <RegExpr attribute="Reserved" context="#stay" String="\*[J|j][I|i][S|s]"/> + <RegExpr attribute="Reserved" context="#stay" String="\*[J|j][O|o][B|b]([R|r][U|u][N|n])?"/> + <RegExpr attribute="Reserved" context="#stay" String="\*([L|l][O|o][N|n][G|g])?[J|j][U|u][L|l]"/> + <RegExpr attribute="Reserved" context="#stay" String="\*[M|m][D|d][Y|y]"/> + <RegExpr attribute="Reserved" context="#stay" String="\*[S|s][Y|y][S|s]"/> + <RegExpr attribute="Reserved" context="#stay" String="\*[U|u][S|s][A|a]"/> + <RegExpr attribute="Reserved" context="#stay" String="\*[Y|y][M|m][D|d]"/> + + <RegExpr attribute="Reserved" context="#stay" String="\*[A|a][L|l][T|t][S|s][E|e][Q|q]"/> + <RegExpr attribute="Reserved" context="#stay" String="\*[E|e][Q|q][U|u][A|a][T|t][E|e]"/> + <RegExpr attribute="Reserved" context="#stay" String="\*[F|f][I|i][L|l][E|e]"/> + <RegExpr attribute="Reserved" context="#stay" String="\*[F|f][T|t][R|r][A|a][N|n][S|s]"/> + + <RegExpr attribute="Reserved" context="#stay" String="\*[I|i][L|l][E|e][R|r][P|p][G|g]"/> + <RegExpr attribute="Reserved" context="#stay" String="\*[C|c][R|r][T|t][B|b][N|n][D|d][R|r][P|p][G|g]"/> + <RegExpr attribute="Reserved" context="#stay" String="\*[C|c][R|r][T|t][R|r][P|p][G|g][M|m][O|o][D|d]"/> + <RegExpr attribute="Reserved" context="#stay" String="\*[V|v][0-9][R|r][0-9][M|m][0-9]"/> + + </context> + + <!-- AnyCode --> + <context name="AnyCode" attribute="Normal Text" lineEndContext="#pop"> + <IncludeRules context="CommonCode" /> + </context> + + <!-- D --> + <context name="D" attribute="Normal Text" lineEndContext="#pop"> + <keyword attribute="Keyword" context="#stay" String="dkeywords"/> + <RegExpr attribute="Reserved" context="#stay" String="\*[N|n][O|o][P|p][A|a][S|s]{2}"/> + <RegExpr attribute="Reserved" context="#stay" String="\*[O|o][M|m][I|i][T|t]"/> + <RegExpr attribute="Reserved" context="#stay" String="\*[V|v][A|a][R|r][S|s][I|i][Z|z][E|e]"/> + <RegExpr attribute="Reserved" context="#stay" String="\*[R|r][I|i][G|g][H|h][T|t][A|a][D|d][J|j]"/> + <RegExpr attribute="Reserved" context="#stay" String="\*[S|s][T|t][R|r][I|i][N|n][G|g]"/> + <RegExpr attribute="Reserved" context="#stay" String="\*[T|t][R|r][I|i][M|m]"/> + <DetectChar attribute="Biff" context="Biffs" char="%"/> + <IncludeRules context="CommonCode" /> + </context> + + <!-- P --> + <context name="P" attribute="Normal Text" lineEndContext="#pop"> + <keyword attribute="Keyword" context="#stay" String="dkeywords"/> + <RegExpr attribute="Reserved" context="#stay" String="\*[N|n][O|o][P|p][A|a][S|s]{2}"/> + <RegExpr attribute="Reserved" context="#stay" String="\*[O|o][M|m][I|i][T|t]"/> + <RegExpr attribute="Reserved" context="#stay" String="\*[V|v][A|a][R|r][S|s][I|i][Z|z][E|e]"/> + <RegExpr attribute="Reserved" context="#stay" String="\*[R|r][I|i][G|g][H|h][T|t][A|a][D|d][J|j]"/> + <RegExpr attribute="Reserved" context="#stay" String="\*[S|s][T|t][R|r][I|i][N|n][G|g]"/> + <RegExpr attribute="Reserved" context="#stay" String="\*[T|t][R|r][I|i][M|m]"/> + <DetectChar attribute="Biff" context="Biffs" char="%"/> + <IncludeRules context="CommonCode" /> + </context> + + + </contexts> + <itemDatas> + <itemData name="Alert" defStyleNum="dsAlert" /> + <itemData name="Normal Text" defStyleNum="dsNormal" /> + <itemData name="Keyword" defStyleNum="dsKeyword" /> + <itemData name="Biff" defStyleNum="dsKeyword" /> + <itemData name="RegExpr" defStyleNum="dsBaseN" /> + <itemData name="Symbol" defStyleNum="dsNormal"/> + <itemData name="Decimal" defStyleNum="dsDecVal" /> + <itemData name="Float" defStyleNum="dsFloat"/> + <itemData name="Octal" defStyleNum="dsBaseN"/> + <itemData name="Hex" defStyleNum="dsBaseN"/> + <itemData name="Float" defStyleNum="dsFloat"/> + <itemData name="Base-N" defStyleNum="dsBaseN" /> + <itemData name="Float" defStyleNum="dsFloat" /> + <itemData name="Char" defStyleNum="dsChar" /> + <itemData name="ConstantChar" defStyleNum="dsNormal" color="#DD0022" selColor="#000000" bold="0" italic="0"/> + <itemData name="Constant" defStyleNum="dsNormal" color="#CC2222" selColor="#000000" bold="0" italic="0"/> + <itemData name="Reserved" defStyleNum="dsNormal" color="#BB1133" selColor="#000000" bold="0" italic="0"/> + <itemData name="Indicator" defStyleNum="dsNormal" color="#CC0000" selColor="#000000" bold="0" italic="0"/> + <itemData name="Fill" defStyleNum="dsNormal" color="#FF6347" selColor="#000000" bold="0" italic="0"/> + <itemData name="Comment" defStyleNum="dsComment"/> + <itemData name="BoldComment" defStyleNum="dsNormal" color="#CD853F" selColor="#808080" bold="1" italic="1"/> + <itemData name="DivideComment" defStyleNum="dsComment" bold="1"/> + <itemData name="Directive" defStyleNum="dsOthers"/> + </itemDatas> + </highlighting> + <general> + <keywords casesensitive="0" /> + </general> +</language> + diff --git a/kate/data/inform.xml b/kate/data/inform.xml new file mode 100644 index 000000000..306ed2015 --- /dev/null +++ b/kate/data/inform.xml @@ -0,0 +1,406 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<!-- author: Giancarlo Niccolai (giancarlo@niccolai.ws) --> +<!-- This file is released under GPL license 2.0 or any later version at your choice. --> +<!-- $Id$ --> +<language name="Inform" version="1.23" kateversion="2.3" section="Sources" extensions="*.inf;*.h" mimetype="text/x-inform-src" author="Giancarlo Niccolai (giancarlo@niccolai.ws)" license="GPL"> +<highlighting> + <list name="keywords"> + <item> if </item> + <item> for </item> + <item> else </item> + <item> box </item> + <item> break </item> + <item> continue </item> + <item> do </item> + <item> until </item> + <item> font </item> + <item> give </item> + <item> inversion </item> + <item> jump </item> + <item> on </item> + <item> to </item> + <item> move </item> + <item> new_line </item> + <item> objectloop </item> + <item> print </item> + <item> print_ret </item> + <item> quit </item> + <item> read </item> + <item> remove </item> + <item> restore </item> + <item> return </item> + <item> rtrue </item> + <item> rfalse </item> + <item> save </item> + <item> spaces </item> + <item> spring </item> + <item> style </item> + <item> switch </item> + </list> + + <list name="functions"> + <item> metaclass </item> + <item> parent </item> + <item> child </item> + <item> children </item> + <item> Achieved </item> + <item> AddToScope </item> + <item> allowpushdir </item> + <item> CDefArt </item> + <item> ChangeDefault </item> + <item> DefArt </item> + <item> DoMenu </item> + <item> EnglishNumber </item> + <item> HasLightSource </item> + <item> InDefArt </item> + <item> Locale </item> + <item> LoopOverScope </item> + <item> NextWord </item> + <item> NextWordStopped </item> + <item> NounDomain </item> + <item> ObjectIsUntouchable </item> + <item> OffersLight </item> + <item> PlaceInScope </item> + <item> PlayerTo </item> + <item> PrintShortName </item> + <item> ScopeWithin </item> + <item> SetTime </item> + <item> StartDaemon </item> + <item> StartTimer </item> + <item> StopDaemon </item> + <item> StopTimer </item> + <item> TestScope </item> + <item> TryNumber </item> + <item> UnsignedCompare </item> + <item> WordAddress </item> + <item> WordLenght </item> + <item> WriteListFrom </item> + <item> YesOrNo </item> + <item> ZRegion </item> + </list> + <list name="actions"> + <item> Pronouns </item> + <item> Quit </item> + <item> Restore </item> + <item> Save </item> + <item> Verify </item> + <item> Restart </item> + <item> ScriptOn </item> + <item> ScriptOff </item> + <item> NotifyOn </item> + <item> NotifyOff </item> + <item> Places </item> + <item> Objects </item> + <item> Score </item> + <item> FullScore </item> + <item> Version </item> + <item> LMode1 </item> + <item> LMode2 </item> + <item> LMode3 </item> + <item> Inv </item> + + + <item> Inv </item> + <item> InvTall </item> + <item> InvWide </item> + <item> Take </item> + <item> Drop </item> + <item> Empty </item> + <item> Enter </item> + <item> Exit </item> + <item> GetOff </item> + <item> Go </item> + <item> GoIn </item> + <item> Look </item> + <item> Examine </item> + <item> Search </item> + <item> Give </item> + <item> Show </item> + <item> Unlock </item> + <item> Lock </item> + <item> SwitchOn </item> + <item> SwitchOff </item> + <item> Open </item> + <item> Close </item> + <item> Disrobe </item> + <item> Wear </item> + <item> Eat </item> + + <item> LetGo </item> + <item> Receive </item> + <item> Insert </item> + <item> PutOn </item> + <item> Transfer </item> + <item> Empty </item> + <item> EmptyT </item> + <item> GetOff </item> + <item> GoIn </item> + <item> Listen </item> + <item> Taste </item> + <item> Touch </item> + + <item> Pull </item> + <item> Push </item> + <item> Wave </item> + <item> Turn </item> + <item> PushDir </item> + <item> ThrowAt </item> + <item> ThrownAt </item> + <item> JumpOn </item> + <item> Drink </item> + <item> Attack </item> + <item> Tie </item> + <item> Fill </item> + <item> Swing </item> + <item> Blow </item> + <item> Rub </item> + <item> Set </item> + <item> SetTo </item> + <item> Buy </item> + <item> Climb </item> + <item> Squeeze </item> + <item> Climb </item> + <item> Burn </item> + <item> Cut </item> + <item> Dig </item> + + <item> Consult </item> + <item> Tell </item> + <item> Answer </item> + <item> Ask </item> + <item> AskFor </item> + <item> Kiss </item> + + <item> Sleep </item> + <item> Sing </item> + <item> WaveHands </item> + <item> Swim </item> + <item> Sorry </item> + <item> Sing </item> + <item> Strong </item> + <item> Mild </item> + <item> Smell </item> + <item> Pray </item> + <item> Jump </item> + <item> Think </item> + <item> VagueGo </item> + <item> Yes </item> + <item> No </item> + <item> Sing </item> + </list> + + <list name="special_vals" > + <item> String </item> + <item> Routine </item> + <item> bold </item> + <item> roman </item> + <item> underline </item> + <item> fixed </item> + <item> nothing </item> + <item> true </item> + <item> false </item> + <item> on </item> + <item> off </item> + <item> sender </item> + <item> self </item> + <item> location </item> + <item> score </item> + <item> action </item> + <item> actor </item> + <item> noun </item> + <item> second </item> + <item> the_time </item> + <item> consult_from </item> + <item> consult_words </item> + <item> wn </item> + <item> actors_location </item> + <item> buffer </item> + <item> player </item> + </list> + + <list name="pragmas" > + <item> Ifdef </item> + <item> Ifndef </item> + <item> Iftrue </item> + <item> Iffalse </item> + <item> Ifnot </item> + <item> Endif </item> + <item> End </item> + <item> Abbreviate </item> + <item> Array </item> + <item> Attribute </item> + <item> Constant </item> + <item> Default </item> + <item> Extend </item> + <item> Global </item> + <item> Ifnot </item> + <item> Iftrue </item> + <item> Iffalse </item> + <item> Import </item> + <item> Include </item> + <item> Link </item> + <item> Lowstring </item> + <item> Message </item> + <item> Property </item> + <item> Release </item> + <item> Replace </item> + <item> Serial </item> + <item> Switches </item> + <item> Statusline </item> + <item> score </item> + <item> System_file </item> + <item> Verb </item> + </list> + + <list name="inline_pragmas" > + <item> #ifdef </item> + <item> #else </item> + <item> #ifndef </item> + <item> #endif </item> + </list> + + <list name="operators"> + <item> has </item> + <item> hasn't </item> + <item> in </item> + <item> notin </item> + <item> provides </item> + <item> ofclass </item> + <item> or </item> + </list> + + <list name="ClassDeclOps"> + <item> with </item> + <item> private </item> + <item> has </item> + </list> + + <contexts> + <context attribute="Normal Text" lineEndContext="#stay" name="TopLevel"> + <DetectChar attribute="Comment" context="comment" char="!" /> + <DetectChar attribute="String" context="string" char=""" /> + <RegExpr attribute="Function" context="funcdef" beginRegion="reg_function" + String="[[]\s*[a-zA-Z_]+\w*" /> + + <RegExpr String=" *object | *class " attribute="Pragma" + context="ClassDecl" + insensitive="TRUE" beginRegion="reg_class" column="0"/> + + <keyword attribute="Pragma" context="#stay" String="pragmas" /> + <keyword attribute="Pragma" context="#stay" String="inline_pragmas" /> + + <RegExpr attribute="Operator" context="#stay" String="--?>" /> + <RegExpr attribute="Normal Text" context="#stay" String="[a-zA-Z_]+\d*" /> + <RegExpr attribute="Number" context="#stay" String="\$[0-9a-fA-F]{1,4}" /> + <RegExpr attribute="Number" context="#stay" String="\d+" /> + </context> + + <context name="Normal" attribute="Normal Text" lineEndContext="#stay"> + <DetectChar attribute="Comment" context="comment" char="!" /> + <DetectChar attribute="String" context="string" char=""" /> + <DetectChar attribute="Word" context="word" char="'" /> + <keyword attribute="Pragma" context="#stay" String="inline_pragmas" /> + <RegExpr attribute="Operator" context="#stay" String="--?>" /> + <keyword attribute="Keyword" context="#stay" String="keywords" /> + <keyword attribute="Actions" context="#stay" String="actions" /> + <keyword attribute="PredefFunction" context="#stay" String="functions" /> + <keyword attribute="Values" context="#stay" String="special_vals" /> + <keyword attribute="Operator" context="#stay" String="operators" /> + <RegExpr attribute="Actions" context="#stay" String="##[a-zA-Z_]+\w*" /> + <RegExpr attribute="OpCode" context="#stay" String="@[a-zA-Z_]+\w*" /> + <RegExpr attribute="Number" context="#stay" String="\$[0-9a-fA-F]{1,4}" /> + <RegExpr String="[a-zA-Z_]+\w*" attribute="Normal Text" context="#stay" /> + <RegExpr attribute="Number" context="#stay" String="\d+" /> + <DetectChar char="{" attribute="Keyword" context="#stay" + beginRegion="reg_compound" /> + <DetectChar char="}" attribute="Keyword" context="#stay" + endRegion="reg_compound" /> + <AnyChar attribute="Operator" context="#stay" String="%&()+-<=>{|}~"/> + </context> + + <context attribute="Normal Text" lineEndContext="#stay" name="PropDefVal rules"> + <DetectChar attribute="Comment" context="comment" char="!" /> + <DetectChar attribute="String" context="string" char=""" /> + <DetectChar attribute="Word" context="word" char="'" /> + <DetectChar attribute="Function" context="prop_func_def" char="[" beginRegion="reg_prop_def_func" /> + <DetectChar attribute="Operator" context="#pop" char="," /> + <RegExpr attribute="Number" context="#stay" String="\$[0-9a-fA-F]{1,4}" /> + <RegExpr attribute="Number" context="#stay" String="\d+" /> + </context> + + + <context name="funcdef" attribute="Normal Text" lineEndContext="#stay" > + <IncludeRules context="Normal" /> + <Detect2Chars attribute="Function" context="#pop" char="]" char1=";" + endRegion="reg_function"/> + </context> + + <context name="ClassDecl" attribute="Normal Text" lineEndContext="ClassDecl_1"> + <IncludeRules context="PropDefVal rules" /> + </context> + + <context name="ClassDecl_1" attribute="Normal Text" lineEndContext="#stay"> + <RegExpr String="^[\t ]*has " attribute="Keyword" context="has_decl" insensitive="TRUE"/> + <keyword String="ClassDeclOps" attribute="Keyword" context="#stay" /> + <RegExpr String="[a-zA-Z_]+\w*" context = "prop_def" + attribute="Function"/> + <DetectChar char=";" context="#pop" attribute="Pragma" endRegion="reg_class"/> + </context> + + + <context attribute="Word" lineEndContext="#pop" name="word"> + <DetectChar attribute="Word" context="#pop" char="'" /> + </context> + + <context attribute="String" lineEndContext="#stay" name="string"> + <DetectChar attribute="String" context="#pop" char=""" /> + </context> + + <context name="prop_func_def" attribute="Normal Text" lineEndContext="#stay"> + <DetectChar context="#pop" char="]" attribute="Function" + endRegion="reg_prop_func"/> + <IncludeRules context="Normal" /> + </context> + + <context name="prop_def" attribute="Normal Text" lineEndContext="#stay" > + <DetectChar char="," context="#pop" attribute="Function" + endRegion="reg_prop"/> + <DetectChar char=";" context="#pop#pop#pop" attribute="Pragma" endRegion="reg_class"/> + <DetectChar char="[" context="prop_func_def" attribute="Function" + beginRegion="reg_prop_func"/> + <IncludeRules context="PropDefVal rules" /> + </context> + + <context name="has_decl" attribute="Normal Text" lineEndContext="#stay" > + <DetectChar char=";" context="#pop#pop#pop" attribute="Pragma" endRegion="reg_class"/> + <IncludeRules context="PropDefVal rules" /> + </context> + + <context attribute="Comment" lineEndContext="#pop" name="comment"/> + + </contexts> + + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Keyword" defStyleNum="dsKeyword"/> + <itemData name="Actions" defStyleNum="dsDataType" color="#E06060" selColor="#400000" bold="0" italic="0"/> + <itemData name="Operator" defStyleNum="dsBaseN" color="#A01060" selColor="#400040" bold="0" italic="0"/> + <itemData name="Number" defStyleNum="dsDecVal" color="#5050C0" selColor="#000000" bold="0" italic="0"/> + <itemData name="OpCode" defStyleNum="dsDecVal" color="#3015F0" selColor="#000000" bold="1" italic="0"/> + <itemData name="Values" defStyleNum="dsBaseN" color="#7020F0" selColor="#400000" bold="1" italic="0" /> + <itemData name="Pragma" defStyleNum="dsOthers" color="#109010" selColor="#400000" bold="1" italic="0" /> + <itemData name="PredefFunction" defStyleNum="dsFunction" /> + <itemData name="Function" defStyleNum="dsFunction" /> + <itemData name="Comment" defStyleNum="dsComment" color="#707070" selColor="#ffffff" bold="0" italic="1"/> + <itemData name="String" defStyleNum="dsString" color="#007000" selColor="#007000" bold="0" italic="0"/> + <itemData name="Word" defStyleNum="dsString" color="#007000" selColor="#007000" bold="0" italic="1"/> + </itemDatas> +</highlighting> +<general> + <comments> + <comment name="singleLine" start="!" /> + </comments> + <keywords casesensitive="1" /> +</general> +</language> diff --git a/kate/data/ini.xml b/kate/data/ini.xml new file mode 100644 index 000000000..af0808f8c --- /dev/null +++ b/kate/data/ini.xml @@ -0,0 +1,80 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="INI Files" section="Configuration" extensions="*.ini;*.pls" mimetype="" version="1.0" author="Jan Janssen (medhefgo@web.de)" license="LGPL"> + +<highlighting> +<list name="keywords"> +<item>On</item> +<item>Off</item> +<item>Default</item> +<item>Defaults</item> +<item>Localhost</item> +<item>Null</item> +<item>True</item> +<item>False</item> +<item>Yes</item> +<item>No</item> +<item>Normal</item> + +<!-- PHP Keywords --> +<item>E_ALL</item> +<item>E_ERROR</item> +<item>E_WARNING</item> +<item>E_PARSE</item> +<item>E_NOTICE</item> +<item>E_STRICT</item> +<item>E_CORE_ERROR</item> +<item>E_CORE_WARNING</item> +<item>E_COMPILE_ERROR</item> +<item>E_COMPILE_WARNING</item> +<item>E_USER_ERROR</item> +<item>E_USER_WARNING</item> +<item>E_USER_NOTICE</item> +</list> + +<contexts> + <context name="ini" attribute="Normal Text" lineEndContext="#stay"> + <RangeDetect attribute="Section" context="#pop" 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" /> + </context> + + <context name="Value" attribute="Value" lineEndContext="#pop" > + <Float attribute="Float" /> + <Int attribute="Int" /> + <keyword attribute="Keyword" String="keywords" /> + <RegExpr attribute="Comment" context="#pop" String=";.*$" /> + <RegExpr attribute="Comment" context="#pop" String="#.*$" /> + </context> + + <context name="Comment" attribute="Comment" lineEndContext="#pop"> + <DetectSpaces /> + <IncludeRules context="##Alerts" /> + <DetectIdentifier /> + </context> +</contexts> + + +<itemDatas> + <itemData name="Normal Text" defStyleNum="dsDataType" /> + <itemData name="Section" defStyleNum="dsKeyword" /> + <itemData name="Comment" defStyleNum="dsComment" /> + <itemData name="Assignment" defStyleNum="dsOthers" /> + <itemData name="Value" defStyleNum="dsString" /> + <itemData name="Float" defStyleNum="dsFloat" /> + <itemData name="Int" defStyleNum="dsDecVal" /> + <itemData name="Keyword" defStyleNum="dsKeyword" /> +</itemDatas> +</highlighting> + + +<general> + <comments> + <comment name="singleLine" start="#" /> + <comment name="singleLine" start=";" /> + </comments> + <keywords casesensitive="0" /> +</general> + +</language> diff --git a/kate/data/java.xml b/kate/data/java.xml new file mode 100644 index 000000000..4a8ed39f7 --- /dev/null +++ b/kate/data/java.xml @@ -0,0 +1,3428 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="Java" version="1.16" kateversion="2.4" 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> + <item> ACTIVITY_COMPLETED </item> + <item> ACTIVITY_REQUIRED </item> + <item> ARG_IN </item> + <item> ARG_INOUT </item> + <item> ARG_OUT </item> + <item> AWTError </item> + <item> AWTEvent </item> + <item> AWTEventListener </item> + <item> AWTEventListenerProxy </item> + <item> AWTEventMulticaster </item> + <item> AWTException </item> + <item> AWTKeyStroke </item> + <item> AWTPermission </item> + <item> AbstractAction </item> + <item> AbstractBorder </item> + <item> AbstractButton </item> + <item> AbstractCellEditor </item> + <item> AbstractCollection </item> + <item> AbstractColorChooserPanel </item> + <item> AbstractDocument </item> + <item> AbstractDocument.AttributeContext </item> + <item> AbstractDocument.Content </item> + <item> AbstractDocument.ElementEdit </item> + <item> AbstractExecutorService </item> + <item> AbstractInterruptibleChannel </item> + <item> AbstractLayoutCache </item> + <item> AbstractLayoutCache.NodeDimensions </item> + <item> AbstractList </item> + <item> AbstractListModel </item> + <item> AbstractMap </item> + <item> AbstractMethodError </item> + <item> AbstractPreferences </item> + <item> AbstractQueue </item> + <item> AbstractQueuedSynchronizer </item> + <item> AbstractSelectableChannel </item> + <item> AbstractSelectionKey </item> + <item> AbstractSelector </item> + <item> AbstractSequentialList </item> + <item> AbstractSet </item> + <item> AbstractSpinnerModel </item> + <item> AbstractTableModel </item> + <item> AbstractUndoableEdit </item> + <item> AbstractWriter </item> + <item> AccessControlContext </item> + <item> AccessControlException </item> + <item> AccessController </item> + <item> AccessException </item> + <item> Accessible </item> + <item> AccessibleAction </item> + <item> AccessibleAttributeSequence </item> + <item> AccessibleBundle </item> + <item> AccessibleComponent </item> + <item> AccessibleContext </item> + <item> AccessibleEditableText </item> + <item> AccessibleExtendedComponent </item> + <item> AccessibleExtendedTable </item> + <item> AccessibleExtendedText </item> + <item> AccessibleHyperlink </item> + <item> AccessibleHypertext </item> + <item> AccessibleIcon </item> + <item> AccessibleKeyBinding </item> + <item> AccessibleObject </item> + <item> AccessibleRelation </item> + <item> AccessibleRelationSet </item> + <item> AccessibleResourceBundle </item> + <item> AccessibleRole </item> + <item> AccessibleSelection </item> + <item> AccessibleState </item> + <item> AccessibleStateSet </item> + <item> AccessibleStreamable </item> + <item> AccessibleTable </item> + <item> AccessibleTableModelChange </item> + <item> AccessibleText </item> + <item> AccessibleTextSequence </item> + <item> AccessibleValue </item> + <item> AccountException </item> + <item> AccountExpiredException </item> + <item> AccountLockedException </item> + <item> AccountNotFoundException </item> + <item> Acl </item> + <item> AclEntry </item> + <item> AclNotFoundException </item> + <item> Action </item> + <item> ActionEvent </item> + <item> ActionListener </item> + <item> ActionMap </item> + <item> ActionMapUIResource </item> + <item> Activatable </item> + <item> ActivateFailedException </item> + <item> ActivationDesc </item> + <item> ActivationException </item> + <item> ActivationGroup </item> + <item> ActivationGroupDesc </item> + <item> ActivationGroupDesc.CommandEnvironment </item> + <item> ActivationGroupID </item> + <item> ActivationGroup_Stub </item> + <item> ActivationID </item> + <item> ActivationInstantiator </item> + <item> ActivationMonitor </item> + <item> ActivationSystem </item> + <item> Activator </item> + <item> ActiveEvent </item> + <item> ActivityCompletedException </item> + <item> ActivityRequiredException </item> + <item> AdapterActivator </item> + <item> AdapterActivatorOperations </item> + <item> AdapterAlreadyExists </item> + <item> AdapterAlreadyExistsHelper </item> + <item> AdapterInactive </item> + <item> AdapterInactiveHelper </item> + <item> AdapterManagerIdHelper </item> + <item> AdapterNameHelper </item> + <item> AdapterNonExistent </item> + <item> AdapterNonExistentHelper </item> + <item> AdapterStateHelper </item> + <item> AddressHelper </item> + <item> Adjustable </item> + <item> AdjustmentEvent </item> + <item> AdjustmentListener </item> + <item> Adler32 </item> + <item> AffineTransform </item> + <item> AffineTransformOp </item> + <item> AlgorithmParameterGenerator </item> + <item> AlgorithmParameterGeneratorSpi </item> + <item> AlgorithmParameterSpec </item> + <item> AlgorithmParameters </item> + <item> AlgorithmParametersSpi </item> + <item> AllPermission </item> + <item> AlphaComposite </item> + <item> AlreadyBound </item> + <item> AlreadyBoundException </item> + <item> AlreadyBoundHelper </item> + <item> AlreadyBoundHolder </item> + <item> AlreadyConnectedException </item> + <item> AncestorEvent </item> + <item> AncestorListener </item> + <item> AnnotatedElement </item> + <item> Annotation </item> + <item> Annotation </item> + <item> AnnotationFormatError </item> + <item> AnnotationTypeMismatchException </item> + <item> Any </item> + <item> AnyHolder </item> + <item> AnySeqHelper </item> + <item> AnySeqHelper </item> + <item> AnySeqHolder </item> + <item> AppConfigurationEntry </item> + <item> AppConfigurationEntry.LoginModuleControlFlag </item> + <item> Appendable </item> + <item> Applet </item> + <item> AppletContext </item> + <item> AppletInitializer </item> + <item> AppletStub </item> + <item> ApplicationException </item> + <item> Arc2D </item> + <item> Arc2D.Double </item> + <item> Arc2D.Float </item> + <item> Area </item> + <item> AreaAveragingScaleFilter </item> + <item> ArithmeticException </item> + <item> Array </item> + <item> Array </item> + <item> ArrayBlockingQueue </item> + <item> ArrayIndexOutOfBoundsException </item> + <item> ArrayList </item> + <item> ArrayStoreException </item> + <item> ArrayType </item> + <item> Arrays </item> + <item> AssertionError </item> + <item> AsyncBoxView </item> + <item> AsynchronousCloseException </item> + <item> AtomicBoolean </item> + <item> AtomicInteger </item> + <item> AtomicIntegerArray </item> + <item> AtomicIntegerFieldUpdater </item> + <item> AtomicLong </item> + <item> AtomicLongArray </item> + <item> AtomicLongFieldUpdater </item> + <item> AtomicMarkableReference </item> + <item> AtomicReference </item> + <item> AtomicReferenceArray </item> + <item> AtomicReferenceFieldUpdater </item> + <item> AtomicStampedReference </item> + <item> Attr </item> + <item> Attribute </item> + <item> Attribute </item> + <item> Attribute </item> + <item> AttributeChangeNotification </item> + <item> AttributeChangeNotificationFilter </item> + <item> AttributeException </item> + <item> AttributeInUseException </item> + <item> AttributeList </item> + <item> AttributeList </item> + <item> AttributeList </item> + <item> AttributeListImpl </item> + <item> AttributeModificationException </item> + <item> AttributeNotFoundException </item> + <item> AttributeSet </item> + <item> AttributeSet </item> + <item> AttributeSet.CharacterAttribute </item> + <item> AttributeSet.ColorAttribute </item> + <item> AttributeSet.FontAttribute </item> + <item> AttributeSet.ParagraphAttribute </item> + <item> AttributeSetUtilities </item> + <item> AttributeValueExp </item> + <item> AttributedCharacterIterator </item> + <item> AttributedCharacterIterator.Attribute </item> + <item> AttributedString </item> + <item> Attributes </item> + <item> Attributes </item> + <item> Attributes </item> + <item> Attributes.Name </item> + <item> Attributes2 </item> + <item> Attributes2Impl </item> + <item> AttributesImpl </item> + <item> AudioClip </item> + <item> AudioFileFormat </item> + <item> AudioFileFormat.Type </item> + <item> AudioFileReader </item> + <item> AudioFileWriter </item> + <item> AudioFormat </item> + <item> AudioFormat.Encoding </item> + <item> AudioInputStream </item> + <item> AudioPermission </item> + <item> AudioSystem </item> + <item> AuthPermission </item> + <item> AuthProvider </item> + <item> AuthenticationException </item> + <item> AuthenticationException </item> + <item> AuthenticationNotSupportedException </item> + <item> Authenticator </item> + <item> Authenticator.RequestorType </item> + <item> AuthorizeCallback </item> + <item> Autoscroll </item> + <item> BAD_CONTEXT </item> + <item> BAD_INV_ORDER </item> + <item> BAD_OPERATION </item> + <item> BAD_PARAM </item> + <item> BAD_POLICY </item> + <item> BAD_POLICY_TYPE </item> + <item> BAD_POLICY_VALUE </item> + <item> BAD_QOS </item> + <item> BAD_TYPECODE </item> + <item> BMPImageWriteParam </item> + <item> BackingStoreException </item> + <item> BadAttributeValueExpException </item> + <item> BadBinaryOpValueExpException </item> + <item> BadKind </item> + <item> BadLocationException </item> + <item> BadPaddingException </item> + <item> BadStringOperationException </item> + <item> BandCombineOp </item> + <item> BandedSampleModel </item> + <item> BaseRowSet </item> + <item> BasicArrowButton </item> + <item> BasicAttribute </item> + <item> BasicAttributes </item> + <item> BasicBorders </item> + <item> BasicBorders.ButtonBorder </item> + <item> BasicBorders.FieldBorder </item> + <item> BasicBorders.MarginBorder </item> + <item> BasicBorders.MenuBarBorder </item> + <item> BasicBorders.RadioButtonBorder </item> + <item> BasicBorders.RolloverButtonBorder </item> + <item> BasicBorders.SplitPaneBorder </item> + <item> BasicBorders.ToggleButtonBorder </item> + <item> BasicButtonListener </item> + <item> BasicButtonUI </item> + <item> BasicCheckBoxMenuItemUI </item> + <item> BasicCheckBoxUI </item> + <item> BasicColorChooserUI </item> + <item> BasicComboBoxEditor </item> + <item> BasicComboBoxEditor.UIResource </item> + <item> BasicComboBoxRenderer </item> + <item> BasicComboBoxRenderer.UIResource </item> + <item> BasicComboBoxUI </item> + <item> BasicComboPopup </item> + <item> BasicControl </item> + <item> BasicDesktopIconUI </item> + <item> BasicDesktopPaneUI </item> + <item> BasicDirectoryModel </item> + <item> BasicEditorPaneUI </item> + <item> BasicFileChooserUI </item> + <item> BasicFormattedTextFieldUI </item> + <item> BasicGraphicsUtils </item> + <item> BasicHTML </item> + <item> BasicIconFactory </item> + <item> BasicInternalFrameTitlePane </item> + <item> BasicInternalFrameUI </item> + <item> BasicLabelUI </item> + <item> BasicListUI </item> + <item> BasicLookAndFeel </item> + <item> BasicMenuBarUI </item> + <item> BasicMenuItemUI </item> + <item> BasicMenuUI </item> + <item> BasicOptionPaneUI </item> + <item> BasicOptionPaneUI.ButtonAreaLayout </item> + <item> BasicPanelUI </item> + <item> BasicPasswordFieldUI </item> + <item> BasicPermission </item> + <item> BasicPopupMenuSeparatorUI </item> + <item> BasicPopupMenuUI </item> + <item> BasicProgressBarUI </item> + <item> BasicRadioButtonMenuItemUI </item> + <item> BasicRadioButtonUI </item> + <item> BasicRootPaneUI </item> + <item> BasicScrollBarUI </item> + <item> BasicScrollPaneUI </item> + <item> BasicSeparatorUI </item> + <item> BasicSliderUI </item> + <item> BasicSpinnerUI </item> + <item> BasicSplitPaneDivider </item> + <item> BasicSplitPaneUI </item> + <item> BasicStroke </item> + <item> BasicTabbedPaneUI </item> + <item> BasicTableHeaderUI </item> + <item> BasicTableUI </item> + <item> BasicTextAreaUI </item> + <item> BasicTextFieldUI </item> + <item> BasicTextPaneUI </item> + <item> BasicTextUI </item> + <item> BasicTextUI.BasicCaret </item> + <item> BasicTextUI.BasicHighlighter </item> + <item> BasicToggleButtonUI </item> + <item> BasicToolBarSeparatorUI </item> + <item> BasicToolBarUI </item> + <item> BasicToolTipUI </item> + <item> BasicTreeUI </item> + <item> BasicViewportUI </item> + <item> BatchUpdateException </item> + <item> BeanContext </item> + <item> BeanContextChild </item> + <item> BeanContextChildComponentProxy </item> + <item> BeanContextChildSupport </item> + <item> BeanContextContainerProxy </item> + <item> BeanContextEvent </item> + <item> BeanContextMembershipEvent </item> + <item> BeanContextMembershipListener </item> + <item> BeanContextProxy </item> + <item> BeanContextServiceAvailableEvent </item> + <item> BeanContextServiceProvider </item> + <item> BeanContextServiceProviderBeanInfo </item> + <item> BeanContextServiceRevokedEvent </item> + <item> BeanContextServiceRevokedListener </item> + <item> BeanContextServices </item> + <item> BeanContextServicesListener </item> + <item> BeanContextServicesSupport </item> + <item> BeanContextServicesSupport.BCSSServiceProvider </item> + <item> BeanContextSupport </item> + <item> BeanContextSupport.BCSIterator </item> + <item> BeanDescriptor </item> + <item> BeanInfo </item> + <item> Beans </item> + <item> BevelBorder </item> + <item> Bidi </item> + <item> BigDecimal </item> + <item> BigInteger </item> + <item> BinaryRefAddr </item> + <item> BindException </item> + <item> Binding </item> + <item> Binding </item> + <item> BindingHelper </item> + <item> BindingHolder </item> + <item> BindingIterator </item> + <item> BindingIteratorHelper </item> + <item> BindingIteratorHolder </item> + <item> BindingIteratorOperations </item> + <item> BindingIteratorPOA </item> + <item> BindingListHelper </item> + <item> BindingListHolder </item> + <item> BindingType </item> + <item> BindingTypeHelper </item> + <item> BindingTypeHolder </item> + <item> BitSet </item> + <item> Blob </item> + <item> BlockView </item> + <item> BlockingQueue </item> + <item> Book </item> + <item> Boolean </item> + <item> BooleanControl </item> + <item> BooleanControl.Type </item> + <item> BooleanHolder </item> + <item> BooleanSeqHelper </item> + <item> BooleanSeqHolder </item> + <item> Border </item> + <item> BorderFactory </item> + <item> BorderLayout </item> + <item> BorderUIResource </item> + <item> BorderUIResource.BevelBorderUIResource </item> + <item> BorderUIResource.CompoundBorderUIResource </item> + <item> BorderUIResource.EmptyBorderUIResource </item> + <item> BorderUIResource.EtchedBorderUIResource </item> + <item> BorderUIResource.LineBorderUIResource </item> + <item> BorderUIResource.MatteBorderUIResource </item> + <item> BorderUIResource.TitledBorderUIResource </item> + <item> BoundedRangeModel </item> + <item> Bounds </item> + <item> Bounds </item> + <item> Box </item> + <item> Box.Filler </item> + <item> BoxLayout </item> + <item> BoxView </item> + <item> BoxedValueHelper </item> + <item> BreakIterator </item> + <item> BrokenBarrierException </item> + <item> Buffer </item> + <item> BufferCapabilities </item> + <item> BufferCapabilities.FlipContents </item> + <item> BufferOverflowException </item> + <item> BufferStrategy </item> + <item> BufferUnderflowException </item> + <item> BufferedImage </item> + <item> BufferedImageFilter </item> + <item> BufferedImageOp </item> + <item> BufferedInputStream </item> + <item> BufferedOutputStream </item> + <item> BufferedReader </item> + <item> BufferedWriter </item> + <item> Button </item> + <item> ButtonGroup </item> + <item> ButtonModel </item> + <item> ButtonUI </item> + <item> Byte </item> + <item> ByteArrayInputStream </item> + <item> ByteArrayOutputStream </item> + <item> ByteBuffer </item> + <item> ByteChannel </item> + <item> ByteHolder </item> + <item> ByteLookupTable </item> + <item> ByteOrder </item> + <item> CDATASection </item> + <item> CMMException </item> + <item> CODESET_INCOMPATIBLE </item> + <item> COMM_FAILURE </item> + <item> CRC32 </item> + <item> CRL </item> + <item> CRLException </item> + <item> CRLSelector </item> + <item> CSS </item> + <item> CSS.Attribute </item> + <item> CTX_RESTRICT_SCOPE </item> + <item> CacheRequest </item> + <item> CacheResponse </item> + <item> CachedRowSet </item> + <item> Calendar </item> + <item> Callable </item> + <item> CallableStatement </item> + <item> Callback </item> + <item> CallbackHandler </item> + <item> CancelablePrintJob </item> + <item> CancellationException </item> + <item> CancelledKeyException </item> + <item> CannotProceed </item> + <item> CannotProceedException </item> + <item> CannotProceedHelper </item> + <item> CannotProceedHolder </item> + <item> CannotRedoException </item> + <item> CannotUndoException </item> + <item> Canvas </item> + <item> CardLayout </item> + <item> Caret </item> + <item> CaretEvent </item> + <item> CaretListener </item> + <item> CellEditor </item> + <item> CellEditorListener </item> + <item> CellRendererPane </item> + <item> CertPath </item> + <item> CertPath.CertPathRep </item> + <item> CertPathBuilder </item> + <item> CertPathBuilderException </item> + <item> CertPathBuilderResult </item> + <item> CertPathBuilderSpi </item> + <item> CertPathParameters </item> + <item> CertPathTrustManagerParameters </item> + <item> CertPathValidator </item> + <item> CertPathValidatorException </item> + <item> CertPathValidatorResult </item> + <item> CertPathValidatorSpi </item> + <item> CertSelector </item> + <item> CertStore </item> + <item> CertStoreException </item> + <item> CertStoreParameters </item> + <item> CertStoreSpi </item> + <item> Certificate </item> + <item> Certificate </item> + <item> Certificate </item> + <item> Certificate.CertificateRep </item> + <item> CertificateEncodingException </item> + <item> CertificateEncodingException </item> + <item> CertificateException </item> + <item> CertificateException </item> + <item> CertificateExpiredException </item> + <item> CertificateExpiredException </item> + <item> CertificateFactory </item> + <item> CertificateFactorySpi </item> + <item> CertificateNotYetValidException </item> + <item> CertificateNotYetValidException </item> + <item> CertificateParsingException </item> + <item> CertificateParsingException </item> + <item> ChangeEvent </item> + <item> ChangeListener </item> + <item> ChangedCharSetException </item> + <item> Channel </item> + <item> ChannelBinding </item> + <item> Channels </item> + <item> CharArrayReader </item> + <item> CharArrayWriter </item> + <item> CharBuffer </item> + <item> CharConversionException </item> + <item> CharHolder </item> + <item> CharSeqHelper </item> + <item> CharSeqHolder </item> + <item> CharSequence </item> + <item> Character </item> + <item> Character.Subset </item> + <item> Character.UnicodeBlock </item> + <item> CharacterCodingException </item> + <item> CharacterData </item> + <item> CharacterIterator </item> + <item> Charset </item> + <item> CharsetDecoder </item> + <item> CharsetEncoder </item> + <item> CharsetProvider </item> + <item> Checkbox </item> + <item> CheckboxGroup </item> + <item> CheckboxMenuItem </item> + <item> CheckedInputStream </item> + <item> CheckedOutputStream </item> + <item> Checksum </item> + <item> Choice </item> + <item> ChoiceCallback </item> + <item> ChoiceFormat </item> + <item> Chromaticity </item> + <item> Cipher </item> + <item> CipherInputStream </item> + <item> CipherOutputStream </item> + <item> CipherSpi </item> + <item> Class </item> + <item> ClassCastException </item> + <item> ClassCircularityError </item> + <item> ClassDefinition </item> + <item> ClassDesc </item> + <item> ClassFileTransformer </item> + <item> ClassFormatError </item> + <item> ClassLoader </item> + <item> ClassLoaderRepository </item> + <item> ClassLoadingMXBean </item> + <item> ClassNotFoundException </item> + <item> ClientRequestInfo </item> + <item> ClientRequestInfoOperations </item> + <item> ClientRequestInterceptor </item> + <item> ClientRequestInterceptorOperations </item> + <item> Clip </item> + <item> Clipboard </item> + <item> ClipboardOwner </item> + <item> Clob </item> + <item> CloneNotSupportedException </item> + <item> Cloneable </item> + <item> Closeable </item> + <item> ClosedByInterruptException </item> + <item> ClosedChannelException </item> + <item> ClosedSelectorException </item> + <item> CodeSets </item> + <item> CodeSigner </item> + <item> CodeSource </item> + <item> Codec </item> + <item> CodecFactory </item> + <item> CodecFactoryHelper </item> + <item> CodecFactoryOperations </item> + <item> CodecOperations </item> + <item> CoderMalfunctionError </item> + <item> CoderResult </item> + <item> CodingErrorAction </item> + <item> CollationElementIterator </item> + <item> CollationKey </item> + <item> Collator </item> + <item> Collection </item> + <item> CollectionCertStoreParameters </item> + <item> Collections </item> + <item> Color </item> + <item> ColorChooserComponentFactory </item> + <item> ColorChooserUI </item> + <item> ColorConvertOp </item> + <item> ColorModel </item> + <item> ColorSelectionModel </item> + <item> ColorSpace </item> + <item> ColorSupported </item> + <item> ColorType </item> + <item> ColorUIResource </item> + <item> ComboBoxEditor </item> + <item> ComboBoxModel </item> + <item> ComboBoxUI </item> + <item> ComboPopup </item> + <item> Comment </item> + <item> CommunicationException </item> + <item> Comparable </item> + <item> Comparator </item> + <item> CompilationMXBean </item> + <item> Compiler </item> + <item> CompletionService </item> + <item> CompletionStatus </item> + <item> CompletionStatusHelper </item> + <item> Component </item> + <item> ComponentAdapter </item> + <item> ComponentColorModel </item> + <item> ComponentEvent </item> + <item> ComponentIdHelper </item> + <item> ComponentInputMap </item> + <item> ComponentInputMapUIResource </item> + <item> ComponentListener </item> + <item> ComponentOrientation </item> + <item> ComponentSampleModel </item> + <item> ComponentUI </item> + <item> ComponentView </item> + <item> Composite </item> + <item> CompositeContext </item> + <item> CompositeData </item> + <item> CompositeDataSupport </item> + <item> CompositeName </item> + <item> CompositeType </item> + <item> CompositeView </item> + <item> CompoundBorder </item> + <item> CompoundControl </item> + <item> CompoundControl.Type </item> + <item> CompoundEdit </item> + <item> CompoundName </item> + <item> Compression </item> + <item> ConcurrentHashMap </item> + <item> ConcurrentLinkedQueue </item> + <item> ConcurrentMap </item> + <item> ConcurrentModificationException </item> + <item> Condition </item> + <item> Configuration </item> + <item> ConfigurationException </item> + <item> ConfirmationCallback </item> + <item> ConnectException </item> + <item> ConnectException </item> + <item> ConnectIOException </item> + <item> Connection </item> + <item> ConnectionEvent </item> + <item> ConnectionEventListener </item> + <item> ConnectionPendingException </item> + <item> ConnectionPoolDataSource </item> + <item> ConsoleHandler </item> + <item> Constructor </item> + <item> Container </item> + <item> ContainerAdapter </item> + <item> ContainerEvent </item> + <item> ContainerListener </item> + <item> ContainerOrderFocusTraversalPolicy </item> + <item> ContentHandler </item> + <item> ContentHandler </item> + <item> ContentHandlerFactory </item> + <item> ContentModel </item> + <item> Context </item> + <item> Context </item> + <item> ContextList </item> + <item> ContextNotEmptyException </item> + <item> ContextualRenderedImageFactory </item> + <item> Control </item> + <item> Control </item> + <item> Control.Type </item> + <item> ControlFactory </item> + <item> ControllerEventListener </item> + <item> ConvolveOp </item> + <item> CookieHandler </item> + <item> CookieHolder </item> + <item> Copies </item> + <item> CopiesSupported </item> + <item> CopyOnWriteArrayList </item> + <item> CopyOnWriteArraySet </item> + <item> CountDownLatch </item> + <item> CounterMonitor </item> + <item> CounterMonitorMBean </item> + <item> CredentialException </item> + <item> CredentialExpiredException </item> + <item> CredentialNotFoundException </item> + <item> CropImageFilter </item> + <item> CubicCurve2D </item> + <item> CubicCurve2D.Double </item> + <item> CubicCurve2D.Float </item> + <item> Currency </item> + <item> Current </item> + <item> Current </item> + <item> Current </item> + <item> CurrentHelper </item> + <item> CurrentHelper </item> + <item> CurrentHelper </item> + <item> CurrentHolder </item> + <item> CurrentOperations </item> + <item> CurrentOperations </item> + <item> CurrentOperations </item> + <item> Cursor </item> + <item> CustomMarshal </item> + <item> CustomValue </item> + <item> Customizer </item> + <item> CyclicBarrier </item> + <item> DATA_CONVERSION </item> + <item> DESKeySpec </item> + <item> DESedeKeySpec </item> + <item> DGC </item> + <item> DHGenParameterSpec </item> + <item> DHKey </item> + <item> DHParameterSpec </item> + <item> DHPrivateKey </item> + <item> DHPrivateKeySpec </item> + <item> DHPublicKey </item> + <item> DHPublicKeySpec </item> + <item> DISCARDING </item> + <item> DOMConfiguration </item> + <item> DOMError </item> + <item> DOMErrorHandler </item> + <item> DOMException </item> + <item> DOMImplementation </item> + <item> DOMImplementationLS </item> + <item> DOMImplementationList </item> + <item> DOMImplementationRegistry </item> + <item> DOMImplementationSource </item> + <item> DOMLocator </item> + <item> DOMLocator </item> + <item> DOMResult </item> + <item> DOMSource </item> + <item> DOMStringList </item> + <item> DSAKey </item> + <item> DSAKeyPairGenerator </item> + <item> DSAParameterSpec </item> + <item> DSAParams </item> + <item> DSAPrivateKey </item> + <item> DSAPrivateKeySpec </item> + <item> DSAPublicKey </item> + <item> DSAPublicKeySpec </item> + <item> DTD </item> + <item> DTDConstants </item> + <item> DTDHandler </item> + <item> DataBuffer </item> + <item> DataBufferByte </item> + <item> DataBufferDouble </item> + <item> DataBufferFloat </item> + <item> DataBufferInt </item> + <item> DataBufferShort </item> + <item> DataBufferUShort </item> + <item> DataFlavor </item> + <item> DataFormatException </item> + <item> DataInput </item> + <item> DataInputStream </item> + <item> DataInputStream </item> + <item> DataLine </item> + <item> DataLine.Info </item> + <item> DataOutput </item> + <item> DataOutputStream </item> + <item> DataOutputStream </item> + <item> DataSource </item> + <item> DataTruncation </item> + <item> DatabaseMetaData </item> + <item> DatagramChannel </item> + <item> DatagramPacket </item> + <item> DatagramSocket </item> + <item> DatagramSocketImpl </item> + <item> DatagramSocketImplFactory </item> + <item> DatatypeConfigurationException </item> + <item> DatatypeConstants </item> + <item> DatatypeConstants.Field </item> + <item> DatatypeFactory </item> + <item> Date </item> + <item> Date </item> + <item> DateFormat </item> + <item> DateFormat.Field </item> + <item> DateFormatSymbols </item> + <item> DateFormatter </item> + <item> DateTimeAtCompleted </item> + <item> DateTimeAtCreation </item> + <item> DateTimeAtProcessing </item> + <item> DateTimeSyntax </item> + <item> DebugGraphics </item> + <item> DecimalFormat </item> + <item> DecimalFormatSymbols </item> + <item> DeclHandler </item> + <item> DefaultBoundedRangeModel </item> + <item> DefaultButtonModel </item> + <item> DefaultCaret </item> + <item> DefaultCellEditor </item> + <item> DefaultColorSelectionModel </item> + <item> DefaultComboBoxModel </item> + <item> DefaultDesktopManager </item> + <item> DefaultEditorKit </item> + <item> DefaultEditorKit.BeepAction </item> + <item> DefaultEditorKit.CopyAction </item> + <item> DefaultEditorKit.CutAction </item> + <item> DefaultEditorKit.DefaultKeyTypedAction </item> + <item> DefaultEditorKit.InsertBreakAction </item> + <item> DefaultEditorKit.InsertContentAction </item> + <item> DefaultEditorKit.InsertTabAction </item> + <item> DefaultEditorKit.PasteAction </item> + <item> DefaultFocusManager </item> + <item> DefaultFocusTraversalPolicy </item> + <item> DefaultFormatter </item> + <item> DefaultFormatterFactory </item> + <item> DefaultHandler </item> + <item> DefaultHandler2 </item> + <item> DefaultHighlighter </item> + <item> DefaultHighlighter.DefaultHighlightPainter </item> + <item> DefaultKeyboardFocusManager </item> + <item> DefaultListCellRenderer </item> + <item> DefaultListCellRenderer.UIResource </item> + <item> DefaultListModel </item> + <item> DefaultListSelectionModel </item> + <item> DefaultLoaderRepository </item> + <item> DefaultLoaderRepository </item> + <item> DefaultMenuLayout </item> + <item> DefaultMetalTheme </item> + <item> DefaultMutableTreeNode </item> + <item> DefaultPersistenceDelegate </item> + <item> DefaultSingleSelectionModel </item> + <item> DefaultStyledDocument </item> + <item> DefaultStyledDocument.AttributeUndoableEdit </item> + <item> DefaultStyledDocument.ElementSpec </item> + <item> DefaultTableCellRenderer </item> + <item> DefaultTableCellRenderer.UIResource </item> + <item> DefaultTableColumnModel </item> + <item> DefaultTableModel </item> + <item> DefaultTextUI </item> + <item> DefaultTreeCellEditor </item> + <item> DefaultTreeCellRenderer </item> + <item> DefaultTreeModel </item> + <item> DefaultTreeSelectionModel </item> + <item> DefinitionKind </item> + <item> DefinitionKindHelper </item> + <item> Deflater </item> + <item> DeflaterOutputStream </item> + <item> DelayQueue </item> + <item> Delayed </item> + <item> Delegate </item> + <item> Delegate </item> + <item> Delegate </item> + <item> DelegationPermission </item> + <item> Deprecated </item> + <item> Descriptor </item> + <item> DescriptorAccess </item> + <item> DescriptorSupport </item> + <item> DesignMode </item> + <item> DesktopIconUI </item> + <item> DesktopManager </item> + <item> DesktopPaneUI </item> + <item> Destination </item> + <item> DestroyFailedException </item> + <item> Destroyable </item> + <item> Dialog </item> + <item> Dictionary </item> + <item> DigestException </item> + <item> DigestInputStream </item> + <item> DigestOutputStream </item> + <item> Dimension </item> + <item> Dimension2D </item> + <item> DimensionUIResource </item> + <item> DirContext </item> + <item> DirObjectFactory </item> + <item> DirStateFactory </item> + <item> DirStateFactory.Result </item> + <item> DirectColorModel </item> + <item> DirectoryManager </item> + <item> DisplayMode </item> + <item> DnDConstants </item> + <item> Doc </item> + <item> DocAttribute </item> + <item> DocAttributeSet </item> + <item> DocFlavor </item> + <item> DocFlavor.BYTE_ARRAY </item> + <item> DocFlavor.CHAR_ARRAY </item> + <item> DocFlavor.INPUT_STREAM </item> + <item> DocFlavor.READER </item> + <item> DocFlavor.SERVICE_FORMATTED </item> + <item> DocFlavor.STRING </item> + <item> DocFlavor.URL </item> + <item> DocPrintJob </item> + <item> Document </item> + <item> Document </item> + <item> DocumentBuilder </item> + <item> DocumentBuilderFactory </item> + <item> DocumentEvent </item> + <item> DocumentEvent.ElementChange </item> + <item> DocumentEvent.EventType </item> + <item> DocumentFilter </item> + <item> DocumentFilter.FilterBypass </item> + <item> DocumentFragment </item> + <item> DocumentHandler </item> + <item> DocumentListener </item> + <item> DocumentName </item> + <item> DocumentParser </item> + <item> DocumentType </item> + <item> Documented </item> + <item> DomainCombiner </item> + <item> DomainManager </item> + <item> DomainManagerOperations </item> + <item> Double </item> + <item> DoubleBuffer </item> + <item> DoubleHolder </item> + <item> DoubleSeqHelper </item> + <item> DoubleSeqHolder </item> + <item> DragGestureEvent </item> + <item> DragGestureListener </item> + <item> DragGestureRecognizer </item> + <item> DragSource </item> + <item> DragSourceAdapter </item> + <item> DragSourceContext </item> + <item> DragSourceDragEvent </item> + <item> DragSourceDropEvent </item> + <item> DragSourceEvent </item> + <item> DragSourceListener </item> + <item> DragSourceMotionListener </item> + <item> Driver </item> + <item> DriverManager </item> + <item> DriverPropertyInfo </item> + <item> DropTarget </item> + <item> DropTarget.DropTargetAutoScroller </item> + <item> DropTargetAdapter </item> + <item> DropTargetContext </item> + <item> DropTargetDragEvent </item> + <item> DropTargetDropEvent </item> + <item> DropTargetEvent </item> + <item> DropTargetListener </item> + <item> DuplicateFormatFlagsException </item> + <item> DuplicateName </item> + <item> DuplicateNameHelper </item> + <item> Duration </item> + <item> DynAny </item> + <item> DynAny </item> + <item> DynAnyFactory </item> + <item> DynAnyFactoryHelper </item> + <item> DynAnyFactoryOperations </item> + <item> DynAnyHelper </item> + <item> DynAnyOperations </item> + <item> DynAnySeqHelper </item> + <item> DynArray </item> + <item> DynArray </item> + <item> DynArrayHelper </item> + <item> DynArrayOperations </item> + <item> DynEnum </item> + <item> DynEnum </item> + <item> DynEnumHelper </item> + <item> DynEnumOperations </item> + <item> DynFixed </item> + <item> DynFixed </item> + <item> DynFixedHelper </item> + <item> DynFixedOperations </item> + <item> DynSequence </item> + <item> DynSequence </item> + <item> DynSequenceHelper </item> + <item> DynSequenceOperations </item> + <item> DynStruct </item> + <item> DynStruct </item> + <item> DynStructHelper </item> + <item> DynStructOperations </item> + <item> DynUnion </item> + <item> DynUnion </item> + <item> DynUnionHelper </item> + <item> DynUnionOperations </item> + <item> DynValue </item> + <item> DynValue </item> + <item> DynValueBox </item> + <item> DynValueBoxOperations </item> + <item> DynValueCommon </item> + <item> DynValueCommonOperations </item> + <item> DynValueHelper </item> + <item> DynValueOperations </item> + <item> DynamicImplementation </item> + <item> DynamicImplementation </item> + <item> DynamicMBean </item> + <item> ECField </item> + <item> ECFieldF2m </item> + <item> ECFieldFp </item> + <item> ECGenParameterSpec </item> + <item> ECKey </item> + <item> ECParameterSpec </item> + <item> ECPoint </item> + <item> ECPrivateKey </item> + <item> ECPrivateKeySpec </item> + <item> ECPublicKey </item> + <item> ECPublicKeySpec </item> + <item> ENCODING_CDR_ENCAPS </item> + <item> EOFException </item> + <item> EditorKit </item> + <item> Element </item> + <item> Element </item> + <item> Element </item> + <item> ElementIterator </item> + <item> ElementType </item> + <item> Ellipse2D </item> + <item> Ellipse2D.Double </item> + <item> Ellipse2D.Float </item> + <item> EllipticCurve </item> + <item> EmptyBorder </item> + <item> EmptyStackException </item> + <item> EncodedKeySpec </item> + <item> Encoder </item> + <item> Encoding </item> + <item> EncryptedPrivateKeyInfo </item> + <item> Entity </item> + <item> Entity </item> + <item> EntityReference </item> + <item> EntityResolver </item> + <item> EntityResolver2 </item> + <item> Enum </item> + <item> EnumConstantNotPresentException </item> + <item> EnumControl </item> + <item> EnumControl.Type </item> + <item> EnumMap </item> + <item> EnumSet </item> + <item> EnumSyntax </item> + <item> Enumeration </item> + <item> Environment </item> + <item> Error </item> + <item> ErrorHandler </item> + <item> ErrorListener </item> + <item> ErrorManager </item> + <item> EtchedBorder </item> + <item> Event </item> + <item> EventContext </item> + <item> EventDirContext </item> + <item> EventHandler </item> + <item> EventListener </item> + <item> EventListenerList </item> + <item> EventListenerProxy </item> + <item> EventObject </item> + <item> EventQueue </item> + <item> EventSetDescriptor </item> + <item> Exception </item> + <item> ExceptionDetailMessage </item> + <item> ExceptionInInitializerError </item> + <item> ExceptionList </item> + <item> ExceptionListener </item> + <item> Exchanger </item> + <item> ExecutionException </item> + <item> Executor </item> + <item> ExecutorCompletionService </item> + <item> ExecutorService </item> + <item> Executors </item> + <item> ExemptionMechanism </item> + <item> ExemptionMechanismException </item> + <item> ExemptionMechanismSpi </item> + <item> ExpandVetoException </item> + <item> ExportException </item> + <item> Expression </item> + <item> ExtendedRequest </item> + <item> ExtendedResponse </item> + <item> Externalizable </item> + <item> FREE_MEM </item> + <item> FactoryConfigurationError </item> + <item> FailedLoginException </item> + <item> FeatureDescriptor </item> + <item> Fidelity </item> + <item> Field </item> + <item> FieldNameHelper </item> + <item> FieldNameHelper </item> + <item> FieldPosition </item> + <item> FieldView </item> + <item> File </item> + <item> FileCacheImageInputStream </item> + <item> FileCacheImageOutputStream </item> + <item> FileChannel </item> + <item> FileChannel.MapMode </item> + <item> FileChooserUI </item> + <item> FileDescriptor </item> + <item> FileDialog </item> + <item> FileFilter </item> + <item> FileFilter </item> + <item> FileHandler </item> + <item> FileImageInputStream </item> + <item> FileImageOutputStream </item> + <item> FileInputStream </item> + <item> FileLock </item> + <item> FileLockInterruptionException </item> + <item> FileNameMap </item> + <item> FileNotFoundException </item> + <item> FileOutputStream </item> + <item> FilePermission </item> + <item> FileReader </item> + <item> FileSystemView </item> + <item> FileView </item> + <item> FileWriter </item> + <item> FilenameFilter </item> + <item> Filter </item> + <item> FilterInputStream </item> + <item> FilterOutputStream </item> + <item> FilterReader </item> + <item> FilterWriter </item> + <item> FilteredImageSource </item> + <item> FilteredRowSet </item> + <item> Finishings </item> + <item> FixedHeightLayoutCache </item> + <item> FixedHolder </item> + <item> FlatteningPathIterator </item> + <item> FlavorEvent </item> + <item> FlavorException </item> + <item> FlavorListener </item> + <item> FlavorMap </item> + <item> FlavorTable </item> + <item> Float </item> + <item> FloatBuffer </item> + <item> FloatControl </item> + <item> FloatControl.Type </item> + <item> FloatHolder </item> + <item> FloatSeqHelper </item> + <item> FloatSeqHolder </item> + <item> FlowLayout </item> + <item> FlowView </item> + <item> FlowView.FlowStrategy </item> + <item> Flushable </item> + <item> FocusAdapter </item> + <item> FocusEvent </item> + <item> FocusListener </item> + <item> FocusManager </item> + <item> FocusTraversalPolicy </item> + <item> Font </item> + <item> FontFormatException </item> + <item> FontMetrics </item> + <item> FontRenderContext </item> + <item> FontUIResource </item> + <item> FormSubmitEvent </item> + <item> FormSubmitEvent.MethodType </item> + <item> FormView </item> + <item> Format </item> + <item> Format.Field </item> + <item> FormatConversionProvider </item> + <item> FormatFlagsConversionMismatchException </item> + <item> FormatMismatch </item> + <item> FormatMismatchHelper </item> + <item> Formattable </item> + <item> FormattableFlags </item> + <item> Formatter </item> + <item> Formatter </item> + <item> FormatterClosedException </item> + <item> ForwardRequest </item> + <item> ForwardRequest </item> + <item> ForwardRequestHelper </item> + <item> ForwardRequestHelper </item> + <item> Frame </item> + <item> Future </item> + <item> FutureTask </item> + <item> GSSContext </item> + <item> GSSCredential </item> + <item> GSSException </item> + <item> GSSManager </item> + <item> GSSName </item> + <item> GZIPInputStream </item> + <item> GZIPOutputStream </item> + <item> GapContent </item> + <item> GarbageCollectorMXBean </item> + <item> GatheringByteChannel </item> + <item> GaugeMonitor </item> + <item> GaugeMonitorMBean </item> + <item> GeneralPath </item> + <item> GeneralSecurityException </item> + <item> GenericArrayType </item> + <item> GenericDeclaration </item> + <item> GenericSignatureFormatError </item> + <item> GlyphJustificationInfo </item> + <item> GlyphMetrics </item> + <item> GlyphVector </item> + <item> GlyphView </item> + <item> GlyphView.GlyphPainter </item> + <item> GradientPaint </item> + <item> GraphicAttribute </item> + <item> Graphics </item> + <item> Graphics2D </item> + <item> GraphicsConfigTemplate </item> + <item> GraphicsConfiguration </item> + <item> GraphicsDevice </item> + <item> GraphicsEnvironment </item> + <item> GrayFilter </item> + <item> GregorianCalendar </item> + <item> GridBagConstraints </item> + <item> GridBagLayout </item> + <item> GridLayout </item> + <item> Group </item> + <item> Guard </item> + <item> GuardedObject </item> + <item> HOLDING </item> + <item> HTML </item> + <item> HTML.Attribute </item> + <item> HTML.Tag </item> + <item> HTML.UnknownTag </item> + <item> HTMLDocument </item> + <item> HTMLDocument.Iterator </item> + <item> HTMLEditorKit </item> + <item> HTMLEditorKit.HTMLFactory </item> + <item> HTMLEditorKit.HTMLTextAction </item> + <item> HTMLEditorKit.InsertHTMLTextAction </item> + <item> HTMLEditorKit.LinkController </item> + <item> HTMLEditorKit.Parser </item> + <item> HTMLEditorKit.ParserCallback </item> + <item> HTMLFrameHyperlinkEvent </item> + <item> HTMLWriter </item> + <item> Handler </item> + <item> HandlerBase </item> + <item> HandshakeCompletedEvent </item> + <item> HandshakeCompletedListener </item> + <item> HasControls </item> + <item> HashAttributeSet </item> + <item> HashDocAttributeSet </item> + <item> HashMap </item> + <item> HashPrintJobAttributeSet </item> + <item> HashPrintRequestAttributeSet </item> + <item> HashPrintServiceAttributeSet </item> + <item> HashSet </item> + <item> Hashtable </item> + <item> HeadlessException </item> + <item> HierarchyBoundsAdapter </item> + <item> HierarchyBoundsListener </item> + <item> HierarchyEvent </item> + <item> HierarchyListener </item> + <item> Highlighter </item> + <item> Highlighter.Highlight </item> + <item> Highlighter.HighlightPainter </item> + <item> HostnameVerifier </item> + <item> HttpRetryException </item> + <item> HttpURLConnection </item> + <item> HttpsURLConnection </item> + <item> HyperlinkEvent </item> + <item> HyperlinkEvent.EventType </item> + <item> HyperlinkListener </item> + <item> ICC_ColorSpace </item> + <item> ICC_Profile </item> + <item> ICC_ProfileGray </item> + <item> ICC_ProfileRGB </item> + <item> IDLEntity </item> + <item> IDLType </item> + <item> IDLTypeHelper </item> + <item> IDLTypeOperations </item> + <item> ID_ASSIGNMENT_POLICY_ID </item> + <item> ID_UNIQUENESS_POLICY_ID </item> + <item> IIOByteBuffer </item> + <item> IIOException </item> + <item> IIOImage </item> + <item> IIOInvalidTreeException </item> + <item> IIOMetadata </item> + <item> IIOMetadataController </item> + <item> IIOMetadataFormat </item> + <item> IIOMetadataFormatImpl </item> + <item> IIOMetadataNode </item> + <item> IIOParam </item> + <item> IIOParamController </item> + <item> IIOReadProgressListener </item> + <item> IIOReadUpdateListener </item> + <item> IIOReadWarningListener </item> + <item> IIORegistry </item> + <item> IIOServiceProvider </item> + <item> IIOWriteProgressListener </item> + <item> IIOWriteWarningListener </item> + <item> IMPLICIT_ACTIVATION_POLICY_ID </item> + <item> IMP_LIMIT </item> + <item> INACTIVE </item> + <item> INITIALIZE </item> + <item> INTERNAL </item> + <item> INTF_REPOS </item> + <item> INVALID_ACTIVITY </item> + <item> INVALID_TRANSACTION </item> + <item> INV_FLAG </item> + <item> INV_IDENT </item> + <item> INV_OBJREF </item> + <item> INV_POLICY </item> + <item> IOException </item> + <item> IOR </item> + <item> IORHelper </item> + <item> IORHolder </item> + <item> IORInfo </item> + <item> IORInfoOperations </item> + <item> IORInterceptor </item> + <item> IORInterceptorOperations </item> + <item> IORInterceptor_3_0 </item> + <item> IORInterceptor_3_0Helper </item> + <item> IORInterceptor_3_0Holder </item> + <item> IORInterceptor_3_0Operations </item> + <item> IRObject </item> + <item> IRObjectOperations </item> + <item> Icon </item> + <item> IconUIResource </item> + <item> IconView </item> + <item> IdAssignmentPolicy </item> + <item> IdAssignmentPolicyOperations </item> + <item> IdAssignmentPolicyValue </item> + <item> IdUniquenessPolicy </item> + <item> IdUniquenessPolicyOperations </item> + <item> IdUniquenessPolicyValue </item> + <item> IdentifierHelper </item> + <item> Identity </item> + <item> IdentityHashMap </item> + <item> IdentityScope </item> + <item> IllegalAccessError </item> + <item> IllegalAccessException </item> + <item> IllegalArgumentException </item> + <item> IllegalBlockSizeException </item> + <item> IllegalBlockingModeException </item> + <item> IllegalCharsetNameException </item> + <item> IllegalClassFormatException </item> + <item> IllegalComponentStateException </item> + <item> IllegalFormatCodePointException </item> + <item> IllegalFormatConversionException </item> + <item> IllegalFormatException </item> + <item> IllegalFormatFlagsException </item> + <item> IllegalFormatPrecisionException </item> + <item> IllegalFormatWidthException </item> + <item> IllegalMonitorStateException </item> + <item> IllegalPathStateException </item> + <item> IllegalSelectorException </item> + <item> IllegalStateException </item> + <item> IllegalThreadStateException </item> + <item> Image </item> + <item> ImageCapabilities </item> + <item> ImageConsumer </item> + <item> ImageFilter </item> + <item> ImageGraphicAttribute </item> + <item> ImageIO </item> + <item> ImageIcon </item> + <item> ImageInputStream </item> + <item> ImageInputStreamImpl </item> + <item> ImageInputStreamSpi </item> + <item> ImageObserver </item> + <item> ImageOutputStream </item> + <item> ImageOutputStreamImpl </item> + <item> ImageOutputStreamSpi </item> + <item> ImageProducer </item> + <item> ImageReadParam </item> + <item> ImageReader </item> + <item> ImageReaderSpi </item> + <item> ImageReaderWriterSpi </item> + <item> ImageTranscoder </item> + <item> ImageTranscoderSpi </item> + <item> ImageTypeSpecifier </item> + <item> ImageView </item> + <item> ImageWriteParam </item> + <item> ImageWriter </item> + <item> ImageWriterSpi </item> + <item> ImagingOpException </item> + <item> ImplicitActivationPolicy </item> + <item> ImplicitActivationPolicyOperations </item> + <item> ImplicitActivationPolicyValue </item> + <item> IncompatibleClassChangeError </item> + <item> IncompleteAnnotationException </item> + <item> InconsistentTypeCode </item> + <item> InconsistentTypeCode </item> + <item> InconsistentTypeCodeHelper </item> + <item> IndexColorModel </item> + <item> IndexOutOfBoundsException </item> + <item> IndexedPropertyChangeEvent </item> + <item> IndexedPropertyDescriptor </item> + <item> IndirectionException </item> + <item> Inet4Address </item> + <item> Inet6Address </item> + <item> InetAddress </item> + <item> InetSocketAddress </item> + <item> Inflater </item> + <item> InflaterInputStream </item> + <item> InheritableThreadLocal </item> + <item> Inherited </item> + <item> InitialContext </item> + <item> InitialContextFactory </item> + <item> InitialContextFactoryBuilder </item> + <item> InitialDirContext </item> + <item> InitialLdapContext </item> + <item> InlineView </item> + <item> InputContext </item> + <item> InputEvent </item> + <item> InputMap </item> + <item> InputMapUIResource </item> + <item> InputMethod </item> + <item> InputMethodContext </item> + <item> InputMethodDescriptor </item> + <item> InputMethodEvent </item> + <item> InputMethodHighlight </item> + <item> InputMethodListener </item> + <item> InputMethodRequests </item> + <item> InputMismatchException </item> + <item> InputSource </item> + <item> InputStream </item> + <item> InputStream </item> + <item> InputStream </item> + <item> InputStreamReader </item> + <item> InputSubset </item> + <item> InputVerifier </item> + <item> Insets </item> + <item> InsetsUIResource </item> + <item> InstanceAlreadyExistsException </item> + <item> InstanceNotFoundException </item> + <item> InstantiationError </item> + <item> InstantiationException </item> + <item> Instrument </item> + <item> Instrumentation </item> + <item> InsufficientResourcesException </item> + <item> IntBuffer </item> + <item> IntHolder </item> + <item> Integer </item> + <item> IntegerSyntax </item> + <item> Interceptor </item> + <item> InterceptorOperations </item> + <item> InternalError </item> + <item> InternalFrameAdapter </item> + <item> InternalFrameEvent </item> + <item> InternalFrameFocusTraversalPolicy </item> + <item> InternalFrameListener </item> + <item> InternalFrameUI </item> + <item> InternationalFormatter </item> + <item> InterruptedException </item> + <item> InterruptedIOException </item> + <item> InterruptedNamingException </item> + <item> InterruptibleChannel </item> + <item> IntrospectionException </item> + <item> IntrospectionException </item> + <item> Introspector </item> + <item> Invalid </item> + <item> InvalidActivityException </item> + <item> InvalidAddress </item> + <item> InvalidAddressHelper </item> + <item> InvalidAddressHolder </item> + <item> InvalidAlgorithmParameterException </item> + <item> InvalidApplicationException </item> + <item> InvalidAttributeIdentifierException </item> + <item> InvalidAttributeValueException </item> + <item> InvalidAttributeValueException </item> + <item> InvalidAttributesException </item> + <item> InvalidClassException </item> + <item> InvalidDnDOperationException </item> + <item> InvalidKeyException </item> + <item> InvalidKeyException </item> + <item> InvalidKeySpecException </item> + <item> InvalidMarkException </item> + <item> InvalidMidiDataException </item> + <item> InvalidName </item> + <item> InvalidName </item> + <item> InvalidName </item> + <item> InvalidNameException </item> + <item> InvalidNameHelper </item> + <item> InvalidNameHelper </item> + <item> InvalidNameHolder </item> + <item> InvalidObjectException </item> + <item> InvalidOpenTypeException </item> + <item> InvalidParameterException </item> + <item> InvalidParameterSpecException </item> + <item> InvalidPolicy </item> + <item> InvalidPolicyHelper </item> + <item> InvalidPreferencesFormatException </item> + <item> InvalidPropertiesFormatException </item> + <item> InvalidRelationIdException </item> + <item> InvalidRelationServiceException </item> + <item> InvalidRelationTypeException </item> + <item> InvalidRoleInfoException </item> + <item> InvalidRoleValueException </item> + <item> InvalidSearchControlsException </item> + <item> InvalidSearchFilterException </item> + <item> InvalidSeq </item> + <item> InvalidSlot </item> + <item> InvalidSlotHelper </item> + <item> InvalidTargetObjectTypeException </item> + <item> InvalidTransactionException </item> + <item> InvalidTypeForEncoding </item> + <item> InvalidTypeForEncodingHelper </item> + <item> InvalidValue </item> + <item> InvalidValue </item> + <item> InvalidValueHelper </item> + <item> InvocationEvent </item> + <item> InvocationHandler </item> + <item> InvocationTargetException </item> + <item> InvokeHandler </item> + <item> IstringHelper </item> + <item> ItemEvent </item> + <item> ItemListener </item> + <item> ItemSelectable </item> + <item> Iterable </item> + <item> Iterator </item> + <item> IvParameterSpec </item> + <item> JApplet </item> + <item> JButton </item> + <item> JCheckBox </item> + <item> JCheckBoxMenuItem </item> + <item> JColorChooser </item> + <item> JComboBox </item> + <item> JComboBox.KeySelectionManager </item> + <item> JComponent </item> + <item> JDesktopPane </item> + <item> JDialog </item> + <item> JEditorPane </item> + <item> JFileChooser </item> + <item> JFormattedTextField </item> + <item> JFormattedTextField.AbstractFormatter </item> + <item> JFormattedTextField.AbstractFormatterFactory </item> + <item> JFrame </item> + <item> JInternalFrame </item> + <item> JInternalFrame.JDesktopIcon </item> + <item> JLabel </item> + <item> JLayeredPane </item> + <item> JList </item> + <item> JMException </item> + <item> JMRuntimeException </item> + <item> JMXAuthenticator </item> + <item> JMXConnectionNotification </item> + <item> JMXConnector </item> + <item> JMXConnectorFactory </item> + <item> JMXConnectorProvider </item> + <item> JMXConnectorServer </item> + <item> JMXConnectorServerFactory </item> + <item> JMXConnectorServerMBean </item> + <item> JMXConnectorServerProvider </item> + <item> JMXPrincipal </item> + <item> JMXProviderException </item> + <item> JMXServerErrorException </item> + <item> JMXServiceURL </item> + <item> JMenu </item> + <item> JMenuBar </item> + <item> JMenuItem </item> + <item> JOptionPane </item> + <item> JPEGHuffmanTable </item> + <item> JPEGImageReadParam </item> + <item> JPEGImageWriteParam </item> + <item> JPEGQTable </item> + <item> JPanel </item> + <item> JPasswordField </item> + <item> JPopupMenu </item> + <item> JPopupMenu.Separator </item> + <item> JProgressBar </item> + <item> JRadioButton </item> + <item> JRadioButtonMenuItem </item> + <item> JRootPane </item> + <item> JScrollBar </item> + <item> JScrollPane </item> + <item> JSeparator </item> + <item> JSlider </item> + <item> JSpinner </item> + <item> JSpinner.DateEditor </item> + <item> JSpinner.DefaultEditor </item> + <item> JSpinner.ListEditor </item> + <item> JSpinner.NumberEditor </item> + <item> JSplitPane </item> + <item> JTabbedPane </item> + <item> JTable </item> + <item> JTable.PrintMode </item> + <item> JTableHeader </item> + <item> JTextArea </item> + <item> JTextComponent </item> + <item> JTextComponent.KeyBinding </item> + <item> JTextField </item> + <item> JTextPane </item> + <item> JToggleButton </item> + <item> JToggleButton.ToggleButtonModel </item> + <item> JToolBar </item> + <item> JToolBar.Separator </item> + <item> JToolTip </item> + <item> JTree </item> + <item> JTree.DynamicUtilTreeNode </item> + <item> JTree.EmptySelectionModel </item> + <item> JViewport </item> + <item> JWindow </item> + <item> JarEntry </item> + <item> JarException </item> + <item> JarFile </item> + <item> JarInputStream </item> + <item> JarOutputStream </item> + <item> JarURLConnection </item> + <item> JdbcRowSet </item> + <item> JobAttributes </item> + <item> JobAttributes.DefaultSelectionType </item> + <item> JobAttributes.DestinationType </item> + <item> JobAttributes.DialogType </item> + <item> JobAttributes.MultipleDocumentHandlingType </item> + <item> JobAttributes.SidesType </item> + <item> JobHoldUntil </item> + <item> JobImpressions </item> + <item> JobImpressionsCompleted </item> + <item> JobImpressionsSupported </item> + <item> JobKOctets </item> + <item> JobKOctetsProcessed </item> + <item> JobKOctetsSupported </item> + <item> JobMediaSheets </item> + <item> JobMediaSheetsCompleted </item> + <item> JobMediaSheetsSupported </item> + <item> JobMessageFromOperator </item> + <item> JobName </item> + <item> JobOriginatingUserName </item> + <item> JobPriority </item> + <item> JobPrioritySupported </item> + <item> JobSheets </item> + <item> JobState </item> + <item> JobStateReason </item> + <item> JobStateReasons </item> + <item> JoinRowSet </item> + <item> Joinable </item> + <item> KerberosKey </item> + <item> KerberosPrincipal </item> + <item> KerberosTicket </item> + <item> Kernel </item> + <item> Key </item> + <item> KeyAdapter </item> + <item> KeyAgreement </item> + <item> KeyAgreementSpi </item> + <item> KeyAlreadyExistsException </item> + <item> KeyEvent </item> + <item> KeyEventDispatcher </item> + <item> KeyEventPostProcessor </item> + <item> KeyException </item> + <item> KeyFactory </item> + <item> KeyFactorySpi </item> + <item> KeyGenerator </item> + <item> KeyGeneratorSpi </item> + <item> KeyListener </item> + <item> KeyManagementException </item> + <item> KeyManager </item> + <item> KeyManagerFactory </item> + <item> KeyManagerFactorySpi </item> + <item> KeyPair </item> + <item> KeyPairGenerator </item> + <item> KeyPairGeneratorSpi </item> + <item> KeyRep </item> + <item> KeyRep.Type </item> + <item> KeySpec </item> + <item> KeyStore </item> + <item> KeyStore.Builder </item> + <item> KeyStore.CallbackHandlerProtection </item> + <item> KeyStore.Entry </item> + <item> KeyStore.LoadStoreParameter </item> + <item> KeyStore.PasswordProtection </item> + <item> KeyStore.PrivateKeyEntry </item> + <item> KeyStore.ProtectionParameter </item> + <item> KeyStore.SecretKeyEntry </item> + <item> KeyStore.TrustedCertificateEntry </item> + <item> KeyStoreBuilderParameters </item> + <item> KeyStoreException </item> + <item> KeyStoreSpi </item> + <item> KeyStroke </item> + <item> KeyboardFocusManager </item> + <item> Keymap </item> + <item> LDAPCertStoreParameters </item> + <item> LIFESPAN_POLICY_ID </item> + <item> LOCATION_FORWARD </item> + <item> LSException </item> + <item> LSInput </item> + <item> LSLoadEvent </item> + <item> LSOutput </item> + <item> LSParser </item> + <item> LSParserFilter </item> + <item> LSProgressEvent </item> + <item> LSResourceResolver </item> + <item> LSSerializer </item> + <item> LSSerializerFilter </item> + <item> Label </item> + <item> LabelUI </item> + <item> LabelView </item> + <item> LanguageCallback </item> + <item> LastOwnerException </item> + <item> LayeredHighlighter </item> + <item> LayeredHighlighter.LayerPainter </item> + <item> LayoutFocusTraversalPolicy </item> + <item> LayoutManager </item> + <item> LayoutManager2 </item> + <item> LayoutQueue </item> + <item> LdapContext </item> + <item> LdapName </item> + <item> LdapReferralException </item> + <item> Lease </item> + <item> Level </item> + <item> LexicalHandler </item> + <item> LifespanPolicy </item> + <item> LifespanPolicyOperations </item> + <item> LifespanPolicyValue </item> + <item> LimitExceededException </item> + <item> Line </item> + <item> Line.Info </item> + <item> Line2D </item> + <item> Line2D.Double </item> + <item> Line2D.Float </item> + <item> LineBorder </item> + <item> LineBreakMeasurer </item> + <item> LineEvent </item> + <item> LineEvent.Type </item> + <item> LineListener </item> + <item> LineMetrics </item> + <item> LineNumberInputStream </item> + <item> LineNumberReader </item> + <item> LineUnavailableException </item> + <item> LinkException </item> + <item> LinkLoopException </item> + <item> LinkRef </item> + <item> LinkageError </item> + <item> LinkedBlockingQueue </item> + <item> LinkedHashMap </item> + <item> LinkedHashSet </item> + <item> LinkedList </item> + <item> List </item> + <item> List </item> + <item> ListCellRenderer </item> + <item> ListDataEvent </item> + <item> ListDataListener </item> + <item> ListIterator </item> + <item> ListModel </item> + <item> ListResourceBundle </item> + <item> ListSelectionEvent </item> + <item> ListSelectionListener </item> + <item> ListSelectionModel </item> + <item> ListUI </item> + <item> ListView </item> + <item> ListenerNotFoundException </item> + <item> LoaderHandler </item> + <item> LocalObject </item> + <item> Locale </item> + <item> LocateRegistry </item> + <item> Locator </item> + <item> Locator2 </item> + <item> Locator2Impl </item> + <item> LocatorImpl </item> + <item> Lock </item> + <item> LockSupport </item> + <item> LogManager </item> + <item> LogRecord </item> + <item> LogStream </item> + <item> Logger </item> + <item> LoggingMXBean </item> + <item> LoggingPermission </item> + <item> LoginContext </item> + <item> LoginException </item> + <item> LoginModule </item> + <item> Long </item> + <item> LongBuffer </item> + <item> LongHolder </item> + <item> LongLongSeqHelper </item> + <item> LongLongSeqHolder </item> + <item> LongSeqHelper </item> + <item> LongSeqHolder </item> + <item> LookAndFeel </item> + <item> LookupOp </item> + <item> LookupTable </item> + <item> MARSHAL </item> + <item> MBeanAttributeInfo </item> + <item> MBeanConstructorInfo </item> + <item> MBeanException </item> + <item> MBeanFeatureInfo </item> + <item> MBeanInfo </item> + <item> MBeanNotificationInfo </item> + <item> MBeanOperationInfo </item> + <item> MBeanParameterInfo </item> + <item> MBeanPermission </item> + <item> MBeanRegistration </item> + <item> MBeanRegistrationException </item> + <item> MBeanServer </item> + <item> MBeanServerBuilder </item> + <item> MBeanServerConnection </item> + <item> MBeanServerDelegate </item> + <item> MBeanServerDelegateMBean </item> + <item> MBeanServerFactory </item> + <item> MBeanServerForwarder </item> + <item> MBeanServerInvocationHandler </item> + <item> MBeanServerNotification </item> + <item> MBeanServerNotificationFilter </item> + <item> MBeanServerPermission </item> + <item> MBeanTrustPermission </item> + <item> MGF1ParameterSpec </item> + <item> MLet </item> + <item> MLetMBean </item> + <item> Mac </item> + <item> MacSpi </item> + <item> MalformedInputException </item> + <item> MalformedLinkException </item> + <item> MalformedObjectNameException </item> + <item> MalformedParameterizedTypeException </item> + <item> MalformedURLException </item> + <item> ManageReferralControl </item> + <item> ManagementFactory </item> + <item> ManagementPermission </item> + <item> ManagerFactoryParameters </item> + <item> Manifest </item> + <item> Map </item> + <item> Map.Entry </item> + <item> MappedByteBuffer </item> + <item> MarshalException </item> + <item> MarshalledObject </item> + <item> MaskFormatter </item> + <item> MatchResult </item> + <item> Matcher </item> + <item> Math </item> + <item> MathContext </item> + <item> MatteBorder </item> + <item> Media </item> + <item> MediaName </item> + <item> MediaPrintableArea </item> + <item> MediaSize </item> + <item> MediaSize.Engineering </item> + <item> MediaSize.ISO </item> + <item> MediaSize.JIS </item> + <item> MediaSize.NA </item> + <item> MediaSize.Other </item> + <item> MediaSizeName </item> + <item> MediaTracker </item> + <item> MediaTray </item> + <item> Member </item> + <item> MemoryCacheImageInputStream </item> + <item> MemoryCacheImageOutputStream </item> + <item> MemoryHandler </item> + <item> MemoryImageSource </item> + <item> MemoryMXBean </item> + <item> MemoryManagerMXBean </item> + <item> MemoryNotificationInfo </item> + <item> MemoryPoolMXBean </item> + <item> MemoryType </item> + <item> MemoryUsage </item> + <item> Menu </item> + <item> MenuBar </item> + <item> MenuBarUI </item> + <item> MenuComponent </item> + <item> MenuContainer </item> + <item> MenuDragMouseEvent </item> + <item> MenuDragMouseListener </item> + <item> MenuElement </item> + <item> MenuEvent </item> + <item> MenuItem </item> + <item> MenuItemUI </item> + <item> MenuKeyEvent </item> + <item> MenuKeyListener </item> + <item> MenuListener </item> + <item> MenuSelectionManager </item> + <item> MenuShortcut </item> + <item> MessageDigest </item> + <item> MessageDigestSpi </item> + <item> MessageFormat </item> + <item> MessageFormat.Field </item> + <item> MessageProp </item> + <item> MetaEventListener </item> + <item> MetaMessage </item> + <item> MetalBorders </item> + <item> MetalBorders.ButtonBorder </item> + <item> MetalBorders.Flush3DBorder </item> + <item> MetalBorders.InternalFrameBorder </item> + <item> MetalBorders.MenuBarBorder </item> + <item> MetalBorders.MenuItemBorder </item> + <item> MetalBorders.OptionDialogBorder </item> + <item> MetalBorders.PaletteBorder </item> + <item> MetalBorders.PopupMenuBorder </item> + <item> MetalBorders.RolloverButtonBorder </item> + <item> MetalBorders.ScrollPaneBorder </item> + <item> MetalBorders.TableHeaderBorder </item> + <item> MetalBorders.TextFieldBorder </item> + <item> MetalBorders.ToggleButtonBorder </item> + <item> MetalBorders.ToolBarBorder </item> + <item> MetalButtonUI </item> + <item> MetalCheckBoxIcon </item> + <item> MetalCheckBoxUI </item> + <item> MetalComboBoxButton </item> + <item> MetalComboBoxEditor </item> + <item> MetalComboBoxEditor.UIResource </item> + <item> MetalComboBoxIcon </item> + <item> MetalComboBoxUI </item> + <item> MetalDesktopIconUI </item> + <item> MetalFileChooserUI </item> + <item> MetalIconFactory </item> + <item> MetalIconFactory.FileIcon16 </item> + <item> MetalIconFactory.FolderIcon16 </item> + <item> MetalIconFactory.PaletteCloseIcon </item> + <item> MetalIconFactory.TreeControlIcon </item> + <item> MetalIconFactory.TreeFolderIcon </item> + <item> MetalIconFactory.TreeLeafIcon </item> + <item> MetalInternalFrameTitlePane </item> + <item> MetalInternalFrameUI </item> + <item> MetalLabelUI </item> + <item> MetalLookAndFeel </item> + <item> MetalMenuBarUI </item> + <item> MetalPopupMenuSeparatorUI </item> + <item> MetalProgressBarUI </item> + <item> MetalRadioButtonUI </item> + <item> MetalRootPaneUI </item> + <item> MetalScrollBarUI </item> + <item> MetalScrollButton </item> + <item> MetalScrollPaneUI </item> + <item> MetalSeparatorUI </item> + <item> MetalSliderUI </item> + <item> MetalSplitPaneUI </item> + <item> MetalTabbedPaneUI </item> + <item> MetalTextFieldUI </item> + <item> MetalTheme </item> + <item> MetalToggleButtonUI </item> + <item> MetalToolBarUI </item> + <item> MetalToolTipUI </item> + <item> MetalTreeUI </item> + <item> Method </item> + <item> MethodDescriptor </item> + <item> MidiChannel </item> + <item> MidiDevice </item> + <item> MidiDevice.Info </item> + <item> MidiDeviceProvider </item> + <item> MidiEvent </item> + <item> MidiFileFormat </item> + <item> MidiFileReader </item> + <item> MidiFileWriter </item> + <item> MidiMessage </item> + <item> MidiSystem </item> + <item> MidiUnavailableException </item> + <item> MimeTypeParseException </item> + <item> MinimalHTMLWriter </item> + <item> MissingFormatArgumentException </item> + <item> MissingFormatWidthException </item> + <item> MissingResourceException </item> + <item> Mixer </item> + <item> Mixer.Info </item> + <item> MixerProvider </item> + <item> ModelMBean </item> + <item> ModelMBeanAttributeInfo </item> + <item> ModelMBeanConstructorInfo </item> + <item> ModelMBeanInfo </item> + <item> ModelMBeanInfoSupport </item> + <item> ModelMBeanNotificationBroadcaster </item> + <item> ModelMBeanNotificationInfo </item> + <item> ModelMBeanOperationInfo </item> + <item> ModificationItem </item> + <item> Modifier </item> + <item> Monitor </item> + <item> MonitorMBean </item> + <item> MonitorNotification </item> + <item> MonitorSettingException </item> + <item> MouseAdapter </item> + <item> MouseDragGestureRecognizer </item> + <item> MouseEvent </item> + <item> MouseInfo </item> + <item> MouseInputAdapter </item> + <item> MouseInputListener </item> + <item> MouseListener </item> + <item> MouseMotionAdapter </item> + <item> MouseMotionListener </item> + <item> MouseWheelEvent </item> + <item> MouseWheelListener </item> + <item> MultiButtonUI </item> + <item> MultiColorChooserUI </item> + <item> MultiComboBoxUI </item> + <item> MultiDesktopIconUI </item> + <item> MultiDesktopPaneUI </item> + <item> MultiDoc </item> + <item> MultiDocPrintJob </item> + <item> MultiDocPrintService </item> + <item> MultiFileChooserUI </item> + <item> MultiInternalFrameUI </item> + <item> MultiLabelUI </item> + <item> MultiListUI </item> + <item> MultiLookAndFeel </item> + <item> MultiMenuBarUI </item> + <item> MultiMenuItemUI </item> + <item> MultiOptionPaneUI </item> + <item> MultiPanelUI </item> + <item> MultiPixelPackedSampleModel </item> + <item> MultiPopupMenuUI </item> + <item> MultiProgressBarUI </item> + <item> MultiRootPaneUI </item> + <item> MultiScrollBarUI </item> + <item> MultiScrollPaneUI </item> + <item> MultiSeparatorUI </item> + <item> MultiSliderUI </item> + <item> MultiSpinnerUI </item> + <item> MultiSplitPaneUI </item> + <item> MultiTabbedPaneUI </item> + <item> MultiTableHeaderUI </item> + <item> MultiTableUI </item> + <item> MultiTextUI </item> + <item> MultiToolBarUI </item> + <item> MultiToolTipUI </item> + <item> MultiTreeUI </item> + <item> MultiViewportUI </item> + <item> MulticastSocket </item> + <item> MultipleComponentProfileHelper </item> + <item> MultipleComponentProfileHolder </item> + <item> MultipleDocumentHandling </item> + <item> MultipleMaster </item> + <item> MutableAttributeSet </item> + <item> MutableComboBoxModel </item> + <item> MutableTreeNode </item> + <item> NON_EXISTENT </item> + <item> NO_IMPLEMENT </item> + <item> NO_MEMORY </item> + <item> NO_PERMISSION </item> + <item> NO_RESOURCES </item> + <item> NO_RESPONSE </item> + <item> NVList </item> + <item> Name </item> + <item> NameAlreadyBoundException </item> + <item> NameCallback </item> + <item> NameClassPair </item> + <item> NameComponent </item> + <item> NameComponentHelper </item> + <item> NameComponentHolder </item> + <item> NameDynAnyPair </item> + <item> NameDynAnyPairHelper </item> + <item> NameDynAnyPairSeqHelper </item> + <item> NameHelper </item> + <item> NameHolder </item> + <item> NameList </item> + <item> NameNotFoundException </item> + <item> NameParser </item> + <item> NameValuePair </item> + <item> NameValuePair </item> + <item> NameValuePairHelper </item> + <item> NameValuePairHelper </item> + <item> NameValuePairSeqHelper </item> + <item> NamedNodeMap </item> + <item> NamedValue </item> + <item> NamespaceChangeListener </item> + <item> NamespaceContext </item> + <item> NamespaceSupport </item> + <item> Naming </item> + <item> NamingContext </item> + <item> NamingContextExt </item> + <item> NamingContextExtHelper </item> + <item> NamingContextExtHolder </item> + <item> NamingContextExtOperations </item> + <item> NamingContextExtPOA </item> + <item> NamingContextHelper </item> + <item> NamingContextHolder </item> + <item> NamingContextOperations </item> + <item> NamingContextPOA </item> + <item> NamingEnumeration </item> + <item> NamingEvent </item> + <item> NamingException </item> + <item> NamingExceptionEvent </item> + <item> NamingListener </item> + <item> NamingManager </item> + <item> NamingSecurityException </item> + <item> NavigationFilter </item> + <item> NavigationFilter.FilterBypass </item> + <item> NegativeArraySizeException </item> + <item> NetPermission </item> + <item> NetworkInterface </item> + <item> NoClassDefFoundError </item> + <item> NoConnectionPendingException </item> + <item> NoContext </item> + <item> NoContextHelper </item> + <item> NoInitialContextException </item> + <item> NoPermissionException </item> + <item> NoRouteToHostException </item> + <item> NoServant </item> + <item> NoServantHelper </item> + <item> NoSuchAlgorithmException </item> + <item> NoSuchAttributeException </item> + <item> NoSuchElementException </item> + <item> NoSuchFieldError </item> + <item> NoSuchFieldException </item> + <item> NoSuchMethodError </item> + <item> NoSuchMethodException </item> + <item> NoSuchObjectException </item> + <item> NoSuchPaddingException </item> + <item> NoSuchProviderException </item> + <item> Node </item> + <item> NodeChangeEvent </item> + <item> NodeChangeListener </item> + <item> NodeList </item> + <item> NonReadableChannelException </item> + <item> NonWritableChannelException </item> + <item> NoninvertibleTransformException </item> + <item> NotActiveException </item> + <item> NotBoundException </item> + <item> NotCompliantMBeanException </item> + <item> NotContextException </item> + <item> NotEmpty </item> + <item> NotEmptyHelper </item> + <item> NotEmptyHolder </item> + <item> NotFound </item> + <item> NotFoundHelper </item> + <item> NotFoundHolder </item> + <item> NotFoundReason </item> + <item> NotFoundReasonHelper </item> + <item> NotFoundReasonHolder </item> + <item> NotOwnerException </item> + <item> NotSerializableException </item> + <item> NotYetBoundException </item> + <item> NotYetConnectedException </item> + <item> Notation </item> + <item> Notification </item> + <item> NotificationBroadcaster </item> + <item> NotificationBroadcasterSupport </item> + <item> NotificationEmitter </item> + <item> NotificationFilter </item> + <item> NotificationFilterSupport </item> + <item> NotificationListener </item> + <item> NotificationResult </item> + <item> NullCipher </item> + <item> NullPointerException </item> + <item> Number </item> + <item> NumberFormat </item> + <item> NumberFormat.Field </item> + <item> NumberFormatException </item> + <item> NumberFormatter </item> + <item> NumberOfDocuments </item> + <item> NumberOfInterveningJobs </item> + <item> NumberUp </item> + <item> NumberUpSupported </item> + <item> NumericShaper </item> + <item> OAEPParameterSpec </item> + <item> OBJECT_NOT_EXIST </item> + <item> OBJ_ADAPTER </item> + <item> OMGVMCID </item> + <item> ORB </item> + <item> ORB </item> + <item> ORBIdHelper </item> + <item> ORBInitInfo </item> + <item> ORBInitInfoOperations </item> + <item> ORBInitializer </item> + <item> ORBInitializerOperations </item> + <item> ObjID </item> + <item> Object </item> + <item> Object </item> + <item> ObjectAlreadyActive </item> + <item> ObjectAlreadyActiveHelper </item> + <item> ObjectChangeListener </item> + <item> ObjectFactory </item> + <item> ObjectFactoryBuilder </item> + <item> ObjectHelper </item> + <item> ObjectHolder </item> + <item> ObjectIdHelper </item> + <item> ObjectIdHelper </item> + <item> ObjectImpl </item> + <item> ObjectImpl </item> + <item> ObjectInput </item> + <item> ObjectInputStream </item> + <item> ObjectInputStream.GetField </item> + <item> ObjectInputValidation </item> + <item> ObjectInstance </item> + <item> ObjectName </item> + <item> ObjectNotActive </item> + <item> ObjectNotActiveHelper </item> + <item> ObjectOutput </item> + <item> ObjectOutputStream </item> + <item> ObjectOutputStream.PutField </item> + <item> ObjectReferenceFactory </item> + <item> ObjectReferenceFactoryHelper </item> + <item> ObjectReferenceFactoryHolder </item> + <item> ObjectReferenceTemplate </item> + <item> ObjectReferenceTemplateHelper </item> + <item> ObjectReferenceTemplateHolder </item> + <item> ObjectReferenceTemplateSeqHelper </item> + <item> ObjectReferenceTemplateSeqHolder </item> + <item> ObjectStreamClass </item> + <item> ObjectStreamConstants </item> + <item> ObjectStreamException </item> + <item> ObjectStreamField </item> + <item> ObjectView </item> + <item> Observable </item> + <item> Observer </item> + <item> OceanTheme </item> + <item> OctetSeqHelper </item> + <item> OctetSeqHolder </item> + <item> Oid </item> + <item> OpenDataException </item> + <item> OpenMBeanAttributeInfo </item> + <item> OpenMBeanAttributeInfoSupport </item> + <item> OpenMBeanConstructorInfo </item> + <item> OpenMBeanConstructorInfoSupport </item> + <item> OpenMBeanInfo </item> + <item> OpenMBeanInfoSupport </item> + <item> OpenMBeanOperationInfo </item> + <item> OpenMBeanOperationInfoSupport </item> + <item> OpenMBeanParameterInfo </item> + <item> OpenMBeanParameterInfoSupport </item> + <item> OpenType </item> + <item> OpenType </item> + <item> OperatingSystemMXBean </item> + <item> Operation </item> + <item> OperationNotSupportedException </item> + <item> OperationsException </item> + <item> Option </item> + <item> OptionPaneUI </item> + <item> OptionalDataException </item> + <item> OrientationRequested </item> + <item> OutOfMemoryError </item> + <item> OutputDeviceAssigned </item> + <item> OutputKeys </item> + <item> OutputStream </item> + <item> OutputStream </item> + <item> OutputStream </item> + <item> OutputStreamWriter </item> + <item> OverlappingFileLockException </item> + <item> OverlayLayout </item> + <item> Override </item> + <item> Owner </item> + <item> PBEKey </item> + <item> PBEKeySpec </item> + <item> PBEParameterSpec </item> + <item> PDLOverrideSupported </item> + <item> PERSIST_STORE </item> + <item> PKCS8EncodedKeySpec </item> + <item> PKIXBuilderParameters </item> + <item> PKIXCertPathBuilderResult </item> + <item> PKIXCertPathChecker </item> + <item> PKIXCertPathValidatorResult </item> + <item> PKIXParameters </item> + <item> POA </item> + <item> POAHelper </item> + <item> POAManager </item> + <item> POAManagerOperations </item> + <item> POAOperations </item> + <item> PRIVATE_MEMBER </item> + <item> PSSParameterSpec </item> + <item> PSource </item> + <item> PSource.PSpecified </item> + <item> PUBLIC_MEMBER </item> + <item> Pack200 </item> + <item> Pack200.Packer </item> + <item> Pack200.Unpacker </item> + <item> Package </item> + <item> PackedColorModel </item> + <item> PageAttributes </item> + <item> PageAttributes.ColorType </item> + <item> PageAttributes.MediaType </item> + <item> PageAttributes.OrientationRequestedType </item> + <item> PageAttributes.OriginType </item> + <item> PageAttributes.PrintQualityType </item> + <item> PageFormat </item> + <item> PageRanges </item> + <item> Pageable </item> + <item> PagedResultsControl </item> + <item> PagedResultsResponseControl </item> + <item> PagesPerMinute </item> + <item> PagesPerMinuteColor </item> + <item> Paint </item> + <item> PaintContext </item> + <item> PaintEvent </item> + <item> Panel </item> + <item> PanelUI </item> + <item> Paper </item> + <item> ParagraphView </item> + <item> ParagraphView </item> + <item> Parameter </item> + <item> ParameterBlock </item> + <item> ParameterDescriptor </item> + <item> ParameterMetaData </item> + <item> ParameterMode </item> + <item> ParameterModeHelper </item> + <item> ParameterModeHolder </item> + <item> ParameterizedType </item> + <item> ParseException </item> + <item> ParsePosition </item> + <item> Parser </item> + <item> Parser </item> + <item> ParserAdapter </item> + <item> ParserConfigurationException </item> + <item> ParserDelegator </item> + <item> ParserFactory </item> + <item> PartialResultException </item> + <item> PasswordAuthentication </item> + <item> PasswordCallback </item> + <item> PasswordView </item> + <item> Patch </item> + <item> PathIterator </item> + <item> Pattern </item> + <item> PatternSyntaxException </item> + <item> Permission </item> + <item> Permission </item> + <item> PermissionCollection </item> + <item> Permissions </item> + <item> PersistenceDelegate </item> + <item> PersistentMBean </item> + <item> PhantomReference </item> + <item> Pipe </item> + <item> Pipe.SinkChannel </item> + <item> Pipe.SourceChannel </item> + <item> PipedInputStream </item> + <item> PipedOutputStream </item> + <item> PipedReader </item> + <item> PipedWriter </item> + <item> PixelGrabber </item> + <item> PixelInterleavedSampleModel </item> + <item> PlainDocument </item> + <item> PlainView </item> + <item> Point </item> + <item> Point2D </item> + <item> Point2D.Double </item> + <item> Point2D.Float </item> + <item> PointerInfo </item> + <item> Policy </item> + <item> Policy </item> + <item> Policy </item> + <item> PolicyError </item> + <item> PolicyErrorCodeHelper </item> + <item> PolicyErrorHelper </item> + <item> PolicyErrorHolder </item> + <item> PolicyFactory </item> + <item> PolicyFactoryOperations </item> + <item> PolicyHelper </item> + <item> PolicyHolder </item> + <item> PolicyListHelper </item> + <item> PolicyListHolder </item> + <item> PolicyNode </item> + <item> PolicyOperations </item> + <item> PolicyQualifierInfo </item> + <item> PolicyTypeHelper </item> + <item> Polygon </item> + <item> PooledConnection </item> + <item> Popup </item> + <item> PopupFactory </item> + <item> PopupMenu </item> + <item> PopupMenuEvent </item> + <item> PopupMenuListener </item> + <item> PopupMenuUI </item> + <item> Port </item> + <item> Port.Info </item> + <item> PortUnreachableException </item> + <item> PortableRemoteObject </item> + <item> PortableRemoteObjectDelegate </item> + <item> Position </item> + <item> Position.Bias </item> + <item> Predicate </item> + <item> PreferenceChangeEvent </item> + <item> PreferenceChangeListener </item> + <item> Preferences </item> + <item> PreferencesFactory </item> + <item> PreparedStatement </item> + <item> PresentationDirection </item> + <item> Principal </item> + <item> Principal </item> + <item> PrincipalHolder </item> + <item> PrintEvent </item> + <item> PrintException </item> + <item> PrintGraphics </item> + <item> PrintJob </item> + <item> PrintJobAdapter </item> + <item> PrintJobAttribute </item> + <item> PrintJobAttributeEvent </item> + <item> PrintJobAttributeListener </item> + <item> PrintJobAttributeSet </item> + <item> PrintJobEvent </item> + <item> PrintJobListener </item> + <item> PrintQuality </item> + <item> PrintRequestAttribute </item> + <item> PrintRequestAttributeSet </item> + <item> PrintService </item> + <item> PrintServiceAttribute </item> + <item> PrintServiceAttributeEvent </item> + <item> PrintServiceAttributeListener </item> + <item> PrintServiceAttributeSet </item> + <item> PrintServiceLookup </item> + <item> PrintStream </item> + <item> PrintWriter </item> + <item> Printable </item> + <item> PrinterAbortException </item> + <item> PrinterException </item> + <item> PrinterGraphics </item> + <item> PrinterIOException </item> + <item> PrinterInfo </item> + <item> PrinterIsAcceptingJobs </item> + <item> PrinterJob </item> + <item> PrinterLocation </item> + <item> PrinterMakeAndModel </item> + <item> PrinterMessageFromOperator </item> + <item> PrinterMoreInfo </item> + <item> PrinterMoreInfoManufacturer </item> + <item> PrinterName </item> + <item> PrinterResolution </item> + <item> PrinterState </item> + <item> PrinterStateReason </item> + <item> PrinterStateReasons </item> + <item> PrinterURI </item> + <item> PriorityBlockingQueue </item> + <item> PriorityQueue </item> + <item> PrivateClassLoader </item> + <item> PrivateCredentialPermission </item> + <item> PrivateKey </item> + <item> PrivateMLet </item> + <item> PrivilegedAction </item> + <item> PrivilegedActionException </item> + <item> PrivilegedExceptionAction </item> + <item> Process </item> + <item> ProcessBuilder </item> + <item> ProcessingInstruction </item> + <item> ProfileDataException </item> + <item> ProfileIdHelper </item> + <item> ProgressBarUI </item> + <item> ProgressMonitor </item> + <item> ProgressMonitorInputStream </item> + <item> Properties </item> + <item> PropertyChangeEvent </item> + <item> PropertyChangeListener </item> + <item> PropertyChangeListenerProxy </item> + <item> PropertyChangeSupport </item> + <item> PropertyDescriptor </item> + <item> PropertyEditor </item> + <item> PropertyEditorManager </item> + <item> PropertyEditorSupport </item> + <item> PropertyPermission </item> + <item> PropertyResourceBundle </item> + <item> PropertyVetoException </item> + <item> ProtectionDomain </item> + <item> ProtocolException </item> + <item> Provider </item> + <item> Provider.Service </item> + <item> ProviderException </item> + <item> Proxy </item> + <item> Proxy </item> + <item> Proxy.Type </item> + <item> ProxySelector </item> + <item> PublicKey </item> + <item> PushbackInputStream </item> + <item> PushbackReader </item> + <item> QName </item> + <item> QuadCurve2D </item> + <item> QuadCurve2D.Double </item> + <item> QuadCurve2D.Float </item> + <item> Query </item> + <item> QueryEval </item> + <item> QueryExp </item> + <item> Queue </item> + <item> QueuedJobCount </item> + <item> RC2ParameterSpec </item> + <item> RC5ParameterSpec </item> + <item> REBIND </item> + <item> REQUEST_PROCESSING_POLICY_ID </item> + <item> RGBImageFilter </item> + <item> RMIClassLoader </item> + <item> RMIClassLoaderSpi </item> + <item> RMIClientSocketFactory </item> + <item> RMIConnection </item> + <item> RMIConnectionImpl </item> + <item> RMIConnectionImpl_Stub </item> + <item> RMIConnector </item> + <item> RMIConnectorServer </item> + <item> RMICustomMaxStreamFormat </item> + <item> RMIFailureHandler </item> + <item> RMIIIOPServerImpl </item> + <item> RMIJRMPServerImpl </item> + <item> RMISecurityException </item> + <item> RMISecurityManager </item> + <item> RMIServer </item> + <item> RMIServerImpl </item> + <item> RMIServerImpl_Stub </item> + <item> RMIServerSocketFactory </item> + <item> RMISocketFactory </item> + <item> RSAKey </item> + <item> RSAKeyGenParameterSpec </item> + <item> RSAMultiPrimePrivateCrtKey </item> + <item> RSAMultiPrimePrivateCrtKeySpec </item> + <item> RSAOtherPrimeInfo </item> + <item> RSAPrivateCrtKey </item> + <item> RSAPrivateCrtKeySpec </item> + <item> RSAPrivateKey </item> + <item> RSAPrivateKeySpec </item> + <item> RSAPublicKey </item> + <item> RSAPublicKeySpec </item> + <item> RTFEditorKit </item> + <item> Random </item> + <item> RandomAccess </item> + <item> RandomAccessFile </item> + <item> Raster </item> + <item> RasterFormatException </item> + <item> RasterOp </item> + <item> Rdn </item> + <item> ReadOnlyBufferException </item> + <item> ReadWriteLock </item> + <item> Readable </item> + <item> ReadableByteChannel </item> + <item> Reader </item> + <item> RealmCallback </item> + <item> RealmChoiceCallback </item> + <item> Receiver </item> + <item> Rectangle </item> + <item> Rectangle2D </item> + <item> Rectangle2D.Double </item> + <item> Rectangle2D.Float </item> + <item> RectangularShape </item> + <item> ReentrantLock </item> + <item> ReentrantReadWriteLock </item> + <item> ReentrantReadWriteLock.ReadLock </item> + <item> ReentrantReadWriteLock.WriteLock </item> + <item> Ref </item> + <item> RefAddr </item> + <item> Reference </item> + <item> Reference </item> + <item> ReferenceQueue </item> + <item> ReferenceUriSchemesSupported </item> + <item> Referenceable </item> + <item> ReferralException </item> + <item> ReflectPermission </item> + <item> ReflectionException </item> + <item> RefreshFailedException </item> + <item> Refreshable </item> + <item> Region </item> + <item> RegisterableService </item> + <item> Registry </item> + <item> RegistryHandler </item> + <item> RejectedExecutionException </item> + <item> RejectedExecutionHandler </item> + <item> Relation </item> + <item> RelationException </item> + <item> RelationNotFoundException </item> + <item> RelationNotification </item> + <item> RelationService </item> + <item> RelationServiceMBean </item> + <item> RelationServiceNotRegisteredException </item> + <item> RelationSupport </item> + <item> RelationSupportMBean </item> + <item> RelationType </item> + <item> RelationTypeNotFoundException </item> + <item> RelationTypeSupport </item> + <item> RemarshalException </item> + <item> Remote </item> + <item> RemoteCall </item> + <item> RemoteException </item> + <item> RemoteObject </item> + <item> RemoteObjectInvocationHandler </item> + <item> RemoteRef </item> + <item> RemoteServer </item> + <item> RemoteStub </item> + <item> RenderContext </item> + <item> RenderableImage </item> + <item> RenderableImageOp </item> + <item> RenderableImageProducer </item> + <item> RenderedImage </item> + <item> RenderedImageFactory </item> + <item> Renderer </item> + <item> RenderingHints </item> + <item> RenderingHints.Key </item> + <item> RepaintManager </item> + <item> ReplicateScaleFilter </item> + <item> RepositoryIdHelper </item> + <item> Request </item> + <item> RequestInfo </item> + <item> RequestInfoOperations </item> + <item> RequestProcessingPolicy </item> + <item> RequestProcessingPolicyOperations </item> + <item> RequestProcessingPolicyValue </item> + <item> RequestingUserName </item> + <item> RequiredModelMBean </item> + <item> RescaleOp </item> + <item> ResolutionSyntax </item> + <item> ResolveResult </item> + <item> Resolver </item> + <item> ResourceBundle </item> + <item> ResponseCache </item> + <item> ResponseHandler </item> + <item> Result </item> + <item> ResultSet </item> + <item> ResultSetMetaData </item> + <item> Retention </item> + <item> RetentionPolicy </item> + <item> ReverbType </item> + <item> Robot </item> + <item> Role </item> + <item> RoleInfo </item> + <item> RoleInfoNotFoundException </item> + <item> RoleList </item> + <item> RoleNotFoundException </item> + <item> RoleResult </item> + <item> RoleStatus </item> + <item> RoleUnresolved </item> + <item> RoleUnresolvedList </item> + <item> RootPaneContainer </item> + <item> RootPaneUI </item> + <item> RoundRectangle2D </item> + <item> RoundRectangle2D.Double </item> + <item> RoundRectangle2D.Float </item> + <item> RoundingMode </item> + <item> RowMapper </item> + <item> RowSet </item> + <item> RowSetEvent </item> + <item> RowSetInternal </item> + <item> RowSetListener </item> + <item> RowSetMetaData </item> + <item> RowSetMetaDataImpl </item> + <item> RowSetReader </item> + <item> RowSetWarning </item> + <item> RowSetWriter </item> + <item> RuleBasedCollator </item> + <item> RunTime </item> + <item> RunTimeOperations </item> + <item> Runnable </item> + <item> Runtime </item> + <item> RuntimeErrorException </item> + <item> RuntimeException </item> + <item> RuntimeMBeanException </item> + <item> RuntimeMXBean </item> + <item> RuntimeOperationsException </item> + <item> RuntimePermission </item> + <item> SAXException </item> + <item> SAXNotRecognizedException </item> + <item> SAXNotSupportedException </item> + <item> SAXParseException </item> + <item> SAXParser </item> + <item> SAXParserFactory </item> + <item> SAXResult </item> + <item> SAXSource </item> + <item> SAXTransformerFactory </item> + <item> SERVANT_RETENTION_POLICY_ID </item> + <item> SQLData </item> + <item> SQLException </item> + <item> SQLInput </item> + <item> SQLInputImpl </item> + <item> SQLOutput </item> + <item> SQLOutputImpl </item> + <item> SQLPermission </item> + <item> SQLWarning </item> + <item> SSLContext </item> + <item> SSLContextSpi </item> + <item> SSLEngine </item> + <item> SSLEngineResult </item> + <item> SSLEngineResult.HandshakeStatus </item> + <item> SSLEngineResult.Status </item> + <item> SSLException </item> + <item> SSLHandshakeException </item> + <item> SSLKeyException </item> + <item> SSLPeerUnverifiedException </item> + <item> SSLPermission </item> + <item> SSLProtocolException </item> + <item> SSLServerSocket </item> + <item> SSLServerSocketFactory </item> + <item> SSLSession </item> + <item> SSLSessionBindingEvent </item> + <item> SSLSessionBindingListener </item> + <item> SSLSessionContext </item> + <item> SSLSocket </item> + <item> SSLSocketFactory </item> + <item> SUCCESSFUL </item> + <item> SYNC_WITH_TRANSPORT </item> + <item> SYSTEM_EXCEPTION </item> + <item> SampleModel </item> + <item> Sasl </item> + <item> SaslClient </item> + <item> SaslClientFactory </item> + <item> SaslException </item> + <item> SaslServer </item> + <item> SaslServerFactory </item> + <item> Savepoint </item> + <item> Scanner </item> + <item> ScatteringByteChannel </item> + <item> ScheduledExecutorService </item> + <item> ScheduledFuture </item> + <item> ScheduledThreadPoolExecutor </item> + <item> Schema </item> + <item> SchemaFactory </item> + <item> SchemaFactoryLoader </item> + <item> SchemaViolationException </item> + <item> ScrollBarUI </item> + <item> ScrollPane </item> + <item> ScrollPaneAdjustable </item> + <item> ScrollPaneConstants </item> + <item> ScrollPaneLayout </item> + <item> ScrollPaneLayout.UIResource </item> + <item> ScrollPaneUI </item> + <item> Scrollable </item> + <item> Scrollbar </item> + <item> SealedObject </item> + <item> SearchControls </item> + <item> SearchResult </item> + <item> SecretKey </item> + <item> SecretKeyFactory </item> + <item> SecretKeyFactorySpi </item> + <item> SecretKeySpec </item> + <item> SecureCacheResponse </item> + <item> SecureClassLoader </item> + <item> SecureRandom </item> + <item> SecureRandomSpi </item> + <item> Security </item> + <item> SecurityException </item> + <item> SecurityManager </item> + <item> SecurityPermission </item> + <item> Segment </item> + <item> SelectableChannel </item> + <item> SelectionKey </item> + <item> Selector </item> + <item> SelectorProvider </item> + <item> Semaphore </item> + <item> SeparatorUI </item> + <item> Sequence </item> + <item> SequenceInputStream </item> + <item> Sequencer </item> + <item> Sequencer.SyncMode </item> + <item> SerialArray </item> + <item> SerialBlob </item> + <item> SerialClob </item> + <item> SerialDatalink </item> + <item> SerialException </item> + <item> SerialJavaObject </item> + <item> SerialRef </item> + <item> SerialStruct </item> + <item> Serializable </item> + <item> SerializablePermission </item> + <item> Servant </item> + <item> ServantActivator </item> + <item> ServantActivatorHelper </item> + <item> ServantActivatorOperations </item> + <item> ServantActivatorPOA </item> + <item> ServantAlreadyActive </item> + <item> ServantAlreadyActiveHelper </item> + <item> ServantLocator </item> + <item> ServantLocatorHelper </item> + <item> ServantLocatorOperations </item> + <item> ServantLocatorPOA </item> + <item> ServantManager </item> + <item> ServantManagerOperations </item> + <item> ServantNotActive </item> + <item> ServantNotActiveHelper </item> + <item> ServantObject </item> + <item> ServantRetentionPolicy </item> + <item> ServantRetentionPolicyOperations </item> + <item> ServantRetentionPolicyValue </item> + <item> ServerCloneException </item> + <item> ServerError </item> + <item> ServerException </item> + <item> ServerIdHelper </item> + <item> ServerNotActiveException </item> + <item> ServerRef </item> + <item> ServerRequest </item> + <item> ServerRequestInfo </item> + <item> ServerRequestInfoOperations </item> + <item> ServerRequestInterceptor </item> + <item> ServerRequestInterceptorOperations </item> + <item> ServerRuntimeException </item> + <item> ServerSocket </item> + <item> ServerSocketChannel </item> + <item> ServerSocketFactory </item> + <item> ServiceContext </item> + <item> ServiceContextHelper </item> + <item> ServiceContextHolder </item> + <item> ServiceContextListHelper </item> + <item> ServiceContextListHolder </item> + <item> ServiceDetail </item> + <item> ServiceDetailHelper </item> + <item> ServiceIdHelper </item> + <item> ServiceInformation </item> + <item> ServiceInformationHelper </item> + <item> ServiceInformationHolder </item> + <item> ServiceNotFoundException </item> + <item> ServicePermission </item> + <item> ServiceRegistry </item> + <item> ServiceRegistry.Filter </item> + <item> ServiceUI </item> + <item> ServiceUIFactory </item> + <item> ServiceUnavailableException </item> + <item> Set </item> + <item> SetOfIntegerSyntax </item> + <item> SetOverrideType </item> + <item> SetOverrideTypeHelper </item> + <item> Severity </item> + <item> Shape </item> + <item> ShapeGraphicAttribute </item> + <item> SheetCollate </item> + <item> Short </item> + <item> ShortBuffer </item> + <item> ShortBufferException </item> + <item> ShortHolder </item> + <item> ShortLookupTable </item> + <item> ShortMessage </item> + <item> ShortSeqHelper </item> + <item> ShortSeqHolder </item> + <item> Sides </item> + <item> Signature </item> + <item> SignatureException </item> + <item> SignatureSpi </item> + <item> SignedObject </item> + <item> Signer </item> + <item> SimpleAttributeSet </item> + <item> SimpleBeanInfo </item> + <item> SimpleDateFormat </item> + <item> SimpleDoc </item> + <item> SimpleFormatter </item> + <item> SimpleTimeZone </item> + <item> SimpleType </item> + <item> SinglePixelPackedSampleModel </item> + <item> SingleSelectionModel </item> + <item> Size2DSyntax </item> + <item> SizeLimitExceededException </item> + <item> SizeRequirements </item> + <item> SizeSequence </item> + <item> Skeleton </item> + <item> SkeletonMismatchException </item> + <item> SkeletonNotFoundException </item> + <item> SliderUI </item> + <item> Socket </item> + <item> SocketAddress </item> + <item> SocketChannel </item> + <item> SocketException </item> + <item> SocketFactory </item> + <item> SocketHandler </item> + <item> SocketImpl </item> + <item> SocketImplFactory </item> + <item> SocketOptions </item> + <item> SocketPermission </item> + <item> SocketSecurityException </item> + <item> SocketTimeoutException </item> + <item> SoftBevelBorder </item> + <item> SoftReference </item> + <item> SortControl </item> + <item> SortKey </item> + <item> SortResponseControl </item> + <item> SortedMap </item> + <item> SortedSet </item> + <item> SortingFocusTraversalPolicy </item> + <item> Soundbank </item> + <item> SoundbankReader </item> + <item> SoundbankResource </item> + <item> Source </item> + <item> SourceDataLine </item> + <item> SourceLocator </item> + <item> SpinnerDateModel </item> + <item> SpinnerListModel </item> + <item> SpinnerModel </item> + <item> SpinnerNumberModel </item> + <item> SpinnerUI </item> + <item> SplitPaneUI </item> + <item> Spring </item> + <item> SpringLayout </item> + <item> SpringLayout.Constraints </item> + <item> SslRMIClientSocketFactory </item> + <item> SslRMIServerSocketFactory </item> + <item> Stack </item> + <item> StackOverflowError </item> + <item> StackTraceElement </item> + <item> StandardMBean </item> + <item> StartTlsRequest </item> + <item> StartTlsResponse </item> + <item> State </item> + <item> StateEdit </item> + <item> StateEditable </item> + <item> StateFactory </item> + <item> Statement </item> + <item> Statement </item> + <item> StreamCorruptedException </item> + <item> StreamHandler </item> + <item> StreamPrintService </item> + <item> StreamPrintServiceFactory </item> + <item> StreamResult </item> + <item> StreamSource </item> + <item> StreamTokenizer </item> + <item> Streamable </item> + <item> StreamableValue </item> + <item> StrictMath </item> + <item> String </item> + <item> StringBuffer </item> + <item> StringBufferInputStream </item> + <item> StringBuilder </item> + <item> StringCharacterIterator </item> + <item> StringContent </item> + <item> StringHolder </item> + <item> StringIndexOutOfBoundsException </item> + <item> StringMonitor </item> + <item> StringMonitorMBean </item> + <item> StringNameHelper </item> + <item> StringReader </item> + <item> StringRefAddr </item> + <item> StringSelection </item> + <item> StringSeqHelper </item> + <item> StringSeqHolder </item> + <item> StringTokenizer </item> + <item> StringValueExp </item> + <item> StringValueHelper </item> + <item> StringWriter </item> + <item> Stroke </item> + <item> Struct </item> + <item> StructMember </item> + <item> StructMemberHelper </item> + <item> Stub </item> + <item> StubDelegate </item> + <item> StubNotFoundException </item> + <item> Style </item> + <item> StyleConstants </item> + <item> StyleConstants.CharacterConstants </item> + <item> StyleConstants.ColorConstants </item> + <item> StyleConstants.FontConstants </item> + <item> StyleConstants.ParagraphConstants </item> + <item> StyleContext </item> + <item> StyleSheet </item> + <item> StyleSheet.BoxPainter </item> + <item> StyleSheet.ListPainter </item> + <item> StyledDocument </item> + <item> StyledEditorKit </item> + <item> StyledEditorKit.AlignmentAction </item> + <item> StyledEditorKit.BoldAction </item> + <item> StyledEditorKit.FontFamilyAction </item> + <item> StyledEditorKit.FontSizeAction </item> + <item> StyledEditorKit.ForegroundAction </item> + <item> StyledEditorKit.ItalicAction </item> + <item> StyledEditorKit.StyledTextAction </item> + <item> StyledEditorKit.UnderlineAction </item> + <item> Subject </item> + <item> SubjectDelegationPermission </item> + <item> SubjectDomainCombiner </item> + <item> SupportedValuesAttribute </item> + <item> SuppressWarnings </item> + <item> SwingConstants </item> + <item> SwingPropertyChangeSupport </item> + <item> SwingUtilities </item> + <item> SyncFactory </item> + <item> SyncFactoryException </item> + <item> SyncFailedException </item> + <item> SyncProvider </item> + <item> SyncProviderException </item> + <item> SyncResolver </item> + <item> SyncScopeHelper </item> + <item> SynchronousQueue </item> + <item> SynthConstants </item> + <item> SynthContext </item> + <item> SynthGraphicsUtils </item> + <item> SynthLookAndFeel </item> + <item> SynthPainter </item> + <item> SynthStyle </item> + <item> SynthStyleFactory </item> + <item> Synthesizer </item> + <item> SysexMessage </item> + <item> System </item> + <item> SystemColor </item> + <item> SystemException </item> + <item> SystemFlavorMap </item> + <item> TAG_ALTERNATE_IIOP_ADDRESS </item> + <item> TAG_CODE_SETS </item> + <item> TAG_INTERNET_IOP </item> + <item> TAG_JAVA_CODEBASE </item> + <item> TAG_MULTIPLE_COMPONENTS </item> + <item> TAG_ORB_TYPE </item> + <item> TAG_POLICIES </item> + <item> TAG_RMI_CUSTOM_MAX_STREAM_FORMAT </item> + <item> TCKind </item> + <item> THREAD_POLICY_ID </item> + <item> TIMEOUT </item> + <item> TRANSACTION_MODE </item> + <item> TRANSACTION_REQUIRED </item> + <item> TRANSACTION_ROLLEDBACK </item> + <item> TRANSACTION_UNAVAILABLE </item> + <item> TRANSIENT </item> + <item> TRANSPORT_RETRY </item> + <item> TabExpander </item> + <item> TabSet </item> + <item> TabStop </item> + <item> TabableView </item> + <item> TabbedPaneUI </item> + <item> TableCellEditor </item> + <item> TableCellRenderer </item> + <item> TableColumn </item> + <item> TableColumnModel </item> + <item> TableColumnModelEvent </item> + <item> TableColumnModelListener </item> + <item> TableHeaderUI </item> + <item> TableModel </item> + <item> TableModelEvent </item> + <item> TableModelListener </item> + <item> TableUI </item> + <item> TableView </item> + <item> TabularData </item> + <item> TabularDataSupport </item> + <item> TabularType </item> + <item> TagElement </item> + <item> TaggedComponent </item> + <item> TaggedComponentHelper </item> + <item> TaggedComponentHolder </item> + <item> TaggedProfile </item> + <item> TaggedProfileHelper </item> + <item> TaggedProfileHolder </item> + <item> Target </item> + <item> TargetDataLine </item> + <item> TargetedNotification </item> + <item> Templates </item> + <item> TemplatesHandler </item> + <item> Text </item> + <item> TextAction </item> + <item> TextArea </item> + <item> TextAttribute </item> + <item> TextComponent </item> + <item> TextEvent </item> + <item> TextField </item> + <item> TextHitInfo </item> + <item> TextInputCallback </item> + <item> TextLayout </item> + <item> TextLayout.CaretPolicy </item> + <item> TextListener </item> + <item> TextMeasurer </item> + <item> TextOutputCallback </item> + <item> TextSyntax </item> + <item> TextUI </item> + <item> TexturePaint </item> + <item> Thread </item> + <item> Thread.State </item> + <item> Thread.UncaughtExceptionHandler </item> + <item> ThreadDeath </item> + <item> ThreadFactory </item> + <item> ThreadGroup </item> + <item> ThreadInfo </item> + <item> ThreadLocal </item> + <item> ThreadMXBean </item> + <item> ThreadPolicy </item> + <item> ThreadPolicyOperations </item> + <item> ThreadPolicyValue </item> + <item> ThreadPoolExecutor </item> + <item> ThreadPoolExecutor.AbortPolicy </item> + <item> ThreadPoolExecutor.CallerRunsPolicy </item> + <item> ThreadPoolExecutor.DiscardOldestPolicy </item> + <item> ThreadPoolExecutor.DiscardPolicy </item> + <item> Throwable </item> + <item> Tie </item> + <item> TileObserver </item> + <item> Time </item> + <item> TimeLimitExceededException </item> + <item> TimeUnit </item> + <item> TimeZone </item> + <item> TimeoutException </item> + <item> Timer </item> + <item> Timer </item> + <item> Timer </item> + <item> TimerAlarmClockNotification </item> + <item> TimerMBean </item> + <item> TimerNotification </item> + <item> TimerTask </item> + <item> Timestamp </item> + <item> Timestamp </item> + <item> TitledBorder </item> + <item> TooManyListenersException </item> + <item> ToolBarUI </item> + <item> ToolTipManager </item> + <item> ToolTipUI </item> + <item> Toolkit </item> + <item> Track </item> + <item> TransactionRequiredException </item> + <item> TransactionRolledbackException </item> + <item> TransactionService </item> + <item> TransactionalWriter </item> + <item> TransferHandler </item> + <item> Transferable </item> + <item> TransformAttribute </item> + <item> Transformer </item> + <item> TransformerConfigurationException </item> + <item> TransformerException </item> + <item> TransformerFactory </item> + <item> TransformerFactoryConfigurationError </item> + <item> TransformerHandler </item> + <item> Transmitter </item> + <item> Transparency </item> + <item> TreeCellEditor </item> + <item> TreeCellRenderer </item> + <item> TreeExpansionEvent </item> + <item> TreeExpansionListener </item> + <item> TreeMap </item> + <item> TreeModel </item> + <item> TreeModelEvent </item> + <item> TreeModelListener </item> + <item> TreeNode </item> + <item> TreePath </item> + <item> TreeSelectionEvent </item> + <item> TreeSelectionListener </item> + <item> TreeSelectionModel </item> + <item> TreeSet </item> + <item> TreeUI </item> + <item> TreeWillExpandListener </item> + <item> TrustAnchor </item> + <item> TrustManager </item> + <item> TrustManagerFactory </item> + <item> TrustManagerFactorySpi </item> + <item> Type </item> + <item> TypeCode </item> + <item> TypeCodeHolder </item> + <item> TypeInfo </item> + <item> TypeInfoProvider </item> + <item> TypeMismatch </item> + <item> TypeMismatch </item> + <item> TypeMismatch </item> + <item> TypeMismatchHelper </item> + <item> TypeMismatchHelper </item> + <item> TypeNotPresentException </item> + <item> TypeVariable </item> + <item> Types </item> + <item> UID </item> + <item> UIDefaults </item> + <item> UIDefaults.ActiveValue </item> + <item> UIDefaults.LazyInputMap </item> + <item> UIDefaults.LazyValue </item> + <item> UIDefaults.ProxyLazyValue </item> + <item> UIManager </item> + <item> UIManager.LookAndFeelInfo </item> + <item> UIResource </item> + <item> ULongLongSeqHelper </item> + <item> ULongLongSeqHolder </item> + <item> ULongSeqHelper </item> + <item> ULongSeqHolder </item> + <item> UNKNOWN </item> + <item> UNKNOWN </item> + <item> UNSUPPORTED_POLICY </item> + <item> UNSUPPORTED_POLICY_VALUE </item> + <item> URI </item> + <item> URIException </item> + <item> URIResolver </item> + <item> URISyntax </item> + <item> URISyntaxException </item> + <item> URL </item> + <item> URLClassLoader </item> + <item> URLConnection </item> + <item> URLDecoder </item> + <item> URLEncoder </item> + <item> URLStreamHandler </item> + <item> URLStreamHandlerFactory </item> + <item> URLStringHelper </item> + <item> USER_EXCEPTION </item> + <item> UShortSeqHelper </item> + <item> UShortSeqHolder </item> + <item> UTFDataFormatException </item> + <item> UUID </item> + <item> UndeclaredThrowableException </item> + <item> UndoManager </item> + <item> UndoableEdit </item> + <item> UndoableEditEvent </item> + <item> UndoableEditListener </item> + <item> UndoableEditSupport </item> + <item> UnexpectedException </item> + <item> UnicastRemoteObject </item> + <item> UnionMember </item> + <item> UnionMemberHelper </item> + <item> UnknownEncoding </item> + <item> UnknownEncodingHelper </item> + <item> UnknownError </item> + <item> UnknownException </item> + <item> UnknownFormatConversionException </item> + <item> UnknownFormatFlagsException </item> + <item> UnknownGroupException </item> + <item> UnknownHostException </item> + <item> UnknownHostException </item> + <item> UnknownObjectException </item> + <item> UnknownServiceException </item> + <item> UnknownUserException </item> + <item> UnknownUserExceptionHelper </item> + <item> UnknownUserExceptionHolder </item> + <item> UnmappableCharacterException </item> + <item> UnmarshalException </item> + <item> UnmodifiableClassException </item> + <item> UnmodifiableSetException </item> + <item> UnrecoverableEntryException </item> + <item> UnrecoverableKeyException </item> + <item> Unreferenced </item> + <item> UnresolvedAddressException </item> + <item> UnresolvedPermission </item> + <item> UnsatisfiedLinkError </item> + <item> UnsolicitedNotification </item> + <item> UnsolicitedNotificationEvent </item> + <item> UnsolicitedNotificationListener </item> + <item> UnsupportedAddressTypeException </item> + <item> UnsupportedAudioFileException </item> + <item> UnsupportedCallbackException </item> + <item> UnsupportedCharsetException </item> + <item> UnsupportedClassVersionError </item> + <item> UnsupportedEncodingException </item> + <item> UnsupportedFlavorException </item> + <item> UnsupportedLookAndFeelException </item> + <item> UnsupportedOperationException </item> + <item> UserDataHandler </item> + <item> UserException </item> + <item> Util </item> + <item> UtilDelegate </item> + <item> Utilities </item> + <item> VMID </item> + <item> VM_ABSTRACT </item> + <item> VM_CUSTOM </item> + <item> VM_NONE </item> + <item> VM_TRUNCATABLE </item> + <item> Validator </item> + <item> ValidatorHandler </item> + <item> ValueBase </item> + <item> ValueBaseHelper </item> + <item> ValueBaseHolder </item> + <item> ValueExp </item> + <item> ValueFactory </item> + <item> ValueHandler </item> + <item> ValueHandlerMultiFormat </item> + <item> ValueInputStream </item> + <item> ValueMember </item> + <item> ValueMemberHelper </item> + <item> ValueOutputStream </item> + <item> VariableHeightLayoutCache </item> + <item> Vector </item> + <item> VerifyError </item> + <item> VersionSpecHelper </item> + <item> VetoableChangeListener </item> + <item> VetoableChangeListenerProxy </item> + <item> VetoableChangeSupport </item> + <item> View </item> + <item> ViewFactory </item> + <item> ViewportLayout </item> + <item> ViewportUI </item> + <item> VirtualMachineError </item> + <item> Visibility </item> + <item> VisibilityHelper </item> + <item> VoiceStatus </item> + <item> Void </item> + <item> VolatileImage </item> + <item> WCharSeqHelper </item> + <item> WCharSeqHolder </item> + <item> WStringSeqHelper </item> + <item> WStringSeqHolder </item> + <item> WStringValueHelper </item> + <item> WeakHashMap </item> + <item> WeakReference </item> + <item> WebRowSet </item> + <item> WildcardType </item> + <item> Window </item> + <item> WindowAdapter </item> + <item> WindowConstants </item> + <item> WindowEvent </item> + <item> WindowFocusListener </item> + <item> WindowListener </item> + <item> WindowStateListener </item> + <item> WrappedPlainView </item> + <item> WritableByteChannel </item> + <item> WritableRaster </item> + <item> WritableRenderedImage </item> + <item> WriteAbortedException </item> + <item> Writer </item> + <item> WrongAdapter </item> + <item> WrongAdapterHelper </item> + <item> WrongPolicy </item> + <item> WrongPolicyHelper </item> + <item> WrongTransaction </item> + <item> WrongTransactionHelper </item> + <item> WrongTransactionHolder </item> + <item> X500Principal </item> + <item> X500PrivateCredential </item> + <item> X509CRL </item> + <item> X509CRLEntry </item> + <item> X509CRLSelector </item> + <item> X509CertSelector </item> + <item> X509Certificate </item> + <item> X509Certificate </item> + <item> X509EncodedKeySpec </item> + <item> X509ExtendedKeyManager </item> + <item> X509Extension </item> + <item> X509KeyManager </item> + <item> X509TrustManager </item> + <item> XAConnection </item> + <item> XADataSource </item> + <item> XAException </item> + <item> XAResource </item> + <item> XMLConstants </item> + <item> XMLDecoder </item> + <item> XMLEncoder </item> + <item> XMLFilter </item> + <item> XMLFilterImpl </item> + <item> XMLFormatter </item> + <item> XMLGregorianCalendar </item> + <item> XMLParseException </item> + <item> XMLReader </item> + <item> XMLReaderAdapter </item> + <item> XMLReaderFactory </item> + <item> XPath </item> + <item> XPathConstants </item> + <item> XPathException </item> + <item> XPathExpression </item> + <item> XPathExpressionException </item> + <item> XPathFactory </item> + <item> XPathFactoryConfigurationException </item> + <item> XPathFunction </item> + <item> XPathFunctionException </item> + <item> XPathFunctionResolver </item> + <item> XPathVariableResolver </item> + <item> Xid </item> + <item> XmlReader </item> + <item> XmlWriter </item> + <item> ZipEntry </item> + <item> ZipException </item> + <item> ZipFile </item> + <item> ZipInputStream </item> + <item> ZipOutputStream </item> + <item> ZoneView </item> + <item> _BindingIteratorImplBase </item> + <item> _BindingIteratorStub </item> + <item> _DynAnyFactoryStub </item> + <item> _DynAnyStub </item> + <item> _DynArrayStub </item> + <item> _DynEnumStub </item> + <item> _DynFixedStub </item> + <item> _DynSequenceStub </item> + <item> _DynStructStub </item> + <item> _DynUnionStub </item> + <item> _DynValueStub </item> + <item> _IDLTypeStub </item> + <item> _NamingContextExtStub </item> + <item> _NamingContextImplBase </item> + <item> _NamingContextStub </item> + <item> _PolicyStub </item> + <item> _Remote_Stub </item> + <item> _ServantActivatorStub </item> + <item> _ServantLocatorStub </item> + </list> + <list name="keywords"> + <item> abstract </item> + <item> break </item> + <item> case </item> + <item> catch </item> + <item> class </item> + <item> continue </item> + <item> default </item> + <item> do </item> + <item> else </item> + <item> enum </item> + <item> extends </item> + <item> false </item> + <item> finally </item> + <item> for </item> + <item> goto </item> + <item> if </item> + <item> implements </item> + <item> instanceof </item> + <item> @interface </item> + <item> interface </item> + <item> native </item> + <item> new </item> + <item> null </item> + <item> private </item> + <item> protected </item> + <item> public </item> + <item> return </item> + <item> super </item> + <item> strictfp </item> + <item> switch </item> + <item> synchronized </item> + <item> this </item> + <item> throws </item> + <item> throw </item> + <item> transient </item> + <item> true </item> + <item> try </item> + <item> volatile </item> + <item> while </item> + </list> + <list name="types"> + <item> boolean </item> + <item> byte </item> + <item> char </item> + <item> const </item> + <item> double </item> + <item> final </item> + <item> float </item> + <item> int </item> + <item> long </item> + <item> short </item> + <item> static </item> + <item> void </item> + </list> + <contexts> + <context attribute="Normal Text" lineEndContext="#stay" name="Normal"> + <!-- Comment next line if you don't use Javadoc tool --> + <IncludeRules context="##Javadoc"/> + <keyword attribute="Keyword" context="#stay" String="keywords"/> + <keyword attribute="Data Type" context="#stay" String="types"/> + <keyword attribute="Java15" context="#stay" String="java15"/> + <Float attribute="Float" context="#stay"> + <AnyChar String="fF" attribute="Float" context="#stay"/> + </Float> + <HlCOct attribute="Octal" context="#stay"/> + <HlCHex attribute="Hex" context="#stay"/> + <Int attribute="Decimal" context="#stay"> + <StringDetect attribute="Decimal" context="#stay" String="ULL" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="LUL" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="LLU" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="UL" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="LU" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="LL" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="U" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="L" insensitive="TRUE"/> + </Int> + <HlCChar attribute="Char" context="#stay"/> + <RegExpr attribute="Decimal" context="#stay" String="//\s*BEGIN.*$" beginRegion="Region1"/> + <RegExpr attribute="Decimal" context="#stay" String="//\s*END.*$" endRegion="Region1"/> + <DetectChar attribute="String" context="String" char="""/> + <RegExpr attribute="Function" context="Printf" String="\.(format|printf)\b" /> + <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"/> + <RegExpr attribute="Keyword" context="#stay" String="\.{3,3}\s+" /> + <RegExpr attribute="Keyword" context="StaticImports" String="\b(import\s+static)\b" /> + <RegExpr attribute="Keyword" context="Imports" String="\b(package|import)\b" /> + <RegExpr attribute="Function" context="#stay" String="\b[_\w][_\w\d]*(?=[\s]*(/\*\s*\d+\s*\*/\s*)?[(])" /> + <RegExpr attribute="Symbol" context="Member" String="[.]{1,1}" /> + <AnyChar attribute="Symbol" context="#stay" String=":!%&()+,-/.*<=>?[]|~^;"/> + </context> + <context attribute="String" lineEndContext="#pop" name="String"> + <LineContinue attribute="String" context="#stay"/> + <HlCStringChar attribute="String Char" context="#stay"/> + <DetectChar attribute="String" context="#pop" char="""/> + </context> + <context attribute="Printf" lineEndContext="#pop" name="Printf"> + <DetectChar attribute="Normal Text" context="#pop" char=";" /> + <DetectChar attribute="String" context="PrintfString" char="""/> + </context> + <context attribute="PrintfString" lineEndContext="#pop" name="PrintfString"> + <LineContinue attribute="String" context="#stay"/> + <HlCStringChar attribute="String Char" context="#stay"/> + <DetectChar attribute="String" context="#pop" char="""/> + <RegExpr attribute="String Char" context="#stay" String="%(\d+\$)?(-|#|\+|\ |0|,|\()*\d*(\.\d+)?[a-hosxA-CEGHSX]" /> + <RegExpr attribute="String Char" context="#stay" String="%(\d+\$)?(-|#|\+|\ |0|,|\()*\d*(t|T)(a|A|b|B|c|C|d|D|e|F|h|H|I|j|k|l|L|m|M|N|p|P|Q|r|R|s|S|T|y|Y|z|Z)" /> + <RegExpr attribute="String Char" context="#stay" String="%(%|n)" /> + </context> + <context attribute="Normal Text" lineEndContext="#pop" name="Member" fallthrough="true" fallthroughContext="#pop"> + <RegExpr attribute="Function" context="#pop" String="\b[_a-zA-Z]\w*(?=[\s]*)" /> + </context> + <context attribute="Normal Text" lineEndContext="#pop" name="StaticImports"> + <RegExpr attribute="StaticImports" context="#pop" String="\s*.*;" /> + </context> + <context attribute="Normal Text" lineEndContext="#pop" name="Imports"> + <RegExpr attribute="Imports" context="#pop" String="\s*.*;" /> + </context> + <context attribute="Comment" lineEndContext="#pop" name="Commentar 1"/> + <context attribute="Comment" lineEndContext="#stay" name="Commentar 2"> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment"/> + </context> + </contexts> + <itemDatas> + <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="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="String" defStyleNum="dsString"/> + <itemData name="String Char" defStyleNum="dsChar"/> + <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"/> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="singleLine" start="//"/> + <comment name="multiLine" start="/*" end="*/"/> + </comments> + <keywords casesensitive="1"/> + </general> +</language> diff --git a/kate/data/javadoc.xml b/kate/data/javadoc.xml new file mode 100644 index 000000000..5a89247c4 --- /dev/null +++ b/kate/data/javadoc.xml @@ -0,0 +1,107 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="Javadoc" version="1.03" 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"> + <IncludeRules context="FindJavadoc" /> + </context> + <context name="FindJavadoc" attribute="Normal Text" lineEndContext="#stay"> + <StringDetect attribute="JavadocFS" context="JavadocFSar" String="/**" beginRegion="Javadoc"/> + </context> + <context attribute="JavadocFS" lineEndContext="#stay" name="JavadocFSar"> + <Detect2Chars attribute="JavadocFS" context="#pop" char="*" char1="/" endRegion="Javadoc"/> + <RegExpr attribute="JavadocFS" context="Javadocar" String="(!|\?)" /> + <RegExpr attribute="JavadocFS" context="Javadocar" String="(\.\s*$)" /> + <RegExpr attribute="JavadocFS" context="Javadocar" String="(\.\s)(?![\da-z])" /> + <RegExpr attribute="JavadocFS" context="Javadocar" String="\**\s*(?=@(author|deprecated|exception|param|return|see|serial|serialData|serialField|since|throws|version)(\s|$))" firstNonSpace="true"/> + <StringDetect attribute="InlineTag" context="LiteralTagar" String="{@code " /> + <StringDetect attribute="InlineTag" context="LiteralTagar" String="{@code	" /> + <StringDetect attribute="InlineTag" context="#stay" String="{@docRoot}" /> + <StringDetect attribute="InlineTag" context="#stay" String="{@inheritDoc}" /> + <StringDetect attribute="InlineTag" context="InlineTagar" String="{@link " /> + <StringDetect attribute="InlineTag" context="InlineTagar" String="{@link	" /> + <StringDetect attribute="InlineTag" context="InlineTagar" String="{@linkplain " /> + <StringDetect attribute="InlineTag" context="InlineTagar" String="{@linkplain	" /> + <StringDetect attribute="InlineTag" context="LiteralTagar" String="{@literal " /> + <StringDetect attribute="InlineTag" context="LiteralTagar" String="{@literal	" /> + <StringDetect attribute="InlineTag" context="#stay" String="{@value}" /> + <StringDetect attribute="InlineTag" context="InlineTagar" String="{@value " /> + <StringDetect attribute="InlineTag" context="InlineTagar" String="{@value	" /> + <IncludeRules context="##HTML"/> + </context> + <context attribute="Javadoc" lineEndContext="#stay" name="Javadocar"> + <Detect2Chars attribute="JavadocFS" context="#pop#pop" char="*" char1="/" endRegion="Javadoc"/> + <RegExpr attribute="JavadocFS" context="#stay" String="\*+(?!/)" firstNonSpace="true"/> + <StringDetect attribute="BlockTag" context="#stay" String="@author " /> + <StringDetect attribute="BlockTag" context="#stay" String="@deprecated " /> + <StringDetect attribute="BlockTag" context="JavadocParam" String="@exception " /> + <StringDetect attribute="BlockTag" context="JavadocParam" String="@param " /> + <StringDetect attribute="BlockTag" context="#stay" String="@return " /> + <StringDetect attribute="BlockTag" context="SeeTag" String="@see "/> + <StringDetect attribute="BlockTag" context="#stay" String="@serial " /> + <StringDetect attribute="BlockTag" context="#stay" String="@serialData " /> + <StringDetect attribute="BlockTag" context="#stay" String="@serialField " /> + <StringDetect attribute="BlockTag" context="#stay" String="@since " /> + <StringDetect attribute="BlockTag" context="JavadocParam" String="@throws " /> + <StringDetect attribute="BlockTag" context="#stay" String="@version " /> + <StringDetect attribute="BlockTag" context="#stay" String="@author	" /> + <StringDetect attribute="BlockTag" context="#stay" String="@deprecated	" /> + <StringDetect attribute="BlockTag" context="JavadocParam" String="@exception	" /> + <StringDetect attribute="BlockTag" context="JavadocParam" String="@param	" /> + <StringDetect attribute="BlockTag" context="#stay" String="@return	" /> + <StringDetect attribute="BlockTag" context="SeeTag" String="@see	" /> + <StringDetect attribute="BlockTag" context="#stay" String="@serial	" /> + <StringDetect attribute="BlockTag" context="#stay" String="@serialData	" /> + <StringDetect attribute="BlockTag" context="#stay" String="@serialField	" /> + <StringDetect attribute="BlockTag" context="#stay" String="@since	" /> + <StringDetect attribute="BlockTag" context="JavadocParam" String="@throws	" /> + <StringDetect attribute="BlockTag" context="#stay" String="@version	" /> + <StringDetect attribute="InlineTag" context="LiteralTagar" String="{@code " /> + <StringDetect attribute="InlineTag" context="LiteralTagar" String="{@code	" /> + <StringDetect attribute="InlineTag" context="#stay" String="{@docRoot}" /> + <StringDetect attribute="InlineTag" context="#stay" String="{@inheritDoc}" /> + <StringDetect attribute="InlineTag" context="InlineTagar" String="{@link " /> + <StringDetect attribute="InlineTag" context="InlineTagar" String="{@link	" /> + <StringDetect attribute="InlineTag" context="InlineTagar" String="{@linkplain " /> + <StringDetect attribute="InlineTag" context="InlineTagar" String="{@linkplain	" /> + <StringDetect attribute="InlineTag" context="LiteralTagar" String="{@literal " /> + <StringDetect attribute="InlineTag" context="LiteralTagar" String="{@literal	" /> + <StringDetect attribute="InlineTag" context="#stay" String="{@value}" /> + <StringDetect attribute="InlineTag" context="InlineTagar" String="{@value " /> + <StringDetect attribute="InlineTag" context="InlineTagar" String="{@value	" /> + <IncludeRules context="##HTML"/> + </context> + <context attribute="Javadoc" lineEndContext="#pop" name="JavadocParam"> + <DetectSpaces /> + <RegExpr attribute="JavadocParam" context="#pop#pop" String="\S*(?=\*/)" /> + <RegExpr attribute="JavadocParam" context="#pop" String="\S*(\s|$)" /> + </context> + <context attribute="InlineTag" lineEndContext="#pop" name="InlineTagar"> + <DetectChar attribute="InlineTag" context="#pop" char="}" /> + <Detect2Chars attribute="JavadocFS" context="#pop#pop#pop" char="*" char1="/" /> + <IncludeRules context="##HTML"/> + </context> + <context attribute="InlineTag" lineEndContext="#pop" name="LiteralTagar"> + <DetectChar attribute="InlineTag" context="#pop" char="}" /> + <Detect2Chars attribute="JavadocFS" context="#pop#pop#pop" char="*" char1="/" /> + </context> + <context attribute="SeeTag" lineEndContext="#pop" name="SeeTag"> + <Detect2Chars attribute="JavadocFS" context="#pop#pop#pop" char="*" char1="/" /> + <IncludeRules context="##HTML"/> + </context> + </contexts> + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="BlockTag" defStyleNum="dsKeyword" color="#808080" selColor="#FFFFFF" bold="1" italic="0"/> + <itemData name="InlineTag" defStyleNum="dsKeyword" color="#808080" selColor="#FFFFFF" bold="0" italic="0"/> + <itemData name="JavadocParam" defStyleNum="dsKeyword" color="#008080" selColor="#FFFFFF" bold="0" italic="1"/> + <itemData name="SeeTag" defStyleNum="dsKeyword" color="#008080" selColor="#FFFFFF" bold="0" italic="1"/> + <itemData name="JavadocFS" defStyleNum="dsComment" color="#008000" selColor="#FFFFFF" bold="1" italic="0"/> + <itemData name="Javadoc" defStyleNum="dsComment" color="#008000" selColor="#FFFFFF"/> + </itemDatas> + </highlighting> + <general> + <keywords casesensitive="1"/> + </general> +</language> diff --git a/kate/data/javascript.xml b/kate/data/javascript.xml new file mode 100644 index 000000000..632cd0576 --- /dev/null +++ b/kate/data/javascript.xml @@ -0,0 +1,501 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<!-- 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.10" kateversion="2.3" section="Scripts" extensions="*.js" mimetype="text/x-javascript" author="Anders Lund (anders@alweb.dk), Joseph Wenninger (jowenn@kde.org), Whitehawk Stormchaser (zerokode@gmx.net)" license=""> + <highlighting> + <list name="keywords"> + <item> if </item> + <item> else </item> + <item> for </item> + <item> in </item> + <item> while </item> + <item> do </item> + <item> continue </item> + <item> break </item> + <item> with </item> + <item> try </item> + <item> catch </item> + <item> finally </item> + <item> switch </item> + <item> case </item> + <item> new </item> + <item> var </item> + <item> function </item> + <item> return </item> + <item> delete </item> + <item> true </item> + <item> false </item> + <item> void </item> + <item> throw </item> + <item> typeof </item> + <item> const </item> + <item> default </item> + </list> + <list name="functions"> + <item> escape </item> + <item> isFinite </item> + <item> isNaN </item> + <item> Number </item> + <item> parseFloat </item> + <item> parseInt </item> + <item> reload </item> + <item> taint </item> + <item> unescape </item> + <item> untaint </item> + <item> write </item> + </list> + <list name="objects"> + <item>Anchor</item> + <item>Applet</item> + <item>Area</item> + <item>Array</item> + <item>Boolean</item> + <item>Button</item> + <item>Checkbox</item> + <item>Date</item> + <item>document</item> + <item>window</item> + <item>Image</item> + <item>FileUpload</item> + <item>Form</item> + <item>Frame</item> + <item>Function</item> + <item>Hidden</item> + <item>Link</item> + <item>MimeType</item> + <item>Math</item> + <item>Max</item> + <item>Min</item> + <item>Layer</item> + <item>navigator</item> + <item>Object</item> + <item>Password</item> + <item>Plugin</item> + <item>Radio</item> + <item>RegExp</item> + <item>Reset</item> + <item>Screen</item> + <item>Select</item> + <item>String</item> + <item>Text</item> + <item>Textarea</item> + <item>this</item> + <item>Window</item> + </list> + <list name="math"> + <item> abs </item> + <item> acos </item> + <item> asin </item> + <item> atan </item> + <item> atan2 </item> + <item> ceil </item> + <item> cos </item> + <item> ctg </item> + <item> E </item> + <item> exp </item> + <item> floor </item> + <item> LN2 </item> + <item> LN10 </item> + <item> log </item> + <item> LOG2E </item> + <item> LOG10E </item> + <item> PI </item> + <item> pow </item> + <item> round </item> + <item> sin </item> + <item> sqrt </item> + <item> SQRT1_2 </item> + <item> SQRT2 </item> + <item> tan </item> + </list> + <list name="events"> + <item>onAbort</item> + <item>onBlur</item> + <item>onChange</item> + <item>onClick</item> + <item>onError</item> + <item>onFocus</item> + <item>onLoad</item> + <item>onMouseOut</item> + <item>onMouseOver</item> + <item>onReset</item> + <item>onSelect</item> + <item>onSubmit</item> + <item>onUnload</item> + </list> + <list name="methods"> + <item>above</item> + <item>action</item> + <item>alinkColor</item> + <item>alert</item> + <item>anchor</item> + <item>anchors</item> + <item>appCodeName</item> + <item>applets</item> + <item>apply</item> + <item>appName</item> + <item>appVersion</item> + <item>argument</item> + <item>arguments</item> + <item>arity</item> + <item>availHeight</item> + <item>availWidth</item> + <item>back</item> + <item>background</item> + <item>below</item> + <item>bgColor</item> + <item>border</item> + <item>big</item> + <item>blink</item> + <item>blur</item> + <item>bold</item> + <item>border</item> + <item>call</item> + <item>caller</item> + <item>charAt</item> + <item>charCodeAt</item> + <item>checked</item> + <item>clearInterval</item> + <item>clearTimeout</item> + <item>click</item> + <item>clip</item> + <item>close</item> + <item>closed</item> + <item>colorDepth</item> + <item>complete</item> + <item>compile</item> + <item>constructor</item> + <item>confirm</item> + <item>cookie</item> + <item>current</item> + <item>cursor</item> + <item>data</item> + <item>defaultChecked</item> + <item>defaultSelected</item> + <item>defaultStatus</item> + <item>defaultValue</item> + <item>description</item> + <item>disableExternalCapture</item> + <item>domain</item> + <item>elements</item> + <item>embeds</item> + <item>enabledPlugin</item> + <item>enableExternalCapture</item> + <item>encoding</item> + <item>eval</item> + <item>exec</item> + <item>fgColor</item> + <item>filename</item> + <item>find</item> + <item>fixed</item> + <item>focus</item> + <item>fontcolor</item> + <item>fontsize</item> + <item>form</item> + <item>forms</item> + <item>formName</item> + <item>forward</item> + <item>frames</item> + <item>fromCharCode</item> + <item>getDate</item> + <item>getDay</item> + <item>getHours</item> + <item>getMiliseconds</item> + <item>getMinutes</item> + <item>getMonth</item> + <item>getSeconds</item> + <item>getSelection</item> + <item>getTime</item> + <item>getTimezoneOffset</item> + <item>getUTCDate</item> + <item>getUTCDay</item> + <item>getUTCFullYear</item> + <item>getUTCHours</item> + <item>getUTCMilliseconds</item> + <item>getUTCMinutes</item> + <item>getUTCMonth</item> + <item>getUTCSeconds</item> + <item>getYear</item> + <item>global</item> + <item>go</item> + <item>hash</item> + <item>height</item> + <item>history</item> + <item>home</item> + <item>host</item> + <item>hostname</item> + <item>href</item> + <item>hspace</item> + <item>ignoreCase</item> + <item>images</item> + <item>index</item> + <item>indexOf</item> + <item>innerHeight</item> + <item>innerWidth</item> + <item>input</item> + <item>italics</item> + <item>javaEnabled</item> + <item>join</item> + <item>language</item> + <item>lastIndex</item> + <item>lastIndexOf</item> + <item>lastModified</item> + <item>lastParen</item> + <item>layers</item> + <item>layerX</item> + <item>layerY</item> + <item>left</item> + <item>leftContext</item> + <item>length</item> + <item>link</item> + <item>linkColor</item> + <item>links</item> + <item>location</item> + <item>locationbar</item> + <item>load</item> + <item>lowsrc</item> + <item>match</item> + <item>MAX_VALUE</item> + <item>menubar</item> + <item>method</item> + <item>mimeTypes</item> + <item>MIN_VALUE</item> + <item>modifiers</item> + <item>moveAbove</item> + <item>moveBelow</item> + <item>moveBy</item> + <item>moveTo</item> + <item>moveToAbsolute</item> + <item>multiline</item> + <item>name</item> + <item>NaN</item> + <item>NEGATIVE_INFINITY</item> + <item>negative_infinity</item> + <item>next</item> + <item>open</item> + <item>opener</item> + <item>options</item> + <item>outerHeight</item> + <item>outerWidth</item> + <item>pageX</item> + <item>pageY</item> + <item>pageXoffset</item> + <item>pageYoffset</item> + <item>parent</item> + <item>parse</item> + <item>pathname</item> + <item>personalbar</item> + <item>pixelDepth</item> + <item>platform</item> + <item>plugins</item> + <item>pop</item> + <item>port</item> + <item>POSITIVE_INFINITY</item> + <item>positive_infinity</item> + <item>preference</item> + <item>previous</item> + <item>print</item> + <item>prompt</item> + <item>protocol</item> + <item>prototype</item> + <item>push</item> + <item>referrer</item> + <item>refresh</item> + <item>releaseEvents</item> + <item>reload</item> + <item>replace</item> + <item>reset</item> + <item>resizeBy</item> + <item>resizeTo</item> + <item>reverse</item> + <item>rightContext</item> + <item>screenX</item> + <item>screenY</item> + <item>scroll</item> + <item>scrollbar</item> + <item>scrollBy</item> + <item>scrollTo</item> + <item>search</item> + <item>select</item> + <item>selected</item> + <item>selectedIndex</item> + <item>self</item> + <item>setDate</item> + <item>setHours</item> + <item>setMinutes</item> + <item>setMonth</item> + <item>setSeconds</item> + <item>setTime</item> + <item>setTimeout</item> + <item>setUTCDate</item> + <item>setUTCDay</item> + <item>setUTCFullYear</item> + <item>setUTCHours</item> + <item>setUTCMilliseconds</item> + <item>setUTCMinutes</item> + <item>setUTCMonth</item> + <item>setUTCSeconds</item> + <item>setYear</item> + <item>shift</item> + <item>siblingAbove</item> + <item>siblingBelow</item> + <item>small</item> + <item>sort</item> + <item>source</item> + <item>splice</item> + <item>split</item> + <item>src</item> + <item>status</item> + <item>statusbar</item> + <item>strike</item> + <item>sub</item> + <item>submit</item> + <item>substr</item> + <item>substring</item> + <item>suffixes</item> + <item>sup</item> + <item>taintEnabled</item> + <item>target</item> + <item>test</item> + <item>text</item> + <item>title</item> + <item>toGMTString</item> + <item>toLocaleString</item> + <item>toLowerCase</item> + <item>toolbar</item> + <item>toSource</item> + <item>toString</item> + <item>top</item> + <item>toUpperCase</item> + <item>toUTCString</item> + <item>type</item> + <item>URL</item> + <item>unshift</item> + <item>unwatch</item> + <item>userAgent</item> + <item>UTC</item> + <item>value</item> + <item>valueOf</item> + <item>visibility</item> + <item>vlinkColor</item> + <item>vspace</item> + <item>width</item> + <item>watch</item> + <item>which</item> + <item>width</item> + <item>write</item> + <item>writeln</item> + <item>x</item> + <item>y</item> + <item>zIndex</item> + </list> + <contexts> + <context attribute="Normal Text" lineEndContext="#stay" name="Normal"> + <DetectSpaces/> + <StringDetect attribute="Region Marker" context="region_marker" String="//BEGIN" beginRegion="Region1"/> + <RegExpr attribute="Region Marker" context="region_marker" String="//END" endRegion="Region1"/> + <keyword attribute="Keyword" context="#stay" String="keywords" /> + <keyword attribute="Function" context="#stay" String="functions" /> + <keyword attribute="Objects" context="#stay" String="objects" /> + <keyword attribute="Math" context="#stay" String="math" /> + <keyword attribute="Events" context="#stay" String="events" /> + <keyword attribute="Data Type" context="#stay" String="methods" /> + <DetectIdentifier/> + <Float attribute="Float" context="#stay" /> + <Int attribute="Decimal" context="#stay" /> + <DetectChar attribute="String" context="String" char="""/> + <DetectChar attribute="String" context="String 1" char="'"/> + <Detect2Chars attribute="Comment" context="Comment" char="/" char1="/"/> + <Detect2Chars attribute="Comment" context="Multi/inline Comment" char="/" char1="*" beginRegion="Comment"/> + <RegExpr attribute="Normal Text" context="(Internal regex catch)" String="[=?:]" /> + <RegExpr attribute="Normal Text" context="(Internal regex catch)" String="\(" /> + <DetectChar attribute="Symbol" context="#stay" char="{" beginRegion="Brace1" /> + <DetectChar attribute="Symbol" context="#stay" char="}" endRegion="Brace1" /> + <AnyChar attribute="Symbol" context="#stay" String=":!%&+,-/.*<=>?[]|~^;"/> + </context> + + <context attribute="String" lineEndContext="#pop" name="String"> + <DetectIdentifier/> + <HlCStringChar attribute="String Char" context="#stay"/> + <DetectChar attribute="String" context="#pop" char="""/> + </context> + <context attribute="String Char" lineEndContext="#pop" name="String 1"> + <DetectIdentifier/> + <DetectChar attribute="String" context="String" char="""/> + <DetectChar attribute="String Char" context="#pop" char="'"/> + </context> + + <context attribute="Comment" lineEndContext="#pop" name="Comment"> + <DetectSpaces /> + <IncludeRules context="##Alerts" /> + <DetectIdentifier /> + </context> + <context attribute="Comment" lineEndContext="#stay" name="Multi/inline Comment"> + <IncludeRules context="##Alerts" /> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment"/> + </context> + + <context attribute="Regular Expression" lineEndContext="#stay" name="Regular Expression"> + <RegExpr attribute="Regular Expression" context="#pop#pop#pop" String="/[ig]{0,2}" /> + <RegExpr attribute="Pattern Internal Operator" context="#stay" String="\{[\d, ]+\}" /> + <RegExpr attribute="Pattern Internal Operator" context="#stay" String="\\[bB]" /> + <RegExpr attribute="Pattern Character Class" context="#stay" String="\\[nrtvfDdSsWw]" /> + <DetectChar attribute="Pattern Character Class" context="(charclass caret first check)" char="[" /> + <RegExpr attribute="Pattern Internal Operator" context="#stay" String="\\." /> + <RegExpr attribute="Pattern Internal Operator" context="#stay" String="\$(?=/)" /> + <AnyChar attribute="Pattern Internal Operator" context="#stay" String="?+*()|" /> + </context> + <context attribute="Normal Text" lineEndContext="#stay" name="(Internal regex catch)" fallthrough="true" fallthroughContext="#pop"> + <RegExpr attribute="Normal Text" context="#stay" String="\s*" /> + <RegExpr attribute="Regular Expression" context="#pop" String="//(?=;)" /> + <Detect2Chars attribute="Comment" context="Comment" char="/" char1="/" /> + <Detect2Chars attribute="Comment" context="Multi/inline Comment" char="/" char1="*" /> + <DetectChar attribute="Regular Expression" context="(regex caret first check)" char="/" /> + </context> + <context attribute="Pattern Character Class" lineEndContext="#stay" name="Regular Expression Character Class"> + <RegExpr attribute="Pattern Character Class" context="#stay" String="\\[\[\]]" /> + <DetectChar attribute="Pattern Character Class" context="#pop#pop" char="]" /> + </context> + <context attribute="Pattern Internal Operator" lineEndContext="#pop" name="(regex caret first check)" fallthrough="true" fallthroughContext="Regular Expression"> + <DetectChar attribute="Pattern Internal Operator" context="Regular Expression" char="^" /> + </context> + <context attribute="Pattern Internal Operator" lineEndContext="#pop" name="(charclass caret first check)" fallthrough="true" fallthroughContext="Regular Expression Character Class"> + <DetectChar attribute="Pattern Internal Operator" context="Regular Expression Character Class" char="^" /> + </context> + + <context name="region_marker" attribute="Region Marker" lineEndContext="#pop" > + <DetectIdentifier /> + <DetectSpaces /> + </context> + </contexts> + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Keyword" defStyleNum="dsKeyword"/> + <itemData name="Function" defStyleNum="dsFunction"/> + <itemData name="Objects" defStyleNum="dsKeyword" color="#008000" selColor="#00ffff" bold="0" italic="0"/> + <itemData name="Math" defStyleNum="dsKeyword" color="#DBA716" selColor="#00ffff" bold="0" italic="0"/> + <itemData name="Events" defStyleNum="dsKeyword" color="#F766D5" selColor="#00ffff" bold="0" italic="0"/> + <itemData name="Data Type" defStyleNum="dsDataType"/> + <itemData name="Decimal" defStyleNum="dsDecVal"/> + <itemData name="Float" defStyleNum="dsFloat"/> + <itemData name="Char" defStyleNum="dsChar"/> + <itemData name="String" defStyleNum="dsString"/> + <itemData name="String Char" defStyleNum="dsChar"/> + <itemData name="Comment" defStyleNum="dsComment"/> + <itemData name="Symbol" defStyleNum="dsNormal"/> + <itemData name="Regular Expression" defStyleNum="dsOthers" /> + <itemData name="Pattern Internal Operator" defStyleNum="dsFloat" /> + <itemData name="Pattern Character Class" defStyleNum="dsBaseN" /> + <itemData name="Region Marker" defStyleNum="dsRegionMarker" /> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="singleLine" start="//" /> + <comment name="multiLine" start="/*" end="*/" /> + </comments> + <keywords casesensitive="1" /> + </general> +</language> diff --git a/kate/data/jsp.xml b/kate/data/jsp.xml new file mode 100644 index 000000000..da448227e --- /dev/null +++ b/kate/data/jsp.xml @@ -0,0 +1,3070 @@ +<?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"> + <highlighting> + + <list name="java-1.4.2-classes"> + <item> ARG_IN </item> + <item> ARG_INOUT </item> + <item> ARG_OUT </item> + <item> AWTError </item> + <item> AWTEvent </item> + <item> AWTEventListener </item> + <item> AWTEventListenerProxy </item> + <item> AWTEventMulticaster </item> + <item> AWTException </item> + <item> AWTKeyStroke </item> + <item> AWTPermission </item> + <item> AbstractAction </item> + <item> AbstractBorder </item> + <item> AbstractButton </item> + <item> AbstractCellEditor </item> + <item> AbstractCollection </item> + <item> AbstractColorChooserPanel </item> + <item> AbstractDocument </item> + <item> AbstractFormatter </item> + <item> AbstractFormatterFactory </item> + <item> AbstractInterruptibleChannel </item> + <item> AbstractLayoutCache </item> + <item> AbstractList </item> + <item> AbstractListModel </item> + <item> AbstractMap </item> + <item> AbstractMethodError </item> + <item> AbstractPreferences </item> + <item> AbstractSelectableChannel </item> + <item> AbstractSelectionKey </item> + <item> AbstractSelector </item> + <item> AbstractSequentialList </item> + <item> AbstractSet </item> + <item> AbstractSpinnerModel </item> + <item> AbstractTableModel </item> + <item> AbstractUndoableEdit </item> + <item> AbstractWriter </item> + <item> AccessControlContext </item> + <item> AccessControlException </item> + <item> AccessController </item> + <item> AccessException </item> + <item> Accessible </item> + <item> AccessibleAction </item> + <item> AccessibleBundle </item> + <item> AccessibleComponent </item> + <item> AccessibleContext </item> + <item> AccessibleEditableText </item> + <item> AccessibleExtendedComponent </item> + <item> AccessibleExtendedTable </item> + <item> AccessibleHyperlink </item> + <item> AccessibleHypertext </item> + <item> AccessibleIcon </item> + <item> AccessibleKeyBinding </item> + <item> AccessibleObject </item> + <item> AccessibleRelation </item> + <item> AccessibleRelationSet </item> + <item> AccessibleResourceBundle </item> + <item> AccessibleRole </item> + <item> AccessibleSelection </item> + <item> AccessibleState </item> + <item> AccessibleStateSet </item> + <item> AccessibleTable </item> + <item> AccessibleTableModelChange </item> + <item> AccessibleText </item> + <item> AccessibleValue </item> + <item> AccountExpiredException </item> + <item> Acl </item> + <item> AclEntry </item> + <item> AclNotFoundException </item> + <item> Action </item> + <item> ActionEvent </item> + <item> ActionListener </item> + <item> ActionMap </item> + <item> ActionMapUIResource </item> + <item> Activatable </item> + <item> ActivateFailedException </item> + <item> ActivationDesc </item> + <item> ActivationException </item> + <item> ActivationGroup </item> + <item> ActivationGroupDesc </item> + <item> ActivationGroupID </item> + <item> ActivationGroup_Stub </item> + <item> ActivationID </item> + <item> ActivationInstantiator </item> + <item> ActivationMonitor </item> + <item> ActivationSystem </item> + <item> Activator </item> + <item> ActiveEvent </item> + <item> ActiveValue </item> + <item> AdapterActivator </item> + <item> AdapterActivatorOperations </item> + <item> AdapterAlreadyExists </item> + <item> AdapterAlreadyExistsHelper </item> + <item> AdapterInactive </item> + <item> AdapterInactiveHelper </item> + <item> AdapterNonExistent </item> + <item> AdapterNonExistentHelper </item> + <item> AddressHelper </item> + <item> Adjustable </item> + <item> AdjustmentEvent </item> + <item> AdjustmentListener </item> + <item> Adler32 </item> + <item> AffineTransform </item> + <item> AffineTransformOp </item> + <item> AlgorithmParameterGenerator </item> + <item> AlgorithmParameterGeneratorSpi </item> + <item> AlgorithmParameterSpec </item> + <item> AlgorithmParameters </item> + <item> AlgorithmParametersSpi </item> + <item> AlignmentAction </item> + <item> AllPermission </item> + <item> AlphaComposite </item> + <item> AlreadyBound </item> + <item> AlreadyBoundException </item> + <item> AlreadyBoundHelper </item> + <item> AlreadyBoundHolder </item> + <item> AlreadyConnectedException </item> + <item> AncestorEvent </item> + <item> AncestorListener </item> + <item> Annotation </item> + <item> Any </item> + <item> AnyHolder </item> + <item> AnySeqHelper </item> + <item> AnySeqHelper </item> + <item> AnySeqHolder </item> + <item> AppConfigurationEntry </item> + <item> Applet </item> + <item> AppletContext </item> + <item> AppletInitializer </item> + <item> AppletStub </item> + <item> ApplicationException </item> + <item> Arc2D </item> + <item> Area </item> + <item> AreaAveragingScaleFilter </item> + <item> ArithmeticException </item> + <item> Array </item> + <item> Array </item> + <item> ArrayIndexOutOfBoundsException </item> + <item> ArrayList </item> + <item> ArrayStoreException </item> + <item> Arrays </item> + <item> AssertionError </item> + <item> AsyncBoxView </item> + <item> AsynchronousCloseException </item> + <item> Attr </item> + <item> Attribute </item> + <item> Attribute </item> + <item> Attribute </item> + <item> Attribute </item> + <item> Attribute </item> + <item> AttributeContext </item> + <item> AttributeException </item> + <item> AttributeInUseException </item> + <item> AttributeList </item> + <item> AttributeList </item> + <item> AttributeListImpl </item> + <item> AttributeModificationException </item> + <item> AttributeSet </item> + <item> AttributeSet </item> + <item> AttributeSetUtilities </item> + <item> AttributeUndoableEdit </item> + <item> AttributedCharacterIterator </item> + <item> AttributedString </item> + <item> Attributes </item> + <item> Attributes </item> + <item> Attributes </item> + <item> AttributesImpl </item> + <item> AudioClip </item> + <item> AudioFileFormat </item> + <item> AudioFileReader </item> + <item> AudioFileWriter </item> + <item> AudioFormat </item> + <item> AudioInputStream </item> + <item> AudioPermission </item> + <item> AudioSystem </item> + <item> AuthPermission </item> + <item> AuthenticationException </item> + <item> AuthenticationNotSupportedException </item> + <item> Authenticator </item> + <item> Autoscroll </item> + <item> BAD_CONTEXT </item> + <item> BAD_INV_ORDER </item> + <item> BAD_OPERATION </item> + <item> BAD_PARAM </item> + <item> BAD_POLICY </item> + <item> BAD_POLICY_TYPE </item> + <item> BAD_POLICY_VALUE </item> + <item> BAD_TYPECODE </item> + <item> BCSIterator </item> + <item> BCSSServiceProvider </item> + <item> BYTE_ARRAY </item> + <item> BackingStoreException </item> + <item> BadKind </item> + <item> BadLocationException </item> + <item> BadPaddingException </item> + <item> BandCombineOp </item> + <item> BandedSampleModel </item> + <item> BasicArrowButton </item> + <item> BasicAttribute </item> + <item> BasicAttributes </item> + <item> BasicBorders </item> + <item> BasicButtonListener </item> + <item> BasicButtonUI </item> + <item> BasicCaret </item> + <item> BasicCheckBoxMenuItemUI </item> + <item> BasicCheckBoxUI </item> + <item> BasicColorChooserUI </item> + <item> BasicComboBoxEditor </item> + <item> BasicComboBoxRenderer </item> + <item> BasicComboBoxUI </item> + <item> BasicComboPopup </item> + <item> BasicDesktopIconUI </item> + <item> BasicDesktopPaneUI </item> + <item> BasicDirectoryModel </item> + <item> BasicEditorPaneUI </item> + <item> BasicFileChooserUI </item> + <item> BasicFormattedTextFieldUI </item> + <item> BasicGraphicsUtils </item> + <item> BasicHTML </item> + <item> BasicHighlighter </item> + <item> BasicIconFactory </item> + <item> BasicInternalFrameTitlePane </item> + <item> BasicInternalFrameUI </item> + <item> BasicLabelUI </item> + <item> BasicListUI </item> + <item> BasicLookAndFeel </item> + <item> BasicMenuBarUI </item> + <item> BasicMenuItemUI </item> + <item> BasicMenuUI </item> + <item> BasicOptionPaneUI </item> + <item> BasicPanelUI </item> + <item> BasicPasswordFieldUI </item> + <item> BasicPermission </item> + <item> BasicPopupMenuSeparatorUI </item> + <item> BasicPopupMenuUI </item> + <item> BasicProgressBarUI </item> + <item> BasicRadioButtonMenuItemUI </item> + <item> BasicRadioButtonUI </item> + <item> BasicRootPaneUI </item> + <item> BasicScrollBarUI </item> + <item> BasicScrollPaneUI </item> + <item> BasicSeparatorUI </item> + <item> BasicSliderUI </item> + <item> BasicSpinnerUI </item> + <item> BasicSplitPaneDivider </item> + <item> BasicSplitPaneUI </item> + <item> BasicStroke </item> + <item> BasicTabbedPaneUI </item> + <item> BasicTableHeaderUI </item> + <item> BasicTableUI </item> + <item> BasicTextAreaUI </item> + <item> BasicTextFieldUI </item> + <item> BasicTextPaneUI </item> + <item> BasicTextUI </item> + <item> BasicToggleButtonUI </item> + <item> BasicToolBarSeparatorUI </item> + <item> BasicToolBarUI </item> + <item> BasicToolTipUI </item> + <item> BasicTreeUI </item> + <item> BasicViewportUI </item> + <item> BatchUpdateException </item> + <item> BeanContext </item> + <item> BeanContextChild </item> + <item> BeanContextChildComponentProxy </item> + <item> BeanContextChildSupport </item> + <item> BeanContextContainerProxy </item> + <item> BeanContextEvent </item> + <item> BeanContextMembershipEvent </item> + <item> BeanContextMembershipListener </item> + <item> BeanContextProxy </item> + <item> BeanContextServiceAvailableEvent </item> + <item> BeanContextServiceProvider </item> + <item> BeanContextServiceProviderBeanInfo </item> + <item> BeanContextServiceRevokedEvent </item> + <item> BeanContextServiceRevokedListener </item> + <item> BeanContextServices </item> + <item> BeanContextServicesListener </item> + <item> BeanContextServicesSupport </item> + <item> BeanContextSupport </item> + <item> BeanDescriptor </item> + <item> BeanInfo </item> + <item> Beans </item> + <item> BeepAction </item> + <item> BevelBorder </item> + <item> BevelBorderUIResource </item> + <item> Bias </item> + <item> Bidi </item> + <item> BigDecimal </item> + <item> BigInteger </item> + <item> BinaryRefAddr </item> + <item> BindException </item> + <item> Binding </item> + <item> Binding </item> + <item> BindingHelper </item> + <item> BindingHolder </item> + <item> BindingIterator </item> + <item> BindingIteratorHelper </item> + <item> BindingIteratorHolder </item> + <item> BindingIteratorOperations </item> + <item> BindingIteratorPOA </item> + <item> BindingListHelper </item> + <item> BindingListHolder </item> + <item> BindingType </item> + <item> BindingTypeHelper </item> + <item> BindingTypeHolder </item> + <item> BitSet </item> + <item> Blob </item> + <item> BlockView </item> + <item> BoldAction </item> + <item> Book </item> + <item> Boolean </item> + <item> BooleanControl </item> + <item> BooleanHolder </item> + <item> BooleanSeqHelper </item> + <item> BooleanSeqHolder </item> + <item> Border </item> + <item> BorderFactory </item> + <item> BorderLayout </item> + <item> BorderUIResource </item> + <item> BoundedRangeModel </item> + <item> Bounds </item> + <item> Bounds </item> + <item> Box </item> + <item> BoxLayout </item> + <item> BoxPainter </item> + <item> BoxView </item> + <item> BoxedValueHelper </item> + <item> BreakIterator </item> + <item> Buffer </item> + <item> BufferCapabilities </item> + <item> BufferOverflowException </item> + <item> BufferStrategy </item> + <item> BufferUnderflowException </item> + <item> BufferedImage </item> + <item> BufferedImageFilter </item> + <item> BufferedImageOp </item> + <item> BufferedInputStream </item> + <item> BufferedOutputStream </item> + <item> BufferedReader </item> + <item> BufferedWriter </item> + <item> Button </item> + <item> ButtonAreaLayout </item> + <item> ButtonBorder </item> + <item> ButtonBorder </item> + <item> ButtonGroup </item> + <item> ButtonModel </item> + <item> ButtonUI </item> + <item> Byte </item> + <item> ByteArrayInputStream </item> + <item> ByteArrayOutputStream </item> + <item> ByteBuffer </item> + <item> ByteChannel </item> + <item> ByteHolder </item> + <item> ByteLookupTable </item> + <item> ByteOrder </item> + <item> CDATASection </item> + <item> CHAR_ARRAY </item> + <item> CMMException </item> + <item> COMM_FAILURE </item> + <item> CRC32 </item> + <item> CRL </item> + <item> CRLException </item> + <item> CRLSelector </item> + <item> CSS </item> + <item> CTX_RESTRICT_SCOPE </item> + <item> Calendar </item> + <item> CallableStatement </item> + <item> Callback </item> + <item> CallbackHandler </item> + <item> CancelablePrintJob </item> + <item> CancelledKeyException </item> + <item> CannotProceed </item> + <item> CannotProceedException </item> + <item> CannotProceedHelper </item> + <item> CannotProceedHolder </item> + <item> CannotRedoException </item> + <item> CannotUndoException </item> + <item> Canvas </item> + <item> CardLayout </item> + <item> Caret </item> + <item> CaretEvent </item> + <item> CaretListener </item> + <item> CaretPolicy </item> + <item> CellEditor </item> + <item> CellEditorListener </item> + <item> CellRendererPane </item> + <item> CertPath </item> + <item> CertPathBuilder </item> + <item> CertPathBuilderException </item> + <item> CertPathBuilderResult </item> + <item> CertPathBuilderSpi </item> + <item> CertPathParameters </item> + <item> CertPathRep </item> + <item> CertPathValidator </item> + <item> CertPathValidatorException </item> + <item> CertPathValidatorResult </item> + <item> CertPathValidatorSpi </item> + <item> CertSelector </item> + <item> CertStore </item> + <item> CertStoreException </item> + <item> CertStoreParameters </item> + <item> CertStoreSpi </item> + <item> Certificate </item> + <item> Certificate </item> + <item> Certificate </item> + <item> CertificateEncodingException </item> + <item> CertificateEncodingException </item> + <item> CertificateException </item> + <item> CertificateException </item> + <item> CertificateExpiredException </item> + <item> CertificateExpiredException </item> + <item> CertificateFactory </item> + <item> CertificateFactorySpi </item> + <item> CertificateNotYetValidException </item> + <item> CertificateNotYetValidException </item> + <item> CertificateParsingException </item> + <item> CertificateParsingException </item> + <item> CertificateRep </item> + <item> ChangeEvent </item> + <item> ChangeListener </item> + <item> ChangedCharSetException </item> + <item> Channel </item> + <item> ChannelBinding </item> + <item> Channels </item> + <item> CharArrayReader </item> + <item> CharArrayWriter </item> + <item> CharBuffer </item> + <item> CharConversionException </item> + <item> CharHolder </item> + <item> CharSeqHelper </item> + <item> CharSeqHolder </item> + <item> CharSequence </item> + <item> Character </item> + <item> CharacterAttribute </item> + <item> CharacterCodingException </item> + <item> CharacterConstants </item> + <item> CharacterData </item> + <item> CharacterIterator </item> + <item> Charset </item> + <item> CharsetDecoder </item> + <item> CharsetEncoder </item> + <item> CharsetProvider </item> + <item> Checkbox </item> + <item> CheckboxGroup </item> + <item> CheckboxMenuItem </item> + <item> CheckedInputStream </item> + <item> CheckedOutputStream </item> + <item> Checksum </item> + <item> Choice </item> + <item> ChoiceCallback </item> + <item> ChoiceFormat </item> + <item> Chromaticity </item> + <item> Cipher </item> + <item> CipherInputStream </item> + <item> CipherOutputStream </item> + <item> CipherSpi </item> + <item> Class </item> + <item> ClassCastException </item> + <item> ClassCircularityError </item> + <item> ClassDesc </item> + <item> ClassFormatError </item> + <item> ClassLoader </item> + <item> ClassNotFoundException </item> + <item> ClientRequestInfo </item> + <item> ClientRequestInfoOperations </item> + <item> ClientRequestInterceptor </item> + <item> ClientRequestInterceptorOperations </item> + <item> Clip </item> + <item> Clipboard </item> + <item> ClipboardOwner </item> + <item> Clob </item> + <item> CloneNotSupportedException </item> + <item> Cloneable </item> + <item> ClosedByInterruptException </item> + <item> ClosedChannelException </item> + <item> ClosedSelectorException </item> + <item> CodeSets </item> + <item> CodeSource </item> + <item> Codec </item> + <item> CodecFactory </item> + <item> CodecFactoryHelper </item> + <item> CodecFactoryOperations </item> + <item> CodecOperations </item> + <item> CoderMalfunctionError </item> + <item> CoderResult </item> + <item> CodingErrorAction </item> + <item> CollationElementIterator </item> + <item> CollationKey </item> + <item> Collator </item> + <item> Collection </item> + <item> CollectionCertStoreParameters </item> + <item> Collections </item> + <item> Color </item> + <item> ColorAttribute </item> + <item> ColorChooserComponentFactory </item> + <item> ColorChooserUI </item> + <item> ColorConstants </item> + <item> ColorConvertOp </item> + <item> ColorModel </item> + <item> ColorSelectionModel </item> + <item> ColorSpace </item> + <item> ColorSupported </item> + <item> ColorType </item> + <item> ColorUIResource </item> + <item> ComboBoxEditor </item> + <item> ComboBoxModel </item> + <item> ComboBoxUI </item> + <item> ComboPopup </item> + <item> CommandEnvironment </item> + <item> Comment </item> + <item> CommunicationException </item> + <item> Comparable </item> + <item> Comparator </item> + <item> Compiler </item> + <item> CompletionStatus </item> + <item> CompletionStatusHelper </item> + <item> Component </item> + <item> ComponentAdapter </item> + <item> ComponentColorModel </item> + <item> ComponentEvent </item> + <item> ComponentIdHelper </item> + <item> ComponentInputMap </item> + <item> ComponentInputMapUIResource </item> + <item> ComponentListener </item> + <item> ComponentOrientation </item> + <item> ComponentSampleModel </item> + <item> ComponentUI </item> + <item> ComponentView </item> + <item> Composite </item> + <item> CompositeContext </item> + <item> CompositeName </item> + <item> CompositeView </item> + <item> CompoundBorder </item> + <item> CompoundBorderUIResource </item> + <item> CompoundControl </item> + <item> CompoundEdit </item> + <item> CompoundName </item> + <item> Compression </item> + <item> ConcurrentModificationException </item> + <item> Configuration </item> + <item> ConfigurationException </item> + <item> ConfirmationCallback </item> + <item> ConnectException </item> + <item> ConnectException </item> + <item> ConnectIOException </item> + <item> Connection </item> + <item> ConnectionEvent </item> + <item> ConnectionEventListener </item> + <item> ConnectionPendingException </item> + <item> ConnectionPoolDataSource </item> + <item> ConsoleHandler </item> + <item> Constraints </item> + <item> Constructor </item> + <item> Container </item> + <item> ContainerAdapter </item> + <item> ContainerEvent </item> + <item> ContainerListener </item> + <item> ContainerOrderFocusTraversalPolicy </item> + <item> Content </item> + <item> ContentHandler </item> + <item> ContentHandler </item> + <item> ContentHandlerFactory </item> + <item> ContentModel </item> + <item> Context </item> + <item> Context </item> + <item> ContextList </item> + <item> ContextNotEmptyException </item> + <item> ContextualRenderedImageFactory </item> + <item> Control </item> + <item> Control </item> + <item> ControlFactory </item> + <item> ControllerEventListener </item> + <item> ConvolveOp </item> + <item> CookieHolder </item> + <item> Copies </item> + <item> CopiesSupported </item> + <item> CopyAction </item> + <item> CredentialExpiredException </item> + <item> CropImageFilter </item> + <item> CubicCurve2D </item> + <item> Currency </item> + <item> Current </item> + <item> Current </item> + <item> Current </item> + <item> CurrentHelper </item> + <item> CurrentHelper </item> + <item> CurrentHelper </item> + <item> CurrentHolder </item> + <item> CurrentOperations </item> + <item> CurrentOperations </item> + <item> CurrentOperations </item> + <item> Cursor </item> + <item> CustomMarshal </item> + <item> CustomValue </item> + <item> Customizer </item> + <item> CutAction </item> + <item> DATA_CONVERSION </item> + <item> DESKeySpec </item> + <item> DESedeKeySpec </item> + <item> DGC </item> + <item> DHGenParameterSpec </item> + <item> DHKey </item> + <item> DHParameterSpec </item> + <item> DHPrivateKey </item> + <item> DHPrivateKeySpec </item> + <item> DHPublicKey </item> + <item> DHPublicKeySpec </item> + <item> DOMException </item> + <item> DOMImplementation </item> + <item> DOMLocator </item> + <item> DOMResult </item> + <item> DOMSource </item> + <item> DSAKey </item> + <item> DSAKeyPairGenerator </item> + <item> DSAParameterSpec </item> + <item> DSAParams </item> + <item> DSAPrivateKey </item> + <item> DSAPrivateKeySpec </item> + <item> DSAPublicKey </item> + <item> DSAPublicKeySpec </item> + <item> DTD </item> + <item> DTDConstants </item> + <item> DTDHandler </item> + <item> DataBuffer </item> + <item> DataBufferByte </item> + <item> DataBufferDouble </item> + <item> DataBufferFloat </item> + <item> DataBufferInt </item> + <item> DataBufferShort </item> + <item> DataBufferUShort </item> + <item> DataFlavor </item> + <item> DataFormatException </item> + <item> DataInput </item> + <item> DataInputStream </item> + <item> DataInputStream </item> + <item> DataLine </item> + <item> DataOutput </item> + <item> DataOutputStream </item> + <item> DataOutputStream </item> + <item> DataSource </item> + <item> DataTruncation </item> + <item> DatabaseMetaData </item> + <item> DatagramChannel </item> + <item> DatagramPacket </item> + <item> DatagramSocket </item> + <item> DatagramSocketImpl </item> + <item> DatagramSocketImplFactory </item> + <item> Date </item> + <item> Date </item> + <item> DateEditor </item> + <item> DateFormat </item> + <item> DateFormatSymbols </item> + <item> DateFormatter </item> + <item> DateTimeAtCompleted </item> + <item> DateTimeAtCreation </item> + <item> DateTimeAtProcessing </item> + <item> DateTimeSyntax </item> + <item> DebugGraphics </item> + <item> DecimalFormat </item> + <item> DecimalFormatSymbols </item> + <item> DeclHandler </item> + <item> DefaultBoundedRangeModel </item> + <item> DefaultButtonModel </item> + <item> DefaultCaret </item> + <item> DefaultCellEditor </item> + <item> DefaultColorSelectionModel </item> + <item> DefaultComboBoxModel </item> + <item> DefaultDesktopManager </item> + <item> DefaultEditor </item> + <item> DefaultEditorKit </item> + <item> DefaultFocusManager </item> + <item> DefaultFocusTraversalPolicy </item> + <item> DefaultFormatter </item> + <item> DefaultFormatterFactory </item> + <item> DefaultHandler </item> + <item> DefaultHighlightPainter </item> + <item> DefaultHighlighter </item> + <item> DefaultKeyTypedAction </item> + <item> DefaultKeyboardFocusManager </item> + <item> DefaultListCellRenderer </item> + <item> DefaultListModel </item> + <item> DefaultListSelectionModel </item> + <item> DefaultMenuLayout </item> + <item> DefaultMetalTheme </item> + <item> DefaultMutableTreeNode </item> + <item> DefaultPersistenceDelegate </item> + <item> DefaultSelectionType </item> + <item> DefaultSingleSelectionModel </item> + <item> DefaultStyledDocument </item> + <item> DefaultTableCellRenderer </item> + <item> DefaultTableColumnModel </item> + <item> DefaultTableModel </item> + <item> DefaultTextUI </item> + <item> DefaultTreeCellEditor </item> + <item> DefaultTreeCellRenderer </item> + <item> DefaultTreeModel </item> + <item> DefaultTreeSelectionModel </item> + <item> DefinitionKind </item> + <item> DefinitionKindHelper </item> + <item> Deflater </item> + <item> DeflaterOutputStream </item> + <item> Delegate </item> + <item> Delegate </item> + <item> Delegate </item> + <item> DelegationPermission </item> + <item> DesignMode </item> + <item> DesktopIconUI </item> + <item> DesktopManager </item> + <item> DesktopPaneUI </item> + <item> Destination </item> + <item> DestinationType </item> + <item> DestroyFailedException </item> + <item> Destroyable </item> + <item> Dialog </item> + <item> DialogType </item> + <item> Dictionary </item> + <item> DigestException </item> + <item> DigestInputStream </item> + <item> DigestOutputStream </item> + <item> Dimension </item> + <item> Dimension2D </item> + <item> DimensionUIResource </item> + <item> DirContext </item> + <item> DirObjectFactory </item> + <item> DirStateFactory </item> + <item> DirectColorModel </item> + <item> DirectoryManager </item> + <item> DisplayMode </item> + <item> DnDConstants </item> + <item> Doc </item> + <item> DocAttribute </item> + <item> DocAttributeSet </item> + <item> DocFlavor </item> + <item> DocPrintJob </item> + <item> Document </item> + <item> Document </item> + <item> DocumentBuilder </item> + <item> DocumentBuilderFactory </item> + <item> DocumentEvent </item> + <item> DocumentFilter </item> + <item> DocumentFragment </item> + <item> DocumentHandler </item> + <item> DocumentListener </item> + <item> DocumentName </item> + <item> DocumentParser </item> + <item> DocumentType </item> + <item> DomainCombiner </item> + <item> DomainManager </item> + <item> DomainManagerOperations </item> + <item> Double </item> + <item> Double </item> + <item> Double </item> + <item> Double </item> + <item> Double </item> + <item> Double </item> + <item> Double </item> + <item> Double </item> + <item> Double </item> + <item> DoubleBuffer </item> + <item> DoubleHolder </item> + <item> DoubleSeqHelper </item> + <item> DoubleSeqHolder </item> + <item> DragGestureEvent </item> + <item> DragGestureListener </item> + <item> DragGestureRecognizer </item> + <item> DragSource </item> + <item> DragSourceAdapter </item> + <item> DragSourceContext </item> + <item> DragSourceDragEvent </item> + <item> DragSourceDropEvent </item> + <item> DragSourceEvent </item> + <item> DragSourceListener </item> + <item> DragSourceMotionListener </item> + <item> Driver </item> + <item> DriverManager </item> + <item> DriverPropertyInfo </item> + <item> DropTarget </item> + <item> DropTargetAdapter </item> + <item> DropTargetAutoScroller </item> + <item> DropTargetContext </item> + <item> DropTargetDragEvent </item> + <item> DropTargetDropEvent </item> + <item> DropTargetEvent </item> + <item> DropTargetListener </item> + <item> DuplicateName </item> + <item> DuplicateNameHelper </item> + <item> DynAny </item> + <item> DynAny </item> + <item> DynAnyFactory </item> + <item> DynAnyFactoryHelper </item> + <item> DynAnyFactoryOperations </item> + <item> DynAnyHelper </item> + <item> DynAnyOperations </item> + <item> DynAnySeqHelper </item> + <item> DynArray </item> + <item> DynArray </item> + <item> DynArrayHelper </item> + <item> DynArrayOperations </item> + <item> DynEnum </item> + <item> DynEnum </item> + <item> DynEnumHelper </item> + <item> DynEnumOperations </item> + <item> DynFixed </item> + <item> DynFixed </item> + <item> DynFixedHelper </item> + <item> DynFixedOperations </item> + <item> DynSequence </item> + <item> DynSequence </item> + <item> DynSequenceHelper </item> + <item> DynSequenceOperations </item> + <item> DynStruct </item> + <item> DynStruct </item> + <item> DynStructHelper </item> + <item> DynStructOperations </item> + <item> DynUnion </item> + <item> DynUnion </item> + <item> DynUnionHelper </item> + <item> DynUnionOperations </item> + <item> DynValue </item> + <item> DynValue </item> + <item> DynValueBox </item> + <item> DynValueBoxOperations </item> + <item> DynValueCommon </item> + <item> DynValueCommonOperations </item> + <item> DynValueHelper </item> + <item> DynValueOperations </item> + <item> DynamicImplementation </item> + <item> DynamicImplementation </item> + <item> DynamicUtilTreeNode </item> + <item> ENCODING_CDR_ENCAPS </item> + <item> EOFException </item> + <item> EditorKit </item> + <item> Element </item> + <item> Element </item> + <item> Element </item> + <item> ElementChange </item> + <item> ElementEdit </item> + <item> ElementIterator </item> + <item> ElementSpec </item> + <item> Ellipse2D </item> + <item> EmptyBorder </item> + <item> EmptyBorderUIResource </item> + <item> EmptySelectionModel </item> + <item> EmptyStackException </item> + <item> EncodedKeySpec </item> + <item> Encoder </item> + <item> Encoding </item> + <item> Encoding </item> + <item> EncryptedPrivateKeyInfo </item> + <item> Engineering </item> + <item> Entity </item> + <item> Entity </item> + <item> EntityReference </item> + <item> EntityResolver </item> + <item> Entry </item> + <item> EnumControl </item> + <item> EnumSyntax </item> + <item> Enumeration </item> + <item> Environment </item> + <item> Error </item> + <item> ErrorHandler </item> + <item> ErrorListener </item> + <item> ErrorManager </item> + <item> EtchedBorder </item> + <item> EtchedBorderUIResource </item> + <item> Event </item> + <item> EventContext </item> + <item> EventDirContext </item> + <item> EventHandler </item> + <item> EventListener </item> + <item> EventListenerList </item> + <item> EventListenerProxy </item> + <item> EventObject </item> + <item> EventQueue </item> + <item> EventSetDescriptor </item> + <item> EventType </item> + <item> EventType </item> + <item> Exception </item> + <item> ExceptionInInitializerError </item> + <item> ExceptionList </item> + <item> ExceptionListener </item> + <item> ExemptionMechanism </item> + <item> ExemptionMechanismException </item> + <item> ExemptionMechanismSpi </item> + <item> ExpandVetoException </item> + <item> ExportException </item> + <item> Expression </item> + <item> ExtendedRequest </item> + <item> ExtendedResponse </item> + <item> Externalizable </item> + <item> FREE_MEM </item> + <item> FactoryConfigurationError </item> + <item> FailedLoginException </item> + <item> FeatureDescriptor </item> + <item> Fidelity </item> + <item> Field </item> + <item> Field </item> + <item> Field </item> + <item> Field </item> + <item> Field </item> + <item> FieldBorder </item> + <item> FieldNameHelper </item> + <item> FieldNameHelper </item> + <item> FieldPosition </item> + <item> FieldView </item> + <item> File </item> + <item> FileCacheImageInputStream </item> + <item> FileCacheImageOutputStream </item> + <item> FileChannel </item> + <item> FileChooserUI </item> + <item> FileDescriptor </item> + <item> FileDialog </item> + <item> FileFilter </item> + <item> FileFilter </item> + <item> FileHandler </item> + <item> FileIcon16 </item> + <item> FileImageInputStream </item> + <item> FileImageOutputStream </item> + <item> FileInputStream </item> + <item> FileLock </item> + <item> FileLockInterruptionException </item> + <item> FileNameMap </item> + <item> FileNotFoundException </item> + <item> FileOutputStream </item> + <item> FilePermission </item> + <item> FileReader </item> + <item> FileSystemView </item> + <item> FileView </item> + <item> FileWriter </item> + <item> FilenameFilter </item> + <item> Filler </item> + <item> Filter </item> + <item> Filter </item> + <item> FilterBypass </item> + <item> FilterBypass </item> + <item> FilterInputStream </item> + <item> FilterOutputStream </item> + <item> FilterReader </item> + <item> FilterWriter </item> + <item> FilteredImageSource </item> + <item> Finishings </item> + <item> FixedHeightLayoutCache </item> + <item> FixedHolder </item> + <item> FlatteningPathIterator </item> + <item> FlavorException </item> + <item> FlavorMap </item> + <item> FlavorTable </item> + <item> FlipContents </item> + <item> Float </item> + <item> Float </item> + <item> Float </item> + <item> Float </item> + <item> Float </item> + <item> Float </item> + <item> Float </item> + <item> Float </item> + <item> Float </item> + <item> FloatBuffer </item> + <item> FloatControl </item> + <item> FloatHolder </item> + <item> FloatSeqHelper </item> + <item> FloatSeqHolder </item> + <item> FlowLayout </item> + <item> FlowStrategy </item> + <item> FlowView </item> + <item> Flush3DBorder </item> + <item> FocusAdapter </item> + <item> FocusEvent </item> + <item> FocusListener </item> + <item> FocusManager </item> + <item> FocusTraversalPolicy </item> + <item> FolderIcon16 </item> + <item> Font </item> + <item> FontAttribute </item> + <item> FontConstants </item> + <item> FontFamilyAction </item> + <item> FontFormatException </item> + <item> FontMetrics </item> + <item> FontRenderContext </item> + <item> FontSizeAction </item> + <item> FontUIResource </item> + <item> ForegroundAction </item> + <item> FormView </item> + <item> Format </item> + <item> FormatConversionProvider </item> + <item> FormatMismatch </item> + <item> FormatMismatchHelper </item> + <item> Formatter </item> + <item> ForwardRequest </item> + <item> ForwardRequest </item> + <item> ForwardRequestHelper </item> + <item> ForwardRequestHelper </item> + <item> Frame </item> + <item> GSSContext </item> + <item> GSSCredential </item> + <item> GSSException </item> + <item> GSSManager </item> + <item> GSSName </item> + <item> GZIPInputStream </item> + <item> GZIPOutputStream </item> + <item> GapContent </item> + <item> GatheringByteChannel </item> + <item> GeneralPath </item> + <item> GeneralSecurityException </item> + <item> GetField </item> + <item> GlyphJustificationInfo </item> + <item> GlyphMetrics </item> + <item> GlyphPainter </item> + <item> GlyphVector </item> + <item> GlyphView </item> + <item> GradientPaint </item> + <item> GraphicAttribute </item> + <item> Graphics </item> + <item> Graphics2D </item> + <item> GraphicsConfigTemplate </item> + <item> GraphicsConfiguration </item> + <item> GraphicsDevice </item> + <item> GraphicsEnvironment </item> + <item> GrayFilter </item> + <item> GregorianCalendar </item> + <item> GridBagConstraints </item> + <item> GridBagLayout </item> + <item> GridLayout </item> + <item> Group </item> + <item> Guard </item> + <item> GuardedObject </item> + <item> HTML </item> + <item> HTMLDocument </item> + <item> HTMLEditorKit </item> + <item> HTMLEditorKit </item> + <item> HTMLEditorKit </item> + <item> HTMLFrameHyperlinkEvent </item> + <item> HTMLWriter </item> + <item> Handler </item> + <item> HandlerBase </item> + <item> HandshakeCompletedEvent </item> + <item> HandshakeCompletedListener </item> + <item> HasControls </item> + <item> HashAttributeSet </item> + <item> HashDocAttributeSet </item> + <item> HashMap </item> + <item> HashPrintJobAttributeSet </item> + <item> HashPrintRequestAttributeSet </item> + <item> HashPrintServiceAttributeSet </item> + <item> HashSet </item> + <item> Hashtable </item> + <item> HeadlessException </item> + <item> HierarchyBoundsAdapter </item> + <item> HierarchyBoundsListener </item> + <item> HierarchyEvent </item> + <item> HierarchyListener </item> + <item> Highlight </item> + <item> HighlightPainter </item> + <item> Highlighter </item> + <item> HostnameVerifier </item> + <item> HttpURLConnection </item> + <item> HttpsURLConnection </item> + <item> HyperlinkEvent </item> + <item> HyperlinkListener </item> + <item> ICC_ColorSpace </item> + <item> ICC_Profile </item> + <item> ICC_ProfileGray </item> + <item> ICC_ProfileRGB </item> + <item> IDLEntity </item> + <item> IDLType </item> + <item> IDLTypeHelper </item> + <item> IDLTypeOperations </item> + <item> ID_ASSIGNMENT_POLICY_ID </item> + <item> ID_UNIQUENESS_POLICY_ID </item> + <item> IIOByteBuffer </item> + <item> IIOException </item> + <item> IIOImage </item> + <item> IIOInvalidTreeException </item> + <item> IIOMetadata </item> + <item> IIOMetadataController </item> + <item> IIOMetadataFormat </item> + <item> IIOMetadataFormatImpl </item> + <item> IIOMetadataNode </item> + <item> IIOParam </item> + <item> IIOParamController </item> + <item> IIOReadProgressListener </item> + <item> IIOReadUpdateListener </item> + <item> IIOReadWarningListener </item> + <item> IIORegistry </item> + <item> IIOServiceProvider </item> + <item> IIOWriteProgressListener </item> + <item> IIOWriteWarningListener </item> + <item> IMPLICIT_ACTIVATION_POLICY_ID </item> + <item> IMP_LIMIT </item> + <item> INITIALIZE </item> + <item> INPUT_STREAM </item> + <item> INTERNAL </item> + <item> INTF_REPOS </item> + <item> INVALID_TRANSACTION </item> + <item> INV_FLAG </item> + <item> INV_IDENT </item> + <item> INV_OBJREF </item> + <item> INV_POLICY </item> + <item> IOException </item> + <item> IOR </item> + <item> IORHelper </item> + <item> IORHolder </item> + <item> IORInfo </item> + <item> IORInfoOperations </item> + <item> IORInterceptor </item> + <item> IORInterceptorOperations </item> + <item> IRObject </item> + <item> IRObjectOperations </item> + <item> ISO </item> + <item> Icon </item> + <item> IconUIResource </item> + <item> IconView </item> + <item> IdAssignmentPolicy </item> + <item> IdAssignmentPolicyOperations </item> + <item> IdAssignmentPolicyValue </item> + <item> IdUniquenessPolicy </item> + <item> IdUniquenessPolicyOperations </item> + <item> IdUniquenessPolicyValue </item> + <item> IdentifierHelper </item> + <item> Identity </item> + <item> IdentityHashMap </item> + <item> IdentityScope </item> + <item> IllegalAccessError </item> + <item> IllegalAccessException </item> + <item> IllegalArgumentException </item> + <item> IllegalBlockSizeException </item> + <item> IllegalBlockingModeException </item> + <item> IllegalCharsetNameException </item> + <item> IllegalComponentStateException </item> + <item> IllegalMonitorStateException </item> + <item> IllegalPathStateException </item> + <item> IllegalSelectorException </item> + <item> IllegalStateException </item> + <item> IllegalThreadStateException </item> + <item> Image </item> + <item> ImageCapabilities </item> + <item> ImageConsumer </item> + <item> ImageFilter </item> + <item> ImageGraphicAttribute </item> + <item> ImageIO </item> + <item> ImageIcon </item> + <item> ImageInputStream </item> + <item> ImageInputStreamImpl </item> + <item> ImageInputStreamSpi </item> + <item> ImageObserver </item> + <item> ImageOutputStream </item> + <item> ImageOutputStreamImpl </item> + <item> ImageOutputStreamSpi </item> + <item> ImageProducer </item> + <item> ImageReadParam </item> + <item> ImageReader </item> + <item> ImageReaderSpi </item> + <item> ImageReaderWriterSpi </item> + <item> ImageTranscoder </item> + <item> ImageTranscoderSpi </item> + <item> ImageTypeSpecifier </item> + <item> ImageView </item> + <item> ImageWriteParam </item> + <item> ImageWriter </item> + <item> ImageWriterSpi </item> + <item> ImagingOpException </item> + <item> ImplicitActivationPolicy </item> + <item> ImplicitActivationPolicyOperations </item> + <item> ImplicitActivationPolicyValue </item> + <item> IncompatibleClassChangeError </item> + <item> InconsistentTypeCode </item> + <item> InconsistentTypeCode </item> + <item> InconsistentTypeCodeHelper </item> + <item> IndexColorModel </item> + <item> IndexOutOfBoundsException </item> + <item> IndexedPropertyDescriptor </item> + <item> IndirectionException </item> + <item> Inet4Address </item> + <item> Inet6Address </item> + <item> InetAddress </item> + <item> InetSocketAddress </item> + <item> Inflater </item> + <item> InflaterInputStream </item> + <item> Info </item> + <item> Info </item> + <item> Info </item> + <item> Info </item> + <item> Info </item> + <item> InheritableThreadLocal </item> + <item> InitialContext </item> + <item> InitialContextFactory </item> + <item> InitialContextFactoryBuilder </item> + <item> InitialDirContext </item> + <item> InitialLdapContext </item> + <item> InlineView </item> + <item> InputContext </item> + <item> InputEvent </item> + <item> InputMap </item> + <item> InputMapUIResource </item> + <item> InputMethod </item> + <item> InputMethodContext </item> + <item> InputMethodDescriptor </item> + <item> InputMethodEvent </item> + <item> InputMethodHighlight </item> + <item> InputMethodListener </item> + <item> InputMethodRequests </item> + <item> InputSource </item> + <item> InputStream </item> + <item> InputStream </item> + <item> InputStream </item> + <item> InputStreamReader </item> + <item> InputSubset </item> + <item> InputVerifier </item> + <item> InsertBreakAction </item> + <item> InsertContentAction </item> + <item> InsertHTMLTextAction </item> + <item> InsertTabAction </item> + <item> Insets </item> + <item> InsetsUIResource </item> + <item> InstantiationError </item> + <item> InstantiationException </item> + <item> Instrument </item> + <item> InsufficientResourcesException </item> + <item> IntBuffer </item> + <item> IntHolder </item> + <item> Integer </item> + <item> IntegerSyntax </item> + <item> Interceptor </item> + <item> InterceptorOperations </item> + <item> InternalError </item> + <item> InternalFrameAdapter </item> + <item> InternalFrameBorder </item> + <item> InternalFrameEvent </item> + <item> InternalFrameFocusTraversalPolicy </item> + <item> InternalFrameListener </item> + <item> InternalFrameUI </item> + <item> InternationalFormatter </item> + <item> InterruptedException </item> + <item> InterruptedIOException </item> + <item> InterruptedNamingException </item> + <item> InterruptibleChannel </item> + <item> IntrospectionException </item> + <item> Introspector </item> + <item> Invalid </item> + <item> InvalidAddress </item> + <item> InvalidAddressHelper </item> + <item> InvalidAddressHolder </item> + <item> InvalidAlgorithmParameterException </item> + <item> InvalidAttributeIdentifierException </item> + <item> InvalidAttributeValueException </item> + <item> InvalidAttributesException </item> + <item> InvalidClassException </item> + <item> InvalidDnDOperationException </item> + <item> InvalidKeyException </item> + <item> InvalidKeySpecException </item> + <item> InvalidMarkException </item> + <item> InvalidMidiDataException </item> + <item> InvalidName </item> + <item> InvalidName </item> + <item> InvalidName </item> + <item> InvalidNameException </item> + <item> InvalidNameHelper </item> + <item> InvalidNameHelper </item> + <item> InvalidNameHolder </item> + <item> InvalidObjectException </item> + <item> InvalidParameterException </item> + <item> InvalidParameterSpecException </item> + <item> InvalidPolicy </item> + <item> InvalidPolicyHelper </item> + <item> InvalidPreferencesFormatException </item> + <item> InvalidSearchControlsException </item> + <item> InvalidSearchFilterException </item> + <item> InvalidSeq </item> + <item> InvalidSlot </item> + <item> InvalidSlotHelper </item> + <item> InvalidTransactionException </item> + <item> InvalidTypeForEncoding </item> + <item> InvalidTypeForEncodingHelper </item> + <item> InvalidValue </item> + <item> InvalidValue </item> + <item> InvalidValueHelper </item> + <item> InvocationEvent </item> + <item> InvocationHandler </item> + <item> InvocationTargetException </item> + <item> InvokeHandler </item> + <item> IstringHelper </item> + <item> ItalicAction </item> + <item> ItemEvent </item> + <item> ItemListener </item> + <item> ItemSelectable </item> + <item> Iterator </item> + <item> Iterator </item> + <item> IvParameterSpec </item> + <item> JApplet </item> + <item> JButton </item> + <item> JCheckBox </item> + <item> JCheckBoxMenuItem </item> + <item> JColorChooser </item> + <item> JComboBox </item> + <item> JComponent </item> + <item> JDesktopIcon </item> + <item> JDesktopPane </item> + <item> JDialog </item> + <item> JEditorPane </item> + <item> JFileChooser </item> + <item> JFormattedTextField </item> + <item> JFrame </item> + <item> JIS </item> + <item> JInternalFrame </item> + <item> JLabel </item> + <item> JLayeredPane </item> + <item> JList </item> + <item> JMenu </item> + <item> JMenuBar </item> + <item> JMenuItem </item> + <item> JOptionPane </item> + <item> JPEGHuffmanTable </item> + <item> JPEGImageReadParam </item> + <item> JPEGImageWriteParam </item> + <item> JPEGQTable </item> + <item> JPanel </item> + <item> JPasswordField </item> + <item> JPopupMenu </item> + <item> JProgressBar </item> + <item> JRadioButton </item> + <item> JRadioButtonMenuItem </item> + <item> JRootPane </item> + <item> JScrollBar </item> + <item> JScrollPane </item> + <item> JSeparator </item> + <item> JSlider </item> + <item> JSpinner </item> + <item> JSplitPane </item> + <item> JTabbedPane </item> + <item> JTable </item> + <item> JTableHeader </item> + <item> JTextArea </item> + <item> JTextComponent </item> + <item> JTextField </item> + <item> JTextPane </item> + <item> JToggleButton </item> + <item> JToolBar </item> + <item> JToolTip </item> + <item> JTree </item> + <item> JViewport </item> + <item> JWindow </item> + <item> JarEntry </item> + <item> JarException </item> + <item> JarFile </item> + <item> JarInputStream </item> + <item> JarOutputStream </item> + <item> JarURLConnection </item> + <item> JobAttributes </item> + <item> JobHoldUntil </item> + <item> JobImpressions </item> + <item> JobImpressionsCompleted </item> + <item> JobImpressionsSupported </item> + <item> JobKOctets </item> + <item> JobKOctetsProcessed </item> + <item> JobKOctetsSupported </item> + <item> JobMediaSheets </item> + <item> JobMediaSheetsCompleted </item> + <item> JobMediaSheetsSupported </item> + <item> JobMessageFromOperator </item> + <item> JobName </item> + <item> JobOriginatingUserName </item> + <item> JobPriority </item> + <item> JobPrioritySupported </item> + <item> JobSheets </item> + <item> JobState </item> + <item> JobStateReason </item> + <item> JobStateReasons </item> + <item> KerberosKey </item> + <item> KerberosPrincipal </item> + <item> KerberosTicket </item> + <item> Kernel </item> + <item> Key </item> + <item> Key </item> + <item> KeyAdapter </item> + <item> KeyAgreement </item> + <item> KeyAgreementSpi </item> + <item> KeyBinding </item> + <item> KeyEvent </item> + <item> KeyEventDispatcher </item> + <item> KeyEventPostProcessor </item> + <item> KeyException </item> + <item> KeyFactory </item> + <item> KeyFactorySpi </item> + <item> KeyGenerator </item> + <item> KeyGeneratorSpi </item> + <item> KeyListener </item> + <item> KeyManagementException </item> + <item> KeyManager </item> + <item> KeyManagerFactory </item> + <item> KeyManagerFactorySpi </item> + <item> KeyPair </item> + <item> KeyPairGenerator </item> + <item> KeyPairGeneratorSpi </item> + <item> KeySelectionManager </item> + <item> KeySpec </item> + <item> KeyStore </item> + <item> KeyStoreException </item> + <item> KeyStoreSpi </item> + <item> KeyStroke </item> + <item> KeyboardFocusManager </item> + <item> Keymap </item> + <item> LDAPCertStoreParameters </item> + <item> LIFESPAN_POLICY_ID </item> + <item> LOCATION_FORWARD </item> + <item> Label </item> + <item> LabelUI </item> + <item> LabelView </item> + <item> LanguageCallback </item> + <item> LastOwnerException </item> + <item> LayerPainter </item> + <item> LayeredHighlighter </item> + <item> LayoutFocusTraversalPolicy </item> + <item> LayoutManager </item> + <item> LayoutManager2 </item> + <item> LayoutQueue </item> + <item> LazyInputMap </item> + <item> LazyValue </item> + <item> LdapContext </item> + <item> LdapReferralException </item> + <item> Lease </item> + <item> Level </item> + <item> LexicalHandler </item> + <item> LifespanPolicy </item> + <item> LifespanPolicyOperations </item> + <item> LifespanPolicyValue </item> + <item> LimitExceededException </item> + <item> Line </item> + <item> Line2D </item> + <item> LineBorder </item> + <item> LineBorderUIResource </item> + <item> LineBreakMeasurer </item> + <item> LineEvent </item> + <item> LineListener </item> + <item> LineMetrics </item> + <item> LineNumberInputStream </item> + <item> LineNumberReader </item> + <item> LineUnavailableException </item> + <item> LinkController </item> + <item> LinkException </item> + <item> LinkLoopException </item> + <item> LinkRef </item> + <item> LinkageError </item> + <item> LinkedHashMap </item> + <item> LinkedHashSet </item> + <item> LinkedList </item> + <item> List </item> + <item> List </item> + <item> ListCellRenderer </item> + <item> ListDataEvent </item> + <item> ListDataListener </item> + <item> ListEditor </item> + <item> ListIterator </item> + <item> ListModel </item> + <item> ListPainter </item> + <item> ListResourceBundle </item> + <item> ListSelectionEvent </item> + <item> ListSelectionListener </item> + <item> ListSelectionModel </item> + <item> ListUI </item> + <item> ListView </item> + <item> LoaderHandler </item> + <item> LocalObject </item> + <item> Locale </item> + <item> LocateRegistry </item> + <item> Locator </item> + <item> LocatorImpl </item> + <item> LogManager </item> + <item> LogRecord </item> + <item> LogStream </item> + <item> Logger </item> + <item> LoggingPermission </item> + <item> LoginContext </item> + <item> LoginException </item> + <item> LoginModule </item> + <item> LoginModuleControlFlag </item> + <item> Long </item> + <item> LongBuffer </item> + <item> LongHolder </item> + <item> LongLongSeqHelper </item> + <item> LongLongSeqHolder </item> + <item> LongSeqHelper </item> + <item> LongSeqHolder </item> + <item> LookAndFeel </item> + <item> LookAndFeelInfo </item> + <item> LookupOp </item> + <item> LookupTable </item> + <item> MARSHAL </item> + <item> Mac </item> + <item> MacSpi </item> + <item> MalformedInputException </item> + <item> MalformedLinkException </item> + <item> MalformedURLException </item> + <item> ManagerFactoryParameters </item> + <item> Manifest </item> + <item> Map </item> + <item> MapMode </item> + <item> MappedByteBuffer </item> + <item> MarginBorder </item> + <item> MarshalException </item> + <item> MarshalledObject </item> + <item> MaskFormatter </item> + <item> Matcher </item> + <item> Math </item> + <item> MatteBorder </item> + <item> MatteBorderUIResource </item> + <item> Media </item> + <item> MediaName </item> + <item> MediaPrintableArea </item> + <item> MediaSize </item> + <item> MediaSizeName </item> + <item> MediaTracker </item> + <item> MediaTray </item> + <item> MediaType </item> + <item> Member </item> + <item> MemoryCacheImageInputStream </item> + <item> MemoryCacheImageOutputStream </item> + <item> MemoryHandler </item> + <item> MemoryImageSource </item> + <item> Menu </item> + <item> MenuBar </item> + <item> MenuBarBorder </item> + <item> MenuBarBorder </item> + <item> MenuBarUI </item> + <item> MenuComponent </item> + <item> MenuContainer </item> + <item> MenuDragMouseEvent </item> + <item> MenuDragMouseListener </item> + <item> MenuElement </item> + <item> MenuEvent </item> + <item> MenuItem </item> + <item> MenuItemBorder </item> + <item> MenuItemUI </item> + <item> MenuKeyEvent </item> + <item> MenuKeyListener </item> + <item> MenuListener </item> + <item> MenuSelectionManager </item> + <item> MenuShortcut </item> + <item> MessageDigest </item> + <item> MessageDigestSpi </item> + <item> MessageFormat </item> + <item> MessageProp </item> + <item> MetaEventListener </item> + <item> MetaMessage </item> + <item> MetalBorders </item> + <item> MetalButtonUI </item> + <item> MetalCheckBoxIcon </item> + <item> MetalCheckBoxUI </item> + <item> MetalComboBoxButton </item> + <item> MetalComboBoxEditor </item> + <item> MetalComboBoxIcon </item> + <item> MetalComboBoxUI </item> + <item> MetalDesktopIconUI </item> + <item> MetalFileChooserUI </item> + <item> MetalIconFactory </item> + <item> MetalInternalFrameTitlePane </item> + <item> MetalInternalFrameUI </item> + <item> MetalLabelUI </item> + <item> MetalLookAndFeel </item> + <item> MetalPopupMenuSeparatorUI </item> + <item> MetalProgressBarUI </item> + <item> MetalRadioButtonUI </item> + <item> MetalRootPaneUI </item> + <item> MetalScrollBarUI </item> + <item> MetalScrollButton </item> + <item> MetalScrollPaneUI </item> + <item> MetalSeparatorUI </item> + <item> MetalSliderUI </item> + <item> MetalSplitPaneUI </item> + <item> MetalTabbedPaneUI </item> + <item> MetalTextFieldUI </item> + <item> MetalTheme </item> + <item> MetalToggleButtonUI </item> + <item> MetalToolBarUI </item> + <item> MetalToolTipUI </item> + <item> MetalTreeUI </item> + <item> Method </item> + <item> MethodDescriptor </item> + <item> MidiChannel </item> + <item> MidiDevice </item> + <item> MidiDeviceProvider </item> + <item> MidiEvent </item> + <item> MidiFileFormat </item> + <item> MidiFileReader </item> + <item> MidiFileWriter </item> + <item> MidiMessage </item> + <item> MidiSystem </item> + <item> MidiUnavailableException </item> + <item> MimeTypeParseException </item> + <item> MinimalHTMLWriter </item> + <item> MissingResourceException </item> + <item> Mixer </item> + <item> MixerProvider </item> + <item> ModificationItem </item> + <item> Modifier </item> + <item> MouseAdapter </item> + <item> MouseDragGestureRecognizer </item> + <item> MouseEvent </item> + <item> MouseInputAdapter </item> + <item> MouseInputListener </item> + <item> MouseListener </item> + <item> MouseMotionAdapter </item> + <item> MouseMotionListener </item> + <item> MouseWheelEvent </item> + <item> MouseWheelListener </item> + <item> MultiButtonUI </item> + <item> MultiColorChooserUI </item> + <item> MultiComboBoxUI </item> + <item> MultiDesktopIconUI </item> + <item> MultiDesktopPaneUI </item> + <item> MultiDoc </item> + <item> MultiDocPrintJob </item> + <item> MultiDocPrintService </item> + <item> MultiFileChooserUI </item> + <item> MultiInternalFrameUI </item> + <item> MultiLabelUI </item> + <item> MultiListUI </item> + <item> MultiLookAndFeel </item> + <item> MultiMenuBarUI </item> + <item> MultiMenuItemUI </item> + <item> MultiOptionPaneUI </item> + <item> MultiPanelUI </item> + <item> MultiPixelPackedSampleModel </item> + <item> MultiPopupMenuUI </item> + <item> MultiProgressBarUI </item> + <item> MultiRootPaneUI </item> + <item> MultiScrollBarUI </item> + <item> MultiScrollPaneUI </item> + <item> MultiSeparatorUI </item> + <item> MultiSliderUI </item> + <item> MultiSpinnerUI </item> + <item> MultiSplitPaneUI </item> + <item> MultiTabbedPaneUI </item> + <item> MultiTableHeaderUI </item> + <item> MultiTableUI </item> + <item> MultiTextUI </item> + <item> MultiToolBarUI </item> + <item> MultiToolTipUI </item> + <item> MultiTreeUI </item> + <item> MultiViewportUI </item> + <item> MulticastSocket </item> + <item> MultipleComponentProfileHelper </item> + <item> MultipleComponentProfileHolder </item> + <item> MultipleDocumentHandling </item> + <item> MultipleDocumentHandlingType </item> + <item> MultipleMaster </item> + <item> MutableAttributeSet </item> + <item> MutableComboBoxModel </item> + <item> MutableTreeNode </item> + <item> NA </item> + <item> NO_IMPLEMENT </item> + <item> NO_MEMORY </item> + <item> NO_PERMISSION </item> + <item> NO_RESOURCES </item> + <item> NO_RESPONSE </item> + <item> NVList </item> + <item> Name </item> + <item> Name </item> + <item> NameAlreadyBoundException </item> + <item> NameCallback </item> + <item> NameClassPair </item> + <item> NameComponent </item> + <item> NameComponentHelper </item> + <item> NameComponentHolder </item> + <item> NameDynAnyPair </item> + <item> NameDynAnyPairHelper </item> + <item> NameDynAnyPairSeqHelper </item> + <item> NameHelper </item> + <item> NameHolder </item> + <item> NameNotFoundException </item> + <item> NameParser </item> + <item> NameValuePair </item> + <item> NameValuePair </item> + <item> NameValuePairHelper </item> + <item> NameValuePairHelper </item> + <item> NameValuePairSeqHelper </item> + <item> NamedNodeMap </item> + <item> NamedValue </item> + <item> NamespaceChangeListener </item> + <item> NamespaceSupport </item> + <item> Naming </item> + <item> NamingContext </item> + <item> NamingContextExt </item> + <item> NamingContextExtHelper </item> + <item> NamingContextExtHolder </item> + <item> NamingContextExtOperations </item> + <item> NamingContextExtPOA </item> + <item> NamingContextHelper </item> + <item> NamingContextHolder </item> + <item> NamingContextOperations </item> + <item> NamingContextPOA </item> + <item> NamingEnumeration </item> + <item> NamingEvent </item> + <item> NamingException </item> + <item> NamingExceptionEvent </item> + <item> NamingListener </item> + <item> NamingManager </item> + <item> NamingSecurityException </item> + <item> NavigationFilter </item> + <item> NegativeArraySizeException </item> + <item> NetPermission </item> + <item> NetworkInterface </item> + <item> NoClassDefFoundError </item> + <item> NoConnectionPendingException </item> + <item> NoContext </item> + <item> NoContextHelper </item> + <item> NoInitialContextException </item> + <item> NoPermissionException </item> + <item> NoRouteToHostException </item> + <item> NoServant </item> + <item> NoServantHelper </item> + <item> NoSuchAlgorithmException </item> + <item> NoSuchAttributeException </item> + <item> NoSuchElementException </item> + <item> NoSuchFieldError </item> + <item> NoSuchFieldException </item> + <item> NoSuchMethodError </item> + <item> NoSuchMethodException </item> + <item> NoSuchObjectException </item> + <item> NoSuchPaddingException </item> + <item> NoSuchProviderException </item> + <item> Node </item> + <item> NodeChangeEvent </item> + <item> NodeChangeListener </item> + <item> NodeDimensions </item> + <item> NodeList </item> + <item> NonReadableChannelException </item> + <item> NonWritableChannelException </item> + <item> NoninvertibleTransformException </item> + <item> NotActiveException </item> + <item> NotBoundException </item> + <item> NotContextException </item> + <item> NotEmpty </item> + <item> NotEmptyHelper </item> + <item> NotEmptyHolder </item> + <item> NotFound </item> + <item> NotFoundHelper </item> + <item> NotFoundHolder </item> + <item> NotFoundReason </item> + <item> NotFoundReasonHelper </item> + <item> NotFoundReasonHolder </item> + <item> NotOwnerException </item> + <item> NotSerializableException </item> + <item> NotYetBoundException </item> + <item> NotYetConnectedException </item> + <item> Notation </item> + <item> NullCipher </item> + <item> NullPointerException </item> + <item> Number </item> + <item> NumberEditor </item> + <item> NumberFormat </item> + <item> NumberFormatException </item> + <item> NumberFormatter </item> + <item> NumberOfDocuments </item> + <item> NumberOfInterveningJobs </item> + <item> NumberUp </item> + <item> NumberUpSupported </item> + <item> NumericShaper </item> + <item> OBJECT_NOT_EXIST </item> + <item> OBJ_ADAPTER </item> + <item> OMGVMCID </item> + <item> ORB </item> + <item> ORB </item> + <item> ORBInitInfo </item> + <item> ORBInitInfoOperations </item> + <item> ORBInitializer </item> + <item> ORBInitializerOperations </item> + <item> ObjID </item> + <item> Object </item> + <item> Object </item> + <item> ObjectAlreadyActive </item> + <item> ObjectAlreadyActiveHelper </item> + <item> ObjectChangeListener </item> + <item> ObjectFactory </item> + <item> ObjectFactoryBuilder </item> + <item> ObjectHelper </item> + <item> ObjectHolder </item> + <item> ObjectIdHelper </item> + <item> ObjectImpl </item> + <item> ObjectImpl </item> + <item> ObjectInput </item> + <item> ObjectInputStream </item> + <item> ObjectInputValidation </item> + <item> ObjectNotActive </item> + <item> ObjectNotActiveHelper </item> + <item> ObjectOutput </item> + <item> ObjectOutputStream </item> + <item> ObjectStreamClass </item> + <item> ObjectStreamConstants </item> + <item> ObjectStreamException </item> + <item> ObjectStreamField </item> + <item> ObjectView </item> + <item> Observable </item> + <item> Observer </item> + <item> OctetSeqHelper </item> + <item> OctetSeqHolder </item> + <item> Oid </item> + <item> OpenType </item> + <item> Operation </item> + <item> OperationNotSupportedException </item> + <item> Option </item> + <item> OptionDialogBorder </item> + <item> OptionPaneUI </item> + <item> OptionalDataException </item> + <item> OrientationRequested </item> + <item> OrientationRequestedType </item> + <item> OriginType </item> + <item> Other </item> + <item> OutOfMemoryError </item> + <item> OutputDeviceAssigned </item> + <item> OutputKeys </item> + <item> OutputStream </item> + <item> OutputStream </item> + <item> OutputStream </item> + <item> OutputStreamWriter </item> + <item> OverlappingFileLockException </item> + <item> OverlayLayout </item> + <item> Owner </item> + <item> PBEKey </item> + <item> PBEKeySpec </item> + <item> PBEParameterSpec </item> + <item> PDLOverrideSupported </item> + <item> PERSIST_STORE </item> + <item> PKCS8EncodedKeySpec </item> + <item> PKIXBuilderParameters </item> + <item> PKIXCertPathBuilderResult </item> + <item> PKIXCertPathChecker </item> + <item> PKIXCertPathValidatorResult </item> + <item> PKIXParameters </item> + <item> POA </item> + <item> POAHelper </item> + <item> POAManager </item> + <item> POAManagerOperations </item> + <item> POAOperations </item> + <item> PRIVATE_MEMBER </item> + <item> PSSParameterSpec </item> + <item> PUBLIC_MEMBER </item> + <item> Package </item> + <item> PackedColorModel </item> + <item> PageAttributes </item> + <item> PageFormat </item> + <item> PageRanges </item> + <item> Pageable </item> + <item> PagesPerMinute </item> + <item> PagesPerMinuteColor </item> + <item> Paint </item> + <item> PaintContext </item> + <item> PaintEvent </item> + <item> PaletteBorder </item> + <item> PaletteCloseIcon </item> + <item> Panel </item> + <item> PanelUI </item> + <item> Paper </item> + <item> ParagraphAttribute </item> + <item> ParagraphConstants </item> + <item> ParagraphView </item> + <item> ParagraphView </item> + <item> Parameter </item> + <item> ParameterBlock </item> + <item> ParameterDescriptor </item> + <item> ParameterMetaData </item> + <item> ParameterMode </item> + <item> ParameterModeHelper </item> + <item> ParameterModeHolder </item> + <item> ParseException </item> + <item> ParsePosition </item> + <item> Parser </item> + <item> Parser </item> + <item> Parser </item> + <item> ParserAdapter </item> + <item> ParserCallback </item> + <item> ParserConfigurationException </item> + <item> ParserDelegator </item> + <item> ParserFactory </item> + <item> PartialResultException </item> + <item> PasswordAuthentication </item> + <item> PasswordCallback </item> + <item> PasswordView </item> + <item> PasteAction </item> + <item> Patch </item> + <item> PathIterator </item> + <item> Pattern </item> + <item> PatternSyntaxException </item> + <item> Permission </item> + <item> Permission </item> + <item> PermissionCollection </item> + <item> Permissions </item> + <item> PersistenceDelegate </item> + <item> PhantomReference </item> + <item> Pipe </item> + <item> PipedInputStream </item> + <item> PipedOutputStream </item> + <item> PipedReader </item> + <item> PipedWriter </item> + <item> PixelGrabber </item> + <item> PixelInterleavedSampleModel </item> + <item> PlainDocument </item> + <item> PlainView </item> + <item> Point </item> + <item> Point2D </item> + <item> Policy </item> + <item> Policy </item> + <item> Policy </item> + <item> PolicyError </item> + <item> PolicyErrorCodeHelper </item> + <item> PolicyErrorHelper </item> + <item> PolicyErrorHolder </item> + <item> PolicyFactory </item> + <item> PolicyFactoryOperations </item> + <item> PolicyHelper </item> + <item> PolicyHolder </item> + <item> PolicyListHelper </item> + <item> PolicyListHolder </item> + <item> PolicyNode </item> + <item> PolicyOperations </item> + <item> PolicyQualifierInfo </item> + <item> PolicyTypeHelper </item> + <item> Polygon </item> + <item> PooledConnection </item> + <item> Popup </item> + <item> PopupFactory </item> + <item> PopupMenu </item> + <item> PopupMenuBorder </item> + <item> PopupMenuEvent </item> + <item> PopupMenuListener </item> + <item> PopupMenuUI </item> + <item> Port </item> + <item> PortUnreachableException </item> + <item> PortableRemoteObject </item> + <item> PortableRemoteObjectDelegate </item> + <item> Position </item> + <item> PreferenceChangeEvent </item> + <item> PreferenceChangeListener </item> + <item> Preferences </item> + <item> PreferencesFactory </item> + <item> PreparedStatement </item> + <item> PresentationDirection </item> + <item> Principal </item> + <item> Principal </item> + <item> PrincipalHolder </item> + <item> PrintEvent </item> + <item> PrintException </item> + <item> PrintGraphics </item> + <item> PrintJob </item> + <item> PrintJobAdapter </item> + <item> PrintJobAttribute </item> + <item> PrintJobAttributeEvent </item> + <item> PrintJobAttributeListener </item> + <item> PrintJobAttributeSet </item> + <item> PrintJobEvent </item> + <item> PrintJobListener </item> + <item> PrintQuality </item> + <item> PrintQualityType </item> + <item> PrintRequestAttribute </item> + <item> PrintRequestAttributeSet </item> + <item> PrintService </item> + <item> PrintServiceAttribute </item> + <item> PrintServiceAttributeEvent </item> + <item> PrintServiceAttributeListener </item> + <item> PrintServiceAttributeSet </item> + <item> PrintServiceLookup </item> + <item> PrintStream </item> + <item> PrintWriter </item> + <item> Printable </item> + <item> PrinterAbortException </item> + <item> PrinterException </item> + <item> PrinterGraphics </item> + <item> PrinterIOException </item> + <item> PrinterInfo </item> + <item> PrinterIsAcceptingJobs </item> + <item> PrinterJob </item> + <item> PrinterLocation </item> + <item> PrinterMakeAndModel </item> + <item> PrinterMessageFromOperator </item> + <item> PrinterMoreInfo </item> + <item> PrinterMoreInfoManufacturer </item> + <item> PrinterName </item> + <item> PrinterResolution </item> + <item> PrinterState </item> + <item> PrinterStateReason </item> + <item> PrinterStateReasons </item> + <item> PrinterURI </item> + <item> PrivateCredentialPermission </item> + <item> PrivateKey </item> + <item> PrivilegedAction </item> + <item> PrivilegedActionException </item> + <item> PrivilegedExceptionAction </item> + <item> Process </item> + <item> ProcessingInstruction </item> + <item> ProfileDataException </item> + <item> ProfileIdHelper </item> + <item> ProgressBarUI </item> + <item> ProgressMonitor </item> + <item> ProgressMonitorInputStream </item> + <item> Properties </item> + <item> PropertyChangeEvent </item> + <item> PropertyChangeListener </item> + <item> PropertyChangeListenerProxy </item> + <item> PropertyChangeSupport </item> + <item> PropertyDescriptor </item> + <item> PropertyEditor </item> + <item> PropertyEditorManager </item> + <item> PropertyEditorSupport </item> + <item> PropertyPermission </item> + <item> PropertyResourceBundle </item> + <item> PropertyVetoException </item> + <item> ProtectionDomain </item> + <item> ProtocolException </item> + <item> Provider </item> + <item> ProviderException </item> + <item> Proxy </item> + <item> ProxyLazyValue </item> + <item> PublicKey </item> + <item> PushbackInputStream </item> + <item> PushbackReader </item> + <item> PutField </item> + <item> QuadCurve2D </item> + <item> QueuedJobCount </item> + <item> RC2ParameterSpec </item> + <item> RC5ParameterSpec </item> + <item> READER </item> + <item> REQUEST_PROCESSING_POLICY_ID </item> + <item> RGBImageFilter </item> + <item> RMIClassLoader </item> + <item> RMIClassLoaderSpi </item> + <item> RMIClientSocketFactory </item> + <item> RMIFailureHandler </item> + <item> RMISecurityException </item> + <item> RMISecurityManager </item> + <item> RMIServerSocketFactory </item> + <item> RMISocketFactory </item> + <item> RSAKey </item> + <item> RSAKeyGenParameterSpec </item> + <item> RSAMultiPrimePrivateCrtKey </item> + <item> RSAMultiPrimePrivateCrtKeySpec </item> + <item> RSAOtherPrimeInfo </item> + <item> RSAPrivateCrtKey </item> + <item> RSAPrivateCrtKeySpec </item> + <item> RSAPrivateKey </item> + <item> RSAPrivateKeySpec </item> + <item> RSAPublicKey </item> + <item> RSAPublicKeySpec </item> + <item> RTFEditorKit </item> + <item> RadioButtonBorder </item> + <item> Random </item> + <item> RandomAccess </item> + <item> RandomAccessFile </item> + <item> Raster </item> + <item> RasterFormatException </item> + <item> RasterOp </item> + <item> ReadOnlyBufferException </item> + <item> ReadableByteChannel </item> + <item> Reader </item> + <item> Receiver </item> + <item> Rectangle </item> + <item> Rectangle2D </item> + <item> RectangularShape </item> + <item> Ref </item> + <item> RefAddr </item> + <item> Reference </item> + <item> Reference </item> + <item> ReferenceQueue </item> + <item> ReferenceUriSchemesSupported </item> + <item> Referenceable </item> + <item> ReferralException </item> + <item> ReflectPermission </item> + <item> RefreshFailedException </item> + <item> Refreshable </item> + <item> RegisterableService </item> + <item> Registry </item> + <item> RegistryHandler </item> + <item> RemarshalException </item> + <item> Remote </item> + <item> RemoteCall </item> + <item> RemoteException </item> + <item> RemoteObject </item> + <item> RemoteRef </item> + <item> RemoteServer </item> + <item> RemoteStub </item> + <item> RenderContext </item> + <item> RenderableImage </item> + <item> RenderableImageOp </item> + <item> RenderableImageProducer </item> + <item> RenderedImage </item> + <item> RenderedImageFactory </item> + <item> Renderer </item> + <item> RenderingHints </item> + <item> RepaintManager </item> + <item> ReplicateScaleFilter </item> + <item> RepositoryIdHelper </item> + <item> Request </item> + <item> RequestInfo </item> + <item> RequestInfoOperations </item> + <item> RequestProcessingPolicy </item> + <item> RequestProcessingPolicyOperations </item> + <item> RequestProcessingPolicyValue </item> + <item> RequestingUserName </item> + <item> RescaleOp </item> + <item> ResolutionSyntax </item> + <item> ResolveResult </item> + <item> Resolver </item> + <item> ResourceBundle </item> + <item> ResponseHandler </item> + <item> Result </item> + <item> Result </item> + <item> ResultSet </item> + <item> ResultSetMetaData </item> + <item> ReverbType </item> + <item> Robot </item> + <item> RolloverButtonBorder </item> + <item> RolloverButtonBorder </item> + <item> RootPaneContainer </item> + <item> RootPaneUI </item> + <item> RoundRectangle2D </item> + <item> RowMapper </item> + <item> RowSet </item> + <item> RowSetEvent </item> + <item> RowSetInternal </item> + <item> RowSetListener </item> + <item> RowSetMetaData </item> + <item> RowSetReader </item> + <item> RowSetWriter </item> + <item> RuleBasedCollator </item> + <item> RunTime </item> + <item> RunTimeOperations </item> + <item> Runnable </item> + <item> Runtime </item> + <item> RuntimeException </item> + <item> RuntimePermission </item> + <item> SAXException </item> + <item> SAXNotRecognizedException </item> + <item> SAXNotSupportedException </item> + <item> SAXParseException </item> + <item> SAXParser </item> + <item> SAXParserFactory </item> + <item> SAXResult </item> + <item> SAXSource </item> + <item> SAXTransformerFactory </item> + <item> SERVANT_RETENTION_POLICY_ID </item> + <item> SERVICE_FORMATTED </item> + <item> SQLData </item> + <item> SQLException </item> + <item> SQLInput </item> + <item> SQLOutput </item> + <item> SQLPermission </item> + <item> SQLWarning </item> + <item> SSLContext </item> + <item> SSLContextSpi </item> + <item> SSLException </item> + <item> SSLHandshakeException </item> + <item> SSLKeyException </item> + <item> SSLPeerUnverifiedException </item> + <item> SSLPermission </item> + <item> SSLProtocolException </item> + <item> SSLServerSocket </item> + <item> SSLServerSocketFactory </item> + <item> SSLSession </item> + <item> SSLSessionBindingEvent </item> + <item> SSLSessionBindingListener </item> + <item> SSLSessionContext </item> + <item> SSLSocket </item> + <item> SSLSocketFactory </item> + <item> STRING </item> + <item> SUCCESSFUL </item> + <item> SYNC_WITH_TRANSPORT </item> + <item> SYSTEM_EXCEPTION </item> + <item> SampleModel </item> + <item> Savepoint </item> + <item> ScatteringByteChannel </item> + <item> SchemaViolationException </item> + <item> ScrollBarUI </item> + <item> ScrollPane </item> + <item> ScrollPaneAdjustable </item> + <item> ScrollPaneBorder </item> + <item> ScrollPaneConstants </item> + <item> ScrollPaneLayout </item> + <item> ScrollPaneUI </item> + <item> Scrollable </item> + <item> Scrollbar </item> + <item> SealedObject </item> + <item> SearchControls </item> + <item> SearchResult </item> + <item> SecretKey </item> + <item> SecretKeyFactory </item> + <item> SecretKeyFactorySpi </item> + <item> SecretKeySpec </item> + <item> SecureClassLoader </item> + <item> SecureRandom </item> + <item> SecureRandomSpi </item> + <item> Security </item> + <item> SecurityException </item> + <item> SecurityManager </item> + <item> SecurityPermission </item> + <item> Segment </item> + <item> SelectableChannel </item> + <item> SelectionKey </item> + <item> Selector </item> + <item> SelectorProvider </item> + <item> Separator </item> + <item> Separator </item> + <item> SeparatorUI </item> + <item> Sequence </item> + <item> SequenceInputStream </item> + <item> Sequencer </item> + <item> Serializable </item> + <item> SerializablePermission </item> + <item> Servant </item> + <item> ServantActivator </item> + <item> ServantActivatorHelper </item> + <item> ServantActivatorOperations </item> + <item> ServantActivatorPOA </item> + <item> ServantAlreadyActive </item> + <item> ServantAlreadyActiveHelper </item> + <item> ServantLocator </item> + <item> ServantLocatorHelper </item> + <item> ServantLocatorOperations </item> + <item> ServantLocatorPOA </item> + <item> ServantManager </item> + <item> ServantManagerOperations </item> + <item> ServantNotActive </item> + <item> ServantNotActiveHelper </item> + <item> ServantObject </item> + <item> ServantRetentionPolicy </item> + <item> ServantRetentionPolicyOperations </item> + <item> ServantRetentionPolicyValue </item> + <item> ServerCloneException </item> + <item> ServerError </item> + <item> ServerException </item> + <item> ServerNotActiveException </item> + <item> ServerRef </item> + <item> ServerRequest </item> + <item> ServerRequestInfo </item> + <item> ServerRequestInfoOperations </item> + <item> ServerRequestInterceptor </item> + <item> ServerRequestInterceptorOperations </item> + <item> ServerRuntimeException </item> + <item> ServerSocket </item> + <item> ServerSocketChannel </item> + <item> ServerSocketFactory </item> + <item> ServiceContext </item> + <item> ServiceContextHelper </item> + <item> ServiceContextHolder </item> + <item> ServiceContextListHelper </item> + <item> ServiceContextListHolder </item> + <item> ServiceDetail </item> + <item> ServiceDetailHelper </item> + <item> ServiceIdHelper </item> + <item> ServiceInformation </item> + <item> ServiceInformationHelper </item> + <item> ServiceInformationHolder </item> + <item> ServicePermission </item> + <item> ServiceRegistry </item> + <item> ServiceUI </item> + <item> ServiceUIFactory </item> + <item> ServiceUnavailableException </item> + <item> Set </item> + <item> SetOfIntegerSyntax </item> + <item> SetOverrideType </item> + <item> SetOverrideTypeHelper </item> + <item> Severity </item> + <item> Shape </item> + <item> ShapeGraphicAttribute </item> + <item> SheetCollate </item> + <item> Short </item> + <item> ShortBuffer </item> + <item> ShortBufferException </item> + <item> ShortHolder </item> + <item> ShortLookupTable </item> + <item> ShortMessage </item> + <item> ShortSeqHelper </item> + <item> ShortSeqHolder </item> + <item> Sides </item> + <item> SidesType </item> + <item> Signature </item> + <item> SignatureException </item> + <item> SignatureSpi </item> + <item> SignedObject </item> + <item> Signer </item> + <item> SimpleAttributeSet </item> + <item> SimpleBeanInfo </item> + <item> SimpleDateFormat </item> + <item> SimpleDoc </item> + <item> SimpleFormatter </item> + <item> SimpleTimeZone </item> + <item> SinglePixelPackedSampleModel </item> + <item> SingleSelectionModel </item> + <item> SinkChannel </item> + <item> Size2DSyntax </item> + <item> SizeLimitExceededException </item> + <item> SizeRequirements </item> + <item> SizeSequence </item> + <item> Skeleton </item> + <item> SkeletonMismatchException </item> + <item> SkeletonNotFoundException </item> + <item> SliderUI </item> + <item> Socket </item> + <item> SocketAddress </item> + <item> SocketChannel </item> + <item> SocketException </item> + <item> SocketFactory </item> + <item> SocketHandler </item> + <item> SocketImpl </item> + <item> SocketImplFactory </item> + <item> SocketOptions </item> + <item> SocketPermission </item> + <item> SocketSecurityException </item> + <item> SocketTimeoutException </item> + <item> SoftBevelBorder </item> + <item> SoftReference </item> + <item> SortedMap </item> + <item> SortedSet </item> + <item> SortingFocusTraversalPolicy </item> + <item> Soundbank </item> + <item> SoundbankReader </item> + <item> SoundbankResource </item> + <item> Source </item> + <item> SourceChannel </item> + <item> SourceDataLine </item> + <item> SourceLocator </item> + <item> SpinnerDateModel </item> + <item> SpinnerListModel </item> + <item> SpinnerModel </item> + <item> SpinnerNumberModel </item> + <item> SpinnerUI </item> + <item> SplitPaneBorder </item> + <item> SplitPaneUI </item> + <item> Spring </item> + <item> SpringLayout </item> + <item> Stack </item> + <item> StackOverflowError </item> + <item> StackTraceElement </item> + <item> StartTlsRequest </item> + <item> StartTlsResponse </item> + <item> State </item> + <item> StateEdit </item> + <item> StateEditable </item> + <item> StateFactory </item> + <item> Statement </item> + <item> Statement </item> + <item> StreamCorruptedException </item> + <item> StreamHandler </item> + <item> StreamPrintService </item> + <item> StreamPrintServiceFactory </item> + <item> StreamResult </item> + <item> StreamSource </item> + <item> StreamTokenizer </item> + <item> Streamable </item> + <item> StreamableValue </item> + <item> StrictMath </item> + <item> String </item> + <item> StringBuffer </item> + <item> StringBufferInputStream </item> + <item> StringCharacterIterator </item> + <item> StringContent </item> + <item> StringHolder </item> + <item> StringIndexOutOfBoundsException </item> + <item> StringNameHelper </item> + <item> StringReader </item> + <item> StringRefAddr </item> + <item> StringSelection </item> + <item> StringSeqHelper </item> + <item> StringSeqHolder </item> + <item> StringTokenizer </item> + <item> StringValueHelper </item> + <item> StringWriter </item> + <item> Stroke </item> + <item> Struct </item> + <item> StructMember </item> + <item> StructMemberHelper </item> + <item> Stub </item> + <item> StubDelegate </item> + <item> StubNotFoundException </item> + <item> Style </item> + <item> StyleConstants </item> + <item> StyleContext </item> + <item> StyleSheet </item> + <item> StyledDocument </item> + <item> StyledEditorKit </item> + <item> StyledTextAction </item> + <item> Subject </item> + <item> SubjectDomainCombiner </item> + <item> Subset </item> + <item> SupportedValuesAttribute </item> + <item> SwingConstants </item> + <item> SwingPropertyChangeSupport </item> + <item> SwingUtilities </item> + <item> SyncFailedException </item> + <item> SyncMode </item> + <item> SyncScopeHelper </item> + <item> Synthesizer </item> + <item> SysexMessage </item> + <item> System </item> + <item> SystemColor </item> + <item> SystemException </item> + <item> SystemFlavorMap </item> + <item> TAG_ALTERNATE_IIOP_ADDRESS </item> + <item> TAG_CODE_SETS </item> + <item> TAG_INTERNET_IOP </item> + <item> TAG_JAVA_CODEBASE </item> + <item> TAG_MULTIPLE_COMPONENTS </item> + <item> TAG_ORB_TYPE </item> + <item> TAG_POLICIES </item> + <item> TCKind </item> + <item> THREAD_POLICY_ID </item> + <item> TRANSACTION_REQUIRED </item> + <item> TRANSACTION_ROLLEDBACK </item> + <item> TRANSIENT </item> + <item> TRANSPORT_RETRY </item> + <item> TabExpander </item> + <item> TabSet </item> + <item> TabStop </item> + <item> TabableView </item> + <item> TabbedPaneUI </item> + <item> TableCellEditor </item> + <item> TableCellRenderer </item> + <item> TableColumn </item> + <item> TableColumnModel </item> + <item> TableColumnModelEvent </item> + <item> TableColumnModelListener </item> + <item> TableHeaderBorder </item> + <item> TableHeaderUI </item> + <item> TableModel </item> + <item> TableModelEvent </item> + <item> TableModelListener </item> + <item> TableUI </item> + <item> TableView </item> + <item> Tag </item> + <item> TagElement </item> + <item> TaggedComponent </item> + <item> TaggedComponentHelper </item> + <item> TaggedComponentHolder </item> + <item> TaggedProfile </item> + <item> TaggedProfileHelper </item> + <item> TaggedProfileHolder </item> + <item> TargetDataLine </item> + <item> Templates </item> + <item> TemplatesHandler </item> + <item> Text </item> + <item> TextAction </item> + <item> TextArea </item> + <item> TextAttribute </item> + <item> TextComponent </item> + <item> TextEvent </item> + <item> TextField </item> + <item> TextFieldBorder </item> + <item> TextHitInfo </item> + <item> TextInputCallback </item> + <item> TextLayout </item> + <item> TextListener </item> + <item> TextMeasurer </item> + <item> TextOutputCallback </item> + <item> TextSyntax </item> + <item> TextUI </item> + <item> TexturePaint </item> + <item> Thread </item> + <item> ThreadDeath </item> + <item> ThreadGroup </item> + <item> ThreadLocal </item> + <item> ThreadPolicy </item> + <item> ThreadPolicyOperations </item> + <item> ThreadPolicyValue </item> + <item> Throwable </item> + <item> Tie </item> + <item> TileObserver </item> + <item> Time </item> + <item> TimeLimitExceededException </item> + <item> TimeZone </item> + <item> Timer </item> + <item> Timer </item> + <item> TimerTask </item> + <item> Timestamp </item> + <item> TitledBorder </item> + <item> TitledBorderUIResource </item> + <item> ToggleButtonBorder </item> + <item> ToggleButtonBorder </item> + <item> ToggleButtonModel </item> + <item> TooManyListenersException </item> + <item> ToolBarBorder </item> + <item> ToolBarUI </item> + <item> ToolTipManager </item> + <item> ToolTipUI </item> + <item> Toolkit </item> + <item> Track </item> + <item> TransactionRequiredException </item> + <item> TransactionRolledbackException </item> + <item> TransactionService </item> + <item> TransferHandler </item> + <item> Transferable </item> + <item> TransformAttribute </item> + <item> Transformer </item> + <item> TransformerConfigurationException </item> + <item> TransformerException </item> + <item> TransformerFactory </item> + <item> TransformerFactoryConfigurationError </item> + <item> TransformerHandler </item> + <item> Transmitter </item> + <item> Transparency </item> + <item> TreeCellEditor </item> + <item> TreeCellRenderer </item> + <item> TreeControlIcon </item> + <item> TreeExpansionEvent </item> + <item> TreeExpansionListener </item> + <item> TreeFolderIcon </item> + <item> TreeLeafIcon </item> + <item> TreeMap </item> + <item> TreeModel </item> + <item> TreeModelEvent </item> + <item> TreeModelListener </item> + <item> TreeNode </item> + <item> TreePath </item> + <item> TreeSelectionEvent </item> + <item> TreeSelectionListener </item> + <item> TreeSelectionModel </item> + <item> TreeSet </item> + <item> TreeUI </item> + <item> TreeWillExpandListener </item> + <item> TrustAnchor </item> + <item> TrustManager </item> + <item> TrustManagerFactory </item> + <item> TrustManagerFactorySpi </item> + <item> Type </item> + <item> Type </item> + <item> Type </item> + <item> Type </item> + <item> Type </item> + <item> Type </item> + <item> Type </item> + <item> TypeCode </item> + <item> TypeCodeHolder </item> + <item> TypeMismatch </item> + <item> TypeMismatch </item> + <item> TypeMismatch </item> + <item> TypeMismatchHelper </item> + <item> TypeMismatchHelper </item> + <item> Types </item> + <item> UID </item> + <item> UIDefaults </item> + <item> UIManager </item> + <item> UIResource </item> + <item> UIResource </item> + <item> UIResource </item> + <item> UIResource </item> + <item> UIResource </item> + <item> UIResource </item> + <item> UIResource </item> + <item> ULongLongSeqHelper </item> + <item> ULongLongSeqHolder </item> + <item> ULongSeqHelper </item> + <item> ULongSeqHolder </item> + <item> UNKNOWN </item> + <item> UNSUPPORTED_POLICY </item> + <item> UNSUPPORTED_POLICY_VALUE </item> + <item> URI </item> + <item> URIException </item> + <item> URIResolver </item> + <item> URISyntax </item> + <item> URISyntaxException </item> + <item> URL </item> + <item> URL </item> + <item> URLClassLoader </item> + <item> URLConnection </item> + <item> URLDecoder </item> + <item> URLEncoder </item> + <item> URLStreamHandler </item> + <item> URLStreamHandlerFactory </item> + <item> URLStringHelper </item> + <item> USER_EXCEPTION </item> + <item> UShortSeqHelper </item> + <item> UShortSeqHolder </item> + <item> UTFDataFormatException </item> + <item> UndeclaredThrowableException </item> + <item> UnderlineAction </item> + <item> UndoManager </item> + <item> UndoableEdit </item> + <item> UndoableEditEvent </item> + <item> UndoableEditListener </item> + <item> UndoableEditSupport </item> + <item> UnexpectedException </item> + <item> UnicastRemoteObject </item> + <item> UnicodeBlock </item> + <item> UnionMember </item> + <item> UnionMemberHelper </item> + <item> UnknownEncoding </item> + <item> UnknownEncodingHelper </item> + <item> UnknownError </item> + <item> UnknownException </item> + <item> UnknownGroupException </item> + <item> UnknownHostException </item> + <item> UnknownHostException </item> + <item> UnknownObjectException </item> + <item> UnknownServiceException </item> + <item> UnknownTag </item> + <item> UnknownUserException </item> + <item> UnknownUserExceptionHelper </item> + <item> UnknownUserExceptionHolder </item> + <item> UnmappableCharacterException </item> + <item> UnmarshalException </item> + <item> UnmodifiableSetException </item> + <item> UnrecoverableKeyException </item> + <item> Unreferenced </item> + <item> UnresolvedAddressException </item> + <item> UnresolvedPermission </item> + <item> UnsatisfiedLinkError </item> + <item> UnsolicitedNotification </item> + <item> UnsolicitedNotificationEvent </item> + <item> UnsolicitedNotificationListener </item> + <item> UnsupportedAddressTypeException </item> + <item> UnsupportedAudioFileException </item> + <item> UnsupportedCallbackException </item> + <item> UnsupportedCharsetException </item> + <item> UnsupportedClassVersionError </item> + <item> UnsupportedEncodingException </item> + <item> UnsupportedFlavorException </item> + <item> UnsupportedLookAndFeelException </item> + <item> UnsupportedOperationException </item> + <item> UserException </item> + <item> Util </item> + <item> UtilDelegate </item> + <item> Utilities </item> + <item> VMID </item> + <item> VM_ABSTRACT </item> + <item> VM_CUSTOM </item> + <item> VM_NONE </item> + <item> VM_TRUNCATABLE </item> + <item> ValueBase </item> + <item> ValueBaseHelper </item> + <item> ValueBaseHolder </item> + <item> ValueFactory </item> + <item> ValueHandler </item> + <item> ValueMember </item> + <item> ValueMemberHelper </item> + <item> VariableHeightLayoutCache </item> + <item> Vector </item> + <item> VerifyError </item> + <item> VersionSpecHelper </item> + <item> VetoableChangeListener </item> + <item> VetoableChangeListenerProxy </item> + <item> VetoableChangeSupport </item> + <item> View </item> + <item> ViewFactory </item> + <item> ViewportLayout </item> + <item> ViewportUI </item> + <item> VirtualMachineError </item> + <item> Visibility </item> + <item> VisibilityHelper </item> + <item> VoiceStatus </item> + <item> Void </item> + <item> VolatileImage </item> + <item> WCharSeqHelper </item> + <item> WCharSeqHolder </item> + <item> WStringSeqHelper </item> + <item> WStringSeqHolder </item> + <item> WStringValueHelper </item> + <item> WeakHashMap </item> + <item> WeakReference </item> + <item> Window </item> + <item> WindowAdapter </item> + <item> WindowConstants </item> + <item> WindowEvent </item> + <item> WindowFocusListener </item> + <item> WindowListener </item> + <item> WindowStateListener </item> + <item> WrappedPlainView </item> + <item> WritableByteChannel </item> + <item> WritableRaster </item> + <item> WritableRenderedImage </item> + <item> WriteAbortedException </item> + <item> Writer </item> + <item> WrongAdapter </item> + <item> WrongAdapterHelper </item> + <item> WrongPolicy </item> + <item> WrongPolicyHelper </item> + <item> WrongTransaction </item> + <item> WrongTransactionHelper </item> + <item> WrongTransactionHolder </item> + <item> X500Principal </item> + <item> X500PrivateCredential </item> + <item> X509CRL </item> + <item> X509CRLEntry </item> + <item> X509CRLSelector </item> + <item> X509CertSelector </item> + <item> X509Certificate </item> + <item> X509Certificate </item> + <item> X509EncodedKeySpec </item> + <item> X509Extension </item> + <item> X509KeyManager </item> + <item> X509TrustManager </item> + <item> XAConnection </item> + <item> XADataSource </item> + <item> XAException </item> + <item> XAResource </item> + <item> XMLDecoder </item> + <item> XMLEncoder </item> + <item> XMLFilter </item> + <item> XMLFilterImpl </item> + <item> XMLFormatter </item> + <item> XMLReader </item> + <item> XMLReaderAdapter </item> + <item> XMLReaderFactory </item> + <item> Xid </item> + <item> ZipEntry </item> + <item> ZipException </item> + <item> ZipFile </item> + <item> ZipInputStream </item> + <item> ZipOutputStream </item> + <item> ZoneView </item> + <item> _BindingIteratorImplBase </item> + <item> _BindingIteratorStub </item> + <item> _DynAnyFactoryStub </item> + <item> _DynAnyStub </item> + <item> _DynArrayStub </item> + <item> _DynEnumStub </item> + <item> _DynFixedStub </item> + <item> _DynSequenceStub </item> + <item> _DynStructStub </item> + <item> _DynUnionStub </item> + <item> _DynValueStub </item> + <item> _IDLTypeStub </item> + <item> _NamingContextExtStub </item> + <item> _NamingContextImplBase </item> + <item> _NamingContextStub </item> + <item> _PolicyStub </item> + <item> _Remote_Stub </item> + <item> _ServantActivatorStub </item> + <item> _ServantLocatorStub </item> + </list> + + <list name="java-1.4.2-keywords"> + <item> abstract </item> + <item> assert </item> + <item> break </item> + <item> case </item> + <item> catch </item> + <item> class </item> + <item> continue </item> + <item> default </item> + <item> do </item> + <item> else </item> + <item> extends </item> + <item> false </item> + <item> finally </item> + <item> for </item> + <item> goto </item> + <item> if </item> + <item> implements </item> + <item> import </item> + <item> instanceof </item> + <item> interface </item> + <item> native </item> + <item> new </item> + <item> null </item> + <item> package </item> + <item> private </item> + <item> protected </item> + <item> public </item> + <item> return </item> + <item> super </item> + <item> strictfp </item> + <item> switch </item> + <item> synchronized </item> + <item> this </item> + <item> throws </item> + <item> throw </item> + <item> transient </item> + <item> true </item> + <item> try </item> + <item> volatile </item> + <item> while </item> + </list> + + <list name="java-1.4.2-types"> + <item> boolean </item> + <item> byte </item> + <item> char </item> + <item> const </item> + <item> double </item> + <item> final </item> + <item> float </item> + <item> int </item> + <item> long </item> + <item> short </item> + <item> static </item> + <item> void </item> + </list> + + <list name="jsp-reserved-words"> + <item> and </item> + <item> eq </item> + <item> gt </item> + <item> true </item> + <item> instanceof </item> + <item> or </item> + <item> ne </item> + <item> le </item> + <item> false </item> + <item> empty </item> + <item> not </item> + <item> lt </item> + <item> ge </item> + <item> null </item> + <item> div </item> + <item> mod </item> + </list> + + <contexts> + <context name="Normal" attribute="Normal Text" lineEndContext="#stay"> + <RegExpr String="<%@\s*[a-zA-Z0-9_\.]*" attribute="Jsp Directive" context="Jsp Standard Directive"/> + <RegExpr String="<\s*jsp:(declaration|expression|scriptlet)\s*>" attribute="Jsp Scriptlet" context="Jsp Scriptlet"/> + <RegExpr String="<\s*\/?s*jsp:[a-zA-Z0-9_\.]*" attribute="Jsp Directive" context="Jsp Xml Directive"/> + <StringDetect String="<%--" attribute="Jsp Comment" context="Jsp Comment"/> + <RegExpr String="<%(!|=)?" attribute="Jsp Scriptlet" context="Jsp Scriptlet"/> + <StringDetect String="<!--" attribute="Html Comment" context="Html Comment"/> + <Detect2Chars char="$" char1="{" attribute="Jsp Expression" context="Jsp Expression"/> + <RegExpr String="<\s*\/?\s*\$?[a-zA-Z0-9_]*:\$?[a-zA-Z0-9_]*" attribute="Keyword" context="Jsp Custom Tag"/> + <StringDetect String="<![CDATA[" attribute="Normal Text" context="#stay"/> + <StringDetect String="]]>" attribute="Normal Text" context="#stay"/> + <RegExpr String="<\s*\/?\s*[a-zA-Z0-9_]*" attribute="Normal Text" context="Html Attribute"/> + </context> + + <context name="Jsp Standard Directive" attribute="Jsp Param Name" lineEndContext="#stay"> + <Detect2Chars char="%" char1=">" attribute="Jsp Directive" context="#pop"/> + <RegExpr String="\s*=\s*" attribute="Normal Text" context="Jsp Standard Directive Value"/> + <StringDetect String="<%--" attribute="Jsp Comment" context="Jsp Comment"/> + <RegExpr String="<%(!|=)?" attribute="Jsp Scriptlet" context="Jsp Scriptlet"/> + <Detect2Chars char="$" char1="{" attribute="Jsp Expression" context="Jsp Expression"/> + <RegExpr String="<\s*\/?\s*\$?\w*:\$?\w*" attribute="Keyword" context="Jsp Custom Tag"/> + </context> + + <context name="Jsp Xml Directive" attribute="Jsp Param Name" lineEndContext="#stay"> + <RegExpr String="\s*\/?\s*>" attribute="Jsp Directive" context="#pop"/> + <RegExpr String="\s*=\s*" attribute="Normal Text" context="Jsp Xml Directive Value"/> + <StringDetect String="<%--" attribute="Jsp Comment" context="Jsp Comment"/> + <RegExpr String="<%(!|=)?" attribute="Jsp Scriptlet" context="Jsp Scriptlet"/> + <Detect2Chars char="$" char1="{" attribute="Jsp Expression" context="Jsp Expression"/> + </context> + + <context name="Jsp Comment" attribute="Jsp Comment" lineEndContext="#stay"> + <StringDetect String="--%>" attribute="Jsp Comment" context="#pop"/> + </context> + + <context name="Jsp Custom Tag" attribute="Identifier" lineEndContext="#stay"> + <RegExpr String="\/?>" attribute="Keyword" context="#pop"/> + <RegExpr String="\s*=\s*" attribute="Normal Text" context="Jsp Custom Tag Value"/> + <StringDetect String="<%--" attribute="Jsp Comment" context="Jsp Comment"/> + <RegExpr String="<%(!|=)?" attribute="Jsp Scriptlet" context="Jsp Scriptlet"/> + <Detect2Chars char="$" char1="{" attribute="Jsp Expression" context="Jsp Expression"/> + </context> + + <context name="Jsp Standard Directive Value" attribute="Jsp Param Value" lineEndContext="#stay"> + <StringDetect String="<%--" attribute="Jsp Comment" context="Jsp Comment"/> + <RegExpr String="<%(!|=)?" attribute="Jsp Scriptlet" context="Jsp Scriptlet"/> + <Detect2Chars char="$" char1="{" attribute="Jsp Expression" context="Jsp Expression"/> + <DetectChar char=""" attribute="Jsp Param Value" context="Jsp Double Quoted Param Value"/> + <DetectChar char="'" attribute="Jsp Param Value" context="Jsp Single Quoted Param Value"/> + <Detect2Chars char="%" char1=">" attribute="Jsp Directive" context="#pop#pop"/> + </context> + + <context name="Jsp Xml Directive Value" attribute="Jsp Param Value" lineEndContext="#stay"> + <StringDetect String="<%--" attribute="Jsp Comment" context="Jsp Comment"/> + <RegExpr String="<%(!|=)?" attribute="Jsp Scriptlet" context="Jsp Scriptlet"/> + <Detect2Chars char="$" char1="{" attribute="Jsp Expression" context="Jsp Expression"/> + <DetectChar char=""" attribute="Jsp Param Value" context="Jsp Double Quoted Param Value"/> + <DetectChar char="'" attribute="Jsp Param Value" context="Jsp Single Quoted Param Value"/> + <RegExpr String="\s*\/?\s*>" attribute="Jsp Directive" context="#pop#pop"/> + </context> + + <context name="Jsp Custom Tag Value" attribute="Normal Text" lineEndContext="#stay"> + <StringDetect String="<%--" attribute="Jsp Comment" context="Jsp Comment"/> + <RegExpr String="<%(!|=)?" attribute="Jsp Scriptlet" context="Jsp Scriptlet"/> + <Detect2Chars char="$" char1="{" attribute="Jsp Expression" context="Jsp Expression"/> + <DetectChar char=""" attribute="Types" context="Jsp Double Quoted Custom Tag Value"/> + <DetectChar char="'" attribute="Types" context="Jsp Single Quoted Custom Tag Value"/> + <RegExpr String="\/?>" attribute="Normal Text" context="#pop#pop"/> + </context> + + <context name="Jsp Double Quoted Param Value" attribute="Jsp Param Value" lineEndContext="#stay"> + <DetectChar char=""" attribute="Jsp Param Value" context="#pop#pop"/> + <StringDetect String="<%--" attribute="Jsp Comment" context="Jsp Comment"/> + <RegExpr String="<%(!|=)?" attribute="Jsp Scriptlet" context="Jsp Scriptlet"/> + <Detect2Chars char="$" char1="{" attribute="Jsp Expression" context="Jsp Expression"/> + </context> + + <context name="Jsp Single Quoted Param Value" attribute="Jsp Param Value" lineEndContext="#stay"> + <DetectChar char="'" attribute="Jsp Param Value" context="#pop#pop"/> + <StringDetect String="<%--" attribute="Jsp Comment" context="Jsp Comment"/> + <RegExpr String="<%(!|=)?" attribute="Jsp Scriptlet" context="Jsp Scriptlet"/> + <Detect2Chars char="$" char1="{" attribute="Jsp Expression" context="Jsp Expression"/> + </context> + + <context name="Jsp Double Quoted Custom Tag Value" attribute="Types" lineEndContext="#stay"> + <DetectChar char=""" attribute="Types" context="#pop#pop"/> + <StringDetect String="<%--" attribute="Jsp Comment" context="Jsp Comment"/> + <RegExpr String="<%(!|=)?" attribute="Jsp Scriptlet" context="Jsp Scriptlet"/> + <Detect2Chars char="$" char1="{" attribute="Jsp Expression" context="Jsp Expression"/> + </context> + + <context name="Jsp Single Quoted Custom Tag Value" attribute="Types" lineEndContext="#stay"> + <DetectChar char="'" attribute="Types" context="#pop#pop"/> + <StringDetect String="<%--" attribute="Jsp Comment" context="Jsp Comment"/> + <RegExpr String="<%(!|=)?" attribute="Jsp Scriptlet" context="Jsp Scriptlet"/> + <Detect2Chars char="$" char1="{" attribute="Jsp Expression" context="Jsp Expression"/> + </context> + + <context name="Jsp Scriptlet" attribute="Normal Text" lineEndContext="#stay"> + <Detect2Chars char="%" char1=">" attribute="Jsp Scriptlet" context="#pop"/> + <RegExpr String="<\s*jsp:(declaration|expression|scriptlet)\s*>" attribute="Jsp Scriptlet" context="Jsp Scriptlet"/> + <keyword String="java-1.4.2-keywords" attribute="Keyword" context="#stay"/> + <keyword String="jsp-reserved-words" attribute="Keyword" context="#stay"/> + <keyword String="java-1.4.2-types" attribute="Types" context="#stay"/> + <keyword String="java-1.4.2-classes" attribute="Java 1.4.2 Classes" context="#stay"/> + <Float attribute="Float" context="#stay"> + <AnyChar String="fF" attribute="Float" context="#stay"/> + </Float> + <HlCOct attribute="Octal" context="#stay"/> + <HlCHex attribute="Hex" context="#stay"/> + <Int attribute="Decimal" context="#stay"> + <StringDetect String="ULL" attribute="Decimal" context="#stay" insensitive="true"/> + <StringDetect String="LUL" attribute="Decimal" context="#stay" insensitive="true"/> + <StringDetect String="LLU" attribute="Decimal" context="#stay" insensitive="true"/> + <StringDetect String="UL" attribute="Decimal" context="#stay" insensitive="true"/> + <StringDetect String="LU" attribute="Decimal" context="#stay" insensitive="true"/> + <StringDetect String="LL" attribute="Decimal" context="#stay" insensitive="true"/> + <StringDetect String="U" attribute="Decimal" context="#stay" insensitive="true"/> + <StringDetect String="L" attribute="Decimal" context="#stay" insensitive="true"/> + </Int> + <HlCChar attribute="Char" context="#stay"/> + <RegExpr String="//\s*BEGIN.*$" attribute="Decimal" context="#stay" beginRegion="Region1" firstNonSpace="true"/> + <RegExpr String="//\s*END.*$" attribute="Decimal" context="#stay" endRegion="Region1" firstNonSpace="true"/> + <DetectChar char=""" attribute="String" context="Java String"/> + <DetectChar char="{" attribute="Normal Text" context="#stay" beginRegion="Brace1"/> + <DetectChar char="}" attribute="Normal Text" context="#stay" endRegion="Brace1"/> + <AnyChar String="!%&()+,-<=>?[]^{|}~" attribute="Symbol" context="#stay"/> + <Detect2Chars char="/" char1="/" attribute="Java Comment" context="Java Single-Line Comment"/> + <Detect2Chars char="/" char1="*" attribute="Java Comment" context="Java Multi-Line Comment"/> + </context> + + <context name="Jsp Expression" attribute="Normal Text" lineEndContext="#stay"> + <StringDetect String="'${'" attribute="Normal Text" context="#stay"/> + <DetectChar char="}" attribute="Jsp Scriptlet" context="#pop"/> + <keyword String="java-1.4.2-keywords" attribute="Keyword" context="#stay"/> + <keyword String="jsp-reserved-words" attribute="Keyword" context="#stay"/> + <keyword String="java-1.4.2-types" attribute="Types" context="#stay"/> + <keyword String="java-1.4.2-classes" attribute="Java 1.4.2 Classes" context="#stay"/> + <Float attribute="Float" context="#stay"> + <AnyChar String="fF" attribute="Float" context="#stay"/> + </Float> + <HlCOct attribute="Octal" context="#stay"/> + <HlCHex attribute="Hex" context="#stay"/> + <Int attribute="Decimal" context="#stay"> + <StringDetect String="ULL" attribute="Decimal" context="#stay" insensitive="true"/> + <StringDetect String="LUL" attribute="Decimal" context="#stay" insensitive="true"/> + <StringDetect String="LLU" attribute="Decimal" context="#stay" insensitive="true"/> + <StringDetect String="UL" attribute="Decimal" context="#stay" insensitive="true"/> + <StringDetect String="LU" attribute="Decimal" context="#stay" insensitive="true"/> + <StringDetect String="LL" attribute="Decimal" context="#stay" insensitive="true"/> + <StringDetect String="U" attribute="Decimal" context="#stay" insensitive="true"/> + <StringDetect String="L" attribute="Decimal" context="#stay" insensitive="true"/> + </Int> + <HlCChar attribute="Char" context="#stay"/> + <DetectChar char=""" attribute="String" context="Java String"/> + <AnyChar String="!%&()+,-<=>?[]^{|}~" attribute="Symbol" context="#stay"/> + </context> + + <context name="Java Single-Line Comment" attribute="Java Comment" lineEndContext="#pop"/> + + <context name="Java Multi-Line Comment" attribute="Java Comment" lineEndContext="#stay"> + <Detect2Chars char="*" char1="/" attribute="Java Comment" context="#pop"/> + </context> + + <context name="Java String" attribute="String" lineEndContext="#stay"> + <Detect2Chars char="\" char1=""" attribute="String" context="#stay"/> + <DetectChar char=""" attribute="String" context="#pop"/> + </context> + + <context name="Html Attribute" attribute="Identifier" lineEndContext="#stay"> + <RegExpr String="\/?>" attribute="Normal Text" context="#pop"/> + <RegExpr String="\s*=\s*" attribute="Normal Text" context="Html Value"/> + <StringDetect String="<%--" attribute="Jsp Comment" context="Jsp Comment"/> + <RegExpr String="<%(!|=)?" attribute="Jsp Scriptlet" context="Jsp Scriptlet"/> + <Detect2Chars char="$" char1="{" attribute="Jsp Expression" context="Jsp Expression"/> + </context> + + <context name="Html Value" attribute="Types" lineEndContext="#stay"> + <StringDetect String="<%--" attribute="Jsp Comment" context="Jsp Comment"/> + <RegExpr String="<%(!|=)?" attribute="Jsp Scriptlet" context="Jsp Scriptlet"/> + <Detect2Chars char="$" char1="{" attribute="Jsp Expression" context="Jsp Expression"/> + <RegExpr String="<\s*\/?\s*\$?\w*:\$?\w*" attribute="Keyword" context="Jsp Custom Tag"/> + <RegExpr String="("|&quot;|&#34;)" attribute="Types" context="Html Double Quoted Value"/> + <RegExpr String="('|&#39;)" attribute="Types" context="Html Single Quoted Value"/> + <RegExpr String="\s*#?-?_?\.?[a-zA-Z0-9]*" attribute="Types" context="Html Unquoted Value"/> + <RegExpr String="\/?>" attribute="Normal Text" context="#pop#pop"/> + </context> + + <context name="Html Double Quoted Value" attribute="Types" lineEndContext="#stay"> + <StringDetect String="<%--" attribute="Jsp Comment" context="Jsp Comment"/> + <RegExpr String="<%(!|=)?" attribute="Jsp Scriptlet" context="Jsp Scriptlet"/> + <Detect2Chars char="$" char1="{" attribute="Jsp Expression" context="Jsp Expression"/> + <RegExpr String="<\s*\/?\s*\$?\w*:\$?\w*" attribute="Keyword" context="Jsp Custom Tag"/> + <RegExpr String="("|&quot;|&#34;)" attribute="Types" context="#pop#pop"/> + </context> + + <context name="Html Single Quoted Value" attribute="Types" lineEndContext="#stay"> + <StringDetect String="<%--" attribute="Jsp Comment" context="Jsp Comment"/> + <RegExpr String="<%(!|=)?" attribute="Jsp Scriptlet" context="Jsp Scriptlet"/> + <Detect2Chars char="$" char1="{" attribute="Jsp Expression" context="Jsp Expression"/> + <RegExpr String="<\s*\/?\s*\$?\w*:\$?\w*" attribute="Keyword" context="Jsp Custom Tag"/> + <RegExpr String="('|&#39;)" attribute="Types" context="#pop#pop"/> + </context> + + <context name="Html Unquoted Value" attribute="Types" lineEndContext="#stay"> + <StringDetect String="<%--" attribute="Jsp Comment" context="Jsp Comment"/> + <RegExpr String="<%(!|=)?" attribute="Jsp Scriptlet" context="Jsp Scriptlet"/> + <Detect2Chars char="$" char1="{" attribute="Jsp Expression" context="Jsp Expression"/> + <RegExpr String="<\s*\/?\s*\$?\w*:\$?\w*" attribute="Keyword" context="Jsp Custom Tag"/> + <RegExpr String="\/?>" attribute="Normal Text" context="#pop#pop#pop"/> + <RegExpr String="\s+" attribute="Types" context="#pop#pop"/> + </context> + + <context name="Html Comment" attribute="Html Comment" lineEndContext="#stay"> + <StringDetect String="<%--" attribute="Jsp Comment" context="Jsp Comment"/> + <RegExpr String="<%(!|=)?" attribute="Jsp Scriptlet" context="Jsp Scriptlet"/> + <Detect2Chars char="$" char1="{" attribute="Jsp Expression" context="Jsp Expression"/> + <RegExpr String="\/*-->" attribute="Html Comment" context="#pop"/> + </context> + + </contexts> + + + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Keyword" defStyleNum="dsKeyword"/> + <itemData name="Identifier" defStyleNum="dsOthers"/> + <itemData name="Types" defStyleNum="dsDataType"/> + <itemData name="String" defStyleNum="dsString"/> + <itemData name="Comment" defStyleNum="dsComment"/> + + <itemData name="Html Comment" defStyleNum="dsComment"/> + + <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 Char" defStyleNum="dsChar"/> + <itemData name="Symbol" defStyleNum="dsNormal"/> + <itemData name="Java 1.4.2 Classes" defStyleNum="dsNormal" color="#0095FF" selColor="#FFFFFF" bold="1" italic="0"/> + + <itemData name="Jsp Directive" defStyleNum="dsNormal" color="#0000ff" selColor="#00ff00" bold="true" italic="true"/> + <itemData name="Jsp Scriptlet" defStyleNum="dsNormal" color="#000000" selColor="#ffffff" bold="true" italic="false"/> + <itemData name="Jsp Expression" defStyleNum="dsNormal" color="#000000" selColor="#ffffff" bold="true" italic="false"/> + <itemData name="Jsp Comment" defStyleNum="dsComment"/> + + <itemData name="Jsp Param Name" defStyleNum="dsOthers"/> + <itemData name="Jsp Param Value" defStyleNum="dsString"/> + + <itemData name="Java Comment" defStyleNum="dsComment"/> + </itemDatas> + </highlighting> + + <general> + <comments> + <comment name="multiLine" start="<%-- " end=" --%>" /> + </comments> + <keywords casesensitive="1" /> + </general> +</language> diff --git a/kate/data/katefiletyperc b/kate/data/katefiletyperc new file mode 100644 index 000000000..c9490d23b --- /dev/null +++ b/kate/data/katefiletyperc @@ -0,0 +1,34 @@ +[Docbook] +Mimetypes=text/docbook +Priority=10 +Section=Markup +Variables=kate: indent-mode none; encoding utf-8; +Wildcards=*.docbook + +[GNU Gettext] +Mimetypes=application/x-gettext +Priority=1 +Section=Markup +Variables=kate: encoding utf-8; +Wildcards=*.po;*.pot + +[Makefiles] +Mimetypes=text/x-makefile +Priority=5 +Section=Other +Variables=kate: space-indent off; indent-width 8; replace-tabs off; replace-tabs-save off; +Wildcards=*Makefile*;*makefile* + +[Python] +Mimetypes=application/x-python +Priority=1 +Section=Scripts +Variables=kate: indent-mode python; +Wildcards=*.py + +[XML] +Mimetypes=application/mathml+xml;application/smil;application/vnd.mozilla.xul+xml;application/x-designer;application/x-kugar;application/x-uml;application/xhtml+xml;text/mrml;text/rdf;text/sgml;text/vnd.wap.wml;text/xml;image/svg+xml +Priority=1 +Section=Markup +Variables=kate: indent-mode xml; +Wildcards=*.mml;*.MML;*.smil;*.smi;*.xul;*.XUL;*.ui;*.kud;*.xmi;*.XMI;*.xmi.tgz;*.xmi.tar.bz2;*.mrml;*.MRML;*.rdf;*.RDF;*.sgml;*.SGML;*.wml;*.WML;*.xml;*.XML;*.xsd;*ui.rc;*.svg diff --git a/kate/data/katepart.desktop b/kate/data/katepart.desktop new file mode 100644 index 000000000..bc7c6fd9b --- /dev/null +++ b/kate/data/katepart.desktop @@ -0,0 +1,90 @@ +[Desktop Entry] +Name=Embedded Advanced Text Editor +Name[af]=Ingebedde Gevorderde Teks Redigeerder +Name[ar]=محرر نص كيدي متقدم و مدمج +Name[az]=Daxili Mütəxəssis Mətn Editoru +Name[be]=Унутраны адмысловы тэкставы рэдактар +Name[bg]=Разширен текстов редактор +Name[bn]=অভ্যন্তরীন উন্নত টেক্সট সম্পাদক +Name[br]=Aozer skrid barek enframmet +Name[bs]=Umetnuti napredni tekst editor +Name[ca]=Editor avançat de text, encastable +Name[cs]=Zabudovaný rozšířený editor +Name[csb]=Òbsôdzony awansowôny editora tekstu +Name[cy]=Golygydd Testun Uwch Mewnol +Name[da]=Indlejret avanceret teksteditor +Name[de]=Erweiterte Editorkomponente +Name[el]=Ενσωματωμένος προχωρημένος επεξεργαστής κειμένου +Name[eo]=Enkorpigita altnivela tekstredaktilo +Name[es]=Editor de texto avanzado empotrable +Name[et]=Põimitud võimas tekstiredaktor +Name[eu]=Kapsulatutako testu-editore aurreratua +Name[fa]=ویرایشگر متن پیشرفتۀ نهفته +Name[fi]=Upotettava kehittynyt tekstieditori +Name[fr]=Éditeur de texte avancé intégré +Name[fy]=Ynsletten avansearre tekstbewurker +Name[ga]=Ard-eagarthóir téacs leabaithe +Name[gl]=Editor de Textos Avanzado Incrustado +Name[he]=עורך הטקסט המתקדם המוטבע +Name[hi]= अंतर्निहित विकसित पाठ संपादक +Name[hr]=Ugrađena napredna obrada teksta +Name[hsb]=Integrowany lěpši wobdźěłar teksta +Name[hu]=Beágyazott Kate szövegszerkesztő +Name[id]=Komponen Editor Teks Embedded +Name[is]=Ívefjanlegur þróaður textaritill +Name[it]=Editor di testi avanzato integrato +Name[ja]=埋め込み高機能テキストエディタ +Name[ka]=ჩადგმული ტექსტური რედაქტორი +Name[kk]=Ендірілетін үздік мәтін редакторы +Name[km]=កម្មវិធីនិពន្ធអត្ថបទកម្រិតខ្ពស់ដែលបានបង្កប់ +Name[ko]=끼워넣은 고급 글월 편집기 +Name[lb]=Agebetteten erweiderten Texteditor +Name[lt]=Įdėtas sudėtingesnis tekstų redaktorius +Name[lv]=Iegultais paplašinātais tekstu redaktors +Name[mk]=Вгнезден напреден текст уредувач +Name[mn]=Kate-хэрэгсэл +Name[ms]=Penyunting Teks Termaju Terimplan +Name[mt]=Editur ta' test integrat avvanzat +Name[nb]=Innebyggbart, avansert tekstredigerings-program +Name[nds]=Inbett verwiedert Texteditor +Name[ne]=सम्मिलित उन्नत पाठ सम्पादक +Name[nl]=Ingebed tekstinvoercomponent +Name[nn]=Inkluderbart avansert skriveprogram +Name[nso]=Mofetosi yo a Robaditswego wa Sengwalwana seo se Beetswegopele +Name[pa]=ਸ਼ਾਮਿਲ ਤਕਨੀਕੀ ਪਾਠ ਸੰਪਾਦਕ +Name[pl]=Osadzony zaawansowany edytor tekstu +Name[pt]=Editor de Texto Avançado Embebido +Name[pt_BR]=Componente integrado ao Editor de textos +Name[ro]=Editor de text avansat înglobat +Name[ru]=Встроенный текстовый редактор +Name[rw]=Muhinduzi y'Umwandiko Ihanitse Ishyizwemo +Name[se]=Nana buorre vuojuhanláhkái čállinprográmma +Name[sk]=Vložiteľný komponent pokročilého textového editora +Name[sl]=Vgrajeni napredni urejevalnik besedil +Name[sq]=Tekst Editori i avancuar i ngulur +Name[sr]=Уграђени напредни уређивач текста +Name[sr@Latn]=Ugrađeni napredni uređivač teksta +Name[sv]=Inbäddningsbar avancerad texteditor +Name[ta]=உட்பொதிந்த மேம்பட்ட உரை தொகுப்பாளர் +Name[te]=ఆధునిక పొదగిన వాచకం సరిచేయునది +Name[tg]=Таҳриргари матни дарунсохти беҳбудшуда +Name[th]=โปรแกรมแก้ไขข้อความขั้นสูงแบบฝังตัว +Name[tr]=Gelişmiş Metin Düzenleyici +Name[tt]=Mäten öçen Quşılma-Üzgärtkeç +Name[uk]=Вмонтований потужний текстовий редактор +Name[uz]=Matn tahrirchi +Name[uz@cyrillic]=Матн таҳрирчи +Name[ven]=Musengulusi wa manwalwa a nthesa o dzheniswaho +Name[vi]=Bộ Soạn thảo Văn bản Cấp cao Nhúng +Name[wa]=Ravalé aspougneu di tecse avancî +Name[xh]=Umhleli Wombhalo Obhekisa phambili Olungiselweyo +Name[zh_CN]=嵌入式 KDE 高级文本编辑器 +Name[zh_HK]=嵌入式進階文字編輯器 +Name[zh_TW]=嵌入式進階文字編輯器 +Name[zu]=Umlungisi Wezinga Eliphezulu Oshuthekiwe +X-KDE-Library=libkatepart +Icon=kate +ServiceTypes=KParts/ReadOnlyPart,Browser/View,KParts/ReadWritePart,KTextEditor/Editor,KTextEditor/Document +Type=Service +InitialPreference=8 +MimeType=text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-diff;text/x-adasrc;text/x-chdr;text/x-csrc;text/css;application/x-desktop;text/x-diff;text/x-fortran;text/html;text/x-java;text/x-tex;text/x-makefile;text/x-objcsrc;text/x-pascal;application/x-perl;application/x-perl-module;application/x-php;text/vnd.wap.wml;application/x-python;application/x-ruby;text/sgml;text/xml;model/vrml diff --git a/kate/data/katepartreadonlyui.rc b/kate/data/katepartreadonlyui.rc new file mode 100644 index 000000000..5c899dbfb --- /dev/null +++ b/kate/data/katepartreadonlyui.rc @@ -0,0 +1,98 @@ +<!DOCTYPE kpartgui SYSTEM "kpartgui.dtd"> +<kpartgui name="KatePartView" version="40"> +<MenuBar> + <Menu name="file" noMerge="1"><text>&File</text> + <Action name="file_save_as" group="save_merge" /> + <Action name="file_reload" group="revert_merge" /> + <Separator group="print_merge" /> + <Action name="file_export_html" group="print_merge"/> + </Menu> + + <Menu name="edit" noMerge="1"><text>&Edit</text> + <Action name="edit_copy_html" group="edit_paste_merge" /> + <Separator group="edit_paste_merge" /> + <Action name="edit_select_all" group="edit_select_merge" /> + <Action name="edit_deselect" group="edit_select_merge" /> + <Action name="set_verticalSelect" group="edit_select_merge" /> + <Separator group="edit_select_merge" /> + <Action name="edit_find" group="edit_find_merge" /> + <Action name="edit_find_next" group="edit_find_merge" /> + <Action name="edit_find_prev" group="edit_find_merge" /> + <Separator group="edit_find_merge" /> + <Action name="go_goto_line" group="edit_find_merge"/> + </Menu> + + <Menu name="view" noMerge="1"><text>&View</text> + <Action name="switch_to_cmd_line" group="view_operations" /> + <Separator group="view_operations" /> + <Action name="view_schemas" group="view_operations" /> + <Separator group="view_operations" /> + <Action name="view_dynamic_word_wrap" group="view_operations" /> + <Action name="dynamic_word_wrap_indicators" group="view_operations" /> + <Action name="view_word_wrap_marker" group="view_operations" /> + <Separator group="view_operations" /> + <Action name="view_border" group="view_operations" /> + <Action name="view_line_numbers" group="view_operations" /> + <Action name="view_scrollbar_marks" group="view_operations" /> + <Separator group="view_operations" /> + <Action name="view_folding_markers" group="view_operations" /> + <Menu name="codefolding" group="view_operations"><text>&Code Folding</text> + <Action name="folding_toplevel" group="view_operations" /> + <Action name="folding_expandtoplevel" group="view_operations" /> + <Action name="folding_collapselocal" group="view_operations" /> + <Action name="folding_expandlocal" group="view_operations" /> + </Menu> + <Separator group="view_operations" /> + </Menu> + + + <Menu name="tools"><text>&Tools</text> + <Action name="bookmarks" /> + <Separator group="tools_operations" /> + <Action name="set_filetype" group="tools_operations" /> + <Action name="set_highlight" group="tools_operations" /> + <Action name="set_encoding" group="tools_operations" /> + <Action name="set_eol" group="tools_operations" /> + <Separator group="tools_operations" /> + <Action name="tools_spelling" group="tools_operations" /> + <Separator group="tools_operations" /> + <Action name="tools_indent" group="tools_operations" /> + <Action name="tools_unindent" group="tools_operations" /> + <Action name="tools_cleanIndent" group="tools_operations" /> + <Action name="tools_align" group="tools_operations" /> + <Separator group="tools_operations" /> + <Action name="tools_comment" group="tools_operations" /> + <Action name="tools_uncomment" group="tools_operations" /> + <Separator group="tools_operations" /> + <Action name="tools_uppercase" group="tools_operations" /> + <Action name="tools_lowercase" group="tools_operations" /> + <Action name="tools_capitalize" group="tools_operations" /> + <Separator group="tools_operations" /> + <Action name="tools_join_lines" group="tools_operations" /> + <Action name="tools_apply_wordwrap" group="tools_operations" /> + </Menu> + + <Menu name="settings" noMerge="1"><text>&Settings</text> + <Action name="set_confdlg" group="configure_merge" /> + </Menu> +</MenuBar> + +<Menu name="ktexteditor_popup" noMerge="1"> + <Action name="edit_undo" group="popup_operations" /> + <Action name="edit_redo" group="popup_operations" /> + <Separator group="popup_operations" /> + <Action name="edit_cut" group="popup_operations" /> + <Action name="edit_copy" group="popup_operations" /> + <Action name="edit_paste" group="popup_operations" /> + <Separator group="popup_operations" /> + <Action name="bookmarks" group="popup_operations" /> + <Separator group="popup_operations" /> +</Menu> + +<ToolBar name="mainToolBar" noMerge="1"><text>Main Toolbar</text> + <Action name="edit_find" group="find_operations" /> + <Action name="incFontSizes" group="zoom_operations" /> + <Action name="decFontSizes" group="zoom_operations" /> +</ToolBar> + +</kpartgui> diff --git a/kate/data/katepartui.rc b/kate/data/katepartui.rc new file mode 100644 index 000000000..13908ad14 --- /dev/null +++ b/kate/data/katepartui.rc @@ -0,0 +1,124 @@ +<!DOCTYPE kpartgui SYSTEM "kpartgui.dtd"> +<kpartgui name="KatePartView" version="40"> +<MenuBar> + <Menu name="file" noMerge="1"><text>&File</text> + <Action name="file_save" group="save_merge" /> + <Action name="file_save_as" group="save_merge" /> + <Action name="file_reload" group="revert_merge" /> + <Action name="file_print" group="print_merge" /> + <Separator group="print_merge" /> + <Action name="file_export_html" group="print_merge"/> + </Menu> + + <Menu name="edit" noMerge="1"><text>&Edit</text> + <Action name="edit_undo" group="edit_undo_merge" /> + <Action name="edit_redo" group="edit_undo_merge" /> + <Separator group="edit_undo_merge" /> + <Action name="edit_cut" group="edit_paste_merge" /> + <Action name="edit_copy" group="edit_paste_merge" /> + <Action name="edit_copy_html" group="edit_paste_merge" /> + <Action name="edit_paste" group="edit_paste_merge" /> + <Separator group="edit_paste_merge" /> + <Action name="edit_select_all" group="edit_select_merge" /> + <Action name="edit_deselect" group="edit_select_merge" /> + <Action name="set_verticalSelect" group="edit_select_merge" /> + <Separator group="edit_select_merge" /> + <Action name="set_insert" group="edit_select_merge" /> + <Separator group="edit_select_merge" /> + <Action name="edit_find" group="edit_find_merge" /> + <Action name="edit_find_next" group="edit_find_merge" /> + <Action name="edit_find_prev" group="edit_find_merge" /> + <Action name="edit_replace" group="edit_find_merge" /> + <Separator group="edit_find_merge" /> + <Action name="go_goto_line" group="edit_find_merge"/> + </Menu> + + <Menu name="view" noMerge="1"><text>&View</text> + <Action name="switch_to_cmd_line" group="view_operations" /> + <Separator group="view_operations" /> + <Action name="view_schemas" group="view_operations" /> + <Separator group="view_operations" /> + <Action name="view_dynamic_word_wrap" group="view_operations" /> + <Action name="dynamic_word_wrap_indicators" group="view_operations" /> + <Action name="view_word_wrap_marker" group="view_operations" /> + <Separator group="view_operations" /> + <Action name="view_border" group="view_operations" /> + <Action name="view_line_numbers" group="view_operations" /> + <Action name="view_scrollbar_marks" group="view_operations" /> + <Separator group="view_operations" /> + <Action name="view_folding_markers" group="view_operations" /> + <Menu name="codefolding" group="view_operations"><text>&Code Folding</text> + <Action name="folding_toplevel" group="view_operations" /> + <Action name="folding_expandtoplevel" group="view_operations" /> + <Action name="folding_collapselocal" group="view_operations" /> + <Action name="folding_expandlocal" group="view_operations" /> + </Menu> + <Separator group="view_operations" /> + </Menu> + + <Action name="bookmarks" /> + + <Menu name="tools" noMerge="1"><text>&Tools</text> + <Action name="tools_toggle_write_lock" group="tools_operations" /> + <Separator group="tools_operations" /> + <Action name="set_filetype" group="tools_operations" /> + <Action name="set_highlight" group="tools_operations" /> + <Action name="tools_indentation" group="tools_operations" /> + <Action name="set_encoding" group="tools_operations" /> + <Action name="set_eol" group="tools_operations" /> + <Separator group="tools_operations" /> + <Action name="tools_spelling" group="tools_operations" /> + <Action name="tools_spelling_from_cursor" group="tools_operations" /> + <Action name="tools_spelling_selection" group="tools_operations" /> + <Separator group="tools_operations" /> + <Action name="tools_indent" group="tools_operations" /> + <Action name="tools_unindent" group="tools_operations" /> + <Action name="tools_cleanIndent" group="tools_operations" /> + <Action name="tools_align" group="tools_operations" /> + <Separator group="tools_operations" /> + <Action name="tools_comment" group="tools_operations" /> + <Action name="tools_uncomment" group="tools_operations" /> + <Separator group="tools_operations" /> + <Action name="tools_uppercase" group="tools_operations" /> + <Action name="tools_lowercase" group="tools_operations" /> + <Action name="tools_capitalize" group="tools_operations" /> + <Separator group="tools_operations" /> + <Action name="tools_join_lines" group="tools_operations" /> + <Action name="tools_apply_wordwrap" group="tools_operations" /> + </Menu> + + <Menu name="settings" noMerge="1"><text>&Settings</text> + <Action name="set_confdlg" group="configure_merge" /> + </Menu> +</MenuBar> + +<Menu name="ktexteditor_popup" noMerge="0"> + <Action name="edit_undo" group="popup_operations" /> + <Action name="edit_redo" group="popup_operations" /> + <Separator group="popup_operations" /> + <Action name="edit_cut" group="popup_operations" /> + <Action name="edit_copy" group="popup_operations" /> + <Action name="edit_paste" group="popup_operations" /> + <Separator group="popup_operations" /> + <Action name="edit_select_all" group="popup_operations" /> + <Action name="edit_deselect" group="popup_operations" /> + <Separator group="popup_operations" /> + <Action name="bookmarks" group="popup_operations" /> + <Separator group="popup_operations" /> +</Menu> + +<ToolBar name="mainToolBar" noMerge="1"><text>Main Toolbar</text> + <Action name="file_save" group="file_operations" /> + <Action name="file_save_as" group="file_operations" /> + <Action name="file_print" group="print_merge" /> + <Action name="edit_undo" group="edit_operations" /> + <Action name="edit_redo" group="edit_operations" /> + <Action name="edit_cut" group="edit_operations" /> + <Action name="edit_copy" group="edit_operations" /> + <Action name="edit_paste" group="edit_operations" /> + <Action name="edit_find" group="find_operations" /> + <Action name="incFontSizes" group="zoom_operations" /> + <Action name="decFontSizes" group="zoom_operations" /> +</ToolBar> + +</kpartgui> diff --git a/kate/data/katesyntaxhighlightingrc b/kate/data/katesyntaxhighlightingrc new file mode 100644 index 000000000..9b73efd08 --- /dev/null +++ b/kate/data/katesyntaxhighlightingrc @@ -0,0 +1,3 @@ +[General] +Version=14 +CachedVersion=0 diff --git a/kate/data/kbasic.xml b/kate/data/kbasic.xml new file mode 100644 index 000000000..638cbe828 --- /dev/null +++ b/kate/data/kbasic.xml @@ -0,0 +1,97 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="KBasic" version="1.02" kateversion="2.1" section="Sources" extensions="*.kbasic" mimetype="text/x-kbasic-src"> + <highlighting> + <list name="keywords"> + <item> For </item> + <item> Next</item> + <item> Do </item> + <item> Loop </item> + <item> While </item> + <item> Wend </item> + <item> Until </item> + <item> If </item> + <item> Else </item> + <item> End </item> + <item> Function </item> + <item> Goto </item> + <item> Sub </item> + <item> Implements </item> + <item> In </item> + <item> Sub </item> + <item> Private </item> + <item> Public </item> + <item> Global </item> + <item> As </item> + <item> Dim </item> + <item> Set </item> + <item> Let </item> + <item> Get </item> + <item> To </item> + <item> Property </item> + <item> True </item> + <item> False </item> + <item> Or </item> + <item> Not </item> + <item> Xor </item> + <item> And </item> + <item> Then </item> + <item> Exit </item> + <item> Put </item> + <item> Open </item> + <item> Close </item> + <item> Seek </item> + <item> Print </item> + <item> Input</item> + <item> Output </item> + <item> Repeat </item> + <item> Load </item> + <item> Unload </item> + <item> Declare </item> + <item> Option </item> + <item> Explicit </item> + </list> + <list name="types"> + <item>Integer </item> + <item>Long </item> + <item>Byte </item> + <item>Boolean </item> + <item>Variant </item> + <item>Single </item> + <item>Double </item> + <item>Currency </item> + <item>String </item> + <item>Object </item> + <item>Control </item> + </list> + <contexts> + <context attribute="Normal Text" lineEndContext="#stay" name="Normal"> + <keyword attribute="Keyword" context="#stay" String="keywords"/> + <keyword attribute="Identifier" context="#stay" String="types"/> + <Float attribute="String" context="#stay"/> + <Int attribute="Types" context="#stay"/> + <DetectChar attribute="String" context="String" char="quot;"/> + <DetectChar attribute="Comment" context="Comment" char="'"/> + </context> + <context name="Comment" attribute="Comment" lineEndContext="#pop"/> + <context name="String" attribute="String" lineEndContext="#pop"> + <DetectChar attribute="String" context="#pop" char="'"/> + </context> + </contexts> + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Keyword" defStyleNum="dsKeyword"/> + <itemData name="Identifier" defStyleNum="dsOthers"/> + <itemData name="Types" defStyleNum="dsDataType"/> + <itemData name="String" defStyleNum="dsString"/> + <itemData name="Comment" defStyleNum="dsComment"/> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="singleLine" start="//" /> + <comment name="multiLine" start="/*" end="*/" /> + </comments> + <keywords casesensitive="1" /> + </general> +</language> diff --git a/kate/data/language.dtd b/kate/data/language.dtd new file mode 100644 index 000000000..8830837a6 --- /dev/null +++ b/kate/data/language.dtd @@ -0,0 +1,468 @@ +<!-- + 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> + + 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 + 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] + hidden: Should it be hidden in menu [boolean, optional, default=false] + +TODO + - Which matches are affected by casesensitive? keyword, RegExpr, StringDetect...? + +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?)> +<!ATTLIST language + name CDATA #REQUIRED + section NMTOKEN #REQUIRED + extensions CDATA #REQUIRED + mimetype CDATA #IMPLIED + version CDATA #IMPLIED + kateversion CDATA #IMPLIED + casesensitive (%boolean;) #IMPLIED + priority CDATA #IMPLIED + author CDATA #IMPLIED + license CDATA #IMPLIED + hidden (%boolean;) #IMPLIED +> + +<!-- General options --> +<!ELEMENT general (folding|comments|keywords|indentation)*> + +<!-- 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 CDATA #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 +> + + +<!-- 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] + +TODO: + - Explain fallthrough. + - Do we need fallthrough at all? It could be true, if fallthroughContext is set, false otherwhise. + - Make lineEndContext optional, defaults to '#stay'. Reasonable? +--> +<!ELEMENT context (keyword | Float | HlCOct | HlCHex | HlCFloat | Int | DetectChar | Detect2Chars | AnyChar | StringDetect | 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 +> + +<!-- 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 + String: Name of the list + weakDelimiter: Use weak deliminator + +TODO: + - Should be weakDeliminator + - Explain deliminator + - Doesn't seem to be suported in highligh.cpp +--> +<!ELEMENT keyword EMPTY> +<!ATTLIST keyword + %commonAttributes; + 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 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] +--> +<!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 +> diff --git a/kate/data/latex.xml b/kate/data/latex.xml new file mode 100644 index 000000000..fbbc9c784 --- /dev/null +++ b/kate/data/latex.xml @@ -0,0 +1,332 @@ +<?xml version="1.01" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="LaTeX" version="1.25" section="Markup" kateversion="2.3" extensions="*.tex; *.ltx; *.dtx; *.sty; *.cls;" 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)" license="LGPL" > + <highlighting> + <contexts> + <!-- Normal text --> + <context name="Normal Text" attribute="Normal Text" lineEndContext="#stay"> + <RegExpr String="\\begin(?=[^a-zA-Z])" attribute="Structure" context="FindEnvironment" beginRegion="block" /> + <RegExpr String="\\end(?=[^a-zA-Z])" attribute="Structure" context="FindEnvironment" endRegion="block" /> + <RegExpr String="\\(label|pageref|ref|vpageref|vref|cite)(?=[^a-zA-Z])" attribute="Structure" context="Label"/> + <RegExpr String="\\(part|chapter|section|subsection|subsubsection|paragraph|subparagraph)\*?\s*(?=[\{\[])" attribute="Structure" context="Sectioning"/> + <RegExpr String="\\(re)?newcommand(?=[^a-zA-Z])" attribute="Keyword" context="NewCommand"/> + <RegExpr String="\\(e|g|x)?def(?=[^a-zA-Z])" attribute="Keyword" context="DefCommand"/> + <StringDetect String="\(" attribute="Math" context="MathMode" beginRegion="mathMode" /> + <StringDetect String="\[" attribute="Math" context="MathModeEquation" beginRegion="mathMode" /> + <DetectChar char="\" attribute="Keyword" context="ContrSeq"/> + <StringDetect String="$$" attribute="Math" context="MathModeDisplay" beginRegion="mathMode" /> + <DetectChar char="$" attribute="Math" context="MathMode" beginRegion="mathMode" /> + <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" /> + <DetectChar char="×" attribute="Bullet" context="#stay"/> + </context> + + <!-- LaTeX sectioning commands --> + <context name="Sectioning" attribute="Normal Text" lineEndContext="#stay" fallthrough="true" fallthroughContext="#pop"> + <RegExpr String="\[[^\]]*\]" attribute="Normal Text" context="#stay"/> + <DetectChar char=" " attribute="Normal Text" context="#stay"/> + <DetectChar char="{" attribute="Normal Text" context="SectioningInside"/> + <DetectChar char="}" attribute="Normal Text" context="#pop"/> + <DetectChar char="%" attribute="Comment" context="Comment"/> + </context> + <context name="SectioningInside" attribute="Structure Text" lineEndContext="#stay"> + <DetectChar char="{" attribute="Normal Text" context="SectioningInside"/> + <DetectChar char="}" attribute="Normal Text" context="#pop"/> + <StringDetect String="\(" attribute="Structure Math" context="SectioningMathMode" beginRegion="mathMode" /> + <DetectChar char="\" attribute="Structure Keyword" context="SectioningContrSeq"/> + <DetectChar char="$" attribute="Structure Math" context="SectioningMathMode" beginRegion="mathMode" /> + <DetectChar char="%" attribute="Comment" context="Comment"/> + <DetectChar char="×" attribute="Bullet" context="#stay"/> + </context> + <context name="SectioningContrSeq" attribute="Keyword" lineEndContext="#pop"> + <DetectChar char="×" 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> + <context name="SectioningMathMode" attribute="Structure Math" lineEndContext="#stay"> + <StringDetect String="$$" attribute="Error" context="#stay" /> + <DetectChar char="$" attribute="Structure Math" context="#pop" endRegion="mathMode" /> + <Detect2Chars char="\" char1=")" attribute="Structure Math" context="#pop" endRegion="mathMode" /> + <Detect2Chars char="\" char1="]" attribute="Error" context="#stay" /> + <DetectChar char="\" attribute="Structure Keyword Mathmode" context="SectioningMathContrSeq"/> + <DetectChar char="%" attribute="Comment" context="Comment"/> + <DetectChar char="×" attribute="Bullet" context="#stay"/> + </context> + <context name="SectioningMathContrSeq" attribute="Structure Keyword Mathmode" lineEndContext="#pop"> + <DetectChar char="×" 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" /> + </context> + + <!-- LaTeX commands \newcommand and \renewcommand --> + <context name="NewCommand" attribute="Normal Text" lineEndContext="#stay" fallthrough="true" fallthroughContext="#pop"> + <RegExpr String="\s*\{\s*\\[a-zA-Z]+\s*\}(\[\d\](\[[^\]]+\])?)?\{" attribute="Normal Text" context="CommandParameterStart"/> + <DetectChar char="}" attribute="Error" context="#pop"/> + </context> + + <!-- LaTeX command \def --> + <context name="DefCommand" attribute="Normal Text" lineEndContext="#stay" fallthrough="true" fallthroughContext="#pop"> + <RegExpr String="\s*\\[a-zA-Z]+[^\{]*\{" attribute="Normal Text" context="CommandParameterStart"/> + <DetectChar char="}" attribute="Error" context="#pop"/> + </context> + + <!-- parse command argument --> + <context name="CommandParameterStart" attribute="Normal Text" lineEndContext="#stay"> + <DetectChar char="{" attribute="Normal Text" context="CommandParameter"/> + <DetectChar char="}" attribute="Normal Text" context="#pop#pop"/> + <RegExpr String="\\." attribute="Normal Text" context="#stay" /> + <DetectChar char="%" attribute="Comment" context="Comment"/> + </context> + <context name="CommandParameter" attribute="Normal Text" lineEndContext="#stay"> + <DetectChar char="{" attribute="Normal Text" context="CommandParameter"/> + <DetectChar char="}" attribute="Normal Text" context="#pop"/> + <RegExpr String="\\." attribute="Normal Text" context="#stay" /> + <DetectChar char="%" attribute="Comment" context="Comment"/> + </context> + + <!-- LaTeX command in text mode --> + <context name="ContrSeq" attribute="Keyword" lineEndContext="#pop"> + <StringDetect String="verb*" attribute="Keyword" context="Verb"/> + <RegExpr String="verb(?=[^a-zA-Z])" attribute="Keyword" context="Verb"/> + <DetectChar char="×" attribute="Bullet" context="#stay"/> + <RegExpr String="[a-zA-Z]+(\+?|\*{0,3})" attribute="Keyword" context="#pop"/> + <RegExpr String="[^a-zA-Z]" attribute="Keyword" context="#pop" /> + </context> + <context name="ToEndOfLine" attribute="Normal Text" lineEndContext="#pop"> + </context> + + <!-- verb command --> + <context name="Verb" attribute="Verbatim" lineEndContext="#pop#pop" > + <RegExpr String="(.)" attribute="Normal Text" dynamic="true" context="VerbEnd" /> + </context> + <context name="VerbEnd" attribute="Verbatim" lineEndContext="#pop#pop#pop" dynamic="true" > + <StringDetect String="%1" attribute="Normal Text" context="#pop#pop#pop" dynamic="true" /> + <DetectChar char="×" attribute="Bullet" context="#stay"/> + <RegExpr String="[^%1\xd7]*" attribute="Verbatim" context="#stay" dynamic="true" /> + </context> + + <!-- label --> + <context name="Label" attribute="Normal Text" lineEndContext="#stay"> + <RegExpr String="\s*\{\s*" attribute="Normal Text" context="LabelParameter"/> + <RegExpr String="\s*\[\s*" attribute="Normal Text" context="LabelOption"/> + <RegExpr String="[^\[\{]+" attribute="Error" context="#stay"/> + </context> + + <context name="LabelOption" attribute="Normal Text" lineEndContext="#stay"> + <StringDetect String="\(" attribute="Math" context="MathMode" beginRegion="mathMode" /> + <DetectChar char="\" attribute="Keyword" context="ContrSeq"/> + <DetectChar char="$" attribute="Math" context="MathMode" beginRegion="mathMode" /> + <DetectChar char="%" attribute="Comment" context="Comment"/> + <DetectChar char="×" attribute="Bullet" context="#stay"/> + <RegExpr String="\s*\]\s*" attribute="Normal Text" context="#pop"/> + </context> + + <context name="LabelParameter" attribute="Environment" lineEndContext="#stay"> + <DetectChar char="×" attribute="Bullet" context="#stay"/> + <RegExpr String="\s*\}\s*" attribute="Normal Text" context="#pop#pop"/> + </context> + + <!-- start of an environment --> + <context name="FindEnvironment" attribute="Normal Text" lineEndContext="#stay"> + <DetectChar char="{" attribute="Normal Text" context="Environment"/> + <RegExpr String="\S" attribute="Normal Text" context="#pop"/> + </context> + + <!-- filter the environment name and check the type --> + <context name="Environment" attribute="Environment" lineEndContext="#stay"> + <RegExpr String="(lstlisting|(B|L)?Verbatim)" attribute="Environment" context="VerbatimEnvParam"/> + <RegExpr String="(verbatim|boxedverbatim)" attribute="Environment" context="VerbatimEnv"/> + <RegExpr String="(equation|displaymath|eqnarray|subeqnarray|math|multline|gather|align|flalign)" attribute="Environment" context="MathEnv"/> + <RegExpr String="(alignat|xalignat|xxalignat)" attribute="Environment" context="MathEnvParam"/> + <DetectChar char="×" attribute="Bullet" context="#stay"/> + <RegExpr String="[a-zA-Z]" attribute="Environment" context="LatexEnv"/> + <RegExpr String="\s+" attribute="Error" context="#pop"/> + <RegExpr String="[^a-zA-Z\xd7]" attribute="Error" context="#pop"/> + </context> + + <!-- environment type 1: normal --> + <context name="LatexEnv" attribute="Environment" lineEndContext="#stay"> + <DetectChar char="}" attribute="Normal Text" context="#pop#pop#pop"/> + <RegExpr String="[a-zA-Z]+" attribute="Environment" context="#stay"/> + <RegExpr String="\s+" attribute="Error" context="#stay"/> + <IncludeRules context="EnvCommon" /> + </context> + + <!-- environment type 2: verbatim without parameter --> + <context name="VerbatimEnv" attribute="Environment" lineEndContext="#stay" fallthrough="true" fallthroughContext="#pop#pop#pop"> + <DetectChar char="}" attribute="Normal Text" context="Verbatim"/> + <RegExpr String="[a-zA-Z]" attribute="Environment" lookAhead="true" context="#pop"/> + <IncludeRules context="EnvCommon" /> + </context> + + <!-- environment type 3: verbatim with optional parameter --> + <context name="VerbatimEnvParam" attribute="Normal Text" lineEndContext="#stay"> + <Detect2Chars char="}" char1="[" attribute="Normal Text" context="#stay" /> + <DetectChar char="}" attribute="Normal Text" context="Verbatim"/> + <DetectChar char="]" attribute="Normal Text" context="Verbatim"/> + </context> + + <!-- parse verbatim text --> + <context name="Verbatim" attribute="Verbatim" lineEndContext="#stay"> + <DetectChar char="×" attribute="Bullet" context="#stay"/> + <RegExpr String="\\end(?=\s*\{(verbatim|lstlisting|boxedverbatim|(B|L)?Verbatim)\*?\})" attribute="Structure" context="VerbFindEnd"/> + </context> + + <!-- end of verbatim environment --> + <context name="VerbFindEnd" attribute="Normal Text" lineEndContext="#pop" fallthrough="true" fallthroughContext="#pop"> + <RegExpr String="\s*\{" attribute="Normal Text" context="#stay"/> + <RegExpr String="(verbatim|lstlisting|boxedverbatim|(B|L)?Verbatim)\*?" attribute="Environment" context="#stay"/> + <DetectChar char="}" attribute="Normal Text" context="#pop#pop#pop#pop#pop" endRegion="block"/> + </context> + + <!-- environment type 4: math environment with its own mathmode --> + <context name="MathEnv" attribute="Environment" lineEndContext="#stay"> + <DetectChar char="}" attribute="Normal Text" context="MathModeEnv"/> + <RegExpr String="[a-zA-Z]" attribute="Environment" lookAhead="true" context="#pop"/> + <IncludeRules context="EnvCommon" /> + </context> + + <!-- environment type 5: math environment with its own mathmode and parameter --> + <context name="MathEnvParam" attribute="Normal Text" lineEndContext="#stay"> + <RegExpr String="\}\{[^\}]*\}" attribute="Normal Text" context="MathModeEnv"/> + <DetectChar char="}" attribute="Normal Text" context="MathModeEnv"/> + <RegExpr String="[a-zA-Z]" attribute="Environment" lookAhead="true" context="#pop"/> + <IncludeRules context="EnvCommon" /> + </context> + + <!-- environment common --> + <context name="EnvCommon" attribute="Environment" lineEndContext="#stay"> + <DetectChar char="×" attribute="Bullet" context="#stay"/> + <RegExpr String="\*(?=\})" attribute="Environment" context="#stay"/> + <RegExpr String="\*[^\}]*" attribute="Error" context="#pop#pop#pop"/> + <RegExpr String="[^a-zA-Z\xd7][^\}]*" attribute="Error" context="#pop#pop#pop"/> + </context> + + <!-- parse math environment --> + <context name="MathModeEnv" attribute="Math" lineEndContext="#stay"> + <RegExpr String="\\end(?=\s*\{(equation|displaymath|eqnarray|subeqnarray|math|multline|gather|align|flalign|alignat|xalignat|xxalignat)\*?\})" attribute="Structure" context="MathFindEnd"/> + <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" /> + <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"/> + <StringDetect String="$$" attribute="Error" context="#stay" /> + <DetectChar char="$" attribute="Error" context="#stay" /> + <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"/> + </context> + + <!-- end of math environment --> + <context name="MathFindEnd" attribute="Normal Text" lineEndContext="#pop" fallthrough="true" fallthroughContext="#pop"> + <RegExpr String="\s*\{" attribute="Normal Text" context="#stay"/> + <RegExpr String="(equation|displaymath|eqnarray|subeqnarray|math|multline|gather|align|flalign|alignat|xalignat|xxalignat)\*?" attribute="Environment" context="#stay"/> + <DetectChar char="}" attribute="Normal Text" context="#pop#pop#pop#pop#pop" endRegion="block"/> + </context> + + <!-- math mode: starting with $ or \( --> + <context name="MathMode" attribute="Math" lineEndContext="#stay"> + <StringDetect String="$$" attribute="Error" context="#stay" /> + <DetectChar char="$" attribute="Math" context="#pop" endRegion="mathMode" /> + <Detect2Chars char="\" char1=")" attribute="Math" context="#pop" endRegion="mathMode" /> + <Detect2Chars char="\" char1="]" attribute="Error" context="#stay" /> + <IncludeRules context="MathModeCommon" /> + </context> + + <!-- math mode: starting with $$ --> + <context name="MathModeDisplay" attribute="Math" lineEndContext="#stay"> + <StringDetect String="$$" attribute="Math" context="#pop" endRegion="mathMode" /> + <DetectChar char="$" attribute="Error" context="#stay" /> + <Detect2Chars char="\" char1="]" attribute="Error" context="#stay" /> + <Detect2Chars char="\" char1=")" attribute="Error" context="#stay" /> + <IncludeRules context="MathModeCommon" /> + </context> + + <!-- math mode: starting with \[ --> + <context name="MathModeEquation" attribute="Math" lineEndContext="#stay"> + <Detect2Chars char="\" char1="]" attribute="Math" context="#pop" endRegion="mathMode" /> + <StringDetect String="$$" attribute="Error" context="#stay" /> + <DetectChar char="$" attribute="Error" context="#stay" /> + <Detect2Chars char="\" char1=")" attribute="Error" context="#stay" /> + <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)\*?\}" 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"/> + <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"/> + <DetectChar char="×" attribute="Bullet" context="#stay"/> + </context> + + <!-- command in mathmode --> + <context name="MathContrSeq" attribute="Keyword Mathmode" lineEndContext="#pop"> + <DetectChar char="×" attribute="Bullet" context="#stay"/> + <RegExpr String="[a-zA-Z]+\*?" attribute="Keyword Mathmode" context="#pop"/> + <RegExpr String="[^a-zA-Z]" attribute="Keyword Mathmode" context="#pop" /> + </context> + + <!-- text in mathmode --> + <context name="MathModeText" attribute="Normal Text" lineEndContext="#stay" > + <DetectChar char="{" attribute="Normal Text" context="MathModeTextParameterStart"/> + </context> + + <context name="MathModeTextParameterStart" attribute="Normal Text" lineEndContext="#stay" > + <RegExpr String="\\." attribute="Normal Text" context="#stay"/> + <DetectChar char="×" attribute="Bullet" context="#stay"/> + <DetectChar char="{" attribute="Normal Text" context="MathModeTextParameter"/> + <DetectChar char="}" attribute="Normal Text" context="#pop#pop"/> + <DetectChar char="%" attribute="Comment" context="Comment"/> + </context> + + <context name="MathModeTextParameter" attribute="Normal Text" lineEndContext="#stay" > + <RegExpr String="\\." attribute="Normal Text" context="#stay"/> + <DetectChar char="{" attribute="Normal Text" context="MathModeTextParameter"/> + <DetectChar char="}" attribute="Normal Text" context="#pop"/> + <DetectChar char="×" attribute="Bullet" context="#stay"/> + <DetectChar char="%" attribute="Comment" context="Comment"/> + </context> + + <!-- comment --> + <context name="Comment" attribute="Comment" lineEndContext="#pop"> + <RegExpr String="(FIXME|TODO):?" attribute="Alert" context="#stay"/> + <DetectChar char="×" attribute="Bullet" context="#stay"/> + </context> + </contexts> + + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Keyword" defStyleNum="dsNormal" color="#800000" selColor="#60FFFF" bold="0" italic="0"/> + <itemData name="Comment" defStyleNum="dsComment"/> + <itemData name="Error" defStyleNum="dsAlert"/> + <itemData name="Math" defStyleNum="dsNormal" color="#00A000" selColor="#FF40FF" bold="0" italic="0"/> + <itemData name="Structure" defStyleNum="dsNormal" color="#F00000" selColor="#80FFD0" bold="0" italic="0"/> + <itemData name="Keyword Mathmode" defStyleNum="dsNormal" color="#606000" selColor="#FFD0FF" bold="0" italic="0"/> + <itemData name="Environment" defStyleNum="dsNormal" color="#0000D0" selColor="#FFFF90" bold="0" italic="0"/> + <itemData name="Verbatim" defStyleNum="dsNormal" color="#a08000" selColor="#80D0FF" bold="0" italic="0"/> + <itemData name="Region Marker" defStyleNum="dsRegionMarker" /> + <itemData name="Bullet" defStyleNum="dsNormal" color="#FF00C4" bold="1" underline="1"/> + <itemData name="Alert" defStyleNum="dsAlert" /> + <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"/> + <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"/> + </itemDatas> + </highlighting> + + <general> + <keywords weakDeliminator="\" wordWrapDeliminator=",{}[]"/> + <comments> + <comment name="singleLine" start="%" /> + </comments> + </general> +</language> diff --git a/kate/data/ldif.xml b/kate/data/ldif.xml new file mode 100644 index 000000000..d0da293a1 --- /dev/null +++ b/kate/data/ldif.xml @@ -0,0 +1,305 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="LDIF" version="1.02" kateversion="2.4" section="Database" extensions="*.ldif" mimetype="application/directory" author="Andreas Hochsteger (e9625392@student.tuwien.ac.at)" license=""> + <highlighting> + <list name="attributetypes"> + <item>IPPhone</item> + <item>URL</item> + <item>aRecord</item> + <item>aliasedEntryName</item> + <item>aliasedObjectName</item> + <item>associatedDomain</item> + <item>associatedName</item> + <item>audio</item> + <item>authorityRevocationList</item> + <item>bootFile</item> + <item>bootParameter</item> + <item>buildingName</item> + <item>businessCategory</item> + <item>c</item> + <item>cACertificate</item> + <item>cNAMERecord</item> + <item>certificateRevocationList</item> + <item>cn</item> + <item>comment</item> + <item>commonName</item> + <item>conferenceInformation</item> + <item>corbaContainer</item> + <item>corbaRepositoryId</item> + <item>countryName</item> + <item>crossCertificatePair</item> + <item>custom1</item> + <item>custom2</item> + <item>custom3</item> + <item>custom4</item> + <item>dITRedirect</item> + <item>dSAQuality</item> + <item>dc</item> + <item>deltaRevocationList</item> + <item>description</item> + <item>destinationIndicator</item> + <item>distinguishedName</item> + <item>dmdName</item> + <item>dnQualifier</item> + <item>documentAuthor</item> + <item>documentIdentifier</item> + <item>documentLocation</item> + <item>documentPublisher</item> + <item>documentTitle</item> + <item>documentVersion</item> + <item>domainComponent</item> + <item>enhancedSearchGuide</item> + <item>facsimileTelephoneNumber</item> + <item>fax</item> + <item>gecos</item> + <item>generationQualifier</item> + <item>gidNumber</item> + <item>givenName</item> + <item>gn</item> + <item>homeDirectory</item> + <item>homePostalAddress</item> + <item>homeUrl</item> + <item>host</item> + <item>houseIdentifier</item> + <item>info</item> + <item>initials</item> + <item>internationaliSDNNumber</item> + <item>ipHostNumber</item> + <item>ipNetmaskNumber</item> + <item>ipNetworkNumber</item> + <item>ipProtocolNumber</item> + <item>ipServicePort</item> + <item>ipServiceProtocol</item> + <item>janetMailbox</item> + <item>javaClassNames</item> + <item>javaCodebase</item> + <item>javaContainer</item> + <item>javaDoc</item> + <item>javaFactory</item> + <item>javaReferenceAddress</item> + <item>javaSerializedData</item> + <item>knowledgeInformation</item> + <item>l</item> + <item>labeledURI</item> + <item>lastModifiedBy</item> + <item>lastModifiedTime</item> + <item>lmpassword</item> + <item>localityName</item> + <item>loginShell</item> + <item>mDRecord</item> + <item>mXRecord</item> + <item>macAddress</item> + <item>mail</item> + <item>manager</item> + <item>member</item> + <item>memberNisNetgroup</item> + <item>memberUid</item> + <item>mozillaHomeCountryName</item> + <item>mozillaHomeFriendlyCountryName</item> + <item>mozillaHomeLocalityName</item> + <item>mozillaHomePostalAddress2</item> + <item>mozillaHomePostalCode</item> + <item>mozillaHomeState</item> + <item>mozillaPostalAddress2</item> + <item>mozillaSecondemail</item> + <item>nSRecord</item> + <item>name</item> + <item>nisMapEntry</item> + <item>nisMapName</item> + <item>nisNetgroupTriple</item> + <item>ntpasswd</item> + <item>o</item> + <item>objectClass</item> + <item>oncRpcNumber</item> + <item>organizationName</item> + <item>organizationalStatus</item> + <item>organizationalUnitName</item> + <item>otherFacsimiletelephoneNumber</item> + <item>otherMailbox</item> + <item>ou</item> + <item>owner</item> + <item>personalSignature</item> + <item>personalTitle</item> + <item>photo</item> + <item>physicalDeliveryOfficeName</item> + <item>postOfficeBox</item> + <item>postalAddress</item> + <item>postalCode</item> + <item>preferredDeliveryMethod</item> + <item>presentationAddress</item> + <item>protocolInformation</item> + <item>rdn</item> + <item>registeredAddress</item> + <item>reports</item> + <item>rfc822Mailbox</item> + <item>roleOccupant</item> + <item>roomNumber</item> + <item>sOARecord</item> + <item>searchGuide</item> + <item>secretary</item> + <item>seeAlso</item> + <item>serialNumber</item> + <item>shadowExpire</item> + <item>shadowFlag</item> + <item>shadowInactive</item> + <item>shadowLastChange</item> + <item>shadowMax</item> + <item>shadowMin</item> + <item>shadowWarning</item> + <item>singleLevelQuality</item> + <item>sn</item> + <item>st</item> + <item>stateOrProvinceName</item> + <item>street</item> + <item>streetAddress</item> + <item>subtreeMaximumQuality</item> + <item>subtreeMinimumQuality</item> + <item>supportedAlgorithms</item> + <item>supportedApplicationContext</item> + <item>surname</item> + <item>telephoneNumber</item> + <item>teletexTerminalIdentifier</item> + <item>telexNumber</item> + <item>textEncodedORAddress</item> + <item>title</item> + <item>uid</item> + <item>uidNumber</item> + <item>uniqueIdentifier</item> + <item>uniqueMember</item> + <item>userCertificate</item> + <item>userClass</item> + <item>userPassword</item> + <item>userid</item> + <item>workUrl</item> + <item>x121Address</item> + <item>x500UniqueIdentifier</item> + <item>xmozillaNickname</item> + <item>xmozillaUseHtmlMail</item> + <item>xmozillanickname</item> + <item>xmozillausehtmlmail</item> + </list> + <list name="objectclasses"> + <item>RFC822localPart</item> + <item>SUP</item> + <item>account</item> + <item>alias</item> + <item>applicationEntity</item> + <item>applicationProcess</item> + <item>bootableDevice</item> + <item>cRLDistributionPoint</item> + <item>certificationAuthority</item> + <item>certificationAuthority-V2</item> + <item>corbaObject</item> + <item>corbaObjectReference</item> + <item>country</item> + <item>dNSDomain</item> + <item>dSA</item> + <item>dcObject</item> + <item>deltaCRL</item> + <item>device</item> + <item>dmd</item> + <item>document</item> + <item>documentSeries</item> + <item>domain</item> + <item>domainRelatedObject</item> + <item>friendlyCountry</item> + <item>groupOfNames</item> + <item>groupOfUniqueNames</item> + <item>ieee802Device</item> + <item>inetOrgPerson</item> + <item>ipHost</item> + <item>ipNetwork</item> + <item>ipProtocol</item> + <item>ipService</item> + <item>javaClassName</item> + <item>javaMarshalledObject</item> + <item>javaNamingReference</item> + <item>javaObject</item> + <item>javaSerializedObject</item> + <item>labeledURIObject</item> + <item>locality</item> + <item>mozillaAbPersonObsolete</item> + <item>nisMap</item> + <item>nisNetgroup</item> + <item>nisObject</item> + <item>officePerson</item> + <item>oncRpc</item> + <item>organization</item> + <item>organizationalPerson</item> + <item>organizationalRole</item> + <item>organizationalUnit</item> + <item>pager</item> + <item>pagerTelephoneNumber</item> + <item>person</item> + <item>pilotDSA</item> + <item>pilotObject</item> + <item>pilotOrganization</item> + <item>pkiCA</item> + <item>pkiUser</item> + <item>posixAccount</item> + <item>posixGroup</item> + <item>qualityLabelledData</item> + <item>residentialPerson</item> + <item>rid</item> + <item>room</item> + <item>sambaAccount</item> + <item>shadowAccount</item> + <item>simpleSecurityObject</item> + <item>strongAuthenticationUser</item> + <item>telephoneNumber</item> + <item>top</item> + <item>uid</item> + <item>uidNumber</item> + <item>uidObject</item> + <item>userSecurityInformation</item> + <item>userid</item> + <item>xmozillaanyphone</item> + <item>zillaPerson</item> + </list> + <contexts> + <context name="ctxStart" attribute="Value (Standard)" lineEndContext="#stay"> + <RegExpr String="#.*$" attribute="Comment" context="#stay"/> + <DetectChar char=":" attribute="Description Keyword" context="ctxEncoded"/> + <DetectChar char="<" attribute="Description Keyword" context="ctxURL"/> + <RegExpr String="[^:<]" attribute="Value (Standard)" context="ctxStandard"/> + <RegExpr String="[\w\-]+((;[\w\-]+)+)?:" attribute="Description Keyword" context="#stay" column="0"/> + </context> + <context name="ctxEncoded" attribute="Value (Encoded)" lineEndContext="#stay"> + <RegExpr String="#.*$" attribute="Comment" context="#stay"/> + <RegExpr String="\s.*$" attribute="Value (Encoded)" context="#stay"/> + <RegExpr String="[\w\-]+((;[\w\-]+)+)?:" attribute="Description Keyword" context="#pop" column="0"/> + </context> + <context name="ctxURL" attribute="Value (URL)" lineEndContext="#stay"> + <RegExpr String="#.*$" attribute="Comment" context="#stay"/> + <RegExpr String="\s+[\w]+://[\w/.]+" attribute="Value (URL)" context="#stay"/> + <RegExpr String="\s.*$" attribute="Value (URL)" context="#stay"/> + <RegExpr String="[\w\-]+((;[\w\-]+)+)?:" attribute="Description Keyword" context="#pop" column="0"/> + </context> + <context name="ctxStandard" attribute="Value (Standard)" lineEndContext="#stay"> + <RegExpr String="#.*$" attribute="Comment" context="#stay"/> + <RegExpr String="\{\w+\}.*$" attribute="Value (Encrypted)" context="ctxEncrypted"/> + <keyword String="attributetypes" attribute="AttributeType" context="#stay"/> + <keyword String="objectclasses" attribute="ObjectClass" context="#stay"/> + <RegExpr String="[\w\-]+((;[\w\-]+)+)?:" attribute="Description Keyword" context="#pop" column="0"/> + <RegExpr String="[a-zA-Z0-9\-]+=" attribute="Value (Keyword)" context="#stay"/> + </context> + <context name="ctxEncrypted" attribute="Value (Encrypted)" lineEndContext="#stay"> + <RegExpr String="#.*$" attribute="Comment" context="#stay"/> + <RegExpr String="\s.*$" attribute="Value (Encrypted)" context="#stay"/> + <RegExpr String="[\w\-]+((;[\w\-]+)+)?:" attribute="Description Keyword" context="#pop#pop" column="0"/> + </context> + </contexts> + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal" color="#000000" selColor="#FFFFFF" bold="0" italic="0"/> + <itemData name="Comment" defStyleNum="dsComment" color="#808080" selColor="#808080" bold="0" italic="0"/> + <itemData name="AttributeType" defStyleNum="dsKeyword" color="#404040" selColor="#FFFFFF" bold="1" italic="0"/> + <itemData name="ObjectClass" defStyleNum="dsKeyword" color="#800080" selColor="#FFFFFF" bold="1" italic="0"/> + <itemData name="Description Keyword" defStyleNum="dsKeyword" color="#000000" selColor="#FFFFFF" bold="1" italic="0"/> + <itemData name="Value (Standard)" defStyleNum="dsString" color="#008000" selColor="#008000" bold="0" italic="0"/> + <itemData name="Value (Encoded)" defStyleNum="dsString" color="#FF8000" selColor="#0080FF" bold="0" italic="0"/> + <itemData name="Value (Encrypted)" defStyleNum="dsString" color="#FF0000" selColor="#00FFFF" bold="0" italic="0"/> + <itemData name="Value (Keyword)" defStyleNum="dsString" color="#008000" selColor="#800080" bold="1" italic="0"/> + <itemData name="Value (URL)" defStyleNum="dsString" color="#0000FF" selColor="#FFFF00" bold="0" italic="0"/> + </itemDatas> + </highlighting> +</language> diff --git a/kate/data/lex.xml b/kate/data/lex.xml new file mode 100644 index 000000000..f2daebbb4 --- /dev/null +++ b/kate/data/lex.xml @@ -0,0 +1,144 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<!-- + ======================================================================== + + LEX.XML supports syntax highlighting for Lex/Flex source under Kate. + + Copyright (C) 2004 - Jan Villat <jan.villat@net2000.ch> + This code is released under the LGPL as part of kdelibs/kate. + + ======================================================================== + + Updates for LEX.XML can be obtained from http://kate.kde.org/hl/ + + UPDATE HISTORY:- + 2004.05.25 - LEX.XML 1.00 - First released. + + TODO:- + - Add a mime type (cannot find it !?) + + ======================================================================== +--> +<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"> + +<highlighting> +<contexts> + <context name="Pre Start" attribute="Normal Text" lineEndContext="#stay"> + <RegExpr attribute="Normal Text" context="Definitions" String="." lookAhead="true" beginRegion="definitions" /> + </context> + <context name="Definitions" attribute="Normal Text" lineEndContext="#stay"> + <IncludeRules context="Detect C" /> + <Detect2Chars attribute="Content-Type Delimiter" context="Rules" char="%" char1="%" beginRegion="rules" endRegion="definitions" /> + <DetectChar attribute="Directive" context="Percent Command" char="%" /> + <Detect2Chars attribute="Comment" context="Comment" char="/" char1="*" column="0"/> + <RegExpr attribute="Definition" context="Definition RegExpr" String="[A-Za-z_]\w*\s+" column="0"/> + </context> + <context name="Rules" attribute="Normal Text" lineEndContext="#stay" fallthrough="true" fallthroughContext="Rule RegExpr"> + <IncludeRules context="Detect C" /> + <Detect2Chars attribute="Content-Type Delimiter" context="User Code" char="%" char1="%" beginRegion="code" endRegion="rules" /> + </context> + <context name="User Code" attribute="Normal Text" lineEndContext="#stay"> + <IncludeRules context="##C++" /> + </context> + + <context name="Percent Command" attribute="Directive" lineEndContext="#pop"> + </context> + <context name="Comment" attribute="Comment" lineEndContext="#stay"> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" /> + </context> + + <context name="Definition RegExpr" attribute="RegExpr" lineEndContext="#pop"> + <IncludeRules context="RegExpr Base" /> + <RegExpr attribute="RegExpr" context="#stay" String="\S" /> + <RegExpr attribute="Alert" context="#stay" String=".*" /> + </context> + <context name="Rule RegExpr" attribute="RegExpr" lineEndContext="#pop"> + <RegExpr attribute="Content-Type Delimiter" context="Start Conditions Scope" String="\{$" beginRegion="SCscope" /> + <IncludeRules context="RegExpr Base" /> + <RegExpr attribute="RegExpr" context="#stay" String="\S" /> + <RegExpr attribute="Normal Text" context="Action" String="\s+" /> + </context> + <context name="RegExpr (" attribute="RegExpr" lineEndContext="#stay"> + <IncludeRules context="RegExpr Base" /> + <DetectChar attribute="RegExpr" context="#pop" char=")" /> + <RegExpr attribute="RegExpr" context="#stay" String="." /> + </context> + <context name="RegExpr [" attribute="RegExpr" lineEndContext="#stay"> + <RegExpr attribute="Backslash Code" context="#stay" String="\\." /> + <DetectChar attribute="RegExpr" context="#pop" char="]" /> + <RegExpr attribute="RegExpr" context="#stay" String="." /> + </context> + <context name="RegExpr {" attribute="RegExpr" lineEndContext="#stay"> + <RegExpr attribute="Backslash Code" context="#stay" String="\\." /> + <DetectChar attribute="RegExpr" context="#pop" char="}" /> + <RegExpr attribute="RegExpr" context="#stay" String="." /> + </context> + <context name="RegExpr Q" attribute="RegExpr" lineEndContext="#stay"> + <RegExpr attribute="Backslash Code" context="#stay" String="\\." /> + <DetectChar attribute="RegExpr" context="#pop" char=""" /> + <RegExpr attribute="RegExpr" context="#stay" String="." /> + </context> + <context name="RegExpr Base" attribute="RegExpr" lineEndContext="#stay"> + <RegExpr attribute="Backslash Code" context="#stay" String="\\." /> + <DetectChar attribute="RegExpr" context="RegExpr (" char="(" /> + <DetectChar attribute="RegExpr" context="RegExpr [" char="[" /> + <DetectChar attribute="RegExpr" context="RegExpr {" char="{" /> + <DetectChar attribute="RegExpr" context="RegExpr Q" char=""" /> + </context> + + <context name="Start Conditions Scope" attribute="Normal Text" lineEndContext="#stay" fallthrough="true" fallthroughContext="Rule RegExpr"> + <RegExpr attribute="Content-Type Delimiter" context="#pop" String="\s*\}" endRegion="SCscope" /> + <RegExpr attribute="Normal Text" context="Rule RegExpr" String="\s*" /> + </context> + + <context name="Action" attribute="Normal Text" lineEndContext="#pop" fallthrough="true" fallthroughContext="Action C"> + <RegExpr attribute="Directive" context="#stay" String="\|\s*$" /> + <Detect2Chars attribute="Content-Type Delimiter" context="Lex Rule C Bloc" char="%" char1="{" beginRegion="lexCbloc" /> + </context> + + <context name="Detect C" attribute="Normal Text" lineEndContext="#stay"> + <RegExpr attribute="Normal Text" context="Indented C" String="^\s" /> + <Detect2Chars attribute="Content-Type Delimiter" context="Lex C Bloc" char="%" char1="{" beginRegion="lexCbloc" column="0"/> + </context> + <context name="Indented C" attribute="Normal Text" lineEndContext="#pop"> + <IncludeRules context="##C++" /> + </context> + <context name="Lex C Bloc" attribute="Normal Text" lineEndContext="#stay"> + <Detect2Chars attribute="Content-Type Delimiter" context="#pop" char="%" char1="}" endRegion="lexCbloc" column="0"/> + <IncludeRules context="##C++" /> + </context> + <context name="Lex Rule C Bloc" attribute="Normal Text" lineEndContext="#stay"> + <Detect2Chars attribute="Content-Type Delimiter" context="#pop" char="%" char1="}" endRegion="lexCbloc" /> + <IncludeRules context="##C++" /> + </context> + <context name="Normal C Bloc" attribute="Normal Text" lineEndContext="#stay"> + <DetectChar attribute="Normal Text" context="Normal C Bloc" char="{" beginRegion="bloc" /> + <DetectChar attribute="Normal Text" context="#pop" char="}" endRegion="bloc" /> + <IncludeRules context="##C++" /> + </context> + <context name="Action C" attribute="Normal Text" lineEndContext="#pop"> + <DetectChar attribute="Normal Text" context="Normal C Bloc" char="{" beginRegion="bloc" /> + <DetectChar attribute="Alert" context="#stay" char="}" /> + <IncludeRules context="##C++" /> + </context> +</contexts> + +<itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal" /> + <itemData name="Definition" defStyleNum="dsDataType" /> + <itemData name="Comment" defStyleNum="dsComment" /> + <itemData name="Content-Type Delimiter" defStyleNum="dsBaseN" bold="1" /> + <itemData name="Directive" defStyleNum="dsKeyword"/> + <itemData name="RegExpr" defStyleNum="dsString" /> + <itemData name="Backslash Code" defStyleNum="dsString" bold="1" /> + <itemData name="Alert" defStyleNum="dsAlert" /> +</itemDatas> + +</highlighting> +<general> + <comments> + <comment name="multiLine" start="/*" end="*/" /> + </comments> +</general> +</language> diff --git a/kate/data/lilypond.xml b/kate/data/lilypond.xml new file mode 100644 index 000000000..08b954d82 --- /dev/null +++ b/kate/data/lilypond.xml @@ -0,0 +1,1095 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd" [ + <!ENTITY b "(?![A-Za-z])"> + <!ENTITY rest "\b[srR]&b;"> + <!ENTITY pitch "\b([a-h]((iss){1,2}|(ess){1,2}|(is){1,2}|(es){1,2}|(sharp){1,2}|(flat){1,2}|ss?|ff?)?|(do|re|mi|fa|sol|la|si)(dd?|bb?|ss?|kk?)?)('+|,+|&b;)"> + <!ENTITY duration "(\\(longa|breve)\b|(1|2|4|8|16|32|64|128|256|512|1024|2048)(?!\d))(\s*\.+)?(\s*\*\s*\d+(/\d+)?)*"> + <!ENTITY dynamics "p{1,5}|mp|mf|f{1,4}|s?fp|sff?|spp?|[sr]?fz"> + <!ENTITY scripts "\d+|accent|marcato|staccat(issim)?o|espressivo|tenuto|portato|(up|down)(bow|mordent|prall)|flageolet|thumb|[lr](heel|toe)|open|stopped|turn|reverseturn|trill|mordent|prall(prall|mordent|down|up)?|lineprall|signumcongruentiae|(short|long|verylong)?fermata|segno|(var)?coda"> + <!ENTITY keywords "accepts|alias|consists|defaultchild|denies|description|grobdescriptions|include|invalid|name|objectid|once|remove|sequential|simultaneous|type|version|score|book"> + <!ENTITY deprecatedkeywords "consistsend"> + <!ENTITY commands "acciaccatura|addQuote|afterGrace|aikenHeads|allowPageTurn|alternative|apply(Context|Music|Output)|appoggiatura|arpeggio(Bracket|Down|Neutral|Up)?|(a|de)scendens|auctum|augmentum|autoBeamO(ff|n)|autochange|balloon(Grob)?Text|bar|barNumberCheck|bendAfter|breathe|break|cadenzaO(ff|n)|caesura|cavum|clef(\s+(treble|violin|G|alto|C|(sub)?bass|F|french|(mezzo)?soprano|(var)?baritone|percussion|tab))?|compressMusic|(end)?(de)?cr|(cue|transposedCue)During|default|deminutum|display(Lily)?Music|divisio(Maior|Maxima|Minima)|(dynamic|dots|phrasingSlur|slur|stem|tie|tuplet)(Down|Neutral|Up)|textLengthO(ff|n)|featherDurations|figure(mode|s)|finalis|flexa|(french|german|italian|semiGerman)Chords|glissando|grace|harmonic|(unH|h)ideNotes|(hide|show)StaffSwitch|inclinatum|(keep|remove)WithTag|key(\s+&pitch;)?|killCues|label|laissezVibrer|linea|mark|maxima|melisma(End)?|newSpacingSection|no(Beam|Break|PageBreak|PageTurn)|normalsize|octave|oneVoice|oriscus|page(-ref|Break|Turn)|parallelMusic|parenthesize|partcombine|partial(\s*&duration;)?|pes|pitchedTrill|quilisma|quoteDuring|relative(\s+&pitch;)?|RemoveEmptyStaffContext|repeat(\s+(unfold|volta|tremolo|percent)(\s+\d+)?)?|repeatTie|resetRelativeOctave|rest|sacredHarpHeads|scoreTweak|easyHeadsO(ff|n)|set(Hairpin|Text)(Cresc|Decresc|Dim)|setTextDecr|shift(Durations|Off|On{1,3})|(slur|tie)(Both|Dashed|Dotted|Solid)|small|spacingTweaks|(start|stop)(Group|(Text|Trill)Span|Staff)|stemBoth|stropha|super|(sustain|sostenuto)(Down|Up)|table-of-contents|tag|tempo(\s*\d+\.*\s*=\s*\d+)?|times?(\s*\d+/\d+)?|tiny|tocItem|transpose(\s+&pitch;\s*&pitch;)?|transposition(\s+&pitch;)|tweak|unfoldRepeats|virg(ul)?a|voice(One|Two|Three|Four)|withMusicProperty|cm|mm|in|pt|major|minor|ionian|locrian|aeolian|mixolydian|lydian|phrygian|dorian"> + <!ENTITY deprecatedcommands "newpage|script(Up|Down|Both)|(empty|fat)Text|setEasyHeads|(default|voice|modernVoice|piano|forget)Accidentals|(modern(Voice)?|piano)Cautionaries|noResetKey"> + <!ENTITY markupnotextargs "arrow-head|beam|char|double(flat|sharp)|draw-(circle|line)|epsfile|filled-box|flat|fret-diagram(-terse|-verbose)?|fromproperty|justify-(field|string)|lookup|markalphabet|markletter|musicglyph|natural|note-by-number|note|null|semi(flat|sharp)|sesqui(flat|sharp)|sharp|simple|slashed-digit|stencil|strut|tied-lyric|triangle|verbatim-file|wordwrap-field"> + <!ENTITY markupwithtextargs "markup|bigger|bold|box|bracket|caps|(center|general|left|right)-align|circle|column|combine|concat|dir-column|dynamic|fill-line|finger|fontCaps|fontsize|fraction|halign|hbracket|hcenter-in|hcenter|hspace|huge|italic|justify|larger?|line|lower|magnify|medium|normal-size-(sub|super)|normal-text|normalsize|number|on-the-fly|override|pad-(around|markup|to-box|x)|page-ref|postscript|put-adjacent|raise|roman|rotate|sans|small(er)?|smallCaps|sub|super|teeny|text|tiny|translate(-scaled)?|transparent|typewriter|underline|upright|vcenter|whiteout|with-(color|dimensions|url)|wordwrap(-string)?|(markup|column-|justified-|override-|wordwrap-)lines"> + <!ENTITY deprecatedmarkup "center"> + <!ENTITY headervars "dedication|(sub){,2}title|poet|composer|meter|opus|arranger|instrument|piece|breakbefore|copyright|tagline|mutopia(title|composer|poet|opus|instrument)|date|enteredby|source|style|maintainer(Email|Web)?|moreInfo|lastupdated|texidoc"> + <!ENTITY papervars "annotate-spacing|(print-)?first-page-number|print-page-number|paper-(width|height)|(top|bottom|left|right)-margin|line-width|(head|foot)-separation|page-top-space|ragged-(bottom|last-bottom|right)|page-count|between-system-(space|padding)|page-breaking-between-system-padding|horizontal-shift|(before|after|between)-title-space|printallheaders|indent|force-assignment|input-encoding|output-scale|blank(-after-score|-last)?-page-force|page-limit-inter-system-space(-factor)?|(systemSeparator|(even|odd)(Footer|Header)|(book|score|toc)Title|tocItem)Markup"> + <!ENTITY layoutvars "system-count|indent"> + <!ENTITY toplevelvars "dash(Hat|Plus|Dash|Bar|Larger|Dot|Underscore)|fermataMarkup|pipeSymbol|slashSeparator"> + <!ENTITY performer "Beam|Control_track|Drum_note|Dynamic|Key|Lyric|Note|Piano_pedal|Slur|Staff|Swallow|Tempo|Tie|Time_signature"> + <!ENTITY translator "Note_swallow|Rest_swallow|Skip_event_swallow|Timing"> + <!ENTITY engraver "Accidental|Ambitus|Arpeggio|Auto_beam|Axis_group|Balloon|Bar|Bar_number|Beam|Bend|Break_align|Breathing_sign|Chord_name|Chord_tremolo|Clef|Cluster_spanner|Collision|Completion_heads|Custos|Default_bar_line|Dot_column|Dots|Drum_notes|Dynamic|Engraver|Extender|Figured_bass|Figured_bass_position|Fingering|Font_size|Forbid_line_break|Fretboard|Glissando|Grace_beam|Grace|Grace_spacing|Grid_line_span|Grid_point|Grob_pq|Hara_kiri|Horizontal_bracket|Hyphen|Instrument_name|Instrument_switch|Key|Laissez_vibrer|Ledger_line|Ligature_bracket|Lyric|Mark|Measure_grouping|Melody|Mensural_ligature|Metronome_mark|Multi_measure_rest|New_fingering|Note_head_line|Note_heads|Note_name|Note_spacing|Ottava_spanner|Output_property|Page_turn|Paper_column|Parenthesis|Part_combine|Percent_repeat|Phrasing_slur|Piano_pedal_align|Piano_pedal|Pitch_squash|Pitched_trill|Repeat_acknowledge|Repeat_tie|Rest_collision|Rest|Rhythmic_column|Script_column|Script|Script_row|Separating_line_group|Slash_repeat|Slur|Spacing|Span_arpeggio|Span_bar|Spanner_break_forbid|Staff_collecting|Staff_symbol|Stanza_number_align|Stanza_number|Stem|String_number|Swallow|System_start_delimiter|Tab_harmonic|Tab_note_heads|Tab_staff_symbol|Text|Text_spanner|Tie|Time_signature|Translator|Trill_spanner|Tuplet|Tweak|Vaticana_ligature|Vertical_align|Vertically_spaced_contexts|Volta"> + <!ENTITY engravers "(&engraver;)_engraver|(&performer;)_performer|(&translator;)_translator"> + <!ENTITY schemename "[a-zA-Z#][^\s(){}[\];$"]*"> + <!ENTITY schemefunc "\b(define|defined\?|define\*(-public)?|define-(\*|builtin-markup-(list-)?command|class|(extra-)?display-method|fonts?|grob-property|ly-syntax(-loc|-simple)?|macro(-public)?|markup-(list-)command|method|module|music-function|post-event-display-method|public(-macro|-toplevel)?|safe-public|span-event-display-method)|defmacro(\*(-public)?)?|lambda\*?|and|or|if|cond|case|let\*?|letrec|begin|do|delay|set!|else|(quasi)?quote|unquote(-splicing)?|(define|let|letrec)-syntax|syntax-rules|not|boolean\?|eq\?|eqv\?|equal\?|pair\?|cons|set-c[ad]r!|c[ad]{1,4}r|null\?|list\?|list|length|append|reverse|list-ref|mem[qv]|member|ass[qv]|assoc|symbol\?|symbol->string|string->symbol|number\?|complex\?|real\?|rational\?|integer\?|exact\?|inexact\?|zero\?|positive\?|negative\?|odd\?|even\?|max|min|abs|quotient|remainder|modulo|gcd|lcm|numerator|denominator|floor|ceiling|truncate|round|rationalize|exp|log|sin|cos|tan|asin|acos|atan|sqrt|expt|make-rectangular|make-polar|real-part|imag-part|magnitude|angle|exact->inexact|inexact->exact|number->string|string->number|char((-ci)?(=\?|<\?|>\?|<=\?|>=\?)|-alphabetic\?|\?|-numeric\?|-whitespace\?|-upper-case\?|-lower-case\?|->integer|-upcase|-downcase|-ready\?)|integer->char|make-string|string(\?|-copy|-fill!|-length|-ref|-set!|(-ci)?(=\?|<\?|>\?|<=\?|>=\?)|-append)|substring|make-vector|vector(\?|-length|-ref|-set!|-fill!)?|procedure\?|apply|map|for-each|force|call-with-(current-continuation|(in|out)put-file)|(in|out)put-port\?|current-(in|out)put-port|open-(in|out)put-file|close-(in|out)put-port|eof-object\?|read|(read|peek)-char|write(-char)?|display|newline|call/cc|list-tail|string->list|list->string|vector->list|list->vector|with-input-from-file|with-output-to-file|load|transcript-(on|off)|eval|dynamic-wind|port\?|values|call-with-values|(scheme-report-|null-|interaction-)environment)(?=($|\s|\)))"> +]> +<language name="LilyPond" section="Other" version="2.20" kateversion="2.4" extensions="*.ly;*.LY;*.ily;*.ILY;*.lyi;*.LYI" mimetype="text/x-lilypond" author="Wilbert Berendsen (info@wilbertberendsen.nl)" license="LGPL"> + + <!-- + + January, 2008 + Fully rewritten by Wilbert Berendsen (info@wilbertberendsen.nl) + + Changes: + + - correctly parse pitches, chords, durations, etc. marking often made mistakes as invalid + - speed up by shortening contexts, e.g. branch out on a \, instead of RegExpr'ing all \commands + - recognize some contexts like \layout, \with, \header to colorcode variables, engravers, etc. only there + - recognize lilypond words like ChoirStaff etc. only in sections and after \set, \override etc. + - highlight some standard Scheme function names + - add \figuremode recognition + - all Scheme stuff has a nice, very light background, to show where Lilypond is in Scheme mode. + - mark some deprecated (pre 2.12) LilyPond commands and properties + + October, 2007 + New version by Wilbert Berendsen (info@wilbertberendsen.nl) + + Changes: + + - better recognition of being inside lyrics, drums, notes, chords and markup sections + - detect block comments %{ %} + - links to ##Alerts in comments (e.g. TODO, FIXME) + - detect lilypond inside scheme #{ #} + - detect \score inside \markup, etc. + - helps with some often made errors like forgetting spaces around lyric extenders and hyphens + - more scheme improvements: strings, numbers, $substitutions, lilypond objects + - highlights many variables, commands, lilypond objects, properties, engravers, etc. + - by using entities for many regexps the main syntax checking parts remain legible, and the file more maintainable. + + I borrowed some colors and the drum names from Andrea Primiani's first version (August, 2004). + + --> + + <highlighting> + <list name="contexts"> + <item> ChoirStaff </item> + <item> ChordNames </item> + <item> CueVoice </item> + <item> Devnull </item> + <item> DrumStaff </item> + <item> DrumVoice </item> + <item> FiguredBass </item> + <item> FretBoards </item> + <item> Global </item> + <item> GrandStaff </item> + <item> GregorianTranscriptionStaff </item> + <item> GregorianTranscriptionVoice </item> + <item> InnerChoirStaff </item> + <item> InnerStaffGroup </item> + <item> Lyrics </item> + <item> MensuralStaff </item> + <item> MensuralVoice </item> + <item> NoteNames </item> + <item> PianoStaff </item> + <item> RhythmicStaff </item> + <item> Score </item> + <item> Staff </item> + <item> StaffGroup </item> + <item> TabStaff </item> + <item> TabVoice </item> + <item> VaticanaStaff </item> + <item> VaticanaVoice </item> + <item> Voice </item> + </list> + <list name="layoutobjects"> + <item> Accidental </item> + <item> AccidentalCautionary </item> + <item> AccidentalPlacement </item> + <item> AccidentalSuggestion </item> + <item> Ambitus </item> + <item> AmbitusAccidental </item> + <item> AmbitusLine </item> + <item> AmbitusNoteHead </item> + <item> Arpeggio </item> + <item> BalloonTextItem </item> + <item> BarLine </item> + <item> BarNumber </item> + <item> BassFigure </item> + <item> BassFigureAlignment </item> + <item> BassFigureAlignmentPositioning </item> + <item> BassFigureBracket </item> + <item> BassFigureContinuation </item> + <item> BassFigureLine </item> + <item> Beam </item> + <item> BendAfter </item> + <item> BreakAlignGroup </item> + <item> BreakAlignment </item> + <item> BreathingSign </item> + <item> ChordName </item> + <item> Clef </item> + <item> ClusterSpanner </item> + <item> ClusterSpannerBeacon </item> + <item> CombineTextScript </item> + <item> Custos </item> + <item> DotColumn </item> + <item> Dots </item> + <item> DoublePercentRepeat </item> + <item> DoublePercentRepeatCounter </item> + <item> DynamicLineSpanner </item> + <item> DynamicText </item> + <item> DynamicTextSpanner </item> + <item> Fingering </item> + <item> FretBoard </item> + <item> Glissando </item> + <item> GraceSpacing </item> + <item> GridLine </item> + <item> GridPoint </item> + <item> Hairpin </item> + <item> HarmonicParenthesesItem </item> + <item> HorizontalBracket </item> + <item> InstrumentName </item> + <item> InstrumentSwitch </item> + <item> KeyCancellation </item> + <item> KeySignature </item> + <item> LaissezVibrerTie </item> + <item> LaissezVibrerTieColumn </item> + <item> LedgerLineSpanner </item> + <item> LeftEdge </item> + <item> LigatureBracket </item> + <item> LyricExtender </item> + <item> LyricHyphen </item> + <item> LyricSpace </item> + <item> LyricText </item> + <item> MeasureGrouping </item> + <item> MelodyItem </item> + <item> MensuralLigature </item> + <item> MetronomeMark </item> + <item> MultiMeasureRest </item> + <item> MultiMeasureRestNumber </item> + <item> MultiMeasureRestText </item> + <item> NonMusicalPaperColumn </item> + <item> NoteCollision </item> + <item> NoteColumn </item> + <item> NoteHead </item> + <item> NoteName </item> + <item> NoteSpacing </item> + <item> OctavateEight </item> + <item> OttavaBracket </item> + <item> PaperColumn </item> + <item> ParenthesesItem </item> + <item> PercentRepeat </item> + <item> PercentRepeatCounter </item> + <item> PhrasingSlur </item> + <item> PianoPedalBracket </item> + <item> RehearsalMark </item> + <item> RepeatSlash </item> + <item> RepeatTie </item> + <item> RepeatTieColumn </item> + <item> Rest </item> + <item> RestCollision </item> + <item> Script </item> + <item> ScriptColumn </item> + <item> ScriptRow </item> + <item> SeparationItem </item> + <item> Slur </item> + <item> SostenutoPedal </item> + <item> SostenutoPedalLineSpanner </item> + <item> SpacingSpanner </item> + <item> SpanBar </item> + <item> StaffSpacing </item> + <item> StaffSymbol </item> + <item> StanzaNumber </item> + <item> Stem </item> + <item> StemTremolo </item> + <item> StringNumber </item> + <item> StrokeFinger </item> + <item> SustainPedal </item> + <item> SustainPedalLineSpanner </item> + <item> System </item> + <item> SystemStartBar </item> + <item> SystemStartBrace </item> + <item> SystemStartBracket </item> + <item> SystemStartSquare </item> + <item> TabNoteHead </item> + <item> TextScript </item> + <item> TextSpanner </item> + <item> Tie </item> + <item> TieColumn </item> + <item> TimeSignature </item> + <item> TrillPitchAccidental </item> + <item> TrillPitchGroup </item> + <item> TrillPitchHead </item> + <item> TrillSpanner </item> + <item> TupletBracket </item> + <item> TupletNumber </item> + <item> UnaCordaPedal </item> + <item> UnaCordaPedalLineSpanner </item> + <item> VaticanaLigature </item> + <item> VerticalAlignment </item> + <item> VerticalAxisGroup </item> + <item> VoiceFollower </item> + <item> VoltaBracket </item> + <item> VoltaBracketSpanner </item> + </list> + <list name="properties"> + <item> aDueText </item> + <item> alignAboveContext </item> + <item> alignBassFigureAccidentals </item> + <item> alignBelowContext </item> + <item> allowBeamBreak </item> + <item> associatedVoice </item> + <item> autoAccidentals </item> + <item> autoBeamCheck </item> + <item> autoBeamSettings </item> + <item> autoBeaming </item> + <item> autoCautionaries </item> + <item> automaticBars </item> + <item> barAlways </item> + <item> barCheckSynchronize </item> + <item> barNumberVisibility </item> + <item> bassFigureFormatFunction </item> + <item> bassStaffProperties </item> + <item> beatGrouping </item> + <item> beatLength </item> + <item> chordChanges </item> + <item> chordNameExceptions </item> + <item> chordNameExceptionsFull </item> + <item> chordNameExceptionsPartial </item> + <item> chordNameFunction </item> + <item> chordNameSeparator </item> + <item> chordNoteNamer </item> + <item> chordPrefixSpacer </item> + <item> chordRootNamer </item> + <item> clefGlyph </item> + <item> clefOctavation </item> + <item> clefPosition </item> + <item> connectArpeggios </item> + <item> countPercentRepeats </item> + <item> createKeyOnClefChange </item> + <item> createSpacing </item> + <item> crescendoSpanner </item> + <item> crescendoText </item> + <item> currentBarNumber </item> + <item> decrescendoSpanner </item> + <item> decrescendoText </item> + <item> defaultBarType </item> + <item> doubleSlurs </item> + <item> drumPitchTable </item> + <item> drumStyleTable </item> + <item> dynamicAbsoluteVolumeFunction </item> + <item> explicitClefVisibility </item> + <item> explicitKeySignatureVisibility </item> + <item> extendersOverRests </item> + <item> extraNatural </item> + <item> figuredBassAlterationDirection </item> + <item> figuredBassCenterContinuations </item> + <item> figuredBassFormatter </item> + <item> figuredBassPlusDirection </item> + <item> fingeringOrientations </item> + <item> firstClef </item> + <item> followVoice </item> + <item> fontSize </item> + <item> forbidBreak </item> + <item> forceClef </item> + <item> gridInterval </item> + <item> hairpinToBarline </item> + <item> harmonicAccidentals </item> + <item> highStringOne </item> + <item> ignoreBarChecks </item> + <item> ignoreFiguredBassRest </item> + <item> ignoreMelismata </item> + <item> implicitBassFigures </item> + <item> implicitTimeSignatureVisibility </item> + <item> instrumentCueName </item> + <item> instrumentEqualizer </item> + <item> instrumentName </item> + <item> instrumentTransposition </item> + <item> internalBarNumber </item> + <item> keepAliveInterfaces </item> + <item> keyAlterationOrder </item> + <item> keySignature </item> + <item> lyricMelismaAlignment </item> + <item> majorSevenSymbol </item> + <item> markFormatter </item> + <item> maximumFretStretch </item> + <item> measureLength </item> + <item> measurePosition </item> + <item> melismaBusyProperties </item> + <item> metronomeMarkFormatter </item> + <item> middleCClefPosition </item> + <item> middleCOffset </item> + <item> middleCPosition </item> + <item> midiInstrument </item> + <item> midiMaximumVolume </item> + <item> midiMinimumVolume </item> + <item> minimumFret </item> + <item> minimumPageTurnLength </item> + <item> minimumRepeatLengthForPageTurn </item> + <item> noteToFretFunction </item> + <item> ottavation </item> + <item> output </item> + <item> pedalSostenutoStrings </item> + <item> pedalSostenutoStyle </item> + <item> pedalSustainStrings </item> + <item> pedalSustainStyle </item> + <item> pedalUnaCordaStrings </item> + <item> pedalUnaCordaStyle </item> + <item> printKeyCancellation </item> + <item> printOctaveNames </item> + <item> printPartCombineTexts </item> + <item> proportionalNotationDuration </item> + <item> recordEventSequence </item> + <item> rehearsalMark </item> + <item> repeatCommands </item> + <item> restNumberThreshold </item> + <item> scriptDefinitions </item> + <item> shapeNoteStyles </item> + <item> shortInstrumentName </item> + <item> shortVocalName </item> + <item> skipBars </item> + <item> skipTypesetting </item> + <item> soloIIText </item> + <item> soloText </item> + <item> squashedPosition </item> + <item> staffLineLayoutFunction </item> + <item> stanza </item> + <item> stemLeftBeamCount </item> + <item> stemRightBeamCount </item> + <item> stringNumberOrientations </item> + <item> stringOneTopmost </item> + <item> stringTunings </item> + <item> strokeFingerOrientations </item> + <item> subdivideBeams </item> + <item> suggestAccidentals </item> + <item> systemStartDelimiter </item> + <item> systemStartDelimiterHierarchy </item> + <item> tablatureFormat </item> + <item> tempoUnitCount </item> + <item> tempoUnitDuration </item> + <item> tempoWholesPerMinute </item> + <item> tieWaitForNote </item> + <item> timeSignatureFraction </item> + <item> timing </item> + <item> tonic </item> + <item> trebleStaffProperties </item> + <item> tremoloFlags </item> + <item> tupletFullLength </item> + <item> tupletFullLengthNote </item> + <item> tupletSpannerDuration </item> + <item> useBassFigureExtenders </item> + <item> verticallySpacedContexts </item> + <item> vocalName </item> + <item> voltaOnThisStaff </item> + <item> voltaSpannerDuration </item> + <item> whichBar </item> + </list> + <list name="deprecatedproperties"> + <item> barNumberAlignSymbol </item> + <item> centralCPosition </item> + <item> extraVerticalExtent </item> + <item> fingerHorizontalDirection </item> + <item> instr </item> + <item> instrument </item> + <item> keyAccidentalOrder </item> + <item> minimumVerticalExtent </item> + <item> rehearsalMarkAlignSymbol </item> + <item> soloADue </item> + <item> tupletNumberFormatFunction </item> + <item> vocNam </item> + </list> + <list name="musicexpressions"> + <item> AbsoluteDynamicEvent </item> + <item> AnnotateOutputEvent </item> + <item> ApplyContext </item> + <item> ApplyOutputEvent </item> + <item> ArpeggioEvent </item> + <item> ArticulationEvent </item> + <item> AutoChangeMusic </item> + <item> BarCheck </item> + <item> BassFigureEvent </item> + <item> BeamEvent </item> + <item> BeamForbidEvent </item> + <item> BendAfterEvent </item> + <item> BreathingEvent </item> + <item> ClusterNoteEvent </item> + <item> ContextChange </item> + <item> ContextSpeccedMusic </item> + <item> CrescendoEvent </item> + <item> DecrescendoEvent </item> + <item> Event </item> + <item> EventChord </item> + <item> ExtenderEvent </item> + <item> FingeringEvent </item> + <item> GlissandoEvent </item> + <item> GraceMusic </item> + <item> HarmonicEvent </item> + <item> HyphenEvent </item> + <item> KeyChangeEvent </item> + <item> LabelEvent </item> + <item> LaissezVibrerEvent </item> + <item> LigatureEvent </item> + <item> LineBreakEvent </item> + <item> LyricCombineMusic </item> + <item> LyricEvent </item> + <item> MarkEvent </item> + <item> MultiMeasureRestEvent </item> + <item> MultiMeasureRestMusic </item> + <item> MultiMeasureTextEvent </item> + <item> Music </item> + <item> NoteEvent </item> + <item> NoteGroupingEvent </item> + <item> OverrideProperty </item> + <item> PageBreakEvent </item> + <item> PageTurnEvent </item> + <item> PartCombineMusic </item> + <item> PercentEvent </item> + <item> PercentRepeatedMusic </item> + <item> PesOrFlexaEvent </item> + <item> PhrasingSlurEvent </item> + <item> PropertySet </item> + <item> PropertyUnset </item> + <item> QuoteMusic </item> + <item> RelativeOctaveCheck </item> + <item> RelativeOctaveMusic </item> + <item> RepeatTieEvent </item> + <item> RepeatedMusic </item> + <item> RestEvent </item> + <item> RevertProperty </item> + <item> ScriptEvent </item> + <item> SequentialMusic </item> + <item> SimultaneousMusic </item> + <item> SkipEvent </item> + <item> SkipMusic </item> + <item> SlurEvent </item> + <item> SoloOneEvent </item> + <item> SoloTwoEvent </item> + <item> SostenutoEvent </item> + <item> SpacingSectionEvent </item> + <item> SpanEvent </item> + <item> StaffSpanEvent </item> + <item> StringNumberEvent </item> + <item> StrokeFingerEvent </item> + <item> SustainEvent </item> + <item> TextScriptEvent </item> + <item> TextSpanEvent </item> + <item> TieEvent </item> + <item> TimeScaledMusic </item> + <item> TransposedMusic </item> + <item> TremoloEvent </item> + <item> TremoloRepeatedMusic </item> + <item> TremoloSpanEvent </item> + <item> TrillSpanEvent </item> + <item> TupletSpanEvent </item> + <item> UnaCordaEvent </item> + <item> UnfoldedRepeatedMusic </item> + <item> UnisonoEvent </item> + <item> UnrelativableMusic </item> + <item> VoiceSeparator </item> + <item> VoltaRepeatedMusic </item> + </list> + <list name="drumpitchnames"> + <item> acousticbassdrum </item> + <item> acousticsnare </item> + <item> agh </item> + <item> agl </item> + <item> bassdrum </item> + <item> bd </item> + <item> bda </item> + <item> boh </item> + <item> bohm </item> + <item> boho </item> + <item> bol </item> + <item> bolm </item> + <item> bolo </item> + <item> cab </item> + <item> cabasa </item> + <item> cb </item> + <item> cgh </item> + <item> cghm </item> + <item> cgho </item> + <item> cgl </item> + <item> cglm </item> + <item> cglo </item> + <item> chinesecymbal </item> + <item> cl </item> + <item> claves </item> + <item> closedhihat </item> + <item> cowbell </item> + <item> crashcymbal </item> + <item> crashcymbala </item> + <item> crashcymbalb </item> + <item> cuim </item> + <item> cuio </item> + <item> cymc </item> + <item> cymca </item> + <item> cymcb </item> + <item> cymch </item> + <item> cymr </item> + <item> cymra </item> + <item> cymrb </item> + <item> cyms </item> + <item> da </item> + <item> db </item> + <item> dc </item> + <item> dd </item> + <item> de </item> + <item> electricsnare </item> + <item> fivedown </item> + <item> fiveup </item> + <item> fourdown </item> + <item> fourup </item> + <item> gui </item> + <item> guil </item> + <item> guiro </item> + <item> guis </item> + <item> halfopenhihat </item> + <item> handclap </item> + <item> hc </item> + <item> hh </item> + <item> hhc </item> + <item> hhho </item> + <item> hho </item> + <item> hhp </item> + <item> hiagogo </item> + <item> hibongo </item> + <item> hiconga </item> + <item> highfloortom </item> + <item> hightom </item> + <item> hihat </item> + <item> himidtom </item> + <item> hisidestick </item> + <item> hitimbale </item> + <item> hiwoodblock </item> + <item> loagogo </item> + <item> lobongo </item> + <item> loconga </item> + <item> longguiro </item> + <item> longwhistle </item> + <item> losidestick </item> + <item> lotimbale </item> + <item> lowfloortom </item> + <item> lowmidtom </item> + <item> lowoodblock </item> + <item> lowtom </item> + <item> mar </item> + <item> maracas </item> + <item> mutecuica </item> + <item> mutehibongo </item> + <item> mutehiconga </item> + <item> mutelobongo </item> + <item> muteloconga </item> + <item> mutetriangle </item> + <item> onedown </item> + <item> oneup </item> + <item> opencuica </item> + <item> openhibongo </item> + <item> openhiconga </item> + <item> openhihat </item> + <item> openlobongo </item> + <item> openloconga </item> + <item> opentriangle </item> + <item> pedalhihat </item> + <item> rb </item> + <item> ridebell </item> + <item> ridecymbal </item> + <item> ridecymbala </item> + <item> ridecymbalb </item> + <item> shortguiro </item> + <item> shortwhistle </item> + <item> sidestick </item> + <item> sn </item> + <item> sna </item> + <item> snare </item> + <item> sne </item> + <item> splashcymbal </item> + <item> ss </item> + <item> ssh </item> + <item> ssl </item> + <item> tamb </item> + <item> tambourine </item> + <item> tamtam </item> + <item> threedown </item> + <item> threeup </item> + <item> timh </item> + <item> timl </item> + <item> tomfh </item> + <item> tomfl </item> + <item> tomh </item> + <item> toml </item> + <item> tommh </item> + <item> tomml </item> + <item> tri </item> + <item> triangle </item> + <item> trim </item> + <item> trio </item> + <item> tt </item> + <item> twodown </item> + <item> twoup </item> + <item> ua </item> + <item> ub </item> + <item> uc </item> + <item> ud </item> + <item> ue </item> + <item> vibraslap </item> + <item> vibs </item> + <item> wbh </item> + <item> wbl </item> + <item> whl </item> + <item> whs </item> + </list> + <contexts> + <!-- Entry point --> + <context name="lilypond" attribute="Normal Text" lineEndContext="#stay"> + <IncludeRules context="music"/> + <RegExpr String="\b[a-z]+\s*=" insensitive="true" lookAhead="true" context="assignment"/> + </context> + + <!-- Music expressions --> + <context name="music" attribute="Normal Text" lineEndContext="#stay"> + <AnyChar String="()~" attribute="Slur"/> + <AnyChar String="[]" attribute="Beam"/> + <AnyChar String="-_^" context="connect"/> + <DetectChar char="\" context="musiccommand" lookAhead="true"/> + <IncludeRules context="default"/> + <DetectChar char="<" attribute="Chord" context="chord"/> + <DetectChar char=">" attribute="Invalid"/><!-- chord terminator outsite chord --> + <RegExpr String="[a-z]+\d+\.*[,']+" attribute="Invalid"/><!-- pitch-dur-octave i.s.o. pitch-oct-dur --> + <RegExpr String="(&rest;|&pitch;)" context="pitch"/> + <RegExpr String=":\d*" attribute="Tremolo"/> + </context> + + <!-- Default Lilypond code to be recognized e.g. also inside lyrics --> + <context name="default" attribute="Normal Text" lineEndContext="#stay"> + <Detect2Chars char="<" char1="<" attribute="Keyword" beginRegion="simultaneous"/> + <Detect2Chars char=">" char1=">" attribute="Keyword" endRegion="simultaneous"/> + <DetectChar char="{" attribute="Keyword" beginRegion="sequential"/> + <DetectChar char="}" attribute="Keyword" endRegion="sequential"/> + <DetectChar char="|" attribute="Check"/> + <DetectChar char="\" context="command" lookAhead="true"/> + <IncludeRules context="basic"/> + </context> + + <!-- Basic Lilypond syntax that also works inside markup --> + <context name="basic" attribute="Normal Text" lineEndContext="#stay"> + <Detect2Chars char="%" char1="{" context="commentblock" beginRegion="comment"/> + <DetectChar char="%" context="commentline"/> + <DetectChar char=""" context="string"/> + <DetectChar char="#" context="scheme"/> + <DetectChar char="$" context="schemesub"/> + </context> + + <context name="musiccommand" attribute="Normal Text" lineEndContext="#pop" + fallthrough="true" fallthroughContext="#pop"> + <RegExpr String="\\(&dynamics;)&b;" attribute="Dynamic"/> + <RegExpr String="\\[<!>]" attribute="Dynamic"/> + <RegExpr String="\\(&scripts;)&b;" attribute="Articulation"/> + <RegExpr String="\\[()]" attribute="Slur"/> + <RegExpr String="\\[][]" attribute="Beam"/> + <IncludeRules context="command"/> + </context> + + <context name="command" attribute="Normal Text" lineEndContext="#pop" + fallthrough="true" fallthroughContext="#pop"> + <Detect2Chars char="\" char1="\" attribute="Keyword"/> + <RegExpr String="\\note(mode|s)&b;" context="notemode"/> + <RegExpr String="\\drum(mode|s)&b;" context="drummode"/> + <RegExpr String="\\chord(mode|s)&b;" context="chordmode"/> + <RegExpr String="\\figure(mode|s)&b;" context="figuremode"/> + <RegExpr String="\\(lyric(mode|s)|addlyrics)&b;" context="lyricmode"/> + <RegExpr String="\\lyricsto&b;" context="lyricsto"/> + <RegExpr String="\\markup(lines)?&b;" attribute="Markup" context="markup"/> + <RegExpr String="\\(header|paper|layout|midi|with)\b" context="section"/> + <RegExpr String="\\(new|context|change)\b" attribute="Keyword" context="context"/> + <RegExpr String="\\(un)?set\b" attribute="Keyword" context="set"/> + <RegExpr String="\\(override(Property)?|revert)&b;" attribute="Keyword" context="override"/> + <RegExpr String="\\skip&b;" attribute="Command" context="duration"/> + <RegExpr String="\\(&keywords;)&b;" attribute="Keyword"/> + <RegExpr String="\\(&commands;)&b;" attribute="Command"/> + <RegExpr String="\\(&toplevelvars;)&b;" attribute="Variable"/> + <RegExpr String="\\(&deprecatedkeywords;)&b;" attribute="Deprecated Keyword"/> + <RegExpr String="\\(&deprecatedcommands;)&b;" attribute="Deprecated Command"/> + <RegExpr String="\\(translator|newcontext)\b" attribute="Deprecated Keyword" context="context"/> + <RegExpr String="\\property&b;" attribute="Deprecated Keyword" context="override"/> + <RegExpr String="\\[A-Za-z]+" attribute="User Command"/> + <DetectChar char="\" attribute="Invalid"/> + </context> + + <context name="assignment" attribute="Normal Text" lineEndContext="#pop"> + <RegExpr String="\b(&toplevelvars;)\b" attribute="Variable" context="#pop"/> + <RegExpr String="[a-z]+" insensitive="true" attribute="User Command" context="#pop"/> + </context> + + <context name="pitch" attribute="Pitch" lineEndContext="#stay" + fallthrough="true" fallthroughContext="#pop"> + <RegExpr String="=\s*('+|,+)?" attribute="Check"/> + <IncludeRules context="duration"/> + </context> + + <context name="duration" attribute="Normal Text" lineEndContext="#stay" + fallthrough="true" fallthroughContext="#pop"> + <DetectSpaces attribute="Normal Text"/> + <RegExpr String="&duration;" attribute="Duration" context="#pop"/> + <RegExpr String="\d+" attribute="Invalid" context="#pop"/><!-- uncaught (wrong) durations --> + </context> + + <context name="chord" attribute="Normal Text" lineEndContext="#stay"> + <DetectChar char=">" context="chordend"/> + <RegExpr String="&pitch;" context="chordpitch"/> + <AnyChar String="<{}srR" attribute="Invalid"/><!-- no rests in chord allowed --> + <IncludeRules context="music"/> + </context> + + <context name="chordpitch" attribute="Pitch" lineEndContext="#stay" + fallthrough="true" fallthroughContext="#pop"> + <DetectSpaces attribute="Normal Text"/> + <RegExpr String="=\s*('+|,+)?" attribute="Check"/> + <RegExpr String="&duration;" attribute="Invalid" context="#pop"/><!-- no duration in chord allowed --> + <RegExpr String="\d+" attribute="Invalid" context="#pop"/><!-- catch other (wrong) durations as well --> + </context> + + <context name="chordend" attribute="Chord" lineEndContext="#stay" + fallthrough="true" fallthroughContext="#pop#pop"> + <DetectSpaces attribute="Normal Text"/> + <RegExpr String="&duration;" attribute="Duration" context="#pop#pop"/> + </context> + + <context name="commentline" attribute="Comment" lineEndContext="#pop"> + <IncludeRules context="##Alerts"/> + </context> + + <context name="commentblock" attribute="Comment" lineEndContext="#stay"> + <Detect2Chars char="%" char1="}" attribute="Comment" context="#pop" endRegion="comment"/> + <IncludeRules context="##Alerts"/> + </context> + + <context name="string" attribute="Quoted Text" lineEndContext="#stay"> + <DetectChar char=""" attribute="Quoted Text" context="#pop"/> + <Detect2Chars char="\" char1="\"/> + <Detect2Chars char="\" char1="""/> + </context> + + <context name="connect" attribute="Articulation" lineEndContext="#stay" + fallthrough="true" fallthroughContext="#pop"> + <AnyChar String=".-+|>^_12345" attribute="Articulation" context="#pop"/> + </context> + + <!-- Scheme --> + <context name="scheme" attribute="Scheme" lineEndContext="#stay" + fallthrough="true" fallthroughContext="scheme2"> + <DetectSpaces/> + </context> + + <context name="scheme2" attribute="Scheme" lineEndContext="#pop#pop"> + <DetectChar char="(" attribute="Scheme Keyword" context="scheme3" beginRegion="scheme"/> + <IncludeRules context="schemerules"/> + <DetectSpaces lookAhead="true" context="#pop#pop"/> + </context> + + <context name="scheme3" attribute="Scheme" lineEndContext="#stay"> + <DetectChar char=")" attribute="Scheme Keyword" context="#pop#pop#pop" endRegion="scheme"/> + <IncludeRules context="schemerules"/> + </context> + + <context name="schemerules" attribute="Scheme" lineEndContext="#stay"> + <DetectChar char="(" context="schemerules" beginRegion="scheme"/> + <DetectChar char=")" context="#pop" endRegion="scheme"/> + <DetectChar char=""" context="schemestring"/> + <DetectChar char=";" context="schemecommentline"/> + <DetectChar char="$" context="schemesub"/> + <DetectChar char="'" context="schemequote"/> + <Detect2Chars char="#" char1="!" context="schemecommentblock" beginRegion="schemecomment"/> + <Detect2Chars char="#" char1="{" attribute="Scheme Keyword" context="schemelily" beginRegion="schemelily"/> + <keyword String="musicexpressions" attribute="Scheme Keyword"/> + <keyword String="contexts" attribute="Scheme Keyword"/> + <keyword String="layoutobjects" attribute="Scheme Keyword"/> + <RegExpr String="[-+]?(\d+(\.\d+)?|\.\d+)" attribute="Scheme Value"/> + <RegExpr String="#(t|f|b[-+]?[01.]+|o[-+]?[0-7.]+|d[-+]?[0-9.]+|x[-+]?[0-9a-f.]+)" + insensitive="true" attribute="Scheme Value"/> + <RegExpr String="[+-](inf|nan)\.0" attribute="Scheme Value"/> + <RegExpr String="&schemefunc;" attribute="Scheme Keyword"/> + <RegExpr String="&schemename;"/> + </context> + + <context name="schemequote" attribute="Scheme" lineEndContext="#pop" + fallthrough="true" fallthroughContext="#pop"> + <RegExpr String="&schemefunc;"/> + </context> + + <context name="schemelily" attribute="Normal Text" lineEndContext="#stay"> + <Detect2Chars char="#" char1="}" attribute="Scheme Keyword" context="#pop" endRegion="schemelily"/> + <IncludeRules context="lilypond"/> + </context> + + <context name="schemecommentline" attribute="Scheme Comment" lineEndContext="#pop"> + <IncludeRules context="##Alerts"/> + </context> + + <context name="schemecommentblock" attribute="Scheme Comment" lineEndContext="#stay"> + <Detect2Chars char="!" char1="#" attribute="Scheme Comment" context="#pop" endRegion="schemecomment"/> + <IncludeRules context="##Alerts"/> + </context> + + <context name="schemesub" attribute="Scheme Subst" lineEndContext="#pop" + fallthrough="true" fallthroughContext="#pop"> + <RegExpr String="&schemename;" attribute="Scheme Subst" context="#pop"/> + </context> + + <context name="schemestring" attribute="Scheme String" lineEndContext="#stay"> + <DetectChar char=""" attribute="Scheme String" context="#pop"/> + <RegExpr String="\\[0fnrtav\\"]"/> + </context> + + <!-- NoteMode --> + <context name="notemode" attribute="Other Mode" lineEndContext="#stay" + fallthrough="true" fallthroughContext="#pop"> + <DetectChar char="{" attribute="Keyword" context="notemode2" beginRegion="sequential"/> + <DetectSpaces/> + </context> + + <context name="notemode2" attribute="Normal Text" lineEndContext="#stay"> + <DetectChar char="}" attribute="Keyword" context="#pop#pop" endRegion="sequential"/> + <IncludeRules context="noterules"/> + </context> + + <context name="noterules" attribute="Normal Text" lineEndContext="#stay"> + <DetectChar char="{" attribute="Keyword" context="noterules" beginRegion="sequential"/> + <DetectChar char="}" attribute="Keyword" context="#pop" endRegion="sequential"/> + <IncludeRules context="music"/> + </context> + + <!-- Drummode --> + <context name="drummode" attribute="Other Mode" lineEndContext="#stay" + fallthrough="true" fallthroughContext="#pop"> + <DetectChar char="{" attribute="Keyword" context="drummode2" beginRegion="sequential"/> + <DetectSpaces/> + </context> + + <context name="drummode2" attribute="Normal Text" lineEndContext="#stay"> + <DetectChar char="}" attribute="Keyword" context="#pop#pop" endRegion="sequential"/> + <IncludeRules context="drumrules"/> + </context> + + <context name="drumrules" attribute="Normal Text" lineEndContext="#stay"> + <DetectChar char="{" attribute="Keyword" context="drumrules" beginRegion="sequential"/> + <DetectChar char="}" attribute="Keyword" context="#pop" endRegion="sequential"/> + <keyword attribute="Other Text" String="drumpitchnames" context="duration"/> + <IncludeRules context="music"/> + </context> + + <!-- Chordmode --> + <context name="chordmode" attribute="Other Mode" lineEndContext="#stay" + fallthrough="true" fallthroughContext="#pop"> + <DetectChar char="{" attribute="Keyword" context="chordmode2" beginRegion="sequential"/> + <DetectSpaces/> + </context> + + <context name="chordmode2" attribute="Normal Text" lineEndContext="#stay"> + <DetectChar char="}" attribute="Keyword" context="#pop#pop" endRegion="sequential"/> + <IncludeRules context="chordrules"/> + </context> + + <context name="chordrules" attribute="Normal Text" lineEndContext="#stay"> + <DetectChar char="{" attribute="Keyword" context="chordrules" beginRegion="sequential"/> + <DetectChar char="}" attribute="Keyword" context="#pop" endRegion="sequential"/> + <RegExpr attribute="Other Text" String=":?([\.^]?\d+[-+]?|(m|dim|aug|maj|sus)&b;)*(/\+?&pitch;)?"/> + <IncludeRules context="music"/> + </context> + + <!-- Figuremode --> + <context name="figuremode" attribute="Other Mode" lineEndContext="#stay" + fallthrough="true" fallthroughContext="#pop"> + <DetectChar char="{" attribute="Keyword" context="figuremode2" beginRegion="sequential"/> + <DetectSpaces/> + </context> + + <context name="figuremode2" attribute="Normal Text" lineEndContext="#stay"> + <DetectChar char="}" attribute="Keyword" context="#pop#pop" endRegion="sequential"/> + <IncludeRules context="figurerules"/> + </context> + + <context name="figurerules" attribute="Normal Text" lineEndContext="#stay"> + <DetectChar char="{" attribute="Keyword" context="figurerules" beginRegion="sequential"/> + <DetectChar char="}" attribute="Keyword" context="#pop" endRegion="sequential"/> + <DetectChar char="<" attribute="Chord" context="figure"/> + <RegExpr String="&rest;" attribute="Pitch" context="duration"/> + <IncludeRules context="default"/> + </context> + + <context name="figure" attribute="Normal Text" lineEndContext="#stay"> + <DetectChar char=">" attribute="Chord" context="chordend"/> + <IncludeRules context="basic"/> + <RegExpr String="\\markup(lines)?&b;" attribute="Markup" context="markup"/> + <RegExpr String="\\skip&b;" attribute="Command" context="duration"/> + </context> + + <!-- Lyrics --> + <context name="lyricmode" attribute="Lyricmode" lineEndContext="#stay" + fallthrough="true" fallthroughContext="#pop"> + <DetectChar char="{" attribute="Keyword" context="lyricmode2" beginRegion="sequential"/> + <DetectSpaces/> + </context> + + <context name="lyricmode2" attribute="Lyric Text" lineEndContext="#stay"> + <DetectChar char="}" attribute="Keyword" context="#pop#pop" endRegion="sequential"/> + <IncludeRules context="lyricrules"/> + </context> + + <!-- LyricsTo has extra parameter --> + <context name="lyricsto" attribute="Lyricmode" lineEndContext="#stay" + fallthrough="true" fallthroughContext="#pop"> + <RegExpr String=""(\\["\\]|[^"\\])+"" attribute="Quoted Text" context="lyricsto2"/> + <RegExpr String="[A-Za-z]+" attribute="Normal Text" context="lyricsto2"/> + <DetectSpaces/> + </context> + + <context name="lyricsto2" attribute="Normal Text" lineEndContext="#stay" + fallthrough="true" fallthroughContext="#pop#pop"> + <DetectChar char="{" attribute="Keyword" context="lyricsto3" beginRegion="sequential"/> + <DetectSpaces/> + </context> + + <context name="lyricsto3" attribute="Lyric Text" lineEndContext="#stay"> + <DetectChar char="}" attribute="Keyword" context="#pop#pop#pop" endRegion="sequential"/> + <IncludeRules context="lyricrules"/> + </context> + + <context name="lyricrules" attribute="Lyric Text" lineEndContext="#stay"> + <DetectChar char="{" attribute="Keyword" context="lyricrules" beginRegion="sequential"/> + <DetectChar char="}" attribute="Keyword" context="#pop" endRegion="sequential"/> + <RegExpr String="(\w+-{2,}|\w+_{2,}|-{2,}\w+|_{2,}\w+)" attribute="Invalid"/><!-- two hyphens or underscores run together with a word --> + <RegExpr String="&duration;" attribute="Duration"/> + <RegExpr String="(--|__|_)" attribute="Lyricmode"/> + <IncludeRules context="default"/> + <RegExpr String="\S+\}" attribute="Invalid" context="#pop" endRegion="sequential"/> + </context> + + <!-- Markup --> + <context name="markup" attribute="Normal Text" lineEndContext="#stay" + fallthrough="true" fallthroughContext="#pop"> + <DetectChar char="{" attribute="Keyword" context="markup2" beginRegion="markup"/> + <DetectSpaces/> + <RegExpr String="\\score\b" attribute="Markup" context="notemode"/> + <RegExpr String="\\(&markupwithtextargs;)&b;" attribute="Markup"/> + <RegExpr String="\\(&markupnotextargs;)&b;" attribute="Markup" context="#pop"/> + <DetectChar char="#" context="scheme"/> + <RegExpr String="[^"\s\\#%{}$]+" attribute="Normal Text" context="#pop"/> + </context> + + <context name="markup2" attribute="Normal Text" lineEndContext="#stay"> + <DetectChar char="}" attribute="Keyword" context="#pop#pop" endRegion="markup"/> + <IncludeRules context="markuprules"/> + </context> + + <context name="markuprules" attribute="Normal Text" lineEndContext="#stay"> + <DetectChar char="}" attribute="Keyword" context="#pop" endRegion="markup"/> + <DetectChar char="{" attribute="Keyword" context="markuprules" beginRegion="markup"/> + <RegExpr String="\\score\b" attribute="Markup" context="notemode"/> + <RegExpr String="\\(&markupnotextargs;|&markupwithtextargs;)&b;" attribute="Markup"/> + <RegExpr String="\\(&deprecatedmarkup;)&b;" attribute="Deprecated Markup"/> + <RegExpr String="\\[A-Za-z]+(-[A-Za-z]+)*" attribute="User Command"/> + <IncludeRules context="basic"/> + </context> + + <!-- \paper, \layout, \midi, \header, \with --> + <context name="section" attribute="Keyword" lineEndContext="#stay" + fallthrough="true" fallthroughContext="#pop"> + <DetectChar char="{" attribute="Keyword" context="section2" beginRegion="section"/> + <DetectSpaces/> + </context> + + <context name="section2" attribute="Normal Text" lineEndContext="#stay"> + <DetectChar char="}" attribute="Keyword" context="#pop#pop" endRegion="section"/> + <IncludeRules context="sectionrules"/> + </context> + + <context name="sectionrules" attribute="Normal Text" lineEndContext="#stay"> + <DetectChar char="}" attribute="Keyword" context="#pop" endRegion="section"/> + <DetectChar char="{" attribute="Keyword" context="sectionrules" beginRegion="section"/> + <keyword String="contexts" attribute="Context"/> + <keyword String="layoutobjects" attribute="Layout Object"/> + <keyword String="properties" attribute="Property"/> + <keyword String="deprecatedproperties" attribute="Deprecated Property"/> + <RegExpr String="\b(&headervars;|&papervars;|&layoutvars;)\b" attribute="Variable"/> + <RegExpr String="("?)\b(&engravers;)\b\1" attribute="Engraver"/> + <IncludeRules context="default"/> + </context> + + <!-- \new, \context, \change --> + <context name="context" attribute="Normal Text" lineEndContext="#stay" + fallthrough="true" fallthroughContext="#pop"> + <DetectSpaces/> + <keyword String="contexts" attribute="Context" context="context2"/> + <RegExpr String="[A-Za-z]+" attribute="User Command" context="context2"/> + <DetectChar char="{" attribute="Keyword" context="section2" beginRegion="section"/> + </context> + + <context name="context2" attribute="Normal Text" lineEndContext="#stay" + fallthrough="true" fallthroughContext="#pop#pop"> + <DetectSpaces/> + <RegExpr String="=(\s*[A-Za-z]+)?" attribute="Normal Text" context="#pop#pop"/> + </context> + + <!-- \set, \unset --> + <context name="set" attribute="Normal Text" lineEndContext="#stay" + fallthrough="true" fallthroughContext="#pop"> + <DetectSpaces/> + <keyword String="contexts" attribute="Context"/> + <DetectChar char="."/> + <keyword String="properties" attribute="Property" context="#pop"/> + <keyword String="deprecatedproperties" attribute="Deprecated Property" context="#pop"/> + <RegExpr String="[A-Za-z]+" attribute="User Command" context="#pop"/> + </context> + + <!-- \override, \overrideProperty, \revert --> + <context name="override" attribute="Normal Text" lineEndContext="#stay" + fallthrough="true" fallthroughContext="#pop"> + <DetectSpaces/> + <keyword String="contexts" attribute="Context"/> + <DetectChar char="."/> + <keyword String="layoutobjects" attribute="Layout Object" context="#pop"/> + <RegExpr String="[A-Za-z]+(?=\s*\.)" attribute="User Command"/> + <RegExpr String="[A-Za-z]+" attribute="User Command" context="#pop"/> + </context> + </contexts> + <itemDatas> + <itemData name="Pitch" defStyleNum="dsNormal"/> + <itemData name="Duration" defStyleNum="dsDataType"/> + <itemData name="Slur" defStyleNum="dsChar" bold="true"/> + <itemData name="Dynamic" defStyleNum="dsString" color="#ee5000" bold="true"/> + <itemData name="Articulation" defStyleNum="dsString" color="#ee5000" bold="true"/> + <itemData name="Chord" defStyleNum="dsDataType" bold="true"/> + <itemData name="Beam" defStyleNum="dsDataType" bold="true"/> + <itemData name="Check" defStyleNum="dsDecVal"/> + <itemData name="Repeat" defStyleNum="dsDataType" italic="true"/> + <itemData name="Keyword" defStyleNum="dsKeyword"/> + <itemData name="Command" defStyleNum="dsFunction" bold="true"/> + <itemData name="User Command" defStyleNum="dsFunction"/> + <itemData name="Context" defStyleNum="dsDataType" bold="true"/> + <itemData name="Layout Object" defStyleNum="dsDataType"/> + <itemData name="Property" defStyleNum="dsDataType"/> + <itemData name="Variable" defStyleNum="dsDataType"/> + <itemData name="Engraver" defStyleNum="dsDataType"/> + <itemData name="Markup" defStyleNum="dsBaseN" color="#009817"/> + <itemData name="Lyricmode" defStyleNum="dsKeyword" color="#007010"/> + <itemData name="Lyric Text" defStyleNum="dsNormal" color="#007010"/> + <itemData name="Other Mode" defStyleNum="dsKeyword" color="#0094e4"/> + <itemData name="Other Text" defStyleNum="dsNormal" color="#0094e4"/> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Quoted Text" defStyleNum="dsString"/> + <itemData name="Comment" defStyleNum="dsComment"/> + <itemData name="Scheme" defStyleNum="dsFloat" backgroundColor="#fff6ff"/> + <itemData name="Scheme Keyword" defStyleNum="dsFloat" bold="true" backgroundColor="#fff6ff"/> + <itemData name="Scheme Subst" defStyleNum="dsDecVal" bold="true" backgroundColor="#fff6ff"/> + <itemData name="Scheme Value" defStyleNum="dsDecVal" backgroundColor="#fff6ff"/> + <itemData name="Scheme String" defStyleNum="dsString" backgroundColor="#fff6ff"/> + <itemData name="Scheme Comment" defStyleNum="dsComment" backgroundColor="#fff6ff"/> + <itemData name="Deprecated Keyword" defStyleNum="dsKeyword" backgroundColor="#fcc"/> + <itemData name="Deprecated Command" defStyleNum="dsFunction" backgroundColor="#fcc"/> + <itemData name="Deprecated Property" defStyleNum="dsDataType" backgroundColor="#fcc"/> + <itemData name="Deprecated Markup" defStyleNum="dsBaseN" color="#009817" backgroundColor="#fcc"/> + <itemData name="Invalid" defStyleNum="dsError"/> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="singleLine" start="%"/> + <comment name="multiLine" start="%{" end="%}" region="comment"/> + </comments> + <keywords casesensitive="true" additionalDeliminator="'_0123456789"/> + </general> + +</language> +<!-- + // kate: space-indent on; indent-width 2; replace-tabs on; dynamic-word-wrap off; + --> diff --git a/kate/data/list-keywords-ldif.awk b/kate/data/list-keywords-ldif.awk new file mode 100644 index 000000000..fc693c3c3 --- /dev/null +++ b/kate/data/list-keywords-ldif.awk @@ -0,0 +1,38 @@ +#!/bin/awk -f + +function printName (name) +{ + if ((name != "") && (name != "(") && (name != ")")) print type, name; +} + +function printNames (str) +{ + s = substr(str,index(str,"NAME")+4); + split (s, a, " "); +# for (i=0; i<length(a); i++) { +# print type,a[i] +# } + # ATTENTION: The loop above does not work for some strange reason. + # The following statements imitate it for a limited amount of elements. + # If you happen to have more then the ones given here, you have to extend it! + printName(a[0]); + printName(a[1]); + printName(a[2]); + printName(a[3]); +} + +BEGIN { + type=""; +} + +/attributetype/ { + type="attributetype"; +} + +/objectclass/ { + type="objectclass"; +} + +/ NAME / { + printNames($0); +} diff --git a/kate/data/list-keywords-ldif.sh b/kate/data/list-keywords-ldif.sh new file mode 100644 index 000000000..d2290f670 --- /dev/null +++ b/kate/data/list-keywords-ldif.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +list_keywords=./list-keywords-ldif.awk +schemas="$@" + +echo " <list name=\"attributetypes\">" +cat $schemas | $list_keywords | grep "attributetype" | grep -v '^#' | sed -e "s/'//g" | sort -u | awk '{print " <item>"$2"</item>"}' +echo " </list>" +echo " <list name=\"objectclasses\">" +cat $schemas | $list_keywords | grep "objectclass" | grep -v '^#' | sed -e "s/'//g" | sort -u | awk '{print " <item>"$2"</item>"}' +echo " </list>" + diff --git a/kate/data/literate-haskell.xml b/kate/data/literate-haskell.xml new file mode 100644 index 000000000..5ed0f8893 --- /dev/null +++ b/kate/data/literate-haskell.xml @@ -0,0 +1,386 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="Literate Haskell" version="1.04" kateversion="2.4" section="Sources" extensions="*.lhs" author="Marcel Martin (mmar@freenet.de)" license=""> + <highlighting> + <list name="keywords"> + <item> case </item> + <item> class </item> + <item> data </item> + <item> deriving </item> + <item> do </item> + <item> else </item> + <item> if </item> + <item> in </item> + <item> infixl </item> + <item> infixr </item> + <item> instance </item> + <item> let </item> + <item> module </item> + <item> of </item> + <item> primitive </item> + <item> then </item> + <item> type </item> + <item> where </item> + </list> + <list name="infix operators"> + <item> quot </item> + <item> rem </item> + <item> div </item> + <item> mod </item> + <item> elem </item> + <item> notElem </item> + <item> seq </item> + </list> + <list name="functions"> + <!-- + These operators are not handled yet. + <item> !! </item> + <item> % </item> + <item> && </item> + <item> $! </item> + <item> $ </item> + <item> * </item> + <item> ** </item> + <item> - </item> + <item> . </item> + <item> /= </item> + <item> < </item> + <item> <= </item> + <item> =<< </item> + <item> == </item> + <item> > </item> + <item> >= </item> + <item> >> </item> + <item> >>= </item> + <item> ^ </item> + <item> ^^ </item> + <item> ++ </item> + <item> || </item> + //--> + + <item> FilePath </item> + <item> IOError </item> + <item> abs </item> + <item> acos </item> + <item> acosh </item> + <item> all </item> + <item> and </item> + <item> any </item> + <item> appendFile </item> + <item> approxRational </item> + <item> asTypeOf </item> + <item> asin </item> + <item> asinh </item> + <item> atan </item> + <item> atan2 </item> + <item> atanh </item> + <item> basicIORun </item> + <item> break </item> + <item> catch </item> + <item> ceiling </item> + <item> chr </item> + <item> compare </item> + <item> concat </item> + <item> concatMap </item> + <item> const </item> + <item> cos </item> + <item> cosh </item> + <item> curry </item> + <item> cycle </item> + <item> decodeFloat </item> + <item> denominator </item> + <item> digitToInt </item> + <item> div </item> + <item> divMod </item> + <item> drop </item> + <item> dropWhile </item> + <item> either </item> + <item> elem </item> + <item> encodeFloat </item> + <item> enumFrom </item> + <item> enumFromThen </item> + <item> enumFromThenTo </item> + <item> enumFromTo </item> + <item> error </item> + <item> even </item> + <item> exp </item> + <item> exponent </item> + <item> fail </item> + <item> filter </item> + <item> flip </item> + <item> floatDigits </item> + <item> floatRadix </item> + <item> floatRange </item> + <item> floor </item> + <item> fmap </item> + <item> foldl </item> + <item> foldl1 </item> + <item> foldr </item> + <item> foldr1 </item> + <item> fromDouble </item> + <item> fromEnum </item> + <item> fromInt </item> + <item> fromInteger </item> + <item> fromIntegral </item> + <item> fromRational </item> + <item> fst </item> + <item> gcd </item> + <item> getChar </item> + <item> getContents </item> + <item> getLine </item> + <item> head </item> + <item> id </item> + <item> inRange </item> + <item> index </item> + <item> init </item> + <item> intToDigit </item> + <item> interact </item> + <item> ioError </item> + <item> isAlpha </item> + <item> isAlphaNum </item> + <item> isAscii </item> + <item> isControl </item> + <item> isDenormalized </item> + <item> isDigit </item> + <item> isHexDigit </item> + <item> isIEEE </item> + <item> isInfinite </item> + <item> isLower </item> + <item> isNaN </item> + <item> isNegativeZero </item> + <item> isOctDigit </item> + <item> isPrint </item> + <item> isSpace </item> + <item> isUpper </item> + <item> iterate </item> + <item> last </item> + <item> lcm </item> + <item> length </item> + <item> lex </item> + <item> lexDigits </item> + <item> lexLitChar </item> + <item> lines </item> + <item> log </item> + <item> logBase </item> + <item> lookup </item> + <item> map </item> + <item> mapM </item> + <item> mapM_ </item> + <item> max </item> + <item> maxBound </item> + <item> maximum </item> + <item> maybe </item> + <item> min </item> + <item> minBound </item> + <item> minimum </item> + <item> mod </item> + <item> negate </item> + <item> not </item> + <item> notElem </item> + <item> null </item> + <item> numerator </item> + <item> odd </item> + <item> or </item> + <item> ord </item> + <item> otherwise </item> + <item> pi </item> + <item> pred </item> + <item> primExitWith </item> + <item> print </item> + <item> product </item> + <item> properFraction </item> + <item> putChar </item> + <item> putStr </item> + <item> putStrLn </item> + <item> quot </item> + <item> quotRem </item> + <item> range </item> + <item> rangeSize </item> + <item> read </item> + <item> readDec </item> + <item> readFile </item> + <item> readFloat </item> + <item> readHex </item> + <item> readIO </item> + <item> readInt </item> + <item> readList </item> + <item> readLitChar </item> + <item> readLn </item> + <item> readOct </item> + <item> readParen </item> + <item> readSigned </item> + <item> reads </item> + <item> readsPrec </item> + <item> realToFrac </item> + <item> recip </item> + <item> rem </item> + <item> repeat </item> + <item> replicate </item> + <item> return </item> + <item> reverse </item> + <item> round </item> + <item> scaleFloat </item> + <item> scanl </item> + <item> scanl1 </item> + <item> scanr </item> + <item> scanr1 </item> + <item> seq </item> + <item> sequence </item> + <item> sequence_ </item> + <item> show </item> + <item> showChar </item> + <item> showInt </item> + <item> showList </item> + <item> showLitChar </item> + <item> showParen </item> + <item> showSigned </item> + <item> showString </item> + <item> shows </item> + <item> showsPrec </item> + <item> significand </item> + <item> signum </item> + <item> sin </item> + <item> sinh </item> + <item> snd </item> + <item> span </item> + <item> splitAt </item> + <item> sqrt </item> + <item> subtract </item> + <item> succ </item> + <item> sum </item> + <item> tail </item> + <item> take </item> + <item> takeWhile </item> + <item> tan </item> + <item> tanh </item> + <item> threadToIOResult </item> + <item> toEnum </item> + <item> toInt </item> + <item> toInteger </item> + <item> toLower </item> + <item> toRational </item> + <item> toUpper </item> + <item> truncate </item> + <item> uncurry </item> + <item> undefined </item> + <item> unlines </item> + <item> until </item> + <item> unwords </item> + <item> unzip </item> + <item> unzip3 </item> + <item> userError </item> + <item> words </item> + <item> writeFile </item> + <item> zip </item> + <item> zip3 </item> + <item> zipWith </item> + <item> zipWith3 </item> + </list> + <list name="type constructors"> + <item> Bool </item> + <item> Char </item> + <item> Double </item> + <item> Either </item> + <item> Float </item> + <item> IO </item> + <item> Integer </item> + <item> Int </item> + <item> Maybe </item> + <item> Ordering </item> + <item> Rational </item> + <item> Ratio </item> + <item> ReadS </item> + <item> ShowS </item> + <item> String </item> + + </list> + <list name="classes"> + <item> Bounded </item> + <item> Enum </item> + <item> Eq </item> + <item> Floating </item> + <item> Fractional </item> + <item> Functor </item> + <item> Integral </item> + <item> Ix </item> + <item> Monad </item> + <item> Num </item> + <item> Ord </item> + <item> Read </item> + <item> RealFloat </item> + <item> RealFrac </item> + <item> Real </item> + <item> Show </item> + </list> + <list name="data constructors"> + <item> EQ </item> + <item> False </item> + <item> GT </item> + <item> Just </item> + <item> LT </item> + <item> Left </item> + <item> Nothing </item> + <item> Right </item> + <item> True </item> + </list> + <contexts> + <context attribute="Comment" lineEndContext="#stay" name="literate-normal"> + <DetectChar attribute="Special" context="normal" char=">" column="0"/> + </context> + <context attribute="Normal Text" lineEndContext="literate-normal" name="normal"> + <Detect2Chars attribute="Comment" context="comment_multi_line" char="{" char1="-" /> + <Detect2Chars attribute="Comment" context="comment_single_line" char="-" char1="-" /> + <keyword attribute="Keyword" context="#stay" String="keywords" /> + <keyword attribute="Class" context="#stay" String="classes" /> + <keyword attribute="Type Constructor" context="#stay" String="type constructors" /> + <keyword attribute="Function" context="#stay" String="functions" /> + <keyword attribute="Data Constructor" context="#stay" String="data constructors" /> + <DetectChar attribute="String" context="string" char=""" /> + <DetectChar attribute="Infix Operator" context="infix" char="`"/> + <RegExpr attribute="Normal Text" context="#stay" String="\w[']+" /> + <DetectChar attribute="Char" context="single_char" char="'" /> + <RegExpr attribute="Function Definition" context="#stay" String="\s*[a-z_]+\w*'*\s*::" /> + <Float attribute="Float" context="#stay" /> + <Int attribute="Decimal" context="#stay" /> + </context> + <context attribute="Comment" lineEndContext="#pop" name="comment_single_line" /> + <context attribute="Comment" lineEndContext="#stay" name="comment_multi_line"> + <Detect2Chars attribute="Comment" context="#pop" char="-" char1="}" /> + </context> + <context attribute="String" lineEndContext="#stay" name="string"> + <RegExpr attribute="String" context="#stay" String="\\." /> + <DetectChar attribute="String" context="#pop" char=""" /> + </context> + <context attribute="Infix Operator" lineEndContext="#stay" name="infix"> + <DetectChar attribute="Infix Operator" context="#pop" char="`"/> + </context> + <context attribute="Char" lineEndContext="#pop" name="single_char"> + <RegExpr attribute="Char" context="#stay" String="\\." /> + <DetectChar attribute="Char" context="#pop" char="'" /> + </context> + <context attribute="Function Definition" lineEndContext="#pop" name="function_definition"> + <DetectChar attribute="Function Definition" context="#pop" char=";" /> + </context> + </contexts> + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Keyword" defStyleNum="dsKeyword"/> + <itemData name="Function" defStyleNum="dsFunction"/> + <itemData name="Function Definition" defStyleNum="dsFunction"/> + <itemData name="Class" defStyleNum="dsKeyword"/> + <itemData name="Decimal" defStyleNum="dsDecVal"/> + <itemData name="Float" defStyleNum="dsFloat"/> + <itemData name="Char" defStyleNum="dsChar"/> + <itemData name="String" defStyleNum="dsString"/> + <itemData name="Constructor" defStyleNum="dsOthers"/> + <itemData name="Comment" defStyleNum="dsComment"/> + <itemData name="Data Constructor" defStyleNum="dsKeyword"/> + <itemData name="Type Constructor" defStyleNum="dsDataType"/> + <itemData name="Infix Operator" defStyleNum="dsOthers"/> + <itemData name="Special" defStyleNum="dsChar"/> + </itemDatas> + </highlighting> + <general> + <keywords casesensitive="1" /> + </general> +</language> diff --git a/kate/data/logtalk.xml b/kate/data/logtalk.xml new file mode 100644 index 000000000..17e130c8f --- /dev/null +++ b/kate/data/logtalk.xml @@ -0,0 +1,206 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> + +<language name="Logtalk" version="1.51" kateversion="2.4" section="Sources" extensions="*.lgt;*.config" mimetype="text/x-logtalk" author="Paulo Moura (pmoura@logtalk.org)" license="Artistic License 2.0"> + + <highlighting> + + <contexts> + + <context name = "normal" attribute = "Normal" lineEndContext = "#stay" > + <!-- Directives --> + <RegExpr String = "^\s*:-" attribute = "Normal" context = "directive" /> + <!-- Event handlers --> + <RegExpr String = "\b(after|before)(?=[(])" attribute = "Built-in" context = "#stay" /> + <!-- Method execution context --> + <RegExpr String = "\b(parameter|this|se(lf|nder))(?=[(])" attribute = "Built-in" context = "#stay" /> + <!-- Reflection --> + <RegExpr String = "\b(current_predicate|predicate_property)(?=[(])" attribute = "Built-in" context = "#stay" /> + <!-- DCGs --> + <RegExpr String = "\b(expand_term|term_expansion|phrase)(?=[(])" attribute = "Built-in" context = "#stay" /> + <!-- Entity --> + <RegExpr String = "\b(abolish|c(reate|urrent))_(object|protocol|category)(?=[(])" attribute = "Built-in" context = "#stay" /> + <RegExpr String = "\b(object|protocol|category)_property(?=[(])" attribute = "Built-in" context = "#stay" /> + <!-- Entity relations --> + <RegExpr String = "\bextends_(object|protocol)(?=[(])" attribute = "Built-in" context = "#stay" /> + <RegExpr String = "\bimplements_protocol(?=[(])" attribute = "Built-in" context = "#stay" /> + <RegExpr String = "\b(instantiates|specializes)_class(?=[(])" attribute = "Built-in" context = "#stay" /> + <RegExpr String = "\bimports_category(?=[(])" attribute = "Built-in" context = "#stay" /> + <!-- Events --> + <RegExpr String = "\b(current_event|(abolish|define)_events)(?=[(])" attribute = "Built-in" context = "#stay" /> + <!-- Flags --> + <RegExpr String = "\b(current|set)_logtalk_flag(?=[(])" attribute = "Built-in" context = "#stay" /> + <!-- Compiling, loading, and library paths --> + <RegExpr String = "\blogtalk_(compile|l(ibrary_path|oad))(?=[(])" attribute = "Built-in" context = "#stay" /> + <!-- Database --> + <RegExpr String = "\b(clause|retract(all)?)(?=[(])" attribute = "Built-in" context = "#stay" /> + <RegExpr String = "\ba(bolish|ssert(a|z))(?=[(])" attribute = "Built-in" context = "#stay" /> + <!-- Control --> + <RegExpr String = "\b(ca(ll|tch)|throw)(?=[(])" attribute = "Built-in" context = "#stay" /> + <RegExpr String = "\b(fail|true)\b" attribute = "Built-in" context = "#stay" /> + <!-- All solutions --> + <RegExpr String = "\b((bag|set)of|f(ind|or)all)(?=[(])" attribute = "Built-in" context = "#stay" /> + <!-- Term unification --> + <RegExpr String = "\bunify_with_occurs_check(?=[(])" attribute = "Built-in" context = "#stay" /> + <!-- Term creation and decomposition --> + <RegExpr String = "\b(functor|arg|copy_term)(?=[(])" attribute = "Built-in" context = "#stay" /> + <!-- Evaluable functors --> + <RegExpr String = "\b(rem|mod|abs|sign)(?=[(])" attribute = "Built-in" context = "#stay" /> + <RegExpr String = "\bfloat(_(integer|fractional)_part)?(?=[(])" attribute = "Built-in" context = "#stay" /> + <RegExpr String = "\b(floor|truncate|round|ceiling)(?=[(])" attribute = "Built-in" context = "#stay" /> + <!-- Other arithmetic functors --> + <RegExpr String = "\b(cos|atan|exp|log|s(in|qrt))(?=[(])" attribute = "Built-in" context = "#stay" /> + <!-- Term testing --> + <RegExpr String = "\b(var|atom(ic)?|integer|float|compound|n(onvar|umber))(?=[(])" attribute = "Built-in" context = "#stay" /> + <!-- Stream selection and control --> + <RegExpr String = "\b(current|set)_(in|out)put(?=[(])" attribute = "Built-in" context = "#stay" /> + <RegExpr String = "\b(open|close)(?=[(])" attribute = "Built-in" context = "#stay" /> + <RegExpr String = "\bflush_output(?=[(])" attribute = "Built-in" context = "#stay" /> + <RegExpr String = "\bflush_output\b" attribute = "Built-in" context = "#stay" /> + <RegExpr String = "\b(stream_property|at_end_of_stream|set_stream_position)(?=[(])" attribute = "Built-in" context = "#stay" /> + <!-- Character and byte input/output --> + <RegExpr String = "\b(nl|(get|peek|put)_(byte|c(har|ode)))(?=[(])" attribute = "Built-in" context = "#stay" /> + <RegExpr String = "\bnl\b" attribute = "Built-in" context = "#stay" /> + <!-- Term input/output --> + <RegExpr String = "\bread(_term)?(?=[(])" attribute = "Built-in" context = "#stay" /> + <RegExpr String = "\bwrite(q|_(canonical|term))?(?=[(])" attribute = "Built-in" context = "#stay" /> + <RegExpr String = "\b(current_)?op(?=[(])" attribute = "Built-in" context = "#stay" /> + <RegExpr String = "\b(current_)?char_conversion(?=[(])" attribute = "Built-in" context = "#stay" /> + <!-- Atomic term processing --> + <RegExpr String = "\batom_(length|c(hars|o(ncat|des)))(?=[(])" attribute = "Built-in" context = "#stay" /> + <RegExpr String = "\b(char_code|sub_atom)(?=[(])" attribute = "Built-in" context = "#stay" /> + <RegExpr String = "\bnumber_c(hars|odes)(?=[(])" attribute = "Built-in" context = "#stay" /> + <!-- Implementation defined hooks functions --> + <RegExpr String = "\b(set|current)_prolog_flag(?=[(])" attribute = "Built-in" context = "#stay" /> + <RegExpr String = "\bhalt\b" attribute = "Built-in" context = "#stay" /> + <RegExpr String = "\bhalt(?=[(])" attribute = "Built-in" context = "#stay" /> + <!-- Variables --> + <RegExpr String = "\b[A-Z_]\w*" attribute = "Variable" context = "#stay" /> + <!-- Comments --> + <DetectChar char = "%" attribute = "Comment" context = "single line comment" /> + <Detect2Chars char = "/" char1 = "*" attribute = "Comment" context = "multiline comment" beginRegion = "Comment" /> + <!-- Strings and quoted atoms --> + <DetectChar char = """ attribute = "String" context = "string" /> + <DetectChar char = "'" attribute = "String" context = "atom" /> + <!-- Numbers --> + <RegExpr String = "0'." attribute = "Number" context = "#stay" /> + <RegExpr String = "0b[0-1]+" attribute = "Number" context = "#stay" /> + <RegExpr String = "0o[0-7]+" attribute = "Number" context = "#stay" /> + <RegExpr String = "0x[0-9a-fA-F]+" attribute = "Number" context = "#stay" /> + <RegExpr String = "\d+(\.\d+)?([eE]([-+])?\d+)?" attribute = "Number" context = "#stay" /> + <!-- Message sending operators --> + <Detect2Chars char = ":" char1 = ":" attribute = "Operator" context = "#stay" /> + <Detect2Chars char = "^" char1 = "^" attribute = "Operator" context = "#stay" /> + <!-- External call --> + <DetectChar char = "{" attribute = "Operator" context = "#stay" beginRegion="external" /> + <DetectChar char = "}" attribute = "Operator" context = "#stay" endRegion="external" /> + <!-- Logic and control --> + <RegExpr String = "\bonce(?=[(])" attribute = "Built-in" context = "#stay" /> + <RegExpr String = "\brepeat\b" attribute = "Built-in" context = "#stay" /> + <!-- Bitwise functors --> + <Detect2Chars char = ">" char1 = ">" attribute = "Operator" context = "#stay" /> + <Detect2Chars char = "<" char1 = "<" attribute = "Operator" context = "#stay" /> + <Detect2Chars char = "/" char1 = "\" attribute = "Operator" context = "#stay" /> + <Detect2Chars char = "\" char1 = "/" attribute = "Operator" context = "#stay" /> + <Detect2Chars char = "\" char1 = "\" attribute = "Operator" context = "#stay" /> + <!-- Arithemtic evaluation --> + <RegExpr String = "\bis\b" attribute = "Operator" context = "#stay" /> + <!-- Arithemtic comparison --> + <StringDetect String = "=:=" attribute = "Operator" context = "#stay" /> + <StringDetect String = "=\=" attribute = "Operator" context = "#stay" /> + <DetectChar char = "<" attribute = "Operator" context = "#stay" /> + <Detect2Chars char = "=" char1 = "<" attribute = "Operator" context = "#stay" /> + <DetectChar char = ">" attribute = "Operator" context = "#stay" /> + <Detect2Chars char = ">" char1 = "=" attribute = "Operator" context = "#stay" /> + <!-- Term creation and decomposition --> + <StringDetect String = "=.." attribute = "Operator" context = "#stay" /> + <!-- Term unification --> + <DetectChar char = "=" attribute = "Operator" context = "#stay" /> + <Detect2Chars char = "\" char1 = "=" attribute = "Operator" context = "#stay" /> + <!-- Term comparison --> + <Detect2Chars char = "=" char1 = "=" attribute = "Operator" context = "#stay" /> + <StringDetect String = "\==" attribute = "Operator" context = "#stay" /> + <StringDetect String = "@=<" attribute = "Operator" context = "#stay" /> + <Detect2Chars char = "@" char1 = "<" attribute = "Operator" context = "#stay" /> + <StringDetect String = "@>=" attribute = "Operator" context = "#stay" /> + <Detect2Chars char = "@" char1 = ">" attribute = "Operator" context = "#stay" /> + <!-- Evaluable functors --> + <Detect2Chars char = "/" char1 = "/" attribute = "Operator" context = "#stay" /> + <AnyChar String = "+-*/" attribute = "Operator" context = "#stay" /> + <RegExpr String = "\b(mod|rem)\b" attribute = "Operator" context = "#stay" /> + <!-- Other arithemtic functors --> + <Detect2Chars char = "*" char1 = "*" attribute = "Operator" context = "#stay" /> + <!-- DCG rules --> + <StringDetect String = "-->" attribute = "Operator" context = "#stay" /> + <!-- Control constructs --> + <AnyChar String = "!;" attribute = "Operator" context = "#stay" /> + <Detect2Chars char = "-" char1 = ">" attribute = "Operator" context = "#stay" /> + <!-- Logic and control --> + <Detect2Chars char = "\" char1 = "+" attribute = "Operator" context = "#stay" /> + <!-- Mode operators --> + <AnyChar String = "?@" attribute = "Operator" context = "#stay" /> + <!-- Clause operator --> + <Detect2Chars char = ":" char1 = "-" firstNonSpace = "false" attribute = "Normal" context = "#stay" /> + <!-- Atoms --> + <RegExpr String = "\b[a-z]\w*" attribute = "Normal" context = "#stay" /> + </context> + + <context name = "directive" attribute = "Directive" lineEndContext = "#stay" > + <!-- Entity directives --> + <RegExpr String = "\b(category|object|protocol)(?=[(])" attribute = "Directive" context = "entityrelations" beginRegion = "Entity"/> + <RegExpr String = "\bend_(category|object|protocol)[.]" attribute = "Directive" context = "#pop" endRegion = "Entity" /> + <RegExpr String = "\bmodule(?=[(])" attribute = "Directive" context = "#pop"/> + <!-- Predicate scope directives --> + <RegExpr String = "\bp(ublic|r(otected|ivate))(?=[(])" attribute = "Directive" context = "#pop" /> + <!-- Other directives --> + <RegExpr String = "\be(ncoding|xport)(?=[(])" attribute = "Directive" context = "#pop" /> + <RegExpr String = "\bin(fo|itialization)(?=[(])" attribute = "Directive" context = "#pop" /> + <RegExpr String = "\bdynamic[.]" attribute = "Directive" context = "#pop" /> + <RegExpr String = "\b(alias|d(ynamic|iscontiguous)|meta_predicate|m(etapredicate|ode|ultifile))(?=[(])" attribute = "Directive" context = "#pop" /> + <RegExpr String = "\bop(?=[(])" attribute = "Directive" context = "#pop" /> + <RegExpr String = "\b(calls|use(s|_module))(?=[(])" attribute = "Directive" context = "#pop" /> + </context> + + <context name = "entityrelations" attribute = "Normal" lineEndContext = "#stay" > + <RegExpr String = "\b(extends|i(nstantiates|mp(lements|orts))|specializes)(?=[(])" attribute = "Directive" context = "#stay" /> + <Detect2Chars attribute = "Normal" context = "normal" char = ")" char1 = "." /> + </context> + + <context name = "single line comment" attribute = "Comment" lineEndContext = "#pop" /> + + <context name = "multiline comment" attribute = "Comment" lineEndContext = "#stay" > + <Detect2Chars char = "*" char1 = "/" attribute = "Comment" context = "#pop" endRegion = "Comment" /> + </context> + + <context name = "string" attribute = "String" lineEndContext = "#stay" > + <DetectChar char = """ attribute = "String" context = "#pop" /> + </context> + + <context name = "atom" attribute = "String" lineEndContext = "#stay" > + <DetectChar char = "'" attribute = "String" context = "#pop" /> + </context> + + </contexts> + + <itemDatas> + <itemData name = "Normal" defStyleNum = "dsNormal" /> + <itemData name = "Directive" defStyleNum = "dsKeyword" /> + <itemData name = "Built-in" defStyleNum = "dsKeyword" /> + <itemData name = "Operator" defStyleNum = "dsDataType" /> + <itemData name = "Comment" defStyleNum = "dsComment" /> + <itemData name = "Number" defStyleNum = "dsDecVal" /> + <itemData name = "String" defStyleNum = "dsString" /> + <itemData name = "Variable" defStyleNum = "dsOthers" /> + </itemDatas> + + </highlighting> + + <general> + <comments> + <comment name = "singleLine" start = "%" /> + <comment name = "multiLine" start = "/*" end = "*/" region = "Comment" /> + </comments> + <keywords casesensitive="true" /> + </general> + +</language> diff --git a/kate/data/lpc.xml b/kate/data/lpc.xml new file mode 100644 index 000000000..2b13ef7ff --- /dev/null +++ b/kate/data/lpc.xml @@ -0,0 +1,166 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> + +<!-- +============================================================================= +File: lpc.xml +URL: http://www.metamorpher.de/files/lpc.xml +Description: Syntax Highlighting for Lars Pensjo C (LPC) + It is used in Multi User Dungeons which use LDMud as Gamedriver. + For more information, see LDMud project: http://www.bearnip.com + For best highlighting results, configure colors yourself. +Author: Andreas Klauer (Andreas.Klauer@metamorpher.de) +Changed: 2004-04-26 +License: Artistic +============================================================================= +--> + + +<language name="LPC" version="0.76" kateversion="2.4" section="Sources" extensions="*.c;*.h;*.inc;*.o" author="Andreas Klauer (Andreas.Klauer@metamorpher.de)" license="Artistic" > + + <highlighting> + + <!-- Keyword Lists: --> + <list name="modifiers"> + <item> private </item> + <item> protected </item> + <item> static </item> + <item> public </item> + <item> nomask </item> + <item> varargs </item> + <item> nosave </item> + <item> virtual </item> + </list> + <list name="types"> + <item> void </item> + <item> int </item> + <item> status </item> + <item> string </item> + <item> object </item> + <item> array </item> + <item> mapping </item> + <item> closure </item> + <item> symbol </item> + <item> float </item> + <item> mixed </item> + </list> + <list name="keywords"> + <item> break </item> + <item> continue </item> + <item> return </item> + <item> if </item> + <item> else </item> + <item> for </item> + <item> foreach </item> + <item> do </item> + <item> while </item> + <item> switch </item> + <item> case </item> + <item> inherit </item> + <item> default </item> + <item> variables </item> + <item> functions </item> + <item> publish </item> + <item> nolog </item> + </list> + <list name="attention"> + <item> FIXME </item> + <item> HACK </item> + <item> NOTE </item> + <item> NOTICE </item> + <item> TODO </item> + <item> WARNING </item> + <item> ### </item> + </list> + + <!-- Parsing Rules: --> + <contexts> + <context name="Normal" attribute="Default" lineEndContext="#stay"> + <RegExpr attribute="Region Marker" context="#stay" String="//\s*BEGIN.*$" beginRegion="regionMarker" firstNonSpace="true"/> + <RegExpr attribute="Region Marker" context="#stay" String="//\s*END.*$" endRegion="regionMarker" firstNonSpace="true"/> + <Detect2Chars attribute="Single-Line comments" context="Comment1" char="/" char1="/" /> + <Detect2Chars attribute="Multi-Line comments" context="Comment2" char="/" char1="*" beginRegion="blockComment" /> + <keyword String="modifiers" attribute="Modifier" context="#stay" /> + <keyword String="types" attribute="Datatype" context="#stay" /> + <keyword String="keywords" attribute="Keywords" context="#stay" /> + <DetectChar char="#" context="Preprocessor" attribute="Preprocessor" column="0"/> + <Float attribute="Floats" context="#stay"> + <AnyChar String="fFeE" context="#stay" /> + </Float> + <RegExpr String="0b[01]+" attribute="Binary" context="#stay" /> + <RegExpr String="0x[0-9a-fA-F]+" attribute="Hexadecimal" context="#stay" /> + <RegExpr String="0o[0-7]+" attribute="Octal" context="#stay" /> + <Int attribute="Integer" context="#stay" /> + <RegExpr String="#'[^\t ][^\t ,);}\]/]*" attribute="Closure" context="#stay" /> + <DetectChar attribute="Strings" context="String1" char=""" /> + <HlCStringChar attribute="Char" context="#stay" /> + <DetectChar attribute="Default" context="#stay" char="{" beginRegion="brace" /> + <DetectChar attribute="Default" context="#stay" char="}" endRegion="brace" /> + </context> + <context name="Comment1" attribute="Single-Line comments" lineEndContext="#pop"> + <LineContinue attribute="Single-Line comments" context="#stay" /> + <keyword attribute="Alert" context="#stay" String="attention" /> + </context> + <context name="Comment2" attribute="Multi-Line comments" lineEndContext="#stay"> + <Detect2Chars attribute="Multi-Line comments" context="#pop" char="*" char1="/" endRegion="blockComment" /> + <keyword attribute="Alert" context="#stay" String="attention" /> + </context> + <context name="Preprocessor" attribute="Preprocessor" lineEndContext="#pop"> + <LineContinue attribute="Preprocessor" context="#stay" /> + <Detect2Chars attribute="Single-Line comments" context="Comment1" char="/" char1="/" /> + <Detect2Chars attribute="Multi-Line comments" context="Comment2" char="/" char1="*" beginRegion="blockComment" /> + <keyword String="modifiers" attribute="Modifier" context="#stay" /> + <keyword String="types" attribute="Datatype" context="#stay" /> + <keyword String="keywords" attribute="Keywords" context="#stay" /> + <DetectChar attribute="Preprocessor-Strings" context="String2" char=""" /> + </context> + <context name="String1" attribute="Strings" lineEndContext="#pop"> + <LineContinue attribute="Default" context="#stay" /> + <Detect2Chars char="\" char1="\" attribute="Strings" context="#stay" /> + <Detect2Chars char="\" char1=""" attribute="Strings" context="#stay" /> + <DetectChar char=""" attribute="Strings" context="#pop" /> + </context> + <context name="String2" attribute="Preprocessor-Strings" lineEndContext="#pop"> + <LineContinue attribute="Default" context="#stay" /> + <Detect2Chars char="\" char1="\" attribute="Preprocessor-Strings" context="#stay" /> + <Detect2Chars char="\" char1=""" attribute="Preprocessor-Strings" context="#stay" /> + <DetectChar char=""" attribute="Preprocessor-Strings" context="#pop" /> + </context> + </contexts> + + <!-- Color Settings: --> + <itemDatas> + <itemData name="Default" defStyleNum="dsNormal" /> + <itemData name="Single-Line comments" defStyleNum="dsComment" /> + <itemData name="Multi-Line comments" defStyleNum="dsComment" /> + <itemData name="Alert" defStyleNum="dsAlert" /> + <itemData name="Modifier" defStyleNum="dsDataType" /> + <itemData name="Datatype" defStyleNum="dsDataType" /> + <itemData name="Keywords" defStyleNum="dsKeyword" /> + <itemData name="Preprocessor" defStyleNum="dsOthers" /> + <itemData name="Floats" defStyleNum="dsFloat" /> + <itemData name="Binary" defStyleNum="dsBaseN" /> + <itemData name="Hexadecimal" defStyleNum="dsBaseN" /> + <itemData name="Octal" defStyleNum="dsBaseN" /> + <itemData name="Integer" defStyleNum="dsDecVal" /> + <itemData name="Closure" defStyleNum="dsOthers" /> + <itemData name="Strings" defStyleNum="dsString" /> + <itemData name="Preprocessor-Strings" defStyleNum="dsString" /> + <itemData name="Char" defStyleNum="dsChar" /> + <itemData name="Region Marker" defStyleNum="dsRegionMarker" /> + </itemDatas> + </highlighting> + + <!-- This is not for highlighting, but for detecting comments. + It allows Kate to hide comments if the user wished to do so. --> + <general> + <comments> + <comment name="singleLine" start="//" /> + <comment name="multiLine" start="/*" end="*/" /> + </comments> + <keywords casesensitive="1" /> + </general> + +</language> +<!-- kate: space-indent on; indent-width 2; replace-tabs on; --> +<!-- === End of file. === --> diff --git a/kate/data/lua.xml b/kate/data/lua.xml new file mode 100644 index 000000000..5b868aeec --- /dev/null +++ b/kate/data/lua.xml @@ -0,0 +1,237 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="Lua" version="0.23" kateversion="2.3" section="Scripts" extensions="*.lua" mimetype="text/x-lua"> + <highlighting> + <list name="keywords"> + <item> and </item> + <item> end </item> + <item> local </item> + <item> return </item> + <item> break </item> + <item> for </item> + <item> do </item> + <item> if </item> + <item> nil </item> + <item> then </item> + <item> function </item> + <item> not </item> + <item> until </item> + <item> else </item> + <item> or </item> + <item> while </item> + <item> elseif </item> + <item> in </item> + <item> repeat </item> + </list> + <list name="basefunc"> + <item> string.byte </item> + <item> string.char </item> + <item> string.find </item> + <item> string.len </item> + <item> string.lower </item> + <item> string.rep </item> + <item> string.sub </item> + <item> string.upper </item> + <item> string.format </item> + <item> string.gfind </item> + <item> string.gsub </item> + <item> table.concat </item> + <item> table.foreach </item> + <item> table.foreachi </item> + <item> table.getn </item> + <item> table.sort </item> + <item> table.insert </item> + <item> table.remove </item> + <item> table.setn </item> + <item> math.abs </item> + <item> math.sin </item> + <item> math.cos </item> + <item> math.tan </item> + <item> math.asin </item> + <item> math.acos </item> + <item> math.atan </item> + <item> math.atan2 </item> + <item> math.ceil </item> + <item> math.floor </item> + <item> math.mod </item> + <item> math.frexp </item> + <item> math.ldexp </item> + <item> math.squrt </item> + <item> math.min </item> + <item> math.max </item> + <item> math.log </item> + <item> math.log10 </item> + <item> math.exp </item> + <item> math.deg </item> + <item> math.rad </item> + <item> math.random </item> + <item> math.randomseed </item> + <item> io.close </item> + <item> io.flush </item> + <item> io.input </item> + <item> io.lines </item> + <item> io.open </item> + <item> io.output </item> + <item> io.read </item> + <item> io.stderr </item> + <item> io.stdin </item> + <item> io.stdout </item> + <item> io.tmpfile </item> + <item> io.write </item> + <item> os.clock </item> + <item> os.date </item> + <item> os.difftime </item> + <item> os.execute </item> + <item> os.exit </item> + <item> os.getenv </item> + <item> os.remove </item> + <item> os.rename </item> + <item> os.setlocale </item> + <item> os.time </item> + <item> os.tmpname </item> + <item> debug.getinfo </item> + <item> debug.getlocal </item> + <item> debug.setlocal </item> + <item> debug.sethook </item> + <item> debug.gethook </item> + <item> assert </item> + <item> collectgarbage </item> + <item> dofile </item> + <item> error </item> + <item> next </item> + <item> print </item> + <item> rawget </item> + <item> rawset </item> + <item> tonumber </item> + <item> tostring </item> + <item> type </item> + <item> _ALERT </item> + <item> _ERRORMESSAGE </item> + <item> call </item> + <item> copytagmethods </item> + <item> dostring </item> + <item> foreach </item> + <item> foreachi </item> + <item> getglobal </item> + <item> getn </item> + <item> gettagmethod </item> + <item> globals </item> + <item> newtag </item> + <item> setglobal </item> + <item> settag </item> + <item> settagmethod </item> + <item> sort </item> + <item> tag </item> + <item> tinsert </item> + <item> tremove </item> + <item> openfile </item> + <item> closefile </item> + <item> flush </item> + <item> seek </item> + <item> setlocale </item> + <item> execute </item> + <item> remove </item> + <item> rename </item> + <item> tmpname </item> + <item> getenv </item> + <item> date </item> + <item> clock </item> + <item> exit </item> + <item> readfrom </item> + <item> writeto </item> + <item> appendto </item> + <item> read </item> + <item> write </item> + <item> abs </item> + <item> sin </item> + <item> cos </item> + <item> tan </item> + <item> asin </item> + <item> acos </item> + <item> atan </item> + <item> atan2 </item> + <item> ceil </item> + <item> floor </item> + <item> mod </item> + <item> frexp </item> + <item> ldexp </item> + <item> squrt </item> + <item> min </item> + <item> max </item> + <item> log </item> + <item> log10 </item> + <item> exp </item> + <item> deg </item> + <item> rad </item> + <item> random </item> + <item> randomseed </item> + <item> strlen </item> + <item> strsub </item> + <item> strlower </item> + <item> strupper </item> + <item> strchar </item> + <item> strrep </item> + <item> ascii </item> + <item> strbyte </item> + <item> format </item> + <item> strfind </item> + <item> gsub </item> + <item> getinfo </item> + <item> getlocal </item> + <item> setlocal </item> + <item> setcallhook </item> + <item> setlinehook </item> + <item> getglobals </item> + <item> getmetatable </item> + <item> gcinfo </item> + <item> ipairs </item> + <item> loadfile </item> + <item> loadstring </item> + <item> pairs </item> + <item> pcall </item> + <item> require </item> + <item> setglobals </item> + <item> setmetatable </item> + <item> unpack </item> + <item> LUA_PATH </item> + <item> _LOADED </item> + <item> _VERSION </item> + </list> + <contexts> + <context attribute="Normal Text" lineEndContext="#stay" name="Normal"> + <keyword attribute="Keyword" context="#stay" String="keywords" /> + <keyword attribute="BaseFunc" context="#stay" String="basefunc"/> + <HlCChar attribute="Char" context="#stay"/> + <Detect2Chars attribute="Comment" context="Comment" char="-" char1="-"/> + <DetectChar attribute="Comment" context="Comment" char="#"/> + <DetectChar attribute="String" context="String" char="""/> + <AnyChar attribute="Symbol" context="#stay" String="!%&()+,-<=>?[]^{|}~"/> + <RegExpr attribute="Number" context="#stay" String="\d*\.?\d*e?\d+"/> + </context> + <context attribute="Comment" lineEndContext="#pop" name="Comment"> + <RegExpr attribute="Alert" context="#stay" String="(FIXME|TODO)" /> + </context> + <context attribute="String" lineEndContext="#pop" name="String"> + <DetectChar attribute="String" context="#pop" char="""/> + </context> + </contexts> + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Keyword" defStyleNum="dsKeyword"/> + <itemData name="Comment" defStyleNum="dsComment"/> + <itemData name="String" defStyleNum="dsString"/> + <itemData name="Decimal" defStyleNum="dsDecVal"/> + <itemData name="Number" defStyleNum="dsBaseN"/> + <itemData name="Symbol" defStyleNum="dsNormal"/> + <itemData name="BaseFunc" defStyleNum="dsNormal" color="#0095FF" selColor="#FFFFFF" bold="1" italic="0"/> + <itemData name="Alert" defStyleNum="dsAlert" /> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="singleLine" start="--" /> + </comments> + <keywords casesensitive="1" weakDeliminator="." additionalDeliminator="""/> + </general> +</language> +<!-- kate: space-indent on; indent-width 2; replace-tabs on; --> diff --git a/kate/data/m3u.xml b/kate/data/m3u.xml new file mode 100644 index 000000000..dfa18e4e6 --- /dev/null +++ b/kate/data/m3u.xml @@ -0,0 +1,48 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> + +<!-- Changelog: + +v1.1: +- mimetype korrigiert zu "audio/mpegurl" +- Syntax verbessert + +v1.0: +-first Release +--> + +<language name="M3U" section="Other" extensions="*.m3u" mimetype="audio/mpegurl" version="1.10" author="Jan Janssen (medhefgo@web.de)" license="LGPL" > + +<highlighting> +<contexts> + <context name="M3U" attribute="Normal Text" lineEndContext="#stay"> + <StringDetect attribute="M3USpec" context="#pop" String="#EXTM3U" column="0" /> + <StringDetect attribute="EXTINF" context="FindEXTINF" String="#EXTINF" column="0" /> + <RegExpr attribute="Comment" String="#.*$" firstNonSpace="true" /> + </context> + + <context name="FindEXTINF" attribute="Normal Text" lineEndContext="#stay"> + <RegExpr attribute="Lenght" String=":\d+" /> + <RegExpr attribute="Descr" context="#pop" String=",.*$" /> + </context> +</contexts> + +<itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal" /> + <itemData name="M3USpec" defStyleNum="dsKeyword"/> + <itemData name="Comment" defStyleNum="dsComment" /> + + <itemData name="EXTINF" defStyleNum="dsOthers" /> + <itemData name="Lenght" defStyleNum="dsDecVal" /> + <itemData name="Descr" defStyleNum="dsString" /> +</itemDatas> +</highlighting> + + +<general> + <comments> + <comment name="singleLine" start="#" /> + </comments> +</general> + +</language> diff --git a/kate/data/mab.xml b/kate/data/mab.xml new file mode 100644 index 000000000..338d24070 --- /dev/null +++ b/kate/data/mab.xml @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="MAB-DB" version="1.03" kateversion="2.4" extensions="*.mab;*.MAB;*.Mab" section="Markup" mimetype="text/x-mab" casesensitive="0"> + <highlighting> + <contexts> + <context attribute="Normal Text" name="Section" lineEndContext="#stay" > + <RegExpr String="\*I [a-zA-Z0-9]* " attribute="Mab I Field" context="#stay" column="0"/> + <RegExpr String="\*\*\*\**E.*" attribute="Header Piece" context="#stay" column="0"/> + <RegExpr String="\*\*\*\**M.*" attribute="Header Medium" context="#stay" column="0"/> + <RegExpr String="\*\*\*\* BIBLIOTHECA.*" attribute="Database Header" context="#stay" column="0"/> + <RegExpr String="\*M [a-zA-Z0-9]* " attribute="Mab M Field" context="#stay" column="0"/> + <RegExpr String="\*X TYP .*" attribute="Mab Comment Description" context="#stay" column="0"/> + <RegExpr String="\*X DESC .*" attribute="Mab Comment Type" context="#stay" column="0"/> + <RegExpr String="\*X .*" attribute="Comment" context="#stay" column="0"/> + </context> + </contexts> + + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal" color="#FF0022" selColor="#ffffff" italic="0" bold="1" /> + <itemData name="Header Piece" defStyleNum="dsKeyword" color="#993322" selColor="#ffffff" italic="0" bold="1" /> + <itemData name="Header Medium" defStyleNum="dsKeyword" color="#339922" selColor="#ffffff" italic="0" bold="1" /> + <itemData name="Database Header" defStyleNum="dsKeyword" color="#FF3322" selColor="#ffffff" italic="0" bold="1" /> + <itemData name="Mab M Field" defStyleNum="dsKeyword" color="#003366" selColor="#ffffff" italic="0" bold="1" /> + <itemData name="Mab I Field" defStyleNum="dsKeyword" color="#330066" selColor="#ffffff" italic="0" bold="1" /> + <itemData name="Mab Comment Description" defStyleNum="dsComment" color="#3333FF" selColor="#ffffff" italic="1" bold="1" /> + <itemData name="Mab Comment Type" defStyleNum="dsComment" color="#BB3333" selColor="#ffffff" italic="1" bold="1" /> + <itemData name="Comment" defStyleNum="dsComment" color="#999999" selColor="#ffffff" italic="1" bold="1" /> + </itemDatas> + </highlighting> +</language> diff --git a/kate/data/makefile.xml b/kate/data/makefile.xml new file mode 100644 index 000000000..7931c5a6a --- /dev/null +++ b/kate/data/makefile.xml @@ -0,0 +1,82 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<!-- Makefile syntaxfile v0.9 by Per Wigren <wigren@home.se> --> +<!-- Modified by Joseph Wenninger <jowenn@kde.org> --> +<language name="Makefile" version="1.08" kateversion="2.4" section="Other" extensions="*makefile*;*Makefile*" mimetype="text/x-makefile" author="Per Wigren (wigren@home.se)" license=""> + <highlighting> + <list name = "keywords"> + <item> include </item> + <item> define </item> + <item> else </item> + <item> endef </item> + <item> endif </item> + <item> ifdef </item> + <item> ifeq </item> + <item> ifndef </item> + <item> ifneq </item> + </list> + + <contexts> + <context name="Normal" attribute="Normal Text" lineEndContext="#stay"> + <keyword attribute="Keyword" context="#stay" String="keywords"/> + <RegExpr attribute="Variable" context="Value" String="[_\w\d]*\s*(?=:=|=)"/> + <RegExpr attribute="Target" context="#stay" String="[_\w\d-]*\s*:" firstNonSpace="true"/> + <RegExpr attribute="Section" context="#stay" String="^[.].*:"/> + <DetectChar attribute="String" context="String" char="""/> + <RegExpr attribute="Operator" context="VarFromNormal" String="[$][\({]"/> + <Detect2Chars attribute="Special" context="#stay" char="\" char1="#"/> + <Detect2Chars attribute="Special" context="#stay" char="\" char1="\"/> + <AnyChar attribute="Operator" context="#stay" String="+*=%$():\;"/> + <AnyChar attribute="Operator" context="Commands" String="@-" firstNonSpace="true"/> + <RegExpr attribute="Comment" context="#stay" String="#.*$"/> + </context> + + <context attribute="String" lineEndContext="#pop" name="String"> + <LineContinue attribute="String" context="#stay"/> + <DetectChar attribute="String" context="#pop" char="""/> + </context> + + <context name="Value" attribute="String" lineEndContext="#stay"> + <RegExpr attribute="Operator" String="\\$" context="#stay"/> + <RegExpr attribute="String" String="[^\\]?$" context="#pop"/> + <RegExpr attribute="Operator" String="[$][\({]" context="VarFromValue"/> + <RegExpr attribute="Special" context="#pop" String="@[-_\d\w]*@" /> + <DetectChar attribute="Operator" char=";" context="#pop"/> + </context> + + <context name="VarFromValue" attribute="Variable" lineEndContext="#stay"> + <RegExpr attribute="Operator" String="[\)}](?=/)" context="#pop"/> + <RegExpr attribute="Operator" String="[\)}][^$]" context="#pop"/> + <RegExpr attribute="Operator" String="[\)}]$" context="#pop#pop"/> + </context> + + <context name="VarFromNormal" attribute="Variable" lineEndContext="#stay"> + <AnyChar attribute="Operator" String=")}" context="#pop"/> + </context> + + <context name="Commands" attribute="Normal Text" lineEndContext="#pop"> + <RegExpr attribute="Operator" context="VarFromNormal" String="[$][\({]"/> + <RegExpr attribute="Commands" context="#pop" String="[_\w-]*\b"/> + </context> + + </contexts> + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Keyword" defStyleNum="dsKeyword"/> + <itemData name="Comment" defStyleNum="dsComment"/> + <itemData name="String" defStyleNum="dsString"/> + <itemData name="Variable" defStyleNum="dsDataType"/> + <itemData name="Target" defStyleNum="dsDecVal"/> + <itemData name="Section" defStyleNum="dsOthers"/> + <itemData name="Operator" defStyleNum="dsChar"/> + <itemData name="Commands" defStyleNum="dsBaseN"/> + <itemData name="Special" defStyleNum="dsFloat"/> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name = "singleLine" start = "#"/> + </comments> + <keywords casesensitive = "1" /> + </general> +</language> diff --git a/kate/data/mason.xml b/kate/data/mason.xml new file mode 100644 index 000000000..3fd1b4992 --- /dev/null +++ b/kate/data/mason.xml @@ -0,0 +1,203 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language version="1.04" kateversion="2.1" name="Mason" section="Scripts" extensions="*.html;" mimetype=""> +<highlighting> + <list name="keywords"> + <item> sub </item> + <item> bless </item> + <item> caller </item> + <item> cmp </item> + <item> print </item> + <item> echo </item> + <item> die </item> + <item> import </item> + <item> lt </item> + <item> le </item> + <item> local </item> + <item> last </item> + <item> ! </item> + <item> || </item> + <item> eq </item> + <item> ne </item> + <item> use </item> + <item> elsif </item> + <item> my </item> + <item> foreach </item> + <item> wantarray </item> + <item> push </item> + <item> pop </item> + <item> dbmclose </item> + <item> dbmopen </item> + <item> dump </item> + <item> each </item> + <item> ge </item> + <item> gt </item> + <item> split </item> + <item> open </item> + <item> close </item> + <item> eval </item> + <item> chomp </item> + <item> chop </item> + <item> unless </item> + <item> undef </item> + <item> next </item> + <item> unlink </item> + <item> new </item> + <item> and </item> + <item> not </item> + <item> no </item> + <item> ref </item> + <item> redo </item> + <item> require </item> + <item> tied </item> + <item> tie </item> + <item> untie </item> + <item> or </item> + <item> xor </item> + <item> continue </item> + <item> do </item> + <item> else </item> + <item> for </item> + <item> goto </item> + <item> if </item> + <item> return </item> + <item> switch </item> + <item> while </item> + </list> + + <contexts> + <context attribute="HTML" lineEndContext="#stay" name="HTML"> + <RegExpr attribute="Mason Tag" context="EmbeddedPerl" String="<\%method[^>]*>" /> + <StringDetect attribute="Mason Tag" context="EmbeddedPerl" String="<%method>" insensitive="FALSE" /> + <StringDetect attribute="Comment" context="Documentation" String="<%doc>" insensitive="FALSE" /> + + <StringDetect attribute="Mason Tag" context="EmbeddedPerl" String="<%perl>" insensitive="FALSE" /> + <Detect2Chars attribute="Mason Tag" context="EmbeddedPerl" char="<" char1="%" /> + <Detect2Chars attribute="Mason Method" context="MethodCall" char="<" char1="&" /> + <RegExpr attribute="Mason Tag" context="PerlOneLiner" String="^%" /> + </context> + + <context attribute="normal" lineEndContext="#stay" name="EmbeddedPerl"> + <Detect2Chars attribute="Mason Tag" context="#pop" char="%" char1=">" /> + <StringDetect attribute="Mason Tag" context="#pop" String="</%perl>" insensitive="FALSE" /> + <StringDetect attribute="Mason Tag" context="#pop" String="</%method>" insensitive="FALSE" /> + <keyword attribute="Keyword" context="#stay" String="keywords"/> + <keyword attribute="Data Type" context="#stay" String="types"/> + <HlCOct attribute="Octal" context="#stay"/> + <HlCHex attribute="Hex" context="#stay"/> + <Int attribute="Decimal" context="#stay" /> + <HlCChar attribute="Char" context="#stay"/> + <RegExpr attribute="Keyword" context="#stay" String="^#!.*" /> + <DetectChar attribute="String" context="String" char="""/> + <DetectChar attribute="String" context="String2" char="'"/> + <DetectChar attribute="String Char" context="String" char="`"/> + <Detect2Chars attribute="Comment" context="Commentar 1" char="/" char1="/"/> + <Detect2Chars attribute="Comment" context="Commentar 2" char="/" char1="*"/> + <Detect2Chars attribute="Pattern" context="Pattern2" char="s" char1="/" /> + <DetectChar attribute="Pattern" context="Pattern" char="/" /> + <AnyChar attribute="Symbol" context="#stay" String="!%&()+,-<=>?[]^{|}~"/> + <RegExpr attribute="Decimal" context="#stay" String="\$[0-9]+" /> + <RegExpr attribute="Data Type" context="#stay" String="\$\#?[a-zA-Z_]+[a-zA-Z0-9_]*" /> + <RegExpr attribute="Pattern" context="#stay" String="\s+\:" /> + <DetectChar attribute="Comment" context="Commentar 1" char="#" /> + </context> + + <context attribute="String" lineEndContext="#stay" name="String"> + <LineContinue attribute="String" context="#stay"/> + <HlCStringChar attribute="String Char" context="#stay"/> + <DetectChar attribute="String" context="#pop" char="""/> + <RegExpr attribute="Decimal" context="#stay" String="\$[0-9]+" /> + <RegExpr attribute="Data Type" context="#stay" String="\$[a-zA-Z_]*[a-zA-Z0-9_]*" /> + </context> + + <context attribute="Comment" lineEndContext="#pop" name="Commentar 1"/> + + <context attribute="Comment" lineEndContext="#stay" name="Commentar 2"> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/"/> + </context> + + <context attribute="Pattern" lineEndContext="#stay" name="Pattern"> + <RegExpr attribute="String Char" context="#stay" String="\\[\/\[\]dDwWsSnrtfb0\$@]?" /> + <RegExpr attribute="String Char" context="#stay" String="\^[\/\[\]]?" /> + <DetectChar attribute="Pattern" context="#pop" char="/" /> + </context> + + <context attribute="Pattern" lineEndContext="#stay" name="Pattern2"> + <RegExpr attribute="String Char" context="#stay" String="\\[\/\[\]dDwWsSnrtfb0\$@]?" /> + <RegExpr attribute="String Char" context="#stay" String="\^[\/\[\]]?" /> + <RegExpr attribute="Pattern" context="Pattern3" String="\/" /> + </context> + + <context attribute="Pattern" lineEndContext="#stay" name="Pattern3"> + <RegExpr attribute="String Char" context="#stay" String="\\[\/\[\]dDwWsSnrtfb0\$@]?" /> + <RegExpr attribute="String Char" context="#stay" String="\^[\/\[\]]?" /> + <RegExpr attribute="Pattern" context="#pop#pop" String="\/g?" /> + </context> + + <context attribute="String Char" lineEndContext="#stay" name="Something"> + <DetectChar attribute="String Char" context="#pop" char="`"/> + </context> + + <context attribute="String" lineEndContext="#stay" name="String2"> + <LineContinue attribute="String" context="#stay"/> + <Detect2Chars attribute="String Char" context="#stay" char="\" char1="'"/> + <DetectChar attribute="String" context="#pop" char="'"/> + </context> + + <context attribute="String" lineEndContext="#pop" name="PerlOneLiner"> + <keyword attribute="Keyword" context="#stay" String="keywords"/> + <keyword attribute="Data Type" context="#stay" String="types"/> + <HlCOct attribute="Octal" context="#stay"/> + <HlCHex attribute="Hex" context="#stay"/> + <Int attribute="Decimal" context="#stay" /> + <HlCChar attribute="Char" context="#stay"/> + <RegExpr attribute="Keyword" context="#stay" String="^#!.*" /> + <RegExpr attribute="String" context="#stay" String=""[^"]*""/> + <RegExpr attribute="String" context="#stay" String="'[^']*'"/> + <DetectChar attribute="String Char" context="Something" char="`"/> + <Detect2Chars attribute="Comment" context="Commentar 1" char="/" char1="/"/> + <Detect2Chars attribute="Comment" context="Commentar 2" char="/" char1="*"/> + <Detect2Chars attribute="Pattern" context="Pattern2" char="s" char1="/" /> + <AnyChar attribute="Symbol" context="#stay" String="!%&()+,-<=>?[]^{|}~"/> + <RegExpr attribute="Decimal" context="#stay" String="\$[0-9]+" /> + <RegExpr attribute="Data Type" context="#stay" String="\$\#?[a-zA-Z_]+[a-zA-Z0-9_]*" /> + <RegExpr attribute="Pattern" context="#stay" String="\s+\:" /> + <RegExpr attribute="Comment" context="#stay" String="\#.*" /> + </context> + + <context attribute="Comment" lineEndContext="#stay" name="Documentation"> + <StringDetect attribute="Comment" context="#pop" String="</%doc>" insensitive="FALSE" /> + </context> + + <context attribute="Mason Method" lineEndContext="#stay" name="MethodCall"> + <Detect2Chars attribute="Mason Method" context="#pop" char="&" char1=">" /> + </context> + </contexts> + + <itemDatas> + <itemData name="normal" 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="String" defStyleNum="dsString"/> + <itemData name="String Char" defStyleNum="dsChar"/> + <itemData name="Comment" defStyleNum="dsComment"/> + <itemData name="Symbol" defStyleNum="dsNormal"/> + <itemData name="Pattern" defStyleNum="dsOthers"/> + <itemData name="Mason Tag" defStyleNum="dsKeyword"/> + <itemData name="Mason Method" defStyleNum="dsKeyword"/> + <itemData name="HTML" defStyleNum="dsString"/> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="singleLine" start="#" /> + <comment name="multiLine" start="<%doc>" end="<%doc>"/> + </comments> + <keywords casesensitive="1" /> + </general> +</language> diff --git a/kate/data/matlab.xml b/kate/data/matlab.xml new file mode 100644 index 000000000..b4b6fbc0b --- /dev/null +++ b/kate/data/matlab.xml @@ -0,0 +1,222 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + ==================================================================== + MATLAB syntax highlighting file for the KDE editors Kate and Kwrite + ==================================================================== + works (at least) for MATLAB versions 5.3, 6.0, 6.1, 6.5, 6.5sp1 + works with Kate 2.2 and with Kwrite 4.2 (KDE 3.2) + + This file works only for syntactically correct MATLAB code. For incorrect + code, the behaviour is undefined. One exception is made: Incomplete strings + with missing closing delimiter are highlighted separately, just as in the + native editor of MATLAB does. + + Highlighting errors never propagate across line breaks. + + Most of this XML file is straight and simple. Only the character ' (') + needs nontrivial treatment, since it is both a postfix operator indicating + complex conjugate transpose (adjoint) and a string delimiter. It is an + adjoint operator in the following positions: + 1) immediately after an identifier (variable, function, but not keyword) + 2) immediately after a number literal + 3) immediately after the closing parenthesis ), ] and } + 4) immediately after a simple transpose operator .' + 5) immediately after another adjoint operator ' + In all other cases it is a string delimiter. + + This is implemented using look-ahead regexps. If one of the entities in the + above cases 1-4 (identifier, number literal, ...) matches and look-ahead + shows that it is followed by a ', the entity is highlighted and control is + passed to the special context _adjoint, whose sole purpose is to correctly + highlight a series of ' (thus covering case 5 as well). _adjoint immediately + returns to the default context _normal. + + MATLAB number literals are different from those in C and similar languages: + a) All numbers literals are doubles. There is no distinction between float and int. + b) There is no notation of hex or oct base integers. + c) The symbols i or j may be attached to a number to indicate a multiplication + with the imaginary unit. + + MATLAB identifiers have to start with a letter followed by any number of letters, + digits and underscores. + + There is a small number of reserved keywords, which cannot be the target of an + assignment. All other identifiers (including all of the many 100s of MATLAB commands) + can be redefined. Consequently, only the reserved keywords are highlighted. + + At the end of the XML file, there is MATLAB testing code for developers. + + Change log: + 19-Nov-03 Created from scratch. + 08-Mar-04 Small corrections. Added default colors of MATLAB editor. + + Author: Stefan Stoll, Swiss Federal Institute of Technology, Zurich +--> + +<!DOCTYPE language SYSTEM "language.dtd"> + +<language name="Matlab" version="1.20" kateversion="2.2" section="Scientific" extensions="*.m;*.M" mimetype="text/mfile" casesensitive="1"> + <highlighting> + + <!-- Reserved keywords in MATLAB --> + <list name="KeywordsList"> + <item> break </item> + <item> case </item> + <item> catch </item> + <item> continue </item> + <item> else </item> + <item> elseif </item> + <item> end </item> + <item> for </item> + <item> function </item> + <item> global </item> + <item> if </item> + <item> otherwise </item> + <item> persistent </item> + <item> return </item> + <item> switch </item> + <item> try </item> + <item> while </item> + </list> + + <contexts> + + <context name="_normal" attribute="Normal Text" lineEndContext="#pop"> + + <!-- Look-ahead for adjoint ' after variable, number literal, closing braces and .' --> + <RegExpr context="_adjoint" attribute="Variable" String="[a-zA-Z]\w*(?=')" /> + <RegExpr context="_adjoint" attribute="Number" String="(\d+(\.\d+)?|\.\d+)([eE][+-]?\d+)?[ij]?(?=')" /> + <RegExpr context="_adjoint" attribute="Delimiter" String="[\)\]}](?=')" /> + <RegExpr context="_adjoint" attribute="Operator" String="\.'(?=')" /> + + <!-- If ' is not the adjoint operator, it starts a string or an unterminated string --> + <RegExpr context="#stay" attribute="String" String="'[^']*(''[^']*)*'(?=[^']|$)" /> + <RegExpr context="#stay" attribute="Incomplete String" String="'[^']*(''[^']*)*" /> + + <!-- Handling of keywords, comments, system commands, identifiers, numbers and braces --> + <keyword context="#stay" attribute="Keyword" String="KeywordsList" /> + <RegExpr context="#stay" attribute="Comment" String="%.*$" /> + <RegExpr context="#stay" attribute="System" String="!.*$" /> + <RegExpr context="#stay" attribute="Variable" String="[a-zA-Z]\w*" /> + <RegExpr context="#stay" attribute="Number" String="(\d+(\.\d+)?|\.\d+)([eE][+-]?\d+)?[ij]?" /> + <AnyChar context="#stay" attribute="Delimiter" String="()[]{}"/> + + <!-- Three and two-character operators --> + <StringDetect context="#stay" attribute="Operator" String="..."/> + <StringDetect context="#stay" attribute="Operator" String="=="/> + <StringDetect context="#stay" attribute="Operator" String="~="/> + <StringDetect context="#stay" attribute="Operator" String="<="/> + <StringDetect context="#stay" attribute="Operator" String=">="/> + <StringDetect context="#stay" attribute="Operator" String="&&"/> + <StringDetect context="#stay" attribute="Operator" String="||"/> + <StringDetect context="#stay" attribute="Operator" String=".*"/> + <StringDetect context="#stay" attribute="Operator" String=".^"/> + <StringDetect context="#stay" attribute="Operator" String="./"/> + <StringDetect context="#stay" attribute="Operator" String=".'"/> + + <!-- Single-character operators --> + <AnyChar context="#stay" attribute="Operator" String="*+-/\&|<>~^=,;:@"/> + + </context> + + <!-- Context entered after encountering an ' adjoint operator --> + <context name="_adjoint" attribute="Operator" lineEndContext="#pop"> + <RegExpr context="#pop" attribute="Operator" String="'+" /> + </context> + + </contexts> + + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal" /> + <itemData name="Variable" defStyleNum="dsNormal" /> + <itemData name="Operator" defStyleNum="dsNormal"/> + <itemData name="Number" defStyleNum="dsFloat" /> + <itemData name="Delimiter" defStyleNum="dsNormal" /> + <itemData name="String" defStyleNum="dsString" color="#b20000"/> + <itemData name="System" defStyleNum="dsBaseN" color="#b28c00"/> + <itemData name="Incomplete String" defStyleNum="dsChar" color="#a020f0"/> + <itemData name="Keyword" defStyleNum="dsNormal" color="#0000ff"/> + <itemData name="Comment" defStyleNum="dsComment" color="#009900"/> + </itemDatas> + <!-- MATLAB 6.5 default color scheme + keywords #0000ff + comments #228b22 + strings #b20000 + unterminated strings #a020f0 + system commands #b28c00 + errors #ff0000 + all others #000000 + --> + + </highlighting> + + <general> + <comments> + <comment name="singleLine" start="% " /> + </comments> + <keywords casesensitive="1" weakDeliminator=""/> + </general> + +</language> +<!-- +%%===================================================== +% MATLAB test code for Kate/Kwrite syntax highlighting +%%===================================================== + +% Numbers _____________________________________________ +5, 5.5, .1, 0.1, 0.4e5, 1.2e-5, 5i, 5.3i, 6j, .345+3i +5', 5.5', .1', 0.1', 0.4e5', 1.2e-5', 5i', 5.3i', 6j', .345+3i' + +% Operators ___________________________________________ +% relational operators +'asdf'~=4, c<=4, d>=4, a<b, a>b, a==b, b||c, b&&c +% elementwise arithmetic operators +a.^b, a.*b a./b, 1:4:5 +% single-character binary arithmetic +a+3, a-3, a*2, a^3, a/3, a\3, a|b, a&b +% unary operators +a = ~g; g = @sfdgdsf(sdfsd,345); g.' + 1i.' - ('asdf').' +% separators and delimiter +(asd),[sadf];{asdf},;;,;;;() +% continuation +a = 1+ ... + 2; + +% Strings and adjoint _________________________________ +% incomplete strings +'string +'str'' +'str''ing +% complete strings +'string' % simple string +'''' % string containing ' +'str''ing' % one string containing ' +'string' 'string' % two strings +'asdf' 'asdf''' variable % two strings and a variable +'asdf''asdf'' fsgdfg' + (asdf)' - 'asdf'.' + []''''.';'' +'sadf'.' % string transpose +% adjoint +{'asdf'}' + 1 +('asdf')' + 1 +['asdf']' + 1 +'' var''' % empty string, var with >1 adjoints +[5]'*{5}'*('asd')'.'+(5)'*6'*asdf'*asdf'.' % many adjoints +A'*B + 1 % adjoint +A.'*B + 1 % transpose +A.'.'*B + 1 % double transpose +A'.' + 1 % adjoint, then transpose +A.'' % transpose, then adjoint + +% System command ______________________________________ +!hostname +!cp * /tmp + +% Reserved keywords ___________________________________ +function, persistent, global +switch, case, otherwise +if, else, elseif +try, catch +for, while, break, continue +end, return +function, FUNCTION, Function % case sensitive! +--> diff --git a/kate/data/mediawiki.xml b/kate/data/mediawiki.xml new file mode 100644 index 000000000..f10fe6586 --- /dev/null +++ b/kate/data/mediawiki.xml @@ -0,0 +1,95 @@ +<?xml version = '1.0' encoding = 'UTF-8'?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="MediaWiki" section="Markup" version="1.01" kateversion="2.4" extensions="" mimetype="" license="FDL" > + <highlighting> + <contexts> + <context attribute="Normal" lineEndContext="#stay" name="normal" > + <StringDetect String="<!--" context="comment" attribute="Comment" beginRegion="comment" /> + <RegExpr String="([=]{2,2}[^=]+[=]{2,2}|[=]{3,3}[^=]+[=]{3,3}|[=]{4,4}[^=]+[=]{4,4}|[=]{5,5}[^=]+[=]{5,5})" attribute="Section" column="0" /> + <RegExpr String="[~]{3,4}" attribute="Wiki-Tag" context="#stay" /> + <RegExpr String="[*#;:\s]*[*#:]+" attribute="Wiki-Tag" context="#stay" column="0" /> + <RegExpr String="[[](?![[])" attribute="Wiki-Tag" context="URL" /> + <RegExpr String="(http:|ftp:|mailto:)[\S]*($|[\s])" attribute="URL" context="#stay" /> + <RegExpr String="[']{2,}" attribute="Wiki-Tag" context="#stay" /> + <Detect2Chars char="{" char1="|" context="Table" attribute="Wiki-Tag" column="0" beginRegion="table" /> + <Detect2Chars char="{" char1="{" context="Template" attribute="Wiki-Tag" /> + <Detect2Chars char="[" char1="[" context="WikiLink" attribute="Wiki-Tag" /> + <RangeDetect char="&" char1=";" attribute="HTML-Entity" context="#stay" /> + <StringDetect String="<nowiki>" context="NoWiki" attribute="Wiki-Tag" /> + <StringDetect String="<pre>" context="Pre" attribute="HTML-Tag" /> + <RegExpr String="[<][^>]+[>]" attribute="HTML-Tag" context="#stay" /> + <RegExpr String="[\s]" context="Unformatted" column="0" /> + </context> + <context attribute="Normal" lineEndContext="#stay" name="Table" > + <StringDetect String="<!--" context="comment" attribute="Comment" /> + <RegExpr String="([=]{2,2}[^=]+[=]{2,2}|[=]{3,3}[^=]+[=]{3,3}|[=]{4,4}[^=]+[=]{4,4}|[=]{5,5}[^=]+[=]{5,5})" attribute="Section" context="#stay" column="0" /> + <RegExpr String="[*#;:\s]*[*#:]+" attribute="Wiki-Tag" context="#stay" column="0" /> + <RegExpr String="[[](?![[])" context="URL" attribute="Wiki-Tag" /> + <RegExpr String="(http:|ftp:|mailto:)[\S]*($|[\s])" attribute="URL" context="#stay" /> + <RegExpr String="[']{2,}" attribute="Wiki-Tag" context="#stay" /> + <Detect2Chars char="|" char1="}" context="#pop" attribute="Wiki-Tag" column="0" endRegion="table" /> + <DetectChar char="|" attribute="Wiki-Tag" context="#stay"/> + <Detect2Chars char="{" char1="{" context="Template" attribute="Wiki-Tag" /> + <Detect2Chars char="[" char1="[" context="WikiLink" attribute="Wiki-Tag" /> + <RangeDetect char="&" char1=";" attribute="HTML-Entity" context="#stay" /> + <StringDetect String="<nowiki>" context="NoWiki" attribute="Wiki-Tag" /> + <StringDetect String="<pre>" context="Pre" attribute="HTML-Tag" /> + <RegExpr String="[<][^>]+[>]" attribute="HTML-Tag" context="#stay" /> + <RegExpr String="[\s]" context="Unformatted" column="0" /> + <RegExpr String="[~]{3,4}" attribute="Wiki-Tag" context="#stay" /> + <RegExpr String="[-]{4,}" attribute="Wiki-Tag" context="#stay" /> + <DetectChar char="!" attribute="Wiki-Tag" context="#stay" column="0" /> + </context> + <context attribute="Comment" lineEndContext="#stay" name="comment" > + <StringDetect String="-->" context="#pop" attribute="Comment" endRegion="comment" /> + </context> + <context attribute="Link" lineEndContext="#stay" name="URL" > + <DetectChar char="]" context="#pop" attribute="Wiki-Tag" /> + <DetectChar char="'" context="Error" attribute="Error" /> + </context> + <context attribute="Link" lineEndContext="#stay" name="WikiLink" > + <DetectChar char="|" attribute="Wiki-Tag" context="#stay" /> + <Detect2Chars char="]" char1="]" context="#pop" attribute="Wiki-Tag" /> + <DetectChar char="'" context="Error" attribute="Error" /> + </context> + <context attribute="Template" lineEndContext="#stay" name="Link" > + <Detect2Chars char="}" char1="}" context="#pop" attribute="Wiki-Tag" /> + <AnyChar String="'[]" context="Error" attribute="Error" /> + </context> + <context attribute="Error" lineEndContext="#pop" name="Error" /> + <context attribute="Link" lineEndContext="#stay" name="Template" > + <Detect2Chars char="}" char1="}" context="#pop" attribute="Wiki-Tag" /> + <DetectChar char="'" context="Error" attribute="Error" /> + </context> + <context attribute="NoWiki" lineEndContext="#stay" name="NoWiki" > + <RegExpr String="<!--[^-]*-->" attribute="NoWiki" /> + <StringDetect String="</nowiki>" context="#pop" attribute="Wiki-Tag" /> + <RegExpr String="[<][^>]+[>]" attribute="HTML-Tag" context="#stay" /> + <StringDetect String="<pre>" context="Pre" attribute="HTML-Tag" /> + </context> + <context attribute="Unformatted" lineEndContext="#pop" name="Unformatted" /> + <context attribute="NoWiki" lineEndContext="#stay" name="Pre" > + <StringDetect String="</pre>" context="#pop" attribute="Wiki-Tag" /> + </context> + </contexts> + <itemDatas> + <itemData name="Normal" defStyleNum="dsNormal" /> + <itemData name="Link" defStyleNum="dsOthers" /> + <itemData name="URL" defStyleNum="dsOthers" /> + <itemData name="Comment" defStyleNum="dsComment" /> + <itemData name="Section" defStyleNum="dsKeyword" /> + <itemData name="HTML-Entity" defStyleNum="dsDecVal" /> + <itemData name="HTML-Tag" defStyleNum="dsKeyword" /> + <itemData name="Wiki-Tag" defStyleNum="dsDecVal" bold="true" /> + <itemData name="Error" defStyleNum="dsError" /> + <itemData name="NoWiki" defStyleNum="dsNormal" /> + <itemData name="Unformatted" defStyleNum="dsNormal" /> + </itemDatas> + </highlighting> + <general> + <comments> + <comment end="//-->" start="<!--" name="multiLine" /> + </comments> + <keywords casesensitive="0" /> + </general> +</language> diff --git a/kate/data/mips.xml b/kate/data/mips.xml new file mode 100644 index 000000000..c08b89df4 --- /dev/null +++ b/kate/data/mips.xml @@ -0,0 +1,359 @@ +<?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"> + <highlighting> + <list name="type"> + <item> .align </item> + <item> .ascii </item> + <item> .asciiz </item> + <item> .byte </item> + <item> .double </item> + <item> .extern </item> + <item> .float </item> + <item> .globl </item> + <item> .half </item> + <item> .sdata </item> + <item> .set </item> + <item> .space </item> + <item> .word </item> + </list> + <list name="section"> + <item> .data </item> + <item> .kdata </item> + <item> .ktext </item> + <item> .text </item> + </list> + <list name="hardware"> + <item> abs.d </item> + <item> abs.s </item> + <item> add </item> + <item> add.d </item> + <item> add.s </item> + <item> addi </item> + <item> addiu </item> + <item> addu </item> + <item> and </item> + <item> andi </item> + <item> bc0f </item> + <item> bc0t </item> + <item> bc1f </item> + <item> bc1t </item> + <item> bc2f </item> + <item> bc2t </item> + <item> bc3f </item> + <item> bc3t </item> + <item> beq </item> + <item> bgez </item> + <item> bgezal </item> + <item> bgtz </item> + <item> blez </item> + <item> bltz </item> + <item> bltzal </item> + <item> bne </item> + <item> break </item> + <item> c.eq.d </item> + <item> c.eq.s </item> + <item> c.seq.s </item> + <item> c.seq.d </item> + <item> c.ueq.s </item> + <item> c.ueq.d </item> + <item> c.olt.d </item> + <item> c.olt.s </item> + <item> c.ole.d </item> + <item> c.ole.s </item> + <item> c.ult.d </item> + <item> c.ult.s </item> + <item> c.ule.d </item> + <item> c.ule.s </item> + <item> c.le.d </item> + <item> c.le.s </item> + <item> c.lt.d </item> + <item> c.lt.s </item> + <item> c.un.s </item> + <item> c.un.d </item> + <item> cvt.d.s </item> + <item> cvt.d.w </item> + <item> cvt.s.d </item> + <item> cvt.s.w </item> + <item> cvt.w.d </item> + <item> cvt.w.s </item> + <item> div.d </item> + <item> div.s </item> + <item> j </item> + <item> jal </item> + <item> jalr </item> + <item> jr </item> + <item> lb </item> + <item> lbu </item> + <item> lh </item> + <item> lhu </item> + <item> lui </item> + <item> lw </item> + <item> lwc0 </item> + <item> lwc1 </item> + <item> lwc2 </item> + <item> lwc3 </item> + <item> lwl </item> + <item> lwr </item> + <item> mfc0 </item> + <item> mfc1 </item> + <item> mfc2 </item> + <item> mfc3 </item> + <item> mfhi </item> + <item> mflo </item> + <item> mtc0 </item> + <item> mtc1 </item> + <item> mtc2 </item> + <item> mtc3 </item> + <item> mthi </item> + <item> mtlo </item> + <item> mul.d </item> + <item> mul.s </item> + <item> mult </item> + <item> multu </item> + <item> nor </item> + <item> or </item> + <item> ori </item> + <item> rfe </item> + <item> sb </item> + <item> sh </item> + <item> sw </item> + <item> swcl </item> + <item> swl </item> + <item> swr </item> + <item> sll </item> + <item> sllv </item> + <item> slt </item> + <item> slti </item> + <item> sltiu </item> + <item> sra </item> + <item> srav </item> + <item> srl </item> + <item> srlv </item> + <item> sub </item> + <item> sub.d </item> + <item> sub.s </item> + <item> subu </item> + <item> sw </item> + <item> swc0 </item> + <item> swc1 </item> + <item> swc2 </item> + <item> swc3 </item> + <item> swl </item> + <item> swr </item> + <item> syscall </item> + <item> xor </item> + <item> xori </item> + </list> + <list name="pseudo"> + <item> abs </item> + <item> b </item> + <item> beqz </item> + <item> bge </item> + <item> bgeu </item> + <item> bgt </item> + <item> bgtu </item> + <item> ble </item> + <item> bleu </item> + <item> blt </item> + <item> bltu </item> + <item> bnez </item> + <item> div </item> + <item> divu </item> + <item> l.d </item> + <item> l.s </item> + <item> la </item> + <item> ld </item> + <item> li </item> + <item> li.d </item> + <item> li.s </item> + <item> mfc0.d </item> + <item> mfc1.d </item> + <item> mfc2.d </item> + <item> mfc3.d </item> + <item> mov.d </item> + <item> mov.s </item> + <item> move </item> + <item> mul </item> + <item> mulo </item> + <item> mulou </item> + <item> neg </item> + <item> neg.d </item> + <item> neg.s </item> + <item> negu </item> + <item> nop </item> + <item> not </item> + <item> rem </item> + <item> remu </item> + <item> rol </item> + <item> ror </item> + <item> s.d </item> + <item> s.s </item> + <item> sd </item> + <item> seq </item> + <item> sge </item> + <item> sgeu </item> + <item> sgt </item> + <item> sgtu </item> + <item> sle </item> + <item> sleu </item> + <item> sne </item> + <item> ulh </item> + <item> ulhu </item> + <item> ulw </item> + <item> ush </item> + <item> usw </item> + </list> + <list name="register1"> + <item> $0 </item> + <item> $1 </item> + <item> $2 </item> + <item> $3 </item> + <item> $4 </item> + <item> $5 </item> + <item> $6 </item> + <item> $7 </item> + <item> $8 </item> + <item> $9 </item> + <item> $10 </item> + <item> $11 </item> + <item> $12 </item> + <item> $13 </item> + <item> $14 </item> + <item> $15 </item> + <item> $16 </item> + <item> $17 </item> + <item> $18 </item> + <item> $19 </item> + <item> $20 </item> + <item> $21 </item> + <item> $22 </item> + <item> $23 </item> + <item> $24 </item> + <item> $25 </item> + <item> $26 </item> + <item> $27 </item> + <item> $28 </item> + <item> $29 </item> + <item> $30 </item> + <item> $31 </item> + <item> $zero </item> + <item> $t0 </item> + <item> $t1 </item> + <item> $t2 </item> + <item> $t3 </item> + <item> $t4 </item> + <item> $t5 </item> + <item> $t6 </item> + <item> $t7 </item> + <item> $t8 </item> + <item> $t9 </item> + </list> + <list name="register2"> + <item> $v0 </item> + <item> $v1 </item> + <item> $a0 </item> + <item> $a1 </item> + <item> $a2 </item> + <item> $a3 </item> + <item> $k0 </item> + <item> $k1 </item> + <item> $at </item> + <item> $gp </item> + <item> $sp </item> + <item> $fp </item> + <item> $s0 </item> + <item> $s1 </item> + <item> $s2 </item> + <item> $s3 </item> + <item> $s4 </item> + <item> $s5 </item> + <item> $s6 </item> + <item> $s7 </item> + <item> $ra </item> + </list> + <list name="fp"> + <item> $f0 </item> + <item> $f1 </item> + <item> $f2 </item> + <item> $f3 </item> + <item> $f4 </item> + <item> $f5 </item> + <item> $f6 </item> + <item> $f7 </item> + <item> $f8 </item> + <item> $f9 </item> + <item> $f10 </item> + <item> $f11 </item> + <item> $f12 </item> + <item> $f13 </item> + <item> $f14 </item> + <item> $f15 </item> + <item> $f16 </item> + <item> $f17 </item> + <item> $f18 </item> + <item> $f19 </item> + <item> $f20 </item> + <item> $f21 </item> + <item> $f22 </item> + <item> $f23 </item> + <item> $f24 </item> + <item> $f25 </item> + <item> $f26 </item> + <item> $f27 </item> + <item> $f28 </item> + <item> $f29 </item> + <item> $f30 </item> + <item> $f31 </item> + </list> + <contexts> + <context name="normal" attribute="Normal Text" lineEndContext="#stay"> + <keyword attribute="Hardware Instruction" context="#stay" String="hardware"/> + <keyword attribute="Pseudo Instruction" context="#stay" String="pseudo"/> + <keyword attribute="Other Register" context="#stay" String="register1"/> + <keyword attribute="Main Register" context="#stay" String="register2"/> + <keyword attribute="Floating Point Register" context="#stay" String="fp"/> + <keyword attribute="Type" context="#stay" String="section"/> + <keyword attribute="Section" context="#stay" String="type"/> + <RegExpr attribute="Region Marker" context="#stay" String="#\s*BEGIN.*$" beginRegion="region" firstNonSpace="true"/> + <RegExpr attribute="Region Marker" context="#stay" String="#\s*END.*$" endRegion="region" firstNonSpace="true"/> + <RegExpr attribute="Comment" context="#stay" String="#.*$" /> + <RegExpr attribute="Label" context="#stay" String="[\w_\.]+:" firstNonSpace="true"/> + <DetectChar attribute="String" context="string" char=""" /> + <Float attribute="Float" context="#stay"/> + <HlCOct attribute="Octal" context="#stay"/> + <HlCHex attribute="Hex" context="#stay"/> + <Int attribute="Decimal" context="#stay"/> + </context> + <context name="string" attribute="String" lineEndContext="#stay" > + <RegExpr attribute="Char" context="#stay" String="\\." /> + <DetectChar attribute="String" context="#pop" char=""" /> + </context> + </contexts> + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal" /> + <itemData name="Hardware Instruction" defStyleNum="dsKeyword" /> + <itemData name="Pseudo Instruction" defStyleNum="dsFunction"/> + <itemData name="Other Register" defStyleNum="dsDataType" color="#0000ff"/> + <itemData name="Main Register" defStyleNum="dsDataType"/> + <itemData name="Floating Point Register" defStyleNum="dsFloat"/> + <itemData name="Section" defStyleNum="dsDataType"/> + <itemData name="Type" defStyleNum="dsKeyword"/> + <itemData name="Comment" defStyleNum="dsComment" /> + <itemData name="Char" defStyleNum="dsChar" /> + <itemData name="String" defStyleNum="dsString" /> + <itemData name="Label" defStyleNum="dsOthers" /> + <itemData name="Decimal" defStyleNum="dsDecVal"/> + <itemData name="Octal" defStyleNum="dsBaseN"/> + <itemData name="Hex" defStyleNum="dsBaseN"/> + <itemData name="Float" defStyleNum="dsFloat"/> + <itemData name="Region Marker" defStyleNum="dsRegionMarker"/> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="singleLine" start="#" /> + </comments> + <keywords casesensitive="0" weakDeliminator="."/> + </general> +</language> diff --git a/kate/data/modula-2.xml b/kate/data/modula-2.xml new file mode 100644 index 000000000..c48fc09cd --- /dev/null +++ b/kate/data/modula-2.xml @@ -0,0 +1,188 @@ +<?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"> + <highlighting> + <list name="directives"> + <item> ASSEMBLER </item> + <item> ALLOCATE </item> + <item> DEALLOCATE </item> + <item> SIZE </item> + <item> Write </item> + <item> WriteString </item> + <item> WriteCard </item> + <item> WriteLn </item> + <item> WriteBf </item> + <item> WriteInt </item> + <item> WriteReal </item> + <item> WriteLongReal </item> + <item> Read </item> + <item> ReadString </item> + <item> ReadCard </item> + <item> ReadInt </item> + <item> ReadReal </item> + <item> ReadLongReal </item> + <item> Open </item> + <item> Close </item> + <item> OpenInput </item> + <item> OpenOutput </item> + <item> Accessible </item> + <item> Erase </item> + <item> EOF </item> + <item> Done </item> + <item> EmptyString </item> + <item> Assign </item> + <item> Append </item> + <item> Length </item> + <item> StrEq </item> + <item> Copy </item> + <item> Concat </item> + <item> pos </item> + <item> Delete </item> + <item> Insert </item> + <item> compare </item> + <item> CAPS </item> + <item> PutBf </item> + <item> GetArgs </item> + <item> GetEnv </item> + <item> ResetClock </item> + <item> UserTime </item> + <item> SystemTime </item> + <item> GetChar </item> + <item> GetInt </item> + <item> GetCard </item> + <item> GetString </item> + <item> GetReal </item> + <item> GetLongReal </item> + <item> PutChar </item> + <item> PutInt </item> + <item> PutCard </item> + <item> PutString </item> + <item> PutReal </item> + <item> PutLongReal </item> + <item> PutLn </item> + </list> + <list name="keywords"> + <item> AND </item> + <item> ARRAY </item> + <item> ASM </item> + <item> BEGIN </item> + <item> CASE </item> + <item> CONST </item> + <item> DIV </item> + <item> DO </item> + <item> ELSE </item> + <item> ELSIF </item> + <item> END </item> + <item> FOR </item> + <item> IF </item> + <item> IMPLEMENTATION </item> + <item> IN </item> + <item> SET </item> + <item> INCL </item> + <item> EXCL </item> + <item> ABS </item> + <item> BITSET </item> + <item> CAP </item> + <item> CHR </item> + <item> DEC </item> + <item> HALT </item> + <item> HIGH </item> + <item> INC </item> + <item> MAX </item> + <item> MIN </item> + <item> ODD </item> + <item> ORD </item> + <item> PROC </item> + <item> TRUNC </item> + <item> VAL </item> + <item> MOD </item> + <item> NIL </item> + <item> NOT </item> + <item> OF </item> + <item> OR </item> + <item> PROCEDURE </item> + <item> MODULE </item> + <item> DEFINITION </item> + <item> RECORD </item> + <item> REPEAT </item> + <item> THEN </item> + <item> TO </item> + <item> TYPE </item> + <item> UNTIL </item> + <item> LOOP </item> + <item> VAR </item> + <item> WHILE </item> + <item> WITH </item> + <item> EXIT </item> + <item> FALSE </item> + <item> TRUE </item> + <item> BY </item> + <item> FROM </item> + <item> IMPORT </item> + <item> EXPORT </item> + <item> QUALIFIED </item> + <item> RETURN </item> + <item> NEWPROCESS </item> + <item> TRANSFER </item> + <item> IOTRANSFER </item> + <item> FOREIGN </item> + </list> + <list name="types"> + <item> INTEGER </item> + <item> CARDINAL </item> + <item> SHORTINT </item> + <item> SHORTCARD </item> + <item> LONGINT </item> + <item> LONGREAL </item> + <item> CHAR </item> + <item> BOOLEAN </item> + <item> POINTER </item> + <item> ADDRESS </item> + <item> ADR </item> + <item> REAL </item> + <item> File </item> + </list> + <contexts> + <context attribute="Normal Text" lineEndContext="#stay" name="Normal"> + <keyword attribute="Keyword" context="#stay" String="keywords"/> + <keyword attribute="Directive" context="#stay" String="directives"/> + <keyword attribute="Type" context="#stay" String="types"/> + <Float attribute="Number" context="#stay"/> + <Int attribute="Number" context="#stay"/> + <DetectChar attribute="String" context="String1" char=""" /> + <DetectChar attribute="String" context="String2" char="'" /> + <StringDetect attribute="Directive" context="Prep1" String="(*$"/> + <Detect2Chars attribute="Comment" context="Comment2" char="(" char1="*"/> + </context> + <context attribute="String" lineEndContext="#pop" name="String1"> + <DetectChar attribute="String" context="#pop" char="""/> + </context> + <context attribute="String" lineEndContext="#pop" name="String2"> + <DetectChar attribute="String" context="#pop" char="'" /> + </context> + <context attribute="Comment" lineEndContext="#stay" name="Comment2"> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1=")"/> + </context> + <context attribute="Comment" lineEndContext="#pop" name="Comment3" /> + <context attribute="Directive" lineEndContext="#stay" name="Prep1"> + <StringDetect attribute="Directive" context="Prep1" String="$*)"/> + </context> + + </contexts> + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal" /> + <itemData name="Keyword" defStyleNum="dsKeyword" /> + <itemData name="Type" defStyleNum="dsDataType"/> + <itemData name="Number" defStyleNum="dsDecVal" /> + <itemData name="String" defStyleNum="dsString" /> + <itemData name="Directive" defStyleNum="dsOthers" /> + <itemData name="Comment" defStyleNum="dsComment" /> + </itemDatas> + </highlighting> + <general> + <keywords casesensitive="1" /> + <comments> + <comment name="multiLine" start="(*" end="*)" /> + </comments> + </general> +</language> diff --git a/kate/data/mup.xml b/kate/data/mup.xml new file mode 100644 index 000000000..890cf8c40 --- /dev/null +++ b/kate/data/mup.xml @@ -0,0 +1,865 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="Music Publisher" version="1.06" kateversion="2.4" section="Other" extensions="*.mup;*.not" mimetype="text/x-mup;audio/x-mup;application/x-mup;audio/x-notes" casesensitive="1" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL"> + + <highlighting> + + <list name="mupcontexts"> + <item> score </item> + <item> music </item> + <item> header </item> + <item> header2 </item> + <item> footer </item> + <item> footer2 </item> + <item> top </item> + <item> top2 </item> + <item> bottom </item> + <item> bottom2 </item> + <item> staff </item> + <item> voice </item> + <item> grids </item> + <item> music </item> + <item> headshapes </item> + <item> block </item> + </list> + + + <list name="mupparameters"> + <item> aboveorder </item> + <item> addtranspose </item> + <item> barstyle </item> + <item> beamslope </item> + <item> beamstyle </item> + <item> beloworder </item> + <item> betweenorder </item> + <item> bottommargin </item> + <item> brace </item> + <item> bracket </item> + <item> cancelkey </item> + <item> chorddist </item> + <item> clef </item> + <item> crescdist </item> + <item> defoct </item> + <item> dist </item> + <item> division </item> + <item> dyndist </item> + <item> endingstyle </item> + <item> firstpage </item> + <item> font </item> + <item> fontfamily </item> + <item> gridfret </item> + <item> gridsatend </item> + <item> gridscale </item> + <item> gridswhereused </item> + <item> key </item> + <item> label </item> + <item> label2 </item> + <item> leftmargin </item> + <item> lyricsalign </item> + <item> lyricsfont </item> + <item> lyricsfontfamily </item> + <item> lyricssize </item> + <item> measnum </item> + <item> measnumfont </item> + <item> measnumfontfamily </item> + <item> measnumsize </item> + <item> noteheads </item> + <item> numbermrpt </item> + <item> ontheline </item> + <item> packexp </item> + <item> packfact </item> + <item> pad </item> + <item> pageheight </item> + <item> pagewidth </item> + <item> panelsperpage </item> + <item> pedstyle </item> + <item> printmultnum </item> + <item> rehstyle </item> + <item> release </item> + <item> restcombine </item> + <item> restsymmult </item> + <item> rightmargin </item> + <item> scale </item> + <item> scorepad </item> + <item> scoresep </item> + <item> size </item> + <item> stafflines </item> + <item> staffpad </item> + <item> staffs </item> + <item> staffscale </item> + <item> staffsep </item> + <item> stemlen </item> + <item> swingunit </item> + <item> sylposition </item> + <item> tabwhitebox </item> + <item> time </item> + <item> timeunit </item> + <item> topmargin </item> + <item> transpose </item> + <item> units </item> + <item> visible </item> + <item> vscheme </item> + <item> warn </item> + </list> + + + <list name="mupvalues"> + <item> y </item> + <item> n </item> + <item> 2f </item> + <item> 2o </item> + <item> 3f </item> + <item> 3o </item> + <item> mussym </item> + <item> octave </item> + <item> dyn </item> + <item> othertext </item> + <item> chord </item> + <item> lyrics </item> + <item> ending </item> + <item> reh </item> + <item> up </item> + <item> down </item> + <item> major </item> + <item> minor </item> + <item> perfect </item> + <item> augmented </item> + <item> diminished </item> + <item> maj </item> + <item> min </item> + <item> per </item> + <item> aug </item> + <item> dim </item> + <item> pedal </item> + <item> 8treble </item> + <item> treble8 </item> + <item> treble </item> + <item> frenchviolin </item> + <item> soprano </item> + <item> mezzosoprano </item> + <item> alto </item> + <item> tenor </item> + <item> baritone </item> + <item> bass </item> + <item> cut </item> + <item> common </item> + <item> line </item> + <item> alt </item> + <item> pedstar </item> + <item> top </item> + <item> barred </item> + <item> grouped </item> + <item> times </item> + <item> boxed </item> + <item> circled </item> + <item> plain </item> + <item> 1n </item> + <item> 5n </item> + <item> 1drum </item> + <item> 5drum </item> + <item> drum </item> + <item> tab </item> + <item> inches </item> + <item> cm </item> + <item> whereused </item> + </list> + + + <list name="mupmacrodirectives_start"> + <item> define </item> + <item> ifdef </item> + <item> ifndef </item> + </list> + + + <list name="mupmacrodirectives_end"> + <item> @ </item> + <item> endif </item> + </list> + + + <list name="mupmacrodirectives"> + <item> else </item> + <item> include </item> + <item> undef </item> + </list> + + + <list name="mupspecialchars"> + <item> exclamdown </item> + <item> questiondown </item> + <item> sterling </item> + <item> yen </item> + <item> cent </item> + <item> quotedblbase </item> + <item> quotedblleft </item> + <item> `` </item> + <item> quotedblright </item> + <item> '' </item> + <item> guillemotleft </item> + <item> << </item> + <item> guillemotright </item> + <item> >> </item> + <item> guildsinglleft </item> + <item> guilsinglright </item> + <item> dagger </item> + <item> daggerdbl </item> + <item> grave </item> + <item> acute </item> + <item> macron </item> + <item> breve </item> + <item> dotaccent </item> + <item> dieresis </item> + <item> ring </item> + <item> cedilla </item> + <item> hungarumlaut </item> + <item> ogonek </item> + <item> caron </item> + <item> emdash </item> + <item> AE </item> + <item> ae </item> + <item> ordfeminine </item> + <item> ordmasculine </item> + <item> Lslash </item> + <item> L/ </item> + <item> lslash </item> + <item> l/ </item> + <item> Oslash </item> + <item> O/ </item> + <item> oslash </item> + <item> o/ </item> + <item> OE </item> + <item> oe </item> + <item> dotlessi </item> + <item> germandbls </item> + <item> ss </item> + <item> Aacute </item> + <item> A' </item> + <item> aacute </item> + <item> a' </item> + <item> Acircumflex </item> + <item> A^ </item> + <item> acircumflex </item> + <item> a^ </item> + <item> Adieresis </item> + <item> A: </item> + <item> adieresis </item> + <item> a: </item> + <item> Agrave </item> + <item> A` </item> + <item> agrave </item> + <item> a` </item> + <item> Aring </item> + <item> Ao </item> + <item> aring </item> + <item> ao </item> + <item> Atilde </item> + <item> A~ </item> + <item> atilde </item> + <item> a~ </item> + <item> Ccedilla </item> + <item> C, </item> + <item> ccedilla </item> + <item> c, </item> + <item> Eacute </item> + <item> E' </item> + <item> eacute </item> + <item> e' </item> + <item> Ecircumflex </item> + <item> E^ </item> + <item> ecircumflex </item> + <item> e^ </item> + <item> Edieresis </item> + <item> E: </item> + <item> edieresis </item> + <item> e: </item> + <item> Egrave </item> + <item> E` </item> + <item> egrave </item> + <item> e` </item> + <item> Iacute </item> + <item> I' </item> + <item> iacute </item> + <item> i' </item> + <item> Icircumflex </item> + <item> I^ </item> + <item> icircumflex </item> + <item> i^ </item> + <item> Idieresis </item> + <item> i: </item> + <item> idieresis </item> + <item> i: </item> + <item> Igrave </item> + <item> I` </item> + <item> igrave </item> + <item> i` </item> + <item> Ntilde </item> + <item> N~ </item> + <item> ntilde </item> + <item> n~ </item> + <item> Oacute </item> + <item> O' </item> + <item> oacute </item> + <item> o' </item> + <item> Ocircumflex </item> + <item> O^ </item> + <item> ocircumflex </item> + <item> o^ </item> + <item> Odieresis </item> + <item> O: </item> + <item> odieresis </item> + <item> o: </item> + <item> Ograve </item> + <item> O` </item> + <item> ograve </item> + <item> o` </item> + <item> Otilde </item> + <item> O~ </item> + <item> otilde </item> + <item> o~ </item> + <item> Scaron </item> + <item> Sv </item> + <item> scaron </item> + <item> sv </item> + <item> Uacute </item> + <item> U' </item> + <item> uacute </item> + <item> u' </item> + <item> Ucircumflex </item> + <item> U^ </item> + <item> ucircumflex </item> + <item> u^ </item> + <item> Udieresis </item> + <item> U: </item> + <item> udieresis </item> + <item> u: </item> + <item> Ugrave </item> + <item> U` </item> + <item> ugrave </item> + <item> u` </item> + <item> Ydieresis </item> + <item> Y: </item> + <item> ydieresis </item> + <item> y: </item> + <item> Zcaron </item> + <item> Zv </item> + <item> zcaron </item> + <item> zv </item> + <item> bullet </item> + <item> space </item> + </list> + + + <list name="mupmusicchars"> + <item> gclef </item> + <item> fclef </item> + <item> cclef </item> + <item> com </item> + <item> cut </item> + <item> flat </item> + <item> dblflat </item> + <item> sharp </item> + <item> dblsharp </item> + <item> nat </item> + <item> 4n </item> + <item> 2n </item> + <item> 1n </item> + <item> dblwhole </item> + <item> xnote </item> + <item> diamond </item> + <item> filldiamond </item> + <item> dwhdiamond </item> + <item> dn2n </item> + <item> dn4n </item> + <item> dn8n </item> + <item> dn16n </item> + <item> dn32n </item> + <item> dn64n </item> + <item> dn128n </item> + <item> dn256n </item> + <item> up2n </item> + <item> up4n </item> + <item> up8n </item> + <item> up16n </item> + <item> up32n </item> + <item> up64n </item> + <item> up128n </item> + <item> up256n </item> + <item> upflag </item> + <item> dnflag </item> + <item> qwhrest </item> + <item> dwhrest </item> + <item> 1rest </item> + <item> 2rest </item> + <item> 4rest </item> + <item> 8rest </item> + <item> 16rest </item> + <item> 32rest </item> + <item> 64rest </item> + <item> 128rest </item> + <item> 256rest </item> + <item> begped </item> + <item> endped </item> + <item> pedal </item> + <item> tr </item> + <item> mor </item> + <item> invmor </item> + <item> turn </item> + <item> invturn </item> + <item> ferm </item> + <item> uferm </item> + <item> acc_gt </item> + <item> acc_hat </item> + <item> acc_uhat </item> + <item> leg </item> + <item> dot </item> + <item> wedge </item> + <item> uwedge </item> + <item> sign </item> + <item> coda </item> + <item> upbow </item> + <item> dnbow </item> + <item> rr </item> + <item> measrpt </item> + <item> copyright </item> + <item> dim </item> + <item> halfdim </item> + <item> triangle </item> + + <item> smgclef </item> + <item> smfclef </item> + <item> smcclef </item> + <item> smcom </item> + <item> smcut </item> + <item> smflat </item> + <item> smdblflat </item> + <item> smsharp </item> + <item> smdblsharp </item> + <item> smnat </item> + <item> sm4n </item> + <item> sm2n </item> + <item> sm1n </item> + <item> smdblwhole </item> + <item> smxnote </item> + <item> smdiamond </item> + <item> smfilldiamond </item> + <item> smdwhdiamond </item> + <item> smdn2n </item> + <item> smdn4n </item> + <item> smdn8n </item> + <item> smdn16n </item> + <item> smdn32n </item> + <item> smdn64n </item> + <item> smdn128n </item> + <item> smdn256n </item> + <item> smup2n </item> + <item> smup4n </item> + <item> smup8n </item> + <item> smup16n </item> + <item> smup32n </item> + <item> smup64n </item> + <item> smup128n </item> + <item> smup256n </item> + <item> smupflag </item> + <item> smdnflag </item> + <item> smqwhrest </item> + <item> smdwhrest </item> + <item> sm1rest </item> + <item> sm2rest </item> + <item> sm4rest </item> + <item> sm8rest </item> + <item> sm16rest </item> + <item> sm32rest </item> + <item> sm64rest </item> + <item> sm128rest </item> + <item> sm256rest </item> + <item> smbegped </item> + <item> smendped </item> + <item> smpedal </item> + <item> smtr </item> + <item> smmor </item> + <item> sminvmor </item> + <item> smturn </item> + <item> sminvturn </item> + <item> smferm </item> + <item> smuferm </item> + <item> smacc_gt </item> + <item> smacc_hat </item> + <item> smacc_uhat </item> + <item> smleg </item> + <item> smdot </item> + <item> smwedge </item> + <item> smuwedge </item> + <item> smsign </item> + <item> smcoda </item> + <item> smupbow </item> + <item> smdnbow </item> + <item> smrr </item> + <item> smmeasrpt </item> + <item> smcopyright </item> + <item> smdim </item> + <item> smhalfdim </item> + <item> smtriangle </item> + </list> + + + <list name="mupprintcommands"> + <item> print </item> + <item> left </item> + <item> right </item> + <item> center </item> + <item> title </item> + <item> paragraph </item> + <item> postscript </item> + </list> + + + <list name="mupfontnames"> + <item> avantgarde </item> + <item> bookman </item> + <item> courier </item> + <item> helvetica </item> + <item> newcentury </item> + <item> palatino </item> + <item> times </item> + </list> + + + <list name="mupfontstyles"> + <item> rom </item> + <item> bold </item> + <item> ital </item> + <item> boldital </item> + </list> + + + <list name="mupprintspecifiers"> + <item> chord </item> + <item> analysis </item> + <item> figbass </item> + <item> dyn </item> + </list> + + + <list name="mupgraphics"> + <item> dotted </item> + <item> dashed </item> + <item> wavy </item> + <item> wide </item> + <item> medium </item> + + <item> line </item> + <item> curve </item> + <item> to </item> + <item> bulge </item> + + <item> octave </item> + <item> mussym </item> + <item> phrase </item> + <item> pedal </item> + <item> roll </item> + <item> to </item> + + <item> down </item> + <item> up </item> + <item> with </item> + + <item> midi </item> + </list> + + + <list name="muplocations"> + <item> above </item> + <item> below </item> + <item> between </item> + <item> all </item> + </list> + + + <contexts> + <context attribute="Normal Text" lineEndContext="#stay" name="Normal"> + <keyword attribute="Context" context="#stay" String="mupcontexts" /> + <RegExpr attribute="Lyrics" context="#stay" String="\blyrics\b" /> + <RegExpr attribute="Barline" context="Barline" String="\b((dashed|dotted)\s+)?(bar|endbar|dblbar|invisbar|repeatstart|repeatboth|repeatend|restart)\b" /> + <RegExpr attribute="Newscore" context="#stay" String="\bnew(score|page)\b" /> + <RegExpr attribute="Newscore" context="#stay" String="\bmultirest\s+[0-9]+\b" /> + <RegExpr attribute="Unset Command" context="Unset" String="\bunset\b" /> + <Detect2Chars attribute="Comment" context="Comment" char="/" char1="/"/> + <DetectChar attribute="String" context="String" char="""/> + <RegExpr attribute="Special Char" context="#stay" String="\\$" /> + <keyword attribute="Print Command" context="Print Command" String="mupprintcommands" /> + <keyword attribute="Print Command" context="Print Command" String="mupfontnames" /> + <keyword attribute="Print Command" context="Print Command" String="mupfontstyles" /> + <RegExpr attribute="Print Command" context="Print Command" String="\b((ragged|justified)\s+)?paragraph\b" /> + <keyword attribute="Print Command" context="#stay" String="mupprintspecifiers" /> + <keyword attribute="Print Command" context="#stay" String="mupgraphics" /> + <keyword attribute="Print Command" context="#stay" String="muplocations" /> + <RegExpr attribute="Print Command" context="#stay" String="\bdist(?=\s+[^=])" /> + <keyword attribute="Parameter" context="Parameter" String="mupparameters" /> + <RegExpr attribute="Special Char" context="Bracket" String="\[(?=(grace|xnote|cue|diam|with|slash|up|down|len|pad|ho|dist|hs|c\b|=))" /> + <DetectChar attribute="Special Char" context="Tuplet" char="}" /> + <AnyChar attribute="Special Char" context="#stay" String="[]{" /> + <RegExpr attribute="Special Char" context="#stay" String="(<<|>>)" /> + <RegExpr attribute="Note" context="Note" + String="(\(\s*)?((1/4|1/2|1|2|4|8|16|32|64|128|256)\.*\s*)?((\(\s*)?([a-grs]|us)(?!bm)([0-9'?\sxn]|[+-]+|[&#]{1,2}|\(\s*[&#]{1,2}\s*\)|\(\s*[xn]\s*\)|\(\s*[0-9]\s*\))*\)?\s*)*\s*(?=[;~="<A-Z@^]|\b(bm|es?bm|dashed|dotted|tie|slur|alt|hs|ifn?def|else|elseif|endif|with|above)\b)" /> + <RegExpr attribute="Normal Text" context="Note" String=";\s*(?=[~=<]|\b(bm|es?bm|dashed|dotted|tie|slur|alt|hs|ifn?def|else|elseif|endif)\b)" /> + <RegExpr attribute="Note" context="#stay" String="(1/4|1/2|1|2|4|8|16|32|64|128|256)?mu?[rs]+\s*(?=;)" /> + <RegExpr attribute="Note" context="#stay" String="m\s*rpt\s*(?=;)" /> + <RegExpr attribute="Location" context="#stay" String="=([a-z]|_[a-z][a-z_0-9]*)\b" /> + <RegExpr attribute="Location" context="Location" String="([a-z]|_[a-z][a-z_0-9]*)\.[xynews]\b" /> + <RegExpr attribute="Location Probably" context="#stay" String="([a-z]|_[a-z][a-z_0-9]*)\.(?=[A-Z])" /> + <RegExpr attribute="Normal Text" context="Location Probably" String="[(,]\s*(?=([h-qt-z]|_[a-z][a-z_0-9]*)\s*[,)])" /> + <RegExpr attribute="Normal Text" context="Note Probably" String="[(,]\s*(?=[a-grs]\s*[,)])" /> + <IncludeRules context="Macro" /> + <RegExpr attribute="Normal Text" context="#stay" String="[0-9.]*\s*til\s*(([0-9]+m(\s*\+\s*[0-9.]+)?)|[0-9.]+)\s*;" /> + <RegExpr attribute="Error" context="#stay" String="[0-9]*[a-z_]+" /> + </context> + + + <context attribute="Parameter" lineEndContext="#pop" name="Parameter" + fallthrough="true" fallthroughContext="#pop"> + <DetectChar attribute="Normal Text" context="Value" char="=" /> + <RegExpr attribute="Parameter" context="#stay" String="\s+" /> + </context> + + + <context attribute="Value" lineEndContext="#pop" name="Value" + fallthrough="true" fallthroughContext="#pop"> + <DetectChar attribute="Normal Text" context="#pop" char=";" /> + <RegExpr attribute="Normal Text" context="#stay" String="[\s,&()-]+" /> + <keyword attribute="Value" context="#stay" String="mupvalues" /> + <keyword attribute="Value" context="#pop" String="mupfontnames" /> + <keyword attribute="Value" context="#pop" String="mupfontstyles" /> + <RegExpr attribute="Value" context="#stay" String="\b[1-9][0-9]*/(1|2|4|8|16|32|64|128)n?\b" /> + <RegExpr attribute="Value" context="#stay" String="\b[a-g][#&]?'?([0-9]\b)?" /> + <RegExpr attribute="Value" context="#stay" String="[0-7][#&]" /> + <RegExpr attribute="Value" context="#stay" String="r\b" /> + <Float attribute="Value" context="#stay" /> + <Int attribute="Value" context="#stay" /> + <DetectChar attribute="String" context="String" char="""/> + <IncludeRules context="Macro" /> + <RegExpr attribute="Error" context="#stay" String="[a-z][a-z0-9]*" /> + </context> + + + <context attribute="Parameter" lineEndContext="#pop" name="Unset" + fallthrough="true" fallthroughContext="#pop"> + <keyword attribute="Parameter" context="#stay" String="mupparameters" /> + <RegExpr attribute="Normal Text" context="#stay" String="[\s,]+" /> + <RegExpr attribute="Error" context="#pop" String="\w+" /> + </context> + + + <context attribute="Print Command" lineEndContext="#pop" name="Print Command" + fallthrough="true" fallthroughContext="#pop"> + <DetectSpaces /> + <keyword attribute="Print Command" context="#stay" String="mupfontstyles" /> + <RegExpr attribute="Print Command" context="#stay" String="\bnl\b" /> + <RegExpr attribute="Print Command" context="#pop" String="\([0-9]+\)" /> + </context> + + + <context attribute="Barline" lineEndContext="#pop" name="Barline" + fallthrough="true" fallthroughContext="#pop"> + <DetectSpaces /> + <RegExpr attribute="Barline" context="#stay" String="\b(ending|endending|hidechanges)\b" /> + <RegExpr attribute="Barline" context="Bar Rehearsal" String="\breh(earsal)?\b" /> + <RegExpr attribute="Barline" context="#stay" String="\bmnum\s*=\s*[0-9]+" /> + <RegExpr attribute="Barline" context="#stay" String="\bnum\s*=\s*[0-9]+" /> + <RegExpr attribute="Barline" context="#stay" String="\blet\s*=\s*("[A-Z]{1,2}")?" /> + <RegExpr attribute="Barline" context="#stay" String="\bpad\s+[0-9]+" /> + <RegExpr attribute="Location" context="#stay" String="=([a-z]|_[a-z][a-z_0-9]*)\b" /> + <IncludeRules context="Macro" /> + </context> + + + <context attribute="Barline" lineEndContext="#pop" name="Bar Rehearsal" + fallthrough="true" fallthroughContext="#pop"> + <RegExpr attribute="Print Command" context="#stay" String="\s+" /> + <keyword attribute="Print Command" context="Print Command" String="mupfontnames" /> + <keyword attribute="Print Command" context="Print Command" String="mupfontstyles" /> + <RegExpr attribute="Barline" context="#pop" String="\b(let|mnum|num)\b" /> + <IncludeRules context="Macro" /> + </context> + + + <context attribute="Note" lineEndContext="#pop" name="Note" + fallthrough="true" fallthroughContext="#pop"> + <RegExpr attribute="Note Attribute" context="#stay" String="(\bdashed\s+|\bdotted\s+)?(<(/n|\\n|n/|n\\|[a-g]([+-]*|[0-7]))?>|tie|slur|[~])" /> + <RegExpr attribute="Note Attribute" context="#stay" String="^(/|[a-g]([+-]*|[0-7]))" /> + <RegExpr attribute="Note Attribute" context="#stay" String="\bbm\b(\s+with\s+staff\s+(below|above)\b)?" /> + <RegExpr attribute="Note Attribute" context="#stay" String="\bes?bm\b" /> + <RegExpr attribute="Note Attribute" context="#stay" String="\balt\s+[1-9]\b" /> + <RegExpr attribute="Note Attribute" context="#stay" String="\bhs\s+" /> + <DetectChar attribute="String" context="String" char="""/> + <IncludeRules context="Macro" /> + </context> + + + <context attribute="Note Attribute" lineEndContext="#pop" name="Bracket" + fallthrough="true" fallthroughContext="#pop"> + <DetectChar attribute="Special Char" context="#pop" char="]" /> + <RegExpr attribute="Normal Text" context="#stay" String="[\s;,]+" /> + <RegExpr attribute="Note Attribute" context="#stay" String="\b(grace|xnote|cue|diam|up|down)\b" /> + <RegExpr attribute="Note Attribute" context="#stay" String="\b(slash|len|pad|ho|dist)\s*[0-9.+-]*" /> + <RegExpr attribute="Note Attribute" context="Bracket With" String="\bwith\s*(?=[A-Z"^>.-])" /> + <RegExpr attribute="Note Attribute" context="Bracket Hs" String="\bhs\s*(?=[A-Z"])" /> + <RegExpr attribute="Location" context="#stay" String="=([a-z]|_[a-z][a-z_0-9]*)\b" /> + <RegExpr attribute="Normal Text" context="#stay" String="\bc\b" /> + <IncludeRules context="Macro" /> + </context> + + + <context attribute="Note Attribute" lineEndContext="#pop" name="Bracket With" + fallthrough="true" fallthroughContext="#pop"> + <DetectChar attribute="String" context="String" char=""" /> + <RegExpr attribute="Note Attribute" context="#stay" String="[>.^-]+" /> + <RegExpr attribute="Normal Text" context="#stay" String="[\s,]+" /> + <IncludeRules context="Macro" /> + </context> + + + <context attribute="Note Attribute" lineEndContext="#pop" name="Bracket Hs" + fallthrough="true" fallthroughContext="#pop"> + <DetectChar attribute="String" context="String" char=""" /> + <IncludeRules context="Macro" /> + </context> + + + <context attribute="Note" lineEndContext="#pop" name="Note Probably" + fallthrough="true" fallthroughContext="#pop"> + <RegExpr attribute="Note" context="#pop" String="[a-grs]*" /> + </context> + + + <context attribute="Tuplet" lineEndContext="#pop" name="Tuplet" + fallthrough="true" fallthroughContext="#pop"> + <RegExpr attribute="Tuplet" context="#pop" String="\s*(above|below)?\s*[0-9]{1,2}(y|n|num)?(\s*,\s*[0-9]{1,2}\.?([+][0-9]{1,2}\.?)*)?" /> + </context> + + + <context attribute="Normal Text" lineEndContext="#pop" name="Location" + fallthrough="true" fallthroughContext="#pop"> + <RegExpr attribute="Normal Text" context="#stay" String="[+-\s]+" /> + <Float attribute="Normal Text" context="#stay" /> + <RegExpr attribute="Location" context="#stay" String="\btime\b" /> + <IncludeRules context="Macro" /> + </context> + + + <context attribute="Location Problably" lineEndContext="#pop" name="Location Probably" + fallthrough="true" fallthroughContext="#pop"> + <RegExpr attribute="Location Probably" context="#pop" String="[h-qt-z]|_[a-z][a-z_0-9]*" /> + </context> + + + <context attribute="Comment" lineEndContext="#pop" name="Comment"> + <IncludeRules context="##Alerts" /> + </context> + + + <context attribute="String" lineEndContext="#stay" name="String"> + <DetectChar attribute="String" context="#pop" char=""" /> + <RegExpr attribute="String Special" context="#stay" String="[\\][][{}%#"nb|^:,\\/ ]" /> + <StringDetect attribute="String Special" context="Special Char" String="\(" /> + <StringDetect attribute="String Special" context="Font Name" String="\f(" /> + <StringDetect attribute="String Special" context="Font Size" String="\s(" /> + <RegExpr attribute="String Special" context="#stay" String="\\v\(-?[0-9]{1,3}\)" /> + <RegExpr attribute="String Lyrics" context="#stay" String="[~<>|^]" /> + <RegExpr attribute="String Lyrics" context="#stay" String="[-+]?[0-9]+\|" /> + </context> + + + <context attribute="String Special" lineEndContext="#stay" name="Special Char" + fallthrough="true" fallthroughContext="#pop"> + <DetectChar attribute="String Special" context="#pop" char=")" /> + <keyword attribute="String Special" context="#stay" String="mupspecialchars" /> + <keyword attribute="String Special" context="#stay" String="mupmusicchars" /> + <RegExpr attribute="String Special" context="#stay" String="[AaEeOo]['`:^~](?=\))" /> + <RegExpr attribute="String Special" context="#stay" String="[IiUu]['`:^](?=\))" /> + <RegExpr attribute="String Special" context="#stay" String="[Nn]~(?=\))" /> + <RegExpr attribute="String Special" context="#stay" String="[Yy]:(?=\))" /> + <RegExpr attribute="String Special" context="#stay" String="[LlOo]/(?=\))" /> + <RegExpr attribute="String Special" context="#stay" String="[Cc],(?=\))" /> + <RegExpr attribute="String Special" context="#stay" String="(>>|<<|``|'')(?=\))" /> + <RegExpr attribute="String Error" context="#stay" String="[^)"]+" /> + </context> + + + <context attribute="String Special" lineEndContext="#stay" name="Font Name" + fallthrough="true" fallthroughContext="#pop"> + <DetectChar attribute="String Special" context="#pop" char=")" /> + <RegExpr attribute="String Special" context="#stay" String="[ABCHNPT][RBIX](?=\))" /> + <keyword attribute="String Special" context="Font Style" String="mupfontnames" /> + <RegExpr attribute="String Special" context="#stay" String="(PV|previous)(?=\))" /> + <RegExpr attribute="String Error" context="#stay" String="[^ )"]+" /> + </context> + + + <context attribute="String Special" lineEndContext="#stay" name="Font Style" + fallthrough="true" fallthroughContext="#pop"> + <RegExpr attribute="String Special" context="#stay" String="\s+" /> + <keyword attribute="String Special" context="#stay" String="mupfontstyles" /> + <RegExpr attribute="String Error" context="#stay" String="[^ )"]+" /> + </context> + + + <context attribute="String Special" lineEndContext="#stay" name="Font Size" + fallthrough="true" fallthroughContext="#pop"> + <DetectChar attribute="String Special" context="#pop" char=")" /> + <RegExpr attribute="String Special" context="#stay" String="[-+]?[0-9]+(?=\))" /> + <RegExpr attribute="String Special" context="#stay" String="(PV|previous)(?=\))" /> + <RegExpr attribute="String Error" context="#stay" String="[^ )"]+" /> + </context> + + + <context attribute="Macro" lineEndContext="#pop" name="Macro"> + <keyword attribute="Macro" context="#stay" String="mupmacrodirectives_start" beginRegion="macro" /> + <keyword attribute="Macro" context="#stay" String="mupmacrodirectives_end" endRegion="macro" /> + <keyword attribute="Macro" context="#stay" String="mupmacrodirectives" /> + <RegExpr attribute="Macro" context="Macro Location" String="[A-Z][A-Z0-9_]*(?=\.[xynews]\b)" /> + <RegExpr attribute="Macro" context="#stay" String="[A-Z][A-Z0-9_]*" /> + <DetectChar attribute="Macro" context="#stay" char="@" endRegion="macro" /> + </context> + + + <context attribute="Location" lineEndContext="#pop" name="Macro Location" + fallthrough="true" fallthroughContext="#pop"> + <RegExpr attribute="Location Probably" context="#pop" String=".." /> + </context> + + </contexts> + + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal" /> + <itemData name="Context" defStyleNum="dsKeyword" /> + <itemData name="Special Char" defStyleNum="dsKeyword" /> + <itemData name="Parameter" defStyleNum="dsChar" /> + <itemData name="Value" defStyleNum="dsFloat" /> + <itemData name="Unset Command" defStyleNum="dsFloat" bold="1" /> + <itemData name="Comment" defStyleNum="dsComment" /> + <itemData name="Macro" defStyleNum="dsOthers" color="#11F" selColor="#1FF" /> + <itemData name="Print Command" defStyleNum="dsBaseN" /> + <itemData name="Barline" defStyleNum="dsDecVal" color="#c62" /> + <itemData name="Newscore" defStyleNum="dsDecVal" color="#c62" bold="1" /> + <itemData name="Note" defStyleNum="dsNormal" /> + <itemData name="Note Attribute" defStyleNum="dsNormal" italic="1" color="#07b" /> + <itemData name="Tuplet" defStyleNum="dsNormal" color="#035" /> + <itemData name="Location" defStyleNum="dsKeyword" color="#0C4" bold="1" /> + <itemData name="Location Probably" defStyleNum="dsKeyword" color="#0C4" bold="0" /> + <itemData name="String" defStyleNum="dsString" /> + <itemData name="String Special" defStyleNum="dsString" bold="1" /> + <itemData name="String Error" defStyleNum="dsError" /> + <itemData name="String Lyrics" defStyleNum="dsString" color="#800" /> + <itemData name="Lyrics" defStyleNum="dsBaseN" bold="1" /> + <itemData name="Error" defStyleNum="dsError" color="black" /> + </itemDatas> + + </highlighting> + <general> + <comments> + <comment name="singleLine" start="//"/> + </comments> + <keywords casesensitive="1" additionalDeliminator="~'`@#+-" /> + </general> +</language> diff --git a/kate/data/nasm.xml b/kate/data/nasm.xml new file mode 100644 index 000000000..8f0ef65ee --- /dev/null +++ b/kate/data/nasm.xml @@ -0,0 +1,1321 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<!-- + NASM Intel x86 assembly syntax + + Created: Nicola Gigante <nicola.gigante@gmail.com> + Version: 1.2 + + 15/01/2006: version 1.1 + Added the rol instruction (bytewise rotate left) to the keywords list. + 17/01/2006: version 1.2 + Remade the list of instructions directly from the nasm documentation. + + GNU GENERAL PUBLIC LICENCE + +This program, including associated files, is free software. You may +distribute it and/or modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either Version 2 of +the license, or (at your option) any later version. + +This program 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 General Public License +for more details. + +You should have received a copy of the GNU General Public License along +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.20" kateversion="2.3" extensions="*.asm" mimetype="" author="Nicola Gigante (nicola.gigante@gmail.com)" license="GPL"> + <highlighting> + <list name="registers"> + <!-- General purpose registers --> + <item>eax</item> + <item>ax</item> + <item>ah</item> + <item>al</item> + <item>ebx</item> + <item>bx</item> + <item>bh</item> + <item>bl</item> + <item>ecx</item> + <item>cx</item> + <item>ch</item> + <item>cl</item> + <item>edx</item> + <item>dx</item> + <item>dh</item> + <item>dl</item> + <item>ebp</item> + <item>bp</item> + <item>esi</item> + <item>si</item> + <item>edi</item> + <item>di</item> + <item>eip</item> + <item>ip</item> + <item>esp</item> + <item>sp</item> + <!-- Segmentation registers --> + <item>cs</item> + <item>ds</item> + <item>ss</item> + <item>es</item> + <item>gs</item> + <item>fs</item> + <!-- Control registers --> + <item>cr0</item> + <item>cr1</item> + <item>cr2</item> + <item>cr3</item> + <item>cr4</item> + <!-- x87 FPU Registers --> + <item>st</item> + <!-- MMX registers --> + <item>mm0</item> + <item>mm1</item> + <item>mm2</item> + <item>mm3</item> + <item>mm4</item> + <item>mm5</item> + <item>mm6</item> + <item>mm7</item> + <!-- XMM registers --> + <item>xmm0</item> + <item>xmm1</item> + <item>xmm2</item> + <item>xmm3</item> + <item>xmm4</item> + <item>xmm5</item> + <item>xmm6</item> + <item>xmm7</item> + </list> + <list name="instructions"> + <item>aaa</item> + <item>aas</item> + <item>aad</item> + <item>aam</item> + <item>adc</item> + <item>add</item> + <item>addpd</item> + <item>addps</item> + <item>addsd</item> + <item>addss</item> + <item>and</item> + <item>andnpd</item> + <item>andnps</item> + <item>andpd</item> + <item>andps</item> + <item>arpl</item> + <item>bound</item> + <item>bsf</item> + <item>bsr</item> + <item>bswap</item> + <item>bt</item> + <item>btc</item> + <item>btr</item> + <item>bts</item> + <item>call</item> + <item>cbw</item> + <item>cwde</item> + <item>cwd</item> + <item>cdq</item> + <item>clc</item> + <item>cld</item> + <item>cli</item> + <item>clts</item> + <item>clflush</item> + <item>cmc</item> + <item>cmovcc</item> + <item>cmp</item> + <item>cmppd</item> + <item>cmpeqpd</item> + <item>cmpltpd</item> + <item>cmplepd</item> + <item>cmpunordpd</item> + <item>cmpneqpd</item> + <item>cmpnltpd</item> + <item>cmpnlepd</item> + <item>cmpordpd</item> + <item>cmpps</item> + <item>cmpeqps</item> + <item>cmpltps</item> + <item>cmpleps</item> + <item>cmpunordps</item> + <item>cmpneqps</item> + <item>cmpnltps</item> + <item>cmpnleps</item> + <item>cmpordps</item> + <item>cmpsb</item> + <item>cmpsw</item> + <item>cmpsd</item> + <item>cmpeqsd</item> + <item>cmpltsd</item> + <item>cmplesd</item> + <item>cmpunordsd</item> + <item>cmpneqsd</item> + <item>cmpnltsd</item> + <item>cmpnlesd</item> + <item>cmpordsd</item> + <item>cmpss</item> + <item>cmpeqss</item> + <item>cmpltss</item> + <item>cmpless</item> + <item>cmpunordss</item> + <item>cmpneqss</item> + <item>cmpnltss</item> + <item>cmpnless</item> + <item>cmpordss</item> + <item>cmpxchg</item> + <item>cmpxchg486</item> + <item>cmpxchg8b</item> + <item>comisd</item> + <item>comiss</item> + <item>cpuid</item> + <item>cvtdq2pd</item> + <item>cvtdq2ps</item> + <item>cvtpd2dq</item> + <item>cvtpd2pi</item> + <item>cvtpd2ps</item> + <item>cvtpi2pd</item> + <item>cvtpi2ps</item> + <item>cvtps2dq</item> + <item>cvtps2pd</item> + <item>cvtps2pi</item> + <item>cvtsd2si</item> + <item>cvtsd2ss</item> + <item>cvtsi2sd</item> + <item>cvtsi2ss</item> + <item>cvtss2sd</item> + <item>cvtss2si</item> + <item>cvttpd2dq</item> + <item>cvttpd2pi</item> + <item>cvttps2dq</item> + <item>cvttps2pi</item> + <item>cvttsd2si</item> + <item>daa</item> + <item>das</item> + <item>dec</item> + <item>div</item> + <item>divpd</item> + <item>divps</item> + <item>divsd</item> + <item>divss</item> + <item>emms</item> + <item>enter</item> + <item>f2xm1</item> + <item>fabs</item> + <item>fadd</item> + <item>faddp</item> + <item>fbld</item> + <item>fbstp</item> + <item>fchs</item> + <item>fclex</item> + <item>fnclex</item> + <item>fcmovb</item> + <item>fcmove</item> + <item>fcmovbe</item> + <item>fcmovu</item> + <item>fcmovnb</item> + <item>fcmovne</item> + <item>fcmovnbe</item> + <item>fcmovnu</item> + <item>fcom</item> + <item>fcomp</item> + <item>fcompp</item> + <item>fcomi</item> + <item>fcomip</item> + <item>fcos</item> + <item>fdecstp</item> + <item>fdisi</item> + <item>fndisi</item> + <item>feni</item> + <item>fneni</item> + <item>fdiv</item> + <item>fdivr</item> + <item>fdivp</item> + <item>fdivrp</item> + <item>femms</item> + <item>ffree</item> + <item>ffreep</item> + <item>fiadd</item> + <item>ficom</item> + <item>ficomp</item> + <item>fidiv</item> + <item>fidivr</item> + <item>fild</item> + <item>fist</item> + <item>fistp</item> + <item>fimul</item> + <item>fincstp</item> + <item>finit</item> + <item>fninit</item> + <item>fisub</item> + <item>fisubr</item> + <item>fld</item> + <item>fld1</item> + <item>fldl2e</item> + <item>fldl2t</item> + <item>fldlg2</item> + <item>fldln2</item> + <item>fldpi</item> + <item>fldz</item> + <item>fldcw</item> + <item>fldenv</item> + <item>fmul</item> + <item>fmulp</item> + <item>fnop</item> + <item>fpatan</item> + <item>fptan</item> + <item>fprem</item> + <item>fprem1</item> + <item>frndint</item> + <item>fsave</item> + <item>fnsave</item> + <item>frstor</item> + <item>fscale</item> + <item>fsetpm</item> + <item>fsin</item> + <item>fsincos</item> + <item>fsqrt</item> + <item>fst</item> + <item>fstp</item> + <item>fstcw</item> + <item>fnstcw</item> + <item>fstenv</item> + <item>fnstenv</item> + <item>fstsw</item> + <item>fnstsw</item> + <item>fsub</item> + <item>fsubr</item> + <item>fsubp</item> + <item>fsubrp</item> + <item>ftst</item> + <item>fucom</item> + <item>fucomp</item> + <item>fucompp</item> + <item>fucomi</item> + <item>fucomip</item> + <item>fxam</item> + <item>fxch</item> + <item>fxrstor</item> + <item>fxsave</item> + <item>fxtract</item> + <item>fyl2x</item> + <item>fyl2xp1</item> + <item>hlt</item> + <item>ibts</item> + <item>idiv</item> + <item>imul</item> + <item>in</item> + <item>inc</item> + <item>insb</item> + <item>insw</item> + <item>insd</item> + <item>int</item> + <item>int1</item> + <item>icebp</item> + <item>int01</item> + <item>int3</item> + <item>int03</item> + <item>into</item> + <item>invd</item> + <item>invlpg</item> + <item>iret</item> + <item>iretw</item> + <item>iretd</item> + <item>jcc</item> + <item>jcxz</item> + <item>jecxz</item> + <item>jmp</item> + <item>lahf</item> + <item>lar</item> + <item>ldmxcsr</item> + <item>lds</item> + <item>les</item> + <item>lfs</item> + <item>lgs</item> + <item>lss</item> + <item>lea</item> + <item>leave</item> + <item>lfence</item> + <item>lgdt</item> + <item>lidt</item> + <item>lldt</item> + <item>lmsw</item> + <item>loadall</item> + <item>loadall286</item> + <item>lodsb</item> + <item>lodsw</item> + <item>lodsd</item> + <item>loop</item> + <item>loope</item> + <item>loopz</item> + <item>loopne</item> + <item>loopnz</item> + <item>lsl</item> + <item>ltr</item> + <item>maskmovdqu</item> + <item>maskmovq</item> + <item>maxpd</item> + <item>maxps</item> + <item>maxsd</item> + <item>maxss</item> + <item>mfence</item> + <item>minpd</item> + <item>minps</item> + <item>minsd</item> + <item>minss</item> + <item>mov</item> + <item>movapd</item> + <item>movaps</item> + <item>movd</item> + <item>movdq2q</item> + <item>movdqa</item> + <item>movdqu</item> + <item>movhlps</item> + <item>movhpd</item> + <item>movhps</item> + <item>movlhps</item> + <item>movlpd</item> + <item>movlps</item> + <item>movmskpd</item> + <item>movmskps</item> + <item>movntdq</item> + <item>movnti</item> + <item>movntpd</item> + <item>movntps</item> + <item>movntq</item> + <item>movq</item> + <item>movq2dq</item> + <item>movsb</item> + <item>movsw</item> + <item>movsd</item> + <item>movss</item> + <item>movsx</item> + <item>movzx</item> + <item>movupd</item> + <item>movups</item> + <item>mul</item> + <item>mulpd</item> + <item>mulps</item> + <item>mulsd</item> + <item>mulss</item> + <item>neg</item> + <item>not</item> + <item>nop</item> + <item>or</item> + <item>orpd</item> + <item>orps</item> + <item>out</item> + <item>outsb</item> + <item>outsw</item> + <item>outsd</item> + <item>packssdw</item> + <item>packsswb</item> + <item>packuswb</item> + <item>packssdw</item> + <item>packsswb</item> + <item>packuswb</item> + <item>paddb</item> + <item>paddw</item> + <item>paddd</item> + <item>paddb</item> + <item>paddw</item> + <item>paddd</item> + <item>paddq</item> + <item>paddsb</item> + <item>paddsw</item> + <item>paddsb</item> + <item>paddsw</item> + <item>paddsiw</item> + <item>paddusb</item> + <item>paddusw</item> + <item>paddusb</item> + <item>paddusw</item> + <item>pand</item> + <item>pandn</item> + <item>pand</item> + <item>pandn</item> + <item>pause</item> + <item>paveb</item> + <item>pavgb</item> + <item>pavgw</item> + <item>pavgb</item> + <item>pavgw</item> + <item>pavgusb</item> + <item>pcmpeqb</item> + <item>pcmpeqw</item> + <item>pcmpeqd</item> + <item>pcmpgtb</item> + <item>pcmpgtw</item> + <item>pcmpgtd</item> + <item>pcmpeqb</item> + <item>pcmpeqw</item> + <item>pcmpeqd</item> + <item>pcmpgtb</item> + <item>pcmpgtw</item> + <item>pcmpgtd</item> + <item>pdistib</item> + <item>pextrw</item> + <item>pf2id</item> + <item>pf2iw</item> + <item>pfacc</item> + <item>pfadd</item> + <item>pfcmpeq</item> + <item>pfcmpge</item> + <item>pfcmpgt</item> + <item>pfmax</item> + <item>pfmin</item> + <item>pfmul</item> + <item>pfnacc</item> + <item>pfpnacc</item> + <item>pfrcp</item> + <item>pfrcpit1</item> + <item>pfrcpit2</item> + <item>pfrsqit1</item> + <item>pfrsqrt</item> + <item>pfsub</item> + <item>pfsubr</item> + <item>pi2fd</item> + <item>pi2fw</item> + <item>pinsrw</item> + <item>pmachriw</item> + <item>pmaddwd</item> + <item>pmagw</item> + <item>pmaxsw</item> + <item>pmaxub</item> + <item>pminsw</item> + <item>pminub</item> + <item>pmovmskb</item> + <item>pmulhrwc</item> + <item>pmulhriw</item> + <item>pmulhrwa</item> + <item>pmulhuw</item> + <item>pmulhw</item> + <item>pmullw</item> + <item>pmulhw</item> + <item>pmullw</item> + <item>pmuludq</item> + <item>pmvzb</item> + <item>pmvnzb</item> + <item>pmvlzb</item> + <item>pmvgezb</item> + <item>pop</item> + <item>popa</item> + <item>popaw</item> + <item>popad</item> + <item>popf</item> + <item>popfw</item> + <item>popfd</item> + <item>por</item> + <item>prefetch</item> + <item>prefetchw</item> + <item>prefetchnta</item> + <item>prefetcht0</item> + <item>prefetcht1</item> + <item>prefetcht2</item> + <item>psadbw</item> + <item>pshufd</item> + <item>pshufhw</item> + <item>pshuflw</item> + <item>pshufw</item> + <item>psllw</item> + <item>pslld</item> + <item>psllq</item> + <item>pslldq</item> + <item>psraw</item> + <item>psrad</item> + <item>psrlw</item> + <item>psrld</item> + <item>psrlq</item> + <item>psrldq</item> + <item>psubb</item> + <item>psubw</item> + <item>psubd</item> + <item>psubq</item> + <item>psubb</item> + <item>psubw</item> + <item>psubd</item> + <item>psubq</item> + <item>psubsb</item> + <item>psubsw</item> + <item>psubsb</item> + <item>psubsw</item> + <item>psubusb</item> + <item>psubusw</item> + <item>psubusb</item> + <item>psubusw</item> + <item>psubsiw</item> + <item>pswapd</item> + <item>punpckhbw</item> + <item>punpckhwd</item> + <item>punpckhdq</item> + <item>punpckhbw</item> + <item>punpckhwd</item> + <item>punpckhdq</item> + <item>punpckhqdq</item> + <item>punpcklbw</item> + <item>punpcklwd</item> + <item>punpckldq</item> + <item>punpcklbw</item> + <item>punpcklwd</item> + <item>punpckldq</item> + <item>punpcklqdq</item> + <item>push</item> + <item>pusha</item> + <item>pushad</item> + <item>pushaw</item> + <item>pushf</item> + <item>pushfd</item> + <item>pushfw</item> + <item>pxor</item> + <item>rcl</item> + <item>rcr</item> + <item>rcpps</item> + <item>rcpss</item> + <item>rdmsr</item> + <item>rdpmc</item> + <item>rdshr</item> + <item>rdtsc</item> + <item>ret</item> + <item>retf</item> + <item>retn</item> + <item>rol</item> + <item>ror</item> + <item>rsdc</item> + <item>rsldt</item> + <item>rsm</item> + <item>rsqrtps</item> + <item>rsqrtss</item> + <item>rsts</item> + <item>sahf</item> + <item>sal</item> + <item>sar</item> + <item>salc</item> + <item>sbb</item> + <item>scasb</item> + <item>scasw</item> + <item>scasd</item> + <item>setcc</item> + <item>sfence</item> + <item>sgdt</item> + <item>sidt</item> + <item>sldt</item> + <item>shl</item> + <item>shr</item> + <item>shld</item> + <item>shrd</item> + <item>shufpd</item> + <item>shufps</item> + <item>smi</item> + <item>smint</item> + <item>smintold</item> + <item>smsw</item> + <item>sqrtpd</item> + <item>sqrtps</item> + <item>sqrtsd</item> + <item>sqrtss</item> + <item>stc</item> + <item>std</item> + <item>sti</item> + <item>stmxcsr</item> + <item>stosb</item> + <item>stosw</item> + <item>stosd</item> + <item>str</item> + <item>sub</item> + <item>subpd</item> + <item>subps</item> + <item>subsd</item> + <item>subss</item> + <item>svdc</item> + <item>svldt</item> + <item>svts</item> + <item>syscall</item> + <item>sysenter</item> + <item>sysexit</item> + <item>sysret</item> + <item>test</item> + <item>ucomisd</item> + <item>ucomiss</item> + <item>ud0</item> + <item>ud1</item> + <item>ud2</item> + <item>umov</item> + <item>unpckhpd</item> + <item>unpckhps</item> + <item>unpcklpd</item> + <item>unpcklps</item> + <item>verr</item> + <item>verw</item> + <item>wait</item> + <item>fwait</item> + <item>wbinvd</item> + <item>wrmsr</item> + <item>wrshr</item> + <item>xadd</item> + <item>xbts</item> + <item>xchg</item> + <item>xlat</item> + <item>xlatb</item> + <item>xor</item> + <item>xorpd</item> + <item>xorps</item> + <item>aaa</item> + <item>aad</item> + <item>aam</item> + <item>aas</item> + <item>adc</item> + <item>add</item> + <item>addpd</item> + <item>addps</item> + <item>addsd</item> + <item>addss</item> + <item>and</item> + <item>andnpd</item> + <item>andnps</item> + <item>andpd</item> + <item>andps</item> + <item>arpl</item> + <item>bound</item> + <item>bsf</item> + <item>bsr</item> + <item>bswap</item> + <item>bt</item> + <item>btc</item> + <item>btr</item> + <item>bts</item> + <item>call</item> + <item>cbw</item> + <item>cdq</item> + <item>clc</item> + <item>cld</item> + <item>clflush</item> + <item>cli</item> + <item>clts</item> + <item>cmc</item> + <item>cmovcc</item> + <item>cmp</item> + <item>cmpeqpd</item> + <item>cmpeqps</item> + <item>cmpeqsd</item> + <item>cmpeqss</item> + <item>cmplepd</item> + <item>cmpleps</item> + <item>cmplesd</item> + <item>cmpless</item> + <item>cmpltpd</item> + <item>cmpltps</item> + <item>cmpltsd</item> + <item>cmpltss</item> + <item>cmpneqpd</item> + <item>cmpneqps</item> + <item>cmpneqsd</item> + <item>cmpneqss</item> + <item>cmpnlepd</item> + <item>cmpnleps</item> + <item>cmpnlesd</item> + <item>cmpnless</item> + <item>cmpnltpd</item> + <item>cmpnltps</item> + <item>cmpnltsd</item> + <item>cmpnltss</item> + <item>cmpordpd</item> + <item>cmpordps</item> + <item>cmpordsd</item> + <item>cmpordss</item> + <item>cmppd</item> + <item>cmpps</item> + <item>cmpsb</item> + <item>cmpsd</item> + <item>cmpss</item> + <item>cmpsw</item> + <item>cmpunordpd</item> + <item>cmpunordps</item> + <item>cmpunordsd</item> + <item>cmpunordss</item> + <item>cmpxchg</item> + <item>cmpxchg486</item> + <item>cmpxchg8b</item> + <item>comisd</item> + <item>comiss</item> + <item>cpuid</item> + <item>cvtdq2pd</item> + <item>cvtdq2ps</item> + <item>cvtpd2dq</item> + <item>cvtpd2pi</item> + <item>cvtpd2ps</item> + <item>cvtpi2pd</item> + <item>cvtpi2ps</item> + <item>cvtps2dq</item> + <item>cvtps2pd</item> + <item>cvtps2pi</item> + <item>cvtsd2si</item> + <item>cvtsd2ss</item> + <item>cvtsi2sd</item> + <item>cvtsi2ss</item> + <item>cvtss2sd</item> + <item>cvtss2si</item> + <item>cvttpd2dq</item> + <item>cvttpd2pi</item> + <item>cvttps2dq</item> + <item>cvttps2pi</item> + <item>cvttsd2si</item> + <item>cwd</item> + <item>cwde</item> + <item>daa</item> + <item>das</item> + <item>dec</item> + <item>div</item> + <item>divpd</item> + <item>divps</item> + <item>divsd</item> + <item>divss</item> + <item>emms</item> + <item>enter</item> + <item>f2xm1</item> + <item>fabs</item> + <item>fadd</item> + <item>faddp</item> + <item>fbld</item> + <item>fbstp</item> + <item>fchs</item> + <item>fclex</item> + <item>fcmovb</item> + <item>fcmovbe</item> + <item>fcmove</item> + <item>fcmovnb</item> + <item>fcmovnbe</item> + <item>fcmovne</item> + <item>fcmovnu</item> + <item>fcmovu</item> + <item>fcom</item> + <item>fcomi</item> + <item>fcomip</item> + <item>fcomp</item> + <item>fcompp</item> + <item>fcos</item> + <item>fdecstp</item> + <item>fdisi</item> + <item>fdiv</item> + <item>fdivp</item> + <item>fdivr</item> + <item>fdivrp</item> + <item>femms</item> + <item>feni</item> + <item>ffree</item> + <item>ffreep</item> + <item>fiadd</item> + <item>ficom</item> + <item>ficomp</item> + <item>fidiv</item> + <item>fidivr</item> + <item>fild</item> + <item>fimul</item> + <item>fincstp</item> + <item>finit</item> + <item>fist</item> + <item>fistp</item> + <item>fisub</item> + <item>fisubr</item> + <item>fld</item> + <item>fld1</item> + <item>fldcw</item> + <item>fldenv</item> + <item>fldl2e</item> + <item>fldl2t</item> + <item>fldlg2</item> + <item>fldln2</item> + <item>fldpi</item> + <item>fldz</item> + <item>fmul</item> + <item>fmulp</item> + <item>fnclex</item> + <item>fndisi</item> + <item>fneni</item> + <item>fninit</item> + <item>fnop</item> + <item>fnsave</item> + <item>fnstcw</item> + <item>fnstenv</item> + <item>fnstsw</item> + <item>fpatan</item> + <item>fprem</item> + <item>fprem1</item> + <item>fptan</item> + <item>frndint</item> + <item>frstor</item> + <item>fsave</item> + <item>fscale</item> + <item>fsetpm</item> + <item>fsin</item> + <item>fsincos</item> + <item>fsqrt</item> + <item>fst</item> + <item>fstcw</item> + <item>fstenv</item> + <item>fstp</item> + <item>fstsw</item> + <item>fsub</item> + <item>fsubp</item> + <item>fsubr</item> + <item>fsubrp</item> + <item>ftst</item> + <item>fucom</item> + <item>fucomi</item> + <item>fucomip</item> + <item>fucomp</item> + <item>fucompp</item> + <item>fwait</item> + <item>fxam</item> + <item>fxch</item> + <item>fxrstor</item> + <item>fxsave</item> + <item>fxtract</item> + <item>fyl2x</item> + <item>fyl2xp1</item> + <item>hlt</item> + <item>ibts</item> + <item>icebp</item> + <item>idiv</item> + <item>imul</item> + <item>in</item> + <item>inc</item> + <item>insb</item> + <item>insd</item> + <item>insw</item> + <item>int</item> + <item>int01</item> + <item>int03</item> + <item>int1</item> + <item>int3</item> + <item>into</item> + <item>invd</item> + <item>invlpg</item> + <item>iret</item> + <item>iretd</item> + <item>iretw</item> + <item>jcc</item> + <item>jcxz</item> + <item>jecxz</item> + <item>jmp</item> + <item>lahf</item> + <item>lar</item> + <item>ldmxcsr</item> + <item>lds</item> + <item>lea</item> + <item>leave</item> + <item>les</item> + <item>lfence</item> + <item>lfs</item> + <item>lgdt</item> + <item>lgs</item> + <item>lidt</item> + <item>lldt</item> + <item>lmsw</item> + <item>loadall</item> + <item>loadall286</item> + <item>lodsb</item> + <item>lodsd</item> + <item>lodsw</item> + <item>loop</item> + <item>loope</item> + <item>loopne</item> + <item>loopnz</item> + <item>loopz</item> + <item>lsl</item> + <item>lss</item> + <item>ltr</item> + <item>maskmovdqu</item> + <item>maskmovq</item> + <item>maxpd</item> + <item>maxps</item> + <item>maxsd</item> + <item>maxss</item> + <item>mfence</item> + <item>minpd</item> + <item>minps</item> + <item>minsd</item> + <item>minss</item> + <item>mov</item> + <item>movapd</item> + <item>movaps</item> + <item>movd</item> + <item>movdq2q</item> + <item>movdqa</item> + <item>movdqu</item> + <item>movhlps</item> + <item>movhpd</item> + <item>movhps</item> + <item>movlhps</item> + <item>movlpd</item> + <item>movlps</item> + <item>movmskpd</item> + <item>movmskps</item> + <item>movntdq</item> + <item>movnti</item> + <item>movntpd</item> + <item>movntps</item> + <item>movntq</item> + <item>movq</item> + <item>movq2dq</item> + <item>movsb</item> + <item>movsd</item> + <item>movss</item> + <item>movsw</item> + <item>movsx</item> + <item>movupd</item> + <item>movups</item> + <item>movzx</item> + <item>mul</item> + <item>mulpd</item> + <item>mulps</item> + <item>mulsd</item> + <item>mulss</item> + <item>neg</item> + <item>nop</item> + <item>not</item> + <item>or</item> + <item>orpd</item> + <item>orps</item> + <item>out</item> + <item>outsb</item> + <item>outsd</item> + <item>outsw</item> + <item>packssdw</item> + <item>packsswb</item> + <item>packuswb</item> + <item>paddb</item> + <item>paddd</item> + <item>paddq</item> + <item>paddsb</item> + <item>paddsiw</item> + <item>paddsw</item> + <item>paddusb</item> + <item>paddusw</item> + <item>paddw</item> + <item>pand</item> + <item>pandn</item> + <item>pause</item> + <item>paveb</item> + <item>pavgb</item> + <item>pavgusb</item> + <item>pavgw</item> + <item>pcmpeqb</item> + <item>pcmpeqd</item> + <item>pcmpeqw</item> + <item>pcmpgtb</item> + <item>pcmpgtd</item> + <item>pcmpgtw</item> + <item>pdistib</item> + <item>pextrw</item> + <item>pf2id</item> + <item>pf2iw</item> + <item>pfacc</item> + <item>pfadd</item> + <item>pfcmpeq</item> + <item>pfcmpge</item> + <item>pfcmpgt</item> + <item>pfmax</item> + <item>pfmin</item> + <item>pfmul</item> + <item>pfnacc</item> + <item>pfpnacc</item> + <item>pfrcp</item> + <item>pfrcpit1</item> + <item>pfrcpit2</item> + <item>pfrsqit1</item> + <item>pfrsqrt</item> + <item>pfsub</item> + <item>pfsubr</item> + <item>pi2fd</item> + <item>pi2fw</item> + <item>pinsrw</item> + <item>pmachriw</item> + <item>pmaddwd</item> + <item>pmagw</item> + <item>pmaxsw</item> + <item>pmaxub</item> + <item>pminsw</item> + <item>pminub</item> + <item>pmovmskb</item> + <item>pmulhriw</item> + <item>pmulhrwa</item> + <item>pmulhrwc</item> + <item>pmulhuw</item> + <item>pmulhw</item> + <item>pmullw</item> + <item>pmuludq</item> + <item>pmvgezb</item> + <item>pmvlzb</item> + <item>pmvnzb</item> + <item>pmvzb</item> + <item>pop</item> + <item>popa</item> + <item>popad</item> + <item>popaw</item> + <item>popf</item> + <item>popfd</item> + <item>popfw</item> + <item>por</item> + <item>prefetch</item> + <item>prefetchnta</item> + <item>prefetcht0</item> + <item>prefetcht1</item> + <item>prefetcht2</item> + <item>prefetchw</item> + <item>psadbw</item> + <item>pshufd</item> + <item>pshufhw</item> + <item>pshuflw</item> + <item>pshufw</item> + <item>pslld</item> + <item>pslldq</item> + <item>psllq</item> + <item>psllw</item> + <item>psrad</item> + <item>psraw</item> + <item>psrld</item> + <item>psrldq</item> + <item>psrlq</item> + <item>psrlw</item> + <item>psubb</item> + <item>psubd</item> + <item>psubq</item> + <item>psubsb</item> + <item>psubsiw</item> + <item>psubsw</item> + <item>psubusb</item> + <item>psubusw</item> + <item>psubw</item> + <item>pswapd</item> + <item>punpckhbw</item> + <item>punpckhdq</item> + <item>punpckhqdq</item> + <item>punpckhwd</item> + <item>punpcklbw</item> + <item>punpckldq</item> + <item>punpcklqdq</item> + <item>punpcklwd</item> + <item>push</item> + <item>pusha</item> + <item>pushad</item> + <item>pushaw</item> + <item>pushf</item> + <item>pushfd</item> + <item>pushfw</item> + <item>pxor</item> + <item>rcl</item> + <item>rcpps</item> + <item>rcpss</item> + <item>rcr</item> + <item>rdmsr</item> + <item>rdpmc</item> + <item>rdshr</item> + <item>rdtsc</item> + <item>ret</item> + <item>retf</item> + <item>retn</item> + <item>rol</item> + <item>ror</item> + <item>rsdc</item> + <item>rsldt</item> + <item>rsm</item> + <item>rsqrtps</item> + <item>rsqrtss</item> + <item>rsts</item> + <item>sahf</item> + <item>sal</item> + <item>salc</item> + <item>sar</item> + <item>sbb</item> + <item>scasb</item> + <item>scasd</item> + <item>scasw</item> + <item>setcc</item> + <item>sfence</item> + <item>sgdt</item> + <item>shl</item> + <item>shld</item> + <item>shr</item> + <item>shrd</item> + <item>shufpd</item> + <item>shufps</item> + <item>sidt</item> + <item>sldt</item> + <item>smi</item> + <item>smint</item> + <item>smintold</item> + <item>smsw</item> + <item>sqrtpd</item> + <item>sqrtps</item> + <item>sqrtsd</item> + <item>sqrtss</item> + <item>stc</item> + <item>std</item> + <item>sti</item> + <item>stmxcsr</item> + <item>stosb</item> + <item>stosd</item> + <item>stosw</item> + <item>str</item> + <item>sub</item> + <item>subpd</item> + <item>subps</item> + <item>subsd</item> + <item>subss</item> + <item>svdc</item> + <item>svldt</item> + <item>svts</item> + <item>syscall</item> + <item>sysenter</item> + <item>sysexit</item> + <item>sysret</item> + <item>test</item> + <item>ucomisd</item> + <item>ucomiss</item> + <item>ud0</item> + <item>ud1</item> + <item>ud2</item> + <item>umov</item> + <item>unpckhpd</item> + <item>unpckhps</item> + <item>unpcklpd</item> + <item>unpcklps</item> + <item>verr</item> + <item>verw</item> + <item>wait</item> + <item>wbinvd</item> + <item>wrmsr</item> + <item>wrshr</item> + <item>xadd</item> + <item>xbts</item> + <item>xchg</item> + <item>xlat</item> + <item>xlatb</item> + <item>xor</item> + <item>xorpd</item> + <item>xorps</item> + </list> + <list name="Data"> + <!-- repeat some data declaration --> + <item>times</item> + <!-- constants --> + <item>equ</item> + <!-- Initialized data --> + <item>db</item> + <item>dw</item> + <item>dd</item> + <item>dq</item> + <item>dt</item> + <!-- Uninitialized data --> + <item>resb</item> + <item>resw</item> + <item>resd</item> + <item>resq</item> + <item>rest</item> + <!-- binary file include --> + <item>incbin</item> + <!-- operand size --> + <item>byte</item> + <item>word</item> + <item>dword</item> + <item>qword</item> + <item>short</item> + <item>ptr</item> + </list> + <list name="NASM Keywords"> + <!-- NASM directives --> + <item>org</item> + <item>bits</item> + <item>use16</item> + <item>use32</item> + <item>section</item> + <item>segment</item> + <item>__sect__</item> + <item>absolute</item> + <item>extern</item> + <item>global</item> + <item>common</item> + <item>seg</item> + <item>wrt</item> + <item>strict</item> + <!-- NASM standard macros --> + <item>struc</item> + <item>endstruc</item> + <item>istruc</item> + <item>at</item> + <item>iend</item> + <item>align</item> + <item>alignb</item> + + <item>__NASM_MAJOR__</item> + <item>__NASM_MINOR__</item> + <item>__NASM_SUBMINOR__</item> + <item>___NASM_PATCHLEVEL__</item> + <item>__NASM_VERSION_ID__</item> + <item>__NASM_VER__</item> + <item>__FILE__</item> + <item>__LINE__</item> + </list> + <contexts> + <context name="Normal" attribute="Normal Text" lineEndContext="#stay"> + <keyword attribute="Registers" context="#stay" String="registers" /> + <keyword attribute="Data" context="#stay" String="Data"/> + <keyword attribute="Instructions" context="#stay" String="instructions"/> + <keyword attribute="NASM Keywords" context="#stay" String="NASM Keywords"/> + <DetectChar attribute="Comment" context="Comment" char=";" /> + <DetectChar attribute="Preprocessor" context="Preprocessor" char="%" /> + <AnyChar attribute="String" context="String" String=""'"/> + <RegExpr attribute="Label" context="#stay" String="^\s*[A-Za-z0-9_.$]+:" /> + <!-- Conditional instructions --> + <RegExpr attribute="Instructions" context="#stay" + String="(cmov|fcmov|j|loop|set)(a|ae|b|be|c|e|g|ge|l|le|na|nae|nb|nbe|nc|ne|ng|nge|nl|nle|no|np|ns|nz|o|p|pe|po|s|z)" /> + <!-- The NASM's CPU directive --> + <RegExpr attribute="NASM Keywords" context="#stay" String="cpu (pentium|ppro|p2|p3|katmai|p4|willamette|prescott|ia64)*"/> + <!-- hexadecimal numbers --> + <RegExpr attribute="BaseN" context="#stay" insensitive="TRUE" String="(\$[0-9]+[a-f0-9]*|[a-f0-9]+h)"/> + <!-- octal and binary numbers --> + <RegExpr attribute="BaseN" context="#stay" insensitive="TRUE" String="([0-7]+(q|o)|[01]+b)"/> + <DetectChar attribute="Number" context="#stay" char="$" /> + <HlCOct attribute="BaseN" context="#stay"/> + <HlCHex attribute="BaseN" context="#stay"/> + <Float attribute="Float" context="#stay"/> + <Int attribute="Number" context="#stay"/> + <HlCChar attribute="Char" context="#stay"/> + </context> + <context name="Comment" attribute="Comment" lineEndContext="#pop"/> + <context name="Preprocessor" attribute="Preprocessor" lineEndContext="#pop"/> + <context name="String" attribute="String" lineEndContext="#pop"> + <AnyChar attribute="String" context="#pop" String=""'"/> + </context> + </contexts> + + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Registers" defStyleNum="dsKeyword"/> + <itemData name="Instructions" defStyleNum="dsKeyword"/> + <itemData name="NASM Keywords" defStyleNum="dsKeyword"/> + <itemData name="Comment" defStyleNum="dsComment"/> + <itemData name="Label" defStyleNum="dsFunction"/> + <itemData name="Data" defStyleNum="dsDataType"/> + <itemData name="BaseN" defStyleNum="dsBaseN"/> + <itemData name="Float" defStyleNum="dsFloat"/> + <itemData name="Number" defStyleNum="dsDecVal"/> + <itemData name="Char" defStyleNum="dsChar"/> + <itemData name="String" defStyleNum="dsString"/> + <itemData name="Preprocessor" defStyleNum="dsOthers"/> + </itemDatas> + </highlighting> + <general> + <keywords casesensitive="0" /> + <comments> + <comment name="singleLine" start=";" /> + </comments> + </general> +</language> + +<!-- kate: space-indent on; indent-width 2; replace-tabs on; --> diff --git a/kate/data/objectivec.xml b/kate/data/objectivec.xml new file mode 100644 index 000000000..0e931f7f0 --- /dev/null +++ b/kate/data/objectivec.xml @@ -0,0 +1,128 @@ +<?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"> + <highlighting> + <list name="keywords"> + <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> return </item> + <item> sizeof </item> + <item> struct </item> + <item> switch </item> + <item> typedef </item> + <item> union </item> + <item> while </item> + <item> @class </item> + <item> @defs </item> + <item> @encode </item> + <item> @end </item> + <item> @implementation </item> + <item> @interface </item> + <item> @private </item> + <item> @protected </item> + <item> @protocol </item> + <item> @public </item> + <item> @selector </item> + <item> self </item> + <item> super </item> + </list> + <list name="types"> + <item> auto </item> + <item> char </item> + <item> const </item> + <item> double </item> + <item> float </item> + <item> int </item> + <item> long </item> + <item> register </item> + <item> short </item> + <item> signed </item> + <item> static </item> + <item> unsigned </item> + <item> void </item> + <item> volatile </item> + </list> + <contexts> + <context attribute="Normal Text" lineEndContext="#stay" name="Default"> + <keyword attribute="Keyword" context="#stay" String="keywords"/> + <keyword attribute="Data Type" context="#stay" String="types"/> + <DetectChar attribute="Symbol" context="#stay" char="{" beginRegion="Brace1" /> + <DetectChar attribute="Symbol" context="#stay" char="}" endRegion="Brace1" /> + <Float attribute="Float" context="#stay"> + <AnyChar String="fF" attribute="Float" context="#stay"/> + </Float> + <HlCOct attribute="Octal" context="#stay"/> + <HlCHex attribute="Hex" context="#stay"/> + <Int attribute="Decimal" context="#stay" > + <StringDetect attribute="Decimal" context="#stay" String="ULL" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="LUL" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="LLU" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="UL" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="LU" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="LL" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="U" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="L" insensitive="TRUE"/> + </Int> + <HlCChar attribute="Char" context="#stay"/> + <DetectChar attribute="String" context="String" char="""/> + <Detect2Chars attribute="Comment" context="SingleLineComment" char="/" char1="/"/> + <Detect2Chars attribute="Comment" context="MultiLineComment" char="/" char1="*"/> + <AnyChar attribute="Symbol" context="#stay" String=":!%&()+,-/.*<=>?[]|~^;"/> + <RegExpr attribute="Preprocessor" context="Preprocessor" String="^#"/> + <Detect2Chars attribute="String" context="String" char="@" char1=""" /> + </context> + <context attribute="String" lineEndContext="#pop" name="String"> + <LineContinue attribute="String" context="#stay"/> + <HlCStringChar attribute="String Char" context="#stay"/> + <DetectChar attribute="String" context="#pop" char="""/> + </context> + <context attribute="Comment" lineEndContext="#pop" name="SingleLineComment"/> + <context attribute="Comment" lineEndContext="#stay" name="MultiLineComment"> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/"/> + </context> + <context attribute="Preprocessor" lineEndContext="Default" name="Preprocessor"> + <LineContinue attribute="Preprocessor" context="#stay"/> + <RangeDetect attribute="Prep. Lib" context="#stay" char=""" char1="""/> + <RangeDetect attribute="Prep. Lib" context="#stay" char="<" char1=">"/> + <IncludeRules context="##Doxygen" /> + <Detect2Chars attribute="Comment" context="SingleLineComment" char="/" char1="/"/> + <Detect2Chars attribute="Comment" context="MultiLineCommentPrep" char="/" char1="*"/> + </context> + <context attribute="Comment" lineEndContext="#stay" name="MultiLineCommentPrep"> + <Detect2Chars attribute="Comment" context="#pop#pop" char="*" char1="/"/> + </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="String" defStyleNum="dsString"/> + <itemData name="String Char" defStyleNum="dsChar"/> + <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)); --> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="singleLine" start="//" /> + <comment name="multiLine" start="/*" end="*/" /> + </comments> + <keywords casesensitive="1" /> + </general> +</language> diff --git a/kate/data/ocaml.xml b/kate/data/ocaml.xml new file mode 100644 index 000000000..6d7a07d49 --- /dev/null +++ b/kate/data/ocaml.xml @@ -0,0 +1,181 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- Kate syntax highlighting for Objective Caml version 3.07 in the standard and revised syntaxes. --> +<!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 ESC "(\\[ntbr'"\\]|\\[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.04" kateversion="2.4" section="Sources" extensions="*.ml;*.mli" mimetype="" priority="10" author="Glyn Webster (glyn@wave.co.nz)" 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> + <list name="keywords"> + <item> and </item> + <item> as </item> + <item> assert </item> + <item> asr </item> + <item> begin </item> + <item> class </item> + <item> closed </item> + <item> constraint </item> + <item> do </item> + <item> done </item> + <item> downto </item> + <item> else </item> + <item> end </item> + <item> exception </item> + <item> external </item> + <item> false </item> + <item> for </item> + <item> fun </item> + <item> function </item> + <item> functor </item> + <item> if </item> + <item> in </item> + <item> include </item> + <item> inherit </item> + <item> land </item> + <item> lazy </item> + <item> let </item> + <item> lor </item> + <item> lsl </item> + <item> lsr </item> + <item> lxor </item> + <item> match </item> + <item> method </item> + <item> mod </item> + <item> module </item> + <item> mutable </item> + <item> new </item> + <item> of </item> + <item> open </item> + <item> or </item> + <item> parser </item> + <item> private </item> + <item> rec </item> + <item> sig </item> + <item> struct </item> + <item> then </item> + <item> to </item> + <item> true </item> + <item> try </item> + <item> type </item> + <item> val </item> + <item> virtual </item> + <item> when </item> + <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> + <item> ref </item> + <item> array </item> + <item> bool </item> + <item> list </item> + <item> option </item> + </list> + <contexts> + + <context attribute="Normal Text" lineEndContext="#stay" name="Normal"> + + <Detect2Chars attribute="Comment" context="Multiline Comment" char="(" char1="*" beginRegion="comment" /> + + <!-- 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 --> + <!-- it's unlikey anyone would code like that.) --> + <RegExpr attribute="Directive" context="#stay" String="#&IDENT;.*$" firstNonSpace="true"/> + + <!-- 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=""" /> + <RegExpr attribute="Character" context="#stay" String="'(&ESC;|[^'])'" /> + <Detect2Chars attribute="Camlp4 Quotation" context="Camlp4 Quotation Constant" char="<" char1="<" /> + <RegExpr attribute="Camlp4 Quotation" context="Camlp4 Quotation Constant" String="<:&IDENT;<" /> + + <!-- 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;" /> + + <!-- 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;" /> + </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> + + <context attribute="String" lineEndContext="#stay" name="String Constant"> + <DetectChar attribute="String" context="#pop" char=""" /> + <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> + + <!-- 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=">" char1=">" /> + <Detect2Chars attribute="Camlp4 Quotation" context="Camlp4 Quotation Constant" char="<" char1="<" /> + <RegExpr attribute="Camlp4 Quotation" context="Camlp4 Quotation Constant" String="<:&IDENT;<" /> + <RegExpr attribute="Escaped characters" context="#stay" String="\\(\\|>>|<<)" /> + <RegExpr attribute="Escaped characters" context="#stay" String="\\<:&IDENT;<" /> + </context> + </contexts> + + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Identifier" 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"/> + </itemDatas> + </highlighting> + + <general> + <keywords casesensitive="1" /> + <comments> + <comment name="multiLine" start="(*" end="*)" /> + </comments> + </general> +</language> +<!-- kate: space-indent on; indent-width 2; replace-tabs on; --> diff --git a/kate/data/octave.xml b/kate/data/octave.xml new file mode 100644 index 000000000..a01ed3eb4 --- /dev/null +++ b/kate/data/octave.xml @@ -0,0 +1,2219 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<!-- + ==================================================================== + Octave syntax highlighting file for the KDE editors Kate and Kwrite + ==================================================================== + based on Octave 2.1.64 + function and variable list obtained by dispatch_help()'s output + + Change log: + 16-Dec-04 Created from Matlab and Scilab files. + + Author: Federico Zenith, Norwegian University of Science and Technology + Thanks to Luis Silvestre for previous version and suggestions +--> + + +<language name="Octave" version="1.01" kateversion="2.3" section="Scientific" extensions="*.octave;*.m;*.M" mimetype="text/octave" casesensitive="1" license="GPL" author="Luis Silvestre and Federico Zenith"> + + <highlighting> + + <!-- Reserved keywords in Octave --> + <list name="keywords"> + <item> all_va_args </item> + <item> break </item> + <item> case </item> + <item> continue </item> + <item> else </item> + <item> elseif </item> + <item> end_unwind_protect </item> + <item> global </item> + <item> gplot </item> + <item> gsplot </item> + <item> otherwise </item> + <item> persistent </item> + <item> replot </item> + <item> return </item> + <item> static </item> + <item> until </item> + <item> unwind_protect </item> + <item> unwind_protect_cleanup </item> + <item> varargin </item> + <item> varargout </item> + </list> + + <list name="builtin"> + <item> argv </item> + <item> e </item> + <item> eps </item> + <item> false </item> + <item> F_DUPFD </item> + <item> F_GETFD </item> + <item> F_GETFL </item> + <item> filesep </item> + <item> F_SETFD </item> + <item> F_SETFL </item> + <item> i </item> + <item> I </item> + <item> inf </item> + <item> Inf </item> + <item> j </item> + <item> J </item> + <item> NA </item> + <item> nan </item> + <item> NaN </item> + <item> O_APPEND </item> + <item> O_ASYNC </item> + <item> O_CREAT </item> + <item> OCTAVE_HOME </item> + <item> OCTAVE_VERSION </item> + <item> O_EXCL </item> + <item> O_NONBLOCK </item> + <item> O_RDONLY </item> + <item> O_RDWR </item> + <item> O_SYNC </item> + <item> O_TRUNC </item> + <item> O_WRONLY </item> + <item> pi </item> + <item> program_invocation_name </item> + <item> program_name </item> + <item> P_tmpdir </item> + <item> realmax </item> + <item> realmin </item> + <item> SEEK_CUR </item> + <item> SEEK_END </item> + <item> SEEK_SET </item> + <item> SIG </item> + <item> stderr </item> + <item> stdin </item> + <item> stdout </item> + <item> true </item> + <item> ans </item> + <item> automatic_replot </item> + <item> beep_on_error </item> + <item> completion_append_char </item> + <item> crash_dumps_octave_core </item> + <item> current_script_file_name </item> + <item> debug_on_error </item> + <item> debug_on_interrupt </item> + <item> debug_on_warning </item> + <item> debug_symtab_lookups </item> + <item> DEFAULT_EXEC_PATH </item> + <item> DEFAULT_LOADPATH </item> + <item> default_save_format </item> + <item> echo_executing_commands </item> + <item> EDITOR </item> + <item> EXEC_PATH </item> + <item> FFTW_WISDOM_PROGRAM </item> + <item> fixed_point_format </item> + <item> gnuplot_binary </item> + <item> gnuplot_command_axes </item> + <item> gnuplot_command_end </item> + <item> gnuplot_command_plot </item> + <item> gnuplot_command_replot </item> + <item> gnuplot_command_splot </item> + <item> gnuplot_command_title </item> + <item> gnuplot_command_using </item> + <item> gnuplot_command_with </item> + <item> gnuplot_has_frames </item> + <item> history_file </item> + <item> history_size </item> + <item> ignore_function_time_stamp </item> + <item> IMAGEPATH </item> + <item> INFO_FILE </item> + <item> INFO_PROGRAM </item> + <item> __kluge_procbuf_delay__ </item> + <item> LOADPATH </item> + <item> MAKEINFO_PROGRAM </item> + <item> max_recursion_depth </item> + <item> octave_core_file_format </item> + <item> octave_core_file_limit </item> + <item> octave_core_file_name </item> + <item> output_max_field_width </item> + <item> output_precision </item> + <item> page_output_immediately </item> + <item> PAGER </item> + <item> page_screen_output </item> + <item> print_answer_id_name </item> + <item> print_empty_dimensions </item> + <item> print_rhs_assign_val </item> + <item> PS1 </item> + <item> PS2 </item> + <item> PS4 </item> + <item> save_header_format_string </item> + <item> save_precision </item> + <item> saving_history </item> + <item> sighup_dumps_octave_core </item> + <item> sigterm_dumps_octave_core </item> + <item> silent_functions </item> + <item> split_long_rows </item> + <item> string_fill_char </item> + <item> struct_levels_to_print </item> + <item> suppress_verbose_help_message </item> + <item> variables_can_hide_functions </item> + <item> warn_assign_as_truth_value </item> + <item> warn_divide_by_zero </item> + <item> warn_empty_list_elements </item> + <item> warn_fortran_indexing </item> + <item> warn_function_name_clash </item> + <item> warn_future_time_stamp </item> + <item> warn_imag_to_real </item> + <item> warn_matlab_incompatible </item> + <item> warn_missing_semicolon </item> + <item> warn_neg_dim_as_zero </item> + <item> warn_num_to_str </item> + <item> warn_precedence_change </item> + <item> warn_reload_forces_clear </item> + <item> warn_resize_on_range_error </item> + <item> warn_separator_insert </item> + <item> warn_single_quote_string </item> + <item> warn_str_to_num </item> + <item> warn_undefined_return_values </item> + <item> warn_variable_switch_label </item> + <item> whos_line_format </item> + </list> + + <list name="commands"> + <item> casesen </item> + <item> cd </item> + <item> chdir </item> + <item> clear </item> + <item> dbclear </item> + <item> dbstatus </item> + <item> dbstop </item> + <item> dbtype </item> + <item> dbwhere </item> + <item> diary </item> + <item> echo </item> + <item> edit_history </item> + <item> __end__ </item> + <item> format </item> + <item> gset </item> + <item> gshow </item> + <item> help </item> + <item> history </item> + <item> hold </item> + <item> iskeyword </item> + <item> isvarname </item> + <item> load </item> + <item> ls </item> + <item> mark_as_command </item> + <item> mislocked </item> + <item> mlock </item> + <item> more </item> + <item> munlock </item> + <item> run_history </item> + <item> save </item> + <item> set </item> + <item> show </item> + <item> type </item> + <item> unmark_command </item> + <item> which </item> + <item> who </item> + <item> whos </item> + </list> + + <list name="functions"> + <item> abs </item> + <item> acos </item> + <item> acosh </item> + <item> all </item> + <item> angle </item> + <item> any </item> + <item> append </item> + <item> arg </item> + <item> argnames </item> + <item> asin </item> + <item> asinh </item> + <item> assignin </item> + <item> atan </item> + <item> atan2 </item> + <item> atanh </item> + <item> atexit </item> + <item> bitand </item> + <item> bitmax </item> + <item> bitor </item> + <item> bitshift </item> + <item> bitxor </item> + <item> casesen </item> + <item> cat </item> + <item> cd </item> + <item> ceil </item> + <item> cell </item> + <item> cell2struct </item> + <item> cellstr </item> + <item> char </item> + <item> chdir </item> + <item> class </item> + <item> clc </item> + <item> clear </item> + <item> clearplot </item> + <item> clg </item> + <item> closeplot </item> + <item> completion_matches </item> + <item> conj </item> + <item> conv </item> + <item> convmtx </item> + <item> cos </item> + <item> cosh </item> + <item> cumprod </item> + <item> cumsum </item> + <item> dbclear </item> + <item> dbstatus </item> + <item> dbstop </item> + <item> dbtype </item> + <item> dbwhere </item> + <item> deconv </item> + <item> det </item> + <item> dftmtx </item> + <item> diag </item> + <item> diary </item> + <item> disp </item> + <item> document </item> + <item> do_string_escapes </item> + <item> double </item> + <item> dup2 </item> + <item> echo </item> + <item> edit_history </item> + <item> __end__ </item> + <item> erf </item> + <item> erfc </item> + <item> ERRNO </item> + <item> error </item> + <item> __error_text__ </item> + <item> error_text </item> + <item> eval </item> + <item> evalin </item> + <item> exec </item> + <item> exist </item> + <item> exit </item> + <item> exp </item> + <item> eye </item> + <item> fclose </item> + <item> fcntl </item> + <item> fdisp </item> + <item> feof </item> + <item> ferror </item> + <item> feval </item> + <item> fflush </item> + <item> fft </item> + <item> fgetl </item> + <item> fgets </item> + <item> fieldnames </item> + <item> file_in_loadpath </item> + <item> file_in_path </item> + <item> filter </item> + <item> find </item> + <item> find_first_of_in_loadpath </item> + <item> finite </item> + <item> fix </item> + <item> floor </item> + <item> fmod </item> + <item> fnmatch </item> + <item> fopen </item> + <item> fork </item> + <item> format </item> + <item> formula </item> + <item> fprintf </item> + <item> fputs </item> + <item> fread </item> + <item> freport </item> + <item> frewind </item> + <item> fscanf </item> + <item> fseek </item> + <item> ftell </item> + <item> func2str </item> + <item> functions </item> + <item> fwrite </item> + <item> gamma </item> + <item> gammaln </item> + <item> getegid </item> + <item> getenv </item> + <item> geteuid </item> + <item> getgid </item> + <item> getpgrp </item> + <item> getpid </item> + <item> getppid </item> + <item> getuid </item> + <item> glob </item> + <item> graw </item> + <item> gset </item> + <item> gshow </item> + <item> help </item> + <item> history </item> + <item> hold </item> + <item> home </item> + <item> horzcat </item> + <item> ifft </item> + <item> imag </item> + <item> inline </item> + <item> input </item> + <item> input_event_hook </item> + <item> int16 </item> + <item> int32 </item> + <item> int64 </item> + <item> int8 </item> + <item> intmax </item> + <item> intmin </item> + <item> inv </item> + <item> inverse </item> + <item> ipermute </item> + <item> isalnum </item> + <item> isalpha </item> + <item> isascii </item> + <item> isbool </item> + <item> iscell </item> + <item> iscellstr </item> + <item> ischar </item> + <item> iscntrl </item> + <item> iscomplex </item> + <item> isdigit </item> + <item> isempty </item> + <item> isfield </item> + <item> isfinite </item> + <item> isglobal </item> + <item> isgraph </item> + <item> ishold </item> + <item> isieee </item> + <item> isinf </item> + <item> iskeyword </item> + <item> islist </item> + <item> islogical </item> + <item> islower </item> + <item> ismatrix </item> + <item> isna </item> + <item> isnan </item> + <item> is_nan_or_na </item> + <item> isnumeric </item> + <item> isprint </item> + <item> ispunct </item> + <item> isreal </item> + <item> isspace </item> + <item> isstream </item> + <item> isstreamoff </item> + <item> isstruct </item> + <item> isupper </item> + <item> isvarname </item> + <item> isxdigit </item> + <item> kbhit </item> + <item> keyboard </item> + <item> kill </item> + <item> lasterr </item> + <item> lastwarn </item> + <item> length </item> + <item> lgamma </item> + <item> link </item> + <item> linspace </item> + <item> list </item> + <item> load </item> + <item> log </item> + <item> log10 </item> + <item> ls </item> + <item> lstat </item> + <item> lu </item> + <item> mark_as_command </item> + <item> mislocked </item> + <item> mkdir </item> + <item> mkfifo </item> + <item> mkstemp </item> + <item> mlock </item> + <item> more </item> + <item> munlock </item> + <item> nargin </item> + <item> nargout </item> + <item> native_float_format </item> + <item> ndims </item> + <item> nth </item> + <item> numel </item> + <item> octave_config_info </item> + <item> octave_tmp_file_name </item> + <item> ones </item> + <item> pause </item> + <item> pclose </item> + <item> permute </item> + <item> pipe </item> + <item> popen </item> + <item> printf </item> + <item> __print_symbol_info__ </item> + <item> __print_symtab_info__ </item> + <item> prod </item> + <item> purge_tmp_files </item> + <item> putenv </item> + <item> puts </item> + <item> pwd </item> + <item> quit </item> + <item> rank </item> + <item> readdir </item> + <item> readlink </item> + <item> read_readline_init_file </item> + <item> real </item> + <item> rehash </item> + <item> rename </item> + <item> reshape </item> + <item> reverse </item> + <item> rmdir </item> + <item> rmfield </item> + <item> roots </item> + <item> round </item> + <item> run_history </item> + <item> save </item> + <item> scanf </item> + <item> set </item> + <item> shell_cmd </item> + <item> show </item> + <item> sign </item> + <item> sin </item> + <item> sinh </item> + <item> size </item> + <item> sizeof </item> + <item> sleep </item> + <item> sort </item> + <item> source </item> + <item> splice </item> + <item> sprintf </item> + <item> sqrt </item> + <item> squeeze </item> + <item> sscanf </item> + <item> stat </item> + <item> str2func </item> + <item> streamoff </item> + <item> struct </item> + <item> struct2cell </item> + <item> sum </item> + <item> sumsq </item> + <item> symlink </item> + <item> system </item> + <item> tan </item> + <item> tanh </item> + <item> tilde_expand </item> + <item> tmpfile </item> + <item> tmpnam </item> + <item> toascii </item> + <item> __token_count__ </item> + <item> tolower </item> + <item> toupper </item> + <item> type </item> + <item> typeinfo </item> + <item> uint16 </item> + <item> uint32 </item> + <item> uint64 </item> + <item> uint8 </item> + <item> umask </item> + <item> undo_string_escapes </item> + <item> unlink </item> + <item> unmark_command </item> + <item> usage </item> + <item> usleep </item> + <item> va_arg </item> + <item> va_start </item> + <item> vectorize </item> + <item> vertcat </item> + <item> vr_val </item> + <item> waitpid </item> + <item> warning </item> + <item> warranty </item> + <item> which </item> + <item> who </item> + <item> whos </item> + <item> zeros </item> + <item> airy </item> + <item> balance </item> + <item> besselh </item> + <item> besseli </item> + <item> besselj </item> + <item> besselk </item> + <item> bessely </item> + <item> betainc </item> + <item> chol </item> + <item> colloc </item> + <item> daspk </item> + <item> daspk_options </item> + <item> dasrt </item> + <item> dasrt_options </item> + <item> dassl </item> + <item> dassl_options </item> + <item> det </item> + <item> eig </item> + <item> endgrent </item> + <item> endpwent </item> + <item> expm </item> + <item> fft </item> + <item> fft2 </item> + <item> fftn </item> + <item> fftw_wisdom </item> + <item> filter </item> + <item> find </item> + <item> fsolve </item> + <item> fsolve_options </item> + <item> gammainc </item> + <item> gcd </item> + <item> getgrent </item> + <item> getgrgid </item> + <item> getgrnam </item> + <item> getpwent </item> + <item> getpwnam </item> + <item> getpwuid </item> + <item> getrusage </item> + <item> givens </item> + <item> gmtime </item> + <item> hess </item> + <item> ifft </item> + <item> ifft2 </item> + <item> ifftn </item> + <item> inv </item> + <item> inverse </item> + <item> kron </item> + <item> localtime </item> + <item> lpsolve </item> + <item> lpsolve_options </item> + <item> lsode </item> + <item> lsode_options </item> + <item> lu </item> + <item> max </item> + <item> min </item> + <item> minmax </item> + <item> mktime </item> + <item> odessa </item> + <item> odessa_options </item> + <item> pinv </item> + <item> qr </item> + <item> quad </item> + <item> quad_options </item> + <item> qz </item> + <item> rand </item> + <item> randn </item> + <item> schur </item> + <item> setgrent </item> + <item> setpwent </item> + <item> sort </item> + <item> sqrtm </item> + <item> strftime </item> + <item> strptime </item> + <item> svd </item> + <item> syl </item> + <item> time </item> + <item> abcddim </item> + <item> __abcddims__ </item> + <item> acot </item> + <item> acoth </item> + <item> acsc </item> + <item> acsch </item> + <item> analdemo </item> + <item> anova </item> + <item> arch_fit </item> + <item> arch_rnd </item> + <item> arch_test </item> + <item> are </item> + <item> arma_rnd </item> + <item> asctime </item> + <item> asec </item> + <item> asech </item> + <item> autocor </item> + <item> autocov </item> + <item> autoreg_matrix </item> + <item> axis </item> + <item> axis2dlim </item> + <item> __axis_label__ </item> + <item> bar </item> + <item> bartlett </item> + <item> bartlett_test </item> + <item> base2dec </item> + <item> bddemo </item> + <item> beep </item> + <item> bessel </item> + <item> beta </item> + <item> beta_cdf </item> + <item> betai </item> + <item> beta_inv </item> + <item> beta_pdf </item> + <item> beta_rnd </item> + <item> bin2dec </item> + <item> bincoeff </item> + <item> binomial_cdf </item> + <item> binomial_inv </item> + <item> binomial_pdf </item> + <item> binomial_rnd </item> + <item> bitcmp </item> + <item> bitget </item> + <item> bitset </item> + <item> blackman </item> + <item> blanks </item> + <item> bode </item> + <item> bode_bounds </item> + <item> __bodquist__ </item> + <item> bottom_title </item> + <item> bug_report </item> + <item> buildssic </item> + <item> c2d </item> + <item> cart2pol </item> + <item> cart2sph </item> + <item> cauchy_cdf </item> + <item> cauchy_inv </item> + <item> cauchy_pdf </item> + <item> cauchy_rnd </item> + <item> cellidx </item> + <item> center </item> + <item> chisquare_cdf </item> + <item> chisquare_inv </item> + <item> chisquare_pdf </item> + <item> chisquare_rnd </item> + <item> chisquare_test_homogeneity </item> + <item> chisquare_test_independence </item> + <item> circshift </item> + <item> clock </item> + <item> cloglog </item> + <item> close </item> + <item> colormap </item> + <item> columns </item> + <item> com2str </item> + <item> comma </item> + <item> common_size </item> + <item> commutation_matrix </item> + <item> compan </item> + <item> complement </item> + <item> computer </item> + <item> cond </item> + <item> contour </item> + <item> controldemo </item> + <item> conv </item> + <item> cor </item> + <item> corrcoef </item> + <item> cor_test </item> + <item> cot </item> + <item> coth </item> + <item> cov </item> + <item> cputime </item> + <item> create_set </item> + <item> cross </item> + <item> csc </item> + <item> csch </item> + <item> ctime </item> + <item> ctrb </item> + <item> cut </item> + <item> d2c </item> + <item> damp </item> + <item> dare </item> + <item> date </item> + <item> dcgain </item> + <item> deal </item> + <item> deblank </item> + <item> dec2base </item> + <item> dec2bin </item> + <item> dec2hex </item> + <item> deconv </item> + <item> delete </item> + <item> DEMOcontrol </item> + <item> demoquat </item> + <item> detrend </item> + <item> dezero </item> + <item> dgkfdemo </item> + <item> dgram </item> + <item> dhinfdemo </item> + <item> diff </item> + <item> diffpara </item> + <item> dir </item> + <item> discrete_cdf </item> + <item> discrete_inv </item> + <item> discrete_pdf </item> + <item> discrete_rnd </item> + <item> dkalman </item> + <item> dlqe </item> + <item> dlqg </item> + <item> dlqr </item> + <item> dlyap </item> + <item> dmr2d </item> + <item> dmult </item> + <item> dot </item> + <item> dre </item> + <item> dump_prefs </item> + <item> duplication_matrix </item> + <item> durbinlevinson </item> + <item> empirical_cdf </item> + <item> empirical_inv </item> + <item> empirical_pdf </item> + <item> empirical_rnd </item> + <item> erfinv </item> + <item> __errcomm__ </item> + <item> errorbar </item> + <item> __errplot__ </item> + <item> etime </item> + <item> exponential_cdf </item> + <item> exponential_inv </item> + <item> exponential_pdf </item> + <item> exponential_rnd </item> + <item> f_cdf </item> + <item> fftconv </item> + <item> fftfilt </item> + <item> fftshift </item> + <item> figure </item> + <item> fileparts </item> + <item> findstr </item> + <item> f_inv </item> + <item> fir2sys </item> + <item> flipdim </item> + <item> fliplr </item> + <item> flipud </item> + <item> flops </item> + <item> f_pdf </item> + <item> fractdiff </item> + <item> frdemo </item> + <item> freqchkw </item> + <item> __freqresp__ </item> + <item> freqz </item> + <item> freqz_plot </item> + <item> f_rnd </item> + <item> f_test_regression </item> + <item> fullfile </item> + <item> fv </item> + <item> fvl </item> + <item> gamma_cdf </item> + <item> gammai </item> + <item> gamma_inv </item> + <item> gamma_pdf </item> + <item> gamma_rnd </item> + <item> geometric_cdf </item> + <item> geometric_inv </item> + <item> geometric_pdf </item> + <item> geometric_rnd </item> + <item> gls </item> + <item> gram </item> + <item> gray </item> + <item> gray2ind </item> + <item> grid </item> + <item> h2norm </item> + <item> h2syn </item> + <item> hamming </item> + <item> hankel </item> + <item> hanning </item> + <item> hex2dec </item> + <item> hilb </item> + <item> hinf_ctr </item> + <item> hinfdemo </item> + <item> hinfnorm </item> + <item> hinfsyn </item> + <item> hinfsyn_chk </item> + <item> hinfsyn_ric </item> + <item> hist </item> + <item> hotelling_test </item> + <item> hotelling_test_2 </item> + <item> housh </item> + <item> hsv2rgb </item> + <item> hurst </item> + <item> hypergeometric_cdf </item> + <item> hypergeometric_inv </item> + <item> hypergeometric_pdf </item> + <item> hypergeometric_rnd </item> + <item> image </item> + <item> imagesc </item> + <item> impulse </item> + <item> imshow </item> + <item> ind2gray </item> + <item> ind2rgb </item> + <item> ind2sub </item> + <item> index </item> + <item> int2str </item> + <item> intersection </item> + <item> invhilb </item> + <item> iqr </item> + <item> irr </item> + <item> isa </item> + <item> is_abcd </item> + <item> is_bool </item> + <item> is_complex </item> + <item> is_controllable </item> + <item> isdefinite </item> + <item> is_detectable </item> + <item> is_dgkf </item> + <item> is_digital </item> + <item> is_duplicate_entry </item> + <item> is_global </item> + <item> is_leap_year </item> + <item> isletter </item> + <item> is_list </item> + <item> is_matrix </item> + <item> is_observable </item> + <item> ispc </item> + <item> is_sample </item> + <item> is_scalar </item> + <item> isscalar </item> + <item> is_signal_list </item> + <item> is_siso </item> + <item> is_square </item> + <item> issquare </item> + <item> is_stabilizable </item> + <item> is_stable </item> + <item> isstr </item> + <item> is_stream </item> + <item> is_struct </item> + <item> is_symmetric </item> + <item> issymmetric </item> + <item> isunix </item> + <item> is_vector </item> + <item> isvector </item> + <item> jet707 </item> + <item> kendall </item> + <item> kolmogorov_smirnov_cdf </item> + <item> kolmogorov_smirnov_test </item> + <item> kolmogorov_smirnov_test_2 </item> + <item> kruskal_wallis_test </item> + <item> krylov </item> + <item> krylovb </item> + <item> kurtosis </item> + <item> laplace_cdf </item> + <item> laplace_inv </item> + <item> laplace_pdf </item> + <item> laplace_rnd </item> + <item> lcm </item> + <item> lin2mu </item> + <item> listidx </item> + <item> list_primes </item> + <item> loadaudio </item> + <item> loadimage </item> + <item> log2 </item> + <item> logical </item> + <item> logistic_cdf </item> + <item> logistic_inv </item> + <item> logistic_pdf </item> + <item> logistic_regression </item> + <item> logistic_regression_derivatives </item> + <item> logistic_regression_likelihood </item> + <item> logistic_rnd </item> + <item> logit </item> + <item> loglog </item> + <item> loglogerr </item> + <item> logm </item> + <item> lognormal_cdf </item> + <item> lognormal_inv </item> + <item> lognormal_pdf </item> + <item> lognormal_rnd </item> + <item> logspace </item> + <item> lower </item> + <item> lqe </item> + <item> lqg </item> + <item> lqr </item> + <item> lsim </item> + <item> ltifr </item> + <item> lyap </item> + <item> mahalanobis </item> + <item> manova </item> + <item> mcnemar_test </item> + <item> mean </item> + <item> meansq </item> + <item> median </item> + <item> menu </item> + <item> mesh </item> + <item> meshdom </item> + <item> meshgrid </item> + <item> minfo </item> + <item> mod </item> + <item> moddemo </item> + <item> moment </item> + <item> mplot </item> + <item> mu2lin </item> + <item> multiplot </item> + <item> nargchk </item> + <item> nextpow2 </item> + <item> nichols </item> + <item> norm </item> + <item> normal_cdf </item> + <item> normal_inv </item> + <item> normal_pdf </item> + <item> normal_rnd </item> + <item> not </item> + <item> nper </item> + <item> npv </item> + <item> ntsc2rgb </item> + <item> null </item> + <item> num2str </item> + <item> nyquist </item> + <item> obsv </item> + <item> ocean </item> + <item> ols </item> + <item> oneplot </item> + <item> ord2 </item> + <item> orth </item> + <item> __outlist__ </item> + <item> pack </item> + <item> packedform </item> + <item> packsys </item> + <item> parallel </item> + <item> paren </item> + <item> pascal_cdf </item> + <item> pascal_inv </item> + <item> pascal_pdf </item> + <item> pascal_rnd </item> + <item> path </item> + <item> periodogram </item> + <item> perror </item> + <item> place </item> + <item> playaudio </item> + <item> plot </item> + <item> plot_border </item> + <item> __plr__ </item> + <item> __plr1__ </item> + <item> __plr2__ </item> + <item> __plt__ </item> + <item> __plt1__ </item> + <item> __plt2__ </item> + <item> __plt2mm__ </item> + <item> __plt2mv__ </item> + <item> __plt2ss__ </item> + <item> __plt2vm__ </item> + <item> __plt2vv__ </item> + <item> __pltopt__ </item> + <item> __pltopt1__ </item> + <item> pmt </item> + <item> poisson_cdf </item> + <item> poisson_inv </item> + <item> poisson_pdf </item> + <item> poisson_rnd </item> + <item> pol2cart </item> + <item> polar </item> + <item> poly </item> + <item> polyder </item> + <item> polyderiv </item> + <item> polyfit </item> + <item> polyinteg </item> + <item> polyout </item> + <item> polyreduce </item> + <item> polyval </item> + <item> polyvalm </item> + <item> popen2 </item> + <item> postpad </item> + <item> pow2 </item> + <item> ppplot </item> + <item> prepad </item> + <item> probit </item> + <item> prompt </item> + <item> prop_test_2 </item> + <item> pv </item> + <item> pvl </item> + <item> pzmap </item> + <item> qconj </item> + <item> qcoordinate_plot </item> + <item> qderiv </item> + <item> qderivmat </item> + <item> qinv </item> + <item> qmult </item> + <item> qqplot </item> + <item> qtrans </item> + <item> qtransv </item> + <item> qtransvmat </item> + <item> quaternion </item> + <item> qzhess </item> + <item> qzval </item> + <item> randperm </item> + <item> range </item> + <item> rank </item> + <item> ranks </item> + <item> rate </item> + <item> record </item> + <item> rectangle_lw </item> + <item> rectangle_sw </item> + <item> rem </item> + <item> repmat </item> + <item> residue </item> + <item> rgb2hsv </item> + <item> rgb2ind </item> + <item> rgb2ntsc </item> + <item> rindex </item> + <item> rldemo </item> + <item> rlocus </item> + <item> roots </item> + <item> rot90 </item> + <item> rotdim </item> + <item> rotg </item> + <item> rows </item> + <item> run_cmd </item> + <item> run_count </item> + <item> run_test </item> + <item> saveaudio </item> + <item> saveimage </item> + <item> sec </item> + <item> sech </item> + <item> semicolon </item> + <item> semilogx </item> + <item> semilogxerr </item> + <item> semilogy </item> + <item> semilogyerr </item> + <item> series </item> + <item> setaudio </item> + <item> setstr </item> + <item> shg </item> + <item> shift </item> + <item> shiftdim </item> + <item> sign_test </item> + <item> sinc </item> + <item> sinetone </item> + <item> sinewave </item> + <item> skewness </item> + <item> sombrero </item> + <item> sortcom </item> + <item> spearman </item> + <item> spectral_adf </item> + <item> spectral_xdf </item> + <item> spencer </item> + <item> sph2cart </item> + <item> split </item> + <item> ss </item> + <item> ss2sys </item> + <item> ss2tf </item> + <item> ss2zp </item> + <item> stairs </item> + <item> starp </item> + <item> statistics </item> + <item> std </item> + <item> stdnormal_cdf </item> + <item> stdnormal_inv </item> + <item> stdnormal_pdf </item> + <item> stdnormal_rnd </item> + <item> step </item> + <item> __stepimp__ </item> + <item> stft </item> + <item> str2mat </item> + <item> str2num </item> + <item> strappend </item> + <item> strcat </item> + <item> strcmp </item> + <item> strerror </item> + <item> strjust </item> + <item> strrep </item> + <item> struct_contains </item> + <item> struct_elements </item> + <item> studentize </item> + <item> sub2ind </item> + <item> subplot </item> + <item> substr </item> + <item> subwindow </item> + <item> swap </item> + <item> swapcols </item> + <item> swaprows </item> + <item> sylvester_matrix </item> + <item> synthesis </item> + <item> sys2fir </item> + <item> sys2ss </item> + <item> sys2tf </item> + <item> sys2zp </item> + <item> sysadd </item> + <item> sysappend </item> + <item> syschnames </item> + <item> __syschnamesl__ </item> + <item> syschtsam </item> + <item> __sysconcat__ </item> + <item> sysconnect </item> + <item> syscont </item> + <item> __syscont_disc__ </item> + <item> __sysdefioname__ </item> + <item> __sysdefstname__ </item> + <item> sysdimensions </item> + <item> sysdisc </item> + <item> sysdup </item> + <item> sysgetsignals </item> + <item> sysgettsam </item> + <item> sysgettype </item> + <item> sysgroup </item> + <item> __sysgroupn__ </item> + <item> sysidx </item> + <item> sysmin </item> + <item> sysmult </item> + <item> sysout </item> + <item> sysprune </item> + <item> sysreorder </item> + <item> sysrepdemo </item> + <item> sysscale </item> + <item> syssetsignals </item> + <item> syssub </item> + <item> sysupdate </item> + <item> table </item> + <item> t_cdf </item> + <item> tempdir </item> + <item> tempname </item> + <item> texas_lotto </item> + <item> tf </item> + <item> tf2ss </item> + <item> tf2sys </item> + <item> __tf2sysl__ </item> + <item> tf2zp </item> + <item> __tfl__ </item> + <item> tfout </item> + <item> tic </item> + <item> t_inv </item> + <item> title </item> + <item> toc </item> + <item> toeplitz </item> + <item> top_title </item> + <item> t_pdf </item> + <item> trace </item> + <item> triangle_lw </item> + <item> triangle_sw </item> + <item> tril </item> + <item> triu </item> + <item> t_rnd </item> + <item> t_test </item> + <item> t_test_2 </item> + <item> t_test_regression </item> + <item> tzero </item> + <item> tzero2 </item> + <item> ugain </item> + <item> uniform_cdf </item> + <item> uniform_inv </item> + <item> uniform_pdf </item> + <item> uniform_rnd </item> + <item> union </item> + <item> unix </item> + <item> unpacksys </item> + <item> unwrap </item> + <item> upper </item> + <item> u_test </item> + <item> values </item> + <item> vander </item> + <item> var </item> + <item> var_test </item> + <item> vec </item> + <item> vech </item> + <item> version </item> + <item> vol </item> + <item> weibull_cdf </item> + <item> weibull_inv </item> + <item> weibull_pdf </item> + <item> weibull_rnd </item> + <item> welch_test </item> + <item> wgt1o </item> + <item> wiener_rnd </item> + <item> wilcoxon_test </item> + <item> xlabel </item> + <item> xor </item> + <item> ylabel </item> + <item> yulewalker </item> + <item> zgfmul </item> + <item> zgfslv </item> + <item> zginit </item> + <item> __zgpbal__ </item> + <item> zgreduce </item> + <item> zgrownorm </item> + <item> zgscal </item> + <item> zgsgiv </item> + <item> zgshsr </item> + <item> zlabel </item> + <item> zp </item> + <item> zp2ss </item> + <item> __zp2ssg2__ </item> + <item> zp2sys </item> + <item> zp2tf </item> + <item> zpout </item> + <item> z_test </item> + <item> z_test_2 </item> + </list> + + <list name="forge"> + <item> airy_Ai </item> + <item> airy_Ai_deriv </item> + <item> airy_Ai_deriv_scaled </item> + <item> airy_Ai_scaled </item> + <item> airy_Bi </item> + <item> airy_Bi_deriv </item> + <item> airy_Bi_deriv_scaled </item> + <item> airy_Bi_scaled </item> + <item> airy_zero_Ai </item> + <item> airy_zero_Ai_deriv </item> + <item> airy_zero_Bi </item> + <item> airy_zero_Bi_deriv </item> + <item> atanint </item> + <item> bchdeco </item> + <item> bchenco </item> + <item> bessel_il_scaled </item> + <item> bessel_In </item> + <item> bessel_In_scaled </item> + <item> bessel_Inu </item> + <item> bessel_Inu_scaled </item> + <item> bessel_jl </item> + <item> bessel_Jn </item> + <item> bessel_Jnu </item> + <item> bessel_kl_scaled </item> + <item> bessel_Kn </item> + <item> bessel_Kn_scaled </item> + <item> bessel_Knu </item> + <item> bessel_Knu_scaled </item> + <item> bessel_lnKnu </item> + <item> bessel_yl </item> + <item> bessel_Yn </item> + <item> bessel_Ynu </item> + <item> bessel_zero_J0 </item> + <item> bessel_zero_J1 </item> + <item> beta_gsl </item> + <item> bfgsmin </item> + <item> bisectionstep </item> + <item> builtin </item> + <item> bwfill </item> + <item> bwlabel </item> + <item> cell2csv </item> + <item> celleval </item> + <item> Chi </item> + <item> chol </item> + <item> Ci </item> + <item> clausen </item> + <item> conicalP_0 </item> + <item> conicalP_1 </item> + <item> conicalP_half </item> + <item> conicalP_mhalf </item> + <item> conv2 </item> + <item> cordflt2 </item> + <item> coupling_3j </item> + <item> coupling_6j </item> + <item> coupling_9j </item> + <item> csv2cell </item> + <item> csvconcat </item> + <item> csvexplode </item> + <item> cyclgen </item> + <item> cyclpoly </item> + <item> dawson </item> + <item> debye_1 </item> + <item> debye_2 </item> + <item> debye_3 </item> + <item> debye_4 </item> + <item> deref </item> + <item> dispatch </item> + <item> dispatch_help </item> + <item> display_fixed_operations </item> + <item> dlmread </item> + <item> ellint_Ecomp </item> + <item> ellint_Kcomp </item> + <item> ellipj </item> + <item> erfc_gsl </item> + <item> erf_gsl </item> + <item> erf_Q </item> + <item> erf_Z </item> + <item> _errcore </item> + <item> eta </item> + <item> eta_int </item> + <item> expint_3 </item> + <item> expint_E1 </item> + <item> expint_E2 </item> + <item> expint_Ei </item> + <item> expm1 </item> + <item> exp_mult </item> + <item> exprel </item> + <item> exprel_2 </item> + <item> exprel_n </item> + <item> fabs </item> + <item> fangle </item> + <item> farg </item> + <item> fatan2 </item> + <item> fceil </item> + <item> fconj </item> + <item> fcos </item> + <item> fcosh </item> + <item> fcumprod </item> + <item> fcumsum </item> + <item> fdiag </item> + <item> fermi_dirac_3half </item> + <item> fermi_dirac_half </item> + <item> fermi_dirac_inc_0 </item> + <item> fermi_dirac_int </item> + <item> fermi_dirac_mhalf </item> + <item> fexp </item> + <item> ffloor </item> + <item> fimag </item> + <item> finitedifference </item> + <item> fixed </item> + <item> flog </item> + <item> flog10 </item> + <item> fprod </item> + <item> freal </item> + <item> freshape </item> + <item> fround </item> + <item> fsin </item> + <item> fsinh </item> + <item> fsqrt </item> + <item> fsum </item> + <item> fsumsq </item> + <item> ftan </item> + <item> ftanh </item> + <item> full </item> + <item> gamma_gsl </item> + <item> gamma_inc </item> + <item> gamma_inc_P </item> + <item> gamma_inc_Q </item> + <item> gammainv_gsl </item> + <item> gammastar </item> + <item> gdet </item> + <item> gdiag </item> + <item> gexp </item> + <item> gf </item> + <item> gfilter </item> + <item> _gfweight </item> + <item> ginv </item> + <item> ginverse </item> + <item> glog </item> + <item> glu </item> + <item> gpick </item> + <item> gprod </item> + <item> grab </item> + <item> grank </item> + <item> graycomatrix </item> + <item> __grcla__ </item> + <item> __grclf__ </item> + <item> __grcmd__ </item> + <item> greshape </item> + <item> __grexit__ </item> + <item> __grfigure__ </item> + <item> __grgetstat__ </item> + <item> __grhold__ </item> + <item> __grinit__ </item> + <item> __grishold__ </item> + <item> __grnewset__ </item> + <item> __grsetgraph__ </item> + <item> gsl_sf </item> + <item> gsqrt </item> + <item> gsum </item> + <item> gsumsq </item> + <item> gtext </item> + <item> gzoom </item> + <item> hazard </item> + <item> houghtf </item> + <item> hyperg_0F1 </item> + <item> hzeta </item> + <item> is_complex_sparse </item> + <item> isfixed </item> + <item> isgalois </item> + <item> isprimitive </item> + <item> is_real_sparse </item> + <item> is_sparse </item> + <item> jpgread </item> + <item> jpgwrite </item> + <item> lambert_W0 </item> + <item> lambert_Wm1 </item> + <item> legendre_Pl </item> + <item> legendre_Plm </item> + <item> legendre_Ql </item> + <item> legendre_sphPlm </item> + <item> legendre_sphPlm_array </item> + <item> leval </item> + <item> listen </item> + <item> lnbeta </item> + <item> lncosh </item> + <item> lngamma_gsl </item> + <item> lnpoch </item> + <item> lnsinh </item> + <item> log_1plusx </item> + <item> log_1plusx_mx </item> + <item> log_erfc </item> + <item> lp </item> + <item> make_sparse </item> + <item> mark_for_deletion </item> + <item> medfilt1 </item> + <item> newtonstep </item> + <item> nnz </item> + <item> numgradient </item> + <item> numhessian </item> + <item> pchip_deriv </item> + <item> pngread </item> + <item> pngwrite </item> + <item> poch </item> + <item> pochrel </item> + <item> pretty </item> + <item> primpoly </item> + <item> psi </item> + <item> psi_1_int </item> + <item> psi_1piy </item> + <item> psi_n </item> + <item> rand </item> + <item> rande </item> + <item> randn </item> + <item> randp </item> + <item> regexp </item> + <item> remez </item> + <item> reset_fixed_operations </item> + <item> rotate_scale </item> + <item> rsdec </item> + <item> rsenc </item> + <item> samin </item> + <item> SBBacksub </item> + <item> SBEig </item> + <item> SBFactor </item> + <item> SBProd </item> + <item> SBSolve </item> + <item> Shi </item> + <item> Si </item> + <item> sinc_gsl </item> + <item> spabs </item> + <item> sparse </item> + <item> spfind </item> + <item> spimag </item> + <item> spinv </item> + <item> splu </item> + <item> spreal </item> + <item> SymBand </item> + <item> synchrotron_1 </item> + <item> synchrotron_2 </item> + <item> syndtable </item> + <item> taylorcoeff </item> + <item> transport_2 </item> + <item> transport_3 </item> + <item> transport_4 </item> + <item> transport_5 </item> + <item> trisolve </item> + <item> waitbar </item> + <item> xmlread </item> + <item> zeta </item> + <item> zeta_int </item> + <item> aar </item> + <item> aarmam </item> + <item> ac2poly </item> + <item> ac2rc </item> + <item> acorf </item> + <item> acovf </item> + <item> addpath </item> + <item> ademodce </item> + <item> adim </item> + <item> adsmax </item> + <item> amodce </item> + <item> anderson_darling_cdf </item> + <item> anderson_darling_test </item> + <item> anovan </item> + <item> apkconst </item> + <item> append_save </item> + <item> applylut </item> + <item> ar2poly </item> + <item> ar2rc </item> + <item> arburg </item> + <item> arcext </item> + <item> arfit2 </item> + <item> ar_spa </item> + <item> aryule </item> + <item> assert </item> + <item> au </item> + <item> aucapture </item> + <item> auload </item> + <item> auplot </item> + <item> aurecord </item> + <item> ausave </item> + <item> autumn </item> + <item> average_moments </item> + <item> awgn </item> + <item> azimuth </item> + <item> BandToFull </item> + <item> BandToSparse </item> + <item> base64encode </item> + <item> battery </item> + <item> bchpoly </item> + <item> bestblk </item> + <item> best_dir </item> + <item> best_dir_cov </item> + <item> betaln </item> + <item> bfgs </item> + <item> bfgsmin_example </item> + <item> bi2de </item> + <item> biacovf </item> + <item> bilinear </item> + <item> bisdemo </item> + <item> bispec </item> + <item> biterr </item> + <item> blkdiag </item> + <item> blkproc </item> + <item> bmpwrite </item> + <item> bone </item> + <item> bound_convex </item> + <item> boxcar </item> + <item> boxplot </item> + <item> brighten </item> + <item> bs_gradient </item> + <item> butter </item> + <item> buttord </item> + <item> bwborder </item> + <item> bweuler </item> + <item> bwlabel </item> + <item> bwmorph </item> + <item> bwselect </item> + <item> calendar </item> + <item> cceps </item> + <item> cdiff </item> + <item> cellstr </item> + <item> char </item> + <item> cheb </item> + <item> cheb1ord </item> + <item> cheb2ord </item> + <item> chebwin </item> + <item> cheby1 </item> + <item> cheby2 </item> + <item> chirp </item> + <item> clf </item> + <item> clip </item> + <item> cmpermute </item> + <item> cmunique </item> + <item> cohere </item> + <item> col2im </item> + <item> colfilt </item> + <item> colorgradient </item> + <item> comms </item> + <item> compand </item> + <item> complex </item> + <item> concat </item> + <item> conndef </item> + <item> content </item> + <item> contents </item> + <item> Contents </item> + <item> contourf </item> + <item> convhull </item> + <item> convmtx </item> + <item> cool </item> + <item> copper </item> + <item> corr2 </item> + <item> cosets </item> + <item> count </item> + <item> covm </item> + <item> cplxpair </item> + <item> cquadnd </item> + <item> create_lookup_table </item> + <item> crule </item> + <item> crule2d </item> + <item> crule2dgen </item> + <item> csape </item> + <item> csapi </item> + <item> csd </item> + <item> csvread </item> + <item> csvwrite </item> + <item> ctranspose </item> + <item> cumtrapz </item> + <item> czt </item> + <item> d2_min </item> + <item> datenum </item> + <item> datestr </item> + <item> datevec </item> + <item> dct </item> + <item> dct2 </item> + <item> dctmtx </item> + <item> de2bi </item> + <item> deal </item> + <item> decimate </item> + <item> decode </item> + <item> deg2rad </item> + <item> del2 </item> + <item> delaunay </item> + <item> delaunay3 </item> + <item> delta_method </item> + <item> demo </item> + <item> demodmap </item> + <item> deriv </item> + <item> detrend </item> + <item> dfdp </item> + <item> dftmtx </item> + <item> dhbar </item> + <item> dilate </item> + <item> dispatch </item> + <item> distance </item> + <item> dlmread </item> + <item> dlmwrite </item> + <item> dos </item> + <item> double </item> + <item> drawnow </item> + <item> durlev </item> + <item> dxfwrite </item> + <item> edge </item> + <item> edit </item> + <item> ellip </item> + <item> ellipdemo </item> + <item> ellipj </item> + <item> ellipke </item> + <item> ellipord </item> + <item> __ellip_ws </item> + <item> __ellip_ws_min </item> + <item> encode </item> + <item> eomday </item> + <item> erode </item> + <item> example </item> + <item> ExampleEigenValues </item> + <item> ExampleGenEigenValues </item> + <item> expdemo </item> + <item> expfit </item> + <item> eyediagram </item> + <item> factor </item> + <item> factorial </item> + <item> fail </item> + <item> fcnchk </item> + <item> feedback </item> + <item> fem_test </item> + <item> ff2n </item> + <item> fftconv2 </item> + <item> fieldnames </item> + <item> fill </item> + <item> fill3 </item> + <item> filter2 </item> + <item> filtfilt </item> + <item> filtic </item> + <item> findsym </item> + <item> fir1 </item> + <item> fir2 </item> + <item> fixedpoint </item> + <item> flag </item> + <item> flag_implicit_samplerate </item> + <item> flattopwin </item> + <item> flix </item> + <item> float </item> + <item> fmin </item> + <item> fminbnd </item> + <item> fmins </item> + <item> fminunc </item> + <item> fnder </item> + <item> fnplt </item> + <item> fnval </item> + <item> fplot </item> + <item> freqs </item> + <item> freqs_plot </item> + <item> fsort </item> + <item> fullfact </item> + <item> FullToBand </item> + <item> funm </item> + <item> fzero </item> + <item> gammaln </item> + <item> gapTest </item> + <item> gaussian </item> + <item> gausswin </item> + <item> gconv </item> + <item> gconvmtx </item> + <item> gdeconv </item> + <item> gdftmtx </item> + <item> gen2par </item> + <item> geomean </item> + <item> getfield </item> + <item> getfields </item> + <item> gfft </item> + <item> gftable </item> + <item> gfweight </item> + <item> gget </item> + <item> gifft </item> + <item> ginput </item> + <item> gmm_estimate </item> + <item> gmm_example </item> + <item> gmm_obj </item> + <item> gmm_results </item> + <item> gmm_variance </item> + <item> gmm_variance_inefficient </item> + <item> gquad </item> + <item> gquad2d </item> + <item> gquad2d6 </item> + <item> gquad2dgen </item> + <item> gquad6 </item> + <item> gquadnd </item> + <item> grace_octave_path </item> + <item> gradient </item> + <item> grayslice </item> + <item> grep </item> + <item> grid </item> + <item> griddata </item> + <item> groots </item> + <item> grpdelay </item> + <item> grule </item> + <item> grule2d </item> + <item> grule2dgen </item> + <item> hadamard </item> + <item> hammgen </item> + <item> hankel </item> + <item> hann </item> + <item> harmmean </item> + <item> hilbert </item> + <item> histeq </item> + <item> histfit </item> + <item> histo </item> + <item> histo2 </item> + <item> histo3 </item> + <item> histo4 </item> + <item> hot </item> + <item> hsv </item> + <item> hup </item> + <item> idct </item> + <item> idct2 </item> + <item> idplot </item> + <item> idsim </item> + <item> ifftshift </item> + <item> im2bw </item> + <item> im2col </item> + <item> imadjust </item> + <item> imginfo </item> + <item> imhist </item> + <item> imnoise </item> + <item> impad </item> + <item> impz </item> + <item> imread </item> + <item> imrotate </item> + <item> imshear </item> + <item> imtranslate </item> + <item> imwrite </item> + <item> innerfun </item> + <item> inputname </item> + <item> interp </item> + <item> interp1 </item> + <item> interp2 </item> + <item> interpft </item> + <item> intersect </item> + <item> invest0 </item> + <item> invest1 </item> + <item> invfdemo </item> + <item> invfreq </item> + <item> invfreqs </item> + <item> invfreqz </item> + <item> inz </item> + <item> irsa_act </item> + <item> irsa_actcore </item> + <item> irsa_check </item> + <item> irsa_dft </item> + <item> irsa_dftfp </item> + <item> irsa_genreal </item> + <item> irsa_idft </item> + <item> irsa_isregular </item> + <item> irsa_jitsp </item> + <item> irsa_mdsp </item> + <item> irsa_normalize </item> + <item> irsa_plotdft </item> + <item> irsa_resample </item> + <item> irsa_rgenreal </item> + <item> isa </item> + <item> isbw </item> + <item> isdir </item> + <item> isequal </item> + <item> isfield </item> + <item> isgray </item> + <item> isind </item> + <item> ismember </item> + <item> isprime </item> + <item> isrgb </item> + <item> issparse </item> + <item> isunix </item> + <item> jet </item> + <item> kaiser </item> + <item> kaiserord </item> + <item> lambertw </item> + <item> lattice </item> + <item> lauchli </item> + <item> leasqr </item> + <item> leasqrdemo </item> + <item> legend </item> + <item> legendre </item> + <item> levinson </item> + <item> lin2mu </item> + <item> line_min </item> + <item> lloyds </item> + <item> lookup </item> + <item> lookup_table </item> + <item> lpc </item> + <item> lp_test </item> + <item> mad </item> + <item> magic </item> + <item> makelut </item> + <item> MakeShears </item> + <item> map </item> + <item> mat2gray </item> + <item> mat2str </item> + <item> mdsmax </item> + <item> mean2 </item> + <item> medfilt2 </item> + <item> meshc </item> + <item> minimize </item> + <item> minpol </item> + <item> mkpp </item> + <item> mktheta </item> + <item> mle_estimate </item> + <item> mle_example </item> + <item> mle_obj </item> + <item> mle_results </item> + <item> mle_variance </item> + <item> modmap </item> + <item> mu2lin </item> + <item> mvaar </item> + <item> mvar </item> + <item> mvfilter </item> + <item> mvfreqz </item> + <item> myfeval </item> + <item> nanmax </item> + <item> nanmean </item> + <item> nanmedian </item> + <item> nanmin </item> + <item> nanstd </item> + <item> nansum </item> + <item> ncauer </item> + <item> nchoosek </item> + <item> ncrule </item> + <item> ndims </item> + <item> nelder_mead_min </item> + <item> newmark </item> + <item> nlfilter </item> + <item> nlnewmark </item> + <item> __nlnewmark_fcn__ </item> + <item> nmsmax </item> + <item> nonzeros </item> + <item> normplot </item> + <item> now </item> + <item> nrm </item> + <item> nthroot </item> + <item> nze </item> + <item> OCTAVE_FORGE_VERSION </item> + <item> ode23 </item> + <item> ode45 </item> + <item> ode78 </item> + <item> optimset </item> + <item> ordfilt2 </item> + <item> orient </item> + <item> pacf </item> + <item> padarray </item> + <item> parameterize </item> + <item> parcor </item> + <item> pareto </item> + <item> pascal </item> + <item> patch </item> + <item> pburg </item> + <item> pcg </item> + <item> pchip </item> + <item> pcolor </item> + <item> pcr </item> + <item> peaks </item> + <item> penddot </item> + <item> pendulum </item> + <item> perms </item> + <item> pie </item> + <item> pink </item> + <item> plot3 </item> + <item> __plt3__ </item> + <item> poly2ac </item> + <item> poly2ar </item> + <item> poly_2_ex </item> + <item> poly2mask </item> + <item> poly2rc </item> + <item> poly2sym </item> + <item> poly2th </item> + <item> polyarea </item> + <item> polyconf </item> + <item> polyder </item> + <item> polyderiv </item> + <item> polygcd </item> + <item> polystab </item> + <item> __power </item> + <item> ppval </item> + <item> prctile </item> + <item> prettyprint </item> + <item> prettyprint_c </item> + <item> primes </item> + <item> princomp </item> + <item> print </item> + <item> prism </item> + <item> proplan </item> + <item> pulstran </item> + <item> pwelch </item> + <item> pyulear </item> + <item> qaskdeco </item> + <item> qaskenco </item> + <item> qtdecomp </item> + <item> qtgetblk </item> + <item> qtsetblk </item> + <item> quad2dc </item> + <item> quad2dcgen </item> + <item> quad2dg </item> + <item> quad2dggen </item> + <item> quadc </item> + <item> quadg </item> + <item> quadl </item> + <item> quadndg </item> + <item> quantiz </item> + <item> quiver </item> + <item> rad2deg </item> + <item> rainbow </item> + <item> randerr </item> + <item> randint </item> + <item> randsrc </item> + <item> rat </item> + <item> rats </item> + <item> rc2ac </item> + <item> rc2ar </item> + <item> rc2poly </item> + <item> rceps </item> + <item> read_options </item> + <item> read_pdb </item> + <item> rectpuls </item> + <item> resample </item> + <item> rgb2gray </item> + <item> rk2fixed </item> + <item> rk4fixed </item> + <item> rk8fixed </item> + <item> rmfield </item> + <item> rmle </item> + <item> rmpath </item> + <item> roicolor </item> + <item> rosser </item> + <item> rotparams </item> + <item> rotv </item> + <item> rref </item> + <item> rsdecof </item> + <item> rsencof </item> + <item> rsgenpoly </item> + <item> samin_example </item> + <item> save_vrml </item> + <item> sbispec </item> + <item> scale_data </item> + <item> scatter </item> + <item> scatterplot </item> + <item> select_3D_points </item> + <item> selmo </item> + <item> setdiff </item> + <item> setfield </item> + <item> setfields </item> + <item> setxor </item> + <item> sftrans </item> + <item> sgolay </item> + <item> sgolayfilt </item> + <item> sinvest1 </item> + <item> slurp_file </item> + <item> sortrows </item> + <item> sound </item> + <item> soundsc </item> + <item> spdiags </item> + <item> specgram </item> + <item> speed </item> + <item> speye </item> + <item> spfun </item> + <item> sphcat </item> + <item> spline </item> + <item> splot </item> + <item> spones </item> + <item> sprand </item> + <item> sprandn </item> + <item> spring </item> + <item> spstats </item> + <item> spsum </item> + <item> sp_test </item> + <item> sptest </item> + <item> spvcat </item> + <item> spy </item> + <item> std2 </item> + <item> stem </item> + <item> str2double </item> + <item> strcmpi </item> + <item> stretchlim </item> + <item> strfind </item> + <item> strmatch </item> + <item> strncmp </item> + <item> strncmpi </item> + <item> strsort </item> + <item> strtok </item> + <item> strtoz </item> + <item> struct </item> + <item> strvcat </item> + <item> summer </item> + <item> sumskipnan </item> + <item> surf </item> + <item> surfc </item> + <item> sym2poly </item> + <item> symerr </item> + <item> symfsolve </item> + <item> tabulate </item> + <item> tar </item> + <item> temp_name </item> + <item> test </item> + <item> test_d2_min_1 </item> + <item> test_d2_min_2 </item> + <item> test_d2_min_3 </item> + <item> test_ellipj </item> + <item> test_fminunc_1 </item> + <item> testimio </item> + <item> test_inline_1 </item> + <item> test_min_1 </item> + <item> test_min_2 </item> + <item> test_min_3 </item> + <item> test_min_4 </item> + <item> test_minimize_1 </item> + <item> test_nelder_mead_min_1 </item> + <item> test_nelder_mead_min_2 </item> + <item> test_sncndn </item> + <item> test_struct </item> + <item> test_vmesh </item> + <item> test_vrml_faces </item> + <item> test_wpolyfit </item> + <item> text </item> + <item> textread </item> + <item> tf2zp </item> + <item> tfe </item> + <item> thfm </item> + <item> tics </item> + <item> toeplitz </item> + <item> toggle_grace_use </item> + <item> transpose </item> + <item> trapz </item> + <item> triang </item> + <item> tril </item> + <item> trimmean </item> + <item> tripuls </item> + <item> trisolve </item> + <item> triu </item> + <item> tsademo </item> + <item> tsearchdemo </item> + <item> ucp </item> + <item> uintlut </item> + <item> unique </item> + <item> unix </item> + <item> unmkpp </item> + <item> unscale_parameters </item> + <item> vec2mat </item> + <item> view </item> + <item> vmesh </item> + <item> voronoi </item> + <item> voronoin </item> + <item> vrml_arrow </item> + <item> vrml_Background </item> + <item> vrml_browse </item> + <item> vrml_cyl </item> + <item> vrml_demo_tutorial_1 </item> + <item> vrml_demo_tutorial_2 </item> + <item> vrml_demo_tutorial_3 </item> + <item> vrml_demo_tutorial_4 </item> + <item> vrml_ellipsoid </item> + <item> vrml_faces </item> + <item> vrml_flatten </item> + <item> vrml_frame </item> + <item> vrml_group </item> + <item> vrml_kill </item> + <item> vrml_lines </item> + <item> vrml_material </item> + <item> vrml_parallelogram </item> + <item> vrml_PointLight </item> + <item> vrml_points </item> + <item> vrml_select_points </item> + <item> vrml_surf </item> + <item> vrml_text </item> + <item> vrml_thick_surf </item> + <item> vrml_transfo </item> + <item> wavread </item> + <item> wavwrite </item> + <item> weekday </item> + <item> wgn </item> + <item> white </item> + <item> wilkinson </item> + <item> winter </item> + <item> wpolyfit </item> + <item> wpolyfitdemo </item> + <item> write_pdb </item> + <item> wsolve </item> + <item> xcorr </item> + <item> xcorr2 </item> + <item> xcov </item> + <item> xlsread </item> + <item> xmlwrite </item> + <item> y2res </item> + <item> zero_count </item> + <item> zoom </item> + <item> zp2tf </item> + <item> zplane </item> + <item> zscore </item> + </list> + + <contexts> + + <context name="_normal" attribute="Normal Text" lineEndContext="#stay"> + + <!-- Code folding --> + <!--TODO: with this implementation, code folding will close a block also with a wrong + end*: for istance, for can be closed by endif. This is done because the catchall end + keyword is widely used to close a number of blocks (including if and for). + If you have an improvement, please contribute it!--> + <RegExpr context="#stay" attribute="Keyword" String="\b(for)\b" beginRegion="block" /> + <RegExpr context="#stay" attribute="Keyword" String="\b(endfor)\b" endRegion="block" /> + <RegExpr context="#stay" attribute="Keyword" String="\b(if)\b" beginRegion="block" /> + <RegExpr context="#stay" attribute="Keyword" String="\b(endif)\b" endRegion="block" /> + <RegExpr context="#stay" attribute="Keyword" String="\b(do)\b" beginRegion="block" /> + <RegExpr context="#stay" attribute="Keyword" String="\b(until)\b" endRegion="block" /> + <RegExpr context="#stay" attribute="Keyword" String="\b(while)\b" beginRegion="block" /> + <RegExpr context="#stay" attribute="Keyword" String="\b(endwhile)\b" endRegion="block" /> + <RegExpr context="#stay" attribute="Keyword" String="\b(function)\b" beginRegion="block" /> + <RegExpr context="#stay" attribute="Keyword" String="\b(endfunction)\b" endRegion="block" /> + <RegExpr context="#stay" attribute="Keyword" String="\b(switch)\b" beginRegion="Switch" /> + <RegExpr context="#stay" attribute="Keyword" String="\b(endswitch)\b" endRegion="Switch" /> + <RegExpr context="#stay" attribute="Keyword" String="\b(try)\b" beginRegion="Try" /> + <RegExpr context="#stay" attribute="Keyword" String="\b(end_try_catch)\b" endRegion="Try" /> + <!-- Catchall end keyword --> + <RegExpr context="#stay" attribute="Keyword" String="\b(end)\b" endRegion="block" /> + + <!-- Look-ahead for adjoint ' after variable, number literal, closing braces and .' --> + <RegExpr context="_adjoint" attribute="Variable" String="[a-zA-Z]\w*(?=')" /> + <RegExpr context="_adjoint" attribute="Number" String="(\d+(\.\d+)?|\.\d+)([eE][+-]?\d+)?[ij]?(?=')" /> + <RegExpr context="_adjoint" attribute="Delimiter" String="[\)\]}](?=')" /> + <RegExpr context="_adjoint" attribute="Operator" String="\.'(?=')" /> + + <!-- If ' is not the adjoint operator, it starts a string or an unterminated string; + strings can be also with ", and accept the respective delimiter in them either + by doubling it ('', "") or by escaping it (\', \") --> + <RegExpr context="#stay" attribute="String" String="'([^'\\]|''|\\'|\\[^'])*'(?=[^']|$)" /> + <RegExpr context="#stay" attribute="Incomplete String" String="'([^']|''|\\')*" /> + <RegExpr context="#stay" attribute="String" String=""([^"\\]|""|\\"|\\[^"])*"(?=[^"]|$)" /> + <RegExpr context="#stay" attribute="Incomplete String" String=""([^"]|""|\\")*" /> + + <!-- Handling of keywords, comments, functions, identifiers, numbers and braces --> + <keyword context="#stay" attribute="Keyword" String="keywords" /> + <keyword context="#stay" attribute="Commands" String="commands" /> + <keyword context="#stay" attribute="Functions" String="functions" /> + <keyword context="#stay" attribute="Builtin" String="builtin"/> + <keyword context="#stay" attribute="Forge" String="forge" /> + <RegExpr context="#stay" attribute="Comment" String="[%#].*$" /> + <RegExpr context="#stay" attribute="Variable" String="[a-zA-Z]\w*" /> + <RegExpr context="#stay" attribute="Number" String="(\d+(\.\d+)?|\.\d+)([eE][+-]?\d+)?[ij]?" /> + <AnyChar context="#stay" attribute="Delimiter" String="()[]{}"/> + + <!-- Three- and two-character operators --> + <StringDetect context="#stay" attribute="Operator" String="..."/> + <StringDetect context="#stay" attribute="Operator" String="=="/> + <StringDetect context="#stay" attribute="Operator" String="~="/> + <StringDetect context="#stay" attribute="Operator" String="!="/> + <StringDetect context="#stay" attribute="Operator" String="<="/> + <StringDetect context="#stay" attribute="Operator" String=">="/> + <StringDetect context="#stay" attribute="Operator" String="<>"/> + <StringDetect context="#stay" attribute="Operator" String="&&"/> + <StringDetect context="#stay" attribute="Operator" String="||"/> + <StringDetect context="#stay" attribute="Operator" String="++"/> + <StringDetect context="#stay" attribute="Operator" String="--"/> + <StringDetect context="#stay" attribute="Operator" String="**"/> + <StringDetect context="#stay" attribute="Operator" String=".*"/> + <StringDetect context="#stay" attribute="Operator" String=".**"/> + <StringDetect context="#stay" attribute="Operator" String=".^"/> + <StringDetect context="#stay" attribute="Operator" String="./"/> + <StringDetect context="#stay" attribute="Operator" String=".'"/> + + <!-- Single-character operators --> + <AnyChar context="#stay" attribute="Operator" String="!"%(*+,/;=>[]|~#&)-:<>\^"/> + + </context> + + + <!--Context entered after encountering an ' adjoint operator --> + <context name="_adjoint" attribute="Operator" lineEndContext="#pop"> + <RegExpr context="#pop" attribute="Operator" String="'+" /> + </context> + + + </contexts> + + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal" /> + <itemData name="Variable" defStyleNum="dsNormal" /> + <itemData name="Operator" defStyleNum="dsNormal"/> + <itemData name="Number" defStyleNum="dsFloat" /> + <itemData name="Delimiter" defStyleNum="dsNormal" /> + <itemData name="String" defStyleNum="dsString" color="#b20000"/> + <itemData name="String Char" defStyleNum="dsChar"/> + <itemData name="Incomplete String" defStyleNum="dsChar" color="#a020f0"/> + <itemData name="Keyword" defStyleNum="dsNormal" color="#0000ff"/> + <itemData name="Comment" defStyleNum="dsComment" color="#009900"/> + <itemData name="Functions" defStyleNum="dsFunction" color="#0000ff" selColor="#00ff00" bold="1" italic="1" /> + <itemData name="Forge" defStyleNum="dsFunction" color="#000099" selColor="#009900" bold="1" italic="1" /> + <itemData name="Builtin" defStyleNum="dsBaseN" color="#b28c00" /> + <itemData name="Commands" defStyleNum="dsFunction" color="#b28c00" /> + </itemDatas> + + </highlighting> + + <general> + <comments> + <comment name="singleLine" start="%" /> + <comment name="singleLine" start="#" /> + </comments> + <keywords casesensitive="1"/> + </general> + +</language> +<!-- kate: space-indent on; indent-width 2; replace-tabs on; --> diff --git a/kate/data/pascal.xml b/kate/data/pascal.xml new file mode 100644 index 000000000..6830c755e --- /dev/null +++ b/kate/data/pascal.xml @@ -0,0 +1,193 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="Pascal" version="1.21" kateversion="2.3" section="Sources" extensions="*.pp;*.pas;*.p" mimetype="text/x-pascal"> + <highlighting> + <list name="keywords"> + <item> and </item> + <item> array </item> + <item> asm </item> + <item> case </item> + <item> const </item> + <item> div </item> + <item> do </item> + <item> downto </item> + <item> else </item> + <item> file </item> + <item> for </item> + <item> function </item> + <item> goto </item> + <item> if </item> + <item> in </item> + <item> label </item> + <item> mod </item> + <item> nil </item> + <item> not </item> + <item> of </item> + <item> operator </item> + <item> or </item> + <item> packed </item> + <item> procedure </item> + <item> program </item> + <item> record </item> + <item> repeat </item> + <item> set </item> + <item> then </item> + <item> to </item> + <item> type </item> + <item> unit </item> + <item> until </item> + <item> uses </item> + <item> var </item> + <item> while </item> + <item> with </item> + <item> xor </item> + + + <item> at </item> + <item> automated </item> + <item> break </item> + <item> continue </item> + <item> dispinterface </item> + <item> dispose </item> + <item> exit </item> + <item> false </item> + <item> finalization </item> + <item> initialization </item> + <item> library </item> + <item> new </item> + <item> published </item> + <item> resourcestring </item> + <item> self </item> + <item> true </item> + </list> + <list name="ISO/Delphi Extended"> + <item> abstract </item> + <item> as </item> + <item> bindable </item> + <item> constructor </item> + <item> destructor </item> + <item> except </item> + <item> export </item> + <item> finally </item> + <item> import </item> + <item> implementation </item> + <item> inherited </item> + <item> inline </item> + <item> interface </item> + <item> is </item> + <item> module </item> + <item> on </item> + <item> only </item> + <item> otherwise </item> + <item> override </item> + <item> private </item> + <item> property </item> + <item> protected </item> + <item> public </item> + <item> read </item> + <item> qualified </item> + <item> raise </item> + <item> restricted </item> + <item> shl </item> + <item> shr </item> + <item> threadvar </item> + <item> try </item> + <item> virtual </item> + <item> write </item> + </list> + <list name="types"> + <item> Integer </item> + <item> Cardinal </item> + <item> ShortInt </item> + <item> SmallInt </item> + <item> LongInt </item> + <item> Int64 </item> + <item> Byte </item> + <item> Word </item> + <item> LongWord </item> + <item> Char </item> + <item> AnsiChar </item> + <item> WideChar </item> + <item> Boolean </item> + <item> ByteBool </item> + <item> WordBool </item> + <item> LongBool </item> + <item> Single </item> + <item> Double </item> + <item> Extended </item> + <item> Comp </item> + <item> Currency </item> + <item> Real </item> + <item> Real48 </item> + <item> String </item> + <item> ShortString </item> + <item> AnsiString </item> + <item> WideString </item> + <item> Pointer </item> + <item> Variant</item> + <item> File </item> + <item> Text </item> + </list> + <list name="attention"> + <item> FIXME </item> + <item> TODO </item> + <item> ### </item> + </list> + <contexts> + <context attribute="Normal Text" lineEndContext="#stay" name="Normal"> + <RegExpr attribute="Keyword" context="#stay" String="\b(begin|case|record)(?=(\{[^}]*(\}|$)|\(\*.*(\*\)|$))*([\s]|$|//))" insensitive="true" beginRegion="Region1"/> + <RegExpr attribute="ISO/Delphi Extended" context="#stay" String="\b((object|class)(?=(\(.*\))?(\{[^}]*(\}|$)|\(\*.*(\*\)|$))*;?([\s]|$|//))|try(?=(\{[^}]*(\}|$)|\(\*.*(\*\)|$))*([\s]|$|//)))" insensitive="true" beginRegion="Region1"/> + <RegExpr attribute="Keyword" context="#stay" String="\bend(?=((\{[^}]*(\}|$)|\(\*.*(\*\)|$))*)([.;\s]|$)|//|$)" insensitive="true" endRegion="Region1"/> + <keyword attribute="Keyword" context="#stay" String="keywords"/> + <keyword attribute="ISO/Delphi Extended" context="#stay" String="ISO/Delphi Extended"/> + <keyword attribute="Type" context="#stay" String="types"/> + <Float attribute="Number" context="#stay"/> + <Int attribute="Number" context="#stay"/> + <DetectChar attribute="String" context="String" char="'" /> + <StringDetect attribute="Directive" context="Prep1" String="(*$"/> + <Detect2Chars attribute="Directive" context="Prep2" char="{" char1="$"/> + <DetectChar attribute="Comment" context="Comment1" char="{" beginRegion="Region2"/> + <Detect2Chars attribute="Comment" context="Comment2" char="(" char1="*" beginRegion="Region3"/> + <Detect2Chars attribute="Comment" context="Comment3" char="/" char1="/"/> + </context> + <context attribute="String" lineEndContext="#pop" name="String"> + <DetectChar attribute="String" context="#pop" char="'"/> + </context> + <context attribute="Directive" lineEndContext="#pop" name="Prep1"> + <Detect2Chars attribute="Directive" context="#pop" char="*" char1=")"/> + </context> + <context attribute="Directive" lineEndContext="#pop" name="Prep2"> + <DetectChar attribute="Directive" context="#pop" char="}"/> + </context> + <context attribute="Comment" lineEndContext="#stay" name="Comment1"> + <keyword attribute="Alert" context="#stay" String="attention" /> + <DetectChar attribute="Comment" context="#pop" char="}" endRegion="Region2"/> + </context> + <context attribute="Comment" lineEndContext="#stay" name="Comment2"> + <keyword attribute="Alert" context="#stay" String="attention" /> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1=")" endRegion="Region3"/> + </context> + <context attribute="Comment" lineEndContext="#pop" name="Comment3"> + <keyword attribute="Alert" context="#stay" String="attention" /> + </context> + </contexts> + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal" /> + <itemData name="Keyword" defStyleNum="dsKeyword" /> + <itemData name="ISO/Delphi Extended" defStyleNum="dsKeyword" color="#000080" /> + <itemData name="Type" defStyleNum="dsDataType"/> + <itemData name="Number" defStyleNum="dsDecVal" /> + <itemData name="String" defStyleNum="dsString" /> + <itemData name="Directive" defStyleNum="dsOthers" /> + <itemData name="Comment" defStyleNum="dsComment" /> + <itemData name="Alert" defStyleNum="dsAlert" /> + </itemDatas> + </highlighting> + <general> + <keywords casesensitive="0" /> + <comments> + <comment name="singleLine" start="//" /> + <comment name="multiLine" start="{" end="}" /> + </comments> + </general> +</language> diff --git a/kate/data/perl.xml b/kate/data/perl.xml new file mode 100644 index 000000000..15212c376 --- /dev/null +++ b/kate/data/perl.xml @@ -0,0 +1,827 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<!-- + This file is part of the KDE project + Copyright (C) 2001, 2002, 2003, 2004 Anders Lund <anders@alweb.dk> + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License version 2 as published by the Free Software Foundation. + + 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; see the file COPYING.LIB. If not, write to + the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. + + *** NOTICE *** + This file is maintained by Anders Lund <anders@alweb.dk> + Please do not commit changes without checking with me. + + *** TODO *** + + Work on the comment support in the REPLACEMENT part of s/// - we may support + the comment, if the line remainder does not contain the delimiter char. + + Try to support ?PATTERN? (at least in one line, like if "\?(?=.*\?)" matches). + + parse code behind '<<HEREDELIMITER' as code, or at least ignore it, to eol. + Requires the ability to pass the delimiter through a context level. + + find a here delimiter like '*END*' (Shell.pm). Requires that when a regex is + inserting a dynamic string, it escapes [*(){}$[] + + support for more regex extensions, such as (?>), (?{}), (?(cond)yes|no) + + Enhance tr/// and y/// support. +--> +<language name="Perl" version="1.20" kateversion="2.4" section="Scripts" extensions="*.pl;*.pm" mimetype="application/x-perl;text/x-perl" author="Anders Lund (anders@alweb.dk)" license="LGPL"> + <highlighting> + <list name="keywords"> + <item> if </item> + <item> unless </item> + <item> else </item> + <item> elsif </item> + <item> while </item> + <item> until </item> + <item> for </item> + <item> each </item> + <item> foreach </item> + <item> next </item> + <item> last </item> + <item> break </item> + <item> continue </item> + <item> return </item> + <item> use </item> + <item> no </item> + <item> require </item> + <item> my </item> + <item> our </item> + <item> local </item> + <item> BEGIN </item> + <item> END </item> + <item>require</item> + <item> package </item> + <item> sub </item> + <item> do </item> + <item> __END__ </item> + <item> __DATA__ </item> + <item> __FILE__ </item> + <item> __LINE__ </item> + <item> __PACKAGE__ </item> + </list> + <list name="operators"> + <item> = </item> + <item> != </item> + <item> ~= </item> + <item> += </item> + <item> -= </item> + <item> *= </item> + <item> /= </item> + <item> **= </item> + <item> |= </item> + <item> ||= </item> + <item> &= </item> + <item> &&= </item> + <item> ?= </item> + <item> + </item> + <item> - </item> + <item> * </item> + <!-- <item> / </item>//--> + <item> % </item> + <item> || </item> + <item> && </item> + <item> | </item> + <item> & </item> + <item> < </item> + <item> << </item> + <item> > </item> + <item> >> </item> + <item> ^ </item> + <item> -> </item> + <item> => </item> + <item> . </item> + <item> , </item> + <item> ; </item> + <item> :: </item> + <item> \ </item> + <item> and </item> + <item> or </item> + <item> not </item> + <item> eq </item> + <item> ne </item> + </list> + <list name="functions"> + <item>abs</item> + <item>accept</item> + <item>alarm</item> + <item>atan2</item> + <item>bind</item> + <item>binmode</item> + <item>bless</item> + <item>caller</item> + <item>chdir</item> + <item>chmod</item> + <item>chomp</item> + <item>chop</item> + <item>chown</item> + <item>chr</item> + <item>chroot</item> + <item>close</item> + <item>closedir</item> + <item>connect</item> + <item>cos</item> + <item>crypt</item> + <item>dbmclose</item> + <item>dbmopen</item> + <item>defined</item> + <item>delete</item> + <item>die</item> + <item>dump</item> + <item>endgrent</item> + <item>endhostent</item> + <item>endnetent</item> + <item>endprotoent</item> + <item>endpwent</item> + <item>endservent</item> + <item>eof</item> + <item>eval</item> + <item>exec</item> + <item>exists</item> + <item>exit</item> + <item>exp</item> + <item>fcntl</item> + <item>fileno</item> + <item>flock</item> + <item>fork</item> + <item>format</item> + <item>formline</item> + <item>getc</item> + <item>getgrent</item> + <item>getgrgid</item> + <item>getgrnam</item> + <item>gethostbyaddr</item> + <item>gethostbyname</item> + <item>gethostent</item> + <item>getlogin</item> + <item>getnetbyaddr</item> + <item>getnetbyname</item> + <item>getnetent</item> + <item>getpeername</item> + <item>getpgrp</item> + <item>getppid</item> + <item>getpriority</item> + <item>getprotobyname</item> + <item>getprotobynumber</item> + <item>getprotoent</item> + <item>getpwent</item> + <item>getpwnam</item> + <item>getpwuid</item> + <item>getservbyname</item> + <item>getservbyport</item> + <item>getservent</item> + <item>getsockname</item> + <item>getsockopt</item> + <item>glob</item> + <item>gmtime</item> + <item>goto</item> + <item>grep</item> + <item>hex</item> + <item>import</item> + <item>index</item> + <item>int</item> + <item>ioctl</item> + <item>join</item> + <item>keys</item> + <item>kill</item> + <item>last</item> + <item>lc</item> + <item>lcfirst</item> + <item>length</item> + <item>link</item> + <item>listen</item> + <item>localtime</item> + <item>lock</item> + <item>log</item> + <item>lstat</item> + <item>map</item> + <item>mkdir</item> + <item>msgctl</item> + <item>msgget</item> + <item>msgrcv</item> + <item>msgsnd</item> + <item>oct</item> + <item>open</item> + <item>opendir</item> + <item>ord</item> + <item>pack</item> + <item>package</item> + <item>pipe</item> + <item>pop</item> + <item>pos</item> + <item>print</item> + <item>printf</item> + <item>prototype</item> + <item>push</item> + <item>quotemeta</item> + <item>rand</item> + <item>read</item> + <item>readdir</item> + <item>readline</item> + <item>readlink</item> + <item>recv</item> + <item>redo</item> + <item>ref</item> + <item>rename</item> + <item>reset</item> + <item>return</item> + <item>reverse</item> + <item>rewinddir</item> + <item>rindex</item> + <item>rmdir</item> + <item>scalar</item> + <item>seek</item> + <item>seekdir</item> + <item>select</item> + <item>semctl</item> + <item>semget</item> + <item>semop</item> + <item>send</item> + <item>setgrent</item> + <item>sethostent</item> + <item>setnetent</item> + <item>setpgrp</item> + <item>setpriority</item> + <item>setprotoent</item> + <item>setpwent</item> + <item>setservent</item> + <item>setsockopt</item> + <item>shift</item> + <item>shmctl</item> + <item>shmget</item> + <item>shmread</item> + <item>shmwrite</item> + <item>shutdown</item> + <item>sin</item> + <item>sleep</item> + <item>socket</item> + <item>socketpair</item> + <item>sort</item> + <item>splice</item> + <item>split</item> + <item>sprintf</item> + <item>sqrt</item> + <item>srand</item> + <item>stat</item> + <item>study</item> + <item>sub</item> + <item>substr</item> + <item>symlink</item> + <item>syscall</item> + <item>sysread</item> + <item>sysseek</item> + <item>system</item> + <item>syswrite</item> + <item>tell</item> + <item>telldir</item> + <item>tie</item> + <item>time</item> + <item>times</item> + <item>truncate</item> + <item>uc</item> + <item>ucfirst</item> + <item>umask</item> + <item>undef</item> + <item>unlink</item> + <item>unpack</item> + <item>unshift</item> + <item>untie</item> + <item>utime</item> + <item>values</item> + <item>vec</item> + <item>wait</item> + <item>waitpid</item> + <item>wantarray</item> + <item>warn</item> + <item>write</item> + </list> + <list name="pragmas"> + <item>strict</item> + <item>english</item> + <item>warnings</item> + <item>vars</item> + <item>subs</item> + <item>utf8</item> + <item>sigtrap</item> + <item>locale</item> + <item>open</item> + <item>less</item> + <item>integer</item> + <item>filetest</item> + <item>constant</item> + <item>bytes</item> + <item>diagnostics</item> + </list> + <contexts> + <context name="normal" attribute="Normal Text" lineEndContext="#stay"> + <RegExpr attribute="Keyword" context="#stay" String="^#!\/.*" /> + <StringDetect attribute="Keyword" context="data_handle" String="__DATA__" firstNonSpace="true" /> + <StringDetect attribute="Keyword" context="#stay" String="__END__" firstNonSpace="true"/> + <RegExpr attribute="Keyword" context="sub_name_def" String="\bsub\s+" /> + <keyword attribute="Keyword" context="#stay" String="keywords" /> + <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"/> + <DetectSpaces /> + <DetectChar attribute="Comment" context="comment" char="#" /> + + <HlCOct attribute="Octal" context="slash_safe_escape" /> + <HlCHex attribute="Hex" context="slash_safe_escape" /> + <Float attribute="Float" context="slash_safe_escape" /> + <Int attribute="Decimal" context="slash_safe_escape" /> + + <RegExpr attribute="Normal Text" context="#stay" String="\\(["'])[^\1]" /> + <Detect2Chars attribute="Normal Text" context="#stay" char="&" char1="'" /><!-- ??? --> + <DetectChar attribute="Operator" context="ip_string" char=""" beginRegion="String" /> + <DetectChar attribute="Operator" context="string" char="'" beginRegion="String"/> + <DetectChar attribute="Operator" context="Backticked" char="`" /> + + <RegExpr attribute="Normal Text" context="find_variable" String="(?:[$@]\S|%[\w{]|\*[^\d\*{\$@%=(])" lookAhead="true" /> + + <RegExpr attribute="Keyword" context="#stay" String="<[A-Z0-9_]+>" /> + + <RegExpr attribute="Operator" context="find_here_document" String="\s*<<(?=\w+|\s*["'])" beginRegion="HereDocument" /> + + <RegExpr attribute="Normal Text" context="#stay" String="\s*\}\s*/" endRegion="Block"/> + <RegExpr attribute="Normal Text" context="#stay" String="\s*[)]\s*/" /> + <RegExpr attribute="Function" context="sub_name_def" String="\w+::" /> + <RegExpr attribute="Normal Text" context="#stay" String="\w+[=]" /> + + <RegExpr attribute="Operator" context="find_quoted" String="\bq(?=[qwx]?\s*[^\w\s])" /> + <RegExpr attribute="Operator" context="find_subst" String="\bs(?=\s*[^\w\s])" /> + <RegExpr attribute="Operator" context="tr" String="\b(?:tr|y)\s*(?=[^\w\s\]})])" /> + + <RegExpr attribute="Operator" context="find_pattern" String="\b(?:m|qr)(?=\s*[^\w\s\]})])" /> + + <RegExpr attribute="Normal Text" context="#stay" String="[\w_]+\s*/" /> + <RegExpr attribute="Normal Text" context="#stay" String="[<>"':]/" /> + <DetectChar attribute="Operator" context="pattern_slash" char="/" beginRegion="Pattern" /> + <RegExpr attribute="Operator" context="#stay" String="-[rwxoRWXOeszfdlpSbctugkTBMAC]" /> + + <DetectChar attribute="Normal Text" context="#stay" char="{" beginRegion="Block" /> + <DetectChar attribute="Normal Text" context="#stay" char="}" endRegion="Block" /> + </context> + + <!-- ====== quoted construct central ===== --> + <context name="find_quoted" attribute="Normal Text" lineEndContext="#stay" > + <!-- NOTE - qx'not interpolated regex' does not cover newline between "qr" and "'" --> + <RegExpr attribute="Operator" context="string_6" String="x\s*(')" beginRegion="String" /> + <AnyChar attribute="Operator" context="find_qqx" String="qx" /> + <DetectChar attribute="Operator" context="find_qw" char="w" /> + <DetectChar attribute="Operator" context="string_2" char="(" beginRegion="String" /> + <DetectChar attribute="Operator" context="string_3" char="{" beginRegion="String" /> + <DetectChar attribute="Operator" context="string_4" char="[" beginRegion="String" /> + <DetectChar attribute="Operator" context="string_5" char="<" beginRegion="String" /> + <RegExpr attribute="Operator" context="string_6" String="([^a-zA-Z0-9_\s[\]{}()])" beginRegion="String" /> + <RegExpr attribute="Comment" context="#stay" String="\s+#.*" /><!-- q[qwx] # == comment, look for the delim on the next line --> + </context> + <context name="find_qqx" attribute="Normal Text" lineEndContext="#stay" > + <DetectChar attribute="Operator" context="ip_string_2" char="(" beginRegion="String" /> + <DetectChar attribute="Operator" context="ip_string_3" char="{" beginRegion="String" /> + <DetectChar attribute="Operator" context="ip_string_4" char="[" beginRegion="String" /> + <DetectChar attribute="Operator" context="ip_string_5" char="<" beginRegion="String" /> + <RegExpr attribute="Operator" context="ip_string_6" String="([^a-zA-Z0-9_\s[\]{}()])" beginRegion="String" /> + <RegExpr attribute="Comment" context="#stay" String="\s+#.*" /><!-- q[qwx] # == comment, look for the delim on the next line --> + </context> + <context name="find_qw" attribute="Normal Text" lineEndContext="#stay" > + <DetectChar attribute="Operator" context="quote_word_paren" char="(" beginRegion="Wordlist" /> + <DetectChar attribute="Operator" context="quote_word_brace" char="{" beginRegion="Wordlist" /> + <DetectChar attribute="Operator" context="quote_word_bracket" char="[" beginRegion="Wordlist" /> + <RegExpr attribute="Operator" context="quote_word" String="([^a-zA-Z0-9_\s[\]{}()])" beginRegion="Wordlist" /> + <RegExpr attribute="Comment" context="#stay" String="\s+#.*" /><!-- q[qwx] # == comment, look for the delim on the next line --> + </context> + + <!-- ====== Contexts for strings ===== --> + <context name="ipstring_internal" attribute="String (interpolated)" lineEndContext="#stay"> + <DetectIdentifier /> + <RegExpr attribute="String Special Character" context="#stay" String="\\[UuLlEtnaefr]" /> + <RegExpr attribute="String (interpolated)" context="#stay" String="\\." /> + <RegExpr attribute="Normal Text" context="find_variable_unsafe" String="(?:[\$@]\S|%[\w{])" lookAhead="true" /> + </context> + <context name="ip_string" attribute="String (interpolated)" lineEndContext="#stay"> + <DetectChar attribute="Operator" context="#pop" char=""" endRegion="String"/> + <IncludeRules context="ipstring_internal" /> + </context> + <context name="ip_string_2" attribute="String (interpolated)" lineEndContext="#stay"> + <RangeDetect attribute="String (interpolated)" context="#stay" char="(" char1=")" /> + <DetectChar attribute="Operator" context="#pop#pop#pop" char=")" endRegion="String" /> + <IncludeRules context="ipstring_internal" /> + </context> + <context name="ip_string_3" attribute="String (interpolated)" lineEndContext="#stay"> + <RangeDetect attribute="String (interpolated)" context="#stay" char="{" char1="}" /> + <DetectChar attribute="Operator" context="#pop#pop#pop" char="}" endRegion="String" /> + <IncludeRules context="ipstring_internal" /> + </context> + <context name="ip_string_4" attribute="String (interpolated)" lineEndContext="#stay"> + <RangeDetect attribute="String (interpolated)" context="#stay" char="[" char1="]" /> + <DetectChar attribute="Operator" context="#pop#pop#pop" char="]" endRegion="String" /> + <IncludeRules context="ipstring_internal" /> + </context> + <context name="ip_string_5" attribute="String (interpolated)" lineEndContext="#stay"> + <RangeDetect attribute="String (interpolated)" context="#stay" char="<" char1=">" /> + <DetectChar attribute="Operator" context="#pop#pop#pop" char=">" endRegion="String" /> + <IncludeRules context="ipstring_internal" /> + </context> + <context name="ip_string_6" attribute="String (interpolated)" lineEndContext="#stay" dynamic="true"> + <RegExpr attribute="String (interpolated)" context="#stay" String="\%1" dynamic="true" /> + <DetectChar attribute="Operator" context="#pop#pop#pop" char="1" dynamic="true" endRegion="String"/> + <IncludeRules context="ipstring_internal" /> + </context> + + <context name="string" attribute="String" lineEndContext="#stay"> + <DetectIdentifier /> + <Detect2Chars attribute="String Special Character" context="#stay" char="\" char1="'" /> + <Detect2Chars attribute="String Special Character" context="#stay" char="\" char1="\" /> + <DetectChar attribute="Operator" context="#pop" char="'" endRegion="String" /> + </context> + <context name="string_2" attribute="String" lineEndContext="#stay"> + <DetectIdentifier /> + <Detect2Chars attribute="String Special Character" context="#stay" char="\" char1=")" /> + <Detect2Chars attribute="String Special Character" context="#stay" char="\" char1="\" /> + <RangeDetect attribute="String" context="#stay" char="(" char1=")" /> + <DetectChar attribute="Operator" context="#pop#pop" char=")" endRegion="String" /> + </context> + <context name="string_3" attribute="String" lineEndContext="#stay"> + <DetectIdentifier /> + <Detect2Chars attribute="String Special Character" context="#stay" char="\" char1="}" /> + <Detect2Chars attribute="String Special Character" context="#stay" char="\" char1="\" /> + <RangeDetect attribute="String" context="#stay" char="{" char1="}" /> + <DetectChar attribute="Operator" context="#pop#pop" char="}" endRegion="String" /> + </context> + <context name="string_4" attribute="String" lineEndContext="#stay"> + <DetectIdentifier /> + <Detect2Chars attribute="String Special Character" context="#stay" char="\" char1="]" /> + <Detect2Chars attribute="String Special Character" context="#stay" char="\" char1="\" /> + <RangeDetect attribute="String" context="#stay" char="[" char1="]" /> + <DetectChar attribute="Operator" context="#pop#pop" char="]" endRegion="String" /> + </context> + <context name="string_5" attribute="String" lineEndContext="#stay"> + <DetectIdentifier /> + <Detect2Chars attribute="String Special Character" context="#stay" char="\" char1="<" /> + <Detect2Chars attribute="String Special Character" context="#stay" char="\" char1="\" /> + <Detect2Chars attribute="String" context="#stay" char="\" char1=">" /> + <RangeDetect attribute="String" context="#stay" char="<" char1=">" /> + <DetectChar attribute="Operator" context="#pop#pop" char=">" endRegion="String" /> + </context> + <context name="string_6" attribute="String" lineEndContext="#stay" dynamic="true"> + <DetectIdentifier /> + <Detect2Chars attribute="String Special Character" context="#stay" char="\" char1="\" /> + <RegExpr attribute="String Special Character" context="#stay" String="\%1" dynamic="true"/> + <DetectChar attribute="Operator" context="#pop#pop" char="1" dynamic="true" endRegion="String" /> + </context> + + <!-- ====== contexts for s/// ====== --> + <context name="find_subst" attribute="Normal Text" lineEndContext="#stay" > + <RegExpr attribute="Comment" context="#stay" String="\s+#.*" /><!-- s # == comment, look for the delim on the next line --> + <DetectChar attribute="Operator" context="subst_curlybrace_pattern" char="{" beginRegion="Pattern" /> + <DetectChar attribute="Operator" context="subst_paren_pattern" char="(" beginRegion="Pattern" /> + <DetectChar attribute="Operator" context="subst_bracket_pattern" char="[" beginRegion="Pattern" /> + <DetectChar attribute="Operator" context="subst_sq_pattern" char="'" beginRegion="Pattern" /> + <RegExpr attribute="Operator" context="subst_slash_pattern" String="([^\w\s[\]{}()])" beginRegion="Pattern" /> + </context> + + <!-- Fully parse s {} {}. + This means that + - comments are legal between PATTERN and REPLACEMENT + - REPLACEMENT can contain resursive {} blocks --> + <context name="subst_curlybrace_pattern" attribute="Pattern" lineEndContext="#stay"> + <RegExpr attribute="Comment" context="#stay" String="\s+#.*$" /> + <IncludeRules context="regex_pattern_internal_ip" /> + <DetectChar attribute="Operator" context="subst_curlybrace_middle" char="}" endRegion="Pattern" /> + </context> + <context name="subst_curlybrace_middle" attribute="Normal Text" lineEndContext="#stay" > + <RegExpr attribute="Comment" context="#stay" String="#.*$" /> + <DetectChar attribute="Operator" context="subst_curlybrace_replace" char="{" beginRegion="Replacement" /> + </context> + <context name="subst_curlybrace_replace" attribute="String (interpolated)" lineEndContext="#stay"> + <IncludeRules context="ipstring_internal" /> + <DetectChar attribute="Normal Text" context="subst_curlybrace_replace_recursive" char="{" beginRegion="Block" /> + <RegExpr attribute="Operator" context="#pop#pop#pop#pop" String="\}[cegimosx]*" endRegion="Replacement" /> + </context> + <context name="subst_curlybrace_replace_recursive" attribute="String (interpolated)" lineEndContext="#stay" > + <DetectChar attribute="String (interpolated)" context="subst_curlybrace_replace_recursive" char="{" beginRegion="Block" /> + <DetectChar attribute="Normal Text" context="#pop" char="}" endRegion="Block" /> + <IncludeRules context="ipstring_internal" /> + </context> + + <context name="subst_paren_pattern" attribute="Pattern" lineEndContext="#stay"> + <RegExpr attribute="Comment" context="#stay" String="\s+#.*$" /> + <IncludeRules context="regex_pattern_internal_ip" /> + <DetectChar attribute="Operator" context="subst_paren_replace" char="}" endRegion="Pattern" /> + </context> + <context name="subst_paren_replace" attribute="String (interpolated)" lineEndContext="#stay"> + <IncludeRules context="ipstring_internal" /> + <DetectChar attribute="Operator" context="#stay" char="(" beginRegion="Replacement" /> + <RegExpr attribute="Operator" context="#pop#pop#pop" String="\)[cegimosx]*" endRegion="Replacement" /> + </context> + + <context name="subst_bracket_pattern" attribute="Pattern" lineEndContext="#stay"> + <RegExpr attribute="Comment" context="#stay" String="\s+#.*$" /> + <IncludeRules context="regex_pattern_internal_ip" /> + <DetectChar attribute="Operator" context="subst_bracket_replace" char="]" endRegion="Pattern" /> + </context> + <context name="subst_bracket_replace" attribute="String (interpolated)" lineEndContext="#stay"> + <IncludeRules context="ipstring_internal" /> + <DetectChar attribute="Operator" context="#stay" char="[" beginRegion="Replacement" /> + <RegExpr attribute="Operator" context="#pop#pop#pop" String="\][cegimosx]*" endRegion="Replacement" /> + </context> + + <context name="subst_slash_pattern" attribute="Pattern" lineEndContext="#stay" dynamic="true"> + <RegExpr attribute="Pattern Internal Operator" context="#stay" String="\$(?=%1)" dynamic="true" /> + <RegExpr attribute="Operator" context="subst_slash_replace" String="(%1)" dynamic="true" endRegion="Pattern" beginRegion="Replacement" /> + <IncludeRules context="regex_pattern_internal_ip" /> + </context> + <context name="subst_slash_replace" attribute="String (interpolated)" lineEndContext="#stay" dynamic="true"> + <IncludeRules context="ipstring_internal" /> + <RegExpr attribute="Operator" context="#pop#pop#pop" String="%1[cegimosx]*" dynamic="true" endRegion="Replacement" /> + </context> + + <context name="subst_sq_pattern" attribute="Pattern" lineEndContext="#stay"> + <RegExpr attribute="Comment" context="#stay" String="\s+#.*$" /> + <IncludeRules context="regex_pattern_internal" /> + <DetectChar attribute="Operator" context="subst_sq_replace" char="'" endRegion="Pattern" beginRegion="Pattern" /> + </context> + <context name="subst_sq_replace" attribute="String" lineEndContext="#stay"> + <RegExpr attribute="Operator" context="#pop#pop#pop" String="'[cegimosx]*" endRegion="Replacement" /> + </context> + + <context name="tr" attribute="Pattern" lineEndContext="#pop" fallthrough="true" fallthroughContext="#pop" > + <RegExpr attribute="Pattern" context="#pop" String="([^)]*\)\s*\(?:[^)]*\)" /> + <RegExpr attribute="Pattern" context="#pop" String="{[^}]*\}\s*\{[^}]*\}" /> + <RegExpr attribute="Pattern" context="#pop" String="\[[^}]*\]\s*\[[^\]]*\]" /> + <RegExpr attribute="Pattern" context="#pop" String="([^a-zA-Z0-9_\s[\]{}()]).*\1.*\1" minimal="true"/> + </context> + + <!-- ====== PATTERNs ====== --> + <context name="find_pattern" attribute="Pattern" lineEndContext="#stay"> + <RegExpr attribute="Comment" context="#stay" String="\s+#.*" /><!-- s # == comment, look for the delim on the next line --> + <DetectChar attribute="Operator" context="pattern_brace" char="{" beginRegion="Pattern" /> + <DetectChar attribute="Operator" context="pattern_paren" char="(" beginRegion="Pattern" /> + <DetectChar attribute="Operator" context="pattern_bracket" char="[" beginRegion="Pattern" /> + <DetectChar attribute="Operator" context="pattern_sq" char="'" beginRegion="Pattern" /> + <RegExpr attribute="Operator" context="pattern" String="([^\w\s])" beginRegion="Pattern" /> + </context> + <context name="pattern_slash" attribute="Pattern" lineEndContext="#stay"> + <RegExpr attribute="Pattern Internal Operator" context="#stay" String="\$(?=/)" /> + <IncludeRules context="regex_pattern_internal_ip" /> + <RegExpr attribute="Operator" context="#pop" String="/[cgimosx]*" endRegion="Pattern" /> + </context> + <context name="pattern" attribute="Pattern" lineEndContext="#stay" dynamic="true"> + <RegExpr attribute="Pattern Internal Operator" context="#stay" String="\$(?=%1)" dynamic="true" /> + <RegExpr attribute="Operator" context="#pop#pop" String="%1[cgimosx]*" dynamic="true" endRegion="Pattern" /> + <IncludeRules context="regex_pattern_internal_ip" /> + <RegExpr attribute="Pattern Internal Operator" context="#stay" String="\$(?=\%1)" dynamic="true" /> + </context> + <context name="pattern_brace" attribute="Pattern" lineEndContext="#stay"> + <RegExpr attribute="Operator" context="#pop#pop" String="\}[cgimosx]*" endRegion="Pattern" /> + <IncludeRules context="regex_pattern_internal_ip" /> + </context> + <context name="pattern_bracket" attribute="Pattern" lineEndContext="#stay"> + <RegExpr attribute="Operator" context="#pop#pop" String="\][cgimosx]*" endRegion="Pattern" /> + <IncludeRules context="regex_pattern_internal_ip" /> + </context> + <context name="pattern_paren" attribute="Pattern" lineEndContext="#stay"> + <RegExpr attribute="Operator" context="#pop#pop" String="\)[cgimosx]*" endRegion="Pattern" /> + <IncludeRules context="regex_pattern_internal_ip" /> + </context> + <context name="pattern_sq" attribute="Pattern" lineEndContext="#stay"> + <RegExpr attribute="Operator" context="#pop#pop" String="'[cgimosx]*" endRegion="Pattern" /> + <IncludeRules context="regex_pattern_internal" /> + </context> + + <!-- rules internal stuff wrt regex patterns --> + <context name="regex_pattern_internal_rules_1" lineEndContext="#stay"> + <RegExpr attribute="Comment" context="#stay" String="#.*$" firstNonSpace="true" /> + <RegExpr attribute="Pattern Character Class" context="#stay" String="\\[anDdSsWw]" /> + <RegExpr attribute="Pattern Internal Operator" context="#stay" String="\\[ABbEGLlNUuQdQZz]" /> + <RegExpr attribute="Special Variable" context="#stay" String="\\[\d]+" /> + <RegExpr attribute="Pattern" context="#stay" String="\\." /> + </context> + <context name="regex_pattern_internal_rules_2" lineEndContext="#stay"> + <Detect2Chars attribute="Pattern Internal Operator" context="pat_ext" char="(" char1="?" /> + <DetectChar attribute="Pattern Internal Operator" context="pat_char_class" char="[" /> + <RegExpr attribute="Pattern Internal Operator" context="#stay" String="[()?^*+|]" /> + <RegExpr attribute="Pattern Internal Operator" context="#stay" String="\{[\d, ]+\}" /> + <DetectChar attribute="Pattern Internal Operator" context="#stay" char="$" /> + <RegExpr attribute="Comment" context="#stay" String="\s{3,}#.*$" /> + </context> + <context name="regex_pattern_internal" attribute="Pattern" lineEndContext="#stay"> + <IncludeRules context="regex_pattern_internal_rules_1" /> + <IncludeRules context="regex_pattern_internal_rules_2" /> + </context> + <context name="regex_pattern_internal_ip" attribute="Pattern" lineEndContext="#stay" > + <IncludeRules context="regex_pattern_internal_rules_1" /> + <!-- NOTE the below means that the special variables $' $], $} and $> are not supported + within interpolated PATTERNs (apart from $(, $) and ${ and $| not supported by perl). + This is because perl considers + s{foo$} {bar} OK as well as s{foo$}} {bar}, and detecting that is a huge work overload + for something that is unlikely to happen. --> + <RegExpr attribute="Data Type" context="find_variable_unsafe" String="[$@][^]\s{}()|>']" lookAhead="true" /> + <IncludeRules context="regex_pattern_internal_rules_2" /> + </context> + <context name="pat_ext" attribute="Pattern Internal Operator" lineEndContext="#stay"> + <RegExpr attribute="Comment" context="#pop" String="\#[^)]*" /> + <RegExpr attribute="Pattern Internal Operator" context="#pop" String="[:=!><]+" /> + <DetectChar attribute="Pattern Internal Operator" context="#pop" char=")" /> + </context> + <context name="pat_char_class" attribute="Pattern Character Class" lineEndContext="#stay"> + <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="]" /> + <RegExpr attribute="Pattern Character Class" context="#stay" String="\[:^?[a-z]+:\]" /> + <DetectChar attribute="Pattern Internal Operator" context="#pop" char="]" /> + </context> + + <!-- ====== Variables ====== --> + <context name="find_variable" attribute="Data Type" lineEndContext="#pop" fallthrough="true" fallthroughContext="#pop" > + <RegExpr attribute="Special Variable" context="var_detect" String="\$[0-9]+" /> + <RegExpr attribute="Special Variable" context="var_detect" String="[@\$](?:[\+\-_]\B|ARGV\b|INC\b)" /> + <RegExpr attribute="Special Variable" context="var_detect" String="[%\$](?:INC\b|ENV\b|SIG\b)" /> + <RegExpr attribute="Data Type" context="var_detect" String="\$\$[\$\w_]" /> + <RegExpr attribute="Data Type" context="var_detect" String="\$[#_][\w_]" /> + <RegExpr attribute="Data Type" context="var_detect" String="\$+::" /> + <RegExpr attribute="Special Variable" context="#stay" String="\$[^a-zA-Z0-9\s{][A-Z]?" /> + <RegExpr attribute="Data Type" context="var_detect" String="[\$@%]\{[\w_]+\}" /> + <AnyChar attribute="Data Type" context="var_detect" String="$@%" /> + <RegExpr attribute="Data Type" context="var_detect" String="\*[a-zA-Z_]+" /> + <RegExpr attribute="Special Variable" context="#stay" String="\*[^a-zA-Z0-9\s{][A-Z]?" /> + <!-- this should be a rare case! --> + <AnyChar attribute="Operator" context="#pop" String="$@%*" /> + </context> + <!-- This does not check fo a trailing slash, for usage in strings. --> + <context name="find_variable_unsafe" attribute="Data Type" lineEndContext="#pop" fallthrough="true" fallthroughContext="#pop" > + <RegExpr attribute="Special Variable" context="var_detect_unsafe" String="\$[0-9]+" /> + <RegExpr attribute="Special Variable" context="var_detect_unsafe" String="[@\$](?:[\+\-_]\B|ARGV\b|INC\b)" /> + <RegExpr attribute="Special Variable" context="var_detect_unsafe" String="[%\$](?:INC\b|ENV\b|SIG\b)" /> + <RegExpr attribute="Data Type" context="var_detect_unsafe" String="\$\$[\$\w_]" /> + <RegExpr attribute="Data Type" context="var_detect_unsafe" String="\$[#_][\w_]" /> + <RegExpr attribute="Data Type" context="var_detect_unsafe" String="\$+::" /> + <RegExpr attribute="Special Variable" context="#stay" String="\$[^a-zA-Z0-9\s{][A-Z]?" /> + <RegExpr attribute="Data Type" context="var_detect_unsafe" String="[\$@%]\{[\w_]+\}" /> + <RegExpr attribute="Data Type" context="var_detect_unsafe" String="[\$@%]" /> + <RegExpr attribute="Data Type" context="var_detect_unsafe" String="\*\w+" /> + <AnyChar attribute="Operator" context="#pop" String="$@%*" /> + </context> + <context name="var_detect" attribute="Data Type" lineEndContext="#pop#pop" fallthrough="true" fallthroughContext="#pop#pop"> + <IncludeRules context="var_detect_rules" /> + <IncludeRules context="slash_safe_escape" /> + </context> + <context name="var_detect_unsafe" attribute="Data Type" lineEndContext="#pop#pop" fallthrough="true" fallthroughContext="#pop#pop"> + <IncludeRules context="var_detect_rules" /> + </context> + <context name="var_detect_rules" attribute="Data Type" lineEndContext="#pop#pop" > + <RegExpr attribute="Data Type" context="#stay" String="[\w_]+" /> + <Detect2Chars attribute="Normal Text" context="#stay" char=":" char1=":" /> + <DetectChar attribute="Operator" context="#stay" char="'" /> + <Detect2Chars attribute="Normal Text" context="#stay" char="-" char1=">" /> + <!-- safe with operator / --> + <Detect2Chars attribute="Normal Text" context="#stay" char="+" char1="+" /> + <Detect2Chars attribute="Normal Text" context="#stay" char="-" char1="-" /> + </context> + + + <!-- ====== Word lists ====== --> + <context name="quote_word" attribute="Normal Text" lineEndContext="#stay" dynamic="true"> + <DetectSpaces /> + <DetectIdentifier /> + <RegExpr attribute="Normal Text" context="#stay" String="\\%1" dynamic="true" /> + <DetectChar attribute="Operator" context="#pop#pop#pop" char="1" dynamic="true" endRegion="Wordlist" /> + </context> + <context name="quote_word_paren" attribute="Normal Text" lineEndContext="#stay"> + <DetectSpaces /> + <DetectIdentifier /> + <Detect2Chars attribute="Normal Text" context="#stay" char="\" char1=")" /> + <DetectChar attribute="Operator" context="#pop#pop#pop" char=")" endRegion="Wordlist" /> + </context> + <context name="quote_word_brace" attribute="Normal Text" lineEndContext="#stay"> + <DetectSpaces /> + <DetectIdentifier /> + <Detect2Chars attribute="Normal Text" context="#stay" char="\" char1="}" /> + <DetectChar attribute="Operator" context="#pop#pop#pop" char="}" endRegion="Wordlist" /> + </context> + <context name="quote_word_bracket" attribute="Normal Text" lineEndContext="#stay"> + <DetectSpaces /> + <DetectIdentifier /> + <Detect2Chars attribute="Normal Text" context="#stay" char="\" char1="]" /> + <DetectChar attribute="Operator" context="#pop#pop#pop" char="]" endRegion="Wordlist" /> + </context> + + <!-- ====== Here Documents ====== --> + <context name="find_here_document" attribute="Normal Text" lineEndContext="#pop" > + <RegExpr attribute="Keyword" context="here_document" String="(\w+)\s*;?" /> + <RegExpr attribute="Keyword" context="here_document" String="\s*"([^"]+)"\s*;?" /> + <RegExpr attribute="Keyword" context="here_document" String="\s*`([^`]+)`\s*;?" /> + <RegExpr attribute="Keyword" context="here_document_dumb" String="\s*'([^']+)'\s*;?" /> + </context> + <context name="here_document" attribute="String (interpolated)" lineEndContext="#stay" dynamic="true"> + <DetectSpaces /> + <RegExpr attribute="Keyword" context="#pop#pop" String="%1" column="0" dynamic="true" endRegion="HereDocument"/> + <RegExpr attribute="Keyword" context="here_document" String="\=\s*<<\s*["']?([A-Z0-9_\-]+)["']?" beginRegion="HEREDoc" /> + <IncludeRules context="ipstring_internal" /> + </context> + <context name="here_document_dumb" attribute="Normal Text" lineEndContext="#stay" dynamic="true"> + <DetectSpaces /> + <RegExpr attribute="Keyword" context="#pop#pop" String="%1" column="0" dynamic="true" endRegion="HereDocument"/> + <DetectIdentifier /> + </context> + + <!-- ====== Misc ====== --> + <context name="data_handle" attribute="Data" lineEndContext="#stay"> + <RegExpr attribute="Pod" context="pod" String="\=(?:head[1-6]|over|back|item|for|begin|end|pod)\s+.*" column="0" beginRegion="POD"/> + <StringDetect attribute="Keyword" context="normal" String="__END__" firstNonSpace="true" /> + </context> + <context name="end_handle" attribute="Nothing" lineEndContext="#stay"> + <RegExpr attribute="Pod" context="pod" String="^\=(?:head[1-6]|over|back|item|for|begin|end|pod)\s*.*"/> + <StringDetect attribute="Keyword" context="data_handle" String="__DATA__" firstNonSpace="true" /> + </context> + + <context name="Backticked" attribute="String (interpolated)" lineEndContext="#stay"> + <IncludeRules context="ipstring_internal"/> + <DetectChar attribute="Operator" context="#pop" char="`"/> + </context> + + <context name="slash_safe_escape" attribute="Normal Text" lineEndContext="#pop" fallthrough="true" fallthroughContext="#pop"> + <RegExpr attribute="Normal Text" context="#pop" String="\s*\]?\s*/" /> + <RegExpr attribute="Normal Text" context="#pop" String="\s*\}?\s*/" endRegion="Block" /> + <RegExpr attribute="Normal Text" context="#pop" String="\s*\)?\s*/" /> + <keyword attribute="Keyword" context="#pop" String="keywords" /> + </context> + + <context name="package_qualified_blank" attribute="Normal Text" lineEndContext="#stay"> + <RegExpr attribute="Normal Text" context="#pop" String="[\w_]+" /> + </context> + + <context name="sub_name_def" attribute="Normal Text" lineEndContext="#pop" fallthrough="true" fallthroughContext="#pop"> + <RegExpr attribute="Function" context="#stay" String="\w+" /> + <RegExpr attribute="Normal Text" context="find_variable" String="\$\S" lookAhead="true" /> + <RegExpr attribute="Normal Text" context="sub_arg_definition" String="\s*\(" /> + <Detect2Chars attribute="Normal Text" context="#stay" char=":" char1=":" /> + </context> + + <context name="sub_arg_definition" attribute="Normal Text" lineEndContext="#stay" fallthrough="true" fallthroughContext="#pop#pop"> + <AnyChar attribute="Data Type" context="#stay" String="*$@%" /> + <AnyChar attribute="Normal Text" context="#stay" String="&\[];" /> + <DetectChar attribute="Normal Text" context="slash_safe_escape" char=")" /> + </context> + + <context name="pod" attribute="Pod" lineEndContext="#stay"> + <DetectSpaces /> + <DetectIdentifier /> + <RegExpr attribute="Pod" context="#stay" String="\=(?:head[1-6]|over|back|item|for|begin|end|pod)\s*.*" column="0" beginRegion="POD" endRegion="POD"/> + <RegExpr attribute="Pod" context="#pop" String="\=cut.*$" column="0" endRegion="POD"/> + </context> + + <context name="comment" attribute="Comment" lineEndContext="#pop"> + <DetectSpaces /> + <IncludeRules context="##Alerts" /> + <DetectIdentifier /> + </context> + + </contexts> + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal" /> + <itemData name="Keyword" defStyleNum="dsKeyword" /> + <itemData name="Pragma" defStyleNum="dsKeyword" /> + <itemData name="Function" defStyleNum="dsFunction" /> + <itemData name="Operator" defStyleNum="dsKeyword" color="#008000"/> + <itemData name="Data Type" defStyleNum="dsDataType" /> + <itemData name="Special Variable" defStyleNum="dsDataType" color="#C00000" selColor="#C00000" bold="0" italic="0" /> + <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" color="#FF6C6C" selColor="#FF6C6C" bold="0" italic="0" /> + <itemData name="String (interpolated)" defStyleNum="dsString" /> + <itemData name="String Special Character" defStyleNum="dsChar" /> + <itemData name="Pattern" defStyleNum="dsOthers" /> + <itemData name="Pattern Internal Operator" defStyleNum="dsChar" /> + <itemData name="Pattern Character Class" defStyleNum="dsBaseN" /> + <itemData name="Data" defStyleNum="dsNormal" /> + <itemData name="Comment" defStyleNum="dsComment" /> + <itemData name="Pod" defStyleNum="dsComment" /> + <itemData name="Nothing" defStyleNum="dsComment" /> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="singleLine" start="#" /> + </comments> + <keywords casesensitive="1" /> + </general> +</language> +<!-- kate: space-indent on; indent-width 2; replace-tabs on; --> diff --git a/kate/data/php.xml b/kate/data/php.xml new file mode 100644 index 000000000..9819a2783 --- /dev/null +++ b/kate/data/php.xml @@ -0,0 +1,6549 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + +Changes: + +[ Version 1.28 (2006-11-02) ] + +- Moved the special method names to a dedicated section (the coloration will default to the coloration of functions, but it can be customized independently, to revert to the previous coloration styles, that is, black, and bold). + +[ Version 1.27 (2006-11-01) ] + +- Added new special method names, from PHP 5. +- Moved the special method names to the function list. + +[ Version 1.26 (2006-01-26) ] + +- Added alternative syntax control structures, and named logical operators ("and", "or", and "xor") (by Nicola Gigante). + +--> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="PHP/PHP" version="1.28" kateversion="2.4" section="Scripts" extensions="" priority="5" mimetype="" hidden="true"> + <highlighting> + <list name="control structures"> + <item>as</item> + <item>case</item> + <item>default</item> + <item>if</item> + <item>else</item> + <item>elseif</item> + <item>while</item> + <item>do</item> + <item>for</item> + <item>foreach</item> + <item>break</item> + <item>continue</item> + <item>switch</item> + <item>declare</item> + <item>return</item> + <item>require</item> + <item>include</item> + <item>require_once</item> + <item>include_once</item> + <item>endif</item> + <item>endwhile</item> + <item>endfor</item> + <item>endforeach</item> + <item>endswitch</item> + </list> + <list name="keywords"> + <item> abstract </item> + <item> catch </item> + <item> class </item> + <item> const </item> + <item> extends </item> + <item> final </item> + <item> function </item> + <item> implements </item> + <item> interface </item> + <item> new </item> + <item> self </item> + <item> static </item> + <item> parent </item> + <item> private </item> + <item> protected </item> + <item> public </item> + <item> throw </item> + <item> try </item> + <item> and </item> + <item> or </item> + <item> xor </item> + <item> var </item> + <item> __FILE__ </item> + <item> __LINE__ </item> + <item> E_ERROR </item> + <item> E_WARNING </item> + <item> E_PARSE </item> + <item> E_NOTICE </item> + <item> E_STRICT </item> + <item> E_CORE_ERROR </item> + <item> E_CORE_WARNING </item> + <item> E_COMPILE_ERROR </item> + <item> E_COMPILE_WARNING </item> + <item> E_USER_ERROR </item> + <item> E_USER_WARNING </item> + <item> E_USER_NOTICE </item> + <item> E_ALL </item> + <item> TRUE </item> + <item> FALSE </item> + <item> ZEND_THREAD_SAFE </item> + <item> NULL </item> + <item> PHP_VERSION </item> + <item> PHP_OS </item> + <item> PHP_SAPI </item> + <item> DEFAULT_INCLUDE_PATH </item> + <item> PEAR_INSTALL_DIR </item> + <item> PEAR_EXTENSION_DIR </item> + <item> PHP_EXTENSION_DIR </item> + <item> PHP_PREFIX </item> + <item> PHP_BINDIR </item> + <item> PHP_LIBDIR </item> + <item> PHP_DATADIR </item> + <item> PHP_SYSCONFDIR </item> + <item> PHP_LOCALSTATEDIR </item> + <item> PHP_CONFIG_FILE_PATH </item> + <item> PHP_CONFIG_FILE_SCAN_DIR </item> + <item> PHP_SHLIB_SUFFIX </item> + <item> PHP_EOL </item> + <item> PHP_OUTPUT_HANDLER_START </item> + <item> PHP_OUTPUT_HANDLER_CONT </item> + <item> PHP_OUTPUT_HANDLER_END </item> + <item> UPLOAD_ERR_OK </item> + <item> UPLOAD_ERR_INI_SIZE </item> + <item> UPLOAD_ERR_FORM_SIZE </item> + <item> UPLOAD_ERR_PARTIAL </item> + <item> UPLOAD_ERR_NO_FILE </item> + <item> UPLOAD_ERR_NO_TMP_DIR </item> + <item> P_STATIC </item> + <item> P_PUBLIC </item> + <item> P_PROTECTED </item> + <item> P_PRIVATE </item> + <item> M_STATIC </item> + <item> M_PUBLIC </item> + <item> M_PROTECTED </item> + <item> M_PRIVATE </item> + <item> M_ABSTRACT </item> + <item> M_FINAL </item> + <item> C_IMPLICIT_ABSTRACT </item> + <item> C_EXPLICIT_ABSTRACT </item> + <item> C_FINAL </item> + <item> XML_ERROR_NONE </item> + <item> XML_ERROR_NO_MEMORY </item> + <item> XML_ERROR_SYNTAX </item> + <item> XML_ERROR_NO_ELEMENTS </item> + <item> XML_ERROR_INVALID_TOKEN </item> + <item> XML_ERROR_UNCLOSED_TOKEN </item> + <item> XML_ERROR_PARTIAL_CHAR </item> + <item> XML_ERROR_TAG_MISMATCH </item> + <item> XML_ERROR_DUPLICATE_ATTRIBUTE </item> + <item> XML_ERROR_JUNK_AFTER_DOC_ELEMENT </item> + <item> XML_ERROR_PARAM_ENTITY_REF </item> + <item> XML_ERROR_UNDEFINED_ENTITY </item> + <item> XML_ERROR_RECURSIVE_ENTITY_REF </item> + <item> XML_ERROR_ASYNC_ENTITY </item> + <item> XML_ERROR_BAD_CHAR_REF </item> + <item> XML_ERROR_BINARY_ENTITY_REF </item> + <item> XML_ERROR_ATTRIBUTE_EXTERNAL_ENTITY_REF </item> + <item> XML_ERROR_MISPLACED_XML_PI </item> + <item> XML_ERROR_UNKNOWN_ENCODING </item> + <item> XML_ERROR_INCORRECT_ENCODING </item> + <item> XML_ERROR_UNCLOSED_CDATA_SECTION </item> + <item> XML_ERROR_EXTERNAL_ENTITY_HANDLING </item> + <item> XML_OPTION_CASE_FOLDING </item> + <item> XML_OPTION_TARGET_ENCODING </item> + <item> XML_OPTION_SKIP_TAGSTART </item> + <item> XML_OPTION_SKIP_WHITE </item> + <item> XML_SAX_IMPL </item> + <item> CONNECTION_ABORTED </item> + <item> CONNECTION_NORMAL </item> + <item> CONNECTION_TIMEOUT </item> + <item> INI_USER </item> + <item> INI_PERDIR </item> + <item> INI_SYSTEM </item> + <item> INI_ALL </item> + <item> SUNFUNCS_RET_TIMESTAMP </item> + <item> SUNFUNCS_RET_STRING </item> + <item> SUNFUNCS_RET_DOUBLE </item> + <item> M_E </item> + <item> M_LOG2E </item> + <item> M_LOG10E </item> + <item> M_LN2 </item> + <item> M_LN10 </item> + <item> M_PI </item> + <item> M_PI_2 </item> + <item> M_PI_4 </item> + <item> M_1_PI </item> + <item> M_2_PI </item> + <item> M_2_SQRTPI </item> + <item> M_SQRT2 </item> + <item> M_SQRT1_2 </item> + <item> INF </item> + <item> NAN </item> + <item> INFO_GENERAL </item> + <item> INFO_CREDITS </item> + <item> INFO_CONFIGURATION </item> + <item> INFO_MODULES </item> + <item> INFO_ENVIRONMENT </item> + <item> INFO_VARIABLES </item> + <item> INFO_LICENSE </item> + <item> INFO_ALL </item> + <item> CREDITS_GROUP </item> + <item> CREDITS_GENERAL </item> + <item> CREDITS_SAPI </item> + <item> CREDITS_MODULES </item> + <item> CREDITS_DOCS </item> + <item> CREDITS_FULLPAGE </item> + <item> CREDITS_QA </item> + <item> CREDITS_ALL </item> + <item> HTML_SPECIALCHARS </item> + <item> HTML_ENTITIES </item> + <item> ENT_COMPAT </item> + <item> ENT_QUOTES </item> + <item> ENT_NOQUOTES </item> + <item> STR_PAD_LEFT </item> + <item> STR_PAD_RIGHT </item> + <item> STR_PAD_BOTH </item> + <item> PATHINFO_DIRNAME </item> + <item> PATHINFO_BASENAME </item> + <item> PATHINFO_EXTENSION </item> + <item> CHAR_MAX </item> + <item> LC_CTYPE </item> + <item> LC_NUMERIC </item> + <item> LC_TIME </item> + <item> LC_COLLATE </item> + <item> LC_MONETARY </item> + <item> LC_ALL </item> + <item> LC_MESSAGES </item> + <item> SEEK_SET </item> + <item> SEEK_CUR </item> + <item> SEEK_END </item> + <item> LOCK_SH </item> + <item> LOCK_EX </item> + <item> LOCK_UN </item> + <item> LOCK_NB </item> + <item> STREAM_NOTIFY_CONNECT </item> + <item> STREAM_NOTIFY_AUTH_REQUIRED </item> + <item> STREAM_NOTIFY_AUTH_RESULT </item> + <item> STREAM_NOTIFY_MIME_TYPE_IS </item> + <item> STREAM_NOTIFY_FILE_SIZE_IS </item> + <item> STREAM_NOTIFY_REDIRECTED </item> + <item> STREAM_NOTIFY_PROGRESS </item> + <item> STREAM_NOTIFY_FAILURE </item> + <item> STREAM_NOTIFY_COMPLETED </item> + <item> STREAM_NOTIFY_RESOLVE </item> + <item> STREAM_NOTIFY_SEVERITY_INFO </item> + <item> STREAM_NOTIFY_SEVERITY_WARN </item> + <item> STREAM_NOTIFY_SEVERITY_ERR </item> + <item> STREAM_FILTER_READ </item> + <item> STREAM_FILTER_WRITE </item> + <item> STREAM_FILTER_ALL </item> + <item> STREAM_CLIENT_PERSISTENT </item> + <item> STREAM_CLIENT_ASYNC_CONNECT </item> + <item> STREAM_CLIENT_CONNECT </item> + <item> STREAM_PEEK </item> + <item> STREAM_OOB </item> + <item> STREAM_SERVER_BIND </item> + <item> STREAM_SERVER_LISTEN </item> + <item> FILE_USE_INCLUDE_PATH </item> + <item> FILE_IGNORE_NEW_LINES </item> + <item> FILE_SKIP_EMPTY_LINES </item> + <item> FILE_APPEND </item> + <item> FILE_NO_DEFAULT_CONTEXT </item> + <item> FNM_NOESCAPE </item> + <item> FNM_PATHNAME </item> + <item> FNM_PERIOD </item> + <item> FNM_CASEFOLD </item> + <item> PSFS_PASS_ON </item> + <item> PSFS_FEED_ME </item> + <item> PSFS_ERR_FATAL </item> + <item> PSFS_FLAG_NORMAL </item> + <item> PSFS_FLAG_FLUSH_INC </item> + <item> PSFS_FLAG_FLUSH_CLOSE </item> + <item> ABDAY_1 </item> + <item> ABDAY_2 </item> + <item> ABDAY_3 </item> + <item> ABDAY_4 </item> + <item> ABDAY_5 </item> + <item> ABDAY_6 </item> + <item> ABDAY_7 </item> + <item> DAY_1 </item> + <item> DAY_2 </item> + <item> DAY_3 </item> + <item> DAY_4 </item> + <item> DAY_5 </item> + <item> DAY_6 </item> + <item> DAY_7 </item> + <item> ABMON_1 </item> + <item> ABMON_2 </item> + <item> ABMON_3 </item> + <item> ABMON_4 </item> + <item> ABMON_5 </item> + <item> ABMON_6 </item> + <item> ABMON_7 </item> + <item> ABMON_8 </item> + <item> ABMON_9 </item> + <item> ABMON_10 </item> + <item> ABMON_11 </item> + <item> ABMON_12 </item> + <item> MON_1 </item> + <item> MON_2 </item> + <item> MON_3 </item> + <item> MON_4 </item> + <item> MON_5 </item> + <item> MON_6 </item> + <item> MON_7 </item> + <item> MON_8 </item> + <item> MON_9 </item> + <item> MON_10 </item> + <item> MON_11 </item> + <item> MON_12 </item> + <item> AM_STR </item> + <item> PM_STR </item> + <item> D_T_FMT </item> + <item> D_FMT </item> + <item> T_FMT </item> + <item> T_FMT_AMPM </item> + <item> ERA </item> + <item> ERA_D_T_FMT </item> + <item> ERA_D_FMT </item> + <item> ERA_T_FMT </item> + <item> ALT_DIGITS </item> + <item> CRNCYSTR </item> + <item> RADIXCHAR </item> + <item> THOUSEP </item> + <item> YESEXPR </item> + <item> NOEXPR </item> + <item> CODESET </item> + <item> CRYPT_SALT_LENGTH </item> + <item> CRYPT_STD_DES </item> + <item> CRYPT_EXT_DES </item> + <item> CRYPT_MD5 </item> + <item> CRYPT_BLOWFISH </item> + <item> DIRECTORY_SEPARATOR </item> + <item> PATH_SEPARATOR </item> + <item> GLOB_BRACE </item> + <item> GLOB_MARK </item> + <item> GLOB_NOSORT </item> + <item> GLOB_NOCHECK </item> + <item> GLOB_NOESCAPE </item> + <item> GLOB_ONLYDIR </item> + <item> LOG_EMERG </item> + <item> LOG_ALERT </item> + <item> LOG_CRIT </item> + <item> LOG_ERR </item> + <item> LOG_WARNING </item> + <item> LOG_NOTICE </item> + <item> LOG_INFO </item> + <item> LOG_DEBUG </item> + <item> LOG_KERN </item> + <item> LOG_USER </item> + <item> LOG_MAIL </item> + <item> LOG_DAEMON </item> + <item> LOG_AUTH </item> + <item> LOG_SYSLOG </item> + <item> LOG_LPR </item> + <item> LOG_NEWS </item> + <item> LOG_UUCP </item> + <item> LOG_CRON </item> + <item> LOG_AUTHPRIV </item> + <item> LOG_LOCAL0 </item> + <item> LOG_LOCAL1 </item> + <item> LOG_LOCAL2 </item> + <item> LOG_LOCAL3 </item> + <item> LOG_LOCAL4 </item> + <item> LOG_LOCAL5 </item> + <item> LOG_LOCAL6 </item> + <item> LOG_LOCAL7 </item> + <item> LOG_PID </item> + <item> LOG_CONS </item> + <item> LOG_ODELAY </item> + <item> LOG_NDELAY </item> + <item> LOG_NOWAIT </item> + <item> LOG_PERROR </item> + <item> EXTR_OVERWRITE </item> + <item> EXTR_SKIP </item> + <item> EXTR_PREFIX_SAME </item> + <item> EXTR_PREFIX_ALL </item> + <item> EXTR_PREFIX_INVALID </item> + <item> EXTR_PREFIX_IF_EXISTS </item> + <item> EXTR_IF_EXISTS </item> + <item> EXTR_REFS </item> + <item> SORT_ASC </item> + <item> SORT_DESC </item> + <item> SORT_REGULAR </item> + <item> SORT_NUMERIC </item> + <item> SORT_STRING </item> + <item> SORT_LOCALE_STRING </item> + <item> CASE_LOWER </item> + <item> CASE_UPPER </item> + <item> COUNT_NORMAL </item> + <item> COUNT_RECURSIVE </item> + <item> ASSERT_ACTIVE </item> + <item> ASSERT_CALLBACK </item> + <item> ASSERT_BAIL </item> + <item> ASSERT_WARNING </item> + <item> ASSERT_QUIET_EVAL </item> + <item> STREAM_USE_PATH </item> + <item> STREAM_IGNORE_URL </item> + <item> STREAM_ENFORCE_SAFE_MODE </item> + <item> STREAM_REPORT_ERRORS </item> + <item> STREAM_MUST_SEEK </item> + <item> STREAM_URL_STAT_LINK </item> + <item> STREAM_URL_STAT_QUIET </item> + <item> STREAM_MKDIR_RECURSIVE </item> + <item> IMAGETYPE_GIF </item> + <item> IMAGETYPE_JPEG </item> + <item> IMAGETYPE_PNG </item> + <item> IMAGETYPE_SWF </item> + <item> IMAGETYPE_PSD </item> + <item> IMAGETYPE_BMP </item> + <item> IMAGETYPE_TIFF_II </item> + <item> IMAGETYPE_TIFF_MM </item> + <item> IMAGETYPE_JPC </item> + <item> IMAGETYPE_JP2 </item> + <item> IMAGETYPE_JPX </item> + <item> IMAGETYPE_JB2 </item> + <item> IMAGETYPE_IFF </item> + <item> IMAGETYPE_WBMP </item> + <item> IMAGETYPE_JPEG2000 </item> + <item> IMAGETYPE_XBM </item> + <item> DNS_A </item> + <item> DNS_NS </item> + <item> DNS_CNAME </item> + <item> DNS_SOA </item> + <item> DNS_PTR </item> + <item> DNS_HINFO </item> + <item> DNS_MX </item> + <item> DNS_TXT </item> + <item> DNS_SRV </item> + <item> DNS_NAPTR </item> + <item> DNS_AAAA </item> + <item> DNS_ANY </item> + <item> DNS_ALL </item> + <item> RIT_LEAVES_ONLY </item> + <item> RIT_SELF_FIRST </item> + <item> RIT_CHILD_FIRST </item> + <item> CIT_CALL_TOSTRING </item> + <item> CIT_CATCH_GET_CHILD </item> + <item> PREG_PATTERN_ORDER </item> + <item> PREG_SET_ORDER </item> + <item> PREG_OFFSET_CAPTURE </item> + <item> PREG_SPLIT_NO_EMPTY </item> + <item> PREG_SPLIT_DELIM_CAPTURE </item> + <item> PREG_SPLIT_OFFSET_CAPTURE </item> + <item> PREG_GREP_INVERT </item> + <item> CAL_GREGORIAN </item> + <item> CAL_JULIAN </item> + <item> CAL_JEWISH </item> + <item> CAL_FRENCH </item> + <item> CAL_NUM_CALS </item> + <item> CAL_DOW_DAYNO </item> + <item> CAL_DOW_SHORT </item> + <item> CAL_DOW_LONG </item> + <item> CAL_MONTH_GREGORIAN_SHORT </item> + <item> CAL_MONTH_GREGORIAN_LONG </item> + <item> CAL_MONTH_JULIAN_SHORT </item> + <item> CAL_MONTH_JULIAN_LONG </item> + <item> CAL_MONTH_JEWISH </item> + <item> CAL_MONTH_FRENCH </item> + <item> CAL_EASTER_DEFAULT </item> + <item> CAL_EASTER_ROMAN </item> + <item> CAL_EASTER_ALWAYS_GREGORIAN </item> + <item> CAL_EASTER_ALWAYS_JULIAN </item> + <item> CAL_JEWISH_ADD_ALAFIM_GERESH </item> + <item> CAL_JEWISH_ADD_ALAFIM </item> + <item> CAL_JEWISH_ADD_GERESHAYIM </item> + <item> CURLOPT_DNS_USE_GLOBAL_CACHE </item> + <item> CURLOPT_DNS_CACHE_TIMEOUT </item> + <item> CURLOPT_PORT </item> + <item> CURLOPT_FILE </item> + <item> CURLOPT_READDATA </item> + <item> CURLOPT_INFILE </item> + <item> CURLOPT_INFILESIZE </item> + <item> CURLOPT_URL </item> + <item> CURLOPT_PROXY </item> + <item> CURLOPT_VERBOSE </item> + <item> CURLOPT_HEADER </item> + <item> CURLOPT_HTTPHEADER </item> + <item> CURLOPT_NOPROGRESS </item> + <item> CURLOPT_NOBODY </item> + <item> CURLOPT_FAILONERROR </item> + <item> CURLOPT_UPLOAD </item> + <item> CURLOPT_POST </item> + <item> CURLOPT_FTPLISTONLY </item> + <item> CURLOPT_FTPAPPEND </item> + <item> CURLOPT_NETRC </item> + <item> CURLOPT_FOLLOWLOCATION </item> + <item> CURLOPT_FTPASCII </item> + <item> CURLOPT_PUT </item> + <item> CURLOPT_MUTE </item> + <item> CURLOPT_USERPWD </item> + <item> CURLOPT_PROXYUSERPWD </item> + <item> CURLOPT_RANGE </item> + <item> CURLOPT_TIMEOUT </item> + <item> CURLOPT_POSTFIELDS </item> + <item> CURLOPT_REFERER </item> + <item> CURLOPT_USERAGENT </item> + <item> CURLOPT_FTPPORT </item> + <item> CURLOPT_FTP_USE_EPSV </item> + <item> CURLOPT_LOW_SPEED_LIMIT </item> + <item> CURLOPT_LOW_SPEED_TIME </item> + <item> CURLOPT_RESUME_FROM </item> + <item> CURLOPT_COOKIE </item> + <item> CURLOPT_SSLCERT </item> + <item> CURLOPT_SSLCERTPASSWD </item> + <item> CURLOPT_WRITEHEADER </item> + <item> CURLOPT_SSL_VERIFYHOST </item> + <item> CURLOPT_COOKIEFILE </item> + <item> CURLOPT_SSLVERSION </item> + <item> CURLOPT_TIMECONDITION </item> + <item> CURLOPT_TIMEVALUE </item> + <item> CURLOPT_CUSTOMREQUEST </item> + <item> CURLOPT_STDERR </item> + <item> CURLOPT_TRANSFERTEXT </item> + <item> CURLOPT_RETURNTRANSFER </item> + <item> CURLOPT_QUOTE </item> + <item> CURLOPT_POSTQUOTE </item> + <item> CURLOPT_INTERFACE </item> + <item> CURLOPT_KRB4LEVEL </item> + <item> CURLOPT_HTTPPROXYTUNNEL </item> + <item> CURLOPT_FILETIME </item> + <item> CURLOPT_WRITEFUNCTION </item> + <item> CURLOPT_READFUNCTION </item> + <item> CURLOPT_PASSWDFUNCTION </item> + <item> CURLOPT_HEADERFUNCTION </item> + <item> CURLOPT_MAXREDIRS </item> + <item> CURLOPT_MAXCONNECTS </item> + <item> CURLOPT_CLOSEPOLICY </item> + <item> CURLOPT_FRESH_CONNECT </item> + <item> CURLOPT_FORBID_REUSE </item> + <item> CURLOPT_RANDOM_FILE </item> + <item> CURLOPT_EGDSOCKET </item> + <item> CURLOPT_CONNECTTIMEOUT </item> + <item> CURLOPT_SSL_VERIFYPEER </item> + <item> CURLOPT_CAINFO </item> + <item> CURLOPT_CAPATH </item> + <item> CURLOPT_COOKIEJAR </item> + <item> CURLOPT_SSL_CIPHER_LIST </item> + <item> CURLOPT_BINARYTRANSFER </item> + <item> CURLOPT_NOSIGNAL </item> + <item> CURLOPT_PROXYTYPE </item> + <item> CURLOPT_BUFFERSIZE </item> + <item> CURLOPT_HTTPGET </item> + <item> CURLOPT_HTTP_VERSION </item> + <item> CURLOPT_SSLKEY </item> + <item> CURLOPT_SSLKEYTYPE </item> + <item> CURLOPT_SSLKEYPASSWD </item> + <item> CURLOPT_SSLENGINE </item> + <item> CURLOPT_SSLENGINE_DEFAULT </item> + <item> CURLOPT_SSLCERTTYPE </item> + <item> CURLOPT_CRLF </item> + <item> CURLOPT_ENCODING </item> + <item> CURLOPT_PROXYPORT </item> + <item> CURLOPT_UNRESTRICTED_AUTH </item> + <item> CURLOPT_FTP_USE_EPRT </item> + <item> CURLOPT_HTTP200ALIASES </item> + <item> CURL_TIMECOND_IFMODSINCE </item> + <item> CURL_TIMECOND_IFUNMODSINCE </item> + <item> CURL_TIMECOND_LASTMOD </item> + <item> CURLOPT_HTTPAUTH </item> + <item> CURLAUTH_BASIC </item> + <item> CURLAUTH_DIGEST </item> + <item> CURLAUTH_GSSNEGOTIATE </item> + <item> CURLAUTH_NTLM </item> + <item> CURLAUTH_ANY </item> + <item> CURLAUTH_ANYSAFE </item> + <item> CURLOPT_PROXYAUTH </item> + <item> CURLCLOSEPOLICY_LEAST_RECENTLY_USED </item> + <item> CURLCLOSEPOLICY_LEAST_TRAFFIC </item> + <item> CURLCLOSEPOLICY_SLOWEST </item> + <item> CURLCLOSEPOLICY_CALLBACK </item> + <item> CURLCLOSEPOLICY_OLDEST </item> + <item> CURLINFO_EFFECTIVE_URL </item> + <item> CURLINFO_HTTP_CODE </item> + <item> CURLINFO_HEADER_SIZE </item> + <item> CURLINFO_REQUEST_SIZE </item> + <item> CURLINFO_TOTAL_TIME </item> + <item> CURLINFO_NAMELOOKUP_TIME </item> + <item> CURLINFO_CONNECT_TIME </item> + <item> CURLINFO_PRETRANSFER_TIME </item> + <item> CURLINFO_SIZE_UPLOAD </item> + <item> CURLINFO_SIZE_DOWNLOAD </item> + <item> CURLINFO_SPEED_DOWNLOAD </item> + <item> CURLINFO_SPEED_UPLOAD </item> + <item> CURLINFO_FILETIME </item> + <item> CURLINFO_SSL_VERIFYRESULT </item> + <item> CURLINFO_CONTENT_LENGTH_DOWNLOAD </item> + <item> CURLINFO_CONTENT_LENGTH_UPLOAD </item> + <item> CURLINFO_STARTTRANSFER_TIME </item> + <item> CURLINFO_CONTENT_TYPE </item> + <item> CURLINFO_REDIRECT_TIME </item> + <item> CURLINFO_REDIRECT_COUNT </item> + <item> CURL_VERSION_IPV6 </item> + <item> CURL_VERSION_KERBEROS4 </item> + <item> CURL_VERSION_SSL </item> + <item> CURL_VERSION_LIBZ </item> + <item> CURLVERSION_NOW </item> + <item> CURLE_OK </item> + <item> CURLE_UNSUPPORTED_PROTOCOL </item> + <item> CURLE_FAILED_INIT </item> + <item> CURLE_URL_MALFORMAT </item> + <item> CURLE_URL_MALFORMAT_USER </item> + <item> CURLE_COULDNT_RESOLVE_PROXY </item> + <item> CURLE_COULDNT_RESOLVE_HOST </item> + <item> CURLE_COULDNT_CONNECT </item> + <item> CURLE_FTP_WEIRD_SERVER_REPLY </item> + <item> CURLE_FTP_ACCESS_DENIED </item> + <item> CURLE_FTP_USER_PASSWORD_INCORRECT </item> + <item> CURLE_FTP_WEIRD_PASS_REPLY </item> + <item> CURLE_FTP_WEIRD_USER_REPLY </item> + <item> CURLE_FTP_WEIRD_PASV_REPLY </item> + <item> CURLE_FTP_WEIRD_227_FORMAT </item> + <item> CURLE_FTP_CANT_GET_HOST </item> + <item> CURLE_FTP_CANT_RECONNECT </item> + <item> CURLE_FTP_COULDNT_SET_BINARY </item> + <item> CURLE_PARTIAL_FILE </item> + <item> CURLE_FTP_COULDNT_RETR_FILE </item> + <item> CURLE_FTP_WRITE_ERROR </item> + <item> CURLE_FTP_QUOTE_ERROR </item> + <item> CURLE_HTTP_NOT_FOUND </item> + <item> CURLE_WRITE_ERROR </item> + <item> CURLE_MALFORMAT_USER </item> + <item> CURLE_FTP_COULDNT_STOR_FILE </item> + <item> CURLE_READ_ERROR </item> + <item> CURLE_OUT_OF_MEMORY </item> + <item> CURLE_OPERATION_TIMEOUTED </item> + <item> CURLE_FTP_COULDNT_SET_ASCII </item> + <item> CURLE_FTP_PORT_FAILED </item> + <item> CURLE_FTP_COULDNT_USE_REST </item> + <item> CURLE_FTP_COULDNT_GET_SIZE </item> + <item> CURLE_HTTP_RANGE_ERROR </item> + <item> CURLE_HTTP_POST_ERROR </item> + <item> CURLE_SSL_CONNECT_ERROR </item> + <item> CURLE_FTP_BAD_DOWNLOAD_RESUME </item> + <item> CURLE_FILE_COULDNT_READ_FILE </item> + <item> CURLE_LDAP_CANNOT_BIND </item> + <item> CURLE_LDAP_SEARCH_FAILED </item> + <item> CURLE_LIBRARY_NOT_FOUND </item> + <item> CURLE_FUNCTION_NOT_FOUND </item> + <item> CURLE_ABORTED_BY_CALLBACK </item> + <item> CURLE_BAD_FUNCTION_ARGUMENT </item> + <item> CURLE_BAD_CALLING_ORDER </item> + <item> CURLE_HTTP_PORT_FAILED </item> + <item> CURLE_BAD_PASSWORD_ENTERED </item> + <item> CURLE_TOO_MANY_REDIRECTS </item> + <item> CURLE_UNKNOWN_TELNET_OPTION </item> + <item> CURLE_TELNET_OPTION_SYNTAX </item> + <item> CURLE_OBSOLETE </item> + <item> CURLE_SSL_PEER_CERTIFICATE </item> + <item> CURLE_GOT_NOTHING </item> + <item> CURLE_SSL_ENGINE_NOTFOUND </item> + <item> CURLE_SSL_ENGINE_SETFAILED </item> + <item> CURLE_SEND_ERROR </item> + <item> CURLE_RECV_ERROR </item> + <item> CURLE_SHARE_IN_USE </item> + <item> CURLE_SSL_CERTPROBLEM </item> + <item> CURLE_SSL_CIPHER </item> + <item> CURLE_SSL_CACERT </item> + <item> CURLE_BAD_CONTENT_ENCODING </item> + <item> CURLPROXY_HTTP </item> + <item> CURLPROXY_SOCKS5 </item> + <item> CURL_NETRC_OPTIONAL </item> + <item> CURL_NETRC_IGNORED </item> + <item> CURL_NETRC_REQUIRED </item> + <item> CURL_HTTP_VERSION_NONE </item> + <item> CURL_HTTP_VERSION_1_0 </item> + <item> CURL_HTTP_VERSION_1_1 </item> + <item> CURLM_CALL_MULTI_PERFORM </item> + <item> CURLM_OK </item> + <item> CURLM_BAD_HANDLE </item> + <item> CURLM_BAD_EASY_HANDLE </item> + <item> CURLM_OUT_OF_MEMORY </item> + <item> CURLM_INTERNAL_ERROR </item> + <item> CURLMSG_DONE </item> + <item> DBX_MYSQL </item> + <item> DBX_ODBC </item> + <item> DBX_PGSQL </item> + <item> DBX_MSSQL </item> + <item> DBX_FBSQL </item> + <item> DBX_OCI8 </item> + <item> DBX_SYBASECT </item> + <item> DBX_SQLITE </item> + <item> DBX_PERSISTENT </item> + <item> DBX_RESULT_INFO </item> + <item> DBX_RESULT_INDEX </item> + <item> DBX_RESULT_ASSOC </item> + <item> DBX_RESULT_UNBUFFERED </item> + <item> DBX_COLNAMES_UNCHANGED </item> + <item> DBX_COLNAMES_UPPERCASE </item> + <item> DBX_COLNAMES_LOWERCASE </item> + <item> DBX_CMP_NATIVE </item> + <item> DBX_CMP_TEXT </item> + <item> DBX_CMP_NUMBER </item> + <item> DBX_CMP_ASC </item> + <item> DBX_CMP_DESC </item> + <item> O_RDONLY </item> + <item> O_WRONLY </item> + <item> O_RDWR </item> + <item> O_CREAT </item> + <item> O_EXCL </item> + <item> O_TRUNC </item> + <item> O_APPEND </item> + <item> O_NONBLOCK </item> + <item> O_NDELAY </item> + <item> O_SYNC </item> + <item> O_ASYNC </item> + <item> O_NOCTTY </item> + <item> S_IRWXU </item> + <item> S_IRUSR </item> + <item> S_IWUSR </item> + <item> S_IXUSR </item> + <item> S_IRWXG </item> + <item> S_IRGRP </item> + <item> S_IWGRP </item> + <item> S_IXGRP </item> + <item> S_IRWXO </item> + <item> S_IROTH </item> + <item> S_IWOTH </item> + <item> S_IXOTH </item> + <item> F_DUPFD </item> + <item> F_GETFD </item> + <item> F_GETFL </item> + <item> F_SETFL </item> + <item> F_GETLK </item> + <item> F_SETLK </item> + <item> F_SETLKW </item> + <item> F_SETOWN </item> + <item> F_GETOWN </item> + <item> F_UNLCK </item> + <item> F_RDLCK </item> + <item> F_WRLCK </item> + <item> XML_ELEMENT_NODE </item> + <item> XML_ATTRIBUTE_NODE </item> + <item> XML_TEXT_NODE </item> + <item> XML_CDATA_SECTION_NODE </item> + <item> XML_ENTITY_REF_NODE </item> + <item> XML_ENTITY_NODE </item> + <item> XML_PI_NODE </item> + <item> XML_COMMENT_NODE </item> + <item> XML_DOCUMENT_NODE </item> + <item> XML_DOCUMENT_TYPE_NODE </item> + <item> XML_DOCUMENT_FRAG_NODE </item> + <item> XML_NOTATION_NODE </item> + <item> XML_HTML_DOCUMENT_NODE </item> + <item> XML_DTD_NODE </item> + <item> XML_ELEMENT_DECL_NODE </item> + <item> XML_ATTRIBUTE_DECL_NODE </item> + <item> XML_ENTITY_DECL_NODE </item> + <item> XML_NAMESPACE_DECL_NODE </item> + <item> XML_LOCAL_NAMESPACE </item> + <item> XML_ATTRIBUTE_CDATA </item> + <item> XML_ATTRIBUTE_ID </item> + <item> XML_ATTRIBUTE_IDREF </item> + <item> XML_ATTRIBUTE_IDREFS </item> + <item> XML_ATTRIBUTE_ENTITY </item> + <item> XML_ATTRIBUTE_NMTOKEN </item> + <item> XML_ATTRIBUTE_NMTOKENS </item> + <item> XML_ATTRIBUTE_ENUMERATION </item> + <item> XML_ATTRIBUTE_NOTATION </item> + <item> DOM_PHP_ERR </item> + <item> DOM_INDEX_SIZE_ERR </item> + <item> DOMSTRING_SIZE_ERR </item> + <item> DOM_HIERARCHY_REQUEST_ERR </item> + <item> DOM_WRONG_DOCUMENT_ERR </item> + <item> DOM_INVALID_CHARACTER_ERR </item> + <item> DOM_NO_DATA_ALLOWED_ERR </item> + <item> DOM_NO_MODIFICATION_ALLOWED_ERR </item> + <item> DOM_NOT_FOUND_ERR </item> + <item> DOM_NOT_SUPPORTED_ERR </item> + <item> DOM_INUSE_ATTRIBUTE_ERR </item> + <item> DOM_INVALID_STATE_ERR </item> + <item> DOM_SYNTAX_ERR </item> + <item> DOM_INVALID_MODIFICATION_ERR </item> + <item> DOM_NAMESPACE_ERR </item> + <item> DOM_INVALID_ACCESS_ERR </item> + <item> DOM_VALIDATION_ERR </item> + <item> EXIF_USE_MBSTRING </item> + <item> FAMChanged </item> + <item> FAMDeleted </item> + <item> FAMStartExecuting </item> + <item> FAMStopExecuting </item> + <item> FAMCreated </item> + <item> FAMMoved </item> + <item> FAMAcknowledge </item> + <item> FAMExists </item> + <item> FAMEndExist </item> + <item> FTP_ASCII </item> + <item> FTP_TEXT </item> + <item> FTP_BINARY </item> + <item> FTP_IMAGE </item> + <item> FTP_AUTORESUME </item> + <item> FTP_TIMEOUT_SEC </item> + <item> FTP_AUTOSEEK </item> + <item> FTP_FAILED </item> + <item> FTP_FINISHED </item> + <item> FTP_MOREDATA </item> + <item> IMG_GIF </item> + <item> IMG_JPG </item> + <item> IMG_JPEG </item> + <item> IMG_PNG </item> + <item> IMG_WBMP </item> + <item> IMG_XPM </item> + <item> IMG_COLOR_TILED </item> + <item> IMG_COLOR_STYLED </item> + <item> IMG_COLOR_BRUSHED </item> + <item> IMG_COLOR_STYLEDBRUSHED </item> + <item> IMG_COLOR_TRANSPARENT </item> + <item> IMG_ARC_ROUNDED </item> + <item> IMG_ARC_PIE </item> + <item> IMG_ARC_CHORD </item> + <item> IMG_ARC_NOFILL </item> + <item> IMG_ARC_EDGED </item> + <item> IMG_GD2_RAW </item> + <item> IMG_GD2_COMPRESSED </item> + <item> IMG_EFFECT_REPLACE </item> + <item> IMG_EFFECT_ALPHABLEND </item> + <item> IMG_EFFECT_NORMAL </item> + <item> IMG_EFFECT_OVERLAY </item> + <item> GD_BUNDLED </item> + <item> IMG_FILTER_NEGATE </item> + <item> IMG_FILTER_GRAYSCALE </item> + <item> IMG_FILTER_BRIGHTNESS </item> + <item> IMG_FILTER_CONTRAST </item> + <item> IMG_FILTER_COLORIZE </item> + <item> IMG_FILTER_EDGEDETECT </item> + <item> IMG_FILTER_GAUSSIAN_BLUR </item> + <item> IMG_FILTER_SELECTIVE_BLUR </item> + <item> IMG_FILTER_EMBOSS </item> + <item> IMG_FILTER_MEAN_REMOVAL </item> + <item> IMG_FILTER_SMOOTH </item> + <item> GMP_ROUND_ZERO </item> + <item> GMP_ROUND_PLUSINF </item> + <item> GMP_ROUND_MINUSINF </item> + <item> ICONV_IMPL </item> + <item> ICONV_VERSION </item> + <item> ICONV_MIME_DECODE_STRICT </item> + <item> ICONV_MIME_DECODE_CONTINUE_ON_ERROR </item> + <item> NIL </item> + <item> IMAP_OPENTIMEOUT </item> + <item> IMAP_READTIMEOUT </item> + <item> IMAP_WRITETIMEOUT </item> + <item> IMAP_CLOSETIMEOUT </item> + <item> OP_DEBUG </item> + <item> OP_READONLY </item> + <item> OP_ANONYMOUS </item> + <item> OP_SHORTCACHE </item> + <item> OP_SILENT </item> + <item> OP_PROTOTYPE </item> + <item> OP_HALFOPEN </item> + <item> OP_EXPUNGE </item> + <item> OP_SECURE </item> + <item> CL_EXPUNGE </item> + <item> FT_UID </item> + <item> FT_PEEK </item> + <item> FT_NOT </item> + <item> FT_INTERNAL </item> + <item> FT_PREFETCHTEXT </item> + <item> ST_UID </item> + <item> ST_SILENT </item> + <item> ST_SET </item> + <item> CP_UID </item> + <item> CP_MOVE </item> + <item> SE_UID </item> + <item> SE_FREE </item> + <item> SE_NOPREFETCH </item> + <item> SO_FREE </item> + <item> SO_NOSERVER </item> + <item> SA_MESSAGES </item> + <item> SA_RECENT </item> + <item> SA_UNSEEN </item> + <item> SA_UIDNEXT </item> + <item> SA_UIDVALIDITY </item> + <item> SA_ALL </item> + <item> LATT_NOINFERIORS </item> + <item> LATT_NOSELECT </item> + <item> LATT_MARKED </item> + <item> LATT_UNMARKED </item> + <item> LATT_REFERRAL </item> + <item> LATT_HASCHILDREN </item> + <item> LATT_HASNOCHILDREN </item> + <item> SORTDATE </item> + <item> SORTARRIVAL </item> + <item> SORTFROM </item> + <item> SORTSUBJECT </item> + <item> SORTTO </item> + <item> SORTCC </item> + <item> SORTSIZE </item> + <item> TYPETEXT </item> + <item> TYPEMULTIPART </item> + <item> TYPEMESSAGE </item> + <item> TYPEAPPLICATION </item> + <item> TYPEAUDIO </item> + <item> TYPEIMAGE </item> + <item> TYPEVIDEO </item> + <item> TYPEMODEL </item> + <item> TYPEOTHER </item> + <item> ENC7BIT </item> + <item> ENC8BIT </item> + <item> ENCBINARY </item> + <item> ENCBASE64 </item> + <item> ENCQUOTEDPRINTABLE </item> + <item> ENCOTHER </item> + <item> LDAP_DEREF_NEVER </item> + <item> LDAP_DEREF_SEARCHING </item> + <item> LDAP_DEREF_FINDING </item> + <item> LDAP_DEREF_ALWAYS </item> + <item> LDAP_OPT_DEREF </item> + <item> LDAP_OPT_SIZELIMIT </item> + <item> LDAP_OPT_TIMELIMIT </item> + <item> LDAP_OPT_PROTOCOL_VERSION </item> + <item> LDAP_OPT_ERROR_NUMBER </item> + <item> LDAP_OPT_REFERRALS </item> + <item> LDAP_OPT_RESTART </item> + <item> LDAP_OPT_HOST_NAME </item> + <item> LDAP_OPT_ERROR_STRING </item> + <item> LDAP_OPT_MATCHED_DN </item> + <item> LDAP_OPT_SERVER_CONTROLS </item> + <item> LDAP_OPT_CLIENT_CONTROLS </item> + <item> LDAP_OPT_DEBUG_LEVEL </item> + <item> MB_OVERLOAD_MAIL </item> + <item> MB_OVERLOAD_STRING </item> + <item> MB_OVERLOAD_REGEX </item> + <item> MB_CASE_UPPER </item> + <item> MB_CASE_LOWER </item> + <item> MB_CASE_TITLE </item> + <item> MCRYPT_ENCRYPT </item> + <item> MCRYPT_DECRYPT </item> + <item> MCRYPT_DEV_RANDOM </item> + <item> MCRYPT_DEV_URANDOM </item> + <item> MCRYPT_RAND </item> + <item> MCRYPT_3DES </item> + <item> MCRYPT_ARCFOUR_IV </item> + <item> MCRYPT_ARCFOUR </item> + <item> MCRYPT_BLOWFISH </item> + <item> MCRYPT_BLOWFISH_COMPAT </item> + <item> MCRYPT_CAST_128 </item> + <item> MCRYPT_CAST_256 </item> + <item> MCRYPT_CRYPT </item> + <item> MCRYPT_DES </item> + <item> MCRYPT_ENIGNA </item> + <item> MCRYPT_GOST </item> + <item> MCRYPT_LOKI97 </item> + <item> MCRYPT_PANAMA </item> + <item> MCRYPT_RC2 </item> + <item> MCRYPT_RIJNDAEL_128 </item> + <item> MCRYPT_RIJNDAEL_192 </item> + <item> MCRYPT_RIJNDAEL_256 </item> + <item> MCRYPT_SAFER64 </item> + <item> MCRYPT_SAFER128 </item> + <item> MCRYPT_SAFERPLUS </item> + <item> MCRYPT_SERPENT </item> + <item> MCRYPT_THREEWAY </item> + <item> MCRYPT_TRIPLEDES </item> + <item> MCRYPT_TWOFISH </item> + <item> MCRYPT_WAKE </item> + <item> MCRYPT_XTEA </item> + <item> MCRYPT_IDEA </item> + <item> MCRYPT_MARS </item> + <item> MCRYPT_RC6 </item> + <item> MCRYPT_SKIPJACK </item> + <item> MCRYPT_MODE_CBC </item> + <item> MCRYPT_MODE_CFB </item> + <item> MCRYPT_MODE_ECB </item> + <item> MCRYPT_MODE_NOFB </item> + <item> MCRYPT_MODE_OFB </item> + <item> MCRYPT_MODE_STREAM </item> + <item> MHASH_CRC32 </item> + <item> MHASH_MD5 </item> + <item> MHASH_SHA1 </item> + <item> MHASH_HAVAL256 </item> + <item> MHASH_RIPEMD160 </item> + <item> MHASH_TIGER </item> + <item> MHASH_GOST </item> + <item> MHASH_CRC32B </item> + <item> MHASH_HAVAL224 </item> + <item> MHASH_HAVAL192 </item> + <item> MHASH_HAVAL160 </item> + <item> MHASH_HAVAL128 </item> + <item> MHASH_TIGER128 </item> + <item> MHASH_TIGER160 </item> + <item> MHASH_MD4 </item> + <item> MHASH_SHA256 </item> + <item> MHASH_ADLER32 </item> + <item> MHASH_SHA224 </item> + <item> MHASH_SHA512 </item> + <item> MHASH_SHA384 </item> + <item> MHASH_WHIRLPOOL </item> + <item> MHASH_RIPEMD128 </item> + <item> MHASH_RIPEMD256 </item> + <item> MHASH_RIPEMD320 </item> + <item> MHASH_SNEFRU128 </item> + <item> MHASH_SNEFRU256 </item> + <item> MHASH_MD2 </item> + <item> MYSQL_ASSOC </item> + <item> MYSQL_NUM </item> + <item> MYSQL_BOTH </item> + <item> MYSQL_CLIENT_COMPRESS </item> + <item> MYSQL_CLIENT_SSL </item> + <item> MYSQL_CLIENT_INTERACTIVE </item> + <item> MYSQL_CLIENT_IGNORE_SPACE </item> + <item> MYSQLI_READ_DEFAULT_GROUP </item> + <item> MYSQLI_READ_DEFAULT_FILE </item> + <item> MYSQLI_OPT_CONNECT_TIMEOUT </item> + <item> MYSQLI_OPT_LOCAL_INFILE </item> + <item> MYSQLI_INIT_COMMAND </item> + <item> MYSQLI_CLIENT_SSL </item> + <item> MYSQLI_CLIENT_COMPRESS </item> + <item> MYSQLI_CLIENT_INTERACTIVE </item> + <item> MYSQLI_CLIENT_IGNORE_SPACE </item> + <item> MYSQLI_CLIENT_NO_SCHEMA </item> + <item> MYSQLI_CLIENT_FOUND_ROWS </item> + <item> MYSQLI_STORE_RESULT </item> + <item> MYSQLI_USE_RESULT </item> + <item> MYSQLI_ASSOC </item> + <item> MYSQLI_NUM </item> + <item> MYSQLI_BOTH </item> + <item> MYSQLI_STMT_ATTR_UPDATE_MAX_LENGTH </item> + <item> MYSQLI_NOT_NULL_FLAG </item> + <item> MYSQLI_PRI_KEY_FLAG </item> + <item> MYSQLI_UNIQUE_KEY_FLAG </item> + <item> MYSQLI_MULTIPLE_KEY_FLAG </item> + <item> MYSQLI_BLOB_FLAG </item> + <item> MYSQLI_UNSIGNED_FLAG </item> + <item> MYSQLI_ZEROFILL_FLAG </item> + <item> MYSQLI_AUTO_INCREMENT_FLAG </item> + <item> MYSQLI_TIMESTAMP_FLAG </item> + <item> MYSQLI_SET_FLAG </item> + <item> MYSQLI_NUM_FLAG </item> + <item> MYSQLI_PART_KEY_FLAG </item> + <item> MYSQLI_GROUP_FLAG </item> + <item> MYSQLI_TYPE_DECIMAL </item> + <item> MYSQLI_TYPE_TINY </item> + <item> MYSQLI_TYPE_SHORT </item> + <item> MYSQLI_TYPE_LONG </item> + <item> MYSQLI_TYPE_FLOAT </item> + <item> MYSQLI_TYPE_DOUBLE </item> + <item> MYSQLI_TYPE_NULL </item> + <item> MYSQLI_TYPE_TIMESTAMP </item> + <item> MYSQLI_TYPE_LONGLONG </item> + <item> MYSQLI_TYPE_INT24 </item> + <item> MYSQLI_TYPE_DATE </item> + <item> MYSQLI_TYPE_TIME </item> + <item> MYSQLI_TYPE_DATETIME </item> + <item> MYSQLI_TYPE_YEAR </item> + <item> MYSQLI_TYPE_NEWDATE </item> + <item> MYSQLI_TYPE_ENUM </item> + <item> MYSQLI_TYPE_SET </item> + <item> MYSQLI_TYPE_TINY_BLOB </item> + <item> MYSQLI_TYPE_MEDIUM_BLOB </item> + <item> MYSQLI_TYPE_LONG_BLOB </item> + <item> MYSQLI_TYPE_BLOB </item> + <item> MYSQLI_TYPE_VAR_STRING </item> + <item> MYSQLI_TYPE_STRING </item> + <item> MYSQLI_TYPE_CHAR </item> + <item> MYSQLI_TYPE_INTERVAL </item> + <item> MYSQLI_TYPE_GEOMETRY </item> + <item> MYSQLI_RPL_MASTER </item> + <item> MYSQLI_RPL_SLAVE </item> + <item> MYSQLI_RPL_ADMIN </item> + <item> MYSQLI_NO_DATA </item> + <item> MYSQLI_REPORT_INDEX </item> + <item> MYSQLI_REPORT_ERROR </item> + <item> MYSQLI_REPORT_ALL </item> + <item> MYSQLI_REPORT_OFF </item> + <item> NCURSES_COLOR_BLACK </item> + <item> NCURSES_COLOR_RED </item> + <item> NCURSES_COLOR_GREEN </item> + <item> NCURSES_COLOR_YELLOW </item> + <item> NCURSES_COLOR_BLUE </item> + <item> NCURSES_COLOR_MAGENTA </item> + <item> NCURSES_COLOR_CYAN </item> + <item> NCURSES_COLOR_WHITE </item> + <item> NCURSES_KEY_DOWN </item> + <item> NCURSES_KEY_UP </item> + <item> NCURSES_KEY_LEFT </item> + <item> NCURSES_KEY_RIGHT </item> + <item> NCURSES_KEY_BACKSPACE </item> + <item> NCURSES_KEY_MOUSE </item> + <item> NCURSES_KEY_F0 </item> + <item> NCURSES_KEY_F1 </item> + <item> NCURSES_KEY_F2 </item> + <item> NCURSES_KEY_F3 </item> + <item> NCURSES_KEY_F4 </item> + <item> NCURSES_KEY_F5 </item> + <item> NCURSES_KEY_F6 </item> + <item> NCURSES_KEY_F7 </item> + <item> NCURSES_KEY_F8 </item> + <item> NCURSES_KEY_F9 </item> + <item> NCURSES_KEY_F10 </item> + <item> NCURSES_KEY_F11 </item> + <item> NCURSES_KEY_F12 </item> + <item> NCURSES_KEY_DL </item> + <item> NCURSES_KEY_IL </item> + <item> NCURSES_KEY_DC </item> + <item> NCURSES_KEY_IC </item> + <item> NCURSES_KEY_EIC </item> + <item> NCURSES_KEY_CLEAR </item> + <item> NCURSES_KEY_EOS </item> + <item> NCURSES_KEY_EOL </item> + <item> NCURSES_KEY_SF </item> + <item> NCURSES_KEY_SR </item> + <item> NCURSES_KEY_NPAGE </item> + <item> NCURSES_KEY_PPAGE </item> + <item> NCURSES_KEY_STAB </item> + <item> NCURSES_KEY_CTAB </item> + <item> NCURSES_KEY_CATAB </item> + <item> NCURSES_KEY_ENTER </item> + <item> NCURSES_KEY_SRESET </item> + <item> NCURSES_KEY_RESET </item> + <item> NCURSES_KEY_PRINT </item> + <item> NCURSES_KEY_LL </item> + <item> NCURSES_KEY_A1 </item> + <item> NCURSES_KEY_A3 </item> + <item> NCURSES_KEY_B2 </item> + <item> NCURSES_KEY_C1 </item> + <item> NCURSES_KEY_C3 </item> + <item> NCURSES_KEY_BTAB </item> + <item> NCURSES_KEY_BEG </item> + <item> NCURSES_KEY_CANCEL </item> + <item> NCURSES_KEY_CLOSE </item> + <item> NCURSES_KEY_COMMAND </item> + <item> NCURSES_KEY_COPY </item> + <item> NCURSES_KEY_CREATE </item> + <item> NCURSES_KEY_END </item> + <item> NCURSES_KEY_EXIT </item> + <item> NCURSES_KEY_FIND </item> + <item> NCURSES_KEY_HELP </item> + <item> NCURSES_KEY_MARK </item> + <item> NCURSES_KEY_MESSAGE </item> + <item> NCURSES_KEY_MOVE </item> + <item> NCURSES_KEY_NEXT </item> + <item> NCURSES_KEY_OPEN </item> + <item> NCURSES_KEY_OPTIONS </item> + <item> NCURSES_KEY_PREVIOUS </item> + <item> NCURSES_KEY_REDO </item> + <item> NCURSES_KEY_REFERENCE </item> + <item> NCURSES_KEY_REFRESH </item> + <item> NCURSES_KEY_REPLACE </item> + <item> NCURSES_KEY_RESTART </item> + <item> NCURSES_KEY_RESUME </item> + <item> NCURSES_KEY_SAVE </item> + <item> NCURSES_KEY_SBEG </item> + <item> NCURSES_KEY_SCANCEL </item> + <item> NCURSES_KEY_SCOMMAND </item> + <item> NCURSES_KEY_SCOPY </item> + <item> NCURSES_KEY_SCREATE </item> + <item> NCURSES_KEY_SDC </item> + <item> NCURSES_KEY_SDL </item> + <item> NCURSES_KEY_SELECT </item> + <item> NCURSES_KEY_SEND </item> + <item> NCURSES_KEY_SEOL </item> + <item> NCURSES_KEY_SEXIT </item> + <item> NCURSES_KEY_SFIND </item> + <item> NCURSES_KEY_SHELP </item> + <item> NCURSES_KEY_SHOME </item> + <item> NCURSES_KEY_SIC </item> + <item> NCURSES_KEY_SLEFT </item> + <item> NCURSES_KEY_SMESSAGE </item> + <item> NCURSES_KEY_SMOVE </item> + <item> NCURSES_KEY_SNEXT </item> + <item> NCURSES_KEY_SOPTIONS </item> + <item> NCURSES_KEY_SPREVIOUS </item> + <item> NCURSES_KEY_SPRINT </item> + <item> NCURSES_KEY_SREDO </item> + <item> NCURSES_KEY_SREPLACE </item> + <item> NCURSES_KEY_SRIGHT </item> + <item> NCURSES_KEY_SRSUME </item> + <item> NCURSES_KEY_SSAVE </item> + <item> NCURSES_KEY_SSUSPEND </item> + <item> NCURSES_KEY_SUNDO </item> + <item> NCURSES_KEY_SUSPEND </item> + <item> NCURSES_KEY_UNDO </item> + <item> NCURSES_KEY_RESIZE </item> + <item> NCURSES_A_NORMAL </item> + <item> NCURSES_A_STANDOUT </item> + <item> NCURSES_A_UNDERLINE </item> + <item> NCURSES_A_REVERSE </item> + <item> NCURSES_A_BLINK </item> + <item> NCURSES_A_DIM </item> + <item> NCURSES_A_BOLD </item> + <item> NCURSES_A_PROTECT </item> + <item> NCURSES_A_INVIS </item> + <item> NCURSES_A_ALTCHARSET </item> + <item> NCURSES_A_CHARTEXT </item> + <item> NCURSES_BUTTON1_PRESSED </item> + <item> NCURSES_BUTTON1_RELEASED </item> + <item> NCURSES_BUTTON1_CLICKED </item> + <item> NCURSES_BUTTON1_DOUBLE_CLICKED </item> + <item> NCURSES_BUTTON1_TRIPLE_CLICKED </item> + <item> NCURSES_BUTTON2_PRESSED </item> + <item> NCURSES_BUTTON2_RELEASED </item> + <item> NCURSES_BUTTON2_CLICKED </item> + <item> NCURSES_BUTTON2_DOUBLE_CLICKED </item> + <item> NCURSES_BUTTON2_TRIPLE_CLICKED </item> + <item> NCURSES_BUTTON3_PRESSED </item> + <item> NCURSES_BUTTON3_RELEASED </item> + <item> NCURSES_BUTTON3_CLICKED </item> + <item> NCURSES_BUTTON3_DOUBLE_CLICKED </item> + <item> NCURSES_BUTTON3_TRIPLE_CLICKED </item> + <item> NCURSES_BUTTON4_PRESSED </item> + <item> NCURSES_BUTTON4_RELEASED </item> + <item> NCURSES_BUTTON4_CLICKED </item> + <item> NCURSES_BUTTON4_DOUBLE_CLICKED </item> + <item> NCURSES_BUTTON4_TRIPLE_CLICKED </item> + <item> NCURSES_BUTTON_SHIFT </item> + <item> NCURSES_BUTTON_CTRL </item> + <item> NCURSES_BUTTON_ALT </item> + <item> NCURSES_ALL_MOUSE_EVENTS </item> + <item> NCURSES_REPORT_MOUSE_POSITION </item> + <item> ODBC_TYPE </item> + <item> ODBC_BINMODE_PASSTHRU </item> + <item> ODBC_BINMODE_RETURN </item> + <item> ODBC_BINMODE_CONVERT </item> + <item> SQL_ODBC_CURSORS </item> + <item> SQL_CUR_USE_DRIVER </item> + <item> SQL_CUR_USE_IF_NEEDED </item> + <item> SQL_CUR_USE_ODBC </item> + <item> SQL_CONCURRENCY </item> + <item> SQL_CONCUR_READ_ONLY </item> + <item> SQL_CONCUR_LOCK </item> + <item> SQL_CONCUR_ROWVER </item> + <item> SQL_CONCUR_VALUES </item> + <item> SQL_CURSOR_TYPE </item> + <item> SQL_CURSOR_FORWARD_ONLY </item> + <item> SQL_CURSOR_KEYSET_DRIVEN </item> + <item> SQL_CURSOR_DYNAMIC </item> + <item> SQL_CURSOR_STATIC </item> + <item> SQL_KEYSET_SIZE </item> + <item> SQL_FETCH_FIRST </item> + <item> SQL_FETCH_NEXT </item> + <item> SQL_CHAR </item> + <item> SQL_VARCHAR </item> + <item> SQL_LONGVARCHAR </item> + <item> SQL_DECIMAL </item> + <item> SQL_NUMERIC </item> + <item> SQL_BIT </item> + <item> SQL_TINYINT </item> + <item> SQL_SMALLINT </item> + <item> SQL_INTEGER </item> + <item> SQL_BIGINT </item> + <item> SQL_REAL </item> + <item> SQL_FLOAT </item> + <item> SQL_DOUBLE </item> + <item> SQL_BINARY </item> + <item> SQL_VARBINARY </item> + <item> SQL_LONGVARBINARY </item> + <item> SQL_DATE </item> + <item> SQL_TIME </item> + <item> SQL_TIMESTAMP </item> + <item> X509_PURPOSE_SSL_CLIENT </item> + <item> X509_PURPOSE_SSL_SERVER </item> + <item> X509_PURPOSE_NS_SSL_SERVER </item> + <item> X509_PURPOSE_SMIME_SIGN </item> + <item> X509_PURPOSE_SMIME_ENCRYPT </item> + <item> X509_PURPOSE_CRL_SIGN </item> + <item> X509_PURPOSE_ANY </item> + <item> OPENSSL_ALGO_SHA1 </item> + <item> OPENSSL_ALGO_MD5 </item> + <item> OPENSSL_ALGO_MD4 </item> + <item> OPENSSL_ALGO_MD2 </item> + <item> PKCS7_DETACHED </item> + <item> PKCS7_TEXT </item> + <item> PKCS7_NOINTERN </item> + <item> PKCS7_NOVERIFY </item> + <item> PKCS7_NOCHAIN </item> + <item> PKCS7_NOCERTS </item> + <item> PKCS7_NOATTR </item> + <item> PKCS7_BINARY </item> + <item> PKCS7_NOSIGS </item> + <item> OPENSSL_PKCS1_PADDING </item> + <item> OPENSSL_SSLV23_PADDING </item> + <item> OPENSSL_NO_PADDING </item> + <item> OPENSSL_PKCS1_OAEP_PADDING </item> + <item> OPENSSL_CIPHER_RC2_40 </item> + <item> OPENSSL_CIPHER_RC2_128 </item> + <item> OPENSSL_CIPHER_RC2_64 </item> + <item> OPENSSL_CIPHER_DES </item> + <item> OPENSSL_CIPHER_3DES </item> + <item> OPENSSL_KEYTYPE_RSA </item> + <item> OPENSSL_KEYTYPE_DSA </item> + <item> OPENSSL_KEYTYPE_DH </item> + <item> WNOHANG </item> + <item> WUNTRACED </item> + <item> SIG_IGN </item> + <item> SIG_DFL </item> + <item> SIG_ERR </item> + <item> SIGHUP </item> + <item> SIGINT </item> + <item> SIGQUIT </item> + <item> SIGILL </item> + <item> SIGTRAP </item> + <item> SIGABRT </item> + <item> SIGIOT </item> + <item> SIGBUS </item> + <item> SIGFPE </item> + <item> SIGKILL </item> + <item> SIGUSR1 </item> + <item> SIGSEGV </item> + <item> SIGUSR2 </item> + <item> SIGPIPE </item> + <item> SIGALRM </item> + <item> SIGTERM </item> + <item> SIGSTKFLT </item> + <item> SIGCLD </item> + <item> SIGCHLD </item> + <item> SIGCONT </item> + <item> SIGSTOP </item> + <item> SIGTSTP </item> + <item> SIGTTIN </item> + <item> SIGTTOU </item> + <item> SIGURG </item> + <item> SIGXCPU </item> + <item> SIGXFSZ </item> + <item> SIGVTALRM </item> + <item> SIGPROF </item> + <item> SIGWINCH </item> + <item> SIGPOLL </item> + <item> SIGIO </item> + <item> SIGPWR </item> + <item> SIGSYS </item> + <item> SIGBABY </item> + <item> PRIO_PGRP </item> + <item> PRIO_USER </item> + <item> PRIO_PROCESS </item> + <item> PGSQL_CONNECT_FORCE_NEW </item> + <item> PGSQL_ASSOC </item> + <item> PGSQL_NUM </item> + <item> PGSQL_BOTH </item> + <item> PGSQL_CONNECTION_BAD </item> + <item> PGSQL_CONNECTION_OK </item> + <item> PGSQL_SEEK_SET </item> + <item> PGSQL_SEEK_CUR </item> + <item> PGSQL_SEEK_END </item> + <item> PGSQL_STATUS_LONG </item> + <item> PGSQL_STATUS_STRING </item> + <item> PGSQL_EMPTY_QUERY </item> + <item> PGSQL_COMMAND_OK </item> + <item> PGSQL_TUPLES_OK </item> + <item> PGSQL_COPY_OUT </item> + <item> PGSQL_COPY_IN </item> + <item> PGSQL_BAD_RESPONSE </item> + <item> PGSQL_NONFATAL_ERROR </item> + <item> PGSQL_FATAL_ERROR </item> + <item> PGSQL_CONV_IGNORE_DEFAULT </item> + <item> PGSQL_CONV_FORCE_NULL </item> + <item> PGSQL_CONV_IGNORE_NOT_NULL </item> + <item> PGSQL_DML_NO_CONV </item> + <item> PGSQL_DML_EXEC </item> + <item> PGSQL_DML_ASYNC </item> + <item> PGSQL_DML_STRING </item> + <item> SNMP_VALUE_LIBRARY </item> + <item> SNMP_VALUE_PLAIN </item> + <item> SNMP_VALUE_OBJECT </item> + <item> SNMP_BIT_STR </item> + <item> SNMP_OCTET_STR </item> + <item> SNMP_OPAQUE </item> + <item> SNMP_NULL </item> + <item> SNMP_OBJECT_ID </item> + <item> SNMP_IPADDRESS </item> + <item> SNMP_COUNTER </item> + <item> SNMP_UNSIGNED </item> + <item> SNMP_TIMETICKS </item> + <item> SNMP_UINTEGER </item> + <item> SNMP_INTEGER </item> + <item> SNMP_COUNTER64 </item> + <item> SOAP_1_1 </item> + <item> SOAP_1_2 </item> + <item> SOAP_PERSISTENCE_SESSION </item> + <item> SOAP_PERSISTENCE_REQUEST </item> + <item> SOAP_FUNCTIONS_ALL </item> + <item> SOAP_ENCODED </item> + <item> SOAP_LITERAL </item> + <item> SOAP_RPC </item> + <item> SOAP_DOCUMENT </item> + <item> SOAP_ACTOR_NEXT </item> + <item> SOAP_ACTOR_NONE </item> + <item> SOAP_ACTOR_UNLIMATERECEIVER </item> + <item> SOAP_COMPRESSION_ACCEPT </item> + <item> SOAP_COMPRESSION_GZIP </item> + <item> SOAP_COMPRESSION_DEFLATE </item> + <item> UNKNOWN_TYPE </item> + <item> XSD_STRING </item> + <item> XSD_BOOLEAN </item> + <item> XSD_DECIMAL </item> + <item> XSD_FLOAT </item> + <item> XSD_DOUBLE </item> + <item> XSD_DURATION </item> + <item> XSD_DATETIME </item> + <item> XSD_TIME </item> + <item> XSD_DATE </item> + <item> XSD_GYEARMONTH </item> + <item> XSD_GYEAR </item> + <item> XSD_GMONTHDAY </item> + <item> XSD_GDAY </item> + <item> XSD_GMONTH </item> + <item> XSD_HEXBINARY </item> + <item> XSD_BASE64BINARY </item> + <item> XSD_ANYURI </item> + <item> XSD_QNAME </item> + <item> XSD_NOTATION </item> + <item> XSD_NORMALIZEDSTRING </item> + <item> XSD_TOKEN </item> + <item> XSD_LANGUAGE </item> + <item> XSD_NMTOKEN </item> + <item> XSD_NAME </item> + <item> XSD_NCNAME </item> + <item> XSD_ID </item> + <item> XSD_IDREF </item> + <item> XSD_IDREFS </item> + <item> XSD_ENTITY </item> + <item> XSD_ENTITIES </item> + <item> XSD_INTEGER </item> + <item> XSD_NONPOSITIVEINTEGER </item> + <item> XSD_NEGATIVEINTEGER </item> + <item> XSD_LONG </item> + <item> XSD_INT </item> + <item> XSD_SHORT </item> + <item> XSD_BYTE </item> + <item> XSD_NONNEGATIVEINTEGER </item> + <item> XSD_UNSIGNEDLONG </item> + <item> XSD_UNSIGNEDINT </item> + <item> XSD_UNSIGNEDSHORT </item> + <item> XSD_UNSIGNEDBYTE </item> + <item> XSD_POSITIVEINTEGER </item> + <item> XSD_NMTOKENS </item> + <item> XSD_ANYTYPE </item> + <item> SOAP_ENC_OBJECT </item> + <item> SOAP_ENC_ARRAY </item> + <item> XSD_1999_TIMEINSTANT </item> + <item> XSD_NAMESPACE </item> + <item> XSD_1999_NAMESPACE </item> + <item> AF_UNIX </item> + <item> AF_INET </item> + <item> AF_INET6 </item> + <item> SOCK_STREAM </item> + <item> SOCK_DGRAM </item> + <item> SOCK_RAW </item> + <item> SOCK_SEQPACKET </item> + <item> SOCK_RDM </item> + <item> MSG_OOB </item> + <item> MSG_WAITALL </item> + <item> MSG_PEEK </item> + <item> MSG_DONTROUTE </item> + <item> SO_DEBUG </item> + <item> SO_REUSEADDR </item> + <item> SO_KEEPALIVE </item> + <item> SO_DONTROUTE </item> + <item> SO_LINGER </item> + <item> SO_BROADCAST </item> + <item> SO_OOBINLINE </item> + <item> SO_SNDBUF </item> + <item> SO_RCVBUF </item> + <item> SO_SNDLOWAT </item> + <item> SO_RCVLOWAT </item> + <item> SO_SNDTIMEO </item> + <item> SO_RCVTIMEO </item> + <item> SO_TYPE </item> + <item> SO_ERROR </item> + <item> SOL_SOCKET </item> + <item> SOMAXCONN </item> + <item> PHP_NORMAL_READ </item> + <item> PHP_BINARY_READ </item> + <item> SOCKET_EPERM </item> + <item> SOCKET_ENOENT </item> + <item> SOCKET_EINTR </item> + <item> SOCKET_EIO </item> + <item> SOCKET_ENXIO </item> + <item> SOCKET_E2BIG </item> + <item> SOCKET_EBADF </item> + <item> SOCKET_EAGAIN </item> + <item> SOCKET_ENOMEM </item> + <item> SOCKET_EACCES </item> + <item> SOCKET_EFAULT </item> + <item> SOCKET_ENOTBLK </item> + <item> SOCKET_EBUSY </item> + <item> SOCKET_EEXIST </item> + <item> SOCKET_EXDEV </item> + <item> SOCKET_ENODEV </item> + <item> SOCKET_ENOTDIR </item> + <item> SOCKET_EISDIR </item> + <item> SOCKET_EINVAL </item> + <item> SOCKET_ENFILE </item> + <item> SOCKET_EMFILE </item> + <item> SOCKET_ENOTTY </item> + <item> SOCKET_ENOSPC </item> + <item> SOCKET_ESPIPE </item> + <item> SOCKET_EROFS </item> + <item> SOCKET_EMLINK </item> + <item> SOCKET_EPIPE </item> + <item> SOCKET_ENAMETOOLONG </item> + <item> SOCKET_ENOLCK </item> + <item> SOCKET_ENOSYS </item> + <item> SOCKET_ENOTEMPTY </item> + <item> SOCKET_ELOOP </item> + <item> SOCKET_EWOULDBLOCK </item> + <item> SOCKET_ENOMSG </item> + <item> SOCKET_EIDRM </item> + <item> SOCKET_ECHRNG </item> + <item> SOCKET_EL2NSYNC </item> + <item> SOCKET_EL3HLT </item> + <item> SOCKET_EL3RST </item> + <item> SOCKET_ELNRNG </item> + <item> SOCKET_EUNATCH </item> + <item> SOCKET_ENOCSI </item> + <item> SOCKET_EL2HLT </item> + <item> SOCKET_EBADE </item> + <item> SOCKET_EBADR </item> + <item> SOCKET_EXFULL </item> + <item> SOCKET_ENOANO </item> + <item> SOCKET_EBADRQC </item> + <item> SOCKET_EBADSLT </item> + <item> SOCKET_ENOSTR </item> + <item> SOCKET_ENODATA </item> + <item> SOCKET_ETIME </item> + <item> SOCKET_ENOSR </item> + <item> SOCKET_ENONET </item> + <item> SOCKET_EREMOTE </item> + <item> SOCKET_ENOLINK </item> + <item> SOCKET_EADV </item> + <item> SOCKET_ESRMNT </item> + <item> SOCKET_ECOMM </item> + <item> SOCKET_EPROTO </item> + <item> SOCKET_EMULTIHOP </item> + <item> SOCKET_EBADMSG </item> + <item> SOCKET_ENOTUNIQ </item> + <item> SOCKET_EBADFD </item> + <item> SOCKET_EREMCHG </item> + <item> SOCKET_ERESTART </item> + <item> SOCKET_ESTRPIPE </item> + <item> SOCKET_EUSERS </item> + <item> SOCKET_ENOTSOCK </item> + <item> SOCKET_EDESTADDRREQ </item> + <item> SOCKET_EMSGSIZE </item> + <item> SOCKET_EPROTOTYPE </item> + <item> SOCKET_ENOPROTOOPT </item> + <item> SOCKET_EPROTONOSUPPORT </item> + <item> SOCKET_ESOCKTNOSUPPORT </item> + <item> SOCKET_EOPNOTSUPP </item> + <item> SOCKET_EPFNOSUPPORT </item> + <item> SOCKET_EAFNOSUPPORT </item> + <item> SOCKET_EADDRINUSE </item> + <item> SOCKET_EADDRNOTAVAIL </item> + <item> SOCKET_ENETDOWN </item> + <item> SOCKET_ENETUNREACH </item> + <item> SOCKET_ENETRESET </item> + <item> SOCKET_ECONNABORTED </item> + <item> SOCKET_ECONNRESET </item> + <item> SOCKET_ENOBUFS </item> + <item> SOCKET_EISCONN </item> + <item> SOCKET_ENOTCONN </item> + <item> SOCKET_ESHUTDOWN </item> + <item> SOCKET_ETOOMANYREFS </item> + <item> SOCKET_ETIMEDOUT </item> + <item> SOCKET_ECONNREFUSED </item> + <item> SOCKET_EHOSTDOWN </item> + <item> SOCKET_EHOSTUNREACH </item> + <item> SOCKET_EALREADY </item> + <item> SOCKET_EINPROGRESS </item> + <item> SOCKET_EISNAM </item> + <item> SOCKET_EREMOTEIO </item> + <item> SOCKET_EDQUOT </item> + <item> SOCKET_ENOMEDIUM </item> + <item> SOCKET_EMEDIUMTYPE </item> + <item> SOL_TCP </item> + <item> SOL_UDP </item> + <item> SQLITE_BOTH </item> + <item> SQLITE_NUM </item> + <item> SQLITE_ASSOC </item> + <item> SQLITE_OK </item> + <item> SQLITE_ERROR </item> + <item> SQLITE_INTERNAL </item> + <item> SQLITE_PERM </item> + <item> SQLITE_ABORT </item> + <item> SQLITE_BUSY </item> + <item> SQLITE_LOCKED </item> + <item> SQLITE_NOMEM </item> + <item> SQLITE_READONLY </item> + <item> SQLITE_INTERRUPT </item> + <item> SQLITE_IOERR </item> + <item> SQLITE_CORRUPT </item> + <item> SQLITE_NOTFOUND </item> + <item> SQLITE_FULL </item> + <item> SQLITE_CANTOPEN </item> + <item> SQLITE_PROTOCOL </item> + <item> SQLITE_EMPTY </item> + <item> SQLITE_SCHEMA </item> + <item> SQLITE_TOOBIG </item> + <item> SQLITE_CONSTRAINT </item> + <item> SQLITE_MISMATCH </item> + <item> SQLITE_MISUSE </item> + <item> SQLITE_NOLFS </item> + <item> SQLITE_AUTH </item> + <item> SQLITE_FORMAT </item> + <item> SQLITE_ROW </item> + <item> SQLITE_DONE </item> + <item> MSG_IPC_NOWAIT </item> + <item> MSG_NOERROR </item> + <item> MSG_EXCEPT </item> + <item> T_INCLUDE </item> + <item> T_INCLUDE_ONCE </item> + <item> T_EVAL </item> + <item> T_REQUIRE </item> + <item> T_REQUIRE_ONCE </item> + <item> T_LOGICAL_OR </item> + <item> T_LOGICAL_XOR </item> + <item> T_LOGICAL_AND </item> + <item> T_PRINT </item> + <item> T_PLUS_EQUAL </item> + <item> T_MINUS_EQUAL </item> + <item> T_MUL_EQUAL </item> + <item> T_DIV_EQUAL </item> + <item> T_CONCAT_EQUAL </item> + <item> T_MOD_EQUAL </item> + <item> T_AND_EQUAL </item> + <item> T_OR_EQUAL </item> + <item> T_XOR_EQUAL </item> + <item> T_SL_EQUAL </item> + <item> T_SR_EQUAL </item> + <item> T_BOOLEAN_OR </item> + <item> T_BOOLEAN_AND </item> + <item> T_IS_EQUAL </item> + <item> T_IS_NOT_EQUAL </item> + <item> T_IS_IDENTICAL </item> + <item> T_IS_NOT_IDENTICAL </item> + <item> T_IS_SMALLER_OR_EQUAL </item> + <item> T_IS_GREATER_OR_EQUAL </item> + <item> T_SL </item> + <item> T_SR </item> + <item> T_INC </item> + <item> T_DEC </item> + <item> T_INT_CAST </item> + <item> T_DOUBLE_CAST </item> + <item> T_STRING_CAST </item> + <item> T_ARRAY_CAST </item> + <item> T_OBJECT_CAST </item> + <item> T_BOOL_CAST </item> + <item> T_UNSET_CAST </item> + <item> T_NEW </item> + <item> T_EXIT </item> + <item> T_IF </item> + <item> T_ELSEIF </item> + <item> T_ELSE </item> + <item> T_ENDIF </item> + <item> T_LNUMBER </item> + <item> T_DNUMBER </item> + <item> T_STRING </item> + <item> T_STRING_VARNAME </item> + <item> T_VARIABLE </item> + <item> T_NUM_STRING </item> + <item> T_INLINE_HTML </item> + <item> T_CHARACTER </item> + <item> T_BAD_CHARACTER </item> + <item> T_ENCAPSED_AND_WHITESPACE </item> + <item> T_CONSTANT_ENCAPSED_STRING </item> + <item> T_ECHO </item> + <item> T_DO </item> + <item> T_WHILE </item> + <item> T_ENDWHILE </item> + <item> T_FOR </item> + <item> T_ENDFOR </item> + <item> T_FOREACH </item> + <item> T_ENDFOREACH </item> + <item> T_DECLARE </item> + <item> T_ENDDECLARE </item> + <item> T_AS </item> + <item> T_SWITCH </item> + <item> T_ENDSWITCH </item> + <item> T_CASE </item> + <item> T_DEFAULT </item> + <item> T_BREAK </item> + <item> T_CONTINUE </item> + <item> T_FUNCTION </item> + <item> T_CONST </item> + <item> T_RETURN </item> + <item> T_USE </item> + <item> T_GLOBAL </item> + <item> T_STATIC </item> + <item> T_VAR </item> + <item> T_UNSET </item> + <item> T_ISSET </item> + <item> T_EMPTY </item> + <item> T_CLASS </item> + <item> T_EXTENDS </item> + <item> T_INTERFACE </item> + <item> T_IMPLEMENTS </item> + <item> T_OBJECT_OPERATOR </item> + <item> T_DOUBLE_ARROW </item> + <item> T_LIST </item> + <item> T_ARRAY </item> + <item> T_CLASS_C </item> + <item> T_FUNC_C </item> + <item> T_METHOD_C </item> + <item> T_LINE </item> + <item> T_FILE </item> + <item> T_COMMENT </item> + <item> T_DOC_COMMENT </item> + <item> T_OPEN_TAG </item> + <item> T_OPEN_TAG_WITH_ECHO </item> + <item> T_CLOSE_TAG </item> + <item> T_WHITESPACE </item> + <item> T_START_HEREDOC </item> + <item> T_END_HEREDOC </item> + <item> T_DOLLAR_OPEN_CURLY_BRACES </item> + <item> T_CURLY_OPEN </item> + <item> T_PAAMAYIM_NEKUDOTAYIM </item> + <item> T_DOUBLE_COLON </item> + <item> T_ABSTRACT </item> + <item> T_CATCH </item> + <item> T_FINAL </item> + <item> T_INSTANCEOF </item> + <item> T_PRIVATE </item> + <item> T_PROTECTED </item> + <item> T_PUBLIC </item> + <item> T_THROW </item> + <item> T_TRY </item> + <item> T_CLONE </item> + <item> XSL_CLONE_AUTO </item> + <item> XSL_CLONE_NEVER </item> + <item> XSL_CLONE_ALWAYS </item> + <item> YPERR_BADARGS </item> + <item> YPERR_BADDB </item> + <item> YPERR_BUSY </item> + <item> YPERR_DOMAIN </item> + <item> YPERR_KEY </item> + <item> YPERR_MAP </item> + <item> YPERR_NODOM </item> + <item> YPERR_NOMORE </item> + <item> YPERR_PMAP </item> + <item> YPERR_RESRC </item> + <item> YPERR_RPC </item> + <item> YPERR_YPBIND </item> + <item> YPERR_YPERR </item> + <item> YPERR_YPSERV </item> + <item> YPERR_VERS </item> + <item> FORCE_GZIP </item> + <item> FORCE_DEFLATE </item> + <item> E_ERROR </item> + <item> E_WARNING </item> + <item> E_PARSE </item> + <item> E_NOTICE </item> + <item> E_STRICT </item> + <item> E_CORE_ERROR </item> + <item> E_CORE_WARNING </item> + <item> E_COMPILE_ERROR </item> + <item> E_COMPILE_WARNING </item> + <item> E_USER_ERROR </item> + <item> E_USER_WARNING </item> + <item> E_USER_NOTICE </item> + <item> E_ALL </item> + <item> TRUE </item> + <item> FALSE </item> + <item> ZEND_THREAD_SAFE </item> + <item> NULL </item> + <item> PHP_VERSION </item> + <item> PHP_OS </item> + <item> PHP_SAPI </item> + <item> DEFAULT_INCLUDE_PATH </item> + <item> PEAR_INSTALL_DIR </item> + <item> PEAR_EXTENSION_DIR </item> + <item> PHP_EXTENSION_DIR </item> + <item> PHP_PREFIX </item> + <item> PHP_BINDIR </item> + <item> PHP_LIBDIR </item> + <item> PHP_DATADIR </item> + <item> PHP_SYSCONFDIR </item> + <item> PHP_LOCALSTATEDIR </item> + <item> PHP_CONFIG_FILE_PATH </item> + <item> PHP_CONFIG_FILE_SCAN_DIR </item> + <item> PHP_SHLIB_SUFFIX </item> + <item> PHP_EOL </item> + <item> PHP_OUTPUT_HANDLER_START </item> + <item> PHP_OUTPUT_HANDLER_CONT </item> + <item> PHP_OUTPUT_HANDLER_END </item> + <item> UPLOAD_ERR_OK </item> + <item> UPLOAD_ERR_INI_SIZE </item> + <item> UPLOAD_ERR_FORM_SIZE </item> + <item> UPLOAD_ERR_PARTIAL </item> + <item> UPLOAD_ERR_NO_FILE </item> + <item> UPLOAD_ERR_NO_TMP_DIR </item> + <item> P_STATIC </item> + <item> P_PUBLIC </item> + <item> P_PROTECTED </item> + <item> P_PRIVATE </item> + <item> M_STATIC </item> + <item> M_PUBLIC </item> + <item> M_PROTECTED </item> + <item> M_PRIVATE </item> + <item> M_ABSTRACT </item> + <item> M_FINAL </item> + <item> C_IMPLICIT_ABSTRACT </item> + <item> C_EXPLICIT_ABSTRACT </item> + <item> C_FINAL </item> + <item> XML_ERROR_NONE </item> + <item> XML_ERROR_NO_MEMORY </item> + <item> XML_ERROR_SYNTAX </item> + <item> XML_ERROR_NO_ELEMENTS </item> + <item> XML_ERROR_INVALID_TOKEN </item> + <item> XML_ERROR_UNCLOSED_TOKEN </item> + <item> XML_ERROR_PARTIAL_CHAR </item> + <item> XML_ERROR_TAG_MISMATCH </item> + <item> XML_ERROR_DUPLICATE_ATTRIBUTE </item> + <item> XML_ERROR_JUNK_AFTER_DOC_ELEMENT </item> + <item> XML_ERROR_PARAM_ENTITY_REF </item> + <item> XML_ERROR_UNDEFINED_ENTITY </item> + <item> XML_ERROR_RECURSIVE_ENTITY_REF </item> + <item> XML_ERROR_ASYNC_ENTITY </item> + <item> XML_ERROR_BAD_CHAR_REF </item> + <item> XML_ERROR_BINARY_ENTITY_REF </item> + <item> XML_ERROR_ATTRIBUTE_EXTERNAL_ENTITY_REF </item> + <item> XML_ERROR_MISPLACED_XML_PI </item> + <item> XML_ERROR_UNKNOWN_ENCODING </item> + <item> XML_ERROR_INCORRECT_ENCODING </item> + <item> XML_ERROR_UNCLOSED_CDATA_SECTION </item> + <item> XML_ERROR_EXTERNAL_ENTITY_HANDLING </item> + <item> XML_OPTION_CASE_FOLDING </item> + <item> XML_OPTION_TARGET_ENCODING </item> + <item> XML_OPTION_SKIP_TAGSTART </item> + <item> XML_OPTION_SKIP_WHITE </item> + <item> XML_SAX_IMPL </item> + <item> CONNECTION_ABORTED </item> + <item> CONNECTION_NORMAL </item> + <item> CONNECTION_TIMEOUT </item> + <item> INI_USER </item> + <item> INI_PERDIR </item> + <item> INI_SYSTEM </item> + <item> INI_ALL </item> + <item> SUNFUNCS_RET_TIMESTAMP </item> + <item> SUNFUNCS_RET_STRING </item> + <item> SUNFUNCS_RET_DOUBLE </item> + <item> M_E </item> + <item> M_LOG2E </item> + <item> M_LOG10E </item> + <item> M_LN2 </item> + <item> M_LN10 </item> + <item> M_PI </item> + <item> M_PI_2 </item> + <item> M_PI_4 </item> + <item> M_1_PI </item> + <item> M_2_PI </item> + <item> M_2_SQRTPI </item> + <item> M_SQRT2 </item> + <item> M_SQRT1_2 </item> + <item> INF </item> + <item> NAN </item> + <item> INFO_GENERAL </item> + <item> INFO_CREDITS </item> + <item> INFO_CONFIGURATION </item> + <item> INFO_MODULES </item> + <item> INFO_ENVIRONMENT </item> + <item> INFO_VARIABLES </item> + <item> INFO_LICENSE </item> + <item> INFO_ALL </item> + <item> CREDITS_GROUP </item> + <item> CREDITS_GENERAL </item> + <item> CREDITS_SAPI </item> + <item> CREDITS_MODULES </item> + <item> CREDITS_DOCS </item> + <item> CREDITS_FULLPAGE </item> + <item> CREDITS_QA </item> + <item> CREDITS_ALL </item> + <item> HTML_SPECIALCHARS </item> + <item> HTML_ENTITIES </item> + <item> ENT_COMPAT </item> + <item> ENT_QUOTES </item> + <item> ENT_NOQUOTES </item> + <item> STR_PAD_LEFT </item> + <item> STR_PAD_RIGHT </item> + <item> STR_PAD_BOTH </item> + <item> PATHINFO_DIRNAME </item> + <item> PATHINFO_BASENAME </item> + <item> PATHINFO_EXTENSION </item> + <item> CHAR_MAX </item> + <item> LC_CTYPE </item> + <item> LC_NUMERIC </item> + <item> LC_TIME </item> + <item> LC_COLLATE </item> + <item> LC_MONETARY </item> + <item> LC_ALL </item> + <item> LC_MESSAGES </item> + <item> SEEK_SET </item> + <item> SEEK_CUR </item> + <item> SEEK_END </item> + <item> LOCK_SH </item> + <item> LOCK_EX </item> + <item> LOCK_UN </item> + <item> LOCK_NB </item> + <item> STREAM_NOTIFY_CONNECT </item> + <item> STREAM_NOTIFY_AUTH_REQUIRED </item> + <item> STREAM_NOTIFY_AUTH_RESULT </item> + <item> STREAM_NOTIFY_MIME_TYPE_IS </item> + <item> STREAM_NOTIFY_FILE_SIZE_IS </item> + <item> STREAM_NOTIFY_REDIRECTED </item> + <item> STREAM_NOTIFY_PROGRESS </item> + <item> STREAM_NOTIFY_FAILURE </item> + <item> STREAM_NOTIFY_COMPLETED </item> + <item> STREAM_NOTIFY_RESOLVE </item> + <item> STREAM_NOTIFY_SEVERITY_INFO </item> + <item> STREAM_NOTIFY_SEVERITY_WARN </item> + <item> STREAM_NOTIFY_SEVERITY_ERR </item> + <item> STREAM_FILTER_READ </item> + <item> STREAM_FILTER_WRITE </item> + <item> STREAM_FILTER_ALL </item> + <item> STREAM_CLIENT_PERSISTENT </item> + <item> STREAM_CLIENT_ASYNC_CONNECT </item> + <item> STREAM_CLIENT_CONNECT </item> + <item> STREAM_PEEK </item> + <item> STREAM_OOB </item> + <item> STREAM_SERVER_BIND </item> + <item> STREAM_SERVER_LISTEN </item> + <item> FILE_USE_INCLUDE_PATH </item> + <item> FILE_IGNORE_NEW_LINES </item> + <item> FILE_SKIP_EMPTY_LINES </item> + <item> FILE_APPEND </item> + <item> FILE_NO_DEFAULT_CONTEXT </item> + <item> FNM_NOESCAPE </item> + <item> FNM_PATHNAME </item> + <item> FNM_PERIOD </item> + <item> FNM_CASEFOLD </item> + <item> PSFS_PASS_ON </item> + <item> PSFS_FEED_ME </item> + <item> PSFS_ERR_FATAL </item> + <item> PSFS_FLAG_NORMAL </item> + <item> PSFS_FLAG_FLUSH_INC </item> + <item> PSFS_FLAG_FLUSH_CLOSE </item> + <item> ABDAY_1 </item> + <item> ABDAY_2 </item> + <item> ABDAY_3 </item> + <item> ABDAY_4 </item> + <item> ABDAY_5 </item> + <item> ABDAY_6 </item> + <item> ABDAY_7 </item> + <item> DAY_1 </item> + <item> DAY_2 </item> + <item> DAY_3 </item> + <item> DAY_4 </item> + <item> DAY_5 </item> + <item> DAY_6 </item> + <item> DAY_7 </item> + <item> ABMON_1 </item> + <item> ABMON_2 </item> + <item> ABMON_3 </item> + <item> ABMON_4 </item> + <item> ABMON_5 </item> + <item> ABMON_6 </item> + <item> ABMON_7 </item> + <item> ABMON_8 </item> + <item> ABMON_9 </item> + <item> ABMON_10 </item> + <item> ABMON_11 </item> + <item> ABMON_12 </item> + <item> MON_1 </item> + <item> MON_2 </item> + <item> MON_3 </item> + <item> MON_4 </item> + <item> MON_5 </item> + <item> MON_6 </item> + <item> MON_7 </item> + <item> MON_8 </item> + <item> MON_9 </item> + <item> MON_10 </item> + <item> MON_11 </item> + <item> MON_12 </item> + <item> AM_STR </item> + <item> PM_STR </item> + <item> D_T_FMT </item> + <item> D_FMT </item> + <item> T_FMT </item> + <item> T_FMT_AMPM </item> + <item> ERA </item> + <item> ERA_D_T_FMT </item> + <item> ERA_D_FMT </item> + <item> ERA_T_FMT </item> + <item> ALT_DIGITS </item> + <item> CRNCYSTR </item> + <item> RADIXCHAR </item> + <item> THOUSEP </item> + <item> YESEXPR </item> + <item> NOEXPR </item> + <item> CODESET </item> + <item> CRYPT_SALT_LENGTH </item> + <item> CRYPT_STD_DES </item> + <item> CRYPT_EXT_DES </item> + <item> CRYPT_MD5 </item> + <item> CRYPT_BLOWFISH </item> + <item> DIRECTORY_SEPARATOR </item> + <item> PATH_SEPARATOR </item> + <item> GLOB_BRACE </item> + <item> GLOB_MARK </item> + <item> GLOB_NOSORT </item> + <item> GLOB_NOCHECK </item> + <item> GLOB_NOESCAPE </item> + <item> GLOB_ONLYDIR </item> + <item> LOG_EMERG </item> + <item> LOG_ALERT </item> + <item> LOG_CRIT </item> + <item> LOG_ERR </item> + <item> LOG_WARNING </item> + <item> LOG_NOTICE </item> + <item> LOG_INFO </item> + <item> LOG_DEBUG </item> + <item> LOG_KERN </item> + <item> LOG_USER </item> + <item> LOG_MAIL </item> + <item> LOG_DAEMON </item> + <item> LOG_AUTH </item> + <item> LOG_SYSLOG </item> + <item> LOG_LPR </item> + <item> LOG_NEWS </item> + <item> LOG_UUCP </item> + <item> LOG_CRON </item> + <item> LOG_AUTHPRIV </item> + <item> LOG_LOCAL0 </item> + <item> LOG_LOCAL1 </item> + <item> LOG_LOCAL2 </item> + <item> LOG_LOCAL3 </item> + <item> LOG_LOCAL4 </item> + <item> LOG_LOCAL5 </item> + <item> LOG_LOCAL6 </item> + <item> LOG_LOCAL7 </item> + <item> LOG_PID </item> + <item> LOG_CONS </item> + <item> LOG_ODELAY </item> + <item> LOG_NDELAY </item> + <item> LOG_NOWAIT </item> + <item> LOG_PERROR </item> + <item> EXTR_OVERWRITE </item> + <item> EXTR_SKIP </item> + <item> EXTR_PREFIX_SAME </item> + <item> EXTR_PREFIX_ALL </item> + <item> EXTR_PREFIX_INVALID </item> + <item> EXTR_PREFIX_IF_EXISTS </item> + <item> EXTR_IF_EXISTS </item> + <item> EXTR_REFS </item> + <item> SORT_ASC </item> + <item> SORT_DESC </item> + <item> SORT_REGULAR </item> + <item> SORT_NUMERIC </item> + <item> SORT_STRING </item> + <item> SORT_LOCALE_STRING </item> + <item> CASE_LOWER </item> + <item> CASE_UPPER </item> + <item> COUNT_NORMAL </item> + <item> COUNT_RECURSIVE </item> + <item> ASSERT_ACTIVE </item> + <item> ASSERT_CALLBACK </item> + <item> ASSERT_BAIL </item> + <item> ASSERT_WARNING </item> + <item> ASSERT_QUIET_EVAL </item> + <item> STREAM_USE_PATH </item> + <item> STREAM_IGNORE_URL </item> + <item> STREAM_ENFORCE_SAFE_MODE </item> + <item> STREAM_REPORT_ERRORS </item> + <item> STREAM_MUST_SEEK </item> + <item> STREAM_URL_STAT_LINK </item> + <item> STREAM_URL_STAT_QUIET </item> + <item> STREAM_MKDIR_RECURSIVE </item> + <item> IMAGETYPE_GIF </item> + <item> IMAGETYPE_JPEG </item> + <item> IMAGETYPE_PNG </item> + <item> IMAGETYPE_SWF </item> + <item> IMAGETYPE_PSD </item> + <item> IMAGETYPE_BMP </item> + <item> IMAGETYPE_TIFF_II </item> + <item> IMAGETYPE_TIFF_MM </item> + <item> IMAGETYPE_JPC </item> + <item> IMAGETYPE_JP2 </item> + <item> IMAGETYPE_JPX </item> + <item> IMAGETYPE_JB2 </item> + <item> IMAGETYPE_IFF </item> + <item> IMAGETYPE_WBMP </item> + <item> IMAGETYPE_JPEG2000 </item> + <item> IMAGETYPE_XBM </item> + <item> DNS_A </item> + <item> DNS_NS </item> + <item> DNS_CNAME </item> + <item> DNS_SOA </item> + <item> DNS_PTR </item> + <item> DNS_HINFO </item> + <item> DNS_MX </item> + <item> DNS_TXT </item> + <item> DNS_SRV </item> + <item> DNS_NAPTR </item> + <item> DNS_AAAA </item> + <item> DNS_ANY </item> + <item> DNS_ALL </item> + <item> RIT_LEAVES_ONLY </item> + <item> RIT_SELF_FIRST </item> + <item> RIT_CHILD_FIRST </item> + <item> CIT_CALL_TOSTRING </item> + <item> CIT_CATCH_GET_CHILD </item> + <item> PREG_PATTERN_ORDER </item> + <item> PREG_SET_ORDER </item> + <item> PREG_OFFSET_CAPTURE </item> + <item> PREG_SPLIT_NO_EMPTY </item> + <item> PREG_SPLIT_DELIM_CAPTURE </item> + <item> PREG_SPLIT_OFFSET_CAPTURE </item> + <item> PREG_GREP_INVERT </item> + <item> CAL_GREGORIAN </item> + <item> CAL_JULIAN </item> + <item> CAL_JEWISH </item> + <item> CAL_FRENCH </item> + <item> CAL_NUM_CALS </item> + <item> CAL_DOW_DAYNO </item> + <item> CAL_DOW_SHORT </item> + <item> CAL_DOW_LONG </item> + <item> CAL_MONTH_GREGORIAN_SHORT </item> + <item> CAL_MONTH_GREGORIAN_LONG </item> + <item> CAL_MONTH_JULIAN_SHORT </item> + <item> CAL_MONTH_JULIAN_LONG </item> + <item> CAL_MONTH_JEWISH </item> + <item> CAL_MONTH_FRENCH </item> + <item> CAL_EASTER_DEFAULT </item> + <item> CAL_EASTER_ROMAN </item> + <item> CAL_EASTER_ALWAYS_GREGORIAN </item> + <item> CAL_EASTER_ALWAYS_JULIAN </item> + <item> CAL_JEWISH_ADD_ALAFIM_GERESH </item> + <item> CAL_JEWISH_ADD_ALAFIM </item> + <item> CAL_JEWISH_ADD_GERESHAYIM </item> + <item> CURLOPT_DNS_USE_GLOBAL_CACHE </item> + <item> CURLOPT_DNS_CACHE_TIMEOUT </item> + <item> CURLOPT_PORT </item> + <item> CURLOPT_FILE </item> + <item> CURLOPT_READDATA </item> + <item> CURLOPT_INFILE </item> + <item> CURLOPT_INFILESIZE </item> + <item> CURLOPT_URL </item> + <item> CURLOPT_PROXY </item> + <item> CURLOPT_VERBOSE </item> + <item> CURLOPT_HEADER </item> + <item> CURLOPT_HTTPHEADER </item> + <item> CURLOPT_NOPROGRESS </item> + <item> CURLOPT_NOBODY </item> + <item> CURLOPT_FAILONERROR </item> + <item> CURLOPT_UPLOAD </item> + <item> CURLOPT_POST </item> + <item> CURLOPT_FTPLISTONLY </item> + <item> CURLOPT_FTPAPPEND </item> + <item> CURLOPT_NETRC </item> + <item> CURLOPT_FOLLOWLOCATION </item> + <item> CURLOPT_FTPASCII </item> + <item> CURLOPT_PUT </item> + <item> CURLOPT_MUTE </item> + <item> CURLOPT_USERPWD </item> + <item> CURLOPT_PROXYUSERPWD </item> + <item> CURLOPT_RANGE </item> + <item> CURLOPT_TIMEOUT </item> + <item> CURLOPT_POSTFIELDS </item> + <item> CURLOPT_REFERER </item> + <item> CURLOPT_USERAGENT </item> + <item> CURLOPT_FTPPORT </item> + <item> CURLOPT_FTP_USE_EPSV </item> + <item> CURLOPT_LOW_SPEED_LIMIT </item> + <item> CURLOPT_LOW_SPEED_TIME </item> + <item> CURLOPT_RESUME_FROM </item> + <item> CURLOPT_COOKIE </item> + <item> CURLOPT_SSLCERT </item> + <item> CURLOPT_SSLCERTPASSWD </item> + <item> CURLOPT_WRITEHEADER </item> + <item> CURLOPT_SSL_VERIFYHOST </item> + <item> CURLOPT_COOKIEFILE </item> + <item> CURLOPT_SSLVERSION </item> + <item> CURLOPT_TIMECONDITION </item> + <item> CURLOPT_TIMEVALUE </item> + <item> CURLOPT_CUSTOMREQUEST </item> + <item> CURLOPT_STDERR </item> + <item> CURLOPT_TRANSFERTEXT </item> + <item> CURLOPT_RETURNTRANSFER </item> + <item> CURLOPT_QUOTE </item> + <item> CURLOPT_POSTQUOTE </item> + <item> CURLOPT_INTERFACE </item> + <item> CURLOPT_KRB4LEVEL </item> + <item> CURLOPT_HTTPPROXYTUNNEL </item> + <item> CURLOPT_FILETIME </item> + <item> CURLOPT_WRITEFUNCTION </item> + <item> CURLOPT_READFUNCTION </item> + <item> CURLOPT_PASSWDFUNCTION </item> + <item> CURLOPT_HEADERFUNCTION </item> + <item> CURLOPT_MAXREDIRS </item> + <item> CURLOPT_MAXCONNECTS </item> + <item> CURLOPT_CLOSEPOLICY </item> + <item> CURLOPT_FRESH_CONNECT </item> + <item> CURLOPT_FORBID_REUSE </item> + <item> CURLOPT_RANDOM_FILE </item> + <item> CURLOPT_EGDSOCKET </item> + <item> CURLOPT_CONNECTTIMEOUT </item> + <item> CURLOPT_SSL_VERIFYPEER </item> + <item> CURLOPT_CAINFO </item> + <item> CURLOPT_CAPATH </item> + <item> CURLOPT_COOKIEJAR </item> + <item> CURLOPT_SSL_CIPHER_LIST </item> + <item> CURLOPT_BINARYTRANSFER </item> + <item> CURLOPT_NOSIGNAL </item> + <item> CURLOPT_PROXYTYPE </item> + <item> CURLOPT_BUFFERSIZE </item> + <item> CURLOPT_HTTPGET </item> + <item> CURLOPT_HTTP_VERSION </item> + <item> CURLOPT_SSLKEY </item> + <item> CURLOPT_SSLKEYTYPE </item> + <item> CURLOPT_SSLKEYPASSWD </item> + <item> CURLOPT_SSLENGINE </item> + <item> CURLOPT_SSLENGINE_DEFAULT </item> + <item> CURLOPT_SSLCERTTYPE </item> + <item> CURLOPT_CRLF </item> + <item> CURLOPT_ENCODING </item> + <item> CURLOPT_PROXYPORT </item> + <item> CURLOPT_UNRESTRICTED_AUTH </item> + <item> CURLOPT_FTP_USE_EPRT </item> + <item> CURLOPT_HTTP200ALIASES </item> + <item> CURL_TIMECOND_IFMODSINCE </item> + <item> CURL_TIMECOND_IFUNMODSINCE </item> + <item> CURL_TIMECOND_LASTMOD </item> + <item> CURLOPT_HTTPAUTH </item> + <item> CURLAUTH_BASIC </item> + <item> CURLAUTH_DIGEST </item> + <item> CURLAUTH_GSSNEGOTIATE </item> + <item> CURLAUTH_NTLM </item> + <item> CURLAUTH_ANY </item> + <item> CURLAUTH_ANYSAFE </item> + <item> CURLOPT_PROXYAUTH </item> + <item> CURLCLOSEPOLICY_LEAST_RECENTLY_USED </item> + <item> CURLCLOSEPOLICY_LEAST_TRAFFIC </item> + <item> CURLCLOSEPOLICY_SLOWEST </item> + <item> CURLCLOSEPOLICY_CALLBACK </item> + <item> CURLCLOSEPOLICY_OLDEST </item> + <item> CURLINFO_EFFECTIVE_URL </item> + <item> CURLINFO_HTTP_CODE </item> + <item> CURLINFO_HEADER_SIZE </item> + <item> CURLINFO_REQUEST_SIZE </item> + <item> CURLINFO_TOTAL_TIME </item> + <item> CURLINFO_NAMELOOKUP_TIME </item> + <item> CURLINFO_CONNECT_TIME </item> + <item> CURLINFO_PRETRANSFER_TIME </item> + <item> CURLINFO_SIZE_UPLOAD </item> + <item> CURLINFO_SIZE_DOWNLOAD </item> + <item> CURLINFO_SPEED_DOWNLOAD </item> + <item> CURLINFO_SPEED_UPLOAD </item> + <item> CURLINFO_FILETIME </item> + <item> CURLINFO_SSL_VERIFYRESULT </item> + <item> CURLINFO_CONTENT_LENGTH_DOWNLOAD </item> + <item> CURLINFO_CONTENT_LENGTH_UPLOAD </item> + <item> CURLINFO_STARTTRANSFER_TIME </item> + <item> CURLINFO_CONTENT_TYPE </item> + <item> CURLINFO_REDIRECT_TIME </item> + <item> CURLINFO_REDIRECT_COUNT </item> + <item> CURL_VERSION_IPV6 </item> + <item> CURL_VERSION_KERBEROS4 </item> + <item> CURL_VERSION_SSL </item> + <item> CURL_VERSION_LIBZ </item> + <item> CURLVERSION_NOW </item> + <item> CURLE_OK </item> + <item> CURLE_UNSUPPORTED_PROTOCOL </item> + <item> CURLE_FAILED_INIT </item> + <item> CURLE_URL_MALFORMAT </item> + <item> CURLE_URL_MALFORMAT_USER </item> + <item> CURLE_COULDNT_RESOLVE_PROXY </item> + <item> CURLE_COULDNT_RESOLVE_HOST </item> + <item> CURLE_COULDNT_CONNECT </item> + <item> CURLE_FTP_WEIRD_SERVER_REPLY </item> + <item> CURLE_FTP_ACCESS_DENIED </item> + <item> CURLE_FTP_USER_PASSWORD_INCORRECT </item> + <item> CURLE_FTP_WEIRD_PASS_REPLY </item> + <item> CURLE_FTP_WEIRD_USER_REPLY </item> + <item> CURLE_FTP_WEIRD_PASV_REPLY </item> + <item> CURLE_FTP_WEIRD_227_FORMAT </item> + <item> CURLE_FTP_CANT_GET_HOST </item> + <item> CURLE_FTP_CANT_RECONNECT </item> + <item> CURLE_FTP_COULDNT_SET_BINARY </item> + <item> CURLE_PARTIAL_FILE </item> + <item> CURLE_FTP_COULDNT_RETR_FILE </item> + <item> CURLE_FTP_WRITE_ERROR </item> + <item> CURLE_FTP_QUOTE_ERROR </item> + <item> CURLE_HTTP_NOT_FOUND </item> + <item> CURLE_WRITE_ERROR </item> + <item> CURLE_MALFORMAT_USER </item> + <item> CURLE_FTP_COULDNT_STOR_FILE </item> + <item> CURLE_READ_ERROR </item> + <item> CURLE_OUT_OF_MEMORY </item> + <item> CURLE_OPERATION_TIMEOUTED </item> + <item> CURLE_FTP_COULDNT_SET_ASCII </item> + <item> CURLE_FTP_PORT_FAILED </item> + <item> CURLE_FTP_COULDNT_USE_REST </item> + <item> CURLE_FTP_COULDNT_GET_SIZE </item> + <item> CURLE_HTTP_RANGE_ERROR </item> + <item> CURLE_HTTP_POST_ERROR </item> + <item> CURLE_SSL_CONNECT_ERROR </item> + <item> CURLE_FTP_BAD_DOWNLOAD_RESUME </item> + <item> CURLE_FILE_COULDNT_READ_FILE </item> + <item> CURLE_LDAP_CANNOT_BIND </item> + <item> CURLE_LDAP_SEARCH_FAILED </item> + <item> CURLE_LIBRARY_NOT_FOUND </item> + <item> CURLE_FUNCTION_NOT_FOUND </item> + <item> CURLE_ABORTED_BY_CALLBACK </item> + <item> CURLE_BAD_FUNCTION_ARGUMENT </item> + <item> CURLE_BAD_CALLING_ORDER </item> + <item> CURLE_HTTP_PORT_FAILED </item> + <item> CURLE_BAD_PASSWORD_ENTERED </item> + <item> CURLE_TOO_MANY_REDIRECTS </item> + <item> CURLE_UNKNOWN_TELNET_OPTION </item> + <item> CURLE_TELNET_OPTION_SYNTAX </item> + <item> CURLE_OBSOLETE </item> + <item> CURLE_SSL_PEER_CERTIFICATE </item> + <item> CURLE_GOT_NOTHING </item> + <item> CURLE_SSL_ENGINE_NOTFOUND </item> + <item> CURLE_SSL_ENGINE_SETFAILED </item> + <item> CURLE_SEND_ERROR </item> + <item> CURLE_RECV_ERROR </item> + <item> CURLE_SHARE_IN_USE </item> + <item> CURLE_SSL_CERTPROBLEM </item> + <item> CURLE_SSL_CIPHER </item> + <item> CURLE_SSL_CACERT </item> + <item> CURLE_BAD_CONTENT_ENCODING </item> + <item> CURLPROXY_HTTP </item> + <item> CURLPROXY_SOCKS5 </item> + <item> CURL_NETRC_OPTIONAL </item> + <item> CURL_NETRC_IGNORED </item> + <item> CURL_NETRC_REQUIRED </item> + <item> CURL_HTTP_VERSION_NONE </item> + <item> CURL_HTTP_VERSION_1_0 </item> + <item> CURL_HTTP_VERSION_1_1 </item> + <item> CURLM_CALL_MULTI_PERFORM </item> + <item> CURLM_OK </item> + <item> CURLM_BAD_HANDLE </item> + <item> CURLM_BAD_EASY_HANDLE </item> + <item> CURLM_OUT_OF_MEMORY </item> + <item> CURLM_INTERNAL_ERROR </item> + <item> CURLMSG_DONE </item> + <item> DBX_MYSQL </item> + <item> DBX_ODBC </item> + <item> DBX_PGSQL </item> + <item> DBX_MSSQL </item> + <item> DBX_FBSQL </item> + <item> DBX_OCI8 </item> + <item> DBX_SYBASECT </item> + <item> DBX_SQLITE </item> + <item> DBX_PERSISTENT </item> + <item> DBX_RESULT_INFO </item> + <item> DBX_RESULT_INDEX </item> + <item> DBX_RESULT_ASSOC </item> + <item> DBX_RESULT_UNBUFFERED </item> + <item> DBX_COLNAMES_UNCHANGED </item> + <item> DBX_COLNAMES_UPPERCASE </item> + <item> DBX_COLNAMES_LOWERCASE </item> + <item> DBX_CMP_NATIVE </item> + <item> DBX_CMP_TEXT </item> + <item> DBX_CMP_NUMBER </item> + <item> DBX_CMP_ASC </item> + <item> DBX_CMP_DESC </item> + <item> O_RDONLY </item> + <item> O_WRONLY </item> + <item> O_RDWR </item> + <item> O_CREAT </item> + <item> O_EXCL </item> + <item> O_TRUNC </item> + <item> O_APPEND </item> + <item> O_NONBLOCK </item> + <item> O_NDELAY </item> + <item> O_SYNC </item> + <item> O_ASYNC </item> + <item> O_NOCTTY </item> + <item> S_IRWXU </item> + <item> S_IRUSR </item> + <item> S_IWUSR </item> + <item> S_IXUSR </item> + <item> S_IRWXG </item> + <item> S_IRGRP </item> + <item> S_IWGRP </item> + <item> S_IXGRP </item> + <item> S_IRWXO </item> + <item> S_IROTH </item> + <item> S_IWOTH </item> + <item> S_IXOTH </item> + <item> F_DUPFD </item> + <item> F_GETFD </item> + <item> F_GETFL </item> + <item> F_SETFL </item> + <item> F_GETLK </item> + <item> F_SETLK </item> + <item> F_SETLKW </item> + <item> F_SETOWN </item> + <item> F_GETOWN </item> + <item> F_UNLCK </item> + <item> F_RDLCK </item> + <item> F_WRLCK </item> + <item> XML_ELEMENT_NODE </item> + <item> XML_ATTRIBUTE_NODE </item> + <item> XML_TEXT_NODE </item> + <item> XML_CDATA_SECTION_NODE </item> + <item> XML_ENTITY_REF_NODE </item> + <item> XML_ENTITY_NODE </item> + <item> XML_PI_NODE </item> + <item> XML_COMMENT_NODE </item> + <item> XML_DOCUMENT_NODE </item> + <item> XML_DOCUMENT_TYPE_NODE </item> + <item> XML_DOCUMENT_FRAG_NODE </item> + <item> XML_NOTATION_NODE </item> + <item> XML_HTML_DOCUMENT_NODE </item> + <item> XML_DTD_NODE </item> + <item> XML_ELEMENT_DECL_NODE </item> + <item> XML_ATTRIBUTE_DECL_NODE </item> + <item> XML_ENTITY_DECL_NODE </item> + <item> XML_NAMESPACE_DECL_NODE </item> + <item> XML_LOCAL_NAMESPACE </item> + <item> XML_ATTRIBUTE_CDATA </item> + <item> XML_ATTRIBUTE_ID </item> + <item> XML_ATTRIBUTE_IDREF </item> + <item> XML_ATTRIBUTE_IDREFS </item> + <item> XML_ATTRIBUTE_ENTITY </item> + <item> XML_ATTRIBUTE_NMTOKEN </item> + <item> XML_ATTRIBUTE_NMTOKENS </item> + <item> XML_ATTRIBUTE_ENUMERATION </item> + <item> XML_ATTRIBUTE_NOTATION </item> + <item> DOM_PHP_ERR </item> + <item> DOM_INDEX_SIZE_ERR </item> + <item> DOMSTRING_SIZE_ERR </item> + <item> DOM_HIERARCHY_REQUEST_ERR </item> + <item> DOM_WRONG_DOCUMENT_ERR </item> + <item> DOM_INVALID_CHARACTER_ERR </item> + <item> DOM_NO_DATA_ALLOWED_ERR </item> + <item> DOM_NO_MODIFICATION_ALLOWED_ERR </item> + <item> DOM_NOT_FOUND_ERR </item> + <item> DOM_NOT_SUPPORTED_ERR </item> + <item> DOM_INUSE_ATTRIBUTE_ERR </item> + <item> DOM_INVALID_STATE_ERR </item> + <item> DOM_SYNTAX_ERR </item> + <item> DOM_INVALID_MODIFICATION_ERR </item> + <item> DOM_NAMESPACE_ERR </item> + <item> DOM_INVALID_ACCESS_ERR </item> + <item> DOM_VALIDATION_ERR </item> + <item> EXIF_USE_MBSTRING </item> + <item> FAMChanged </item> + <item> FAMDeleted </item> + <item> FAMStartExecuting </item> + <item> FAMStopExecuting </item> + <item> FAMCreated </item> + <item> FAMMoved </item> + <item> FAMAcknowledge </item> + <item> FAMExists </item> + <item> FAMEndExist </item> + <item> FTP_ASCII </item> + <item> FTP_TEXT </item> + <item> FTP_BINARY </item> + <item> FTP_IMAGE </item> + <item> FTP_AUTORESUME </item> + <item> FTP_TIMEOUT_SEC </item> + <item> FTP_AUTOSEEK </item> + <item> FTP_FAILED </item> + <item> FTP_FINISHED </item> + <item> FTP_MOREDATA </item> + <item> IMG_GIF </item> + <item> IMG_JPG </item> + <item> IMG_JPEG </item> + <item> IMG_PNG </item> + <item> IMG_WBMP </item> + <item> IMG_XPM </item> + <item> IMG_COLOR_TILED </item> + <item> IMG_COLOR_STYLED </item> + <item> IMG_COLOR_BRUSHED </item> + <item> IMG_COLOR_STYLEDBRUSHED </item> + <item> IMG_COLOR_TRANSPARENT </item> + <item> IMG_ARC_ROUNDED </item> + <item> IMG_ARC_PIE </item> + <item> IMG_ARC_CHORD </item> + <item> IMG_ARC_NOFILL </item> + <item> IMG_ARC_EDGED </item> + <item> IMG_GD2_RAW </item> + <item> IMG_GD2_COMPRESSED </item> + <item> IMG_EFFECT_REPLACE </item> + <item> IMG_EFFECT_ALPHABLEND </item> + <item> IMG_EFFECT_NORMAL </item> + <item> IMG_EFFECT_OVERLAY </item> + <item> GD_BUNDLED </item> + <item> IMG_FILTER_NEGATE </item> + <item> IMG_FILTER_GRAYSCALE </item> + <item> IMG_FILTER_BRIGHTNESS </item> + <item> IMG_FILTER_CONTRAST </item> + <item> IMG_FILTER_COLORIZE </item> + <item> IMG_FILTER_EDGEDETECT </item> + <item> IMG_FILTER_GAUSSIAN_BLUR </item> + <item> IMG_FILTER_SELECTIVE_BLUR </item> + <item> IMG_FILTER_EMBOSS </item> + <item> IMG_FILTER_MEAN_REMOVAL </item> + <item> IMG_FILTER_SMOOTH </item> + <item> GMP_ROUND_ZERO </item> + <item> GMP_ROUND_PLUSINF </item> + <item> GMP_ROUND_MINUSINF </item> + <item> ICONV_IMPL </item> + <item> ICONV_VERSION </item> + <item> ICONV_MIME_DECODE_STRICT </item> + <item> ICONV_MIME_DECODE_CONTINUE_ON_ERROR </item> + <item> NIL </item> + <item> IMAP_OPENTIMEOUT </item> + <item> IMAP_READTIMEOUT </item> + <item> IMAP_WRITETIMEOUT </item> + <item> IMAP_CLOSETIMEOUT </item> + <item> OP_DEBUG </item> + <item> OP_READONLY </item> + <item> OP_ANONYMOUS </item> + <item> OP_SHORTCACHE </item> + <item> OP_SILENT </item> + <item> OP_PROTOTYPE </item> + <item> OP_HALFOPEN </item> + <item> OP_EXPUNGE </item> + <item> OP_SECURE </item> + <item> CL_EXPUNGE </item> + <item> FT_UID </item> + <item> FT_PEEK </item> + <item> FT_NOT </item> + <item> FT_INTERNAL </item> + <item> FT_PREFETCHTEXT </item> + <item> ST_UID </item> + <item> ST_SILENT </item> + <item> ST_SET </item> + <item> CP_UID </item> + <item> CP_MOVE </item> + <item> SE_UID </item> + <item> SE_FREE </item> + <item> SE_NOPREFETCH </item> + <item> SO_FREE </item> + <item> SO_NOSERVER </item> + <item> SA_MESSAGES </item> + <item> SA_RECENT </item> + <item> SA_UNSEEN </item> + <item> SA_UIDNEXT </item> + <item> SA_UIDVALIDITY </item> + <item> SA_ALL </item> + <item> LATT_NOINFERIORS </item> + <item> LATT_NOSELECT </item> + <item> LATT_MARKED </item> + <item> LATT_UNMARKED </item> + <item> LATT_REFERRAL </item> + <item> LATT_HASCHILDREN </item> + <item> LATT_HASNOCHILDREN </item> + <item> SORTDATE </item> + <item> SORTARRIVAL </item> + <item> SORTFROM </item> + <item> SORTSUBJECT </item> + <item> SORTTO </item> + <item> SORTCC </item> + <item> SORTSIZE </item> + <item> TYPETEXT </item> + <item> TYPEMULTIPART </item> + <item> TYPEMESSAGE </item> + <item> TYPEAPPLICATION </item> + <item> TYPEAUDIO </item> + <item> TYPEIMAGE </item> + <item> TYPEVIDEO </item> + <item> TYPEMODEL </item> + <item> TYPEOTHER </item> + <item> ENC7BIT </item> + <item> ENC8BIT </item> + <item> ENCBINARY </item> + <item> ENCBASE64 </item> + <item> ENCQUOTEDPRINTABLE </item> + <item> ENCOTHER </item> + <item> LDAP_DEREF_NEVER </item> + <item> LDAP_DEREF_SEARCHING </item> + <item> LDAP_DEREF_FINDING </item> + <item> LDAP_DEREF_ALWAYS </item> + <item> LDAP_OPT_DEREF </item> + <item> LDAP_OPT_SIZELIMIT </item> + <item> LDAP_OPT_TIMELIMIT </item> + <item> LDAP_OPT_PROTOCOL_VERSION </item> + <item> LDAP_OPT_ERROR_NUMBER </item> + <item> LDAP_OPT_REFERRALS </item> + <item> LDAP_OPT_RESTART </item> + <item> LDAP_OPT_HOST_NAME </item> + <item> LDAP_OPT_ERROR_STRING </item> + <item> LDAP_OPT_MATCHED_DN </item> + <item> LDAP_OPT_SERVER_CONTROLS </item> + <item> LDAP_OPT_CLIENT_CONTROLS </item> + <item> LDAP_OPT_DEBUG_LEVEL </item> + <item> MB_OVERLOAD_MAIL </item> + <item> MB_OVERLOAD_STRING </item> + <item> MB_OVERLOAD_REGEX </item> + <item> MB_CASE_UPPER </item> + <item> MB_CASE_LOWER </item> + <item> MB_CASE_TITLE </item> + <item> MCRYPT_ENCRYPT </item> + <item> MCRYPT_DECRYPT </item> + <item> MCRYPT_DEV_RANDOM </item> + <item> MCRYPT_DEV_URANDOM </item> + <item> MCRYPT_RAND </item> + <item> MCRYPT_3DES </item> + <item> MCRYPT_ARCFOUR_IV </item> + <item> MCRYPT_ARCFOUR </item> + <item> MCRYPT_BLOWFISH </item> + <item> MCRYPT_BLOWFISH_COMPAT </item> + <item> MCRYPT_CAST_128 </item> + <item> MCRYPT_CAST_256 </item> + <item> MCRYPT_CRYPT </item> + <item> MCRYPT_DES </item> + <item> MCRYPT_ENIGNA </item> + <item> MCRYPT_GOST </item> + <item> MCRYPT_LOKI97 </item> + <item> MCRYPT_PANAMA </item> + <item> MCRYPT_RC2 </item> + <item> MCRYPT_RIJNDAEL_128 </item> + <item> MCRYPT_RIJNDAEL_192 </item> + <item> MCRYPT_RIJNDAEL_256 </item> + <item> MCRYPT_SAFER64 </item> + <item> MCRYPT_SAFER128 </item> + <item> MCRYPT_SAFERPLUS </item> + <item> MCRYPT_SERPENT </item> + <item> MCRYPT_THREEWAY </item> + <item> MCRYPT_TRIPLEDES </item> + <item> MCRYPT_TWOFISH </item> + <item> MCRYPT_WAKE </item> + <item> MCRYPT_XTEA </item> + <item> MCRYPT_IDEA </item> + <item> MCRYPT_MARS </item> + <item> MCRYPT_RC6 </item> + <item> MCRYPT_SKIPJACK </item> + <item> MCRYPT_MODE_CBC </item> + <item> MCRYPT_MODE_CFB </item> + <item> MCRYPT_MODE_ECB </item> + <item> MCRYPT_MODE_NOFB </item> + <item> MCRYPT_MODE_OFB </item> + <item> MCRYPT_MODE_STREAM </item> + <item> MHASH_CRC32 </item> + <item> MHASH_MD5 </item> + <item> MHASH_SHA1 </item> + <item> MHASH_HAVAL256 </item> + <item> MHASH_RIPEMD160 </item> + <item> MHASH_TIGER </item> + <item> MHASH_GOST </item> + <item> MHASH_CRC32B </item> + <item> MHASH_HAVAL224 </item> + <item> MHASH_HAVAL192 </item> + <item> MHASH_HAVAL160 </item> + <item> MHASH_HAVAL128 </item> + <item> MHASH_TIGER128 </item> + <item> MHASH_TIGER160 </item> + <item> MHASH_MD4 </item> + <item> MHASH_SHA256 </item> + <item> MHASH_ADLER32 </item> + <item> MHASH_SHA224 </item> + <item> MHASH_SHA512 </item> + <item> MHASH_SHA384 </item> + <item> MHASH_WHIRLPOOL </item> + <item> MHASH_RIPEMD128 </item> + <item> MHASH_RIPEMD256 </item> + <item> MHASH_RIPEMD320 </item> + <item> MHASH_SNEFRU128 </item> + <item> MHASH_SNEFRU256 </item> + <item> MHASH_MD2 </item> + <item> MYSQL_ASSOC </item> + <item> MYSQL_NUM </item> + <item> MYSQL_BOTH </item> + <item> MYSQL_CLIENT_COMPRESS </item> + <item> MYSQL_CLIENT_SSL </item> + <item> MYSQL_CLIENT_INTERACTIVE </item> + <item> MYSQL_CLIENT_IGNORE_SPACE </item> + <item> MYSQLI_READ_DEFAULT_GROUP </item> + <item> MYSQLI_READ_DEFAULT_FILE </item> + <item> MYSQLI_OPT_CONNECT_TIMEOUT </item> + <item> MYSQLI_OPT_LOCAL_INFILE </item> + <item> MYSQLI_INIT_COMMAND </item> + <item> MYSQLI_CLIENT_SSL </item> + <item> MYSQLI_CLIENT_COMPRESS </item> + <item> MYSQLI_CLIENT_INTERACTIVE </item> + <item> MYSQLI_CLIENT_IGNORE_SPACE </item> + <item> MYSQLI_CLIENT_NO_SCHEMA </item> + <item> MYSQLI_CLIENT_FOUND_ROWS </item> + <item> MYSQLI_STORE_RESULT </item> + <item> MYSQLI_USE_RESULT </item> + <item> MYSQLI_ASSOC </item> + <item> MYSQLI_NUM </item> + <item> MYSQLI_BOTH </item> + <item> MYSQLI_STMT_ATTR_UPDATE_MAX_LENGTH </item> + <item> MYSQLI_NOT_NULL_FLAG </item> + <item> MYSQLI_PRI_KEY_FLAG </item> + <item> MYSQLI_UNIQUE_KEY_FLAG </item> + <item> MYSQLI_MULTIPLE_KEY_FLAG </item> + <item> MYSQLI_BLOB_FLAG </item> + <item> MYSQLI_UNSIGNED_FLAG </item> + <item> MYSQLI_ZEROFILL_FLAG </item> + <item> MYSQLI_AUTO_INCREMENT_FLAG </item> + <item> MYSQLI_TIMESTAMP_FLAG </item> + <item> MYSQLI_SET_FLAG </item> + <item> MYSQLI_NUM_FLAG </item> + <item> MYSQLI_PART_KEY_FLAG </item> + <item> MYSQLI_GROUP_FLAG </item> + <item> MYSQLI_TYPE_DECIMAL </item> + <item> MYSQLI_TYPE_TINY </item> + <item> MYSQLI_TYPE_SHORT </item> + <item> MYSQLI_TYPE_LONG </item> + <item> MYSQLI_TYPE_FLOAT </item> + <item> MYSQLI_TYPE_DOUBLE </item> + <item> MYSQLI_TYPE_NULL </item> + <item> MYSQLI_TYPE_TIMESTAMP </item> + <item> MYSQLI_TYPE_LONGLONG </item> + <item> MYSQLI_TYPE_INT24 </item> + <item> MYSQLI_TYPE_DATE </item> + <item> MYSQLI_TYPE_TIME </item> + <item> MYSQLI_TYPE_DATETIME </item> + <item> MYSQLI_TYPE_YEAR </item> + <item> MYSQLI_TYPE_NEWDATE </item> + <item> MYSQLI_TYPE_ENUM </item> + <item> MYSQLI_TYPE_SET </item> + <item> MYSQLI_TYPE_TINY_BLOB </item> + <item> MYSQLI_TYPE_MEDIUM_BLOB </item> + <item> MYSQLI_TYPE_LONG_BLOB </item> + <item> MYSQLI_TYPE_BLOB </item> + <item> MYSQLI_TYPE_VAR_STRING </item> + <item> MYSQLI_TYPE_STRING </item> + <item> MYSQLI_TYPE_CHAR </item> + <item> MYSQLI_TYPE_INTERVAL </item> + <item> MYSQLI_TYPE_GEOMETRY </item> + <item> MYSQLI_RPL_MASTER </item> + <item> MYSQLI_RPL_SLAVE </item> + <item> MYSQLI_RPL_ADMIN </item> + <item> MYSQLI_NO_DATA </item> + <item> MYSQLI_REPORT_INDEX </item> + <item> MYSQLI_REPORT_ERROR </item> + <item> MYSQLI_REPORT_ALL </item> + <item> MYSQLI_REPORT_OFF </item> + <item> NCURSES_COLOR_BLACK </item> + <item> NCURSES_COLOR_RED </item> + <item> NCURSES_COLOR_GREEN </item> + <item> NCURSES_COLOR_YELLOW </item> + <item> NCURSES_COLOR_BLUE </item> + <item> NCURSES_COLOR_MAGENTA </item> + <item> NCURSES_COLOR_CYAN </item> + <item> NCURSES_COLOR_WHITE </item> + <item> NCURSES_KEY_DOWN </item> + <item> NCURSES_KEY_UP </item> + <item> NCURSES_KEY_LEFT </item> + <item> NCURSES_KEY_RIGHT </item> + <item> NCURSES_KEY_BACKSPACE </item> + <item> NCURSES_KEY_MOUSE </item> + <item> NCURSES_KEY_F0 </item> + <item> NCURSES_KEY_F1 </item> + <item> NCURSES_KEY_F2 </item> + <item> NCURSES_KEY_F3 </item> + <item> NCURSES_KEY_F4 </item> + <item> NCURSES_KEY_F5 </item> + <item> NCURSES_KEY_F6 </item> + <item> NCURSES_KEY_F7 </item> + <item> NCURSES_KEY_F8 </item> + <item> NCURSES_KEY_F9 </item> + <item> NCURSES_KEY_F10 </item> + <item> NCURSES_KEY_F11 </item> + <item> NCURSES_KEY_F12 </item> + <item> NCURSES_KEY_DL </item> + <item> NCURSES_KEY_IL </item> + <item> NCURSES_KEY_DC </item> + <item> NCURSES_KEY_IC </item> + <item> NCURSES_KEY_EIC </item> + <item> NCURSES_KEY_CLEAR </item> + <item> NCURSES_KEY_EOS </item> + <item> NCURSES_KEY_EOL </item> + <item> NCURSES_KEY_SF </item> + <item> NCURSES_KEY_SR </item> + <item> NCURSES_KEY_NPAGE </item> + <item> NCURSES_KEY_PPAGE </item> + <item> NCURSES_KEY_STAB </item> + <item> NCURSES_KEY_CTAB </item> + <item> NCURSES_KEY_CATAB </item> + <item> NCURSES_KEY_ENTER </item> + <item> NCURSES_KEY_SRESET </item> + <item> NCURSES_KEY_RESET </item> + <item> NCURSES_KEY_PRINT </item> + <item> NCURSES_KEY_LL </item> + <item> NCURSES_KEY_A1 </item> + <item> NCURSES_KEY_A3 </item> + <item> NCURSES_KEY_B2 </item> + <item> NCURSES_KEY_C1 </item> + <item> NCURSES_KEY_C3 </item> + <item> NCURSES_KEY_BTAB </item> + <item> NCURSES_KEY_BEG </item> + <item> NCURSES_KEY_CANCEL </item> + <item> NCURSES_KEY_CLOSE </item> + <item> NCURSES_KEY_COMMAND </item> + <item> NCURSES_KEY_COPY </item> + <item> NCURSES_KEY_CREATE </item> + <item> NCURSES_KEY_END </item> + <item> NCURSES_KEY_EXIT </item> + <item> NCURSES_KEY_FIND </item> + <item> NCURSES_KEY_HELP </item> + <item> NCURSES_KEY_MARK </item> + <item> NCURSES_KEY_MESSAGE </item> + <item> NCURSES_KEY_MOVE </item> + <item> NCURSES_KEY_NEXT </item> + <item> NCURSES_KEY_OPEN </item> + <item> NCURSES_KEY_OPTIONS </item> + <item> NCURSES_KEY_PREVIOUS </item> + <item> NCURSES_KEY_REDO </item> + <item> NCURSES_KEY_REFERENCE </item> + <item> NCURSES_KEY_REFRESH </item> + <item> NCURSES_KEY_REPLACE </item> + <item> NCURSES_KEY_RESTART </item> + <item> NCURSES_KEY_RESUME </item> + <item> NCURSES_KEY_SAVE </item> + <item> NCURSES_KEY_SBEG </item> + <item> NCURSES_KEY_SCANCEL </item> + <item> NCURSES_KEY_SCOMMAND </item> + <item> NCURSES_KEY_SCOPY </item> + <item> NCURSES_KEY_SCREATE </item> + <item> NCURSES_KEY_SDC </item> + <item> NCURSES_KEY_SDL </item> + <item> NCURSES_KEY_SELECT </item> + <item> NCURSES_KEY_SEND </item> + <item> NCURSES_KEY_SEOL </item> + <item> NCURSES_KEY_SEXIT </item> + <item> NCURSES_KEY_SFIND </item> + <item> NCURSES_KEY_SHELP </item> + <item> NCURSES_KEY_SHOME </item> + <item> NCURSES_KEY_SIC </item> + <item> NCURSES_KEY_SLEFT </item> + <item> NCURSES_KEY_SMESSAGE </item> + <item> NCURSES_KEY_SMOVE </item> + <item> NCURSES_KEY_SNEXT </item> + <item> NCURSES_KEY_SOPTIONS </item> + <item> NCURSES_KEY_SPREVIOUS </item> + <item> NCURSES_KEY_SPRINT </item> + <item> NCURSES_KEY_SREDO </item> + <item> NCURSES_KEY_SREPLACE </item> + <item> NCURSES_KEY_SRIGHT </item> + <item> NCURSES_KEY_SRSUME </item> + <item> NCURSES_KEY_SSAVE </item> + <item> NCURSES_KEY_SSUSPEND </item> + <item> NCURSES_KEY_SUNDO </item> + <item> NCURSES_KEY_SUSPEND </item> + <item> NCURSES_KEY_UNDO </item> + <item> NCURSES_KEY_RESIZE </item> + <item> NCURSES_A_NORMAL </item> + <item> NCURSES_A_STANDOUT </item> + <item> NCURSES_A_UNDERLINE </item> + <item> NCURSES_A_REVERSE </item> + <item> NCURSES_A_BLINK </item> + <item> NCURSES_A_DIM </item> + <item> NCURSES_A_BOLD </item> + <item> NCURSES_A_PROTECT </item> + <item> NCURSES_A_INVIS </item> + <item> NCURSES_A_ALTCHARSET </item> + <item> NCURSES_A_CHARTEXT </item> + <item> NCURSES_BUTTON1_PRESSED </item> + <item> NCURSES_BUTTON1_RELEASED </item> + <item> NCURSES_BUTTON1_CLICKED </item> + <item> NCURSES_BUTTON1_DOUBLE_CLICKED </item> + <item> NCURSES_BUTTON1_TRIPLE_CLICKED </item> + <item> NCURSES_BUTTON2_PRESSED </item> + <item> NCURSES_BUTTON2_RELEASED </item> + <item> NCURSES_BUTTON2_CLICKED </item> + <item> NCURSES_BUTTON2_DOUBLE_CLICKED </item> + <item> NCURSES_BUTTON2_TRIPLE_CLICKED </item> + <item> NCURSES_BUTTON3_PRESSED </item> + <item> NCURSES_BUTTON3_RELEASED </item> + <item> NCURSES_BUTTON3_CLICKED </item> + <item> NCURSES_BUTTON3_DOUBLE_CLICKED </item> + <item> NCURSES_BUTTON3_TRIPLE_CLICKED </item> + <item> NCURSES_BUTTON4_PRESSED </item> + <item> NCURSES_BUTTON4_RELEASED </item> + <item> NCURSES_BUTTON4_CLICKED </item> + <item> NCURSES_BUTTON4_DOUBLE_CLICKED </item> + <item> NCURSES_BUTTON4_TRIPLE_CLICKED </item> + <item> NCURSES_BUTTON_SHIFT </item> + <item> NCURSES_BUTTON_CTRL </item> + <item> NCURSES_BUTTON_ALT </item> + <item> NCURSES_ALL_MOUSE_EVENTS </item> + <item> NCURSES_REPORT_MOUSE_POSITION </item> + <item> ODBC_TYPE </item> + <item> ODBC_BINMODE_PASSTHRU </item> + <item> ODBC_BINMODE_RETURN </item> + <item> ODBC_BINMODE_CONVERT </item> + <item> SQL_ODBC_CURSORS </item> + <item> SQL_CUR_USE_DRIVER </item> + <item> SQL_CUR_USE_IF_NEEDED </item> + <item> SQL_CUR_USE_ODBC </item> + <item> SQL_CONCURRENCY </item> + <item> SQL_CONCUR_READ_ONLY </item> + <item> SQL_CONCUR_LOCK </item> + <item> SQL_CONCUR_ROWVER </item> + <item> SQL_CONCUR_VALUES </item> + <item> SQL_CURSOR_TYPE </item> + <item> SQL_CURSOR_FORWARD_ONLY </item> + <item> SQL_CURSOR_KEYSET_DRIVEN </item> + <item> SQL_CURSOR_DYNAMIC </item> + <item> SQL_CURSOR_STATIC </item> + <item> SQL_KEYSET_SIZE </item> + <item> SQL_FETCH_FIRST </item> + <item> SQL_FETCH_NEXT </item> + <item> SQL_CHAR </item> + <item> SQL_VARCHAR </item> + <item> SQL_LONGVARCHAR </item> + <item> SQL_DECIMAL </item> + <item> SQL_NUMERIC </item> + <item> SQL_BIT </item> + <item> SQL_TINYINT </item> + <item> SQL_SMALLINT </item> + <item> SQL_INTEGER </item> + <item> SQL_BIGINT </item> + <item> SQL_REAL </item> + <item> SQL_FLOAT </item> + <item> SQL_DOUBLE </item> + <item> SQL_BINARY </item> + <item> SQL_VARBINARY </item> + <item> SQL_LONGVARBINARY </item> + <item> SQL_DATE </item> + <item> SQL_TIME </item> + <item> SQL_TIMESTAMP </item> + <item> X509_PURPOSE_SSL_CLIENT </item> + <item> X509_PURPOSE_SSL_SERVER </item> + <item> X509_PURPOSE_NS_SSL_SERVER </item> + <item> X509_PURPOSE_SMIME_SIGN </item> + <item> X509_PURPOSE_SMIME_ENCRYPT </item> + <item> X509_PURPOSE_CRL_SIGN </item> + <item> X509_PURPOSE_ANY </item> + <item> OPENSSL_ALGO_SHA1 </item> + <item> OPENSSL_ALGO_MD5 </item> + <item> OPENSSL_ALGO_MD4 </item> + <item> OPENSSL_ALGO_MD2 </item> + <item> PKCS7_DETACHED </item> + <item> PKCS7_TEXT </item> + <item> PKCS7_NOINTERN </item> + <item> PKCS7_NOVERIFY </item> + <item> PKCS7_NOCHAIN </item> + <item> PKCS7_NOCERTS </item> + <item> PKCS7_NOATTR </item> + <item> PKCS7_BINARY </item> + <item> PKCS7_NOSIGS </item> + <item> OPENSSL_PKCS1_PADDING </item> + <item> OPENSSL_SSLV23_PADDING </item> + <item> OPENSSL_NO_PADDING </item> + <item> OPENSSL_PKCS1_OAEP_PADDING </item> + <item> OPENSSL_CIPHER_RC2_40 </item> + <item> OPENSSL_CIPHER_RC2_128 </item> + <item> OPENSSL_CIPHER_RC2_64 </item> + <item> OPENSSL_CIPHER_DES </item> + <item> OPENSSL_CIPHER_3DES </item> + <item> OPENSSL_KEYTYPE_RSA </item> + <item> OPENSSL_KEYTYPE_DSA </item> + <item> OPENSSL_KEYTYPE_DH </item> + <item> WNOHANG </item> + <item> WUNTRACED </item> + <item> SIG_IGN </item> + <item> SIG_DFL </item> + <item> SIG_ERR </item> + <item> SIGHUP </item> + <item> SIGINT </item> + <item> SIGQUIT </item> + <item> SIGILL </item> + <item> SIGTRAP </item> + <item> SIGABRT </item> + <item> SIGIOT </item> + <item> SIGBUS </item> + <item> SIGFPE </item> + <item> SIGKILL </item> + <item> SIGUSR1 </item> + <item> SIGSEGV </item> + <item> SIGUSR2 </item> + <item> SIGPIPE </item> + <item> SIGALRM </item> + <item> SIGTERM </item> + <item> SIGSTKFLT </item> + <item> SIGCLD </item> + <item> SIGCHLD </item> + <item> SIGCONT </item> + <item> SIGSTOP </item> + <item> SIGTSTP </item> + <item> SIGTTIN </item> + <item> SIGTTOU </item> + <item> SIGURG </item> + <item> SIGXCPU </item> + <item> SIGXFSZ </item> + <item> SIGVTALRM </item> + <item> SIGPROF </item> + <item> SIGWINCH </item> + <item> SIGPOLL </item> + <item> SIGIO </item> + <item> SIGPWR </item> + <item> SIGSYS </item> + <item> SIGBABY </item> + <item> PRIO_PGRP </item> + <item> PRIO_USER </item> + <item> PRIO_PROCESS </item> + <item> PGSQL_CONNECT_FORCE_NEW </item> + <item> PGSQL_ASSOC </item> + <item> PGSQL_NUM </item> + <item> PGSQL_BOTH </item> + <item> PGSQL_CONNECTION_BAD </item> + <item> PGSQL_CONNECTION_OK </item> + <item> PGSQL_SEEK_SET </item> + <item> PGSQL_SEEK_CUR </item> + <item> PGSQL_SEEK_END </item> + <item> PGSQL_STATUS_LONG </item> + <item> PGSQL_STATUS_STRING </item> + <item> PGSQL_EMPTY_QUERY </item> + <item> PGSQL_COMMAND_OK </item> + <item> PGSQL_TUPLES_OK </item> + <item> PGSQL_COPY_OUT </item> + <item> PGSQL_COPY_IN </item> + <item> PGSQL_BAD_RESPONSE </item> + <item> PGSQL_NONFATAL_ERROR </item> + <item> PGSQL_FATAL_ERROR </item> + <item> PGSQL_CONV_IGNORE_DEFAULT </item> + <item> PGSQL_CONV_FORCE_NULL </item> + <item> PGSQL_CONV_IGNORE_NOT_NULL </item> + <item> PGSQL_DML_NO_CONV </item> + <item> PGSQL_DML_EXEC </item> + <item> PGSQL_DML_ASYNC </item> + <item> PGSQL_DML_STRING </item> + <item> SNMP_VALUE_LIBRARY </item> + <item> SNMP_VALUE_PLAIN </item> + <item> SNMP_VALUE_OBJECT </item> + <item> SNMP_BIT_STR </item> + <item> SNMP_OCTET_STR </item> + <item> SNMP_OPAQUE </item> + <item> SNMP_NULL </item> + <item> SNMP_OBJECT_ID </item> + <item> SNMP_IPADDRESS </item> + <item> SNMP_COUNTER </item> + <item> SNMP_UNSIGNED </item> + <item> SNMP_TIMETICKS </item> + <item> SNMP_UINTEGER </item> + <item> SNMP_INTEGER </item> + <item> SNMP_COUNTER64 </item> + <item> SOAP_1_1 </item> + <item> SOAP_1_2 </item> + <item> SOAP_PERSISTENCE_SESSION </item> + <item> SOAP_PERSISTENCE_REQUEST </item> + <item> SOAP_FUNCTIONS_ALL </item> + <item> SOAP_ENCODED </item> + <item> SOAP_LITERAL </item> + <item> SOAP_RPC </item> + <item> SOAP_DOCUMENT </item> + <item> SOAP_ACTOR_NEXT </item> + <item> SOAP_ACTOR_NONE </item> + <item> SOAP_ACTOR_UNLIMATERECEIVER </item> + <item> SOAP_COMPRESSION_ACCEPT </item> + <item> SOAP_COMPRESSION_GZIP </item> + <item> SOAP_COMPRESSION_DEFLATE </item> + <item> UNKNOWN_TYPE </item> + <item> XSD_STRING </item> + <item> XSD_BOOLEAN </item> + <item> XSD_DECIMAL </item> + <item> XSD_FLOAT </item> + <item> XSD_DOUBLE </item> + <item> XSD_DURATION </item> + <item> XSD_DATETIME </item> + <item> XSD_TIME </item> + <item> XSD_DATE </item> + <item> XSD_GYEARMONTH </item> + <item> XSD_GYEAR </item> + <item> XSD_GMONTHDAY </item> + <item> XSD_GDAY </item> + <item> XSD_GMONTH </item> + <item> XSD_HEXBINARY </item> + <item> XSD_BASE64BINARY </item> + <item> XSD_ANYURI </item> + <item> XSD_QNAME </item> + <item> XSD_NOTATION </item> + <item> XSD_NORMALIZEDSTRING </item> + <item> XSD_TOKEN </item> + <item> XSD_LANGUAGE </item> + <item> XSD_NMTOKEN </item> + <item> XSD_NAME </item> + <item> XSD_NCNAME </item> + <item> XSD_ID </item> + <item> XSD_IDREF </item> + <item> XSD_IDREFS </item> + <item> XSD_ENTITY </item> + <item> XSD_ENTITIES </item> + <item> XSD_INTEGER </item> + <item> XSD_NONPOSITIVEINTEGER </item> + <item> XSD_NEGATIVEINTEGER </item> + <item> XSD_LONG </item> + <item> XSD_INT </item> + <item> XSD_SHORT </item> + <item> XSD_BYTE </item> + <item> XSD_NONNEGATIVEINTEGER </item> + <item> XSD_UNSIGNEDLONG </item> + <item> XSD_UNSIGNEDINT </item> + <item> XSD_UNSIGNEDSHORT </item> + <item> XSD_UNSIGNEDBYTE </item> + <item> XSD_POSITIVEINTEGER </item> + <item> XSD_NMTOKENS </item> + <item> XSD_ANYTYPE </item> + <item> SOAP_ENC_OBJECT </item> + <item> SOAP_ENC_ARRAY </item> + <item> XSD_1999_TIMEINSTANT </item> + <item> XSD_NAMESPACE </item> + <item> XSD_1999_NAMESPACE </item> + <item> AF_UNIX </item> + <item> AF_INET </item> + <item> AF_INET6 </item> + <item> SOCK_STREAM </item> + <item> SOCK_DGRAM </item> + <item> SOCK_RAW </item> + <item> SOCK_SEQPACKET </item> + <item> SOCK_RDM </item> + <item> MSG_OOB </item> + <item> MSG_WAITALL </item> + <item> MSG_PEEK </item> + <item> MSG_DONTROUTE </item> + <item> SO_DEBUG </item> + <item> SO_REUSEADDR </item> + <item> SO_KEEPALIVE </item> + <item> SO_DONTROUTE </item> + <item> SO_LINGER </item> + <item> SO_BROADCAST </item> + <item> SO_OOBINLINE </item> + <item> SO_SNDBUF </item> + <item> SO_RCVBUF </item> + <item> SO_SNDLOWAT </item> + <item> SO_RCVLOWAT </item> + <item> SO_SNDTIMEO </item> + <item> SO_RCVTIMEO </item> + <item> SO_TYPE </item> + <item> SO_ERROR </item> + <item> SOL_SOCKET </item> + <item> SOMAXCONN </item> + <item> PHP_NORMAL_READ </item> + <item> PHP_BINARY_READ </item> + <item> SOCKET_EPERM </item> + <item> SOCKET_ENOENT </item> + <item> SOCKET_EINTR </item> + <item> SOCKET_EIO </item> + <item> SOCKET_ENXIO </item> + <item> SOCKET_E2BIG </item> + <item> SOCKET_EBADF </item> + <item> SOCKET_EAGAIN </item> + <item> SOCKET_ENOMEM </item> + <item> SOCKET_EACCES </item> + <item> SOCKET_EFAULT </item> + <item> SOCKET_ENOTBLK </item> + <item> SOCKET_EBUSY </item> + <item> SOCKET_EEXIST </item> + <item> SOCKET_EXDEV </item> + <item> SOCKET_ENODEV </item> + <item> SOCKET_ENOTDIR </item> + <item> SOCKET_EISDIR </item> + <item> SOCKET_EINVAL </item> + <item> SOCKET_ENFILE </item> + <item> SOCKET_EMFILE </item> + <item> SOCKET_ENOTTY </item> + <item> SOCKET_ENOSPC </item> + <item> SOCKET_ESPIPE </item> + <item> SOCKET_EROFS </item> + <item> SOCKET_EMLINK </item> + <item> SOCKET_EPIPE </item> + <item> SOCKET_ENAMETOOLONG </item> + <item> SOCKET_ENOLCK </item> + <item> SOCKET_ENOSYS </item> + <item> SOCKET_ENOTEMPTY </item> + <item> SOCKET_ELOOP </item> + <item> SOCKET_EWOULDBLOCK </item> + <item> SOCKET_ENOMSG </item> + <item> SOCKET_EIDRM </item> + <item> SOCKET_ECHRNG </item> + <item> SOCKET_EL2NSYNC </item> + <item> SOCKET_EL3HLT </item> + <item> SOCKET_EL3RST </item> + <item> SOCKET_ELNRNG </item> + <item> SOCKET_EUNATCH </item> + <item> SOCKET_ENOCSI </item> + <item> SOCKET_EL2HLT </item> + <item> SOCKET_EBADE </item> + <item> SOCKET_EBADR </item> + <item> SOCKET_EXFULL </item> + <item> SOCKET_ENOANO </item> + <item> SOCKET_EBADRQC </item> + <item> SOCKET_EBADSLT </item> + <item> SOCKET_ENOSTR </item> + <item> SOCKET_ENODATA </item> + <item> SOCKET_ETIME </item> + <item> SOCKET_ENOSR </item> + <item> SOCKET_ENONET </item> + <item> SOCKET_EREMOTE </item> + <item> SOCKET_ENOLINK </item> + <item> SOCKET_EADV </item> + <item> SOCKET_ESRMNT </item> + <item> SOCKET_ECOMM </item> + <item> SOCKET_EPROTO </item> + <item> SOCKET_EMULTIHOP </item> + <item> SOCKET_EBADMSG </item> + <item> SOCKET_ENOTUNIQ </item> + <item> SOCKET_EBADFD </item> + <item> SOCKET_EREMCHG </item> + <item> SOCKET_ERESTART </item> + <item> SOCKET_ESTRPIPE </item> + <item> SOCKET_EUSERS </item> + <item> SOCKET_ENOTSOCK </item> + <item> SOCKET_EDESTADDRREQ </item> + <item> SOCKET_EMSGSIZE </item> + <item> SOCKET_EPROTOTYPE </item> + <item> SOCKET_ENOPROTOOPT </item> + <item> SOCKET_EPROTONOSUPPORT </item> + <item> SOCKET_ESOCKTNOSUPPORT </item> + <item> SOCKET_EOPNOTSUPP </item> + <item> SOCKET_EPFNOSUPPORT </item> + <item> SOCKET_EAFNOSUPPORT </item> + <item> SOCKET_EADDRINUSE </item> + <item> SOCKET_EADDRNOTAVAIL </item> + <item> SOCKET_ENETDOWN </item> + <item> SOCKET_ENETUNREACH </item> + <item> SOCKET_ENETRESET </item> + <item> SOCKET_ECONNABORTED </item> + <item> SOCKET_ECONNRESET </item> + <item> SOCKET_ENOBUFS </item> + <item> SOCKET_EISCONN </item> + <item> SOCKET_ENOTCONN </item> + <item> SOCKET_ESHUTDOWN </item> + <item> SOCKET_ETOOMANYREFS </item> + <item> SOCKET_ETIMEDOUT </item> + <item> SOCKET_ECONNREFUSED </item> + <item> SOCKET_EHOSTDOWN </item> + <item> SOCKET_EHOSTUNREACH </item> + <item> SOCKET_EALREADY </item> + <item> SOCKET_EINPROGRESS </item> + <item> SOCKET_EISNAM </item> + <item> SOCKET_EREMOTEIO </item> + <item> SOCKET_EDQUOT </item> + <item> SOCKET_ENOMEDIUM </item> + <item> SOCKET_EMEDIUMTYPE </item> + <item> SOL_TCP </item> + <item> SOL_UDP </item> + <item> SQLITE_BOTH </item> + <item> SQLITE_NUM </item> + <item> SQLITE_ASSOC </item> + <item> SQLITE_OK </item> + <item> SQLITE_ERROR </item> + <item> SQLITE_INTERNAL </item> + <item> SQLITE_PERM </item> + <item> SQLITE_ABORT </item> + <item> SQLITE_BUSY </item> + <item> SQLITE_LOCKED </item> + <item> SQLITE_NOMEM </item> + <item> SQLITE_READONLY </item> + <item> SQLITE_INTERRUPT </item> + <item> SQLITE_IOERR </item> + <item> SQLITE_CORRUPT </item> + <item> SQLITE_NOTFOUND </item> + <item> SQLITE_FULL </item> + <item> SQLITE_CANTOPEN </item> + <item> SQLITE_PROTOCOL </item> + <item> SQLITE_EMPTY </item> + <item> SQLITE_SCHEMA </item> + <item> SQLITE_TOOBIG </item> + <item> SQLITE_CONSTRAINT </item> + <item> SQLITE_MISMATCH </item> + <item> SQLITE_MISUSE </item> + <item> SQLITE_NOLFS </item> + <item> SQLITE_AUTH </item> + <item> SQLITE_FORMAT </item> + <item> SQLITE_ROW </item> + <item> SQLITE_DONE </item> + <item> MSG_IPC_NOWAIT </item> + <item> MSG_NOERROR </item> + <item> MSG_EXCEPT </item> + <item> T_INCLUDE </item> + <item> T_INCLUDE_ONCE </item> + <item> T_EVAL </item> + <item> T_REQUIRE </item> + <item> T_REQUIRE_ONCE </item> + <item> T_LOGICAL_OR </item> + <item> T_LOGICAL_XOR </item> + <item> T_LOGICAL_AND </item> + <item> T_PRINT </item> + <item> T_PLUS_EQUAL </item> + <item> T_MINUS_EQUAL </item> + <item> T_MUL_EQUAL </item> + <item> T_DIV_EQUAL </item> + <item> T_CONCAT_EQUAL </item> + <item> T_MOD_EQUAL </item> + <item> T_AND_EQUAL </item> + <item> T_OR_EQUAL </item> + <item> T_XOR_EQUAL </item> + <item> T_SL_EQUAL </item> + <item> T_SR_EQUAL </item> + <item> T_BOOLEAN_OR </item> + <item> T_BOOLEAN_AND </item> + <item> T_IS_EQUAL </item> + <item> T_IS_NOT_EQUAL </item> + <item> T_IS_IDENTICAL </item> + <item> T_IS_NOT_IDENTICAL </item> + <item> T_IS_SMALLER_OR_EQUAL </item> + <item> T_IS_GREATER_OR_EQUAL </item> + <item> T_SL </item> + <item> T_SR </item> + <item> T_INC </item> + <item> T_DEC </item> + <item> T_INT_CAST </item> + <item> T_DOUBLE_CAST </item> + <item> T_STRING_CAST </item> + <item> T_ARRAY_CAST </item> + <item> T_OBJECT_CAST </item> + <item> T_BOOL_CAST </item> + <item> T_UNSET_CAST </item> + <item> T_NEW </item> + <item> T_EXIT </item> + <item> T_IF </item> + <item> T_ELSEIF </item> + <item> T_ELSE </item> + <item> T_ENDIF </item> + <item> T_LNUMBER </item> + <item> T_DNUMBER </item> + <item> T_STRING </item> + <item> T_STRING_VARNAME </item> + <item> T_VARIABLE </item> + <item> T_NUM_STRING </item> + <item> T_INLINE_HTML </item> + <item> T_CHARACTER </item> + <item> T_BAD_CHARACTER </item> + <item> T_ENCAPSED_AND_WHITESPACE </item> + <item> T_CONSTANT_ENCAPSED_STRING </item> + <item> T_ECHO </item> + <item> T_DO </item> + <item> T_WHILE </item> + <item> T_ENDWHILE </item> + <item> T_FOR </item> + <item> T_ENDFOR </item> + <item> T_FOREACH </item> + <item> T_ENDFOREACH </item> + <item> T_DECLARE </item> + <item> T_ENDDECLARE </item> + <item> T_AS </item> + <item> T_SWITCH </item> + <item> T_ENDSWITCH </item> + <item> T_CASE </item> + <item> T_DEFAULT </item> + <item> T_BREAK </item> + <item> T_CONTINUE </item> + <item> T_FUNCTION </item> + <item> T_CONST </item> + <item> T_RETURN </item> + <item> T_USE </item> + <item> T_GLOBAL </item> + <item> T_STATIC </item> + <item> T_VAR </item> + <item> T_UNSET </item> + <item> T_ISSET </item> + <item> T_EMPTY </item> + <item> T_CLASS </item> + <item> T_EXTENDS </item> + <item> T_INTERFACE </item> + <item> T_IMPLEMENTS </item> + <item> T_OBJECT_OPERATOR </item> + <item> T_DOUBLE_ARROW </item> + <item> T_LIST </item> + <item> T_ARRAY </item> + <item> T_CLASS_C </item> + <item> T_FUNC_C </item> + <item> T_METHOD_C </item> + <item> T_LINE </item> + <item> T_FILE </item> + <item> T_COMMENT </item> + <item> T_DOC_COMMENT </item> + <item> T_OPEN_TAG </item> + <item> T_OPEN_TAG_WITH_ECHO </item> + <item> T_CLOSE_TAG </item> + <item> T_WHITESPACE </item> + <item> T_START_HEREDOC </item> + <item> T_END_HEREDOC </item> + <item> T_DOLLAR_OPEN_CURLY_BRACES </item> + <item> T_CURLY_OPEN </item> + <item> T_PAAMAYIM_NEKUDOTAYIM </item> + <item> T_DOUBLE_COLON </item> + <item> T_ABSTRACT </item> + <item> T_CATCH </item> + <item> T_FINAL </item> + <item> T_INSTANCEOF </item> + <item> T_PRIVATE </item> + <item> T_PROTECTED </item> + <item> T_PUBLIC </item> + <item> T_THROW </item> + <item> T_TRY </item> + <item> T_CLONE </item> + <item> XSL_CLONE_AUTO </item> + <item> XSL_CLONE_NEVER </item> + <item> XSL_CLONE_ALWAYS </item> + <item> YPERR_BADARGS </item> + <item> YPERR_BADDB </item> + <item> YPERR_BUSY </item> + <item> YPERR_DOMAIN </item> + <item> YPERR_KEY </item> + <item> YPERR_MAP </item> + <item> YPERR_NODOM </item> + <item> YPERR_NOMORE </item> + <item> YPERR_PMAP </item> + <item> YPERR_RESRC </item> + <item> YPERR_RPC </item> + <item> YPERR_YPBIND </item> + <item> YPERR_YPERR </item> + <item> YPERR_YPSERV </item> + <item> YPERR_VERS </item> + <item> FORCE_GZIP </item> + <item> FORCE_DEFLATE </item> + + + </list> + + <list name="special_methods"> + <item> __autoload </item> + <item> __call </item> + <item> __clone </item> + <item> __construct </item> + <item> __destruct </item> + <item> __get </item> + <item> __isset </item> + <item> __set </item> + <item> __set_state </item> + <item> __sleep </item> + <item> __toString </item> + <item> __unset </item> + <item> __wakeup </item> + </list> + + <list name="functions"> + <item> abs </item> + <item> acos </item> + <item> acosh </item> + <item> addcslashes </item> + <item> addslashes </item> + <item> apache_get_modules </item> + <item> apache_get_version </item> + <item> apache_getenv </item> + <item> apache_lookup_uri </item> + <item> apache_note </item> + <item> apache_request_headers </item> + <item> apache_response_headers </item> + <item> apache_setenv </item> + <item> array </item> + <item> array_change_key_case </item> + <item> array_chunk </item> + <item> array_combine </item> + <item> array_count_values </item> + <item> array_diff </item> + <item> array_diff_assoc </item> + <item> array_diff_key </item> + <item> array_diff_uassoc </item> + <item> array_diff_ukey </item> + <item> array_diff </item> + <item> array_fill </item> + <item> array_filter </item> + <item> array_flip </item> + <item> array_intersect </item> + <item> array_intersect_assoc </item> + <item> array_intersect_key </item> + <item> array_intersect_uassoc </item> + <item> array_intersect_ukey </item> + <item> array_intersect </item> + <item> array_key_exists </item> + <item> array_keys </item> + <item> array_map </item> + <item> array_merge </item> + <item> array_merge_recursive </item> + <item> array_multisort </item> + <item> array_pad </item> + <item> array_pop </item> + <item> array_product </item> + <item> array_push </item> + <item> array_rand </item> + <item> array_reduce </item> + <item> array_reverse </item> + <item> array_search </item> + <item> array_shift </item> + <item> array_slice </item> + <item> array_splice </item> + <item> array_sum </item> + <item> array_udiff </item> + <item> array_udiff_assoc </item> + <item> array_udiff_uassoc </item> + <item> array_uintersect </item> + <item> array_uintersect_assoc </item> + <item> array_uintersect_uassoc </item> + <item> array_uintersect </item> + <item> array_unique </item> + <item> array_unshift </item> + <item> array_values </item> + <item> array_walk </item> + <item> array_walk_recursive </item> + <item> arsort </item> + <item> ascii2ebcdic </item> + <item> asin </item> + <item> asinh </item> + <item> asort </item> + <item> aspell_check </item> + <item> aspell_check_raw </item> + <item> aspell_new </item> + <item> aspell_suggest </item> + <item> assert </item> + <item> assert_options </item> + <item> atan </item> + <item> atan2 </item> + <item> atanh </item> + <item> base64_decode </item> + <item> base64_encode </item> + <item> base_convert </item> + <item> basename </item> + <item> bcadd </item> + <item> bccomp </item> + <item> bcdiv </item> + <item> bcmod </item> + <item> bcmul </item> + <item> bcpow </item> + <item> bcpowmod </item> + <item> bcscale </item> + <item> bcsqrt </item> + <item> bcsub </item> + <item> bin2hex </item> + <item> bind_textdomain_codeset </item> + <item> bindec </item> + <item> bindtextdomain </item> + <item> bzclose </item> + <item> bzcompress </item> + <item> bzdecompress </item> + <item> bzerrno </item> + <item> bzerror </item> + <item> bzerrstr </item> + <item> bzflush </item> + <item> bzopen </item> + <item> bzread </item> + <item> bzwrite </item> + <item> cal_days_in_month </item> + <item> cal_from_jd </item> + <item> cal_info </item> + <item> cal_to_jd </item> + <item> call_user_func </item> + <item> call_user_func_array </item> + <item> call_user_method </item> + <item> call_user_method_array </item> + <item> ccvs_add </item> + <item> ccvs_auth </item> + <item> ccvs_command </item> + <item> ccvs_count </item> + <item> ccvs_delete </item> + <item> ccvs_done </item> + <item> ccvs_init </item> + <item> ccvs_lookup </item> + <item> ccvs_new </item> + <item> ccvs_report </item> + <item> ccvs_return </item> + <item> ccvs_reverse </item> + <item> ccvs_sale </item> + <item> ccvs_status </item> + <item> ccvs_textvalue </item> + <item> ccvs_void </item> + <item> ceil </item> + <item> chdir </item> + <item> checkdate </item> + <item> checkdnsrr </item> + <item> chgrp </item> + <item> chmod </item> + <item> chop </item> + <item> chown </item> + <item> chr </item> + <item> chroot </item> + <item> chunk_split </item> + <item> class_exists </item> + <item> class_implements </item> + <item> class_parents </item> + <item> clearstatcache </item> + <item> closedir </item> + <item> closelog </item> + <item> com </item> + <item> com_addref </item> + <item> com_get </item> + <item> com_invoke </item> + <item> com_isenum </item> + <item> com_load </item> + <item> com_load_typelib </item> + <item> com_propget </item> + <item> com_propput </item> + <item> com_propset </item> + <item> com_release </item> + <item> com_set </item> + <item> compact </item> + <item> connection_aborted </item> + <item> connection_status </item> + <item> connection_timeout </item> + <item> constant </item> + <item> convert_cyr_string </item> + <item> convert_uudecode </item> + <item> convert_uuencode </item> + <item> copy </item> + <item> cos </item> + <item> cosh </item> + <item> count </item> + <item> count_chars </item> + <item> cpdf_add_annotation </item> + <item> cpdf_add_outline </item> + <item> cpdf_arc </item> + <item> cpdf_begin_text </item> + <item> cpdf_circle </item> + <item> cpdf_clip </item> + <item> cpdf_close </item> + <item> cpdf_closepath </item> + <item> cpdf_closepath_fill_stroke </item> + <item> cpdf_closepath_stroke </item> + <item> cpdf_continue_text </item> + <item> cpdf_curveto </item> + <item> cpdf_end_text </item> + <item> cpdf_fill </item> + <item> cpdf_fill_stroke </item> + <item> cpdf_finalize </item> + <item> cpdf_finalize_page </item> + <item> cpdf_global_set_document_limits </item> + <item> cpdf_import_jpeg </item> + <item> cpdf_lineto </item> + <item> cpdf_moveto </item> + <item> cpdf_newpath </item> + <item> cpdf_open </item> + <item> cpdf_output_buffer </item> + <item> cpdf_page_init </item> + <item> cpdf_place_inline_image </item> + <item> cpdf_rect </item> + <item> cpdf_restore </item> + <item> cpdf_rlineto </item> + <item> cpdf_rmoveto </item> + <item> cpdf_rotate </item> + <item> cpdf_rotate_text </item> + <item> cpdf_save </item> + <item> cpdf_save_to_file </item> + <item> cpdf_scale </item> + <item> cpdf_set_action_url </item> + <item> cpdf_set_char_spacing </item> + <item> cpdf_set_creator </item> + <item> cpdf_set_current_page </item> + <item> cpdf_set_font </item> + <item> cpdf_set_font_directories </item> + <item> cpdf_set_font_map_file </item> + <item> cpdf_set_horiz_scaling </item> + <item> cpdf_set_keywords </item> + <item> cpdf_set_leading </item> + <item> cpdf_set_page_animation </item> + <item> cpdf_set_subject </item> + <item> cpdf_set_text_matrix </item> + <item> cpdf_set_text_pos </item> + <item> cpdf_set_text_rendering </item> + <item> cpdf_set_text_rise </item> + <item> cpdf_set_title </item> + <item> cpdf_set_viewer_preferences </item> + <item> cpdf_set_word_spacing </item> + <item> cpdf_setdash </item> + <item> cpdf_setflat </item> + <item> cpdf_setgray </item> + <item> cpdf_setgray_fill </item> + <item> cpdf_setgray_stroke </item> + <item> cpdf_setlinecap </item> + <item> cpdf_setlinejoin </item> + <item> cpdf_setlinewidth </item> + <item> cpdf_setmiterlimit </item> + <item> cpdf_setrgbcolor </item> + <item> cpdf_setrgbcolor_fill </item> + <item> cpdf_setrgbcolor_stroke </item> + <item> cpdf_show </item> + <item> cpdf_show_xy </item> + <item> cpdf_stringwidth </item> + <item> cpdf_stroke </item> + <item> cpdf_text </item> + <item> cpdf_translate </item> + <item> crack_check </item> + <item> crack_closedict </item> + <item> crack_getlastmessage </item> + <item> crack_opendict </item> + <item> crc32 </item> + <item> create_function </item> + <item> crypt </item> + <item> ctype_alnum </item> + <item> ctype_alpha </item> + <item> ctype_cntrl </item> + <item> ctype_digit </item> + <item> ctype_graph </item> + <item> ctype_lower </item> + <item> ctype_print </item> + <item> ctype_punct </item> + <item> ctype_space </item> + <item> ctype_upper </item> + <item> ctype_xdigit </item> + <item> curl_close </item> + <item> curl_copy_handle </item> + <item> curl_errno </item> + <item> curl_error </item> + <item> curl_exec </item> + <item> curl_getinfo </item> + <item> curl_init </item> + <item> curl_multi_add_handle </item> + <item> curl_multi_close </item> + <item> curl_multi_exec </item> + <item> curl_multi_getcontent </item> + <item> curl_multi_info_read </item> + <item> curl_multi_init </item> + <item> curl_multi_remove_handle </item> + <item> curl_multi_select </item> + <item> curl_setopt </item> + <item> curl_version </item> + <item> current </item> + <item> cybercash_base64_decode </item> + <item> cybercash_base64_encode </item> + <item> cybercash_decr </item> + <item> cybercash_encr </item> + <item> cybermut_creerformulairecm </item> + <item> cybermut_creerreponsecm </item> + <item> cybermut_testmac </item> + <item> cyrus_authenticate </item> + <item> cyrus_bind </item> + <item> cyrus_close </item> + <item> cyrus_connect </item> + <item> cyrus_query </item> + <item> cyrus_unbind </item> + <item> date </item> + <item> date_sunrise </item> + <item> date_sunset </item> + <item> dba_close </item> + <item> dba_delete </item> + <item> dba_exists </item> + <item> dba_fetch </item> + <item> dba_firstkey </item> + <item> dba_handlers </item> + <item> dba_insert </item> + <item> dba_key_split </item> + <item> dba_list </item> + <item> dba_nextkey </item> + <item> dba_open </item> + <item> dba_optimize </item> + <item> dba_popen </item> + <item> dba_replace </item> + <item> dba_sync </item> + <item> dbase_add_record </item> + <item> dbase_close </item> + <item> dbase_create </item> + <item> dbase_delete_record </item> + <item> dbase_get_header_info </item> + <item> dbase_get_record </item> + <item> dbase_get_record_with_names </item> + <item> dbase_numfields </item> + <item> dbase_numrecords </item> + <item> dbase_open </item> + <item> dbase_pack </item> + <item> dbase_replace_record </item> + <item> dblist </item> + <item> dbmclose </item> + <item> dbmdelete </item> + <item> dbmexists </item> + <item> dbmfetch </item> + <item> dbmfirstkey </item> + <item> dbminsert </item> + <item> dbmnextkey </item> + <item> dbmopen </item> + <item> dbmreplace </item> + <item> dbplus_add </item> + <item> dbplus_aql </item> + <item> dbplus_chdir </item> + <item> dbplus_close </item> + <item> dbplus_curr </item> + <item> dbplus_errcode </item> + <item> dbplus_errno </item> + <item> dbplus_find </item> + <item> dbplus_first </item> + <item> dbplus_flush </item> + <item> dbplus_freealllocks </item> + <item> dbplus_freelock </item> + <item> dbplus_freerlocks </item> + <item> dbplus_getlock </item> + <item> dbplus_getunique </item> + <item> dbplus_info </item> + <item> dbplus_last </item> + <item> dbplus_lockrel </item> + <item> dbplus_next </item> + <item> dbplus_open </item> + <item> dbplus_prev </item> + <item> dbplus_rchperm </item> + <item> dbplus_rcreate </item> + <item> dbplus_rcrtexact </item> + <item> dbplus_rcrtlike </item> + <item> dbplus_resolve </item> + <item> dbplus_restorepos </item> + <item> dbplus_rkeys </item> + <item> dbplus_ropen </item> + <item> dbplus_rquery </item> + <item> dbplus_rrename </item> + <item> dbplus_rsecindex </item> + <item> dbplus_runlink </item> + <item> dbplus_rzap </item> + <item> dbplus_savepos </item> + <item> dbplus_setindex </item> + <item> dbplus_setindexbynumber </item> + <item> dbplus_sql </item> + <item> dbplus_tcl </item> + <item> dbplus_tremove </item> + <item> dbplus_undo </item> + <item> dbplus_undoprepare </item> + <item> dbplus_unlockrel </item> + <item> dbplus_unselect </item> + <item> dbplus_update </item> + <item> dbplus_xlockrel </item> + <item> dbplus_xunlockrel </item> + <item> dbx_close </item> + <item> dbx_compare </item> + <item> dbx_connect </item> + <item> dbx_error </item> + <item> dbx_escape_string </item> + <item> dbx_fetch_row </item> + <item> dbx_query </item> + <item> dbx_sort </item> + <item> dcgettext </item> + <item> dcngettext </item> + <item> debug_backtrace </item> + <item> debug_print_backtrace </item> + <item> debug_zval_dump </item> + <item> dcgettext </item> + <item> dcngettext </item> + <item> debugger_off </item> + <item> debugger_on </item> + <item> decbin </item> + <item> dechex </item> + <item> decoct </item> + <item> define </item> + <item> define_syslog_variables </item> + <item> defined </item> + <item> deg2rad </item> + <item> delete </item> + <item> dgettext </item> + <item> die </item> + <item> dio_close </item> + <item> dio_fcntl </item> + <item> dio_open </item> + <item> dio_read </item> + <item> dio_seek </item> + <item> dio_stat </item> + <item> dio_tcsetattr </item> + <item> dio_truncate </item> + <item> dio_write </item> + <item> dir </item> + <item> dirname </item> + <item> disk_free_space </item> + <item> disk_total_space </item> + <item> diskfreespace </item> + <item> dl </item> + <item> dngettext </item> + <item> dns_check_record </item> + <item> dns_get_mx </item> + <item> dns_get_record </item> + <item> dom_import_simplexml </item> + <item> dngettext </item> + <item> domxml_add_root </item> + <item> domxml_attributes </item> + <item> domxml_children </item> + <item> domxml_dumpmem </item> + <item> domxml_get_attribute </item> + <item> domxml_new_child </item> + <item> domxml_new_xmldoc </item> + <item> domxml_node </item> + <item> domxml_node_set_content </item> + <item> domxml_node_unlink_node </item> + <item> domxml_root </item> + <item> domxml_set_attribute </item> + <item> domxml_version </item> + <item> dotnet_load </item> + <item> doubleval </item> + <item> each </item> + <item> easter_date </item> + <item> easter_days </item> + <item> ebcdic2ascii </item> + <item> echo </item> + <item> empty </item> + <item> end </item> + <item> ereg </item> + <item> ereg_replace </item> + <item> eregi </item> + <item> eregi_replace </item> + <item> error_log </item> + <item> error_reporting </item> + <item> escapeshellarg </item> + <item> escapeshellcmd </item> + <item> eval </item> + <item> exec </item> + <item> exif_imagetype </item> + <item> exif_read_data </item> + <item> exif_tagname </item> + <item> exif_thumbnail </item> + <item> exit </item> + <item> exp </item> + <item> explode </item> + <item> expm1 </item> + <item> extension_loaded </item> + <item> extract </item> + <item> ezmlm_hash </item> + <item> fam_cancel_monitor </item> + <item> fam_close </item> + <item> fam_monitor_collection </item> + <item> fam_monitor_directory </item> + <item> fam_monitor_file </item> + <item> fam_next_event </item> + <item> fam_open </item> + <item> fam_pending </item> + <item> fam_resume_monitor </item> + <item> fam_suspend_monitor </item> + <item> fbsql_affected_rows </item> + <item> fbsql_autocommit </item> + <item> fbsql_change_user </item> + <item> fbsql_close </item> + <item> fbsql_commit </item> + <item> fbsql_connect </item> + <item> fbsql_create_blob </item> + <item> fbsql_create_clob </item> + <item> fbsql_create_db </item> + <item> fbsql_data_seek </item> + <item> fbsql_database </item> + <item> fbsql_database_password </item> + <item> fbsql_db_query </item> + <item> fbsql_db_status </item> + <item> fbsql_drop_db </item> + <item> fbsql_errno </item> + <item> fbsql_error </item> + <item> fbsql_fetch_array </item> + <item> fbsql_fetch_assoc </item> + <item> fbsql_fetch_field </item> + <item> fbsql_fetch_lengths </item> + <item> fbsql_fetch_object </item> + <item> fbsql_fetch_row </item> + <item> fbsql_field_flags </item> + <item> fbsql_field_len </item> + <item> fbsql_field_name </item> + <item> fbsql_field_seek </item> + <item> fbsql_field_table </item> + <item> fbsql_field_type </item> + <item> fbsql_free_result </item> + <item> fbsql_get_autostart_info </item> + <item> fbsql_hostname </item> + <item> fbsql_insert_id </item> + <item> fbsql_list_dbs </item> + <item> fbsql_list_fields </item> + <item> fbsql_list_tables </item> + <item> fbsql_next_result </item> + <item> fbsql_num_fields </item> + <item> fbsql_num_rows </item> + <item> fbsql_password </item> + <item> fbsql_pconnect </item> + <item> fbsql_query </item> + <item> fbsql_read_blob </item> + <item> fbsql_read_clob </item> + <item> fbsql_result </item> + <item> fbsql_rollback </item> + <item> fbsql_select_db </item> + <item> fbsql_set_lob_mode </item> + <item> fbsql_set_transaction </item> + <item> fbsql_start_db </item> + <item> fbsql_stop_db </item> + <item> fbsql_tablename </item> + <item> fbsql_username </item> + <item> fbsql_warnings </item> + <item> fclose </item> + <item> fdf_add_template </item> + <item> fdf_close </item> + <item> fdf_create </item> + <item> fdf_get_file </item> + <item> fdf_get_status </item> + <item> fdf_get_value </item> + <item> fdf_next_field_name </item> + <item> fdf_open </item> + <item> fdf_save </item> + <item> fdf_set_ap </item> + <item> fdf_set_encoding </item> + <item> fdf_set_file </item> + <item> fdf_set_flags </item> + <item> fdf_set_javascript_action </item> + <item> fdf_set_opt </item> + <item> fdf_set_status </item> + <item> fdf_set_submit_form_action </item> + <item> fdf_set_value </item> + <item> feof </item> + <item> fflush </item> + <item> fgetc </item> + <item> fgetcsv </item> + <item> fgets </item> + <item> fgetss </item> + <item> fgetwrapperdata </item> + <item> file </item> + <item> file_exists </item> + <item> file_get_contents </item> + <item> file_put_contents </item> + <item> fileatime </item> + <item> filectime </item> + <item> filegroup </item> + <item> fileinode </item> + <item> filemtime </item> + <item> fileowner </item> + <item> fileperms </item> + <item> filepro </item> + <item> filepro_fieldcount </item> + <item> filepro_fieldname </item> + <item> filepro_fieldtype </item> + <item> filepro_fieldwidth </item> + <item> filepro_retrieve </item> + <item> filepro_rowcount </item> + <item> filesize </item> + <item> filetype </item> + <item> floatval </item> + <item> flock </item> + <item> floor </item> + <item> flush </item> + <item> fmod </item> + <item> fnmatch </item> + <item> fopen </item> + <item> fpassthru </item> + <item> fprintf </item> + <item> fputs </item> + <item> fread </item> + <item> frenchtojd </item> + <item> fribidi_log2vis </item> + <item> fscanf </item> + <item> fseek </item> + <item> fsockopen </item> + <item> fstat </item> + <item> ftell </item> + <item> ftok </item> + <item> ftp_alloc </item> + <item> ftp_cdup </item> + <item> ftp_chdir </item> + <item> ftp_chmod </item> + <item> ftp_close </item> + <item> ftp_connect </item> + <item> ftp_delete </item> + <item> ftp_exec </item> + <item> ftp_fget </item> + <item> ftp_fput </item> + <item> ftp_get </item> + <item> ftp_get_option </item> + <item> ftp_login </item> + <item> ftp_mdtm </item> + <item> ftp_mkdir </item> + <item> ftp_nb_continue </item> + <item> ftp_nb_fget </item> + <item> ftp_nb_fput </item> + <item> ftp_nb_get </item> + <item> ftp_nb_put </item> + <item> ftp_nlist </item> + <item> ftp_pasv </item> + <item> ftp_put </item> + <item> ftp_pwd </item> + <item> ftp_quit </item> + <item> ftp_raw </item> + <item> ftp_rawlist </item> + <item> ftp_rename </item> + <item> ftp_rmdir </item> + <item> ftp_set_option </item> + <item> ftp_site </item> + <item> ftp_size </item> + <item> ftp_ssl_connect </item> + <item> ftp_systype </item> + <item> ftruncate </item> + <item> func_get_arg </item> + <item> func_get_args </item> + <item> func_num_args </item> + <item> function_exists </item> + <item> fwrite </item> + <item> gd_info </item> + <item> get_browser </item> + <item> get_cfg_var </item> + <item> get_class </item> + <item> get_class_methods </item> + <item> get_class_vars </item> + <item> get_current_user </item> + <item> get_declared_classes </item> + <item> get_declared_interfaces </item> + <item> get_defined_constants </item> + <item> get_defined_functions </item> + <item> get_defined_vars </item> + <item> get_extension_funcs </item> + <item> get_headers </item> + <item> get_html_translation_table </item> + <item> get_include_path </item> + <item> get_included_files </item> + <item> get_loaded_extensions </item> + <item> get_magic_quotes_gpc </item> + <item> get_magic_quotes_runtime </item> + <item> get_meta_tags </item> + <item> get_object_vars </item> + <item> get_parent_class </item> + <item> get_required_files </item> + <item> get_resource_type </item> + <item> getallheaders </item> + <item> getcwd </item> + <item> getdate </item> + <item> getenv </item> + <item> gethostbyaddr </item> + <item> gethostbyname </item> + <item> gethostbynamel </item> + <item> getimagesize </item> + <item> getlastmod </item> + <item> getmxrr </item> + <item> getmygid </item> + <item> getmyinode </item> + <item> getmypid </item> + <item> getmyuid </item> + <item> getopt </item> + <item> getprotobyname </item> + <item> getprotobynumber </item> + <item> getrandmax </item> + <item> getrusage </item> + <item> getservbyname </item> + <item> getservbyport </item> + <item> gettext </item> + <item> gettimeofday </item> + <item> gettype </item> + <item> glob </item> + <item> global </item> + <item> gmdate </item> + <item> gmmktime </item> + <item> gmp_abs </item> + <item> gmp_add </item> + <item> gmp_and </item> + <item> gmp_clrbit </item> + <item> gmp_cmp </item> + <item> gmp_com </item> + <item> gmp_div </item> + <item> gmp_div_q </item> + <item> gmp_div_qr </item> + <item> gmp_div_r </item> + <item> gmp_divexact </item> + <item> gmp_fact </item> + <item> gmp_gcd </item> + <item> gmp_gcdext </item> + <item> gmp_hamdist </item> + <item> gmp_init </item> + <item> gmp_intval </item> + <item> gmp_invert </item> + <item> gmp_jacobi </item> + <item> gmp_legendre </item> + <item> gmp_mod </item> + <item> gmp_mul </item> + <item> gmp_neg </item> + <item> gmp_or </item> + <item> gmp_perfect_square </item> + <item> gmp_popcount </item> + <item> gmp_pow </item> + <item> gmp_powm </item> + <item> gmp_prob_prime </item> + <item> gmp_random </item> + <item> gmp_scan0 </item> + <item> gmp_scan1 </item> + <item> gmp_setbit </item> + <item> gmp_sign </item> + <item> gmp_sqrt </item> + <item> gmp_sqrtrem </item> + <item> gmp_strval </item> + <item> gmp_sub </item> + <item> gmp_xor </item> + <item> gmstrftime </item> + <item> gregoriantojd </item> + <item> gzclose </item> + <item> gzcompress </item> + <item> gzdeflate </item> + <item> gzencode </item> + <item> gzeof </item> + <item> gzfile </item> + <item> gzgetc </item> + <item> gzgets </item> + <item> gzgetss </item> + <item> gzinflate </item> + <item> gzopen </item> + <item> gzpassthru </item> + <item> gzputs </item> + <item> gzread </item> + <item> gzrewind </item> + <item> gzseek </item> + <item> gztell </item> + <item> gzuncompress </item> + <item> gzwrite </item> + <item> header </item> + <item> headers_list </item> + <item> headers_sent </item> + <item> hebrev </item> + <item> hebrevc </item> + <item> hexdec </item> + <item> highlight_file </item> + <item> highlight_string </item> + <item> html_entity_decode </item> + <item> htmlentities </item> + <item> htmlspecialchars </item> + <item> http_build_query </item> + <item> hw_array2objrec </item> + <item> hw_changeobject </item> + <item> hw_children </item> + <item> hw_childrenobj </item> + <item> hw_close </item> + <item> hw_connect </item> + <item> hw_connection_info </item> + <item> hw_cp </item> + <item> hw_deleteobject </item> + <item> hw_docbyanchor </item> + <item> hw_docbyanchorobj </item> + <item> hw_document_attributes </item> + <item> hw_document_bodytag </item> + <item> hw_document_content </item> + <item> hw_document_setcontent </item> + <item> hw_document_size </item> + <item> hw_dummy </item> + <item> hw_edittext </item> + <item> hw_error </item> + <item> hw_errormsg </item> + <item> hw_free_document </item> + <item> hw_getanchors </item> + <item> hw_getanchorsobj </item> + <item> hw_getandlock </item> + <item> hw_getchildcoll </item> + <item> hw_getchildcollobj </item> + <item> hw_getchilddoccoll </item> + <item> hw_getchilddoccollobj </item> + <item> hw_getobject </item> + <item> hw_getobjectbyquery </item> + <item> hw_getobjectbyquerycoll </item> + <item> hw_getobjectbyquerycollobj </item> + <item> hw_getobjectbyqueryobj </item> + <item> hw_getparents </item> + <item> hw_getparentsobj </item> + <item> hw_getrellink </item> + <item> hw_getremote </item> + <item> hw_getremotechildren </item> + <item> hw_getsrcbydestobj </item> + <item> hw_gettext </item> + <item> hw_getusername </item> + <item> hw_identify </item> + <item> hw_incollections </item> + <item> hw_info </item> + <item> hw_inscoll </item> + <item> hw_insdoc </item> + <item> hw_insertanchors </item> + <item> hw_insertdocument </item> + <item> hw_insertobject </item> + <item> hw_mapid </item> + <item> hw_modifyobject </item> + <item> hw_mv </item> + <item> hw_new_document </item> + <item> hw_objrec2array </item> + <item> hw_output_document </item> + <item> hw_pconnect </item> + <item> hw_pipedocument </item> + <item> hw_root </item> + <item> hw_setlinkroot </item> + <item> hw_stat </item> + <item> hw_unlock </item> + <item> hw_who </item> + <item> hypot </item> + <item> idate </item> + <item> ibase_blob_add </item> + <item> ibase_blob_cancel </item> + <item> ibase_blob_close </item> + <item> ibase_blob_create </item> + <item> ibase_blob_echo </item> + <item> ibase_blob_get </item> + <item> ibase_blob_import </item> + <item> ibase_blob_info </item> + <item> ibase_blob_open </item> + <item> ibase_close </item> + <item> ibase_commit </item> + <item> ibase_connect </item> + <item> ibase_errmsg </item> + <item> ibase_execute </item> + <item> ibase_fetch_object </item> + <item> ibase_fetch_row </item> + <item> ibase_field_info </item> + <item> ibase_free_query </item> + <item> ibase_free_result </item> + <item> ibase_num_fields </item> + <item> ibase_pconnect </item> + <item> ibase_prepare </item> + <item> ibase_query </item> + <item> ibase_rollback </item> + <item> ibase_timefmt </item> + <item> ibase_trans </item> + <item> icap_close </item> + <item> icap_create_calendar </item> + <item> icap_delete_calendar </item> + <item> icap_delete_event </item> + <item> icap_fetch_event </item> + <item> icap_list_alarms </item> + <item> icap_list_events </item> + <item> icap_open </item> + <item> icap_rename_calendar </item> + <item> icap_reopen </item> + <item> icap_snooze </item> + <item> icap_store_event </item> + <item> iconv </item> + <item> iconv_get_encoding </item> + <item> iconv_mime_decode </item> + <item> iconv_mime_decode_headers </item> + <item> iconv_mime_encode </item> + <item> iconv_set_encoding </item> + <item> ifx_affected_rows </item> + <item> ifx_blobinfile_mode </item> + <item> ifx_byteasvarchar </item> + <item> ifx_close </item> + <item> ifx_connect </item> + <item> ifx_copy_blob </item> + <item> ifx_create_blob </item> + <item> ifx_create_char </item> + <item> ifx_do </item> + <item> ifx_error </item> + <item> ifx_errormsg </item> + <item> ifx_fetch_row </item> + <item> ifx_fieldproperties </item> + <item> ifx_fieldtypes </item> + <item> ifx_free_blob </item> + <item> ifx_free_char </item> + <item> ifx_free_result </item> + <item> ifx_get_blob </item> + <item> ifx_get_char </item> + <item> ifx_getsqlca </item> + <item> ifx_htmltbl_result </item> + <item> ifx_nullformat </item> + <item> ifx_num_fields </item> + <item> ifx_num_rows </item> + <item> ifx_pconnect </item> + <item> ifx_prepare </item> + <item> ifx_query </item> + <item> ifx_textasvarchar </item> + <item> ifx_update_blob </item> + <item> ifx_update_char </item> + <item> ifxus_close_slob </item> + <item> ifxus_create_slob </item> + <item> ifxus_free_slob </item> + <item> ifxus_open_slob </item> + <item> ifxus_read_slob </item> + <item> ifxus_seek_slob </item> + <item> ifxus_tell_slob </item> + <item> ifxus_write_slob </item> + <item> ignore_user_abort </item> + <item> image2wbmp </item> + <item> image_type_to_mime_type </item> + <item> imagealphablending </item> + <item> imageantialias </item> + <item> imagearc </item> + <item> imagechar </item> + <item> imagecharup </item> + <item> imagecolorallocate </item> + <item> imagecolorallocatealpha </item> + <item> imagecolorat </item> + <item> imagecolorclosest </item> + <item> imagecolorclosestalpha </item> + <item> imagecolorclosesthwb </item> + <item> imagecolordeallocate </item> + <item> imagecolorexact </item> + <item> imagecolorexactalpha </item> + <item> imagecolormatch </item> + <item> imagecolorresolve </item> + <item> imagecolorresolvealpha </item> + <item> imagecolorset </item> + <item> imagecolorsforindex </item> + <item> imagecolorstotal </item> + <item> imagecolortransparent </item> + <item> imagecopy </item> + <item> imagecopymerge </item> + <item> imagecopymergegray </item> + <item> imagecopyresampled </item> + <item> imagecopyresized </item> + <item> imagecreate </item> + <item> imagecreatefromgd </item> + <item> imagecreatefromgd2 </item> + <item> imagecreatefromgd2part </item> + <item> imagecreatefromgif </item> + <item> imagecreatefromjpeg </item> + <item> imagecreatefrompng </item> + <item> imagecreatefromstring </item> + <item> imagecreatefromwbmp </item> + <item> imagecreatefromxbm </item> + <item> imagecreatefromxpm </item> + <item> imagecreatetruecolor </item> + <item> imagedashedline </item> + <item> imagedestroy </item> + <item> imageellipse </item> + <item> imagefill </item> + <item> imagefilledarc </item> + <item> imagefilledellipse </item> + <item> imagefilledpolygon </item> + <item> imagefilledrectangle </item> + <item> imagefilltoborder </item> + <item> imagefilter </item> + <item> imagefontheight </item> + <item> imagefontwidth </item> + <item> imageftbbox </item> + <item> imagefttext </item> + <item> imagegammacorrect </item> + <item> imagegd </item> + <item> imagegd2 </item> + <item> imagegif </item> + <item> imageinterlace </item> + <item> imageistruecolor </item> + <item> imagejpeg </item> + <item> imagelayereffect </item> + <item> imageline </item> + <item> imageloadfont </item> + <item> imagepalettecopy </item> + <item> imagepng </item> + <item> imagepolygon </item> + <item> imagepsbbox </item> + <item> imagepsencodefont </item> + <item> imagepsextendfont </item> + <item> imagepsfreefont </item> + <item> imagepsloadfont </item> + <item> imagepsslantfont </item> + <item> imagepstext </item> + <item> imagerectangle </item> + <item> imagerotate </item> + <item> imagesavealpha </item> + <item> imagesetbrush </item> + <item> imagesetpixel </item> + <item> imagesetstyle </item> + <item> imagesetthickness </item> + <item> imagesettile </item> + <item> imagestring </item> + <item> imagestringup </item> + <item> imagesx </item> + <item> imagesy </item> + <item> imagetruecolortopalette </item> + <item> imagettfbbox </item> + <item> imagettftext </item> + <item> imagetypes </item> + <item> imagewbmp </item> + <item> imagexbm </item> + <item> imap_8bit </item> + <item> imap_alerts </item> + <item> imap_append </item> + <item> imap_base64 </item> + <item> imap_binary </item> + <item> imap_body </item> + <item> imap_bodystruct </item> + <item> imap_check </item> + <item> imap_clearflag_full </item> + <item> imap_close </item> + <item> imap_create </item> + <item> imap_createmailbox </item> + <item> imap_delete </item> + <item> imap_deletemailbox </item> + <item> imap_errors </item> + <item> imap_expunge </item> + <item> imap_fetch_overview </item> + <item> imap_fetchbody </item> + <item> imap_fetchheader </item> + <item> imap_fetchstructure </item> + <item> imap_fetchtext </item> + <item> imap_get_quota </item> + <item> imap_get_quotaroot </item> + <item> imap_getacl </item> + <item> imap_getmailboxes </item> + <item> imap_getsubscribed </item> + <item> imap_header </item> + <item> imap_headerinfo </item> + <item> imap_headers </item> + <item> imap_last_error </item> + <item> imap_list </item> + <item> imap_listmailbox </item> + <item> imap_listsubscribed </item> + <item> imap_lsub </item> + <item> imap_mail </item> + <item> imap_mail_compose </item> + <item> imap_mail_copy </item> + <item> imap_mail_move </item> + <item> imap_mailboxmsginfo </item> + <item> imap_mime_header_decode </item> + <item> imap_msgno </item> + <item> imap_num_msg </item> + <item> imap_num_recent </item> + <item> imap_open </item> + <item> imap_ping </item> + <item> imap_popen </item> + <item> imap_qprint </item> + <item> imap_rename </item> + <item> imap_renamemailbox </item> + <item> imap_reopen </item> + <item> imap_rfc822_parse_adrlist </item> + <item> imap_rfc822_parse_headers </item> + <item> imap_rfc822_write_address </item> + <item> imap_scan </item> + <item> imap_scanmailbox </item> + <item> imap_search </item> + <item> imap_set_quota </item> + <item> imap_setacl </item> + <item> imap_setflag_full </item> + <item> imap_sort </item> + <item> imap_status </item> + <item> imap_subscribe </item> + <item> imap_thread </item> + <item> imap_timeout </item> + <item> imap_uid </item> + <item> imap_undelete </item> + <item> imap_unsubscribe </item> + <item> imap_utf7_decode </item> + <item> imap_utf7_encode </item> + <item> imap_utf8 </item> + <item> implode </item> + <item> import_request_variables </item> + <item> in_array </item> + <item> include </item> + <item> include_once </item> + <item> ingres_autocommit </item> + <item> ingres_close </item> + <item> ingres_commit </item> + <item> ingres_connect </item> + <item> ingres_fetch_array </item> + <item> ingres_fetch_object </item> + <item> ingres_fetch_row </item> + <item> ingres_field_length </item> + <item> ingres_field_name </item> + <item> ingres_field_nullable </item> + <item> ingres_field_precision </item> + <item> ingres_field_scale </item> + <item> ingres_field_type </item> + <item> ingres_num_fields </item> + <item> ingres_num_rows </item> + <item> ingres_pconnect </item> + <item> ingres_query </item> + <item> ingres_rollback </item> + <item> ini_alter </item> + <item> ini_get </item> + <item> ini_get_all </item> + <item> ini_restore </item> + <item> ini_set </item> + <item> interface_exists </item> + <item> intval </item> + <item> ip2long </item> + <item> iptcembed </item> + <item> iptcparse </item> + <item> ircg_channel_mode </item> + <item> ircg_disconnect </item> + <item> ircg_fetch_error_msg </item> + <item> ircg_get_username </item> + <item> ircg_html_encode </item> + <item> ircg_ignore_add </item> + <item> ircg_ignore_del </item> + <item> ircg_is_conn_alive </item> + <item> ircg_join </item> + <item> ircg_kick </item> + <item> ircg_lookup_format_messages </item> + <item> ircg_msg </item> + <item> ircg_nick </item> + <item> ircg_nickname_escape </item> + <item> ircg_nickname_unescape </item> + <item> ircg_notice </item> + <item> ircg_part </item> + <item> ircg_pconnect </item> + <item> ircg_register_format_messages </item> + <item> ircg_set_current </item> + <item> ircg_set_file </item> + <item> ircg_set_on_die </item> + <item> ircg_topic </item> + <item> ircg_whois </item> + <item> is_a </item> + <item> is_array </item> + <item> is_bool </item> + <item> is_callable </item> + <item> is_dir </item> + <item> is_double </item> + <item> is_executable </item> + <item> is_file </item> + <item> is_finite </item> + <item> is_float </item> + <item> is_infinite </item> + <item> is_int </item> + <item> is_integer </item> + <item> is_link </item> + <item> is_long </item> + <item> is_nan </item> + <item> is_null </item> + <item> is_numeric </item> + <item> is_object </item> + <item> is_readable </item> + <item> is_real </item> + <item> is_resource </item> + <item> is_scalar </item> + <item> is_string </item> + <item> is_subclass_of </item> + <item> is_uploaded_file </item> + <item> is_writable </item> + <item> is_writeable </item> + <item> isset </item> + <item> java_last_exception_clear </item> + <item> java_last_exception_get </item> + <item> jddayofweek </item> + <item> jdmonthname </item> + <item> jdtofrench </item> + <item> jdtogregorian </item> + <item> jdtojewish </item> + <item> jdtojulian </item> + <item> jdtounix </item> + <item> jewishtojd </item> + <item> join </item> + <item> jpeg2wbmp </item> + <item> juliantojd </item> + <item> key </item> + <item> key_exists </item> + <item> krsort </item> + <item> ksort </item> + <item> lcg_value </item> + <item> ldap_8859_to_t61 </item> + <item> ldap_add </item> + <item> ldap_bind </item> + <item> ldap_close </item> + <item> ldap_compare </item> + <item> ldap_connect </item> + <item> ldap_count_entries </item> + <item> ldap_delete </item> + <item> ldap_dn2ufn </item> + <item> ldap_err2str </item> + <item> ldap_errno </item> + <item> ldap_error </item> + <item> ldap_explode_dn </item> + <item> ldap_first_attribute </item> + <item> ldap_first_entry </item> + <item> ldap_first_reference </item> + <item> ldap_free_result </item> + <item> ldap_get_attributes </item> + <item> ldap_get_dn </item> + <item> ldap_get_entries </item> + <item> ldap_get_option </item> + <item> ldap_get_values </item> + <item> ldap_get_values_len </item> + <item> ldap_list </item> + <item> ldap_mod_add </item> + <item> ldap_mod_del </item> + <item> ldap_mod_replace </item> + <item> ldap_modify </item> + <item> ldap_next_attribute </item> + <item> ldap_next_entry </item> + <item> ldap_next_reference </item> + <item> ldap_parse_reference </item> + <item> ldap_parse_result </item> + <item> ldap_read </item> + <item> ldap_rename </item> + <item> ldap_search </item> + <item> ldap_set_option </item> + <item> ldap_set_rebind_proc </item> + <item> ldap_sort </item> + <item> ldap_start_tls </item> + <item> ldap_t61_to_8859 </item> + <item> ldap_unbind </item> + <item> leak </item> + <item> levenshtein </item> + <item> libxml_set_streams_context </item> + <item> link </item> + <item> linkinfo </item> + <item> list </item> + <item> localeconv </item> + <item> localtime </item> + <item> log </item> + <item> log10 </item> + <item> log1p </item> + <item> long2ip </item> + <item> lstat </item> + <item> ltrim </item> + <item> magic_quotes_runtime </item> + <item> mail </item> + <item> mailparse_determine_best_xfer_encoding </item> + <item> mailparse_msg_create </item> + <item> mailparse_msg_extract_part </item> + <item> mailparse_msg_extract_part_file </item> + <item> mailparse_msg_free </item> + <item> mailparse_msg_get_part </item> + <item> mailparse_msg_get_part_data </item> + <item> mailparse_msg_get_structure </item> + <item> mailparse_msg_parse </item> + <item> mailparse_msg_parse_file </item> + <item> mailparse_rfc822_parse_addresses </item> + <item> mailparse_stream_encode </item> + <item> mailparse_uudecode_all </item> + <item> max </item> + <item> mb_convert_case </item> + <item> mb_convert_encoding </item> + <item> mb_convert_kana </item> + <item> mb_convert_variables </item> + <item> mb_decode_mimeheader </item> + <item> mb_decode_numericentity </item> + <item> mb_detect_encoding </item> + <item> mb_detect_order </item> + <item> mb_encode_mimeheader </item> + <item> mb_encode_numericentity </item> + <item> mb_ereg </item> + <item> mb_ereg_match </item> + <item> mb_ereg_replace </item> + <item> mb_ereg_search </item> + <item> mb_ereg_search_getpos </item> + <item> mb_ereg_search_getregs </item> + <item> mb_ereg_search_init </item> + <item> mb_ereg_search_pos </item> + <item> mb_ereg_search_regs </item> + <item> mb_ereg_search_setpos </item> + <item> mb_eregi </item> + <item> mb_eregi_replace </item> + <item> mb_get_info </item> + <item> mb_http_input </item> + <item> mb_http_output </item> + <item> mb_internal_encoding </item> + <item> mb_language </item> + <item> mb_output_handler </item> + <item> mb_parse_str </item> + <item> mb_preferred_mime_name </item> + <item> mb_regex_encoding </item> + <item> mb_regex_set_options </item> + <item> mb_send_mail </item> + <item> mb_split </item> + <item> mb_strcut </item> + <item> mb_strimwidth </item> + <item> mb_strlen </item> + <item> mb_strpos </item> + <item> mb_strrpos </item> + <item> mb_strtolower </item> + <item> mb_strtoupper </item> + <item> mb_strwidth </item> + <item> mb_substitute_character </item> + <item> mb_substr </item> + <item> mcal_append_event </item> + <item> mcal_close </item> + <item> mcal_create_calendar </item> + <item> mcal_date_compare </item> + <item> mcal_date_valid </item> + <item> mcal_day_of_week </item> + <item> mcal_day_of_year </item> + <item> mcal_days_in_month </item> + <item> mcal_delete_calendar </item> + <item> mcal_delete_event </item> + <item> mcal_event_add_attribute </item> + <item> mcal_event_init </item> + <item> mcal_event_set_alarm </item> + <item> mcal_event_set_category </item> + <item> mcal_event_set_class </item> + <item> mcal_event_set_description </item> + <item> mcal_event_set_end </item> + <item> mcal_event_set_recur_daily </item> + <item> mcal_event_set_recur_monthly_mday </item> + <item> mcal_event_set_recur_monthly_wday </item> + <item> mcal_event_set_recur_none </item> + <item> mcal_event_set_recur_weekly </item> + <item> mcal_event_set_recur_yearly </item> + <item> mcal_event_set_start </item> + <item> mcal_event_set_title </item> + <item> mcal_expunge </item> + <item> mcal_fetch_current_stream_event </item> + <item> mcal_fetch_event </item> + <item> mcal_is_leap_year </item> + <item> mcal_list_alarms </item> + <item> mcal_list_events </item> + <item> mcal_next_recurrence </item> + <item> mcal_open </item> + <item> mcal_popen </item> + <item> mcal_rename_calendar </item> + <item> mcal_reopen </item> + <item> mcal_snooze </item> + <item> mcal_store_event </item> + <item> mcal_time_valid </item> + <item> mcal_week_of_year </item> + <item> mcrypt_cbc </item> + <item> mcrypt_cfb </item> + <item> mcrypt_create_iv </item> + <item> mcrypt_decrypt </item> + <item> mcrypt_ecb </item> + <item> mcrypt_enc_get_algorithms_name </item> + <item> mcrypt_enc_get_block_size </item> + <item> mcrypt_enc_get_iv_size </item> + <item> mcrypt_enc_get_key_size </item> + <item> mcrypt_enc_get_modes_name </item> + <item> mcrypt_enc_get_supported_key_sizes </item> + <item> mcrypt_enc_is_block_algorithm </item> + <item> mcrypt_enc_is_block_algorithm_mode </item> + <item> mcrypt_enc_is_block_mode </item> + <item> mcrypt_enc_self_test </item> + <item> mcrypt_encrypt </item> + <item> mcrypt_generic </item> + <item> mcrypt_generic_deinit </item> + <item> mcrypt_generic_end </item> + <item> mcrypt_generic_init </item> + <item> mcrypt_get_block_size </item> + <item> mcrypt_get_cipher_name </item> + <item> mcrypt_get_iv_size </item> + <item> mcrypt_get_key_size </item> + <item> mcrypt_list_algorithms </item> + <item> mcrypt_list_modes </item> + <item> mcrypt_module_close </item> + <item> mcrypt_module_get_algo_block_size </item> + <item> mcrypt_module_get_algo_key_size </item> + <item> mcrypt_module_get_supported_key_sizes </item> + <item> mcrypt_module_is_block_algorithm </item> + <item> mcrypt_module_is_block_algorithm_mode </item> + <item> mcrypt_module_is_block_mode </item> + <item> mcrypt_module_open </item> + <item> mcrypt_module_self_test </item> + <item> mcrypt_ofb </item> + <item> md5 </item> + <item> md5_file </item> + <item> mdecrypt_generic </item> + <item> memory_get_usage </item> + <item> metaphone </item> + <item> method_exists </item> + <item> mhash </item> + <item> mhash_count </item> + <item> mhash_get_block_size </item> + <item> mhash_get_hash_name </item> + <item> mhash_keygen_s2k </item> + <item> microtime </item> + <item> min </item> + <item> ming_setcubicthreshold </item> + <item> ming_setscale </item> + <item> ming_useswfversion </item> + <item> mkdir </item> + <item> mktime </item> + <item> money_format </item> + <item> move_uploaded_file </item> + <item> msg_get_queue </item> + <item> msg_receive </item> + <item> msg_remove_queue </item> + <item> msg_send </item> + <item> msg_set_queue </item> + <item> msg_stat_queue </item> + <item> msession_connect </item> + <item> msession_count </item> + <item> msession_create </item> + <item> msession_destroy </item> + <item> msession_disconnect </item> + <item> msession_find </item> + <item> msession_get </item> + <item> msession_get_array </item> + <item> msession_getdata </item> + <item> msession_inc </item> + <item> msession_list </item> + <item> msession_listvar </item> + <item> msession_lock </item> + <item> msession_plugin </item> + <item> msession_randstr </item> + <item> msession_set </item> + <item> msession_set_array </item> + <item> msession_setdata </item> + <item> msession_timeout </item> + <item> msession_uniq </item> + <item> msession_unlock </item> + <item> msql </item> + <item> msql_affected_rows </item> + <item> msql_close </item> + <item> msql_connect </item> + <item> msql_create_db </item> + <item> msql_createdb </item> + <item> msql_data_seek </item> + <item> msql_dbname </item> + <item> msql_drop_db </item> + <item> msql_dropdb </item> + <item> msql_error </item> + <item> msql_fetch_array </item> + <item> msql_fetch_field </item> + <item> msql_fetch_object </item> + <item> msql_fetch_row </item> + <item> msql_field_seek </item> + <item> msql_fieldflags </item> + <item> msql_fieldlen </item> + <item> msql_fieldname </item> + <item> msql_fieldtable </item> + <item> msql_fieldtype </item> + <item> msql_free_result </item> + <item> msql_freeresult </item> + <item> msql_list_dbs </item> + <item> msql_list_fields </item> + <item> msql_list_tables </item> + <item> msql_listdbs </item> + <item> msql_listfields </item> + <item> msql_listtables </item> + <item> msql_num_fields </item> + <item> msql_num_rows </item> + <item> msql_numfields </item> + <item> msql_numrows </item> + <item> msql_pconnect </item> + <item> msql_query </item> + <item> msql_regcase </item> + <item> msql_result </item> + <item> msql_select_db </item> + <item> msql_selectdb </item> + <item> msql_tablename </item> + <item> mssql_bind </item> + <item> mssql_close </item> + <item> mssql_connect </item> + <item> mssql_data_seek </item> + <item> mssql_execute </item> + <item> mssql_fetch_array </item> + <item> mssql_fetch_assoc </item> + <item> mssql_fetch_batch </item> + <item> mssql_fetch_field </item> + <item> mssql_fetch_object </item> + <item> mssql_fetch_row </item> + <item> mssql_field_length </item> + <item> mssql_field_name </item> + <item> mssql_field_seek </item> + <item> mssql_field_type </item> + <item> mssql_free_result </item> + <item> mssql_get_last_message </item> + <item> mssql_guid_string </item> + <item> mssql_init </item> + <item> mssql_min_error_severity </item> + <item> mssql_min_message_severity </item> + <item> mssql_next_result </item> + <item> mssql_num_fields </item> + <item> mssql_num_rows </item> + <item> mssql_pconnect </item> + <item> mssql_query </item> + <item> mssql_result </item> + <item> mssql_rows_affected </item> + <item> mssql_select_db </item> + <item> mt_getrandmax </item> + <item> mt_rand </item> + <item> mt_srand </item> + <item> muscat_close </item> + <item> muscat_get </item> + <item> muscat_give </item> + <item> muscat_setup </item> + <item> muscat_setup_net </item> + <item> mysql </item> + <item> mysql_affected_rows </item> + <item> mysql_client_encoding </item> + <item> mysql_change_user </item> + <item> mysql_character_set_name </item> + <item> mysql_close </item> + <item> mysql_connect </item> + <item> mysql_create_db </item> + <item> mysql_data_seek </item> + <item> mysql_db_name </item> + <item> mysql_db_query </item> + <item> mysql_dbname </item> + <item> mysql_drop_db </item> + <item> mysql_errno </item> + <item> mysql_error </item> + <item> mysql_escape_string </item> + <item> mysql_fetch_array </item> + <item> mysql_fetch_assoc </item> + <item> mysql_fetch_field </item> + <item> mysql_fetch_lengths </item> + <item> mysql_fetch_object </item> + <item> mysql_fetch_row </item> + <item> mysql_field_flags </item> + <item> mysql_field_len </item> + <item> mysql_field_name </item> + <item> mysql_field_seek </item> + <item> mysql_field_table </item> + <item> mysql_field_type </item> + <item> mysql_fieldflags </item> + <item> mysql_fieldlen </item> + <item> mysql_fieldname </item> + <item> mysql_fieldtable </item> + <item> mysql_fieldtype </item> + <item> mysql_free_result </item> + <item> mysql_freeresult </item> + <item> mysql_get_client_info </item> + <item> mysql_get_host_info </item> + <item> mysql_get_proto_info </item> + <item> mysql_get_server_info </item> + <item> mysql_info </item> + <item> mysql_insert_id </item> + <item> mysql_list_dbs </item> + <item> mysql_list_fields </item> + <item> mysql_list_processes </item> + <item> mysql_list_tables </item> + <item> mysql_listdbs </item> + <item> mysql_listfields </item> + <item> mysql_listtables </item> + <item> mysql_num_fields </item> + <item> mysql_num_rows </item> + <item> mysql_numfields </item> + <item> mysql_numrows </item> + <item> mysql_pconnect </item> + <item> mysql_ping </item> + <item> mysql_query </item> + <item> mysql_real_escape_string </item> + <item> mysql_result </item> + <item> mysql_select_db </item> + <item> mysql_selectdb </item> + <item> mysql_stat </item> + <item> mysql_table_name </item> + <item> mysql_tablename </item> + <item> mysql_thread_id </item> + <item> mysql_unbuffered_query </item> + <item> mysqli_affected_rows </item> + <item> mysqli_autocommit </item> + <item> mysqli_bind_param </item> + <item> mysqli_bind_result </item> + <item> mysqli_change_user </item> + <item> mysqli_character_set_name </item> + <item> mysqli_client_encoding </item> + <item> mysqli_close </item> + <item> mysqli_commit </item> + <item> mysqli_connect </item> + <item> mysqli_connect_errno </item> + <item> mysqli_connect_error </item> + <item> mysqli_data_seek </item> + <item> mysqli_debug </item> + <item> mysqli_disable_reads_from_master </item> + <item> mysqli_disable_rpl_parse </item> + <item> mysqli_dump_debug_info </item> + <item> mysqli_enable_reads_from_master </item> + <item> mysqli_enable_rpl_parse </item> + <item> mysqli_errno </item> + <item> mysqli_error </item> + <item> mysqli_escape_string </item> + <item> mysqli_execute </item> + <item> mysqli_fetch </item> + <item> mysqli_fetch_array </item> + <item> mysqli_fetch_assoc </item> + <item> mysqli_fetch_field </item> + <item> mysqli_fetch_field_direct </item> + <item> mysqli_fetch_fields </item> + <item> mysqli_fetch_lengths </item> + <item> mysqli_fetch_object </item> + <item> mysqli_fetch_row </item> + <item> mysqli_field_count </item> + <item> mysqli_field_seek </item> + <item> mysqli_field_tell </item> + <item> mysqli_free_result </item> + <item> mysqli_get_client_info </item> + <item> mysqli_get_client_version </item> + <item> mysqli_get_host_info </item> + <item> mysqli_get_metadata </item> + <item> mysqli_get_proto_info </item> + <item> mysqli_get_server_info </item> + <item> mysqli_get_server_version </item> + <item> mysqli_info </item> + <item> mysqli_init </item> + <item> mysqli_insert_id </item> + <item> mysqli_kill </item> + <item> mysqli_master_query </item> + <item> mysqli_more_results </item> + <item> mysqli_multi_query </item> + <item> mysqli_next_result </item> + <item> mysqli_num_fields </item> + <item> mysqli_num_rows </item> + <item> mysqli_options </item> + <item> mysqli_param_count </item> + <item> mysqli_ping </item> + <item> mysqli_prepare </item> + <item> mysqli_query </item> + <item> mysqli_real_connect </item> + <item> mysqli_real_escape_string </item> + <item> mysqli_real_query </item> + <item> mysqli_report </item> + <item> mysqli_rollback </item> + <item> mysqli_rpl_parse_enabled </item> + <item> mysqli_rpl_probe </item> + <item> mysqli_rpl_query_type </item> + <item> mysqli_select_db </item> + <item> mysqli_send_long_data </item> + <item> mysqli_send_query </item> + <item> mysqli_set_local_infile_default </item> + <item> mysqli_set_local_infile_handler </item> + <item> mysqli_set_opt </item> + <item> mysqli_slave_query </item> + <item> mysqli_sqlstate </item> + <item> mysqli_ssl_set </item> + <item> mysqli_stat </item> + <item> mysqli_stmt_affected_rows </item> + <item> mysqli_stmt_attr_get </item> + <item> mysqli_stmt_attr_set </item> + <item> mysqli_stmt_bind_param </item> + <item> mysqli_stmt_bind_result </item> + <item> mysqli_stmt_close </item> + <item> mysqli_stmt_data_seek </item> + <item> mysqli_stmt_errno </item> + <item> mysqli_stmt_error </item> + <item> mysqli_stmt_execute </item> + <item> mysqli_stmt_fetch </item> + <item> mysqli_stmt_field_count </item> + <item> mysqli_stmt_free_result </item> + <item> mysqli_stmt_init </item> + <item> mysqli_stmt_insert_id </item> + <item> mysqli_stmt_num_rows </item> + <item> mysqli_stmt_param_count </item> + <item> mysqli_stmt_prepare </item> + <item> mysqli_stmt_reset </item> + <item> mysqli_stmt_result_metadata </item> + <item> mysqli_stmt_send_long_data </item> + <item> mysqli_stmt_sqlstate </item> + <item> mysqli_stmt_store_result </item> + <item> mysqli_store_result </item> + <item> mysqli_thread_id </item> + <item> mysqli_thread_safe </item> + <item> mysqli_use_result </item> + <item> mysqli_warning_count </item> + <item> natcasesort </item> + <item> natsort </item> + <item> ncurses_addch </item> + <item> ncurses_addchnstr </item> + <item> ncurses_addchstr </item> + <item> ncurses_addnstr </item> + <item> ncurses_addstr </item> + <item> ncurses_assume_default_colors </item> + <item> ncurses_attroff </item> + <item> ncurses_attron </item> + <item> ncurses_attrset </item> + <item> ncurses_baudrate </item> + <item> ncurses_beep </item> + <item> ncurses_bkgd </item> + <item> ncurses_bkgdset </item> + <item> ncurses_border </item> + <item> ncurses_bottom_panel </item> + <item> ncurses_can_change_color </item> + <item> ncurses_cbreak </item> + <item> ncurses_clear </item> + <item> ncurses_clrtobot </item> + <item> ncurses_clrtoeol </item> + <item> ncurses_color_content </item> + <item> ncurses_color_set </item> + <item> ncurses_curs_set </item> + <item> ncurses_def_prog_mode </item> + <item> ncurses_def_shell_mode </item> + <item> ncurses_define_key </item> + <item> ncurses_del_panel </item> + <item> ncurses_delay_output </item> + <item> ncurses_delch </item> + <item> ncurses_deleteln </item> + <item> ncurses_delwin </item> + <item> ncurses_doupdate </item> + <item> ncurses_echo </item> + <item> ncurses_echochar </item> + <item> ncurses_end </item> + <item> ncurses_erase </item> + <item> ncurses_erasechar </item> + <item> ncurses_filter </item> + <item> ncurses_flash </item> + <item> ncurses_flushinp </item> + <item> ncurses_getch </item> + <item> ncurses_getmaxyx </item> + <item> ncurses_getmouse </item> + <item> ncurses_getyx </item> + <item> ncurses_halfdelay </item> + <item> ncurses_has_colors </item> + <item> ncurses_has_ic </item> + <item> ncurses_has_il </item> + <item> ncurses_has_key </item> + <item> ncurses_hide_panel </item> + <item> ncurses_hline </item> + <item> ncurses_inch </item> + <item> ncurses_init </item> + <item> ncurses_init_color </item> + <item> ncurses_init_pair </item> + <item> ncurses_insch </item> + <item> ncurses_insdelln </item> + <item> ncurses_insertln </item> + <item> ncurses_insstr </item> + <item> ncurses_instr </item> + <item> ncurses_isendwin </item> + <item> ncurses_keyok </item> + <item> ncurses_keypad </item> + <item> ncurses_killchar </item> + <item> ncurses_longname </item> + <item> ncurses_meta </item> + <item> ncurses_mouse_trafo </item> + <item> ncurses_mouseinterval </item> + <item> ncurses_mousemask </item> + <item> ncurses_move </item> + <item> ncurses_move_panel </item> + <item> ncurses_mvaddch </item> + <item> ncurses_mvaddchnstr </item> + <item> ncurses_mvaddchstr </item> + <item> ncurses_mvaddnstr </item> + <item> ncurses_mvaddstr </item> + <item> ncurses_mvcur </item> + <item> ncurses_mvdelch </item> + <item> ncurses_mvgetch </item> + <item> ncurses_mvhline </item> + <item> ncurses_mvinch </item> + <item> ncurses_mvvline </item> + <item> ncurses_mvwaddstr </item> + <item> ncurses_napms </item> + <item> ncurses_new_panel </item> + <item> ncurses_newpad </item> + <item> ncurses_newwin </item> + <item> ncurses_nl </item> + <item> ncurses_nocbreak </item> + <item> ncurses_noecho </item> + <item> ncurses_nonl </item> + <item> ncurses_noqiflush </item> + <item> ncurses_noraw </item> + <item> ncurses_pair_content </item> + <item> ncurses_panel_above </item> + <item> ncurses_panel_below </item> + <item> ncurses_panel_window </item> + <item> ncurses_pnoutrefresh </item> + <item> ncurses_prefresh </item> + <item> ncurses_putp </item> + <item> ncurses_qiflush </item> + <item> ncurses_raw </item> + <item> ncurses_refresh </item> + <item> ncurses_replace_panel </item> + <item> ncurses_reset_prog_mode </item> + <item> ncurses_reset_shell_mode </item> + <item> ncurses_resetty </item> + <item> ncurses_savetty </item> + <item> ncurses_scr_dump </item> + <item> ncurses_scr_init </item> + <item> ncurses_scr_restore </item> + <item> ncurses_scr_set </item> + <item> ncurses_scrl </item> + <item> ncurses_show_panel </item> + <item> ncurses_slk_attr </item> + <item> ncurses_slk_attroff </item> + <item> ncurses_slk_attron </item> + <item> ncurses_slk_attrset </item> + <item> ncurses_slk_clear </item> + <item> ncurses_slk_color </item> + <item> ncurses_slk_init </item> + <item> ncurses_slk_noutrefresh </item> + <item> ncurses_slk_refresh </item> + <item> ncurses_slk_restore </item> + <item> ncurses_slk_set </item> + <item> ncurses_slk_touch </item> + <item> ncurses_standend </item> + <item> ncurses_standout </item> + <item> ncurses_start_color </item> + <item> ncurses_termattrs </item> + <item> ncurses_termname </item> + <item> ncurses_timeout </item> + <item> ncurses_top_panel </item> + <item> ncurses_typeahead </item> + <item> ncurses_ungetch </item> + <item> ncurses_ungetmouse </item> + <item> ncurses_update_panels </item> + <item> ncurses_use_default_colors </item> + <item> ncurses_use_env </item> + <item> ncurses_use_extended_names </item> + <item> ncurses_vidattr </item> + <item> ncurses_vline </item> + <item> ncurses_waddch </item> + <item> ncurses_waddstr </item> + <item> ncurses_wattroff </item> + <item> ncurses_wattron </item> + <item> ncurses_wattrset </item> + <item> ncurses_wborder </item> + <item> ncurses_wclear </item> + <item> ncurses_wcolor_set </item> + <item> ncurses_werase </item> + <item> ncurses_wgetch </item> + <item> ncurses_whline </item> + <item> ncurses_wmouse_trafo </item> + <item> ncurses_wmove </item> + <item> ncurses_wnoutrefresh </item> + <item> ncurses_wrefresh </item> + <item> ncurses_wstandend </item> + <item> ncurses_wstandout </item> + <item> ncurses_wvline </item> + <item> next </item> + <item> ngettext </item> + <item> nl2br </item> + <item> nl_langinfo </item> + <item> notes_body </item> + <item> notes_copy_db </item> + <item> notes_create_db </item> + <item> notes_create_note </item> + <item> notes_drop_db </item> + <item> notes_find_note </item> + <item> notes_header_info </item> + <item> notes_list_msgs </item> + <item> notes_mark_read </item> + <item> notes_mark_unread </item> + <item> notes_nav_create </item> + <item> notes_search </item> + <item> notes_unread </item> + <item> notes_version </item> + <item> number_format </item> + <item> ob_clean </item> + <item> ob_end_clean </item> + <item> ob_end_flush </item> + <item> ob_flush </item> + <item> ob_get_clean </item> + <item> ob_get_contents </item> + <item> ob_get_flush </item> + <item> ob_get_length </item> + <item> ob_get_level </item> + <item> ob_get_status </item> + <item> ob_gzhandler </item> + <item> ob_iconv_handler </item> + <item> ob_implicit_flush </item> + <item> ob_list_handlers </item> + <item> ob_start </item> + <item> ocibindbyname </item> + <item> ocicancel </item> + <item> ocicollappend </item> + <item> ocicollassign </item> + <item> ocicollassignelem </item> + <item> ocicollgetelem </item> + <item> ocicollmax </item> + <item> ocicollsize </item> + <item> ocicolltrim </item> + <item> ocicolumnisnull </item> + <item> ocicolumnname </item> + <item> ocicolumnprecision </item> + <item> ocicolumnscale </item> + <item> ocicolumnsize </item> + <item> ocicolumntype </item> + <item> ocicolumntyperaw </item> + <item> ocicommit </item> + <item> ocidefinebyname </item> + <item> ocierror </item> + <item> ociexecute </item> + <item> ocifetch </item> + <item> ocifetchinto </item> + <item> ocifetchstatement </item> + <item> ocifreecollection </item> + <item> ocifreecursor </item> + <item> ocifreedesc </item> + <item> ocifreestatement </item> + <item> ociinternaldebug </item> + <item> ociloadlob </item> + <item> ocilogoff </item> + <item> ocilogon </item> + <item> ocinewcollection </item> + <item> ocinewcursor </item> + <item> ocinewdescriptor </item> + <item> ocinlogon </item> + <item> ocinumcols </item> + <item> ociparse </item> + <item> ociplogon </item> + <item> ociresult </item> + <item> ocirollback </item> + <item> ocirowcount </item> + <item> ocisavelob </item> + <item> ocisavelobfile </item> + <item> ociserverversion </item> + <item> ocisetprefetch </item> + <item> ocistatementtype </item> + <item> ociwritelobtofile </item> + <item> octdec </item> + <item> odbc_autocommit </item> + <item> odbc_binmode </item> + <item> odbc_close </item> + <item> odbc_close_all </item> + <item> odbc_columnprivileges </item> + <item> odbc_columns </item> + <item> odbc_commit </item> + <item> odbc_connect </item> + <item> odbc_cursor </item> + <item> odbc_data_source </item> + <item> odbc_do </item> + <item> odbc_error </item> + <item> odbc_errormsg </item> + <item> odbc_exec </item> + <item> odbc_execute </item> + <item> odbc_fetch_array </item> + <item> odbc_fetch_into </item> + <item> odbc_fetch_object </item> + <item> odbc_fetch_row </item> + <item> odbc_field_len </item> + <item> odbc_field_name </item> + <item> odbc_field_num </item> + <item> odbc_field_precision </item> + <item> odbc_field_scale </item> + <item> odbc_field_type </item> + <item> odbc_foreignkeys </item> + <item> odbc_free_result </item> + <item> odbc_gettypeinfo </item> + <item> odbc_longreadlen </item> + <item> odbc_next_result </item> + <item> odbc_num_fields </item> + <item> odbc_num_rows </item> + <item> odbc_pconnect </item> + <item> odbc_prepare </item> + <item> odbc_primarykeys </item> + <item> odbc_procedurecolumns </item> + <item> odbc_procedures </item> + <item> odbc_result </item> + <item> odbc_result_all </item> + <item> odbc_rollback </item> + <item> odbc_setoption </item> + <item> odbc_specialcolumns </item> + <item> odbc_statistics </item> + <item> odbc_tableprivileges </item> + <item> odbc_tables </item> + <item> opendir </item> + <item> openlog </item> + <item> openssl_csr_export </item> + <item> openssl_csr_export_to_file </item> + <item> openssl_csr_new </item> + <item> openssl_csr_sign </item> + <item> openssl_error_string </item> + <item> openssl_free_key </item> + <item> openssl_get_privatekey </item> + <item> openssl_get_publickey </item> + <item> openssl_open </item> + <item> openssl_pkcs7_decrypt </item> + <item> openssl_pkcs7_encrypt </item> + <item> openssl_pkcs7_sign </item> + <item> openssl_pkcs7_verify </item> + <item> openssl_pkey_export </item> + <item> openssl_pkey_export_to_file </item> + <item> openssl_pkey_free </item> + <item> openssl_pkey_get_private </item> + <item> openssl_pkey_get_public </item> + <item> openssl_pkey_new </item> + <item> openssl_private_decrypt </item> + <item> openssl_private_encrypt </item> + <item> openssl_public_decrypt </item> + <item> openssl_public_encrypt </item> + <item> openssl_seal </item> + <item> openssl_sign </item> + <item> openssl_verify </item> + <item> openssl_x509_check_private_key </item> + <item> openssl_x509_checkpurpose </item> + <item> openssl_x509_export </item> + <item> openssl_x509_export_to_file </item> + <item> openssl_x509_free </item> + <item> openssl_x509_parse </item> + <item> openssl_x509_read </item> + <item> ora_bind </item> + <item> ora_close </item> + <item> ora_columnname </item> + <item> ora_columnsize </item> + <item> ora_columntype </item> + <item> ora_commit </item> + <item> ora_commitoff </item> + <item> ora_commiton </item> + <item> ora_do </item> + <item> ora_error </item> + <item> ora_errorcode </item> + <item> ora_exec </item> + <item> ora_fetch </item> + <item> ora_fetch_into </item> + <item> ora_getcolumn </item> + <item> ora_logoff </item> + <item> ora_logon </item> + <item> ora_numcols </item> + <item> ora_numrows </item> + <item> ora_open </item> + <item> ora_parse </item> + <item> ora_plogon </item> + <item> ora_rollback </item> + <item> ord </item> + <item> output_add_rewrite_var </item> + <item> output_reset_rewrite_vars </item> + <item> overload </item> + <item> ovrimos_close </item> + <item> ovrimos_commit </item> + <item> ovrimos_connect </item> + <item> ovrimos_cursor </item> + <item> ovrimos_exec </item> + <item> ovrimos_execute </item> + <item> ovrimos_fetch_into </item> + <item> ovrimos_fetch_row </item> + <item> ovrimos_field_len </item> + <item> ovrimos_field_name </item> + <item> ovrimos_field_num </item> + <item> ovrimos_field_type </item> + <item> ovrimos_free_result </item> + <item> ovrimos_longreadlen </item> + <item> ovrimos_num_fields </item> + <item> ovrimos_num_rows </item> + <item> ovrimos_prepare </item> + <item> ovrimos_result </item> + <item> ovrimos_result_all </item> + <item> ovrimos_rollback </item> + <item> pack </item> + <item> parse_ini_file </item> + <item> parse_str </item> + <item> parse_url </item> + <item> passthru </item> + <item> pathinfo </item> + <item> pclose </item> + <item> pcntl_alarm </item> + <item> pcntl_exec </item> + <item> pcntl_fork </item> + <item> pcntl_getpriority </item> + <item> pcntl_setpriority </item> + <item> pcntl_signal </item> + <item> pcntl_wait </item> + <item> pcntl_waitpid </item> + <item> pcntl_wexitstatus </item> + <item> pcntl_wifexited </item> + <item> pcntl_wifsignaled </item> + <item> pcntl_wifstopped </item> + <item> pcntl_wstopsig </item> + <item> pcntl_wtermsig </item> + <item> pdf_add_annotation </item> + <item> pdf_add_bookmark </item> + <item> pdf_add_launchlink </item> + <item> pdf_add_locallink </item> + <item> pdf_add_note </item> + <item> pdf_add_outline </item> + <item> pdf_add_pdflink </item> + <item> pdf_add_thumbnail </item> + <item> pdf_add_weblink </item> + <item> pdf_arc </item> + <item> pdf_arcn </item> + <item> pdf_attach_file </item> + <item> pdf_begin_page </item> + <item> pdf_begin_pattern </item> + <item> pdf_begin_template </item> + <item> pdf_circle </item> + <item> pdf_clip </item> + <item> pdf_close </item> + <item> pdf_close_image </item> + <item> pdf_close_pdi </item> + <item> pdf_close_pdi_page </item> + <item> pdf_closepath </item> + <item> pdf_closepath_fill_stroke </item> + <item> pdf_closepath_stroke </item> + <item> pdf_concat </item> + <item> pdf_continue_text </item> + <item> pdf_curveto </item> + <item> pdf_delete </item> + <item> pdf_end_page </item> + <item> pdf_end_pattern </item> + <item> pdf_end_template </item> + <item> pdf_endpath </item> + <item> pdf_fill </item> + <item> pdf_fill_stroke </item> + <item> pdf_findfont </item> + <item> pdf_get_buffer </item> + <item> pdf_get_font </item> + <item> pdf_get_fontname </item> + <item> pdf_get_fontsize </item> + <item> pdf_get_image_height </item> + <item> pdf_get_image_width </item> + <item> pdf_get_majorversion </item> + <item> pdf_get_minorversion </item> + <item> pdf_get_parameter </item> + <item> pdf_get_pdi_parameter </item> + <item> pdf_get_pdi_value </item> + <item> pdf_get_value </item> + <item> pdf_initgraphics </item> + <item> pdf_lineto </item> + <item> pdf_makespotcolor </item> + <item> pdf_moveto </item> + <item> pdf_new </item> + <item> pdf_open </item> + <item> pdf_open_ccitt </item> + <item> pdf_open_file </item> + <item> pdf_open_gif </item> + <item> pdf_open_image </item> + <item> pdf_open_image_file </item> + <item> pdf_open_jpeg </item> + <item> pdf_open_memory_image </item> + <item> pdf_open_pdi </item> + <item> pdf_open_pdi_page </item> + <item> pdf_open_png </item> + <item> pdf_open_tiff </item> + <item> pdf_place_image </item> + <item> pdf_place_pdi_page </item> + <item> pdf_rect </item> + <item> pdf_restore </item> + <item> pdf_rotate </item> + <item> pdf_save </item> + <item> pdf_scale </item> + <item> pdf_set_border_color </item> + <item> pdf_set_border_dash </item> + <item> pdf_set_border_style </item> + <item> pdf_set_char_spacing </item> + <item> pdf_set_duration </item> + <item> pdf_set_font </item> + <item> pdf_set_horiz_scaling </item> + <item> pdf_set_info </item> + <item> pdf_set_info_author </item> + <item> pdf_set_info_creator </item> + <item> pdf_set_info_keywords </item> + <item> pdf_set_info_subject </item> + <item> pdf_set_info_title </item> + <item> pdf_set_leading </item> + <item> pdf_set_parameter </item> + <item> pdf_set_text_pos </item> + <item> pdf_set_text_rendering </item> + <item> pdf_set_text_rise </item> + <item> pdf_set_transition </item> + <item> pdf_set_value </item> + <item> pdf_set_word_spacing </item> + <item> pdf_setcolor </item> + <item> pdf_setdash </item> + <item> pdf_setflat </item> + <item> pdf_setfont </item> + <item> pdf_setgray </item> + <item> pdf_setgray_fill </item> + <item> pdf_setgray_stroke </item> + <item> pdf_setlinecap </item> + <item> pdf_setlinejoin </item> + <item> pdf_setlinewidth </item> + <item> pdf_setmatrix </item> + <item> pdf_setmiterlimit </item> + <item> pdf_setpolydash </item> + <item> pdf_setrgbcolor </item> + <item> pdf_setrgbcolor_fill </item> + <item> pdf_setrgbcolor_stroke </item> + <item> pdf_show </item> + <item> pdf_show_boxed </item> + <item> pdf_show_xy </item> + <item> pdf_skew </item> + <item> pdf_stringwidth </item> + <item> pdf_stroke </item> + <item> pdf_translate </item> + <item> pfpro_cleanup </item> + <item> pfpro_init </item> + <item> pfpro_process </item> + <item> pfpro_process_raw </item> + <item> pfpro_version </item> + <item> pfsockopen </item> + <item> pg_affected_rows </item> + <item> pg_cancel_query </item> + <item> pg_client_encoding </item> + <item> pg_clientencoding </item> + <item> pg_close </item> + <item> pg_cmdtuples </item> + <item> pg_connect </item> + <item> pg_connection_busy </item> + <item> pg_connection_reset </item> + <item> pg_connection_status </item> + <item> pg_convert </item> + <item> pg_copy_from </item> + <item> pg_copy_to </item> + <item> pg_dbname </item> + <item> pg_delete </item> + <item> pg_end_copy </item> + <item> pg_errormessage </item> + <item> pg_escape_bytea </item> + <item> pg_escape_string </item> + <item> pg_exec </item> + <item> pg_fetch_all </item> + <item> pg_fetch_array </item> + <item> pg_fetch_assoc </item> + <item> pg_fetch_object </item> + <item> pg_fetch_result </item> + <item> pg_fetch_row </item> + <item> pg_field_is_null </item> + <item> pg_field_name </item> + <item> pg_field_num </item> + <item> pg_field_prtlen </item> + <item> pg_field_size </item> + <item> pg_field_type </item> + <item> pg_fieldisnull </item> + <item> pg_fieldname </item> + <item> pg_fieldnum </item> + <item> pg_fieldprtlen </item> + <item> pg_fieldsize </item> + <item> pg_fieldtype </item> + <item> pg_free_result </item> + <item> pg_freeresult </item> + <item> pg_get_notify </item> + <item> pg_get_pid </item> + <item> pg_get_result </item> + <item> pg_getlastoid </item> + <item> pg_host </item> + <item> pg_insert </item> + <item> pg_last_error </item> + <item> pg_last_notice </item> + <item> pg_last_oid </item> + <item> pg_lo_close </item> + <item> pg_lo_create </item> + <item> pg_lo_export </item> + <item> pg_lo_import </item> + <item> pg_lo_open </item> + <item> pg_lo_read </item> + <item> pg_lo_read_all </item> + <item> pg_lo_seek </item> + <item> pg_lo_tell </item> + <item> pg_lo_unlink </item> + <item> pg_lo_write </item> + <item> pg_loclose </item> + <item> pg_locreate </item> + <item> pg_loexport </item> + <item> pg_loimport </item> + <item> pg_loopen </item> + <item> pg_loread </item> + <item> pg_loreadall </item> + <item> pg_lounlink </item> + <item> pg_lowrite </item> + <item> pg_meta_data </item> + <item> pg_num_fields </item> + <item> pg_num_rows </item> + <item> pg_numfields </item> + <item> pg_numrows </item> + <item> pg_options </item> + <item> pg_parameter_status </item> + <item> pg_pconnect </item> + <item> pg_ping </item> + <item> pg_port </item> + <item> pg_put_line </item> + <item> pg_query </item> + <item> pg_result </item> + <item> pg_result_error </item> + <item> pg_result_seek </item> + <item> pg_result_status </item> + <item> pg_select </item> + <item> pg_send_query </item> + <item> pg_set_client_encoding </item> + <item> pg_setclientencoding </item> + <item> pg_trace </item> + <item> pg_tty </item> + <item> pg_unescape_bytea </item> + <item> pg_untrace </item> + <item> pg_update </item> + <item> pg_version </item> + <item> php_check_syntax </item> + <item> php_egg_logo_guid </item> + <item> php_ini_scanned_files </item> + <item> php_logo_guid </item> + <item> php_real_logo_guid </item> + <item> php_sapi_name </item> + <item> php_strip_whitespace </item> + <item> php_uname </item> + <item> phpcredits </item> + <item> phpinfo </item> + <item> phpversion </item> + <item> pi </item> + <item> png2wbmp </item> + <item> popen </item> + <item> pos </item> + <item> posix_ctermid </item> + <item> posix_errno </item> + <item> posix_get_last_error </item> + <item> posix_getcwd </item> + <item> posix_getegid </item> + <item> posix_geteuid </item> + <item> posix_getgid </item> + <item> posix_getgrgid </item> + <item> posix_getgrnam </item> + <item> posix_getgroups </item> + <item> posix_getlogin </item> + <item> posix_getpgid </item> + <item> posix_getpgrp </item> + <item> posix_getpid </item> + <item> posix_getppid </item> + <item> posix_getpwnam </item> + <item> posix_getpwuid </item> + <item> posix_getrlimit </item> + <item> posix_getsid </item> + <item> posix_getuid </item> + <item> posix_isatty </item> + <item> posix_kill </item> + <item> posix_mkfifo </item> + <item> posix_setegid </item> + <item> posix_seteuid </item> + <item> posix_setgid </item> + <item> posix_setpgid </item> + <item> posix_setsid </item> + <item> posix_setuid </item> + <item> posix_strerror </item> + <item> posix_times </item> + <item> posix_ttyname </item> + <item> posix_uname </item> + <item> pow </item> + <item> preg_grep </item> + <item> preg_match </item> + <item> preg_match_all </item> + <item> preg_quote </item> + <item> preg_replace </item> + <item> preg_replace_callback </item> + <item> preg_split </item> + <item> prev </item> + <item> print </item> + <item> print_r </item> + <item> printer_abort </item> + <item> printer_close </item> + <item> printer_create_brush </item> + <item> printer_create_dc </item> + <item> printer_create_font </item> + <item> printer_create_pen </item> + <item> printer_delete_brush </item> + <item> printer_delete_dc </item> + <item> printer_delete_font </item> + <item> printer_delete_pen </item> + <item> printer_draw_bmp </item> + <item> printer_draw_chord </item> + <item> printer_draw_elipse </item> + <item> printer_draw_line </item> + <item> printer_draw_pie </item> + <item> printer_draw_rectangle </item> + <item> printer_draw_roundrect </item> + <item> printer_draw_text </item> + <item> printer_end_doc </item> + <item> printer_end_page </item> + <item> printer_get_option </item> + <item> printer_list </item> + <item> printer_logical_fontheight </item> + <item> printer_open </item> + <item> printer_select_brush </item> + <item> printer_select_font </item> + <item> printer_select_pen </item> + <item> printer_set_option </item> + <item> printer_start_doc </item> + <item> printer_start_page </item> + <item> printer_write </item> + <item> printf </item> + <item> proc_close </item> + <item> proc_get_status </item> + <item> proc_nice </item> + <item> proc_open </item> + <item> proc_terminate </item> + <item> pspell_add_to_personal </item> + <item> pspell_add_to_session </item> + <item> pspell_check </item> + <item> pspell_clear_session </item> + <item> pspell_config_create </item> + <item> pspell_config_ignore </item> + <item> pspell_config_mode </item> + <item> pspell_config_personal </item> + <item> pspell_config_repl </item> + <item> pspell_config_runtogether </item> + <item> pspell_config_save_repl </item> + <item> pspell_new </item> + <item> pspell_new_config </item> + <item> pspell_new_personal </item> + <item> pspell_save_wordlist </item> + <item> pspell_store_replacement </item> + <item> pspell_suggest </item> + <item> putenv </item> + <item> qdom_error </item> + <item> qdom_tree </item> + <item> quoted_printable_decode </item> + <item> quotemeta </item> + <item> rad2deg </item> + <item> rand </item> + <item> range </item> + <item> rawurldecode </item> + <item> rawurlencode </item> + <item> read_exif_data </item> + <item> readdir </item> + <item> readfile </item> + <item> readgzfile </item> + <item> readline </item> + <item> readline_add_history </item> + <item> readline_clear_history </item> + <item> readline_completion_function </item> + <item> readline_info </item> + <item> readline_list_history </item> + <item> readline_read_history </item> + <item> readline_write_history </item> + <item> readlink </item> + <item> realpath </item> + <item> recode </item> + <item> recode_file </item> + <item> recode_string </item> + <item> register_shutdown_function </item> + <item> register_tick_function </item> + <item> rename </item> + <item> require </item> + <item> require_once </item> + <item> reset </item> + <item> restore_error_handler </item> + <item> restore_exception_handler </item> + <item> restore_include_path </item> + <item> rewind </item> + <item> rewinddir </item> + <item> rmdir </item> + <item> round </item> + <item> rsort </item> + <item> rtrim </item> + <item> scandir </item> + <item> sem_acquire </item> + <item> sem_get </item> + <item> sem_release </item> + <item> sem_remove </item> + <item> serialize </item> + <item> sesam_affected_rows </item> + <item> sesam_commit </item> + <item> sesam_connect </item> + <item> sesam_diagnostic </item> + <item> sesam_disconnect </item> + <item> sesam_errormsg </item> + <item> sesam_execimm </item> + <item> sesam_fetch_array </item> + <item> sesam_fetch_result </item> + <item> sesam_fetch_row </item> + <item> sesam_field_array </item> + <item> sesam_field_name </item> + <item> sesam_free_result </item> + <item> sesam_num_fields </item> + <item> sesam_query </item> + <item> sesam_rollback </item> + <item> sesam_seek_row </item> + <item> sesam_settransaction </item> + <item> session_cache_expire </item> + <item> session_cache_limiter </item> + <item> session_commit </item> + <item> session_decode </item> + <item> session_destroy </item> + <item> session_encode </item> + <item> session_get_cookie_params </item> + <item> session_id </item> + <item> session_is_registered </item> + <item> session_module_name </item> + <item> session_name </item> + <item> session_regenerate_id </item> + <item> session_register </item> + <item> session_save_path </item> + <item> session_set_cookie_params </item> + <item> session_set_save_handler </item> + <item> session_start </item> + <item> session_unregister </item> + <item> session_unset </item> + <item> session_write_close </item> + <item> set_error_handler </item> + <item> set_exception_handler </item> + <item> set_file_buffer </item> + <item> set_include_path </item> + <item> set_magic_quotes_runtime </item> + <item> set_socket_blocking </item> + <item> set_time_limit </item> + <item> setcookie </item> + <item> setlocale </item> + <item> setrawcookie </item> + <item> settype </item> + <item> sha1 </item> + <item> sha1_file </item> + <item> shell_exec </item> + <item> shm_attach </item> + <item> shm_detach </item> + <item> shm_get_var </item> + <item> shm_put_var </item> + <item> shm_remove </item> + <item> shm_remove_var </item> + <item> shmop_close </item> + <item> shmop_delete </item> + <item> shmop_open </item> + <item> shmop_read </item> + <item> shmop_size </item> + <item> shmop_write </item> + <item> show_source </item> + <item> shuffle </item> + <item> similar_text </item> + <item> simplexml_load_file </item> + <item> simplexml_load_string </item> + <item> sin </item> + <item> sinh </item> + <item> sizeof </item> + <item> sleep </item> + <item> snmp3_get </item> + <item> snmp3_getnext </item> + <item> snmp3_real_walk </item> + <item> snmp3_set </item> + <item> snmp3_walk </item> + <item> snmp_get_quick_print </item> + <item> snmp_get_valueretrieval </item> + <item> snmp_read_mib </item> + <item> snmp_set_enum_print </item> + <item> snmp_set_oid_numeric_print </item> + <item> snmp_set_quick_print </item> + <item> snmp_set_valueretrieval </item> + <item> snmpget </item> + <item> snmpgetnext </item> + <item> snmprealwalk </item> + <item> snmpset </item> + <item> snmpwalk </item> + <item> snmpwalkoid </item> + <item> socket_accept </item> + <item> socket_bind </item> + <item> socket_clear_error </item> + <item> socket_close </item> + <item> socket_connect </item> + <item> socket_create </item> + <item> socket_create_listen </item> + <item> socket_create_pair </item> + <item> socket_get_option </item> + <item> socket_get_status </item> + <item> socket_getopt </item> + <item> socket_getpeername </item> + <item> socket_getsockname </item> + <item> socket_iovec_add </item> + <item> socket_iovec_alloc </item> + <item> socket_iovec_delete </item> + <item> socket_iovec_fetch </item> + <item> socket_iovec_free </item> + <item> socket_iovec_set </item> + <item> socket_last_error </item> + <item> socket_listen </item> + <item> socket_read </item> + <item> socket_readv </item> + <item> socket_recv </item> + <item> socket_recvfrom </item> + <item> socket_recvmsg </item> + <item> socket_select </item> + <item> socket_send </item> + <item> socket_sendmsg </item> + <item> socket_sendto </item> + <item> socket_set_block </item> + <item> socket_set_blocking </item> + <item> socket_set_nonblock </item> + <item> socket_set_option </item> + <item> socket_set_timeout </item> + <item> socket_setopt </item> + <item> socket_shutdown </item> + <item> socket_strerror </item> + <item> socket_write </item> + <item> socket_writev </item> + <item> sort </item> + <item> soundex </item> + <item> spl_classes </item> + <item> split </item> + <item> spliti </item> + <item> sprintf </item> + <item> sql_regcase </item> + <item> sqlite_array_query </item> + <item> sqlite_busy_timeout </item> + <item> sqlite_changes </item> + <item> sqlite_close </item> + <item> sqlite_column </item> + <item> sqlite_create_aggregate </item> + <item> sqlite_create_function </item> + <item> sqlite_current </item> + <item> sqlite_error_string </item> + <item> sqlite_escape_string </item> + <item> sqlite_exec </item> + <item> sqlite_factory </item> + <item> sqlite_fetch_all </item> + <item> sqlite_fetch_array </item> + <item> sqlite_fetch_column_types </item> + <item> sqlite_fetch_object </item> + <item> sqlite_fetch_single </item> + <item> sqlite_fetch_string </item> + <item> sqlite_field_name </item> + <item> sqlite_has_more </item> + <item> sqlite_has_prev </item> + <item> sqlite_last_error </item> + <item> sqlite_last_insert_rowid </item> + <item> sqlite_libencoding </item> + <item> sqlite_libversion </item> + <item> sqlite_next </item> + <item> sqlite_num_fields </item> + <item> sqlite_num_rows </item> + <item> sqlite_open </item> + <item> sqlite_popen </item> + <item> sqlite_prev </item> + <item> sqlite_query </item> + <item> sqlite_rewind </item> + <item> sqlite_seek </item> + <item> sqlite_single_query </item> + <item> sqlite_udf_decode_binary </item> + <item> sqlite_udf_encode_binary </item> + <item> sqlite_unbuffered_query </item> + <item> sqlite_valid </item> + <item> sqrt </item> + <item> srand </item> + <item> sscanf </item> + <item> stat </item> + <item> str_ireplace </item> + <item> str_pad </item> + <item> str_repeat </item> + <item> str_replace </item> + <item> str_rot13 </item> + <item> str_shuffle </item> + <item> str_split </item> + <item> str_word_count </item> + <item> strcasecmp </item> + <item> strchr </item> + <item> strcmp </item> + <item> strcoll </item> + <item> strcspn </item> + <item> stream_bucket_append </item> + <item> stream_bucket_make_writeable </item> + <item> stream_bucket_new </item> + <item> stream_bucket_prepend </item> + <item> stream_context_create </item> + <item> stream_context_get_options </item> + <item> stream_context_set_option </item> + <item> stream_context_set_params </item> + <item> stream_copy_to_stream </item> + <item> stream_filter_append </item> + <item> stream_filter_prepend </item> + <item> stream_filter_register </item> + <item> stream_get_contents </item> + <item> stream_get_filters </item> + <item> stream_get_line </item> + <item> stream_get_meta_data </item> + <item> stream_get_transports </item> + <item> stream_get_wrappers </item> + <item> stream_register_wrapper </item> + <item> stream_select </item> + <item> stream_set_blocking </item> + <item> stream_set_timeout </item> + <item> stream_set_write_buffer </item> + <item> stream_socket_accept </item> + <item> stream_socket_client </item> + <item> stream_socket_get_name </item> + <item> stream_socket_recvfrom </item> + <item> stream_socket_sendto </item> + <item> stream_socket_server </item> + <item> stream_wrapper_register </item> + <item> strftime </item> + <item> strip_tags </item> + <item> stripcslashes </item> + <item> stripos </item> + <item> stripslashes </item> + <item> stristr </item> + <item> strlen </item> + <item> strnatcasecmp </item> + <item> strnatcmp </item> + <item> strncasecmp </item> + <item> strncmp </item> + <item> strpbrk </item> + <item> strpos </item> + <item> strrchr </item> + <item> strrev </item> + <item> strripos </item> + <item> strrpos </item> + <item> strspn </item> + <item> strstr </item> + <item> strtok </item> + <item> strtolower </item> + <item> strtotime </item> + <item> strtoupper </item> + <item> strtr </item> + <item> strval </item> + <item> substr </item> + <item> substr_compare </item> + <item> substr_count </item> + <item> substr_replace </item> + <item> swf_actiongeturl </item> + <item> swf_actiongotoframe </item> + <item> swf_actiongotolabel </item> + <item> swf_actionnextframe </item> + <item> swf_actionplay </item> + <item> swf_actionprevframe </item> + <item> swf_actionsettarget </item> + <item> swf_actionstop </item> + <item> swf_actiontogglequality </item> + <item> swf_actionwaitforframe </item> + <item> swf_addbuttonrecord </item> + <item> swf_addcolor </item> + <item> swf_closefile </item> + <item> swf_definebitmap </item> + <item> swf_definefont </item> + <item> swf_defineline </item> + <item> swf_definepoly </item> + <item> swf_definerect </item> + <item> swf_definetext </item> + <item> swf_endbutton </item> + <item> swf_enddoaction </item> + <item> swf_endshape </item> + <item> swf_endsymbol </item> + <item> swf_fontsize </item> + <item> swf_fontslant </item> + <item> swf_fonttracking </item> + <item> swf_getbitmapinfo </item> + <item> swf_getfontinfo </item> + <item> swf_getframe </item> + <item> swf_labelframe </item> + <item> swf_lookat </item> + <item> swf_modifyobject </item> + <item> swf_mulcolor </item> + <item> swf_nextid </item> + <item> swf_oncondition </item> + <item> swf_openfile </item> + <item> swf_ortho </item> + <item> swf_ortho2 </item> + <item> swf_perspective </item> + <item> swf_placeobject </item> + <item> swf_polarview </item> + <item> swf_popmatrix </item> + <item> swf_posround </item> + <item> swf_pushmatrix </item> + <item> swf_removeobject </item> + <item> swf_rotate </item> + <item> swf_scale </item> + <item> swf_setfont </item> + <item> swf_setframe </item> + <item> swf_shapearc </item> + <item> swf_shapecurveto </item> + <item> swf_shapecurveto3 </item> + <item> swf_shapefillbitmapclip </item> + <item> swf_shapefillbitmaptile </item> + <item> swf_shapefilloff </item> + <item> swf_shapefillsolid </item> + <item> swf_shapelinesolid </item> + <item> swf_shapelineto </item> + <item> swf_shapemoveto </item> + <item> swf_showframe </item> + <item> swf_startbutton </item> + <item> swf_startdoaction </item> + <item> swf_startshape </item> + <item> swf_startsymbol </item> + <item> swf_textwidth </item> + <item> swf_translate </item> + <item> swf_viewport </item> + <item> swfaction </item> + <item> swfbitmap </item> + <item> swfbitmap.getheight </item> + <item> swfbitmap.getwidth </item> + <item> swfbutton </item> + <item> swfbutton.addaction </item> + <item> swfbutton.addshape </item> + <item> swfbutton.setaction </item> + <item> swfbutton.setdown </item> + <item> swfbutton.sethit </item> + <item> swfbutton.setover </item> + <item> swfbutton.setup </item> + <item> swfbutton_keypress </item> + <item> swfdisplayitem </item> + <item> swfdisplayitem.addcolor </item> + <item> swfdisplayitem.move </item> + <item> swfdisplayitem.moveto </item> + <item> swfdisplayitem.multcolor </item> + <item> swfdisplayitem.remove </item> + <item> swfdisplayitem.rotate </item> + <item> swfdisplayitem.rotateto </item> + <item> swfdisplayitem.scale </item> + <item> swfdisplayitem.scaleto </item> + <item> swfdisplayitem.setdepth </item> + <item> swfdisplayitem.setname </item> + <item> swfdisplayitem.setratio </item> + <item> swfdisplayitem.skewx </item> + <item> swfdisplayitem.skewxto </item> + <item> swfdisplayitem.skewy </item> + <item> swfdisplayitem.skewyto </item> + <item> swffill </item> + <item> swffill.moveto </item> + <item> swffill.rotateto </item> + <item> swffill.scaleto </item> + <item> swffill.skewxto </item> + <item> swffill.skewyto </item> + <item> swffont </item> + <item> swffont.getwidth </item> + <item> swfgradient </item> + <item> swfgradient.addentry </item> + <item> swfmorph </item> + <item> swfmorph.getshape1 </item> + <item> swfmorph.getshape2 </item> + <item> swfmovie </item> + <item> swfmovie.add </item> + <item> swfmovie.nextframe </item> + <item> swfmovie.output </item> + <item> swfmovie.remove </item> + <item> swfmovie.save </item> + <item> swfmovie.setbackground </item> + <item> swfmovie.setdimension </item> + <item> swfmovie.setframes </item> + <item> swfmovie.setrate </item> + <item> swfmovie.streammp3 </item> + <item> swfshape </item> + <item> swfshape.addfill </item> + <item> swfshape.drawcurve </item> + <item> swfshape.drawcurveto </item> + <item> swfshape.drawline </item> + <item> swfshape.drawlineto </item> + <item> swfshape.movepen </item> + <item> swfshape.movepento </item> + <item> swfshape.setleftfill </item> + <item> swfshape.setline </item> + <item> swfshape.setrightfill </item> + <item> swfsprite </item> + <item> swfsprite.add </item> + <item> swfsprite.nextframe </item> + <item> swfsprite.remove </item> + <item> swfsprite.setframes </item> + <item> swftext </item> + <item> swftext.addstring </item> + <item> swftext.getwidth </item> + <item> swftext.moveto </item> + <item> swftext.setcolor </item> + <item> swftext.setfont </item> + <item> swftext.setheight </item> + <item> swftext.setspacing </item> + <item> swftextfield </item> + <item> swftextfield.addstring </item> + <item> swftextfield.align </item> + <item> swftextfield.setbounds </item> + <item> swftextfield.setcolor </item> + <item> swftextfield.setfont </item> + <item> swftextfield.setheight </item> + <item> swftextfield.setindentation </item> + <item> swftextfield.setleftmargin </item> + <item> swftextfield.setlinespacing </item> + <item> swftextfield.setmargins </item> + <item> swftextfield.setname </item> + <item> swftextfield.setrightmargin </item> + <item> sybase_affected_rows </item> + <item> sybase_close </item> + <item> sybase_connect </item> + <item> sybase_data_seek </item> + <item> sybase_fetch_array </item> + <item> sybase_fetch_field </item> + <item> sybase_fetch_object </item> + <item> sybase_fetch_row </item> + <item> sybase_field_seek </item> + <item> sybase_free_result </item> + <item> sybase_get_last_message </item> + <item> sybase_min_client_severity </item> + <item> sybase_min_error_severity </item> + <item> sybase_min_message_severity </item> + <item> sybase_min_server_severity </item> + <item> sybase_num_fields </item> + <item> sybase_num_rows </item> + <item> sybase_pconnect </item> + <item> sybase_query </item> + <item> sybase_result </item> + <item> sybase_select_db </item> + <item> symlink </item> + <item> syslog </item> + <item> system </item> + <item> tan </item> + <item> tanh </item> + <item> tempnam </item> + <item> textdomain </item> + <item> time </item> + <item> time_nanosleep </item> + <item> tmpfile </item> + <item> token_get_all </item> + <item> token_name </item> + <item> touch </item> + <item> trigger_error </item> + <item> trim </item> + <item> uasort </item> + <item> ucfirst </item> + <item> ucwords </item> + <item> udm_add_search_limit </item> + <item> udm_alloc_agent </item> + <item> udm_api_version </item> + <item> udm_cat_list </item> + <item> udm_cat_path </item> + <item> udm_check_charset </item> + <item> udm_check_stored </item> + <item> udm_clear_search_limits </item> + <item> udm_close_stored </item> + <item> udm_crc32 </item> + <item> udm_errno </item> + <item> udm_error </item> + <item> udm_find </item> + <item> udm_free_agent </item> + <item> udm_free_ispell_data </item> + <item> udm_free_res </item> + <item> udm_get_doc_count </item> + <item> udm_get_res_field </item> + <item> udm_get_res_param </item> + <item> udm_load_ispell_data </item> + <item> udm_open_stored </item> + <item> udm_set_agent_param </item> + <item> uksort </item> + <item> umask </item> + <item> uniqid </item> + <item> unixtojd </item> + <item> unlink </item> + <item> unpack </item> + <item> unregister_tick_function </item> + <item> unserialize </item> + <item> unset </item> + <item> urldecode </item> + <item> urlencode </item> + <item> use_soap_error_handler </item> + <item> user_error </item> + <item> usleep </item> + <item> usort </item> + <item> utf8_decode </item> + <item> utf8_encode </item> + <item> var_dump </item> + <item> var_export </item> + <item> variant </item> + <item> version_compare </item> + <item> vfprintf </item> + <item> virtual </item> + <item> vpopmail_add_alias_domain </item> + <item> vpopmail_add_alias_domain_ex </item> + <item> vpopmail_add_domain </item> + <item> vpopmail_add_domain_ex </item> + <item> vpopmail_add_user </item> + <item> vpopmail_alias_add </item> + <item> vpopmail_alias_del </item> + <item> vpopmail_alias_del_domain </item> + <item> vpopmail_alias_get </item> + <item> vpopmail_alias_get_all </item> + <item> vpopmail_auth_user </item> + <item> vpopmail_del_domain </item> + <item> vpopmail_del_domain_ex </item> + <item> vpopmail_del_user </item> + <item> vpopmail_error </item> + <item> vpopmail_passwd </item> + <item> vpopmail_set_user_quota </item> + <item> vprintf </item> + <item> vsprintf </item> + <item> w32api_deftype </item> + <item> w32api_init_dtype </item> + <item> w32api_invoke_function </item> + <item> w32api_register_function </item> + <item> w32api_set_call_method </item> + <item> wddx_add_vars </item> + <item> wddx_deserialize </item> + <item> wddx_packet_end </item> + <item> wddx_packet_start </item> + <item> wddx_serialize_value </item> + <item> wddx_serialize_vars </item> + <item> wordwrap </item> + <item> xml_error_string </item> + <item> xml_get_current_byte_index </item> + <item> xml_get_current_column_number </item> + <item> xml_get_current_line_number </item> + <item> xml_get_error_code </item> + <item> xml_parse </item> + <item> xml_parse_into_struct </item> + <item> xml_parser_create </item> + <item> xml_parser_create_ns </item> + <item> xml_parser_free </item> + <item> xml_parser_get_option </item> + <item> xml_parser_set_option </item> + <item> xml_set_character_data_handler </item> + <item> xml_set_default_handler </item> + <item> xml_set_element_handler </item> + <item> xml_set_end_namespace_decl_handler </item> + <item> xml_set_external_entity_ref_handler </item> + <item> xml_set_notation_decl_handler </item> + <item> xml_set_object </item> + <item> xml_set_processing_instruction_handler </item> + <item> xml_set_start_namespace_decl_handler </item> + <item> xml_set_unparsed_entity_decl_handler </item> + <item> xmldoc </item> + <item> xmldocfile </item> + <item> xmlrpc_decode </item> + <item> xmlrpc_decode_request </item> + <item> xmlrpc_encode </item> + <item> xmlrpc_encode_request </item> + <item> xmlrpc_get_type </item> + <item> xmlrpc_is_fault </item> + <item> xmlrpc_parse_method_descriptions </item> + <item> xmlrpc_server_add_introspection_data </item> + <item> xmlrpc_server_call_method </item> + <item> xmlrpc_server_create </item> + <item> xmlrpc_server_destroy </item> + <item> xmlrpc_server_register_introspection_callback </item> + <item> xmlrpc_server_register_method </item> + <item> xmlrpc_set_type </item> + <item> xmltree </item> + <item> xpath_eval </item> + <item> xpath_eval_expression </item> + <item> xpath_new_context </item> + <item> xptr_eval </item> + <item> xptr_new_context </item> + <item> xslt_create </item> + <item> xslt_errno </item> + <item> xslt_error </item> + <item> xslt_free </item> + <item> xslt_process </item> + <item> xslt_set_base </item> + <item> xslt_set_encoding </item> + <item> xslt_set_error_handler </item> + <item> xslt_set_log </item> + <item> xslt_set_sax_handler </item> + <item> xslt_set_sax_handlers </item> + <item> xslt_set_scheme_handler </item> + <item> xslt_set_scheme_handlers </item> + <item> yaz_addinfo </item> + <item> yaz_ccl_conf </item> + <item> yaz_ccl_parse </item> + <item> yaz_close </item> + <item> yaz_connect </item> + <item> yaz_database </item> + <item> yaz_element </item> + <item> yaz_errno </item> + <item> yaz_error </item> + <item> yaz_hits </item> + <item> yaz_itemorder </item> + <item> yaz_present </item> + <item> yaz_range </item> + <item> yaz_record </item> + <item> yaz_scan </item> + <item> yaz_scan_result </item> + <item> yaz_search </item> + <item> yaz_sort </item> + <item> yaz_syntax </item> + <item> yaz_wait </item> + <item> yp_all </item> + <item> yp_cat </item> + <item> yp_err_string </item> + <item> yp_errno </item> + <item> yp_first </item> + <item> yp_get_default_domain </item> + <item> yp_master </item> + <item> yp_match </item> + <item> yp_next </item> + <item> yp_order </item> + <item> zend_logo_guid </item> + <item> zend_version </item> + <item> zip_close </item> + <item> zip_entry_close </item> + <item> zip_entry_compressedsize </item> + <item> zip_entry_compressionmethod </item> + <item> zip_entry_filesize </item> + <item> zip_entry_name </item> + <item> zip_entry_open </item> + <item> zip_entry_read </item> + <item> zip_open </item> + <item> zip_read </item> + <item> zlib_get_coding_type </item> + </list> + <contexts> + <context name="start" lineEndContext="#stay" attribute="Normal Text"> + <RegExpr context="phpsource" attribute="Keyword" String="<\?(?:=|php)?" beginRegion="php" /> + </context> + <context name="phpsource" attribute="PHP Text" lineEndContext="#stay"> + <DetectSpaces /> + <StringDetect attribute="Keyword" context="#pop#pop" String="?>" endRegion="php" /> + <DetectChar attribute="Comment" context="onelinecomment" char="#" /> + <IncludeRules context="##Doxygen" /> + <Detect2Chars attribute="Comment" context="onelinecomment" char="/" char1="/" /> + <Detect2Chars attribute="Comment" context="twolinecomment" char="/" char1="*" beginRegion="Comment"/> + <keyword attribute="Control Structures" context="#stay" String="control structures" /> + <keyword attribute="Keyword" context="#stay" String="keywords" /> + <keyword attribute="Function" context="#stay" String="functions" /> + <keyword attribute="Special method" context="#stay" String="special_methods" /> + <DetectIdentifier /> + <DetectChar attribute="String" context="doblequotestring" char=""" /> + <DetectChar attribute="String" context="singlequotestring" char="'" /> + <RegExpr attribute="Backslash Code" context="heredoc" String="<<<([A-Za-z_][A-Za-z0-9_]*)" /> + <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]*" /> + <HlCOct attribute="Octal" context="#stay" /> + <HlCHex attribute="Hex" context="#stay" /> + <Float attribute="Float" context="#stay" /> + <Int attribute="Decimal" context="#stay" /> + <DetectChar attribute="Symbol" context="#stay" char="{" beginRegion="Brace1" /> + <DetectChar attribute="Symbol" context="#stay" char="}" endRegion="Brace1" /> + <AnyChar attribute="Symbol" context="#stay" String=";()}{:,[]" /> + </context> + <context name="onelinecomment" attribute="Comment" lineEndContext="#pop"> + <StringDetect attribute="Keyword" context="#pop" lookAhead="true" String="?>" /> + </context> + <context name="twolinecomment" attribute="Comment" lineEndContext="#stay"> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment" /> + </context> + <context name="doblequotestring" attribute="String" lineEndContext="#stay"> +<!-- URL: http://de3.php.net/manual/en/language.types.string.php#language.types.string.syntax.double --> + <Detect2Chars attribute="Backslash Code" context="#stay" char="\" char1=""" /> + <Detect2Chars attribute="Backslash Code" context="#stay" char="\" char1="\" /> + <Detect2Chars attribute="Backslash Code" context="#stay" char="\" char1="n" /> + <Detect2Chars attribute="Backslash Code" context="#stay" char="\" char1="r" /> + <Detect2Chars attribute="Backslash Code" context="#stay" char="\" char1="t" /> + <Detect2Chars attribute="Backslash Code" context="#stay" char="\" char1="$" /> + <RegExpr attribute="Backslash Code" context="#stay" String="\\[0-7]{1,3}" /> + <RegExpr attribute="Backslash Code" context="#stay" String="\\x[0-9A-Fa-f]{1,2}" /> + <RegExpr attribute="Variable" context="#stay" String="\$[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*(\[[a-zA-Z0-9_]*\])*" /> + <RegExpr attribute="Variable" context="#stay" String="\$\{[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*(\[[a-zA-Z0-9_]*\])*\}" /> + <RegExpr attribute="Variable" context="#stay" String="\{\$[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*(\[([0-9]*|"[^"]*")|'[^']*'|\])*(->[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*(\[[a-zA-Z0-9_]*\])*(\[([0-9]*|"[a-zA-Z_]*")|'[a-zA-Z_]*'|\])*)*\}" /> + <DetectChar attribute="String" context="#pop" char=""" /> + </context> + <context name="singlequotestring" attribute="String" lineEndContext="#stay"> + <Detect2Chars attribute="Backslash Code" context="#stay" char="\" char1="'"/> + <Detect2Chars attribute="Backslash Code" context="#stay" char="\" char1="\"/> + <DetectChar attribute="String" context="#pop" char="'" /> + </context> + <context name="heredoc" attribute="String" lineEndContext="#stay" dynamic="true"> + <RegExpr attribute="Backslash Code" context="#pop" String="^%1;?$" dynamic="true" /> + <RegExpr attribute="Variable" context="#stay" String="\$[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*(\[[a-zA-Z0-9_]*\])*" /> + <RegExpr attribute="Variable" context="#stay" String="\$\{[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*(\[[a-zA-Z0-9_]*\])*\}" /> + <RegExpr attribute="Variable" context="#stay" String="\{\$[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*(\[([0-9]*|"[a-zA-Z_]*")|'[a-zA-Z_]*'|\])*(->[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*(\[[a-zA-Z0-9_]*\])*(\[([0-9]*|"[a-zA-Z_]*")|'[a-zA-Z_]*'|\])*)*\}" /> + </context> + </contexts> + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal" /> + <itemData name="Symbol" defStyleNum="dsNormal" /> + <itemData name="PHP Text" defStyleNum="dsNormal" /> + <itemData name="Keyword" defStyleNum="dsKeyword" /> + <itemData name="Function" defStyleNum="dsFunction" /> + <itemData name="Special method" 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="Backslash Code" defStyleNum="dsKeyword" color="#0F0F8F" selColor="#ffffff" bold="1" italic="0" /> + <itemData name="Other" defStyleNum="dsOthers" /> + + <itemData name="HTML Tag" defStyleNum="dsKeyword" color="#0F0000" selColor="#ffffff" bold="1" italic="0" /> + <itemData name="HTML Comment" defStyleNum="dsComment" /> + <itemData name="Identifier" defStyleNum="dsOthers" /> + <itemData name="Types" defStyleNum="dsDataType" /> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="singleLine" start="//" /> + <comment name="multiLine" start="/*" end="*/" /> + </comments> + <keywords casesensitive="0" weakDeliminator=""/> + </general> +</language> diff --git a/kate/data/picsrc.xml b/kate/data/picsrc.xml new file mode 100644 index 000000000..57386f559 --- /dev/null +++ b/kate/data/picsrc.xml @@ -0,0 +1,402 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<!-- kate: space-indent on; indent-width 2; --> + +<!-- Microchip PIC assembler syntaxfile for gpasm/mpasm assembler by + * Original author: Alain GIBAUD (alain.gibaud@univ-valenciennes.fr) + * Small modifications for the new DTD: Joseph Wenninger <jowenn@kde.org> + * Updated for 16-bit devices, etc.: Laurence Withers <lwithers@users.sf.net> +--> + +<language name="PicAsm" version="1.07" kateversion="2.3" section="Assembler" extensions="*.src;*.SRC;*.asm;*.ASM;*.pic;*.PIC" mimetype="text/x-PicSrc;text/x-PicHdr" author="Alain GIBAUD (alain.gibaud@univ-valenciennes.fr)" license="LGPL"> + + <highlighting> + <list name="directives"> + <item> __BADRAM </item> + <item> __CONFIG </item> + <item> __IDLOCS </item> + <item> __MAXRAM </item> + + <item> cblock </item> + <item> constant </item> + <item> da </item> + <item> data </item> + <item> db </item> + <item> de </item> + <item> dt </item> + <item> dw </item> + <item> endc </item> + <item> endm </item> + <item> equ </item> + <item> error </item> + <item> errorlevel </item> + <item> exitm </item> + <item> fill </item> + <item> list </item> + <item> local </item> + <item> macro </item> + <item> messg </item> + <item> noexpand </item> + <item> nolist </item> + <item> org </item> + <item> page </item> + <item> processor </item> + <item> radix </item> + <item> res </item> + <item> set </item> + <item> space </item> + <item> subtitle </item> + <item> title </item> + <item> variable </item> + <item> end </item> + + <item> CBLOCK </item> + <item> CONSTANT </item> + <item> DA </item> + <item> DATA </item> + <item> DB </item> + <item> DE </item> + <item> DT </item> + <item> DW </item> + <item> ENDC </item> + <item> ENDM </item> + <item> EQU </item> + <item> ERROR </item> + <item> ERRORLEVEL </item> + <item> EXITM </item> + <item> FILL </item> + <item> LIST </item> + <item> LOCAL </item> + <item> MACRO </item> + <item> MESSG </item> + <item> NOEXPAND </item> + <item> NOLIST </item> + <item> ORG </item> + <item> PAGE </item> + <item> PROCESSOR </item> + <item> RADIX </item> + <item> RES </item> + <item> SET </item> + <item> SPACE </item> + <item> SUBTITLE </item> + <item> TITLE </item> + <item> VARIABLE </item> + <item> END </item> + </list> + + <list name="conditional"> + <item> if </item> + <item> else </item> + <item> idef </item> + <item> ifndef </item> + <item> endif </item> + <item> while </item> + <item> include </item> + <item> endw </item> + <item> { </item> + <item> } </item> + </list> + + <list name="gpasm_macro"> + <item> addcf </item> + <item> b </item> + <item> clrc </item> + <item> clrz </item> + <item> setc </item> + <item> setz </item> + <item> movfw </item> + <item> skpc </item> + <item> skpz </item> + <item> skpnc </item> + <item> skpnz </item> + <item> subcf </item> + <item> tstf </item> + + <item> ADDCF </item> + <item> B </item> + <item> CLRC </item> + <item> CLRZ </item> + <item> SETC </item> + <item> SETZ </item> + <item> MOVFW </item> + <item> SKPC </item> + <item> SKPZ </item> + <item> SKPNC </item> + <item> SKPNZ </item> + <item> SUBCF </item> + <item> TSTF </item> + </list> + + <list name="instructions"> + <item> addlw </item> + <item> addwf </item> + <item> addwfc </item> + <item> andlw </item> + <item> andwf </item> + <item> bc </item> + <item> bcf </item> + <item> bn </item> + <item> bnc </item> + <item> bnov </item> + <item> bnz </item> + <item> bov </item> + <item> bra </item> + <item> bsf </item> + <item> btg </item> + <item> bz </item> + <item> btfsc </item> + <item> btfss </item> + <item> call </item> + <item> clrf </item> + <item> clrw </item> + <item> clrwdt </item> + <item> comf </item> + <item> cpfseq </item> + <item> cpfslt </item> + <item> cpfsgt </item> + <item> daw </item> + <item> decf </item> + <item> dcfsnz </item> + <item> decfsz </item> + <item> goto </item> + <item> incf </item> + <item> incfsz </item> + <item> infsnz </item> + <item> iorlw </item> + <item> iorwf </item> + <item> lfsr </item> + <item> movf </item> + <item> movff </item> + <item> movlb </item> + <item> movlw </item> + <item> movwf </item> + <item> mullw </item> + <item> mulwf </item> + <item> negf </item> + <item> nop </item> + <item> option </item> + <item> pop </item> + <item> push </item> + <item> rcall </item> + <item> reset </item> + <item> retfie </item> + <item> retlw </item> + <item> return </item> + <item> rlcf </item> + <item> rlf </item> + <item> rlncf </item> + <item> rrcf </item> + <item> rrf </item> + <item> rrncf </item> + <item> setf </item> + <item> sleep </item> + <item> subfwb </item> + <item> sublw </item> + <item> subwf </item> + <item> subwfb </item> + <item> swapf </item> + <item> tblrd </item> + <item> tblwt </item> + <item> tstfsz </item> + <item> xorlw </item> + <item> xorwf </item> + + <item> ADDLW </item> + <item> ADDWF </item> + <item> ADDWFC </item> + <item> ANDLW </item> + <item> ANDWF </item> + <item> BC </item> + <item> BCF </item> + <item> BN </item> + <item> BNC </item> + <item> BNOV </item> + <item> BNZ </item> + <item> BOV </item> + <item> BRA </item> + <item> BSF </item> + <item> BTG </item> + <item> BZ </item> + <item> BTFSC </item> + <item> BTFSS </item> + <item> CALL </item> + <item> CLRF </item> + <item> CLRW </item> + <item> CLRWDT </item> + <item> COMF </item> + <item> CPFSEQ </item> + <item> CPFSLT </item> + <item> CPFSGT </item> + <item> DAW </item> + <item> DCFSNZ </item> + <item> DECF </item> + <item> DECFSZ </item> + <item> GOTO </item> + <item> INCF </item> + <item> INCFSZ </item> + <item> INFSNZ </item> + <item> IORLW </item> + <item> IORWF </item> + <item> LFSR </item> + <item> MOVF </item> + <item> MOVFF </item> + <item> MOVLB </item> + <item> MOVLW </item> + <item> MOVWF </item> + <item> MULLW </item> + <item> MULWF </item> + <item> NEGF </item> + <item> NOP </item> + <item> OPTION </item> + <item> POP </item> + <item> PUSH </item> + <item> RCALL </item> + <item> RESET </item> + <item> RETFIE </item> + <item> RETLW </item> + <item> RETURN </item> + <item> RLCF </item> + <item> RLF </item> + <item> RLNCF </item> + <item> RRCF </item> + <item> RRF </item> + <item> RRNCF </item> + <item> SETF </item> + <item> SLEEP </item> + <item> SUBFWB </item> + <item> SUBLW </item> + <item> SUBWF </item> + <item> SUBWFB </item> + <item> SWAPF </item> + <item> TBLRD </item> + <item> TBLWT </item> + <item> TSTFSZ </item> + <item> XORLW </item> + <item> XORWF </item> + </list> + + <list name="instruction_attr"> + <item> A </item> + <item> ACCESS </item> + <item> BANKED </item> + <item> W </item> + <item> F </item> + </list> + + <contexts> + + <!-- The main ('normal') context --> + + <context name="normal" attribute="Normal Text" lineEndContext="#stay"> + <keyword attribute="Directives" context="#stay" String="directives"/> + <keyword attribute="Instructions" context="#stay" String="instructions"/> + <keyword attribute="InstructionAttr" context="#stay" String="instruction_attr"/> + <keyword attribute="Preprocessor" context="#stay" String="conditional"/> + <keyword attribute="GPASM-macros" context="#stay" String="gpasm_macro"/> + <HlCHex attribute="Based Numbers" context="#stay"/> + <RegExpr attribute="Based Numbers" context="#stay" String="([ \t,][0-9A-F]+H[ \t,])" insensitive="TRUE" /> + <RegExpr attribute="Based Numbers" context="#stay" String="([ \t,][0-9A-F]+H)$" insensitive="TRUE" /> + <RegExpr attribute="Based Numbers" context="#stay" String="([ \t,][0-9]+D)" insensitive="TRUE" /> + <RegExpr attribute="Based Numbers" context="#stay" String="([ \t,][0-7]+O)" insensitive="TRUE" /> + <RegExpr attribute="Based Numbers" context="#stay" String="([ \t,][0-1]+B)" insensitive="TRUE" /> + <Int attribute="Non Based Numbers" context="#stay" /> + <HlCChar attribute="Char" context="#stay"/> + <Detect2Chars attribute="Char" context="ASCIIChar" char="A" char1="'" /> + <Detect2Chars attribute="Char" context="ASCIIChar" char="a" char1="'" /> + <Detect2Chars attribute="Based Numbers" context="binaryDigits" char="B" char1="'" /> + <Detect2Chars attribute="Based Numbers" context="binaryDigits" char="b" char1="'" /> + <Detect2Chars attribute="Based Numbers" context="hexDigits" char="H" char1="'" /> + <Detect2Chars attribute="Based Numbers" context="hexDigits" char="h" char1="'" /> + <Detect2Chars attribute="Based Numbers" context="octDigits" char="O" char1="'" /> + <Detect2Chars attribute="Based Numbers" context="octDigits" char="o" char1="'" /> + <Detect2Chars attribute="Based Numbers" context="decimalDigits" char="D" char1="'" /> + <Detect2Chars attribute="Based Numbers" context="decimalDigits" char="d" char1="'" /> + <DetectChar attribute="String" context="string" char=""" /> + <DetectChar attribute="Comment" context="comment" char=";" /> + <AnyChar attribute="Symbol" context="#stay" String="-/*%+=><&|^!~" /> + <StringDetect attribute="Preprocessor" context="#stay" String="#define" /> + <StringDetect attribute="Preprocessor" context="#stay" String="#undefine" /> + <StringDetect attribute="Preprocessor" context="#stay" String="#v" /> + </context> + + + + <!-- Additional contexts --> + + <context name="string" attribute="String" lineEndContext="#pop"> + <LineContinue attribute="String" context="#stay"/> + <HlCStringChar attribute="Char" context="#stay"/> + <DetectChar attribute="String" context="#pop" char="""/> + </context> + + <context name="comment" attribute="Comment" lineEndContext="#pop"> + <RegExpr attribute="Instructions" context="#stay" + String="(INPUT|OUTPUT|PARAMETERS|AUTHOR|EMAIL)" /> + <RegExpr attribute="Alert" context="#stay" String="(FIXME|TODO)" /> + </context> + + + + <!-- Quoted numbers --> + + <context name="decimalDigits" attribute="Based Numbers" lineEndContext="#pop"> + <DetectChar attribute="Based Numbers" context="#pop" char="'"/> + <RegExpr attribute="Error" context="QuotedNumError" String="\D" /> + </context> + + <context name="binaryDigits" attribute="Based Numbers" lineEndContext="#pop"> + <DetectChar attribute="Based Numbers" context="#pop" char="'"/> + <RegExpr attribute="Error" context="QuotedNumError" String="[^0-1]" /> + </context> + + <context name="hexDigits" attribute="Based Numbers" lineEndContext="#pop"> + <DetectChar attribute="Based Numbers" context="#pop" char="'"/> + <RegExpr attribute="Error" context="QuotedNumError" String="[^0-9A-Fa-f]" /> + </context> + + <context name="octDigits" attribute="Based Numbers" lineEndContext="#pop"> + <DetectChar attribute="Based Numbers" context="#pop" char="'"/> + <RegExpr attribute="Error" context="QuotedNumError" String="[^0-7]" /> + </context> + + <context name="ASCIIChar" attribute="Char" lineEndContext="#pop"> + <DetectChar attribute="Char" context="#pop" char="'"/> + <RegExpr attribute="Error" context="QuotedNumError" String=".[^']" /> + </context> + + <context name="QuotedNumError" attribute="Error" lineEndContext="#pop#pop"> + <DetectChar attribute="Error" context="#pop#pop" char="'" /> + </context> + + </contexts> + + + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Directives" defStyleNum="dsOthers"/> + <itemData name="Preprocessor" defStyleNum="dsOthers"/> + <itemData name="Instructions" defStyleNum="dsKeyword"/> + <itemData name="InstructionAttr" defStyleNum="dsNormal" color="#000080" selColor="#000080" bold="0" italic="1"/> + <itemData name="Unbased Numbers" defStyleNum="dsDecVal"/> + <itemData name="Char" defStyleNum="dsChar"/> + <itemData name="String" defStyleNum="dsString"/> + <itemData name="Comment" defStyleNum="dsComment" /> + <itemData name="Symbol" defStyleNum="dsNormal" color="#FF0000" selColor="#083194" bold="0" italic="0"/> + <itemData name="Prep. Lib" defStyleNum="dsOthers"/> + <itemData name="Based Numbers" defStyleNum="dsBaseN" /> + <itemData name="GPASM-macros" defStyleNum="dsNormal" color="#000000" selColor="#000000" bold="1" italic="1"/> + <itemData name="Alert" defStyleNum="dsAlert" /> + <itemData name="Error" defStyleNum="dsError" /> + </itemDatas> + + </highlighting> + + + <general> + <comments> + <comment name="singleLine" start=";" /> + </comments> + <keywords casesensitive="1" /> + </general> + +</language> diff --git a/kate/data/pike.xml b/kate/data/pike.xml new file mode 100644 index 000000000..461b0c17b --- /dev/null +++ b/kate/data/pike.xml @@ -0,0 +1,121 @@ +<?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=""> + <highlighting> + <list name="keywords"> + <item> break </item> + <item> case </item> + <item> class </item> + <item> continue </item> + <item> default </item> + <item> do </item> + <item> else </item> + <item> for </item> + <item> foreach </item> + <item> if </item> + <item> return </item> + <item> switch </item> + <item> while </item> + </list> + <list name="types"> + <item> array </item> + <item> float </item> + <item> function </item> + <item> int </item> + <item> mapping </item> + <item> mixed </item> + <item> multiset> </item> + <item> object </item> + <item> program </item> + <item> static </item> + <item> string </item> + <item> void </item> + </list> + <list name="builtins"> + <item> catch </item> + <item> gauge </item> + <item> sscanf </item> + <item> typeof </item> + </list> + <contexts> + <context attribute="Normal Text" lineEndContext="#stay" name="Normal"> + <keyword attribute="Keyword" context="#stay" String="keywords"/> + <keyword attribute="Data Type" context="#stay" String="types"/> + <keyword attribute="Builtin Function" context="#stay" String="builtins"/> + <RegExpr attribute="Builtin Function" context="#stay" String="`([\+\-\*/%~&\|^]|[!=<>]=|<<?|>>?|(\[\]|->)=?)"/> + <Float attribute="Float" context="#stay"/> + <RegExpr attribute="Binary" context="#stay" String="0[bB][01]+"/> + <HlCOct attribute="Octal" context="#stay"/> + <HlCHex attribute="Hex" context="#stay"/> + <Int attribute="Decimal" context="#stay"/> + <HlCChar attribute="Char" context="#stay"/> + <DetectChar attribute="Normal Text" context="#stay" char="{" beginRegion="Brace"/> + <DetectChar attribute="Normal Text" context="#stay" char="}" endRegion="Brace"/> + <DetectChar attribute="String" context="String" char="""/> + <Detect2Chars attribute="Comment" context="Line Comment" char="/" char1="/"/> + <Detect2Chars attribute="Comment" context="Line Comment" char="#" char1="!"/> + <Detect2Chars attribute="Comment" context="Block Comment" char="/" char1="*" beginRegion="Comment"/> + <RegExpr attribute="Preprocessor" context="Outscoped" String="#\s*if\s+0" beginRegion="Outscoped" firstNonSpace="true"/> + <DetectChar attribute="Preprocessor" context="Preprocessor" char="#" firstNonSpace="true"/> + </context> + <context attribute="String" lineEndContext="#pop" name="String"> + <RegExpr attribute="String Char" context="#stay" String="\\d[0-9]+"/> + <HlCStringChar attribute="String Char" context="#stay"/> + <DetectChar attribute="String" context="#pop" char="""/> + <LineContinue attribute="String" context="#stay"/> + </context> + <context attribute="Comment" lineEndContext="#pop" name="Line Comment"> + <RegExpr attribute="Note" context="#stay" String="(FIXME|TODO|NOT(IC)?E):?"/> + </context> + <context attribute="Comment" lineEndContext="#stay" name="Block Comment"> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment"/> + <RegExpr attribute="Note" context="#stay" String="(FIXME|TODO|NOT(IC)?E):?"/> + </context> + <context attribute="Preprocessor" lineEndContext="#pop" name="Preprocessor"> + <RangeDetect attribute="Preprocessor Lib" context="#stay" char=""" char1="""/> + <RangeDetect attribute="Preprocessor Lib" context="#stay" char="<" char1=">"/> + <Detect2Chars attribute="Comment" context="Line Comment" char="/" char1="/"/> + <Detect2Chars attribute="Comment" context="Block Comment" char="/" char1="*"/> + <LineContinue attribute="Preprocessor" context="#stay"/> + </context> + <context attribute="Comment" lineEndContext="#stay" name="Outscoped"> + <RegExpr attribute="Note" context="#stay" String="(FIXME|TODO|NOT(IC)?E):?"/> + <Detect2Chars attribute="Comment" context="Block Comment" char="/" char1="*" beginRegion="Comment"/> + <RegExpr attribute="Comment" context="Outscoped intern" String="#\s*if" beginRegion="Outscoped" firstNonSpace="true"/> + <RegExpr attribute="Preprocessor" context="#pop" String="#\s*(endif|elif|else)" endRegion="Outscoped" firstNonSpace="true"/> + </context> + <context attribute="Comment" lineEndContext="#stay" name="Outscoped intern"> + <Detect2Chars attribute="Comment" context="Block Comment" char="/" char1="*" beginRegion="Comment"/> + <RegExpr attribute="Comment" context="Outscoped intern" String="#\s*if" beginRegion="Outscoped" firstNonSpace="true"/> + <RegExpr attribute="Comment" context="#pop" String="#\s*endif" endRegion="Outscoped" firstNonSpace="true"/> + </context> + </contexts> + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Keyword" defStyleNum="dsKeyword"/> + <itemData name="Builtin Function" defStyleNum="dsFunction"/> + <itemData name="Data Type" defStyleNum="dsDataType"/> + <itemData name="Decimal" defStyleNum="dsDecVal"/> + <itemData name="Hex" defStyleNum="dsBaseN"/> + <itemData name="Octal" defStyleNum="dsBaseN"/> + <itemData name="Binary" 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="Comment" defStyleNum="dsComment"/> + <itemData name="Note" defStyleNum="dsAlert"/> + <itemData name="Preprocessor" defStyleNum="dsOthers"/> + <itemData name="Preprocessor Lib" defStyleNum="dsString"/> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="singleLine" start="#!"/> + <comment name="singleLine" start="//"/> + <comment name="multiLine" start="/*" end="*/"/> + </comments> + <keywords casesensitive="1"/> + </general> +</language> diff --git a/kate/data/postscript.xml b/kate/data/postscript.xml new file mode 100644 index 000000000..b590db232 --- /dev/null +++ b/kate/data/postscript.xml @@ -0,0 +1,434 @@ +<?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"> +<highlighting> + <list name="keywords"> + <item> abs </item> + <item> add </item> + <item> aload </item> + <item> anchorsearch </item> + <item> and </item> + <item> arc </item> + <item> arcn </item> + <item> arct </item> + <item> arcto </item> + <item> array </item> + <item> ashow </item> + <item> astore </item> + <item> awidthshow </item> + <item> begin </item> + <item> bind </item> + <item> bitshift </item> + <item> ceiling </item> + <item> charpath </item> + <item> clear </item> + <item> cleartomark </item> + <item> clip </item> + <item> clippath </item> + <item> closepath </item> + <item> concat </item> + <item> concatmatrix </item> + <item> copy </item> + <item> count </item> + <item> counttomark </item> + <item> currentcmykcolor </item> + <item> currentdash </item> + <item> currentdict </item> + <item> currentfile </item> + <item> currentfont </item> + <item> currentgray </item> + <item> currentgstate </item> + <item> currenthsbcolor </item> + <item> currentlinecap </item> + <item> currentlinejoin </item> + <item> currentlinewidth </item> + <item> currentmatrix </item> + <item> currentpoint </item> + <item> currentrgbcolor </item> + <item> currentshared </item> + <item> curveto </item> + <item> cvi </item> + <item> cvlit </item> + <item> cvn </item> + <item> cvr </item> + <item> cvrs </item> + <item> cvs </item> + <item> cvx </item> + <item> def </item> + <item> defineusername </item> + <item> dict </item> + <item> div </item> + <item> dtransform </item> + <item> dup </item> + <item> end </item> + <item> eoclip </item> + <item> eofill </item> + <item> eoviewclip </item> + <item> eq </item> + <item> exch </item> + <item> exec </item> + <item> exit </item> + <item> file </item> + <item> fill </item> + <item> findfont </item> + <item> flattenpath </item> + <item> floor </item> + <item> flush </item> + <item> flushfile </item> + <item> for </item> + <item> forall </item> + <item> ge </item> + <item> get </item> + <item> getinterval </item> + <item> grestore </item> + <item> gsave </item> + <item> gstate </item> + <item> gt </item> + <item> identmatrix </item> + <item> idiv </item> + <item> idtransform </item> + <item> if </item> + <item> ifelse </item> + <item> image </item> + <item> imagemask </item> + <item> index </item> + <item> ineofill </item> + <item> infill </item> + <item> initviewclip </item> + <item> inueofill </item> + <item> inufill </item> + <item> invertmatrix </item> + <item> itransform </item> + <item> known </item> + <item> le </item> + <item> length </item> + <item> lineto </item> + <item> load </item> + <item> loop </item> + <item> lt </item> + <item> makefont </item> + <item> matrix </item> + <item> maxlength </item> + <item> mod </item> + <item> moveto </item> + <item> mul </item> + <item> ne </item> + <item> neg </item> + <item> newpath </item> + <item> not </item> + <item> null </item> + <item> or </item> + <item> pathbbox </item> + <item> pathforall </item> + <item> pop </item> + <item> print </item> + <item> printobject </item> + <item> put </item> + <item> putinterval </item> + <item> rcurveto </item> + <item> read </item> + <item> readhexstring </item> + <item> readline </item> + <item> readstring </item> + <item> rectclip </item> + <item> rectfill </item> + <item> rectstroke </item> + <item> rectviewclip </item> + <item> repeat </item> + <item> restore </item> + <item> rlineto </item> + <item> rmoveto </item> + <item> roll </item> + <item> rotate </item> + <item> round </item> + <item> save </item> + <item> scale </item> + <item> scalefont </item> + <item> search </item> + <item> selectfont </item> + <item> setbbox </item> + <item> setcachedevice </item> + <item> setcachedevice2 </item> + <item> setcharwidth </item> + <item> setcmykcolor </item> + <item> setdash </item> + <item> setfont </item> + <item> setgray </item> + <item> setgstate </item> + <item> sethsbcolor </item> + <item> setlinecap </item> + <item> setlinejoin </item> + <item> setlinewidth </item> + <item> setmatrix </item> + <item> setrgbcolor </item> + <item> setshared </item> + <item> shareddict </item> + <item> show </item> + <item> showpage </item> + <item> stop </item> + <item> stopped </item> + <item> store </item> + <item> string </item> + <item> stringwidth </item> + <item> stroke </item> + <item> strokepath </item> + <item> sub </item> + <item> systemdict </item> + <item> token </item> + <item> transform </item> + <item> translate </item> + <item> truncate </item> + <item> type </item> + <item> uappend </item> + <item> ucache </item> + <item> ueofill </item> + <item> ufill </item> + <item> undef </item> + <item> upath </item> + <item> userdict </item> + <item> ustroke </item> + <item> viewclip </item> + <item> viewclippath </item> + <item> where </item> + <item> widthshow </item> + <item> write </item> + <item> writehexstring </item> + <item> writeobject </item> + <item> writestring </item> + <item> wtranslation </item> + <item> xor </item> + <item> xshow </item> + <item> xyshow </item> + <item> yshow </item> + <item> FontDirectory </item> + <item> SharedFontDirectory </item> + <item> Courier </item> + <item> Courier-Bold </item> + <item> Courier-BoldOblique </item> + <item> Courier-Oblique </item> + <item> Helvetica </item> + <item> Helvetica-Bold </item> + <item> Helvetica-BoldOblique </item> + <item> Helvetica-Oblique </item> + <item> Symbol </item> + <item> Times-Bold </item> + <item> Times-BoldItalic </item> + <item> Times-Italic </item> + <item> Times-Roman </item> + <item> execuserobject </item> + <item> currentcolor </item> + <item> currentcolorspace </item> + <item> currentglobal </item> + <item> execform </item> + <item> filter </item> + <item> findresource </item> + <item> globaldict </item> + <item> makepattern </item> + <item> setcolor </item> + <item> setcolorspace </item> + <item> setglobal </item> + <item> setpagedevice </item> + <item> setpattern </item> + <item> ISOLatin1Encoding </item> + <item> StandardEncoding </item> + <item> atan </item> + <item> banddevice </item> + <item> bytesavailable </item> + <item> cachestatus </item> + <item> closefile </item> + <item> colorimage </item> + <item> condition </item> + <item> copypage </item> + <item> cos </item> + <item> countdictstack </item> + <item> countexecstack </item> + <item> cshow </item> + <item> currentblackgeneration </item> + <item> currentcacheparams </item> + <item> currentcolorscreen </item> + <item> currentcolortransfer </item> + <item> currentcontext </item> + <item> currentflat </item> + <item> currenthalftone </item> + <item> currenthalftonephase </item> + <item> currentmiterlimit </item> + <item> currentobjectformat </item> + <item> currentpacking </item> + <item> currentscreen </item> + <item> currentstrokeadjust </item> + <item> currenttransfer </item> + <item> currentundercolorremoval </item> + <item> defaultmatrix </item> + <item> definefont </item> + <item> deletefile </item> + <item> detach </item> + <item> deviceinfo </item> + <item> dictstack </item> + <item> echo </item> + <item> erasepage </item> + <item> errordict </item> + <item> execstack </item> + <item> executeonly </item> + <item> exp </item> + <item> false </item> + <item> filenameforall </item> + <item> fileposition </item> + <item> fork </item> + <item> framedevice </item> + <item> grestoreall </item> + <item> handleerror </item> + <item> initclip </item> + <item> initgraphics </item> + <item> initmatrix </item> + <item> instroke </item> + <item> inustroke </item> + <item> join </item> + <item> kshow </item> + <item> ln </item> + <item> lock </item> + <item> log </item> + <item> mark </item> + <item> monitor </item> + <item> noaccess </item> + <item> notify </item> + <item> nulldevice </item> + <item> packedarray </item> + <item> quit </item> + <item> rand </item> + <item> rcheck </item> + <item> readonly </item> + <item> realtime </item> + <item> renamefile </item> + <item> renderbands </item> + <item> resetfile </item> + <item> reversepath </item> + <item> rootfont </item> + <item> rrand </item> + <item> run </item> + <item> scheck </item> + <item> setblackgeneration </item> + <item> setcachelimit </item> + <item> setcacheparams </item> + <item> setcolorscreen </item> + <item> setcolortransfer </item> + <item> setfileposition </item> + <item> setflat </item> + <item> sethalftone </item> + <item> sethalftonephase </item> + <item> setmiterlimit </item> + <item> setobjectformat </item> + <item> setpacking </item> + <item> setscreen </item> + <item> setstrokeadjust </item> + <item> settransfer </item> + <item> setucacheparams </item> + <item> setundercolorremoval </item> + <item> sin </item> + <item> sqrt </item> + <item> srand </item> + <item> stack </item> + <item> status </item> + <item> statusdict </item> + <item> true </item> + <item> ucachestatus </item> + <item> undefinefont </item> + <item> usertime </item> + <item> ustrokepath </item> + <item> version </item> + <item> vmreclaim </item> + <item> vmstatus </item> + <item> wait </item> + <item> wcheck </item> + <item> xcheck </item> + <item> yield </item> + <item> defineuserobject </item> + <item> undefineuserobject </item> + <item> UserObjects </item> + <item> cleardictstack </item> + <item> setvmthreshold </item> + <item> currentcolorrendering </item> + <item> currentdevparams </item> + <item> currentoverprint </item> + <item> currentpagedevice </item> + <item> currentsystemparams </item> + <item> currentuserparams </item> + <item> defineresource </item> + <item> findencoding </item> + <item> gcheck </item> + <item> glyphshow </item> + <item> languagelevel </item> + <item> product </item> + <item> pstack </item> + <item> resourceforall </item> + <item> resourcestatus </item> + <item> revision </item> + <item> serialnumber </item> + <item> setcolorrendering </item> + <item> setdevparams </item> + <item> setoverprint </item> + <item> setsystemparams </item> + <item> setuserparams </item> + <item> startjob </item> + <item> undefineresource </item> + <item> GlobalFontDirectory </item> + <item> ASCII85Decode </item> + <item> ASCII85Encode </item> + <item> ASCIIHexDecode </item> + <item> ASCIIHexEncode </item> + <item> CCITTFaxDecode </item> + <item> CCITTFaxEncode </item> + <item> DCTDecode </item> + <item> DCTEncode </item> + <item> LZWDecode </item> + <item> LZWEncode </item> + <item> NullEncode </item> + <item> RunLengthDecode </item> + <item> RunLengthEncode </item> + <item> SubFileDecode </item> + <item> CIEBasedA </item> + <item> CIEBasedABC </item> + <item> DeviceCMYK </item> + <item> DeviceGray </item> + <item> DeviceRGB </item> + <item> Indexed </item> + <item> Pattern </item> + <item> Separation </item> + <item> CIEBasedDEF </item> + <item> CIEBasedDEFG </item> + <item> DeviceN </item> + </list> + + <contexts> + <context name="Normal" attribute="Normal Text" lineEndContext="#stay"> + <keyword attribute="Keyword" context="#stay" String="keywords"/> + <Detect2Chars attribute="Header" context="Header" char="%" char1="!"/> + <DetectChar attribute="Comment" context="Comment" char="%"/> + <Float attribute="Float" context="#stay"/> + <Int attribute="Decimal" context="#stay"/> + <DetectChar attribute="String" context="String" char="("/> + <RegExpr attribute="Data Type" context="#stay" String="\/{1,2}[^\s\(\)\{\}\[\]%/]*"/> + </context> + <context attribute="Comment" lineEndContext="#pop" name="Comment"/> + <context attribute="Header" lineEndContext="#pop" name="Header"/> + <context attribute="String" lineEndContext="#stay" name="String"> + <DetectChar attribute="String" context="#pop" char=")" /> + </context> + </contexts> + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Keyword" defStyleNum="dsKeyword"/> + <itemData name="Comment" defStyleNum="dsComment"/> + <itemData name="Header" defStyleNum="dsOthers"/> + <itemData name="Float" defStyleNum="dsFloat"/> + <itemData name="Decimal" defStyleNum="dsDecVal"/> + <itemData name="String" defStyleNum="dsString"/> + <itemData name="Data Type" defStyleNum="dsDataType"/> + </itemDatas> +</highlighting> +<general> + <comments> + <comment name="singleLine" start="%" /> + </comments> + <keywords casesensitive="0" /> +</general> +</language> diff --git a/kate/data/povray.xml b/kate/data/povray.xml new file mode 100644 index 000000000..b1c3ab711 --- /dev/null +++ b/kate/data/povray.xml @@ -0,0 +1,883 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<!-- Extended and updated by --> +<!-- Christoph Hormann <chris_hormann@gmx.de>, March 2004 --> +<!-- features full POV-Ray 3.6 syntax with special highlighting --> +<!-- of variable and macro declarations --> +<language name="POV-Ray" version="1.04" kateversion="2.4" section="Other" extensions="*.inc;*.pov" mimetype="text/x-povray-script;text/x-povray-include" priority="2"> + <highlighting> + <list name="keywords"> + <item> aa_threshold </item> + <item> aa_level </item> + <item> absorption </item> + <item> abs </item> + <item> accuracy </item> + <item> acosh </item> + <item> acos </item> + <item> adaptive </item> + <item> adc_bailout </item> + <item> agate </item> + <item> agate_turb </item> + <item> all_intersections </item> + <item> all </item> + <item> alpha </item> + <item> always_sample </item> + <item> altitude </item> + <item> ambient_light </item> + <item> ambient </item> + <item> angle </item> + <item> aperture </item> + <item> append </item> + <item> arc_angle </item> + <item> area_light </item> + <item> array </item> + <item> ascii </item> + <item> asc </item> + <item> asinh </item> + <item> asin </item> + <item> assumed_gamma </item> + <item> atan2 </item> + <item> atanh </item> + <item> atan </item> + <item> average </item> + <item> background </item> + <item> bezier_spline </item> + <item> bicubic_patch </item> + <item> black_hole </item> + <item> blob </item> + <item> blue </item> + <item> blur_samples </item> + <item> bounded_by </item> + <item> boxed </item> + <item> box </item> + <item> bozo </item> + <item> brick_size </item> + <item> brick </item> + <item> brightness </item> + <item> brilliance </item> + <item> bumps </item> + <item> bump_map </item> + <item> bump_size </item> + <item> b_spline </item> + <item> camera </item> + <item> caustics </item> + <item> ceil </item> + <item> cells </item> + <item> charset </item> + <item> checker </item> + <item> chr </item> + <item> circular </item> + <item> clipped_by </item> + <item> clock_delta </item> + <item> clock_on </item> + <item> clock </item> + <item> color_map </item> + <item> colour_map </item> + <item> color </item> + <item> colour </item> + <item> component </item> + <item> composite </item> + <item> concat </item> + <item> cone </item> + <item> confidence </item> + <item> conic_sweep </item> + <item> contained_by </item> + <item> control0 </item> + <item> control1 </item> + <item> coords </item> + <item> cosh </item> + <item> cos </item> + <item> count </item> + <item> crackle </item> + <item> crand </item> + <item> cube </item> + <item> cubic_spline </item> + <item> cubic </item> + <item> cubic_wave </item> + <item> cylinder </item> + <item> cylindrical </item> + <item> defined </item> + <item> degrees </item> + <item> density_file </item> + <item> density_map </item> + <item> density </item> + <item> dents </item> + <item> df3 </item> + <item> difference </item> + <item> diffuse </item> + <item> dimensions </item> + <item> dimension_size </item> + <item> direction </item> + <item> disc </item> + <item> dispersion </item> + <item> dispersion_samples </item> + <item> distance_maximum </item> + <item> distance </item> + <item> dist_exp </item> + <item> div </item> + <item> double_illuminate </item> + <item> eccentricity </item> + <item> emission </item> + <item> error_bound </item> + <item> evaluate </item> + <item> exp </item> + <item> exponent </item> + <item> exterior </item> + <item> extinction </item> + <item> facets </item> + <item> face_indices </item> + <item> fade_colour </item> + <item> fade_color </item> + <item> fade_distance </item> + <item> fade_power </item> + <item> falloff_angle </item> + <item> falloff </item> + <item> false </item> + <item> file_exists </item> + <item> shadowless </item> + <item> filter </item> + <item> final_clock </item> + <item> final_frame </item> + <item> finish </item> + <item> fisheye </item> + <item> flatness </item> + <item> flip </item> + <item> floor </item> + <item> focal_point </item> + <item> fog_alt </item> + <item> fog_offset </item> + <item> fog </item> + <item> fog_type </item> + <item> form </item> + <item> frame_number </item> + <item> frequency </item> + <item> fresnel </item> + <item> function </item> + <item> gif </item> + <item> global_settings </item> + <item> gradient </item> + <item> granite </item> + <item> gray </item> + <item> gray_threshold </item> + <item> green </item> + <item> height_field </item> + <item> hexagon </item> + <item> hf_gray_16 </item> + <item> hierarchy </item> + <item> hollow </item> + <item> hypercomplex </item> + <item> image_width </item> + <item> image_height </item> + <item> initial_clock </item> + <item> initial_frame </item> + <item> interior_texture </item> + <item> iff </item> + <item> image_map </item> + <item> image_pattern </item> + <item> inside </item> + <item> inside_vector </item> + <item> interior </item> + <item> interpolate </item> + <item> intersection </item> + <item> intervals </item> + <item> int </item> + <item> inverse </item> + <item> ior </item> + <item> irid </item> + <item> irid_wavelength </item> + <item> isosurface </item> + <item> jitter </item> + <item> julia </item> + <item> julia_fractal </item> + <item> jpeg </item> + <item> lambda </item> + <item> lathe </item> + <item> leopard </item> + <item> light_group </item> + <item> light_source </item> + <item> linear_spline </item> + <item> linear_sweep </item> + <item> ln </item> + <item> load_file </item> + <item> location </item> + <item> log </item> + <item> looks_like </item> + <item> look_at </item> + <item> low_error_factor </item> + <item> magnet </item> + <item> major_radius </item> + <item> mandel </item> + <item> map_type </item> + <item> marble </item> + <item> material_map </item> + <item> material </item> + <item> matrix </item> + <item> max_extent </item> + <item> max_gradient </item> + <item> max_intersections </item> + <item> max_iteration </item> + <item> max_sample </item> + <item> max </item> + <item> max_trace_level </item> + <item> max_trace </item> + <item> media_attenuation </item> + <item> media_interaction </item> + <item> media </item> + <item> merge </item> + <item> mesh2 </item> + <item> mesh </item> + <item> metallic </item> + <item> method </item> + <item> metric </item> + <item> minimum_reuse </item> + <item> min_extent </item> + <item> min </item> + <item> mod </item> + <item> mortar </item> + <item> natural_spline </item> + <item> nearest_count </item> + <item> normal </item> + <item> normal_indices </item> + <item> normal_map </item> + <item> normal_vectors </item> + <item> no_image </item> + <item> no_reflection </item> + <item> no_shadow </item> + <item> no </item> + <item> number_of_waves </item> + <item> object </item> + <item> octaves </item> + <item> offset </item> + <item> off </item> + <item> omega </item> + <item> omnimax </item> + <item> once </item> + <item> onion </item> + <item> on </item> + <item> open </item> + <item> orientation </item> + <item> orient </item> + <item> orthographic </item> + <item> panoramic </item> + <item> parallel </item> + <item> parametric </item> + <item> pattern </item> + <item> perspective </item> + <item> pgm </item> + <item> phase </item> + <item> phong_size </item> + <item> phong </item> + <item> pigment_map </item> + <item> pigment </item> + <item> pi </item> + <item> planar </item> + <item> plane </item> + <item> png </item> + <item> point_at </item> + <item> polygon </item> + <item> poly </item> + <item> poly_wave </item> + <item> pot </item> + <item> pow </item> + <item> ppm </item> + <item> precision </item> + <item> precompute </item> + <item> pretrace_start </item> + <item> pretrace_end </item> + <item> prism </item> + <item> prod </item> + <item> projected_through </item> + <item> pwr </item> + <item> quadratic_spline </item> + <item> quadric </item> + <item> quartic </item> + <item> quaternion </item> + <item> quick_color </item> + <item> quick_colour </item> + <item> quilted </item> + <item> radial </item> + <item> radians </item> + <item> radiosity </item> + <item> radius </item> + <item> rainbow </item> + <item> ramp_wave </item> + <item> rand </item> + <item> range </item> + <item> ratio </item> + <item> reciprocal </item> + <item> recursion_limit </item> + <item> red </item> + <item> reflection_exponent </item> + <item> reflection </item> + <item> refraction </item> + <item> repeat </item> + <item> rgbft </item> + <item> rgbf </item> + <item> rgbt </item> + <item> rgb </item> + <item> right </item> + <item> ripples </item> + <item> rotate </item> + <item> roughness </item> + <item> samples </item> + <item> save_file </item> + <item> scale </item> + <item> scallop_wave </item> + <item> scattering </item> + <item> seed </item> + <item> select </item> + <item> sine_wave </item> + <item> sinh </item> + <item> sin </item> + <item> size </item> + <item> sky_sphere </item> + <item> sky </item> + <item> slice </item> + <item> slope_map </item> + <item> slope </item> + <item> smooth </item> + <item> smooth_triangle </item> + <item> solid </item> + <item> sor </item> + <item> specular </item> + <item> sphere_sweep </item> + <item> sphere </item> + <item> spherical </item> + <item> spiral1 </item> + <item> spiral2 </item> + <item> spline </item> + <item> spotlight </item> + <item> spotted </item> + <item> sqrt </item> + <item> sqr </item> + <item> statistics </item> + <item> strcmp </item> + <item> strength </item> + <item> strlen </item> + <item> strlwr </item> + <item> strupr </item> + <item> str </item> + <item> sturm </item> + <item> substr </item> + <item> sum </item> + <item> superellipsoid </item> + <item> sys </item> + <item> tanh </item> + <item> tan </item> + <item> texture_list </item> + <item> texture_map </item> + <item> texture </item> + <item> text </item> + <item> tga </item> + <item> thickness </item> + <item> threshold </item> + <item> tiff </item> + <item> tightness </item> + <item> tile2 </item> + <item> tiles </item> + <item> normal </item> + <item> tolerance </item> + <item> toroidal </item> + <item> torus </item> + <item> trace </item> + <item> transform </item> + <item> translate </item> + <item> transmit </item> + <item> triangle </item> + <item> triangle_wave </item> + <item> true </item> + <item> ttf </item> + <item> turbulence </item> + <item> turb_depth </item> + <item> type </item> + <item> t </item> + <item> ultra_wide_angle </item> + <item> union </item> + <item> up </item> + <item> use_alpha </item> + <item> use_color </item> + <item> use_colour </item> + <item> use_index </item> + <item> utf8 </item> + <item> uv_indices </item> + <item> uv_mapping </item> + <item> uv_vectors </item> + <item> u_steps </item> + <item> u </item> + <item> val </item> + <item> variance </item> + <item> vaxis_rotate </item> + <item> vcross </item> + <item> vdot </item> + <item> vertex_vectors </item> + <item> vlength </item> + <item> vnormalize </item> + <item> vrotate </item> + <item> vstr </item> + <item> vturbulence </item> + <item> v_steps </item> + <item> v </item> + <item> warning </item> + <item> warp </item> + <item> water_level </item> + <item> waves </item> + <item> while </item> + <item> width </item> + <item> wood </item> + <item> wrinkles </item> + <item> write </item> + <item> x </item> + <item> yes </item> + <item> y </item> + <item> z </item> + <item> photons </item> + <item> steps </item> + <item> pass_through </item> + <item> collect </item> + <item> autostop </item> + <item> gather </item> + <item> split_union </item> + <item> expand_thresholds </item> + <item> spacing </item> + <item> global </item> + <item> target </item> + <item> conserve_energy </item> + <item> cutaway_textures </item> + <item> pigment_pattern </item> + <item> no_bump_scale </item> + <item> global_lights </item> + <item> internal </item> + <item> noise_generator </item> + </list> + + <list name="objects"> + <item> bicubic_patch </item> + <item> blob </item> + <item> box </item> + <item> cone </item> + <item> cubic </item> + <item> cylinder </item> + <item> difference </item> + <item> disc </item> + <item> height_field </item> + <item> intersection </item> + <item> isosurface </item> + <item> julia_fractal </item> + <item> lathe </item> + <item> light_source </item> + <item> merge </item> + <item> mesh </item> + <item> mesh2 </item> + <item> object </item> + <item> parametric </item> + <item> plane </item> + <item> poly </item> + <item> polygon </item> + <item> prism </item> + <item> quadric </item> + <item> quartic </item> + <item> smooth_triangle </item> + <item> sor </item> + <item> sphere </item> + <item> sphere_sweep </item> + <item> superellipsoid </item> + <item> text </item> + <item> torus </item> + <item> triangle </item> + <item> union </item> + </list> + + <list name="texturing"> + <item> aa_threshold </item> + <item> aa_level </item> + <item> absorption </item> + <item> agate </item> + <item> agate_turb </item> + <item> ambient </item> + <item> average </item> + <item> black_hole </item> + <item> blue </item> + <item> boxed </item> + <item> brick_size </item> + <item> brick </item> + <item> brilliance </item> + <item> bumps </item> + <item> bump_map </item> + <item> bump_size </item> + <item> caustics </item> + <item> cells </item> + <item> checker </item> + <item> color_map </item> + <item> colour_map </item> + <item> color </item> + <item> colour </item> + <item> conserve_energy </item> + <item> control0 </item> + <item> control1 </item> + <item> crackle </item> + <item> crand </item> + <item> cubic_wave </item> + <item> cylindrical </item> + <item> density_file </item> + <item> density_map </item> + <item> density </item> + <item> dents </item> + <item> diffuse </item> + <item> dist_exp </item> + <item> double_illuminate </item> + <item> eccentricity </item> + <item> emission </item> + <item> exponent </item> + <item> exterior </item> + <item> extinction </item> + <item> facets </item> + <item> fade_colour </item> + <item> fade_color </item> + <item> fade_distance </item> + <item> fade_power </item> + <item> filter </item> + <item> finish </item> + <item> form </item> + <item> frequency </item> + <item> fresnel </item> + <item> gradient </item> + <item> granite </item> + <item> gray </item> + <item> green </item> + <item> hexagon </item> + <item> hypercomplex </item> + <item> interior_texture </item> + <item> image_map </item> + <item> image_pattern </item> + <item> interior </item> + <item> interpolate </item> + <item> intervals </item> + <item> ior </item> + <item> irid </item> + <item> irid_wavelength </item> + <item> julia </item> + <item> lambda </item> + <item> leopard </item> + <item> magnet </item> + <item> mandel </item> + <item> map_type </item> + <item> marble </item> + <item> material_map </item> + <item> material </item> + <item> media </item> + <item> metallic </item> + <item> method </item> + <item> metric </item> + <item> mortar </item> + <item> normal </item> + <item> normal_map </item> + <item> number_of_waves </item> + <item> octaves </item> + <item> omega </item> + <item> once </item> + <item> onion </item> + <item> orientation </item> + <item> phase </item> + <item> phong_size </item> + <item> phong </item> + <item> pigment_map </item> + <item> pigment </item> + <item> planar </item> + <item> quaternion </item> + <item> quick_color </item> + <item> quick_colour </item> + <item> quilted </item> + <item> radial </item> + <item> ramp_wave </item> + <item> red </item> + <item> reflection_exponent </item> + <item> reflection </item> + <item> repeat </item> + <item> rgbft </item> + <item> rgbf </item> + <item> rgbt </item> + <item> rgb </item> + <item> ripples </item> + <item> roughness </item> + <item> samples </item> + <item> scallop_wave </item> + <item> scattering </item> + <item> sine_wave </item> + <item> slope_map </item> + <item> slope </item> + <item> solid </item> + <item> specular </item> + <item> spherical </item> + <item> spiral1 </item> + <item> spiral2 </item> + <item> spotted </item> + <item> texture_list </item> + <item> texture_map </item> + <item> texture </item> + <item> tile2 </item> + <item> tiles </item> + <item> normal </item> + <item> toroidal </item> + <item> transmit </item> + <item> triangle_wave </item> + <item> turbulence </item> + <item> turb_depth </item> + <item> use_alpha </item> + <item> use_color </item> + <item> use_colour </item> + <item> use_index </item> + <item> uv_mapping </item> + <item> warp </item> + <item> waves </item> + <item> wood </item> + <item> wrinkles </item> + <item> cutaway_textures </item> + <item> pigment_pattern </item> + <item> no_bump_scale </item> + </list> + + <list name="transforms"> + <item> matrix </item> + <item> rotate </item> + <item> scale </item> + <item> translate </item> + <item> transform </item> + </list> + + <list name="filetypes"> + <item> df3 </item> + <item> gif </item> + <item> iff </item> + <item> jpeg </item> + <item> pgm </item> + <item> png </item> + <item> pot </item> + <item> ppm </item> + <item> tga </item> + <item> tiff </item> + <item> ttf </item> + </list> + + <list name="identifiers"> + <item> clock </item> + <item> clock_delta </item> + <item> clock_on </item> + <item> final_clock </item> + <item> final_frame </item> + <item> frame_number </item> + <item> image_height </item> + <item> image_width </item> + <item> initial_clock </item> + <item> initial_frame </item> + <item> t </item> + <item> u </item> + <item> v </item> + <item> x </item> + <item> y </item> + <item> z </item> + </list> + + <list name="constants"> + <item> false </item> + <item> no </item> + <item> off </item> + <item> on </item> + <item> pi </item> + <item> true </item> + <item> yes </item> + </list> + + <list name="functions"> + <item> abs </item> + <item> acos </item> + <item> acosh </item> + <item> asc </item> + <item> asin </item> + <item> asinh </item> + <item> atan </item> + <item> atan2 </item> + <item> atanh </item> + <item> ceil </item> + <item> chr </item> + <item> concat </item> + <item> cos </item> + <item> cosh </item> + <item> cube </item> + <item> defined </item> + <item> degress </item> + <item> dimension_size </item> + <item> dimensions </item> + <item> div </item> + <item> exp </item> + <item> file_exists </item> + <item> floor </item> + <item> inside </item> + <item> int </item> + <item> ln </item> + <item> log </item> + <item> max </item> + <item> min </item> + <item> mod </item> + <item> pow </item> + <item> prod </item> + <item> pwr </item> + <item> radians </item> + <item> rand </item> + <item> seed </item> + <item> select </item> + <item> sin </item> + <item> sinh </item> + <item> sqrt </item> + <item> str </item> + <item> strcmp </item> + <item> strlen </item> + <item> strlwr </item> + <item> strupr </item> + <item> substr </item> + <item> sum </item> + <item> tan </item> + <item> tanh </item> + <item> trace </item> + <item> val </item> + <item> vaxis_rotate </item> + <item> vcross </item> + <item> vdot </item> + <item> vlength </item> + <item> vnormalize </item> + <item> vrotate </item> + <item> vstr </item> + <item> vturbulence </item> + </list> + + <list name="directives"> + <item> #debug </item> + <item> #default </item> + <item> #else </item> + <item> #end </item> + <item> #error </item> + <item> #fclose </item> + <item> #fopen </item> + <item> #if </item> + <item> #ifdef </item> + <item> #ifndef </item> + <item> #include </item> + <item> #range </item> + <item> #read </item> + <item> #render </item> + <item> #statistics </item> + <item> #switch </item> + <item> #undef </item> + <item> #version </item> + <item> #warning </item> + <item> #while </item> + <item> #write </item> + </list> + + <list name="attention"> + <item> FIXME </item> + <item> TODO </item> + <item> ### </item> + </list> + + <contexts> + <context attribute="Normal Text" lineEndContext="#stay" name="Normal"> + <StringDetect attribute="Declaration" context="Declaration" String="#declare" /> + <StringDetect attribute="Declaration" context="Declaration" String="#local" /> + <StringDetect attribute="Macro" context="Macro" String="#macro" /> + <keyword attribute="Objects" context="#stay" String="objects" /> + <keyword attribute="Texturing" context="#stay" String="texturing" /> + <keyword attribute="Transforms" context="#stay" String="transforms" /> + <keyword attribute="Filetype" context="#stay" String="filetypes" /> + <keyword attribute="Keyword" context="#stay" String="identifiers" /> + <keyword attribute="Constant" context="#stay" String="constants" /> + <keyword attribute="Functions" context="#stay" String="functions" /> + <keyword attribute="Directives" context="#stay" String="directives" /> + <keyword attribute="Keyword" context="#stay" String="keywords" /> + <Float attribute="Float" context="#stay"/> + <Int attribute="Float" context="#stay"/> + <HlCChar attribute="Char" context="#stay"/> + <DetectChar attribute="String" context="String" char="""/> + <RegExpr attribute="Region Marker" context="#stay" String="//\s*BEGIN.*$" beginRegion="Region1" firstNonSpace="true"/> + <RegExpr attribute="Region Marker" context="#stay" String="//\s*END.*$" endRegion="Region1" firstNonSpace="true"/> + <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" /> + <AnyChar attribute="Symbol" context="#stay" String=":!%&()+,-/.*<=>?[]{|}~^;"/> + </context> + + <context attribute="Declaration" lineEndContext="#pop" name="Declaration"> + <RegExpr attribute="Declare Keyword" context="Declare_Keyword" String="\w+" /> + <LineContinue attribute="Declaration" context="#stay"/> + <AnyChar attribute="Symbol" context="#pop#pop" String="=[("/> + </context> + + <context attribute="Macro" lineEndContext="#pop" name="Macro"> + <RegExpr attribute="Declare Macro" context="Declare_Macro" String="\w+" /> + <LineContinue attribute="Macro" context="#stay"/> + <DetectChar attribute="Symbol" context="#pop#pop" char="("/> + </context> + + <context attribute="Declare Keyword" lineEndContext="#pop" name="Declare_Keyword"> + <LineContinue attribute="Declare Keyword" context="#stay"/> + <AnyChar attribute="Symbol" context="#pop#pop" String="=[("/> + </context> + + <context attribute="Declare Macro" lineEndContext="#pop" name="Declare_Macro"> + <LineContinue attribute="Declare Macro" context="#stay"/> + <DetectChar attribute="Symbol" context="#pop#pop" char="("/> + </context> + + <context attribute="String" lineEndContext="#pop" name="String"> + <LineContinue attribute="String" context="#stay"/> + <HlCStringChar attribute="String Char" context="#stay"/> + <DetectChar attribute="String" context="#pop" char="""/> + </context> + + <context attribute="Comment" lineEndContext="#pop" name="Commentar 1"> + <keyword attribute="Decimal" context="#stay" String="attention" /> + </context> + + <context attribute="Comment" lineEndContext="#stay" name="Commentar 2"> + <keyword attribute="Decimal" context="#stay" String="attention" /> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment"/> + </context> + + <context attribute="Comment" lineEndContext="#stay" name="Commentar"> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" /> + </context> + </contexts> + + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal" color="#000000" selColor="#ffffff" bold="0" italic="0"/> + <itemData name="Keyword" defStyleNum="dsKeyword" color="#000080" selColor="#ffffff" bold="0" italic="0"/> + <itemData name="Objects" defStyleNum="dsKeyword" color="#800000" selColor="#ffffff" bold="0" italic="0"/> + <itemData name="Texturing" defStyleNum="dsKeyword" color="#008080" selColor="#ffffff" bold="0" italic="0"/> + <itemData name="Transforms" defStyleNum="dsKeyword" color="#000080" selColor="#ffffff" bold="0" italic="0"/> + <itemData name="Declaration" defStyleNum="dsKeyword" color="#000080" selColor="#000080" bold="1" italic="0"/> + <itemData name="Macro" defStyleNum="dsKeyword" color="#000080" selColor="#000080" bold="1" italic="0"/> + <itemData name="Declare Keyword" defStyleNum="dsKeyword" color="#990099" selColor="#990099" bold="1" italic="0"/> + <itemData name="Declare Macro" defStyleNum="dsKeyword" color="#CC0000" selColor="#990099" bold="1" italic="0"/> + <itemData name="Functions" defStyleNum="dsKeyword" color="#000080" selColor="#ffffff" bold="0" italic="0"/> + <itemData name="Directives" defStyleNum="dsOthers" color="#3300ff" selColor="#3300ff" bold="1" italic="0"/> + <itemData name="Filetype" defStyleNum="dsDataType" color="#000080" selColor="#ffffff" bold="0" italic="0"/> + <itemData name="Constant" defStyleNum="dsFloat" color="#0000ff" selColor="#ffffff" bold="0" italic="0"/> + <itemData name="Float" defStyleNum="dsFloat" color="#0000ff" selColor="#ffffff" bold="0" italic="0"/> + <itemData name="Char" defStyleNum="dsChar" color="#000080" selColor="#ffffff" bold="0" italic="0"/> + <itemData name="String" defStyleNum="dsString" color="#ff0000" selColor="#ff0000" bold="0" italic="0"/> + <itemData name="String Char" defStyleNum="dsChar" color="#ff00ff" selColor="#ff00ff" bold="0" italic="0"/> + <itemData name="Comment" defStyleNum="dsComment" color="#008000" selColor="#008000" bold="0" italic="0"/> + <itemData name="Symbol" defStyleNum="dsNormal" color="#660099" selColor="#660099" bold="0" italic="0"/> + <itemData name="Region Marker" defStyleNum="dsRegionMarker"/> +<!-- <itemData name="Region Marker" defStyleNum="dsRegionMarker" />--> + </itemDatas> + </highlighting> + + <general> + <comments> + <comment name="singleLine" start="//" /> + <comment name="multiLine" start="/*" end="*/" /> + </comments> + <keywords casesensitive="1" /> + </general> +</language> diff --git a/kate/data/progress.xml b/kate/data/progress.xml new file mode 100644 index 000000000..b281e02dd --- /dev/null +++ b/kate/data/progress.xml @@ -0,0 +1,1608 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="progress" version="1.09" kateversion="2.4" section="Database" extensions="*.p;*.w;*.i;*.cls" author="Rares Stanciulescu (rstanciu@operamail.com)" license="GPL"> + +<highlighting> + +<list name="mytypes"> + <item> CHAR </item> + <item> CHARACTER </item> + <item> COM-HANDLE </item> + <item> DECI </item> + <item> DECIMAL </item> + <item> DATE </item> + <item> INTE </item> + <item> INTEGER </item> + <item> ROWID </item> + <item> RECID </item> + <item> LOGI </item> + <item> LONGCHAR </item> + <item> LOGICAL </item> + <item> HANDLE </item> + <item> WIDGET-HANDLE </item> + <item> RAW </item> + <item> LONG </item> + <item> SHORT </item> + <item> BLOB </item> + <item> CLOB </item> + <item> LONGCHAR </item> + <item> DATETIME </item> + <item> DATETIME-TZ </item> + <item> TEMP-TABLE </item> + <item> BUFFER </item> + <item> STREAM </item> + <item> SAX-WRITER </item> + <item> MEMPTR </item> +</list> + + <list name="operators"> + <item> AND </item> + <item> OR </item> + <item> NOT </item> + <item> BEGINS </item> + <item> MATCHES </item> + <item> MODULO </item> + <item> EQ </item> + <item> NE </item> + <item> LT </item> + <item> GT </item> + <item> GE </item> + <item> LE </item> + <item> FALSE </item> + <item> TRUE </item> + <item> YES </item> + <item> NO </item> +</list> + +<list name="preprocvar"> + <item> OUT </item> + <item> BATCH-MODE </item> + <item> FILE-NAME </item> + <item> GLOBAL-DEFINE </item> + <item> LINE-NUMBER </item> + <item> OPSYS </item> + <item> ENDIF </item> + <item> SCOPED-DEFINE </item> + <item> SEQUENCE </item> + <item> UNDEFINE </item> + <item> WINDOW-SYSTEM </item> + <item> ANALYZE-RESUME </item> + <item> ANALYZE-SUSPEND </item> + <item> WEBSTREAM </item> +</list> + +<list name="phrases"> + <item> AS </item> + <item> WORD-INDEX </item> + <item> LIKE </item> + <item> ALERT-BOX </item> + <item> AT </item> + <item> COLOR </item> + <item> COMBO-BOX </item> + <item> EDITING </item> + <item> EDITOR </item> + <item> FORMAT </item> + <item> FRAME </item> + <item> IMAGE </item> + <item> ENDKEY </item> + <item> ERROR </item> + <item> QUIT </item> + <item> STOP </item> + <item> PRESELECT </item> + <item> QUERY-TUNING </item> + <item> RADIO-SET </item> + <item> RECORD </item> + <item> SELECTION-LIST </item> + <item> SIZE </item> + <item> SLIDER </item> + <item> TRIGGER </item> + <item> WIDGET </item> + <item> VIEW-AS </item> + <item> NO-UNDO </item> + <item> NO-ERROR </item> + <item> OUT </item> + <item> WHERE </item> + <item> GLOBAL </item> + <item> SHARED </item> + <item> DEFINED </item> + <item> EXCLUSIVE-LOCK </item> + <item> SHARE-LOCK </item> + <item> NO-LOCK </item> + <item> EACH </item> + <item> FIRST </item> + <item> PREV </item> + <item> LAST </item> + <item> SKIP </item> + <item> FORWARD </item> + <item> UNIQUE </item> + <item> UNFORMATTED </item> + <item> APPEND </item> + <item> IN </item> + <item> OF </item> + <item> BEFORE-HIDE </item> + <item> NO-BOX </item> + <item> NO-UNDERLINE </item> + <item> KEEP-TAB-ORDER </item> + <item> UNBUFFERED </item> + <item> BINARY </item> + <item> NO-CONVERT </item> + <item> CONVERT </item> + <item> TARGET </item> + <item> NO-FILL </item> + <item> BY </item> + <item> NO-LABEL </item> + <item> GROUP </item> + <item> BREAK </item> + <item> COLON-ALIGNED </item> + <item> WITH </item> + <item> NO-LABELS </item> + <item> NO-PAUSE </item> + <item> NO-MESSAGE </item> + <item> NO-ECHO </item> + <item> NO-MAP </item> + <item> PRIVATE </item> + <item> PUBLIC </item> + <item> PROTECTED </item> +</list> + +<list name="functions"> + <item> output-content-type </item> + <item> get-value </item> + <item> get-cgi </item> + <item> get-field </item> + <item> html-encode </item> + <item> url-encode </item> + <item> ABSOLUTE </item> + <item> ACCUM </item> + <item> ADD-INTERVAL </item> + <item> ALIAS </item> + <item> AMBIGUOUS </item> + <item> ASC </item> + <item> AVAILABLE </item> + <item> BASE64-DECODE </item> + <item> BASE64-ENCODE </item> + <item> CAN-DO </item> + <item> CAN-FIND </item> + <item> CAN-QUERY </item> + <item> CAN-SET </item> + <item> CAPS </item> + <item> CHR </item> + <item> CODEPAGE-CONVERT </item> + <item> COMPARE </item> + <item> CONNECTED </item> + <item> COUNT-OF </item> + <item> CURRENT-CHANGED </item> + <item> CURRENT-LANGUAGE </item> + <item> CURRENT-RESULT-ROW </item> + <item> CURRENT-VALUE </item> + <item> DATASERVERS </item> + <item> DATA-SOURCE-MODIFIED </item> + <item> DATE </item> + <item> DATETIME </item> + <item> DATETIME-TZ </item> + <item> DAY </item> + <item> DBCODEPAGE </item> + <item> DBCOLLATION </item> + <item> DBNAME </item> + <item> DBPARAM </item> + <item> DBRESTRICTIONS </item> + <item> DBTASKID </item> + <item> DBTYPE </item> + <item> DBVERSION </item> + <item> DECIMAL </item> + <item> DECRYPT </item> + <item> DYNAMIC-CURRENT-VALUE </item> + <item> DYNAMIC-FUNCTION </item> + <item> DYNAMIC-NEXT-VALUE </item> + <item> ENCODE </item> + <item> ENCRYPT </item> + <item> ENTERED </item> + <item> ENTRY </item> + <item> ERROR </item> + <item> ETIME </item> + <item> EXP </item> + <item> EXTENT </item> + <item> FILL </item> + <item> FIRST </item> + <item> FIRST-OF </item> + <item> FIX-CODEPAGE </item> + <item> FRAME-COL </item> + <item> FRAME-DB </item> + <item> FRAME-DOWN </item> + <item> FRAME-FIELD </item> + <item> FRAME-FILE </item> + <item> FRAME-INDEX </item> + <item> FRAME-LINE </item> + <item> FRAME-NAME </item> + <item> FRAME-ROW </item> + <item> FRAME-VALUE </item> + <item> GATEWAYS </item> + <item> GENERATE-PBE-KEY </item> + <item> GENERATE-PBE-SALT </item> + <item> GENERATE-RANDOM-KEY </item> + <item> GET-BITS </item> + <item> GET-BYTE </item> + <item> GET-BYTE-ORDER </item> + <item> GET-BYTES </item> + <item> GET-CODEPAGE </item> + <item> GET-CODEPAGES </item> + <item> GET-COLLATION </item> + <item> GET-COLLATIONS </item> + <item> GET-DOUBLE </item> + <item> GET-FLOAT </item> + <item> GET-LONG </item> + <item> GET-POINTER-VALUE </item> + <item> GET-SHORT </item> + <item> GET-SIZE </item> + <item> GET-STRING </item> + <item> GET-UNSIGNED-SHORT </item> + <item> GO-PENDING </item> + <item> INDEX </item> + <item> INTEGER </item> + <item> INTERVAL </item> + <item> IS-ATTR-SPACE </item> + <item> IS-CODEPAGE-FIXED </item> + <item> IS-COLUMN-CODEPAGE </item> + <item> IS-LEAD-BYTE </item> + <item> ISO-DATE </item> + <item> KBLABEL </item> + <item> KEYCODE </item> + <item> KEYFUNCTION </item> + <item> KEYLABEL </item> + <item> KEYWORD </item> + <item> KEYWORD-ALL </item> + <item> LAST </item> + <item> LASTKEY </item> + <item> LAST-OF </item> + <item> LC </item> + <item> LDBNAME </item> + <item> LEFT-TRIM </item> + <item> LENGTH </item> + <item> LIBRARY </item> + <item> LINE-COUNTER </item> + <item> LIST-EVENTS </item> + <item> LIST-QUERY-ATTRS </item> + <item> LIST-SET-ATTRS </item> + <item> LIST-WIDGETS </item> + <item> LOCKED </item> + <item> LOG </item> + <item> LOGICAL </item> + <item> LOOKUP </item> + <item> MAXIMUM </item> + <item> MD5-DIGEST </item> + <item> MEMBER </item> + <item> MESSAGE-LINES </item> + <item> MINIMUM </item> + <item> MONTH </item> + <item> MTIME </item> + <item> NEW </item> + <item> NEXT-VALUE </item> + <item> NORMALIZE </item> + <item> NOT ENTERED </item> + <item> NOW </item> + <item> NUM-ALIASES </item> + <item> NUM-DBS </item> + <item> NUM-ENTRIES </item> + <item> NUM-RESULTS </item> + <item> OPSYS </item> + <item> OS-DRIVES </item> + <item> OS-ERROR </item> + <item> OS-GETENV </item> + <item> PAGE-NUMBER </item> + <item> PAGE-SIZE </item> + <item> PDBNAME </item> + <item> PROC-HANDLE </item> + <item> PROC-STATUS </item> + <item> PROGRAM-NAME </item> + <item> PROGRESS </item> + <item> PROMSGS </item> + <item> PROPATH </item> + <item> PROVERSION </item> + <item> QUERY-OFF-END </item> + <item> QUOTER </item> + <item> RANDOM </item> + <item> RAW </item> + <item> RECID </item> + <item> RECORD-LENGTH </item> + <item> REJECTED </item> + <item> REPLACE </item> + <item> RETRY </item> + <item> RETURN-VALUE </item> + <item> RGB-VALUE </item> + <item> RIGHT-TRIM </item> + <item> R-INDEX </item> + <item> ROUND </item> + <item> ROWID </item> + <item> ROW-STATE </item> + <item> SCREEN-LINES </item> + <item> SDBNAME </item> + <item> SEARCH </item> + <item> SEEK </item> + <item> SETUSERID </item> + <item> SHA1-DIGEST </item> + <item> SQRT </item> + <item> SSL-SERVER-NAME </item> + <item> STRING </item> + <item> SUBSTITUTE </item> + <item> SUBSTRING </item> + <item> SUPER </item> + <item> TERMINAL </item> + <item> TIME </item> + <item> TIMEZONE </item> + <item> TODAY </item> + <item> TO-ROWID </item> + <item> TRANSACTION </item> + <item> TRIM </item> + <item> TRUNCATE </item> + <item> USERID </item> + <item> VALID-EVENT </item> + <item> VALID-HANDLE </item> + <item> WEEKDAY </item> + <item> WIDGET-HANDLE </item> + <item> YEAR </item> +</list> + +<list name="statements"> + <item> IF </item> + <item> THEN </item> + <item> ELSE </item> + <item> WHEN </item> + <item> OTHERWISE </item> + <item> ACCUMULATE </item> + <item> APPLY </item> + <item> ASSIGN </item> + <item> BELL </item> + <item> BUFFER-COMPARE </item> + <item> BUFFER-COPY </item> + <item> CHOOSE </item> + <item> CLEAR </item> + <item> CLOSE </item> + <item> QUERY </item> + <item> STORED-PROCEDURE </item> + <item> COLOR </item> + <item> COMPILE </item> + <item> CONNECT </item> + <item> COPY-LOB </item> + <item> CREATE </item> + <item> ALIAS </item> + <item> BROWSE </item> + <item> BUFFER </item> + <item> CALL </item> + <item> DATABASE </item> + <item> DATASET </item> + <item> DATA-SOURCE </item> + <item> QUERY </item> + <item> SAX-READER </item> + <item> SERVER </item> + <item> SERVER-SOCKET </item> + <item> SOAP-HEADER </item> + <item> SOAP-HEADER-ENTRYREF </item> + <item> SOCKET </item> + <item> TEMP-TABLE </item> + <item> WIDGET </item> + <item> WIDGET-POOL </item> + <item> X-DOCUMENT </item> + <item> X-NODEREF </item> + <item> CURRENT-LANGUAGE </item> + <item> CURRENT-VALUE </item> + <item> DDE </item> + <item> ADVISE </item> + <item> EXECUTE </item> + <item> GET </item> + <item> INITIATE </item> + <item> REQUEST </item> + <item> SEND </item> + <item> TERMINATE </item> + <item> DEF </item> + <item> DEFINE </item> + <item> VAR </item> + <item> VARIABLE </item> + <item> BROWSE </item> + <item> BUFFER </item> + <item> BUTTON </item> + <item> DATASET </item> + <item> DATA-SOURCE </item> + <item> FRAME </item> + <item> IMAGE </item> + <item> MENU </item> + <item> PARAM </item> + <item> PARAMETER </item> + <item> QUERY </item> + <item> RECTANGLE </item> + <item> STREAM </item> + <item> SUB-MENU </item> + <item> TEMP-TABLE </item> + <item> VARIABLE </item> + <item> WORK-TABLE </item> + <item> WORKFILE </item> + <item> DELETE </item> + <item> ALIAS </item> + <item> OBJECT </item> + <item> WIDGET </item> + <item> WIDGET-POOL </item> + <item> DICTIONARY </item> + <item> DISABLE </item> + <item> TRIGGERS </item> + <item> DISCONNECT </item> + <item> DISPLAY </item> + <item> DOS </item> + <item> DOWN </item> + <item> DYNAMIC-CURRENT-VALUE </item> + <item> EMPTY </item> + <item> TEMP-TABLE </item> + <item> ENABLE </item> + <item> ENTRY </item> + <item> EXPORT </item> + <item> FIND </item> + <item> FORM </item> + <item> FRAME-VALUE </item> + <item> GET </item> + <item> GET-KEY-VALUE </item> + <item> HIDE </item> + <item> IMPORT </item> + <item> INPUT </item> + <item> CLEAR </item> + <item> CLOSE </item> + <item> FROM </item> + <item> TO </item> + <item> THROUGH </item> + <item> INPUT-OUTPUT</item> + <item> THROUGH </item> + <item> INSERT </item> + <item> LEAVE </item> + <item> LENGTH </item> + <item> LOAD </item> + <item> LOAD-PICTURE </item> + <item> MESSAGE </item> + <item> NEXT </item> + <item> NEXT-PROMPT </item> + <item> QUERY </item> + <item> OPEN </item> + <item> OS-APPEND </item> + <item> OS-COMMAND </item> + <item> OS-COPY </item> + <item> OS-CREATE-DIR </item> + <item> OS-DELETE </item> + <item> OS-RENAME </item> + <item> OUTPUT </item> + <item> OVERLAY </item> + <item> PAGE </item> + <item> PAUSE </item> + <item> PROCESS </item> + <item> EVENTS </item> + <item> PROMPT-FOR </item> + <item> PROMSGS </item> + <item> PROPATH </item> + <item> PUBLISH </item> + <item> CURSOR </item> + <item> PUT </item> + <item> SCREEN </item> + <item> PUT-BITS </item> + <item> PUT-BYTE </item> + <item> PUT-BYTES </item> + <item> PUT-DOUBLE </item> + <item> PUT-FLOAT </item> + <item> PUT-KEY-VALUE </item> + <item> PUT-LONG </item> + <item> PUT-SHORT </item> + <item> PUT-STRING </item> + <item> PUT-UNSIGNED-SHORT </item> + <item> QUIT </item> + <item> RAW </item> + <item> RAW-TRANSFER </item> + <item> READKEY </item> + <item> RELEASE </item> + <item> EXTERNAL </item> + <item> OBJECT </item> + <item> REPOSITION </item> + <item> RETURN </item> + <item> RETURNS </item> + <item> RUN </item> + <item> STORED-PROCEDURE </item> + <item> SUPER </item> + <item> SAVE </item> + <item> CACHE </item> + <item> SEEK </item> + <item> SET </item> + <item> SET-BYTE-ORDER </item> + <item> SET-POINTER-VALUE </item> + <item> SET-SIZE </item> + <item> SCROLL </item> + <item> SHOW-STATS </item> + <item> STATUS </item> + <item> STOP </item> + <item> SUBSCRIBE </item> + <item> SUBSTRING </item> + <item> COLOR </item> + <item> SYSTEM-DIALOG </item> + <item> FONT </item> + <item> GET-DIR </item> + <item> GET-FILE </item> + <item> PRINTER-SETUP </item> + <item> SYSTEM-HELP </item> + <item> TERMINAL </item> + <item> TRANSACTION-MODE </item> + <item> AUTOMATIC </item> + <item> TRIGGER </item> + <item> UNDERLINE </item> + <item> UNDO </item> + <item> UNIX </item> + <item> UNLOAD </item> + <item> UNSUBSCRIBE </item> + <item> UP </item> + <item> UPDATE </item> + <item> USE </item> + <item> VALIDATE </item> + <item> VIEW </item> + <item> WAIT-FOR </item> +</list> + +<list name="widgets"> + <item> BROWSE </item> + <item> BUTTON </item> + <item> COMBO-BOX </item> + <item> CONTROL-FRAME </item> + <item> DIALOG-BOX </item> + <item> EDITOR </item> + <item> FIELD-GROUP </item> + <item> FILL-IN </item> + <item> FRAME </item> + <item> IMAGE </item> + <item> LITERAL </item> + <item> MENU </item> + <item> MENU-ITEM </item> + <item> RADIO-SET </item> + <item> RECTANGLE </item> + <item> SELECTION-LIST </item> + <item> SLIDER </item> + <item> SUB-MENU </item> + <item> TEXT </item> + <item> TOGGLE-BOX </item> + <item> WINDOW </item> +</list> + +<list name="handles"> + <item> ACTIVE-WINDOW </item> + <item> BUFFER </item> + <item> BUFFER-FIELD </item> + <item> CALL </item> + <item> CLIPBOARD </item> + <item> CODEBASE-LOCATOR </item> + <item> COLOR-TABLE </item> + <item> COM-SELF </item> + <item> COMPILER </item> + <item> CURRENT-WINDOW </item> + <item> DATA-RELATION </item> + <item> DATE-SOURCE </item> + <item> DEBUGGER </item> + <item> DEFAULT-WINDOW </item> + <item> ERROR-STATUS </item> + <item> FILE-INFO </item> + <item> FIELD </item> + <item> FOCUS </item> + <item> FONT-TABLE </item> + <item> LAST-EVENT </item> + <item> LOG-MANAGER </item> + <item> PRODATASET </item> + <item> QUERY </item> + <item> RCODE-INFO </item> + <item> SAX-ATTRIBUTES </item> + <item> SAX-READER </item> + <item> SELF </item> + <item> SERVER SOCKET </item> + <item> SESSION </item> + <item> SOAP-FAULT </item> + <item> SOAP-FAULT-DETAIL </item> + <item> SOAP-HEADER </item> + <item> SOAP-HEADER-ENTRYREF </item> + <item> SOCKET </item> + <item> SOURCE-PROCEDURE </item> + <item> TARGET-PROCEDURE </item> + <item> TEMP-TABLE </item> + <item> THIS-PROCEDURE </item> + <item> TRANSACTION </item> + <item> WEB-CONTEXT </item> + <item> X-DOCUMENT </item> + <item> X-NODEREF </item> +</list> + +<list name="properties"> + <item> CONTROL-NAME </item> + <item> CONTROLS </item> + <item> HEIGHT </item> + <item> HONORPROKEYS </item> + <item> HONORRETURNKEY </item> + <item> LEFT </item> + <item> TOP </item> + <item> WIDTH </item> + <item> TAG </item> +</list> + +<list name="attributes"> + <item> ACCELERATOR </item> + <item> ACTIVE </item> + <item> ACTOR </item> + <item> ADM-DATA </item> + <item> AFTER-BUFFER </item> + <item> AFTER-ROWID </item> + <item> AFTER-TABLE </item> + <item> ALLOW-COLUMN-SEARCHING </item> + <item> ALWAYS-ON-TOP </item> + <item> AMBIGUOUS </item> + <item> APPL-ALERT-BOXES </item> + <item> APPSERVER-INFO </item> + <item> APPSERVER-PASSWORD </item> + <item> APPSERVER-USERID </item> + <item> ASYNCHRONOUS </item> + <item> ASYNC-REQUEST-COUNT </item> + <item> ASYNC-REQUEST-HANDLE </item> + <item> ATTRIBUTE-NAMES </item> + <item> ATTR-SPACE </item> + <item> AUTO-COMPLETION </item> + <item> AUTO-DELETE </item> + <item> AUTO-ENDKEY </item> + <item> AUTO-GO </item> + <item> AUTO-INDENT </item> + <item> AUTO-RESIZE </item> + <item> AUTO-RETURN </item> + <item> AUTO-VALIDATE </item> + <item> AUTO-ZAP </item> + <item> AVAILABLE </item> + <item> AVAILABLE-FORMATS </item> + <item> BACKGROUND </item> + <item> BASE-ADE </item> + <item> BASIC-LOGGING </item> + <item> BATCH-MODE </item> + <item> BEFORE-BUFFER </item> + <item> BEFORE-ROWID </item> + <item> BEFORE-TABLE </item> + <item> BGCOLOR </item> + <item> BLANK </item> + <item> BLOCK-ITERATION-DISPLAY </item> + <item> BORDER-BOTTOM-CHARS </item> + <item> BORDER-BOTTOM-PIXELS </item> + <item> BORDER-LEFT-CHARS </item> + <item> BORDER-LEFT-PIXELS </item> + <item> BORDER-RIGHT-CHARS </item> + <item> BORDER-RIGHT-PIXELS </item> + <item> BORDER-TOP-CHARS </item> + <item> BORDER-TOP-PIXELS </item> + <item> BOX </item> + <item> BOX-SELECTABLE </item> + <item> BUFFER-CHARS </item> + <item> BUFFER-VALUE </item> + <item> BYTES-READ </item> + <item> BYTES-WRITTEN </item> + <item> CACHE </item> + <item> CALL-NAME </item> + <item> CALL-TYPE </item> + <item> BUFFER-FIELD </item> + <item> BUFFER-HANDLE </item> + <item> BUFFER-LINES </item> + <item> BUFFER-NAME </item> + <item> CANCEL-BUTTON </item> + <item> CANCELLED </item> + <item> CAN-CREATE </item> + <item> CAN-DELETE </item> + <item> CAN-READ </item> + <item> CAN-WRITE </item> + <item> CAREFUL-PAINT </item> + <item> CASE-SENSITIVE </item> + <item> CENTERED </item> + <item> CHARSET </item> + <item> CHECKED </item> + <item> CHILD-BUFFER </item> + <item> CHILD-NUM </item> + <item> CLIENT-CONNECTION-ID </item> + <item> CLIENT-TYPE </item> + <item> CODE </item> + <item> CODEPAGE </item> + <item> COLUMN </item> + <item> COLUMN-BGCOLOR </item> + <item> COLUMN-DCOLOR </item> + <item> COLUMN-FGCOLOR </item> + <item> COLUMN-FONT </item> + <item> COLUMN-LABEL </item> + <item> COLUMN-MOVABLE </item> + <item> COLUMN-PFCOLOR </item> + <item> COLUMN-READ-ONLY </item> + <item> COLUMN-RESIZABLE </item> + <item> COLUMN-SCROLLING </item> + <item> COM-HANDLE </item> + <item> COMPLETE </item> + <item> CONTEXT-HELP </item> + <item> CONTEXT-HELP-FILE </item> + <item> CONTEXT-HELP-ID </item> + <item> CONTROL-BOX </item> + <item> CONVERT-D-COLORS </item> + <item> CPCASE </item> + <item> CPCOLL </item> + <item> CPINTERNAL </item> + <item> CPLOG </item> + <item> CPPRINT </item> + <item> CPRCODEIN </item> + <item> CPRCODEOUT </item> + <item> CPSTREAM </item> + <item> CPTERM </item> + <item> CRC-VALUE </item> + <item> CURRENT-CHANGED </item> + <item> CURRENT-COLUMN </item> + <item> CURRENT-ITERATION </item> + <item> CURRENT-RESULT-ROW </item> + <item> CURRENT-ROW-MODIFIED </item> + <item> CURRENT-WINDOW </item> + <item> CURSOR-CHAR </item> + <item> CURSOR-LINE </item> + <item> CURSOR-OFFSET </item> + <item> DATA-ENTRY-RETURN </item> + <item> DATA-SOURCE </item> + <item> DATA-TYPE </item> + <item> DATASET </item> + <item> DATE-FORMAT </item> + <item> DBNAME </item> + <item> DB-REFERENCES </item> + <item> DCOLOR </item> + <item> DDE-ERROR </item> + <item> DDE-ID </item> + <item> DDE-ITEM </item> + <item> DDE-NAME </item> + <item> DDE-TOPIC </item> + <item> DEBLANK </item> + <item> DEBUG-ALERT </item> + <item> DECIMALS </item> + <item> DEFAULT </item> + <item> DEFAULT-BUFFER-HANDLE </item> + <item> DEFAULT-BUTTON </item> + <item> DEFAULT-COMMIT </item> + <item> DELIMITER </item> + <item> DISABLE-AUTO-ZAP </item> + <item> DISPLAY-TIMEZONE </item> + <item> DISPLAY-TYPE </item> + <item> DOWN </item> + <item> DRAG-ENABLED </item> + <item> DROP-TARGET </item> + <item> DYNAMIC </item> + <item> EDGE-CHARS </item> + <item> EDGE-PIXELS </item> + <item> EDIT-CAN-PASTE </item> + <item> EDIT-CAN-UNDO </item> + <item> EMPTY </item> + <item> ENCODING </item> + <item> END-USER-PROMPT </item> + <item> ENTRY-TYPES-LIST </item> + <item> ERROR </item> + <item> ERROR-COLUMN </item> + <item> ERROR-OBJECT-DETAIL </item> + <item> ERROR-ROW </item> + <item> ERROR-STRING </item> + <item> EVENT-PROCEDURE </item> + <item> EVENT-PROCEDURE-CONTEXT </item> + <item> EVENT-TYPE </item> + <item> EXPAND </item> + <item> EXPANDABLE </item> + <item> EXTENT </item> + <item> FGCOLOR </item> + <item> FILE-CREATE-DATE </item> + <item> FILE-CREATE-TIME </item> + <item> FILE-MOD-DATE </item> + <item> FILE-MOD-TIME </item> + <item> FILE-NAME </item> + <item> FILE-OFFSET </item> + <item> FILE-SIZE </item> + <item> FILE-TYPE </item> + <item> FILLED </item> + <item> FILL-MODE </item> + <item> FILL-WHERE-STRING </item> + <item> FIRST-ASYNC-REQUEST </item> + <item> FIRST-BUFFER </item> + <item> FIRST-CHILD </item> + <item> FIRST-COLUMN </item> + <item> FIRST-DATASET </item> + <item> FIRST-DATA-SOURCE </item> + <item> FIRST-PROCEDURE </item> + <item> FIRST-QUERY </item> + <item> FIRST-SERVER </item> + <item> FIRST-SERVER-SOCKET </item> + <item> FIRST-SOCKET </item> + <item> FIRST-TAB-ITEM </item> + <item> FIT-LAST-COLUMN </item> + <item> FLAT-BUTTON </item> + <item> FOCUSED-ROW </item> + <item> FOCUSED-ROW-SELECTED </item> + <item> FONT </item> + <item> FOREGROUND </item> + <item> FORMAT </item> + <item> FORWARD-ONLY </item> + <item> FRAME </item> + <item> FRAME-COL </item> + <item> FRAME-NAME </item> + <item> FRAME-ROW </item> + <item> FRAME-SPACING </item> + <item> FRAME-X </item> + <item> FRAME-Y </item> + <item> FREQUENCY </item> + <item> FULL-HEIGHT-CHARS </item> + <item> FULL-HEIGHT-PIXELS </item> + <item> FULL-PATHNAME </item> + <item> FULL-WIDTH-CHARS </item> + <item> FULL-WIDTH-PIXELS </item> + <item> GRAPHIC-EDGE </item> + <item> GRID-FACTOR-HORIZONTAL </item> + <item> GRID-FACTOR-VERTICAL </item> + <item> GRID-SNAP </item> + <item> GRID-UNIT-HEIGHT-CHARS </item> + <item> GRID-UNIT-HEIGHT-PIXELS </item> + <item> GRID-UNIT-WIDTH-CHARS </item> + <item> GRID-UNIT-WIDTH-PIXELS </item> + <item> GRID-VISIBLE </item> + <item> HANDLER </item> + <item> HAS-LOBS </item> + <item> HAS-RECORDS </item> + <item> HEIGHT-CHARS </item> + <item> HEIGHT-PIXELS </item> + <item> HELP </item> + <item> HIDDEN </item> + <item> HORIZONTAL </item> + <item> HTML-CHARSET </item> + <item> HWND </item> + <item> ICFPARAMETER </item> + <item> ICON </item> + <item> IGNORE-CURRENT-MODIFIED </item> + <item> IMAGE </item> + <item> IMAGE-DOWN </item> + <item> IMAGE-INSENSITIVE </item> + <item> IMAGE-UP </item> + <item> IMMEDIATE-DISPLAY </item> + <item> INDEX </item> + <item> INDEX-INFORMATION </item> + <item> INIT </item> + <item> INITIAL </item> + <item> INNER-CHARS </item> + <item> INNER-LINES </item> + <item> INPUT-VALUE </item> + <item> INSTANTIATING-PROCEDURE </item> + <item> INTERNAL-ENTRIES </item> + <item> IN-HANDLE </item> + <item> IS-OPEN </item> + <item> IS-PARAMETER-SET </item> + <item> ITEMS-PER-ROW </item> + <item> KEEP-CONNECTION-OPEN </item> + <item> KEEP-FRAME-Z-ORDER </item> + <item> KEEP-SECURITY-CACHE </item> + <item> KEY </item> + <item> LABEL </item> + <item> LABEL-BGCOLOR </item> + <item> LABEL-DCOLOR </item> + <item> LABEL-FGCOLOR </item> + <item> LABEL-FONT </item> + <item> LABELS </item> + <item> LANGUAGES </item> + <item> LARGE </item> + <item> LARGE-TO-SMALL </item> + <item> LAST-ASYNC-REQUEST </item> + <item> LAST-CHILD </item> + <item> LAST-PROCEDURE </item> + <item> LAST-SERVER </item> + <item> LAST-SERVER-SOCKET </item> + <item> LAST-SOCKET </item> + <item> LAST-TAB-ITEM </item> + <item> LENGTH </item> + <item> LINE </item> + <item> LIST-ITEM-PAIRS </item> + <item> LIST-ITEMS </item> + <item> LITERAL-QUESTION </item> + <item> LOCAL-HOST </item> + <item> LOCAL-NAME </item> + <item> LOCAL-PORT </item> + <item> LOCATOR-COLUMN-NUMBER </item> + <item> LOCATOR-LINE-NUMBER </item> + <item> LOCATOR-PUBLIC-ID </item> + <item> LOCATOR-SYSTEM-ID </item> + <item> LOCATOR-TYPE </item> + <item> LOCKED </item> + <item> LOG-ENTRY-TYPES </item> + <item> LOG-THRESHOLD </item> + <item> LOGFILE-NAME </item> + <item> LOGGING-LEVEL </item> + <item> MANDATORY </item> + <item> MANUAL-HIGHLIGHT </item> + <item> MAX-BUTTON </item> + <item> MAX-CHARS </item> + <item> MAX-DATA-GUESS </item> + <item> MAX-HEIGHT-CHARS </item> + <item> MAX-HEIGHT-PIXELS </item> + <item> MAX-VALUE </item> + <item> MAX-WIDTH-CHARS </item> + <item> MAX-WIDTH-PIXELS </item> + <item> MD-VALUE </item> + <item> MENU-BAR </item> + <item> MENU-KEY </item> + <item> MENU-MOUSE </item> + <item> MESSAGE-AREA </item> + <item> MESSAGE-AREA-FONT </item> + <item> MIN-BUTTON </item> + <item> MIN-COLUMN-WIDTH-CHARS </item> + <item> MIN-COLUMN-WIDTH-PIXELS </item> + <item> MIN-HEIGHT-CHARS </item> + <item> MIN-HEIGHT-PIXELS </item> + <item> MIN-SCHEMA-MARSHAL </item> + <item> MIN-VALUE </item> + <item> MIN-WIDTH-CHARS </item> + <item> MIN-WIDTH-PIXELS </item> + <item> MODIFIED </item> + <item> MOUSE-POINTER </item> + <item> MOVABLE </item> + <item> MULTIPLE </item> + <item> MULTITASKING-INTERVAL </item> + <item> MUST-UNDERSTAND </item> + <item> NAMESPACE-PREFIX </item> + <item> NAMESPACE-URI </item> + <item> NEEDS-APPSERVER-PROMPT </item> + <item> NEEDS-PROMPT </item> + <item> NEW </item> + <item> NEW-ROW </item> + <item> NEXT-COLUMN </item> + <item> NEXT-SIBLING </item> + <item> NEXT-TAB-ITEM </item> + <item> NO-CURRENT-VALUE </item> + <item> NO-EMPTY-SPACE </item> + <item> NO-FOCUS </item> + <item> NO-SCHEMA-MARSHAL </item> + <item> NO-VALIDATE </item> + <item> NODE-VALUE </item> + <item> NUM-BUFFERS </item> + <item> NUM-BUTTONS </item> + <item> NUM-CHILD-RELATIONS </item> + <item> NUM-CHILDREN </item> + <item> NUM-COLUMNS </item> + <item> NUM-DROPPED-FILES </item> + <item> NUM-ENTRIES </item> + <item> NUM-FIELDS </item> + <item> NUM-FORMATS </item> + <item> NUM-HEADER-ENTRIES </item> + <item> NUM-ITEMS </item> + <item> NUM-ITERATIONS </item> + <item> NUM-LINES </item> + <item> NUM-LOCKED-COLUMNS </item> + <item> NUM-LOG-FILES </item> + <item> NUM-MESSAGES </item> + <item> NUM-PARAMETERS </item> + <item> NUM-RELATIONS </item> + <item> NUM-REPLACED </item> + <item> NUM-RESULTS </item> + <item> NUM-SELECTED-ROWS </item> + <item> NUM-SELECTED-WIDGETS </item> + <item> NUM-SOURCE-BUFFERS </item> + <item> NUM-TABS </item> + <item> NUM-TO-RETAIN </item> + <item> NUM-TOP-BUFFERS </item> + <item> NUM-VISIBLE-COLUMNS </item> + <item> NUMERIC-DECIMAL-POINT </item> + <item> NUMERIC-FORMAT </item> + <item> NUMERIC-SEPARATOR </item> + <item> ON-FRAME-BORDER </item> + <item> ORIGIN-HANDLE </item> + <item> ORIGIN-ROWID </item> + <item> OVERLAY </item> + <item> OWNER </item> + <item> OWNER-DOCUMENT </item> + <item> PAGE-BOTTOM </item> + <item> PAGE-TOP </item> + <item> PARAMETER </item> + <item> PARENT </item> + <item> PARENT-BUFFER </item> + <item> PARENT-RELATION </item> + <item> PARSE-STATUS </item> + <item> PASSWORD-FIELD </item> + <item> PATHNAME </item> + <item> PERSISTENT </item> + <item> PERSISTENT-CACHE-DISABLED </item> + <item> PERSISTENT-PROCEDURE </item> + <item> PFCOLOR </item> + <item> PIXELS-PER-COLUMN </item> + <item> PIXELS-PER-ROW </item> + <item> POPUP-MENU </item> + <item> POPUP-ONLY </item> + <item> POSITION </item> + <item> PREPARED </item> + <item> PREPARE-STRING </item> + <item> PREV-COLUMN </item> + <item> PREV-SIBLING </item> + <item> PREV-TAB-ITEM </item> + <item> PRIMARY </item> + <item> PRINTER-CONTROL-HANDLE </item> + <item> PRINTER-HDC </item> + <item> PRINTER-NAME </item> + <item> PRINTER-PORT </item> + <item> PRIVATE-DATA </item> + <item> PROCEDURE-NAME </item> + <item> PROGRESS-SOURCE </item> + <item> PROXY </item> + <item> PROXY-PASSWORD </item> + <item> PROXY-USERID </item> + <item> PUBLIC-ID </item> + <item> PUBLISHED-EVENTS </item> + <item> QUERY </item> + <item> QUERY-OFF-END </item> + <item> QUIT </item> + <item> RADIO-BUTTONS </item> + <item> READ-ONLY </item> + <item> RECID </item> + <item> RECORD-LENGTH </item> + <item> REFRESHABLE </item> + <item> REJECTED </item> + <item> RELATION-FIELDS </item> + <item> RELATIONS-ACTIVE </item> + <item> REMOTE </item> + <item> REMOTE-HOST </item> + <item> REMOTE-PORT </item> + <item> REPOSITION </item> + <item> RESIZABLE </item> + <item> RESIZE </item> + <item> RETAIN-SHAPE </item> + <item> RETURN-INSERTED </item> + <item> RETURN-VALUE </item> + <item> RETURN-VALUE-DATA-TYPE </item> + <item> ROW </item> + <item> COL </item> + <item> ROW-HEIGHT-CHARS </item> + <item> ROW-HEIGHT-PIXELS </item> + <item> ROW-STATE </item> + <item> ROWID </item> + <item> ROW-MARKERS </item> + <item> ROW-RESIZABLE </item> + <item> SAVE-WHERE-STRING </item> + <item> SCHEMA-CHANGE </item> + <item> SCHEMA-PATH </item> + <item> SCREEN-LINES </item> + <item> SCREEN-VALUE </item> + <item> SCROLL-BARS </item> + <item> SCROLLABLE </item> + <item> SCROLLBAR-HORIZONTAL </item> + <item> SCROLLBAR-VERTICAL </item> + <item> SELECTABLE </item> + <item> SELECTED </item> + <item> SELECTION-END </item> + <item> SELECTION-START </item> + <item> SELECTION-TEXT </item> + <item> SENSITIVE </item> + <item> SEPARATORS </item> + <item> SEPARATOR-FGCOLOR </item> + <item> SERVER </item> + <item> SERVER-CONNECTION-BOUND </item> + <item> SERVER-CONNECTION-BOUND-REQUEST </item> + <item> SERVER-CONNECTION-CONTEXT </item> + <item> SERVER-CONNECTION-ID </item> + <item> SERVER-OPERATING-MODE </item> + <item> SHOW-IN-TASKBAR </item> + <item> SIDE-LABEL-HANDLE </item> + <item> SIDE-LABELS </item> + <item> SKIP-DELETED-RECORD </item> + <item> SMALL-ICON </item> + <item> SMALL-TITLE </item> + <item> SOAP-FAULT-ACTOR </item> + <item> SOAP-FAULT-CODE </item> + <item> SOAP-FAULT-DETAIL </item> + <item> SOAP-FAULT-STRING </item> + <item> SORT </item> + <item> STARTUP-PARAMETERS </item> + <item> STATUS-AREA </item> + <item> STATUS-AREA-FONT </item> + <item> STOP </item> + <item> STOPPED </item> + <item> STREAM </item> + <item> STRETCH-TO-FIT </item> + <item> STRING-VALUE </item> + <item> SUBTYPE </item> + <item> SUPER-PROCEDURES </item> + <item> SUPPRESS-NAMESPACE-PROCESSING </item> + <item> SUPPRESS-WARNINGS </item> + <item> SYSTEM-ALERT-BOXES </item> + <item> SYSTEM-ID </item> + <item> TAB-POSITION </item> + <item> TAB-STOP </item> + <item> TABLE </item> + <item> TABLE-CRC-LIST </item> + <item> TABLE-HANDLE </item> + <item> TABLE-LIST </item> + <item> TABLE-NUMBER </item> + <item> TEMP-DIRECTORY </item> + <item> TEXT-SELECTED </item> + <item> THREE-D </item> + <item> TIC-MARKS </item> + <item> TIME-SOURCE </item> + <item> TITLE </item> + <item> TITLE-BGCOLOR </item> + <item> TITLE-DCOLOR </item> + <item> TITLE-FGCOLOR </item> + <item> TITLE-FONT </item> + <item> TOGGLE-BOX </item> + <item> TOOLTIP </item> + <item> TOOLTIPS </item> + <item> TOP-ONLY </item> + <item> TRACKING-CHANGES </item> + <item> TRANSACTION </item> + <item> TRANSPARENT </item> + <item> TRANS-INIT-PROCEDURE </item> + <item> TYPE </item> + <item> UNDO </item> + <item> UNIQUE-ID </item> + <item> UNIQUE-MATCH </item> + <item> URL </item> + <item> URL-PASSWORD </item> + <item> URL-USERID </item> + <item> DISPLAY </item> + <item> VALIDATE-EXPRESSION </item> + <item> VALIDATE-MESSAGE </item> + <item> VALIDATION-ENABLED </item> + <item> VALUE </item> + <item> VIEW-FIRST-COLUMN-ON-REOPEN </item> + <item> VIRTUAL-HEIGHT </item> + <item> VIRTUAL-WIDTH </item> + <item> VIRTUAL-HEIGHT-CHARS </item> + <item> VIRTUAL-HEIGHT-PIXELS </item> + <item> VIRTUAL-WIDTH-CHARS </item> + <item> VIRTUAL-WIDTH-PIXELS </item> + <item> VISIBLE </item> + <item> WARNING </item> + <item> WHERE-STRING </item> + <item> WIDGET-ENTER </item> + <item> WIDGET-LEAVE </item> + <item> WIDTH-CHARS </item> + <item> WIDTH-PIXELS </item> + <item> WINDOW </item> + <item> WINDOW-STATE </item> + <item> WINDOW-SYSTEM </item> + <item> WORD-WRAP </item> + <item> WORK-AREA-HEIGHT-PIXELS </item> + <item> WORK-AREA-WIDTH-PIXELS </item> + <item> WORK-AREA-X </item> + <item> WORK-AREA-Y </item> + <item> X </item> + <item> XML-SCHEMA-PATH </item> + <item> XML-SUPPRESS-NAMESPACE-PROCESSING </item> + <item> Y </item> + <item> YEAR-OFFSET </item> + <item> WRITE-XMLSCHEMA </item> + <item> WRITE-XML </item> + <item> READ-XML </item> + <item> NESTED </item> + <item> XML-DATA-TYPE </item> + <item> XML-NODE-TYPE </item> + <item> FORMATTED </item> + <item> SET-OUTPUT-DESTINATION </item> + <item> START-DOCUMENT </item> + <item> START-ELEMENT </item> + <item> WRITE-CHARACTERS </item> + <item> END-ELEMENT </item> + <item> END-DOCUMENT </item> + <item> WRITE-DATA-ELEMENT </item> + <item> INSERT-ATTRIBUTE </item> + +</list> + +<list name="methods"> + <item> ACCEPT-CHANGES </item> + <item> ACCEPT-ROW-CHANGES </item> + <item> ADD-BUFFER </item> + <item> ADD-CALC-COLUMN </item> + <item> ADD-COLUMNS-FROM </item> + <item> ADD-EVENTS-PROCEDURE </item> + <item> ADD-FIELDS-FROM </item> + <item> ADD-FIRST </item> + <item> ADD-HEADER-ENTRY </item> + <item> ADD-INDEX-FIELD </item> + <item> ADD-LAST </item> + <item> ADD-LIKE-COLUMN </item> + <item> ADD-LIKE-FIELD </item> + <item> ADD-LIKE-INDEX </item> + <item> ADD-NEW-FIELD </item> + <item> ADD-NEW-INDEX </item> + <item> ADD-RELATION </item> + <item> ADD-SOURCE-BUFFER </item> + <item> ADD-SUPER-PROCEDURE </item> + <item> APPEND-CHILD </item> + <item> APPLY-CALLBACK </item> + <item> ATTACH-DATA-SOURCE </item> + <item> BUFFER-COMPARE </item> + <item> BUFFER-COPY </item> + <item> BUFFER-CREATE </item> + <item> BUFFER-DELETE </item> + <item> BUFFER-FIELD </item> + <item> BUFFER-RELEASE </item> + <item> BUFFER-VALIDATE </item> + <item> CANCEL-BREAK </item> + <item> CANCEL-REQUESTS </item> + <item> CLEAR </item> + <item> CLEAR-SELECTION </item> + <item> CLONE-NODE </item> + <item> CONNECT </item> + <item> CONNECTED </item> + <item> CONVERT-TO-OFFSET </item> + <item> CREATE-LIKE </item> + <item> CREATE-NODE </item> + <item> CREATE-NODE-NAMESPACE </item> + <item> CREATE-RESULT-LIST-ENTRY </item> + <item> DEBUG </item> + <item> DELETE </item> + <item> DELETE-CHAR </item> + <item> DELETE-CURRENT-ROW </item> + <item> DELETE-HEADER-ENTRY </item> + <item> DELETE-LINE </item> + <item> DELETE-NODE </item> + <item> DELETE-RESULT-LIST-ENTRY </item> + <item> DELETE-SELECTED-ROW </item> + <item> DELETE-SELECTED-ROWS </item> + <item> DESELECT-FOCUSED-ROW </item> + <item> DESELECT-ROWS </item> + <item> DESELECT-SELECTED-ROW </item> + <item> DETACH-DATA-SOURCE </item> + <item> DISABLE </item> + <item> DISABLE-CONNECTIONS </item> + <item> DISABLE-DUMP-TRIGGERS </item> + <item> DISABLE-LOAD-TRIGGERS </item> + <item> DISCONNECT </item> + <item> DISPLAY-MESSAGE </item> + <item> DUMP-LOGGING-NOW </item> + <item> EDIT-CLEAR </item> + <item> EDIT-COPY </item> + <item> EDIT-CUT </item> + <item> EDIT-PASTE </item> + <item> EDIT-UNDO </item> + <item> EMPTY-DATASET </item> + <item> EMPTY-TEMP-TABLE </item> + <item> ENABLE </item> + <item> ENABLE-CONNECTIONS </item> + <item> ENABLE-EVENTS </item> + <item> END-FILE-DROP </item> + <item> ENTRY </item> + <item> EXPORT </item> + <item> FETCH-SELECTED-ROW </item> + <item> FILL </item> + <item> FIND-BY-ROWID </item> + <item> FIND-CURRENT </item> + <item> FIND-FIRST </item> + <item> FIND-LAST </item> + <item> FIND-UNIQUE </item> + <item> GET-ATTRIBUTE </item> + <item> GET-ATTRIBUTE-NODE </item> + <item> GET-BLUE-VALUE </item> + <item> GET-BROWSE-COLUMN </item> + <item> GET-BUFFER-HANDLE </item> + <item> GET-BYTES-AVAILABLE </item> + <item> GET-CHANGES </item> + <item> GET-CHILD </item> + <item> GET-CHILD-RELATION </item> + <item> GET-CURRENT </item> + <item> GET-DATASET-BUFFER </item> + <item> GET-DOCUMENT-ELEMENT </item> + <item> GET-DROPPED-FILE </item> + <item> GET-DYNAMIC </item> + <item> GET-FIRST </item> + <item> GET-GREEN-VALUE </item> + <item> GET-HEADER-ENTRY </item> + <item> GET-INDEX-BY-NAMESPACE-NAME </item> + <item> GET-INDEX-BY-QNAME </item> + <item> GET-ITERATION </item> + <item> GET-LAST </item> + <item> GET-LOCALNAME-BY-INDEX </item> + <item> GET-MESSAGE </item> + <item> GET-NEXT </item> + <item> GET-NODE </item> + <item> GET-NUMBER </item> + <item> GET-PARENT </item> + <item> GET-PREV </item> + <item> GET-PRINTERS </item> + <item> GET-QNAME-BY-INDEX </item> + <item> GET-RED-VALUE </item> + <item> GET-RELATION </item> + <item> GET-REPOSITIONED-ROW </item> + <item> GET-RGB-VALUE </item> + <item> GET-SELECTED-WIDGET </item> + <item> GET-SERIALIZED </item> + <item> GET-SIGNATURE </item> + <item> GET-SOCKET-OPTION </item> + <item> GET-SOURCE-BUFFER </item> + <item> GET-TAB-ITEM </item> + <item> GET-TEXT-HEIGHT-CHARS </item> + <item> GET-TEXT-HEIGHT-PIXELS </item> + <item> GET-TEXT-WIDTH-CHARS </item> + <item> GET-TEXT-WIDTH-PIXELS </item> + <item> GET-TOP-BUFFER </item> + <item> GET-TYPE-BY-INDEX </item> + <item> GET-TYPE-BY-NAMESPACE-NAME </item> + <item> GET-TYPE-BY-QNAME </item> + <item> GET-URI-BY-INDEX </item> + <item> GET-VALUE-BY-INDEX </item> + <item> GET-VALUE-BY-NAMESPACE-NAME </item> + <item> GET-VALUE-BY-QNAME </item> + <item> GET-WAIT-STATE </item> + <item> IMPORT-NODE </item> + <item> INDEX-INFORMATION </item> + <item> INITIALIZE-DOCUMENT-TYPE </item> + <item> INITIATE </item> + <item> INSERT </item> + <item> INSERT-BACKTAB </item> + <item> INSERT-BEFORE </item> + <item> INSERT-FILE </item> + <item> INSERT-ROW </item> + <item> INSERT-STRING </item> + <item> INSERT-TAB </item> + <item> INVOKE </item> + <item> IS-ROW-SELECTED </item> + <item> IS-SELECTED </item> + <item> LOAD </item> + <item> LoadControls </item> + <item> LOAD-ICON </item> + <item> LOAD-IMAGE </item> + <item> LOAD-IMAGE-DOWN </item> + <item> LOAD-IMAGE-INSENSITIVE </item> + <item> LOAD-IMAGE-UP </item> + <item> LOAD-MOUSE-POINTER </item> + <item> LOAD-SMALL-ICON </item> + <item> LONGCHAR-TO-NODE-VALUE </item> + <item> LOOKUP </item> + <item> MEMPTR-TO-NODE-VALUE </item> + <item> MERGE-CHANGES </item> + <item> MERGE-ROW-CHANGES </item> + <item> MOVE-AFTER-TAB-ITEM </item> + <item> MOVE-BEFORE-TAB-ITEM </item> + <item> MOVE-COLUMN </item> + <item> MOVE-TO-BOTTOM </item> + <item> MOVE-TO-EOF </item> + <item> MOVE-TO-TOP </item> + <item> NODE-VALUE-TO-LONGCHAR </item> + <item> NODE-VALUE-TO-MEMPTR </item> + <item> NORMALIZE </item> + <item> QUERY-CLOSE </item> + <item> QUERY-OPEN </item> + <item> QUERY-PREPARE </item> + <item> RAW-TRANSFER </item> + <item> READ </item> + <item> READ-FILE </item> + <item> REFRESH </item> + <item> REJECT-CHANGES </item> + <item> REJECT-ROW-CHANGES </item> + <item> REMOVE-ATTRIBUTE </item> + <item> REMOVE-CHILD </item> + <item> REMOVE-EVENTS-PROCEDURE </item> + <item> REMOVE-SUPER-PROCEDURE </item> + <item> REPLACE </item> + <item> REPLACE-CHILD </item> + <item> REPLACE-SELECTION-TEXT </item> + <item> REPOSITION-BACKWARD </item> + <item> REPOSITION-FORWARD </item> + <item> REPOSITION-TO-ROW </item> + <item> REPOSITION-TO-ROWID </item> + <item> SAVE </item> + <item> SAVE-FILE </item> + <item> SAVE-ROW-CHANGES </item> + <item> SAX-PARSE </item> + <item> SAX-PARSE-FIRST </item> + <item> SAX-PARSE-NEXT </item> + <item> SCROLL-TO-CURRENT-ROW </item> + <item> SCROLL-TO-ITEM </item> + <item> SCROLL-TO-SELECTED-ROW </item> + <item> SEARCH </item> + <item> SELECT-ALL </item> + <item> SELECT-FOCUSED-ROW </item> + <item> SELECT-NEXT-ROW </item> + <item> SELECT-PREV-ROW </item> + <item> SELECT-ROW </item> + <item> SET-ACTOR </item> + <item> SET-ATTRIBUTE </item> + <item> SET-ATTRIBUTE-NODE </item> + <item> SET-BLUE-VALUE </item> + <item> SET-BREAK </item> + <item> SET-BUFFERS </item> + <item> SET-CALLBACK-PROCEDURE </item> + <item> SET-COMMIT </item> + <item> SET-CONNECT-PROCEDURE </item> + <item> SET-DYNAMIC </item> + <item> SET-GREEN-VALUE </item> + <item> SET-INPUT-SOURCE </item> + <item> SET-MUST-UNDERSTAND </item> + <item> SET-NODE </item> + <item> SET-NUMERIC-FORMAT </item> + <item> SET-PARAMETER </item> + <item> SET-READ-RESPONSE-PROCEDURE </item> + <item> SET-RED-VALUE </item> + <item> SET-REPOSITIONED-ROW </item> + <item> SET-RGB-VALUE </item> + <item> SET-ROLLBACK </item> + <item> SET-SELECTION </item> + <item> SET-SERIALIZED </item> + <item> SET-SOCKET-OPTION </item> + <item> SET-WAIT-STATE </item> + <item> STOP-PARSING </item> + <item> SYNCHRONIZE </item> + <item> TEMP-TABLE-PREPARE </item> + <item> VALIDATE </item> + <item> WRITE </item> + <item> MAX-HEIGHT </item> + <item> MAX-WIDTH </item> + +</list> + +<list name="envvariables"> + <item> CLASSPATH </item> + <item> DLC </item> + <item> EVTLEVEL </item> + <item> JDKCP </item> + <item> JDKHOME </item> + <item> JFCCP </item> + <item> JFHOME </item> + <item> JIT </item> + <item> JRECP </item> + <item> JREHOME </item> + <item> JVMEXE </item> + <item> PATH </item> + <item> PROCFG </item> + <item> PROCONV </item> + <item> PROEXE </item> + <item> PROGRESSCP </item> + <item> PROLOAD </item> + <item> PROMSGS </item> + <item> PROPATH </item> + <item> PROSRV </item> + <item> PROSTARTUP </item> + <item> PROTERMCAP </item> + <item> TERM </item> + <item> TERMINAL </item> + <item> GATEWAY_INTERFACE </item> + <item> SERVER_SOFTWARE </item> + <item> SERVER_PROTOCOL </item> + <item> SERVER_NAME </item> + <item> SERVER_PORT </item> + <item> REQUEST_METHOD </item> + <item> SCRIPT_NAME </item> + <item> PATH_INFO </item> + <item> PATH_TRANSLATED </item> + <item> QUERY_STRING </item> + <item> REMOTE_ADDR </item> + <item> REMOTE_IDENT </item> + <item> REMOTE_USER </item> + <item> AUTH_TYPE </item> + <item> REMOTE_HOST </item> + <item> CONTENT_TYPE </item> + <item> CONTENT_LENGTH </item> + <item> HTTP_ACCEPT </item> + <item> HTTP_COOKIE </item> + <item> HTTP_REFERER </item> + <item> HTTP_USER_AGENT </item> + <item> HTTP_REFERER </item> + <item> HTTPS </item> + <item> HTTP_REFERER </item> + <item> HOSTURL </item> + <item> SELFURL </item> + <item> APPPROGRAM </item> + <item> APPURL </item> + <item> APPPROGRAM </item> + <item> OUTPUT-CONTENT-TYPE </item> + <item> WEB_SRC_PATH </item> + +</list> + + +<contexts> + <context name="Normal" attribute="Normal Text" lineEndContext="#stay"> + <keyword attribute="Preprocvar" context="#stay" String="envvariables"/> + <keyword attribute="Data_Type" context="#stay" String="mytypes"/> + <keyword attribute="Operators" context="#stay" String="operators"/> + <keyword attribute="Preprocvar" context="#stay" String="preprocvar"/> + <keyword attribute="Phrases" context="#stay" String="phrases"/> + <keyword attribute="Function" context="#stay" String="functions"/> + <keyword attribute="Statements" context="#stay" String="statements"/> + <keyword attribute="Widgets" context="#stay" String="widgets"/> + <keyword attribute="Handles" context="#stay" String="handles"/> + <keyword attribute="Properties" context="#stay" String="properties"/> + <keyword attribute="Attributes" context="#stay" String="attributes"/> + <keyword attribute="Methods" context="#stay" String="methods"/> + <Int attribute="Integer" context="#stay"/> + <DetectChar attribute="String" context="String" char="'"/> + <Detect2Chars attribute="Comment" context="MultiLineComment" + char="/" char1="*" beginRegion="Comment"/> + <DetectChar attribute="Comment" context="Identifier" char='"'/> + <DetectChar attribute="String" context="#stay" char='"'/> + <DetectChar attribute="String" context="#stay" char="'"/> + <AnyChar attribute="Symbol" context="#stay" String="+-*=/\?~{}[]():."/> + + <StringDetect attribute="Region Marker" context="#stay" + String="PROCEDURE" insensitive="TRUE" + beginRegion="P1" firstNonSpace="TRUE"/> + <StringDetect attribute="Region Marker" context="#stay" + String="END PROCEDURE" insensitive="TRUE" + endRegion="P1" firstNonSpace="TRUE"/> + + <StringDetect attribute="Region Marker" context="#stay" + String="FUNCTION" insensitive="TRUE" + beginRegion="F1" firstNonSpace="TRUE"/> + <StringDetect attribute="Region Marker" context="#stay" + String="END FUNCTION" insensitive="TRUE" + endRegion="F1" firstNonSpace="TRUE"/> + + <StringDetect attribute="Region Marker" context="#stay" + String="CLASS" insensitive="TRUE" + beginRegion="C1" firstNonSpace="TRUE"/> + <StringDetect attribute="Region Marker" context="#stay" + String="END CLASS" insensitive="TRUE" + endRegion="C1" firstNonSpace="TRUE"/> + + <StringDetect attribute="Region Marker" context="#stay" + String="METHOD" insensitive="TRUE" + beginRegion="M1" firstNonSpace="TRUE"/> + <StringDetect attribute="Region Marker" context="#stay" + String="END METHOD" insensitive="TRUE" + endRegion="M1" firstNonSpace="TRUE"/> + <StringDetect attribute="Region Marker" context="#stay" + String="CONSTRUCTOR" insensitive="TRUE" + beginRegion="CN1" firstNonSpace="TRUE"/> + <StringDetect attribute="Region Marker" context="#stay" + String="END CONSTRUCTOR" insensitive="TRUE" + endRegion="CN1" firstNonSpace="TRUE"/> + + <StringDetect attribute="Function" context="#stay" + String="DO:" insensitive="TRUE" + beginRegion="L1" firstNonSpace="FALSE"/> + <StringDetect attribute="Function" context="#stay" + String="REPEAT" insensitive="TRUE" + beginRegion="L1" firstNonSpace="TRUE"/> + <StringDetect attribute="Function" context="#stay" + String="FOR" insensitive="TRUE" + beginRegion="L1" firstNonSpace="TRUE"/> + <StringDetect attribute="Function" context="#stay" + String="CASE" insensitive="TRUE" + beginRegion="L1" firstNonSpace="TRUE"/> + <StringDetect attribute="Function" context="#stay" + String="END" insensitive="TRUE" + endRegion="L1" firstNonSpace="TRUE"/> + + + </context> + <context name="String" attribute="String" lineEndContext="#stay"> + <LineContinue attribute="String" context="#pop"/> + <HlCStringChar attribute="String Char" context="#stay"/> + <DetectChar attribute="String" context="#pop" char="'"/> + </context> + <context name="MultiLineComment" attribute="Comment" + lineEndContext="#stay"> + <LineContinue attribute="Comment" context="#pop"/> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" + endRegion="Comment"/> + <IncludeRules context="##Alerts" /> + </context> + <context name="Identifier" attribute="Identifier" lineEndContext="#pop"> + <DetectChar attribute="Identifier" context="#pop" char='"'/> + </context> +</contexts> + <itemDatas> + <itemData name="Phrases" defStyleNum="dsKeyword"/> + <itemData name="Statements" defStyleNum="dsKeyword"/> + <itemData name="Widgets" defStyleNum="dsKeyword"/> + <itemData name="Handles" defStyleNum="dsDecVal"/> + <itemData name="Properties" defStyleNum="dsOthers"/> + <itemData name="Attributes" defStyleNum="dsDataType"/> + <itemData name="Methods" defStyleNum="dsOthers"/> + <itemData name="Function" defStyleNum="dsFunction"/> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Decimal" defStyleNum="dsDecVal"/> + <itemData name="Integer" defStyleNum="dsBaseN"/> + <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="Data_Type" defStyleNum="dsDataType"/> + <itemData name="Preprocvar" defStyleNum="dsChar"/> + <itemData name="Operators" defStyleNum="dsDecVal"/> + <itemData name="Alert" defStyleNum="dsAlert"/> + <itemData name="Region Marker" defStyleNum="dsRegionMarker"/> + </itemDatas> +</highlighting> + <general> + <comments> + <comment name="multiLine" start="/*" end="*/"/> + </comments> + <keywords casesensitive="0" weakDeliminator="-" /> + </general> +</language> diff --git a/kate/data/prolog.xml b/kate/data/prolog.xml new file mode 100644 index 000000000..2f6e468bf --- /dev/null +++ b/kate/data/prolog.xml @@ -0,0 +1,230 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="Prolog" version="1.04" kateversion="2.1" section="Sources" extensions="*.prolog" mimetype="text/x-prolog"> + <highlighting> + <list name="keywordl"> + <item> abstract </item> + <item> align </item> + <item> as </item> + <item> and </item> + <item> class </item> + <item> clauses </item> + <item> constants </item> + <item> database </item> + <item> determ </item> + <item> domains </item> + <item> elsedef </item> + <item> endclass </item> + <item> enddef </item> + <item> erroneous </item> + <item> facts </item> + <item> failure </item> + <item> global </item> + <item> goal </item> + <item> if </item> + <item> ifdef </item> + <item> ifndef </item> + <item> implement </item> + <item> include </item> + <item> language </item> + <item> multi </item> + <item> nocopy </item> + <item> nondeterm </item> + <item> object </item> + <item> or </item> + <item> procedure </item> + <item> protected </item> + <item> predicates </item> + <item> reference </item> + <item> single </item> + <item> static </item> + <item> struct </item> + <item> this </item> + </list> + + <list name="keywordu"> + <item> ABSTRACT </item> + <item> ALIGN </item> + <item> AS </item> + <item> AND </item> + <item> CLASS </item> + <item> CLAUSES </item> + <item> CONSTANTS </item> + <item> DATABASE </item> + <item> DETERM </item> + <item> DOMAINS </item> + <item> ELSEDEF </item> + <item> ENDCLASS </item> + <item> ENDDEF </item> + <item> ERRONEOUS </item> + <item> FACTS </item> + <item> FAILURE </item> + <item> GLOBAL </item> + <item> GOAL </item> + <item> IF </item> + <item> IFDEF </item> + <item> IFNDEF </item> + <item> IMPLEMENT </item> + <item> INCLUDE </item> + <item> LANGUAGE </item> + <item> MULTI </item> + <item> NOCOPY </item> + <item> NONDETERM </item> + <item> OBJECT </item> + <item> OR </item> + <item> PROCEDURE </item> + <item> PROTECTED </item> + <item> PREDICATES </item> + <item> REFERENCE </item> + <item> SINGLE </item> + <item> STATIC </item> + <item> STRUCT </item> + <item> THIS </item> + </list> + + + <list name="special"> + <item> assert </item> + <item> asserta </item> + <item> assertz </item> + <item> bound </item> + <item> chain_inserta </item> + <item> chain_insertafter </item> + <item> chain_insertz </item> + <item> chain_terms </item> + <item> consult </item> + <item> db_btrees </item> + <item> db_chains </item> + <item> fail </item> + <item> findall </item> + <item> format </item> + <item> free </item> + <item> msgrecv </item> + <item> msgsend </item> + <item> nl </item> + <item> not </item> + <item> readterm </item> + <item> ref_term </item> + <item> retract </item> + <item> retractall </item> + <item> save </item> + <item> term_bin </item> + <item> term_replace </item> + <item> term_str </item> + <item> trap </item> + <item> write </item> + <item> writef </item> + </list> + + <list name="compiler"> + <item> bgidriver </item> + <item> bgifont </item> + <item> check_determ </item> + <item> code </item> + <item> config </item> + <item> diagnostics </item> + <item> error </item> + <item> errorlevel </item> + <item> heap </item> + <item> gstacksize </item> + <item> nobreak </item> + <item> nowarnings </item> + <item> printermenu </item> + <item> project </item> + </list> + + <list name="arith"> + <item> mod </item> + <item> div </item> + <item> abs </item> + <item> exp </item> + <item> ln </item> + <item> log </item> + <item> sqrt </item> + <item> round </item> + <item> trunc </item> + <item> val </item> + <item> cos </item> + <item> sin </item> + <item> tan </item> + <item> arctan </item> + <item> random </item> + <item> randominit </item> + </list> + + <list name="basetype"> + <item> char </item> + <item> real </item> + <item> string </item> + <item> symbol </item> + <item> byte </item> + <item> sbyte </item> + <item> short </item> + <item> ushort </item> + <item> word </item> + <item> integer </item> + <item> unsigned </item> + <item> dword </item> + <item> long </item> + <item> ulong </item> + <item> binary </item> + <item> ref </item> + </list> + + <list name="keywords"> + <item> true </item> + <item> false </item> + </list> + + <contexts> + <context name="normal" attribute="Symbol" lineEndContext="#stay"> + <keyword attribute="Keyword" context="#stay" String="keywordl"/> + <keyword attribute="Keyword" context="#stay" String="keywordu"/> + <keyword attribute="Arithmetic" context="#stay" String="arith"/> + <keyword attribute="Keyword" context="#stay" String="compiler"/> + <keyword attribute="Keyword" context="#stay" String="special"/> + <keyword attribute="Data Type" context="#stay" String="basetype"/> + <RegExpr String = "[A-Z_][A-Za-z0-9_]*" attribute = "Variable" context="#stay"/> + <RegExpr String = "[a-z][A-Za-z0-9_]*" attribute = "Identifier" context="#stay"/> + <DetectChar attribute="Comment" context="comment" char="%"/> + <Detect2Chars attribute="Comment" context="comment region" char="/" char1="*"/> + <Int attribute="Integer" context="#stay" /> + <DetectChar attribute="String" context="string" char=""" /> + <DetectChar attribute="String" context="string2" char="'" /> + <AnyChar attribute="Symbol" context="#stay" String="~!^*()-+=[]|\:;,./?&<>" /> + </context> + <context name="comment" attribute="Comment" lineEndContext="#pop" /> + <context name="string" attribute="String" lineEndContext="#stay" > + <DetectChar attribute="String" context="#pop" char=""" /> + </context> + <context name="string2" attribute="String" lineEndContext="#stay"> + <DetectChar attribute="String" context="#pop" char="'" /> + </context> + <context name="comment region" attribute="Comment" lineEndContext="#stay"> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" /> + </context> + </contexts> + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal" /> + <itemData name="Keyword" defStyleNum="dsKeyword" /> + <itemData name="Data Type" defStyleNum="dsDataType" /> + <itemData name="Comment" defStyleNum="dsComment" /> + <itemData name="Integer" defStyleNum="dsDecVal" /> + <itemData name="Symbol" defStyleNum="dsNormal" /> + <itemData name="String" defStyleNum="dsString"/> + <itemData name="Identifier" defStyleNum="dsNormal"/> + <itemData name="Variable" defStyleNum="dsOthers"/> + <itemData name="Arithmetic" defStyleNum="dsKeyword" /> + + </itemDatas> + </highlighting> + <general> + <keywords casesensitive="1" /> + <comments> + <comment name="singleLine" start="%" /> + <comment name="multiLine" start="/*" end="*/" /> + </comments> + + </general> +</language> + diff --git a/kate/data/purebasic.xml b/kate/data/purebasic.xml new file mode 100644 index 000000000..b38daa56b --- /dev/null +++ b/kate/data/purebasic.xml @@ -0,0 +1,918 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="PureBasic" version="3.91" kateversion="2.3" section="Sources" extensions="*.pb" mimetype="text/x-purebasic" author="Sven Langenkamp (ace@kylixforum.de)" license="LGPL"> + <highlighting> + <list name="keywords"> + <item> For </item> + <item> ForEach </item> + <item> To </item> + <item> Step </item> + <item> Next </item> + <item> Break </item> + <item> Continue </item> + <item> If </item> + <item> Else </item> + <item> ElseIf </item> + <item> EndIf </item> + <item> Debug </item> + <item> Repeat </item> + <item> Until </item> + <item> Select </item> + <item> Case </item> + <item> Default </item> + <item> EndSelect </item> + <item> While </item> + <item> Wend </item> + <item> End </item> + <item> Structure </item> + <item> EndStructure </item> + <item> Interface </item> + <item> EndInterface </item> + <item> Extends </item> + <item> DefType </item> + <item> Dim </item> + <item> Enumeration </item> + <item> EndEnumeration </item> + <item> Global </item> + <item> Procedure </item> + <item> EndProcedure </item> + <item> ProcedureReturn </item> + <item> Shared </item> + <item> Protected </item> + <item> Static </item> + <item> Declare </item> + <item> DataSection </item> + <item> EndDataSection </item> + <item> Data </item> + <item> Restore </item> + <item> Read </item> + <item> IncludeFile </item> + <item> XIncludeFile </item> + <item> IncludeBinary </item> + <item> IncludePath </item> + <item> CompilerIf </item> + <item> CompilerElse </item> + <item> CompilerEndIf </item> + <item> CompilerSelect </item> + <item> CompilerCase </item> + <item> CompilerDefault </item> + <item> CompilerEndSelect </item> + <item> ProcedureDLL </item> + <item> NewList </item> + <item> Goto </item> + <item> Gosub </item> + <item> Return </item> + <item> FakeReturn </item> + </list> + <list name="functions"> + <item> Abs </item> + <item> ACos </item> + <item> ActivateGadget </item> + <item> ActivateRichEdit </item> + <item> ActivateWindow </item> + <item> Add3DArchive </item> + <item> AddBillboard </item> + <item> AddDate </item> + <item> AddElement </item> + <item> AddGadgetColumn </item> + <item> AddGadgetItem </item> + <item> AddKeyboardShortcut </item> + <item> AddMaterialLayer </item> + <item> AddPackFile </item> + <item> AddPackMemory </item> + <item> AddStatusBarField </item> + <item> AddSysTrayIcon </item> + <item> AdvancedGadgetEvents </item> + <item> AllocateMemory </item> + <item> AmbientColor </item> + <item> AnimateEntity </item> + <item> Asc </item> + <item> ASin </item> + <item> ATan </item> + <item> AvailableScreenMemory </item> + <item> BackColor </item> + <item> Base64Encoder </item> + <item> BillboardGroupLocate </item> + <item> BillboardGroupMaterial </item> + <item> BillboardGroupX </item> + <item> BillboardGroupY </item> + <item> BillboardGroupZ </item> + <item> BillboardHeight </item> + <item> BillboardLocate </item> + <item> BillboardWidth </item> + <item> BillboardX </item> + <item> BillboardY </item> + <item> BillboardZ </item> + <item> Bin </item> + <item> Blue </item> + <item> Box </item> + <item> ButtonGadget </item> + <item> ButtonImageGadget </item> + <item> CallCFunctionFast </item> + <item> CallCFunction </item> + <item> CallCOM </item> + <item> CallDX </item> + <item> CallFunctionFast </item> + <item> CallFunction </item> + <item> CameraBackColor </item> + <item> CameraFOV </item> + <item> CameraLocate </item> + <item> CameraLookAt </item> + <item> CameraProjection </item> + <item> CameraRange </item> + <item> CameraRenderMode </item> + <item> CameraX </item> + <item> CameraY </item> + <item> CameraZ </item> + <item> CatchImage </item> + <item> CatchSound </item> + <item> CatchSprite </item> + <item> CDAudioLength </item> + <item> CDAudioName </item> + <item> CDAudioStatus </item> + <item> CDAudioTrackLength </item> + <item> CDAudioTrackSeconds </item> + <item> CDAudioTracks </item> + <item> ChangeAlphaIntensity </item> + <item> ChangeAlphaIntensity </item> + <item> ChangeCurrentElement </item> + <item> ChangeGamma </item> + <item> ChangeListIconGadgetDisplay </item> + <item> ChangeRichEditOptions </item> + <item> ChangeSysTrayIcon </item> + <item> CheckBoxGadget </item> + <item> Chr </item> + <item> Circle </item> + <item> ClearBillboards </item> + <item> ClearClipboard </item> + <item> ClearConsole </item> + <item> ClearError </item> + <item> ClearGadgetItemList </item> + <item> ClearList </item> + <item> ClearScreen </item> + <item> ClipSprite </item> + <item> CloseConsole </item> + <item> CloseDatabase </item> + <item> CloseFile </item> + <item> CloseFont </item> + <item> CloseGadgetList </item> + <item> CloseHelp </item> + <item> CloseLibrary </item> + <item> CloseNetworkConnection </item> + <item> CloseNetworkServer </item> + <item> ClosePack </item> + <item> ClosePreferences </item> + <item> CloseRichEdit </item> + <item> CloseScreen </item> + <item> CloseSubMenu </item> + <item> CloseTreeGadgetNode </item> + <item> CloseWindow </item> + <item> ColorRequester </item> + <item> ComboBoxGadget </item> + <item> CompareMemory </item> + <item> CompareMemoryString </item> + <item> ConsoleColor </item> + <item> ConsoleCursor </item> + <item> ConsoleLocate </item> + <item> ConsoleTitle </item> + <item> ContainerGadget </item> + <item> CopyDirectory </item> + <item> CopyEntity </item> + <item> CopyFile </item> + <item> CopyImage </item> + <item> CopyLight </item> + <item> CopyMaterial </item> + <item> CopyMemory </item> + <item> CopyMemoryString </item> + <item> CopyMesh </item> + <item> CopySprite </item> + <item> CopyTexture </item> + <item> Cos </item> + <item> CountBillboards </item> + <item> CountGadgetItems </item> + <item> CountLibraryFunctions </item> + <item> CountList </item> + <item> CountMaterialLayers </item> + <item> CountRenderedTriangles </item> + <item> CountString </item> + <item> CountTreeGadgetNodeItems </item> + <item> CRC32Fingerprint </item> + <item> CreateBillboardGroup </item> + <item> CreateCamera </item> + <item> CreateDirectory </item> + <item> CreateEntity </item> + <item> CreateFile </item> + <item> CreateGadgetList </item> + <item> CreateImage </item> + <item> CreateLight </item> + <item> CreateMaterial </item> + <item> CreateMenu </item> + <item> CreateMesh </item> + <item> CreateNetworkServer </item> + <item> CreatePack </item> + <item> CreatePalette </item> + <item> CreateParticleEmitter </item> + <item> CreatePopupMenu </item> + <item> CreatePreferences </item> + <item> CreateSprite3D </item> + <item> CreateSprite </item> + <item> CreateStatusBar </item> + <item> CreateTerrain </item> + <item> CreateTexture </item> + <item> CreateThread </item> + <item> CreateToolBar </item> + <item> DatabaseColumnName </item> + <item> DatabaseColumns </item> + <item> DatabaseColumnType </item> + <item> DatabaseDriverDescription </item> + <item> DatabaseDriverName </item> + <item> DatabaseError </item> + <item> DatabaseQuery </item> + <item> DatabaseUpdate </item> + <item> Date </item> + <item> Day </item> + <item> DayOfWeek </item> + <item> DayOfYear </item> + <item> DefaultPrinter </item> + <item> Delay </item> + <item> DeleteDirectory </item> + <item> DeleteElement </item> + <item> DeleteFile </item> + <item> DESFingerprint </item> + <item> DetachMenu </item> + <item> DirectoryEntryAttributes </item> + <item> DirectoryEntryAttributes </item> + <item> DirectoryEntryName </item> + <item> DirectoryEntrySize </item> + <item> DisableGadget </item> + <item> DisableMaterialLighting </item> + <item> DisableMenuItem </item> + <item> DisableToolBarButton </item> + <item> DisASMCommand </item> + <item> DisplayAlphaSprite </item> + <item> DisplayAlphaSprite </item> + <item> DisplayPalette </item> + <item> DisplayPopupMenu </item> + <item> DisplayRGBFilter </item> + <item> DisplayShadowSprite </item> + <item> DisplayShadowSprite </item> + <item> DisplaySolidSprite </item> + <item> DisplaySprite3D </item> + <item> DisplaySprite </item> + <item> DisplayTranslucideSprite </item> + <item> DisplayTransparentSprite </item> + <item> DrawImage </item> + <item> DrawingBuffer </item> + <item> DrawingBufferPitch </item> + <item> DrawingBufferPixelFormat </item> + <item> DrawingFont </item> + <item> DrawingMode </item> + <item> DrawText </item> + <item> EditorGadget </item> + <item> EjectCDAudio </item> + <item> ElapsedMilliseconds </item> + <item> Ellipse </item> + <item> EndTimer </item> + <item> Engine3DFrameRate </item> + <item> EntityAnimationLength </item> + <item> EntityLocate </item> + <item> EntityMaterial </item> + <item> EntityMesh </item> + <item> EntityX </item> + <item> EntityY </item> + <item> EntityZ </item> + <item> Eof </item> + <item> EventGadgetID </item> + <item> EventlParam </item> + <item> EventMenuID </item> + <item> EventType </item> + <item> EventWindowID </item> + <item> EventwParam </item> + <item> ExamineDatabaseDrivers </item> + <item> ExamineDirectory </item> + <item> ExamineIPAddresses </item> + <item> ExamineJoystick </item> + <item> ExamineKeyboard </item> + <item> ExamineLibraryFunctions </item> + <item> ExamineMouse </item> + <item> ExamineScreenModes </item> + <item> ExplorerComboGadget </item> + <item> ExplorerListGadget </item> + <item> ExplorerTreeGadget </item> + <item> FileSeek </item> + <item> FileSize </item> + <item> FillArea </item> + <item> FindString </item> + <item> FindText </item> + <item> FirstDatabaseRow </item> + <item> FirstElement </item> + <item> FlipBuffers </item> + <item> Fog </item> + <item> FontDialog </item> + <item> FontID </item> + <item> FontRequester </item> + <item> FormatDate </item> + <item> Frame3DGadget </item> + <item> FreeBillboardGroup </item> + <item> FreeCamera </item> + <item> FreeEntity </item> + <item> FreeGadget </item> + <item> FreeImage </item> + <item> FreeLight </item> + <item> FreeMaterial </item> + <item> FreeMemory </item> + <item> FreeMenu </item> + <item> FreeMesh </item> + <item> FreeModule </item> + <item> FreeMovie </item> + <item> FreePalette </item> + <item> FreeParticleEmitter </item> + <item> FreeSound </item> + <item> FreeSprite3D </item> + <item> FreeSprite </item> + <item> FreeStatusBar </item> + <item> FreeTexture </item> + <item> FreeToolBar </item> + <item> FrontColor </item> + <item> GadgetHeight </item> + <item> GadgetID </item> + <item> GadgetItemID </item> + <item> GadgetToolTip </item> + <item> GadgetWidth </item> + <item> GadgetX </item> + <item> GadgetY </item> + <item> GetClipboardData </item> + <item> GetClipboardText </item> + <item> GetCurrentEIP </item> + <item> GetDatabaseFloat </item> + <item> GetDatabaseLong </item> + <item> GetDatabaseString </item> + <item> GetDisASMString </item> + <item> GetEntityAnimationTime </item> + <item> GetErrorAddress </item> + <item> GetErrorCounter </item> + <item> GetErrorDescription </item> + <item> GetErrorDLL </item> + <item> GetErrorLineNR </item> + <item> GetErrorModuleName </item> + <item> GetErrorNumber </item> + <item> GetErrorRegister </item> + <item> GetExtensionPart </item> + <item> GetFilePart </item> + <item> GetGadgetAttribute </item> + <item> GetGadgetItemAttribute </item> + <item> GetGadgetItemState </item> + <item> GetGadgetItemText </item> + <item> GetGadgetState </item> + <item> GetGadgetText </item> + <item> GetMaxTimerResolution </item> + <item> GetMenuItemState </item> + <item> GetMinTimerResolution </item> + <item> GetModulePosition </item> + <item> GetModuleRow </item> + <item> GetPaletteColor </item> + <item> GetPathPart </item> + <item> GetRichEditStyle </item> + <item> GetRichEditText </item> + <item> GetSelectedText </item> + <item> GetWindowTitle </item> + <item> GoToEIP </item> + <item> GrabImage </item> + <item> GrabSprite </item> + <item> Green </item> + <item> Hex </item> + <item> HideBillboardGroup </item> + <item> HideEntity </item> + <item> HideGadget </item> + <item> HideLight </item> + <item> HideMenu </item> + <item> HideParticleEmitter </item> + <item> HideWindow </item> + <item> Hostname </item> + <item> Hour </item> + <item> HyperLinkGadget </item> + <item> ImageDepth </item> + <item> ImageGadget </item> + <item> ImageHeight </item> + <item> ImageID </item> + <item> ImageOutput </item> + <item> ImageWidth </item> + <item> InitCDAudio </item> + <item> InitDatabase </item> + <item> InitEngine3D </item> + <item> InitJoystick </item> + <item> InitKeyboard </item> + <item> InitModule </item> + <item> InitMouse </item> + <item> InitMovie </item> + <item> InitNetwork </item> + <item> InitPalette </item> + <item> InitSound </item> + <item> InitSprite3D </item> + <item> InitSprite </item> + <item> Inkey </item> + <item> Input </item> + <item> InputRequester </item> + <item> InsertElement </item> + <item> Int </item> + <item> IPAddressField </item> + <item> IPAddressGadget </item> + <item> IPString </item> + <item> IPString </item> + <item> IsDatabase </item> + <item> IsDirectory </item> + <item> IsFile </item> + <item> IsFilename </item> + <item> IsFont </item> + <item> IsFunctionEntry </item> + <item> IsFunction </item> + <item> IsGadget </item> + <item> IsImage </item> + <item> IsLibrary </item> + <item> IsMenu </item> + <item> IsModule </item> + <item> IsMovie </item> + <item> IsPalette </item> + <item> IsScreenActive </item> + <item> IsSprite3D </item> + <item> IsSprite </item> + <item> IsStatusBar </item> + <item> IsSysTrayIcon </item> + <item> IsToolBar </item> + <item> IsWindow </item> + <item> JoystickAxisX </item> + <item> JoystickAxisY </item> + <item> JoystickButton </item> + <item> KeyboardInkey </item> + <item> KeyboardMode </item> + <item> KeyboardPushed </item> + <item> KeyboardReleased </item> + <item> KillThread </item> + <item> LastElement </item> + <item> LCase </item> + <item> Left </item> + <item> Len </item> + <item> LibraryFunctionAddress </item> + <item> LibraryFunctionName </item> + <item> LightColor </item> + <item> LightLocate </item> + <item> LightSpecularColor </item> + <item> Line </item> + <item> LineXY </item> + <item> ListIconGadget </item> + <item> ListIndex </item> + <item> ListViewGadget </item> + <item> LoadFont </item> + <item> LoadImage </item> + <item> LoadMesh </item> + <item> LoadModule </item> + <item> LoadMovie </item> + <item> LoadPalette </item> + <item> LoadSound </item> + <item> LoadSprite </item> + <item> LoadTexture </item> + <item> LoadWorld </item> + <item> Locate </item> + <item> Loc </item> + <item> Lof </item> + <item> Log10 </item> + <item> Log </item> + <item> LSet </item> + <item> LTrim </item> + <item> MakeIPAddress </item> + <item> MakeIPAddress </item> + <item> MaterialAmbientColor </item> + <item> MaterialBlendingMode </item> + <item> MaterialDiffuseColor </item> + <item> MaterialFilteringMode </item> + <item> MaterialID </item> + <item> MaterialShadingMode </item> + <item> MaterialSpecularColor </item> + <item> MD5FileFingerprint </item> + <item> MD5Fingerprint </item> + <item> MDIGadget </item> + <item> MemoryStringLength </item> + <item> MenuBar </item> + <item> MenuHeight </item> + <item> MenuID </item> + <item> MenuItem </item> + <item> MenuTitle </item> + <item> MeshID </item> + <item> MessageRequester </item> + <item> Mid </item> + <item> Minute </item> + <item> ModuleVolume </item> + <item> Month </item> + <item> MouseButton </item> + <item> MouseDeltaX </item> + <item> MouseDeltaY </item> + <item> MouseLocate </item> + <item> MouseWheel </item> + <item> MouseX </item> + <item> MouseY </item> + <item> MoveBillboardGroup </item> + <item> MoveBillboard </item> + <item> MoveCamera </item> + <item> MoveEntity </item> + <item> MoveLight </item> + <item> MoveParticleEmitter </item> + <item> MoveWindow </item> + <item> MovieAudio </item> + <item> MovieHeight </item> + <item> MovieInfo </item> + <item> MovieLength </item> + <item> MovieSeek </item> + <item> MovieStatus </item> + <item> MovieWidth </item> + <item> NetworkClientEvent </item> + <item> NetworkClientID </item> + <item> NetworkServerEvent </item> + <item> NewPrinterPage </item> + <item> NextDatabaseDriver </item> + <item> NextDatabaseRow </item> + <item> NextDirectoryEntry </item> + <item> NextElement </item> + <item> NextIPAddress </item> + <item> NextLibraryFunction </item> + <item> NextPackFile </item> + <item> NextScreenMode </item> + <item> NextSelectedFileName </item> + <item> OffsetOf </item> + <item> OnErrorExit </item> + <item> OnErrorGosub </item> + <item> OnErrorGoto </item> + <item> OnErrorResume </item> + <item> OpenComPort </item> + <item> OpenConsole </item> + <item> OpenDatabase </item> + <item> OpenDatabaseRequester </item> + <item> OpenFile </item> + <item> OpenFileRequester </item> + <item> OpenGadgetList </item> + <item> OpenHelp </item> + <item> OpenLibrary </item> + <item> OpenNetworkConnection </item> + <item> OpenPack </item> + <item> OpenPreferences </item> + <item> OpenRichEdit </item> + <item> OpenScreen </item> + <item> OpenSubMenu </item> + <item> OpenTreeGadgetNode </item> + <item> OpenWindowedScreen </item> + <item> OpenWindow </item> + <item> OptionGadget </item> + <item> OSVersion </item> + <item> PackerCallback </item> + <item> PackFileSize </item> + <item> PackMemory </item> + <item> PanelGadget </item> + <item> ParseDate </item> + <item> ParticleColorFader </item> + <item> ParticleColorRange </item> + <item> ParticleEmissionRate </item> + <item> ParticleEmitterLocate </item> + <item> ParticleEmitterX </item> + <item> ParticleEmitterY </item> + <item> ParticleEmitterZ </item> + <item> ParticleMaterial </item> + <item> ParticleSize </item> + <item> ParticleTimeToLive </item> + <item> ParticleVelocity </item> + <item> PathRequester </item> + <item> PauseCDAudio </item> + <item> PauseMovie </item> + <item> PauseThread </item> + <item> PeekB </item> + <item> PeekF </item> + <item> PeekL </item> + <item> PeekS </item> + <item> PeekW </item> + <item> PlayCDAudio </item> + <item> PlayModule </item> + <item> PlayMovie </item> + <item> PlaySound </item> + <item> Plot </item> + <item> Point </item> + <item> PokeB </item> + <item> PokeF </item> + <item> PokeL </item> + <item> PokeS </item> + <item> PokeW </item> + <item> Pow </item> + <item> PreferenceComment </item> + <item> PreferenceGroup </item> + <item> PreviousDatabaseRow </item> + <item> PreviousElement </item> + <item> PrinterOutput </item> + <item> PrinterPageHeight </item> + <item> PrinterPageWidth </item> + <item> Print </item> + <item> PrintN </item> + <item> PrintRequester </item> + <item> ProgramParameter </item> + <item> ProgressBarGadget </item> + <item> Random </item> + <item> RandomSeed </item> + <item> ReadByte </item> + <item> ReadData </item> + <item> ReadFile </item> + <item> ReadFloat </item> + <item> ReadLong </item> + <item> ReadPreferenceFloat </item> + <item> ReadPreferenceLong </item> + <item> ReadPreferenceString </item> + <item> ReadString </item> + <item> ReadWord </item> + <item> ReAllocateMemory </item> + <item> ReceiveNetworkData </item> + <item> ReceiveNetworkFile </item> + <item> Red </item> + <item> ReleaseMouse </item> + <item> RemoveBillboard </item> + <item> RemoveGadgetColumn </item> + <item> RemoveGadgetItem </item> + <item> RemoveKeyboardShortcut </item> + <item> RemoveMaterialLayer </item> + <item> RemoveString </item> + <item> RemoveSysTrayIcon </item> + <item> RenameFile </item> + <item> RenderMovieFrame </item> + <item> RenderWorld </item> + <item> ReplaceString </item> + <item> ReplaceText </item> + <item> ResetList </item> + <item> ResizeBillboard </item> + <item> ResizeEntity </item> + <item> ResizeGadget </item> + <item> ResizeImage </item> + <item> ResizeMovie </item> + <item> ResizeParticleEmitter </item> + <item> ResizeRichEdit </item> + <item> ResizeWindow </item> + <item> ResumeCDAudio </item> + <item> ResumeMovie </item> + <item> ResumeThread </item> + <item> RGB </item> + <item> RichEditBackgroundColor </item> + <item> RichEditBackground </item> + <item> RichEditFontFace </item> + <item> RichEditFont </item> + <item> RichEditFontSize </item> + <item> RichEditHeight </item> + <item> RichEditID </item> + <item> RichEditIndex </item> + <item> RichEditLocate </item> + <item> RichEditMouseX </item> + <item> RichEditMouseY </item> + <item> RichEditOptions </item> + <item> RichEditParent </item> + <item> RichEditTextColor </item> + <item> RichEditWidth </item> + <item> RichEditX </item> + <item> RichEditY </item> + <item> Right </item> + <item> RotateBillboardGroup </item> + <item> RotateCamera </item> + <item> RotateEntity </item> + <item> RotateMaterial </item> + <item> RotateParticleEmitter </item> + <item> RotateSprite3D </item> + <item> Round </item> + <item> RSet </item> + <item> RTrim </item> + <item> RunProgram </item> + <item> SaveFileRequester </item> + <item> SaveImage </item> + <item> SaveSprite </item> + <item> ScaleEntity </item> + <item> ScaleMaterial </item> + <item> ScreenID </item> + <item> ScreenModeDepth </item> + <item> ScreenModeHeight </item> + <item> ScreenModeRefreshRate </item> + <item> ScreenModeWidth </item> + <item> ScreenOutput </item> + <item> ScrollAreaGadget </item> + <item> ScrollBarGadget </item> + <item> ScrollMaterial </item> + <item> Second </item> + <item> SelectedFilePattern </item> + <item> SelectedFontColor </item> + <item> SelectedFontName </item> + <item> SelectedFontSize </item> + <item> SelectedFontStyle </item> + <item> SelectedRange </item> + <item> SelectElement </item> + <item> SelectText </item> + <item> SendNetworkData </item> + <item> SendNetworkFile </item> + <item> SendNetworkString </item> + <item> SetClipboardData </item> + <item> SetClipboardText </item> + <item> SetEntityAnimationTime </item> + <item> SetErrorNumber </item> + <item> SetFrameRate </item> + <item> SetGadgetAttribute </item> + <item> SetGadgetFont </item> + <item> SetGadgetItemAttribute </item> + <item> SetGadgetItemState </item> + <item> SetGadgetItemText </item> + <item> SetGadgetState </item> + <item> SetGadgetText </item> + <item> Set/GetWindowTitle </item> + <item> SetMenuItemState </item> + <item> SetMeshData </item> + <item> SetModulePosition </item> + <item> SetPaletteColor </item> + <item> SetRefreshRate </item> + <item> SetRichEditCallback </item> + <item> SetRichEditText </item> + <item> SetWindowCallback </item> + <item> SetWindowTitle </item> + <item> Sin </item> + <item> SizeOf </item> + <item> SkyBox </item> + <item> SkyDome </item> + <item> SortArray </item> + <item> SortList </item> + <item> SoundFrequency </item> + <item> SoundPan </item> + <item> SoundVolume </item> + <item> Space </item> + <item> SpinGadget </item> + <item> SplitterGadget </item> + <item> Sprite3DBlendingMode </item> + <item> Sprite3DQuality </item> + <item> SpriteCollision </item> + <item> SpriteDepth </item> + <item> SpriteHeight </item> + <item> SpriteOutput </item> + <item> SpritePixelCollision </item> + <item> SpriteWidth </item> + <item> Sqr </item> + <item> Start3D </item> + <item> StartDrawing </item> + <item> StartPrinting </item> + <item> StartSpecialFX </item> + <item> StartTimer </item> + <item> StatusBarIcon </item> + <item> StatusBarText </item> + <item> Stop3D </item> + <item> StopCDAudio </item> + <item> StopDrawing </item> + <item> StopModule </item> + <item> StopMovie </item> + <item> StopPrinting </item> + <item> StopSound </item> + <item> StopSpecialFX </item> + <item> StreamFileIn </item> + <item> StreamFileOut </item> + <item> StrF </item> + <item> StringField </item> + <item> StringGadget </item> + <item> Str </item> + <item> StrU </item> + <item> SysTrayIconToolTip </item> + <item> Tan </item> + <item> TerrainHeight </item> + <item> TextGadget </item> + <item> TextLength </item> + <item> TextureHeight </item> + <item> TextureID </item> + <item> TextureOutput </item> + <item> TextureWidth </item> + <item> ThreadPriority </item> + <item> ToolBarImageButton </item> + <item> ToolBarSeparator </item> + <item> ToolBarStandardButton </item> + <item> ToolBarToolTip </item> + <item> TrackBarGadget </item> + <item> TransformSprite3D </item> + <item> TransparentSpriteColor </item> + <item> TreeGadget </item> + <item> TreeGadgetItemNumber </item> + <item> Trim </item> + <item> UCase </item> + <item> UnpackMemory </item> + <item> UseBuffer </item> + <item> UseCDAudio </item> + <item> UseDatabase </item> + <item> UseDirectory </item> + <item> UseFile </item> + <item> UseFont </item> + <item> UseGadgetList </item> + <item> UseImage </item> + <item> UseJPEGImageDecoder </item> + <item> UseJPEGImageEncoder </item> + <item> UseMovie </item> + <item> UseOGGSoundDecoder </item> + <item> UsePalette </item> + <item> UsePNGImageDecoder </item> + <item> UsePNGImageEncoder </item> + <item> UseRichEdit </item> + <item> UseTGAImageDecoder </item> + <item> UseTIFFImageDecoder </item> + <item> UseWindow </item> + <item> ValF </item> + <item> Val </item> + <item> WaitThread </item> + <item> WaitWindowEvent </item> + <item> WebGadget </item> + <item> WindowEvent </item> + <item> WindowHeight </item> + <item> WindowID </item> + <item> WindowMouseX </item> + <item> WindowMouseY </item> + <item> WindowOutput </item> + <item> WindowWidth </item> + <item> WindowX </item> + <item> WindowY </item> + <item> WriteByte </item> + <item> WriteData </item> + <item> WriteFloat </item> + <item> WriteLong </item> + <item> WritePreferenceFloat </item> + <item> WritePreferenceLong </item> + <item> WritePreferenceString </item> + <item> WriteString </item> + <item> WriteStringN </item> + <item> WriteWord </item> + <item> Year </item> + <item> ZoomSprite3D </item> + </list> + + <contexts> + <context attribute="Normal Text" lineEndContext="#stay" name="Normal"> + + <RegExpr attribute="Keyword" context="#stay" String="\b(if)([\s]|$)" insensitive="true" beginRegion="IfRegion"/> + <RegExpr attribute="Keyword" context="#stay" String="\b(endif)([\s]|$)" insensitive="true" endRegion="IfRegion"/> + + <RegExpr attribute="Keyword" context="#stay" String="\b(while)([\s]|$)" insensitive="true" beginRegion="WhileRegion"/> + <RegExpr attribute="Keyword" context="#stay" String="\b(wend)([\s]|$)" insensitive="true" endRegion="WhileRegion"/> + + <RegExpr attribute="Keyword" context="#stay" String="\b(repeat)([\s]|$)" insensitive="true" beginRegion="RepeatRegion"/> + <RegExpr attribute="Keyword" context="#stay" String="\b(until)([\s]|$)" insensitive="true" endRegion="RepeatRegion"/> + + <RegExpr attribute="Keyword" context="#stay" String="\b(select)([\s]|$)" insensitive="true" beginRegion="SelectRegion"/> + <RegExpr attribute="Keyword" context="#stay" String="\b(endselect)([\s]|$)" insensitive="true" endRegion="SelectRegion"/> + + <RegExpr attribute="Keyword" context="#stay" String="\b(for|foreach)([\s]|$)" insensitive="true" beginRegion="ForRegion"/> + <RegExpr attribute="Keyword" context="#stay" String="\b(next)([\s]|$)" insensitive="true" endRegion="ForRegion"/> + + <RegExpr attribute="Keyword" context="#stay" String="\b(procedure|proceduredll)([.\s]|$)" insensitive="true" beginRegion="ProcedureRegion"/> + <RegExpr attribute="Keyword" context="#stay" String="\b(endprocedure)([\s]|$)" insensitive="true" endRegion="ProcedureRegion"/> + + <RegExpr attribute="Keyword" context="#stay" String="\b(structure)([\s]|$)" insensitive="true" beginRegion="StructureRegion"/> + <RegExpr attribute="Keyword" context="#stay" String="\b(endstructure)([\s]|$)" insensitive="true" endRegion="StructureRegion"/> + + <RegExpr attribute="Keyword" context="#stay" String="\b(interface)([\s]|$)" insensitive="true" beginRegion="InterfaceRegion"/> + <RegExpr attribute="Keyword" context="#stay" String="\b(endinterface)([\s]|$)" insensitive="true" endRegion="InterfaceRegion"/> + + <RegExpr attribute="Keyword" context="#stay" String="\b(enumeration)([\s]|$)" insensitive="true" beginRegion="EnumerationRegion"/> + <RegExpr attribute="Keyword" context="#stay" String="\b(endenumeration)([\s]|$)" insensitive="true" endRegion="EnumerationRegion"/> + + <RegExpr attribute="Keyword" context="#stay" String="\b(datasection)([\s]|$)" insensitive="true" beginRegion="DataSectionRegion"/> + <RegExpr attribute="Keyword" context="#stay" String="\b(enddatasection)([\s]|$)" insensitive="true" endRegion="DataSectionRegion"/> + + <RegExpr attribute="Keyword" context="#stay" String="\b(compilerif)([\s]|$)" insensitive="true" beginRegion="CompilerIfRegion"/> + <RegExpr attribute="Keyword" context="#stay" String="\b(compilerendif)([\s]|$)" insensitive="true" endRegion="CompilerIfRegion"/> + + <RegExpr attribute="Keyword" context="#stay" String="\b(compilerselect)([\s]|$)" insensitive="true" beginRegion="CompilerSelectRegion"/> + <RegExpr attribute="Keyword" context="#stay" String="\b(compilerendselect)([\s]|$)" insensitive="true" endRegion="CompilerEndSelectRegion"/> + + <keyword attribute="Keyword" context="#stay" String="keywords"/> + <keyword attribute="Functions" context="#stay" String="functions"/> + <RegExpr attribute="Constant" context="#stay" String="\#+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*"/> + <Float attribute="Number" context="#stay"/> + <Int attribute="Number" context="#stay"/> + <DetectChar attribute="String" context="String" char=""" /> + <RegExpr attribute="Region Marker" context="#stay" String="^\s*;+\s*BEGIN.*$" beginRegion="marker"/> + <RegExpr attribute="Region Marker" context="#stay" String="^\s*;+\s*END.*$" endRegion="marker"/> + <DetectChar attribute="Comment" context="Comment1" char=";"/> + </context> + <context attribute="String" lineEndContext="#pop" name="String"> + <DetectChar attribute="String" context="#pop" char="""/> + </context> + <context attribute="Comment" lineEndContext="#pop" name="Comment1"> + <keyword attribute="Number" context="#stay" String="attention" /> + </context> + </contexts> + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Keyword" defStyleNum="dsKeyword"/> + <itemData name="Functions" defStyleNum="dsFunction"/> + <itemData name="Constant" defStyleNum="dsDataType"/> + <itemData name="Number" defStyleNum="dsDecVal"/> + <itemData name="String" defStyleNum="dsString"/> + <itemData name="Comment" defStyleNum="dsComment"/> + <itemData name="Region Marker " defStyleNum="dsRegionMarker"/> + </itemDatas> + </highlighting> + <general> + <keywords casesensitive="0" /> + <comments> + <comment name="singleLine" start=";" /> + </comments> + </general> +</language> +<!-- // kate: space-indent on; indent-width 2; replace-tabs on; --> diff --git a/kate/data/python.xml b/kate/data/python.xml new file mode 100644 index 000000000..9296f4c7e --- /dev/null +++ b/kate/data/python.xml @@ -0,0 +1,233 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language> +<!-- Python syntax highlightning v0.9 by Per Wigren --> +<language name="Python" version="1.24" kateversion="2.4" section="Scripts" extensions="*.py;*.pyw;SConstruct;SConscript" mimetype="application/x-python;text/x-python" casesensitive="1" author="Per Wigren" license=""> + <highlighting> + <list name="prep"> + <item> import </item> + <item> from </item> + <item> as </item> + </list> + + <list name="statements"> + <item> and </item> + <item> assert </item> + <item> break </item> + <item> class </item> + <item> continue </item> + <item> def </item> + <item> del </item> + <item> elif </item> + <item> else </item> + <item> except </item> + <item> exec </item> + <item> finally </item> + <item> for </item> + <item> global </item> + <item> if </item> + <item> in </item> + <item> is </item> + <item> lambda </item> + <item> not </item> + <item> or </item> + <item> pass </item> + <item> print </item> + <item> raise </item> + <item> return </item> + <item> try </item> + <item> while </item> + <item> yield </item> + </list> + + <list name="builtinfuncs"> + <item> abs </item> + <item> apply </item> + <item> buffer </item> + <item> callable </item> + <item> chr </item> + <item> cmp </item> + <item> coerce </item> + <item> compile </item> + <item> complex </item> + <item> copyright </item> + <item> credits </item> + <item> delattr </item> + <item> dir </item> + <item> divmod </item> + <item> eval </item> + <item> execfile </item> + <item> exit </item> + <item> filter </item> + <item> float </item> + <item> getattr </item> + <item> globals </item> + <item> hasattr </item> + <item> hash </item> + <item> hex </item> + <item> id </item> + <item> input </item> + <item> int </item> + <item> intern </item> + <item> isinstance </item> + <item> issubclass </item> + <item> iter </item> + <item> len </item> + <item> license </item> + <item> list </item> + <item> locals </item> + <item> long </item> + <item> map </item> + <item> max </item> + <item> min </item> + <item> oct </item> + <item> open </item> + <item> ord </item> + <item> pow </item> + <item> quit </item> + <item> range </item> + <item> raw_input </item> + <item> reduce </item> + <item> reload </item> + <item> repr </item> + <item> round </item> + <item> setattr </item> + <item> slice </item> + <item> str </item> + <item> tuple </item> + <item> type </item> + <item> unichr </item> + <item> unicode </item> + <item> vars </item> + <item> xrange </item> + <item> zip </item> + </list> + + <list name="specialvars"> + <item> None </item> + <item> self </item> + <item> cls </item> + <item> True </item> + <item> False </item> + <item> NotImplemented </item> + <item> Ellipsis </item> + </list> + + <contexts> + <context name="Normal" attribute="Normal Text" lineEndContext="#stay"> + <keyword attribute="Preprocessor" String="prep" context="#stay"/> + <keyword attribute="Keyword" String="statements" context="#stay"/> + <keyword attribute="Builtin Function" String="builtinfuncs" context="#stay"/> + <keyword attribute="Special Variable" String="specialvars" context="#stay"/> + <RegExpr attribute="Normal" String="[a-zA-Z_]\w+" context="#stay"/> + + <RegExpr attribute="Complex" String=" (((\d*\.\d+|\d+\.)|(\d+|(\d*\.\d+|\d+\.))[eE][+-]?\d+)|\d+)[jJ]" context="#stay"/> + <RegExpr attribute="Float" String="(\d+\.\d*|\.\d+)([eE]\d+)?" context="#stay"/> + <RegExpr attribute="Int" String="([1-9]\d*([eE]\d+)?|0)" context="#stay"/> + <RegExpr attribute="Long" String="[1-9]\d*([eE][\d.]+)?[Ll]" context="#stay"/> + <RegExpr attribute="Hex" String="0[Xx][\da-fA-F]+" context="#stay"/> + <RegExpr attribute="Octal" String="0[1-9]\d*" context="#stay"/> + + <RegExpr attribute="Raw String" String="[rR]'" context="Raw A-string"/> + <RegExpr attribute="Raw String" String="[rR]"" context="Raw Q-string"/> + + <RegExpr attribute="Comment" String="#.*$" context="#stay"/> + <StringDetect attribute="Comment" String="'''" context="Tripple A-comment" firstNonSpace="true" beginRegion="Tripple A-region"/> + <StringDetect attribute="Comment" String=""""" context="Tripple Q-comment" firstNonSpace="true" beginRegion="Tripple Q-region"/> + + <StringDetect attribute="String" String="'''" context="Tripple A-string" beginRegion="Tripple A-region"/> + <StringDetect attribute="String" String=""""" context="Tripple Q-string" beginRegion="Tripple Q-region"/> + <DetectChar attribute="String" char="'" context="Single A-string"/> + <DetectChar attribute="String" char=""" context="Single Q-string"/> + + <DetectChar attribute="Operator" char="(" context="parenthesised" beginRegion="parenthesis"/> + <DetectChar attribute="Operator" char=")" context="#pop" endRegion="parenthesis"/> + <RegExpr attribute="Operator" String="[+*/\(\)%\|\[\]\{\}:=;\!<>!^&~-]" context="#stay"/> + + </context> + + <context name="parenthesised" attribute="Normal Text" lineEndContext="#stay" noIndentationBasedFolding="True"> + <IncludeRules context="Normal" /> + </context> + + <context name="Tripple A-comment" attribute="Comment" lineEndContext="#stay" noIndentationBasedFolding="True"> + <HlCChar attribute="Comment" context="#stay"/> + <StringDetect attribute="Comment" String="'''" context="#pop" endRegion="Tripple A-region"/> + </context> + + <context name="Tripple Q-comment" attribute="Comment" lineEndContext="#stay" noIndentationBasedFolding="True"> + <HlCChar attribute="Comment" context="#stay"/> + <StringDetect attribute="Comment" String=""""" context="#pop" endRegion="Tripple Q-region"/> + </context> + + <context name="Tripple A-string" attribute="String" lineEndContext="#stay" noIndentationBasedFolding="True"> + <HlCChar attribute="String" context="#stay"/> + <RegExpr attribute="Operator" String="%[a-zA-Z]" context="#stay"/> + <StringDetect attribute="String" String="'''" context="#pop" endRegion="Tripple A-region"/> + </context> + + <context name="Tripple Q-string" attribute="String" lineEndContext="#stay" noIndentationBasedFolding="True"> + <HlCStringChar attribute="String" context="#stay"/> + <RegExpr attribute="Operator" String="%[a-zA-Z]" context="#stay"/> + <StringDetect attribute="String" String=""""" context="#pop" endRegion="Tripple Q-region"/> + </context> + + <context name="Single A-comment" attribute="Comment" lineEndContext="#stay"> + <HlCStringChar attribute="Comment" context="#stay"/> + <DetectChar attribute="Comment" char="'" context="#pop"/> + </context> + + <context name="Single Q-comment" attribute="Comment" lineEndContext="#stay"> + <HlCStringChar attribute="Comment" context="#stay"/> + <DetectChar attribute="Comment" char=""" context="#pop"/> + </context> + + <context name="Single A-string" attribute="String" lineEndContext="#stay"> + <HlCStringChar attribute="String" context="#stay"/> + <RegExpr attribute="Operator" String="%[a-zA-Z]" context="#stay"/> + <DetectChar attribute="String" char="'" context="#pop"/> + </context> + + <context name="Single Q-string" attribute="String" lineEndContext="#stay"> + <HlCStringChar attribute="String" context="#stay"/> + <RegExpr attribute="Operator" String="%[a-zA-Z]" context="#stay"/> + <DetectChar attribute="String" char=""" context="#pop"/> + </context> + + <context name="Raw A-string" attribute="Raw String" lineEndContext="#stay"> + <HlCStringChar attribute="Raw String" context="#stay"/> + <DetectChar attribute="Raw String" char="'" context="#pop"/> + </context> + + <context name="Raw Q-string" attribute="Raw String" lineEndContext="#stay"> + <HlCStringChar attribute="Raw String" context="#stay"/> + <DetectChar attribute="Raw String" char=""" context="#pop"/> + </context> + + + </contexts> + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Operator" defStyleNum="dsChar"/> + <itemData name="Keyword" defStyleNum="dsKeyword"/> + <itemData name="Builtin Function" defStyleNum="dsDataType"/> + <itemData name="Special Variable" defStyleNum="dsOthers"/> + <itemData name="Preprocessor" defStyleNum="dsChar"/> + <itemData name="Long" defStyleNum="dsOthers"/> + <itemData name="Float" defStyleNum="dsFloat"/> + <itemData name="Int" defStyleNum="dsDecVal"/> + <itemData name="Hex" defStyleNum="dsOthers"/> + <itemData name="Octal" defStyleNum="dsOthers"/> + <itemData name="Complex" defStyleNum="dsOthers"/> + <itemData name="Comment" defStyleNum="dsComment"/> + <itemData name="String" defStyleNum="dsString"/> + <itemData name="Raw String" defStyleNum="dsString"/> + </itemDatas> + </highlighting> + <general> + <folding indentationsensitive="1" /> + <comments> + <comment name="singleLine" start="#" position="afterwhitespace"/> + </comments> + <keywords casesensitive="1" /> + </general> +</language> diff --git a/kate/data/r.xml b/kate/data/r.xml new file mode 100644 index 000000000..b9937ea58 --- /dev/null +++ b/kate/data/r.xml @@ -0,0 +1,136 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<!-- Kate 2.5 (KDE 3.5) highlighting module for R + based on an earlier version by E.L. Willighagen. Code folding code by Ben Goodrich + version 2.0: (c) 2006 Thomas Friedrichsmeier, Arne Henningsen, and the RKWard Team + license: GPL v2 + Kate : http://kate.kde.org/ + R : http://www.r-project.org/ + RKWard : http://rkward.sourceforge.net/ + --> +<language version="2.01" kateversion="2.5" name="R Script" section="Scripts" extensions="*.R;*.r;*.S;*.s;*.q" mimetype="" license="GPL"> +<highlighting> + + <list name="controls"> + <item> for </item> + <item> in </item> + <item> next </item> + <item> break </item> + <item> while </item> + <item> repeat </item> + <item> if </item> + <item> else </item> + <item> switch </item> + <item> function </item> + </list> + <list name="words"> + <item> TRUE </item> + <item> FALSE </item> + <item> NULL </item> + <item> NA </item> + <item> Inf </item> + <item> NaN </item> + </list> + + <contexts> + <!-- This context is really only good for detecting unexpected closing braces '}'. Since opening braces go to ctx0 (and nesting in there), this context is only active on the base level --> + <context attribute="Normal Text" lineEndContext="#stay" name="level0"> + <IncludeRules context="CommonRules"/> + + <DetectChar attribute="Error" context="#stay" char="}" /> + <DetectChar attribute="Error" context="#stay" char=")"/> + </context> + + <context attribute="Normal Text" lineEndContext="#stay" name="ctx0"> + <IncludeRules context="CommonRules"/> + + <DetectChar attribute="Symbol" context="#pop" char="}" endRegion="Brace1" /> + <DetectChar attribute="Error" context="#stay" char=")"/> + </context> + + <context attribute="In Parenthesis" lineEndContext="#stay" name="parenthesis"> + <LineContinue attribute="Boolean" context="#stay"/> + <DetectChar attribute="Keyword" context="#pop" char=")"/> + + <RegExpr attribute="Identifier" context="#stay" String="[a-zA-Z_\.][0-9a-zA-Z_\.]*[\s]*=(?=([^=]|$))"/> + + <IncludeRules context="CommonRules"/> + <DetectChar attribute="Error" context="#stay" char="}" /> + </context> + + <context attribute="String" lineEndContext="#stay" name="string"> + <DetectChar attribute="String" context="#pop" char="""/> + <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"/> + </context> + + <context attribute="Headline" lineEndContext="#pop" name="Headline"/> + <context attribute="Comment" lineEndContext="#pop" name="Comment"/> + + <!-- This context is not really used, but contains the common rules --> + <context name="CommonRules" lineEndContext="#stay" attribute="Normal Text" > + <DetectChar attribute="String" context="string" char="""/> + <DetectChar attribute="String" context="string" char="'"/> + <DetectChar attribute="String" context="backquotedsymbol" char="`"/> + <keyword attribute="Control Structure" context="#stay" String="controls"/> + <keyword attribute="Reserved Words" context="#stay" String="words"/> + <Float attribute="Float" context="#stay"/> + <Int attribute="Int" context="#stay"/> + <RegExpr attribute="Keyword" context="#stay" String="[a-zA-Z_]+[a-zA-Z_\.0-9]*(?=[\s]*[(])"/> + <RegExpr attribute="Keyword" context="#stay" String="\.[a-zA-Z_\.]+[a-zA-Z_\.0-9]*(?=[\s]*[(])"/> + <RegExpr attribute="Keyword" context="parenthesis" String="\("/> + <StringDetect attribute="Headline" context="Headline" String="##"/> + <DetectChar attribute="Comment" context="Comment" char="#"/> + + <!-- The following three lines look worse than they are: If there are any other operators directly before or after -> and <-, this is a syntax error (expections: ->> and <<-) --> + <RegExpr attribute="Error" context="#stay" String="([\+\-\*/\^\:\$~!&\|=>@^])([<]{1,2}\-|\-[>]{1,2})"/> + <RegExpr attribute="Error" context="#stay" String="([<]{1,2}\-|\-[>]{1,2})([\+\-\*/\^\:\$~!&\|=<@])"/> + <RegExpr attribute="Error" context="#stay" String="([<]{3}|[>]{3})"/> + <RegExpr attribute="Assign" context="#stay" String="[<]{1,2}\-"/> + <RegExpr attribute="Assign" context="#stay" String="\-[>]{1,2}"/> + <!-- Much like above: Most other operators are forbidden around = --> + <RegExpr attribute="Error" context="#stay" String="([\+\-\*/\^\:\$~&\|@^])="/> + <RegExpr attribute="Error" context="#stay" String="=([\+\-\*/\^\:\$~!<>&\|@^])"/> + <RegExpr attribute="Assign" context="#stay" String="=(?!=)"/> + + <!-- These operators are fine as long as they're followed by something else or end of line. Error otherwise --> + <RegExpr attribute="Operator" context="#stay" String="(\+|\-|\*|/|<=|>=|={1,2}|\!=|\|{1,2}|&{1,2}|:{1,2}|\^|@|\$|~)((?!(\+|\-|\*|/|<=|>=|=|\!=|\||&|:|\^|@|\$|~))|$)"/> + <RegExpr attribute="Error" context="#stay" String="(\+|\-|\*|/|<=|>=|={1,2}|\!=|\|{1,2}|&{1,2}|:{1,2}|\^|@|\$|~){2,}"/> + <RegExpr attribute="Operator" context="#stay" String="%[^%]*%"/> + + <DetectChar attribute="Symbol" context="ctx0" char="{" beginRegion="Brace1" /> + </context> + </contexts> + + <itemDatas> + <!-- KDE default colors: http://accessibility.kde.org/oxygen.php?color=white --> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Symbol" defStyleNum="dsNormal"/> + <itemData name="Keyword" defStyleNum="dsKeyword"/> + <itemData name="Identifier" defStyleNum="dsDataType"/> + <itemData name="String" defStyleNum="dsString"/> + <itemData name="Headline" defStyleNum="dsNormal" color="#b00000" selColor="#b00000" bold="1" italic="0"/> <!-- KDE default color: text 5 --> + <itemData name="Comment" defStyleNum="dsComment"/> + <itemData name="Assign" defStyleNum="dsNormal" color="#336366" selColor="#ccc099" bold="1" italic="0"/> <!-- KDE default color: text 7 --> + <itemData name="Control Structure" defStyleNum="dsNormal" color="#0000bf" selColor="#bfbf00"/> <!-- KDE default color: text 2 --> + <itemData name="Reserved Words" defStyleNum="dsOthers"/> + <itemData name="Error" defStyleNum="dsError"/> + <itemData name="Operator" defStyleNum="dsNormal" color="#803f00" selColor="#000077" bold="0" italic="0"/> <!-- KDE default color: focussed text --> + <itemData name="String Char" defStyleNum="dsChar"/> + <itemData name="Float" defStyleNum="dsFloat"/> + <itemData name="Int" defStyleNum="dsDecVal"/> + </itemDatas> +</highlighting> + +<general> + <comments> + <comment name="singleLine" start="#" end=""/> + </comments> + <keywords casesensitive="1" /> +</general> +</language> diff --git a/kate/data/rexx.xml b/kate/data/rexx.xml new file mode 100644 index 000000000..b22f65d0d --- /dev/null +++ b/kate/data/rexx.xml @@ -0,0 +1,134 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="REXX" version="1.01" kateversion="2.3" section="Scripts" extensions="*.rex" mimetype=""> + <highlighting> + <list name="instructions"> + <item> arg </item> + <item> drop </item> + <item> else </item> + <item> end </item> + <item> exit </item> + <item> forever </item> + <item> if </item> + <item> interpret </item> + <item> iterate </item> + <item> leave </item> + <item> nop </item> + <item> options </item> + <item> otherwise </item> + <item> pull </item> + <item> push </item> + <item> queue </item> + <item> return </item> + <item> say </item> + <item> select </item> + <item> syntax </item> + <item> then </item> + </list> + <list name="builtin"> + <item> abbrev </item> + <item> abs </item> + <item> address </item> + <item> bitand </item> + <item> bitor </item> + <item> bitxor </item> + <item> b2x </item> + <item> center </item> + <item> charin </item> + <item> charout </item> + <item> chars </item> + <item> c2d </item> + <item> c2x </item> + <item> compare </item> + <item> condition </item> + <item> copies </item> + <item> datatype </item> + <item> date </item> + <item> delstr </item> + <item> delword </item> + <item> digits </item> + <item> d2c </item> + <item> d2x </item> + <item> errortext </item> + <item> form </item> + <item> format </item> + <item> fuzz </item> + <item> insert </item> + <item> lastpos </item> + <item> left </item> + <item> linein </item> + <item> lineout </item> + <item> lines </item> + <item> max </item> + <item> min </item> + <item> overlay </item> + <item> pos </item> + <item> queued </item> + <item> random </item> + <item> reverse </item> + <item> right </item> + <item> sign </item> + <item> sourceline </item> + <item> space </item> + <item> stream </item> + <item> strip </item> + <item> substr </item> + <item> subword </item> + <item> symbol </item> + <item> time </item> + <item> trace </item> + <item> translate </item> + <item> trunc </item> + <item> value </item> + <item> verify </item> + <item> word </item> + <item> wordindex </item> + <item> wordlength </item> + <item> wordpos </item> + <item> words </item> + <item> xrange </item> + <item> x2b </item> + <item> x2c </item> + <item> x2d </item> + </list> + <contexts> + <context attribute="Normal Text" lineEndContext="#stay" name="Normal"> + <keyword attribute="Instructions" context="#stay" String="instructions" /> + <keyword attribute="Built In" context="#stay" String="builtin" /> + <RegExpr attribute="Instructions" context="#stay" insensitive="true" String="\bsignal([\s]*(on|off)[\s]*(error|failure|halt|notready|novalue|syntax|lostdigits))*"/> + <RegExpr attribute="Instructions" context="#stay" insensitive="true" String="\bcall([\s]*(on|off)[\s]*(error|failure|halt|notready))*"/> + <RegExpr attribute="Instructions" context="#stay" insensitive="true" String="\b(trace|address)\s*[_\w\d]"/> + <RegExpr attribute="Instructions" context="#stay" insensitive="true" String="\bprocedure([\s]*expose)?"/> + <RegExpr attribute="Instructions" context="#stay" insensitive="true" String="\bdo([\s]*forever)?"/> + <DetectChar attribute="String" context="String" char="'"/> + <Detect2Chars attribute="Comment" context="Commentar 1" char="/" char1="*" beginRegion="Comment"/> + <AnyChar attribute="Symbol" context="#stay" String=":!%&()+,-/.*<=>?[]{|}~^;"/> + <RegExpr attribute="Function" context="#stay" String="\b[_\w][_\w\d]*(?=[\s]*[(:])" /> + </context> + <context attribute="String" lineEndContext="#pop" name="String"> + <LineContinue attribute="String" context="#stay"/> + <DetectChar attribute="String" context="#pop" char="'"/> + </context> + <context attribute="Comment" lineEndContext="#stay" name="Commentar 1"> + <RegExpr attribute="Alert" context="#stay" String="(FIXME|TODO)" /> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment"/> + </context> + </contexts> + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Instructions" defStyleNum="dsKeyword"/> + <itemData name="Built In" defStyleNum="dsNormal" color="#000090"/> + <itemData name="Function" defStyleNum="dsFunction" /> + <itemData name="String" defStyleNum="dsString"/> + <itemData name="Comment" defStyleNum="dsComment"/> + <itemData name="Symbol" defStyleNum="dsNormal"/> + <itemData name="Alert" defStyleNum="dsAlert" /> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="multiLine" start="/*" end="*/" /> + </comments> + <keywords casesensitive="0" /> + </general> +</language> diff --git a/kate/data/rhtml.xml b/kate/data/rhtml.xml new file mode 100644 index 000000000..c78702954 --- /dev/null +++ b/kate/data/rhtml.xml @@ -0,0 +1,1235 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd" +[ + <!ENTITY name "[A-Za-z_:][\w.:_-]*"> + <!ENTITY entref "&(#[0-9]+|#[xX][0-9A-Fa-f]+|&name;);"> +]> + +<!-- + RHTML syntax highlighting definition for Kate. It combines the ruby and + html syntax grammars. Some ideas, and the list of Rails method names were + taken from an rhtml kate grammar for Quanta based on earlier versions of + the syntax highlighters. + + Copyright (C) 2004 by Sebastian Vuorinen (sebastian dot vuorinen at helsinki dot fi) + Copyright (C) 2004 by Stefan Lang (langstefan@gmx.at) + Copyright (C) 2006 by Wilbert Berendsen (wilbert@kde.nl + Copyright (C) 2005 by Chris Martin (linux@chriscodes.com + Copyright (C) 2006 by Richard Dale (rdale@foton.es) + + 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. +--> + +<!-- + TODO: * Regular expressions spanning over multiple lines + work only if newlines are escaped. + * "Nested" HERE documents aren't recognized. + * Division is detected correctly only, if whitespace + is around the "/" operator. + E.g.: detected correctly: 1 / 2 + "/" interpreted as regex start: 1/2 +--> + +<!-- Hold the "language" opening tag on a single line, as mentioned in "language.dtd". --> +<language name="Ruby/Rails/RHTML" version="1.00" kateversion="2.4" section="Markup" extensions="*.rhtml;*.html.erb" mimetype="" author="Richard Dale rdale@foton.es" license="LGPL"> + + <highlighting> + + <list name="keywords"> + <item> BEGIN </item> + <item> END </item> + <item> and </item> + <item> begin </item> + <item> break </item> + <item> case </item> + <item> defined? </item> + <item> do </item> + <item> else </item> + <item> elsif </item> + <item> end </item> + <item> ensure </item> + <item> for </item> + <item> if </item> + <item> in </item> + <item> include </item> + <item> next </item> + <item> not </item> + <item> or </item> + <item> redo </item> + <item> rescue </item> + <item> retry </item> + <item> return </item> + <item> then </item> + <item> unless </item> + <item> until </item> + <item> when </item> + <item> while </item> + <item> yield </item> + </list> + + <list name="access-control"> + <item> private_class_method </item> + <item> private </item> + <item> protected </item> + <item> public_class_method </item> + <item> public </item> + </list> + + <list name="attribute-definitions"> + <item> attr_reader </item> + <item> attr_writer </item> + <item> attr_accessor </item> + </list> + + <list name="definitions"> + <item> alias </item> + <item> module </item> + <item> class </item> + <item> def </item> + <item> undef </item> + </list> + + <list name="pseudo-variables"> + <item> self </item> + <item> super </item> + <item> nil </item> + <item> false </item> + <item> true </item> + <item> caller </item> + <item> __FILE__ </item> + <item> __LINE__ </item> + </list> + + <list name="default-globals"> + <item> $stdout </item> + <item> $defout </item> + <item> $stderr </item> + <item> $deferr </item> + <item> $stdin </item> + </list> + + <!-- Kernel module methods. + NOTE: Methods ending in ? or ! + are included below as regexes. + --> + <list name="kernel-methods"> + <!-- backquote ` --> + <item> abort </item> + <item> at_exit </item> + <item> autoload </item> + <item> autoload? </item> + <item> binding </item> + <item> block_given? </item> + <item> callcc </item> + <item> caller </item> + <item> catch </item> + <item> chomp </item> + <item> chomp! </item> + <item> chop </item> + <item> chop! </item> + <item> eval </item> + <item> exec </item> + <item> exit </item> + <item> exit! </item> + <item> fail </item> + <item> fork </item> + <item> format </item> + <item> getc </item> + <item> gets </item> + <item> global_variables </item> + <item> gsub </item> + <item> gsub! </item> + <item> iterator? </item> + <item> lambda </item> + <item> load </item> + <item> local_variables </item> + <item> loop </item> + <item> method_missing </item> + <item> open </item> + <item> p </item> + <item> print </item> + <item> printf </item> + <item> proc </item> + <item> putc </item> + <item> puts </item> + <item> raise </item> + <item> rand </item> + <item> readline </item> + <item> readlines </item> + <item> require </item> + <item> scan </item> + <item> select </item> + <item> set_trace_func </item> + <item> sleep </item> + <item> split </item> + <item> sprintf </item> + <item> srand </item> + <item> sub </item> + <item> sub! </item> + <item> syscall </item> + <item> system </item> + <item> test </item> + <item> throw </item> + <item> trace_var </item> + <item> trap </item> + <item> untrace_var </item> + <item> warn </item> + + <!-- ActionView methods from Rails docs --> + <item>auto_complete_field</item> + <item>auto_complete_result</item> + <item>auto_discovery_link_tag</item> + <item>auto_link</item> + <item>benchmark</item> + <item>button_to</item> + <item>cache</item> + <item>capture</item> + <item>check_box</item> + <item>check_box_tag</item> + <item>collection_select</item> + <item>concat</item> + <item>content_for</item> + <item>content_tag</item> + <item>country_options_for_select</item> + <item>country_select</item> + <item>current_page?</item> + <item>date_select</item> + <item>datetime_select</item> + <item>debug</item> + <item>define_javascript_functions</item> + <item>distance_of_time_in_words</item> + <item>distance_of_time_in_words_to_now</item> + <item>draggable_element</item> + <item>drop_receiving_element</item> + <item>end_form_tag</item> + <item>error_message_on</item> + <item>error_messages_for</item> + <item>escape_javascript</item> + <item>evaluate_remote_response</item> + <item>excerpt</item> + <item>file_field</item> + <item>file_field_tag</item> + <item>finish_upload_status</item> + <item>form</item> + <item>form_remote_tag</item> + <item>form_tag</item> + <item>form_tag_with_upload_progress</item> + <item>h</item> + <item>hidden_field</item> + <item>hidden_field_tag</item> + <item>highlight</item> + <item>human_size</item> + <item>image_path</item> + <item>image_submit_tag</item> + <item>image_tag</item> + <item>input</item> + <item>javascript_include_tag</item> + <item>javascript_path</item> + <item>javascript_tag</item> + <item>link_image_to</item> + <item>link_to</item> + <item>link_to_function</item> + <item>link_to_if</item> + <item>link_to_image</item> + <item>link_to_remote</item> + <item>link_to_unless</item> + <item>link_to_unless_current</item> + <item>mail_to</item> + <item>markdown</item> + <item>number_to_currency</item> + <item>number_to_human_size</item> + <item>number_to_percentage</item> + <item>number_to_phone</item> + <item>number_with_delimiter</item> + <item>number_with_precision</item> + <item>observe_field</item> + <item>observe_form</item> + <item>option_groups_from_collection_for_select</item> + <item>options_for_select</item> + <item>options_from_collection_for_select</item> + <item>pagination_links</item> + <item>password_field</item> + <item>password_field_tag</item> + <item>periodically_call_remote</item> + <item>pluralize</item> + <item>radio_button</item> + <item>radio_button_tag</item> + <item>register_template_handler</item> + <item>render</item> + <item>render_file</item> + <item>render_template</item> + <item>sanitize</item> + <item>select</item> + <item>select_date</item> + <item>select_datetime</item> + <item>select_day</item> + <item>select_hour</item> + <item>select_minute</item> + <item>select_month</item> + <item>select_second</item> + <item>select_tag</item> + <item>select_time</item> + <item>select_year</item> + <item>simple_format</item> + <item>sortable_element</item> + <item>start_form_tag</item> + <item>strip_links</item> + <item>stylesheet_link_tag</item> + <item>stylesheet_path</item> + <item>submit_tag</item> + <item>submit_to_remote</item> + <item>tag</item> + <item>text_area</item> + <item>text_area_tag</item> + <item>text_field</item> + <item>text_field_tag</item> + <item>text_field_with_auto_complete</item> + <item>textilize</item> + <item>textilize_without_paragraph</item> + <item>time_ago_in_words</item> + <item>time_zone_options_for_select</item> + <item>time_zone_select</item> + <item>truncate</item> + <item>update_element_function</item> + <item>upload_progress_status</item> + <item>upload_progress_text</item> + <item>upload_progress_update_bar_js</item> + <item>upload_status_progress_bar_tag</item> + <item>upload_status_tag</item> + <item>upload_status_text_tag</item> + <item>url_for</item> + <item>visual_effect</item> + <item>word_wrap</item> + </list> + + <list name="attention"> + <item> TODO </item> + <item> FIXME </item> + <item> NOTE </item> + </list> + + <contexts> + + <!-- BEGIN HTML contexts --> + <context name="Start" attribute="Normal Text" lineEndContext="#stay"> + <IncludeRules context="FindHTML" /> + </context> + + <context name="FindHTML" attribute="Normal Text" lineEndContext="#stay"> + <DetectSpaces/> + <DetectIdentifier/> + + <RegExpr attribute="Keyword" context="rubysource" String="<%=?" /> + <StringDetect attribute="Keyword" context="rubysourceline" String="%" /> + + <StringDetect attribute="Comment" context="Comment" String="<!--" beginRegion="comment" /> + <StringDetect attribute="CDATA" context="CDATA" String="<![CDATA[" beginRegion="cdata" /> + <RegExpr attribute="Doctype" context="Doctype" String="<!DOCTYPE\s+" beginRegion="doctype" /> + <RegExpr attribute="Processing Instruction" context="PI" String="<\?[\w:-]*" beginRegion="pi" /> + <RegExpr attribute="Element" context="CSS" String="<style\b" insensitive="TRUE" beginRegion="style" /> + <RegExpr attribute="Element" context="JS" String="<script\b" insensitive="TRUE" beginRegion="script" /> + <RegExpr attribute="Element" context="El Open" String="<pre\b" insensitive="TRUE" beginRegion="pre" /> + <RegExpr attribute="Element" context="El Open" String="<div\b" insensitive="TRUE" beginRegion="div" /> + <RegExpr attribute="Element" context="El Open" String="<table\b" insensitive="TRUE" beginRegion="table" /> + <RegExpr attribute="Element" context="El Open" String="<&name;" /> + <RegExpr attribute="Element" context="El Close" String="</pre\b" insensitive="TRUE" endRegion="pre" /> + <RegExpr attribute="Element" context="El Close" String="</div\b" insensitive="TRUE" endRegion="div" /> + <RegExpr attribute="Element" context="El Close" String="</table\b" insensitive="TRUE" endRegion="table" /> + <RegExpr attribute="Element" context="El Close" String="</&name;" /> + <!-- as long as kde gives DTDs the text/html mimetype--><IncludeRules context="FindDTDRules" /> + <IncludeRules context="FindEntityRefs" /> + </context> + + <context name="FindEntityRefs" attribute="Normal Text" lineEndContext="#stay"> + <RegExpr attribute="EntityRef" context="#stay" String="&entref;" /> + <AnyChar attribute="Error" context="#stay" String="&<" /> + </context> + + <context name="FindPEntityRefs" attribute="Normal Text" lineEndContext="#stay"> + <RegExpr attribute="EntityRef" context="#stay" String="&entref;" /> + <RegExpr attribute="PEntityRef" context="#stay" String="%&name;;" /> + <AnyChar attribute="Error" context="#stay" String="&%" /> + </context> + + <context name="FindAttributes" attribute="Normal Text" lineEndContext="#stay"> + <RegExpr attribute="Attribute" context="#stay" String="&name;" column="0"/> + <RegExpr attribute="Attribute" context="#stay" String="\s+&name;" /> + <DetectChar attribute="Attribute" context="Value" char="=" /> + </context> + + <context name="FindDTDRules" attribute="Normal Text" lineEndContext="#stay"> + <RegExpr attribute="Doctype" context="Doctype Markupdecl" String="<!(ELEMENT|ENTITY|ATTLIST|NOTATION)\b" /> + </context> + + + <context name="Comment" attribute="Comment" lineEndContext="#stay"> + <DetectSpaces/> + <IncludeRules context="##Alerts" /> + <DetectIdentifier/> + <StringDetect attribute="Comment" context="#pop" String="-->" endRegion="comment" /> + <RegExpr attribute="Error" context="#stay" String="-(-(?!->))+" /> + </context> + + <context name="CDATA" attribute="Normal Text" lineEndContext="#stay"> + <DetectSpaces/> + <DetectIdentifier/> + <StringDetect attribute="CDATA" context="#pop" String="]]>" endRegion="cdata" /> + <StringDetect attribute="EntityRef" context="#stay" String="]]&gt;" /> + </context> + + <context name="PI" attribute="Normal Text" lineEndContext="#stay"> + <Detect2Chars attribute="Processing Instruction" context="#pop" char="?" char1=">" endRegion="pi" /> + </context> + + <context name="Doctype" attribute="Normal Text" lineEndContext="#stay"> + <DetectChar attribute="Doctype" context="#pop" char=">" endRegion="doctype" /> + <DetectChar attribute="Doctype" context="Doctype Internal Subset" char="[" beginRegion="int_subset" /> + </context> + + <context name="Doctype Internal Subset" attribute="Normal Text" lineEndContext="#stay"> + <DetectChar attribute="Doctype" context="#pop" char="]" endRegion="int_subset" /> + <IncludeRules context="FindDTDRules" /> + <StringDetect attribute="Comment" context="Comment" String="<!--" beginRegion="comment" /> + <RegExpr attribute="Processing Instruction" context="PI" String="<\?[\w:-]*" beginRegion="pi" /> + <IncludeRules context="FindPEntityRefs" /> + </context> + + <context name="Doctype Markupdecl" attribute="Normal Text" lineEndContext="#stay"> + <DetectChar attribute="Doctype" context="#pop" char=">" /> + <DetectChar attribute="Value" context="Doctype Markupdecl DQ" char=""" /> + <DetectChar attribute="Value" context="Doctype Markupdecl SQ" char="'" /> + </context> + + <context name="Doctype Markupdecl DQ" attribute="Value" lineEndContext="#stay"> + <RegExpr attribute="Keyword" context="rubysource" String="<%=?" /> + + <DetectChar attribute="Value" context="#pop" char=""" /> + <IncludeRules context="FindPEntityRefs" /> + </context> + + <context name="Doctype Markupdecl SQ" attribute="Value" lineEndContext="#stay"> + <RegExpr attribute="Keyword" context="rubysource" String="<%=?" /> + + <DetectChar attribute="Value" context="#pop" char="'" /> + <IncludeRules context="FindPEntityRefs" /> + </context> + + <context name="El Open" attribute="Normal Text" lineEndContext="#stay"> + <RegExpr attribute="Keyword" context="rubysource" String="<%=?" /> + + <Detect2Chars attribute="Element" context="#pop" char="/" char1=">" /> + <DetectChar attribute="Element" context="#pop" char=">" /> + <IncludeRules context="FindAttributes" /> + <RegExpr attribute="Error" context="#stay" String="\S" /> + </context> + + <context name="El Close" attribute="Normal Text" lineEndContext="#stay"> + <RegExpr attribute="Keyword" context="rubysource" String="<%=?" /> + + <DetectChar attribute="Element" context="#pop" char=">" /> + <RegExpr attribute="Error" context="#stay" String="\S" /> + </context> + + <context name="El Close 2" attribute="Normal Text" lineEndContext="#stay"> + <RegExpr attribute="Keyword" context="rubysource" String="<%=?" /> + + <DetectChar attribute="Element" context="#pop#pop#pop" char=">" /> + <RegExpr attribute="Error" context="#stay" String="\S" /> + </context> + + <context name="El Close 3" attribute="Normal Text" lineEndContext="#stay"> + <RegExpr attribute="Keyword" context="rubysource" String="<%=?" /> + + <DetectChar attribute="Element" context="#pop#pop#pop#pop" char=">" /> + <RegExpr attribute="Error" context="#stay" String="\S" /> + </context> + + <context name="CSS" attribute="Normal Text" lineEndContext="#stay"> + <RegExpr attribute="Keyword" context="rubysource" String="<%=?" /> + + <Detect2Chars attribute="Element" context="#pop" char="/" char1=">" endRegion="style" /> + <DetectChar attribute="Element" context="CSS content" char=">" /> + <IncludeRules context="FindAttributes" /> + <RegExpr attribute="Error" context="#stay" String="\S" /> + </context> + + <context name="CSS content" attribute="Normal Text" lineEndContext="#stay"> + <RegExpr attribute="Keyword" context="rubysource" String="<%=?" /> + + <RegExpr attribute="Element" context="El Close 2" String="</style\b" insensitive="TRUE" endRegion="style" /> + <IncludeRules context="##CSS" includeAttrib="true"/> + </context> + + <context name="JS" attribute="Normal Text" lineEndContext="#stay"> + <RegExpr attribute="Keyword" context="rubysource" String="<%=?" /> + + <Detect2Chars attribute="Element" context="#pop" char="/" char1=">" endRegion="script" /> + <DetectChar attribute="Element" context="JS content" char=">" /> + <IncludeRules context="FindAttributes" /> + <RegExpr attribute="Error" context="#stay" String="\S" /> + </context> + + <context name="JS content" attribute="Normal Text" lineEndContext="#stay"> + <RegExpr attribute="Keyword" context="rubysource" String="<%=?" /> + + <RegExpr attribute="Element" context="El Close 2" String="</script\b" insensitive="TRUE" endRegion="script" /> + <RegExpr attribute="Comment" context="JS comment close" String="//(?=.*</script\b)" insensitive="TRUE" /> + <IncludeRules context="##JavaScript" includeAttrib="true"/> + </context> + + <context name="JS comment close" attribute="Comment" lineEndContext="#pop"> + <RegExpr attribute="Element" context="El Close 3" String="</script\b" insensitive="TRUE" endRegion="script" /> + <IncludeRules context="##Alerts" /> + </context> + + <context name="Value" attribute="Normal Text" lineEndContext="#stay" fallthrough="true" fallthroughContext="Value NQ"> + <RegExpr attribute="Keyword" context="rubysource" String="<%=?" /> + + <DetectChar attribute="Value" context="Value DQ" char=""" /> + <DetectChar attribute="Value" context="Value SQ" char="'" /> + <DetectSpaces /> + </context> + + <context name="Value NQ" attribute="Normal Text" lineEndContext="#pop#pop" fallthrough="true" fallthroughContext="#pop#pop"> + <RegExpr attribute="Keyword" context="rubysource" String="<%=?" /> + + <IncludeRules context="FindEntityRefs" /> + <RegExpr attribute="Value" context="#stay" String="/(?!>)" /> + <RegExpr attribute="Value" context="#stay" String="[^/><"'\s]" /> + </context> + + <context name="Value DQ" attribute="Value" lineEndContext="#stay"> + <RegExpr attribute="Keyword" context="rubysource" String="<%=?" /> + + <DetectChar attribute="Value" context="#pop#pop" char=""" /> + <IncludeRules context="FindEntityRefs" /> + </context> + + <context name="Value SQ" attribute="Value" lineEndContext="#stay"> + <RegExpr attribute="Keyword" context="rubysource" String="<%=?" /> + + <DetectChar attribute="Value" context="#pop#pop" char="'" /> + <IncludeRules context="FindEntityRefs" /> + </context> + <!-- END HTML contexts --> + + <!-- BEGIN Ruby contexts --> + + <!-- A single line of ruby source after a '%' ERB tag --> + <context name="rubysourceline" attribute="RUBY RAILS ERB Text" lineEndContext="#pop"> + <IncludeRules context="rubysource" /> + </context> + + <context name="rubysource" attribute="RUBY RAILS ERB Text" lineEndContext="#stay"> + <!-- ruby ignores newline after \ --> + <LineContinue attribute="Ruby Normal Text" context="Line Continue"/> + + <RegExpr attribute="Keyword" context="#pop" String="-?%>" /> + + <!-- __END__ token on own line. --> + <RegExpr attribute="Keyword" String="__END__$" context="DATA" column="0"/> + + <!-- "shebang" line --> + <RegExpr attribute="Keyword" String="#!\/.*" context="#stay" column="0"/> + + <!-- "def" - "end" blocks --> + <!-- check for statement modifiers with regexes --> + <RegExpr attribute="Keyword" String="(\=|\(|\[|\{)\s*(if|unless|while|until)\b" context="#stay" beginRegion="def block"/> + <RegExpr attribute="Keyword" String="(while|until)\b(?!.*\bdo\b)" context="#stay" beginRegion="def block" firstNonSpace="true"/> + <RegExpr attribute="Keyword" String="\;\s*(while|until)\b(?!.*\bdo\b)" context="#stay" beginRegion="def block"/> + <RegExpr attribute="Keyword" String="(if|unless)\b" context="#stay" beginRegion="def block" firstNonSpace="true"/> + <RegExpr attribute="Keyword" String="\;\s*(if|unless)\b" context="#stay" beginRegion="def block"/> + <RegExpr attribute="Keyword" String="\bclass\b" context="#stay" beginRegion="def block"/> + <RegExpr attribute="Keyword" String="\bmodule\b" context="#stay" beginRegion="def block"/> + <RegExpr attribute="Keyword" String="\bbegin\b" context="#stay" beginRegion="def block"/> + <RegExpr attribute="Keyword" String="\bfor\b(?!.*\bdo\b)" context="#stay" beginRegion="def block"/> + <RegExpr attribute="Keyword" String="\bcase\b" context="#stay" beginRegion="def block"/> + <RegExpr attribute="Keyword" String="\bdo\b" context="#stay" beginRegion="def block"/> + <RegExpr attribute="Keyword" String="\bdef\b" context="#stay" beginRegion="def block"/> + <RegExpr attribute="Keyword" String="\bend\b" context="#stay" endRegion="def block"/> + <!-- elsif/else close the current block and start a new one --> + <RegExpr attribute="Keyword" String="(\b|^\s*)(else|elsif|rescue|ensure)(\s+|$)" context="#stay" endRegion="def block" beginRegion="def block"/> + + <StringDetect attribute="Operator" String="..." context="#stay"/> + <Detect2Chars attribute="Operator" char="." char1="." context="#stay"/> + + <!-- marks a message (being sent, not defined) --> + <RegExpr attribute="Message" String="\.[_a-z][_a-zA-Z0-9]*(\?|\!|\b)" context="#stay"/> + + <!-- Check for "ASCII code operator". e.g.: ?a --> + <RegExpr attribute="Dec" String="\s\?(\\M\-)?(\\C\-)?\\?\S" context="#stay"/> + + <keyword attribute="Keyword" String="keywords" context="#stay"/> + <keyword attribute="Attribute Definition" String="attribute-definitions" context="#stay"/> + <keyword attribute="Access Control" String="access-control" context="#stay"/> + <keyword attribute="Definition" String="definitions" context="#stay" /> + <keyword attribute="Pseudo variable" String="pseudo-variables" context="#stay"/> + <keyword attribute="Default globals" String="default-globals" context="#stay"/> + <keyword attribute="Kernel methods" String="kernel-methods" context="#stay"/> + + <!-- (global) vars starting with $ + Match them before $_. + --> + <RegExpr attribute="Global Variable" String="\$[a-zA-Z_0-9]+" context="#stay"/> + <RegExpr attribute="Global Variable" String="\$\-[a-zA-z_]\b" context="#stay"/> + <!-- special-character globals --> + <RegExpr attribute="Default globals" String="\$[\d_*`\!:?'/\\\-\&]" context="#stay"/> + <RegExpr attribute="Global Constant" String="\b[_A-Z]+[A-Z_0-9]+\b" context="#stay"/> + <!-- Generally a module or class name like "File", "MyModule_1", .. --> + <RegExpr attribute="Constant" String="\b[A-Z]+_*([0-9]|[a-z])[_a-zA-Z0-9]*\b" context="#stay"/> + + <RegExpr attribute="Hex" String="\b\-?0[xX][_0-9a-fA-F]+" context="#stay"/> + <RegExpr attribute="Bin" String="\b\-?0[bB][_01]+" context="#stay"/> + <RegExpr attribute="Octal" String="\b\-?0[1-7][_0-7]*" context="#stay"/> + <RegExpr attribute="Float" String="\b\-?[0-9][0-9_]*\.[0-9][0-9_]*([eE]\-?[1-9][0-9]*(\.[0-9]*)?)?" context="#stay"/> + <RegExpr attribute="Dec" String="\b\-?[1-9][0-9_]*\b" context="#stay"/> + <Int attribute="Dec" context="#stay"/> + <HlCChar attribute="Char" context="#stay"/> + + <!-- Check for =begin before assignment operator. --> + <StringDetect attribute="Blockcomment" String="=begin" context="Embedded documentation" beginRegion="comment block" column="0"/> + + <!-- recognize the beginning of a HEREDOC + This uses new features in Kate 2.3 and later + + There is no other chance of keeping heredoc apart from the + push operator '<<' than requiring to put space between the operator + and the string. + --> + <RegExpr attribute="Operator" context="find_indented_heredoc" String="\s*<<-(?=\w+|["'])" beginRegion="HereDocument" /> + <RegExpr attribute="Operator" context="find_heredoc" String="\s*<<(?=\w+|["'])" beginRegion="HereDocument" /> + + <DetectChar attribute="Operator" char="." context="#stay"/> + <Detect2Chars attribute="Operator" char="&" char1="&" context="#stay"/> + <Detect2Chars attribute="Operator" char="|" char1="|" context="#stay"/> + <RegExpr attribute="Operator" String="\s[\?\:\%/]\s" context="#stay"/> + <RegExpr attribute="Operator" String="[|&<>\^\+*~\-=]+" context="#stay"/> + <!-- regexp hack --> + <RegExpr attribute="Operator" String="\s!" context="#stay"/> + <RegExpr attribute="Operator" String="/=\s" context="#stay" insensitive="0"/> + <StringDetect attribute="Operator" String="%=" context="#stay" insensitive="0"/> + <Detect2Chars attribute="Operator" char=":" char1=":" context="Member Access"/> + + <RegExpr attribute="Symbol" String=":[a-zA-Z_][a-zA-Z0-9_]*" context="#stay"/> + + <DetectChar attribute="String" char=""" context="Quoted String"/> + <DetectChar attribute="Raw String" char="'" context="Apostrophed String"/> + <DetectChar attribute="Command" char="`" context="Command String"/> + + <StringDetect attribute="Normal Text" String="?#" context="#stay"/> + + <RegExpr attribute="Comment" String="#\s*BEGIN.*$" context="#stay" beginRegion="marker" column="0"/> + <RegExpr attribute="Comment" String="#\s*END.*$" context="#stay" endRegion="marker" column="0"/> + <RegExpr attribute="Comment" String="#" context="Comment Line" firstNonSpace="true"/> + <RegExpr attribute="Comment" String="\s#" context="General Comment"/> + + <RegExpr attribute="Delimiter" String="[\[\]]+" context="#stay"/> + <DetectChar attribute="Delimiter" char="{" context="#stay" beginRegion="def block"/> + <DetectChar attribute="Delimiter" char="}" context="#stay" endRegion="def block"/> + + <RegExpr attribute="Instance Variable" String="@[a-zA-Z_0-9]+" context="#stay"/> + <RegExpr attribute="Class Variable" String="@@[a-zA-Z_0-9]+" context="#stay"/> + + <!-- handle the different regular expression formats --> + <DetectChar attribute="Regular Expression" char="/" context="RegEx 1"/> + + <!-- recognize the beginning of a general delimited input format --> + <!-- this moves to the next context to separate out the exact nature of the GDL input --> + <RegExpr attribute="GDL input" context="find_gdl_input" String="\s*[%](?=[Qqxw]?[^\s>])" beginRegion="GdlInput" /> + </context> + + <context name="Line Continue" attribute="Ruby Normal Text" lineEndContext="#pop"> + <RegExpr attribute="Keyword" String="(while|until)\b(?!.*\bdo\b)" context="#stay" firstNonSpace="true"/> + <RegExpr attribute="Keyword" String="(if|unless)\b" context="#stay" firstNonSpace="true"/> + <IncludeRules context="rubysource"/> + </context> + + <context name="Quoted String" attribute="String" lineEndContext="#stay"> + <StringDetect attribute="String" String="\\" context="#stay"/> + <RegExpr attribute="String" String="\\\"" context="#stay"/> + <RegExpr attribute="Substitution" String="#@{1,2}" context="Short Subst"/> + <Detect2Chars attribute="Substitution" char="#" char1="{" context="Subst"/> + <!--HlCChar attribute="Char" context="#pop"/--> + <DetectChar char=""" attribute="String" context="#pop"/> + </context> + + <context name="Apostrophed String" attribute="Raw String" lineEndContext="#stay"> + <!-- <HlCChar attribute="Char" context="#pop"/> --> + <StringDetect attribute="String" String="\\" context="#stay"/> + <RegExpr attribute="String" String="\\\'" context="#stay"/> + <DetectChar char="'" attribute="Raw String" context="#pop"/> + </context> + + <context name="Command String" attribute="Command" lineEndContext="#stay"> + <StringDetect attribute="String" String="\\" context="#stay"/> + <RegExpr attribute="String" String="\\\`" context="#stay"/> + <RegExpr attribute="Substitution" String="#@{1,2}" context="Short Subst"/> + <Detect2Chars attribute="Substitution" char="#" char1="{" context="Subst"/> + <HlCChar attribute="Char" context="#pop"/> + <DetectChar char="`" attribute="Command" context="#pop"/> + </context> + + <context name="Embedded documentation" attribute="Ruby Comment" lineEndContext="#stay"> + <StringDetect attribute="Ruby Comment" String="=end" context="#pop" endRegion="comment block" column="0"/> + </context> + + <context name="RegEx 1" attribute="Regular Expression" lineEndContext="#stay"> + <RegExpr attribute="Regular Expression" String="\\\/" context="#stay"/> + <RegExpr attribute="Regular Expression" String="[^\\]$" context="#pop"/> + <RegExpr attribute="Substitution" String="#@{1,2}" context="Short Subst"/> + <Detect2Chars attribute="Substitution" char="#" char1="{" context="Subst"/> + <RegExpr attribute="Regular Expression" String="/[uiomxn]*" context="#pop"/> + </context> + + <!-- Substitutions can be nested --> + <context name="Subst" attribute="Ruby Normal Text" lineEndContext="#stay"> + <DetectChar attribute="Substitution" char="}" context="#pop"/> + <!-- Highlight substitution as code. --> + <IncludeRules context="rubysource"/> + </context> + + <context name="Short Subst" attribute="Substitution" lineEndContext="#pop"> + <!-- Check for e.g.: "#@var#@@xy" --> + <RegExpr attribute="Substitution" String="#@{1,2}" context="#stay"/> + <RegExpr attribute="Substitution" String="\w(?!\w)" context="#pop"/> + </context> + + <!-- This handles access of nested module classes and class methods --> + <context name="Member Access" attribute="Member" lineEndContext="#pop"> + <!-- marks a message (being sent, not defined) --> + <RegExpr attribute="Message" String="\.?[_a-z]\w*(\?|\!)?(?=[^\w\d\.\:])" context="#pop"/> + <RegExpr attribute="Message" String="\.?[_a-z]\w*(\?|\!)?" context="#stay"/> + <RegExpr attribute="Constant" String="[A-Z]+_*(\d|[a-z])\w*(?=[^\w\d\.\:])" context="#pop"/> + <RegExpr attribute="Constant" String="[A-Z]+_*([0-9]|[a-z])\w*" context="#stay"/> + <RegExpr attribute="Constant Value" String="[_A-Z][_A-Z0-9]*(?=[^\w\d\.\:])" context="#pop"/> + <RegExpr attribute="Constant Value" String="[_A-Z][_A-Z0-9]*" context="#stay"/> + <Detect2Chars attribute="Operator" char=":" char1=":" context="#stay"/> + <DetectChar attribute="Member" char="." context="#stay"/> + + <AnyChar attribute="Operator" String="=+-*/%|&[]{}~" context="#pop"/> + <DetectChar attribute="Ruby Comment" char="#" context="#pop"/> + <AnyChar attribute="Ruby Normal Text" String="()\" context="#pop"/> + <RegExpr attribute="Member" String="\W" context="#pop"/> + </context> + + <context name="Comment Line" attribute="Ruby Comment" lineEndContext="#pop"> + <RegExpr attribute="Ruby Comment" String="\w\:\:\s" context="RDoc Label"/> + <keyword attribute="Alert" String="attention" context="#stay"/> + <RegExpr attribute="Keyword" context="#pop#pop" String="-?%>" /> + </context> + + <context name="General Comment" attribute="Ruby Comment" lineEndContext="#pop"> + <keyword attribute="Dec" String="attention" context="#stay"/> + </context> + + <context name="RDoc Label" attribute="RDoc Value" lineEndContext="#pop"/> + + <!-- HEREDOC support + The contexts below support both normal and indented heredocs + --> + <!-- here we markup the heredoc markers --> + <context name="find_heredoc" attribute="Ruby Normal Text" lineEndContext="#pop" > + <RegExpr attribute="Keyword" context="apostrophed_normal_heredoc" String="'(\w+)'" /> + <RegExpr attribute="Keyword" context="normal_heredoc" String=""?(\w+)"?" /> + </context> + <context name="find_indented_heredoc" attribute="Ruby Normal Text" lineEndContext="#pop" > + <RegExpr attribute="Keyword" context="apostrophed_indented_heredoc" String="'(\w+)'" /> + <RegExpr attribute="Keyword" context="indented_heredoc" String=""?(\w+)"?" /> + </context> + <!-- these are the real heredoc contexts --> + <context name="indented_heredoc" attribute="Ruby Normal Text" lineEndContext="#stay" dynamic="true"> + <!-- <RegExpr attribute="Keyword" context="#pop#pop" String="^\s*%1$" dynamic="true" endRegion="HereDocument"/>--> + <RegExpr attribute="Keyword" context="#pop#pop" String="%1$" dynamic="true" endRegion="HereDocument" firstNonSpace="true"/> + <IncludeRules context="heredoc_rules" /> + </context> + <context name="apostrophed_indented_heredoc" attribute="Ruby Normal Text" lineEndContext="#stay" dynamic="true"> + <!-- <RegExpr attribute="Keyword" context="#pop#pop" String="^\s*%1$" dynamic="true" endRegion="HereDocument"/>--> + <RegExpr attribute="Keyword" context="#pop#pop" String="%1$" dynamic="true" endRegion="HereDocument" firstNonSpace="true"/> + </context> + + <context name="normal_heredoc" attribute="Ruby Normal Text" lineEndContext="#stay" dynamic="true"> + <!-- <RegExpr attribute="Keyword" context="#pop#pop" String="^%1$" dynamic="true" endRegion="HereDocument"/>--> + <RegExpr attribute="Keyword" context="#pop#pop" String="%1$" dynamic="true" endRegion="HereDocument" column="0"/> + <IncludeRules context="heredoc_rules" /> + </context> + <context name="apostrophed_normal_heredoc" attribute="Ruby Normal Text" lineEndContext="#stay" dynamic="true"> + <!-- <RegExpr attribute="Keyword" context="#pop#pop" String="^%1$" dynamic="true" endRegion="HereDocument"/>--> + <RegExpr attribute="Keyword" context="#pop#pop" String="%1$" dynamic="true" endRegion="HereDocument" column="0"/> + </context> + + <!-- rules for heredoc types --> + <context name="heredoc_rules" attribute="Ruby Normal Text" lineEndContext="#stay"> + <RegExpr attribute="Substitution" String="#@{1,2}" context="Short Subst"/> + <Detect2Chars attribute="Substitution" char="#" char1="{" context="Subst"/> + </context> + + <!-- General delimited input support + The contexts below handle the various gdl formats + --> + <context name="find_gdl_input" attribute="Ruby Normal Text" lineEndContext="#pop"> + + <!-- handle token arrays --> + <RegExpr attribute="GDL input" context="gdl_token_array_1" String="w\(" /> + <RegExpr attribute="GDL input" context="gdl_token_array_2" String="w\{" /> + <RegExpr attribute="GDL input" context="gdl_token_array_3" String="w\[" /> + <RegExpr attribute="GDL input" context="gdl_token_array_4" String="w<" /> + <!-- then we handle the 'any char' format --> + <RegExpr attribute="GDL input" context="gdl_token_array_5" String="w([^\s\w])" /> + + <!-- handle apostrophed strings --> + <RegExpr attribute="GDL input" context="gdl_apostrophed_1" String="q\(" /> + <RegExpr attribute="GDL input" context="gdl_apostrophed_2" String="q\{" /> + <RegExpr attribute="GDL input" context="gdl_apostrophed_3" String="q\[" /> + <RegExpr attribute="GDL input" context="gdl_apostrophed_4" String="q<" /> + <!-- then we handle the 'any char' format --> + <RegExpr attribute="GDL input" context="gdl_apostrophed_5" String="q([^\s\w])" /> + + <!-- handle shell commands --> + <RegExpr attribute="GDL input" context="gdl_shell_command_1" String="x\(" /> + <RegExpr attribute="GDL input" context="gdl_shell_command_2" String="x\{" /> + <RegExpr attribute="GDL input" context="gdl_shell_command_3" String="x\[" /> + <RegExpr attribute="GDL input" context="gdl_shell_command_4" String="x<" /> + <!-- then we handle the 'any char' format --> + <RegExpr attribute="GDL input" context="gdl_shell_command_5" String="x([^\s\w])" /> + + <!-- handle regular expressions --> + <RegExpr attribute="GDL input" context="gdl_regexpr_1" String="r\(" /> + <RegExpr attribute="GDL input" context="gdl_regexpr_2" String="r\{" /> + <RegExpr attribute="GDL input" context="gdl_regexpr_3" String="r\[" /> + <RegExpr attribute="GDL input" context="gdl_regexpr_4" String="r<" /> + <!-- then we handle the 'any char' format --> + <RegExpr attribute="GDL input" context="gdl_regexpr_5" String="r([^\s\w])" /> + + <!-- handle double-quoted strings --> + <!-- + be careful to make this the last GDL ruleset, because the rule for + the short form %?foo? will otherwise catch any of the other formats + --> + <RegExpr attribute="GDL input" context="gdl_dq_string_1" String="Q?\(" /> + <RegExpr attribute="GDL input" context="gdl_dq_string_2" String="Q?\{" /> + <RegExpr attribute="GDL input" context="gdl_dq_string_3" String="Q?\[" /> + <RegExpr attribute="GDL input" context="gdl_dq_string_4" String="Q?<" /> + <!-- then we handle the 'any char' format --> + <RegExpr attribute="GDL input" context="gdl_dq_string_5" String="Q?([^\s\w])" /> + + </context> + <!-- double-quoted string specific contexts follow --> + <context name="gdl_dq_string_1" attribute="String" lineEndContext="#stay" > + <IncludeRules context="dq_string_rules" /> + <Detect2Chars attribute="String" char="\" char1=")" context="#stay"/> + <DetectChar attribute="String" context="gdl_dq_string_1_nested" char="(" /> + <DetectChar attribute="GDL input" context="#pop#pop" char=")" endRegion="GdlInput" /> + </context> + <context name="gdl_dq_string_1_nested" attribute="String" lineEndContext="#stay" > + <IncludeRules context="dq_string_rules" /> + <DetectChar attribute="String" context="gdl_dq_string_1_nested" char="(" /> + <DetectChar attribute="String" context="#pop" char=")" /> + </context> + <!-- note that here substitution should win over nesting --> + <context name="gdl_dq_string_2" attribute="String" lineEndContext="#stay" > + <IncludeRules context="dq_string_rules" /> + <Detect2Chars attribute="String" char="\" char1="}" context="#stay"/> + <DetectChar attribute="GDL input" context="#pop#pop" char="}" endRegion="GdlInput" /> + <DetectChar attribute="String" context="gdl_dq_string_2_nested" char="{" /> + </context> + <context name="gdl_dq_string_2_nested" attribute="String" lineEndContext="#stay" > + <DetectChar attribute="String" context="gdl_dq_string_2_nested" char="{" /> + <DetectChar attribute="String" context="#pop" char="}" /> + <IncludeRules context="dq_string_rules" /> + </context> + + <context name="gdl_dq_string_3" attribute="String" lineEndContext="#stay" > + <IncludeRules context="dq_string_rules" /> + <Detect2Chars attribute="String" char="\" char1="]" context="#stay"/> + <DetectChar attribute="String" context="gdl_dq_string_3_nested" char="[" /> + <DetectChar attribute="GDL input" context="#pop#pop" char="]" endRegion="GdlInput" /> + </context> + <context name="gdl_dq_string_3_nested" attribute="String" lineEndContext="#stay" > + <DetectChar attribute="String" context="gdl_dq_string_3_nested" char="[" /> + <DetectChar attribute="String" context="#pop" char="]" /> + <IncludeRules context="dq_string_rules" /> + </context> + + <context name="gdl_dq_string_4" attribute="String" lineEndContext="#stay" > + <IncludeRules context="dq_string_rules" /> + <Detect2Chars attribute="String" char="\" char1=">" context="#stay"/> + <DetectChar attribute="String" context="gdl_dq_string_4_nested" char="<" /> + <DetectChar attribute="GDL input" context="#pop#pop" char=">" endRegion="GdlInput" /> + </context> + <context name="gdl_dq_string_4_nested" attribute="String" lineEndContext="#stay" > + <DetectChar attribute="String" context="gdl_dq_string_4_nested" char="<" /> + <DetectChar attribute="String" context="#pop" char=">" /> + <IncludeRules context="dq_string_rules" /> + </context> + + <!-- this format doesn't allow nesting. it is terminated by the next occurence of the + delimiter character + --> + <context name="gdl_dq_string_5" attribute="String" lineEndContext="#stay" dynamic="true"> + <IncludeRules context="dq_string_rules" /> + <RegExpr attribute="String" String="\\%1" context="#stay" dynamic="true" /> + <RegExpr attribute="GDL input" context="#pop#pop" String="\s*%1" dynamic="true" endRegion="GdlInput" /> + </context> + <!-- rules to be included in all dq_string contexts --> + <context name="dq_string_rules" attribute="String" lineEndContext="#stay" > + <Detect2Chars attribute="String" char="\" char1="\" context="#stay"/> + <RegExpr attribute="Substitution" String="#@{1,2}" context="Short Subst"/> + <Detect2Chars attribute="Substitution" char="#" char1="{" context="Subst"/> + </context> + + <!-- token array specific contexts --> + + <context name="gdl_token_array_1" attribute="String" lineEndContext="#stay" > + <IncludeRules context="token_array_rules" /> + <Detect2Chars attribute="String" char="\" char1=")" context="#stay"/> + <DetectChar attribute="String" context="gdl_token_array_1_nested" char="(" /> + <DetectChar attribute="GDL input" context="#pop#pop" char=")" endRegion="GdlInput" /> + </context> + <context name="gdl_token_array_1_nested" attribute="String" lineEndContext="#stay" > + <IncludeRules context="token_array_rules" /> + <DetectChar attribute="String" context="gdl_token_array_1_nested" char="(" /> + <DetectChar attribute="String" context="#pop" char=")" /> + </context> + + <context name="gdl_token_array_2" attribute="String" lineEndContext="#stay" > + <IncludeRules context="token_array_rules" /> + <Detect2Chars attribute="String" char="\" char1="}" context="#stay"/> + <DetectChar attribute="GDL input" context="#pop#pop" char="}" endRegion="GdlInput" /> + <DetectChar attribute="String" context="gdl_token_array_2_nested" char="{" /> + </context> + <context name="gdl_token_array_2_nested" attribute="String" lineEndContext="#stay" > + <IncludeRules context="token_array_rules" /> + <DetectChar attribute="String" context="gdl_token_array_2_nested" char="{" /> + <DetectChar attribute="String" context="#pop" char="}" /> + </context> + + <context name="gdl_token_array_3" attribute="String" lineEndContext="#stay" > + <IncludeRules context="token_array_rules" /> + <Detect2Chars attribute="String" char="\" char1="]" context="#stay"/> + <DetectChar attribute="String" context="gdl_token_array_3_nested" char="[" /> + <DetectChar attribute="GDL input" context="#pop#pop" char="]" endRegion="GdlInput" /> + </context> + <context name="gdl_token_array_3_nested" attribute="String" lineEndContext="#stay" > + <IncludeRules context="token_array_rules" /> + <DetectChar attribute="String" context="gdl_token_array_3_nested" char="[" /> + <DetectChar attribute="String" context="#pop" char="]" /> + </context> + + <context name="gdl_token_array_4" attribute="String" lineEndContext="#stay" > + <IncludeRules context="token_array_rules" /> + <Detect2Chars attribute="String" char="\" char1=">" context="#stay"/> + <DetectChar attribute="String" context="gdl_token_array_4_nested" char="<" /> + <DetectChar attribute="GDL input" context="#pop#pop" char=">" endRegion="GdlInput" /> + </context> + <context name="gdl_token_array_4_nested" attribute="String" lineEndContext="#stay" > + <IncludeRules context="token_array_rules" /> + <DetectChar attribute="String" context="gdl_token_array_4_nested" char="<" /> + <DetectChar attribute="String" context="#pop" char=">" /> + </context> + + <!-- this format doesn't allow nesting. it is terminated by the next occurence of the + delimiter character + --> + <context name="gdl_token_array_5" attribute="String" lineEndContext="#stay" dynamic="true"> + <IncludeRules context="token_array_rules" /> + <RegExpr attribute="String" String="\\%1" context="#stay" dynamic="true"/> + <RegExpr attribute="GDL input" context="#pop#pop" String="\s*%1" dynamic="true" endRegion="GdlInput" /> + </context> + + <!-- rules to be included in all token_array contexts --> + <context name="token_array_rules" attribute="String" lineEndContext="#stay" > + <StringDetect attribute="String" String="\\" context="#stay"/> + </context> + + <!-- apostrophed string specific contexts --> + + <context name="gdl_apostrophed_1" attribute="Raw String" lineEndContext="#stay" > + <IncludeRules context="apostrophed_rules" /> + <Detect2Chars attribute="Raw String" char="\" char1=")" context="#stay"/> + <DetectChar attribute="Raw String" context="gdl_apostrophed_1_nested" char="(" /> + <DetectChar attribute="GDL input" context="#pop#pop" char=")" endRegion="GdlInput" /> + </context> + <context name="gdl_apostrophed_1_nested" attribute="Raw String" lineEndContext="#stay" > + <IncludeRules context="apostrophed_rules" /> + <DetectChar attribute="Raw String" context="gdl_apostrophed_1_nested" char="(" /> + <DetectChar attribute="Raw String" context="#pop" char=")" /> + </context> + + <context name="gdl_apostrophed_2" attribute="Raw String" lineEndContext="#stay" > + <IncludeRules context="apostrophed_rules" /> + <Detect2Chars attribute="Raw String" char="\" char1="}" context="#stay"/> + <DetectChar attribute="GDL input" context="#pop#pop" char="}" endRegion="GdlInput" /> + <DetectChar attribute="Raw String" context="gdl_apostrophed_2_nested" char="{" /> + </context> + <context name="gdl_apostrophed_2_nested" attribute="Raw String" lineEndContext="#stay" > + <IncludeRules context="apostrophed_rules" /> + <DetectChar attribute="Raw String" context="gdl_apostrophed_2_nested" char="{" /> + <DetectChar attribute="Raw String" context="#pop" char="}" /> + </context> + + <context name="gdl_apostrophed_3" attribute="Raw String" lineEndContext="#stay" > + <IncludeRules context="apostrophed_rules" /> + <Detect2Chars attribute="Raw String" char="\" char1="]" context="#stay"/> + <DetectChar attribute="Raw String" context="gdl_apostrophed_3_nested" char="[" /> + <DetectChar attribute="GDL input" context="#pop#pop" char="]" endRegion="GdlInput" /> + </context> + <context name="gdl_apostrophed_3_nested" attribute="Raw String" lineEndContext="#stay" > + <IncludeRules context="apostrophed_rules" /> + <DetectChar attribute="Raw String" context="gdl_apostrophed_3_nested" char="[" /> + <DetectChar attribute="Raw String" context="#pop" char="]" /> + </context> + + <context name="gdl_apostrophed_4" attribute="Raw String" lineEndContext="#stay" > + <IncludeRules context="apostrophed_rules" /> + <Detect2Chars attribute="Raw String" char="\" char1=">" context="#stay"/> + <DetectChar attribute="Raw String" context="gdl_apostrophed_4_nested" char="<" /> + <DetectChar attribute="GDL input" context="#pop#pop" char=">" endRegion="GdlInput" /> + </context> + <context name="gdl_apostrophed_4_nested" attribute="Raw String" lineEndContext="#stay" > + <IncludeRules context="apostrophed_rules" /> + <DetectChar attribute="Raw String" context="gdl_apostrophed_4_nested" char="<" /> + <DetectChar attribute="Raw String" context="#pop" char=">" /> + </context> + + <!-- this format doesn't allow nesting. it is terminated by the next occurence of the + delimiter character + --> + <context name="gdl_apostrophed_5" attribute="Raw String" lineEndContext="#stay" dynamic="true"> + <IncludeRules context="apostrophed_rules" /> + <RegExpr attribute="Raw String" String="\\%1" context="#stay" dynamic="true"/> + <RegExpr attribute="GDL input" context="#pop#pop" String="\s*%1" dynamic="true" endRegion="GdlInput" /> + </context> + + <!-- rules to be included in all apostrophed contexts --> + <context name="apostrophed_rules" attribute="Raw String" lineEndContext="#stay" > + <Detect2Chars attribute="Raw String" char="\" char1="\" context="#stay"/> + </context> + + <!-- shell command specific contexts --> + + <context name="gdl_shell_command_1" attribute="Command" lineEndContext="#stay" > + <IncludeRules context="shell_command_rules" /> + <Detect2Chars attribute="Command" char="\" char1=")" context="#stay"/> + <DetectChar attribute="Command" context="gdl_shell_command_1_nested" char="(" /> + <DetectChar attribute="GDL input" context="#pop#pop" char=")" endRegion="GdlInput" /> + </context> + <context name="gdl_shell_command_1_nested" attribute="Command" lineEndContext="#stay" > + <IncludeRules context="shell_command_rules" /> + <DetectChar attribute="Command" context="gdl_shell_command_1_nested" char="(" /> + <DetectChar attribute="Command" context="#pop" char=")" /> + </context> + + <context name="gdl_shell_command_2" attribute="Command" lineEndContext="#stay" > + <IncludeRules context="shell_command_rules" /> + <Detect2Chars attribute="Command" char="\" char1="}" context="#stay"/> + <DetectChar attribute="GDL input" context="#pop#pop" char="}" endRegion="GdlInput" /> + <DetectChar attribute="Command" context="gdl_shell_command_2_nested" char="{" /> + </context> + <context name="gdl_shell_command_2_nested" attribute="Command" lineEndContext="#stay" > + <IncludeRules context="shell_command_rules" /> + <DetectChar attribute="Command" context="gdl_shell_command_2_nested" char="{" /> + <DetectChar attribute="Command" context="#pop" char="}" /> + </context> + + <context name="gdl_shell_command_3" attribute="Command" lineEndContext="#stay" > + <IncludeRules context="shell_command_rules" /> + <Detect2Chars attribute="Command" char="\" char1="]" context="#stay"/> + <DetectChar attribute="Command" context="gdl_shell_command_3_nested" char="[" /> + <DetectChar attribute="GDL input" context="#pop#pop" char="]" endRegion="GdlInput" /> + </context> + <context name="gdl_shell_command_3_nested" attribute="Command" lineEndContext="#stay" > + <IncludeRules context="shell_command_rules" /> + <DetectChar attribute="Command" context="gdl_shell_command_3_nested" char="[" /> + <DetectChar attribute="Command" context="#pop" char="]" /> + </context> + + <context name="gdl_shell_command_4" attribute="Command" lineEndContext="#stay" > + <IncludeRules context="shell_command_rules" /> + <Detect2Chars attribute="Command" char="\" char1=">" context="#stay"/> + <DetectChar attribute="Command" context="gdl_shell_command_4_nested" char="<" /> + <DetectChar attribute="GDL input" context="#pop#pop" char=">" endRegion="GdlInput" /> + </context> + <context name="gdl_shell_command_4_nested" attribute="Command" lineEndContext="#stay" > + <IncludeRules context="shell_command_rules" /> + <DetectChar attribute="Command" context="gdl_shell_command_4_nested" char="<" /> + <DetectChar attribute="Command" context="#pop" char=">" /> + </context> + + <!-- this format doesn't allow nesting. it is terminated by the next occurence of the + delimiter character + --> + <context name="gdl_shell_command_5" attribute="Command" lineEndContext="#stay" dynamic="true"> + <IncludeRules context="shell_command_rules" /> + <RegExpr attribute="Command" String="\\%1" context="#stay" dynamic="true" /> + <RegExpr attribute="GDL input" context="#pop#pop" String="\s*%1" dynamic="true" endRegion="GdlInput" /> + </context> + + <!-- rules to be included in all shell_command contexts --> + <context name="shell_command_rules" attribute="Command" lineEndContext="#stay" > + <Detect2Chars attribute="Command" char="\" char1="\" context="#stay"/> + <RegExpr attribute="Substitution" String="#@{1,2}" context="Short Subst"/> + <Detect2Chars attribute="Substitution" char="#" char1="{" context="Subst"/> + </context> + + <!-- regular expression specific contexts --> + + <context name="gdl_regexpr_1" attribute="Regular Expression" lineEndContext="#stay" > + <IncludeRules context="regexpr_rules" /> + <Detect2Chars attribute="Regular Expression" char="\" char1=")" context="#stay"/> + <DetectChar attribute="Regular Expression" context="gdl_regexpr_1_nested" char="(" /> + <RegExpr attribute="GDL input" context="#pop#pop" String="\)[uiomxn]*" endRegion="GdlInput" /> + </context> + <context name="gdl_regexpr_1_nested" attribute="Regular Expression" lineEndContext="#stay" > + <IncludeRules context="regexpr_rules" /> + <DetectChar attribute="Regular Expression" context="gdl_regexpr_1_nested" char="(" /> + <DetectChar attribute="Regular Expression" context="#pop" char=")" /> + </context> + + <context name="gdl_regexpr_2" attribute="Regular Expression" lineEndContext="#stay" > + <IncludeRules context="regexpr_rules" /> + <Detect2Chars attribute="Regular Expression" char="\" char1="}" context="#stay"/> + <RegExpr attribute="GDL input" context="#pop#pop" String="\}[uiomxn]*" endRegion="GdlInput" /> + <DetectChar attribute="Regular Expression" context="gdl_regexpr_2_nested" char="{" /> + </context> + <context name="gdl_regexpr_2_nested" attribute="Regular Expression" lineEndContext="#stay" > + <IncludeRules context="regexpr_rules" /> + <DetectChar attribute="Regular Expression" context="gdl_regexpr_2_nested" char="{" /> + <DetectChar attribute="Regular Expression" context="#pop" char="}" /> + </context> + + <context name="gdl_regexpr_3" attribute="Regular Expression" lineEndContext="#stay" > + <IncludeRules context="regexpr_rules" /> + <Detect2Chars attribute="Regular Expression" char="\" char1="]" context="#stay"/> + <DetectChar attribute="Regular Expression" context="gdl_regexpr_3_nested" char="[" /> + <RegExpr attribute="GDL input" context="#pop#pop" String="\][uiomxn]*" endRegion="GdlInput" /> + </context> + <context name="gdl_regexpr_3_nested" attribute="Regular Expression" lineEndContext="#stay" > + <IncludeRules context="regexpr_rules" /> + <DetectChar attribute="Regular Expression" context="gdl_regexpr_3_nested" char="[" /> + <DetectChar attribute="Regular Expression" context="#pop" char="]" /> + </context> + + <context name="gdl_regexpr_4" attribute="Regular Expression" lineEndContext="#stay" > + <IncludeRules context="regexpr_rules" /> + <Detect2Chars attribute="Regular Expression" char="\" char1=">" context="#stay"/> + <DetectChar attribute="Regular Expression" context="gdl_regexpr_4_nested" char="<" /> + <RegExpr attribute="GDL input" context="#pop#pop" String=">[uiomxn]*" endRegion="GdlInput" /> + </context> + <context name="gdl_regexpr_4_nested" attribute="Regular Expression" lineEndContext="#stay" > + <IncludeRules context="regexpr_rules" /> + <DetectChar attribute="Regular Expression" context="gdl_regexpr_4_nested" char="<" /> + <DetectChar attribute="Regular Expression" context="#pop" char=">" /> + </context> + + <!-- this format doesn't allow nesting. it is terminated by the next occurence of the + delimiter character + --> + <context name="gdl_regexpr_5" attribute="Regular Expression" lineEndContext="#stay" dynamic="true"> + <IncludeRules context="regexpr_rules" /> + <RegExpr attribute="Regular Expression" String="\\%1" context="#stay" dynamic="true" /> + <RegExpr attribute="GDL input" context="#pop#pop" String="\s*%1[uiomxn]*" dynamic="true" endRegion="GdlInput" /> + </context> + + <!-- rules to be included in all regexpr contexts --> + <context name="regexpr_rules" attribute="Regular Expression" lineEndContext="#stay" > + <Detect2Chars attribute="Regular Expression" char="\" char1="\" context="#stay"/> + <RegExpr attribute="Substitution" String="#@{1,2}" context="Short Subst"/> + <Detect2Chars attribute="Substitution" char="#" char1="{" context="Subst"/> + </context> + + <!-- END of General delimited input support --> + + <!-- handle data in script --> + <context name="DATA" attribute="Data" lineEndContext="#stay"/> + <!-- END Ruby contexts --> + </contexts> + + <itemDatas> + <!-- BEGIN Ruby itemData --> + <itemData name="Ruby Normal Text" defStyleNum="dsNormal"/> + + <itemData name="Keyword" defStyleNum="dsKeyword"/> + <itemData name="Attribute Definition" defStyleNum="dsOthers"/> + <itemData name="Access Control" defStyleNum="dsKeyword" color="#0000FF"/> + <itemData name="Definition" defStyleNum="dsKeyword"/> + <itemData name="Pseudo variable" defStyleNum="dsDecVal"/> + + <itemData name="Dec" defStyleNum="dsDecVal"/> + <itemData name="Float" defStyleNum="dsFloat"/> + <itemData name="Char" defStyleNum="dsChar"/> + <itemData name="Octal" defStyleNum="dsBaseN"/> + <itemData name="Hex" defStyleNum="dsBaseN"/> + <itemData name="Bin" defStyleNum="dsBaseN"/> + + <itemData name="Symbol" defStyleNum="dsString" color="#D40000"/> + <itemData name="String" defStyleNum="dsString"/> + <itemData name="Raw String" defStyleNum="dsString" color="#DD4A4A" selColor="#DD4A4A"/> + <itemData name="Command" defStyleNum="dsString" color="#AA3000"/> + <itemData name="Message" defStyleNum="dsNormal" color="#4000A7"/> <!-- #4A00C0 --> + <itemData name="Regular Expression" defStyleNum="dsOthers" color="#4A5704"/> + <itemData name="Substitution" defStyleNum="dsOthers"/> + <itemData name="Data" defStyleNum="dsNormal"/> + <!-- short for 'general delimited input' --> + <itemData name="GDL input" defStyleNum="dsOthers" /> + + <itemData name="Default globals" defStyleNum="dsDataType" color="#C00000" bold="1"/> + <itemData name="Global Variable" defStyleNum="dsDataType" color="#C00000"/> + <itemData name="Global Constant" defStyleNum="dsDataType" color="#bb1188" bold="1"/> + <itemData name="Constant" defStyleNum="dsDataType"/> + <itemData name="Constant Value" defStyleNum="dsDataType" color="#bb1188"/> + <itemData name="Kernel methods" defStyleNum="dsNormal" color="#000080" selColor="#ffffff"/> <!-- #CC0E86 --> + <itemData name="Member" defStyleNum="dsNormal"/> + <itemData name="Instance Variable" defStyleNum="dsOthers"/> + <itemData name="Class Variable" defStyleNum="dsOthers"/> + + <itemData name="Ruby Comment" defStyleNum="dsComment"/> + <itemData name="Blockcomment" defStyleNum="dsComment"/> + <itemData name="Region Marker" defStyleNum="dsNormal" color="#0000ff"/> + <itemData name="RDoc Value" defStyleNum="dsOthers"/> + + <!-- use these to mark errors and alerts things --> + <itemData name="Error" defStyleNum="dsError" /> + <itemData name="Alert" defStyleNum="dsAlert" /> + + <itemData name="Delimiter" defStyleNum="dsChar"/> + <itemData name="Expression" defStyleNum="dsOthers"/> + <itemData name="Operator" defStyleNum="dsChar"/> + <!-- END Ruby itemData --> + + <!-- BEGIN HTML itemData --> + <itemData name="Normal Text" defStyleNum="dsNormal" /> + <itemData name="Comment" defStyleNum="dsComment" /> + <itemData name="CDATA" defStyleNum="dsBaseN" bold="1" /> + <itemData name="Processing Instruction" defStyleNum="dsKeyword" /> + <itemData name="Doctype" defStyleNum="dsDataType" bold="1" /> + <itemData name="Element" defStyleNum="dsKeyword" /> + <itemData name="Attribute" defStyleNum="dsOthers" /> + <itemData name="Value" defStyleNum="dsString" color="#a00" /> + <itemData name="EntityRef" defStyleNum="dsDecVal" /> + <itemData name="PEntityRef" defStyleNum="dsDecVal" /> + <itemData name="Error" defStyleNum="dsError" /> + <!-- END HTML itemData --> + + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="singleLine" start="#"/> + <comment name="multiLine" start="<!--" end="-->" /> + </comments> + <keywords casesensitive="1" weakDeliminator="!?"/> + </general> +</language> diff --git a/kate/data/rib.xml b/kate/data/rib.xml new file mode 100644 index 000000000..8472016a9 --- /dev/null +++ b/kate/data/rib.xml @@ -0,0 +1,143 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> + +<!--Kate syntax file for RenderMan Interface Byte stream--> +<!--By David Williams--> +<!--Email david@david-williams.info--> + +<language name="RenderMan RIB" version="1.00" kateversion="2.3" section="Other" mimetype="" extensions="*.rib" author="David Williams <david@david-williams.info>" license="LGPL"> + <highlighting> + <list name="Graphics States"> + <item> AreaLightSource </item> + <item> Attribute </item> + <item> AttributeBegin </item> + <item> AttributeEnd </item> + <item> Begin </item> + <item> Bound </item> + <item> Clipping </item> + <item> Color </item> + <item> ColorSamples </item> + <item> ConcatTransform </item> + <item> CoordinateSystem </item> + <item> CropWindow </item> + <item> Declare </item> + <item> DepthOfField </item> + <item> Detail </item> + <item> DetailRange </item> + <item> Displacement </item> + <item> Display </item> + <item> End </item> + <item> Exterior </item> + <item> Format </item> + <item> FrameAspectRatio </item> + <item> FrameBegin </item> + <item> FrameEnd </item> + <item> GeometricApproximation </item> + <item> Hider </item> + <item> Identity </item> + <item> Illuminance </item> + <item> Illuminate </item> + <item> Interior </item> + <item> LightSource </item> + <item> Matte </item> + <item> Opacity </item> + <item> Option </item> + <item> Orientation </item> + <item> Perspective </item> + <item> PixelFilter </item> + <item> PixelSamples </item> + <item> PixelVariance </item> + <item> Projection </item> + <item> Quantize </item> + <item> RelativeDetail </item> + <item> Rotate </item> + <item> Scale </item> + <item> ScreenWindow </item> + <item> ShadingInterpolation </item> + <item> ShadingRate </item> + <item> Shutter </item> + <item> Sides </item> + <item> Skew </item> + <item> Surface </item> + <item> TextureCoordinates </item> + <item> Transform </item> + <item> TransformBegin </item> + <item> TransformEnd </item> + <item> TransformPoints </item> + <item> Translate </item> + <item> version </item> + <item> WorldBegin </item> + <item> WorldEnd </item> + </list> + <list name="Geometric Primitives"> + <item> Basis </item> + <item> Cylinder </item> + <item> Disk </item> + <item> GeneralPolygon </item> + <item> Geometry </item> + <item> Hyperboloid </item> + <item> NuPatch </item> + <item> ObjectBegin </item> + <item> ObjectEnd </item> + <item> ObjectInstance </item> + <item> Patch </item> + <item> Paraboloid </item> + <item> PointsPolygons </item> + <item> PointsGeneralPolygons </item> + <item> Polygon </item> + <item> Procedural </item> + <item> SolidBegin </item> + <item> SolidEnd </item> + <item> Sphere </item> + <item> Torus </item> + </list> + <list name="Motions"> + <item> MotionBegin </item> + <item> MotionEnd </item> + </list> + <list name="External Resources"> + <item> MakeBump </item> + <item> MakeCubeFaceEnvironment </item> + <item> MakeLatLongEnvironment </item> + <item> MakeTexture </item> + <item> ArchiveRecord </item> + <item> ErrorHandler </item> + </list> + <contexts> + <context attribute="Normal Text" lineEndContext="#stay" name="Normal"> + + <keyword attribute="Graphics State" context="#stay" String="Graphics States"/> + <keyword attribute="Geometric Primitive" context="#stay" String="Geometric Primitives"/> + <keyword attribute="Motion" context="#stay" String="Motions"/> + <keyword attribute="External Resource" context="#stay" String="External Resources"/> + + <Float attribute="Float" context="#stay"/> + <Int attribute="Integer" context="#stay"/> + <DetectChar attribute="String" context="String" char="""/> + <DetectChar attribute="Comment" context="Comment" char="#"/> + </context> + <context name="String" attribute="String" lineEndContext="#pop"> + <DetectChar attribute="String" context="#pop" char="""/> + </context> + <context name="Comment" attribute="Comment" lineEndContext="#pop"/> + </contexts> + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + + <itemData name="Graphics State" defStyleNum="dsKeyword"/> + <itemData name="Geometric Primitive" defStyleNum="dsKeyword"/> + <itemData name="Motion" defStyleNum="dsKeyword"/> + <itemData name="External Resource" defStyleNum="dsKeyword"/> + + <itemData name="Float" defStyleNum="dsFloat"/> + <itemData name="Integer" defStyleNum="dsDecVal"/> + <itemData name="String" defStyleNum="dsString"/> + <itemData name="Comment" defStyleNum="dsComment"/> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="singleLine" start="#" /> + </comments> + </general> +</language> diff --git a/kate/data/rpmspec.xml b/kate/data/rpmspec.xml new file mode 100644 index 000000000..246bb264d --- /dev/null +++ b/kate/data/rpmspec.xml @@ -0,0 +1,80 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="RPM Spec" version="1.1" kateversion="2.4" section="Other" extensions="*.spec" mimetype=""> + <highlighting> + <list name="keywords"> + <item> Name </item> + <item> Summary </item> + <item> Version </item> + <item> Epoch </item> + <item> Serial </item> + <item> Release </item> + <item> Source </item> + <item> Group </item> + <item> Copyright </item> + <item> License </item> + <item> Vendor </item> + <item> Distribution </item> + <item> Packager </item> + <item> Url </item> + <item> URL </item> + <item> Prefix </item> + <item> Conflicts </item> + <item> Obsoletes </item> + <item> Provides </item> + <item> PreReq </item> + <item> Requires </item> + <item> BuildArch </item> + <item> BuildArchitectures </item> + <item> BuildConflicts </item> + <item> BuildRequires </item> + <item> BuildRoot </item> + <item> ExclusiveArch </item> + <item> ExclusiveOs </item> + <item> ExcludeArch </item> + <item> ExcludeOs </item> + </list> + <list name="types"> + <item> GPL </item> + <item> LGPL </item> + <item> Artistic </item> + </list> + <contexts> + + <context attribute="Normal Text" lineEndContext="#stay" name="Normal"> + <keyword attribute="Keyword" context="#stay" String="keywords"/> + <keyword attribute="Data" context="#stay" String="types"/> + <RegExpr attribute="Red" context="#stay" String="%\w*" /> + <DetectChar attribute="Comment" context="Comment" char="#" /> + <RegExpr attribute="Keyword" context="Some Context" String="\{\w*" /> + <RegExpr attribute="Blue" context="Some Context2" String="<\s*[\w@\.]*" /> + <RegExpr attribute="Data" context="#stay" String="\$\w*" /> + <RegExpr attribute="Keyword" context="#stay" String="(Source|Patch)\d*" /> + <RegExpr attribute="Keyword" context="#stay" String="\*.*" firstNonSpace="true"/> <!-- ChangeLog --> + <Int attribute="Blue" context="#stay" /> + </context> + + <context attribute="Comment" lineEndContext="#pop" name="Comment"/> + + <context attribute="Keyword" lineEndContext="#pop" name="Some Context"> + <DetectChar attribute="Keyword" char="}" context="#pop"/> + </context> + + <context attribute="Blue" lineEndContext="#pop" name="Some Context2"> + <DetectChar attribute="Blue" char=">" context="#pop"/> + </context> + + </contexts> + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Keyword" defStyleNum="dsKeyword"/> + <itemData name="Red" defStyleNum="dsString"/> + <itemData name="Comment" defStyleNum="dsComment"/> + <itemData name="Blue" defStyleNum="dsDecVal"/> + <itemData name="Data" defStyleNum="dsDataType"/> + </itemDatas> + </highlighting> + <general> + <keywords casesensitive="1" /> + </general> +</language> diff --git a/kate/data/rsiidl.xml b/kate/data/rsiidl.xml new file mode 100644 index 000000000..574e19143 --- /dev/null +++ b/kate/data/rsiidl.xml @@ -0,0 +1,440 @@ +<?xml version="1.0" encoding="UTF-8"?> <!-- KATE Syntax Highlighting for RSI IDL --> +<!DOCTYPE language SYSTEM "language.dtd"><!-- Created by Markus Fraenz,fraenz@linmpi.mpg.de Aug 2002 --> +<language name="RSI IDL" version="1.04" kateversion="2.1" section="Sources" extensions="*.pro" mimetype="text/x-rsiidl-src" author="Markus Fraenz (fraenz@linmpi.mpg.de)" license=""> + <highlighting> + <list name="reserved words"> + <item> For </item> + <item> Do </item> + <item> Endfor </item> + <item> Repeat </item> + <item> Endrep </item> + <item> While </item> + <item> Endwhile </item> + <item> Until </item> + <item> Case </item> + <item> Endcase </item> + <item> If </item> + <item> Endif </item> + <item> Else </item> + <item> Endelse </item> + <item> Then </item> + <item> Begin </item> + <item> End </item> + <item> Function </item> + <item> Goto </item> + <item> Pro </item> + <item> Eq </item> + <item> Ge </item> + <item> Gt </item> + <item> Le </item> + <item> Lt </item> + <item> Ne </item> + <item> Mod </item> + <item> Or </item> + <item> Xor </item> + <item> Not </item> + <item> And </item> + <item> Then </item> + <item> Return </item> + <item> Common </item> + <item> Of </item> + <item> On_ioerror </item> + </list> + <list name="system variables"> + <item>dpi</item> + <item>dtor</item> + <item>map</item> + <item>pi</item> + <item>radeg</item> + <item>values</item> + <item>err</item> + <item>error_state</item> + <item>error</item> + <item>err_string</item> + <item>except</item> + <item>mouse</item> + <item>msg_prefix</item> + <item>syserror</item> + <item>syserr_string</item> + <item>warn</item> + <item>dir</item> + <item>dlm_path</item> + <item>edit_input</item> + <item>help_path</item> + <item>journal</item> + <item>more</item> + <item>path</item> + <item>prompt</item> + <item>quiet</item> + <item>version</item> + <item>c</item> + <item>d</item> + <item>order</item> + <item>p</item> + <item>x</item> + <item>y</item> + <item>z</item> + <item>stime</item> + </list> + <list name="types"><!-- IDL5 Data types and variable creation --> + <item>Fix </item> + <item>Long </item> + <item>Long64 </item> + <item>uint </item> + <item>Byte </item> + <item>Float </item> + <item>Double </item> + <item>complex </item> + <item>dcomplex </item> + <item>complexarr </item> + <item>dcomplexarr </item> + <item>String </item> + <item>Intarr </item> + <item>lonarr </item> + <item>lon64arr </item> + <item>uintarr </item> + <item>ulong </item> + <item>ulonarr </item> + <item>ulon64arr </item> + <item>Bytarr </item> + <item>Bytscl </item> + <item>Fltarr </item> + <item>Dblarr </item> + <item>Strarr </item> + <item>Objarr </item> + <item>Indgen </item> + <item>Findgen </item> + <item>Dindgen </item> + <item>Dcindgen </item> + <item>cindgen </item> + <item>lindgen </item> + <item>bindgen </item> + <item>sindgen </item> + <item>uindgen </item> + <item>ul64indgen </item> + <item>l64indgen </item> + <item>ulindgen </item> + <item>Replicate </item> + <item>Ptrarr </item> + </list> + <list name="commands"><!-- IDL5.3 build in routines, excluding lib functions and io functions --> + <item>ABS </item> + <item>ACOS </item> + <item>ADAPT_HIST_EQUAL </item> + <item>ALOG </item> + <item>ALOG10 </item> + <item>ARG_PRESENT </item> + <item>ASIN </item> + <item>ASSOC </item> + <item>ATAN </item> + <item>AXIS </item> + <item>BESELI </item> + <item>BESELJ </item> + <item>BESELY </item> + <item>BLAS_AXPY </item> + <item>BREAKPOINT </item> + <item>BROYDEN </item> + <item>BYTEORDER </item> + <item>CALL_EXTERNAL </item> + <item>CALL_FUNCTION </item> + <item>CALL_METHOD </item> + <item>CALL_PROCEDURE </item> + <item>CATCH </item> + <item>CEIL </item> + <item>CHECK_MATH </item> + <item>CHOLDC </item> + <item>CHOLSOL </item> + <item>COLOR_CONVERT </item> + <item>COLOR_QUAN </item> + <item>COMPILE_OPT </item> + <item>COMPUTE_MESH_NORMALS </item> + <item>CONJ </item> + <item>CONSTRAINED_MIN </item> + <item>CONTOUR </item> + <item>CONVERT_COORD </item> + <item>CONVOL </item> + <item>CORRELATE </item> + <item>COS </item> + <item>COSH </item> + <item>CREATE_STRUCT </item> + <item>CURSOR </item> + <item>DEFINE_KEY </item> + <item>DEFSYSV </item> + <item>DELVAR </item> + <item>DEVICE </item> + <item>DFPMIN </item> + <item>DIALOG_MESSAGE </item> + <item>DIALOG_PICKFILE </item> + <item>DIALOG_PRINTERSETUP </item> + <item>DIALOG_PRINTJOB </item> + <item>DILATE </item> + <item>DLM_LOAD </item> + <item>DRAW_ROI </item> + <item>ELMHES </item> + <item>EMPTY </item> + <item>ENABLE_SYSRTN </item> + <item>ERASE </item> + <item>ERODE </item> + <item>ERRORF </item> + <item>EXECUTE </item> + <item>EXIT </item> + <item>EXP </item> + <item>EXPAND_PATH </item> + <item>EXPINT </item> + <item>FINDFILE </item> + <item>FINITE </item> + <item>FLOOR </item> + <item>FORMAT_AXIS_VALUES </item> + <item>FORWARD_FUNCTION </item> + <item>FSTAT </item> + <item>FULSTR </item> + <item>FZ_ROOTS </item> + <item>GAUSSINT </item> + <item>GET_KBRD </item> + <item>GETENV </item> + <item>GRID_TPS </item> + <item>GRID3 </item> + <item>HEAP_GC </item> + <item>HELP </item> + <item>HISTOGRAM </item> + <item>HQR </item> + <item>IMAGE_STATISTICS </item> + <item>IMAGINARY </item> + <item>INTERPOLATE </item> + <item>INVERT </item> + <item>ISHFT </item> + <item>ISOCONTOUR </item> + <item>ISOSURFACE </item> + <item>JOURNAL </item> + <item>KEYWORD_SET </item> + <item>LABEL_REGION </item> + <item>LINBCG </item> + <item>LINKIMAGE </item> + <item>LMGR </item> + <item>LNGAMMA </item> + <item>LNP_TEST </item> + <item>LOADCT </item> + <item>LOCALE_GET </item> + <item>LSODE </item> + <item>LUDC </item> + <item>LUMPROVE </item> + <item>LUSOL </item> + <item>MACHAR </item> + <item>MAKE_ARRAY </item> + <item>MAP_PROJ_INFO </item> + <item>MAX </item> + <item>MEDIAN </item> + <item>MESH_CLIP </item> + <item>MESH_DECIMATE </item> + <item>MESH_ISSOLID </item> + <item>MESH_MERGE </item> + <item>MESH_NUMTRIANGLES </item> + <item>MESH_SMOOTH </item> + <item>MESH_SURFACEAREA </item> + <item>MESH_VALIDATE </item> + <item>MESH_VOLUME </item> + <item>MESSAGE </item> + <item>MIN </item> + <item>N_ELEMENTS </item> + <item>N_PARAMS </item> + <item>N_TAGS </item> + <item>NEWTON </item> + <item>OBJ_CLASS </item> + <item>OBJ_DESTROY </item> + <item>OBJ_ISA </item> + <item>OBJ_NEW </item> + <item>OBJ_VALID </item> + <item>ON_ERROR </item> + <item>OPLOT </item> + <item>PARTICLE_TRACE </item> + <item>PLOT </item> + <item>PLOTS </item> + <item>POLY_2D </item> + <item>POLYFILL </item> + <item>POLYFILLV </item> + <item>POLYSHADE </item> + <item>POWELL </item> + <item>PROFILER </item> + <item>PTR_FREE </item> + <item>PTR_NEW </item> + <item>PTR_VALID </item> + <item>QROMB </item> + <item>QROMO </item> + <item>QSIMP </item> + <item>RANDOMN </item> + <item>RANDOMU </item> + <item>REBIN </item> + <item>REFORM </item> + <item>RETALL </item> + <item>RETURN </item> + <item>RIEMANN </item> + <item>RK4 </item> + <item>ROBERTS </item> + <item>ROTATE </item> + <item>ROUND </item> + <item>SET_PLOT </item> + <item>SET_SHADING </item> + <item>SETENV </item> + <item>SHADE_SURF </item> + <item>SHADE_VOLUME </item> + <item>SHIFT </item> + <item>SIN </item> + <item>SINH </item> + <item>SIZE </item> + <item>SMOOTH </item> + <item>SOBEL </item> + <item>SORT </item> + <item>SPL_INIT </item> + <item>SPL_INTERP </item> + <item>SPRSAB </item> + <item>SPRSAX </item> + <item>SPRSIN </item> + <item>SQRT </item> + <item>STOP </item> + <item>STRCMP </item> + <item>STRCOMPRESS </item> + <item>STREGEX </item> + <item>STRJOIN </item> + <item>STRLEN </item> + <item>STRLOWCASE </item> + <item>STRMATCH </item> + <item>STRMESSAGE </item> + <item>STRMID </item> + <item>STRPOS </item> + <item>STRPUT </item> + <item>STRTRIM </item> + <item>STRUCT_ASSIGN </item> + <item>STRUCT_HIDE </item> + <item>STRUPCASE </item> + <item>SURFACE </item> + <item>SVDC </item> + <item>SVSOL </item> + <item>SYSTIME </item> + <item>TAG_NAMES </item> + <item>TAN </item> + <item>TANH </item> + <item>TEMPORARY </item> + <item>TETRA_CLIP </item> + <item>TETRA_SURFACE </item> + <item>TETRA_VOLUME </item> + <item>THIN </item> + <item>THREED </item> + <item>TOTAL </item> + <item>TRANSPOSE </item> + <item>TRIANGULATE </item> + <item>TRIGRID </item> + <item>TRIQL </item> + <item>TRIRED </item> + <item>TRISOL </item> + <item>TV </item> + <item>TVCRS </item> + <item>TVLCT </item> + <item>TVRD </item> + <item>TVSCLU </item> + <item>USERSYM </item> + <item>VALUE_LOCATE </item> + <item>VOIGT </item> + <item>VOXEL_PROJ </item> + <item>WAIT </item> + <item>WATERSHED </item> + <item>WDELETE </item> + <item>WHERE </item> + <item>WIDGET_BASE </item> + <item>WIDGET_BUTTON </item> + <item>WIDGET_CONTROL </item> + <item>WIDGET_DRAW </item> + <item>WIDGET_DROPLIST </item> + <item>WIDGET_EVENT </item> + <item>WIDGET_INFO </item> + <item>WIDGET_LABEL </item> + <item>WIDGET_LIST </item> + <item>WIDGET_SLIDER </item> + <item>WIDGET_TABLE </item> + <item>WIDGET_TEXT </item> + <item>WINDOW </item> + <item>WSET </item> + <item>WSHOW </item> + <item>WTN </item> + <item>XYOUTS </item> + </list> + <list name="io commands"><!-- IDL5.3 build in I/O routines --> + <item>Open </item> + <item>FLUSH </item> + <item>IOCTL </item> + <item>RESTORE </item> + <item>SAVE </item> + <item>POINT_LUN </item> + <item>Openr </item> + <item>Openw </item> + <item>Openu </item> + <item>Close </item> + <item>Free_lun </item> + <item>get_lun </item> + <item>assoc </item> + <item>catch </item> + <item>cd </item> + <item>spawn </item> + <item>eof </item> + <item>print </item> + <item>printf </item> + <item>prints </item> + <item>read </item> + <item>readf </item> + <item>reads </item> + <item>writu </item> + </list> + <contexts> + <context attribute="Normal Text" lineEndContext="#stay" name="Normal"> + <keyword attribute="Keyword" context="#stay" String="reserved words"/> + <keyword attribute="Data Type" context="#stay" String="types"/> + <keyword attribute="Command" context="#stay" String="commands"/> + <keyword attribute="IOCommand" context="#stay" String="io commands"/> + <Float attribute="Octal" context="#stay"/> + <Int attribute="Decimal" context="#stay"/> + <RangeDetect attribute="String" context="#stay" char="'" char1="'"/> + <RangeDetect attribute="String" context="#stay" char=""" char1="""/> + <DetectChar attribute="Hex" context="#stay" char="(" /> + <DetectChar attribute="Hex" context="#stay" char=")" /> + <DetectChar attribute="Char" context="#stay" char="[" /> + <DetectChar attribute="Char" context="#stay" char="]" /> + <DetectChar attribute="Float" context="#stay" char="{" /> + <DetectChar attribute="Float" context="#stay" char="}" /> + <DetectChar attribute="Char" context="#stay" char="$" /> + <DetectChar attribute="Char" context="#stay" char="@" /> + <DetectChar attribute="Char" context="#stay" char=":" /> + <DetectChar attribute="Char" context="Comment" char=";"/> + <DetectChar attribute="Char" context="systemvarcontext" char="!" /> + </context> + <context attribute="Comment" lineEndContext="#pop" name="Comment"> + </context> + <context attribute="Char" lineEndContext="#pop" name="systemvarcontext"> + <DetectChar attribute="Hex" context="#pop" char="(" /> + <DetectChar attribute="Char" context="#pop" char="." /> + <DetectChar attribute="Hex" context="#pop" char=" " /> + <keyword attribute="Float" context="#pop" String="system variables"/> + </context> + </contexts> + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Keyword" defStyleNum="dsKeyword" color="#1414e4" selColor="#ffd60b" bold="1"/> + <itemData name="Data Type" defStyleNum="dsDataType"/> + <itemData name="Decimal" defStyleNum="dsDecVal" color="#000000" selColor="#ffffff"/> + <itemData name="Octal" defStyleNum="dsDecVal"/> + <itemData name="Hex" defStyleNum="dsDecVal"/> + <itemData name="Float" defStyleNum="dsDecVal" color="#000000" selColor="#ffffff"/> + <itemData name="Char" defStyleNum="dsChar"/> + <itemData name="String" defStyleNum="dsString" color="#ff0000" selColor="#ff0000"/> + <itemData name="String Char" defStyleNum="dsChar" color="#ff0000" selColor="#ff0000"/> + <itemData name="Comment" defStyleNum="dsComment" color="#2b7805" selColor="#945ca4"/> + <itemData name="Command" defStyleNum="dsBaseN" color="#050505" selColor="#ffffff" bold="1"/> + <itemData name="IOCommand" defStyleNum="dsDataType" color="#050505" selColor="#ffffff" bold="1"/> + <itemData name="bracketed" defStyleNum="dsFloat" /> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="singleLine" start=";" /> + </comments> + <keywords casesensitive="0" /> + </general> +</language> diff --git a/kate/data/ruby.xml b/kate/data/ruby.xml new file mode 100644 index 000000000..76b88f719 --- /dev/null +++ b/kate/data/ruby.xml @@ -0,0 +1,908 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> + +<!-- + Ruby syntax highlighting definition for Kate. + + Copyright (C) 2004 by Sebastian Vuorinen (sebastian dot vuorinen at helsinki dot fi) + Copyright (C) 2004 by Stefan Lang (langstefan@gmx.at) + Copyright (C) 2008 by Robin Pedersen (robin.pedersen@runbox.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. +--> + +<!-- + TODO: * "Nested" HERE documents aren't recognized. + * Division after gdl contexts is interpreted as regexp +--> + +<!-- Hold the "language" opening tag on a single line, as mentioned in "language.dtd". --> +<language name="Ruby" version="1.17" kateversion="2.4" section="Scripts" extensions="*.rb;*.rjs;*.rxml;*.xml.erb;*.js.erb" mimetype="application/x-ruby" author="Stefan Lang (langstefan@gmx.at), Sebastian Vuorinen (sebastian.vuorinen@helsinki.fi), Robin Pedersen (robin.pedersen@runbox.com)" license="LGPL"> + + <highlighting> + + <list name="keywords"> + <item> BEGIN </item> + <item> END </item> + <item> and </item> + <item> begin </item> + <item> break </item> + <item> case </item> + <item> defined? </item> + <item> do </item> + <item> else </item> + <item> elsif </item> + <item> end </item> + <item> ensure </item> + <item> for </item> + <item> if </item> + <item> in </item> + <item> include </item> + <item> next </item> + <item> not </item> + <item> or </item> + <item> redo </item> + <item> rescue </item> + <item> retry </item> + <item> return </item> + <item> then </item> + <item> unless </item> + <item> until </item> + <item> when </item> + <item> while </item> + <item> yield </item> + </list> + + <list name="access-control"> + <item> private_class_method </item> + <item> private </item> + <item> protected </item> + <item> public_class_method </item> + <item> public </item> + </list> + + <list name="attribute-definitions"> + <item> attr_reader </item> + <item> attr_writer </item> + <item> attr_accessor </item> + </list> + + <list name="definitions"> + <item> alias </item> + <item> module </item> + <item> class </item> + <item> def </item> + <item> undef </item> + </list> + + <list name="pseudo-variables"> + <item> self </item> + <item> super </item> + <item> nil </item> + <item> false </item> + <item> true </item> + <item> caller </item> + <item> __FILE__ </item> + <item> __LINE__ </item> + </list> + + <list name="default-globals"> + <item> $stdout </item> + <item> $defout </item> + <item> $stderr </item> + <item> $deferr </item> + <item> $stdin </item> + </list> + + <!-- Kernel module methods. + NOTE: Methods ending in ? or ! + are included below as regexes. + --> + <list name="kernel-methods"> + <!-- backquote ` --> + <item> abort </item> + <item> at_exit </item> + <item> autoload </item> + <item> autoload? </item> + <item> binding </item> + <item> block_given? </item> + <item> callcc </item> + <item> caller </item> + <item> catch </item> + <item> chomp </item> + <item> chomp! </item> + <item> chop </item> + <item> chop! </item> + <item> eval </item> + <item> exec </item> + <item> exit </item> + <item> exit! </item> + <item> fail </item> + <item> fork </item> + <item> format </item> + <item> getc </item> + <item> gets </item> + <item> global_variables </item> + <item> gsub </item> + <item> gsub! </item> + <item> iterator? </item> + <item> lambda </item> + <item> load </item> + <item> local_variables </item> + <item> loop </item> + <item> method_missing </item> + <item> open </item> + <item> p </item> + <item> print </item> + <item> printf </item> + <item> proc </item> + <item> putc </item> + <item> puts </item> + <item> raise </item> + <item> rand </item> + <item> readline </item> + <item> readlines </item> + <item> require </item> + <item> scan </item> + <item> select </item> + <item> set_trace_func </item> + <item> sleep </item> + <item> split </item> + <item> sprintf </item> + <item> srand </item> + <item> sub </item> + <item> sub! </item> + <item> syscall </item> + <item> system </item> + <item> test </item> + <item> throw </item> + <item> trace_var </item> + <item> trap </item> + <item> untrace_var </item> + <item> warn </item> + </list> + + <list name="attention"> + <item> TODO </item> + <item> FIXME </item> + <item> NOTE </item> + </list> + + <contexts> + <context name="Normal" attribute="Normal Text" lineEndContext="#stay"> + <!-- ruby ignores newline after \ --> + <LineContinue attribute="Normal Text" context="Line Continue"/> + + <!-- __END__ token on own line. --> + <RegExpr attribute="Keyword" String="__END__$" context="DATA" column="0"/> + + <!-- "shebang" line --> + <RegExpr attribute="Keyword" String="#!\/.*" context="#stay" column="0"/> + + <!-- "def" - "end" blocks --> + <!-- check for statement modifiers with regexes --> + <DetectChar attribute="Operator" char="{" context="Find closing block brace" beginRegion="def block"/> + <RegExpr attribute="Keyword" String="(\=|\(|\[|\{)\s*(if|unless|while|until)\b" context="#stay" beginRegion="def block"/> + <RegExpr attribute="Keyword" String="(while|until)\b(?!.*\bdo\b)" context="#stay" beginRegion="def block" firstNonSpace="true"/> + <RegExpr attribute="Keyword" String="\;\s*(while|until)\b(?!.*\bdo\b)" context="#stay" beginRegion="def block"/> + <RegExpr attribute="Keyword" String="(if|unless)\b" context="#stay" beginRegion="def block" firstNonSpace="true"/> + <RegExpr attribute="Keyword" String="\;\s*(if|unless)\b" context="#stay" beginRegion="def block"/> + <RegExpr attribute="Keyword" String="\bclass\b" context="#stay" beginRegion="def block"/> + <RegExpr attribute="Keyword" String="\bmodule\b" context="#stay" beginRegion="def block"/> + <RegExpr attribute="Keyword" String="\bbegin\b" context="#stay" beginRegion="def block"/> + <RegExpr attribute="Keyword" String="\bfor\b(?!.*\bdo\b)" context="#stay" beginRegion="def block"/> + <RegExpr attribute="Keyword" String="\bcase\b" context="#stay" beginRegion="def block"/> + <RegExpr attribute="Keyword" String="\bdo\b" context="#stay" beginRegion="def block"/> + <RegExpr attribute="Keyword" String="\bdef\b" context="#stay" beginRegion="def block"/> + <RegExpr attribute="Keyword" String="\bend\b" context="#stay" endRegion="def block"/> + <!-- elsif/else close the current block and start a new one --> + <RegExpr attribute="Keyword" String="(\b|^\s*)(else|elsif|rescue|ensure)(\b|$)" context="#stay" endRegion="def block" beginRegion="def block"/> + + <StringDetect attribute="Operator" String="..." context="#stay"/> + <Detect2Chars attribute="Operator" char="." char1="." context="#stay"/> + + <!-- marks a message (being sent, not defined) --> + <RegExpr attribute="Message" String="\.[_a-z][_a-zA-Z0-9]*(\?|\!|\b)" context="check_div_2"/> + + <!-- Check for "ASCII code operator". e.g.: ?a --> + <RegExpr attribute="Dec" String="\s\?(\\M\-)?(\\C\-)?\\?\S" context="check_div_1"/> + + <keyword attribute="Keyword" String="keywords" context="#stay"/> + <keyword attribute="Attribute Definition" String="attribute-definitions" context="check_div_2"/> + <keyword attribute="Access Control" String="access-control" context="check_div_2"/> + <keyword attribute="Definition" String="definitions" context="#stay" /> + <keyword attribute="Pseudo variable" String="pseudo-variables" context="check_div_1"/> + <keyword attribute="Default globals" String="default-globals" context="check_div_2"/> + <keyword attribute="Kernel methods" String="kernel-methods" context="check_div_2"/> + + <!-- (global) vars starting with $ + Match them before $_. + --> + <RegExpr attribute="Global Variable" String="\$[a-zA-Z_0-9]+" context="check_div_1"/> + <RegExpr attribute="Global Variable" String="\$\-[a-zA-z_]\b" context="check_div_1"/> + <!-- special-character globals --> + <RegExpr attribute="Default globals" String="\$[\d_*`\!:?'/\\\-\&"]" context="check_div_1"/> + <RegExpr attribute="Global Constant" String="\b[_A-Z]+[A-Z_0-9]+\b" context="check_div_2"/> + <!-- Generally a module or class name like "File", "MyModule_1", .. --> + <RegExpr attribute="Constant" String="\b[A-Z]+_*([0-9]|[a-z])[_a-zA-Z0-9]*\b" context="check_div_2"/> + + <RegExpr attribute="Hex" String="\b\-?0[xX][_0-9a-fA-F]+" context="check_div_1"/> + <RegExpr attribute="Bin" String="\b\-?0[bB][_01]+" context="check_div_1"/> + <RegExpr attribute="Octal" String="\b\-?0[1-7][_0-7]*" context="check_div_1"/> + <RegExpr attribute="Float" String="\b\-?[0-9][0-9_]*\.[0-9][0-9_]*([eE]\-?[1-9][0-9]*(\.[0-9]*)?)?" context="check_div_1"/> + <RegExpr attribute="Dec" String="\b\-?[1-9][0-9_]*\b" context="check_div_1"/> + <Int attribute="Dec" context="check_div_1"/> + <HlCChar attribute="Char" context="check_div_1"/> + + <!-- Check for =begin before assignment operator. --> + <StringDetect attribute="Blockcomment" String="=begin" context="Embedded documentation" beginRegion="comment block" column="0"/> + + <!-- recognize the beginning of a HEREDOC + This uses new features in Kate 2.3 and later + + There is no other chance of keeping heredoc apart from the + push operator '<<' than requiring to put space between the operator + and the string. + --> + <RegExpr attribute="Operator" context="find_indented_heredoc" String="\s*<<-(?=\w+|["'])" beginRegion="HereDocument" /> + <RegExpr attribute="Operator" context="find_heredoc" String="\s*<<(?=\w+|["'])" beginRegion="HereDocument" /> + + <DetectChar attribute="Operator" char="." context="#stay"/> + <Detect2Chars attribute="Operator" char="&" char1="&" context="#stay"/> + <Detect2Chars attribute="Operator" char="|" char1="|" context="#stay"/> + <RegExpr attribute="Operator" String="\s[\?\:\%]\s" context="#stay"/> + <RegExpr attribute="Operator" String="[|&<>\^\+*~\-=]+" context="#stay"/> + <!-- regexp hack --> + <RegExpr attribute="Operator" String="\s!" context="#stay"/> + <RegExpr attribute="Operator" String="/=\s" context="#stay" insensitive="0"/> + <StringDetect attribute="Operator" String="%=" context="#stay" insensitive="0"/> + <Detect2Chars attribute="Operator" char=":" char1=":" context="Member Access"/> + + <RegExpr attribute="Symbol" String=":[a-zA-Z_][a-zA-Z0-9_]*" context="check_div_1"/> + + <DetectChar attribute="String" char=""" context="Quoted String"/> + <DetectChar attribute="Raw String" char="'" context="Apostrophed String"/> + <DetectChar attribute="Command" char="`" context="Command String"/> + + <StringDetect attribute="Normal Text" String="?#" context="#stay"/> + + <RegExpr attribute="Comment" String="#\s*BEGIN.*$" context="#stay" beginRegion="marker" column="0"/> + <RegExpr attribute="Comment" String="#\s*END.*$" context="#stay" endRegion="marker" column="0"/> + <DetectChar attribute="Comment" char="#" context="General Comment"/> + + <DetectChar attribute="Delimiter" char="[" context="#stay"/> + <DetectChar attribute="Delimiter" char="]" context="check_div_1"/> + <DetectChar attribute="Delimiter" char="{" context="#stay" beginRegion="def block"/> + <DetectChar attribute="Delimiter" char="}" context="check_div_1" endRegion="def block"/> + + <RegExpr attribute="Instance Variable" String="@[a-zA-Z_0-9]+" context="check_div_1"/> + <RegExpr attribute="Class Variable" String="@@[a-zA-Z_0-9]+" context="check_div_1"/> + + <!-- handle the different regular expression formats --> + <DetectChar attribute="Regular Expression" char="/" context="RegEx 1"/> + + <!-- recognize the beginning of a general delimited input format --> + <!-- this moves to the next context to separate out the exact nature of the GDL input --> + <RegExpr attribute="GDL input" context="find_gdl_input" String="\s*[%](?=[Qqxw]?[^\s])" beginRegion="GdlInput" /> + + <DetectChar attribute="Normal Text" char=")" context="check_div_1"/> + <DetectIdentifier attribute="Normal Text" context="check_div_2"/> + + </context> + + <!-- In the following contexts, a slash character ('/') is a division operator --> + <!-- Everywhere else, it's a regular expression delimiter --> + + <!-- A slash is always a division operator, even if preceeded by whitespace --> + <context name="check_div_1" attribute="Normal Text" fallthrough="true" fallthroughContext="#pop" lineEndContext="#pop"> + <RegExpr attribute="Normal Text" String="\s*" context="#stay"/> + <DetectChar attribute="Operator" char="/" context="#pop"/> + </context> + + <!-- Same as check_div_1, but with double pop to exit the surrounding context --> + <context name="check_div_1_pop" attribute="Normal Text" fallthrough="true" fallthroughContext="#pop#pop" lineEndContext="#pop#pop"> + <RegExpr attribute="Normal Text" String="\s*" context="#stay"/> + <DetectChar attribute="Operator" char="/" context="#pop#pop"/> + </context> + + <!-- A slash is division operator if it's the first character, or if preceeded and followed by whitespace --> + <context name="check_div_2" attribute="Normal Text" fallthrough="true" fallthroughContext="#pop" lineEndContext="#pop"> + <DetectChar attribute="Operator" char="/" context="#pop"/> + <RegExpr attribute="Normal Text" String="\s+" context="check_div_2_internal"/> + </context> + + <!-- Internal context used by check_div_2 --> + <context name="check_div_2_internal" attribute="Normal Text" fallthrough="true" fallthroughContext="#pop#pop" lineEndContext="#pop#pop"> + <RegExpr attribute="Operator" String="/(?=\s)" context="#pop#pop"/> + </context> + + <!-- Same as check_div_2, but with double pop to exit the surrounding context --> + <context name="check_div_2_pop" attribute="Normal Text" fallthrough="true" fallthroughContext="#pop#pop" lineEndContext="#pop#pop"> + <DetectChar attribute="Operator" char="/" context="#pop#pop"/> + <RegExpr attribute="Normal Text" String="\s+" context="check_div_2_pop_internal"/> + </context> + + <!-- Internal context used by check_div_2_pop --> + <context name="check_div_2_pop_internal" attribute="Normal Text" fallthrough="true" fallthroughContext="#pop#pop#pop" lineEndContext="#pop#pop#pop"> + <RegExpr attribute="Operator" String="/(?=\s)" context="#pop#pop#pop"/> + </context> + + <context name="Line Continue" attribute="Normal Text" lineEndContext="#pop"> + <RegExpr attribute="Keyword" String="(while|until)\b(?!.*\bdo\b)" context="#stay" firstNonSpace="true"/> + <RegExpr attribute="Keyword" String="(if|unless)\b" context="#stay" firstNonSpace="true"/> + <IncludeRules context="Normal"/> + </context> + + <context name="Find closing block brace" attribute="Normal Text" lineEndContext="#stay"> + <DetectChar attribute="Operator" char="}" context="check_div_1_pop" endRegion="def block"/> + <IncludeRules context="Normal"/> + </context> + + <context name="Quoted String" attribute="String" lineEndContext="#stay"> + <StringDetect attribute="String" String="\\" context="#stay"/> + <RegExpr attribute="String" String="\\\"" context="#stay"/> + <RegExpr attribute="Substitution" String="#@{1,2}" context="Short Subst"/> + <Detect2Chars attribute="Substitution" char="#" char1="{" context="Subst"/> + <!--HlCChar attribute="Char" context="#pop"/--> + <DetectChar char=""" attribute="String" context="check_div_1_pop"/> + </context> + + <context name="Apostrophed String" attribute="Raw String" lineEndContext="#stay"> + <!-- <HlCChar attribute="Char" context="#pop"/> --> + <StringDetect attribute="String" String="\\" context="#stay"/> + <RegExpr attribute="String" String="\\\'" context="#stay"/> + <DetectChar char="'" attribute="Raw String" context="check_div_1_pop"/> + </context> + + <context name="Command String" attribute="Command" lineEndContext="#stay"> + <StringDetect attribute="String" String="\\" context="#stay"/> + <RegExpr attribute="String" String="\\\`" context="#stay"/> + <RegExpr attribute="Substitution" String="#@{1,2}" context="Short Subst"/> + <Detect2Chars attribute="Substitution" char="#" char1="{" context="Subst"/> + <HlCChar attribute="Char" context="check_div_1_pop"/> + <DetectChar char="`" attribute="Command" context="check_div_1_pop"/> + </context> + + <context name="Embedded documentation" attribute="Comment" lineEndContext="#stay"> + <StringDetect attribute="Comment" String="=end" context="#pop" endRegion="comment block" column="0"/> + </context> + + <context name="RegEx 1" attribute="Regular Expression" lineEndContext="#stay"> + <RegExpr attribute="Regular Expression" String="\\\/" context="#stay"/> + <RegExpr attribute="Substitution" String="#@{1,2}" context="Short Subst"/> + <Detect2Chars attribute="Substitution" char="#" char1="{" context="Subst"/> + <RegExpr attribute="Regular Expression" String="/[uiomxn]*" context="check_div_1_pop"/> + </context> + + <!-- Substitutions can be nested --> + <context name="Subst" attribute="Normal Text" lineEndContext="#stay"> + <DetectChar attribute="Substitution" char="}" context="#pop"/> + <!-- Highlight substitution as code. --> + <IncludeRules context="Normal"/> + </context> + + <context name="Short Subst" attribute="Substitution" lineEndContext="#pop"> + <!-- Check for e.g.: "#@var#@@xy" --> + <RegExpr attribute="Substitution" String="#@{1,2}" context="#stay"/> + <RegExpr attribute="Substitution" String="\w(?!\w)" context="#pop"/> + </context> + + <!-- This handles access of nested module classes and class methods --> + <context name="Member Access" attribute="Member" lineEndContext="#pop"> + <!-- marks a message (being sent, not defined) --> + <RegExpr attribute="Message" String="\.?[_a-z]\w*(\?|\!)?(?=[^\w\d\.\:])" context="check_div_2_pop"/> + <RegExpr attribute="Message" String="\.?[_a-z]\w*(\?|\!)?" context="#stay"/> + <RegExpr attribute="Constant" String="[A-Z]+_*(\d|[a-z])\w*(?=[^\w\d\.\:])" context="check_div_2_pop"/> + <RegExpr attribute="Constant" String="[A-Z]+_*([0-9]|[a-z])\w*" context="#stay"/> + <RegExpr attribute="Constant Value" String="[_A-Z][_A-Z0-9]*(?=[^\w\d\.\:])" context="check_div_2_pop"/> + <RegExpr attribute="Constant Value" String="[_A-Z][_A-Z0-9]*" context="#stay"/> + <Detect2Chars attribute="Operator" char=":" char1=":" context="#stay"/> + <DetectChar attribute="Member" char="." context="#stay"/> + + <AnyChar attribute="Operator" String="=+-*/%|&[]{}~" context="#pop"/> + <DetectChar attribute="Comment" char="#" context="#pop"/> + <AnyChar attribute="Normal Text" String="()\" context="#pop"/> + <RegExpr attribute="Member" String="\W" context="#pop"/> + </context> + + <context name="Comment Line" attribute="Comment" lineEndContext="#pop"> + <RegExpr attribute="Comment" String="\w\:\:\s" context="RDoc Label"/> + <keyword attribute="Alert" String="attention" context="#stay"/> + </context> + + <context name="General Comment" attribute="Comment" lineEndContext="#pop"> + <keyword attribute="Dec" String="attention" context="#stay"/> + </context> + + <context name="RDoc Label" attribute="RDoc Value" lineEndContext="#pop"/> + + <!-- HEREDOC support + The contexts below support both normal and indented heredocs + --> + <!-- here we markup the heredoc markers --> + <context name="find_heredoc" attribute="Normal Text" lineEndContext="#pop" > + <RegExpr attribute="Keyword" context="apostrophed_normal_heredoc" String="'(\w+)'" /> + <RegExpr attribute="Keyword" context="normal_heredoc" String=""?(\w+)"?" /> + </context> + <context name="find_indented_heredoc" attribute="Normal Text" lineEndContext="#pop" > + <RegExpr attribute="Keyword" context="apostrophed_indented_heredoc" String="'(\w+)'" /> + <RegExpr attribute="Keyword" context="indented_heredoc" String=""?(\w+)"?" /> + </context> + <!-- these are the real heredoc contexts --> + <context name="indented_heredoc" attribute="Normal Text" lineEndContext="#stay" dynamic="true"> +<!-- <RegExpr attribute="Keyword" context="#pop#pop" String="^\s*%1$" dynamic="true" endRegion="HereDocument"/>--> + <RegExpr attribute="Keyword" context="#pop#pop" String="%1$" dynamic="true" endRegion="HereDocument" firstNonSpace="true"/> + <IncludeRules context="heredoc_rules" /> + </context> + <context name="apostrophed_indented_heredoc" attribute="Normal Text" lineEndContext="#stay" dynamic="true"> +<!-- <RegExpr attribute="Keyword" context="#pop#pop" String="^\s*%1$" dynamic="true" endRegion="HereDocument"/>--> + <RegExpr attribute="Keyword" context="#pop#pop" String="%1$" dynamic="true" endRegion="HereDocument" firstNonSpace="true"/> + </context> + + <context name="normal_heredoc" attribute="Normal Text" lineEndContext="#stay" dynamic="true"> +<!-- <RegExpr attribute="Keyword" context="#pop#pop" String="^%1$" dynamic="true" endRegion="HereDocument"/>--> + <RegExpr attribute="Keyword" context="#pop#pop" String="%1$" dynamic="true" endRegion="HereDocument" column="0"/> + <IncludeRules context="heredoc_rules" /> + </context> + <context name="apostrophed_normal_heredoc" attribute="Normal Text" lineEndContext="#stay" dynamic="true"> +<!-- <RegExpr attribute="Keyword" context="#pop#pop" String="^%1$" dynamic="true" endRegion="HereDocument"/>--> + <RegExpr attribute="Keyword" context="#pop#pop" String="%1$" dynamic="true" endRegion="HereDocument" column="0"/> + </context> + + <!-- rules for heredoc types --> + <context name="heredoc_rules" attribute="Normal Text" lineEndContext="#stay"> + <RegExpr attribute="Substitution" String="#@{1,2}" context="Short Subst"/> + <Detect2Chars attribute="Substitution" char="#" char1="{" context="Subst"/> + </context> + + <!-- General delimited input support + The contexts below handle the various gdl formats + --> + <context name="find_gdl_input" attribute="Normal Text" lineEndContext="#pop"> + + <!-- handle token arrays --> + <RegExpr attribute="GDL input" context="gdl_token_array_1" String="w\(" /> + <RegExpr attribute="GDL input" context="gdl_token_array_2" String="w\{" /> + <RegExpr attribute="GDL input" context="gdl_token_array_3" String="w\[" /> + <RegExpr attribute="GDL input" context="gdl_token_array_4" String="w<" /> + <!-- then we handle the 'any char' format --> + <RegExpr attribute="GDL input" context="gdl_token_array_5" String="w([^\s\w])" /> + + <!-- handle apostrophed strings --> + <RegExpr attribute="GDL input" context="gdl_apostrophed_1" String="q\(" /> + <RegExpr attribute="GDL input" context="gdl_apostrophed_2" String="q\{" /> + <RegExpr attribute="GDL input" context="gdl_apostrophed_3" String="q\[" /> + <RegExpr attribute="GDL input" context="gdl_apostrophed_4" String="q<" /> + <!-- then we handle the 'any char' format --> + <RegExpr attribute="GDL input" context="gdl_apostrophed_5" String="q([^\s\w])" /> + + <!-- handle shell commands --> + <RegExpr attribute="GDL input" context="gdl_shell_command_1" String="x\(" /> + <RegExpr attribute="GDL input" context="gdl_shell_command_2" String="x\{" /> + <RegExpr attribute="GDL input" context="gdl_shell_command_3" String="x\[" /> + <RegExpr attribute="GDL input" context="gdl_shell_command_4" String="x<" /> + <!-- then we handle the 'any char' format --> + <RegExpr attribute="GDL input" context="gdl_shell_command_5" String="x([^\s\w])" /> + + <!-- handle regular expressions --> + <RegExpr attribute="GDL input" context="gdl_regexpr_1" String="r\(" /> + <RegExpr attribute="GDL input" context="gdl_regexpr_2" String="r\{" /> + <RegExpr attribute="GDL input" context="gdl_regexpr_3" String="r\[" /> + <RegExpr attribute="GDL input" context="gdl_regexpr_4" String="r<" /> + <!-- then we handle the 'any char' format --> + <RegExpr attribute="GDL input" context="gdl_regexpr_5" String="r([^\s\w])" /> + + <!-- handle double-quoted strings --> + <!-- + be careful to make this the last GDL ruleset, because the rule for + the short form %?foo? will otherwise catch any of the other formats + --> + <RegExpr attribute="GDL input" context="gdl_dq_string_1" String="Q?\(" /> + <RegExpr attribute="GDL input" context="gdl_dq_string_2" String="Q?\{" /> + <RegExpr attribute="GDL input" context="gdl_dq_string_3" String="Q?\[" /> + <RegExpr attribute="GDL input" context="gdl_dq_string_4" String="Q?<" /> + <!-- then we handle the 'any char' format --> + <RegExpr attribute="GDL input" context="gdl_dq_string_5" String="Q?([^\s\w])" /> + + </context> + <!-- double-quoted string specific contexts follow --> + <context name="gdl_dq_string_1" attribute="String" lineEndContext="#stay" > + <IncludeRules context="dq_string_rules" /> + <Detect2Chars attribute="String" char="\" char1=")" context="#stay"/> + <DetectChar attribute="String" context="gdl_dq_string_1_nested" char="(" /> + <DetectChar attribute="GDL input" context="#pop#pop" char=")" endRegion="GdlInput" /> + </context> + <context name="gdl_dq_string_1_nested" attribute="String" lineEndContext="#stay" > + <IncludeRules context="dq_string_rules" /> + <DetectChar attribute="String" context="gdl_dq_string_1_nested" char="(" /> + <DetectChar attribute="String" context="#pop" char=")" /> + </context> + <!-- note that here substitution should win over nesting --> + <context name="gdl_dq_string_2" attribute="String" lineEndContext="#stay" > + <IncludeRules context="dq_string_rules" /> + <Detect2Chars attribute="String" char="\" char1="}" context="#stay"/> + <DetectChar attribute="GDL input" context="#pop#pop" char="}" endRegion="GdlInput" /> + <DetectChar attribute="String" context="gdl_dq_string_2_nested" char="{" /> + </context> + <context name="gdl_dq_string_2_nested" attribute="String" lineEndContext="#stay" > + <DetectChar attribute="String" context="gdl_dq_string_2_nested" char="{" /> + <DetectChar attribute="String" context="#pop" char="}" /> + <IncludeRules context="dq_string_rules" /> + </context> + + <context name="gdl_dq_string_3" attribute="String" lineEndContext="#stay" > + <IncludeRules context="dq_string_rules" /> + <Detect2Chars attribute="String" char="\" char1="]" context="#stay"/> + <DetectChar attribute="String" context="gdl_dq_string_3_nested" char="[" /> + <DetectChar attribute="GDL input" context="#pop#pop" char="]" endRegion="GdlInput" /> + </context> + <context name="gdl_dq_string_3_nested" attribute="String" lineEndContext="#stay" > + <DetectChar attribute="String" context="gdl_dq_string_3_nested" char="[" /> + <DetectChar attribute="String" context="#pop" char="]" /> + <IncludeRules context="dq_string_rules" /> + </context> + + <context name="gdl_dq_string_4" attribute="String" lineEndContext="#stay" > + <IncludeRules context="dq_string_rules" /> + <Detect2Chars attribute="String" char="\" char1=">" context="#stay"/> + <DetectChar attribute="String" context="gdl_dq_string_4_nested" char="<" /> + <DetectChar attribute="GDL input" context="#pop#pop" char=">" endRegion="GdlInput" /> + </context> + <context name="gdl_dq_string_4_nested" attribute="String" lineEndContext="#stay" > + <DetectChar attribute="String" context="gdl_dq_string_4_nested" char="<" /> + <DetectChar attribute="String" context="#pop" char=">" /> + <IncludeRules context="dq_string_rules" /> + </context> + + <!-- this format doesn't allow nesting. it is terminated by the next occurence of the + delimiter character + --> + <context name="gdl_dq_string_5" attribute="String" lineEndContext="#stay" dynamic="true"> + <IncludeRules context="dq_string_rules" /> + <RegExpr attribute="String" String="\\%1" context="#stay" dynamic="true" /> + <RegExpr attribute="GDL input" context="#pop#pop" String="\s*%1" dynamic="true" endRegion="GdlInput" /> + </context> + <!-- rules to be included in all dq_string contexts --> + <context name="dq_string_rules" attribute="String" lineEndContext="#stay" > + <Detect2Chars attribute="String" char="\" char1="\" context="#stay"/> + <RegExpr attribute="Substitution" String="#@{1,2}" context="Short Subst"/> + <Detect2Chars attribute="Substitution" char="#" char1="{" context="Subst"/> + </context> + + <!-- token array specific contexts --> + + <context name="gdl_token_array_1" attribute="String" lineEndContext="#stay" > + <IncludeRules context="token_array_rules" /> + <Detect2Chars attribute="String" char="\" char1=")" context="#stay"/> + <DetectChar attribute="String" context="gdl_token_array_1_nested" char="(" /> + <DetectChar attribute="GDL input" context="#pop#pop" char=")" endRegion="GdlInput" /> + </context> + <context name="gdl_token_array_1_nested" attribute="String" lineEndContext="#stay" > + <IncludeRules context="token_array_rules" /> + <DetectChar attribute="String" context="gdl_token_array_1_nested" char="(" /> + <DetectChar attribute="String" context="#pop" char=")" /> + </context> + + <context name="gdl_token_array_2" attribute="String" lineEndContext="#stay" > + <IncludeRules context="token_array_rules" /> + <Detect2Chars attribute="String" char="\" char1="}" context="#stay"/> + <DetectChar attribute="GDL input" context="#pop#pop" char="}" endRegion="GdlInput" /> + <DetectChar attribute="String" context="gdl_token_array_2_nested" char="{" /> + </context> + <context name="gdl_token_array_2_nested" attribute="String" lineEndContext="#stay" > + <IncludeRules context="token_array_rules" /> + <DetectChar attribute="String" context="gdl_token_array_2_nested" char="{" /> + <DetectChar attribute="String" context="#pop" char="}" /> + </context> + + <context name="gdl_token_array_3" attribute="String" lineEndContext="#stay" > + <IncludeRules context="token_array_rules" /> + <Detect2Chars attribute="String" char="\" char1="]" context="#stay"/> + <DetectChar attribute="String" context="gdl_token_array_3_nested" char="[" /> + <DetectChar attribute="GDL input" context="#pop#pop" char="]" endRegion="GdlInput" /> + </context> + <context name="gdl_token_array_3_nested" attribute="String" lineEndContext="#stay" > + <IncludeRules context="token_array_rules" /> + <DetectChar attribute="String" context="gdl_token_array_3_nested" char="[" /> + <DetectChar attribute="String" context="#pop" char="]" /> + </context> + + <context name="gdl_token_array_4" attribute="String" lineEndContext="#stay" > + <IncludeRules context="token_array_rules" /> + <Detect2Chars attribute="String" char="\" char1=">" context="#stay"/> + <DetectChar attribute="String" context="gdl_token_array_4_nested" char="<" /> + <DetectChar attribute="GDL input" context="#pop#pop" char=">" endRegion="GdlInput" /> + </context> + <context name="gdl_token_array_4_nested" attribute="String" lineEndContext="#stay" > + <IncludeRules context="token_array_rules" /> + <DetectChar attribute="String" context="gdl_token_array_4_nested" char="<" /> + <DetectChar attribute="String" context="#pop" char=">" /> + </context> + + <!-- this format doesn't allow nesting. it is terminated by the next occurence of the + delimiter character + --> + <context name="gdl_token_array_5" attribute="String" lineEndContext="#stay" dynamic="true"> + <IncludeRules context="token_array_rules" /> + <RegExpr attribute="String" String="\\%1" context="#stay" dynamic="true"/> + <RegExpr attribute="GDL input" context="#pop#pop" String="\s*%1" dynamic="true" endRegion="GdlInput" /> + </context> + + <!-- rules to be included in all token_array contexts --> + <context name="token_array_rules" attribute="String" lineEndContext="#stay" > + <StringDetect attribute="String" String="\\" context="#stay"/> + </context> + + <!-- apostrophed string specific contexts --> + + <context name="gdl_apostrophed_1" attribute="Raw String" lineEndContext="#stay" > + <IncludeRules context="apostrophed_rules" /> + <Detect2Chars attribute="Raw String" char="\" char1=")" context="#stay"/> + <DetectChar attribute="Raw String" context="gdl_apostrophed_1_nested" char="(" /> + <DetectChar attribute="GDL input" context="#pop#pop" char=")" endRegion="GdlInput" /> + </context> + <context name="gdl_apostrophed_1_nested" attribute="Raw String" lineEndContext="#stay" > + <IncludeRules context="apostrophed_rules" /> + <DetectChar attribute="Raw String" context="gdl_apostrophed_1_nested" char="(" /> + <DetectChar attribute="Raw String" context="#pop" char=")" /> + </context> + + <context name="gdl_apostrophed_2" attribute="Raw String" lineEndContext="#stay" > + <IncludeRules context="apostrophed_rules" /> + <Detect2Chars attribute="Raw String" char="\" char1="}" context="#stay"/> + <DetectChar attribute="GDL input" context="#pop#pop" char="}" endRegion="GdlInput" /> + <DetectChar attribute="Raw String" context="gdl_apostrophed_2_nested" char="{" /> + </context> + <context name="gdl_apostrophed_2_nested" attribute="Raw String" lineEndContext="#stay" > + <IncludeRules context="apostrophed_rules" /> + <DetectChar attribute="Raw String" context="gdl_apostrophed_2_nested" char="{" /> + <DetectChar attribute="Raw String" context="#pop" char="}" /> + </context> + + <context name="gdl_apostrophed_3" attribute="Raw String" lineEndContext="#stay" > + <IncludeRules context="apostrophed_rules" /> + <Detect2Chars attribute="Raw String" char="\" char1="]" context="#stay"/> + <DetectChar attribute="Raw String" context="gdl_apostrophed_3_nested" char="[" /> + <DetectChar attribute="GDL input" context="#pop#pop" char="]" endRegion="GdlInput" /> + </context> + <context name="gdl_apostrophed_3_nested" attribute="Raw String" lineEndContext="#stay" > + <IncludeRules context="apostrophed_rules" /> + <DetectChar attribute="Raw String" context="gdl_apostrophed_3_nested" char="[" /> + <DetectChar attribute="Raw String" context="#pop" char="]" /> + </context> + + <context name="gdl_apostrophed_4" attribute="Raw String" lineEndContext="#stay" > + <IncludeRules context="apostrophed_rules" /> + <Detect2Chars attribute="Raw String" char="\" char1=">" context="#stay"/> + <DetectChar attribute="Raw String" context="gdl_apostrophed_4_nested" char="<" /> + <DetectChar attribute="GDL input" context="#pop#pop" char=">" endRegion="GdlInput" /> + </context> + <context name="gdl_apostrophed_4_nested" attribute="Raw String" lineEndContext="#stay" > + <IncludeRules context="apostrophed_rules" /> + <DetectChar attribute="Raw String" context="gdl_apostrophed_4_nested" char="<" /> + <DetectChar attribute="Raw String" context="#pop" char=">" /> + </context> + + <!-- this format doesn't allow nesting. it is terminated by the next occurence of the + delimiter character + --> + <context name="gdl_apostrophed_5" attribute="Raw String" lineEndContext="#stay" dynamic="true"> + <IncludeRules context="apostrophed_rules" /> + <RegExpr attribute="Raw String" String="\\%1" context="#stay" dynamic="true"/> + <RegExpr attribute="GDL input" context="#pop#pop" String="\s*%1" dynamic="true" endRegion="GdlInput" /> + </context> + + <!-- rules to be included in all apostrophed contexts --> + <context name="apostrophed_rules" attribute="Raw String" lineEndContext="#stay" > + <Detect2Chars attribute="Raw String" char="\" char1="\" context="#stay"/> + </context> + + <!-- shell command specific contexts --> + + <context name="gdl_shell_command_1" attribute="Command" lineEndContext="#stay" > + <IncludeRules context="shell_command_rules" /> + <Detect2Chars attribute="Command" char="\" char1=")" context="#stay"/> + <DetectChar attribute="Command" context="gdl_shell_command_1_nested" char="(" /> + <DetectChar attribute="GDL input" context="#pop#pop" char=")" endRegion="GdlInput" /> + </context> + <context name="gdl_shell_command_1_nested" attribute="Command" lineEndContext="#stay" > + <IncludeRules context="shell_command_rules" /> + <DetectChar attribute="Command" context="gdl_shell_command_1_nested" char="(" /> + <DetectChar attribute="Command" context="#pop" char=")" /> + </context> + + <context name="gdl_shell_command_2" attribute="Command" lineEndContext="#stay" > + <IncludeRules context="shell_command_rules" /> + <Detect2Chars attribute="Command" char="\" char1="}" context="#stay"/> + <DetectChar attribute="GDL input" context="#pop#pop" char="}" endRegion="GdlInput" /> + <DetectChar attribute="Command" context="gdl_shell_command_2_nested" char="{" /> + </context> + <context name="gdl_shell_command_2_nested" attribute="Command" lineEndContext="#stay" > + <IncludeRules context="shell_command_rules" /> + <DetectChar attribute="Command" context="gdl_shell_command_2_nested" char="{" /> + <DetectChar attribute="Command" context="#pop" char="}" /> + </context> + + <context name="gdl_shell_command_3" attribute="Command" lineEndContext="#stay" > + <IncludeRules context="shell_command_rules" /> + <Detect2Chars attribute="Command" char="\" char1="]" context="#stay"/> + <DetectChar attribute="Command" context="gdl_shell_command_3_nested" char="[" /> + <DetectChar attribute="GDL input" context="#pop#pop" char="]" endRegion="GdlInput" /> + </context> + <context name="gdl_shell_command_3_nested" attribute="Command" lineEndContext="#stay" > + <IncludeRules context="shell_command_rules" /> + <DetectChar attribute="Command" context="gdl_shell_command_3_nested" char="[" /> + <DetectChar attribute="Command" context="#pop" char="]" /> + </context> + + <context name="gdl_shell_command_4" attribute="Command" lineEndContext="#stay" > + <IncludeRules context="shell_command_rules" /> + <Detect2Chars attribute="Command" char="\" char1=">" context="#stay"/> + <DetectChar attribute="Command" context="gdl_shell_command_4_nested" char="<" /> + <DetectChar attribute="GDL input" context="#pop#pop" char=">" endRegion="GdlInput" /> + </context> + <context name="gdl_shell_command_4_nested" attribute="Command" lineEndContext="#stay" > + <IncludeRules context="shell_command_rules" /> + <DetectChar attribute="Command" context="gdl_shell_command_4_nested" char="<" /> + <DetectChar attribute="Command" context="#pop" char=">" /> + </context> + + <!-- this format doesn't allow nesting. it is terminated by the next occurence of the + delimiter character + --> + <context name="gdl_shell_command_5" attribute="Command" lineEndContext="#stay" dynamic="true"> + <IncludeRules context="shell_command_rules" /> + <RegExpr attribute="Command" String="\\%1" context="#stay" dynamic="true" /> + <RegExpr attribute="GDL input" context="#pop#pop" String="\s*%1" dynamic="true" endRegion="GdlInput" /> + </context> + + <!-- rules to be included in all shell_command contexts --> + <context name="shell_command_rules" attribute="Command" lineEndContext="#stay" > + <Detect2Chars attribute="Command" char="\" char1="\" context="#stay"/> + <RegExpr attribute="Substitution" String="#@{1,2}" context="Short Subst"/> + <Detect2Chars attribute="Substitution" char="#" char1="{" context="Subst"/> + </context> + + <!-- regular expression specific contexts --> + + <context name="gdl_regexpr_1" attribute="Regular Expression" lineEndContext="#stay" > + <IncludeRules context="regexpr_rules" /> + <Detect2Chars attribute="Regular Expression" char="\" char1=")" context="#stay"/> + <DetectChar attribute="Regular Expression" context="gdl_regexpr_1_nested" char="(" /> + <RegExpr attribute="GDL input" context="#pop#pop" String="\)[uiomxn]*" endRegion="GdlInput" /> + </context> + <context name="gdl_regexpr_1_nested" attribute="Regular Expression" lineEndContext="#stay" > + <IncludeRules context="regexpr_rules" /> + <DetectChar attribute="Regular Expression" context="gdl_regexpr_1_nested" char="(" /> + <DetectChar attribute="Regular Expression" context="#pop" char=")" /> + </context> + + <context name="gdl_regexpr_2" attribute="Regular Expression" lineEndContext="#stay" > + <IncludeRules context="regexpr_rules" /> + <Detect2Chars attribute="Regular Expression" char="\" char1="}" context="#stay"/> + <RegExpr attribute="GDL input" context="#pop#pop" String="\}[uiomxn]*" endRegion="GdlInput" /> + <DetectChar attribute="Regular Expression" context="gdl_regexpr_2_nested" char="{" /> + </context> + <context name="gdl_regexpr_2_nested" attribute="Regular Expression" lineEndContext="#stay" > + <IncludeRules context="regexpr_rules" /> + <DetectChar attribute="Regular Expression" context="gdl_regexpr_2_nested" char="{" /> + <DetectChar attribute="Regular Expression" context="#pop" char="}" /> + </context> + + <context name="gdl_regexpr_3" attribute="Regular Expression" lineEndContext="#stay" > + <IncludeRules context="regexpr_rules" /> + <Detect2Chars attribute="Regular Expression" char="\" char1="]" context="#stay"/> + <DetectChar attribute="Regular Expression" context="gdl_regexpr_3_nested" char="[" /> + <RegExpr attribute="GDL input" context="#pop#pop" String="\][uiomxn]*" endRegion="GdlInput" /> + </context> + <context name="gdl_regexpr_3_nested" attribute="Regular Expression" lineEndContext="#stay" > + <IncludeRules context="regexpr_rules" /> + <DetectChar attribute="Regular Expression" context="gdl_regexpr_3_nested" char="[" /> + <DetectChar attribute="Regular Expression" context="#pop" char="]" /> + </context> + + <context name="gdl_regexpr_4" attribute="Regular Expression" lineEndContext="#stay" > + <IncludeRules context="regexpr_rules" /> + <Detect2Chars attribute="Regular Expression" char="\" char1=">" context="#stay"/> + <DetectChar attribute="Regular Expression" context="gdl_regexpr_4_nested" char="<" /> + <RegExpr attribute="GDL input" context="#pop#pop" String=">[uiomxn]*" endRegion="GdlInput" /> + </context> + <context name="gdl_regexpr_4_nested" attribute="Regular Expression" lineEndContext="#stay" > + <IncludeRules context="regexpr_rules" /> + <DetectChar attribute="Regular Expression" context="gdl_regexpr_4_nested" char="<" /> + <DetectChar attribute="Regular Expression" context="#pop" char=">" /> + </context> + + <!-- this format doesn't allow nesting. it is terminated by the next occurence of the + delimiter character + --> + <context name="gdl_regexpr_5" attribute="Regular Expression" lineEndContext="#stay" dynamic="true"> + <IncludeRules context="regexpr_rules" /> + <RegExpr attribute="Regular Expression" String="\\%1" context="#stay" dynamic="true" /> + <RegExpr attribute="GDL input" context="#pop#pop" String="\s*%1[uiomxn]*" dynamic="true" endRegion="GdlInput" /> + </context> + + <!-- rules to be included in all regexpr contexts --> + <context name="regexpr_rules" attribute="Regular Expression" lineEndContext="#stay" > + <Detect2Chars attribute="Regular Expression" char="\" char1="\" context="#stay"/> + <RegExpr attribute="Substitution" String="#@{1,2}" context="Short Subst"/> + <Detect2Chars attribute="Substitution" char="#" char1="{" context="Subst"/> + </context> + + <!-- END of General delimited input support --> + + <!-- handle data in script --> + <context name="DATA" attribute="Data" lineEndContext="#stay"/> + </contexts> + + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + + <itemData name="Keyword" defStyleNum="dsKeyword"/> + <itemData name="Attribute Definition" defStyleNum="dsOthers"/> + <itemData name="Access Control" defStyleNum="dsKeyword" color="#0000FF"/> + <itemData name="Definition" defStyleNum="dsKeyword"/> + <itemData name="Pseudo variable" defStyleNum="dsDecVal"/> + + <itemData name="Dec" defStyleNum="dsDecVal"/> + <itemData name="Float" defStyleNum="dsFloat"/> + <itemData name="Char" defStyleNum="dsChar"/> + <itemData name="Octal" defStyleNum="dsBaseN"/> + <itemData name="Hex" defStyleNum="dsBaseN"/> + <itemData name="Bin" defStyleNum="dsBaseN"/> + + <itemData name="Symbol" defStyleNum="dsString" color="#D40000"/> + <itemData name="String" defStyleNum="dsString"/> + <itemData name="Raw String" defStyleNum="dsString" color="#DD4A4A" selColor="#DD4A4A"/> + <itemData name="Command" defStyleNum="dsString" color="#AA3000"/> + <itemData name="Message" defStyleNum="dsNormal" color="#4000A7"/> <!-- #4A00C0 --> + <itemData name="Regular Expression" defStyleNum="dsOthers" color="#4A5704"/> + <itemData name="Substitution" defStyleNum="dsOthers"/> + <itemData name="Data" defStyleNum="dsNormal"/> + <!-- short for 'general delimited input' --> + <itemData name="GDL input" defStyleNum="dsOthers" /> + + <itemData name="Default globals" defStyleNum="dsDataType" color="#C00000" bold="1"/> + <itemData name="Global Variable" defStyleNum="dsDataType" color="#C00000"/> + <itemData name="Global Constant" defStyleNum="dsDataType" color="#bb1188" bold="1"/> + <itemData name="Constant" defStyleNum="dsDataType"/> + <itemData name="Constant Value" defStyleNum="dsDataType" color="#bb1188"/> + <itemData name="Kernel methods" defStyleNum="dsNormal" color="#000080" selColor="#ffffff"/> <!-- #CC0E86 --> + <itemData name="Member" defStyleNum="dsNormal"/> + <itemData name="Instance Variable" defStyleNum="dsOthers"/> + <itemData name="Class Variable" defStyleNum="dsOthers"/> + + <itemData name="Comment" defStyleNum="dsComment"/> + <itemData name="Blockcomment" defStyleNum="dsComment"/> + <itemData name="Region Marker" defStyleNum="dsNormal" color="#0000ff"/> + <itemData name="RDoc Value" defStyleNum="dsOthers"/> + + <!-- use these to mark errors and alerts things --> + <itemData name="Error" defStyleNum="dsError" /> + <itemData name="Alert" defStyleNum="dsAlert" /> + + <itemData name="Delimiter" defStyleNum="dsChar"/> + <itemData name="Expression" defStyleNum="dsOthers"/> + <itemData name="Operator" defStyleNum="dsChar"/> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="singleLine" start="#"/> + </comments> + <keywords casesensitive="1" weakDeliminator="!?"/> + </general> +</language> diff --git a/kate/data/sather.xml b/kate/data/sather.xml new file mode 100644 index 000000000..472ca8788 --- /dev/null +++ b/kate/data/sather.xml @@ -0,0 +1,141 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="Sather" version="1.03" kateversion="2.1" section="Sources" extensions="*.sa" mimetype="text/x-sather-src" casesensitive="1"> + <highlighting> + <list name="keywords"> + <item> and </item> + <item> assert </item> + <item> attr </item> + <item> break! </item> + <item> case </item> + <item> class </item> + <item> const </item> + <item> else </item> + <item> elsif </item> + <item> end </item> + <item> exception </item> + <item> external </item> + <item> false </item> + <item> if </item> + <item> include </item> + <item> initial </item> + <item> is </item> + <item> ITER </item> + <item> loop </item> + <item> new </item> + <item> or </item> + <item> post </item> + <item> pre </item> + <item> private </item> + <item> protect </item> + <item> quit </item> + <item> raise </item> + <item> readonly </item> + <item> result </item> + <item> return </item> + <item> ROUT </item> + <item> SAME </item> + <item> self </item> + <item> shared </item> + <item> then </item> + <item> true </item> + <item> typecase </item> + <item> type </item> + <item> until! </item> + <item> value </item> + <item> void </item> + <item> when </item> + <item> while! </item> + <item> yield </item> + <item> abstract </item> + <item> any </item> + <item> bind </item> + <item> fork </item> + <item> guard </item> + <item> immutable </item> + <item> inout </item> + <item> in </item> + <item> lock </item> + <item> once </item> + <item> out </item> + <item> parloop </item> + <item> partial </item> + <item> par </item> + <item> spread </item> + <item> stub </item> + </list> + <list name="types"> + <item> $OB </item> + <item> ARRAY </item> + <item> AREF </item> + <item> AVAL </item> + <item> BOOL </item> + <item> CHAR </item> + <item> EXT_OB </item> + <item> FLTDX </item> + <item> FLTD </item> + <item> FLTX </item> + <item> FLTI </item> + <item> FLT </item> + <item> INTI </item> + <item> INT </item> + <item> $REHASH </item> + <item> STR </item> + <item> SYS </item> + </list> + <list name="features"> + <item> create </item> + <item> invariant </item> + <item> main </item> + <item> aget </item> + <item> aset </item> + <item> div </item> + <item> is_eq </item> + <item> is_geq </item> + <item> is_gt </item> + <item> is_leq </item> + <item> is_lt </item> + <item> is_neq </item> + <item> minus </item> + <item> mod </item> + <item> negate </item> + <item> not </item> + <item> plus </item> + <item> pow </item> + <item> times </item> + </list> + <contexts> + <context attribute="Normal Text" lineEndContext="#stay" name="Normal"> + <keyword attribute="Keyword" context="#stay" String="keywords"/> + <keyword attribute="Data Type" context="#stay" String="types"/> + <keyword attribute="Features" context="#stay" String="features"/> + <Float attribute="Float" context="#stay"/> + <Int attribute="Decimal" context="#stay"/> + <RegExpr attribute="Char" context="#stay" String="'.'"/> + <DetectChar attribute="String" context="String" char="""/> + <Detect2Chars attribute="Comment" context="Comment" char="-" char1="-"/> + </context> + <context attribute="String" lineEndContext="#stay" name="String"> + <DetectChar attribute="String" context="#pop" char="""/> + </context> + <context attribute="Comment" lineEndContext="#pop" name="Comment"/> + </contexts> + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal" /> + <itemData name="Keyword" defStyleNum="dsKeyword" /> + <itemData name="Data Type" defStyleNum="dsDataType"/> + <itemData name="Features" defStyleNum="dsOthers" /> + <itemData name="Decimal" defStyleNum="dsDecVal" /> + <itemData name="Float" defStyleNum="dsFloat" /> + <itemData name="Char" defStyleNum="dsChar" /> + <itemData name="String" defStyleNum="dsString" /> + <itemData name="Comment" defStyleNum="dsComment" /> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="singleLine" start="--" /> + </comments> + <keywords casesensitive="1" weakDeliminator="$!"/> + </general> +</language> diff --git a/kate/data/scheme.xml b/kate/data/scheme.xml new file mode 100644 index 000000000..027989b90 --- /dev/null +++ b/kate/data/scheme.xml @@ -0,0 +1,436 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<!-- + This file is part of KDE's kate project. + + copyright : (C) 2004-2005 by Dominik Haumann + email : dhdev at gmx dot de + + + copyright : (C) 2004 by Goffart Olivier + email : ogoffart @ kde.org + (brackets coloration) + + + ********************************************************************** + * 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. * + ********************************************************************** + NOTE: + This file defines highlighting rules for both Scheme AND Guile. + Scheme usually has no block comments. Guile has block comments: #! !# + I support these block comments: "Good design means good compromises" :) + Singleline comments are introduced through ';'. In reality EVERY + scheme/guile developer use ';;'. It is indented in emacs in a special way. + That's why I set <comment singleLine=";;">. + + As a guile guru tole me it would not make sense to highlight all scheme and + 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.12" kateversion="2.4" name="Scheme" section="Scripts" extensions="*.scm;*.ss;*.scheme;*.guile" mimetype="text/x-scheme" author="Dominik Haumann (dhdev@gmx.de)" license="LGPL"> + <highlighting> + <list name="operators"> + <item> <= </item> + <item> < </item> + <item> = </item> + <item> => </item> + <item> >= </item> + <item> > </item> + <item> - </item> + <item> / </item> + <item> *,* </item> + <item> *) </item> + <item> + </item> + </list> + <list name="characters"> + <item> #\nul </item> + <item> #\soh </item> + <item> #\stx </item> + <item> #\etx </item> + <item> #\eot </item> + <item> #\enq </item> + <item> #\ack </item> + <item> #\bel </item> + <item> #\bs </item> + <item> #\ht </item> + <item> #\nl </item> + <item> #\vt </item> + <item> #\np </item> + <item> #\cr </item> + <item> #\so </item> + <item> #\si </item> + <item> #\dle </item> + <item> #\dc1 </item> + <item> #\dc2 </item> + <item> #\dc3 </item> + <item> #\dc4 </item> + <item> #\nak </item> + <item> #\syn </item> + <item> #\etb </item> + <item> #\can </item> + <item> #\em </item> + <item> #\sub </item> + <item> #\esc </item> + <item> #\fs </item> + <item> #\gs </item> + <item> #\rs </item> + <item> #\us </item> + <item> #\space </item> + <item> #\sp </item> + <item> #\newline </item> + <item> #\nl </item> + <item> #\tab </item> + <item> #\ht </item> + <item> #\backspace </item> + <item> #\bs </item> + <item> #\return </item> + <item> #\cr </item> + <item> #\page </item> + <item> #\np </item> + <item> #\null </item> + <item> #\nul </item> + </list> + <list name="defines"> + <item> define </item> + <item> define* </item> + <item> define-accessor </item> + <item> define-class </item> + <item> defined? </item> + <item> define-generic </item> + <item> define-macro </item> + <item> define-method </item> + <item> define-module </item> + <item> define-private </item> + <item> define-public </item> + <item> define*-public </item> + <item> define-reader-ctor </item> + <item> define-syntax </item> + <item> define-syntax-macro </item> + <item> defmacro </item> + <item> defmacro* </item> + <item> defmacro*-public </item> + </list> + <list name="keywords"> + <item> abs </item> + <item> acos </item> + <item> and </item> + <item> angle </item> + <item> append </item> + <item> applymap </item> + <item> asin </item> + <item> assoc </item> + <item> assq </item> + <item> assv </item> + <item> atan </item> + <item> begin </item> + <item> boolean? </item> + <item> break </item> + <item> caaaar </item> + <item> caaadr </item> + <item> caaar </item> + <item> caadar </item> + <item> caaddr </item> + <item> caadr </item> + <item> caar </item> + <item> cadaar </item> + <item> cadadr </item> + <item> cadar </item> + <item> caddar </item> + <item> cadddr </item> + <item> caddr </item> + <item> cadr </item> + <item> call/cc </item> + <item> call-with-current-continuation </item> + <item> call-with-input-file </item> + <item> call-with-output-file </item> + <item> call-with-values </item> + <item> car </item> + <item> case </item> + <item> catch </item> + <item> cdaaar </item> + <item> cdaadr </item> + <item> cdaar </item> + <item> cdadar </item> + <item> cdaddr </item> + <item> cdadr </item> + <item> cdar </item> + <item> cddaar </item> + <item> cddadr </item> + <item> cddar </item> + <item> cdddar </item> + <item> cddddr </item> + <item> cdddr </item> + <item> cddr </item> + <item> cdr </item> + <item> ceiling </item> + <item> char-alphabetic? </item> + <item> char-ci>=? </item> + <item> char-ci>? </item> + <item> char-ci=? </item> + <item> char-ci<=? </item> + <item> char-downcase </item> + <item> char->integer </item> + <item> char>=? </item> + <item> char>? </item> + <item> char=? </item> + <item> char? </item> + <item> char-lower-case? </item> + <item> char<?c </item> + <item> char<=? </item> + <item> char-numeric? </item> + <item> char-ready? </item> + <item> char-upcase </item> + <item> char-upper-case? </item> + <item> char-whitespace? </item> + <item> close-input-port </item> + <item> close-output-port </item> + <item> complex? </item> + <item> cond </item> + <item> cons </item> + <item> continue </item> + <item> cos </item> + <item> current-input-port </item> + <item> current-output-port </item> + <item> denominator </item> + <item> display </item> + <item> do </item> + <item> dynamic-wind </item> + <item> else </item> + <item> eof-object? </item> + <item> eq? </item> + <item> equal? </item> + <item> eqv? </item> + <item> eval </item> + <item> even? </item> + <item> exact->inexact </item> + <item> exact? </item> + <item> exp </item> + <item> expt </item> + <item> floor </item> + <item> force </item> + <item> for-each </item> + <item> gcd </item> + <item> har-ci<? </item> + <item> if </item> + <item> imag-part </item> + <item> inexact->exact </item> + <item> inexact? </item> + <item> input-port? </item> + <item> integer->char </item> + <item> integer? </item> + <item> interaction-environment </item> + <item> lambda </item> + <item> lcm </item> + <item> length </item> + <item> let </item> + <item> let* </item> + <item> letrec </item> + <item> letrec-syntax </item> + <item> let-syntax </item> + <item> list->string </item> + <item> list </item> + <item> list? </item> + <item> list-ref </item> + <item> list-tail </item> + <item> load </item> + <item> log </item> + <item> magnitude </item> + <item> make-polar </item> + <item> make-rectangular </item> + <item> make-string </item> + <item> make-vector </item> + <item> max </item> + <item> member </item> + <item> memq </item> + <item> memv </item> + <item> min </item> + <item> modulo </item> + <item> negative? </item> + <item> newline </item> + <item> not </item> + <item> null-environment </item> + <item> null? </item> + <item> number? </item> + <item> number->string </item> + <item> numerator </item> + <item> odd? </item> + <item> open-input-file </item> + <item> open-output-file </item> + <item> or </item> + <item> output-port? </item> + <item> pair? </item> + <item> peek-char </item> + <item> port? </item> + <item> positive? </item> + <item> procedure? </item> + <item> quotient </item> + <item> rational? </item> + <item> rationalize </item> + <item> read-char </item> + <item> read </item> + <item> real? </item> + <item> real-part </item> + <item> remainder </item> + <item> reverse </item> + <item> round </item> + <item> scheme-report-environment </item> + <item> set-car! </item> + <item> set-cdr! </item> + <item> sin </item> + <item> sqrt </item> + <item> string-append </item> + <item> string-ci>=? </item> + <item> string-ci>? </item> + <item> string-ci=? </item> + <item> string-ci<=? </item> + <item> string-ci<? </item> + <item> string-copy </item> + <item> string-fill! </item> + <item> string>=? </item> + <item> string>? </item> + <item> string->list </item> + <item> string->number </item> + <item> string->symbol </item> + <item> string=? </item> + <item> string </item> + <item> string? </item> + <item> string-length </item> + <item> string<=? </item> + <item> string<? </item> + <item> string-ref </item> + <item> string-set! </item> + <item> substring </item> + <item> symbol->string </item> + <item> symbol? </item> + <item> syntax-rules </item> + <item> tan </item> + <item> transcript-off </item> + <item> transcript-on </item> + <item> truncate </item> + <item> values </item> + <item> vector-fill! </item> + <item> vector->listlist->vector </item> + <item> vector </item> + <item> vector? </item> + <item> vector-length </item> + <item> vector-ref </item> + <item> vector-set! </item> + <item> while </item> + <item> with-input-from-file </item> + <item> with-output-to-file </item> + <item> write-char </item> + <item> write </item> + <item> zero? </item> + </list> + <contexts> + <context name="Level0" attribute="Normal" lineEndContext="#stay"> + <DetectChar attribute="Brackets1" context="Level1" char="("/> + <IncludeRules context="Default" /> + </context> + <context name="Default" attribute="Normal" lineEndContext="#stay"> + <RegExpr attribute="Region Marker" context="#stay" String=";+\s*BEGIN.*$" beginRegion="region"/> + <RegExpr attribute="Region Marker" context="#stay" String=";+\s*END.*$" endRegion="region"/> + <RegExpr attribute="Comment" context="#stay" String=";.*$"/> + <Detect2Chars attribute="Comment" context="MultiLineComment" char="#" char1="!" beginRegion="region"/> + <keyword attribute="Keyword" context="#stay" String="keywords"/> + <keyword attribute="Operator" context="#stay" String="operators"/> + <keyword attribute="Definition" context="function_decl" String="defines"/> + <keyword attribute="Char" context="#stay" String="characters"/> + <RegExpr attribute="Char" context="#stay" String="#\\."/> + <DetectChar attribute="String" context="String" char="""/> + <RegExpr attribute="Char" context="SpecialNumber" String="#[bodxei]"/> + <RegExpr attribute="Decimal" context="#stay" String="#[tf]"/> + <Float attribute="Float" context="#stay"/> + <Int attribute="Decimal" context="#stay"/> + <DetectChar attribute="Brackets1" context="Level1" char="("/> + </context> + <context name="MultiLineComment" attribute="Comment" lineEndContext="#stay"> + <RegExpr attribute="Comment" context="#pop" String="!#\s*$" endRegion="region" column="0"/> + </context> + <context name="SpecialNumber" attribute="Normal" fallthrough="true" lineEndContext="#pop"> + <RegExpr attribute="Decimal" context="#pop" String="\d*(\.\d+)?"/> + </context> + <context name="String" attribute="String" lineEndContext="#stay"> + <keyword attribute="Char" context="#stay" String="characters"/> + <RegExpr attribute="Char" context="#stay" String="#\\."/> + <Detect2Chars attribute="Char" context="#stay" char="\" char1="""/> + <Detect2Chars attribute="Char" context="#stay" char="\" char1="\"/> + <DetectChar attribute="String" context="#pop" char="""/> + </context> + <context name="function_decl" attribute="Function" lineEndContext="#stay"> + <RegExpr attribute="Function" context="#pop" String="\s*[A-Za-z0-9-+\<\>//\*]*\s*" /> + </context> + <context name="Level1" attribute="Normal" lineEndContext="#stay"> + <DetectChar attribute="Brackets2" context="Level2" char="("/> + <DetectChar attribute="Brackets1" context="#pop" char=")" /> + <IncludeRules context="Default" /> + </context> + <context name="Level2" attribute="Normal" lineEndContext="#stay"> + <DetectChar attribute="Brackets3" context="Level3" char="("/> + <DetectChar attribute="Brackets2" context="#pop" char=")" /> + <IncludeRules context="Default" /> + </context> + <context name="Level3" attribute="Normal" lineEndContext="#stay"> + <DetectChar attribute="Brackets4" context="Level4" char="("/> + <DetectChar attribute="Brackets3" context="#pop" char=")" /> + <IncludeRules context="Default" /> + </context> + <context name="Level4" attribute="Normal" lineEndContext="#stay"> + <DetectChar attribute="Brackets5" context="Level5" char="("/> + <DetectChar attribute="Brackets4" context="#pop" char=")" /> + <IncludeRules context="Default" /> + </context> + <context name="Level5" attribute="Normal" lineEndContext="#stay"> + <DetectChar attribute="Brackets6" context="Level6" char="("/> + <DetectChar attribute="Brackets5" context="#pop" char=")" /> + <IncludeRules context="Default" /> + </context> + <context name="Level6" attribute="Normal" lineEndContext="#stay"> + <DetectChar attribute="Brackets1" context="Level1" char="("/> + <DetectChar attribute="Brackets6" context="#pop" char=")" /> + <IncludeRules context="Default" /> + </context> + </contexts> + <itemDatas> + <itemData name="Normal" defStyleNum="dsNormal"/> + <itemData name="Keyword" defStyleNum="dsKeyword"/> + <itemData name="Definition" defStyleNum="dsKeyword" color="#d22811"/> + <itemData name="Operator" defStyleNum="dsKeyword" color="#d22811"/> + <itemData name="Function" defStyleNum="dsFunction"/> + <itemData name="Data" defStyleNum="dsDataType"/> + <itemData name="Decimal" defStyleNum="dsDecVal"/> + <itemData name="BaseN" defStyleNum="dsBaseN"/> + <itemData name="Float" defStyleNum="dsFloat"/> + <itemData name="Char" defStyleNum="dsChar"/> + <itemData name="String" defStyleNum="dsString"/> + <itemData name="Comment" defStyleNum="dsComment"/> + <itemData name="Region Marker" defStyleNum="dsRegionMarker"/> + <itemData name="Brackets1" defStyleNum="dsNormal" color="#ff0000" selColor="#000000" bold="1" italic="0"/> + <itemData name="Brackets2" defStyleNum="dsNormal" color="#ff8800" selColor="#000000" bold="1" italic="0"/> + <itemData name="Brackets3" defStyleNum="dsNormal" color="#888800" selColor="#000000" bold="1" italic="0"/> + <itemData name="Brackets4" defStyleNum="dsNormal" color="#008800" selColor="#000000" bold="1" italic="0"/> + <itemData name="Brackets5" defStyleNum="dsNormal" color="#000088" selColor="#000000" bold="1" italic="0"/> + <itemData name="Brackets6" defStyleNum="dsNormal" color="#880088" selColor="#000000" bold="1" italic="0"/> + </itemDatas> + </highlighting> + <general> + <keywords casesensitive="1" weakDeliminator="-+*?!<>=/:#\"/> + <comments> + <comment name="singleLine" start=";;" /> + <comment name="multiLine" start="#!" end="!#" /> + </comments> + </general> +</language> diff --git a/kate/data/sci.xml b/kate/data/sci.xml new file mode 100644 index 000000000..0a792e1bb --- /dev/null +++ b/kate/data/sci.xml @@ -0,0 +1,1191 @@ +<?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"> + <highlighting> + <list name="Structure-keywords"> + <item> do </item> + <item> else </item> + <item> for </item> + <item> if </item> + <item> elseif </item> + <item> end </item> + <item> select </item> + <item> then </item> + <item> while </item> + </list> + <list name="Control-keywords"> + <item> abort </item> + <item> break </item> + <item> quit </item> + <item> return </item> + <item> resume </item> + <item> pause </item> + </list> + <list name="Function-keywords"> + <item> function </item> + <item> endfunction </item> + </list> + <list name="Warning-keywords"> + <item> error </item> + <item> warning </item> + </list> + <list name="Constants-keyword"> + <item> %F </item> + <item> %f </item> + <item> %T </item> + <item> %t </item> + <item> %e </item> + <item> %pi </item> + <item> %inf </item> + <item> %i </item> + <item> %z </item> + <item> %io </item> + <item> %s </item> + <item> %nan </item> + <item> $ </item> + <item> %eps </item> + <item> MSDOS </item> + </list> + <list name="functions"> + <item> zpell </item> + <item> zpch2 </item> + <item> zpch1 </item> + <item> zpbutt </item> + <item> zgrid </item> + <item> zeros </item> + <item> zeropen </item> + <item> ZCROSS_f </item> + <item> yulewalk </item> + <item> xtitle </item> + <item> xtape </item> + <item> xstringl </item> + <item> xstringb </item> + <item> xstring </item> + <item> xsetm </item> + <item> xsetech </item> + <item> xset </item> + <item> xselect </item> + <item> xsegs </item> + <item> xsave </item> + <item> xs2fig </item> + <item> xrpoly </item> + <item> xrects </item> + <item> xrect </item> + <item> xpolys </item> + <item> xpoly </item> + <item> xpause </item> + <item> xnumb </item> + <item> xname </item> + <item> x_message_modeless </item> + <item> x_message </item> + <item> x_mdialog </item> + <item> x_matrix </item> + <item> xload </item> + <item> xlfont </item> + <item> xinit </item> + <item> xinfo </item> + <item> xgrid </item> + <item> xgraduate </item> + <item> xgetmouse </item> + <item> xgetfile </item> + <item> xgetech </item> + <item> xget </item> + <item> xfrect </item> + <item> xfpolys </item> + <item> xfpoly </item> + <item> xfarcs </item> + <item> xfarc </item> + <item> xend </item> + <item> x_dialog </item> + <item> xdel </item> + <item> xclip </item> + <item> xclick </item> + <item> xclear </item> + <item> xclea </item> + <item> x_choose </item> + <item> x_choices </item> + <item> xchange </item> + <item> xbasr </item> + <item> xbasimp </item> + <item> xbasc </item> + <item> xaxis </item> + <item> xarrows </item> + <item> xarcs </item> + <item> xarc </item> + <item> WRITEC_f </item> + <item> write4b </item> + <item> write </item> + <item> writb </item> + <item> winsid </item> + <item> window </item> + <item> wigner </item> + <item> wiener </item> + <item> whos </item> + <item> who </item> + <item> whereis </item> + <item> whereami </item> + <item> where </item> + <item> what </item> + <item> wfir </item> + <item> WFILE_f </item> + <item> wavwrite </item> + <item> wavread </item> + <item> warning </item> + <item> WaitMsg </item> + <item> varn </item> + <item> varargout </item> + <item> varargin </item> + <item> user </item> + <item> unsetmenu </item> + <item> unobs </item> + <item> unix_x </item> + <item> unix_w </item> + <item> unix_s </item> + <item> unix_g </item> + <item> unix </item> + <item> unique </item> + <item> union </item> + <item> ulink </item> + <item> ui_observer </item> + <item> uint8 </item> + <item> uint32 </item> + <item> uint16 </item> + <item> uimenu </item> + <item> uicontrol </item> + <item> typeof </item> + <item> typename </item> + <item> type </item> + <item> trzeros </item> + <item> triu </item> + <item> trisolve </item> + <item> tril </item> + <item> trianfml </item> + <item> trfmod </item> + <item> TRASH_f </item> + <item> translatepaths </item> + <item> trans_closure </item> + <item> trans </item> + <item> trace </item> + <item> toeplitz </item> + <item> tlist </item> + <item> TK_SetVar </item> + <item> TK_GetVar </item> + <item> TK_EvalStr </item> + <item> TK_EvalFile </item> + <item> titlepage </item> + <item> timer </item> + <item> time_id </item> + <item> TIME_f </item> + <item> tilda </item> + <item> tf2ss </item> + <item> tf2des </item> + <item> TEXT_f </item> + <item> texprint </item> + <item> testmatrix </item> + <item> tdinit </item> + <item> TCLSS_f </item> + <item> tanm </item> + <item> tanhm </item> + <item> tanh </item> + <item> tangent </item> + <item> TANBLK_f </item> + <item> tan </item> + <item> systmat </item> + <item> systems </item> + <item> system </item> + <item> syssize </item> + <item> syslin </item> + <item> sysfact- </item> + <item> sysdiag </item> + <item> sysconv </item> + <item> symbols </item> + <item> sylv </item> + <item> sylm </item> + <item> svplot </item> + <item> svd </item> + <item> sva </item> + <item> supernode </item> + <item> SUPER_f </item> + <item> sum </item> + <item> successors </item> + <item> subplot </item> + <item> subgraph </item> + <item> subf </item> + <item> strsubst </item> + <item> strong_con_nodes </item> + <item> strong_connex </item> + <item> stripblanks </item> + <item> strings </item> + <item> string </item> + <item> strindex </item> + <item> strcat </item> + <item> str2code </item> + <item> STOP_f </item> + <item> st_ility </item> + <item> st_deviation </item> + <item> startup </item> + <item> star </item> + <item> standard_output </item> + <item> standard_origin </item> + <item> standard_input </item> + <item> standard_draw </item> + <item> standard_define </item> + <item> stacksize </item> + <item> stabil </item> + <item> ssrand </item> + <item> ssprint </item> + <item> sskf </item> + <item> sscanf </item> + <item> ss2tf </item> + <item> ss2ss </item> + <item> ss2des </item> + <item> srkf </item> + <item> srfaur </item> + <item> squarewave </item> + <item> square </item> + <item> sqrtm </item> + <item> sqrt </item> + <item> sqroot </item> + <item> spzeros </item> + <item> sprintf </item> + <item> sprand </item> + <item> spones </item> + <item> SPLIT_f </item> + <item> split_edge </item> + <item> splin </item> + <item> spget </item> + <item> speye </item> + <item> specfact </item> + <item> spec </item> + <item> spcompack </item> + <item> spchol </item> + <item> sparse </item> + <item> spantwo </item> + <item> spanplus </item> + <item> spaninter </item> + <item> sp2adj </item> + <item> sound </item> + <item> sort </item> + <item> SOM_f </item> + <item> solve </item> + <item> %sn </item> + <item> smooth </item> + <item> sm2ss </item> + <item> sm2des </item> + <item> slash </item> + <item> size </item> + <item> sinm </item> + <item> sinhm </item> + <item> sinh </item> + <item> sincd </item> + <item> sinc </item> + <item> SINBLK_f </item> + <item> sin </item> + <item> simp_mode </item> + <item> simp </item> + <item> signm </item> + <item> sign </item> + <item> showprofile </item> + <item> show_nodes </item> + <item> show_graph </item> + <item> show_arcs </item> + <item> shortest_path </item> + <item> sgrid </item> + <item> Sgrayplot </item> + <item> Sfgrayplot </item> + <item> sfact </item> + <item> setscicosvars </item> + <item> setmenu </item> + <item> setfield </item> + <item> setbpt </item> + <item> set </item> + <item> sensi </item> + <item> SendMsg </item> + <item> semidef </item> + <item> semicolumn </item> + <item> semi </item> + <item> SELECT_f </item> + <item> secto3d </item> + <item> sd2sci </item> + <item> SCOPXY_f </item> + <item> SCOPE_f </item> + <item> scilink </item> + <item> ScilabEval </item> + <item> scilab </item> + <item> scifunc_block </item> + <item> scicos_model </item> + <item> scicos_menus </item> + <item> scicos_main </item> + <item> scicos_link </item> + <item> scicosim </item> + <item> scicos_graphics </item> + <item> scicos_cpr </item> + <item> scicos_block </item> + <item> scicos </item> + <item> sciargs </item> + <item> sci2map </item> + <item> sci2for </item> + <item> sci2exp </item> + <item> schur </item> + <item> scanf_conversion </item> + <item> scanf </item> + <item> scaling </item> + <item> SAWTOOTH_f </item> + <item> savewave </item> + <item> save_graph </item> + <item> save </item> + <item> SAT_f </item> + <item> SAMPLEHOLD_f </item> + <item> salesman </item> + <item> rtitr </item> + <item> rref </item> + <item> rpem </item> + <item> rowshuff </item> + <item> rowregul </item> + <item> rowinout </item> + <item> rowcompr </item> + <item> rowcomp </item> + <item> routh_t </item> + <item> round </item> + <item> rotate </item> + <item> roots </item> + <item> rlist </item> + <item> ric_desc </item> + <item> riccati </item> + <item> ricc </item> + <item> RFILE_f </item> + <item> residu </item> + <item> replot </item> + <item> repfreq </item> + <item> remezb </item> + <item> remez </item> + <item> RELAY_f </item> + <item> reglin </item> + <item> REGISTER_f </item> + <item> recur </item> + <item> real </item> + <item> readmps </item> + <item> READC_f </item> + <item> readc_ </item> + <item> readb </item> + <item> read4b </item> + <item> read </item> + <item> rdivf </item> + <item> rcond </item> + <item> rational </item> + <item> rat </item> + <item> rank </item> + <item> range </item> + <item> randpencil </item> + <item> RAND_f </item> + <item> rand </item> + <item> quote </item> + <item> quit </item> + <item> quaskro </item> + <item> quapro </item> + <item> QUANT_f </item> + <item> qr </item> + <item> qassign </item> + <item> pwd </item> + <item> pvm_tidtohost </item> + <item> pvm_start </item> + <item> pvm_spawn_independent </item> + <item> pvm_spawn </item> + <item> pvm_set_timer </item> + <item> pvm_send </item> + <item> pvm_sci2f77 </item> + <item> pvm_reduce </item> + <item> pvm_recv </item> + <item> pvm_probe </item> + <item> pvm_mytid </item> + <item> pvm_lvgroup </item> + <item> pvm_kill </item> + <item> pvm_joingroup </item> + <item> pvm_halt </item> + <item> pvm_gsize </item> + <item> pvm_get_timer </item> + <item> pvm_getinst </item> + <item> pvm_exit </item> + <item> pvm_error </item> + <item> pvm_delhosts </item> + <item> pvmd3 </item> + <item> pvm_config </item> + <item> pvm_bufinfo </item> + <item> pvm_bcast </item> + <item> pvm_addhosts </item> + <item> pvm </item> + <item> pspect </item> + <item> psmall </item> + <item> projspec </item> + <item> projsl </item> + <item> proj </item> + <item> profile </item> + <item> PROD_f </item> + <item> prod </item> + <item> printing </item> + <item> printf_conversion </item> + <item> printf </item> + <item> print </item> + <item> predef </item> + <item> predecessors </item> + <item> prbs_a </item> + <item> ppol </item> + <item> power </item> + <item> POWBLK_f </item> + <item> POSTONEG_f </item> + <item> portrait </item> + <item> portr3d </item> + <item> poly </item> + <item> polfact </item> + <item> polarplot </item> + <item> polar </item> + <item> pol2tex </item> + <item> pol2str </item> + <item> pol2des </item> + <item> pmodulo </item> + <item> p_margin </item> + <item> plzr </item> + <item> plus </item> + <item> plotprofile </item> + <item> plot_graph </item> + <item> plotframe </item> + <item> plot3d3 </item> + <item> plot3d2 </item> + <item> plot3d1 </item> + <item> plot3d </item> + <item> plot2d4 </item> + <item> plot2d3 </item> + <item> plot2d2 </item> + <item> plot2d1 </item> + <item> plot2d </item> + <item> plot </item> + <item> playsnd </item> + <item> pipe_network </item> + <item> pinv </item> + <item> phc </item> + <item> phasemag </item> + <item> pfss </item> + <item> pertrans </item> + <item> perfect_match </item> + <item> percent </item> + <item> penlaur </item> + <item> pencan </item> + <item> pen2ea </item> + <item> pdiv </item> + <item> pbig </item> + <item> path_2_nodes </item> + <item> part </item> + <item> parrot </item> + <item> parents </item> + <item> paramfplot2d </item> + <item> param3d1 </item> + <item> param3d </item> + <item> overloading </item> + <item> OUT_f </item> + <item> orth </item> + <item> or </item> + <item> optim </item> + <item> ones </item> + <item> oldsave </item> + <item> oldload </item> + <item> ode_root </item> + <item> odeoptions </item> + <item> ode_discrete </item> + <item> odedi </item> + <item> odedc </item> + <item> ode </item> + <item> obsvss </item> + <item> obsv_mat </item> + <item> obs_gram </item> + <item> observer </item> + <item> obscont1 </item> + <item> obscont </item> + <item> nyquist </item> + <item> numer </item> + <item> null </item> + <item> not </item> + <item> norm </item> + <item> noisegen </item> + <item> nodes_degrees </item> + <item> nodes_2_path </item> + <item> node_number </item> + <item> nnz </item> + <item> nlev </item> + <item> nf3d </item> + <item> newfun </item> + <item> newest </item> + <item> netwindows </item> + <item> netwindow </item> + <item> netclose </item> + <item> neighbors </item> + <item> nehari </item> + <item> NEGTOPOS_f </item> + <item> narsimul </item> + <item> names </item> + <item> MUX_f </item> + <item> mulf </item> + <item> mu2lin </item> + <item> mtlb_sparse </item> + <item> mtlb_save </item> + <item> mtlb_mode </item> + <item> mtlb_load </item> + <item> mtell </item> + <item> msscanf </item> + <item> msprintf </item> + <item> mseek </item> + <item> mscanf </item> + <item> mrfit </item> + <item> mputstr </item> + <item> mputl </item> + <item> mput </item> + <item> mps2linpro </item> + <item> mprintf </item> + <item> mopen </item> + <item> modulo </item> + <item> mode </item> + <item> mlist </item> + <item> min_weight_tree </item> + <item> minus </item> + <item> minss </item> + <item> minreal </item> + <item> min_qcost_flow </item> + <item> min_lcost_flow2 </item> + <item> min_lcost_flow1 </item> + <item> min_lcost_cflow </item> + <item> mini </item> + <item> MIN_f </item> + <item> mine </item> + <item> min </item> + <item> milk_drop </item> + <item> mgetstr </item> + <item> mgetl </item> + <item> mgeti </item> + <item> mget </item> + <item> mfscanf </item> + <item> mfprintf </item> + <item> mfile2sci </item> + <item> mfft </item> + <item> MFCLCK_f </item> + <item> metanet_sync </item> + <item> metanet </item> + <item> mesh2d </item> + <item> mese </item> + <item> meof </item> + <item> median </item> + <item> mean </item> + <item> mclose </item> + <item> MCLOCK_f </item> + <item> mclearerr </item> + <item> m_circle </item> + <item> maxi </item> + <item> max_flow </item> + <item> MAX_f </item> + <item> max_clique </item> + <item> max_cap_path </item> + <item> max </item> + <item> matrix </item> + <item> matrices </item> + <item> Matplot1 </item> + <item> Matplot </item> + <item> mat_2_graph </item> + <item> markp2ss </item> + <item> mapsound </item> + <item> manedit </item> + <item> man </item> + <item> make_graph </item> + <item> macrovar </item> + <item> macro </item> + <item> macr2lst </item> + <item> macglov </item> + <item> lyap </item> + <item> lusolve </item> + <item> luget </item> + <item> lufact </item> + <item> ludel </item> + <item> lu </item> + <item> ltitr </item> + <item> lstcat </item> + <item> lsslist </item> + <item> lqr </item> + <item> lqg_ltr </item> + <item> lqg2stan </item> + <item> lqg </item> + <item> lqe </item> + <item> lotest </item> + <item> LOOKUP_f </item> + <item> logspace </item> + <item> logm </item> + <item> LOGBLK_f </item> + <item> log2 </item> + <item> log10 </item> + <item> log </item> + <item> locate </item> + <item> loadwave </item> + <item> load_graph </item> + <item> load </item> + <item> lmitool </item> + <item> lmisolver </item> + <item> list </item> + <item> linspace </item> + <item> linsolve </item> + <item> linpro </item> + <item> link </item> + <item> linfn </item> + <item> linf </item> + <item> lines </item> + <item> line_graph </item> + <item> lindquist </item> + <item> lin2mu </item> + <item> lin </item> + <item> lib </item> + <item> lgfft </item> + <item> lft </item> + <item> lex_sort </item> + <item> levin </item> + <item> lev </item> + <item> less </item> + <item> leqr </item> + <item> length </item> + <item> legends </item> + <item> left </item> + <item> leastsq </item> + <item> ldivf </item> + <item> ldiv </item> + <item> lcmdiag </item> + <item> lcm </item> + <item> lcf </item> + <item> lattp </item> + <item> lattn </item> + <item> lasterror </item> + <item> kroneck </item> + <item> kron </item> + <item> krac2 </item> + <item> kpure </item> + <item> knapsack </item> + <item> keyboard </item> + <item> kernel </item> + <item> karmarkar </item> + <item> kalm </item> + <item> %k </item> + <item> jmat </item> + <item> isreal </item> + <item> isoview </item> + <item> isnan </item> + <item> isinf </item> + <item> isglobal </item> + <item> iserror </item> + <item> isdef </item> + <item> is_connex </item> + <item> invsyslin </item> + <item> invr </item> + <item> inv_coeff </item> + <item> INVBLK_f </item> + <item> inv </item> + <item> inttype </item> + <item> inttrap </item> + <item> intsplin </item> + <item> INTRPLBLK_f </item> + <item> INTRP2BLK_f </item> + <item> intppty </item> + <item> intl </item> + <item> intg </item> + <item> intersect </item> + <item> intersci </item> + <item> interpln </item> + <item> interp </item> + <item> integrate </item> + <item> INTEGRAL_f </item> + <item> intdec </item> + <item> intc </item> + <item> int8 </item> + <item> int3d </item> + <item> int32 </item> + <item> int2d </item> + <item> int16 </item> + <item> int </item> + <item> insertion </item> + <item> input </item> + <item> IN_f </item> + <item> imrep2ss </item> + <item> impl </item> + <item> im_inv </item> + <item> imag </item> + <item> ilib_gen_Make </item> + <item> ilib_gen_loader </item> + <item> ilib_gen_gateway </item> + <item> ilib_for_link </item> + <item> ilib_compile </item> + <item> ilib_build </item> + <item> iirlp </item> + <item> iirgroup </item> + <item> iir </item> + <item> IFTHEL_f </item> + <item> ieee </item> + <item> iconvert </item> + <item> hypermatrices </item> + <item> hypermat </item> + <item> htrianr </item> + <item> hrmt </item> + <item> householder </item> + <item> hotcolormap </item> + <item> host </item> + <item> horner </item> + <item> h_norm </item> + <item> histplot </item> + <item> hist3d </item> + <item> h_inf_st </item> + <item> h_inf </item> + <item> hilb </item> + <item> hex2dec </item> + <item> hess </item> + <item> hermit </item> + <item> %helps </item> + <item> help </item> + <item> h_cl </item> + <item> havewindow </item> + <item> hat </item> + <item> hankelsv </item> + <item> hank </item> + <item> hamilton </item> + <item> HALT_f </item> + <item> halt </item> + <item> h2norm </item> + <item> gtild </item> + <item> gstacksize </item> + <item> gspec </item> + <item> gsort </item> + <item> gschur </item> + <item> group </item> + <item> gr_menu </item> + <item> grep </item> + <item> graypolarplot </item> + <item> grayplot </item> + <item> graycolormap </item> + <item> graph_union </item> + <item> graph_sum </item> + <item> graph_simp </item> + <item> graph_power </item> + <item> graph-list </item> + <item> Graphics </item> + <item> graph_diameter </item> + <item> graph_complement </item> + <item> graph_center </item> + <item> graph_2_mat </item> + <item> grand </item> + <item> graduate </item> + <item> gpeche </item> + <item> g_margin </item> + <item> G_make </item> + <item> global </item> + <item> glist </item> + <item> glever </item> + <item> givens </item> + <item> girth </item> + <item> gfrancis </item> + <item> gfare </item> + <item> getversion </item> + <item> getvalue </item> + <item> getsymbol </item> + <item> getscicosvars </item> + <item> getpid </item> + <item> GetMsg </item> + <item> getmark </item> + <item> getlinestyle </item> + <item> getio </item> + <item> get_function_path </item> + <item> getfont </item> + <item> getfield </item> + <item> getf </item> + <item> getenv </item> + <item> getdate </item> + <item> getd </item> + <item> getcwd </item> + <item> getcolor </item> + <item> getblocklabel </item> + <item> get </item> + <item> geom3d </item> + <item> GENSQR_f </item> + <item> GENSIN_f </item> + <item> gen_net </item> + <item> genmarkov </item> + <item> genlib </item> + <item> genfac3d </item> + <item> GENERIC_f </item> + <item> GENERAL_f </item> + <item> gcf </item> + <item> gcd </item> + <item> gcare </item> + <item> gammaln </item> + <item> gamma </item> + <item> gamitg </item> + <item> gainplot </item> + <item> GAIN_f </item> + <item> GAINBLK_f </item> + <item> fusee </item> + <item> funptr </item> + <item> funcprot </item> + <item> fun2string </item> + <item> fullrfk </item> + <item> fullrf </item> + <item> full </item> + <item> fstair </item> + <item> fstabst </item> + <item> fspecg </item> + <item> fsolve </item> + <item> fsfirlin </item> + <item> fscanfMat </item> + <item> fscanf </item> + <item> frmag </item> + <item> frfit </item> + <item> frexp </item> + <item> freson </item> + <item> freq </item> + <item> frep2tf </item> + <item> fprintfMat </item> + <item> fprintf </item> + <item> fplot3d1 </item> + <item> fplot3d </item> + <item> fplot2d </item> + <item> fourplan </item> + <item> fort </item> + <item> formatman </item> + <item> format </item> + <item> flts </item> + <item> floor </item> + <item> fix </item> + <item> fit_dat </item> + <item> find_path </item> + <item> findobj </item> + <item> findm </item> + <item> find_freq </item> + <item> find </item> + <item> filter </item> + <item> fileinfo </item> + <item> file </item> + <item> figure </item> + <item> fgrayplot </item> + <item> fft </item> + <item> ffilt </item> + <item> feval </item> + <item> feedback </item> + <item> fec </item> + <item> fcontour2d </item> + <item> fcontour </item> + <item> fchamp </item> + <item> faurre </item> + <item> factors </item> + <item> fac3d </item> + <item> eye </item> + <item> extraction </item> + <item> external </item> + <item> expm </item> + <item> EXPBLK_f </item> + <item> exp </item> + <item> exit </item> + <item> exists </item> + <item> execstr </item> + <item> ExecScilab </item> + <item> ExeclScilab </item> + <item> ExecAppli </item> + <item> exec </item> + <item> excel2sci </item> + <item> Example </item> + <item> EVTGEN_f </item> + <item> EVTDLY_f </item> + <item> evstr </item> + <item> EVENTSCOPE_f </item> + <item> evans </item> + <item> eval3dp </item> + <item> eval3d </item> + <item> eval </item> + <item> error </item> + <item> errclear </item> + <item> errcatch </item> + <item> errbar </item> + <item> erfcx </item> + <item> erfc </item> + <item> erf </item> + <item> ereduc </item> + <item> equil1 </item> + <item> equil </item> + <item> equal </item> + <item> eqiir </item> + <item> eqfir </item> + <item> emptystr </item> + <item> empty </item> + <item> ell1mag </item> + <item> eigenmarkov </item> + <item> edit_curv </item> + <item> edit </item> + <item> edge_number </item> + <item> dtsi </item> + <item> dt_ility </item> + <item> dsimul </item> + <item> dscr </item> + <item> driver </item> + <item> drawaxis </item> + <item> dragrect </item> + <item> double </item> + <item> dot </item> + <item> DLSS_f </item> + <item> DLR_f </item> + <item> DLRADAPT_f </item> + <item> dlgamma </item> + <item> dispfile </item> + <item> dispbpt </item> + <item> disp </item> + <item> diophant </item> + <item> diary </item> + <item> diag </item> + <item> dhnorm </item> + <item> dft </item> + <item> detr </item> + <item> determ </item> + <item> det </item> + <item> DestroyLink </item> + <item> des2tf </item> + <item> des2ss </item> + <item> derivative- </item> + <item> derivat </item> + <item> denom </item> + <item> DEMUX_f </item> + <item> demos </item> + <item> delmenu </item> + <item> delip </item> + <item> delete_nodes </item> + <item> delete_arcs </item> + <item> delbpt </item> + <item> DELAYV_f </item> + <item> DELAY_f </item> + <item> degree </item> + <item> deff </item> + <item> dec2hex </item> + <item> debug </item> + <item> ddp </item> + <item> dcf </item> + <item> dbphi </item> + <item> date </item> + <item> datafit </item> + <item> dassl </item> + <item> dasrt </item> + <item> czt </item> + <item> cycle_basis </item> + <item> CURV_f </item> + <item> curblock </item> + <item> cumsum </item> + <item> cumprod </item> + <item> ctr_gram </item> + <item> cspect </item> + <item> csim </item> + <item> CreateLink </item> + <item> cothm </item> + <item> coth </item> + <item> cotg </item> + <item> cosm </item> + <item> coshm </item> + <item> cosh </item> + <item> COSBLK_f </item> + <item> cos </item> + <item> corr </item> + <item> copfac </item> + <item> convstr </item> + <item> convol </item> + <item> convex_hull </item> + <item> contrss </item> + <item> contract_edge </item> + <item> contr </item> + <item> contourf </item> + <item> contour2di </item> + <item> contour2d </item> + <item> contour </item> + <item> cont_mat </item> + <item> cont_frm </item> + <item> CONST_f </item> + <item> con_nodes </item> + <item> connex </item> + <item> conj </item> + <item> cond </item> + <item> companion </item> + <item> comp </item> + <item> Communications </item> + <item> colregul </item> + <item> colormap </item> + <item> colon </item> + <item> colnew </item> + <item> colinout </item> + <item> colcompr </item> + <item> colcomp </item> + <item> coffg </item> + <item> coff </item> + <item> coeff </item> + <item> code2str </item> + <item> cmndred </item> + <item> cmb_lin </item> + <item> CLSS_f </item> + <item> cls2dls </item> + <item> CLR_f </item> + <item> close </item> + <item> CLOCK_f </item> + <item> CLKSPLIT_f </item> + <item> CLKSOMV_f </item> + <item> CLKSOM_f </item> + <item> CLKOUTV_f </item> + <item> CLKOUT_f </item> + <item> CLKINV_f </item> + <item> CLKIN_f </item> + <item> c_link </item> + <item> CLINDUMMY_f </item> + <item> clearglobal </item> + <item> clearfun </item> + <item> clear </item> + <item> clean </item> + <item> classmarkov </item> + <item> circuit </item> + <item> chsolve </item> + <item> chol </item> + <item> chfact </item> + <item> chepol </item> + <item> check_graph </item> + <item> cheb2mag </item> + <item> cheb1mag </item> + <item> chdir </item> + <item> chart </item> + <item> champ1 </item> + <item> champ </item> + <item> chaintest </item> + <item> chain_struct </item> + <item> cepstrum </item> + <item> ceil </item> + <item> cdft </item> + <item> cdfpoi </item> + <item> cdfnor </item> + <item> cdfnbn </item> + <item> cdfgam </item> + <item> cdffnc </item> + <item> cdff </item> + <item> cdfchn </item> + <item> cdfchi </item> + <item> cdfbin </item> + <item> cdfbet </item> + <item> ccontrg </item> + <item> casc </item> + <item> canon </item> + <item> call </item> + <item> calfrq </item> + <item> calerf </item> + <item> cainv </item> + <item> bvode </item> + <item> buttmag </item> + <item> bstap </item> + <item> boucle </item> + <item> boolean </item> + <item> bool2s </item> + <item> bode </item> + <item> bloc2ss </item> + <item> bloc2exp </item> + <item> black </item> + <item> binomial </item> + <item> bilin </item> + <item> BIGSOM_f </item> + <item> bifish </item> + <item> bezout </item> + <item> best_match </item> + <item> bessely </item> + <item> besselk </item> + <item> besselj </item> + <item> besseli </item> + <item> bdiag </item> + <item> bandwr </item> + <item> balreal </item> + <item> balanc </item> + <item> backslash </item> + <item> auwrite </item> + <item> auread </item> + <item> augment </item> + <item> atanm </item> + <item> atanhm </item> + <item> atanh </item> + <item> atan </item> + <item> %asn </item> + <item> asinm </item> + <item> asinhm </item> + <item> asinh </item> + <item> asin </item> + <item> ascii </item> + <item> articul </item> + <item> artest </item> + <item> arsimul </item> + <item> armax1 </item> + <item> armax </item> + <item> armac </item> + <item> arma2p </item> + <item> arma </item> + <item> arl2 </item> + <item> arhnk </item> + <item> argn </item> + <item> arc_number </item> + <item> arc_graph </item> + <item> apropos </item> + <item> ans </item> + <item> ANIMXY_f </item> + <item> ANDLOG_f </item> + <item> and </item> + <item> analyze </item> + <item> analpf </item> + <item> amell </item> + <item> alufunctions </item> + <item> AFFICH_f </item> + <item> aff2ab </item> + <item> adj_lists </item> + <item> adj2sp </item> + <item> add_node </item> + <item> addmenu </item> + <item> addinter </item> + <item> addf </item> + <item> add_edge </item> + <item> addcolor </item> + <item> AdCommunications </item> + <item> acosm </item> + <item> acoshm </item> + <item> acosh </item> + <item> acos </item> + <item> ABSBLK_f </item> + <item> abs </item> + <item> abinv </item> + <item> abcd </item> + </list> + <contexts> + <context name="main" attribute="Normal Text" lineEndContext="#stay"> + <keyword attribute="Structure-keywords" context="#stay" String="Structure-keywords"/> + <keyword attribute="Control-keywords" context="#stay" String="Control-keywords"/> + <keyword attribute="Function-keywords" context="#stay" String="Function-keywords"/> + <keyword attribute="Warning-keywords" context="#stay" String="Warning-keywords"/> + <keyword attribute="Constants-keyword" context="#stay" String="Constants-keyword"/> + <keyword attribute="functions" context="#stay" String="functions"/> + <Float attribute = "Flo" context="#stay"/> + <Int attribute = "Decimal" context="#stay"/> + <RegExpr String= "//.*$" attribute = "Comment" context="#stay"/> + <RangeDetect char = """ char1 = """ attribute = "String" context="#stay"/> + </context> + </contexts> + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Structure-keywords" defStyleNum="dsNormal" color="#000080" selColor="#ffff00" bold="1" italic="0"/> + <itemData name="Control-keywords" defStyleNum="dsNormal" color="#800000" selColor="#ff0000" bold="1" italic="0"/> + <itemData name="Function-keywords" defStyleNum="dsFunction" color="#008000" selColor="#ffff00" bold="1" italic="0"/> + <itemData name="Warning-keywords" defStyleNum="dsNormal" color="#ff0000" selColor="#ff0000" bold="1" italic="0"/> + <itemData name="Constants-keyword" defStyleNum="dsNormal" color="#008080" selColor="#00ffff" bold="1" italic="0"/> + <itemData name="functions" defStyleNum="dsFunction" color="#0000ff" selColor="#00ff00" bold="1" italic="1"/> + <itemData name="Decimal" defStyleNum = "dsDecVal"/> + <itemData name="Float" defStyleNum = "dsFloat"/> + <itemData name="Comment" defStyleNum = "dsComment"/> + <itemData name="String" defStyleNum = "dsString"/> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="singleLine" start="//" /> + </comments> + <keywords casesensitive="1" weakDeliminator="%$" /> + </general> +</language> diff --git a/kate/data/sgml.xml b/kate/data/sgml.xml new file mode 100644 index 000000000..2292c3195 --- /dev/null +++ b/kate/data/sgml.xml @@ -0,0 +1,46 @@ +<?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"> + <highlighting> + <contexts> + <context attribute="Normal Text" lineEndContext="#stay" name="Normal Text" > + <StringDetect attribute="Comment" context="Comment" String="<!--"/> + <RegExpr attribute="Tag" context="Attribute" String="<\s*\/?\s*[a-zA-Z_:][a-zA-Z0-9._:-]*" /> + </context> + + <context attribute="Attribute Name" lineEndContext="#stay" name="Attribute" > + <Detect2Chars attribute="Tag" context="#pop" char="/" char1=">" /> + <DetectChar attribute="Tag" context="#pop" char=">" /> + <RegExpr attribute="Normal Text" context="Value" String="\s*=\s*" /> + </context> + + <context attribute="Attribute Value" lineEndContext="#stay" name="Value" > + <Detect2Chars attribute="Tag" context="#pop#pop" char="/" char1=">" /> + <DetectChar attribute="Tag" context="#pop#pop" char=">" /> + <DetectChar attribute="Attribute Value" context="Value 2" char=""" /> + </context> + + <context attribute="Attribute Value" lineEndContext="#stay" name="Value 2" > + <DetectChar attribute="Attribute Value" context="#pop#pop" char=""" /> + </context> + + <context attribute="Comment" lineEndContext="#stay" name="Comment" > + <StringDetect attribute="Comment" context="#pop" String="-->"/> + </context> + + </contexts> + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Tag" defStyleNum="dsKeyword"/> + <itemData name="Attribute Name" defStyleNum="dsOthers"/> + <itemData name="Attribute Value" defStyleNum="dsDataType"/> + <itemData name="Comment" defStyleNum="dsComment"/> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="multiLine" start="<!--" end="//-->" /> + </comments> + <keywords casesensitive="0" /> + </general> +</language> diff --git a/kate/data/sieve.xml b/kate/data/sieve.xml new file mode 100644 index 000000000..95ef08b1d --- /dev/null +++ b/kate/data/sieve.xml @@ -0,0 +1,67 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<!-- Highlighting for Sieve scripts (RFC 3028) written by Petter E. Stokke --> +<language name="Sieve" version="1.05" kateversion="2.4" section="Scripts" extensions="*.siv" mimetype="application/sieve" priority="5" author="Petter E. Stokke" license=""> + <highlighting> + <list name="keywords"> + <item> require </item> + <item> if </item> + <item> elsif </item> + <item> else </item> + <item> discard </item> + <item> stop </item> + <item> fileinto </item> + <item> keep </item> + <item> reject </item> + <item> redirect </item> + </list> + <contexts> + <context attribute="Normal Text" lineEndContext="#stay" name="Normal"> + <keyword attribute="Keyword" context="#stay" String="keywords"/> + <DetectChar attribute="Symbol" context="#stay" char="{" beginRegion="Brace1" /> + <DetectChar attribute="Symbol" context="#stay" char="}" endRegion="Brace1" /> + <RegExpr attribute="Decimal" context="#stay" String="\d+[KMG]?" /> + <DetectChar attribute="String" context="String" char="""/> + <RegExpr attribute="String" context="MultilineString" String="text:$" beginRegion="String" /> + <Detect2Chars attribute="Comment" context="Comment" char="/" char1="*" beginRegion="Comment"/> + <RegExpr attribute="Comment" String="#.*$" context="#stay"/> + <RegExpr attribute="Tagged Argument" context="#stay" String=":\w+"/> + <RegExpr attribute="Symbol" context="Member" String="[.]{1,1}" /> + <AnyChar attribute="Symbol" context="#stay" String=":!%&()+,-/.*<=>?[]|~^;"/> + </context> + <context attribute="String" lineEndContext="#pop" name="String"> + <LineContinue attribute="String" context="#stay"/> + <HlCStringChar attribute="String Char" context="#stay"/> + <DetectChar attribute="String" context="#pop" char="""/> + </context> + <context attribute="String" name="MultilineString" lineEndContext="#stay"> + <RegExpr attribute="String" context="#pop" String="\.$" column="0"/> + <HlCStringChar attribute="String Char" context="#stay" /> + </context> + <context attribute="Normal Text" lineEndContext="#pop" name="Member" fallthrough="true" fallthroughContext="#pop"> + <RegExpr attribute="Function" context="#pop" String="\b[_a-zA-Z]\w*(?=[\s]*)" /> + </context> + <context attribute="Comment" lineEndContext="#stay" name="Comment"> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment"/> + </context> + </contexts> + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Keyword" defStyleNum="dsKeyword"/> + <itemData name="Decimal" defStyleNum="dsDecVal"/> + <itemData name="String" defStyleNum="dsString"/> + <itemData name="String Char" defStyleNum="dsChar"/> + <itemData name="Comment" defStyleNum="dsComment"/> + <itemData name="Symbol" defStyleNum="dsNormal"/> + <itemData name="Tagged Argument" defStyleNum="dsOthers"/> + <itemData name="Function" defStyleNum="dsFunction" /> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="multiLine" start="/*" end="*/" /> + <comment name="singleLine" start="#" /> + </comments> + <keywords casesensitive="1" /> + </general> +</language> diff --git a/kate/data/sml.xml b/kate/data/sml.xml new file mode 100644 index 000000000..eeae780fc --- /dev/null +++ b/kate/data/sml.xml @@ -0,0 +1,104 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="SML" version="1.06" kateversion="2.1" section="Sources" extensions="*.sml;*.ml" mimetype="" author="Christoph Cullmann (cullmann@kde.org)" license="LGPL"> + <highlighting> + <list name="keywords"> + <item> abstype </item> + <item> and </item> + <item> andalso </item> + <item> as </item> + <item> case </item> + <item> do </item> + <item> datatype </item> + <item> else </item> + <item> end </item> + <item> eqtype </item> + <item> exception </item> + <item> false </item> + <item> fn </item> + <item> fun </item> + <item> functor </item> + <item> handle </item> + <item> if </item> + <item> in </item> + <item> include </item> + <item> infix </item> + <item> infixr </item> + <item> let </item> + <item> local </item> + <item> nonfix </item> + <item> of </item> + <item> op </item> + <item> open </item> + <item> orelse </item> + <item> raise </item> + <item> rec </item> + <item> sharing </item> + <item> sig </item> + <item> signature </item> + <item> struct </item> + <item> structure </item> + <item> then </item> + <item> true </item> + <item> type </item> + <item> val </item> + <item> where </item> + <item> with </item> + <item> withtype </item> + <item> while </item> + </list> + <list name="types"> + <item> unit </item> + <item> int </item> + <item> real </item> + <item> char </item> + <item> string </item> + <item> substring </item> + <item> word </item> + <item> ref </item> + <item> array </item> + <item> vector </item> + <item> bool </item> + <item> list </item> + <item> option </item> + <item> order </item> + </list> + <contexts> + <context attribute="Normal Text" lineEndContext="#stay" name="Normal"> + <Detect2Chars attribute="Comment" context="Multiline/Inline Comment" char="(" char1="*" /> + <DetectChar attribute="String" context="String" char=""" /> + <keyword attribute="Keyword" context="#stay" String="keywords" /> + <keyword attribute="Data Type" context="#stay" String="types" /> + <Float attribute="Float" context="#stay"> + <AnyChar String="fF" attribute="Float" context="#stay"/> + </Float> + <HlCHex attribute="Decimal" context="#stay"/> + <Int attribute="Decimal" context="#stay" /> + </context> + <context attribute="Comment" lineEndContext="#stay" name="Multiline/Inline Comment"> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1=")" /> + </context> + <context attribute="String" lineEndContext="#stay" name="String"> + <HlCStringChar attribute="String Char" context="#stay"/> + <DetectChar attribute="String" context="#pop" char=""" /> + </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="Float" defStyleNum="dsFloat"/> + <itemData name="String" defStyleNum="dsString"/> + <itemData name="Comment" defStyleNum="dsComment" /> + <itemData name="Notice" defStyleNum="dsString" /> + <itemData name="String Char" defStyleNum="dsChar" /> + </itemDatas> + </highlighting> + <general> + <keywords casesensitive="1" /> + <comments> + <comment name="multiLine" start="(*" end="*)" /> + </comments> + </general> +</language> diff --git a/kate/data/spice.xml b/kate/data/spice.xml new file mode 100644 index 000000000..03b183acf --- /dev/null +++ b/kate/data/spice.xml @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> + +<language name="Spice" section="Hardware" version="1.01" kateversion="2.3" extensions="*.sp;*.hsp" mimetype="text/spice" author="Steven Robson (s.a.robson@sms.ed.ac.uk) and Anders Lund" license="LGPL"> + <highlighting> + + <contexts> + + <context attribute="Normal Text" lineEndContext="#stay" name="Normal"> + <RegExpr attribute="Keyword" context="#stay" String="\B\.\w+" /> + <Int attribute="Number" context="#stay"/> + <Float attribute="Number" context="#stay"/> + <AnyChar attribute="Comment" String="$*" context="Commentar 1" /> + <DetectChar attribute="String" context="String" char="""/> + <DetectChar attribute="String" context="String" char="'"/> + </context> + + <context attribute="Comment" lineEndContext="#pop" name="Commentar 1"/> + + <context attribute="String" lineEndContext="#pop" name="String"> + <LineContinue attribute="String" context="#stay"/> + <HlCStringChar attribute="String Char" context="#stay"/> + <DetectChar attribute="String" context="#pop" char="""/> + </context> + + <context attribute="String" lineEndContext="#pop" name="String"> + <LineContinue attribute="String" context="#stay"/> + <HlCStringChar attribute="String Char" context="#stay"/> + <DetectChar attribute="String" context="#pop" char="'"/> + </context> + + </contexts> + + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Keyword" defStyleNum="dsKeyword"/> + <itemData name="String" defStyleNum="dsString"/> + <itemData name="Comment" defStyleNum="dsComment"/> + <itemData name="Number" defStyleNum="dsDecVal"/> + </itemDatas> + + </highlighting> + + <general> + <comments> + <comment name="singleLine" start="*" /> + </comments> + <keywords casesensitive="1" weakDeliminator="."/> + </general> +</language> diff --git a/kate/data/sql-mysql.xml b/kate/data/sql-mysql.xml new file mode 100644 index 000000000..4c0a99706 --- /dev/null +++ b/kate/data/sql-mysql.xml @@ -0,0 +1,476 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<!-- + MySQL syntax definition based on sql.xml by Yury Lebedev + original by Shane Wright (me@shanewright.co.uk) + modifications by Milian Wolff (mail@milianw.de) +--> +<language name="SQL (MySQL)" version="1.09" kateversion="2.5" section="Database" extensions="*.sql;*.SQL" mimetype="text/x-sql" casesensitive="0" author="Shane Wright (me@shanewright.co.uk)" license=""> + <highlighting> + <list name="keywords"> + <item> ACCESS </item> + <item> ADD </item> + <item> ALL </item> + <item> ALTER </item> + <item> ANALYZE </item> + <item> AND </item> + <item> AS </item> + <item> ASC </item> + <item> AUTO_INCREMENT </item> + <item> BDB </item> + <item> BERKELEYDB </item> + <item> BETWEEN </item> + <item> BOTH </item> + <item> BY </item> + <item> CASCADE </item> + <item> CASE </item> + <item> CHANGE </item> + <!-- <item> CHARACTER SET </item> + needs special regexp (see below) --> + <item> CHARSET </item> + <item> COLUMN </item> + <item> COLUMNS </item> + <item> CONSTRAINT </item> + <item> CREATE </item> + <item> CROSS </item> + <item> CURRENT_DATE </item> + <item> CURRENT_TIME </item> + <item> CURRENT_TIMESTAMP </item> + <item> DATABASE </item> + <item> DATABASES </item> + <item> DAY_HOUR </item> + <item> DAY_MINUTE </item> + <item> DAY_SECOND </item> + <item> DEC </item> + <item> DEFAULT </item> + <item> DELAYED </item> + <item> DELETE </item> + <item> DESC </item> + <item> DESCRIBE </item> + <item> DISTINCT </item> + <item> DISTINCTROW </item> + <item> DROP </item> + <item> ELSE </item> + <item> ENCLOSED </item> + <item> ESCAPED </item> + <item> EXISTS </item> + <item> EXPLAIN </item> + <item> FIELDS </item> + <item> FOR </item> + <item> FOREIGN </item> + <item> FROM </item> + <item> FULLTEXT </item> + <item> FUNCTION </item> + <item> GRANT </item> + <item> GROUP </item> + <item> HAVING </item> + <item> HIGH_PRIORITY </item> + <item> IF </item> + <item> IGNORE </item> + <item> IN </item> + <item> INDEX </item> + <item> INFILE </item> + <item> INNER </item> + <item> INNODB </item> + <item> INSERT </item> + <item> INTERVAL </item> + <item> INTO </item> + <item> IS </item> + <item> JOIN </item> + <item> KEY </item> + <item> KEYS </item> + <item> KILL </item> + <item> LEADING </item> + <item> LEFT </item> + <item> LIKE </item> + <item> LIMIT </item> + <item> LINES </item> + <item> LOAD </item> + <item> LOCK </item> + <item> LOW_PRIORITY </item> + <item> MASTER_SERVER_ID </item> + <item> MATCH </item> + <item> MRG_MYISAM </item> + <item> NATURAL </item> + <item> NATIONAL </item> + <item> NOT </item> + <item> NULL </item> + <item> NUMERIC </item> + <item> ON </item> + <item> OPTIMIZE </item> + <item> OPTION </item> + <item> OPTIONALLY </item> + <item> OR </item> + <item> ORDER </item> + <item> OUTER </item> + <item> OUTFILE </item> + <item> PARTIAL </item> + <item> PRECISION </item> + <item> PRIMARY </item> + <item> PRIVILEGES </item> + <item> PROCEDURE </item> + <item> PURGE </item> + <item> READ </item> + <item> REFERENCES </item> + <item> REGEXP </item> + <item> RENAME </item> + <item> REPLACE </item> + <item> REQUIRE </item> + <item> RESTRICT </item> + <item> RETURNS </item> + <item> REVOKE </item> + <item> RIGHT </item> + <item> RLIKE </item> + <item> SELECT </item> + <item> SET </item> + <item> SHOW </item> + <item> SONAME </item> + <item> SQL_BIG_RESULT </item> + <item> SQL_CALC_FOUND_ROWS </item> + <item> SQL_SMALL_RESULT </item> + <item> SSL </item> + <item> STARTING </item> + <item> STRAIGHT_JOIN </item> + <item> STRIPED </item> + <item> TABLE </item> + <item> TABLES </item> + <item> TERMINATED </item> + <item> THEN </item> + <item> TO </item> + <item> TRAILING </item> + <item> TRUNCATE </item> + <item> TYPE </item> + <item> UNION </item> + <item> UNIQUE </item> + <item> UNLOCK </item> + <item> UNSIGNED </item> + <item> UPDATE </item> + <item> USAGE </item> + <item> USE </item> + <item> USER_RESOURCES </item> + <item> USING </item> + <item> VALUES </item> + <item> VARYING </item> + <item> WHEN </item> + <item> WHERE </item> + <item> WITH </item> + <item> WRITE </item> + <item> XOR </item> + <item> YEAR_MONTH </item> + <item> ZEROFILL </item> + </list> + <list name="operators"> + <item> + </item> + <item> - </item> + <item> * </item> + <item> / </item> + <item> || </item> + <item> = </item> + <item> != </item> + <item> <> </item> + <item> < </item> + <item> <= </item> + <item> > </item> + <item> >= </item> + <item> ~= </item> + <item> ^= </item> + <item> := </item> + <item> => </item> + <item> ** </item> + <item> .. </item> + </list> + <list name="functions"> + <!-- string functions --> + <item> ASCII </item> + <item> ORD </item> + <item> CONV </item> + <item> BIN </item> + <item> OCT </item> + <item> HEX </item> + <item> CHAR </item> + <item> CONCAT </item> + <item> CONCAT_WS </item> + <item> LENGTH </item> + <item> OCTET_LENGTH </item> + <item> CHAR_LENGTH </item> + <item> CHARACTER_LENGTH </item> + <item> BIT_LENGTH </item> + <item> LOCATE </item> + <item> POSITION </item> + <item> INSTR </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> 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> 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> CEILING </item> + <item> ROUND </item> + <item> EXP </item> + <item> LN </item> + <item> LOG </item> + <item> LOG2 </item> + <item> LOG10 </item> + <item> POW </item> + <item> POWER </item> + <item> SQRT </item> + <item> PI </item> + <item> COS </item> + <item> SIN </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> DAYOFMONTH </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> HOUR </item> + <item> MINUTE </item> + <item> SECOND </item> + <item> PERIOD_ADD </item> + <item> PERIOD_DIFF </item> + <item> DATE_ADD </item> + <item> DATE_SUB </item> + <item> ADDDATE </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_TO_SEC </item> + <!-- cast functions --> + <item> CAST </item> + <item> CONVERT </item> + <!-- misc --> + <item> BIT_COUNT </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> FORMAT </item> + <item> VERSION </item> + <item> CONNECTION_ID </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> MASTER_POS_WAIT </item> + <item> FOUND_ROWS </item> + <!-- GROUP BY --> + <item> COUNT </item> + <item> AVG </item> + <item> MIN </item> + <item> MAX </item> + <item> SUM </item> + <item> STD </item> + <item> STDDEV </item> + <item> BIT_OR </item> + <item> BIT_AND </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> LONGBLOB </item> + <item> TINYTEXT </item> + <item> MEDIUMTEXT </item> + <item> TEXT </item> + <item> LONGTEXT </item> + <item> ENUM </item> + <!-- <item> SET </item> + needs special regexp (see below) --> + <!-- numeric --> + <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> FIXED </item> + <item> NUMERIC </item> + <item> LONG </item> + <item> SERIAL </item> + <!-- date and time --> + <item> DATE </item> + <item> DATETIME </item> + <item> TIME </item> + <item> TIMESTAMP </item> + <item> YEAR </item> + </list> + <contexts> + <context name="Normal" attribute="Normal Text" lineEndContext="#stay"> + <!-- problematic special cases --> + <!-- SET type --> + <RegExpr attribute="Data Type" context="#stay" insensitive="true" String="SET(?=\s*\()"/> + <!-- keyword character set --> + <RegExpr attribute="Keyword" context="#stay" insensitive="true" String="\bCHARACTER SET\b"/> + <!-- using the lists --> + <keyword attribute="Keyword" context="#stay" String="keywords"/> + <keyword attribute="Operator" context="#stay" String="operators"/> + <keyword attribute="Function" context="#stay" String="functions"/> + <keyword attribute="Data Type" context="#stay" String="types"/> + <!-- extra data types --> + <RegExpr attribute="Data Type" context="#stay" String="%bulk_exceptions\b" insensitive="true"/> + <RegExpr attribute="Data Type" context="#stay" String="%bulk_rowcount\b" insensitive="true"/> + <RegExpr attribute="Data Type" context="#stay" String="%found\b" insensitive="true"/> + <RegExpr attribute="Data Type" context="#stay" String="%isopen\b" insensitive="true"/> + <RegExpr attribute="Data Type" context="#stay" String="%notfound\b" insensitive="true"/> + <RegExpr attribute="Data Type" context="#stay" String="%rowcount\b" insensitive="true"/> + <RegExpr attribute="Data Type" context="#stay" String="%rowtype\b" insensitive="true"/> + <RegExpr attribute="Data Type" context="#stay" String="%type\b" insensitive="true"/> + <!-- numbers --> + <Float attribute="Float" context="#stay"/> + <Int attribute="Decimal" context="#stay"/> + <!-- strings --> + <DetectChar attribute="String" context="String" char="'"/> + <DetectChar attribute="String" context="String2" char="""/> + <DetectChar attribute="Name" context="Name" char="`"/> + <!-- comments --> + <DetectChar attribute="Comment" context="SingleLineComment" char="#"/> + <Detect2Chars attribute="Comment" context="SingleLineComment" char="-" char1="-"/> + <Detect2Chars attribute="Comment" context="MultiLineComment" char="/" char1="*" beginRegion="Comment"/> + <RegExpr attribute="Comment" context="SingleLineComment" String="rem\b" insensitive="true" column="0"/> + + <AnyChar attribute="Symbol" context="#stay" String=":&"/> + <RegExpr attribute="Symbol" context="#stay" String="/$" column="0"/> + <RegExpr attribute="Preprocessor" context="Preprocessor" String="@@?[^@ \t\r\n]" column="0"/> + <!-- for something like : SELECT DB.TABLE.ROW ... --> + <DetectChar attribute="String Char" context="#stay" char="."/> + </context> + <!-- 'string' --> + <context name="String" attribute="String" lineEndContext="#stay"> + <LineContinue attribute="String" context="#pop"/> + <HlCStringChar attribute="String Char" context="#stay"/> + <DetectChar attribute="Symbol" context="#stay" char="&"/> + <DetectChar attribute="String" context="#pop" char="'"/> + </context> + <!-- "string", extra context needed to enable "str'ing" and 'str"ing' --> + <context name="String2" attribute="String" lineEndContext="#stay"> + <LineContinue attribute="String" context="#pop"/> + <HlCStringChar attribute="String Char" context="#stay"/> + <DetectChar attribute="Symbol" context="#stay" char="&"/> + <DetectChar attribute="String" context="#pop" char="""/> + </context> + <!-- `names` --> + <context name="Name" attribute="Name" lineEndContext="#stay"> + <LineContinue attribute="Name" context="#pop"/> + <HlCStringChar attribute="String Char" context="#stay"/> + <DetectChar attribute="Name" context="#pop" char="`"/> + </context> + <!-- comments --> + <context name="SingleLineComment" attribute="Comment" lineEndContext="#pop"/> + <context name="MultiLineComment" attribute="Comment" lineEndContext="#stay"> + <LineContinue attribute="Comment" context="#pop"/> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment"/> + </context> + <!-- preprocessor --> + <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="Name" color="#080" defStyleNum="dsString"/> + <itemData name="String Char" defStyleNum="dsChar"/> + <itemData name="Comment" defStyleNum="dsComment"/> + <itemData name="Symbol" defStyleNum="dsChar"/> + <itemData name="Preprocessor" defStyleNum="dsOthers"/> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="singleLine" start="--"/> + <comment name="multiLine" start="/*" end="*/"/> + </comments> + <keywords casesensitive="0" weakDeliminator="+-*/|=!<>~^:."/> + <folding indentationsensitive="true"/> + </general> +</language> + diff --git a/kate/data/sql-postgresql.xml b/kate/data/sql-postgresql.xml new file mode 100644 index 000000000..d4b347533 --- /dev/null +++ b/kate/data/sql-postgresql.xml @@ -0,0 +1,797 @@ +<?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.08" kateversion="2.4" section="Database" extensions="*.sql;*.SQL" mimetype="text/x-sql" casesensitive="0" author="Shane Wright (me@shanewright.co.uk)" license=""> + <highlighting> + <list name="keywords"> + <item> ABORT </item> + <item> ACCESS </item> + <item> ACTION </item> + <item> ADD </item> + <item> ADMIN </item> + <item> AFTER </item> + <item> AGGREGATE </item> + <item> ALIAS </item> + <item> ALL </item> + <item> ALLOCATE </item> + <item> ALTER </item> + <item> ANALYSE </item> + <item> ANALYZE </item> + <item> ANY </item> + <item> ARE </item> + <item> AS </item> + <item> ASC </item> + <item> ASENSITIVE </item> + <item> ASSERTION </item> + <item> ASSIGNMENT </item> + <item> ASYMMETRIC </item> + <item> AT </item> + <item> ATOMIC </item> + <item> AUTHORIZATION </item> + <item> BACKWARD </item> + <item> BEFORE </item> + <item> BEGIN </item> + <item> BETWEEN </item> + <item> BINARY </item> + <item> BOTH </item> + <item> BREADTH </item> + <item> BY </item> + <item> C </item> + <item> CACHE </item> + <item> CALL </item> + <item> CALLED </item> + <item> CARDINALITY </item> + <item> CASCADE </item> + <item> CASCADED </item> + <item> CASE </item> + <item> CAST </item> + <item> CATALOG </item> + <item> CATALOG_NAME </item> + <item> CHAIN </item> + <item> CHAR_LENGTH </item> + <item> CHARACTER_LENGTH </item> + <item> CHARACTER_SET_CATALOG </item> + <item> CHARACTER_SET_NAME </item> + <item> CHARACTER_SET_SCHEMA </item> + <item> CHARACTERISTICS </item> + <item> CHECK </item> + <item> CHECKED </item> + <item> CHECKPOINT </item> + <item> CLASS </item> + <item> CLASS_ORIGIN </item> + <item> CLOB </item> + <item> CLOSE </item> + <item> CLUSTER </item> + <item> COALESCE </item> + <item> COBOL </item> + <item> COLLATE </item> + <item> COLLATION </item> + <item> COLLATION_CATALOG </item> + <item> COLLATION_NAME </item> + <item> COLLATION_SCHEMA </item> + <item> COLUMN </item> + <item> COLUMN_NAME </item> + <item> COMMAND_FUNCTION </item> + <item> COMMAND_FUNCTION_CODE </item> + <item> COMMENT </item> + <item> COMMIT </item> + <item> COMMITTED </item> + <item> COMPLETION </item> + <item> CONDITION_NUMBER </item> + <item> CONNECT </item> + <item> CONNECTION </item> + <item> CONNECTION_NAME </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> + <item> CONVERT </item> + <item> COPY </item> + <item> CORRESPONDING </item> + <item> COUNT </item> + <item> CREATE </item> + <item> CREATEDB </item> + <item> CREATEUSER </item> + <item> CROSS </item> + <item> CUBE </item> + <item> CURRENT </item> + <item> CURRENT_DATE </item> + <item> CURRENT_PATH </item> + <item> CURRENT_ROLE </item> + <item> CURRENT_TIME </item> + <item> CURRENT_TIMESTAMP </item> + <item> CURRENT_USER </item> + <item> CURSOR </item> + <item> CURSOR_NAME </item> + <item> CYCLE </item> + <item> DATA </item> + <item> DATABASE </item> + <item> DATE </item> + <item> DATETIME_INTERVAL_CODE </item> + <item> DATETIME_INTERVAL_PRECISION </item> + <item> DAY </item> + <item> DEALLOCATE </item> + <item> DEC </item> + <item> DECIMAL </item> + <item> DECLARE </item> + <item> DEFAULT </item> + <item> DEFERRABLE </item> + <item> DEFERRED </item> + <item> DEFINED </item> + <item> DEFINER </item> + <item> DELETE </item> + <item> DELIMITERS </item> + <item> DEPTH </item> + <item> DEREF </item> + <item> DESC </item> + <item> DESCRIBE </item> + <item> DESCRIPTOR </item> + <item> DESTROY </item> + <item> DESTRUCTOR </item> + <item> DETERMINISTIC </item> + <item> DIAGNOSTICS </item> + <item> DICTIONARY </item> + <item> DISCONNECT </item> + <item> DISPATCH </item> + <item> DISTINCT </item> + <item> DO </item> + <item> DOMAIN </item> + <item> DOUBLE </item> + <item> DROP </item> + <item> DYNAMIC </item> + <item> DYNAMIC_FUNCTION </item> + <item> DYNAMIC_FUNCTION_CODE </item> + <item> EACH </item> + <item> ELSE </item> + <item> ENCODING </item> + <item> ENCRYPTED </item> + <item> END </item> + <item> END-EXEC </item> + <item> EQUALS </item> + <item> ESCAPE </item> + <item> EVERY </item> + <item> EXCEPT </item> + <item> EXCEPTION </item> + <item> EXCLUSIVE </item> + <item> EXEC </item> + <item> EXECUTE </item> + <item> EXISTING </item> + <item> EXISTS </item> + <item> EXPLAIN </item> + <item> EXTERNAL </item> + <item> FETCH </item> + <item> FINAL </item> + <item> FIRST </item> + <item> FOR </item> + <item> FORCE </item> + <item> FOREIGN </item> + <item> FORTRAN </item> + <item> FORWARD </item> + <item> FOUND </item> + <item> FREE </item> + <item> FREEZE </item> + <item> FROM </item> + <item> FULL </item> + <item> FUNCTION </item> + <item> G </item> + <item> GENERAL </item> + <item> GENERATED </item> + <item> GET </item> + <item> GLOBAL </item> + <item> GO </item> + <item> GOTO </item> + <item> GRANT </item> + <item> GRANTED </item> + <item> GROUP </item> + <item> GROUPING </item> + <item> HANDLER </item> + <item> HAVING </item> + <item> HIERARCHY </item> + <item> HOLD </item> + <item> HOST </item> + <item> HOUR </item> + <item> IDENTITY </item> + <item> IGNORE </item> + <item> ILIKE </item> + <item> IMMEDIATE </item> + <item> IMMUTABLE </item> + <item> IMPLEMENTATION </item> + <item> IN </item> + <item> INCREMENT </item> + <item> INDEX </item> + <item> INDICATOR </item> + <item> INFIX </item> + <item> INHERITS </item> + <item> INITIALIZE </item> + <item> INITIALLY </item> + <item> INNER </item> + <item> INOUT </item> + <item> INPUT </item> + <item> INSENSITIVE </item> + <item> INSERT </item> + <item> INSTANCE </item> + <item> INSTANTIABLE </item> + <item> INSTEAD </item> + <item> INTERSECT </item> + <item> INTERVAL </item> + <item> INTO </item> + <item> INVOKER </item> + <item> IS </item> + <item> ISNULL </item> + <item> ISOLATION </item> + <item> ITERATE </item> + <item> JOIN </item> + <item> K </item> + <item> KEY </item> + <item> KEY_MEMBER </item> + <item> KEY_TYPE </item> + <item> LANCOMPILER </item> + <item> LANGUAGE </item> + <item> LARGE </item> + <item> LAST </item> + <item> LATERAL </item> + <item> LEADING </item> + <item> LEFT </item> + <item> LENGTH </item> + <item> LESS </item> + <item> LEVEL </item> + <item> LIKE </item> + <item> LIMIT </item> + <item> LISTEN </item> + <item> LOAD </item> + <item> LOCAL </item> + <item> LOCALTIME </item> + <item> LOCALTIMESTAMP </item> + <item> LOCATION </item> + <item> LOCATOR </item> + <item> LOCK </item> + <item> LOWER </item> + <item> M </item> + <item> MAP </item> + <item> MATCH </item> + <item> MAX </item> + <item> MAXVALUE </item> + <item> MESSAGE_LENGTH </item> + <item> MESSAGE_OCTET_LENGTH </item> + <item> MESSAGE_TEXT </item> + <item> METHOD </item> + <item> MIN </item> + <item> MINUTE </item> + <item> MINVALUE </item> + <item> MOD </item> + <item> MODE </item> + <item> MODIFIES </item> + <item> MODIFY </item> + <item> MODULE </item> + <item> MONTH </item> + <item> MORE </item> + <item> MOVE </item> + <item> MUMPS </item> + <item> NAME </item> + <item> NAMES </item> + <item> NATIONAL </item> + <item> NATURAL </item> + <item> NEW </item> + <item> NEXT </item> + <item> NO </item> + <item> NOCREATEDB </item> + <item> NOCREATEUSER </item> + <item> NONE </item> + <item> NOT </item> + <item> NOTHING </item> + <item> NOTIFY </item> + <item> NOTNULL </item> + <item> NULL </item> + <item> NULLABLE </item> + <item> NULLIF </item> + <item> NUMBER </item> + <item> NUMERIC </item> + <item> OBJECT </item> + <item> OCTET_LENGTH </item> + <item> OF </item> + <item> OFF </item> + <item> OFFSET </item> + <item> OIDS </item> + <item> OLD </item> + <item> ON </item> + <item> ONLY </item> + <item> OPEN </item> + <item> OPERATION </item> + <item> OPERATOR </item> + <item> OPTION </item> + <item> OPTIONS </item> + <item> ORDER </item> + <item> ORDINALITY </item> + <item> OUT </item> + <item> OUTER </item> + <item> OUTPUT </item> + <item> OVERLAPS </item> + <item> OVERLAY </item> + <item> OVERRIDING </item> + <item> OWNER </item> + <item> PAD </item> + <item> PARAMETER </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> + <item> PATH </item> + <item> PENDANT </item> + <item> PLI </item> + <item> POSITION </item> + <item> POSTFIX </item> + <item> PRECISION </item> + <item> PREFIX </item> + <item> PREORDER </item> + <item> PREPARE </item> + <item> PRESERVE </item> + <item> PRIMARY </item> + <item> PRIOR </item> + <item> PRIVILEGES </item> + <item> PROCEDURAL </item> + <item> PROCEDURE </item> + <item> PUBLIC </item> + <item> READ </item> + <item> READS </item> + <item> REAL </item> + <item> RECURSIVE </item> + <item> REF </item> + <item> REFERENCES </item> + <item> REFERENCING </item> + <item> REINDEX </item> + <item> RELATIVE </item> + <item> RENAME </item> + <item> REPEATABLE </item> + <item> REPLACE </item> + <item> RESET </item> + <item> RESTRICT </item> + <item> RESULT </item> + <item> RETURN </item> + <item> RETURNED_LENGTH </item> + <item> RETURNED_OCTET_LENGTH </item> + <item> RETURNED_SQLSTATE </item> + <item> RETURNS </item> + <item> REVOKE </item> + <item> RIGHT </item> + <item> ROLE </item> + <item> ROLLBACK </item> + <item> ROLLUP </item> + <item> ROUTINE </item> + <item> ROUTINE_CATALOG </item> + <item> ROUTINE_NAME </item> + <item> ROUTINE_SCHEMA </item> + <item> ROW </item> + <item> ROW_COUNT </item> + <item> ROWS </item> + <item> RULE </item> + <item> SAVEPOINT </item> + <item> SCALE </item> + <item> SCHEMA </item> + <item> SCHEMA_NAME </item> + <item> SCOPE </item> + <item> SCROLL </item> + <item> SEARCH </item> + <item> SECOND </item> + <item> SECTION </item> + <item> SECURITY </item> + <item> SELECT </item> + <item> SELF </item> + <item> SENSITIVE </item> + <item> SEQUENCE </item> + <item> SERIALIZABLE </item> + <item> SERVER_NAME </item> + <item> SESSION </item> + <item> SESSION_USER </item> + <item> SET </item> + <item> SETOF </item> + <item> SETS </item> + <item> SHARE </item> + <item> SHOW </item> + <item> SIMILAR </item> + <item> SIMPLE </item> + <item> SIZE </item> + <item> SOME </item> + <item> SOURCE </item> + <item> SPACE </item> + <item> SPECIFIC </item> + <item> SPECIFIC_NAME </item> + <item> SPECIFICTYPE </item> + <item> SQL </item> + <item> SQLCODE </item> + <item> SQLERROR </item> + <item> SQLEXCEPTION </item> + <item> SQLSTATE </item> + <item> SQLWARNING </item> + <item> STABLE </item> + <item> START </item> + <item> STATE </item> + <item> STATEMENT </item> + <item> STATIC </item> + <item> STATISTICS </item> + <item> STDIN </item> + <item> STDOUT </item> + <item> STRUCTURE </item> + <item> STYLE </item> + <item> SUBCLASS_ORIGIN </item> + <item> SUBLIST </item> + <item> SUBSTRING </item> + <item> SUM </item> + <item> SYMMETRIC </item> + <item> SYSID </item> + <item> SYSTEM </item> + <item> SYSTEM_USER </item> + <item> TABLE </item> + <item> TABLE_NAME </item> + <item> TEMP </item> + <item> TEMPLATE </item> + <item> TEMPORARY </item> + <item> TERMINATE </item> + <item> THAN </item> + <item> THEN </item> + <item> TIMEZONE_HOUR </item> + <item> TIMEZONE_MINUTE </item> + <item> TO </item> + <item> TOAST </item> + <item> TRAILING </item> + <item> TRANSACTION </item> + <item> TRANSACTION_ACTIVE </item> + <item> TRANSACTIONS_COMMITTED </item> + <item> TRANSACTIONS_ROLLED_BACK </item> + <item> TRANSFORM </item> + <item> TRANSFORMS </item> + <item> TRANSLATE </item> + <item> TRANSLATION </item> + <item> TREAT </item> + <item> TRIGGER </item> + <item> TRIGGER_CATALOG </item> + <item> TRIGGER_NAME </item> + <item> TRIGGER_SCHEMA </item> + <item> TRIM </item> + <item> TRUNCATE </item> + <item> TRUSTED </item> + <item> TYPE </item> + <item> UNCOMMITTED </item> + <item> UNDER </item> + <item> UNENCRYPTED </item> + <item> UNION </item> + <item> UNIQUE </item> + <item> UNKNOWN </item> + <item> UNLISTEN </item> + <item> UNNAMED </item> + <item> UNNEST </item> + <item> UNTIL </item> + <item> UPDATE </item> + <item> UPPER </item> + <item> USAGE </item> + <item> USER </item> + <item> USER_DEFINED_TYPE_CATALOG </item> + <item> USER_DEFINED_TYPE_NAME </item> + <item> USER_DEFINED_TYPE_SCHEMA </item> + <item> USING </item> + <item> VACUUM </item> + <item> VALID </item> + <item> VALUE </item> + <item> VALUES </item> + <item> VARIABLE </item> + <item> VARYING </item> + <item> VERBOSE </item> + <item> VERSION </item> + <item> VIEW </item> + <item> VOLATILE </item> + <item> WHEN </item> + <item> WHENEVER </item> + <item> WHERE </item> + <item> WITH </item> + <item> WITHOUT </item> + <item> WORK </item> + <item> WRITE </item> + <item> YEAR </item> + <item> ZONE </item> + <item> FALSE </item> + <item> TRUE </item> + </list> + <list name="operators"> + <item> + </item> + <item> - </item> + <item> * </item> + <item> / </item> + <item> || </item> + <item> |/ </item> + <item> ||/ </item> + <item> ! </item> + <item> !! </item> + <item> @ </item> + <item> & </item> + <item> | </item> + <item> # </item> + <item> << </item> + <item> >> </item> + <item> % </item> + <item> ^ </item> + <item> = </item> + <item> != </item> + <item> <> </item> + <item> < </item> + <item> <= </item> + <item> > </item> + <item> >= </item> + <item> ~ </item> + <item> ~* </item> + <item> !~ </item> + <item> !~* </item> + <item> ^= </item> + <item> := </item> + <item> => </item> + <item> ** </item> + <item> .. </item> + <item> AND </item> + <item> OR </item> + <item> NOT </item> + <!-- geometric --> + <item> ## </item> + <item> && </item> + <item> &< </item> + <item> &> </item> + <item> <-> </item> + <item> <^ </item> + <item> >^ </item> + <item> ?# </item> + <item> ?- </item> + <item> ?-| </item> + <item> @-@ </item> + <item> ?| </item> + <item> ?|| </item> + <item> @@ </item> + <item> ~= </item> + <!-- network address type --> + <item> <<= </item> + <item> >>= </item> + </list> + <list name="functions"> + <!-- math --> + <item> ABS </item> + <item> CBRT </item> + <item> CEIL </item> + <item> DEGREES </item> + <item> EXP </item> + <item> FLOOR </item> + <item> LN </item> + <item> LOG </item> + <item> MOD </item> + <item> PI </item> + <item> POW </item> + <item> RADIANS </item> + <item> RANDOM </item> + <item> ROUND </item> + <item> SIGN </item> + <item> SQRT </item> + <item> TRUNC </item> + <!-- trig --> + <item> ACOS </item> + <item> ASIN </item> + <item> ATAN </item> + <item> ATAN2 </item> + <item> COS </item> + <item> COT </item> + <item> SIN </item> + <item> TAN </item> + <!-- string --> + <item> BIT_LENGTH </item> + <item> CHAR_LENGTH </item> + <item> CHARACTER_LENGTH </item> + <item> LOWER </item> + <item> OCTET_LENGTH </item> + <item> POSITION </item> + <item> SUBSTRING </item> + <item> TRIM </item> + <item> UPPER </item> + <!-- other string --> + <item> ASCII </item> + <item> BTRIM </item> + <item> CHR </item> + <item> CONVERT </item> + <item> INITCAP </item> + <item> LENGTH </item> + <item> LPAD </item> + <item> LTRIM </item> + <item> PG_CLIENT_ENCODING </item> + <item> REPEAT </item> + <item> RPAD </item> + <item> RTRIM </item> + <item> STRPOS </item> + <item> SUBSTR </item> + <item> TO_ASCII </item> + <item> TRANSLATE </item> + <item> ENCODE </item> + <item> DECODE </item> + <!-- data type formatting --> + <item> TO_CHAR </item> + <item> TO_DATE </item> + <item> TO_TIMESTAMP </item> + <item> TO_NUMBER </item> + <!-- date/time --> + <item> AGE </item> + <item> DATE_PART </item> + <item> DATE_TRUNC </item> + <item> EXTRACT </item> + <item> ISFINITE </item> + <item> NOW </item> + <item> TIMEOFDAY </item> + <item> TIMESTAMP </item> + <item> EXTRACT </item> + <!-- geometric --> + <item> AREA </item> + <item> BOX </item> + <item> CENTER </item> + <item> DIAMETER </item> + <item> HEIGHT </item> + <item> ISCLOSED </item> + <item> ISOPEN </item> + <item> PCLOSE </item> + <item> NPOINT </item> + <item> POPEN </item> + <item> RADIUS </item> + <item> WIDTH </item> + <!-- geometric type conversion --> + <item> BOX </item> + <item> CIRCLE </item> + <item> LSEG </item> + <item> PATH </item> + <item> POINT </item> + <item> POLYGON </item> + <!-- network address type, TEXT is omitted as its more commonly a data type --> + <item> BROADCAST </item> + <item> HOST </item> + <item> MASKLEN </item> + <item> SET_MASKLEN </item> + <item> NETMASK </item> + <item> NETWORK </item> + <item> ABBREV </item> + <!-- sequence manipulation --> + <item> NEXTVAL </item> + <item> CURRVAL </item> + <item> SETVAL </item> + <!-- conditional expressions --> + <item> COALESCE </item> + <item> NULLIF </item> + <!-- misc --> + <item> HAS_TABLE_PRIVILEGE </item> + <item> PG_GET_VIEWDEF </item> + <item> PG_GET_RULEDEF </item> + <item> PG_GET_INDEXDEF </item> + <item> PG_GET_USERBYID </item> + <item> OBJ_DESCRIPTION </item> + <item> COL_DESCRIPTION </item> + <!-- aggregate --> + <item> AVG </item> + <item> COUNT </item> + <item> MAX </item> + <item> MIN </item> + <item> STDDEV </item> + <item> SUM </item> + <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> BOX </item> + <item> BYTEA </item> + <item> CHARACTER </item> + <item> CHAR </item> + <item> CHARACTER VARYING </item> + <item> VARCHAR </item> + <item> CIDR </item> + <item> CIRCLE </item> + <item> DATE </item> + <item> DOUBLE PRECISION </item> + <item> FLOAT8 </item> + <item> INET </item> + <item> INTEGER </item> + <item> INT </item> + <item> INT4 </item> + <item> INTERVAL </item> + <item> LINE </item> + <item> LSEG </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> TEXT </item> + <item> TIME </item> + <item> TIMETZ </item> + <item> TIMESTAMP </item> + <item> TIMESTAMPTZ </item> + <item> TIMESTAMP WITH TIMEZONE </item> + </list> + <contexts> + <context name="Normal" attribute="Normal Text" lineEndContext="#stay"> + <keyword attribute="Keyword" context="#stay" String="keywords"/> + <keyword attribute="Operator" context="#stay" String="operators"/> + <keyword attribute="Function" context="#stay" String="functions"/> + <keyword attribute="Data Type" context="#stay" String="types"/> + <RegExpr attribute="Data Type" context="#stay" String="%bulk_exceptions\b" insensitive="true"/> + <RegExpr attribute="Data Type" context="#stay" String="%bulk_rowcount\b" insensitive="true"/> + <RegExpr attribute="Data Type" context="#stay" String="%found\b" insensitive="true"/> + <RegExpr attribute="Data Type" context="#stay" String="%isopen\b" insensitive="true"/> + <RegExpr attribute="Data Type" context="#stay" String="%notfound\b" insensitive="true"/> + <RegExpr attribute="Data Type" context="#stay" String="%rowcount\b" insensitive="true"/> + <RegExpr attribute="Data Type" context="#stay" String="%rowtype\b" insensitive="true"/> + <RegExpr attribute="Data Type" context="#stay" String="%type\b" insensitive="true"/> + <Float attribute="Float" context="#stay"/> + <Int attribute="Decimal" context="#stay"/> + <DetectChar attribute="String" context="String" char="'"/> + <DetectChar attribute="Comment" context="SingleLineComment" char="#"/> + <Detect2Chars attribute="Comment" context="SingleLineComment" char="-" char1="-"/> + <Detect2Chars attribute="Comment" context="MultiLineComment" char="/" char1="*" beginRegion="Comment"/> + <RegExpr attribute="Comment" context="SingleLineComment" String="rem\b" insensitive="true" column="0"/> + <DetectChar attribute="Comment" context="Identifier" char="""/> + <AnyChar attribute="Symbol" context="#stay" String=":&"/> + <RegExpr attribute="Symbol" context="#stay" String="/$" column="0"/> + <RegExpr attribute="Preprocessor" context="Preprocessor" String="@@?[^@ \t\r\n]" column="0"/> + </context> + <context name="String" attribute="String" lineEndContext="#stay"> + <LineContinue attribute="String" context="#pop"/> + <HlCStringChar attribute="String Char" context="#stay"/> + <DetectChar attribute="Symbol" context="#stay" char="&"/> + <DetectChar attribute="String" context="#pop" char="'"/> + </context> + <context name="SingleLineComment" attribute="Comment" lineEndContext="#pop"/> + <context name="MultiLineComment" attribute="Comment" lineEndContext="#stay"> + <LineContinue attribute="Comment" context="#pop"/> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment"/> + </context> + <context name="Identifier" attribute="Identifier" lineEndContext="#pop"> + <DetectChar attribute="Identifier" context="#pop" char="""/> + </context> + <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"/> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="singleLine" start="--"/> + <comment name="multiLine" start="/*" end="*/"/> + </comments> + <keywords casesensitive="0" weakDeliminator="+-*/|!@&#<>%^=~:.?"/> + </general> +</language> diff --git a/kate/data/sql.xml b/kate/data/sql.xml new file mode 100644 index 000000000..70a9f11ce --- /dev/null +++ b/kate/data/sql.xml @@ -0,0 +1,951 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<!-- 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.13" kateversion="2.4" section="Database" extensions="*.sql;*.SQL" mimetype="text/x-sql" casesensitive="0" author="Yury Lebedev (yurylebedev@mail.ru)" license="LGPL"> + <highlighting> + <list name="keywords"> + <item> ACCESS </item> + <item> ACCOUNT </item> + <item> ADD </item> + <item> ADMIN </item> + <item> ADMINISTER </item> + <item> ADVISE </item> + <item> AFTER </item> + <item> AGENT </item> + <item> ALL </item> + <item> ALL_ROWS </item> + <item> ALLOCATE </item> + <item> ALTER </item> + <item> ANALYZE </item> + <item> ANCILLARY </item> + <item> AND </item> + <item> ANY </item> + <item> ARCHIVE </item> + <item> ARCHIVELOG </item> + <item> AS </item> + <item> ASC </item> + <item> ASSERTION </item> + <item> ASSOCIATE </item> + <item> AT </item> + <item> ATTRIBUTE </item> + <item> ATTRIBUTES </item> + <item> AUDIT </item> + <item> AUTHENTICATED </item> + <item> AUTHID </item> + <item> AUTHORIZATION </item> + <item> AUTOALLOCATE </item> + <item> AUTOEXTEND </item> + <item> AUTOMATIC </item> + <item> BACKUP </item> + <item> BECOME </item> + <item> BEFORE </item> + <item> BEGIN </item> + <item> BEHALF </item> + <item> BETWEEN </item> + <item> BINDING </item> + <item> BITMAP </item> + <item> BLOCK </item> + <item> BLOCK_RANGE </item> + <item> BODY </item> + <item> BOUND </item> + <item> BOTH </item> + <item> BREAK </item> + <item> BROADCAST </item> + <item> BTITLE </item> + <item> BUFFER_POOL </item> + <item> BUILD </item> + <item> BULK </item> + <item> BY </item> + <item> CACHE </item> + <item> CACHE_INSTANCES </item> + <item> CALL </item> + <item> CANCEL </item> + <item> CASCADE </item> + <item> CASE </item> + <item> CATEGORY </item> + <item> CHAINED </item> + <item> CHANGE </item> + <item> CHECK </item> + <item> CHECKPOINT </item> + <item> CHILD </item> + <item> CHOOSE </item> + <item> CHUNK </item> + <item> CLASS </item> + <item> CLEAR </item> + <item> CLONE </item> + <item> CLOSE </item> + <item> CLOSE_CACHED_OPEN_CURSORS </item> + <item> CLUSTER </item> + <item> COALESCE </item> + <item> COLUMN </item> + <item> COLUMNS </item> + <item> COLUMN_VALUE </item> + <item> COMMENT </item> + <item> COMMIT </item> + <item> COMMITTED </item> + <item> COMPATIBILITY </item> + <item> COMPILE </item> + <item> COMPLETE </item> + <item> COMPOSITE_LIMIT </item> + <item> COMPRESS </item> + <item> COMPUTE </item> + <item> CONNECT </item> + <item> CONNECT_TIME </item> + <item> CONSIDER </item> + <item> CONSISTENT </item> + <item> CONSTANT </item> + <item> CONSTRAINT </item> + <item> CONSTRAINTS </item> + <item> CONTAINER </item> + <item> CONTENTS </item> + <item> CONTEXT </item> + <item> CONTINUE </item> + <item> CONTROLFILE </item> + <item> COPY </item> + <item> COST </item> + <item> CPU_PER_CALL </item> + <item> CPU_PER_SESSION </item> + <item> CREATE </item> + <item> CREATE_STORED_OUTLINES </item> + <item> CROSS </item> + <item> CUBE </item> + <item> CURRENT </item> + <item> CURSOR </item> + <item> CYCLE </item> + <item> DANGLING </item> + <item> DATA </item> + <item> DATABASE </item> + <item> DATAFILE </item> + <item> DATAFILES </item> + <item> DBA </item> + <item> DDL </item> + <item> DEALLOCATE </item> + <item> DEBUG </item> + <item> DECLARE </item> + <item> DEFAULT </item> + <item> DEFERRABLE </item> + <item> DEFERRED </item> + <item> DEFINER </item> + <item> DEGREE </item> + <item> DELETE </item> + <item> DEMAND </item> + <item> DESC </item> + <item> DETERMINES </item> + <item> DICTIONARY </item> + <item> DIMENSION </item> + <item> DIRECTORY </item> + <item> DISABLE </item> + <item> DISASSOCIATE </item> + <item> DISCONNECT </item> + <item> DISKGROUP </item> + <item> DISMOUNT </item> + <item> DISTINCT </item> + <item> DISTRIBUTED </item> + <item> DOMAIN </item> + <item> DROP </item> + <item> DYNAMIC </item> + <item> EACH </item> + <item> ELSE </item> + <item> ELSIF </item> + <item> EMPTY </item> + <item> ENABLE </item> + <item> END </item> + <item> ENFORCE </item> + <item> ENTRY </item> + <item> ESCAPE </item> + <item> ESTIMATE </item> + <item> EVENTS </item> + <item> EXCEPT </item> + <item> EXCEPTION </item> + <item> EXCEPTIONS </item> + <item> EXCHANGE </item> + <item> EXCLUDING </item> + <item> EXCLUSIVE </item> + <item> EXEC </item> + <item> EXECUTE </item> + <item> EXISTS </item> + <item> EXPIRE </item> + <item> EXPLAIN </item> + <item> EXPLOSION </item> + <item> EXTENDS </item> + <item> EXTENT </item> + <item> EXTENTS </item> + <item> EXTERNALLY </item> + <item> FAILED_LOGIN_ATTEMPTS </item> + <item> FALSE </item> + <item> FAST </item> + <item> FILE </item> + <item> FILTER </item> + <item> FIRST_ROWS </item> + <item> FLAGGER </item> + <item> FLASHBACK </item> + <item> FLUSH </item> + <item> FOLLOWING </item> + <item> FOR </item> + <item> FORCE </item> + <item> FOREIGN </item> + <item> FREELIST </item> + <item> FREELISTS </item> + <item> FRESH </item> + <item> FROM </item> + <item> FULL </item> + <item> FUNCTION </item> + <item> FUNCTIONS </item> + <item> GENERATED </item> + <item> GLOBAL </item> + <item> GLOBALLY </item> + <item> GLOBAL_NAME </item> + <item> GRANT </item> + <item> GROUP </item> + <item> GROUPS </item> + <item> HASH </item> + <item> HASHKEYS </item> + <item> HAVING </item> + <item> HEADER </item> + <item> HEAP </item> + <item> HIERARCHY </item> + <item> HOUR </item> + <item> ID </item> + <item> IDENTIFIED </item> + <item> IDENTIFIER </item> + <item> IDGENERATORS </item> + <item> IDLE_TIME </item> + <item> IF </item> + <item> IMMEDIATE </item> + <item> IN </item> + <item> INCLUDING </item> + <item> INCREMENT </item> + <item> INCREMENTAL </item> + <item> INDEX </item> + <item> INDEXED </item> + <item> INDEXES </item> + <item> INDEXTYPE </item> + <item> INDEXTYPES </item> + <item> INDICATOR </item> + <item> INITIAL </item> + <item> INITIALIZED </item> + <item> INITIALLY </item> + <item> INITRANS </item> + <item> INNER </item> + <item> INSERT </item> + <item> INSTANCE </item> + <item> INSTANCES </item> + <item> INSTEAD </item> + <item> INTERMEDIATE </item> + <item> INTERSECT </item> + <item> INTO </item> + <item> INVALIDATE </item> + <item> IS </item> + <item> ISOLATION </item> + <item> ISOLATION_LEVEL </item> + <item> JAVA </item> + <item> JOIN </item> + <item> KEEP </item> + <item> KEY </item> + <item> KILL </item> + <item> LABEL </item> + <item> LAYER </item> + <item> LEADING </item> + <item> LEFT </item> + <item> LESS </item> + <item> LEVEL </item> + <item> LIBRARY </item> + <item> LIKE </item> + <item> LIMIT </item> + <item> LINK </item> + <item> LIST </item> + <item> LOCAL </item> + <item> LOCATOR </item> + <item> LOCK </item> + <item> LOCKED </item> + <item> LOGFILE </item> + <item> LOGGING </item> + <item> LOGICAL_READS_PER_CALL </item> + <item> LOGICAL_READS_PER_SESSION </item> + <item> LOGOFF </item> + <item> LOGON </item> + <item> LOOP </item> + <item> MANAGE </item> + <item> MANAGED </item> + <item> MANAGEMENT </item> + <item> MASTER </item> + <item> MATERIALIZED </item> + <item> MAXARCHLOGS </item> + <item> MAXDATAFILES </item> + <item> MAXEXTENTS </item> + <item> MAXINSTANCES </item> + <item> MAXLOGFILES </item> + <item> MAXLOGHISTORY </item> + <item> MAXLOGMEMBERS </item> + <item> MAXSIZE </item> + <item> MAXTRANS </item> + <item> MAXVALUE </item> + <item> METHOD </item> + <item> MEMBER </item> + <item> MERGE </item> + <item> MINIMIZE </item> + <item> MINIMUM </item> + <item> MINEXTENTS </item> + <item> MINUS </item> + <item> MINUTE </item> + <item> MINVALUE </item> + <item> MODE </item> + <item> MODIFY </item> + <item> MONITORING </item> + <item> MOUNT </item> + <item> MOVE </item> + <item> MOVEMENT </item> + <item> MTS_DISPATCHERS </item> + <item> MULTISET </item> + <item> NAMED </item> + <item> NATURAL </item> + <item> NEEDED </item> + <item> NESTED </item> + <item> NESTED_TABLE_ID </item> + <item> NETWORK </item> + <item> NEVER </item> + <item> NEW </item> + <item> NEXT </item> + <item> NLS_CALENDAR </item> + <item> NLS_CHARACTERSET </item> + <item> NLS_COMP </item> + <item> NLS_CURRENCY </item> + <item> NLS_DATE_FORMAT </item> + <item> NLS_DATE_LANGUAGE </item> + <item> NLS_ISO_CURRENCY </item> + <item> NLS_LANG </item> + <item> NLS_LANGUAGE </item> + <item> NLS_NUMERIC_CHARACTERS </item> + <item> NLS_SORT </item> + <item> NLS_SPECIAL_CHARS </item> + <item> NLS_TERRITORY </item> + <item> NO </item> + <item> NOARCHIVELOG </item> + <item> NOAUDIT </item> + <item> NOCACHE </item> + <item> NOCOMPRESS </item> + <item> NOCYCLE </item> + <item> NOFORCE </item> + <item> NOLOGGING </item> + <item> NOMAXVALUE </item> + <item> NOMINIMIZE </item> + <item> NOMINVALUE </item> + <item> NOMONITORING </item> + <item> NONE </item> + <item> NOORDER </item> + <item> NOOVERRIDE </item> + <item> NOPARALLEL </item> + <item> NORELY </item> + <item> NORESETLOGS </item> + <item> NOREVERSE </item> + <item> NORMAL </item> + <item> NOSEGMENT </item> + <item> NOSORT </item> + <item> NOT </item> + <item> NOTHING </item> + <item> NOVALIDATE </item> + <item> NOWAIT </item> + <item> NULL </item> + <item> NULLS </item> + <item> OBJNO </item> + <item> OBJNO_REUSE </item> + <item> OF </item> + <item> OFF </item> + <item> OFFLINE </item> + <item> OID </item> + <item> OIDINDEX </item> + <item> OLD </item> + <item> ON </item> + <item> ONLINE </item> + <item> ONLY </item> + <item> OPCODE </item> + <item> OPEN </item> + <item> OPERATOR </item> + <item> OPTIMAL </item> + <item> OPTIMIZER_GOAL </item> + <item> OPTION </item> + <item> OR </item> + <item> ORDER </item> + <item> ORGANIZATION </item> + <item> OUT </item> + <item> OUTER </item> + <item> OUTLINE </item> + <item> OVER </item> + <item> OVERFLOW </item> + <item> OVERLAPS </item> + <item> OWN </item> + <item> PACKAGE </item> + <item> PACKAGES </item> + <item> PARALLEL </item> + <item> PARAMETERS </item> + <item> PARENT </item> + <item> PARTITION </item> + <item> PARTITIONS </item> + <item> PARTITION_HASH </item> + <item> PARTITION_RANGE </item> + <item> PASSWORD </item> + <item> PASSWORD_GRACE_TIME </item> + <item> PASSWORD_LIFE_TIME </item> + <item> PASSWORD_LOCK_TIME </item> + <item> PASSWORD_REUSE_MAX </item> + <item> PASSWORD_REUSE_TIME </item> + <item> PASSWORD_VERIFY_FUNCTION </item> + <item> PCTFREE </item> + <item> PCTINCREASE </item> + <item> PCTTHRESHOLD </item> + <item> PCTUSED </item> + <item> PCTVERSION </item> + <item> PERCENT </item> + <item> PERMANENT </item> + <item> PLAN </item> + <item> PLSQL_DEBUG </item> + <item> POST_TRANSACTION </item> + <item> PREBUILT </item> + <item> PRECEDING </item> + <item> PREPARE </item> + <item> PRESENT </item> + <item> PRESERVE </item> + <item> PREVIOUS </item> + <item> PRIMARY </item> + <item> PRIOR </item> + <item> PRIVATE </item> + <item> PRIVATE_SGA </item> + <item> PRIVILEGE </item> + <item> PRIVILEGES </item> + <item> PROCEDURE </item> + <item> PROFILE </item> + <item> PUBLIC </item> + <item> PURGE </item> + <item> QUERY </item> + <item> QUEUE </item> + <item> QUOTA </item> + <item> RANDOM </item> + <item> RANGE </item> + <item> RBA </item> + <item> READ </item> + <item> READS </item> + <item> REBUILD </item> + <item> RECORDS_PER_BLOCK </item> + <item> RECOVER </item> + <item> RECOVERABLE </item> + <item> RECOVERY </item> + <item> RECYCLE </item> + <item> REDUCED </item> + <item> REFERENCES </item> + <item> REFERENCING </item> + <item> REFRESH </item> + <item> RELY </item> + <item> RENAME </item> + <item> REPLACE </item> + <item> RESET </item> + <item> RESETLOGS </item> + <item> RESIZE </item> + <item> RESOLVE </item> + <item> RESOLVER </item> + <item> RESOURCE </item> + <item> RESTRICT </item> + <item> RESTRICTED </item> + <item> RESUME </item> + <item> RETURN </item> + <item> RETURNING </item> + <item> REUSE </item> + <item> REVERSE </item> + <item> REVOKE </item> + <item> REWRITE </item> + <item> RIGHT </item> + <item> ROLE </item> + <item> ROLES </item> + <item> ROLLBACK </item> + <item> ROLLUP </item> + <item> ROW </item> + <item> ROWNUM </item> + <item> ROWS </item> + <item> RULE </item> + <item> SAMPLE </item> + <item> SAVEPOINT </item> + <item> SCAN </item> + <item> SCAN_INSTANCES </item> + <item> SCHEMA </item> + <item> SCN </item> + <item> SCOPE </item> + <item> SD_ALL </item> + <item> SD_INHIBIT </item> + <item> SD_SHOW </item> + <item> SEGMENT </item> + <item> SEG_BLOCK </item> + <item> SEG_FILE </item> + <item> SELECT </item> + <item> SELECTIVITY </item> + <item> SEQUENCE </item> + <item> SERIALIZABLE </item> + <item> SERVERERROR </item> + <item> SESSION </item> + <item> SESSION_CACHED_CURSORS </item> + <item> SESSIONS_PER_USER </item> + <item> SET </item> + <item> SHARE </item> + <item> SHARED </item> + <item> SHARED_POOL </item> + <item> SHRINK </item> + <item> SHUTDOWN </item> + <item> SINGLETASK </item> + <item> SIZE </item> + <item> SKIP </item> + <item> SKIP_UNUSABLE_INDEXES </item> + <item> SNAPSHOT </item> + <item> SOME </item> + <item> SORT </item> + <item> SOURCE </item> + <item> SPECIFICATION </item> + <item> SPLIT </item> + <item> SQL_TRACE </item> + <item> STANDBY </item> + <item> START </item> + <item> STARTUP </item> + <item> STATEMENT_ID </item> + <item> STATISTICS </item> + <item> STATIC </item> + <item> STOP </item> + <item> STORAGE </item> + <item> STORE </item> + <item> STRUCTURE </item> + <item> SUBMULTISET </item> + <item> SUBPARTITION </item> + <item> SUBPARTITIONS </item> + <item> SUCCESSFUL </item> + <item> SUMMARY </item> + <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> TABLE </item> + <item> TABLES </item> + <item> TABLESPACE </item> + <item> TABLESPACE_NO </item> + <item> TABNO </item> + <item> TEMPFILE </item> + <item> TEMPORARY </item> + <item> THAN </item> + <item> THE </item> + <item> THEN </item> + <item> THREAD </item> + <item> THROUGH </item> + <item> TIMEOUT </item> + <item> TIMEZONE_HOUR </item> + <item> TIMEZONE_MINUTE </item> + <item> TIME_ZONE </item> + <item> TO </item> + <item> TOPLEVEL </item> + <item> TRACE </item> + <item> TRACING </item> + <item> TRAILING </item> + <item> TRANSACTION </item> + <item> TRANSITIONAL </item> + <item> TRIGGER </item> + <item> TRIGGERS </item> + <item> TRUE </item> + <item> TRUNCATE </item> + <item> TYPE </item> + <item> TYPES </item> + <item> UNARCHIVED </item> + <item> UNBOUND </item> + <item> UNBOUNDED </item> + <item> UNDO </item> + <item> UNIFORM </item> + <item> UNION </item> + <item> UNIQUE </item> + <item> UNLIMITED </item> + <item> UNLOCK </item> + <item> UNRECOVERABLE </item> + <item> UNTIL </item> + <item> UNUSABLE </item> + <item> UNUSED </item> + <item> UPD_INDEXES </item> + <item> UPDATABLE </item> + <item> UPDATE </item> + <item> UPPPER </item> + <item> USAGE </item> + <item> USE </item> + <item> USE_STORED_OUTLINES </item> + <item> USER_DEFINED </item> + <item> USING </item> + <item> VALIDATE </item> + <item> VALIDATION </item> + <item> VALUES </item> + <item> VIEW </item> + <item> WHEN </item> + <item> WHENEVER </item> + <item> WHERE </item> + <item> WITH </item> + <item> WITHOUT </item> + <item> WORK </item> + <item> WRITE </item> + </list> + <list name="operators"> + <item> + </item> + <item> - </item> + <item> * </item> + <item> / </item> + <item> || </item> + <item> = </item> + <item> != </item> + <item> <> </item> + <item> < </item> + <item> <= </item> + <item> > </item> + <item> >= </item> + <item> ~= </item> + <item> ^= </item> + <item> := </item> + <item> => </item> + <item> ** </item> + <item> .. </item> + </list> + <list name="functions"> + <item> ABS </item> + <item> ACOS </item> + <item> ADD_MONTHS </item> + <item> ASCII </item> + <item> ASCIISTR </item> + <item> ASIN </item> + <item> ATAN </item> + <item> ATAN2 </item> + <item> AVG </item> + <item> BFILENAME </item> + <item> BIN_TO_NUM </item> + <item> BITAND </item> + <item> CARDINALITY </item> + <item> CAST </item> + <item> CEIL </item> + <item> CHARTOROWID </item> + <item> CHR </item> + <item> COALESCE </item> + <item> COLLECT </item> + <item> COMPOSE </item> + <item> CONCAT </item> + <item> CONVERT </item> + <item> CORR </item> + <item> CORR_K </item> + <item> CORR_S </item> + <item> COS </item> + <item> COSH </item> + <item> COUNT </item> + <item> COVAR_POP </item> + <item> COVAR_SAMP </item> + <item> CUME_DIST </item> + <item> CURRENT_DATE </item> + <item> CURRENT_TIMESTAMP </item> + <item> CV </item> + <item> DBTIMEZONE </item> + <item> DECODE </item> + <item> DECOMPOSE </item> + <item> DENSE_RANK </item> + <item> DEPTH </item> + <item> DEREF </item> + <item> DUMP </item> + <item> EMPTY_BLOB </item> + <item> EMPTY_CLOB </item> + <item> EXISTSNODE </item> + <item> EXP </item> + <item> EXTRACT </item> + <item> EXTRACTVALUE </item> + <item> FIRST </item> + <item> FIRST_VALUE </item> + <item> FLOOR </item> + <item> FROM_TZ </item> + <item> GREATEST </item> + <item> GROUP_ID </item> + <item> GROUPING </item> + <item> GROUPING_ID </item> + <item> HEXTORAW </item> + <item> INITCAP </item> + <item> INSTR </item> + <item> INSTRB </item> + <item> LAG </item> + <item> LAST </item> + <item> LAST_DAY </item> + <item> LAST_VALUE </item> + <item> LEAD </item> + <item> LEAST </item> + <item> LENGTH </item> + <item> LENGTHB </item> + <item> LN </item> + <item> LNNVL </item> + <item> LOCALTIMESTAMP </item> + <item> LOG </item> + <item> LOWER </item> + <item> LPAD </item> + <item> LTRIM </item> + <item> MAKE_REF </item> + <item> MAX </item> + <item> MEDIAN </item> + <item> MIN </item> + <item> MOD </item> + <item> MONTHS_BETWEEN </item> + <item> NANVL </item> + <item> NCHR </item> + <item> NEW_TIME </item> + <item> NEXT_DAY </item> + <item> NLS_CHARSET_DECL_LEN </item> + <item> NLS_CHARSET_ID </item> + <item> NLS_CHARSET_NAME </item> + <item> NLS_INITCAP </item> + <item> NLS_LOWER </item> + <item> NLS_UPPER </item> + <item> NLSSORT </item> + <item> NTILE </item> + <item> NULLIF </item> + <item> NUMTODSINTERVAL </item> + <item> NUMTOYMINTERVAL </item> + <item> NVL </item> + <item> NVL2 </item> + <item> ORA_HASH </item> + <item> ORA_ROWSCN </item> + <item> PERCENT_RANK </item> + <item> PERCENTILE_CONT </item> + <item> PERCENTILE_DISC </item> + <item> POWER </item> + <item> POWERMULTISET </item> + <item> POWERMULTISET_BY_CARDINALITY </item> + <item> PRESENTNNV </item> + <item> PRESENTV </item> + <item> RANK </item> + <item> RATIO_TO_REPORT </item> + <item> RAWTOHEX </item> + <item> RAWTONHEX </item> + <item> REF </item> + <item> REFTOHEX </item> + <item> REGEXP_INSTR </item> + <item> REGEXP_LIKE </item> + <item> REGEXP_REPLACE </item> + <item> REGEXP_SUBSTR </item> + <item> REGR_SLOPE </item> + <item> REGR_INTERCEPT </item> + <item> REGR_COUNT </item> + <item> REGR_R2 </item> + <item> REGR_AVGX </item> + <item> REGR_AVGY </item> + <item> REGR_SXX </item> + <item> REGR_SYY </item> + <item> REGR_SXY </item> + <item> REMAINDER </item> + <item> ROUND </item> + <item> ROW_NUMBER </item> + <item> ROWIDTOCHAR </item> + <item> ROWIDTONCHAR </item> + <item> RPAD </item> + <item> RTRIM </item> + <item> SCN_TO_TIMESTAMP </item> + <item> SESSIONTIMEZONE </item> + <item> SIGN </item> + <item> SIN </item> + <item> SINH </item> + <item> SOUNDEX </item> + <item> SQRT </item> + <item> STATS_BINOMIAL_TEST </item> + <item> STATS_CROSSTAB </item> + <item> STATS_F_TEST </item> + <item> STATS_KS_TEST </item> + <item> STATS_MODE </item> + <item> STATS_MW_TEST </item> + <item> STATS_ONE_WAY_ANOVA </item> + <item> STATS_T_TEST_ONE </item> + <item> STATS_T_TEST_PAIRED </item> + <item> STATS_T_TEST_INDEP </item> + <item> STATS_T_TEST_INDEPU </item> + <item> STATS_WSR_TEST </item> + <item> STDDEV </item> + <item> STDDEV_POP </item> + <item> STDDEV_SAMP </item> + <item> SUBSTR </item> + <item> SUBSTRB </item> + <item> SUM </item> + <item> SYS_CONNECT_BY_PATH </item> + <item> SYS_CONTEXT </item> + <item> SYS_DBURIGEN </item> + <item> SYS_EXTRACT_UTC </item> + <item> SYS_GUID </item> + <item> SYS_TYPEID </item> + <item> SYS_XMLAGG </item> + <item> SYS_XMLGEN </item> + <item> SYSDATE </item> + <item> SYSTIMESTAMP </item> + <item> TAN </item> + <item> TANH </item> + <item> TIMESTAMP_TO_SCN </item> + <item> TO_BINARY_DOUBLE </item> + <item> TO_BINARY_FLOAT </item> + <item> TO_CHAR </item> + <item> TO_CLOB </item> + <item> TO_DATE </item> + <item> TO_DSINTERVAL </item> + <item> TO_LOB </item> + <item> TO_MULTI_BYTE </item> + <item> TO_NCHAR </item> + <item> TO_NCLOB </item> + <item> TO_NUMBER </item> + <item> TO_SINGLE_BYTE </item> + <item> TO_TIMESTAMP </item> + <item> TO_TIMESTAMP_TZ </item> + <item> TO_YMINTERVAL </item> + <item> TRANSLATE </item> + <item> TREAT </item> + <item> TRIM </item> + <item> TRUNC </item> + <item> TZ_OFFSET </item> + <item> UID </item> + <item> UNISTR </item> + <item> UPDATEXML </item> + <item> UPPER </item> + <item> USER </item> + <item> USERENV </item> + <item> VALUE </item> + <item> VAR_POP </item> + <item> VAR_SAMP </item> + <item> VARIANCE </item> + <item> VSIZE </item> + <item> WIDTH_BUCKET </item> + <item> XMLAGG </item> + <item> XMLCOLATTVAL </item> + <item> XMLCONCAT </item> + <item> XMLELEMENT </item> + <item> XMLFOREST </item> + <item> XMLSEQUENCE </item> + <item> XMLTRANSFORM </item> + </list> + <list name="types"> + <item> ANYDATA </item> + <item> ANYDATASET </item> + <item> ANYTYPE </item> + <item> ARRAY </item> + <item> BFILE </item> + <item> BINARY_DOUBLE </item> + <item> BINARY_FLOAT </item> + <item> BINARY_INTEGER </item> + <item> BLOB </item> + <item> BOOLEAN </item> + <item> CFILE </item> + <item> CHAR </item> + <item> CHARACTER </item> + <item> CLOB </item> + <item> DATE </item> + <item> DAY </item> + <item> DBURITYPE </item> + <item> DEC </item> + <item> DECIMAL </item> + <item> DOUBLE </item> + <item> FLOAT </item> + <item> FLOB </item> + <item> HTTPURITYPE </item> + <item> INT </item> + <item> INTEGER </item> + <item> INTERVAL </item> + <item> LOB </item> + <item> LONG </item> + <item> MLSLABEL </item> + <item> MONTH </item> + <item> NATIONAL </item> + <item> NCHAR </item> + <item> NCLOB </item> + <item> NUMBER </item> + <item> NUMERIC </item> + <item> NVARCHAR </item> + <item> OBJECT </item> + <item> PLS_INTEGER </item> + <item> PRECISION </item> + <item> RAW </item> + <item> RECORD </item> + <item> REAL </item> + <item> ROWID </item> + <item> SECOND </item> + <item> SINGLE </item> + <item> SMALLINT </item> + <item> TIME </item> + <item> TIMESTAMP </item> + <item> URIFACTORYTYPE </item> + <item> URITYPE </item> + <item> UROWID </item> + <item> VARCHAR </item> + <item> VARCHAR2 </item> + <item> VARYING </item> + <item> VARRAY </item> + <item> XMLTYPE </item> + <item> YEAR </item> + <item> ZONE </item> + </list> + <contexts> + <context name="Normal" attribute="Normal Text" lineEndContext="#stay"> + <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"/> + <RegExpr attribute="Data Type" String="%bulk_exceptions\b" insensitive="true" context="#stay"/> + <RegExpr attribute="Data Type" String="%bulk_rowcount\b" insensitive="true" context="#stay"/> + <RegExpr attribute="Data Type" String="%found\b" insensitive="true" context="#stay"/> + <RegExpr attribute="Data Type" String="%isopen\b" insensitive="true" context="#stay"/> + <RegExpr attribute="Data Type" String="%notfound\b" insensitive="true" context="#stay"/> + <RegExpr attribute="Data Type" String="%rowcount\b" insensitive="true" context="#stay"/> + <RegExpr attribute="Data Type" String="%rowtype\b" insensitive="true" context="#stay"/> + <RegExpr attribute="Data Type" String="%type\b" insensitive="true" context="#stay"/> + <Float attribute="Float" context="#stay"/> + <Int attribute="Decimal" context="#stay"/> + <DetectChar attribute="String" context="String literal" char="'"/> + <Detect2Chars attribute="Comment" context="Singleline PL/SQL-style comment" char="-" char1="-"/> + <Detect2Chars attribute="Comment" context="Multiline C-style comment" char="/" char1="*"/> + <RegExpr attribute="Comment" context="SQL*Plus remark directive" String="^rem\b" insensitive="true" column="0"/> + <DetectChar attribute="Identifier" context="User-defined identifier" char="""/> + <RegExpr attribute="External Variable" context="#stay" String="(:|&&?)\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="'" /> + <HlCStringChar attribute="String Char" context="#stay"/> + <RegExpr attribute="External Variable" context="#stay" String="&&?\w+"/> + <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="/"/> + </context> + <context name="SQL*Plus remark directive" attribute="Comment" lineEndContext="#pop"/> + <context name="User-defined identifier" attribute="Identifier" lineEndContext="#pop"> + <DetectChar attribute="Identifier" context="#pop" char="""/> + </context> + <context name="SQL*Plus directive to include file" 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="External Variable" defStyleNum="dsChar"/> + <itemData name="Symbol" defStyleNum="dsChar"/> + <itemData name="Preprocessor" defStyleNum="dsOthers"/> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="singleLine" start="--"/> + <comment name="multiLine" start="/*" end="*/"/> + </comments> + <keywords casesensitive="0" weakDeliminator="+-*/|=!<>~^:."/> + </general> +</language> diff --git a/kate/data/stata.xml b/kate/data/stata.xml new file mode 100644 index 000000000..c8eb2499f --- /dev/null +++ b/kate/data/stata.xml @@ -0,0 +1,478 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="Stata" version="1.01" kateversion="2.1" section="Sources" extensions="*.ado;*.do" mimetype="" author="Edwin Leuven (e.leuven@uva.nl)" license="LGPL"> + <highlighting> + <list name="keywords"> + <item> about </item> + <item> ado </item> + <item> adjust </item> + <item> alpha </item> + <item> anova </item> + <item> anovadef </item> + <item> append </item> + <item> assert </item> + <item> arch </item> + <item> areg </item> + <item> args </item> + <item> arima </item> + <item> bar </item> + <item> binreg </item> + <item> biprobit </item> + <item> bitest </item> + <item> boxcox </item> + <item> brier </item> + <item> break </item> + <item> browse </item> + <item> bstrap </item> + <item> by </item> + <item> canon </item> + <item> cap </item> + <item> capture </item> + <item> cat </item> + <item> cd </item> + <item> centile </item> + <item> cf </item> + <item> checksum </item> + <item> ci </item> + <item> clavg </item> + <item> class </item> + <item> clist </item> + <item> clcomp </item> + <item> clear </item> + <item> clgen </item> + <item> clkmeans </item> + <item> clkmed </item> + <item> clnote </item> + <item> clogit </item> + <item> cloglog </item> + <item> clsing </item> + <item> cltree </item> + <item> cluster </item> + <item> clutil </item> + <item> cmdlog </item> + <item> cnreg </item> + <item> cnsreg </item> + <item> creturn </item> + <item> codebook </item> + <item> collapse </item> + <item> compare </item> + <item> compress </item> + <item> confirm </item> + <item> constraint </item> + <item> contract </item> + <item> continue </item> + <item> copy </item> + <item> copyright </item> + <item> corr2data </item> + <item> corr </item> + <item> correlate </item> + <item> corrgram </item> + <item> count </item> + <item> cox </item> + <item> cross </item> + <item> ct </item> + <item> ctset </item> + <item> cttost </item> + <item> cumsp </item> + <item> cumul </item> + <item> cusum </item> + <item> datatypes </item> + <item> decode </item> + <item> define </item> + <item> describe </item> + <item> destring </item> + <item> dfuller </item> + <item> diagplots </item> + <item> dir </item> + <item> discard </item> + <item> di </item> + <item> display </item> + <item> do </item> + <item> doedit </item> + <item> dotplot </item> + <item> drawnorm </item> + <item> drop </item> + <item> dstdize </item> + <item> edit </item> + <item> egen </item> + <item> eivreg </item> + <item> else </item> + <item> encode </item> + <item> end </item> + <item> epitab </item> + <item> erase </item> + <item> ereturn </item> + <item> exit </item> + <item> expand </item> + <item> export </item> + <item> factor </item> + <item> fdadescribe </item> + <item> fdasave </item> + <item> fdause </item> + <item> fillin </item> + <item> file </item> + <item> filefilter </item> + <item> flist </item> + <item> for </item> + <item> foreach </item> + <item> forv </item> + <item> forval </item> + <item> forvalues </item> + <item> format </item> + <item> fracpoly </item> + <item> g </item> + <item> gen </item> + <item> generate </item> + <item> gettoken </item> + <item> glm </item> + <item> glogit </item> + <item> gprefs </item> + <item> gr7 </item> + <item> graph7 </item> + <item> gr </item> + <item> graph </item> + <item> grmeanby </item> + <item> gsort </item> + <item> hadimvo </item> + <item> hausman </item> + <item> haver </item> + <item> heckman </item> + <item> heckprob </item> + <item> help </item> + <item> hetprob </item> + <item> hexdump </item> + <item> hilite </item> + <item> hist </item> + <item> hotel </item> + <item> if </item> + <item> icd9 </item> + <item> impute </item> + <item> in </item> + <item> infile </item> + <item> infile1 </item> + <item> infile2 </item> + <item> infiling </item> + <item> infix </item> + <item> input </item> + <item> insheet </item> + <item> inspect </item> + <item> ipolate </item> + <item> ivreg </item> + <item> jknife </item> + <item> joinby </item> + <item> kappa </item> + <item> kdensity </item> + <item> keep </item> + <item> ksm </item> + <item> ksmirnov </item> + <item> kwallis </item> + <item> label </item> + <item> ladder </item> + <item> levels </item> + <item> limits </item> + <item> lincom </item> + <item> line </item> + <item> linktest </item> + <item> list </item> + <item> lnskew0 </item> + <item> log </item> + <item> logistic </item> + <item> lowess </item> + <item> lfit </item> + <item> lstat </item> + <item> lroc </item> + <item> lsens </item> + <item> logit </item> + <item> loneway </item> + <item> lrtest </item> + <item> ltable </item> + <item> lv </item> + <item> manova </item> + <item> manovatest </item> + <item> mark </item> + <item> markin </item> + <item> markout </item> + <item> marksample </item> + <item> matsize </item> + <item> maximize </item> + <item> means </item> + <item> median </item> + <item> memory </item> + <item> merge </item> + <item> mfx </item> + <item> mkdir </item> + <item> mkspline </item> + <item> ml </item> + <item> mleval </item> + <item> mlmatbysum </item> + <item> mlmatsum </item> + <item> mlsum </item> + <item> mlvecsum </item> + <item> mlogit </item> + <item> more </item> + <item> move </item> + <item> mvencode </item> + <item> mvreg </item> + <item> nbreg </item> + <item> net </item> + <item> newey </item> + <item> news </item> + <item> nl </item> + <item> nlogit </item> + <item> nobreak </item> + <item> nois </item> + <item> noisily </item> + <item> notes </item> + <item> nptrend </item> + <item> numlist </item> + <item> obs </item> + <item> odbc </item> + <item> ologit </item> + <item> oneway </item> + <item> oprobit </item> + <item> order </item> + <item> orthog </item> + <item> outfile </item> + <item> outsheet </item> + <item> parse </item> + <item> pcorr </item> + <item> _pctile </item> + <item> pctile </item> + <item> pergram </item> + <item> pk </item> + <item> pkcollapse </item> + <item> pkcross </item> + <item> pkequiv </item> + <item> pkexamine </item> + <item> pkshape </item> + <item> pksumm </item> + <item> plot </item> + <item> poisson </item> + <item> post </item> + <item> postclose </item> + <item> postfile </item> + <item> postutil </item> + <item> pperron </item> + <item> prais </item> + <item> predict </item> + <item> preserve </item> + <item> probit </item> + <item> program </item> + <item> prtest </item> + <item> pwcorr </item> + <item> qc </item> + <item> qreg </item> + <item> quadchk </item> + <item> query </item> + <item> qui </item> + <item> quietly </item> + <item> ranksum </item> + <item> range </item> + <item> recast </item> + <item> recode </item> + <item> reg3 </item> + <item> regdiag </item> + <item> reg </item> + <item> regress </item> + <item> rename </item> + <item> replace </item> + <item> reshape </item> + <item> restore </item> + <item> return </item> + <item> roc </item> + <item> rocplot </item> + <item> rotate </item> + <item> rreg </item> + <item> runtest </item> + <item> run </item> + <item> sample </item> + <item> sampsi </item> + <item> save </item> + <item> scatter </item> + <item> scobit </item> + <item> score </item> + <item> sdtest </item> + <item> search </item> + <item> separate </item> + <item> serrbar </item> + <item> set </item> + <item> shell </item> + <item> signrank </item> + <item> signtest </item> + <item> simul </item> + <item> sktest </item> + <item> smooth </item> + <item> snapspan </item> + <item> sort </item> + <item> spearman </item> + <item> spikeplot </item> + <item> sreturn </item> + <item> st </item> + <item> stack </item> + <item> statsby </item> + <item> stb </item> + <item> stbase </item> + <item> stci </item> + <item> stcox </item> + <item> stdes </item> + <item> stem </item> + <item> stfill </item> + <item> stgen </item> + <item> stir </item> + <item> stphplot </item> + <item> stptime </item> + <item> strate </item> + <item> streg </item> + <item> sts </item> + <item> stset </item> + <item> stsplit </item> + <item> stsum </item> + <item> sttocc </item> + <item> sttoct </item> + <item> stvary </item> + <item> sum </item> + <item> summarize </item> + <item> sureg </item> + <item> svy </item> + <item> svydes </item> + <item> svylc </item> + <item> svymean </item> + <item> svyset </item> + <item> svytab </item> + <item> svytest </item> + <item> sw </item> + <item> swilk </item> + <item> symmetry </item> + <item> syntax </item> + <item> tab </item> + <item> table </item> + <item> tabdisp </item> + <item> tabstat </item> + <item> tabsum </item> + <item> tabulate </item> + <item> tempname </item> + <item> tempvar </item> + <item> tempfile </item> + <item> test </item> + <item> testnl </item> + <item> tobit </item> + <item> tokenize </item> + <item> translate </item> + <item> translator </item> + <item> transmap </item> + <item> treatreg </item> + <item> truncreg </item> + <item> tsreport </item> + <item> tsrevar </item> + <item> tsset </item> + <item> ttest </item> + <item> tutorials </item> + <item> twoway </item> + <item> type </item> + <item> unabcmd </item> + <item> unabbr </item> + <item> update </item> + <item> use </item> + <item> using </item> + <item> version </item> + <item> vce </item> + <item> view </item> + <item> vwls </item> + <item> weibull </item> + <item> whelp </item> + <item> while </item> + <item> which </item> + <item> wntestb </item> + <item> wntestq </item> + <item> xcorr </item> + <item> xi </item> + <item> xpose </item> + <item> xt </item> + <item> xtabond </item> + <item> xtclog </item> + <item> xtdata </item> + <item> xtdes </item> + <item> xtgee </item> + <item> xtgls </item> + <item> xtintreg </item> + <item> xtile </item> + <item> xtivreg </item> + <item> xtlogit </item> + <item> xtnbreg </item> + <item> xtpcse </item> + <item> xtpois </item> + <item> xtprobit </item> + <item> xtrchh </item> + <item> xtreg </item> + <item> xtregar </item> + <item> xtsum </item> + <item> xttab </item> + <item> xttobit </item> + <item> zip </item> + </list> + <list name="types"> + <item> char </item> + <item> double </item> + <item> error </item> + <item> text </item> + <item> result </item> + <item> float </item> + <item> int </item> + <item> long </item> + <item> local </item> + <item> global </item> + <item> macro </item> + <item> mat </item> + <item> matrix </item> + <item> scalar </item> + <item> variable </item> + <item> var </item> + <item> varlist </item> + <item> varname </item> + </list> + + <contexts> + + <context attribute="Normal Text" lineEndContext="#stay" name="Normal"> + <keyword attribute="Keyword" context="#stay" String="keywords" /> + <keyword attribute="Data Type" context="#stay" String="types" /> + <DetectChar attribute="String" context="string" char="""/> + <RangeDetect char = "`" char1 = "'" attribute = "Macro" context="#stay"/> + <Detect2Chars attribute="Comment" context="Comment 1" char="/" char1="/"/> + <Detect2Chars attribute="Comment" context="Comment 2" char="/" char1="*" beginRegion="Comment"/> + <DetectChar attribute="Normal Text" context="#stay" char="{" beginRegion="block"/> + <DetectChar attribute="Normal Text" context="#stay" char="}" endRegion="block"/> + </context> + + <context attribute="Comment" lineEndContext="#pop" name="Comment 1"/> + + <context attribute="Comment" lineEndContext="#stay" name="Comment 2"> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment"/> + </context> + + <context attribute="String" lineEndContext="#pop" name="string"> + <HlCStringChar attribute="String Char" context="#stay"/> + <DetectChar attribute="String" context="#pop" char="""/> + </context> + + </contexts> + + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Keyword" defStyleNum="dsKeyword"/> + <itemData name="String" defStyleNum="dsString"/> + <itemData name="Macro" defStyleNum="dsOthers"/> + <itemData name="Data Type" defStyleNum="dsDataType"/> + <itemData name="Comment" defStyleNum="dsComment"/> + </itemDatas> + + </highlighting> + <general> + <comments> + <comment name="singleLine" start="//" /> + <comment name="multiLine" start="/*" end="*/" /> + </comments> + <keywords casesensitive="1" /> + </general> +</language> +<!-- kate: space-indent on; indent-width 2; replace-tabs on; --> diff --git a/kate/data/syntax.template b/kate/data/syntax.template new file mode 100644 index 000000000..1e6e571a5 --- /dev/null +++ b/kate/data/syntax.template @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<!-- + You'll find the "Writing a Kate Highlighting XML File HOWTO" at http://kate.kde.org/doc/hlhowto.php + This is a template for 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). + + Use it as the base for your own syntax files. + + Look at language.dtd for some documentation of the allowed elements and their attributes. + There is also a description of how to validate your syntax file. + + You'll find the "Writing a Kate Highlighting XML File HOWTO" at http://kate.kde.org/doc/hlhowto.php +--> +<language name="" section="" version="1.00" kateversion="2.3" extensions="" mimetype="" author="" license=""> + <highlighting> + <contexts> + <context name="Normal" attribute="Normal Text" lineEndContext="#stay"/> + </contexts> + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + </itemDatas> + </highlighting> +</language> +<!-- +// kate: space-indent on; indent-width 2; replace-tabs on; +--> diff --git a/kate/data/tcl.xml b/kate/data/tcl.xml new file mode 100644 index 000000000..18a270822 --- /dev/null +++ b/kate/data/tcl.xml @@ -0,0 +1,490 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> + +<!-- Authors: Alexander Dederer & JM. Philippe --> +<!-- Copyright: BSD copyright & Irsid - Arcelor Innovation R&D --> +<!-- Ported to Kate 2.0/ KWrite 4.0 by Joseph Wenninger (Updated by Simon Robins)--> + +<language name="Tcl/Tk" version="1.08" kateversion="2.4" section="Scripts" extensions="*.tcl;*.tk" mimetype="text/x-tcl"> + <highlighting> + <list name="keywords"> + <item> after </item> + <item> append </item> + <item> AppleScript </item> + <item> argv </item> + <item> argc </item> + <item> array </item> + <item> auto_execk </item> + <item> auto_load </item> + <item> auto_mkindex </item> + <item> auto_path </item> + <item> auto_reset </item> + <item> beep </item> + <item> bell </item> + <item> binary </item> + <item> bind </item> + <item> bindtags </item> + <item> bgerror </item> + <item> break </item> + <item> button </item> + <item> canvas </item> + <item> case </item> + <item> catch </item> + <item> cd </item> + <item> checkbutton </item> + <item> clipboard </item> + <item> clock </item> + <item> close </item> + <item> concat </item> + <item> console </item> + <item> continue </item> + <item> dde </item> + <item> destroy </item> + <item> else </item> + <item> elseif </item> + <item> encoding </item> + <item> entry </item> + <item> env </item> + <item> eof </item> + <item> error </item> + <item> errorCode </item> + <item> errorInfo </item> + <item> eval </item> + <item> event </item> + <item> exec </item> + <item> exit </item> + <item> expr </item> + <item> fblocked </item> + <item> fconfigure </item> + <item> fcopy </item> + <item> file </item> + <item> fileevent </item> + <item> flush </item> + <item> focus </item> + <item> font </item> + <item> for </item> + <item> foreach </item> + <item> format </item> + <item> frame </item> + <item> gets </item> + <item> glob </item> + <item> global </item> + <item> grab </item> + <item> grid </item> + <item> history </item> + <item> if </item> + <item> image </item> + <item> incr </item> + <item> info </item> + <item> interp </item> + <item> join </item> + <item> label </item> + <item> lappend </item> + <item> lindex </item> + <item> linsert </item> + <item> list </item> + <item> listbox </item> + <item> llength </item> + <item> load </item> + <item> lower </item> + <item> lrange </item> + <item> lreplace </item> + <item> lsearch </item> + <item> lsort </item> + <item> menu </item> + <item> menubutton </item> + <item> message </item> + <item> namespace </item> + <item> open </item> + <item> option </item> + <item> OptProc </item> + <item> pack </item> + <item> package </item> + <item> parray </item> + <item> pid </item> + <item> place </item> + <item> pkg_mkindex </item> + <item> proc </item> + <item> puts </item> + <item> pwd </item> + <item> radiobutton </item> + <item> raise </item> + <item> read </item> + <item> regexp </item> + <item> registry </item> + <item> regsub </item> + <item> rename </item> + <item> resource </item> + <item> return </item> + <item> scale </item> + <item> scan </item> + <item> scrollbar </item> + <item> seek </item> + <item> selection </item> + <item> send </item> + <item> set </item> + <item> socket </item> + <item> source </item> + <item> split </item> + <item> string </item> + <item> subst </item> + <item> switch </item> + <item> tclLog </item> + <item> tcl_endOfWord </item> + <item> tcl_findLibrary </item> + <item> tcl_library </item> + <item> tcl_patchLevel </item> + <item> tcl_platform </item> + <item> tcl_precision </item> + <item> tcl_rcFileName </item> + <item> tcl_rcRsrcName </item> + <item> tcl_startOfNextWord </item> + <item> tcl_startOfPreviousWord </item> + <item> tcl_traceCompile </item> + <item> tcl_traceExec </item> + <item> tcl_version </item> + <item> tcl_wordBreakAfter </item> + <item> tcl_wordBreakBefore </item> + <item> tell </item> + <item> text </item> + <item> time </item> + <item> tk </item> + <item> tkTabToWindow </item> + <item> tkwait </item> + <item> tk_chooseColor </item> + <item> tk_chooseDirectory </item> + <item> tk_focusFollowMouse </item> + <item> tk_focusNext </item> + <item> tk_focusPrev </item> + <item> tk_getOpenFile </item> + <item> tk_getSaveFile </item> + <item> tk_library </item> + <item> tk_messageBox </item> + <item> tk_optionMenu </item> + <item> tk_patchLevel </item> + <item> tk_popup </item> + <item> tk_strictMotif </item> + <item> tk_version </item> + <item> toplevel </item> + <item> trace </item> + <item> unknown </item> + <item> unset </item> + <item> update </item> + <item> uplevel </item> + <item> upvar </item> + <item> variable </item> + <item> vwait </item> + <item> while </item> + <item> winfo </item> + <item> wm </item> + </list> + + <list name="keywords-opt"> + <item> add </item> + <item> args </item> + <item> atime </item> + <item> attributes </item> + <item> body </item> + <item> bytelength </item> + <item> cancel </item> + <item> channels </item> + <item> clicks </item> + <item> cmdcount </item> + <item> commands </item> + <item> compare </item> + <item> complete </item> + <item> convertfrom </item> + <item> convertto </item> + <item> copy </item> + <item> default </item> + <item> delete </item> + <item> dirname </item> + <item> equal </item> + <item> executable </item> + <item> exists </item> + <item> extension </item> + <item> first </item> + <item> forget </item> + <item> format </item> + <item> functions </item> + <item> globals </item> + <item> hostname </item> + <item> idle </item> + <item> ifneeded </item> + <item> index </item> + <item> info </item> + <item> is </item> + <item> isdirectory </item> + <item> isfile </item> + <item> join </item> + <item> last </item> + <item> length </item> + <item> level </item> + <item> library </item> + <item> link </item> + <item> loaded </item> + <item> locals </item> + <item> lstat </item> + <item> map </item> + <item> match </item> + <item> mkdir </item> + <item> mtime </item> + <item> nameofexecutable </item> + <item> names </item> + <item> nativename </item> + <item> normalize </item> + <item> number </item> + <item> owned </item> + <item> patchlevel </item> + <item> pathtype </item> + <item> present </item> + <item> procs </item> + <item> provide </item> + <item> range </item> + <item> readable </item> + <item> readlink </item> + <item> remove </item> + <item> rename </item> + <item> repeat </item> + <item> replace </item> + <item> require </item> + <item> rootname </item> + <item> scan </item> + <item> script </item> + <item> seconds </item> + <item> separator </item> + <item> sharedlibextension </item> + <item> size </item> + <item> split </item> + <item> stat </item> + <item> system </item> + <item> tail </item> + <item> tclversion </item> + <item> tolower </item> + <item> totitle </item> + <item> toupper </item> + <item> trim </item> + <item> trimleft </item> + <item> trimright </item> + <item> type </item> + <item> unknown </item> + <item> variable </item> + <item> vars </item> + <item> vcompare </item> + <item> vdelete </item> + <item> versions </item> + <item> vinfo </item> + <item> volumes </item> + <item> vsatisfies </item> + <item> wordend </item> + <item> wordstart </item> + <item> writable </item> + + <item> activate </item> + <item> actual </item> + <item> addtag </item> + <item> append </item> + <item> appname </item> + <item> aspect </item> + <item> atom </item> + <item> atomname </item> + <item> bbox </item> + <item> bind </item> + <item> broadcast </item> + <item> canvasx </item> + <item> canvasy </item> + <item> caret </item> + <item> cells </item> + <item> cget </item> + <item> children </item> + <item> class </item> + <item> clear </item> + <item> client </item> + <item> clone </item> + <item> colormapfull </item> + <item> colormapwindows </item> + <item> command </item> + <item> configure </item> + <item> containing </item> + <item> coords </item> + <item> create </item> + <item> current </item> + <item> curselection </item> + <item> dchars </item> + <item> debug </item> + <item> deiconify </item> + <item> delta </item> + <item> depth </item> + <item> deselect </item> + <item> dlineinfo </item> + <item> dtag </item> + <item> dump </item> + <item> edit </item> + <item> entrycget </item> + <item> entryconfigure </item> + <item> families </item> + <item> find </item> + <item> flash </item> + <item> focus </item> + <item> focusmodel </item> + <item> fpixels </item> + <item> fraction </item> + <item> frame </item> + <item> generate </item> + <item> geometry </item> + <item> get </item> + <item> gettags </item> + <item> grid </item> + <item> group </item> + <item> handle </item> + <item> height </item> + <item> hide </item> + <item> iconbitmap </item> + <item> iconify </item> + <item> iconmask </item> + <item> iconname </item> + <item> iconposition </item> + <item> iconwindow </item> + <item> icursor </item> + <item> id </item> + <item> identify </item> + <item> image </item> + <item> insert </item> + <item> interps </item> + <item> inuse </item> + <item> invoke </item> + <item> ismapped </item> + <item> itemcget </item> + <item> itemconfigure </item> + <item> keys </item> + <item> lower </item> + <item> manager </item> + <item> mark </item> + <item> maxsize </item> + <item> measure </item> + <item> metrics </item> + <item> minsize </item> + <item> move </item> + <item> name </item> + <item> nearest </item> + <item> overrideredirect </item> + <item> own </item> + <item> panecget </item> + <item> paneconfigure </item> + <item> panes </item> + <item> parent </item> + <item> pathname </item> + <item> pixels </item> + <item> pointerx </item> + <item> pointerxy </item> + <item> pointery </item> + <item> positionfrom </item> + <item> post </item> + <item> postcascade </item> + <item> postscript </item> + <item> protocol </item> + <item> proxy </item> + <item> raise </item> + <item> release </item> + <item> reqheight </item> + <item> reqwidth </item> + <item> resizable </item> + <item> rgb </item> + <item> rootx </item> + <item> rooty </item> + <item> scale </item> + <item> scaling </item> + <item> screen </item> + <item> screencells </item> + <item> screendepth </item> + <item> screenheight </item> + <item> screenmmheight </item> + <item> screenmmwidth </item> + <item> screenvisual </item> + <item> screenwidth </item> + <item> search </item> + <item> see </item> + <item> select </item> + <item> selection </item> + <item> server </item> + <item> set </item> + <item> show </item> + <item> sizefrom </item> + <item> stackorder </item> + <item> state </item> + <item> status </item> + <item> tag </item> + <item> title </item> + <item> toplevel </item> + <item> transient </item> + <item> types </item> + <item> unpost </item> + <item> useinputmethods </item> + <item> validate </item> + <item> values </item> + <item> viewable </item> + <item> visual </item> + <item> visualid </item> + <item> visualsavailable </item> + <item> vrootheight </item> + <item> vrootwidth </item> + <item> vrootx </item> + <item> vrooty </item> + <item> width </item> + <item> window </item> + <item> windowingsystem </item> + <item> withdraw </item> + <item> x </item> + <item> xview </item> + <item> y </item> + </list> + + <contexts> + <context name = "Base" attribute = "Normal Text" lineEndContext="#stay"> + <RegExpr attribute="Region Marker" context="#stay" String="#\s*BEGIN.*$" beginRegion="region" firstNonSpace="true"/> + <RegExpr attribute="Region Marker" context="#stay" String="#\s*END.*$" endRegion="region" firstNonSpace="true"/> + <keyword String = "keywords" attribute = "Keyword" context="#stay"/> + <keyword String = "keywords-opt" attribute = "Parameter" context="#stay"/> + <Float attribute = "Float" context="#stay"/> + <Int attribute ="Decimal" context="#stay"/> + <RegExpr String="\\." attribute = "Char" context = "#stay"/> + <RegExpr String = "\W-\w+" attribute = "Parameter" context="#stay"/> + <RegExpr String = "\$\{[^\}]+\}" attribute = "Variable" context="#stay"/> + <RegExpr String = "\$(::)?[\S\D]\w+" attribute = "Variable" context="#stay"/> + <RegExpr String = "[^\\]""" attribute = "String" context="#stay"/> + <RegExpr String = "[^\\]"" attribute = "String" context="String"/> + <RegExpr String= "#.*$" attribute = "Comment" context="#stay" firstNonSpace="true"/> + <RegExpr String= ";\s*#.*$" attribute = "Comment" context="#stay"/> + <DetectChar char = "{" attribute = "Keyword" context="#stay" beginRegion="block"/> + <DetectChar char = "}" attribute = "Keyword" context="#stay" endRegion="block"/> + <DetectChar char = "[" attribute = "Keyword" context="#stay"/> + <DetectChar char = "]" attribute = "Keyword" context="#stay"/> + </context> + + <context name = "String" attribute = "String" lineEndContext="#stay"> + <RegExpr String="\\." attribute = "Char" context = "#stay"/> + <DetectChar char=""" attribute = "String" context = "#pop"/> + <DetectChar char = "$" attribute = "Variable" context="#stay"/> + </context> + </contexts> + + <itemDatas> + <itemData name = "Normal Text" defStyleNum = "dsNormal"/> + <itemData name = "Keyword" defStyleNum = "dsKeyword"/> + <itemData name = "Decimal" defStyleNum = "dsDecVal"/> + <itemData name = "Float" defStyleNum = "dsFloat"/> + <itemData name = "String" defStyleNum = "dsString"/> + <itemData name = "Comment" defStyleNum = "dsComment"/> + <itemData name = "Parameter" defStyleNum = "dsOthers"/> + <itemData name = "Variable" defStyleNum = "dsDataType"/> + <itemData name = "Char" defStyleNum="dsChar"/> + <itemData name = "Region Marker" defStyleNum="dsRegionMarker"/> + </itemDatas> + + </highlighting> + + <general> + <keywords casesensitive="1"/> + </general> + +</language> diff --git a/kate/data/tibasic.xml b/kate/data/tibasic.xml new file mode 100644 index 000000000..0b2d67dbd --- /dev/null +++ b/kate/data/tibasic.xml @@ -0,0 +1,71 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="TI Basic" version="1.01" kateversion="2.3" section="Scientific" extensions=""> + <highlighting> + <list name="keywords"> + <item>If </item> + <item>Then </item> + <item>Else </item> + <item>For </item> + <item>While </item> + <item>Repeat </item> + <item>End </item> + <item>Pause </item> + <item>Lbl </item> + <item>Goto </item> + <item>IS> </item> + <item>DS< </item> + <item>Menu </item> + <item>prgm </item> + <item>Return </item> + <item>DelVar </item> + <item>GraphStyle </item> + <item>Input </item> + <item>Prompt </item> + <item>Disp </item> + <item>DispGraph </item> + <item>DispTable </item> + <item>Output </item> + <item>getKey </item> + <item>ClrHome </item> + <item>ClrTable </item> + <item>GetCalc </item> + <item>Get </item> + <item>Send</item> + <item>prgm</item> + </list> + <list name="special_sym"> + <item>net</item> + <item>eogt</item> + <item>eolt</item> + <item>sqrt</item> + <item>%THETA</item> + </list> + <contexts> + <context attribute="Normal Text" lineEndContext="#stay" name="Normal"> + <keyword attribute="Keyword" context="#stay" String="keywords"/> + <keyword attribute="Special operators" context="#stay" String="special_sym" /> + + <Detect2Chars attribute="Assignment" context="#stay" char="-" char1=">"/> + <Detect2Chars attribute="Assignment" context="#stay" char="s" char1="t"/> + + <RegExpr attribute="Matrix" context="#stay" String="\[\w\]" /> + <DetectChar attribute="String" context="String" char="""/> + </context> + <context attribute="String" lineEndContext="#stay" name="String"> + <DetectChar attribute="String" context="#pop" char="""/> + </context> + </contexts> + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Assignment" defStyleNum="dsOthers" /> + <itemData name="Keyword" defStyleNum="dsKeyword" /> + <itemData name="String" defStyleNum="dsString" /> + <itemData name="Special operators" defStyleNum="dsNormal" /> + <itemData name="Matrix" defStyleNum="dsNormal" /> + </itemDatas> + </highlighting> + <general> + <keywords casesensitive="0" weakDeliminator="%<>"/> + </general> +</language> diff --git a/kate/data/txt2tags.xml b/kate/data/txt2tags.xml new file mode 100644 index 000000000..61dc77e62 --- /dev/null +++ b/kate/data/txt2tags.xml @@ -0,0 +1,61 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<!-- Created by Juliano Dorneles dos Santos <juliano_dorneles@yahoo.com.br> --> +<!-- Fixed for 3.2 Helio Chissini de Castro <helio@kde.org> --> +<language name="txt2tags" extensions="*.t2t" section="Markup" mimetype="text/txt2tags" version="1.01" kateversion="2.4" casesensitive="1"> +<highlighting> + +<contexts> + <context name="Context" attribute="Normal" lineEndContext="#stay"> + <RegExpr attribute="Date" context="Context" String="%%date(\(.*\))?"/> + <RegExpr attribute="Comment" context="Context" String="%.*"/> + <RegExpr attribute="Bold" context="Context" String="\*\*.*\*\*"/> + <RegExpr attribute="Italic" context="Context" String="//.*//"/> + <RegExpr attribute="BoldItalic" context="Context" String="\*\*//.*//\*\*"/> + <RegExpr attribute="BoldItalic" context="Context" String="__.*__"/> + <RegExpr attribute="Monospaced" context="Context" String="``.*``"/> + <RegExpr attribute="Verbatim Line" context="Context" String="``` .*"/> + <RegExpr attribute="Title" context="Context" String=" *=[^=].*[^=]=\s*$" column="0"/> + <RegExpr attribute="Title" context="Context" String=" *==[^=].*[^=]==\s*$" column="0"/> + <RegExpr attribute="Title" context="Context" String=" *===[^=].*[^=]===\s*$" column="0"/> + <RegExpr attribute="Title" context="Context" String=" *====[^=].*[^=]====\s*$" column="0"/> + <RegExpr attribute="Title" context="Context" String=" *=====[^=].*[^=]=====\s*$" column="0"/> + <RegExpr attribute="Title" context="Context" String=" *\+[^=].*[^=]\+\s*$" column="0"/> + <RegExpr attribute="Title" context="Context" String=" *\+\+[^=].*[^=]\+\+\s*$" column="0"/> + <RegExpr attribute="Title" context="Context" String=" *\+\+\+[^=].*[^=]\+\+\+\s*$" column="0"/> + <RegExpr attribute="Title" context="Context" String=" *\+\+\+\+[^=].*[^=]\+\+\+\+\s*$" column="0"/> + <RegExpr attribute="Title" context="Context" String=" *\+\+\+\+\+[^=].*[^=]\+\+\+\+\+\s*$" column="0"/> + <RangeDetect attribute="Link" char="[" char1="]"/> + <RegExpr attribute="Tabel" context="Context" String=" *\|\| .*" column="0"/> + <RegExpr attribute="Tabel" context="Context" String=" *\| .*" column="0"/> + <RegExpr attribute="DefList" context="Context" String=" *\: .*" column="0"/> + <RegExpr attribute="List" context="Context" String=" *\- .*" column="0"/> + <RegExpr attribute="NumList" context="Context" String=" *\+ .*" column="0"/> + <RegExpr attribute="Quote" context="Context" String="\t.*"/> + <RegExpr attribute="Bar" context="Context" String="\s*([_=-]{20,})\s*$"/> + </context> +</contexts> + +<itemDatas> + <itemData name="Normal" defStyleNum="dsNormal" /> + <itemData name="Date" defStyleNum="dsNormal" color="#FF0000" italic="1" /> + <itemData name="Comment" defStyleNum="dsNormal" color="#666666" italic="1" /> + <itemData name="Bold" defStyleNum="dsNormal" bold="1" /> + <itemData name="Italic" defStyleNum="dsNormal" italic="1" /> + <itemData name="BoldItalic" defStyleNum="dsNormal" bold="1" italic="1" /> + <itemData name="Monospaced" defStyleNum="dsNormal" color="#006600" /> + <itemData name="Verbatim Line" defStyleNum="dsNormal" color="#006600" /> + <itemData name="Verbatim Area" defStyleNum="dsNormal" color="#006600" /> + <itemData name="Title" defStyleNum="dsNormal" color="#990000" /> + <itemData name="Link" defStyleNum="dsNormal" color="#000099" /> + <itemData name="Tabel" defStyleNum="dsNormal" color="#FF0000" /> + <itemData name="DefList" defStyleNum="dsNormal" color="#FFCC66" /> + <itemData name="List" defStyleNum="dsNormal" color="#FFCC66" /> + <itemData name="NumList" defStyleNum="dsNormal" color="#FFCC66" /> + <itemData name="Quote" defStyleNum="dsNormal" color="brown" /> + <itemData name="Bar" defStyleNum="dsNormal" color="#C0C0C0" /> +</itemDatas> + +</highlighting> + +</language> diff --git a/kate/data/uscript.xml b/kate/data/uscript.xml new file mode 100644 index 000000000..5f4d6d8d9 --- /dev/null +++ b/kate/data/uscript.xml @@ -0,0 +1,186 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="UnrealScript" version="0.91" kateversion="2.3" section="Scripts" extensions="*.uc" mimetype="text/x-uscript"> + <highlighting> + <list name="keywords"> + <item> break </item> + <item> continue </item> + <item> if </item> + <item> else </item> + <item> switch </item> + <item> while </item> + <item> for </item> + <item> do </item> + <item> foreach </item> + <item> true </item> + <item> false </item> + <item> null </item> + <item> new </item> + <item> instanceof </item> + <item> state </item> + <item> auto </item> + <item> exec </item> + <item> function </item> + <item> defaultproperties </item> + <item> native </item> + <item> noexport</item> + <item> var </item> + <item> out </item> + <item> local </item> + <item> event </item> + <item> return </item> + <item> static </item> + <item> Static </item> + <item> synchronized </item> + <item> transient </item> + <item> volatile </item> + <item> final </item> + <item> throws </item> + <item> extends </item> + <item> expands </item> + <item> public </item> + <item> protected </item> + <item> private </item> + <item> abstract </item> + <item> case </item> + <item> default </item> + <item> final </item> + <item> simulated </item> + <item> Dot </item> + <item> nativereplication </item> + <item> replication </item> + <item> unreliable </item> + <item> reliable </item> + <item> ignores </item> + <item> localized </item> + <item> latent </item> + <item> singular </item> + <item> Cross </item> + <item> config </item> + <item> enum </item> + <item> struct </item> + <item> operator </item> + <item> preoperator </item> + <item> postoperator </item> + <item> iterator </item> + <item> coerce </item> + <item> optional </item> + <item> const </item> + <item> editconst </item> + <item> array </item> + <item> export </item> + <item> editinline </item> + <item> editinlinenew </item> + <item> editinlineuse </item> + <item> cpptext </item> + <item> placeable </item> + <item> virtual </item> + <item> hidecategories </item> + <item> super </item> + <item> global </item> + <item> none </item> + <item> self </item> + </list> + + <list name="types"> + <item> boolean </item> + <item> char </item> + <item> byte </item> + <item> short </item> + <item> int </item> + <item> long </item> + <item> float </item> + <item> double </item> + <item> void </item> + <item> Pawn </item> + <item> sound </item> + <item> ipaddr </item> + <item> ELightType </item> + <item> actor </item> + <item> ammo </item> + <item> bool </item> + <item> vector </item> + <item> rotator </item> + <item> name </item> + <item> string </item> + <item> object </item> + <item> plane </item> + <item> staticmesh </item> + <item> package </item> + <item> color </item> + <item> coords </item> + <item> material </item> + <item> class </item> + </list> + <contexts> + <context attribute="Normal Text" lineEndContext="#stay" name="Normal"> + <keyword attribute="Keyword" context="#stay" String="keywords"/> + <keyword attribute="Data Type" context="#stay" String="types"/> + <Float attribute="Float" context="#stay"> + <AnyChar String="fF" attribute="Float" context="#stay"/> + </Float> + <HlCOct attribute="Octal" context="#stay"/> + <HlCHex attribute="Hex" context="#stay"/> + <Int attribute="Decimal" context="#stay"> + <StringDetect attribute="Decimal" context="#stay" String="ULL" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="LUL" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="LLU" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="UL" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="LU" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="LL" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="U" insensitive="TRUE"/> + <StringDetect attribute="Decimal" context="#stay" String="L" insensitive="TRUE"/> + </Int> + <HlCChar attribute="Char" context="#stay"/> + <RegExpr attribute="Region Marker" context="#stay" String="//BEGIN.*$" beginRegion="Region1"/> + <RegExpr attribute="Region Marker" context="#stay" String="//END.*$" endRegion="Region1"/> + <DetectChar attribute="String" context="String" char="""/> + <DetectChar attribute="String" context="String" char="'"/> + <Detect2Chars attribute="Comment" context="Commentar 1" char="/" char1="/"/> + <Detect2Chars attribute="Comment" context="Commentar 2" char="/" char1="*" beginRegion="Comment"/> + <DetectChar attribute="Normal Text" context="#stay" char="{" beginRegion="Brace1"/> + <DetectChar attribute="Normal Text" context="#stay" char="}" endRegion="Brace1"/> + <AnyChar attribute="Symbol" context="#stay" String="!%&()+,-<=>?[]^{|}~"/> + <RegExpr attribute="Preprocessor" context="Preprocessor" insensitive="TRUE" String="#exec"/> + </context> + <context attribute="String" lineEndContext="#pop" name="String"> + <LineContinue attribute="String" context="#stay"/> + <HlCStringChar attribute="String Char" context="#stay"/> + <DetectChar attribute="String" context="#pop" char="""/> + <DetectChar attribute="String" context="#pop" char="'"/> + </context> + <context attribute="Comment" lineEndContext="#pop" name="Commentar 1"/> + <context attribute="Comment" lineEndContext="#stay" name="Commentar 2"> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment"/> + </context> + <context attribute="Preprocessor" lineEndContext="#pop" name="Preprocessor"> + <Detect2Chars attribute="Comment" context="Commentar 1" char="/" char1="/"/> + <Detect2Chars attribute="Comment" context="Commentar 2" char="/" char1="*"/> + </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="String" defStyleNum="dsString"/> + <itemData name="String Char" defStyleNum="dsChar"/> + <itemData name="Comment" defStyleNum="dsComment"/> + <itemData name="Symbol" defStyleNum="dsNormal"/> + <itemData name="Preprocessor" defStyleNum="dsOthers"/> + <itemData name="Region Marker" defStyleNum="dsRegionMarker" /> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="singleLine" start="//"/> + <comment name="multiLine" start="/*" end="*/"/> + </comments> + <keywords casesensitive="0" additionalDeliminator=""'"/> + </general> +</language> + diff --git a/kate/data/velocity.xml b/kate/data/velocity.xml new file mode 100644 index 000000000..dc2424ec5 --- /dev/null +++ b/kate/data/velocity.xml @@ -0,0 +1,51 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="Velocity" version="1.04" kateversion="2.1" section="Scripts" extensions="*.vm;" mimetype="text/x-velocity-src;text/x-vm-src" author="John Christopher (John@animalsinneed.net)" license=""> + <highlighting> + <list name="keywords"> + <item> #set </item> + <item> #foreach </item> + <item> #end </item> + <item> #if </item> + <item> #else </item> + <item> #elseif </item> + <item> #parse </item> + <item> #macro </item> + <item> #stop </item> + <item> #include </item> + </list> + <contexts> + <context attribute="Normal Text" lineEndContext="#stay" name="Keyword"> + <keyword attribute="Keyword" context="#stay" String="keywords" /> + <RegExpr attribute="Variable" context="#stay" String="\$[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff\.\-]*(\[[a-zA-Z0-9_]*\])*" /> + <RegExpr attribute="Variable" context="#stay" String="\$\{[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff\.\-]*(\[[a-zA-Z0-9_]*\])*\}" /> + <RegExpr attribute="Variable" context="#stay" String="\$!\{[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff\.\-]*(\[[a-zA-Z0-9_]*\])*\}." /> + <RegExpr attribute="Variable" context="#stay" String="\{\$[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff\.\-]*(\[([0-9]*|"[a-zA-Z_]*")|'[a-zA-Z_]*'|\])*(->[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*(\[[a-zA-Z0-9_]*\])*(\[([0-9]*|"[a-zA-Z_]*")|'[a-zA-Z_]*'|\])*)*\}" /> + <RegExpr attribute="Properties" context="#stay" String="[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff\-]*(\[[a-zA-Z0-9_]*\])*\.[a-zA-Z0-9_\x7f-\xff\-]*" /> + <AnyChar attribute="Other" context="#stay" String="(),[]" /> + <Detect2Chars attribute="Comment" context="singleline comment" char="#" char1="#" /> + <Detect2Chars attribute="Comment" context="multilinecomment" char="#" char1="*" /> + </context> + <context attribute="Comment" name="singleline comment" lineEndContext="#pop"> + </context> + <context attribute="Comment" lineEndContext="#stay" name="multilinecomment" > + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="#" /> + </context> + </contexts> + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal" /> + <itemData name="Keyword" defStyleNum="dsKeyword" /> + <itemData name="Variable" defStyleNum="dsKeyword" color="#5555FF" selColor="#ffffff" bold="0" italic="0" /> + <itemData name="Other" defStyleNum="dsOthers" /> + <itemData name="Properties" defStyleNum="dsNormal" color="#8AC6FF" selColor="#ffffff" bold="0" italic="1"/> + <itemData name="Comment" defStyleNum="dsComment" /> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="singleLine" start="##" /> + <comment name="multiLine" start="#*" end="*#" /> + </comments> + <keywords casesensitive="1" weakDeliminator="+"/> + </general> +</language> diff --git a/kate/data/verilog.xml b/kate/data/verilog.xml new file mode 100644 index 000000000..c7795c1a0 --- /dev/null +++ b/kate/data/verilog.xml @@ -0,0 +1,227 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="Verilog" version="1.07" kateversion="2.4" section="Hardware" extensions="*.v;*.V;*.vl" mimetype="text/x-verilog-src" author="Yevgen Voronenko (ysv22@drexel.edu)" license=""> + <highlighting> + <list name="keywords"> + <item> module </item> + <item> macromodule </item> + <item> endmodule </item> + <item> task </item> + <item> endtask </item> + <item> function </item> + <item> endfunction </item> + <item> table </item> + <item> endtable </item> + <item> specify </item> + <item> specparam </item> + <item> endspecify </item> + <item> case </item> + <item> casex </item> + <item> casez </item> + <item> endcase </item> + <item> fork </item> + <item> join </item> + + <item> defparam </item> + <item> default </item> + <item> begin </item> + <item> end </item> + <item> if </item> + <item> ifnone </item> + <item> else </item> + <item> forever </item> + <item> while </item> + <item> for </item> + <item> wait </item> + <item> repeat </item> + <item> disable </item> + + <item> assign </item> + <item> deassign </item> + <item> force </item> + <item> release </item> + + <item> always </item> + <item> initial </item> + <item> edge </item> + <item> posedge </item> + <item> negedge </item> + </list> + + <list name="strength"> + <!-- drive strength supply0/supply1 omitted, its in types.. --> + <item> strong0 </item> + <item> strong1 </item> + <item> pull0 </item> + <item> pull1 </item> + <item> weak0 </item> + <item> weak1 </item> + <item> highz0 </item> + <item> highz1 </item> + <!-- charge strength --> + <item> small </item> + <item> medium </item> + <item> large </item> + </list> + + <list name="gates"> + <item> pullup </item> + <item> pulldown </item> + <item> cmos </item> + <item> rcmos </item> + <item> nmos </item> + <item> pmos </item> + <item> rnmos </item> + <item> rpmos </item> + <item> and </item> + <item> nand </item> + <item> or </item> + <item> nor </item> + <item> xor </item> + <item> xnor </item> + <item> not </item> + <item> buf </item> + <item> tran </item> + <item> rtran </item> + <item> tranif0 </item> + <item> tranif1 </item> + <item> rtranif0 </item> + <item> rtranif1 </item> + <item> bufif0 </item> + <item> bufif1 </item> + <item> notif0 </item> + <item> notif1 </item> + </list> + + <list name="types"> + <!-- port direction --> + <item> input </item> + <item> output </item> + <item> inout </item> + <!-- net type --> + <item> wire </item> + <item> tri </item> + <item> tri0 </item> + <item> tri1 </item> + <item> wand </item> + <item> wor </item> + <item> triand </item> + <item> trior </item> + <item> supply0 </item> + <item> supply1 </item> + <!-- reg/variable --> + <item> reg </item> + <item> integer </item> + <item> real </item> + <item> realtime </item> + <item> time </item> + <!-- modifier --> + <item> vectored </item> + <item> scalared </item> + <item> trireg </item> + <!-- other --> + <item> parameter </item> + <item> event </item> + </list> + + <contexts> + <context attribute="Normal Text" lineEndContext="#stay" name="Normal"> + <RegExpr attribute="Keyword" context="Block name" String="begin\ *:"/> + <keyword attribute="Keyword" context="#stay" String="keywords" /> + <keyword attribute="Data Type" context="#stay" String="types" /> + <keyword attribute="Drive/charge strength" context="#stay" String="strength" /> + <keyword attribute="Gate instantiation" context="#stay" String="gates" /> + + <RegExpr attribute="Normal Text" context="#stay" String="[a-zA-Z]+[\w$]*"/> + <RegExpr attribute="Normal Text" context="#stay" String="\\[^ ]+ "/> + + <RegExpr attribute="Decimal" context="#stay" String="[\d_]*'d[\d_]+"/> + <RegExpr attribute="Octal" context="#stay" String="[\d_]*'o[0-7xXzZ_]+"/> + <RegExpr attribute="Hex" context="#stay" String="[\d_]*'h[\da-fA-FxXzZ_]+"/> + <RegExpr attribute="Binary" context="#stay" String="[\d_]*'b[01_zZxX]+"/> + <Float attribute="Float" context="#stay"/> + <Int attribute="Integer" context="#stay" /> + + <RegExpr attribute="Port connection" context="#stay" String="[^\w$]\.[a-zA-Z]+[\w$]*"/> + + <DetectChar attribute="String" context="String" char="""/> + <Detect2Chars attribute="Comment" context="Commentar 1" char="/" char1="/"/> + <Detect2Chars attribute="Comment" context="Commentar 2" char="/" char1="*"/> + <AnyChar attribute="Symbol" context="#stay" String="!%&()+,-<=+/:;>?[]^{|}~@"/> + + <StringDetect attribute="Comment" context="Some Context2" String="#if 0" insensitive="FALSE" firstNonSpace="true"/> + + <DetectChar attribute="Preprocessor" context="Preprocessor" char="`" column="0"/> + <RegExpr attribute="Preprocessor" context="#stay" String="\`[a-zA-Z_]+\w*" /> + <RegExpr attribute="System Task" context="#stay" String="\$[a-zA-Z_]+\w*" /> + <RegExpr attribute="Delay" context="#stay" String="#[\d_]+" /> + </context> + <context attribute="String" lineEndContext="#pop" name="String"> + <LineContinue attribute="String" context="Some Context"/> + <HlCStringChar attribute="String Char" context="#stay"/> + <DetectChar attribute="String" context="#pop" char="""/> + </context> + <context attribute="Comment" lineEndContext="#pop" name="Commentar 1"> + <RegExpr attribute="Alert" context="#stay" String="(FIXME|TODO)" /> + </context> + <context attribute="Comment" lineEndContext="#stay" name="Commentar 2"> + <RegExpr attribute="Alert" context="#stay" String="(FIXME|TODO)" /> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/"/> + </context> + <context attribute="Preprocessor" lineEndContext="#pop" name="Preprocessor"> + <LineContinue attribute="Preprocessor" context="Some Context"/> + <RangeDetect attribute="Prep. Lib" context="#stay" char=""" char1="""/> + <RangeDetect attribute="Prep. Lib" context="#stay" char="<" char1=">"/> + <Detect2Chars attribute="Comment" context="Commentar 1" char="/" char1="/"/> + <Detect2Chars attribute="Comment" context="Commentar/Preprocessor" char="/" char1="*"/> + </context> + <context attribute="Comment" lineEndContext="#stay" name="Commentar/Preprocessor"> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" /> + </context> + <context attribute="Normal Text" lineEndContext="#pop" name="Some Context"/> + <context attribute="Comment" lineEndContext="#stay" name="Some Context2"> + <RegExpr attribute="Alert" context="#stay" String="(FIXME|TODO)" /> + <StringDetect attribute="Comment" context="#pop" String="#endif" firstNonSpace="true"/> + </context> + + <context attribute="Block name" lineEndContext="#pop" name="Block name"> + <RegExpr attribute="Data Type" context="#pop" String="[^ ]+"/> + </context> + </contexts> + + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Keyword" defStyleNum="dsKeyword"/> + <itemData name="Data Type" defStyleNum="dsDataType"/> + + <itemData name="Decimal" defStyleNum="dsBaseN"/> + <itemData name="Octal" defStyleNum="dsBaseN"/> + <itemData name="Hex" defStyleNum="dsBaseN"/> + <itemData name="Binary" defStyleNum="dsBaseN"/> + <itemData name="Float" defStyleNum="dsFloat"/> + + <itemData name="String" defStyleNum="dsString"/> + <itemData name="String Char" defStyleNum="dsChar"/> + <itemData name="Comment" defStyleNum="dsComment"/> + <itemData name="Alert" defStyleNum="dsAlert" /> + <itemData name="Symbol" defStyleNum="dsNormal"/> + <itemData name="Preprocessor" defStyleNum="dsOthers"/> + <itemData name="Prep. Lib" defStyleNum="dsFloat"/> + <itemData name="System Task" defStyleNum="dsDataType"/> + + <itemData name="Integer" defStyleNum="dsDecVal"/> + <itemData name="Delay" defStyleNum="dsBaseN"/> + <itemData name="Block name" defStyleNum="dsDataType"/> + <itemData name="Drive/charge strength" defStyleNum="dsBaseN"/> + <itemData name="Gate instantiation" defStyleNum="dsDataType"/> + <itemData name="Port connection" defStyleNum="dsDataType"/> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="singleLine" start="//" /> + <comment name="multiLine" start="/*" end="*/" /> + </comments> + <keywords casesensitive="1" /> + </general> +</language> diff --git a/kate/data/vhdl.xml b/kate/data/vhdl.xml new file mode 100644 index 000000000..8dd836cd1 --- /dev/null +++ b/kate/data/vhdl.xml @@ -0,0 +1,286 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="VHDL" version="1.04" kateversion="2.1" section="Hardware" extensions="*.vhdl;*.vhd" mimetype="text/x-vhdl"> + <highlighting> + <list name="keywords"> + <item> access </item> + <item> after </item> + <item> alias </item> + <item> all </item> + <item> assert </item> + <item> architecture </item> + <item> begin </item> + <item> block </item> + <item> body </item> + <item> buffer </item> + <item> bus </item> + <item> case </item> + <item> component </item> + <item> configuration </item> + <item> constant </item> + <item> disconnect </item> + <item> downto </item> + <item> else </item> + <item> elsif </item> + <item> end </item> + <item> entity </item> + <item> exit </item> + <item> file </item> + <item> for </item> + <item> function </item> + <item> generate </item> + <item> generic </item> + <item> group </item> + <item> guarded </item> + <item> if </item> + <item> impure </item> + <item> in </item> + <item> inertial </item> + <item> inout </item> + <item> is </item> + <item> label </item> + <item> library </item> + <item> linkage </item> + <item> literal </item> + <item> loop </item> + <item> map </item> + <item> new </item> + <item> next </item> + <item> null </item> + <item> of </item> + <item> on </item> + <item> open </item> + <item> others </item> + <item> out </item> + <item> package </item> + <item> port </item> + <item> postponed </item> + <item> procedure </item> + <item> process </item> + <item> pure </item> + <item> range </item> + <item> record </item> + <item> register </item> + <item> reject </item> + <item> report </item> + <item> return </item> + <item> select </item> + <item> severity </item> + <item> signal </item> + <item> shared </item> + <item> subtype </item> + <item> then </item> + <item> to </item> + <item> transport </item> + <item> type </item> + <item> unaffected </item> + <item> units </item> + <item> until </item> + <item> use </item> + <item> variable </item> + <item> wait </item> + <item> when </item> + <item> while </item> + <item> with </item> + <item> note </item> + <item> warning </item> + <item> error </item> + <item> failure </item> + <item> ACCESS </item> + <item> AFTER </item> + <item> ALIAS </item> + <item> ALL </item> + <item> ASSERT </item> + <item> ARCHITECTURE </item> + <item> BEGIN </item> + <item> BLOCK </item> + <item> BODY </item> + <item> BUFFER </item> + <item> BUS </item> + <item> CASE </item> + <item> COMPONENT </item> + <item> CONFIGURATION </item> + <item> CONSTANT </item> + <item> DISCONNECT </item> + <item> DOWNTO </item> + <item> ELSE </item> + <item> ELSIF </item> + <item> END </item> + <item> ENTITY </item> + <item> EXIT </item> + <item> FILE </item> + <item> FOR </item> + <item> FUNCTION </item> + <item> GENERATE </item> + <item> GENERIC </item> + <item> GROUP </item> + <item> GUARDED </item> + <item> IF </item> + <item> IMPURE </item> + <item> IN </item> + <item> INERTIAL </item> + <item> INOUT </item> + <item> IS </item> + <item> LABEL </item> + <item> LIBRARY </item> + <item> LINKAGE </item> + <item> LITERAL </item> + <item> LOOP </item> + <item> MAP </item> + <item> NEW </item> + <item> NEXT </item> + <item> NULL </item> + <item> OF </item> + <item> ON </item> + <item> OPEN </item> + <item> OTHERS </item> + <item> OUT </item> + <item> PACKAGE </item> + <item> PORT </item> + <item> POSTPONED </item> + <item> PROCEDURE </item> + <item> PROCESS </item> + <item> PURE </item> + <item> RANGE </item> + <item> RECORD </item> + <item> REGISTER </item> + <item> REJECT </item> + <item> REPORT </item> + <item> RETURN </item> + <item> SELECT </item> + <item> SEVERITY </item> + <item> SIGNAL </item> + <item> SHARED </item> + <item> SUBTYPE </item> + <item> THEN </item> + <item> TO </item> + <item> TRANSPORT </item> + <item> TYPE </item> + <item> UNAFFECTED </item> + <item> UNITS </item> + <item> UNTIL </item> + <item> USE </item> + <item> VARIABLE </item> + <item> WAIT </item> + <item> WHEN </item> + <item> WHILE </item> + <item> WITH </item> + <item> NOTE </item> + <item> WARNING </item> + <item> ERROR </item> + <item> FAILURE </item> + <item> and </item> + <item> or </item> + <item> xor </item> + <item> not </item> + <item> AND </item> + <item> OR </item> + <item> XOR </item> + <item> NOT </item> + </list> + <list name="types"> + <item> bit </item> + <item> bit_vector </item> + <item> character </item> + <item> boolean </item> + <item> integer </item> + <item> real </item> + <item> time </item> + <item> string </item> + <item> severity_level </item> + <item> positive </item> + <item> natural </item> + <item> signed </item> + <item> unsigned </item> + <item> line </item> + <item> text </item> + <item> std_logic </item> + <item> std_logic_vector </item> + <item> std_ulogic </item> + <item> std_ulogic_vector </item> + <item> qsim_state </item> + <item> qsim_state_vector </item> + <item> qsim_12state </item> + <item> qsim_12state_vector </item> + <item> qsim_strength </item> + <item> mux_bit </item> + <item> mux_vector </item> + <item> reg_bit </item> + <item> reg_vector </item> + <item> wor_bit </item> + <item> wor_vector </item> + <item> BIT </item> + <item> BIT_VECTOR </item> + <item> CHARACTER </item> + <item> BOOLEAN </item> + <item> INTEGER </item> + <item> REAL </item> + <item> TIME </item> + <item> STRING </item> + <item> SEVERITY_LEVEL </item> + <item> POSITIVE </item> + <item> NATURAL </item> + <item> SIGNED </item> + <item> UNSIGNED </item> + <item> LINE </item> + <item> TEXT </item> + <item> STD_LOGIC </item> + <item> STD_LOGIC_VECTOR </item> + <item> STD_ULOGIC </item> + <item> STD_ULOGIC_VECTOR </item> + <item> QSIM_STATE </item> + <item> QSIM_STATE_VECTOR </item> + <item> QSIM_12STATE </item> + <item> QSIM_12STATE_VECTOR </item> + <item> QSIM_STRENGTH </item> + <item> MUX_BIT </item> + <item> MUX_VECTOR </item> + <item> REG_BIT </item> + <item> REG_VECTOR </item> + <item> WOR_BIT </item> + <item> WOR_VECTOR </item> + </list> + <contexts> + <context name="normal" attribute="Normal Text" lineEndContext="#stay"> + <keyword attribute="Keyword" context="#stay" String="keywords"/> + <keyword attribute="Data Type" context="#stay" String="types"/> + <Detect2Chars attribute="Comment" context="comment" char="-" char1="-" /> + <Int attribute="Integer" context="#stay" /> + <HlCChar attribute="Bit" context="#stay" /> + <DetectChar attribute="Vector" context="string" char=""" /> + <AnyChar attribute="Operator" context="#stay" String="[&><=:+\-*\/|]().,;" /> + <DetectChar attribute="Attribute" context="attribute" char="'" /> + </context> + <context name="comment" attribute="Comment" lineEndContext="#pop" /> + <context name="string" attribute="Vector" lineEndContext="#stay" > + <DetectChar attribute="Vector" context="#pop" char=""" /> + </context> + <context name="attribute" attribute="Attribute" lineEndContext="#pop"> + <DetectChar attribute="Attribute" context="quot in att" char=""" /> + <DetectChar attribute="Normal Text" context="#pop" char=" " /> + <AnyChar attribute="Attribute" context="#pop" String=")=<>" /> + </context> + <context name="quot in att" attribute="Attribute" lineEndContext="#stay"> + <DetectChar attribute="Attribute" context="#pop" char=""" /> + </context> + </contexts> + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal" /> + <itemData name="Keyword" defStyleNum="dsKeyword" /> + <itemData name="Data Type" defStyleNum="dsDataType" /> + <itemData name="Comment" defStyleNum="dsComment" /> + <itemData name="Integer" defStyleNum="dsDecVal" /> + <itemData name="Bit" defStyleNum="dsChar" /> + <itemData name="Vector" defStyleNum="dsString" /> + <itemData name="Operator" defStyleNum="dsOthers" /> + <itemData name="Attribute" defStyleNum="dsBaseN" /> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="singleLine" start="--" /> + </comments> + <keywords casesensitive="1" /> + </general> +</language> + diff --git a/kate/data/vrml.xml b/kate/data/vrml.xml new file mode 100644 index 000000000..42012ca47 --- /dev/null +++ b/kate/data/vrml.xml @@ -0,0 +1,139 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="VRML" version="1.02" section="Markup" extensions="*.wrl" mimetype="model/vrml" author="Volker Krause (volker.krause@rwth-aachen.de)" license="LGPL"> + <highlighting> + <list name="keywords"> + <item>DEF</item> + <item>EXTERNPROTO</item> + <item>FALSE</item> + <item>IS</item> + <item>NULL</item> + <item>PROTO</item> + <item>ROUTE</item> + <item>TO</item> + <item>TRUE</item> + <item>USE</item> + <item>eventIn</item> + <item>eventOut</item> + <item>exposedField</item> + <item>field</item> + </list> + <list name="types"> + <item>MFColor</item> + <item>MFFloat</item> + <item>MFInt32</item> + <item>MFNode</item> + <item>MFRotation</item> + <item>MFString</item> + <item>MFTime</item> + <item>MFVec2f</item> + <item>MFVec3f</item> + <item>SFBool</item> + <item>SFColor</item> + <item>SFFloat</item> + <item>SFImage</item> + <item>SFInt32</item> + <item>SFNode</item> + <item>SFRotation</item> + <item>SFString</item> + <item>SFTime</item> + <item>SFVec2f</item> + <item>SFVec3f</item> + </list> + <list name="nodes"> + <item>Anchor</item> + <item>AudioClip</item> + <item>Appearance</item> + <item>Background</item> + <item>Billboard</item> + <item>Box</item> + <item>Collision</item> + <item>Color</item> + <item>ColorInterpolator</item> + <item>Cone</item> + <item>Coordinate</item> + <item>CoordinateInterpolator</item> + <item>Cylinder</item> + <item>CylinderSensor</item> + <item>DirectionalLight</item> + <item>ElevationGrid</item> + <item>Extrusion</item> + <item>Fog</item> + <item>FontStyle</item> + <item>Group</item> + <item>ImageTexture</item> + <item>IndexedFaceSet</item> + <item>IndexedLineSet</item> + <item>Inline</item> + <item>LOD</item> + <item>Material</item> + <item>MovieTexture</item> + <item>NavigationInfo</item> + <item>Normal</item> + <item>NormalInterpolator</item> + <item>OrientationInterpolator</item> + <item>PixelTexture</item> + <item>Plane</item> + <item>PlaneSensor</item> + <item>PointLight</item> + <item>PointSet</item> + <item>PositionInterpolator</item> + <item>ProximitySensor</item> + <item>ScalarInterpolator</item> + <item>Script</item> + <item>Shape</item> + <item>Sensor</item> + <item>Sound</item> + <item>Sphere</item> + <item>SphereSensor</item> + <item>SpotLight</item> + <item>Switch</item> + <item>Text</item> + <item>TextureCoordinate</item> + <item>TextureTransform</item> + <item>TimeSensor</item> + <item>TouchSensor</item> + <item>Transform</item> + <item>Viewpoint</item> + <item>VisibilitySensor</item> + <item>WorldInfo</item> + </list> + <contexts> + <context name="Normal" attribute="Normal Text" lineEndContext="#stay"> + <keyword attribute="Keyword" context="#stay" String="keywords"/> + <keyword attribute="Node" context="#stay" String="nodes"/> + <keyword attribute="Data Type" context="#stay" String="types"/> + <Float attribute="Float" context="#stay"/> + <HlCHex attribute="Hex" context="#stay"/> + <Int attribute="Decimal" context="#stay"/> + <DetectChar attribute="Normal Text" context="#stay" char="{" beginRegion="Brace"/> + <DetectChar attribute="Normal Text" context="#stay" char="}" endRegion="Brace"/> + <DetectChar attribute="String" context="String" char="""/> + <DetectChar attribute="Comment" context="Comment" char="#"/> + </context> + <context name="Comment" attribute="Comment" lineEndContext="#pop"/> + <context attribute="String" lineEndContext="#stay" name="String"> + <LineContinue attribute="String" context="#stay"/> + <HlCStringChar attribute="String Char" context="#stay"/> + <DetectChar attribute="String" context="#pop" char="""/> + </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="Hex" defStyleNum="dsBaseN"/> + <itemData name="Float" defStyleNum="dsFloat"/> + <itemData name="String" defStyleNum="dsString"/> + <itemData name="String Char" defStyleNum="dsChar"/> + <itemData name="Comment" defStyleNum="dsComment"/> + <itemData name="Node" defStyleNum="dsNormal" color="#000080" selColor="#FFFFFF" bold="1" italic="0"/> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="singleLine" start="#"/> + </comments> + </general> +</language> diff --git a/kate/data/winehq.xml b/kate/data/winehq.xml new file mode 100644 index 000000000..07919a86a --- /dev/null +++ b/kate/data/winehq.xml @@ -0,0 +1,36 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="WINE Config" version="1.03" kateversion="2.4" section="Configuration" extensions="*.reg" mimetype=""> + <highlighting> + <contexts> + <context attribute="Normal Text" lineEndContext="#stay" name="Normal"> + <RegExpr String="WINE REGISTRY Version.*$" attribute="RegistryBeginEnd" context="#stay" /> + <RegExpr String="#\s*<\s*wineconf\s*>" attribute="RegistryBeginEnd" context="#stay" column="0"/> + <RegExpr String="#\s*<\s*\/\s*wineconf\s*>" attribute="RegistryBeginEnd" context="#stay" column="0"/> + <RegExpr String="\[.*\]$" attribute="Section" context="#stay" column="0"/> + <RegExpr String=";.*$" attribute="Comment" context="#stay"/> + + <RegExpr String="\s*"\s*[a-zA-Z0-9_.:*]*\s*"" attribute="Key" context="#stay" /> + + <DetectChar char="=" attribute="Normal Text" context="Value"/> + </context> + + <context attribute="Normal Text" lineEndContext="#pop" name="Value"> + <RegExpr String="\s*".*"" attribute="Value" context="#stay" /> + <RegExpr String=";.*$" attribute="Comment" context="#stay"/> + </context> + + </contexts> + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Section" defStyleNum="dsKeyword"/> + <itemData name="Key" defStyleNum="dsDataType"/> + <itemData name="Value" defStyleNum="dsNormal" color="#0000FF" selColor="#ffffff" italic="0" bold="1"/> + <itemData name="Comment" defStyleNum="dsComment"/> + <itemData name="ValueFilesystem1" defStyleNum="dsNormal" color="#00AA00" selColor="#ffffff" italic="0" bold="1"/> + <itemData name="ValueFilesystem2" defStyleNum="dsNormal" color="#FF0000" selColor="#ffffff" italic="0" bold="1"/> + <itemData name="RegistryBeginEnd" defStyleNum="dsNormal" color="#00AAAA" selColor="#ffffff" italic="0" bold="1"/> + </itemDatas> + </highlighting> +</language> +<!-- kate: space-indent on; indent-width 2; replace-tabs on; --> diff --git a/kate/data/xharbour.xml b/kate/data/xharbour.xml new file mode 100644 index 000000000..02ed03ee0 --- /dev/null +++ b/kate/data/xharbour.xml @@ -0,0 +1,543 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="xHarbour" version="1.04" kateversion="2.4" section="Sources" extensions="*.prg;*.PRG;*.ch" mimetype="text/x-xharbour-src" priority="5" author="Giancarlo Niccolai (giancarlo@niccolai.ws)" license="GPL"> +<highlighting> + + <list name="keywords"> + <item> local </item> + <item> global </item> + <item> extern </item> + <item> field </item> + <item> each </item> + <item> as </item> + <item> set </item> + <item> clear </item> + <item> screen </item> + <item> databases </item> + <item> all </item> + <item> close </item> + <item> color </item> + <item> date </item> + <item> else </item> + <item> elseif </item> + <item> in </item> + <item> to </item> + <item> do </item> + <item> loop </item> + <item> catch </item> + <item> exit </item> + <item> box </item> + <item> say </item> + <item> case </item> + <item> switch </item> + <item> self </item> + <item> super </item> + <item> say </item> + <item> get </item> + <item> read </item> + <item> use </item> + <item> select </item> + <item> otherwise</item> + <item> index </item> + <item> alias </item> + <item> like </item> + <item> has </item> + <item> return </item> + <item> static </item> + <item> on </item> + <item> off </item> + <item> nil </item> + <item> ? </item> + <item> class </item> + <item> external</item> + </list> + + <list name="context_beginners"> + <item> FOR </item> + <item> IF </item> + <item> SWITCH </item> + <item> WHILE </item> + <item> TRY </item> + <item> BEGIN </item> + <item> PROCEDURE </item> + <item> FUNCTION </item> + <item> METHOD </item> + </list> + + <list name="context_terminators"> + <item> NEXT </item> + <item> END </item> + <item> ENDIF </item> + <item> ENDDO </item> + <item> ENDCASE </item> + </list> + + <list name="class_keywords"> + <item> data </item> + <item> inline </item> + <item> method </item> + <item> classdata </item> + <item> init </item> + <item> from </item> + <item> hidden </item> + </list> + + <list name="set_commands"> + <item> INVALID </item> + <item> EXACT </item> + <item> FIXED </item> + <item> DECIMALS </item> + <item> DATEFORMAT </item> + <item> EPOCH </item> + <item> PATH </item> + <item> DEFAULT </item> + <item> EXCLUSIVE </item> + <item> SOFTSEEK </item> + <item> UNIQUE </item> + <item> DELETED </item> + <item> CANCEL </item> + <item> DEBUG </item> + <item> TYPEAHEAD </item> + <item> COLOR </item> + <item> CURSOR </item> + <item> CONSOLE </item> + <item> ALTERNATE </item> + <item> ALTFILE </item> + <item> DEVICE </item> + <item> EXTRA </item> + <item> EXTRAFILE </item> + <item> PRINTER </item> + <item> PRINTFILE </item> + <item> MARGIN </item> + <item> BELL </item> + <item> CONFIRM </item> + <item> ESCAPE </item> + <item> INSERT </item> + <item> EXIT </item> + <item> INTENSITY </item> + <item> SCOREBOARD </item> + <item> DELIMITERS </item> + <item> DELIMCHARS </item> + <item> WRAP </item> + <item> MESSAGE </item> + <item> MCENTER </item> + <item> SCROLLBREAK </item> + <item> EVENTMASK </item> + <item> VIDEOMODE </item> + <item> MBLOCKSIZE </item> + <item> MFILEEXT </item> + <item> STRICTREAD </item> + <item> OPTIMIZE </item> + <item> AUTOPEN </item> + <item> AUTORDER </item> + <item> AUTOSHARE </item> + <item> LANGUAGE </item> + <item> IDLEREPEAT </item> + <item> TRACE </item> + <item> TRACEFILE </item> + <item> TRACESTACK </item> + <item> FILECASE </item> + <item> DIRCASE </item> + <item> DIRSEPARATOR </item> + </list> + + <list name="functions"> + <item> aadd </item> + <item> adel </item> + <item> achoice </item> + <item> aclone </item> + <item> aeval </item> + <item> ains </item> + <item> ascan </item> + <item> asize </item> + <item> adir </item> + <item> afill </item> + <item> atail </item> + <item> asort </item> + <item> array </item> + <item> TAssociativeArray </item> + + <item> bin21 </item> + <item> bin2l </item> + <item> bin2u </item> + <item> bin2w </item> + <item> i2bin </item> + <item> l2bin </item> + <item> u2bin </item> + <item> w2bin </item> + + <item> eval </item> + <item> fieldblock </item> + <item> fieldwblock </item> + + <item> inkey </item> + <item> lastkey </item> + <item> mcol </item> + <item> mrow </item> + <item> nextkey </item> + + <item> empty </item> + <item> word </item> + <item> descend </item> + <item> __dbdelim </item> + <item> __dbsdf </item> + + <item> os </item> + <item> __run </item> + + <item> alert </item> + <item> browse </item> + <item> dbedit </item> + <item> outerr </item> + <item> outstd </item> + <item> readkey </item> + <item> readvar </item> + <item> __atprompt </item> + <item> __input </item> + <item> __menuto </item> + <item> __nonoallert </item> + <item> __typefile </item> + <item> __xrestscreen </item> + <item> __xsavescreen </item> + + <item> DBAPPEND </item> + <item> DBCLEARFILTER </item> + <item> DBCLOSEALL </item> + <item> DBCLOSEAREA </item> + <item> DBCOMMIT </item> + <item> DBCOMMITALL </item> + <item> DBCREATE </item> + <item> DBDELETE </item> + <item> DBEVAL </item> + <item> DBF </item> + <item> DBFILTER </item> + <item> DBGOBOTTOM </item> + <item> DBGOTO </item> + <item> DBGOTOP </item> + <item> DBRECALL </item> + <item> DBRLOCK </item> + <item> DBRLOCKLIST </item> + <item> DBRUNLOCK </item> + <item> DBSEEK </item> + <item> DBSELECTAREA </item> + <item> DBSETDRIVER </item> + <item> DBSETFILTER </item> + <item> DBSKIP </item> + <item> DBSTRUCT </item> + <item> DBUNLOCK </item> + <item> DBUNLOCKALL </item> + <item> DBUSEAREA </item> + <item> INDEXEXT </item> + <item> INDEXKEY </item> + <item> INDEXORD </item> + <item> ORDBAGEXT </item> + <item> ORDBAGNAME </item> + <item> ORDCONDSET </item> + <item> ORDCREATE </item> + <item> ORDDESTROY </item> + <item> ORDFOR </item> + <item> ORDKEY </item> + <item> ORDLISTADD </item> + <item> ORDLISTCLEAR </item> + <item> ORDLISTREBUILD </item> + <item> ORDNAME </item> + <item> ORDNUMBER </item> + <item> ORDSETFOCUS </item> + <item> RDDLIST </item> + <item> RDDNAME </item> + <item> RDDSETDEFAULT </item> + <item> __DBCONTINUE </item> + <item> __DBZAP </item> + <item> __FLEDIT </item> + <item> __RDDSETDEFAULT </item> + <item> __dbCopyStruct </item> + <item> __dbCopyXStruct </item> + <item> __dbCreate </item> + <item> __dbStructFilter </item> + <item> dbSkipper </item> + <item> CDOW </item> + <item> CMONTH </item> + <item> CTOD </item> + <item> DATE </item> + <item> DAY </item> + <item> DAYS </item> + <item> DOW </item> + <item> DTOC </item> + <item> DTOS </item> + <item> MONTH </item> + <item> YEAR </item> + + <item> GETENV </item> + <item> SET </item> + <item> SETMODE </item> + <item> SETTYPEAHEAD </item> + <item> VERSION </item> + <item> __SETCENTURY </item> + <item> __SetFunction </item> + + <item> break </item> + <item> errorsys </item> + <item> throw </item> + <item> errornew </item> + + <item> HB_SETKEYSAVE </item> + <item> HB_SetKeyCheck </item> + <item> HB_SetKeyGet </item> + <item> SETKEY </item> + <item> __QUIT </item> + <item> __WAIT </item> + + <item> file </item> + <item> frename </item> + <item> __dir </item> + + <item> col </item> + <item> maxcol </item> + <item> maxrow </item> + <item> row </item> + <item> hb_colorindex </item> + + <item> CURDIR </item> + <item> DIRCHANGE </item> + <item> DIRREMOVE </item> + <item> DISKSPACE </item> + <item> FCLOSE </item> + <item> FCREATE </item> + <item> FERASE </item> + <item> FERROR </item> + <item> FOPEN </item> + <item> FREAD </item> + <item> FREADSTR </item> + <item> FSEEK </item> + <item> FWRITE </item> + <item> HB_DISKSPACE </item> + <item> HB_FEOF </item> + <item> ISDISK </item> + <item> MAKEDIR </item> + + <item> ABS </item> + <item> EXP </item> + <item> INT </item> + <item> LOG </item> + <item> MAX </item> + <item> MIN </item> + <item> MOD </item> + <item> ROUND </item> + <item> SQRT </item> + + <item> HB_ISBYREF </item> + <item> PROCFILE </item> + <item> PROCLINE </item> + <item> PROCNAME </item> + <item> TYPE </item> + <item> VALTYPE </item> + <item> valtoprg </item> + <item> tone </item> + + <item> HB_LANGNAME </item> + <item> HB_LANGSELECT </item> + <item> ISAFFIRM </item> + <item> ISNEGATIVE </item> + <item> NATIONMSG </item> + + <item> pcount </item> + <item> HB_pvalue </item> + + <item> ALLTRIM </item> + <item> ASC </item> + <item> AT </item> + <item> CHR </item> + <item> HARDCR </item> + <item> HB_ANSITOOEM </item> + <item> HB_OEMTOANSI </item> + <item> HB_VALTOSTR </item> + <item> ISALPHA </item> + <item> ISDIGIT </item> + <item> ISLOWER </item> + <item> ISUPPER </item> + <item> LEFT </item> + <item> LEN </item> + <item> LOWER </item> + <item> LTRIM </item> + <item> MEMOTRAN </item> + <item> PADC </item> + <item> PADL </item> + <item> PADR </item> + <item> RAT </item> + <item> REPLICATE </item> + <item> RIGHT </item> + <item> RTRIM </item> + <item> SPACE </item> + <item> STR </item> + <item> STRTRAN </item> + <item> STRZERO </item> + <item> SUBSTR </item> + <item> TRANSFORM </item> + <item> TRIM </item> + <item> UPPER </item> + <item> VAL </item> + + <item> devoutpict </item> + + <item> elaptime </item> + <item> seconds </item> + <item> secs </item> + <item> time </item> + + <item> do </item> + + <item> ThreadStart </item> + <item> ThreadStop </item> + <item> ThreadSleep </item> + <item> ThreadKill </item> + <item> ThreadJoin </item> + <item> CreateMutex </item> + <item> DestroyMutex </item> + <item> MutexLock </item> + <item> MutexUnlock </item> + <item> Subscribe </item> + <item> SubscribeNow </item> + <item> Notify </item> + <item> NotifyAll </item> + <item> WaitForThreads </item> + <item> KillAllThreads </item> + + <item> InetInit </item> + <item> InetCleanup </item> + <item> InetCreate </item> + <item> InetDestroy </item> + <item> InetConnect </item> + <item> InetServer </item> + <item> InetAccept </item> + <item> InetSetTimeout </item> + <item> InetGetTimeout </item> + <item> InetClearTimeout </item> + <item> InetRecv </item> + <item> InetRecvAll </item> + <item> InetSend </item> + <item> InetSendAll </item> + <item> InetDGram </item> + <item> InetDGramRecv </item> + <item> InetDGramSend </item> + <item> InetAddress </item> + <item> InetPort </item> + <item> InetError </item> + <item> InetErrorDesc </item> + <item> InetGetHosts </item> + <item> InetConnectIP </item> + + <item> hb_regex </item> + <item> hb_regexmatch </item> + <item> hb_regexsplit </item> + <item> hb_regexcomp </item> + <item> hb_readini </item> + <item> hb_writeini </item> + <item> hb_random </item> + <item> hb_chechsum </item> + <item> hb_crypt </item> + <item> hb_decrypt </item> + <item> hb_hextonum </item> + <item> hb_numtohex </item> + <item> hb_exec </item> + <item> hb_execfromarray </item> + + <item> hb_class </item> + <item> hb_keyput </item> + <item> hb_osnewline </item> + + </list> + + <list name="pragma"> + <item> #include </item> + <item> #if </item> + <item> #ifdef </item> + <item> #ifndef </item> + <item> #endif </item> + <item> #else </item> + <item> #define </item> + </list> + + <contexts> + <context attribute="Normal Text" lineEndContext="#stay" name="TopLevel"> + + <Detect2Chars attribute="Comment" context="ml_comment" char="/" char1="*" beginRegion="comment_region"/> + <DetectChar attribute="Comment" context="comment" char="*" firstNonSpace="true"/> + <Detect2Chars attribute="Comment" context="comment" char="/" char1="/" /> + + <DetectChar attribute="String" context="string" char=""" /> + <DetectChar attribute="String" context="stringc" char="'" /> + + <StringDetect attribute="Operator" context="#stay" String=".and." insensitive="TRUE"/> + <StringDetect attribute="Operator" context="#stay" String=".or." insensitive="TRUE"/> + <StringDetect attribute="Operator" context="#stay" String=".not." insensitive="TRUE"/> + <StringDetect attribute="Operator" context="#stay" String=".f." insensitive="TRUE"/> + <StringDetect attribute="Operator" context="#stay" String=".t." insensitive="TRUE"/> + + <AnyChar attribute="Operator" context="#stay" String=":=!" /> + <DetectChar attribute="Keyword" context="#stay" char="@"/> + + <RegExpr String="CLASS[\t ]+" attribute="Keyword" context="ClassContext" insensitive="TRUE" beginRegion="ClassDeclRegion" firstNonSpace="true"/> + + <RegExpr String="DO[\t ]+CASE[\t ]*$" attribute="Keyword" context="#stay" insensitive="TRUE" beginRegion="IndentRegion" firstNonSpace="true"/> + <keyword attribute="Keyword" context="#stay" String="context_beginners" beginRegion="IndentRegion" /> + <keyword attribute="Keyword" context="#stay" String="context_terminators" endRegion="IndentRegion" /> + <RegExpr String="return ?" attribute="Keyword" context="#stay" insensitive="TRUE" endRegion="IndentRegion" column="0"/> + + <keyword attribute="Keyword" context="#stay" String="keywords" /> + <keyword attribute="Keyword" context="#stay" String="set_commands" /> + <keyword attribute="Function" context="#stay" String="functions" /> + <keyword attribute="Preprocessor" context="#stay" String="pragma" /> + <Detect2Chars attribute="Operator" context="#stay" char="-" char1=">" /> + <RegExpr attribute="Number" context="#stay" String="\d+" /> + </context> + + <context attribute="Comment" lineEndContext="#pop" name="comment"/> + + <context attribute="Comment" lineEndContext="#stay" name="ml_comment"> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="comment_region"/> + </context> + + <context attribute="String" lineEndContext="#pop" name="string"> + <DetectChar attribute="String" context="#pop" char=""" /> + </context> + <context attribute="String" lineEndContext="#pop" name="stringc"> + <DetectChar attribute="String" context="#pop" char="'" /> + </context> + + <context attribute="Operator" lineEndContext="#pop" name="logic"> + <DetectChar attribute="Operator" context="#pop" char="." /> + </context> + + <context attribute="Normal Text" lineEndContext="#stay" name="ClassContext"> + + <Detect2Chars attribute="Comment" context="ml_comment" char="/" char1="*" beginRegion="comment_region"/> + <DetectChar attribute="Comment" context="comment" char="*" firstNonSpace="true"/> + <Detect2Chars attribute="Comment" context="comment" char="/" char1="/" /> + + <keyword attribute="Keyword" context="#stay" String="class_keywords" /> + <RegExpr String="END(CLASS)? *$" attribute="Keyword" context="#pop" insensitive="TRUE" endRegion="ClassDeclRegion" firstNonSpace="true"/> + </context> + + </contexts> + + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Keyword" defStyleNum="dsKeyword"/> + <itemData name="Comment" defStyleNum="dsComment"/> + <itemData name="Operator" defStyleNum="dsBaseN" color="#A01060" selColor="#400040" bold="0" italic="0"/> + <itemData name="Number" defStyleNum="dsDecVal" color="#5050C0" selColor="#000000" bold="0" italic="0"/> + <itemData name="Function" defStyleNum="dsFunction" /> + <itemData name="String" defStyleNum="dsString"/> + <itemData name="Preprocessor" defStyleNum="dsOthers"/> + </itemDatas> +</highlighting> + +<general> + <comments> + <comment name="singleLine" start="*" /> + <comment name="singleLine" start="//" /> + <comment name="multiLine" start="/*" end="*/" /> + </comments> + <keywords casesensitive="0" /> +</general> +</language> diff --git a/kate/data/xml.xml b/kate/data/xml.xml new file mode 100644 index 000000000..22c284ae2 --- /dev/null +++ b/kate/data/xml.xml @@ -0,0 +1,147 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd" +[ + <!ENTITY name "[A-Za-z_:][\w.:_-]*"> + <!ENTITY entref "&(#[0-9]+|#[xX][0-9A-Fa-f]+|&name;);"> +]> +<language name="XML" version="1.96" kateversion="2.4" section="Markup" extensions="*.docbook;*.xml;*.rc;*.daml;*.rdf" mimetype="text/xml;text/book;text/daml;text/rdf" casesensitive="1" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL"> + +<highlighting> +<contexts> + <context name="Start" attribute="Normal Text" lineEndContext="#stay"> + <IncludeRules context="FindXML" /> + </context> + + <context name="FindXML" attribute="Normal Text" lineEndContext="#stay"> + <DetectSpaces /> + <StringDetect attribute="Comment" context="Comment" String="<!--" beginRegion="comment" /> + <StringDetect attribute="CDATA" context="CDATA" String="<![CDATA[" beginRegion="cdata" /> + <RegExpr attribute="Doctype" context="Doctype" String="<!DOCTYPE\s+" beginRegion="doctype" /> + <RegExpr attribute="Processing Instruction" context="PI" String="<\?[\w:_-]*" beginRegion="pi" /> + <RegExpr attribute="Element" context="Element" String="<&name;" beginRegion="element" /> + <IncludeRules context="FindEntityRefs" /> + <DetectIdentifier /> + </context> + + <context name="FindEntityRefs" attribute="Normal Text" lineEndContext="#stay"> + <RegExpr attribute="EntityRef" context="#stay" String="&entref;" /> + <AnyChar attribute="Error" context="#stay" String="&<" /> + </context> + + <context name="FindPEntityRefs" attribute="Normal Text" lineEndContext="#stay"> + <RegExpr attribute="EntityRef" context="#stay" String="&entref;" /> + <RegExpr attribute="PEntityRef" context="#stay" String="%&name;;" /> + <AnyChar attribute="Error" context="#stay" String="&%" /> + </context> + + + <context name="Comment" attribute="Comment" lineEndContext="#stay"> + <DetectSpaces /> + <StringDetect attribute="Comment" context="#pop" String="-->" endRegion="comment" /> + <RegExpr attribute="Error" context="#stay" String="-(-(?!->))+" /> + <IncludeRules context="##Alerts" /> + <DetectIdentifier /> + </context> + + <context name="CDATA" attribute="Normal Text" lineEndContext="#stay"> + <DetectSpaces /> + <DetectIdentifier /> + <StringDetect attribute="CDATA" context="#pop" String="]]>" endRegion="cdata" /> + <StringDetect attribute="EntityRef" context="#stay" String="]]&gt;" /> + </context> + + <context name="PI" attribute="Normal Text" lineEndContext="#stay"> + <Detect2Chars attribute="Processing Instruction" context="#pop" char="?" char1=">" endRegion="pi" /> + </context> + + <context name="Doctype" attribute="Normal Text" lineEndContext="#stay"> + <DetectChar attribute="Doctype" context="#pop" char=">" endRegion="doctype" /> + <DetectChar attribute="Doctype" context="Doctype Internal Subset" char="[" beginRegion="int_subset" /> + </context> + + <context name="Doctype Internal Subset" attribute="Normal Text" lineEndContext="#stay"> + <DetectChar attribute="Doctype" context="#pop" char="]" endRegion="int_subset" /> + <RegExpr attribute="Doctype" context="Doctype Markupdecl" String="<!(ELEMENT|ENTITY|ATTLIST|NOTATION)\b" /> + <StringDetect attribute="Comment" context="Comment" String="<!--" beginRegion="comment" /> + <RegExpr attribute="Processing Instruction" context="PI" String="<\?[\w:_-]*" beginRegion="pi" /> + <IncludeRules context="FindPEntityRefs" /> + </context> + + <context name="Doctype Markupdecl" attribute="Normal Text" lineEndContext="#stay"> + <DetectChar attribute="Doctype" context="#pop" char=">" /> + <DetectChar attribute="Value" context="Doctype Markupdecl DQ" char=""" /> + <DetectChar attribute="Value" context="Doctype Markupdecl SQ" char="'" /> + </context> + + <context name="Doctype Markupdecl DQ" attribute="Value" lineEndContext="#stay"> + <DetectChar attribute="Value" context="#pop" char=""" /> + <IncludeRules context="FindPEntityRefs" /> + </context> + + <context name="Doctype Markupdecl SQ" attribute="Value" lineEndContext="#stay"> + <DetectChar attribute="Value" context="#pop" char="'" /> + <IncludeRules context="FindPEntityRefs" /> + </context> + + <context name="Element" attribute="Normal Text" lineEndContext="#stay"> + <Detect2Chars attribute="Element" context="#pop" char="/" char1=">" endRegion="element" /> + <DetectChar attribute="Element" context="El Content" char=">" /> + <RegExpr attribute="Attribute" context="Attribute" String="^&name;" /> + <RegExpr attribute="Attribute" context="Attribute" String="\s+&name;" /> + <RegExpr attribute="Error" context="#stay" String="\S" /> + </context> + + <context name="El Content" attribute="Normal Text" lineEndContext="#stay"> + <RegExpr attribute="Element" context="El End" String="</&name;" /> + <IncludeRules context="FindXML" /> + </context> + + <context name="El End" attribute="Normal Text" lineEndContext="#stay"> + <DetectChar attribute="Element" context="#pop#pop#pop" char=">" endRegion="element" /> + <RegExpr attribute="Error" context="#stay" String="\S" /> + </context> + + <context name="Attribute" attribute="Normal Text" lineEndContext="#stay"> + <DetectChar attribute="Attribute" context="Value" char="=" /> + <RegExpr attribute="Error" context="#stay" String="\S" /> + </context> + + <context name="Value" attribute="Normal Text" lineEndContext="#stay"> + <DetectChar attribute="Value" context="Value DQ" char=""" /> + <DetectChar attribute="Value" context="Value SQ" char="'" /> + <RegExpr attribute="Error" context="#stay" String="\S" /> + </context> + + <context name="Value DQ" attribute="Value" lineEndContext="#stay"> + <DetectChar attribute="Value" context="#pop#pop#pop" char=""" /> + <IncludeRules context="FindEntityRefs" /> + </context> + + <context name="Value SQ" attribute="Value" lineEndContext="#stay"> + <DetectChar attribute="Value" context="#pop#pop#pop" char="'" /> + <IncludeRules context="FindEntityRefs" /> + </context> + +</contexts> +<itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal" /> + <itemData name="Comment" defStyleNum="dsComment" /> + <itemData name="CDATA" defStyleNum="dsBaseN" bold="1" /> + <itemData name="Processing Instruction" defStyleNum="dsKeyword" /> + <itemData name="Doctype" defStyleNum="dsDataType" bold="1" /> + <itemData name="Element" defStyleNum="dsKeyword" /> + <itemData name="Attribute" defStyleNum="dsOthers" /> + <itemData name="Value" defStyleNum="dsString" color="#a00" /> + <itemData name="EntityRef" defStyleNum="dsDecVal" /> + <itemData name="PEntityRef" defStyleNum="dsDecVal" /> + <itemData name="Error" defStyleNum="dsError" /> +</itemDatas> + +</highlighting> +<general> + <comments> + <comment name="multiLine" start="<!--" end="-->" /> + </comments> + <indentation mode="xml" /> +</general> +</language> diff --git a/kate/data/xmldebug.xml b/kate/data/xmldebug.xml new file mode 100644 index 000000000..07b7612f5 --- /dev/null +++ b/kate/data/xmldebug.xml @@ -0,0 +1,593 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language version="1.02" kateversion="2.3" name="XML (Debug)" section="Markup" extensions="" mimetype=""> + <highlighting> + <list name="AttType"> + <item>CDATA</item> + <item>ID</item> + <item>IDREF</item> + <item>IDREFS</item> + <item>ENTITY</item> + <item>ENTITIES</item> + <item>NMTOKEN</item> + <item>NMTOKENS</item> + </list> + <contexts> + + <context name="0:prolog" attribute="Error" lineEndContext="#stay"> + <RegExpr attribute="Doctype Declaration" context="1:XMLDecl Version" String="<\?xml(\s+|$)"/> + </context> + + <context name="1:XMLDecl Version" attribute="Error" lineEndContext="#stay"> + <RegExpr attribute="Attribute" context="2:XMLDecl Version Eq" String="\s*version\s*"/> + <RegExpr attribute="Doctype Declaration" String="\s+" context="#stay"/> + </context> + + <context name="2:XMLDecl Version Eq" attribute="Error" lineEndContext="5:XMLDecl Encoding Eq"> + <RegExpr attribute="Attribute" context="3:XMLDecl Version" String="\s*=\s*"/> + <RegExpr attribute="Attribute" context="#stay" String="\s+"/> + </context> + + <context name="3:XMLDecl Version" attribute="Error" lineEndContext="#stay"> + <RegExpr attribute="Value" context="4:XMLDecl Encoding" String="\s*("[A-Za-z0-9:._-]*"|'[A-Za-z0-9:._-]*')(?!e)\s*"/> + <RegExpr attribute="Attribute" context="#stay" String="\s+"/> + </context> + + <context name="4:XMLDecl Encoding" attribute="Error" lineEndContext="#stay"> + <RegExpr attribute="Attribute" context="5:XMLDecl Encoding Eq" String="\s*encoding\s*"/> + <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> + <RegExpr attribute="Doctype Declaration" context="11:Misc after XMLDecl" String="\?>"/> + </context> + + <context name="5:XMLDecl Encoding Eq" attribute="Error" lineEndContext="#stay"> + <RegExpr attribute="Attribute" context="6:XMLDecl Encoding" String="\s*=\s*"/> + <RegExpr attribute="Attribute" context="#stay" String="\s+"/> + </context> + + <context name="6:XMLDecl Encoding" attribute="Error" lineEndContext="#stay"> + <RegExpr attribute="Value" context="7:XMLDecl Standalone" String="\s*("[A-Za-z][A-Za-z0-9._-]*"|'[A-Za-z][A-Za-z0-9._-]*')(?!s)\s*"/> + <RegExpr attribute="Attribute" context="#stay" String="\s+"/> + </context> + + <context name="7:XMLDecl Standalone" attribute="Error" lineEndContext="#stay"> + <RegExpr attribute="Attribute" context="8:XMLDecl Standalone Eq" String="\s*standalone\s*"/> + <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> + <RegExpr attribute="Doctype Declaration" context="11:Misc after XMLDecl" String="\?>"/> + </context> + + <context name="8:XMLDecl Standalone Eq" attribute="Error" lineEndContext="#stay"> + <RegExpr attribute="Attribute" context="9:XMLDecl Standalone" String="\s*=\s*"/> + <RegExpr attribute="Attribute" context="#stay" String="\s+"/> + </context> + + <context name="9:XMLDecl Standalone" attribute="Error" lineEndContext="#stay"> + <RegExpr attribute="Value" context="10:XMLDecl Standalone" String="\s*"(yes|no)"|'(yes|no)'\s*"/> + <RegExpr attribute="Attribute" context="#stay" String="\s+"/> + </context> + + <context name="10:XMLDecl Standalone" attribute="Error" lineEndContext="#stay"> + <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> + <RegExpr attribute="Doctype Declaration" context="11:Misc after XMLDecl" String="\?>"/> + </context> + + <context name="11:Misc after XMLDecl" attribute="Error" lineEndContext="#stay"> + <RegExpr attribute="Normal Text" context="#stay" String="\s+"/> + <RegExpr attribute="Comment" context="12:Comment after XMLDecl" String="\s*<!--\s*"/> + <RegExpr attribute="Processing Instruction" context="13:PI after XMLDecl" String="\s*<\?xml-stylesheet(\s+|$)"/> + <RegExpr attribute="Error" context="13:PI after XMLDecl" String="\s*<\??[xX][mM][lL]"/> + <RegExpr attribute="Processing Instruction" context="13:PI after XMLDecl" String="\s*<\?[a-zA-Z_][a-zA-Z0-9_-]*(:[a-zA-Z0-9_-]*)?(\s+|$)"/> + <RegExpr attribute="Doctype Declaration" context="14:Doctype Decl Name" String="<!DOCTYPE(\s+|$)"/> + <RegExpr attribute="Error" context="80:STag" String="<[xX][mM][lL](\w|[_.-])*(:(\w|[_.-])+)?"/> + <RegExpr attribute="Normal Tag" context="80:STag" String="<(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|_)(\w|[_.-])*(:(\w|[_.-])+)?"/> + <RegExpr attribute="Error" context="80:STag" String="<(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[:_])(\w|[:_.-])*"/> + <RegExpr attribute="Error" context="85:ETag" String="</[xX][mM][lL](\w|[_.-])*(:(\w|[_.-])+)?"/> + <RegExpr attribute="Normal Tag" context="85:ETag" String="</(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|_)(\w|[_.-])*(:(\w|[_.-])+)?"/> + <RegExpr attribute="Error" context="85:ETag" String="</(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[:_])(\w|[:_.-])*"/> + <RegExpr attribute="Entity" context="79:Outside" String="&(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*;"/> + <RegExpr attribute="Entity" context="79:Outside" String="&#(x[0-9a-fA-F]+|[0-9]+);"/> + <RegExpr attribute="Entity" context="86:CDSect" String="<!\[CDATA\["/> + <RegExpr attribute="Comment" context="87:Comment inside IS" String="<!--"/> + <RegExpr attribute="Normal Tag" context="88:PI inside IS" String="<\?xml-stylesheet(\s|$)"/> + <RegExpr attribute="Error" context="88:PI inside IS" String="<\?[xX][mM][lL](\w|[_.-])*(:(\w|[_.-])+)?"/> + <RegExpr attribute="Normal Tag" context="88:PI inside IS" String="<\?(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|_)(\w|[_.-])*(:(\w|[_.-])+)?"/> + <RegExpr attribute="Error" context="88:PI inside IS" String="<\?(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[:_])(\w|[:_.-])*"/> + <DetectChar attribute="Error" context="79:Outside" char="<"/> + <DetectChar attribute="Error" context="79:Outside" char="&"/> + <RegExpr attribute="Error" context="79:Outside" String="\]\]>"/> + </context> + + <context name="12:Comment after XMLDecl" attribute="Comment" lineEndContext="#stay"> + <RegExpr attribute="Error" context="#pop" String="--->"/> + <RegExpr attribute="Comment" context="#pop" String="-->"/> + <Detect2Chars attribute="Error" context="#stay" char="-" char1="-"/> + </context> + + <context name="13:PI after XMLDecl" attribute="Processing Instruction Body" lineEndContext="#stay"> + <Detect2Chars attribute="Processing Instruction" context="#pop" char="?" char1=">"/> + </context> + + <context name="14:Doctype Decl Name" attribute="Error" lineEndContext="#stay"> + <RegExpr attribute="Doctype Declaration" context="15:Doctype Decl ExternalID" String="(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*(\s+|$)"/> + <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> + </context> + + <context name="15:Doctype Decl ExternalID" attribute="Error" lineEndContext="#stay"> + <RegExpr attribute="Doctype Declaration" context="16:Doctype Decl PublicID" String="PUBLIC(\s+|$)"/> + <RegExpr attribute="Doctype Declaration" context="19:Doctype Decl SystemID" String="SYSTEM(\s+|$)"/> + <DetectChar attribute="Doctype Declaration" context="23:Doctype Decl IS" char="["/> + <!-- rodda: this was originally context="?", so my best guess... most likely wrong --> + <DetectChar attribute="Doctype Declaration" context="23:Doctype Decl IS" char=">"/> + <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> + </context> + + <context name="16:Doctype Decl PublicID" attribute="Error" lineEndContext="#stay"> + <DetectChar attribute="Value" context="17:Doctype Decl PublicID qq" char="""/> + <DetectChar attribute="Value" context="18:Doctype Decl PublicID q" char="'"/> + <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> + </context> + + <context name="17:Doctype Decl PublicID qq" attribute="Error" lineEndContext="#stay"> + <DetectChar attribute="Value" context="19:Doctype Decl SystemID" char=""(\s+|$)"/> + <RegExpr attribute="Value" context="#stay" String="[ 
a-zA-Z0-9'()+,./:=?;!*#@$_%-]"/> + </context> + + <context name="18:Doctype Decl PublicID q" attribute="Value" lineEndContext="#stay"> + <DetectChar attribute="Value" context="19:Doctype Decl SystemID" char="'(\s+|$)"/> + <RegExpr attribute="Value" context="#stay" String="[ 
a-zA-Z0-9()+,./:=?;!*#@$_%-]"/> + </context> + + <context name="19:Doctype Decl SystemID" attribute="Error" lineEndContext="#stay"> + <DetectChar attribute="Value" context="20:Doctype Decl SystemID qq" char="""/> + <DetectChar attribute="Value" context="21:Doctype Decl SystemID q" char="'"/> + <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> + </context> + + <context name="20:Doctype Decl SystemID qq" attribute="Value" lineEndContext="#stay"> + <DetectChar attribute="Value" context="22:Doctype Decl IS or end" char="""/> + </context> + + <context name="21:Doctype Decl SystemID q" attribute="Value" lineEndContext="#stay"> + <DetectChar attribute="Value" context="22:Doctype Decl IS or end" char="'"/> + </context> + + <context name="22:Doctype Decl IS or end" attribute="Error" lineEndContext="#stay"> + <DetectChar attribute="Doctype Declaration" context="23:Doctype Decl IS" char="["/> + <DetectChar attribute="Doctype Declaration" context="79:Outside" char=">"/> + <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> + </context> + + <context name="23:Doctype Decl IS" attribute="Error" lineEndContext="#stay"> + <RegExpr attribute="Entity" context="#stay" String="%(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*;"/> + <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> + <RegExpr attribute="Doctype Declaration" context="24:elementdecl" String="<!ELEMENT(\s+|$)"/> + <RegExpr attribute="Doctype Declaration" context="38:AttlistDecl" String="<!ATTLIST(\s+|$)"/> + <RegExpr attribute="Doctype Declaration" context="50:EntityDecl" String="<!ENTITY(\s+|$)"/> + <RegExpr attribute="Doctype Declaration" context="71:NotationDecl Name" String="<!NOTATION(\s+|$)"/> + <RegExpr attribute="Comment" context="77:Comment inside IS" String="\s*<!--\s*"/> + <RegExpr attribute="Processing Instruction" context="78:PI inside IS" String="\s*<\?xml-stylesheet(\s+|$)"/> + <RegExpr attribute="Error" context="78:PI inside IS" String="\s*<\??[xX][mM][lL]"/> + <RegExpr attribute="Processing Instruction" context="78:PI inside IS" String="\s*<\?[a-zA-Z_][a-zA-Z0-9_-]*(:[a-zA-Z0-9_-]*)?(\s+|$)"/> + <Detect2Chars attribute="Doctype Declaration" context="79:Outside" char="]" char1=">"/> + </context> + + <context name="24:elementdecl" attribute="Error" lineEndContext="#stay"> + <RegExpr attribute="Normal Tag" context="25:contentspec" String="(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*"/> + <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> + </context> + + <context name="25:contentspec" attribute="Error" lineEndContext="#stay"> + <RegExpr attribute="Attribute" context="37:element end" String="(EMPTY|ANY)"/> + <DetectChar attribute="Attribute" context="26:MixedOrChildren" char="("/> + <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> + </context> + + <context name="26:MixedOrChildren" attribute="Error" lineEndContext="#stay"> + <RegExpr attribute="Attribute" context="27:MixedShort" String="#PCDATA"/> + <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> + <DetectChar attribute="Doctype Declaration" context="30:children unknown" char="("/> + <RegExpr attribute="Value" context="30:children unknown" String="(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*[\?\*\+]?"/> + </context> + + <context name="27:MixedShort" attribute="Error" lineEndContext="#stay"> + <DetectChar attribute="Doctype Declaration" context="28:MixedLong" char="|"/> + <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> + <DetectChar attribute="Doctype Declaration" context="37:element end" char=")"/> + </context> + + <context name="28:MixedLong" attribute="Error" lineEndContext="#stay"> + <RegExpr attribute="Value" context="29:MixedLong endOrContinue" String="(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*"/> + <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> + </context> + + <context name="29:MixedLong endOrContinue" attribute="Error" lineEndContext="#stay"> + <DetectChar attribute="Doctype Declaration" context="#pop" char="|"/> + <RegExpr attribute="Doctype Declaration" context="#pop#pop" String="\s+"/> + <Detect2Chars attribute="Doctype Declaration" context="37:element end" char=")" char1="*"/> + </context> + + <context name="30:children unknown" attribute="Error" lineEndContext="#stay"> + <DetectChar attribute="Doctype Declaration" context="33:children choice" char="|"/> + <DetectChar attribute="Doctype Declaration" context="35:children seq" char=","/> + <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> + <RegExpr attribute="Doctype Declaration" context="31:children unknownOrEnd" String="\)[\?\*\+]?"/> + </context> + + <context name="31:children unknownOrEnd" attribute="Error" lineEndContext="#stay"> + <DetectChar attribute="Doctype Declaration" context="33:children choice" char="|"/> + <DetectChar attribute="Doctype Declaration" context="35:children seq" char=","/> + <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> + <RegExpr attribute="Doctype Declaration" context="#stay" String="\)[\?\*\+]?"/> + <DetectChar attribute="Doctype Declaration" context="23:Doctype Decl IS" char=">"/> + </context> + + <context name="32:children unknownName" attribute="Error" lineEndContext="#stay"> + <RegExpr attribute="Value" context="30:children unknown" String="(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*[\?\*\+]?"/> + <DetectChar attribute="Doctype Declaration" context="#stay" char="("/> + <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> + </context> + + <context name="33:children choice" attribute="Error" lineEndContext="#stay"> + <RegExpr attribute="Value" context="34:children choiceOrEnd" String="(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*[\?\*\+]?"/> + <DetectChar attribute="Doctype Declaration" context="32:children unknownName" char="("/> + <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> + </context> + + <context name="34:children choiceOrEnd" attribute="Error" lineEndContext="#stay"> + <DetectChar attribute="Doctype Declaration" context="#pop" char="|"/> + <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> + <RegExpr attribute="Doctype Declaration" context="31:children unknownOrEnd" String="\)[\?\*\+]?"/> + </context> + + <context name="35:children seq" attribute="Error" lineEndContext="#stay"> + <RegExpr attribute="Value" context="36:children seqOrEnd" String="(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*[\?\*\+]?"/> + <DetectChar attribute="Doctype Declaration" context="32:children unknownName" char="("/> + <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> + </context> + + <context name="36:children seqOrEnd" attribute="Error" lineEndContext="#stay"> + <DetectChar attribute="Doctype Declaration" context="#pop" char=","/> + <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> + <RegExpr attribute="Doctype Declaration" context="31:children unknownOrEnd" String="\)[\?\*\+]?"/> + </context> + + <context name="37:element end" attribute="Error" lineEndContext="#stay"> + <DetectChar attribute="Doctype Declaration" context="23:Doctype Decl IS" char=">"/> + <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> + </context> + + <context name="38:AttlistDecl" attribute="Error" lineEndContext="#stay"> + <RegExpr attribute="Normal Tag" context="39:AttDef" String="(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*(\s+|$)"/> + <RegExpr attribute="Normal Tag" context="23:Doctype Decl IS" String="(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*>"/> + <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> + </context> + + <context name="39:AttDef" attribute="Error" lineEndContext="#stay"> + <RegExpr attribute="Attribute" context="40:AttType" String="(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*(\s+|$)"/> + <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> + <DetectChar attribute="Doctype Declaration" context="23:Doctype Decl IS" char=">"/> + </context> + + <context name="40:AttType" attribute="Error" lineEndContext="#stay"> + <keyword attribute="Doctype Declaration" context="46:DefaultDecl" String="AttType"/> + <RegExpr attribute="Doctype Declaration" context="41:NotationStart" String="NOTATION(\s+|$)"/> + <DetectChar attribute="Doctype Declaration" context="42:Notation" char="("/> + <RegExpr attribute="Doctype Declaration" context="#pop" String="\s+"/> + </context> + + <context name="41:NotationStart" attribute="Error" lineEndContext="#stay"> + <DetectChar attribute="Doctype Declaration" context="42:Notation" char="("/> + <RegExpr attribute="Doctype Declaration" context="#pop#pop" String="\s+"/> + </context> + + <context name="42:Notation" attribute="Error" lineEndContext="#stay"> + <RegExpr attribute="Value" context="43:Notation or End" String="(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*"/> + <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> + </context> + + <context name="43:Notation or End" attribute="Error" lineEndContext="#stay"> + <DetectChar attribute="Doctype Declaration" context="#pop" char="|"/> + <RegExpr attribute="Doctype Declaration" context="46:DefaultDecl" String="\)(\s+|$)"/> + <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> + </context> + + <context name="44:Enumeration" attribute="Error" lineEndContext="#stay"> + <RegExpr attribute="Value" context="#stay" String="(\w|[_:.-])+"/> + <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> + </context> + + <context name="45:Enumeration or End" attribute="Error" lineEndContext="#stay"> + <DetectChar attribute="Doctype Declaration" context="44:Enumeration" char="|"/> + <RegExpr attribute="Doctype Declaration" context="46:DefaultDecl" String="\)(\s+|$)"/> + <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> + </context> + + <context name="46:DefaultDecl" attribute="Error" lineEndContext="#stay"> + <RegExpr attribute="Attribute" context="39:AttDef" String="(#REQUIRED|#IMPLIED)(\s+|$)"/> + <RegExpr attribute="Attribute" context="47:DefaultDecl AttValue" String="#FIXED(\s+|$)"/> + <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> + <RegExpr attribute="Value" context="48:DefaultDecl AttValue qq" String="""/> + <RegExpr attribute="Value" context="49:DefaultDecl AttValue q" String="'"/> + </context> + + <context name="47:DefaultDecl AttValue" attribute="Error" lineEndContext="#stay"> + <RegExpr attribute="Value" context="48:DefaultDecl AttValue qq" String="""/> + <RegExpr attribute="Value" context="49:DefaultDecl AttValue q" String="'"/> + </context> + + <context name="48:DefaultDecl AttValue qq" attribute="Value" lineEndContext="#stay"> + <RegExpr attribute="Entity" context="#stay" String="&(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*;"/> + <RegExpr attribute="Entity" context="#stay" String="&#(x[0-9a-fA-F]+|[0-9]+);"/> + <DetectChar attribute="Error" context="#stay" char="&"/> + <DetectChar attribute="Error" context="#stay" char="<"/> + <DetectChar attribute="Value" context="39:AttDef" char="""/> + </context> + + <context name="49:DefaultDecl AttValue q" attribute="Value" lineEndContext="#stay"> + <RegExpr attribute="Entity" context="#stay" String="&(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*;"/> + <RegExpr attribute="Entity" context="#stay" String="&#(x[0-9a-fA-F]+|[0-9]+);"/> + <DetectChar attribute="Error" context="#stay" char="&"/> + <DetectChar attribute="Error" context="#stay" char="<"/> + <DetectChar attribute="Value" context="39:AttDef" char="""/> + </context> + + <context name="50:EntityDecl" attribute="Error" lineEndContext="#stay"> + <RegExpr attribute="Entity" context="52:GEDecl EntityValueOrExternalID" String="(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*(\s+|$)"/> + <DetectChar attribute="Entity" context="61:PEDecl" char="%"/> + <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> + </context> + + <context name="51:unused" attribute="Error" lineEndContext="#stay"> + </context> + + <context name="52:GEDecl EntityValueOrExternalID" attribute="Error" lineEndContext="#stay"> + <RegExpr attribute="Value" context="53:GEDecl EntityValue qq" String="""/> + <RegExpr attribute="Value" context="54:GEDecl EntityValue q" String="'"/> + <RegExpr attribute="Doctype Declaration" context="55:GEDecl PublicID" String="PUBLIC(\s+|$)"/> + <RegExpr attribute="Doctype Declaration" context="58:GEDecl SystemID" String="SYSTEM(\s+|$)"/> + </context> + + <context name="53:GEDecl EntityValue qq" attribute="Value" lineEndContext="#stay"> + <RegExpr attribute="Entity" context="#stay" String="[&%](?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*;"/> + <RegExpr attribute="Entity" context="#stay" String="&#(x[0-9a-fA-F]+|[0-9]+);"/> + <DetectChar attribute="Error" context="#stay" char="&"/> + <DetectChar attribute="Error" context="#stay" char="%"/> + <DetectChar attribute="Error" context="#stay" char="<"/> + <DetectChar attribute="Value" context="69:GEDecl endOrNDATA" char="""/> + </context> + + <context name="54:GEDecl EntityValue q" attribute="Value" lineEndContext="#stay"> + <RegExpr attribute="Entity" context="#stay" String="[&%](?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*;"/> + <RegExpr attribute="Entity" context="#stay" String="&#(x[0-9a-fA-F]+|[0-9]+);"/> + <DetectChar attribute="Error" context="#stay" char="&"/> + <DetectChar attribute="Error" context="#stay" char="%"/> + <DetectChar attribute="Error" context="#stay" char="<"/> + <DetectChar attribute="Value" context="69:GEDecl endOrNDATA" char="'"/> + </context> + + <context name="55:GEDecl PublicID" attribute="Error" lineEndContext="#stay"> + <DetectChar attribute="Value" context="56:GEDecl PublicID qq" char="""/> + <DetectChar attribute="Value" context="57:GEDecl PublicID q" char="'"/> + <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> + </context> + + <context name="56:GEDecl PublicID qq" attribute="Error" lineEndContext="#stay"> + <DetectChar attribute="Value" context="58:GEDecl SystemID" char=""(\s+|$)"/> + <RegExpr attribute="Value" context="#stay" String="[ 
a-zA-Z0-9'()+,./:=?;!*#@$_%-]"/> + </context> + + <context name="57:GEDecl PublicID q" attribute="Value" lineEndContext="#stay"> + <DetectChar attribute="Value" context="58:GEDecl SystemID" char="'(\s+|$)"/> + <RegExpr attribute="Value" context="#stay" String="[ 
a-zA-Z0-9()+,./:=?;!*#@$_%-]"/> + </context> + + <context name="58:GEDecl SystemID" attribute="Error" lineEndContext="#stay"> + <DetectChar attribute="Value" context="59:GEDecl SystemID qq" char="""/> + <DetectChar attribute="Value" context="60:GEDecl SystemID q" char="'"/> + <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> + </context> + + <context name="59:GEDecl SystemID qq" attribute="Value" lineEndContext="#stay"> + <DetectChar attribute="Value" context="69:GEDecl endOrNDATA" char="""/> + </context> + + <context name="60:GEDecl SystemID q" attribute="Value" lineEndContext="#stay"> + <DetectChar attribute="Value" context="69:GEDecl endOrNDATA" char="'"/> + </context> + + <context name="61:PEDecl" attribute="Error" lineEndContext="#stay"> + <RegExpr attribute="Entity" context="62:PEDecl EntityValueOrExternalID" String="(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*(\s+|$)"/> + <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> + </context> + + <context name="62:PEDecl EntityValueOrExternalID" attribute="Error" lineEndContext="#stay"> + <RegExpr attribute="Value" context="53:GEDecl EntityValue qq" String="""/> + <RegExpr attribute="Value" context="54:GEDecl EntityValue q" String="'"/> + <RegExpr attribute="Doctype Declaration" context="63:PEDecl PublicID" String="PUBLIC(\s+|$)"/> + <RegExpr attribute="Doctype Declaration" context="66:PEDecl SystemID" String="SYSTEM(\s+|$)"/> + </context> + + <context name="63:PEDecl PublicID" attribute="Error" lineEndContext="#stay"> + <DetectChar attribute="Value" context="64:PEDecl PublicID qq" char="""/> + <DetectChar attribute="Value" context="65:PEDecl PublicID q" char="'"/> + <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> + </context> + + <context name="64:PEDecl PublicID qq" attribute="Error" lineEndContext="#stay"> + <DetectChar attribute="Value" context="66:PEDecl SystemID" char=""(\s+|$)"/> + <RegExpr attribute="Value" context="#stay" String="[ 
a-zA-Z0-9'()+,./:=?;!*#@$_%-]"/> + </context> + + <context name="65:PEDecl PublicID q" attribute="Value" lineEndContext="#stay"> + <DetectChar attribute="Value" context="66:PEDecl SystemID" char="'(\s+|$)"/> + <RegExpr attribute="Value" context="#stay" String="[ 
a-zA-Z0-9()+,./:=?;!*#@$_%-]"/> + </context> + + <context name="66:PEDecl SystemID" attribute="Error" lineEndContext="#stay"> + <DetectChar attribute="Value" context="67:PEDecl SystemID qq" char="""/> + <DetectChar attribute="Value" context="68:PEDecl SystemID q" char="'"/> + <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> + </context> + + <context name="67:PEDecl SystemID qq" attribute="Value" lineEndContext="#stay"> + <DetectChar attribute="Value" context="37:element end" char="""/> + </context> + + <context name="68:PEDecl SystemID q" attribute="Value" lineEndContext="#stay"> + <DetectChar attribute="Value" context="37:element end" char="'"/> + </context> + + <context name="69:GEDecl endOrNDATA" attribute="Error" lineEndContext="#stay"> + <DetectChar attribute="Doctype Declaration" context="23:Doctype Decl IS" char=">"/> + <RegExpr attribute="Doctype Declaration" context="70:GEDecl NDATA" String="NDATA(\s+|$)"/> + <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> + </context> + + <context name="70:GEDecl NDATA" attribute="Error" lineEndContext="#stay"> + <RegExpr attribute="Entity" context="37:element end" String="(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*"/> + <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> + </context> + + <context name="71:NotationDecl Name" attribute="Error" lineEndContext="#stay"> + <RegExpr attribute="Entity" context="72:NotationDecl ExternalID" String="(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*(\s+|$)"/> + <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> + </context> + + <context name="72:NotationDecl ExternalID" attribute="Error" lineEndContext="#stay"> + <RegExpr attribute="Doctype Declaration" context="73:NotationDecl PublicID" String="PUBLIC(\s+|$)"/> + <RegExpr attribute="Doctype Declaration" context="66:PEDecl SystemID" String="SYSTEM(\s+|$)"/> + <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> + </context> + + <context name="73:NotationDecl PublicID" attribute="Error" lineEndContext="#stay"> + <DetectChar attribute="Value" context="74:NotationDecl PublicID qq" char="""/> + <DetectChar attribute="Value" context="75:NotationDecl PublicID q" char="'"/> + <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> + </context> + + <context name="74:NotationDecl PublicID qq" attribute="Error" lineEndContext="#stay"> + <DetectChar attribute="Value" context="76:NotationDecl SystemIDOrEnd" char=""(\s+|$)"/> + <RegExpr attribute="Value" context="#stay" String="[ 
a-zA-Z0-9'()+,./:=?;!*#@$_%-]"/> + </context> + + <context name="75:NotationDecl PublicID q" attribute="Value" lineEndContext="#stay"> + <DetectChar attribute="Value" context="76:NotationDecl SystemIDOrEnd" char="'(\s+|$)"/> + <RegExpr attribute="Value" context="#stay" String="[ 
a-zA-Z0-9()+,./:=?;!*#@$_%-]"/> + </context> + + <context name="76:NotationDecl SystemIDOrEnd" attribute="Error" lineEndContext="#stay"> + <DetectChar attribute="Value" context="67:PEDecl SystemID qq" char="""/> + <DetectChar attribute="Value" context="68:PEDecl SystemID q" char="'"/> + <DetectChar attribute="Doctype Declaration" context="23:Doctype Decl IS" char=">"/> + <RegExpr attribute="Doctype Declaration" context="#stay" String="\s+"/> + </context> + + <context name="77:Comment inside IS" attribute="Comment" lineEndContext="#stay"> + <RegExpr attribute="Error" context="23:Doctype Decl IS" String="--->"/> + <RegExpr attribute="Comment" context="23:Doctype Decl IS" String="-->"/> + <Detect2Chars attribute="Error" context="#stay" char="-" char1="-"/> + </context> + + <context name="78:PI inside IS" attribute="Processing Instruction Body" lineEndContext="#stay"> + <Detect2Chars attribute="Processing Instruction" context="23:Doctype Decl IS" char="?" char1=">"/> + </context> + + <context name="79:Outside" attribute="Normal Text" lineEndContext="#stay"> + <RegExpr attribute="Error" context="80:STag" String="<[xX][mM][lL](\w|[_.-])*(:(\w|[_.-])+)?"/> + <RegExpr attribute="Normal Tag" context="80:STag" String="<(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|_)(\w|[_.-])*(:(\w|[_.-])+)?"/> + <RegExpr attribute="Error" context="80:STag" String="<(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[:_])(\w|[:_.-])*"/> + <RegExpr attribute="Error" context="85:ETag" String="</[xX][mM][lL](\w|[_.-])*(:(\w|[_.-])+)?"/> + <RegExpr attribute="Normal Tag" context="85:ETag" String="</(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|_)(\w|[_.-])*(:(\w|[_.-])+)?"/> + <RegExpr attribute="Error" context="85:ETag" String="</(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[:_])(\w|[:_.-])*"/> + <RegExpr attribute="Entity" context="#stay" String="&(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*;"/> + <RegExpr attribute="Entity" context="#stay" String="&#(x[0-9a-fA-F]+|[0-9]+);"/> + <RegExpr attribute="Entity" context="86:CDSect" String="<!\[CDATA\["/> + <RegExpr attribute="Comment" context="87:Comment inside IS" String="<!--"/> + <RegExpr attribute="Normal Tag" context="88:PI inside IS" String="<\?xml-stylesheet(\s|$)"/> + <RegExpr attribute="Error" context="88:PI inside IS" String="<\?[xX][mM][lL](\w|[_.-])*(:(\w|[_.-])+)?"/> + <RegExpr attribute="Normal Tag" context="88:PI inside IS" String="<\?(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|_)(\w|[_.-])*(:(\w|[_.-])+)?"/> + <RegExpr attribute="Error" context="88:PI inside IS" String="<\?(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[:_])(\w|[:_.-])*"/> + <DetectChar attribute="Error" context="#stay" char="<"/> + <DetectChar attribute="Error" context="#stay" char="&"/> + <RegExpr attribute="Error" context="#stay" String="\]\]>"/> + </context> + + <context name="80:STag" attribute="Error" lineEndContext="#stay"> + <Detect2Chars attribute="Normal Tag" context="79:Outside" char="/" char1=">"/> + <DetectChar attribute="Normal Tag" context="79:Outside" char=">"/> + <RegExpr attribute="Attribute" context="81:STag Attribute" String="(xmlns:(\w|[_.-])*|xmlns|xml:(lang|base|space))"/> + <RegExpr attribute="Error" context="81:STag Attribute" String="[xX][mM][lL](\w|[_.-])*(:(\w|[_.-])+)?"/> + <RegExpr attribute="Attribute" context="81:STag Attribute" String="(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|_)(\w|[_.-])*(:(\w|[_.-])+)?"/> + <RegExpr attribute="Error" context="81:STag Attribute" String="(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[:_])(\w|[:_.-])*"/> + <RegExpr attribute="Normal Tag" context="#stay" String="\s+"/> + </context> + + <context name="81:STag Attribute" attribute="Error" lineEndContext="#stay"> + <DetectChar attribute="Attribute" context="82:STag Attribute Value" char="="/> + <RegExpr attribute="Normal Tag" context="#stay" String="\s+"/> + </context> + + <context name="82:STag Attribute Value" attribute="Error" lineEndContext="#stay"> + <DetectChar attribute="Value" context="83:STag Value qq" char="""/> + <DetectChar attribute="Value" context="84:STag Value q" char="'"/> + <RegExpr attribute="Normal Tag" context="#stay" String="\s+"/> + </context> + + <context name="83:STag Value qq" attribute="Value" lineEndContext="#stay"> + <RegExpr attribute="Entity" context="#stay" String="&(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*;"/> + <RegExpr attribute="Entity" context="#stay" String="&#(x[0-9a-fA-F]+|[0-9]+);"/> + <DetectChar attribute="Error" context="#stay" char="&"/> + <DetectChar attribute="Error" context="#stay" char="<"/> + <RegExpr attribute="Error" context="80:STag" String=""(?=(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:]))"/> + <RegExpr attribute="Value" context="80:STag" String=""(?=>|/>|\s|$)"/> + </context> + + <context name="84:STag Value q" attribute="Value" lineEndContext="#stay"> + <RegExpr attribute="Entity" context="#stay" String="&(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:])(\w|[_:.-])*;"/> + <RegExpr attribute="Entity" context="#stay" String="&#(x[0-9a-fA-F]+|[0-9]+);"/> + <DetectChar attribute="Error" context="#stay" char="&"/> + <DetectChar attribute="Error" context="#stay" char="<"/> + <RegExpr attribute="Error" context="80:STag" String="'(?=(?![٠-٩۰-۹०-९০-৯੦-੯૦-૯୦-୯௧-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩]|\d)(\w|[_:]))"/> + <RegExpr attribute="Value" context="80:STag" String="'(?=>|/>|\s|$)"/> + </context> + + <context name="85:ETag" attribute="Error" lineEndContext="#stay"> + <DetectChar attribute="Normal Tag" context="79:Outside" char=">"/> + <RegExpr attribute="Normal Tag" context="#stay" String="\s+"/> + </context> + + <context name="86:CDSect" attribute="Normal Text" lineEndContext="#stay"> + <RegExpr attribute="Entity" context="79:Outside" String="\]\]>"/> + </context> + + <context name="87:Comment inside IS" attribute="Comment" lineEndContext="#stay"> + <RegExpr attribute="Error" context="79:Outside" String="--->"/> + <RegExpr attribute="Comment" context="79:Outside" String="-->"/> + <Detect2Chars attribute="Error" context="#stay" char="-" char1="-"/> + </context> + + <context name="88:PI inside IS" attribute="Processing Instruction Body" lineEndContext="#stay"> + <Detect2Chars attribute="Processing Instruction" context="79:Outside" char="?" char1=">"/> + </context> + + </contexts> + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Entity" defStyleNum="dsChar"/> + <itemData name="Normal Tag" defStyleNum="dsKeyword"/> + <itemData name="Attribute" defStyleNum="dsDataType"/> + <itemData name="Value" defStyleNum="dsString"/> + <itemData name="Doctype Declaration" defStyleNum="dsKeyword"/> + <itemData name="Comment" defStyleNum="dsComment"/> + <itemData name="Processing Instruction" defStyleNum="dsKeyword"/> + <itemData name="PI content" defStyleNum="dsOthers"/> + <itemData name="Stylesheet" defStyleNum="dsKeyword"/> + <itemData name="Error" defStyleNum="dsError"/> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="multiLine" start="<!--" end="-->"/> + </comments> + <keywords casesensitive="1"/> + </general> +</language> diff --git a/kate/data/xslt.xml b/kate/data/xslt.xml new file mode 100644 index 000000000..b0462c6f8 --- /dev/null +++ b/kate/data/xslt.xml @@ -0,0 +1,379 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd" +[ + <!ENTITY qname "[A-Za-z_:][\w.:_-]*"> + <!ENTITY entref "&(#[0-9]+|#[xX][0-9A-Fa-f]+|&qname;);"> + <!ENTITY axisname "ancestor|ancestor-or-self|attribute|child|descendant|descendant-or-self|following|following-sibling|namespace|parent|preceding|preceding-sibling|self"> +]> + +<!-- + Kate syntax highlighting for XSLT + 2004 by Peter Lammich (views@gmx.de) + Published under the LGPL + + TODO/FIXME + + - Is qname - entity correct ?? + + - Integrate latest XML highlighting, that supports !DOCTYPE, ![CDATA[, Processing Instructions, ... + This version is mainly based on kate 2.1 XML highlighting file + + - highlight functions only if they are followed by a '('. (How to do that ??) + - use <IncludeRules> to make things a bit more modular and cleaner + + - I'd like to properly comment this file, but kate 2.1 (I have to work with it) behaves strange whith comments. + It seems to immediately stop processing a tag's content when encountering a comment + + - Define own highlighting rules for patterns (Currently a pattern is highlighted as XPath) + + - Highlight also XPath keywords, such as 'cast as' + + + DONE: Added XSLT 2.0 tag- and XPath2.0 and XSLT2.0 function keywords + + FIXED: axis highlighting does not work, if identifier continues directly behind axis: (self::someWord) + + DONE: highlight entity references + Do not replace the <RegExpr> by <IncludeEntities>, this is a kate 2.1 workaround ! + + FIXED axis-names are even highlighted if there are characters in front of them, i.e. in "xxxself::", "self::" would + be highlighted. + Now matching any qnames in XPath by own matcher + + &varname; entity, what exactly is allowed by xslt ? + &varname; entity not used any more, variable names can be qnames. + + CHANGED: Use the Alert style for the highlighting of todo and fixme, etc. + Comments are foldable, two dashes inside comment hl as error, + use the dsError style for Invalid data (Wilbert Berendsen, wbsoft@xs4all.nl) + + +--> + +<language version="1.03" kateversion="2.1" name="xslt" section="Markup" extensions="*.xsl;*.xslt" license="LGPL" author="Peter Lammich (views@gmx.de)"> + <highlighting> + <list name="keytags"> + <item> xsl:value-of </item> + <item> xsl:output </item> + <item> xsl:decimal-format </item> + <item> xsl:apply-templates </item> + <item> xsl:param </item> + <item> xsl:transform </item> + <item> xsl:namespace-alias </item> + <item> xsl:comment </item> + <item> xsl:element </item> + <item> xsl:attribute </item> + <item> xsl:apply-imports </item> + <item> xsl:text </item> + <item> xsl:when </item> + <item> xsl:template </item> + <item> xsl:processing-instruction </item> + <item> xsl:include </item> + <item> xsl:copy-of </item> + <item> xsl:copy </item> + <item> xsl:with-param </item> + <item> xsl:stylesheet </item> + <item> xsl:for-each </item> + <item> xsl:choose </item> + <item> xsl:sort </item> + <item> xsl:otherwise </item> + <item> xsl:key </item> + <item> xsl:variable </item> + <item> xsl:number </item> + <item> xsl:message </item> + <item> xsl:fallback </item> + <item> xsl:strip-space </item> + <item> xsl:import </item> + <item> xsl:preserve-space </item> + <item> xsl:if </item> + <item> xsl:call-template </item> + <item> xsl:attribute-set </item> + </list> + + <list name="keytags_2.0"> + <item> xsl:perform-sort </item> + <item> xsl:import-schema </item> + <item> xsl:for-each-group </item> + <item> xsl:sequence </item> + <item> xsl:non-matching-substring </item> + <item> xsl:namespace </item> + <item> xsl:next-match </item> + <item> xsl:function </item> + <item> xsl:analyze-string </item> + <item> xsl:output-character </item> + <item> xsl:matching-substring </item> + <item> xsl:result-document </item> + <item> xsl:character-map </item> + <item> xsl:document </item> + </list> + + <list name="functions"> + <item> format-number </item> + <item> position </item> + <item> lang </item> + <item> substring-before </item> + <item> substring </item> + <item> normalize-space </item> + <item> round </item> + <item> translate </item> + <item> starts-with </item> + <item> concat </item> + <item> local-name </item> + <item> key </item> + <item> count </item> + <item> document </item> + <item> system-property </item> + <item> current </item> + <item> boolean </item> + <item> number </item> + <item> contains </item> + <item> name </item> + <item> last </item> + <item> unparsed-entity-uri </item> + <item> sum </item> + <item> generate-id </item> + <item> function-available </item> + <item> element-available </item> + <item> false </item> + <item> substring-after </item> + <item> not </item> + <item> string-length </item> + <item> id </item> + <item> floor </item> + <item> ceiling </item> + <item> namespace-uri </item> + <item> true </item> + <item> string </item> + <item> text </item> + </list> + + <list name="functions_2.0"> + <item> zero-or-one </item> + <item> replace </item> + <item> namespace-uri-for-prefix </item> + <item> current-grouping-key </item> + <item> seconds-from-duration </item> + <item> resolve-uri </item> + <item> node-kind </item> + <item> minutes-from-dateTime </item> + <item> implicit-timezone </item> + <item> exactly-one </item> + <item> current-time </item> + <item> current-dateTime </item> + <item> unordered </item> + <item> subtract-dates-yielding-dayTimeDuration </item> + <item> string-join </item> + <item> static-base-uri </item> + <item> months-from-duration </item> + <item> input </item> + <item> exists </item> + <item> default-collation </item> + <item> dateTime </item> + <item> current-group </item> + <item> current-date </item> + <item> collection </item> + <item> timezone-from-time </item> + <item> matches </item> + <item> local-name-from-QName </item> + <item> day-from-date </item> + <item> timezone-from-date </item> + <item> round-half-to-even </item> + <item> month-from-dateTime </item> + <item> month-from-date </item> + <item> hours-from-duration </item> + <item> escape-uri </item> + <item> distinct-values </item> + <item> avg </item> + <item> years-from-duration </item> + <item> unparsed-text </item> + <item> unparsed-entity-public-id </item> + <item> subtract-dateTimes-yielding-dayTimeDuration </item> + <item> subtract-dates-yielding-yearMonthDuration </item> + <item> string-to-codepoints </item> + <item> sequence-node-identical </item> + <item> hours-from-time </item> + <item> hours-from-dateTime </item> + <item> format-time </item> + <item> codepoints-to-string </item> + <item> trace </item> + <item> tokenize </item> + <item> subtract-dateTimes-yielding-yearMonthDuration </item> + <item> subsequence </item> + <item> seconds-from-dateTime </item> + <item> regex-group </item> + <item> one-or-more </item> + <item> node-name </item> + <item> namespace-uri-from-QName </item> + <item> min </item> + <item> idref </item> + <item> format-dateTime </item> + <item> format-date </item> + <item> days-from-duration </item> + <item> compare </item> + <item> base-uri </item> + <item> seconds-from-time </item> + <item> in-scope-prefixes </item> + <item> expanded-QName </item> + <item> adjust-date-to-timezone </item> + <item> year-from-date </item> + <item> resolve-QName </item> + <item> remove </item> + <item> QName </item> + <item> minutes-from-time </item> + <item> max </item> + <item> lower-case </item> + <item> index-of </item> + <item> doc </item> + <item> deep-equal </item> + <item> data </item> + <item> minutes-from-duration </item> + <item> adjust-dateTime-to-timezone </item> + <item> abs </item> + <item> timezone-from-dateTime </item> + <item> reverse </item> + <item> error </item> + <item> ends-with </item> + <item> day-from-dateTime </item> + <item> year-from-dateTime </item> + <item> upper-case </item> + <item> root </item> + <item> normalize-unicode </item> + <item> empty </item> + <item> insert-before </item> + <item> document-uri </item> + <item> adjust-time-to-timezone </item> + </list> + + <contexts> + + <context name="normalText" attribute="Normal Text" lineEndContext="#stay"> + <StringDetect attribute="Comment" context="comment" String="<!--" beginRegion="comment"/> + <DetectChar attribute="Tag" context="tagname" char="<" /> + <RegExpr attribute="Entity Reference" context="#stay" String="&entref;" /> + </context> + + <context name="detectEntRef" attribute="Normal Text" lineEndContext="#stay"> + <RegExpr attribute="Entity Reference" context="#stay" String="&entref;" /> + </context> + + <context name="tagname" attribute="Tag" lineEndContext="#stay"> + <keyword attribute="XSLT Tag" context="xattributes" String="keytags" /> + <keyword attribute="XSLT 2.0 Tag" context="xattributes" String="keytags_2.0" /> + <RegExpr attribute="Attribute" context="attributes" String="\s*" /> + <DetectChar attribute="Tag" context="#pop" char=">" /> + </context> + + <context name="attributes" attribute="Attribute" lineEndContext="#stay"> + <Detect2Chars attribute="Tag" context="#pop#pop" char="/" char1=">" /> + <DetectChar attribute="Tag" context="#pop#pop" char=">" /> + <RegExpr attribute="Normal Text" context="attrValue" String="\s*=\s*" /> + </context> + + <context name="attrValue" attribute="Invalid" lineEndContext="#stay"> + <Detect2Chars attribute="Invalid" context="#pop#pop#pop" char="/" char1=">" /> + <DetectChar attribute="Invalid" context="#pop#pop#pop" char=">" /> + <DetectChar attribute="Attribute Value" context="string" char=""" /> + <DetectChar attribute="Attribute Value" context="sqstring" char="'" /> + </context> + + <context name="xattributes" attribute="Attribute" lineEndContext="#stay"> + <Detect2Chars attribute="Tag" context="#pop#pop" char="/" char1=">" /> + <DetectChar attribute="Tag" context="#pop#pop" char=">" /> + <RegExpr attribute="Attribute" context="xattrValue" String="select\s*=\s*" /> + <RegExpr attribute="Attribute" context="xattrValue" String="test\s*=\s*" /> + <RegExpr attribute="Attribute" context="xattrValue" String="match\s*=\s*" /> + <RegExpr attribute="Attribute" context="attrValue" String="\s*=\s*" /> + </context> + + <context name="xattrValue" attribute="Invalid" lineEndContext="#stay"> + <Detect2Chars attribute="Invalid" context="#pop#pop#pop" char="/" char1=">" /> + <DetectChar attribute="Invalid" context="#pop#pop#pop" char=">" /> + <DetectChar attribute="XPath" context="xpath" char=""" /> + <DetectChar attribute="XPath" context="sqxpath" char="'" /> + </context> + + + <context name="string" attribute="Attribute Value" lineEndContext="#stay"> + <DetectChar attribute="XPath" context="xpath" char="{" /> + <DetectChar attribute="Attribute Value" context="#pop#pop" char=""" /> + <IncludeRules context="detectEntRef" /> + </context> + + <context name="sqstring" attribute="Attribute Value" lineEndContext="#stay"> + <DetectChar attribute="XPath" context="sqxpath" char="{" /> + <DetectChar attribute="Attribute Value" context="#pop#pop" char="'" /> + <IncludeRules context="detectEntRef" /> + </context> + + <context name="comment" attribute="Comment" lineEndContext="#stay"> + <StringDetect attribute="Comment" context="#pop" String="-->" endRegion="comment" /> + <RegExpr attribute="Invalid" context="#stay" String="-(-(?!->))+" /> + <RegExpr attribute="Alert" context="#stay" String="(FIXME|TODO|HACK)" /> + </context> + + <context name="xpath" attribute="XPath" lineEndContext="#stay"> + <keyword attribute="XPath/ XSLT Function" context="#stay" String="functions" /> + <keyword attribute="XPath 2.0/ XSLT 2.0 Function" context="#stay" String="functions_2.0" /> + <RegExpr attribute="XPath Axis" context="#stay" String="(&axisname;)::" /> + <DetectChar attribute="XPath" context="#pop" char="}" /> + <DetectChar attribute="XPath String" context="sqxpathstring" char="'" /> + <DetectChar attribute="XPath" context="#pop#pop" char=""" /> + <RegExpr attribute="XPath Attribute" context="#stay" String="@&qname;" /> + <RegExpr attribute="Variable" context="#stay" String="\$&qname;" /> + <RegExpr attribute="XPath" context="#stay" String="&qname;" /> + <DetectChar attribute="Invalid" context="#stay" char="$" /> + <IncludeRules context="detectEntRef" /> + </context> + + <context name="sqxpath" attribute="XPath" lineEndContext="#stay"> + <keyword attribute="XPath/ XSLT Function" context="#stay" String="functions" /> + <keyword attribute="XPath 2.0/ XSLT 2.0 Function" context="#stay" String="functions_2.0" /> + <RegExpr attribute="XPath Axis" context="#stay" String="(&axisname;)::" /> + <DetectChar attribute="XPath" context="#pop" char="}" /> + <DetectChar attribute="XPath String" context="xpathstring" char=""" /> + <DetectChar attribute="XPath" context="#pop#pop" char="'" /> + <RegExpr attribute="XPath Attribute" context="#stay" String="@&qname;" /> + <RegExpr attribute="Variable" context="#stay" String="\$&qname;" /> + <RegExpr attribute="XPath" context="#stay" String="&qname;" /> + <DetectChar attribute="Invalid" context="#stay" char="$" /> + <IncludeRules context="detectEntRef" /> + </context> + + <context name="sqxpathstring" attribute="XPath String" lineEndContext="#stay"> + <DetectChar attribute="XPath String" context="#pop" char="'" /> + <IncludeRules context="detectEntRef" /> + </context> + + <context name="xpathstring" attribute="XPath String" lineEndContext="#stay"> + <DetectChar attribute="XPath String" context="#pop" char=""" /> + <IncludeRules context="detectEntRef" /> + </context> + + </contexts> + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Tag" defStyleNum="dsKeyword"/> + <itemData name="Attribute" defStyleNum="dsOthers"/> + <itemData name="Invalid" defStyleNum="dsError"/> + <itemData name="Alert" defStyleNum="dsAlert"/> + <itemData name="Attribute Value" defStyleNum="dsString" color="#800000" selColor="#ffffff" bold="0" italic="0"/> + <itemData name="XPath" defStyleNum="dsOthers" color="#008080" selColor="#ffffff" bold="0" italic="0"/> + <itemData name="XPath String" defStyleNum="dsString" color="#800000" selColor="#ffffff" bold="0" italic="0"/> + <itemData name="XPath Axis" defStyleNum="dsKeyword" color="#008080" selColor="#ffffff" bold="0" italic="1"/> + <itemData name="XPath/ XSLT Function" defStyleNum="dsKeyword" color="#008080" selColor="#ffffff" bold="1" italic="0"/> + <itemData name="XPath 2.0/ XSLT 2.0 Function" defStyleNum="dsKeyword" color="#008080" selColor="#ffffff" bold="1" italic="0"/> + <itemData name="XPath Attribute" defStyleNum="dsNormal" color="#008080" selColor="#ffffff" bold="0" italic="1" /> + <itemData name="Variable" defStyleNum="dsNormal" color="#008080" selColor="#ffffff" bold="0" italic="1" /> + <itemData name="Comment" defStyleNum="dsComment"/> + <itemData name="XSLT Tag" defStyleNum="dsKeyword" color="#000080" selColor="#ffffff" bold="1" italic="0" /> + <itemData name="XSLT 2.0 Tag" defStyleNum="dsKeyword" color="#000080" selColor="#ffffff" bold="1" italic="0" /> + <itemData name="Entity Reference" defStyleNum="dsDecVal" /> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="multiLine" start="<!--" end="-->" /> + </comments> + <keywords casesensitive="0" weakDeliminator="-:" additionalDeliminator=""{}"/> + </general> +</language> diff --git a/kate/data/yacas.xml b/kate/data/yacas.xml new file mode 100644 index 000000000..f7d8ef5e4 --- /dev/null +++ b/kate/data/yacas.xml @@ -0,0 +1,237 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<language name="yacas" version="1.02" kateversion="2.3" section="Sources" extensions="*.ys" mimetype="text/x-yacassrc"> + <highlighting> + <list name="keywords"> + <item> And </item> + <item> ApplyPure </item> + <item> ArrayCreate </item> + <item> ArrayGet </item> + <item> ArraySet </item> + <item> ArraySize </item> + <item> Atom </item> + <item> Berlekamp </item> + <item> BitAnd </item> + <item> BitOr </item> + <item> BitXor </item> + <item> Bodied </item> + <item> CTokenizer </item> + <item> Check </item> + <item> Clear </item> + <item> CommonLispTokenizer </item> + <item> Concat </item> + <item> ConcatStrings </item> + <item> CurrentFile </item> + <item> CurrentLine </item> + <item> CustomEval </item> + <item> CustomEval'Expression </item> + <item> CustomEval'Locals </item> + <item> CustomEval'Result </item> + <item> CustomEval'Stop </item> + <item> DefLoad </item> + <item> DefLoadFunction </item> + <item> DefMacroRuleBase </item> + <item> DefMacroRuleBaseListed </item> + <item> DefaultDirectory </item> + <item> DefaultTokenizer </item> + <item> Delete </item> + <item> DestructiveDelete </item> + <item> DestructiveInsert </item> + <item> DestructiveReplace </item> + <item> DestructiveReverse </item> + <item> DllEnumerate </item> + <item> DllLoad </item> + <item> DllUnload </item> + <item> Equals </item> + <item> Eval </item> + <item> FastArcCos </item> + <item> FastArcSin </item> + <item> FastArcTan </item> + <item> FastAssoc </item> + <item> FastCos </item> + <item> FastExp </item> + <item> FastIsPrime </item> + <item> FastLog </item> + <item> FastPower </item> + <item> FastSin </item> + <item> FastTan </item> + <item> FindFile </item> + <item> FindFunction </item> + <item> FlatCopy </item> + <item> FromBase </item> + <item> FromFile </item> + <item> FromString </item> + <item> FullForm </item> + <item> GarbageCollect </item> + <item> GenericTypeName </item> + <item> GetExtraInfo </item> + <item> GetPrecision </item> + <item> GreaterThan </item> + <item> Head </item> + <item> Hold </item> + <item> HoldArg </item> + <item> If </item> + <item> Infix </item> + <item> Insert </item> + <item> IsAtom </item> + <item> IsBodied </item> + <item> IsBound </item> + <item> IsFunction </item> + <item> IsGeneric </item> + <item> IsInfix </item> + <item> IsInteger </item> + <item> IsList </item> + <item> IsNumber </item> + <item> IsPostfix </item> + <item> IsPrefix </item> + <item> IsString </item> + <item> LazyGlobal </item> + <item> LeftPrecedence </item> + <item> Length </item> + <item> LessThan </item> + <item> LispRead </item> + <item> LispReadListed </item> + <item> List </item> + <item> Listify </item> + <item> Load </item> + <item> Local </item> + <item> LocalSymbols </item> + <item> MacroClear </item> + <item> MacroLocal </item> + <item> MacroRule </item> + <item> MacroRuleBase </item> + <item> MacroRuleBaseListed </item> + <item> MacroRulePattern </item> + <item> MacroSet </item> + <item> MathAbs </item> + <item> MathAdd </item> + <item> MathAnd </item> + <item> MathArcCos </item> + <item> MathArcSin </item> + <item> MathArcTan </item> + <item> MathCeil </item> + <item> MathCos </item> + <item> MathDiv </item> + <item> MathDivide </item> + <item> MathExp </item> + <item> MathFac </item> + <item> MathFloor </item> + <item> MathGcd </item> + <item> MathGetExactBits </item> + <item> MathLibrary </item> + <item> MathLog </item> + <item> MathMod </item> + <item> MathMultiply </item> + <item> MathNot </item> + <item> MathNth </item> + <item> MathOr </item> + <item> MathPi </item> + <item> MathPower </item> + <item> MathSetExactBits </item> + <item> MathSin </item> + <item> MathSqrt </item> + <item> MathSubtract </item> + <item> MathTan </item> + <item> MaxEvalDepth </item> + <item> Not </item> + <item> OpLeftPrecedence </item> + <item> OpPrecedence </item> + <item> OpRightPrecedence </item> + <item> Or </item> + <item> PatchLoad </item> + <item> PatchString </item> + <item> PatternCreate </item> + <item> PatternMatches </item> + <item> Postfix </item> + <item> Precision </item> + <item> Prefix </item> + <item> PrettyPrinter </item> + <item> Prog </item> + <item> Read </item> + <item> ReadToken </item> + <item> Replace </item> + <item> Retract </item> + <item> RightAssociative </item> + <item> RightPrecedence </item> + <item> Rule </item> + <item> RuleBase </item> + <item> RuleBaseArgList </item> + <item> RuleBaseDefined </item> + <item> RuleBaseListed </item> + <item> RulePattern </item> + <item> Secure </item> + <item> Set </item> + <item> SetExtraInfo </item> + <item> SetStringMid </item> + <item> ShiftLeft </item> + <item> ShiftRight </item> + <item> String </item> + <item> StringMid </item> + <item> Subst </item> + <item> SystemCall </item> + <item> Tail </item> + <item> ToBase </item> + <item> ToFile </item> + <item> ToString </item> + <item> TraceRule </item> + <item> TraceStack </item> + <item> Type </item> + <item> UnFence </item> + <item> UnList </item> + <item> Use </item> + <item> Version </item> + <item> While </item> + <item> Write </item> + <item> WriteString </item> + <item> XmlExplodeTag </item> + <item> XmlTokenizer </item> + <item> ` </item> + <item> = </item> + </list> + <contexts> + <context name="default" attribute="Normal Text" lineEndContext="#stay"> + <DetectChar attribute="String" context="string" char="""/> + <Detect2Chars attribute="Comment" context="linecomment" char="/" char1="/"/> + <Detect2Chars attribute="Comment" context="multilinecomment" char="/" char1="*"/> + <keyword attribute="Keyword" context="#stay" String="keywords"/> + <AnyChar attribute="Parens" context="#stay" String="{[(" beginRegion="brace"/> + <AnyChar attribute="Parens" context="#stay" String="}])" endRegion="brace"/> + <AnyChar attribute="Symbol" context="#stay" String="+-*/=`~:!@#$^&*_|<>"/> + + <Float attribute="Float" context="#stay"/> + <Int attribute="Decimal" context="#stay"/> + </context> + <context name="string" attribute="String" lineEndContext="#pop"> + <LineContinue attribute="String" context="#stay"/> + <DetectChar attribute="String" context="#pop" char="""/> + </context> + <context name="linecomment" attribute="Comment" lineEndContext="#pop"> + <RegExpr attribute="Highlight" context="#stay" String="(FIXME|TODO)" /> + </context> + <context name="multilinecomment" attribute="Comment" lineEndContext="#stay"> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/"/> + <RegExpr attribute="Highlight" context="#stay" String="(FIXME|TODO)" /> + </context> + </contexts> + <itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal"/> + <itemData name="Keyword" defStyleNum="dsKeyword"/> + <itemData name="Decimal" defStyleNum="dsDecVal"/> + <itemData name="Float" defStyleNum="dsFloat"/> + <itemData name="Char" defStyleNum="dsChar"/> + <itemData name="String" defStyleNum="dsString"/> + <itemData name="Comment" defStyleNum="dsComment"/> + <itemData name="Symbol" defStyleNum="dsOthers"/> + <itemData name="Parens" defStyleNum="dsNormal"/> + <itemData name="Highlight" defStyleNum="dsAlert"/> + </itemDatas> + </highlighting> + <general> + <comments> + <comment name="singleLine" start="//" /> + <comment name="multiLine" start="/*" end="*/" /> + </comments> + <keywords casesensitive="1" weakDeliminator="=`"/> + </general> +</language> +<!-- kate: space-indent on; indent-width 2; replace-tabs on; --> diff --git a/kate/data/yacc.xml b/kate/data/yacc.xml new file mode 100644 index 000000000..db45ed42d --- /dev/null +++ b/kate/data/yacc.xml @@ -0,0 +1,159 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE language SYSTEM "language.dtd"> +<!-- + ======================================================================== + + YACC.XML supports syntax highlighting for Yacc/Bison source under Kate. + + Copyright (C) 2004 - Jan Villat <jan.villat@net2000.ch> + This code is released under the LGPL as part of kdelibs/kate. + + ======================================================================== + + Updates for YACC.XML can be obtained from http://kate.kde.org/hl/ + + UPDATE HISTORY:- + 2004.05.26 - YACC.XML 1.00 - First released. + + TODO:- + - Add a mime type (cannot find it !?) + + ======================================================================== +--> +<language name="Yacc/Bison" version="1.03" kateversion="2.4" section="Sources" extensions="*.y" author="Jan Villat (jan.villat@net2000.ch)" license="LGPL"> + +<highlighting> +<contexts> + <context name="Pre Start" attribute="Normal Text" lineEndContext="#stay"> + <IncludeRules context="Comment" /> + <DetectSpaces /> + <Detect2Chars attribute="Content-Type Delimiter" context="C Declarations" char="%" char1="{" beginRegion="cdeclarations" column="0" /> + <RegExpr attribute="Normal Text" context="Declarations" String="." beginRegion="declarations" lookAhead="true" /> + </context> + + <context name="C Declarations" attribute="Normal Text" lineEndContext="#stay"> + <IncludeRules context="Comment" /> + <Detect2Chars attribute="Content-Type Delimiter" context="#pop" char="%" char1="}" endRegion="cdeclarations" column="0" /> + <IncludeRules context="##C++" /> + </context> + + <context name="Declarations" attribute="Normal Text" lineEndContext="#stay"> + <IncludeRules context="Comment" /> + <StringDetect attribute="Directive" context="Union Start" String="%union" /> + <Detect2Chars attribute="Content-Type Delimiter" context="Rules" char="%" char1="%" beginRegion="rules" endRegion="declarations" /> + + <!-- not sure that strict yacc allows that ... but it is commonly used --> + <Detect2Chars attribute="Content-Type Delimiter" context="C Declarations" char="%" char1="{" beginRegion="cdeclarations" column="0" /> + + <DetectChar attribute="Directive" context="Percent Command" char="%" /> + </context> + + <context name="Union Start" attribute="Normal Text" lineEndContext="#stay"> + <IncludeRules context="Comment" /> + <DetectSpaces /> + <DetectChar attribute="Normal Text" context="Union In" char="{" beginRegion="union" /> + <RegExpr attribute="Alert" context="#pop" String="." /> + </context> + <context name="Union In" attribute="Normal Text" lineEndContext="#stay"> + <DetectChar attribute="Normal Text" context="Union InIn" char="{" /> + <DetectChar attribute="Normal Text" context="#pop#pop" char="}" endRegion="union" /> + <IncludeRules context="##C++" /> + </context> + <context name="Union InIn" attribute="Normal Text" lineEndContext="#stay"> + <DetectChar attribute="Normal Text" context="Union InIn" char="{" /> + <DetectChar attribute="Normal Text" context="#pop" char="}" /> + <IncludeRules context="##C++" /> + </context> + + <context name="Rules" attribute="Rule" lineEndContext="#stay"> + <IncludeRules context="Comment" /> + <Detect2Chars attribute="Content-Type Delimiter" context="User Code" char="%" char1="%" beginRegion="code" endRegion="rules" /> + <DetectChar attribute="Normal Text" context="Rule In" char=":" beginRegion="rule" /> + </context> + + <context name="Rule In" attribute="Definition" lineEndContext="#stay"> + <IncludeRules context="Comment" /> + <DetectChar attribute="Normal Text" context="#pop" char=";" endRegion="rule" /> + <DetectChar attribute="Normal Text" context="Normal C Bloc" char="{" beginRegion="bloc" /> + <DetectChar attribute="Normal Text" context="#stay" char="|" /> + <IncludeRules context="StringOrChar" /> + </context> + + <context name="User Code" attribute="Normal Text" lineEndContext="#stay"> + <IncludeRules context="##C++" /> + </context> + + <context name="Percent Command" attribute="Directive" lineEndContext="#pop"> + <IncludeRules context="Comment" /> + <RegExpr attribute="Normal Text" context="Percent Command In" String="\W" lookAhead="true" /> + </context> + <context name="Percent Command In" attribute="NormalText" lineEndContext="#pop#pop"> + <IncludeRules context="StringOrChar" /> + <DetectChar attribute="Data Type" context="PC type" char="<" /> + </context> + <context name="PC type" attribute="Data Type" lineEndContext="#pop#pop#pop"> + <DetectChar attribute="Data Type" context="#pop" char=">" /> + </context> + + <context name="Comment" attribute="Comment"> + <Detect2Chars attribute="Comment" context="CommentStar" char="/" char1="*" /> + <!-- not sure that strict yacc allows that ... but I saw it in some sources ... --> + <Detect2Chars attribute="Comment" context="CommentSlash" char="/" char1="/" /> + </context> + <context name="CommentStar" attribute="Comment" lineEndContext="#stay"> + <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" /> + </context> + <context name="CommentSlash" attribute="Comment" lineEndContext="#stay"> + <RegExpr attribute="Comment" context="#pop" String="[^\\]$" /> + </context> + + <context name="StringOrChar" attribute="NormalText"> + <DetectChar attribute="String Char" context="Char" char="'" /> + <DetectChar attribute="String" context="String" char=""" /> + </context> + <context name="String" attribute="String" lineEndContext="#pop"> + <RegExpr attribute="Backslash Code" context="#stay" String="\\." /> + <DetectChar attribute="String" context="#pop" char=""" /> + </context> + <context name="Char" attribute="String Char" lineEndContext="#pop"> + <RegExpr attribute="Backslash Code" context="#stay" String="\\." /> + <DetectChar attribute="String Char" context="#pop" char="'" /> + </context> + + <context name="Normal C Bloc" attribute="Normal Text" lineEndContext="#stay"> + <DetectChar attribute="Normal Text" context="Normal C Bloc" char="{" beginRegion="bloc" /> + <DetectChar attribute="Normal Text" context="#pop" char="}" endRegion="bloc" /> + <IncludeRules context="##C++" /> + <DetectChar attribute="Directive" context="Dol" char="$" /> + </context> + <context name="Dol" attribute="Normal Text" fallthrough="true" fallthroughContext="DolEnd"> + <RegExpr attribute="Data Type" context="DolEnd" String="<[^>]+>" /> + </context> + <context name="DolEnd" attribute="Normal Text"> + <RegExpr attribute="Directive" context="#pop#pop" String="\d+" /> + <DetectChar attribute="Directive" context="#pop#pop" char="$" /> + </context> +</contexts> + +<itemDatas> + <itemData name="Normal Text" defStyleNum="dsNormal" /> + <itemData name="Definition" defStyleNum="dsNormal" /> + <itemData name="Comment" defStyleNum="dsComment" /> + <itemData name="Content-Type Delimiter" defStyleNum="dsBaseN" bold="1" /> + <itemData name="Directive" defStyleNum="dsKeyword"/> + <itemData name="Rule" defStyleNum="dsString" /> + <itemData name="Backslash Code" defStyleNum="dsString" bold="1" /> + <itemData name="Alert" defStyleNum="dsAlert" /> + <itemData name="String" defStyleNum="dsString"/> + <itemData name="String Char" defStyleNum="dsChar"/> + <itemData name="Data Type" defStyleNum="dsDataType"/> +</itemDatas> + +</highlighting> +<general> + <comments> + <comment name="multiLine" start="/*" end="*/" /> + </comments> +</general> +</language> +<!-- kate: space-indent on; indent-width 2; replace-tabs on; --> |