GNU bug report logs -
#25525
25.1.90; add color highlighting to css mode
Previous Next
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 #59 received at 25525 <at> debbugs.gnu.org (full text, mbox):
On Sat, Mar 4, 2017 at 6:55 PM, Tom Tromey <tom <at> tromey.com> wrote:
> I was able to reproduce the problem and I think I found the bug:
> css--fontify-region was not respecting any region extension done by
> font-lock-default-fontify-region, but this is what extended
> fontification to include the whole line containing point when
> searching.
>
> Please try this version.
Nice, that seems to have fixed the bug!
I found another one: in SCSS mode, when using the `rgba` function
where one argument is a variable, subsequent colors aren't
highlighted. An example:
body {
color: #ddd;
color: rgba($color-var, 1);
color: #abc; // Not highlighted
}
There is also a test failure when you rebase the patch on the latest
master due to the changes in 7b00e956b4. It can be fixed by passing 2
as the last argument to `color-rgb-to-hex' in `css--hsl-color'.
-- Simen
This bug report was last modified 8 years and 81 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.