<settings>
 language=TCL/TK
 compiler=
 debugger=
 execution=%term% tclsh %1/%2
 auto_indent=1
 use_spaces=1
 tab_stop=4
</settings>

<extensions>
 <item name="tcl/tk source file" ext="tcl">
</extensions>

<syntax>
 <item name="comment" start="#" end="\n" color="comment">
 <item name="string1" start="\"" end="\(\"\|\n\)" color="string">
 <item name="string2" start="'" end="\('\|\n\)" color="string">
</syntax>

<pattern>
 <item name="tclkeywords00" words="\b\(Http\|clock\|fblocked\|global\|llength\|proc\|seek\|unknown\|Safe Base\|close\)\b" color="keyword">
 <item name="tclkeywords01" words="\b\(fconfigure\|history\|load\|puts\|set\|unset\|Tcl\|concat\|fcopy\|if\|lrange\|pwd\)\b" color="keyword">
 <item name="tclkeywords02" words="\b\(socket\|update\|Tcltest\|continue\|file\|incr\|lreplace\|re_syntax\|source\|uplevel\)\b" color="keyword">
 <item name="tclkeywords03" words="\b\(after\|ddefileevent\|info\|lsearch\|read\|split\|upvar\|append\|encoding\|filename\)\b" color="keyword">
 <item name="tclkeywords04" words="\b\(interp\|lsort\|regexp\|string\|variable\|array\|eof\|flush\|join\|msgcat\|registry\)\b" color="keyword">
 <item name="tclkeywords05" words="\b\(subst\|vwait\|bgerror\|error\|for\|lappend\|namespace\|regsub\|switch\|while\|binary\)\b" color="keyword">
 <item name="tclkeywords06" words="\b\(eval\|foreach\|library\|open\|rename\|tclvars\|break\|exec\|format\|lindex\|package\)\b" color="keyword">
 <item name="tclkeywords07" words="\b\(resource\|tell\|catch\|exit\|gets\|linsert\|pid\|return\|time\|cd\|expr\|glob\|list\)\b" color="keyword">
 <item name="tclkeywords08" words="\b\(pkg_mkIndex\|scan\|trace\)\b" color="keyword">
 <item name="tkkeywords00" words="\b\(bell\|event\|lower\|raise\|tk_focusFollowsMouse\|tkvars\|bind\|focus\|menu\|scale\)\b" color="keyword">
 <item name="tkkeywords01" words="\b\(tk_focusNext\|tkwait\|bindtags\|font\|menubutton\|scrollbar\|tk_focusPrev\|toplevel\)\b" color="keyword">
 <item name="tkkeywords02" words="\b\(bitmap\|frame\|message\|selection\|tk_getOpenFile\|winfo\|button\|grab\|option\)\b" color="keyword">
 <item name="tkkeywords03" words="\b\(send\|tk_getSaveFile\|wm\|canvas\|grid\|options\|text\|tk_messageBox\|checkbutton\)\b" color="keyword">
 <item name="tkkeywords04" words="\b\(image\|pack\|tk\|tk_optionMenu\|clipboard\|label\|photo\|tk_bisque\|tk_popup\)\b" color="keyword">
 <item name="tkkeywords05" words="\b\(destroy\|listbox\|place\|tk_chooseColor\|tk_setPalette\|entry\|loadTk\|radiobutton\)\b" color="keyword">
 <item name="tkkeywords06" words="\b\(tk_dialog\|tkerror\)\b" color="keyword">
 <item name="vars" words="\$[a-zA-Z_][a-zA-Z0-9_]*" color="variable">
 <item name="numbers" words="\b[0-9]+\b" color="decimal">
</pattern>
