|
The folding functionality in SciTE is realized via Scintilla Lexer but
the standard release of Scintilla (till the current version 1.71) does not
include a folding function for LaTeX files. Currently there is another
application using Scintilla which realized the LaTeX folding functionality, i.e.
Alex Romanenko's Visual TeX. Borrowing some of Alex's source code and
adding some modifications I was able to fold LaTeX files in SciTE. The fold
margin now automatically recognizes all \chapter, \section, \subsection,
\subsubsection ... commands as the beginning of folding blocks. Meanwhile, LaTeX
structures between "\begin{}" and "\end{}" as well as between "\[" and "\]" can
all be folded. I can provide the LaTeX folding source code to anyone
interested. Also, I would like to know if Neil is interested in including such a
functionality in future releases of Scintilla.
|
_______________________________________________ Scite-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scite-interest
