#485 ruby.xml: Fix bug 3605168

Richard The

The specific file that contains ruby syntax highlighting rules is modes/ruby.xml
Initially, the program only tried to find =begin and =end tokens and would consider anything in between them as a valid comment.
The fix was to make sure =begin and =end are only considered as a valid token for multi-line comment highlighting when they're at the beginning of the line by adding AT_LINE_START="TRUE" on both <BEGIN> and <END> tags.

The screenshots of the program as a proof of the fix are available at the following links:
Before fix: http://bit.ly/ruby_before
After fix: http://bit.ly/ruby_after


  • Richard The

    Richard The - 2013-02-23


  • Alan Ezust

    Alan Ezust - 2013-02-26
    • summary: Fix bug 3605168 --> ruby.xml: Fix bug 3605168
    • assigned_to: nobody --> ezust
  • Alan Ezust

    Alan Ezust - 2013-02-26

    Committed rev# 22813.

  • Alan Ezust

    Alan Ezust - 2013-02-26
    • status: open --> closed-accepted

Log in to post a comment.