Have you tried wrapping the contents of your "Identifier and Keyword Character 
Class” inside a CDATA wrapper <https://en.wikipedia.org/wiki/CDATA>?

You can find the latest version of my code - which still works in the latest 
BBEdit - on GitHub 
<https://github.com/olivertaylor/textplay.bbpackage/blob/master/Contents/Language%20Modules/textplay.plist>.

It’s not perfect - for example, the keywords only work when alone on a line - 
but I’m a little fuzzy, it’s been a while!


> On 15 Oct 2015, at 5:52 AM, Marc Chamberland <[email protected]> 
> wrote:
> 
> Hi Oliver,
> 
> This is coming in 4 years later, but I'm having a problem very similar to the 
> one you had in 2011. I'm trying to get keywords with spaces recognized in my 
> module, but to no avail. Does your module still work in the latest version of 
> BBEdit? I've tried every way I could think of to add a space to the 
> Identifier and Character Class, but nothing has worked. Anytime I add a space 
> to it (either as " ", \s, [:blank:], etc), it breaks recognition of all 
> keywords.
> 
> Marc
> 
> 
> On Tuesday, August 16, 2011 at 11:34:03 AM UTC-4, oliver wrote:
> Thanks Mic, I added a space and a colon to the Identifier and Keyword 
> Character Class and that got the keywords working (even with a space).
> 
> Now I just need to get the Functions and Strings working.

-- 
This is the BBEdit Talk public discussion group. 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].
To post to this group, send email to [email protected].

Reply via email to