Author: jim++
Date: 2008-04-01 21:57:27 +0200 (Tue, 01 Apr 2008)
New Revision: 9428
Modified:
trunk/src/groupchat_control.py
Log:
Continue to check message for HL words after we found one that could be only the beginning of another real word.
Modified: trunk/src/groupchat_control.py
===================================================================
--- trunk/src/groupchat_control.py 2008-03-31 22:09:40 UTC (rev 9427)
+++ trunk/src/groupchat_control.py 2008-04-01 19:57:27 UTC (rev 9428)
@@ -818,8 +818,8 @@
if (refer_to_nick_char != ''):
if refer_to_nick_char.isalpha():
# This is A->Z, a->z or 0-9, we can be sure our nick is the
- # beginning of a real word, do not highlight.
- return False
+ # beginning of a real word, do not highlight for this one.
+ break
else:
return True
else: # Special word == word, no char after in word