The Computer Oracle

how to use codefolding feature of notepad++ for normal text documents

--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Riding Sky Waves v001

--

Chapters
00:00 How To Use Codefolding Feature Of Notepad++ For Normal Text Documents
00:33 Accepted Answer Score 13
00:59 Answer 2 Score 8
01:25 Thank you

--

Full question
https://superuser.com/questions/626194/h...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#windows7 #notepad++ #documents

#avk47



ACCEPTED ANSWER

Score 13


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.




ANSWER 2

Score 8


Basically, View -> User-Defined Dialogue
Create New. I call it Txt, set the extension to .txt
In folder and default pane, set the open and close options.
I use {{ and }} respectively.

Then from the View menu, use the fold, collapse options.

More details in http://sourceforge.net/p/notepad-plus/discussion/331754/thread/c01d98f7