This is a very old post, but I'm trying to do something similar and haven't
been able to figure it out. Any way to write a CLM that recognizes a few
different Open Statement Block and Close Statement Block patterns?
On Wednesday, April 21, 2010 8:41:20 PM UTC-7, Ben wrote:
>
> G'day all,
>
> I am trying to improve a CLM for MapServer mapfiles, which may look
> like :
>
> LAYER
> DEBUG 0
> NAME "countries"
> GROUP "Political"
> STATUS ON # Important for WMS
> METADATA
> "wms_title" "Country Background"
> "wms_srs" "EPSG:4326"
> "wms_group_title" "Political"
> END
> DATA "global/boundaries/ctybnda"
> TYPE polygon
> OPACITY 100
> CLASS
> NAME "Country Borders"
> COLOR 240 240 180
> # OUTLINECOLOR 255 70 0
> END
> END
>
>
> It would be great to be able to fold up LAYER definitions (and
> METADATA and CLASS and others as well!), but the format doesn't use {}
> or () or even begin. All the components do finish with END.
>
> So I thought something like this might work :
>
> <key>Open Statement Blocks</key>
> <string>[MAP|WEB|PROJECTION|OUTPUTFORMAT|SCALEBAR|LAYER|CLASS|
> STYLE|METADATA]</string>
> <key>Close Statement Blocks</key>
> <string>END</string>
>
> But I don't get any little folding markers.
>
> 1. Is this possible?
>
> 2. Have I mucked up the syntax?
>
> cheers
>
> Ben
>
> --
> You received this message because you are subscribed to the
> "BBEdit Talk" discussion group on Google Groups.
> To post to this group, send email to [email protected] <javascript:>
> To unsubscribe from this group, send email to
> [email protected] <javascript:>
> For more options, visit this group at
> http://groups.google.com/group/bbedit?hl=en
> If you have a feature request or would like to report a problem,
> please email "[email protected] <javascript:>" rather than posting to
> the group.
--
--
You received this message because you are subscribed to the
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem,
please email "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
---
You received this message because you are subscribed to the Google Groups
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.