Ticket #125 (closed patch: wontfix)
Plus.py - Little patch to get flat color on shaded nicks instead of code [c=..]..[/c=..]
| Reported by: | anonymous | Owned by: | somebody |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.0 |
| Component: | plugins | Version: | |
| Keywords: | plus color risk1.0 | Cc: |
Description
Hi I changed Plus.py in a way that shaded nicks gets colored with the first color (the one in the opening code [c=xx]) instead of having the code displayed without any colorization.
The patch is simple, I just edited the regex at the end of each of this line adding a ".*" to make the regex catch any character in closing code between "and ""
colorCodesHex = re.compile('[[cC]=#([0-9A-Fa-f]{6})](.*?)[/[cC].*]')
colorCodesCode = re.compile('[[cC]=([0-9]{1,2})](.*?)[/[cC].*]')
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
