#1006 Ruby 1.9 hash syntax highlighting

Cosmetic
open-accepted
Neil Hodgson
Scintilla (788)
3
2010-08-10
2010-08-10
Christoph Traut
No

Syntax highlighting doesn't work correctly when you declare a hash literal with the new (i.e. introduced in Ruby 1.9), shorter syntax and reserved keywords as keys.
For example:
h = { class: 'test', if: 1 }

I posted a longer explanation of the issue on scite-interest:
http://groups.google.com/group/scite-interest/browse_thread/thread/14fbc59e5e3a758d

Discussion

  • Neil Hodgson
    Neil Hodgson
    2010-08-10

    This is up to the Ruby users to fix. I won't be working on it myself.

     
  • Neil Hodgson
    Neil Hodgson
    2010-08-10

    • assigned_to: nobody --> nyamatongwe
    • priority: 5 --> 3
    • status: open --> open-accepted