fixed line numbering in editor