finding tab size depends on Editor indentation mode. Fixes #1