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.
Log in to post a comment.