Code Library A repository of sample code

Go Back  Xtreme .NET Talk > Knowledge Base > Code Library > RichTextBox Line Numbers


Reply
 
Thread Tools Display Modes
  #1  
Old 12-12-2002, 05:52 PM
divil's Avatar
divil divil is offline
Banned
 
Join Date: Nov 2002
Location: England
Posts: 2,746
divil is on a distinguished road
Default RichTextBox Line Numbers



Well, someone asked me to find a way to display line numbers next to a RichTextBox, so I knocked up this sample which seems to (roughly) do the trick. It wouldn't be hard to bump this up to spec, should you need it.
Attached Files
File Type: zip richtextlinenumbers.zip (7.5 KB, 858 views)

Last edited by divil; 12-12-2002 at 05:58 PM.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Line Numbers JDYoder General 7 07-19-2005 04:58 PM
Search for two numbers in a line, match whole line federente Regular Expressions 1 09-14-2004 09:22 PM
RichTextBox With Line Numbers harris_c Windows Forms 3 05-26-2004 09:56 PM
Line numbers in stack trace blabore General 1 10-24-2003 06:19 PM
Structured Exception Hanling and Line Numbers Jan_Uys General 4 04-10-2003 03:39 AM

Advertisement:







Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe