Fix tab stops for soft tabs

Fixes #2672 
Fixes #2722 

This is an extension of #2722 . I just added specs.