BBEdit/Textwrangler LCM for livescript

Thierry Douez th.douez at gmail.com
Wed Sep 9 05:46:53 EDT 2015


Hi,

Replace the key 'Function Pattern' with the one below
and you might have a surprise with code folding..

        <key>Function Pattern</key>
        <string><![CDATA[
        ^(?P<f>(?P<function_name>(private\s+)?(on|command|function)\s+(?P<ff>[a-zA-Z0-9_]+))(?ms:.+?)^end\s+(?P=ff))
        ]]></string>


Tested successfully but very quickly with TextWrangler 4.5.12 ( the latest)

I have another option, but let comments arise before going further..

Regards,

Thierry

------------------------------------------------
Thierry Douez - http://sunny-tdz.com
sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage




More information about the use-livecode mailing list