Menu

#989 Strange Ruby HEREDOC Highlighting Flaw

None
pending-upstream
nobody
v1.23.1
5
2014-08-14
2013-08-27
Kevin Cox
No
$ geany --version
geany 1.23.1 (built on May 20 2013 with GTK 2.24.18, GLib 2.36.2)

I am experience some really wired syntax highlighting with Ruby's HEREDOC syntax in certain cases.

I have attached it below and a rendering of how it highlights on my system. I have reduced it as much as I can but any more and it highlights correctly.

  • It happens for all quote types (EOS, "EOS", 'EOS').
  • The characters on the first line can be removed (but if the line is removed it works).
  • If you play around some characters can be removed.
2 Attachments

Discussion

  • Lex Trotman

    Lex Trotman - 2013-08-27

    This problem also occurs with Scite which indicates that its a Scintilla problem. Scintilla is a separate project (www.scintilla.org) please report the problem there.

     
  • Kevin Cox

    Kevin Cox - 2013-08-27

    This bug was actually already present upstream. Here is the report for reference. https://sourceforge.net/p/scintilla/bugs/1101/

     
  • Colomban Wendling

    • labels: --> Ruby, Scintilla
    • status: open --> pending-upstream
     

Log in to post a comment.