+2008-06-20 Pat Thoyts <patthoyts@users.sourceforge.net>
+
+ * chatwidget.tcl: Fixed a number of minor bugs.
+
2008-02-16 Pat Thoyts <patthoyts@users.sourceforge.net>
* pkgIndex.tcl: Incremented to 1.1.0
Passthrough to the entry text widget. See the [cmd text] widget manual
for all available commands.
+[call [cmd \$widget] chat [arg args]]
+
+Passthrough to the chat text widget. See the [cmd text] widget manual for
+all available commands.
+
[list_end]
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: chatwidget.tcl,v 1.3 2007/10/24 10:32:19 patthoyts Exp $
+# RCS: @(#) $Id: chatwidget.tcl,v 1.4 2008/06/20 22:53:54 patthoyts Exp $
package require Tk 8.5
-nick { set nick [Pop args 1] }
-time { set time [Pop args 1] }
-type { set type [Pop args 1] }
- -mark { set type [Pop args 1] }
+ -mark { set mark [Pop args 1] }
-tags { set tags [Pop args 1] }
default {
return -code error "unknown option \"$option\""
$chat insert $mark "\n" $tags
$chat configure -state disabled
if {$state(autoscroll)} {
- $chat see end
+ $chat see $mark
}
return
}