When I open an reg file in notepad++ file in notepad++, I see the amazing functionality to minimize and maximize the subkeys of a base key by clicking on that little arrow on the left. Can I get this functionality in normal documents? I want to create different categories for ex: topic 1, topic 2, etc, which I can maximize and minimize.
Answer
You can define your own syntax highlighting and code folding rules by defining a 'User language'. Click Language -> Define your language...
to open the User Defined Language dialog.
This dialog gives options for many levels of customisation. In your case, you could add the word 'Topic' to the 'Folding in code 1 style' open list.
Comments
Post a Comment