I have a codeless language module 
(https://github.com/JoeStrout/miniscript-bbedit-lang-mod) which does a fine 
job of syntax coloring.  Now I want to add a function pattern, so it can 
identify functions and support the function pop-up.  Following the example 
in the docs, I've developed a RegEx which correctly selects functions when 
I run it on its own.  However, when I add it to the language module, my 
language no longer appears in BBEdit as a language option at all.  I have 
searched the Console for errors, but can't find any there.

The Function Pattern block in my plist looks like this:

        <string><![CDATA[
            (?x: 
                ^(?P<function>
                    (?P<function_name>[a-zA-Z0-9_\.]+)
                    (?: *)=(?: *)function
                    (?s:.+?)
                    ^end function
                )
            )
          ]]></string>

Any idea what I'm doing wrong here?  Or how to get BBEdit to provide more 
information about what's wrong?

-- 
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/e35b4c58-fdab-4b8a-8964-48f22e79909fn%40googlegroups.com.

Reply via email to