openlilylib / scholarly

ScholarLY, a library for annotating LilyPond scores
GNU General Public License v3.0
24 stars 6 forks source link

Annotation categories #23

Open uliska opened 8 years ago

uliska commented 8 years ago

Just saw in another toolkit: Annotations can have categories in the sense og whatvthey refer to, e.g.

etc.

I think annotations should get a property for this with a symbol or string value expected.

If the edition uses symbols the value can be validated against a given list of accepted categories. This list can also provide display labels, and future user interfaces can provide convenient lookup widgets.

uliska commented 8 years ago

Oh, of course this is somehow related to #22, but maybe not completely. We should disentangle class and category.