#1495 CoffeeScript comment-block lexing is wrong


See Komodo bug http://bugs.activestate.com/show_bug.cgi?id=99593 -- the lexer is confused
with documents that start with code like "###\n###\nalert("ceci n'est pas un comment")

The reason why is I was trying to be clever mapping CS constructs like the above comment-blocks to SCE_C_COMMENT styles. The problem happens when a new lexer request happens in
the middle of a document at one of these points. Rather than look for the start of the comment, which can greatly slow down lexing of docs with large comment blocks, leave the
CS-specific states in the doc, and have the application handle them specifically.

1 Attachments


  • Neil Hodgson

    Neil Hodgson - 2013-07-06
    • labels: --> scintilla, lexer
    • status: open --> open-fixed
    • assigned_to: Neil Hodgson
  • Neil Hodgson

    Neil Hodgson - 2013-07-21
    • status: open-fixed --> closed-fixed

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks