Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How Can I create regions for a user defined language in NotePad++? I found that in View->User Defined Language menu, we can type keywords that I want it to use for region open and closing so I typed "if" and "endif" , worked..but the problem is that I cannot type more! I want "for" and "endfor" for example...

share|improve this question

1 Answer 1

up vote 1 down vote accepted

With the user defined language feature, spaces are used to separate keywords. In your example, the Folder Open Keywords Settings would contain:

if for

and the Folder Close Keywords Settings would contain:

endif endfor
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.