GNU bug report logs - #25525
25.1.90; add color highlighting to css mode

Previous Next

Package: emacs;

Reported by: Tom Tromey <tom <at> tromey.com>

Date: Wed, 25 Jan 2017 08:08:01 UTC

Severity: wishlist

Tags: patch

Found in version 25.1.90

Done: Tom Tromey <tom <at> tromey.com>

Bug is archived. No further changes may be made.

Full log


Message #20 received at 25525 <at> debbugs.gnu.org (full text, mbox):

From: Tom Tromey <tom <at> tromey.com>
To: Simen Heggestøyl <simenheg <at> gmail.com>
Cc: 25525 <at> debbugs.gnu.org, Tom Tromey <tom <at> tromey.com>
Subject: Re: bug#25525: 25.1.90; add color highlighting to css mode
Date: Wed, 25 Jan 2017 13:41:14 -0700
Simen> - It should be possible to disable it. I'm not sure whether it should
Simen>  be turned on by default or not, though I'd think that most CSS
Simen>  developers will find it useful.

I can add a defcustom.

Simen> - Selectors that happen to contain the name of a color are
Simen>  highlighted. The 'red' part of '.centered-button' is highlighted in
Simen>  red, for instance.

Thanks for noticing this.
I am sure I had \b or \< or something in the regexp earlier but I must
have dropped it.  I'll fix this up.

Tom




This bug report was last modified 8 years and 80 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.