functions. [Bug 111462] (goth)
(tkcon): pass any init args to 'tkcon show'
+2012-03-06 Jeff Hobbs <jeffh@>
+
+ * tkcon.tcl (idebug): better line handling to not use list
+ functions. [Bug 111462] (goth)
+ (tkcon): pass any init args to 'tkcon show'
+
2011-10-28 Jeff Hobbs <jeffh@ActiveState.com>
* pkgIndex.tcl: update to v2.7
set OPT(exec) ""
}
if {![winfo exists $PRIV(root)]} {
- ::tkcon::Init
+ eval [linsert $args 0 ::tkcon::Init]
}
wm deiconify $PRIV(root)
raise $PRIV(root)
}
}
if {[string match {} $line]} continue
- set key [lindex $line 0]
- if {![regexp {^([#-]?[0-9]+)} [lreplace $line 0 0] lvl]} {
+ set key [regexp -inline {\S+} $line]
+ if {![regexp {^\s*\S+\s+([#-]?[0-9]+)} $line -> lvl]} {
set lvl \#$level
}
set res {}; set c 0