Simon Marshall <simon(a)gnu.org> writes:
If you paste text from a C mode buffer into a Text mode buffer it
should not take its highlighting with it.
This is already the case in XEmacs; that's what the "non-duplicable"
properties are for.
But I don't know why font-lock.el uses text properties. Perhaps
it
is just because they were (and still are) much easier to use than
overlays/extents for the purposes of font-lock.el.
Maybe. One of these days, I'll probably be bored enough to try it
otherwise...
--
Hrvoje Niksic <hniksic(a)srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
Suburbia is where the developer bulldozes out the trees, then names
the streets after them. -- Bill Vaughn