Sets attributes and priority for the category.
category
a SourceView.
the category.
mark attributes.
priority of the category.