• Login
Community
  • Login

Pascal syntax highlighting nested comments

Scheduled Pinned Locked Moved General Discussion
2 Posts 2 Posters 1.1k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K
    Krzysztof Jachowicz
    last edited by Oct 3, 2018, 12:02 PM

    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,
    Line2,
    Line3 )
    The above highlight correctly in NPP. { and } can also be used.
    But this one:
    ( Line1, (* some comment *)
    Line2,
    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?

    S 1 Reply Last reply Oct 3, 2018, 12:34 PM Reply Quote 0
    • S
      Scott Sumner @Krzysztof Jachowicz
      last edited by Oct 3, 2018, 12:34 PM

      @Krzysztof-Jachowicz

      Issue created here for this.

      1 Reply Last reply Reply Quote 0
      2 out of 2
      • First post
        2/2
        Last post
      The Community of users of the Notepad++ text editor.
      Powered by NodeBB | Contributors