TextEdit styling questions
maddie opened this issue · comments
maddie commented
I've got 2 questions about styling TextEdit
widget:
- Is it possible to change the background color of
TextEdit
? - Is it possible to add syntax highlighting to the content of
TextEdit
?
gonutz commented
The standard Windows API text edit does not support coloring text as far as I know, I think you would have to use the rich text edit for syntax highlighting. This is not implemented in wui
. As for the background color, currently this is not supported either but could probably be done with the regular text edit.
Unfortunately I have no time to work on wui
right now but if you want to give it a go and add a SetBackgroundColor
function to the text edit, I would love to incorporate a pull request :-)