<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Mar 31, 2011, at 6:28 PM, Victor Stinner wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Le 01/04/2011 01:15, Raymond Hettinger a écrit :<br><blockquote type="cite">The Hg source viewer needs to be tweaked to improve its usability.<br></blockquote><blockquote type="cite">What we've got now is a step backwards from the previous svn viewer.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Looking at <a href="http://hg.python.org/cpython/file/default/Lib/linecache.py">http://hg.python.org/cpython/file/default/Lib/linecache.py</a> for example,<br></blockquote><blockquote type="cite">there are two issues. 1) the code cannot be cut-and-pasted because the<br></blockquote><blockquote type="cite">line numbers are commingled with the source text. 2) the code is hard<br></blockquote><blockquote type="cite">to read because of the alternating white and gray bars.<br></blockquote>You can use mirrors like:<br><a href="https://bitbucket.org/mirror/cpython/">https://bitbucket.org/mirror/cpython/</a><br><br>On Bitbucket, line numbers are displayed, but you can copy/paste code without the line number. And the background is just white. For example:<br>https://bitbucket.org/mirror/cpython/src/3558eecd84f0/Modules/faulthandler.c<br><br></div></blockquote><br></div><div>That's *way* better:</div><div><br></div><div> <a href="https://bitbucket.org/mirror/cpython/src/3558eecd84f0/Lib/linecache.py">https://bitbucket.org/mirror/cpython/src/3558eecd84f0/Lib/linecache.py</a></div><div><br></div><div>Why can't we have that for our primary source viewer.</div><div><br></div><div><br></div><div>Raymond</div><br></body></html>