Fix crash if a split paragraph occurs with no text elements selected
Use text style from the selection start when splitting a paragraph
Merge pull request #776 from peitschie/p-style-crashfix

Fix crash if a split paragraph occurs with no text elements selected