Hi all,
If a new section is created in LaTeX mode with the sec[TAB] shortcut, the following will appear:
\section{section name} % (fold) \label{sec:section_name}
% section section_name (end)
Which is great! However, if the "Tidy" command is then performed on the file, it will be re-arranged to this:
\section{section name}
% (fold) \label{sec:section_name}
% section section_name (end)
Which not only looks really ugly, but means that the fold takes up 3 lines instead of one, and doesn't have a title.
Could somebody please have a look at this and see if it's fixable?