For example, I wanted to be able to collapse this section block.
/* BEGIN FOOTER CSS */
footer {
padding: 40px 0px 30px 0px !important;
}
div.copyright {
padding: 60px 0px 0px 0px !important;
}
/* END FOOTER CSS */
How can I do this?
as soon as you change the language to css, you get the collapsing option displayed (at least in v. 6.1.5)...
You can do what you are trying to by defining a user defined language.
Go to Language -> Define your language.
Under the 'Folding in code 1 style' open list, in the 'Open' box, insert: ///* BEGIN and in the 'Close' box insert ///* END.
The reason for the triple forward slashes is that they are escape characters to prevent NP++ from viewing the /* as a regex match (i think - figured that out by experimentation).