It's most likely still in your server cache. We cache various stages of the
diff generation process, and there are two (diff opcodes+attributes and
rendered diff view) that can contain the definitions for those red boxes.
I assume you're using memcached (if not, you should be! :). You can just
flush the cache to remove those. Otherwise, any newly uploaded diffs should
be rendered more correctly, providing the mapping is now correct and the web
server was restarted.
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com
On Mon, May 23, 2011 at 4:22 PM, Barry
> You were right, of course; the files in question were .cfg files, which
> Pygments treats as INI type configuration files. I haven't found a
> definition for the red-outline box, but my guess that it indicates something
> that the lexer doesn't recognize as valid in such a file.
> I have removed the '.cfg' entries in .../pygments/lexers/text.py and ran
> .../pygments/lexers/_mapping.py to remake the LEXERS dictionary. However,
> when I view the diffs in question, the red outlines are still there. Are
> the diffs highlghted when they are first uploaded into the database, or is
> there some additional step necessary apply the new mapping.
> Thanks for your help.
> Want to help the Review Board project? Donate today at
> Happy user? Let us know at http://www.reviewboard.org/users/
> To unsubscribe from this group, send email to
> For more options, visit this group at
Want to help the Review Board project? Donate today at
Happy user? Let us know at http://www.reviewboard.org/users/
To unsubscribe from this group, send email to
For more options, visit this group at