Add tab support in editor