Solving code selection problem in hgweb

Александр Плавин me at aplavin.ru
Thu May 30 04:12:07 CDT 2013


I've found a solution (thanks to Jordi), which is hopefully preferable. You
can look at it at http://hg.aplavin.ru, e.g.
http://hg.aplavin.ru/hg_fork/file/tip/setup.py. Also, simple line highlight
is implemented.


2013/5/29 Александр Плавин <me at aplavin.ru>

> Probably you know, that now hgweb doesn't allow to select code without
> line numbers correctly. As it's quite an important issue, I'd like to solve
> this, and I can see a way to do it. The solution is to show line numbers as
> they are now, but only when the line is hovered. This way they will not be
> copied, and we don't lose any information. It has the advantage of having
> no problems in display among different browsers (which can arise in other
> solutions) and stripes will be shown the same as now (as I understand most
> of you are against removing the stripes). However, to ensure that I'm
> correct, I ask the question here.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20130530/ee19988f/attachment.html>


More information about the Mercurial-devel mailing list