[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fontifying decimal point
From: |
Brian Elmegaard |
Subject: |
Fontifying decimal point |
Date: |
10 Dec 2004 10:46:28 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
Hi
I am trying to make font-lock fontify a decimal point and the numbers
after.
I have
(modify-syntax-entry ?. "w" dna-mode-syntax-table)
and i have tried
;; Numbers
'("[0-9.]*" 1 font-lock-constant-face)
But the fontification of a decimal number ends at the point,
e.g. 12.34 would only have 12 fontified.
What am I missing?
tia,
--
Brian (remove the sport for mail)
http://www.et.dtu.dk/staff/be/be.html
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Fontifying decimal point,
Brian Elmegaard <=