* Fontifying decimal point
@ 2004-12-10 9:46 Brian Elmegaard
0 siblings, 0 replies; only message in thread
From: Brian Elmegaard @ 2004-12-10 9:46 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-12-10 9:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-10 9:46 Fontifying decimal point Brian Elmegaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).