Code folding in LaTeX is not doing what I expect. Lets say I have this in my .tex file:

\begin{document}
\section{}
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
\subsection{}
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
\end{document}

Option + Command + 0 does as expected:

\begin{document}…\end{document}

Option + Command + 1 does exactly the same: 

\begin{document}…\end{document}

But what I expected was

\begin{document}
\section{}…
\end{document}

Option + Command + 2 does as expected:

\begin{document}
\section{}…
\subsection{}…
\end{document}

So, I expected: 
\begin{document} to be all levels
\section{} to be level 1
\subsection{} to be level 2

Is there a way of setting cold folding to do what I expected?
 

Ross Ahmed
Ecologist
07875533906
Twitter: @RossAhmed
LinkedIn: Ross Ahmed