numere-org / NumeRe

Framework for numerical computations, data analysis and visualisation
https://www.numere.org
GNU General Public License v3.0
18 stars 6 forks source link

Enable folding for TeX files #22

Closed numeredev closed 1 year ago

numeredev commented 1 year ago

DESCRIPTION

What does your feature request improve on? Please describe. Folding for TeX files will improve the usability of the editor, if one modifies TeX files. It might not be necessary to enable folding for headlines but at least for \begin{} and \end{} blocks.

Describe the solution you'd like Enable folding of TeX files within the editor.

Additional context Add any other context or screenshots about the feature request here.

(Do not write below this line)


DEVS' SECTION

ANALYSIS

Should be doable by adding a folding margin and (depending on the lexer's capabilities) also by using wxStyledTextCtrl::SetFoldLevel() according to the Scintilla documentation.

IMPLEMENTATION STEPS

(see also our Wiki for implementation guidelines)

DOCUMENTATION STEPS

(see also our Wiki for further information)

PULL REQUEST