RE: Syntax region endpoints
>-----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.
- Look at syn-matchgroup
you can specify a different group for the start and end matches.
From: Neil Hodge [mailto:hodge3@...]
Sent: Thursday, 1 January 2004 10:13 AM
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.
Lawrence Livermore National Lab
Advanced Engineering Analysis Group
hodge3 at llnl dot gov