Hrvoje Niksic wrote:
> P.S. If I am not mistaken font-lock is origionally a lucid Emacs
> thing and predates tex-properties. How did it work back then?
It only had a "syntactic" phase, so it just fontified strings and
comments.
Actually, it did the regexp thing from the beginning too. I just
thought that people would tend not to use too many regexps, since the
strings/comments were really 90% of what mattered. Obviously others
feel differently.
I'm not sure how it handled merging the adjacent extents
and breaking up extents in two (which is now handled by the text-props
code.)
I don't remember, but it's not true that Lucid Emacs didn't have
text-properties. I had an all-lisp implementation of text properties
built on top of extents; I later translated part of that to C for speed.
I don't remember what version this was in, but it was definitely Lucid
Emacs.
--
Jamie Zawinski
jwz(a)mozilla.org
http://www.mozilla.org/ (work)
jwz(a)jwz.org
http://www.jwz.org/ (play)