On Mar 31, 2011, at 5:55 PM, Antoine Pitrou wrote: > Le jeudi 31 mars 2011 à 17:46 -0700, Raymond Hettinger a écrit : >> On Mar 31, 2011, at 5:30 PM, Antoine Pitrou wrote: >> >>> On Thu, 31 Mar 2011 16:15:48 -0700 >>> Raymond Hettinger <raymond.hettinger at gmail.com> wrote: >>>> The Hg source viewer needs to be tweaked to improve its usability. >>>> What we've got now is a step backwards from the previous svn viewer. >>>> >>>> Looking at http://hg.python.org/cpython/file/default/Lib/linecache.py for example, >>>> there are two issues. 1) the code cannot be cut-and-pasted because the >>>> line numbers are commingled with the source text. 2) the code is hard >>>> to read because of the alternating white and gray bars. >>>> >>>> Contrast that to the more typical, beautiful presentations with a solid >>>> background and the ability to cut-and-paste without grabbing line >>>> numbers: >>> >>> This is something you need to discuss with the Mercurial project. >>> See http://mercurial.selenic.com/bts/ and >>> http://mercurial.selenic.com/wiki/ContributingChanges >> >> Are you saying that our official code viewer isn't configurable >> without getting a change through the Hg project itself? > > Well, it is something that is configurable through patching. > You might want to keep the patch private to hg.python.org, of course. > But perhaps you can also convince Mercurial devs that they should it > themselves, if you are persuasive enough ;) Surely, we at least have control over our own CSS. At http://hg.python.org/cpython/static/style-paper.css there are two lines that control the alternating bars: .parity0 { background-color: #f0f0f0; } .parity1 { background-color: white; } One of those could be changed to match the other so that we at can at least get a solid background. Raymond -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20110331/e97a0bc1/attachment.html>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4