[Urwid] Edit widgets with multiple attributes
jreeves at monkeyengines.co.uk
Sun Jun 3 20:45:30 EDT 2007
I'm having a little difficulty understanding how urwid renders palette
attributes to a canvas. I'd like to subclass the Edit widget and have it
apply different attributes to areas of text that match certain regular
expressions - in other words, a syntax-highlighting feature.
Is it currently possible to do this in urwid, and if so, does anyone
have any suggestions about how might be the best way to go about it?
Thanks in advance!
More information about the Urwid