[Urwid] Edit widgets with multiple attributes

James Reeves jreeves at monkeyengines.co.uk
Sun Jun 3 20:45:30 EDT 2007

Hi there,

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!

James Reeves

More information about the Urwid mailing list