Syntax highlight block comment should override same for line comment



  • 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



  • 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


Log in to reply