I would like to implement syntax highlight (for a custom language) inside the Edit widget, assuming that can be kept as readonly. Could you please suggest how use the RTF to insert color (and possibly also bold) tags on some keywords?
You should check the syntax.wlua example that provide an inherited Edit widget that implements simple syntax highlighting using the Edit.selection property, without the need to manipulate RTF directly
Many thanks, looks very interesting!
Powered by FreeFlarum.(remove this footer)