Apply paragraph style to all paragraphs in the cursor's selection

Fixes #29.