Not sure if this helps (because it doesn’t answer your direct question), but you can select an arbitrary block of text, then right-click and choose “Fold Selection”. Could assign a keyboard shortcut, or use the ⌘⇧U and type in Folds.
> On Sep 14, 2022, at 2:16 PM, Travis Edrington <traisja...@gmail.com> wrote: > > I use BBEdit for all of my generic text needs, but one thing I love from > programming that is not available (as far as I can tell) is folding for > generic text files. Sometimes when I am using Bbedit for notes I will create > blocks like I am writing code. I wanted to be able to fold these blocks out > of the way when I don’t need them. I decided to make a Language Module that > lets me add comments and blocks using common programming comment styrax like > // or /* */ or <!— —>. I think I am where I want it to be, my comment > pattern’s all work as expected, and I used a pList editor, but when I save > and restart BBEdit it does not appear in the list. > Could anyone help me figure out why it's not loading (guessing I have an > error). I know I have the pList in the right folder. I have a github started > at https://github.com/traisjames/BBEdit-FoldingText because if its working I > am happy to share my crazy. > > -- > This is the BBEdit Talk public discussion group. If you have a feature > request or need technical support, please email "supp...@barebones.com" > rather than posting here. Follow @bbedit on Twitter: > <https://twitter.com/bbedit> > --- > You received this message because you are subscribed to the Google Groups > "BBEdit Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to bbedit+unsubscr...@googlegroups.com > <mailto:bbedit+unsubscr...@googlegroups.com>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/bbedit/ed5dceda-03a8-40fc-95ac-893f6bf3b01an%40googlegroups.com > > <https://groups.google.com/d/msgid/bbedit/ed5dceda-03a8-40fc-95ac-893f6bf3b01an%40googlegroups.com?utm_medium=email&utm_source=footer>. -- This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "supp...@barebones.com" rather than posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit> --- You received this message because you are subscribed to the Google Groups "BBEdit Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to bbedit+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/07369E02-6B73-4376-941D-84585F267A9A%40zentrope.com.