Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#203 dash dash in quoted string colored as a comment

Next Release
pending-fixed
Mark Hessling
None
5
2014-08-26
2011-02-28
LesK
No

If I have a quoted string:

helps='Help --Help /? ?'

everything starting with the '--' is colored as a comment. Another .tld problem?

Discussion

  • Mark Hessling
    Mark Hessling
    2011-02-28

    • assigned_to: nobody --> rexx
    • status: open --> pending-fixed
     
  • Mark Hessling
    Mark Hessling
    2011-02-28

    Fixed. Also fixed a similar issue with:
    Call abc 'fred/*.*', arg2
    where everything after /* (including following lines) are treated as a comment.

     
  • Mark Hessling
    Mark Hessling
    2013-06-21

    • Group: --> Next Release
     
  • LesK
    LesK
    2013-07-10

    RC4: fix confirmed

    However, there are still times when coloring inexplicably stops for
    some number of lines and then suddenly resumes.

     
  • Mark Hessling
    Mark Hessling
    2013-07-10

    Syntax highlighting only works for the currently displayed section of the file; ie that part of the file in the filearea. If you have a large block comment and either the start or end of the comment is not being displayed, the whole comment is then treated as code. Not aware of any other "odd" behaviour WRT syntax highlighting working randomly.

     
  • LesK
    LesK
    2013-07-12

    I can pretty reliably demonstrate it with TeamViewer, if you'd like.

     
  • LesK
    LesK
    2013-07-12

    Even better, here are two PNG files that show the problem after a
    N command.

     
  • LesK
    LesK
    2013-07-12

    2nd one