Recalculate and reset selection when uncrustifying selected lines

Changes replacement of fragments to be done inside the textStorage
so the actual edited ranges are available for re-selection afterwards.
Syntax-aware indenting using Xcode, trimming trailing whitespaces and white-only lines
Merge commit 'e512292107eeb3b5e57bdb0758bc9872e12995f8'
Recalculate and reset selection when uncrustifying selected lines
ability to uncrustify code in Xcode version editor
Merge remote-tracking branch 'upstream/master'