Village Pump:Home/Syntax Highlighting ( archived 2009-06-18 ): Difference between revisions

→‎Highlighting of Tcl: add list of linkable words
m (→‎Highlighting of Tcl: remove word which shouldn't have been in there)
(→‎Highlighting of Tcl: add list of linkable words)
Line 316:
::'''Compound Keywords:''' after array binary chan clock dde dict encoding file info interp namespace package prefix registry string trace update zlib
:(With compound keywords, the word after the listed keyword should also be highlighted.) OK, they're not formally keywords, but they should be formatted like they are. Also, “{...}” is ''never'' an indication of a comment, and “$” followed by alphanumerics should be formatted as a variable reference. —[[User:Dkf|Donal Fellows]] 09:58, 17 June 2009 (UTC)
::The following words are linkable to <code><nowiki>http://www.tcl.tk/man/tcl8.6/TclCmd/</nowiki>''blah''<nowiki>.htm</nowiki></code>:
:::proc global upvar variable after append apply array bgerror binary break catch cd chan clock close concat continue dde dict encoding eof error eval exec exit expr fblocked fconfigure fcopy file fileevent flush for foreach format gets glob if incr info interp join lappend lassign lindex linsert list llength load lrange lrepeat lreplace lreverse lsearch lset lsort my namespace next open package parray pid prefix puts pwd read regexp registry regsub rename return scan seek self set socket source split string subst switch tell throw time trace try unload unset update uplevel vwait while zlib
 
==Java5 messed up==
Anonymous user