Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for found in list:
- range = rt.RichTextRange(found, found+len(keyword) )
- style = rt.TextAttrEx()
- style.SetBackgroundColour('#ABFFC0')
- self.textCtrl1.SetStyle(range,style)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement