Sublime Forum

Text folding icons

#1

I’ve been using Sublime Text, and I’ve been wondering: when I use the Plain Text syntax, if I have some text, and then more than one line of text under it that has more tabs in front of the text on the line(s) after the first text, then Sublime Text shows a small down triangle that I can click to fold the lines of text under the first line of text. However, Sublime Text seems to only show this icon if there’s more than one line of text. Is there a way to make the icon appear when there’s only one line of text, too? (I know that I can highlight the text manually and fold it, but if I could use the icon, that would be much easier)

edit: I’ve made a picture: puu.sh/6a81Y.png

0 Likes

#2

I believe indented lines (with more than one sub-line) are automatically converted into collapsible blocks, and that there is no option for one line folding.

0 Likes

#3

That’s a shame, it would have really come in handy. Oh well, thanks for the info; at least I can perform the folding by hand.

0 Likes

#4

I believe it will fold if you just put a blank line between the 2 individual lines.

0 Likes