Please see the attached patch (against SVN r10429) for the modes/ruby.xml file.
The first change surrounds the =begin and =end keywords with newlines because those keywords do not take any effect unless they are at the beginning of a line. If they appear in the middle of a line, it becomes a syntax error.
The second change is the addition of "initialize" as a second-order keyword. It is hard to type initialize correctly sometimes and so putting this word as a keyword2 gives two benefits:
1. I can use jEdit code completion to type the word:
[i] [n] [i] [t] [control][b]
2. I can easily see if the word is misspelled because it will only have syntax coloring if it is correctly spelled.
Please give your comments on these changes and if you like them, please incorporate them into the SVN trunk.
Thanks for your consideration.
Suraj Kurapati ( cyzsuraj ) - 2007-08-28 22:10:01 PDT
|close_date||2008-08-19 06:55||2008-09-02 19:20:22 PDT||sf-robot|
|status_id||Pending||2008-09-02 19:20:22 PDT||sf-robot|
|status_id||Open||2008-08-19 06:55:38 PDT||k_satoda|
|close_date||-||2008-08-19 06:55:38 PDT||k_satoda|
|assigned_to||robmckinnon||2008-08-02 13:04:02 PDT||k_satoda|
|resolution_id||None||2008-08-02 13:04:02 PDT||k_satoda|
|priority||5||2008-07-31 23:11:19 PDT||cyzsuraj|
|category_id||None||2008-07-31 23:11:19 PDT||cyzsuraj|
|assigned_to||nobody||2007-09-06 13:57:10 PDT||ezust|
|File Added||243290: ruby.xml.diff||2007-08-28 22:10:02 PDT||cyzsuraj|