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