Prettify results of formatting around cursors

'formatAroundCursor' calls 'formatSelectionFromString' internally since
the latter does some normalization on ranges to make the code parseable.