Community
    • Login

    Syntax highlight block comment should override same for line comment

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 2.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.
    • Cees TimmermanC
      Cees Timmerman
      last edited by

      CoffeeScript uses ### ... ### for block comments, which works fine, but when i add a # ... line comment style to my UDL it breaks the block comment highlighting. Somehow the built-in CoffeeScript syntax highlighter does properly order the comments.

      Notepad++ v6.9
      Build time : Feb 21 2016 - 21:27:55
      Path : C:\Program Files (x86)\Notepad++\notepad++.exe
      Admin mode : ON
      Local Conf mode : OFF
      OS : Windows 10
      Plugins : ComparePlugin.dll Explorer.dll HTMLTag_unicode.dll JSMinNPP.dll mimeTools.dll NppCCompletionPlugin.dll NppConverter.dll NppExec.dll NppExport.dll NppFTP.dll NppMenuSearch.dll NppTaskList.dll PluginManager.dll Python Indent.dll ScrollPastEOFUni.dll SpeechPlugin.dll sql.dll Tidy2.dll XMLTools.dll XPatherizerNPP.dll

      Claudia FrankC 1 Reply Last reply Reply Quote 0
      • Claudia FrankC
        Claudia Frank @Cees Timmerman
        last edited by

        Hello @Cees-Timmerman,

        I think the simplest solution would be to keep the block comments definition and introduce
        another delimiter with start = # and end = ((EOL))

        Cheers
        Claudia

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