#60 [Editor] Syntax-highlighting for nested multi-line comments

open
nobody
Bug (46)
7
2008-03-24
2007-11-25
No

taken over from [997125]:

In Haskell, it is allowed to nest multi-line comments,
like this

{- {- this is a comment -}
this is still more comment -}

However, the syntax highlighting in the Haskell editor
closes the comment region right after the first
comment-closing token.

Discussion

  • Leif Frenzel

    Leif Frenzel - 2008-03-10
    • milestone: --> 781048
    • priority: 5 --> 7
    • assigned_to: nobody --> leiffrenzel
     
  • Leif Frenzel

    Leif Frenzel - 2008-03-24
    • milestone: 781048 -->
    • assigned_to: leiffrenzel --> nobody
     
  • Leif Frenzel

    Leif Frenzel - 2008-03-24

    Logged In: YES
    user_id=873711
    Originator: YES

    More difficult than it looks ... Eclipse's syntax coloring is based on simple rules, which don't allow for nested partitions. We could implement our own version of PatternRule with stack-like behaviour (count open-comment tokens), but that's quite a bit of work.

    Moving back to backlog.

     

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

Sign up for the SourceForge newsletter:





No, thanks