Working line numbers

With thanks to
http://www.codeproject.com/Articles/38858/Line-Numbers-for-RichText-Control-in-C