I can\'t figure out how to configure notepad++ to display regions for user defined keywords.
I have a big trace file which shows the start and the end of a procedure
I have a similar problem. I want to add a custom tag like #region / #endregion to create arbitrary folding points in languages that don't support it. Specifically, I am trying to do this for php.
After researching for an hour or two, it seems that modifying an existing language is quite difficult due to the underlying scintilla lexer, and writing a plugin may be the only way to accomplish this.
I did discover however a decent workaround:
Wrap the code you wish to fold in comments like:
#{
...
#}
Then move your cursor before the open brace and press CTRL+ALT+b to highlight the entire block, followed by ALT+h to hide it.
It's a different operation than folding, but it works in a pinch.