Hi all,

Here is a Ruby lexer glitch. This was snipped from ruby on rails, 
mem_cache_store.rb.

begin
class MemCacheStore
def check_id(id) #:nodoc:#
/[^0-9a-zA-Z]+/ =~ id.to_s ? false : true
end
end
end

Initial styling fails to lex the regexp properly. However, if you do a pagedown 
(in the original file) or edit any line after the regexp, styling becomes 
correct after the refresh. I am running SciTE 1.74 on Win32.

I've also got a file rkernel.rb (lost the project name) where the lexer borks 
on:

  def `(command) #:nodoc:

I know too little of Ruby to deal with these, so guess I will be of little 
help. I've got all the Ruby docs downloaded but I'm too comfortable with Lua 
and Perl at the moment.

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

_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to