I am a new C# student programmer. I want to make a editor like application which will highlight codes (syntax highlighting) and have auto complete feature for functions variables etc... I don't have any idea to do that. Can you please provide me some tutorial links or some tips about that? Can I implement these features in a "Rich Text Box"?
views:
57answers:
2
+3
A:
The text editor component from the open source SharpDevelop IDE can be freely downloaded and used. This supports all your requirements. See http://www.codeproject.com/KB/edit/TextEditorControl.aspx for an explanation on how this can be done.
Pieter
2010-10-30 07:00:05
Source code is not working in Visual Studio 2010. Why? Can you please explain?
chanchal1987
2010-10-30 07:39:49
@Chanchal1987: i've been added and used that in VS2010... without any problem...
Dr TJ
2010-10-30 09:24:21
@Chanchal1987 - You have two make two changes after converting the project. Firstly, remove `using NUnit.Framework;` from Program.cs. Secondly, you must set the TextEditor project as the startup project (right click, Set as StartUp Project). The warnings can be safely ignored.
Pieter
2010-10-30 09:45:00
+1
A:
Off the top of my head there are three open-source text editor controls you can download:
- Scintilla.NET
- AvalonEdit (the #Develop editor)
- FireballFX
I'm sure there are others but these are pretty tried and tested.
Fara
2010-10-30 09:42:08