change style according to Tab/Space length