3

I want to know, if and how can I apply code folding to commented out sections in Texstudio 2.6.6?

2
  • How did you comment out the sections? Using a length list of %s? Commented Jan 12, 2015 at 20:50
  • yes . by puttting '%' sign at beginning of lines to be commented. Commented Jan 12, 2015 at 21:50

1 Answer 1

3

Once you've commented out the \section command, it is not recognized as such anymore and thus cannot be folded. However, you can insert a special comment to mark a part of the file as foldable like this:

%BEGIN_FOLD %\section{My Section} %The text. %END_FOLD 

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.