Click here to Skip to main content
15,884,080 members
Articles / Programming Languages / C# 4.0

Line Numbers for RichText Control in C#

Rate me:
Please Sign up or sign in to vote.
4.89/5 (22 votes)
11 Aug 2009CDDL3 min read 159.2K   7.4K   64  
Display line numbers for rich text box with auto sizing. This is a converted version from another article written in VB.NET.

Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
# SharpDevelop 3.0.0.3800
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "testApp", "testApp\testApp.csproj", "{06E4AD6A-A9D7-4951-97F2-7FB108E378FF}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{06E4AD6A-A9D7-4951-97F2-7FB108E378FF}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{06E4AD6A-A9D7-4951-97F2-7FB108E378FF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{06E4AD6A-A9D7-4951-97F2-7FB108E378FF}.Release|Any CPU.Build.0 = Release|Any CPU
		{06E4AD6A-A9D7-4951-97F2-7FB108E378FF}.Release|Any CPU.ActiveCfg = Release|Any CPU
	EndGlobalSection
EndGlobal

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Common Development and Distribution License (CDDL)


Written By
CEO Xeno Innovations, Inc.
United States United States
[ Exceeding the Limits of Imagination ]

Comments and Discussions