This is the full TkCon script when run inside the plugin. It feels like a stripped down version of TkCon, but the only limitations are those established by the plugin. You can test the basic console features and get a feel for the mutli-color output. Below the demo are some ideas to try out. v2 of the plugin is distributed with a megawidget version of TkCon for debugging tclets.
Have a look at some of the features: (culled from the full TkCon documentation)
set tc
at the prompt. Hit <Control-Shift-V>.
set tcl_
should now be visible.
Hit <Control-Shift-V> again. You should see the rest of
the completions printed out for you. Works the same for procedures
and files paths (file access restricted from plugin). Works properly
when spaces or other funny characters are including in the name.
set
should be in
green, denoting it is a recognized command in that interpreter.
proc foo { a b } { puts [list $a $b] }
. Did you
notice the blink matching of the braces? Yes, it's smart.
foo
above, type
in foo hey
. Note that the error comes back in red. Go up one
in the command history and add you
and see that regular
stdout output comes through in blue (the colors are configurable).