46378RE: Syntax region endpoints
- Dec 31, 2003
>-----Original Message-----I shall take a stab at this ...
>From: Neil Hodge [mailto:hodge3@...]
>Sent: Wednesday, December 31, 2003 3:13 PM
>Subject: Syntax region endpoints
>I cannot figure out if there is a way to color ONLY the "start" and
>"end" points of a syntax region, and do nothing to anything between the
>endpoints. Any ideas? Thanks.
If the start and end are keywords in your syntax file, then make the region
transparent. As long as the keywords have a color, that's what you'll see.
If they are matches, you still might be able to do the same, but I'm not at
all sure about that. Same proviso about hilighting the matches.
If all else fails, create a region which defines everything between the
start and end patterns, Contained (adding it as a Contains in the original
region). But that is both ugly and inefficient, I'm sure.
- << Previous post in topic Next post in topic >>