Greetings BBEdit members

I’ve been able to set up code folding for one set of open and close 
statement blocks based on <Form Name, see below.

<key>Open Statement Blocks</key>
<string>&lt;Form name</string>

<key>Close Statement Blocks</key>
<string>&lt;/Form&gt;</string>

I could just fold every instance of a code block but is there a way of 
selecting multiple instances i.e just <Form name and <Group>?

<key>Open Statement Blocks</key>
<string>&lt;Form name</string>
<string>&lt;Group&gt;</string>

<key>Close Statement Blocks</key>
<string>&lt;/Form&gt;</string>
<string>&lt;/Group&gt;</string>


On a different topic:

I have a instance where one <Key> element is in a predefined list, for 
instance ABCD: 
<Key>ABCD</Key>

But then I get a custom occurrence that won’t be in the predefined or 
keyword list:
<Key>EFGH</Key>

So, what I want to do is to colour the text between the start <Key> and end 
</Key> regardless of whether it is in a predefined list or not?

Kind regards
Ray

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "[email protected]" rather than 
posting here. Follow @bbedit on Twitter: <https://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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/f37d51d7-28db-443a-bf4e-a09304328d36n%40googlegroups.com.

Reply via email to