[[ Bug 12828 ]] Ignore tab when calculating block width; draw RTL selection in correct place
Merge pull request #909 from runrevali/bugfix-12828

Bugfix 12828