Eric Promislow wrote:
> 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.
> [snip]
> Thanks for reporting this.  I'll admit lexing a single-character expression
> separately looks strange, but the feature scales up nicely for longer
> expressions.

Sorry, dumb mistake from me. The file was running the Perl lexer when I thought 
the shbang for Ruby was being picked up. There is nothing wrong with the 
snippet on the Ruby lexer. Of course, the colours are all different... missing 
the blindingly obvious. :-) 

Anyway, the .cgi entry in perl.properties might not be such a good idea now, 
since it can be reasonably expected that shbang should decide on the lexer to 
use. What does the rest of the list think?

-- 
Cheers,
Kein-Hong Man (esq.)
Kuala Lumpur, Malaysia

_______________________________________________
Scintilla-interest mailing list
Scintilla-interest@lyra.org
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to