show line number for text editor