Get formatting selection to work

There are still issues with fsi files and range expansion.