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

Close

#22 Groovy highlighting issue(about keyword "return")

closed-invalid
5
2012-11-21
2012-09-09
Anonymous
No

"return" is not highlighted as keyword. (a snapshot is attached)

Please have a look at the issue.

Thanks in advance.

ps: Thanks a lot for your quick fix of previous "Groovy highlighting issue".

Discussion

  •  
    Attachments
  • Robert Futrell
    Robert Futrell
    2012-11-21

    • labels: --> Syntax highlighting
    • assigned_to: nobody --> robert_futrell
    • status: open --> closed-invalid
     
  • Robert Futrell
    Robert Futrell
    2012-11-21

    "return" in several C-style languages, including Groovy, is actually of token type RESERVED_WORD_2. The purpose of this is to be able visually identify lines that exit a method. Simply style this token type the same as you do RESERVED_WORD if you want them to look identical.