[Tkabber-dev] r381 - trunk/plugins/highlightex

tkabber-svn at jabber.ru tkabber-svn at jabber.ru
Sun Sep 5 02:32:08 MSD 2010


Author: ancestor
Date: 2010-09-05 02:32:08 +0400 (Sun, 05 Sep 2010)
New Revision: 381

Modified:
   trunk/plugins/highlightex/highlightex.tcl
Log:
1) Fixed bug in highlightex.tcl.

Modified: trunk/plugins/highlightex/highlightex.tcl
===================================================================
--- trunk/plugins/highlightex/highlightex.tcl	2010-09-04 19:22:49 UTC (rev 380)
+++ trunk/plugins/highlightex/highlightex.tcl	2010-09-04 22:32:08 UTC (rev 381)
@@ -143,7 +143,10 @@
     
     if {$options(use_bold_font)} {
         $w tag configure highlightex -foreground $hcolor -font $::ChatBoldFont
+        return
     }
+    
+    $w tag configure highlightex -foreground $hcolor -font $::ChatFont
 }
 
 ########################################################################################
@@ -153,7 +156,7 @@
 
     if {[lsearch $::richtext::registered highlightex] == -1} {
         ::richtext::register_entity highlightex \
-        	-configurator [namespace current]::configure_highlightex_tag \
+            -configurator [namespace current]::configure_highlightex_tag \
             -parser [namespace current]::process_highlights_ex \
             -parser-priority 60
     }



More information about the Tkabber-dev mailing list