Hi,

I'm trying my hand a CodelessLanguageModule for a very simple markup
language. A simple example is:

Tag {
  Tag {
      Attribute "value"
      Tag { ... }
   }
  Tag {
  ...
  }
}

You get the idea. The main thing I want out of creating a CLM is
folding of the { } blocks. I read the documentation and created a
module from the template and know it's loading, but while I get syntax
highlighting of string literals, for example, I don't get an folding.
Is it even possible to use Open/Close Statement to do folding? If so,
what might I be doing wrong? My 'Language Features' spec is here:

<key>Language Features</key>
      <dict>
         <key>Identifier and Keyword Character Class</key>
         <string>[:alnum:]</string>
         <key>Open Statement Blocks</key>
         <string>{</string>
         <key>Close Statement Blocks</key>
         <string>}</string>
         <key>Open Strings 1</key>
         <string>"</string>
         <key>Close Strings 1</key>
         <string>"</string>
      </dict>

-- 
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>

Reply via email to