|
From: | Jon Dufresne |
Subject: | Re: c-mode syntax strings and regexp word boundaries |
Date: | Fri, 6 Sep 2013 15:38:08 -0700 |
Not what you asked, but as a suggestion, you might want to use the CC
Mode macros which deal with text properties on single characters. For
example, you could have used `c-put-char-property' instead of
`put-text-property'.
This has the following pros/cons: (i) these macros are slightly less
cumbersome to use, since they take only a single position parameter; (ii)
They also work in XEmacs; (iii) there is some effort involved in learning
about them and how they work.
If you're interested, search cc-defs.el for
Macros/functions to handle so-called "char properties",
and read the definitions in that page.
[Prev in Thread] | Current Thread | [Next in Thread] |