Sorry, KHM, but I don't think there's a problem here. You didn't say
exactly what the problem was, but I'm guessing it's in the string.
The contents between "#{" and "}" are lexed as a standalone expression,
not a string. Both Komodo and Scite color the "s" as an identifier,
which is correct.
I submitted this change, which showed up in Release 1.72:
"Ruby lexer interprets interpolated strings as expressions."
Thanks for reporting this. I'll admit lexing a single-character expression
separately looks strange, but the feature scales up nicely for longer
expressions.
- Eric
KHMan wrote:
Hi all,
Sorry for sending yet another e-mail, I missed bringing up this one the last
time because the filename was gateway.cgi. Not sure where it was from. The
relevant snipped bit is:
def message(s)
$stderr.puts "gateway.cgi: #{s}" if ENV && ENV["DEBUG_GATEWAY"]
end
Looks like a form of the Perl-style 's' lexing nightmare... :-)
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest