Continue to check message for HL words after we found one that could be only the beginning of another real word.
This commit is contained in:
parent
d10e203255
commit
c497087115
|
@ -818,8 +818,8 @@ class GroupchatControl(ChatControlBase):
|
||||||
if (refer_to_nick_char != ''):
|
if (refer_to_nick_char != ''):
|
||||||
if refer_to_nick_char.isalpha():
|
if refer_to_nick_char.isalpha():
|
||||||
# This is A->Z, a->z or 0-9, we can be sure our nick is the
|
# 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.
|
# beginning of a real word, do not highlight for this one.
|
||||||
return False
|
break
|
||||||
else:
|
else:
|
||||||
return True
|
return True
|
||||||
else: # Special word == word, no char after in word
|
else: # Special word == word, no char after in word
|
||||||
|
|
Loading…
Reference in New Issue