Menu

#1006 Ruby 1.9 hash syntax highlighting

Cosmetic
closed-fixed
3
2016-03-16
2010-08-10
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
     
  • Neil Hodgson

    Neil Hodgson - 2016-02-23
    • labels: Scintilla --> Scintilla, lexer, ruby
    • status: open-accepted --> open-fixed
     
  • Neil Hodgson

    Neil Hodgson - 2016-02-23

    Fixed with [0f07ab].

     

    Related

    Commit: [0f07ab]

  • Neil Hodgson

    Neil Hodgson - 2016-03-16
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.