Recalculate and reset selection when uncrustifying selected lines

The "Uncrustify Selected Lines" option reset the insertion point and the selections were lost which was somewhat disruptive, as before I don't mind maintaining this on my own branch if you see a problem with merging it – cheers!