numere-org / NumeRe

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

[FEATURE] Styling the textfield #227

Closed mstranne closed 1 month ago

mstranne commented 4 months ago

DESCRIPTION

What does your feature request improve on? Please describe. The possibility to use some commands (like markdown) inside the textfield for styling.

Describe the solution you'd like Best case would be to enable markdown like here in the GitHub textfield.

(Do not write below this line)


DEVS' SECTION

ANALYSIS

As it is in fact already a Textfield class instead of a wxTextCtrl internally supporting very low-level Markdown, we can enable this feature quite simply by using the SetMarkupText() member function together with an additional style for the textfield element. It is however reasonable to support some more Markdown-Features than currently supported.

IMPLEMENTATION STEPS

(see also our Wiki for implementation guidelines)

DOCUMENTATION STEPS

(see also our Wiki for further information)

PULL REQUEST