Syntax-Kamelon
view release on metacpan or search on metacpan
lib/Syntax/Kamelon/XML/tcl.xml view on Meta::CPAN
<!-- Ported to Kate 2.0/ KWrite 4.0 by Joseph Wenninger (Updated by Simon Robins)-->
<!--
Updated by Pawel Salawa (boogie at scripts dot one dot pl)
Revision history:
1.11:
- added new commands of Tcl/tk 8.5, released in 2007
1.10:
- Fixed problem with single ':' character after variable name (it's no longer variable,
because only double-colon is namespace delimiter and can be part of variable name).
- Fixed problem with matching quote character next to regular character, for example:
puts {"string"}
In that case left bracked was marked as string, but it's no longer like that.
- Fixed problem with variable names like: ${text\}test}
It whole is valid variable name, because of escape character.
- Fixed problem with marking ';' character as a comment when '#' character was after the ';'.
- Fixed problem with marking options. '-' character after word-delimiter character caused
marking that word-delimiter character as option too, even it wasn't white-space.
- Few other minor optimalizations.
1.09:
- Added fast comments support (Ctrl+d or whatever your shortcut is)
- Fixed single-character variables detection
- Fixed detection of varaibles with names containing serval namespace delimiters (::)
-->
<language name="Tcl/Tk" version="3" kateversion="2.4" section="Scripts" extensions="*.tcl;*.tk" mimetype="text/x-tcl" license="BSD">
<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_execok </item>
<item> auto_import </item>
<item> auto_load </item>
<item> auto_mkindex </item>
<item> auto_mkindex_old </item>
<item> auto_path </item>
<item> auto_qualify </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> chan </item>
<item> checkbutton </item>
<item> clipboard </item>
<item> clock </item>
<item> close </item>
<item> combobox </item>
<item> concat </item>
<item> console </item>
<item> continue </item>
<item> dde </item>
<item> destroy </item>
<item> dict </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> labelframe </item>
<item> lappend </item>
<item> lassign </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> lremove </item>
<item> lrepeat </item>
<item> lreplace </item>
<item> lreverse </item>
( run in 1.647 second using v1.01-cache-2.11-cpan-39bf76dae61 )