Pascal syntax highlighting nested comments

  • Notepad++ 6.6.9 and 7.5.8 (current).
    Notepad++ has an issue with highlighting comments of Pascal language.
    I don’t know if this is really a standard or not but i am using compiler which accepts:
    (* Line1,
    Line3 )
    The above highlight correctly in NPP. { and } can also be used.
    But this one:
    ( Line1, (* some comment *)
    Line3 *)
    is wrongly displayed in NPP, it stops highlight after “comment *)”, and doesn’t recognize last *). You can use { and } with the same (bad) effect but I am not using { } normally.
    Can I somehow fix it on my own without recompiling NPP?

  • @Krzysztof-Jachowicz

    Issue created here for this.

Log in to reply