nested keywords
- 
 I have two keywords and one is included in the other. How can I have notepad++ recognize the longest one? the keywords are 
 !end
 !endogenousThe problem arises because, in the syntax highlighting, I define a folding code to be !for 
 …
 !endas a result, then “!end” part of !endogenous is highlighted but not the rest 
- 
 @Junior-Maih said in nested keywords: I have two keywords and one is included in the other. How can I have notepad++ recognize the longest one? the keywords are 
 !end
 !endogenousI have always dealt with those by putting the longer keyword before the shorter in my lists of keywords. !endogenous !end
- 
 @mkupper 
 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!