[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Checkerboard background colours
From: |
Jeffrey Ratcliffe |
Subject: |
Re: Checkerboard background colours |
Date: |
Fri, 23 Jul 2010 17:04:09 +0200 |
On 23 July 2010 13:28, Jeffrey Ratcliffe <jeffrey.ratcliffe@gmail.com> wrote:
> Do you have any idea how to get this working in 21.4? font-lock itself
> seems to work OK, it really does seem to be a problem with the regex.
On removing the shy groups, the regex error disappeared under 21.4.
The highlighting still didn't work. I simplified it to the following,
which does:
(defvar my-keywords
'(
("\\([\-+0-9a-zA-Z \.]\\{1,8\\}\\)\\([\-+0-9a-zA-Z \.]\\{1,8\\}\\)?"
1 '(:background "LightBlue1"))
)
)
How can get this only to be active on lines between "BEGIN DATA" and "END DATA"?
Please cc me on replies, as I am not subscribed.
Regards
Jeff