Skip to content
Prev 6501 / 15075 Next

BBEdit Language Module Enhancements

On 30/10/2009, at 20:10, Jonathan Marc Bearak wrote:

            
I tried your R.plist in TextWrangler 3 and it failed to recognise  
functions.
I changed the function pattern to this

		<key>Function Pattern</key>
		<string>(?P&lt;function_name&gt;[a-z0-9_A-Z.]+)\s*&lt;-\s*function</ 
string>

and then TextWrangler does recognise R functions with function names  
appearing in the symbols popup menu.

The string for <key>Identifier and Keyword Characters</key> should  
also contain a 0 (zero digit).

Berend