Some changes to code views in hgweb

Matt Mackall mpm at selenic.com
Thu Sep 27 15:57:13 CDT 2012


On Tue, 2012-09-25 at 17:00 -0400, Jordi Gutiérrez Hermoso wrote:
> There are two things I don't like about hgweb's code views:
> 
> 1) When trying to select code for pasting, you also get lines of code.
> I would like to disable that like like this:
> 
>     http://stackoverflow.com/questions/826782/css-rule-to-disable-text-selection-highlighting
> 
> Is it acceptable to use prefixed CSS rules in hgweb?

I don't have any strong objection to that.

> 2) The stripes are jarring and conflict with some Pygments styles. Can
> we get rid of stripes for code views? The stripes make more sense for
> lists of similar-looking data such as revisions, but I don't like them
> for code views, and hg is rather unique out there for using stripes
> for code views.

I'm on the fence about it. Any other opinions?

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list