I have two keywords and one is included in the other. How can I have notepad++ recognize the longest one?
the keywords are
The problem arises because, in the syntax highlighting, I define a folding code to be
as a result, then “!end” part of !endogenous is highlighted but not the rest
Thank you so much for the reply. Your suggestion works for another instance (!else and !elseif) but not in the case I mentioned because I also use !end in the “Folding in code 1 style”. I have even removed !end from the list of keywords but it does not help.
Thanks again for taking the time to reply!