Show LineNumbers from the RichTextBox in WPF

前端 未结 5 1481
再見小時候
再見小時候 2020-12-28 23:00

I found an example, how to show the LineNumbers from a RichTextBox in Windows Forms. http://www.codeproject.com/Articles/38858/Line-Numbers-for-RichText-Control

5条回答
  •  感情败类
    2020-12-28 23:31

    The best example you can find is in AvalonEdit. There is lot more anyway that just line numbering, but you can study how it is done, code is very clear. A staring point to see what we are talking about can be this CodeProject article.

提交回复
热议问题