Re: [code] [textadept] Lexer rule for function names

From: Joshua Krämer <joshua.att.kraemer.link>
Date: Wed, 16 Jan 2019 19:23:49 +0100

Hi Mitchell,

thank you very much! :-) I am using this rule now, because it works
with newlines, too:

lex:add_rule('function', token(lexer.FUNCTION, lexer.word) *
#(lexer.space^0 * lexer.delimited_range('()') * lexer.space^0 * '{'))

Cheers,
Josh

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Wed 16 Jan 2019 - 13:23:49 EST

This archive was generated by hypermail 2.2.0 : Thu 17 Jan 2019 - 06:44:28 EST