Hi Christian,
On 29 Mar 2015, at 16:10 , chrd chrd@posteo.de wrote:
hello,
I am new here. I have noticed a problem in the folding mechanism of code when using the LaTeX-bundle in textmate (version: TextMate version 2.0-beta.7.1 ). I use textmate only for writing LaTeX documents. so, I have now idea if this is caused by textmate or specifically by the latex-bundle.
most \section{} or \subsection{} commands are "foldable", i.e. the little triangle symbol appears next to the line number. however, the triangle disappears when I include another command in the same line. this happens for example, when the section heading contains italics.
\section{heading of this section} --> this will produce foldable code. \section{heading of \textit{this} section} --> this will fail to produce foldable code.
I would like to ask if this is a known problem and if anyone has a solution to this?
it is now :). Commit e9bdf04e should fix this bug [1].
[1]: https://github.com/textmate/latex.tmbundle/commit/e9bdf04e
thank you in advance, christian
Thanks for the bug report,
René