Add ruler and line numbering