I'm currently looking at implementing text-decoration. ATM it's
specified as an EnumProperty but should be more like a set of enums with
certain validation rules applied. I'm unsure about the approach. If
anyone already has an idea how it should look like I'd appreciate any
insight.

My first idea was to implement a special property class
(TextDecorationProperty) that handles the conversion of a ListProperty
of NCNames to an internal set of variables while at the same time
validating the enum combinations. I think my approach would work even if
it look a bit awkward. But I wanted to check first so I didn't implement
something really ugly.

Jeremias Maerki

Reply via email to